@tachybase/plugin-adapter-bullmq 1.6.20 → 1.6.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(){var __webpack_modules__={12703:function(e){function webpackEmptyAsyncContext(e){return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");n.code="MODULE_NOT_FOUND";throw n}))}webpackEmptyAsyncContext.keys=function(){return[]};webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=12703;e.exports=webpackEmptyAsyncContext},19617:function(e){function webpackEmptyAsyncContext(e){return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");n.code="MODULE_NOT_FOUND";throw n}))}webpackEmptyAsyncContext.keys=function(){return[]};webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=19617;e.exports=webpackEmptyAsyncContext},38091:function(e,n,s){(function(n,i){true?e.exports=i(s(25146),s(9969)):0})(this,(function(e,n){"use strict";const s=SegmentObject("",-1,-1,"",null,false);const i=[];function SegmentObject(e,n,s,i,a,o){return{source:e,line:n,column:s,name:i,content:a,ignore:o}}function Source(e,n,s,i,a){return{map:e,sources:n,source:s,content:i,ignore:a}}function MapSource(e,n){return Source(e,n,"",null,false)}function OriginalSource(e,n,s){return Source(null,i,e,n,s)}function traceMappings(i){const a=new n.GenMapping({file:i.map.file});const{sources:o,map:l}=i;const c=l.names;const p=e.decodedMappings(l);for(let e=0;e<p.length;e++){const i=p[e];for(let l=0;l<i.length;l++){const p=i[l];const d=p[0];let f=s;if(p.length!==1){const e=o[p[1]];f=originalPositionFor(e,p[2],p[3],p.length===5?c[p[4]]:"");if(f==null)continue}const{column:h,line:m,name:y,content:g,source:A,ignore:C}=f;n.maybeAddSegment(a,e,d,A,m,h,y);if(A&&g!=null)n.setSourceContent(a,A,g);if(C)n.setIgnore(a,A,true)}}return a}function originalPositionFor(n,i,a,o){if(!n.map){return SegmentObject(n.source,i,a,o,n.content,n.ignore)}const l=e.traceSegment(n.map,i,a);if(l==null)return null;if(l.length===1)return s;return originalPositionFor(n.sources[l[1]],l[2],l[3],l.length===5?n.map.names[l[4]]:o)}function asArray(e){if(Array.isArray(e))return e;return[e]}function buildSourceMapTree(n,s){const i=asArray(n).map((n=>new e.TraceMap(n,"")));const a=i.pop();for(let e=0;e<i.length;e++){if(i[e].sources.length>1){throw new Error(`Transformation map ${e} must have exactly one source file.\n`+"Did you specify these with the most recent transformation maps first?")}}let o=build(a,s,"",0);for(let e=i.length-1;e>=0;e--){o=MapSource(i[e],[o])}return o}function build(n,s,i,a){const{resolvedSources:o,sourcesContent:l,ignoreList:c}=n;const p=a+1;const d=o.map(((n,a)=>{const o={importer:i,depth:p,source:n||"",content:undefined,ignore:undefined};const d=s(o.source,o);const{source:f,content:h,ignore:m}=o;if(d)return build(new e.TraceMap(d,f),s,f,p);const y=h!==undefined?h:l?l[a]:null;const g=m!==undefined?m:c?c.includes(a):false;return OriginalSource(f,y,g)}));return MapSource(n,d)}class SourceMap{constructor(e,s){const i=s.decodedMappings?n.toDecodedMap(e):n.toEncodedMap(e);this.version=i.version;this.file=i.file;this.mappings=i.mappings;this.names=i.names;this.ignoreList=i.ignoreList;this.sourceRoot=i.sourceRoot;this.sources=i.sources;if(!s.excludeContent){this.sourcesContent=i.sourcesContent}}toString(){return JSON.stringify(this)}}function remapping(e,n,s){const i=typeof s==="object"?s:{excludeContent:!!s,decodedMappings:false};const a=buildSourceMapTree(e,n);return new SourceMap(traceMappings(a),i)}return remapping}))},56722:function(e,n,s){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:true});n.KoaAdapter=void 0;const a=i(s(87404));const o=i(s(96638));const l=i(s(88522));const c=s(32500);const p=i(s(98521));const d=i(s(64459));const f=i(s(16928));class KoaAdapter{constructor(){this.basePath="";this.uiConfig={}}setBasePath(e){this.basePath=e;return this}setStaticPath(e,n){this.statics={route:e,path:n};return this}setViewsPath(e){this.viewPath=e;return this}setErrorHandler(e){this.errorHandler=e;return this}setApiRoutes(e){this.apiRoutes=e;return this}setEntryRoute(e){this.entryRoute=e;return this}setQueues(e){this.bullBoardQueues=e;return this}setUIConfig(e={}){this.uiConfig=e;return this}registerPlugin(e={mount:this.basePath}){if(!this.statics){throw new Error(`Please call 'setStaticPath' before using 'registerPlugin'`)}else if(!this.entryRoute){throw new Error(`Please call 'setEntryRoute' before using 'registerPlugin'`)}else if(!this.viewPath){throw new Error(`Please call 'setViewsPath' before using 'registerPlugin'`)}else if(!this.apiRoutes){throw new Error(`Please call 'setApiRoutes' before using 'registerPlugin'`)}else if(!this.bullBoardQueues){throw new Error(`Please call 'setQueues' before using 'registerPlugin'`)}else if(!this.errorHandler){throw new Error(`Please call 'setErrorHandler' before using 'registerPlugin'`)}if(!e.mount){e.mount=this.basePath}const n=new a.default;const s=new l.default({strict:true});n.use((0,c.bodyParser)());n.use((async(e,n)=>{try{await n()}catch(n){if(this.errorHandler){const{status:s,body:i}=this.errorHandler(n);e.status=s||500;e.body=i;e.app.emit("error",n,e)}}}));n.use((0,d.default)(this.viewPath,{extension:f.default.extname(this.entryRoute.handler({basePath:this.basePath,uiConfig:this.uiConfig}).name).substring(1)}));const{method:i,route:h,handler:m}=this.entryRoute;const y=Array.isArray(h)?h:[h];y.forEach((e=>{s[i](e,(async e=>{const{name:n,params:s}=m({basePath:this.basePath,uiConfig:this.uiConfig});await e.render(n,s)}))}));n.use((0,o.default)(this.statics.route,(0,p.default)(this.statics.path)));this.apiRoutes.forEach((e=>{const n=Array.isArray(e.method)?e.method:[e.method];n.forEach((n=>{s[n](e.route,(async n=>{const s=await e.handler({queues:this.bullBoardQueues,params:n.params,query:n.query,body:n.request.body});n.status=s.status||200;return n.body=s.body}))}))}));n.use(s.routes()).use(s.allowedMethods());return(0,o.default)(e.mount||"/",n)}}n.KoaAdapter=KoaAdapter},59327:function(e,n){"use strict";const s={suspectRx:/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*\:/};n.parse=function(e,...i){const a=typeof i[0]==="object"&&i[0];const o=i.length>1||!a?i[0]:undefined;const l=i.length>1&&i[1]||a||{};const c=JSON.parse(e,o);if(l.protoAction==="ignore"){return c}if(!c||typeof c!=="object"){return c}if(!e.match(s.suspectRx)){return c}n.scan(c,l);return c};n.scan=function(e,n={}){let s=[e];while(s.length){const e=s;s=[];for(const i of e){if(Object.prototype.hasOwnProperty.call(i,"__proto__")){if(n.protoAction!=="remove"){throw new SyntaxError("Object contains forbidden prototype property")}delete i.__proto__}for(const e in i){const n=i[e];if(n&&typeof n==="object"){s.push(i[e])}}}}};n.safeParse=function(e,s){try{return n.parse(e,s)}catch(e){return null}}},9969:function(e,n,s){e=s.nmd(e);(function(n,i){if(true){i(e,s(75470),s(25146));e.exports=def(e)}else{}function def(e){return"default"in e.exports?e.exports.default:e.exports}})(this,(function(e,n,s){"use strict";var i=Object.create;var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.getPrototypeOf;var p=Object.prototype.hasOwnProperty;var __commonJS=(e,n)=>function __require(){return n||(0,e[l(e)[0]])((n={exports:{}}).exports,n),n.exports};var __export=(e,n)=>{for(var s in n)a(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,n,s,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let c of l(n))if(!p.call(e,c)&&c!==s)a(e,c,{get:()=>n[c],enumerable:!(i=o(n,c))||i.enumerable})}return e};var __toESM=(e,n,s)=>(s=e!=null?i(c(e)):{},__copyProps(n||!e||!e.__esModule?a(s,"default",{value:e,enumerable:true}):s,e));var __toCommonJS=e=>__copyProps(a({},"__esModule",{value:true}),e);var d=__commonJS({"umd:@jridgewell/sourcemap-codec"(e,s){s.exports=n}});var f=__commonJS({"umd:@jridgewell/trace-mapping"(e,n){n.exports=s}});var h={};__export(h,{GenMapping:()=>O,addMapping:()=>addMapping,addSegment:()=>addSegment,allMappings:()=>allMappings,fromMap:()=>fromMap,maybeAddMapping:()=>maybeAddMapping,maybeAddSegment:()=>maybeAddSegment,setIgnore:()=>setIgnore,setSourceContent:()=>setSourceContent,toDecodedMap:()=>toDecodedMap,toEncodedMap:()=>toEncodedMap});e.exports=__toCommonJS(h);var m=class{constructor(){this._indexes={__proto__:null};this.array=[]}};function cast(e){return e}function get(e,n){return cast(e)._indexes[n]}function put(e,n){const s=get(e,n);if(s!==void 0)return s;const{array:i,_indexes:a}=cast(e);const o=i.push(n);return a[n]=o-1}function remove(e,n){const s=get(e,n);if(s===void 0)return;const{array:i,_indexes:a}=cast(e);for(let e=s+1;e<i.length;e++){const n=i[e];i[e-1]=n;a[n]--}a[n]=void 0;i.pop()}var y=__toESM(d());var g=__toESM(f());var A=0;var C=1;var _=2;var k=3;var I=4;var D=-1;var O=class{constructor({file:e,sourceRoot:n}={}){this._names=new m;this._sources=new m;this._sourcesContent=[];this._mappings=[];this.file=e;this.sourceRoot=n;this._ignoreList=new m}};function cast2(e){return e}function addSegment(e,n,s,i,a,o,l,c){return addSegmentInternal(false,e,n,s,i,a,o,l,c)}function addMapping(e,n){return addMappingInternal(false,e,n)}var maybeAddSegment=(e,n,s,i,a,o,l,c)=>addSegmentInternal(true,e,n,s,i,a,o,l,c);var maybeAddMapping=(e,n)=>addMappingInternal(true,e,n);function setSourceContent(e,n,s){const{_sources:i,_sourcesContent:a}=cast2(e);const o=put(i,n);a[o]=s}function setIgnore(e,n,s=true){const{_sources:i,_sourcesContent:a,_ignoreList:o}=cast2(e);const l=put(i,n);if(l===a.length)a[l]=null;if(s)put(o,l);else remove(o,l)}function toDecodedMap(e){const{_mappings:n,_sources:s,_sourcesContent:i,_names:a,_ignoreList:o}=cast2(e);removeEmptyFinalLines(n);return{version:3,file:e.file||void 0,names:a.array,sourceRoot:e.sourceRoot||void 0,sources:s.array,sourcesContent:i,mappings:n,ignoreList:o.array}}function toEncodedMap(e){const n=toDecodedMap(e);return Object.assign({},n,{mappings:(0,y.encode)(n.mappings)})}function fromMap(e){const n=new g.TraceMap(e);const s=new O({file:n.file,sourceRoot:n.sourceRoot});putAll(cast2(s)._names,n.names);putAll(cast2(s)._sources,n.sources);cast2(s)._sourcesContent=n.sourcesContent||n.sources.map((()=>null));cast2(s)._mappings=(0,g.decodedMappings)(n);if(n.ignoreList)putAll(cast2(s)._ignoreList,n.ignoreList);return s}function allMappings(e){const n=[];const{_mappings:s,_sources:i,_names:a}=cast2(e);for(let e=0;e<s.length;e++){const o=s[e];for(let s=0;s<o.length;s++){const l=o[s];const c={line:e+1,column:l[A]};let p=void 0;let d=void 0;let f=void 0;if(l.length!==1){p=i.array[l[C]];d={line:l[_]+1,column:l[k]};if(l.length===5)f=a.array[l[I]]}n.push({generated:c,source:p,original:d,name:f})}}return n}function addSegmentInternal(e,n,s,i,a,o,l,c,p){const{_mappings:d,_sources:f,_sourcesContent:h,_names:m}=cast2(n);const y=getIndex(d,s);const g=getColumnIndex(y,i);if(!a){if(e&&skipSourceless(y,g))return;return insert(y,g,[i])}assert(o);assert(l);const A=put(f,a);const C=c?put(m,c):D;if(A===h.length)h[A]=p!=null?p:null;if(e&&skipSource(y,g,A,o,l,C)){return}return insert(y,g,c?[i,A,o,l,C]:[i,A,o,l])}function assert(e){}function getIndex(e,n){for(let s=e.length;s<=n;s++){e[s]=[]}return e[n]}function getColumnIndex(e,n){let s=e.length;for(let i=s-1;i>=0;s=i--){const s=e[i];if(n>=s[A])break}return s}function insert(e,n,s){for(let s=e.length;s>n;s--){e[s]=e[s-1]}e[n]=s}function removeEmptyFinalLines(e){const{length:n}=e;let s=n;for(let n=s-1;n>=0;s=n,n--){if(e[n].length>0)break}if(s<n)e.length=s}function putAll(e,n){for(let s=0;s<n.length;s++)put(e,n[s])}function skipSourceless(e,n){if(n===0)return true;const s=e[n-1];return s.length===1}function skipSource(e,n,s,i,a,o){if(n===0)return false;const l=e[n-1];if(l.length===1)return false;return s===l[C]&&i===l[_]&&a===l[k]&&o===(l.length===5?l[I]:D)}function addMappingInternal(e,n,s){const{generated:i,source:a,original:o,name:l,content:c}=s;if(!a){return addSegmentInternal(e,n,i.line-1,i.column,null,null,null,null,null)}assert(o);return addSegmentInternal(e,n,i.line-1,i.column,a,o.line-1,o.column,l,c)}}))},76696:function(e,n,s){e=s.nmd(e);(function(n,i){if(true){i(e,s(9969),s(25146));e.exports=def(e)}else{}function def(e){return"default"in e.exports?e.exports.default:e.exports}})(this,(function(e,n,s){"use strict";var i=Object.create;var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.getPrototypeOf;var p=Object.prototype.hasOwnProperty;var __commonJS=(e,n)=>function __require(){return n||(0,e[l(e)[0]])((n={exports:{}}).exports,n),n.exports};var __export=(e,n)=>{for(var s in n)a(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,n,s,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let c of l(n))if(!p.call(e,c)&&c!==s)a(e,c,{get:()=>n[c],enumerable:!(i=o(n,c))||i.enumerable})}return e};var __toESM=(e,n,s)=>(s=e!=null?i(c(e)):{},__copyProps(n||!e||!e.__esModule?a(s,"default",{value:e,enumerable:true}):s,e));var __toCommonJS=e=>__copyProps(a({},"__esModule",{value:true}),e);var d=__commonJS({"umd:@jridgewell/trace-mapping"(e,n){n.exports=s}});var f=__commonJS({"umd:@jridgewell/gen-mapping"(e,s){s.exports=n}});var h={};__export(h,{default:()=>remapping});e.exports=__toCommonJS(h);var m=__toESM(d());var y=__toESM(f());var g=__toESM(d());var A=SegmentObject("",-1,-1,"",null,false);var C=[];function SegmentObject(e,n,s,i,a,o){return{source:e,line:n,column:s,name:i,content:a,ignore:o}}function Source(e,n,s,i,a){return{map:e,sources:n,source:s,content:i,ignore:a}}function MapSource(e,n){return Source(e,n,"",null,false)}function OriginalSource(e,n,s){return Source(null,C,e,n,s)}function traceMappings(e){const n=new y.GenMapping({file:e.map.file});const{sources:s,map:i}=e;const a=i.names;const o=(0,g.decodedMappings)(i);for(let e=0;e<o.length;e++){const i=o[e];for(let o=0;o<i.length;o++){const l=i[o];const c=l[0];let p=A;if(l.length!==1){const e=s[l[1]];p=originalPositionFor(e,l[2],l[3],l.length===5?a[l[4]]:"");if(p==null)continue}const{column:d,line:f,name:h,content:m,source:g,ignore:C}=p;(0,y.maybeAddSegment)(n,e,c,g,f,d,h);if(g&&m!=null)(0,y.setSourceContent)(n,g,m);if(C)(0,y.setIgnore)(n,g,true)}}return n}function originalPositionFor(e,n,s,i){if(!e.map){return SegmentObject(e.source,n,s,i,e.content,e.ignore)}const a=(0,g.traceSegment)(e.map,n,s);if(a==null)return null;if(a.length===1)return A;return originalPositionFor(e.sources[a[1]],a[2],a[3],a.length===5?e.map.names[a[4]]:i)}function asArray(e){if(Array.isArray(e))return e;return[e]}function buildSourceMapTree(e,n){const s=asArray(e).map((e=>new m.TraceMap(e,"")));const i=s.pop();for(let e=0;e<s.length;e++){if(s[e].sources.length>1){throw new Error(`Transformation map ${e} must have exactly one source file.\nDid you specify these with the most recent transformation maps first?`)}}let a=build(i,n,"",0);for(let e=s.length-1;e>=0;e--){a=MapSource(s[e],[a])}return a}function build(e,n,s,i){const{resolvedSources:a,sourcesContent:o,ignoreList:l}=e;const c=i+1;const p=a.map(((e,i)=>{const a={importer:s,depth:c,source:e||"",content:void 0,ignore:void 0};const p=n(a.source,a);const{source:d,content:f,ignore:h}=a;if(p)return build(new m.TraceMap(p,d),n,d,c);const y=f!==void 0?f:o?o[i]:null;const g=h!==void 0?h:l?l.includes(i):false;return OriginalSource(d,y,g)}));return MapSource(e,p)}var _=__toESM(f());var k=class{constructor(e,n){const s=n.decodedMappings?(0,_.toDecodedMap)(e):(0,_.toEncodedMap)(e);this.version=s.version;this.file=s.file;this.mappings=s.mappings;this.names=s.names;this.ignoreList=s.ignoreList;this.sourceRoot=s.sourceRoot;this.sources=s.sources;if(!n.excludeContent){this.sourcesContent=s.sourcesContent}}toString(){return JSON.stringify(this)}};function remapping(e,n,s){const i=typeof s==="object"?s:{excludeContent:!!s,decodedMappings:false};const a=buildSourceMapTree(e,n);return new k(traceMappings(a),i)}}))},73654:function(e){(function(n,s){true?e.exports=s():0})(this,(function(){"use strict";const e=/^[\w+.-]+:\/\//;const n=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/;const s=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function isAbsoluteUrl(n){return e.test(n)}function isSchemeRelativeUrl(e){return e.startsWith("//")}function isAbsolutePath(e){return e.startsWith("/")}function isFileUrl(e){return e.startsWith("file:")}function isRelative(e){return/^[.?#]/.test(e)}function parseAbsoluteUrl(e){const s=n.exec(e);return makeUrl(s[1],s[2]||"",s[3],s[4]||"",s[5]||"/",s[6]||"",s[7]||"")}function parseFileUrl(e){const n=s.exec(e);const i=n[2];return makeUrl("file:","",n[1]||"","",isAbsolutePath(i)?i:"/"+i,n[3]||"",n[4]||"")}function makeUrl(e,n,s,i,a,o,l){return{scheme:e,user:n,host:s,port:i,path:a,query:o,hash:l,type:7}}function parseUrl(e){if(isSchemeRelativeUrl(e)){const n=parseAbsoluteUrl("http:"+e);n.scheme="";n.type=6;return n}if(isAbsolutePath(e)){const n=parseAbsoluteUrl("http://foo.com"+e);n.scheme="";n.host="";n.type=5;return n}if(isFileUrl(e))return parseFileUrl(e);if(isAbsoluteUrl(e))return parseAbsoluteUrl(e);const n=parseAbsoluteUrl("http://foo.com/"+e);n.scheme="";n.host="";n.type=e?e.startsWith("?")?3:e.startsWith("#")?2:4:1;return n}function stripPathFilename(e){if(e.endsWith("/.."))return e;const n=e.lastIndexOf("/");return e.slice(0,n+1)}function mergePaths(e,n){normalizePath(n,n.type);if(e.path==="/"){e.path=n.path}else{e.path=stripPathFilename(n.path)+e.path}}function normalizePath(e,n){const s=n<=4;const i=e.path.split("/");let a=1;let o=0;let l=false;for(let e=1;e<i.length;e++){const n=i[e];if(!n){l=true;continue}l=false;if(n===".")continue;if(n===".."){if(o){l=true;o--;a--}else if(s){i[a++]=n}continue}i[a++]=n;o++}let c="";for(let e=1;e<a;e++){c+="/"+i[e]}if(!c||l&&!c.endsWith("/..")){c+="/"}e.path=c}function resolve(e,n){if(!e&&!n)return"";const s=parseUrl(e);let i=s.type;if(n&&i!==7){const e=parseUrl(n);const a=e.type;switch(i){case 1:s.hash=e.hash;case 2:s.query=e.query;case 3:case 4:mergePaths(s,e);case 5:s.user=e.user;s.host=e.host;s.port=e.port;case 6:s.scheme=e.scheme}if(a>i)i=a}normalizePath(s,i);const a=s.query+s.hash;switch(i){case 2:case 3:return a;case 4:{const i=s.path.slice(1);if(!i)return a||".";if(isRelative(n||e)&&!isRelative(i)){return"./"+i+a}return i+a}case 5:return s.path+a;default:return s.scheme+"//"+s.user+s.host+s.port+s.path+a}}return resolve}))},75470:function(e,n,s){e=s.nmd(e);(function(n,s){if(true){s(e);e.exports=def(e)}else{}function def(e){return"default"in e.exports?e.exports.default:e.exports}})(this,(function(e){"use strict";var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var __export=(e,s)=>{for(var i in s)n(e,i,{get:s[i],enumerable:true})};var __copyProps=(e,o,l,c)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let p of i(o))if(!a.call(e,p)&&p!==l)n(e,p,{get:()=>o[p],enumerable:!(c=s(o,p))||c.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var o={};__export(o,{decode:()=>decode,decodeGeneratedRanges:()=>decodeGeneratedRanges,decodeOriginalScopes:()=>decodeOriginalScopes,encode:()=>encode,encodeGeneratedRanges:()=>encodeGeneratedRanges,encodeOriginalScopes:()=>encodeOriginalScopes});e.exports=__toCommonJS(o);var l=",".charCodeAt(0);var c=";".charCodeAt(0);var p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var d=new Uint8Array(64);var f=new Uint8Array(128);for(let e=0;e<p.length;e++){const n=p.charCodeAt(e);d[e]=n;f[n]=e}function decodeInteger(e,n){let s=0;let i=0;let a=0;do{const n=e.next();a=f[n];s|=(a&31)<<i;i+=5}while(a&32);const o=s&1;s>>>=1;if(o){s=-2147483648|-s}return n+s}function encodeInteger(e,n,s){let i=n-s;i=i<0?-i<<1|1:i<<1;do{let n=i&31;i>>>=5;if(i>0)n|=32;e.write(d[n])}while(i>0);return n}function hasMoreVlq(e,n){if(e.pos>=n)return false;return e.peek()!==l}var h=1024*16;var m=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(e){const n=Buffer.from(e.buffer,e.byteOffset,e.byteLength);return n.toString()}}:{decode(e){let n="";for(let s=0;s<e.length;s++){n+=String.fromCharCode(e[s])}return n}};var y=class{constructor(){this.pos=0;this.out="";this.buffer=new Uint8Array(h)}write(e){const{buffer:n}=this;n[this.pos++]=e;if(this.pos===h){this.out+=m.decode(n);this.pos=0}}flush(){const{buffer:e,out:n,pos:s}=this;return s>0?n+m.decode(e.subarray(0,s)):n}};var g=class{constructor(e){this.pos=0;this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){const{buffer:n,pos:s}=this;const i=n.indexOf(e,s);return i===-1?n.length:i}};var A=[];function decodeOriginalScopes(e){const{length:n}=e;const s=new g(e);const i=[];const a=[];let o=0;for(;s.pos<n;s.pos++){o=decodeInteger(s,o);const e=decodeInteger(s,0);if(!hasMoreVlq(s,n)){const n=a.pop();n[2]=o;n[3]=e;continue}const l=decodeInteger(s,0);const c=decodeInteger(s,0);const p=c&1;const d=p?[o,e,0,0,l,decodeInteger(s,0)]:[o,e,0,0,l];let f=A;if(hasMoreVlq(s,n)){f=[];do{const e=decodeInteger(s,0);f.push(e)}while(hasMoreVlq(s,n))}d.vars=f;i.push(d);a.push(d)}return i}function encodeOriginalScopes(e){const n=new y;for(let s=0;s<e.length;){s=_encodeOriginalScopes(e,s,n,[0])}return n.flush()}function _encodeOriginalScopes(e,n,s,i){const a=e[n];const{0:o,1:c,2:p,3:d,4:f,vars:h}=a;if(n>0)s.write(l);i[0]=encodeInteger(s,o,i[0]);encodeInteger(s,c,0);encodeInteger(s,f,0);const m=a.length===6?1:0;encodeInteger(s,m,0);if(a.length===6)encodeInteger(s,a[5],0);for(const e of h){encodeInteger(s,e,0)}for(n++;n<e.length;){const a=e[n];const{0:o,1:l}=a;if(o>p||o===p&&l>=d){break}n=_encodeOriginalScopes(e,n,s,i)}s.write(l);i[0]=encodeInteger(s,p,i[0]);encodeInteger(s,d,0);return n}function decodeGeneratedRanges(e){const{length:n}=e;const s=new g(e);const i=[];const a=[];let o=0;let l=0;let c=0;let p=0;let d=0;let f=0;let h=0;let m=0;do{const e=s.indexOf(";");let n=0;for(;s.pos<e;s.pos++){n=decodeInteger(s,n);if(!hasMoreVlq(s,e)){const e=a.pop();e[2]=o;e[3]=n;continue}const y=decodeInteger(s,0);const g=y&1;const C=y&2;const _=y&4;let k=null;let I=A;let D;if(g){const e=decodeInteger(s,l);c=decodeInteger(s,l===e?c:0);l=e;D=[o,n,0,0,e,c]}else{D=[o,n,0,0]}D.isScope=!!_;if(C){const e=p;const n=d;p=decodeInteger(s,p);const i=e===p;d=decodeInteger(s,i?d:0);f=decodeInteger(s,i&&n===d?f:0);k=[p,d,f]}D.callsite=k;if(hasMoreVlq(s,e)){I=[];do{h=o;m=n;const e=decodeInteger(s,0);let i;if(e<-1){i=[[decodeInteger(s,0)]];for(let n=-1;n>e;n--){const e=h;h=decodeInteger(s,h);m=decodeInteger(s,h===e?m:0);const n=decodeInteger(s,0);i.push([n,h,m])}}else{i=[[e]]}I.push(i)}while(hasMoreVlq(s,e))}D.bindings=I;i.push(D);a.push(D)}o++;s.pos=e+1}while(s.pos<n);return i}function encodeGeneratedRanges(e){if(e.length===0)return"";const n=new y;for(let s=0;s<e.length;){s=_encodeGeneratedRanges(e,s,n,[0,0,0,0,0,0,0])}return n.flush()}function _encodeGeneratedRanges(e,n,s,i){const a=e[n];const{0:o,1:c,2:p,3:d,isScope:f,callsite:h,bindings:m}=a;if(i[0]<o){catchupLine(s,i[0],o);i[0]=o;i[1]=0}else if(n>0){s.write(l)}i[1]=encodeInteger(s,a[1],i[1]);const y=(a.length===6?1:0)|(h?2:0)|(f?4:0);encodeInteger(s,y,0);if(a.length===6){const{4:e,5:n}=a;if(e!==i[2]){i[3]=0}i[2]=encodeInteger(s,e,i[2]);i[3]=encodeInteger(s,n,i[3])}if(h){const{0:e,1:n,2:o}=a.callsite;if(e!==i[4]){i[5]=0;i[6]=0}else if(n!==i[5]){i[6]=0}i[4]=encodeInteger(s,e,i[4]);i[5]=encodeInteger(s,n,i[5]);i[6]=encodeInteger(s,o,i[6])}if(m){for(const e of m){if(e.length>1)encodeInteger(s,-e.length,0);const n=e[0][0];encodeInteger(s,n,0);let i=o;let a=c;for(let n=1;n<e.length;n++){const o=e[n];i=encodeInteger(s,o[1],i);a=encodeInteger(s,o[2],a);encodeInteger(s,o[0],0)}}}for(n++;n<e.length;){const a=e[n];const{0:o,1:l}=a;if(o>p||o===p&&l>=d){break}n=_encodeGeneratedRanges(e,n,s,i)}if(i[0]<p){catchupLine(s,i[0],p);i[0]=p;i[1]=0}else{s.write(l)}i[1]=encodeInteger(s,d,i[1]);return n}function catchupLine(e,n,s){do{e.write(c)}while(++n<s)}function decode(e){const{length:n}=e;const s=new g(e);const i=[];let a=0;let o=0;let l=0;let c=0;let p=0;do{const e=s.indexOf(";");const n=[];let d=true;let f=0;a=0;while(s.pos<e){let i;a=decodeInteger(s,a);if(a<f)d=false;f=a;if(hasMoreVlq(s,e)){o=decodeInteger(s,o);l=decodeInteger(s,l);c=decodeInteger(s,c);if(hasMoreVlq(s,e)){p=decodeInteger(s,p);i=[a,o,l,c,p]}else{i=[a,o,l,c]}}else{i=[a]}n.push(i);s.pos++}if(!d)sort(n);i.push(n);s.pos=e+1}while(s.pos<=n);return i}function sort(e){e.sort(sortComparator)}function sortComparator(e,n){return e[0]-n[0]}function encode(e){const n=new y;let s=0;let i=0;let a=0;let o=0;for(let p=0;p<e.length;p++){const d=e[p];if(p>0)n.write(c);if(d.length===0)continue;let f=0;for(let e=0;e<d.length;e++){const c=d[e];if(e>0)n.write(l);f=encodeInteger(n,c[0],f);if(c.length===1)continue;s=encodeInteger(n,c[1],s);i=encodeInteger(n,c[2],i);a=encodeInteger(n,c[3],a);if(c.length===4)continue;o=encodeInteger(n,c[4],o)}}return n.flush()}}))},25146:function(e,n,s){e=s.nmd(e);(function(n,i){if(true){i(e,s(73654),s(75470));e.exports=def(e)}else{}function def(e){return"default"in e.exports?e.exports.default:e.exports}})(this,(function(e,n,s){"use strict";var i=Object.create;var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.getPrototypeOf;var p=Object.prototype.hasOwnProperty;var __commonJS=(e,n)=>function __require(){return n||(0,e[l(e)[0]])((n={exports:{}}).exports,n),n.exports};var __export=(e,n)=>{for(var s in n)a(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,n,s,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let c of l(n))if(!p.call(e,c)&&c!==s)a(e,c,{get:()=>n[c],enumerable:!(i=o(n,c))||i.enumerable})}return e};var __toESM=(e,n,s)=>(s=e!=null?i(c(e)):{},__copyProps(n||!e||!e.__esModule?a(s,"default",{value:e,enumerable:true}):s,e));var __toCommonJS=e=>__copyProps(a({},"__esModule",{value:true}),e);var d=__commonJS({"umd:@jridgewell/sourcemap-codec"(e,n){n.exports=s}});var f=__commonJS({"umd:@jridgewell/resolve-uri"(e,s){s.exports=n}});var h={};__export(h,{AnyMap:()=>FlattenMap,FlattenMap:()=>FlattenMap,GREATEST_LOWER_BOUND:()=>R,LEAST_UPPER_BOUND:()=>j,TraceMap:()=>$,allGeneratedPositionsFor:()=>allGeneratedPositionsFor,decodedMap:()=>decodedMap,decodedMappings:()=>decodedMappings,eachMapping:()=>eachMapping,encodedMap:()=>encodedMap,encodedMappings:()=>encodedMappings,generatedPositionFor:()=>generatedPositionFor,isIgnored:()=>isIgnored,originalPositionFor:()=>originalPositionFor,presortedDecodedMap:()=>presortedDecodedMap,sourceContentFor:()=>sourceContentFor,traceSegment:()=>traceSegment});e.exports=__toCommonJS(h);var m=__toESM(d());var y=__toESM(f());function stripFilename(e){if(!e)return"";const n=e.lastIndexOf("/");return e.slice(0,n+1)}function resolver(e,n){const s=stripFilename(e);const i=n?n+"/":"";return e=>(0,y.default)(i+(e||""),s)}var g=0;var A=1;var C=2;var _=3;var k=4;var I=1;var D=2;function maybeSort(e,n){const s=nextUnsortedSegmentLine(e,0);if(s===e.length)return e;if(!n)e=e.slice();for(let i=s;i<e.length;i=nextUnsortedSegmentLine(e,i+1)){e[i]=sortSegments(e[i],n)}return e}function nextUnsortedSegmentLine(e,n){for(let s=n;s<e.length;s++){if(!isSorted(e[s]))return s}return e.length}function isSorted(e){for(let n=1;n<e.length;n++){if(e[n][g]<e[n-1][g]){return false}}return true}function sortSegments(e,n){if(!n)e=e.slice();return e.sort(sortComparator)}function sortComparator(e,n){return e[g]-n[g]}function buildBySources(e,n){const s=n.map((()=>[]));for(let n=0;n<e.length;n++){const i=e[n];for(let e=0;e<i.length;e++){const a=i[e];if(a.length===1)continue;const o=a[A];const l=a[C];const c=a[_];const p=s[o];const d=p[l]||(p[l]=[]);d.push([c,n,a[g]])}}for(let e=0;e<s.length;e++){const n=s[e];for(let e=0;e<n.length;e++){const s=n[e];if(s)s.sort(sortComparator)}}return s}var O=false;function binarySearch(e,n,s,i){while(s<=i){const a=s+(i-s>>1);const o=e[a][g]-n;if(o===0){O=true;return a}if(o<0){s=a+1}else{i=a-1}}O=false;return s-1}function upperBound(e,n,s){for(let i=s+1;i<e.length;s=i++){if(e[i][g]!==n)break}return s}function lowerBound(e,n,s){for(let i=s-1;i>=0;s=i--){if(e[i][g]!==n)break}return s}function memoizedState(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function memoizedBinarySearch(e,n,s,i){const{lastKey:a,lastNeedle:o,lastIndex:l}=s;let c=0;let p=e.length-1;if(i===a){if(n===o){O=l!==-1&&e[l][g]===n;return l}if(n>=o){c=l===-1?0:l}else{p=l}}s.lastKey=i;s.lastNeedle=n;return s.lastIndex=binarySearch(e,n,c,p)}function parse(e){return typeof e==="string"?JSON.parse(e):e}var FlattenMap=function(e,n){const s=parse(e);if(!("sections"in s)){return new $(s,n)}const i=[];const a=[];const o=[];const l=[];const c=[];recurse(s,n,i,a,o,l,c,0,0,Infinity,Infinity);const p={version:3,file:s.file,names:l,sources:a,sourcesContent:o,mappings:i,ignoreList:c};return presortedDecodedMap(p)};function recurse(e,n,s,i,a,o,l,c,p,d,f){const{sections:h}=e;for(let e=0;e<h.length;e++){const{map:m,offset:y}=h[e];let g=d;let A=f;if(e+1<h.length){const n=h[e+1].offset;g=Math.min(d,c+n.line);if(g===d){A=Math.min(f,p+n.column)}else if(g<d){A=p+n.column}}addSection(m,n,s,i,a,o,l,c+y.line,p+y.column,g,A)}}function addSection(e,n,s,i,a,o,l,c,p,d,f){const h=parse(e);if("sections"in h)return recurse(...arguments);const m=new $(h,n);const y=i.length;const I=o.length;const D=decodedMappings(m);const{resolvedSources:O,sourcesContent:L,ignoreList:B}=m;append(i,O);append(o,m.names);if(L)append(a,L);else for(let e=0;e<O.length;e++)a.push(null);if(B)for(let e=0;e<B.length;e++)l.push(B[e]+y);for(let e=0;e<D.length;e++){const n=c+e;if(n>d)return;const i=getLine(s,n);const a=e===0?p:0;const o=D[e];for(let e=0;e<o.length;e++){const s=o[e];const l=a+s[g];if(n===d&&l>=f)return;if(s.length===1){i.push([l]);continue}const c=y+s[A];const p=s[C];const h=s[_];i.push(s.length===4?[l,c,p,h]:[l,c,p,h,I+s[k]])}}}function append(e,n){for(let s=0;s<n.length;s++)e.push(n[s])}function getLine(e,n){for(let s=e.length;s<=n;s++)e[s]=[];return e[n]}var L="`line` must be greater than 0 (lines start at line 1)";var B="`column` must be greater than or equal to 0 (columns start at column 0)";var j=-1;var R=1;var $=class{constructor(e,n){const s=typeof e==="string";if(!s&&e._decodedMemo)return e;const i=parse(e);const{version:a,file:o,names:l,sourceRoot:c,sources:p,sourcesContent:d}=i;this.version=a;this.file=o;this.names=l||[];this.sourceRoot=c;this.sources=p;this.sourcesContent=d;this.ignoreList=i.ignoreList||i.x_google_ignoreList||void 0;const f=resolver(n,c);this.resolvedSources=p.map(f);const{mappings:h}=i;if(typeof h==="string"){this._encoded=h;this._decoded=void 0}else if(Array.isArray(h)){this._encoded=void 0;this._decoded=maybeSort(h,s)}else if(i.sections){throw new Error(`TraceMap passed sectioned source map, please use FlattenMap export instead`)}else{throw new Error(`invalid source map: ${JSON.stringify(i)}`)}this._decodedMemo=memoizedState();this._bySources=void 0;this._bySourceMemos=void 0}};function cast(e){return e}function encodedMappings(e){var n,s;return(s=(n=cast(e))._encoded)!=null?s:n._encoded=(0,m.encode)(cast(e)._decoded)}function decodedMappings(e){var n;return(n=cast(e))._decoded||(n._decoded=(0,m.decode)(cast(e)._encoded))}function traceSegment(e,n,s){const i=decodedMappings(e);if(n>=i.length)return null;const a=i[n];const o=traceSegmentInternal(a,cast(e)._decodedMemo,n,s,R);return o===-1?null:a[o]}function originalPositionFor(e,n){let{line:s,column:i,bias:a}=n;s--;if(s<0)throw new Error(L);if(i<0)throw new Error(B);const o=decodedMappings(e);if(s>=o.length)return OMapping(null,null,null,null);const l=o[s];const c=traceSegmentInternal(l,cast(e)._decodedMemo,s,i,a||R);if(c===-1)return OMapping(null,null,null,null);const p=l[c];if(p.length===1)return OMapping(null,null,null,null);const{names:d,resolvedSources:f}=e;return OMapping(f[p[A]],p[C]+1,p[_],p.length===5?d[p[k]]:null)}function generatedPositionFor(e,n){const{source:s,line:i,column:a,bias:o}=n;return generatedPosition(e,s,i,a,o||R,false)}function allGeneratedPositionsFor(e,n){const{source:s,line:i,column:a,bias:o}=n;return generatedPosition(e,s,i,a,o||j,true)}function eachMapping(e,n){const s=decodedMappings(e);const{names:i,resolvedSources:a}=e;for(let e=0;e<s.length;e++){const o=s[e];for(let s=0;s<o.length;s++){const l=o[s];const c=e+1;const p=l[0];let d=null;let f=null;let h=null;let m=null;if(l.length!==1){d=a[l[1]];f=l[2]+1;h=l[3]}if(l.length===5)m=i[l[4]];n({generatedLine:c,generatedColumn:p,source:d,originalLine:f,originalColumn:h,name:m})}}}function sourceIndex(e,n){const{sources:s,resolvedSources:i}=e;let a=s.indexOf(n);if(a===-1)a=i.indexOf(n);return a}function sourceContentFor(e,n){const{sourcesContent:s}=e;if(s==null)return null;const i=sourceIndex(e,n);return i===-1?null:s[i]}function isIgnored(e,n){const{ignoreList:s}=e;if(s==null)return false;const i=sourceIndex(e,n);return i===-1?false:s.includes(i)}function presortedDecodedMap(e,n){const s=new $(clone(e,[]),n);cast(s)._decoded=e.mappings;return s}function decodedMap(e){return clone(e,decodedMappings(e))}function encodedMap(e){return clone(e,encodedMappings(e))}function clone(e,n){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:n,ignoreList:e.ignoreList||e.x_google_ignoreList}}function OMapping(e,n,s,i){return{source:e,line:n,column:s,name:i}}function GMapping(e,n){return{line:e,column:n}}function traceSegmentInternal(e,n,s,i,a){let o=memoizedBinarySearch(e,i,n,s);if(O){o=(a===j?upperBound:lowerBound)(e,i,o)}else if(a===j)o++;if(o===-1||o===e.length)return-1;return o}function sliceGeneratedPositions(e,n,s,i,a){let o=traceSegmentInternal(e,n,s,i,R);if(!O&&a===j)o++;if(o===-1||o===e.length)return[];const l=O?i:e[o][g];if(!O)o=lowerBound(e,l,o);const c=upperBound(e,l,o);const p=[];for(;o<=c;o++){const n=e[o];p.push(GMapping(n[I]+1,n[D]))}return p}function generatedPosition(e,n,s,i,a,o){var l,c;s--;if(s<0)throw new Error(L);if(i<0)throw new Error(B);const{sources:p,resolvedSources:d}=e;let f=p.indexOf(n);if(f===-1)f=d.indexOf(n);if(f===-1)return o?[]:GMapping(null,null);const h=(l=cast(e))._bySourceMemos||(l._bySourceMemos=p.map(memoizedState));const m=(c=cast(e))._bySources||(c._bySources=buildBySources(decodedMappings(e),h));const y=m[f][s];if(y==null)return o?[]:GMapping(null,null);const g=h[f];if(o)return sliceGeneratedPositions(y,g,s,i,a);const A=traceSegmentInternal(y,g,s,i,a);if(A===-1)return GMapping(null,null);const C=y[A];return GMapping(C[I]+1,C[D])}}))},32500:function(e,n,s){var i=Object.create;var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.getPrototypeOf;var p=Object.prototype.hasOwnProperty;var __export=(e,n)=>{for(var s in n)a(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,n,s,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let c of l(n))if(!p.call(e,c)&&c!==s)a(e,c,{get:()=>n[c],enumerable:!(i=o(n,c))||i.enumerable})}return e};var __toESM=(e,n,s)=>(s=e!=null?i(c(e)):{},__copyProps(n||!e||!e.__esModule?a(s,"default",{value:e,enumerable:true}):s,e));var __toCommonJS=e=>__copyProps(a({},"__esModule",{value:true}),e);var d={};__export(d,{bodyParser:()=>bodyParserWrapper,default:()=>bodyParserWrapper});e.exports=__toCommonJS(d);var f=__toESM(s(47640));var h=__toESM(s(81258));var m=__toESM(s(87568));var y=["json","form","text","xml"];var g=class extends Error{constructor(e){super();this.name="UnsupportedBodyTypeError";this.message=`Invalid enabled type '${e}'. make sure to pass an array contains supported types ([${y}]).`}};function getIsEnabledBodyAs(e){for(const n of e){if(!y.includes(n)){throw new g(n)}}const n=y.reduce(((n,s)=>({...n,[s]:e.includes(s)})),{});return n}function getMimeTypes(e){for(const n of Object.keys(e)){const s=e[n];if(!y.includes(n)||!Array.isArray(s)){throw new g(n)}}const n={json:["application/json","application/json-patch+json","application/vnd.api+json","application/csp-report","application/reports+json","application/scim+json"],form:["application/x-www-form-urlencoded"],text:["text/plain"],xml:["text/xml","application/xml"]};const s=(0,h.default)(n,e);return s}function isTypes(e,n){if(typeof e==="string"){e=e.replace(/;$/,"")}return m.default.is(e,n)}function bodyParserWrapper(e={}){const{patchNode:n=false,parsedMethods:s=["POST","PUT","PATCH"],detectJSON:i,onError:a,enableTypes:o=["json","form"],extendTypes:l={},enableRawChecking:c=false,...p}=e;const d=getIsEnabledBodyAs(o);const h=getMimeTypes(l);async function parseBody(e){const shouldParseBodyAs=n=>Boolean(d[n]&&isTypes(e.request.get("content-type"),h[n]));const n=i?.(e)||shouldParseBodyAs("json")?"json":shouldParseBodyAs("form")?"form":shouldParseBodyAs("text")||shouldParseBodyAs("xml")?"text":null;if(!n)return{};const s={returnRawBody:true,strict:n==="json"?p.jsonStrict:void 0,[`${n}Types`]:h[n],limit:p[`${shouldParseBodyAs("xml")?"xml":n}Limit`],encoding:p.encoding||"utf-8"};return f.default[n](e,s)}return async function bodyParser(e,i){if(!s.includes(e.method.toUpperCase())||n&&e.req.body!==void 0||e.request.body!==void 0||e.disableBodyParser)return i();if(c&&e.req.body!==void 0){e.request.body=e.req.body;return i()}if(e.req.closed){e.status=499;e.body="Request already closed";return}try{const s=await parseBody(e);if(n){e.req.body="parsed"in s?s.parsed:{};if(e.req.rawBody===void 0)e.req.rawBody=s.raw}e.request.body="parsed"in s?s.parsed:{};if(e.request.rawBody===void 0)e.request.rawBody=s.raw}catch(n){if(!a)throw n;a(n,e)}return i()}}0&&0},65099:function(e,n,s){e.exports=s(36226)},36226:function(e,n,s){e=s.nmd(e);const i=s(73024);const a=s(76760);const o=s(1708);const l=s(57975);const c=s(30714);const{join:p}=a;const{resolve:d}=a;const{extname:f}=a;const{dirname:h}=a;const{isAbsolute:m}=a;let y={};let g={};const A={};n.clearCache=function(){y={};g={}};function cache(e,n){if(n&&e.filename&&e.cache){delete y[e.filename];g[e.filename]=n;return n}if(e.filename&&e.cache){return g[e.filename]}return n}function read(e,n,s){const a=y[e];const o=n.cache&&a&&typeof a==="string";if(o)return s(null,a);i.readFile(e,"utf8",(function(i,a){if(i)return s(i);a=a.replace(/^\uFEFF/,"");if(n.cache)y[e]=a;s(null,a)}))}function readPartials(e,n,s){if(!n.partials)return s();const i=Object.keys(n.partials);const a={};function next(o){if(o===i.length)return s(null,a);const l=i[o];const c=n.partials[l];if(c===undefined||c===null||c===false){return next(++o)}let d;if(m(c)){d=f(c)===""?p(c+f(e)):c}else{d=p(h(e),c+f(e))}read(d,n,(function(e,n){if(e)return s(e);a[l]=n;next(++o)}))}next(0)}function promisify(e,n){return new Promise((function(s,i){e=e||function(e,n){if(e){return i(e)}s(n)};n(e)}))}function fromStringRenderer(e){return function(s,i,a){i.filename=s;return promisify(a,(function(a){readPartials(s,i,(function(o,l){const c={...i};c.partials=l;if(o)return a(o);if(cache(c)){n[e].render("",c,a)}else{read(s,c,(function(s,i){if(s)return a(s);n[e].render(i,c,a)}))}}))}))}}n.velocityjs=fromStringRenderer("velocityjs");n.velocityjs.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.velocityjs||(A.velocityjs=s(63915));n.locals=n;i(null,a.render(e,n).trimStart())}catch(e){i(e)}}))};n.liquid=fromStringRenderer("liquid");function _renderTinyliquid(e,n,s,l){const c=e.newContext();let p;if(s.locals){for(p in s.locals){c.setLocals(p,s.locals[p])}delete s.locals}if(s.meta){c.setLocals("page",s.meta);delete s.meta}if(s.filters){for(p in s.filters){c.setFilter(p,s.filters[p])}delete s.filters}const d=s.includeDir||o.cwd();c.onInclude((function(n,s){const o=a.extname(n)?"":".liquid";const l=a.resolve(d,n+o);i.readFile(l,{encoding:"utf8"},(function(n,i){if(n)return s(n);s(null,e.parse(i))}))}));delete s.includeDir;const f={customTags:{}};if(s.customTags){const n=s.customTags;for(p in s.customTags){f.customTags[p]=function(s,i,a){const o=n[i](a.trim());s.astStack.push(e.parse(o))}}delete s.customTags}for(p in s){c.setLocals(p,s[p])}const h=cache(c)||cache(c,e.compile(n,f));h(c,l)}n.liquid.render=function(e,n,i){return promisify(i,(function(i){let a=A.liquid;let l;try{a=A.liquid=s(37169);_renderTinyliquid(a,e,n,i);return}catch(e){try{l=A.liquid=s(39564);a=new l.Engine}catch(n){console.error(n);return i(e)}}try{const s=n.locals||{};if(n.meta){s.pages=n.meta;delete n.meta}if(n.filters){a.registerFilters(n.filters);delete n.filters}const c=n.includeDir||o.cwd();a.fileSystem=new l.LocalFileSystem(c,"liquid");delete n.includeDir;if(n.customTags){const e=n.customTags;for(const s in n.customTags){a.registerTag(s,e[s])}delete n.customTags}for(const e in n){s[e]=n[e]}return a.parseAndRender(e,s).nodeify((function(e,n){if(e){throw new Error(e)}else{return i(null,n)}}))}catch(e){i(e)}}))};n.dust=fromStringRenderer("dust");n.dust.render=function(e,n,a){return promisify(a,(function(a){let o=A.dust;if(!o){try{o=A.dust=s(72103)}catch(e){try{o=A.dust=s(94230)}catch(n){console.error(n);try{o=A.dust=s(64933)}catch(n){console.error(n);return a(e)}}}}let l="dust";let c=".";if(n){if(n.ext)l=n.ext;if(n.views)c=n.views;if(n.settings&&n.settings.views)c=n.settings.views}if(!n||n&&!n.cache)o.cache={};o.onLoad=function(e,s){if(f(e)==="")e+="."+l;if(Array.isArray(c)){const a=[];for(let n=0;n<c.length;n++)if(i.existsSync(c[n]+"/"+e))a.push(c[n]+"/"+e);if(a.length===0)throw new Error("Cannot find template: "+e);else if(a.length>1){console.warn("Multiple file with the same name:\n"+a.join("\n")+"\nDefault using => "+a[0]);read(a[0],n,s)}else{read(a[0],n,s)}}else{if(e[0]!=="/")e=c+"/"+e;read(e,n,s)}};try{let s;if(n.filename){s=n.filename.replace(new RegExp("^"+c+"/"),"").replace(new RegExp("\\."+l),"")}const i=cache(n)||cache(n,o.compileFn(e,s));i(n,a)}catch(e){a(e)}}))};n.swig=fromStringRenderer("swig");n.swig.render=function(e,n,i){return promisify(i,(function(i){let a=A.swig;if(!a){try{a=A.swig=s(68917)}catch(e){try{a=A.swig=s(38859)}catch(n){console.error(n);return i(e)}}}try{if(n.cache===true)n.cache="memory";a.setDefaults({cache:n.cache});const s=cache(n)||cache(n,a.compile(e,n));i(null,s(n))}catch(e){i(e)}}))};n.atpl=fromStringRenderer("atpl");n.atpl.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.atpl||(A.atpl=s(700));const o=cache(n)||cache(n,a.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.liquor=fromStringRenderer("liquor");n.liquor.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.liquor||(A.liquor=s(20735));const o=cache(n)||cache(n,a.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.twig=fromStringRenderer("twig");n.twig.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.twig||(A.twig=s(40032).twig);const o={data:e,allowInlineIncludes:n.allowInlineIncludes,namespaces:n.namespaces,path:n.path};const l=cache(o)||cache(o,a(o));i(null,l.render(n))}catch(e){i(e)}}))};n.ejs=fromStringRenderer("ejs");n.ejs.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.ejs||(A.ejs=s(55875));const o=cache(n)||cache(n,a.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.eta=function(e,n,i){return promisify(i,(function(i){try{const a=A.eta||(A.eta=new(s(52893).Eta)({views:"."}));i(null,a.render(e,n))}catch(e){i(e)}}))};n.eta.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.eta||(A.eta=new(s(52893).Eta)({views:"."}));i(null,a.renderString(e,n))}catch(e){i(e)}}))};n.eco=fromStringRenderer("eco");n.eco.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.eco||(A.eco=s(73102));i(null,a.render(e,n))}catch(e){i(e)}}))};n.jazz=fromStringRenderer("jazz");n.jazz.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.jazz||(A.jazz=s(18600));const o=cache(n)||cache(n,a.compile(e,n));o.eval(n,(function(e){i(null,e)}))}catch(e){i(e)}}))};n.jqtpl=fromStringRenderer("jqtpl");n.jqtpl.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.jqtpl||(A.jqtpl=s(96964));a.template(e,e);i(null,a.tmpl(e,n))}catch(e){i(e)}}))};n.haml=fromStringRenderer("haml");n.haml.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.haml||(A.haml=s(11232));n.locals=n;i(null,a.render(e,n).trimStart())}catch(e){i(e)}}))};n.hamlet=fromStringRenderer("hamlet");n.hamlet.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.hamlet||(A.hamlet=s(42862));n.locals=n;i(null,a.render(e,n).trimStart())}catch(e){i(e)}}))};n.whiskers=function(e,n,i){return promisify(i,(function(i){try{const a=A.whiskers||(A.whiskers=s(81751));a.__express(e,n,i)}catch(e){i(e)}}))};n.whiskers.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.whiskers||(A.whiskers=s(81751));i(null,a.render(e,n))}catch(e){i(e)}}))};n["haml-coffee"]=fromStringRenderer("haml-coffee");n["haml-coffee"].render=function(e,n,i){return promisify(i,(function(i){try{const a=A["haml-coffee"]||(A["haml-coffee"]=s(95338));const o=cache(n)||cache(n,a.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.hogan=fromStringRenderer("hogan");n.hogan.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.hogan||(A.hogan=s(37997));const o=cache(n)||cache(n,a.compile(e,n));i(null,o.render(n,n.partials))}catch(e){i(e)}}))};n.templayed=fromStringRenderer("templayed");n.templayed.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.templayed||(A.templayed=s(84486));const o=cache(n)||cache(n,a(e));i(null,o(n))}catch(e){i(e)}}))};n.handlebars=fromStringRenderer("handlebars");n.handlebars.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.handlebars||(A.handlebars=s(81387));for(const e in n.partials){a.registerPartial(e,n.partials[e])}for(const e in n.helpers){a.registerHelper(e,n.helpers[e])}const o=cache(n)||cache(n,a.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.underscore=fromStringRenderer("underscore");n.underscore.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.underscore||(A.underscore=s(99912));const o={};for(const e in n.partials){o[e]=a.template(n.partials[e])}n.partials=o;const l=cache(n)||cache(n,a.template(e,null,n));i(null,l(n).replace(/\n$/,""))}catch(e){i(e)}}))};n.lodash=fromStringRenderer("lodash");n.lodash.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.lodash||(A.lodash=s(31742));const o=cache(n)||cache(n,a.template(e,n));i(null,o(n).replace(/\n$/,""))}catch(e){i(e)}}))};n.pug=function(e,n,i){return promisify(i,(function(i){let a=A.pug;if(!a){try{a=A.pug=s(137)}catch(e){try{a=A.pug=s(21765)}catch(n){console.error(n);return i(e)}}}try{const s=cache(n)||cache(n,a.compileFile(e,n));i(null,s(n))}catch(e){i(e)}}))};n.pug.render=function(e,n,i){return promisify(i,(function(i){let a=A.pug;if(!a){try{a=A.pug=s(137)}catch(e){try{a=A.pug=s(21765)}catch(n){console.error(n);return i(e)}}}try{const s=cache(n)||cache(n,a.compile(e,n));i(null,s(n))}catch(e){i(e)}}))};n.qejs=fromStringRenderer("qejs");n.qejs.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.qejs||(A.qejs=s(78568));a.render(e,n).then((function(e){i(null,e)}),(function(e){i(e)})).done()}catch(e){i(e)}}))};n.walrus=fromStringRenderer("walrus");n.walrus.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.walrus||(A.walrus=s(60073));const o=cache(n)||cache(n,a.parse(e));i(null,o.compile(n))}catch(e){i(e)}}))};n.mustache=fromStringRenderer("mustache");n.mustache.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.mustache||(A.mustache=s(57208));i(null,a.render(e,n,n.partials))}catch(e){i(e)}}))};n.just=function(e,n,i){return promisify(i,(function(i){try{let a=A.just;if(!a){const e=s(38789);a=A.just=new e}a.configure({useCache:n.cache});a.render(e,n,i)}catch(e){i(e)}}))};n.just.render=function(e,n,i){return promisify(i,(function(i){try{const a=s(38789);const o=new a({root:{page:e}});o.render("page",n,i)}catch(e){i(e)}}))};n.ect=function(e,n,i){return promisify(i,(function(i){try{let a=A.ect;if(!a){const e=s(82125);a=A.ect=new e(n)}a.configure({cache:n.cache});a.render(e,n,i)}catch(e){i(e)}}))};n.ect.render=function(e,n,i){return promisify(i,(function(i){try{const a=s(82125);const o=new a({root:{page:e}});o.render("page",n,i)}catch(e){i(e)}}))};n.mote=fromStringRenderer("mote");n.mote.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.mote||(A.mote=s(79502));const o=cache(n)||cache(n,a.compile(e));i(null,o(n))}catch(e){i(e)}}))};n.toffee=function(e,n,i){return promisify(i,(function(i){try{const a=A.toffee||(A.toffee=s(19266));a.__consolidate_engine_render(e,n,i)}catch(e){i(e)}}))};n.toffee.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.toffee||(A.toffee=s(19266));a.str_render(e,n,i)}catch(e){i(e)}}))};n.dot=fromStringRenderer("dot");n.dot.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.dot||(A.dot=s(22536));const o=A.extend||(A.extend=Object.assign);let l={};l=o(l,a.templateSettings);l=o(l,n?n.dot:{});const c=cache(n)||cache(n,a.template(e,l,n));i(null,c(n))}catch(e){i(e)}}))};n.bracket=fromStringRenderer("bracket");n.bracket.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.bracket||(A.bracket=s(38428));const o=cache(n)||cache(n,a.default.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.ractive=fromStringRenderer("ractive");n.ractive.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.ractive||(A.ractive=s(43509));const o=cache(n)||cache(n,a.parse(e));n.template=o;if(n.data===null||n.data===undefined){n.data={...n};let e;let s;const i=["template","filename","cache","partials"];for(e=0,s=i.length;e<s;e++){const s=i[e];delete n.data[s]}}i(null,new a(n).toHTML())}catch(e){i(e)}}))};n.nunjucks=fromStringRenderer("nunjucks");n.nunjucks.render=function(e,n,i){return promisify(i,(function(i){try{const a=n.nunjucksEnv||A.nunjucks||(A.nunjucks=s(64922));let o=a;if(n.settings&&n.settings.views){o=a.configure(n.settings.views)}else if(n.nunjucks&&n.nunjucks.configure){o=a.configure.apply(a,n.nunjucks.configure)}if(n.loader){o=new a.Environment(n.loader)}else if(n.settings&&n.settings.views){o=new a.Environment(new a.FileSystemLoader(n.settings.views))}else if(n.nunjucks&&n.nunjucks.loader){if(typeof n.nunjucks.loader==="string"){o=new a.Environment(new a.FileSystemLoader(n.nunjucks.loader))}else{o=new a.Environment(new a.FileSystemLoader(n.nunjucks.loader[0],n.nunjucks.loader[1]))}}o.renderString(e,n,i)}catch(e){throw i(e)}}))};n.htmling=fromStringRenderer("htmling");n.htmling.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.htmling||(A.htmling=s(1104));const o=cache(n)||cache(n,a.string(e));i(null,o.render(n))}catch(e){i(e)}}))};function requireReact(e,n){let i;try{const e=A.babel||(A.babel=s(52915));i=e.transformFileSync(n,{presets:["@babel/preset-react"]}).code}catch(e){try{const e=A.babel||(A.babel=s(27119));i=e.transformFileSync(n,{presets:["react"]}).code}catch(n){console.error(n);throw e}}return e._compile(i,n)}n.requireReact=requireReact;function requireReactString(n,i){if(!i)i="";const a=new e.constructor;i=i||"";let o;try{const e=A.babel||(A.babel=s(52915));o=e.transform(n,{presets:["@babel/preset-react"]}).code}catch(e){try{const e=A.babel||(A.babel=s(27119));o=e.transform(n,{presets:["react"]}).code}catch(n){console.error(n);throw e}}a.paths=e.paths;a._compile(o,i);return a.exports}function reactBaseTmpl(e,n){let s;let i;for(const a in n){if(n.hasOwnProperty(a)){s="{{"+a+"}}";i=new RegExp(s,"g");if(i.test(e))e=e.replace(i,n[a])}}return e}n.plates=fromStringRenderer("plates");n.plates.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.plates||(A.plates=s(39272));const o=n.map||undefined;const l=a.bind(e,n,o);i(null,l)}catch(e){i(e)}}))};function reactRenderer(e){if(require.extensions){if(!require.extensions[".jsx"]){require.extensions[".jsx"]=requireReact}if(!require.extensions[".react"]){require.extensions[".react"]=requireReact}}return function(n,a,o){return promisify(o,(function(o){let l;let c;try{l=A.ReactDOM||(A.ReactDOM=s(43271));c=A.react||(A.react=s(4090))}catch(e){return o(e)}const{base:p}=a;delete a.base;const f=a.cache;delete a.cache;const{isNonStatic:h}=a;delete a.isNonStatic;try{let s;let m;let g;let A;if(cache(a)){m=cache(a)}else{if(e==="path"){const e=d(n);delete require.cache[e];try{s=require(e)}catch(e){return o(e)}}else{s=requireReactString(n)}m=cache(a,c.createFactory(s))}const C=new m(a);A=h?l.renderToString(C):l.renderToStaticMarkup(C);if(p){g=y[n]||i.readFileSync(d(p),"utf8");if(f){y[n]=g}a.content=A;A=reactBaseTmpl(g,a)}o(null,A)}catch(e){o(e)}}))}}n.react=reactRenderer("path");n.react.render=reactRenderer("string");n["arc-templates"]=fromStringRenderer("arc-templates");n["arc-templates"].render=function(e,n,i){const a=l.promisify(read);const o={};o.readFile=function(e){return a(e,n)};return promisify(i,(function(i){try{let a=A["arc-templates"];if(!a){const e=s(68146);a=A["arc-templates"]=new e({filesystem:o})}const l=cache(n)||cache(n,a.compileString(e,n.filename));l.then((function(e){return e(n)})).then((function(e){i(null,e.content)})).catch(i)}catch(e){i(e)}}))};n.vash=fromStringRenderer("vash");n.vash.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.vash||(A.vash=s(24857));if(n.helpers){for(const e in n.helpers){if(!n.helpers.hasOwnProperty(e)||typeof n.helpers[e]!=="function"){continue}a.helpers[e]=n.helpers[e]}}const o=cache(n)||cache(n,a.compile(e,n));o(n,(function(e,n){if(e)i(e);n.finishLayout();i(null,n.toString().replace(/\n$/,""))}))}catch(e){i(e)}}))};n.slm=fromStringRenderer("slm");n.slm.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.slm||(A.slm=s(27735));const o=cache(n)||cache(n,a.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.teacup=function(e,n,i){return promisify(i,(function(i){try{const a=A.teacup||(A.teacup=s(5704));require.extensions[".teacup"]=require.extensions[".coffee"];if(e[0]!=="/"){e=p(o.cwd(),e)}if(!n.cache){const n=i;i=function(...s){delete require.cache[e];Reflect.apply(n,this,s)}}a.renderFile(e,n,i)}catch(e){i(e)}}))};n.teacup.render=function(e,n,i){try{const a=s(52213);const o={module:{exports:{}},require:require};return promisify(i,(function(s){c.runInNewContext(a.compile(e),o);const i=o.module.exports;s(null,i(n))}))}catch(e){i(e)}};n.twing=fromStringRenderer("twing");n.twing.render=function(e,n,a){return promisify(a,(function(a){try{let o=A.twing||(A.twing=s(21964));if(o.hasOwnProperty("TwingEnvironment")){let e=new o.TwingLoaderNull;if(n.settings&&n.settings.views&&i.existsSync(n.settings.views)){e=new o.TwingLoaderFilesystem(n.settings.views)}o=A.twing=new o.TwingEnvironment(e)}o.createTemplate(e).then((e=>{e.render(n).then((e=>{const s=cache(n)||cache(n,e);a(null,s)}))}))}catch(e){a(e)}}))};n.requires=A},64459:function(e,n,s){"use strict";const i=s(86449)("@ladjs/koa-views");const a=s(65099);const o=s(59558);const l=s(84675);const c=s(78176);const p=s(91493);e.exports=viewsMiddleware;const bigIntReplacer=()=>{const e=new WeakSet;return(n,s)=>{if(typeof s==="bigint")return s.toString();if(typeof s==="object"&&s!==null){if(e.has(s)){return}e.add(s)}return s}};function viewsMiddleware(e,{autoRender:n=true,engineSource:s=a,extension:d="html",options:f={},map:h}={}){return function views(a,m){let y=false;function render(m,g={}){if(y){if(this.ctx&&this.ctx.req===this.req)a=this.ctx;else a=this}return l(e,m,d).then((l=>{const d=l.ext;const m=Object.assign({},f,a.state||{},g);m.partials=Object.assign(Object.create(null),f.partials||{});if(i.enabled)i("render `%s` with %s",l.rel,JSON.stringify(m,bigIntReplacer()));a.type="text/html";if(isHtml(d)&&!h){return o(a,l.rel,{root:e})}else{const o=h&&h[d]?h[d]:d;const f=s[o];if(!o||!f)return Promise.reject(new Error(`Engine not found for the ".${d}" file extension`));return f(p(e,l.rel),m).then((e=>{if(g.pretty){i("using `pretty` package to beautify HTML");e=c(e)}if(n){a.body=e;return e}return Promise.resolve(e)}))}}))}if(!a){y=true;return render}if(a.render)return m();a.response.render=a.render=render;return m()}}function isHtml(e){return e==="html"}},54143:function(e){function BrowserslistError(e){this.name="BrowserslistError";this.message=e;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;e.exports=BrowserslistError},72629:function(e,n,s){var i=s(20644);var a=s(69350).X;var o=s(33990);var l=s(76516);var c=s(16928);var p=s(54143);var d=s(43805);var f=s(5546);var h=365.259641*24*60*60*1e3;var m="37";var y=14;function isVersionsMatch(e,n){return(e+".").indexOf(n+".")===0}function isEolReleased(e){var n=e.slice(1);return browserslist.nodeVersions.some((function(e){return isVersionsMatch(e,n)}))}function normalize(e){return e.filter((function(e){return typeof e==="string"}))}function normalizeElectron(e){var n=e;if(e.split(".").length===3){n=e.split(".").slice(0,-1).join(".")}return n}function nameMapper(e){return function mapName(n){return e+" "+n}}function getMajor(e){return parseInt(e.split(".")[0])}function getMajorVersions(e,n){if(e.length===0)return[];var s=uniq(e.map(getMajor));var i=s[s.length-n];if(!i){return e}var a=[];for(var o=e.length-1;o>=0;o--){if(i>getMajor(e[o]))break;a.unshift(e[o])}return a}function uniq(e){var n=[];for(var s=0;s<e.length;s++){if(n.indexOf(e[s])===-1)n.push(e[s])}return n}function fillUsage(e,n,s){for(var i in s){e[n+" "+i]=s[i]}}function generateFilter(e,n){n=parseFloat(n);if(e===">"){return function(e){return parseLatestFloat(e)>n}}else if(e===">="){return function(e){return parseLatestFloat(e)>=n}}else if(e==="<"){return function(e){return parseFloat(e)<n}}else{return function(e){return parseFloat(e)<=n}}function parseLatestFloat(e){return parseFloat(e.split("-")[1]||e)}}function generateSemverFilter(e,n){n=n.split(".").map(parseSimpleInt);n[1]=n[1]||0;n[2]=n[2]||0;if(e===">"){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(e,n)>0}}else if(e===">="){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(e,n)>=0}}else if(e==="<"){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(n,e)>0}}else{return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(n,e)>=0}}}function parseSimpleInt(e){return parseInt(e)}function compare(e,n){if(e<n)return-1;if(e>n)return+1;return 0}function compareSemver(e,n){return compare(parseInt(e[0]),parseInt(n[0]))||compare(parseInt(e[1]||"0"),parseInt(n[1]||"0"))||compare(parseInt(e[2]||"0"),parseInt(n[2]||"0"))}function semverFilterLoose(e,n){n=n.split(".").map(parseSimpleInt);if(typeof n[1]==="undefined"){n[1]="x"}switch(e){case"<=":return function(e){e=e.split(".").map(parseSimpleInt);return compareSemverLoose(e,n)<=0};case">=":default:return function(e){e=e.split(".").map(parseSimpleInt);return compareSemverLoose(e,n)>=0}}}function compareSemverLoose(e,n){if(e[0]!==n[0]){return e[0]<n[0]?-1:+1}if(n[1]==="x"){return 0}if(e[1]!==n[1]){return e[1]<n[1]?-1:+1}return 0}function resolveVersion(e,n){if(e.versions.indexOf(n)!==-1){return n}else if(browserslist.versionAliases[e.name][n]){return browserslist.versionAliases[e.name][n]}else{return false}}function normalizeVersion(e,n){var s=resolveVersion(e,n);if(s){return s}else if(e.versions.length===1){return e.versions[0]}else{return false}}function filterByYear(e,n){e=e/1e3;return Object.keys(a).reduce((function(s,i){var a=byName(i,n);if(!a)return s;var o=Object.keys(a.releaseDate).filter((function(n){var s=a.releaseDate[n];return s!==null&&s>=e}));return s.concat(o.map(nameMapper(a.name)))}),[])}function cloneData(e){return{name:e.name,versions:e.versions,released:e.released,releaseDate:e.releaseDate}}function byName(e,n){e=e.toLowerCase();e=browserslist.aliases[e]||e;if(n.mobileToDesktop&&browserslist.desktopNames[e]){var s=browserslist.data[browserslist.desktopNames[e]];if(e==="android"){return normalizeAndroidData(cloneData(browserslist.data[e]),s)}else{var i=cloneData(s);i.name=e;return i}}return browserslist.data[e]}function normalizeAndroidVersions(e,n){var s=n.indexOf(m);return e.filter((function(e){return/^(?:[2-4]\.|[34]$)/.test(e)})).concat(n.slice(s))}function copyObject(e){var n={};for(var s in e){n[s]=e[s]}return n}function normalizeAndroidData(e,n){e.released=normalizeAndroidVersions(e.released,n.released);e.versions=normalizeAndroidVersions(e.versions,n.versions);e.releaseDate=copyObject(e.releaseDate);e.released.forEach((function(s){if(e.releaseDate[s]===undefined){e.releaseDate[s]=n.releaseDate[s]}}));return e}function checkName(e,n){var s=byName(e,n);if(!s)throw new p("Unknown browser "+e);return s}function unknownQuery(e){return new p("Unknown browser query `"+e+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterJumps(e,n,s,i){var a=1;switch(n){case"android":if(i.mobileToDesktop)return e;var o=browserslist.data.chrome.released;a=o.length-o.indexOf(m);break;case"op_mob":var l=browserslist.data.op_mob.released.slice(-1)[0];a=getMajor(l)-y+1;break;default:return e}if(s<=a){return e.slice(-1)}return e.slice(a-1-s)}function isSupported(e,n){return typeof e==="string"&&(e.indexOf("y")>=0||n&&e.indexOf("a")>=0)}function resolve(e,n){return parseQueries(e).reduce((function(e,s,i){if(s.not&&i===0){throw new p("Write any browsers query (for instance, `defaults`) "+"before `"+s.query+"`")}var a=C[s.type];var o=a.select.call(browserslist,n,s).map((function(e){var s=e.split(" ");if(s[1]==="0"){return s[0]+" "+byName(s[0],n).versions[0]}else{return e}}));if(s.compose==="and"){if(s.not){return e.filter((function(e){return o.indexOf(e)===-1}))}else{return e.filter((function(e){return o.indexOf(e)!==-1}))}}else{if(s.not){var l={};o.forEach((function(e){l[e]=true}));return e.filter((function(e){return!l[e]}))}return e.concat(o)}}),[])}function prepareOpts(e){if(typeof e==="undefined")e={};if(typeof e.path==="undefined"){e.path=c.resolve?c.resolve("."):"."}return e}function prepareQueries(e,n){if(typeof e==="undefined"||e===null){var s=browserslist.loadConfig(n);if(s){e=s}else{e=browserslist.defaults}}return e}function checkQueries(e){if(!(typeof e==="string"||Array.isArray(e))){throw new p("Browser queries must be an array or string. Got "+typeof e+".")}}var g={};var A={};function browserslist(e,n){n=prepareOpts(n);e=prepareQueries(e,n);checkQueries(e);var s=parseQueries(e).some((function(e){return C[e.type].needsPath}));var i={ignoreUnknownVersions:n.ignoreUnknownVersions,dangerousExtend:n.dangerousExtend,mobileToDesktop:n.mobileToDesktop,env:n.env};if(s){i.path=n.path}d.oldDataWarning(browserslist.data);var a=d.getStat(n,browserslist.data);if(a){i.customUsage={};for(var o in a){fillUsage(i.customUsage,o,a[o])}}var l=JSON.stringify([e,i]);if(g[l])return g[l];var c=uniq(resolve(e,i)).sort((function(e,n){e=e.split(" ");n=n.split(" ");if(e[0]===n[0]){var s=e[1].split("-")[0];var i=n[1].split("-")[0];return compareSemver(i.split("."),s.split("."))}else{return compare(e[0],n[0])}}));if(!d.env.BROWSERSLIST_DISABLE_CACHE){g[l]=c}return c}function parseQueries(e){var n=JSON.stringify(e);if(n in A)return A[n];var s=f(C,e);if(!d.env.BROWSERSLIST_DISABLE_CACHE){A[n]=s}return s}function loadCustomUsage(e,n){var s=d.loadStat(e,n,browserslist.data);if(s){e.customUsage={};for(var i in s){fillUsage(e.customUsage,i,s[i])}}if(!e.customUsage){throw new p("Custom usage statistics was not provided")}return e.customUsage}browserslist.parse=function(e,n){n=prepareOpts(n);e=prepareQueries(e,n);checkQueries(e);return parseQueries(e)};browserslist.cache={};browserslist.data={};browserslist.usage={global:{},custom:null};browserslist.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=d.clearCaches;browserslist.parseConfig=d.parseConfig;browserslist.readConfig=d.readConfig;browserslist.findConfigFile=d.findConfigFile;browserslist.findConfig=d.findConfig;browserslist.loadConfig=d.loadConfig;browserslist.coverage=function(e,n){var s;if(typeof n==="undefined"){s=browserslist.usage.global}else if(n==="my stats"){var i={};i.path=c.resolve?c.resolve("."):".";var a=d.getStat(i);if(!a){throw new p("Custom usage statistics was not provided")}s={};for(var o in a){fillUsage(s,o,a[o])}}else if(typeof n==="string"){if(n.length>2){n=n.toLowerCase()}else{n=n.toUpperCase()}d.loadCountry(browserslist.usage,n,browserslist.data);s=browserslist.usage[n]}else{if("dataByBrowser"in n){n=n.dataByBrowser}s={};for(var l in n){for(var f in n[l]){s[l+" "+f]=n[l][f]}}}return e.reduce((function(e,n){var i=s[n];if(i===undefined){i=s[n.replace(/ \S+$/," 0")]}return e+(i||0)}),0)};function nodeQuery(e,n){var s=browserslist.nodeVersions.filter((function(e){return isVersionsMatch(e,n.version)}));if(s.length===0){if(e.ignoreUnknownVersions){return[]}else{throw new p("Unknown version "+n.version+" of Node.js")}}return["node "+s[s.length-1]]}function sinceQuery(e,n){var s=parseInt(n.year);var i=parseInt(n.month||"01")-1;var a=parseInt(n.day||"01");return filterByYear(Date.UTC(s,i,a,0,0,0),e)}function coverQuery(e,n){var s=parseFloat(n.coverage);var i=browserslist.usage.global;if(n.place){if(n.place.match(/^my\s+stats$/i)){if(!e.customUsage){throw new p("Custom usage statistics was not provided")}i=e.customUsage}else{var a;if(n.place.length===2){a=n.place.toUpperCase()}else{a=n.place.toLowerCase()}d.loadCountry(browserslist.usage,a,browserslist.data);i=browserslist.usage[a]}}else if(n.config){i=loadCustomUsage(e,n.config)}var o=Object.keys(i).sort((function(e,n){return i[n]-i[e]}));var l=0;var c=[];var f;for(var h=0;h<o.length;h++){f=o[h];if(i[f]===0)break;l+=i[f];c.push(f);if(l>=s)break}return c}var C={last_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(e,n){return Object.keys(a).reduce((function(s,i){var a=byName(i,e);if(!a)return s;var o=getMajorVersions(a.released,n.versions);o=o.map(nameMapper(a.name));o=filterJumps(o,a.name,n.versions,e);return s.concat(o)}),[])}},last_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+versions?$/i,select:function(e,n){return Object.keys(a).reduce((function(s,i){var a=byName(i,e);if(!a)return s;var o=a.released.slice(-n.versions);o=o.map(nameMapper(a.name));o=filterJumps(o,a.name,n.versions,e);return s.concat(o)}),[])}},last_electron_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(e,n){var s=getMajorVersions(Object.keys(o),n.versions);return s.map((function(e){return"chrome "+o[e]}))}},last_node_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+major\s+versions?$/i,select:function(e,n){return getMajorVersions(browserslist.nodeVersions,n.versions).map((function(e){return"node "+e}))}},last_browser_major_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(e,n){var s=checkName(n.browser,e);var i=getMajorVersions(s.released,n.versions);var a=i.map(nameMapper(s.name));a=filterJumps(a,s.name,n.versions,e);return a}},last_electron_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(e,n){return Object.keys(o).slice(-n.versions).map((function(e){return"chrome "+o[e]}))}},last_node_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+versions?$/i,select:function(e,n){return browserslist.nodeVersions.slice(-n.versions).map((function(e){return"node "+e}))}},last_browser_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(e,n){var s=checkName(n.browser,e);var i=s.released.slice(-n.versions).map(nameMapper(s.name));i=filterJumps(i,s.name,n.versions,e);return i}},unreleased_versions:{matches:[],regexp:/^unreleased\s+versions$/i,select:function(e){return Object.keys(a).reduce((function(n,s){var i=byName(s,e);if(!i)return n;var a=i.versions.filter((function(e){return i.released.indexOf(e)===-1}));a=a.map(nameMapper(i.name));return n.concat(a)}),[])}},unreleased_electron_versions:{matches:[],regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},unreleased_browser_versions:{matches:["browser"],regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(e,n){var s=checkName(n.browser,e);return s.versions.filter((function(e){return s.released.indexOf(e)===-1})).map(nameMapper(s.name))}},last_years:{matches:["years"],regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(e,n){return filterByYear(Date.now()-h*n.years,e)}},since_y:{matches:["year"],regexp:/^since (\d+)$/i,select:sinceQuery},since_y_m:{matches:["year","month"],regexp:/^since (\d+)-(\d+)$/i,select:sinceQuery},since_y_m_d:{matches:["year","month","day"],regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:sinceQuery},popularity:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(e,n){var s=parseFloat(n.popularity);var i=browserslist.usage.global;return Object.keys(i).reduce((function(e,a){if(n.sign===">"){if(i[a]>s){e.push(a)}}else if(n.sign==="<"){if(i[a]<s){e.push(a)}}else if(n.sign==="<="){if(i[a]<=s){e.push(a)}}else if(i[a]>=s){e.push(a)}return e}),[])}},popularity_in_my_stats:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(e,n){var s=parseFloat(n.popularity);if(!e.customUsage){throw new p("Custom usage statistics was not provided")}var i=e.customUsage;return Object.keys(i).reduce((function(e,a){var o=i[a];if(o==null){return e}if(n.sign===">"){if(o>s){e.push(a)}}else if(n.sign==="<"){if(o<s){e.push(a)}}else if(n.sign==="<="){if(o<=s){e.push(a)}}else if(o>=s){e.push(a)}return e}),[])}},popularity_in_config_stats:{matches:["sign","popularity","config"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(e,n){var s=parseFloat(n.popularity);var i=loadCustomUsage(e,n.config);return Object.keys(i).reduce((function(e,a){var o=i[a];if(o==null){return e}if(n.sign===">"){if(o>s){e.push(a)}}else if(n.sign==="<"){if(o<s){e.push(a)}}else if(n.sign==="<="){if(o<=s){e.push(a)}}else if(o>=s){e.push(a)}return e}),[])}},popularity_in_place:{matches:["sign","popularity","place"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(e,n){var s=parseFloat(n.popularity);var i=n.place;if(i.length===2){i=i.toUpperCase()}else{i=i.toLowerCase()}d.loadCountry(browserslist.usage,i,browserslist.data);var a=browserslist.usage[i];return Object.keys(a).reduce((function(e,i){var o=a[i];if(o==null){return e}if(n.sign===">"){if(o>s){e.push(i)}}else if(n.sign==="<"){if(o<s){e.push(i)}}else if(n.sign==="<="){if(o<=s){e.push(i)}}else if(o>=s){e.push(i)}return e}),[])}},cover:{matches:["coverage"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,select:coverQuery},cover_in:{matches:["coverage","place"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:coverQuery},cover_config:{matches:["coverage","config"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/i,select:coverQuery},supports:{matches:["supportType","feature"],regexp:/^(?:(fully|partially)\s+)?supports\s+([\w-]+)$/,select:function(e,n){d.loadFeature(browserslist.cache,n.feature);var s=n.supportType!=="fully";var i=browserslist.cache[n.feature];var a=[];for(var o in i){var l=byName(o,e);var c=l.released.length-1;while(c>=0){if(l.released[c]in i[o])break;c--}var p=e.mobileToDesktop&&o in browserslist.desktopNames&&isSupported(i[o][l.released[c]],s);l.versions.forEach((function(e){var n=i[o][e];if(n===undefined&&p){n=i[browserslist.desktopNames[o]][e]}if(isSupported(n,s)){a.push(o+" "+e)}}))}return a}},electron_range:{matches:["from","to"],regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,n){var s=normalizeElectron(n.from);var i=normalizeElectron(n.to);var a=parseFloat(n.from);var l=parseFloat(n.to);if(!o[s]){throw new p("Unknown version "+a+" of electron")}if(!o[i]){throw new p("Unknown version "+l+" of electron")}return Object.keys(o).filter((function(e){var n=parseFloat(e);return n>=a&&n<=l})).map((function(e){return"chrome "+o[e]}))}},node_range:{matches:["from","to"],regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,n){return browserslist.nodeVersions.filter(semverFilterLoose(">=",n.from)).filter(semverFilterLoose("<=",n.to)).map((function(e){return"node "+e}))}},browser_range:{matches:["browser","from","to"],regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,n){var s=checkName(n.browser,e);var i=parseFloat(normalizeVersion(s,n.from)||n.from);var a=parseFloat(normalizeVersion(s,n.to)||n.to);function filter(e){var n=parseFloat(e);return n>=i&&n<=a}return s.released.filter(filter).map(nameMapper(s.name))}},electron_ray:{matches:["sign","version"],regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,n){var s=normalizeElectron(n.version);return Object.keys(o).filter(generateFilter(n.sign,s)).map((function(e){return"chrome "+o[e]}))}},node_ray:{matches:["sign","version"],regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,n){return browserslist.nodeVersions.filter(generateSemverFilter(n.sign,n.version)).map((function(e){return"node "+e}))}},browser_ray:{matches:["browser","sign","version"],regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(e,n){var s=n.version;var i=checkName(n.browser,e);var a=browserslist.versionAliases[i.name][s];if(a)s=a;return i.released.filter(generateFilter(n.sign,s)).map((function(e){return i.name+" "+e}))}},firefox_esr:{matches:[],regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 128"]}},opera_mini_all:{matches:[],regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},electron_version:{matches:["version"],regexp:/^electron\s+([\d.]+)$/i,select:function(e,n){var s=normalizeElectron(n.version);var i=o[s];if(!i){throw new p("Unknown version "+n.version+" of electron")}return["chrome "+i]}},node_major_version:{matches:["version"],regexp:/^node\s+(\d+)$/i,select:nodeQuery},node_minor_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+)$/i,select:nodeQuery},node_patch_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:nodeQuery},current_node:{matches:[],regexp:/^current\s+node$/i,select:function(e){return[d.currentNode(resolve,e)]}},maintained_node:{matches:[],regexp:/^maintained\s+node\s+versions$/i,select:function(e){var n=Date.now();var s=Object.keys(l).filter((function(e){return n<Date.parse(l[e].end)&&n>Date.parse(l[e].start)&&isEolReleased(e)})).map((function(e){return"node "+e.slice(1)}));return resolve(s,e)}},phantomjs_1_9:{matches:[],regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},phantomjs_2_1:{matches:[],regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},browser_version:{matches:["browser","version"],regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(e,n){var s=n.version;if(/^tp$/i.test(s))s="TP";var i=checkName(n.browser,e);var a=normalizeVersion(i,s);if(a){s=a}else{if(s.indexOf(".")===-1){a=s+".0"}else{a=s.replace(/\.0$/,"")}a=normalizeVersion(i,a);if(a){s=a}else if(e.ignoreUnknownVersions){return[]}else{throw new p("Unknown version "+s+" of "+n.browser)}}return[i.name+" "+s]}},browserslist_config:{matches:[],regexp:/^browserslist config$/i,needsPath:true,select:function(e){return browserslist(undefined,e)}},extends:{matches:["config"],regexp:/^extends (.+)$/i,needsPath:true,select:function(e,n){return resolve(d.loadQueries(e,n.config),e)}},defaults:{matches:[],regexp:/^defaults$/i,select:function(e){return resolve(browserslist.defaults,e)}},dead:{matches:[],regexp:/^dead$/i,select:function(e){var n=["Baidu >= 0","ie <= 11","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(n,e)}},unknown:{matches:[],regexp:/^(\w+)$/i,select:function(e,n){if(byName(n.query,e)){throw new p("Specify versions in Browserslist query for browser "+n.query)}else{throw unknownQuery(n.query)}}}};(function(){for(var e in a){var n=a[e];browserslist.data[e]={name:e,versions:normalize(a[e].versions),released:normalize(a[e].versions.slice(0,-3)),releaseDate:a[e].release_date};fillUsage(browserslist.usage.global,e,n.usage_global);browserslist.versionAliases[e]={};for(var s=0;s<n.versions.length;s++){var o=n.versions[s];if(!o)continue;if(o.indexOf("-")!==-1){var l=o.split("-");for(var c=0;c<l.length;c++){browserslist.versionAliases[e][l[c]]=o}}}}browserslist.nodeVersions=i.map((function(e){return e.version}))})();e.exports=browserslist},43805:function(e,n,s){var i=s(63256)["default"];var a=s(40692)["default"];var o=s(79896);var l=s(16928);var c=s(54143);var p=/^\s*\[(.+)]\s*$/;var d=/^browserslist-config-/;var f=/@[^/]+(?:\/[^/]+)?\/browserslist-config(?:-|$|\/)/;var h="Browserslist config should be a string or an array "+"of strings with browser queries";var m=false;var y={};var g={};var A={};function checkExtend(e){var n=" Use `dangerousExtend` option to disable.";if(!d.test(e)&&!f.test(e)){throw new c("Browserslist config needs `browserslist-config-` prefix. "+n)}if(e.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new c("`.` not allowed in Browserslist config name. "+n)}if(e.indexOf("node_modules")!==-1){throw new c("`node_modules` not allowed in Browserslist config."+n)}}function isFile(e){return o.existsSync(e)&&o.statSync(e).isFile()}function isDirectory(e){return o.existsSync(e)&&o.statSync(e).isDirectory()}function eachParent(e,n,s){var i=l.resolve(e);var a=[];var o;do{if(!pathInRoot(i)){break}if(s&&i in s){o=s[i];break}a.push(i);if(!isDirectory(i)){continue}var c=n(i);if(typeof c!=="undefined"){o=c;break}}while(i!==(i=l.dirname(i)));if(s&&!process.env.BROWSERSLIST_DISABLE_CACHE){a.forEach((function(e){s[e]=o}))}return o}function pathInRoot(e){if(!process.env.BROWSERSLIST_ROOT_PATH)return true;var n=l.resolve(process.env.BROWSERSLIST_ROOT_PATH);if(l.relative(n,e).substring(0,2)===".."){return false}return true}function check(e){if(Array.isArray(e)){for(var n=0;n<e.length;n++){if(typeof e[n]!=="string"){throw new c(h)}}}else if(typeof e!=="string"){throw new c(h)}}function pickEnv(e,n){if(typeof e!=="object")return e;var s;if(typeof n.env==="string"){s=n.env}else if(process.env.BROWSERSLIST_ENV){s=process.env.BROWSERSLIST_ENV}else if(process.env.NODE_ENV){s=process.env.NODE_ENV}else{s="production"}if(n.throwOnMissing){if(s&&s!=="defaults"&&!e[s]){throw new c("Missing config for Browserslist environment `"+s+"`")}}return e[s]||e.defaults}function parsePackage(e){var n=o.readFileSync(e).toString().replace(/^\uFEFF/m,"");var s;if(n.indexOf('"browserslist"')>=0){s=JSON.parse(n).browserslist}else if(n.indexOf('"browserlist"')>=0){var i=JSON.parse(n);if(i.browserlist&&!i.browserslist){throw new c("`browserlist` key instead of `browserslist` in "+e)}}if(Array.isArray(s)||typeof s==="string"){s={defaults:s}}for(var a in s){check(s[a])}return s}function parsePackageOrReadConfig(n){if(n in A){return A[n]}var s=l.basename(n)==="package.json";var i=s?parsePackage(n):e.exports.readConfig(n);if(!process.env.BROWSERSLIST_DISABLE_CACHE){A[n]=i}return i}function latestReleaseTime(e){var n=0;for(var s in e){var i=e[s].releaseDate||{};for(var a in i){if(n<i[a]){n=i[a]}}}return n*1e3}function getMonthsPassed(e){var n=new Date;var s=new Date(e);var i=n.getFullYear()-s.getFullYear();var a=n.getMonth()-s.getMonth();return i*12+a}function normalizeStats(e,n){if(!e){e={}}if(n&&"dataByBrowser"in n){n=n.dataByBrowser}if(typeof n!=="object")return undefined;var s={};for(var i in n){var a=Object.keys(n[i]);if(a.length===1&&e[i]&&e[i].versions.length===1){var o=e[i].versions[0];s[i]={};s[i][o]=n[i][a[0]]}else{s[i]=n[i]}}return s}function normalizeUsageData(e,n){for(var s in e){var i=e[s];if("0"in i){var a=n[s].versions;i[a[a.length-1]]=i[0];delete i[0]}}}e.exports={loadQueries:function loadQueries(e,n){if(!e.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(n)}var i=require(s(593).resolve(n,{paths:[".",e.path]}));if(typeof i==="object"&&i!==null&&i.__esModule){i=i.default}if(i){if(Array.isArray(i)){return i}else if(typeof i==="object"){if(!i.defaults)i.defaults=[];return pickEnv(i,e,n)}}throw new c("`"+n+"` config exports not an array of queries"+" or an object of envs")},loadStat:function loadStat(e,n,i){if(!e.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(n)}var a=require(s(593).resolve(l.join(n,"browserslist-stats.json"),{paths:["."]}));return normalizeStats(i,a)},getStat:function getStat(e,n){var s;if(e.stats){s=e.stats}else if(process.env.BROWSERSLIST_STATS){s=process.env.BROWSERSLIST_STATS}else if(e.path&&l.resolve&&o.existsSync){s=eachParent(e.path,(function(e){var n=l.join(e,"browserslist-stats.json");return isFile(n)?n:undefined}),y)}if(typeof s==="string"){try{s=JSON.parse(o.readFileSync(s))}catch(e){throw new c("Can't read "+s)}}return normalizeStats(n,s)},loadConfig:function loadConfig(n){if(process.env.BROWSERSLIST){return process.env.BROWSERSLIST}else if(n.config||process.env.BROWSERSLIST_CONFIG){var s=n.config||process.env.BROWSERSLIST_CONFIG;return pickEnv(parsePackageOrReadConfig(s),n)}else if(n.path){return pickEnv(e.exports.findConfig(n.path),n)}else{return undefined}},loadCountry:function loadCountry(e,n,s){var i=n.replace(/[^\w-]/g,"");if(!e[i]){var o;try{o=require("caniuse-lite/data/regions/"+i+".js")}catch(e){throw new c("Unknown region name `"+i+"`.")}var l=a(o);normalizeUsageData(l,s);e[n]={};for(var p in l){for(var d in l[p]){e[n][p+" "+d]=l[p][d]}}}},loadFeature:function loadFeature(e,n){n=n.replace(/[^\w-]/g,"");if(e[n])return;var s;try{s=require("caniuse-lite/data/features/"+n+".js")}catch(e){throw new c("Unknown feature name `"+n+"`.")}var a=i(s).stats;e[n]={};for(var o in a){e[n][o]={};for(var l in a[o]){e[n][o][l]=a[o][l]}}},parseConfig:function parseConfig(e){var n={defaults:[]};var s=["defaults"];e.toString().replace(/#[^\n]*/g,"").split(/\n|,/).map((function(e){return e.trim()})).filter((function(e){return e!==""})).forEach((function(e){if(p.test(e)){s=e.match(p)[1].trim().split(" ");s.forEach((function(e){if(n[e]){throw new c("Duplicate section "+e+" in Browserslist config")}n[e]=[]}))}else{s.forEach((function(s){n[s].push(e)}))}}));return n},readConfig:function readConfig(n){if(!isFile(n)){throw new c("Can't read "+n+" config")}return e.exports.parseConfig(o.readFileSync(n))},findConfigFile:function findConfigFile(e){return eachParent(e,(function(e){var n=l.join(e,"browserslist");var s=l.join(e,"package.json");var i=l.join(e,".browserslistrc");var a;if(isFile(s)){try{a=parsePackage(s)}catch(e){if(e.name==="BrowserslistError")throw e;console.warn("[Browserslist] Could not parse "+s+". Ignoring it.")}}if(isFile(n)&&a){throw new c(e+" contains both browserslist and package.json with browsers")}else if(isFile(i)&&a){throw new c(e+" contains both .browserslistrc and package.json with browsers")}else if(isFile(n)&&isFile(i)){throw new c(e+" contains both .browserslistrc and browserslist")}else if(isFile(n)){return n}else if(isFile(i)){return i}else if(a){return s}}),g)},findConfig:function findConfig(e){var n=this.findConfigFile(e);return n?parsePackageOrReadConfig(n):undefined},clearCaches:function clearCaches(){m=false;y={};g={};A={};this.cache={}},oldDataWarning:function oldDataWarning(e){if(m)return;m=true;if(process.env.BROWSERSLIST_IGNORE_OLD_DATA)return;var n=latestReleaseTime(e);var s=getMonthsPassed(n);if(n!==0&&s>=6){var i=s+" "+(s>1?"months":"month");console.warn("Browserslist: browsers data (caniuse-lite) is "+i+" old. Please run:\n"+" npx update-browserslist-db@latest\n"+" Why you should do it regularly: "+"https://github.com/browserslist/update-db#readme")}},currentNode:function currentNode(){return"node "+process.versions.node},env:process.env}},5546:function(e){var n=/^\s+and\s+(.*)/i;var s=/^(?:,\s*|\s+or\s+)(.*)/i;function flatten(e){if(!Array.isArray(e))return[e];return e.reduce((function(e,n){return e.concat(flatten(n))}),[])}function find(e,n){for(var s=e.length,i=1;i<=s;i++){var a=e.substr(-i,i);if(n(a,i,s)){return e.slice(0,-i)}}return""}function matchQuery(e,n){var s={query:n};if(n.indexOf("not ")===0){s.not=true;n=n.slice(4)}for(var i in e){var a=e[i];var o=n.match(a.regexp);if(o){s.type=i;for(var l=0;l<a.matches.length;l++){s[a.matches[l]]=o[l+1]}return s}}s.type="unknown";return s}function matchBlock(e,i,a){var o;return find(i,(function(i,l,c){if(n.test(i)){o=matchQuery(e,i.match(n)[1]);o.compose="and";a.unshift(o);return true}else if(s.test(i)){o=matchQuery(e,i.match(s)[1]);o.compose="or";a.unshift(o);return true}else if(l===c){o=matchQuery(e,i.trim());o.compose="or";a.unshift(o);return true}return false}))}e.exports=function parse(e,n){if(!Array.isArray(n))n=[n];return flatten(n.map((function(n){var s=[];do{n=matchBlock(e,n,s)}while(n);return s})))}},59576:function(e){"use strict";
1
+ (function(){var __webpack_modules__={12703:function(e){function webpackEmptyAsyncContext(e){return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");n.code="MODULE_NOT_FOUND";throw n}))}webpackEmptyAsyncContext.keys=function(){return[]};webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=12703;e.exports=webpackEmptyAsyncContext},19617:function(e){function webpackEmptyAsyncContext(e){return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");n.code="MODULE_NOT_FOUND";throw n}))}webpackEmptyAsyncContext.keys=function(){return[]};webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=19617;e.exports=webpackEmptyAsyncContext},38091:function(e,n,s){(function(n,i){true?e.exports=i(s(25146),s(9969)):0})(this,(function(e,n){"use strict";const s=SegmentObject("",-1,-1,"",null,false);const i=[];function SegmentObject(e,n,s,i,a,o){return{source:e,line:n,column:s,name:i,content:a,ignore:o}}function Source(e,n,s,i,a){return{map:e,sources:n,source:s,content:i,ignore:a}}function MapSource(e,n){return Source(e,n,"",null,false)}function OriginalSource(e,n,s){return Source(null,i,e,n,s)}function traceMappings(i){const a=new n.GenMapping({file:i.map.file});const{sources:o,map:l}=i;const c=l.names;const p=e.decodedMappings(l);for(let e=0;e<p.length;e++){const i=p[e];for(let l=0;l<i.length;l++){const p=i[l];const d=p[0];let f=s;if(p.length!==1){const e=o[p[1]];f=originalPositionFor(e,p[2],p[3],p.length===5?c[p[4]]:"");if(f==null)continue}const{column:h,line:m,name:y,content:g,source:A,ignore:C}=f;n.maybeAddSegment(a,e,d,A,m,h,y);if(A&&g!=null)n.setSourceContent(a,A,g);if(C)n.setIgnore(a,A,true)}}return a}function originalPositionFor(n,i,a,o){if(!n.map){return SegmentObject(n.source,i,a,o,n.content,n.ignore)}const l=e.traceSegment(n.map,i,a);if(l==null)return null;if(l.length===1)return s;return originalPositionFor(n.sources[l[1]],l[2],l[3],l.length===5?n.map.names[l[4]]:o)}function asArray(e){if(Array.isArray(e))return e;return[e]}function buildSourceMapTree(n,s){const i=asArray(n).map((n=>new e.TraceMap(n,"")));const a=i.pop();for(let e=0;e<i.length;e++){if(i[e].sources.length>1){throw new Error(`Transformation map ${e} must have exactly one source file.\n`+"Did you specify these with the most recent transformation maps first?")}}let o=build(a,s,"",0);for(let e=i.length-1;e>=0;e--){o=MapSource(i[e],[o])}return o}function build(n,s,i,a){const{resolvedSources:o,sourcesContent:l,ignoreList:c}=n;const p=a+1;const d=o.map(((n,a)=>{const o={importer:i,depth:p,source:n||"",content:undefined,ignore:undefined};const d=s(o.source,o);const{source:f,content:h,ignore:m}=o;if(d)return build(new e.TraceMap(d,f),s,f,p);const y=h!==undefined?h:l?l[a]:null;const g=m!==undefined?m:c?c.includes(a):false;return OriginalSource(f,y,g)}));return MapSource(n,d)}class SourceMap{constructor(e,s){const i=s.decodedMappings?n.toDecodedMap(e):n.toEncodedMap(e);this.version=i.version;this.file=i.file;this.mappings=i.mappings;this.names=i.names;this.ignoreList=i.ignoreList;this.sourceRoot=i.sourceRoot;this.sources=i.sources;if(!s.excludeContent){this.sourcesContent=i.sourcesContent}}toString(){return JSON.stringify(this)}}function remapping(e,n,s){const i=typeof s==="object"?s:{excludeContent:!!s,decodedMappings:false};const a=buildSourceMapTree(e,n);return new SourceMap(traceMappings(a),i)}return remapping}))},56722:function(e,n,s){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:true});n.KoaAdapter=void 0;const a=i(s(87404));const o=i(s(96638));const l=i(s(88522));const c=s(32500);const p=i(s(98521));const d=i(s(64459));const f=i(s(16928));class KoaAdapter{constructor(){this.basePath="";this.uiConfig={}}setBasePath(e){this.basePath=e;return this}setStaticPath(e,n){this.statics={route:e,path:n};return this}setViewsPath(e){this.viewPath=e;return this}setErrorHandler(e){this.errorHandler=e;return this}setApiRoutes(e){this.apiRoutes=e;return this}setEntryRoute(e){this.entryRoute=e;return this}setQueues(e){this.bullBoardQueues=e;return this}setUIConfig(e={}){this.uiConfig=e;return this}registerPlugin(e={mount:this.basePath}){if(!this.statics){throw new Error(`Please call 'setStaticPath' before using 'registerPlugin'`)}else if(!this.entryRoute){throw new Error(`Please call 'setEntryRoute' before using 'registerPlugin'`)}else if(!this.viewPath){throw new Error(`Please call 'setViewsPath' before using 'registerPlugin'`)}else if(!this.apiRoutes){throw new Error(`Please call 'setApiRoutes' before using 'registerPlugin'`)}else if(!this.bullBoardQueues){throw new Error(`Please call 'setQueues' before using 'registerPlugin'`)}else if(!this.errorHandler){throw new Error(`Please call 'setErrorHandler' before using 'registerPlugin'`)}if(!e.mount){e.mount=this.basePath}const n=new a.default;const s=new l.default({strict:true});n.use((0,c.bodyParser)());n.use((async(e,n)=>{try{await n()}catch(n){if(this.errorHandler){const{status:s,body:i}=this.errorHandler(n);e.status=s||500;e.body=i;e.app.emit("error",n,e)}}}));n.use((0,d.default)(this.viewPath,{extension:f.default.extname(this.entryRoute.handler({basePath:this.basePath,uiConfig:this.uiConfig}).name).substring(1)}));const{method:i,route:h,handler:m}=this.entryRoute;const y=Array.isArray(h)?h:[h];y.forEach((e=>{s[i](e,(async e=>{const{name:n,params:s}=m({basePath:this.basePath,uiConfig:this.uiConfig});await e.render(n,s)}))}));n.use((0,o.default)(this.statics.route,(0,p.default)(this.statics.path)));this.apiRoutes.forEach((e=>{const n=Array.isArray(e.method)?e.method:[e.method];n.forEach((n=>{s[n](e.route,(async n=>{const s=await e.handler({queues:this.bullBoardQueues,params:n.params,query:n.query,body:n.request.body});n.status=s.status||200;return n.body=s.body}))}))}));n.use(s.routes()).use(s.allowedMethods());return(0,o.default)(e.mount||"/",n)}}n.KoaAdapter=KoaAdapter},59327:function(e,n){"use strict";const s={suspectRx:/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*\:/};n.parse=function(e,...i){const a=typeof i[0]==="object"&&i[0];const o=i.length>1||!a?i[0]:undefined;const l=i.length>1&&i[1]||a||{};const c=JSON.parse(e,o);if(l.protoAction==="ignore"){return c}if(!c||typeof c!=="object"){return c}if(!e.match(s.suspectRx)){return c}n.scan(c,l);return c};n.scan=function(e,n={}){let s=[e];while(s.length){const e=s;s=[];for(const i of e){if(Object.prototype.hasOwnProperty.call(i,"__proto__")){if(n.protoAction!=="remove"){throw new SyntaxError("Object contains forbidden prototype property")}delete i.__proto__}for(const e in i){const n=i[e];if(n&&typeof n==="object"){s.push(i[e])}}}}};n.safeParse=function(e,s){try{return n.parse(e,s)}catch(e){return null}}},9969:function(e,n,s){e=s.nmd(e);(function(n,i){if(true){i(e,s(75470),s(25146));e.exports=def(e)}else{}function def(e){return"default"in e.exports?e.exports.default:e.exports}})(this,(function(e,n,s){"use strict";var i=Object.create;var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.getPrototypeOf;var p=Object.prototype.hasOwnProperty;var __commonJS=(e,n)=>function __require(){return n||(0,e[l(e)[0]])((n={exports:{}}).exports,n),n.exports};var __export=(e,n)=>{for(var s in n)a(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,n,s,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let c of l(n))if(!p.call(e,c)&&c!==s)a(e,c,{get:()=>n[c],enumerable:!(i=o(n,c))||i.enumerable})}return e};var __toESM=(e,n,s)=>(s=e!=null?i(c(e)):{},__copyProps(n||!e||!e.__esModule?a(s,"default",{value:e,enumerable:true}):s,e));var __toCommonJS=e=>__copyProps(a({},"__esModule",{value:true}),e);var d=__commonJS({"umd:@jridgewell/sourcemap-codec"(e,s){s.exports=n}});var f=__commonJS({"umd:@jridgewell/trace-mapping"(e,n){n.exports=s}});var h={};__export(h,{GenMapping:()=>O,addMapping:()=>addMapping,addSegment:()=>addSegment,allMappings:()=>allMappings,fromMap:()=>fromMap,maybeAddMapping:()=>maybeAddMapping,maybeAddSegment:()=>maybeAddSegment,setIgnore:()=>setIgnore,setSourceContent:()=>setSourceContent,toDecodedMap:()=>toDecodedMap,toEncodedMap:()=>toEncodedMap});e.exports=__toCommonJS(h);var m=class{constructor(){this._indexes={__proto__:null};this.array=[]}};function cast(e){return e}function get(e,n){return cast(e)._indexes[n]}function put(e,n){const s=get(e,n);if(s!==void 0)return s;const{array:i,_indexes:a}=cast(e);const o=i.push(n);return a[n]=o-1}function remove(e,n){const s=get(e,n);if(s===void 0)return;const{array:i,_indexes:a}=cast(e);for(let e=s+1;e<i.length;e++){const n=i[e];i[e-1]=n;a[n]--}a[n]=void 0;i.pop()}var y=__toESM(d());var g=__toESM(f());var A=0;var C=1;var _=2;var k=3;var I=4;var D=-1;var O=class{constructor({file:e,sourceRoot:n}={}){this._names=new m;this._sources=new m;this._sourcesContent=[];this._mappings=[];this.file=e;this.sourceRoot=n;this._ignoreList=new m}};function cast2(e){return e}function addSegment(e,n,s,i,a,o,l,c){return addSegmentInternal(false,e,n,s,i,a,o,l,c)}function addMapping(e,n){return addMappingInternal(false,e,n)}var maybeAddSegment=(e,n,s,i,a,o,l,c)=>addSegmentInternal(true,e,n,s,i,a,o,l,c);var maybeAddMapping=(e,n)=>addMappingInternal(true,e,n);function setSourceContent(e,n,s){const{_sources:i,_sourcesContent:a}=cast2(e);const o=put(i,n);a[o]=s}function setIgnore(e,n,s=true){const{_sources:i,_sourcesContent:a,_ignoreList:o}=cast2(e);const l=put(i,n);if(l===a.length)a[l]=null;if(s)put(o,l);else remove(o,l)}function toDecodedMap(e){const{_mappings:n,_sources:s,_sourcesContent:i,_names:a,_ignoreList:o}=cast2(e);removeEmptyFinalLines(n);return{version:3,file:e.file||void 0,names:a.array,sourceRoot:e.sourceRoot||void 0,sources:s.array,sourcesContent:i,mappings:n,ignoreList:o.array}}function toEncodedMap(e){const n=toDecodedMap(e);return Object.assign({},n,{mappings:(0,y.encode)(n.mappings)})}function fromMap(e){const n=new g.TraceMap(e);const s=new O({file:n.file,sourceRoot:n.sourceRoot});putAll(cast2(s)._names,n.names);putAll(cast2(s)._sources,n.sources);cast2(s)._sourcesContent=n.sourcesContent||n.sources.map((()=>null));cast2(s)._mappings=(0,g.decodedMappings)(n);if(n.ignoreList)putAll(cast2(s)._ignoreList,n.ignoreList);return s}function allMappings(e){const n=[];const{_mappings:s,_sources:i,_names:a}=cast2(e);for(let e=0;e<s.length;e++){const o=s[e];for(let s=0;s<o.length;s++){const l=o[s];const c={line:e+1,column:l[A]};let p=void 0;let d=void 0;let f=void 0;if(l.length!==1){p=i.array[l[C]];d={line:l[_]+1,column:l[k]};if(l.length===5)f=a.array[l[I]]}n.push({generated:c,source:p,original:d,name:f})}}return n}function addSegmentInternal(e,n,s,i,a,o,l,c,p){const{_mappings:d,_sources:f,_sourcesContent:h,_names:m}=cast2(n);const y=getIndex(d,s);const g=getColumnIndex(y,i);if(!a){if(e&&skipSourceless(y,g))return;return insert(y,g,[i])}assert(o);assert(l);const A=put(f,a);const C=c?put(m,c):D;if(A===h.length)h[A]=p!=null?p:null;if(e&&skipSource(y,g,A,o,l,C)){return}return insert(y,g,c?[i,A,o,l,C]:[i,A,o,l])}function assert(e){}function getIndex(e,n){for(let s=e.length;s<=n;s++){e[s]=[]}return e[n]}function getColumnIndex(e,n){let s=e.length;for(let i=s-1;i>=0;s=i--){const s=e[i];if(n>=s[A])break}return s}function insert(e,n,s){for(let s=e.length;s>n;s--){e[s]=e[s-1]}e[n]=s}function removeEmptyFinalLines(e){const{length:n}=e;let s=n;for(let n=s-1;n>=0;s=n,n--){if(e[n].length>0)break}if(s<n)e.length=s}function putAll(e,n){for(let s=0;s<n.length;s++)put(e,n[s])}function skipSourceless(e,n){if(n===0)return true;const s=e[n-1];return s.length===1}function skipSource(e,n,s,i,a,o){if(n===0)return false;const l=e[n-1];if(l.length===1)return false;return s===l[C]&&i===l[_]&&a===l[k]&&o===(l.length===5?l[I]:D)}function addMappingInternal(e,n,s){const{generated:i,source:a,original:o,name:l,content:c}=s;if(!a){return addSegmentInternal(e,n,i.line-1,i.column,null,null,null,null,null)}assert(o);return addSegmentInternal(e,n,i.line-1,i.column,a,o.line-1,o.column,l,c)}}))},76696:function(e,n,s){e=s.nmd(e);(function(n,i){if(true){i(e,s(9969),s(25146));e.exports=def(e)}else{}function def(e){return"default"in e.exports?e.exports.default:e.exports}})(this,(function(e,n,s){"use strict";var i=Object.create;var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.getPrototypeOf;var p=Object.prototype.hasOwnProperty;var __commonJS=(e,n)=>function __require(){return n||(0,e[l(e)[0]])((n={exports:{}}).exports,n),n.exports};var __export=(e,n)=>{for(var s in n)a(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,n,s,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let c of l(n))if(!p.call(e,c)&&c!==s)a(e,c,{get:()=>n[c],enumerable:!(i=o(n,c))||i.enumerable})}return e};var __toESM=(e,n,s)=>(s=e!=null?i(c(e)):{},__copyProps(n||!e||!e.__esModule?a(s,"default",{value:e,enumerable:true}):s,e));var __toCommonJS=e=>__copyProps(a({},"__esModule",{value:true}),e);var d=__commonJS({"umd:@jridgewell/trace-mapping"(e,n){n.exports=s}});var f=__commonJS({"umd:@jridgewell/gen-mapping"(e,s){s.exports=n}});var h={};__export(h,{default:()=>remapping});e.exports=__toCommonJS(h);var m=__toESM(d());var y=__toESM(f());var g=__toESM(d());var A=SegmentObject("",-1,-1,"",null,false);var C=[];function SegmentObject(e,n,s,i,a,o){return{source:e,line:n,column:s,name:i,content:a,ignore:o}}function Source(e,n,s,i,a){return{map:e,sources:n,source:s,content:i,ignore:a}}function MapSource(e,n){return Source(e,n,"",null,false)}function OriginalSource(e,n,s){return Source(null,C,e,n,s)}function traceMappings(e){const n=new y.GenMapping({file:e.map.file});const{sources:s,map:i}=e;const a=i.names;const o=(0,g.decodedMappings)(i);for(let e=0;e<o.length;e++){const i=o[e];for(let o=0;o<i.length;o++){const l=i[o];const c=l[0];let p=A;if(l.length!==1){const e=s[l[1]];p=originalPositionFor(e,l[2],l[3],l.length===5?a[l[4]]:"");if(p==null)continue}const{column:d,line:f,name:h,content:m,source:g,ignore:C}=p;(0,y.maybeAddSegment)(n,e,c,g,f,d,h);if(g&&m!=null)(0,y.setSourceContent)(n,g,m);if(C)(0,y.setIgnore)(n,g,true)}}return n}function originalPositionFor(e,n,s,i){if(!e.map){return SegmentObject(e.source,n,s,i,e.content,e.ignore)}const a=(0,g.traceSegment)(e.map,n,s);if(a==null)return null;if(a.length===1)return A;return originalPositionFor(e.sources[a[1]],a[2],a[3],a.length===5?e.map.names[a[4]]:i)}function asArray(e){if(Array.isArray(e))return e;return[e]}function buildSourceMapTree(e,n){const s=asArray(e).map((e=>new m.TraceMap(e,"")));const i=s.pop();for(let e=0;e<s.length;e++){if(s[e].sources.length>1){throw new Error(`Transformation map ${e} must have exactly one source file.\nDid you specify these with the most recent transformation maps first?`)}}let a=build(i,n,"",0);for(let e=s.length-1;e>=0;e--){a=MapSource(s[e],[a])}return a}function build(e,n,s,i){const{resolvedSources:a,sourcesContent:o,ignoreList:l}=e;const c=i+1;const p=a.map(((e,i)=>{const a={importer:s,depth:c,source:e||"",content:void 0,ignore:void 0};const p=n(a.source,a);const{source:d,content:f,ignore:h}=a;if(p)return build(new m.TraceMap(p,d),n,d,c);const y=f!==void 0?f:o?o[i]:null;const g=h!==void 0?h:l?l.includes(i):false;return OriginalSource(d,y,g)}));return MapSource(e,p)}var _=__toESM(f());var k=class{constructor(e,n){const s=n.decodedMappings?(0,_.toDecodedMap)(e):(0,_.toEncodedMap)(e);this.version=s.version;this.file=s.file;this.mappings=s.mappings;this.names=s.names;this.ignoreList=s.ignoreList;this.sourceRoot=s.sourceRoot;this.sources=s.sources;if(!n.excludeContent){this.sourcesContent=s.sourcesContent}}toString(){return JSON.stringify(this)}};function remapping(e,n,s){const i=typeof s==="object"?s:{excludeContent:!!s,decodedMappings:false};const a=buildSourceMapTree(e,n);return new k(traceMappings(a),i)}}))},73654:function(e){(function(n,s){true?e.exports=s():0})(this,(function(){"use strict";const e=/^[\w+.-]+:\/\//;const n=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/;const s=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function isAbsoluteUrl(n){return e.test(n)}function isSchemeRelativeUrl(e){return e.startsWith("//")}function isAbsolutePath(e){return e.startsWith("/")}function isFileUrl(e){return e.startsWith("file:")}function isRelative(e){return/^[.?#]/.test(e)}function parseAbsoluteUrl(e){const s=n.exec(e);return makeUrl(s[1],s[2]||"",s[3],s[4]||"",s[5]||"/",s[6]||"",s[7]||"")}function parseFileUrl(e){const n=s.exec(e);const i=n[2];return makeUrl("file:","",n[1]||"","",isAbsolutePath(i)?i:"/"+i,n[3]||"",n[4]||"")}function makeUrl(e,n,s,i,a,o,l){return{scheme:e,user:n,host:s,port:i,path:a,query:o,hash:l,type:7}}function parseUrl(e){if(isSchemeRelativeUrl(e)){const n=parseAbsoluteUrl("http:"+e);n.scheme="";n.type=6;return n}if(isAbsolutePath(e)){const n=parseAbsoluteUrl("http://foo.com"+e);n.scheme="";n.host="";n.type=5;return n}if(isFileUrl(e))return parseFileUrl(e);if(isAbsoluteUrl(e))return parseAbsoluteUrl(e);const n=parseAbsoluteUrl("http://foo.com/"+e);n.scheme="";n.host="";n.type=e?e.startsWith("?")?3:e.startsWith("#")?2:4:1;return n}function stripPathFilename(e){if(e.endsWith("/.."))return e;const n=e.lastIndexOf("/");return e.slice(0,n+1)}function mergePaths(e,n){normalizePath(n,n.type);if(e.path==="/"){e.path=n.path}else{e.path=stripPathFilename(n.path)+e.path}}function normalizePath(e,n){const s=n<=4;const i=e.path.split("/");let a=1;let o=0;let l=false;for(let e=1;e<i.length;e++){const n=i[e];if(!n){l=true;continue}l=false;if(n===".")continue;if(n===".."){if(o){l=true;o--;a--}else if(s){i[a++]=n}continue}i[a++]=n;o++}let c="";for(let e=1;e<a;e++){c+="/"+i[e]}if(!c||l&&!c.endsWith("/..")){c+="/"}e.path=c}function resolve(e,n){if(!e&&!n)return"";const s=parseUrl(e);let i=s.type;if(n&&i!==7){const e=parseUrl(n);const a=e.type;switch(i){case 1:s.hash=e.hash;case 2:s.query=e.query;case 3:case 4:mergePaths(s,e);case 5:s.user=e.user;s.host=e.host;s.port=e.port;case 6:s.scheme=e.scheme}if(a>i)i=a}normalizePath(s,i);const a=s.query+s.hash;switch(i){case 2:case 3:return a;case 4:{const i=s.path.slice(1);if(!i)return a||".";if(isRelative(n||e)&&!isRelative(i)){return"./"+i+a}return i+a}case 5:return s.path+a;default:return s.scheme+"//"+s.user+s.host+s.port+s.path+a}}return resolve}))},75470:function(e,n,s){e=s.nmd(e);(function(n,s){if(true){s(e);e.exports=def(e)}else{}function def(e){return"default"in e.exports?e.exports.default:e.exports}})(this,(function(e){"use strict";var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var __export=(e,s)=>{for(var i in s)n(e,i,{get:s[i],enumerable:true})};var __copyProps=(e,o,l,c)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let p of i(o))if(!a.call(e,p)&&p!==l)n(e,p,{get:()=>o[p],enumerable:!(c=s(o,p))||c.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var o={};__export(o,{decode:()=>decode,decodeGeneratedRanges:()=>decodeGeneratedRanges,decodeOriginalScopes:()=>decodeOriginalScopes,encode:()=>encode,encodeGeneratedRanges:()=>encodeGeneratedRanges,encodeOriginalScopes:()=>encodeOriginalScopes});e.exports=__toCommonJS(o);var l=",".charCodeAt(0);var c=";".charCodeAt(0);var p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var d=new Uint8Array(64);var f=new Uint8Array(128);for(let e=0;e<p.length;e++){const n=p.charCodeAt(e);d[e]=n;f[n]=e}function decodeInteger(e,n){let s=0;let i=0;let a=0;do{const n=e.next();a=f[n];s|=(a&31)<<i;i+=5}while(a&32);const o=s&1;s>>>=1;if(o){s=-2147483648|-s}return n+s}function encodeInteger(e,n,s){let i=n-s;i=i<0?-i<<1|1:i<<1;do{let n=i&31;i>>>=5;if(i>0)n|=32;e.write(d[n])}while(i>0);return n}function hasMoreVlq(e,n){if(e.pos>=n)return false;return e.peek()!==l}var h=1024*16;var m=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(e){const n=Buffer.from(e.buffer,e.byteOffset,e.byteLength);return n.toString()}}:{decode(e){let n="";for(let s=0;s<e.length;s++){n+=String.fromCharCode(e[s])}return n}};var y=class{constructor(){this.pos=0;this.out="";this.buffer=new Uint8Array(h)}write(e){const{buffer:n}=this;n[this.pos++]=e;if(this.pos===h){this.out+=m.decode(n);this.pos=0}}flush(){const{buffer:e,out:n,pos:s}=this;return s>0?n+m.decode(e.subarray(0,s)):n}};var g=class{constructor(e){this.pos=0;this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){const{buffer:n,pos:s}=this;const i=n.indexOf(e,s);return i===-1?n.length:i}};var A=[];function decodeOriginalScopes(e){const{length:n}=e;const s=new g(e);const i=[];const a=[];let o=0;for(;s.pos<n;s.pos++){o=decodeInteger(s,o);const e=decodeInteger(s,0);if(!hasMoreVlq(s,n)){const n=a.pop();n[2]=o;n[3]=e;continue}const l=decodeInteger(s,0);const c=decodeInteger(s,0);const p=c&1;const d=p?[o,e,0,0,l,decodeInteger(s,0)]:[o,e,0,0,l];let f=A;if(hasMoreVlq(s,n)){f=[];do{const e=decodeInteger(s,0);f.push(e)}while(hasMoreVlq(s,n))}d.vars=f;i.push(d);a.push(d)}return i}function encodeOriginalScopes(e){const n=new y;for(let s=0;s<e.length;){s=_encodeOriginalScopes(e,s,n,[0])}return n.flush()}function _encodeOriginalScopes(e,n,s,i){const a=e[n];const{0:o,1:c,2:p,3:d,4:f,vars:h}=a;if(n>0)s.write(l);i[0]=encodeInteger(s,o,i[0]);encodeInteger(s,c,0);encodeInteger(s,f,0);const m=a.length===6?1:0;encodeInteger(s,m,0);if(a.length===6)encodeInteger(s,a[5],0);for(const e of h){encodeInteger(s,e,0)}for(n++;n<e.length;){const a=e[n];const{0:o,1:l}=a;if(o>p||o===p&&l>=d){break}n=_encodeOriginalScopes(e,n,s,i)}s.write(l);i[0]=encodeInteger(s,p,i[0]);encodeInteger(s,d,0);return n}function decodeGeneratedRanges(e){const{length:n}=e;const s=new g(e);const i=[];const a=[];let o=0;let l=0;let c=0;let p=0;let d=0;let f=0;let h=0;let m=0;do{const e=s.indexOf(";");let n=0;for(;s.pos<e;s.pos++){n=decodeInteger(s,n);if(!hasMoreVlq(s,e)){const e=a.pop();e[2]=o;e[3]=n;continue}const y=decodeInteger(s,0);const g=y&1;const C=y&2;const _=y&4;let k=null;let I=A;let D;if(g){const e=decodeInteger(s,l);c=decodeInteger(s,l===e?c:0);l=e;D=[o,n,0,0,e,c]}else{D=[o,n,0,0]}D.isScope=!!_;if(C){const e=p;const n=d;p=decodeInteger(s,p);const i=e===p;d=decodeInteger(s,i?d:0);f=decodeInteger(s,i&&n===d?f:0);k=[p,d,f]}D.callsite=k;if(hasMoreVlq(s,e)){I=[];do{h=o;m=n;const e=decodeInteger(s,0);let i;if(e<-1){i=[[decodeInteger(s,0)]];for(let n=-1;n>e;n--){const e=h;h=decodeInteger(s,h);m=decodeInteger(s,h===e?m:0);const n=decodeInteger(s,0);i.push([n,h,m])}}else{i=[[e]]}I.push(i)}while(hasMoreVlq(s,e))}D.bindings=I;i.push(D);a.push(D)}o++;s.pos=e+1}while(s.pos<n);return i}function encodeGeneratedRanges(e){if(e.length===0)return"";const n=new y;for(let s=0;s<e.length;){s=_encodeGeneratedRanges(e,s,n,[0,0,0,0,0,0,0])}return n.flush()}function _encodeGeneratedRanges(e,n,s,i){const a=e[n];const{0:o,1:c,2:p,3:d,isScope:f,callsite:h,bindings:m}=a;if(i[0]<o){catchupLine(s,i[0],o);i[0]=o;i[1]=0}else if(n>0){s.write(l)}i[1]=encodeInteger(s,a[1],i[1]);const y=(a.length===6?1:0)|(h?2:0)|(f?4:0);encodeInteger(s,y,0);if(a.length===6){const{4:e,5:n}=a;if(e!==i[2]){i[3]=0}i[2]=encodeInteger(s,e,i[2]);i[3]=encodeInteger(s,n,i[3])}if(h){const{0:e,1:n,2:o}=a.callsite;if(e!==i[4]){i[5]=0;i[6]=0}else if(n!==i[5]){i[6]=0}i[4]=encodeInteger(s,e,i[4]);i[5]=encodeInteger(s,n,i[5]);i[6]=encodeInteger(s,o,i[6])}if(m){for(const e of m){if(e.length>1)encodeInteger(s,-e.length,0);const n=e[0][0];encodeInteger(s,n,0);let i=o;let a=c;for(let n=1;n<e.length;n++){const o=e[n];i=encodeInteger(s,o[1],i);a=encodeInteger(s,o[2],a);encodeInteger(s,o[0],0)}}}for(n++;n<e.length;){const a=e[n];const{0:o,1:l}=a;if(o>p||o===p&&l>=d){break}n=_encodeGeneratedRanges(e,n,s,i)}if(i[0]<p){catchupLine(s,i[0],p);i[0]=p;i[1]=0}else{s.write(l)}i[1]=encodeInteger(s,d,i[1]);return n}function catchupLine(e,n,s){do{e.write(c)}while(++n<s)}function decode(e){const{length:n}=e;const s=new g(e);const i=[];let a=0;let o=0;let l=0;let c=0;let p=0;do{const e=s.indexOf(";");const n=[];let d=true;let f=0;a=0;while(s.pos<e){let i;a=decodeInteger(s,a);if(a<f)d=false;f=a;if(hasMoreVlq(s,e)){o=decodeInteger(s,o);l=decodeInteger(s,l);c=decodeInteger(s,c);if(hasMoreVlq(s,e)){p=decodeInteger(s,p);i=[a,o,l,c,p]}else{i=[a,o,l,c]}}else{i=[a]}n.push(i);s.pos++}if(!d)sort(n);i.push(n);s.pos=e+1}while(s.pos<=n);return i}function sort(e){e.sort(sortComparator)}function sortComparator(e,n){return e[0]-n[0]}function encode(e){const n=new y;let s=0;let i=0;let a=0;let o=0;for(let p=0;p<e.length;p++){const d=e[p];if(p>0)n.write(c);if(d.length===0)continue;let f=0;for(let e=0;e<d.length;e++){const c=d[e];if(e>0)n.write(l);f=encodeInteger(n,c[0],f);if(c.length===1)continue;s=encodeInteger(n,c[1],s);i=encodeInteger(n,c[2],i);a=encodeInteger(n,c[3],a);if(c.length===4)continue;o=encodeInteger(n,c[4],o)}}return n.flush()}}))},25146:function(e,n,s){e=s.nmd(e);(function(n,i){if(true){i(e,s(73654),s(75470));e.exports=def(e)}else{}function def(e){return"default"in e.exports?e.exports.default:e.exports}})(this,(function(e,n,s){"use strict";var i=Object.create;var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.getPrototypeOf;var p=Object.prototype.hasOwnProperty;var __commonJS=(e,n)=>function __require(){return n||(0,e[l(e)[0]])((n={exports:{}}).exports,n),n.exports};var __export=(e,n)=>{for(var s in n)a(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,n,s,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let c of l(n))if(!p.call(e,c)&&c!==s)a(e,c,{get:()=>n[c],enumerable:!(i=o(n,c))||i.enumerable})}return e};var __toESM=(e,n,s)=>(s=e!=null?i(c(e)):{},__copyProps(n||!e||!e.__esModule?a(s,"default",{value:e,enumerable:true}):s,e));var __toCommonJS=e=>__copyProps(a({},"__esModule",{value:true}),e);var d=__commonJS({"umd:@jridgewell/sourcemap-codec"(e,n){n.exports=s}});var f=__commonJS({"umd:@jridgewell/resolve-uri"(e,s){s.exports=n}});var h={};__export(h,{AnyMap:()=>FlattenMap,FlattenMap:()=>FlattenMap,GREATEST_LOWER_BOUND:()=>R,LEAST_UPPER_BOUND:()=>j,TraceMap:()=>$,allGeneratedPositionsFor:()=>allGeneratedPositionsFor,decodedMap:()=>decodedMap,decodedMappings:()=>decodedMappings,eachMapping:()=>eachMapping,encodedMap:()=>encodedMap,encodedMappings:()=>encodedMappings,generatedPositionFor:()=>generatedPositionFor,isIgnored:()=>isIgnored,originalPositionFor:()=>originalPositionFor,presortedDecodedMap:()=>presortedDecodedMap,sourceContentFor:()=>sourceContentFor,traceSegment:()=>traceSegment});e.exports=__toCommonJS(h);var m=__toESM(d());var y=__toESM(f());function stripFilename(e){if(!e)return"";const n=e.lastIndexOf("/");return e.slice(0,n+1)}function resolver(e,n){const s=stripFilename(e);const i=n?n+"/":"";return e=>(0,y.default)(i+(e||""),s)}var g=0;var A=1;var C=2;var _=3;var k=4;var I=1;var D=2;function maybeSort(e,n){const s=nextUnsortedSegmentLine(e,0);if(s===e.length)return e;if(!n)e=e.slice();for(let i=s;i<e.length;i=nextUnsortedSegmentLine(e,i+1)){e[i]=sortSegments(e[i],n)}return e}function nextUnsortedSegmentLine(e,n){for(let s=n;s<e.length;s++){if(!isSorted(e[s]))return s}return e.length}function isSorted(e){for(let n=1;n<e.length;n++){if(e[n][g]<e[n-1][g]){return false}}return true}function sortSegments(e,n){if(!n)e=e.slice();return e.sort(sortComparator)}function sortComparator(e,n){return e[g]-n[g]}function buildBySources(e,n){const s=n.map((()=>[]));for(let n=0;n<e.length;n++){const i=e[n];for(let e=0;e<i.length;e++){const a=i[e];if(a.length===1)continue;const o=a[A];const l=a[C];const c=a[_];const p=s[o];const d=p[l]||(p[l]=[]);d.push([c,n,a[g]])}}for(let e=0;e<s.length;e++){const n=s[e];for(let e=0;e<n.length;e++){const s=n[e];if(s)s.sort(sortComparator)}}return s}var O=false;function binarySearch(e,n,s,i){while(s<=i){const a=s+(i-s>>1);const o=e[a][g]-n;if(o===0){O=true;return a}if(o<0){s=a+1}else{i=a-1}}O=false;return s-1}function upperBound(e,n,s){for(let i=s+1;i<e.length;s=i++){if(e[i][g]!==n)break}return s}function lowerBound(e,n,s){for(let i=s-1;i>=0;s=i--){if(e[i][g]!==n)break}return s}function memoizedState(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function memoizedBinarySearch(e,n,s,i){const{lastKey:a,lastNeedle:o,lastIndex:l}=s;let c=0;let p=e.length-1;if(i===a){if(n===o){O=l!==-1&&e[l][g]===n;return l}if(n>=o){c=l===-1?0:l}else{p=l}}s.lastKey=i;s.lastNeedle=n;return s.lastIndex=binarySearch(e,n,c,p)}function parse(e){return typeof e==="string"?JSON.parse(e):e}var FlattenMap=function(e,n){const s=parse(e);if(!("sections"in s)){return new $(s,n)}const i=[];const a=[];const o=[];const l=[];const c=[];recurse(s,n,i,a,o,l,c,0,0,Infinity,Infinity);const p={version:3,file:s.file,names:l,sources:a,sourcesContent:o,mappings:i,ignoreList:c};return presortedDecodedMap(p)};function recurse(e,n,s,i,a,o,l,c,p,d,f){const{sections:h}=e;for(let e=0;e<h.length;e++){const{map:m,offset:y}=h[e];let g=d;let A=f;if(e+1<h.length){const n=h[e+1].offset;g=Math.min(d,c+n.line);if(g===d){A=Math.min(f,p+n.column)}else if(g<d){A=p+n.column}}addSection(m,n,s,i,a,o,l,c+y.line,p+y.column,g,A)}}function addSection(e,n,s,i,a,o,l,c,p,d,f){const h=parse(e);if("sections"in h)return recurse(...arguments);const m=new $(h,n);const y=i.length;const I=o.length;const D=decodedMappings(m);const{resolvedSources:O,sourcesContent:L,ignoreList:B}=m;append(i,O);append(o,m.names);if(L)append(a,L);else for(let e=0;e<O.length;e++)a.push(null);if(B)for(let e=0;e<B.length;e++)l.push(B[e]+y);for(let e=0;e<D.length;e++){const n=c+e;if(n>d)return;const i=getLine(s,n);const a=e===0?p:0;const o=D[e];for(let e=0;e<o.length;e++){const s=o[e];const l=a+s[g];if(n===d&&l>=f)return;if(s.length===1){i.push([l]);continue}const c=y+s[A];const p=s[C];const h=s[_];i.push(s.length===4?[l,c,p,h]:[l,c,p,h,I+s[k]])}}}function append(e,n){for(let s=0;s<n.length;s++)e.push(n[s])}function getLine(e,n){for(let s=e.length;s<=n;s++)e[s]=[];return e[n]}var L="`line` must be greater than 0 (lines start at line 1)";var B="`column` must be greater than or equal to 0 (columns start at column 0)";var j=-1;var R=1;var $=class{constructor(e,n){const s=typeof e==="string";if(!s&&e._decodedMemo)return e;const i=parse(e);const{version:a,file:o,names:l,sourceRoot:c,sources:p,sourcesContent:d}=i;this.version=a;this.file=o;this.names=l||[];this.sourceRoot=c;this.sources=p;this.sourcesContent=d;this.ignoreList=i.ignoreList||i.x_google_ignoreList||void 0;const f=resolver(n,c);this.resolvedSources=p.map(f);const{mappings:h}=i;if(typeof h==="string"){this._encoded=h;this._decoded=void 0}else if(Array.isArray(h)){this._encoded=void 0;this._decoded=maybeSort(h,s)}else if(i.sections){throw new Error(`TraceMap passed sectioned source map, please use FlattenMap export instead`)}else{throw new Error(`invalid source map: ${JSON.stringify(i)}`)}this._decodedMemo=memoizedState();this._bySources=void 0;this._bySourceMemos=void 0}};function cast(e){return e}function encodedMappings(e){var n,s;return(s=(n=cast(e))._encoded)!=null?s:n._encoded=(0,m.encode)(cast(e)._decoded)}function decodedMappings(e){var n;return(n=cast(e))._decoded||(n._decoded=(0,m.decode)(cast(e)._encoded))}function traceSegment(e,n,s){const i=decodedMappings(e);if(n>=i.length)return null;const a=i[n];const o=traceSegmentInternal(a,cast(e)._decodedMemo,n,s,R);return o===-1?null:a[o]}function originalPositionFor(e,n){let{line:s,column:i,bias:a}=n;s--;if(s<0)throw new Error(L);if(i<0)throw new Error(B);const o=decodedMappings(e);if(s>=o.length)return OMapping(null,null,null,null);const l=o[s];const c=traceSegmentInternal(l,cast(e)._decodedMemo,s,i,a||R);if(c===-1)return OMapping(null,null,null,null);const p=l[c];if(p.length===1)return OMapping(null,null,null,null);const{names:d,resolvedSources:f}=e;return OMapping(f[p[A]],p[C]+1,p[_],p.length===5?d[p[k]]:null)}function generatedPositionFor(e,n){const{source:s,line:i,column:a,bias:o}=n;return generatedPosition(e,s,i,a,o||R,false)}function allGeneratedPositionsFor(e,n){const{source:s,line:i,column:a,bias:o}=n;return generatedPosition(e,s,i,a,o||j,true)}function eachMapping(e,n){const s=decodedMappings(e);const{names:i,resolvedSources:a}=e;for(let e=0;e<s.length;e++){const o=s[e];for(let s=0;s<o.length;s++){const l=o[s];const c=e+1;const p=l[0];let d=null;let f=null;let h=null;let m=null;if(l.length!==1){d=a[l[1]];f=l[2]+1;h=l[3]}if(l.length===5)m=i[l[4]];n({generatedLine:c,generatedColumn:p,source:d,originalLine:f,originalColumn:h,name:m})}}}function sourceIndex(e,n){const{sources:s,resolvedSources:i}=e;let a=s.indexOf(n);if(a===-1)a=i.indexOf(n);return a}function sourceContentFor(e,n){const{sourcesContent:s}=e;if(s==null)return null;const i=sourceIndex(e,n);return i===-1?null:s[i]}function isIgnored(e,n){const{ignoreList:s}=e;if(s==null)return false;const i=sourceIndex(e,n);return i===-1?false:s.includes(i)}function presortedDecodedMap(e,n){const s=new $(clone(e,[]),n);cast(s)._decoded=e.mappings;return s}function decodedMap(e){return clone(e,decodedMappings(e))}function encodedMap(e){return clone(e,encodedMappings(e))}function clone(e,n){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:n,ignoreList:e.ignoreList||e.x_google_ignoreList}}function OMapping(e,n,s,i){return{source:e,line:n,column:s,name:i}}function GMapping(e,n){return{line:e,column:n}}function traceSegmentInternal(e,n,s,i,a){let o=memoizedBinarySearch(e,i,n,s);if(O){o=(a===j?upperBound:lowerBound)(e,i,o)}else if(a===j)o++;if(o===-1||o===e.length)return-1;return o}function sliceGeneratedPositions(e,n,s,i,a){let o=traceSegmentInternal(e,n,s,i,R);if(!O&&a===j)o++;if(o===-1||o===e.length)return[];const l=O?i:e[o][g];if(!O)o=lowerBound(e,l,o);const c=upperBound(e,l,o);const p=[];for(;o<=c;o++){const n=e[o];p.push(GMapping(n[I]+1,n[D]))}return p}function generatedPosition(e,n,s,i,a,o){var l,c;s--;if(s<0)throw new Error(L);if(i<0)throw new Error(B);const{sources:p,resolvedSources:d}=e;let f=p.indexOf(n);if(f===-1)f=d.indexOf(n);if(f===-1)return o?[]:GMapping(null,null);const h=(l=cast(e))._bySourceMemos||(l._bySourceMemos=p.map(memoizedState));const m=(c=cast(e))._bySources||(c._bySources=buildBySources(decodedMappings(e),h));const y=m[f][s];if(y==null)return o?[]:GMapping(null,null);const g=h[f];if(o)return sliceGeneratedPositions(y,g,s,i,a);const A=traceSegmentInternal(y,g,s,i,a);if(A===-1)return GMapping(null,null);const C=y[A];return GMapping(C[I]+1,C[D])}}))},32500:function(e,n,s){var i=Object.create;var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.getPrototypeOf;var p=Object.prototype.hasOwnProperty;var __export=(e,n)=>{for(var s in n)a(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,n,s,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let c of l(n))if(!p.call(e,c)&&c!==s)a(e,c,{get:()=>n[c],enumerable:!(i=o(n,c))||i.enumerable})}return e};var __toESM=(e,n,s)=>(s=e!=null?i(c(e)):{},__copyProps(n||!e||!e.__esModule?a(s,"default",{value:e,enumerable:true}):s,e));var __toCommonJS=e=>__copyProps(a({},"__esModule",{value:true}),e);var d={};__export(d,{bodyParser:()=>bodyParserWrapper,default:()=>bodyParserWrapper});e.exports=__toCommonJS(d);var f=__toESM(s(47640));var h=__toESM(s(81258));var m=__toESM(s(87568));var y=["json","form","text","xml"];var g=class extends Error{constructor(e){super();this.name="UnsupportedBodyTypeError";this.message=`Invalid enabled type '${e}'. make sure to pass an array contains supported types ([${y}]).`}};function getIsEnabledBodyAs(e){for(const n of e){if(!y.includes(n)){throw new g(n)}}const n=y.reduce(((n,s)=>({...n,[s]:e.includes(s)})),{});return n}function getMimeTypes(e){for(const n of Object.keys(e)){const s=e[n];if(!y.includes(n)||!Array.isArray(s)){throw new g(n)}}const n={json:["application/json","application/json-patch+json","application/vnd.api+json","application/csp-report","application/reports+json","application/scim+json"],form:["application/x-www-form-urlencoded"],text:["text/plain"],xml:["text/xml","application/xml"]};const s=(0,h.default)(n,e);return s}function isTypes(e,n){if(typeof e==="string"){e=e.replace(/;$/,"")}return m.default.is(e,n)}function bodyParserWrapper(e={}){const{patchNode:n=false,parsedMethods:s=["POST","PUT","PATCH"],detectJSON:i,onError:a,enableTypes:o=["json","form"],extendTypes:l={},enableRawChecking:c=false,...p}=e;const d=getIsEnabledBodyAs(o);const h=getMimeTypes(l);async function parseBody(e){const shouldParseBodyAs=n=>Boolean(d[n]&&isTypes(e.request.get("content-type"),h[n]));const n=i?.(e)||shouldParseBodyAs("json")?"json":shouldParseBodyAs("form")?"form":shouldParseBodyAs("text")||shouldParseBodyAs("xml")?"text":null;if(!n)return{};const s={returnRawBody:true,strict:n==="json"?p.jsonStrict:void 0,[`${n}Types`]:h[n],limit:p[`${shouldParseBodyAs("xml")?"xml":n}Limit`],encoding:p.encoding||"utf-8"};return f.default[n](e,s)}return async function bodyParser(e,i){if(!s.includes(e.method.toUpperCase())||n&&e.req.body!==void 0||e.request.body!==void 0||e.disableBodyParser)return i();if(c&&e.req.body!==void 0){e.request.body=e.req.body;return i()}if(e.req.closed){e.status=499;e.body="Request already closed";return}try{const s=await parseBody(e);if(n){e.req.body="parsed"in s?s.parsed:{};if(e.req.rawBody===void 0)e.req.rawBody=s.raw}e.request.body="parsed"in s?s.parsed:{};if(e.request.rawBody===void 0)e.request.rawBody=s.raw}catch(n){if(!a)throw n;a(n,e)}return i()}}0&&0},65099:function(e,n,s){e.exports=s(36226)},36226:function(e,n,s){e=s.nmd(e);const i=s(73024);const a=s(76760);const o=s(1708);const l=s(57975);const c=s(30714);const{join:p}=a;const{resolve:d}=a;const{extname:f}=a;const{dirname:h}=a;const{isAbsolute:m}=a;let y={};let g={};const A={};n.clearCache=function(){y={};g={}};function cache(e,n){if(n&&e.filename&&e.cache){delete y[e.filename];g[e.filename]=n;return n}if(e.filename&&e.cache){return g[e.filename]}return n}function read(e,n,s){const a=y[e];const o=n.cache&&a&&typeof a==="string";if(o)return s(null,a);i.readFile(e,"utf8",(function(i,a){if(i)return s(i);a=a.replace(/^\uFEFF/,"");if(n.cache)y[e]=a;s(null,a)}))}function readPartials(e,n,s){if(!n.partials)return s();const i=Object.keys(n.partials);const a={};function next(o){if(o===i.length)return s(null,a);const l=i[o];const c=n.partials[l];if(c===undefined||c===null||c===false){return next(++o)}let d;if(m(c)){d=f(c)===""?p(c+f(e)):c}else{d=p(h(e),c+f(e))}read(d,n,(function(e,n){if(e)return s(e);a[l]=n;next(++o)}))}next(0)}function promisify(e,n){return new Promise((function(s,i){e=e||function(e,n){if(e){return i(e)}s(n)};n(e)}))}function fromStringRenderer(e){return function(s,i,a){i.filename=s;return promisify(a,(function(a){readPartials(s,i,(function(o,l){const c={...i};c.partials=l;if(o)return a(o);if(cache(c)){n[e].render("",c,a)}else{read(s,c,(function(s,i){if(s)return a(s);n[e].render(i,c,a)}))}}))}))}}n.velocityjs=fromStringRenderer("velocityjs");n.velocityjs.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.velocityjs||(A.velocityjs=s(63915));n.locals=n;i(null,a.render(e,n).trimStart())}catch(e){i(e)}}))};n.liquid=fromStringRenderer("liquid");function _renderTinyliquid(e,n,s,l){const c=e.newContext();let p;if(s.locals){for(p in s.locals){c.setLocals(p,s.locals[p])}delete s.locals}if(s.meta){c.setLocals("page",s.meta);delete s.meta}if(s.filters){for(p in s.filters){c.setFilter(p,s.filters[p])}delete s.filters}const d=s.includeDir||o.cwd();c.onInclude((function(n,s){const o=a.extname(n)?"":".liquid";const l=a.resolve(d,n+o);i.readFile(l,{encoding:"utf8"},(function(n,i){if(n)return s(n);s(null,e.parse(i))}))}));delete s.includeDir;const f={customTags:{}};if(s.customTags){const n=s.customTags;for(p in s.customTags){f.customTags[p]=function(s,i,a){const o=n[i](a.trim());s.astStack.push(e.parse(o))}}delete s.customTags}for(p in s){c.setLocals(p,s[p])}const h=cache(c)||cache(c,e.compile(n,f));h(c,l)}n.liquid.render=function(e,n,i){return promisify(i,(function(i){let a=A.liquid;let l;try{a=A.liquid=s(37169);_renderTinyliquid(a,e,n,i);return}catch(e){try{l=A.liquid=s(39564);a=new l.Engine}catch(n){console.error(n);return i(e)}}try{const s=n.locals||{};if(n.meta){s.pages=n.meta;delete n.meta}if(n.filters){a.registerFilters(n.filters);delete n.filters}const c=n.includeDir||o.cwd();a.fileSystem=new l.LocalFileSystem(c,"liquid");delete n.includeDir;if(n.customTags){const e=n.customTags;for(const s in n.customTags){a.registerTag(s,e[s])}delete n.customTags}for(const e in n){s[e]=n[e]}return a.parseAndRender(e,s).nodeify((function(e,n){if(e){throw new Error(e)}else{return i(null,n)}}))}catch(e){i(e)}}))};n.dust=fromStringRenderer("dust");n.dust.render=function(e,n,a){return promisify(a,(function(a){let o=A.dust;if(!o){try{o=A.dust=s(72103)}catch(e){try{o=A.dust=s(94230)}catch(n){console.error(n);try{o=A.dust=s(64933)}catch(n){console.error(n);return a(e)}}}}let l="dust";let c=".";if(n){if(n.ext)l=n.ext;if(n.views)c=n.views;if(n.settings&&n.settings.views)c=n.settings.views}if(!n||n&&!n.cache)o.cache={};o.onLoad=function(e,s){if(f(e)==="")e+="."+l;if(Array.isArray(c)){const a=[];for(let n=0;n<c.length;n++)if(i.existsSync(c[n]+"/"+e))a.push(c[n]+"/"+e);if(a.length===0)throw new Error("Cannot find template: "+e);else if(a.length>1){console.warn("Multiple file with the same name:\n"+a.join("\n")+"\nDefault using => "+a[0]);read(a[0],n,s)}else{read(a[0],n,s)}}else{if(e[0]!=="/")e=c+"/"+e;read(e,n,s)}};try{let s;if(n.filename){s=n.filename.replace(new RegExp("^"+c+"/"),"").replace(new RegExp("\\."+l),"")}const i=cache(n)||cache(n,o.compileFn(e,s));i(n,a)}catch(e){a(e)}}))};n.swig=fromStringRenderer("swig");n.swig.render=function(e,n,i){return promisify(i,(function(i){let a=A.swig;if(!a){try{a=A.swig=s(68917)}catch(e){try{a=A.swig=s(38859)}catch(n){console.error(n);return i(e)}}}try{if(n.cache===true)n.cache="memory";a.setDefaults({cache:n.cache});const s=cache(n)||cache(n,a.compile(e,n));i(null,s(n))}catch(e){i(e)}}))};n.atpl=fromStringRenderer("atpl");n.atpl.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.atpl||(A.atpl=s(700));const o=cache(n)||cache(n,a.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.liquor=fromStringRenderer("liquor");n.liquor.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.liquor||(A.liquor=s(20735));const o=cache(n)||cache(n,a.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.twig=fromStringRenderer("twig");n.twig.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.twig||(A.twig=s(40032).twig);const o={data:e,allowInlineIncludes:n.allowInlineIncludes,namespaces:n.namespaces,path:n.path};const l=cache(o)||cache(o,a(o));i(null,l.render(n))}catch(e){i(e)}}))};n.ejs=fromStringRenderer("ejs");n.ejs.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.ejs||(A.ejs=s(55875));const o=cache(n)||cache(n,a.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.eta=function(e,n,i){return promisify(i,(function(i){try{const a=A.eta||(A.eta=new(s(52893).Eta)({views:"."}));i(null,a.render(e,n))}catch(e){i(e)}}))};n.eta.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.eta||(A.eta=new(s(52893).Eta)({views:"."}));i(null,a.renderString(e,n))}catch(e){i(e)}}))};n.eco=fromStringRenderer("eco");n.eco.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.eco||(A.eco=s(73102));i(null,a.render(e,n))}catch(e){i(e)}}))};n.jazz=fromStringRenderer("jazz");n.jazz.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.jazz||(A.jazz=s(18600));const o=cache(n)||cache(n,a.compile(e,n));o.eval(n,(function(e){i(null,e)}))}catch(e){i(e)}}))};n.jqtpl=fromStringRenderer("jqtpl");n.jqtpl.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.jqtpl||(A.jqtpl=s(96964));a.template(e,e);i(null,a.tmpl(e,n))}catch(e){i(e)}}))};n.haml=fromStringRenderer("haml");n.haml.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.haml||(A.haml=s(11232));n.locals=n;i(null,a.render(e,n).trimStart())}catch(e){i(e)}}))};n.hamlet=fromStringRenderer("hamlet");n.hamlet.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.hamlet||(A.hamlet=s(42862));n.locals=n;i(null,a.render(e,n).trimStart())}catch(e){i(e)}}))};n.whiskers=function(e,n,i){return promisify(i,(function(i){try{const a=A.whiskers||(A.whiskers=s(81751));a.__express(e,n,i)}catch(e){i(e)}}))};n.whiskers.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.whiskers||(A.whiskers=s(81751));i(null,a.render(e,n))}catch(e){i(e)}}))};n["haml-coffee"]=fromStringRenderer("haml-coffee");n["haml-coffee"].render=function(e,n,i){return promisify(i,(function(i){try{const a=A["haml-coffee"]||(A["haml-coffee"]=s(95338));const o=cache(n)||cache(n,a.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.hogan=fromStringRenderer("hogan");n.hogan.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.hogan||(A.hogan=s(37997));const o=cache(n)||cache(n,a.compile(e,n));i(null,o.render(n,n.partials))}catch(e){i(e)}}))};n.templayed=fromStringRenderer("templayed");n.templayed.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.templayed||(A.templayed=s(84486));const o=cache(n)||cache(n,a(e));i(null,o(n))}catch(e){i(e)}}))};n.handlebars=fromStringRenderer("handlebars");n.handlebars.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.handlebars||(A.handlebars=s(81387));for(const e in n.partials){a.registerPartial(e,n.partials[e])}for(const e in n.helpers){a.registerHelper(e,n.helpers[e])}const o=cache(n)||cache(n,a.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.underscore=fromStringRenderer("underscore");n.underscore.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.underscore||(A.underscore=s(99912));const o={};for(const e in n.partials){o[e]=a.template(n.partials[e])}n.partials=o;const l=cache(n)||cache(n,a.template(e,null,n));i(null,l(n).replace(/\n$/,""))}catch(e){i(e)}}))};n.lodash=fromStringRenderer("lodash");n.lodash.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.lodash||(A.lodash=s(31742));const o=cache(n)||cache(n,a.template(e,n));i(null,o(n).replace(/\n$/,""))}catch(e){i(e)}}))};n.pug=function(e,n,i){return promisify(i,(function(i){let a=A.pug;if(!a){try{a=A.pug=s(137)}catch(e){try{a=A.pug=s(21765)}catch(n){console.error(n);return i(e)}}}try{const s=cache(n)||cache(n,a.compileFile(e,n));i(null,s(n))}catch(e){i(e)}}))};n.pug.render=function(e,n,i){return promisify(i,(function(i){let a=A.pug;if(!a){try{a=A.pug=s(137)}catch(e){try{a=A.pug=s(21765)}catch(n){console.error(n);return i(e)}}}try{const s=cache(n)||cache(n,a.compile(e,n));i(null,s(n))}catch(e){i(e)}}))};n.qejs=fromStringRenderer("qejs");n.qejs.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.qejs||(A.qejs=s(78568));a.render(e,n).then((function(e){i(null,e)}),(function(e){i(e)})).done()}catch(e){i(e)}}))};n.walrus=fromStringRenderer("walrus");n.walrus.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.walrus||(A.walrus=s(60073));const o=cache(n)||cache(n,a.parse(e));i(null,o.compile(n))}catch(e){i(e)}}))};n.mustache=fromStringRenderer("mustache");n.mustache.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.mustache||(A.mustache=s(57208));i(null,a.render(e,n,n.partials))}catch(e){i(e)}}))};n.just=function(e,n,i){return promisify(i,(function(i){try{let a=A.just;if(!a){const e=s(38789);a=A.just=new e}a.configure({useCache:n.cache});a.render(e,n,i)}catch(e){i(e)}}))};n.just.render=function(e,n,i){return promisify(i,(function(i){try{const a=s(38789);const o=new a({root:{page:e}});o.render("page",n,i)}catch(e){i(e)}}))};n.ect=function(e,n,i){return promisify(i,(function(i){try{let a=A.ect;if(!a){const e=s(82125);a=A.ect=new e(n)}a.configure({cache:n.cache});a.render(e,n,i)}catch(e){i(e)}}))};n.ect.render=function(e,n,i){return promisify(i,(function(i){try{const a=s(82125);const o=new a({root:{page:e}});o.render("page",n,i)}catch(e){i(e)}}))};n.mote=fromStringRenderer("mote");n.mote.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.mote||(A.mote=s(79502));const o=cache(n)||cache(n,a.compile(e));i(null,o(n))}catch(e){i(e)}}))};n.toffee=function(e,n,i){return promisify(i,(function(i){try{const a=A.toffee||(A.toffee=s(19266));a.__consolidate_engine_render(e,n,i)}catch(e){i(e)}}))};n.toffee.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.toffee||(A.toffee=s(19266));a.str_render(e,n,i)}catch(e){i(e)}}))};n.dot=fromStringRenderer("dot");n.dot.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.dot||(A.dot=s(22536));const o=A.extend||(A.extend=Object.assign);let l={};l=o(l,a.templateSettings);l=o(l,n?n.dot:{});const c=cache(n)||cache(n,a.template(e,l,n));i(null,c(n))}catch(e){i(e)}}))};n.bracket=fromStringRenderer("bracket");n.bracket.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.bracket||(A.bracket=s(38428));const o=cache(n)||cache(n,a.default.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.ractive=fromStringRenderer("ractive");n.ractive.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.ractive||(A.ractive=s(43509));const o=cache(n)||cache(n,a.parse(e));n.template=o;if(n.data===null||n.data===undefined){n.data={...n};let e;let s;const i=["template","filename","cache","partials"];for(e=0,s=i.length;e<s;e++){const s=i[e];delete n.data[s]}}i(null,new a(n).toHTML())}catch(e){i(e)}}))};n.nunjucks=fromStringRenderer("nunjucks");n.nunjucks.render=function(e,n,i){return promisify(i,(function(i){try{const a=n.nunjucksEnv||A.nunjucks||(A.nunjucks=s(64922));let o=a;if(n.settings&&n.settings.views){o=a.configure(n.settings.views)}else if(n.nunjucks&&n.nunjucks.configure){o=a.configure.apply(a,n.nunjucks.configure)}if(n.loader){o=new a.Environment(n.loader)}else if(n.settings&&n.settings.views){o=new a.Environment(new a.FileSystemLoader(n.settings.views))}else if(n.nunjucks&&n.nunjucks.loader){if(typeof n.nunjucks.loader==="string"){o=new a.Environment(new a.FileSystemLoader(n.nunjucks.loader))}else{o=new a.Environment(new a.FileSystemLoader(n.nunjucks.loader[0],n.nunjucks.loader[1]))}}o.renderString(e,n,i)}catch(e){throw i(e)}}))};n.htmling=fromStringRenderer("htmling");n.htmling.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.htmling||(A.htmling=s(1104));const o=cache(n)||cache(n,a.string(e));i(null,o.render(n))}catch(e){i(e)}}))};function requireReact(e,n){let i;try{const e=A.babel||(A.babel=s(52915));i=e.transformFileSync(n,{presets:["@babel/preset-react"]}).code}catch(e){try{const e=A.babel||(A.babel=s(27119));i=e.transformFileSync(n,{presets:["react"]}).code}catch(n){console.error(n);throw e}}return e._compile(i,n)}n.requireReact=requireReact;function requireReactString(n,i){if(!i)i="";const a=new e.constructor;i=i||"";let o;try{const e=A.babel||(A.babel=s(52915));o=e.transform(n,{presets:["@babel/preset-react"]}).code}catch(e){try{const e=A.babel||(A.babel=s(27119));o=e.transform(n,{presets:["react"]}).code}catch(n){console.error(n);throw e}}a.paths=e.paths;a._compile(o,i);return a.exports}function reactBaseTmpl(e,n){let s;let i;for(const a in n){if(n.hasOwnProperty(a)){s="{{"+a+"}}";i=new RegExp(s,"g");if(i.test(e))e=e.replace(i,n[a])}}return e}n.plates=fromStringRenderer("plates");n.plates.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.plates||(A.plates=s(39272));const o=n.map||undefined;const l=a.bind(e,n,o);i(null,l)}catch(e){i(e)}}))};function reactRenderer(e){if(require.extensions){if(!require.extensions[".jsx"]){require.extensions[".jsx"]=requireReact}if(!require.extensions[".react"]){require.extensions[".react"]=requireReact}}return function(n,a,o){return promisify(o,(function(o){let l;let c;try{l=A.ReactDOM||(A.ReactDOM=s(43271));c=A.react||(A.react=s(4090))}catch(e){return o(e)}const{base:p}=a;delete a.base;const f=a.cache;delete a.cache;const{isNonStatic:h}=a;delete a.isNonStatic;try{let s;let m;let g;let A;if(cache(a)){m=cache(a)}else{if(e==="path"){const e=d(n);delete require.cache[e];try{s=require(e)}catch(e){return o(e)}}else{s=requireReactString(n)}m=cache(a,c.createFactory(s))}const C=new m(a);A=h?l.renderToString(C):l.renderToStaticMarkup(C);if(p){g=y[n]||i.readFileSync(d(p),"utf8");if(f){y[n]=g}a.content=A;A=reactBaseTmpl(g,a)}o(null,A)}catch(e){o(e)}}))}}n.react=reactRenderer("path");n.react.render=reactRenderer("string");n["arc-templates"]=fromStringRenderer("arc-templates");n["arc-templates"].render=function(e,n,i){const a=l.promisify(read);const o={};o.readFile=function(e){return a(e,n)};return promisify(i,(function(i){try{let a=A["arc-templates"];if(!a){const e=s(68146);a=A["arc-templates"]=new e({filesystem:o})}const l=cache(n)||cache(n,a.compileString(e,n.filename));l.then((function(e){return e(n)})).then((function(e){i(null,e.content)})).catch(i)}catch(e){i(e)}}))};n.vash=fromStringRenderer("vash");n.vash.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.vash||(A.vash=s(24857));if(n.helpers){for(const e in n.helpers){if(!n.helpers.hasOwnProperty(e)||typeof n.helpers[e]!=="function"){continue}a.helpers[e]=n.helpers[e]}}const o=cache(n)||cache(n,a.compile(e,n));o(n,(function(e,n){if(e)i(e);n.finishLayout();i(null,n.toString().replace(/\n$/,""))}))}catch(e){i(e)}}))};n.slm=fromStringRenderer("slm");n.slm.render=function(e,n,i){return promisify(i,(function(i){try{const a=A.slm||(A.slm=s(27735));const o=cache(n)||cache(n,a.compile(e,n));i(null,o(n))}catch(e){i(e)}}))};n.teacup=function(e,n,i){return promisify(i,(function(i){try{const a=A.teacup||(A.teacup=s(5704));require.extensions[".teacup"]=require.extensions[".coffee"];if(e[0]!=="/"){e=p(o.cwd(),e)}if(!n.cache){const n=i;i=function(...s){delete require.cache[e];Reflect.apply(n,this,s)}}a.renderFile(e,n,i)}catch(e){i(e)}}))};n.teacup.render=function(e,n,i){try{const a=s(52213);const o={module:{exports:{}},require:require};return promisify(i,(function(s){c.runInNewContext(a.compile(e),o);const i=o.module.exports;s(null,i(n))}))}catch(e){i(e)}};n.twing=fromStringRenderer("twing");n.twing.render=function(e,n,a){return promisify(a,(function(a){try{let o=A.twing||(A.twing=s(21964));if(o.hasOwnProperty("TwingEnvironment")){let e=new o.TwingLoaderNull;if(n.settings&&n.settings.views&&i.existsSync(n.settings.views)){e=new o.TwingLoaderFilesystem(n.settings.views)}o=A.twing=new o.TwingEnvironment(e)}o.createTemplate(e).then((e=>{e.render(n).then((e=>{const s=cache(n)||cache(n,e);a(null,s)}))}))}catch(e){a(e)}}))};n.requires=A},64459:function(e,n,s){"use strict";const i=s(73462)("@ladjs/koa-views");const a=s(65099);const o=s(59558);const l=s(84675);const c=s(78176);const p=s(91493);e.exports=viewsMiddleware;const bigIntReplacer=()=>{const e=new WeakSet;return(n,s)=>{if(typeof s==="bigint")return s.toString();if(typeof s==="object"&&s!==null){if(e.has(s)){return}e.add(s)}return s}};function viewsMiddleware(e,{autoRender:n=true,engineSource:s=a,extension:d="html",options:f={},map:h}={}){return function views(a,m){let y=false;function render(m,g={}){if(y){if(this.ctx&&this.ctx.req===this.req)a=this.ctx;else a=this}return l(e,m,d).then((l=>{const d=l.ext;const m=Object.assign({},f,a.state||{},g);m.partials=Object.assign(Object.create(null),f.partials||{});if(i.enabled)i("render `%s` with %s",l.rel,JSON.stringify(m,bigIntReplacer()));a.type="text/html";if(isHtml(d)&&!h){return o(a,l.rel,{root:e})}else{const o=h&&h[d]?h[d]:d;const f=s[o];if(!o||!f)return Promise.reject(new Error(`Engine not found for the ".${d}" file extension`));return f(p(e,l.rel),m).then((e=>{if(g.pretty){i("using `pretty` package to beautify HTML");e=c(e)}if(n){a.body=e;return e}return Promise.resolve(e)}))}}))}if(!a){y=true;return render}if(a.render)return m();a.response.render=a.render=render;return m()}}function isHtml(e){return e==="html"}},54143:function(e){function BrowserslistError(e){this.name="BrowserslistError";this.message=e;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;e.exports=BrowserslistError},72629:function(e,n,s){var i=s(20644);var a=s(69350).X;var o=s(33990);var l=s(76516);var c=s(16928);var p=s(54143);var d=s(43805);var f=s(5546);var h=365.259641*24*60*60*1e3;var m="37";var y=14;function isVersionsMatch(e,n){return(e+".").indexOf(n+".")===0}function isEolReleased(e){var n=e.slice(1);return browserslist.nodeVersions.some((function(e){return isVersionsMatch(e,n)}))}function normalize(e){return e.filter((function(e){return typeof e==="string"}))}function normalizeElectron(e){var n=e;if(e.split(".").length===3){n=e.split(".").slice(0,-1).join(".")}return n}function nameMapper(e){return function mapName(n){return e+" "+n}}function getMajor(e){return parseInt(e.split(".")[0])}function getMajorVersions(e,n){if(e.length===0)return[];var s=uniq(e.map(getMajor));var i=s[s.length-n];if(!i){return e}var a=[];for(var o=e.length-1;o>=0;o--){if(i>getMajor(e[o]))break;a.unshift(e[o])}return a}function uniq(e){var n=[];for(var s=0;s<e.length;s++){if(n.indexOf(e[s])===-1)n.push(e[s])}return n}function fillUsage(e,n,s){for(var i in s){e[n+" "+i]=s[i]}}function generateFilter(e,n){n=parseFloat(n);if(e===">"){return function(e){return parseLatestFloat(e)>n}}else if(e===">="){return function(e){return parseLatestFloat(e)>=n}}else if(e==="<"){return function(e){return parseFloat(e)<n}}else{return function(e){return parseFloat(e)<=n}}function parseLatestFloat(e){return parseFloat(e.split("-")[1]||e)}}function generateSemverFilter(e,n){n=n.split(".").map(parseSimpleInt);n[1]=n[1]||0;n[2]=n[2]||0;if(e===">"){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(e,n)>0}}else if(e===">="){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(e,n)>=0}}else if(e==="<"){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(n,e)>0}}else{return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(n,e)>=0}}}function parseSimpleInt(e){return parseInt(e)}function compare(e,n){if(e<n)return-1;if(e>n)return+1;return 0}function compareSemver(e,n){return compare(parseInt(e[0]),parseInt(n[0]))||compare(parseInt(e[1]||"0"),parseInt(n[1]||"0"))||compare(parseInt(e[2]||"0"),parseInt(n[2]||"0"))}function semverFilterLoose(e,n){n=n.split(".").map(parseSimpleInt);if(typeof n[1]==="undefined"){n[1]="x"}switch(e){case"<=":return function(e){e=e.split(".").map(parseSimpleInt);return compareSemverLoose(e,n)<=0};case">=":default:return function(e){e=e.split(".").map(parseSimpleInt);return compareSemverLoose(e,n)>=0}}}function compareSemverLoose(e,n){if(e[0]!==n[0]){return e[0]<n[0]?-1:+1}if(n[1]==="x"){return 0}if(e[1]!==n[1]){return e[1]<n[1]?-1:+1}return 0}function resolveVersion(e,n){if(e.versions.indexOf(n)!==-1){return n}else if(browserslist.versionAliases[e.name][n]){return browserslist.versionAliases[e.name][n]}else{return false}}function normalizeVersion(e,n){var s=resolveVersion(e,n);if(s){return s}else if(e.versions.length===1){return e.versions[0]}else{return false}}function filterByYear(e,n){e=e/1e3;return Object.keys(a).reduce((function(s,i){var a=byName(i,n);if(!a)return s;var o=Object.keys(a.releaseDate).filter((function(n){var s=a.releaseDate[n];return s!==null&&s>=e}));return s.concat(o.map(nameMapper(a.name)))}),[])}function cloneData(e){return{name:e.name,versions:e.versions,released:e.released,releaseDate:e.releaseDate}}function byName(e,n){e=e.toLowerCase();e=browserslist.aliases[e]||e;if(n.mobileToDesktop&&browserslist.desktopNames[e]){var s=browserslist.data[browserslist.desktopNames[e]];if(e==="android"){return normalizeAndroidData(cloneData(browserslist.data[e]),s)}else{var i=cloneData(s);i.name=e;return i}}return browserslist.data[e]}function normalizeAndroidVersions(e,n){var s=n.indexOf(m);return e.filter((function(e){return/^(?:[2-4]\.|[34]$)/.test(e)})).concat(n.slice(s))}function copyObject(e){var n={};for(var s in e){n[s]=e[s]}return n}function normalizeAndroidData(e,n){e.released=normalizeAndroidVersions(e.released,n.released);e.versions=normalizeAndroidVersions(e.versions,n.versions);e.releaseDate=copyObject(e.releaseDate);e.released.forEach((function(s){if(e.releaseDate[s]===undefined){e.releaseDate[s]=n.releaseDate[s]}}));return e}function checkName(e,n){var s=byName(e,n);if(!s)throw new p("Unknown browser "+e);return s}function unknownQuery(e){return new p("Unknown browser query `"+e+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterJumps(e,n,s,i){var a=1;switch(n){case"android":if(i.mobileToDesktop)return e;var o=browserslist.data.chrome.released;a=o.length-o.indexOf(m);break;case"op_mob":var l=browserslist.data.op_mob.released.slice(-1)[0];a=getMajor(l)-y+1;break;default:return e}if(s<=a){return e.slice(-1)}return e.slice(a-1-s)}function isSupported(e,n){return typeof e==="string"&&(e.indexOf("y")>=0||n&&e.indexOf("a")>=0)}function resolve(e,n){return parseQueries(e).reduce((function(e,s,i){if(s.not&&i===0){throw new p("Write any browsers query (for instance, `defaults`) "+"before `"+s.query+"`")}var a=C[s.type];var o=a.select.call(browserslist,n,s).map((function(e){var s=e.split(" ");if(s[1]==="0"){return s[0]+" "+byName(s[0],n).versions[0]}else{return e}}));if(s.compose==="and"){if(s.not){return e.filter((function(e){return o.indexOf(e)===-1}))}else{return e.filter((function(e){return o.indexOf(e)!==-1}))}}else{if(s.not){var l={};o.forEach((function(e){l[e]=true}));return e.filter((function(e){return!l[e]}))}return e.concat(o)}}),[])}function prepareOpts(e){if(typeof e==="undefined")e={};if(typeof e.path==="undefined"){e.path=c.resolve?c.resolve("."):"."}return e}function prepareQueries(e,n){if(typeof e==="undefined"||e===null){var s=browserslist.loadConfig(n);if(s){e=s}else{e=browserslist.defaults}}return e}function checkQueries(e){if(!(typeof e==="string"||Array.isArray(e))){throw new p("Browser queries must be an array or string. Got "+typeof e+".")}}var g={};var A={};function browserslist(e,n){n=prepareOpts(n);e=prepareQueries(e,n);checkQueries(e);var s=parseQueries(e).some((function(e){return C[e.type].needsPath}));var i={ignoreUnknownVersions:n.ignoreUnknownVersions,dangerousExtend:n.dangerousExtend,mobileToDesktop:n.mobileToDesktop,env:n.env};if(s){i.path=n.path}d.oldDataWarning(browserslist.data);var a=d.getStat(n,browserslist.data);if(a){i.customUsage={};for(var o in a){fillUsage(i.customUsage,o,a[o])}}var l=JSON.stringify([e,i]);if(g[l])return g[l];var c=uniq(resolve(e,i)).sort((function(e,n){e=e.split(" ");n=n.split(" ");if(e[0]===n[0]){var s=e[1].split("-")[0];var i=n[1].split("-")[0];return compareSemver(i.split("."),s.split("."))}else{return compare(e[0],n[0])}}));if(!d.env.BROWSERSLIST_DISABLE_CACHE){g[l]=c}return c}function parseQueries(e){var n=JSON.stringify(e);if(n in A)return A[n];var s=f(C,e);if(!d.env.BROWSERSLIST_DISABLE_CACHE){A[n]=s}return s}function loadCustomUsage(e,n){var s=d.loadStat(e,n,browserslist.data);if(s){e.customUsage={};for(var i in s){fillUsage(e.customUsage,i,s[i])}}if(!e.customUsage){throw new p("Custom usage statistics was not provided")}return e.customUsage}browserslist.parse=function(e,n){n=prepareOpts(n);e=prepareQueries(e,n);checkQueries(e);return parseQueries(e)};browserslist.cache={};browserslist.data={};browserslist.usage={global:{},custom:null};browserslist.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=d.clearCaches;browserslist.parseConfig=d.parseConfig;browserslist.readConfig=d.readConfig;browserslist.findConfigFile=d.findConfigFile;browserslist.findConfig=d.findConfig;browserslist.loadConfig=d.loadConfig;browserslist.coverage=function(e,n){var s;if(typeof n==="undefined"){s=browserslist.usage.global}else if(n==="my stats"){var i={};i.path=c.resolve?c.resolve("."):".";var a=d.getStat(i);if(!a){throw new p("Custom usage statistics was not provided")}s={};for(var o in a){fillUsage(s,o,a[o])}}else if(typeof n==="string"){if(n.length>2){n=n.toLowerCase()}else{n=n.toUpperCase()}d.loadCountry(browserslist.usage,n,browserslist.data);s=browserslist.usage[n]}else{if("dataByBrowser"in n){n=n.dataByBrowser}s={};for(var l in n){for(var f in n[l]){s[l+" "+f]=n[l][f]}}}return e.reduce((function(e,n){var i=s[n];if(i===undefined){i=s[n.replace(/ \S+$/," 0")]}return e+(i||0)}),0)};function nodeQuery(e,n){var s=browserslist.nodeVersions.filter((function(e){return isVersionsMatch(e,n.version)}));if(s.length===0){if(e.ignoreUnknownVersions){return[]}else{throw new p("Unknown version "+n.version+" of Node.js")}}return["node "+s[s.length-1]]}function sinceQuery(e,n){var s=parseInt(n.year);var i=parseInt(n.month||"01")-1;var a=parseInt(n.day||"01");return filterByYear(Date.UTC(s,i,a,0,0,0),e)}function coverQuery(e,n){var s=parseFloat(n.coverage);var i=browserslist.usage.global;if(n.place){if(n.place.match(/^my\s+stats$/i)){if(!e.customUsage){throw new p("Custom usage statistics was not provided")}i=e.customUsage}else{var a;if(n.place.length===2){a=n.place.toUpperCase()}else{a=n.place.toLowerCase()}d.loadCountry(browserslist.usage,a,browserslist.data);i=browserslist.usage[a]}}else if(n.config){i=loadCustomUsage(e,n.config)}var o=Object.keys(i).sort((function(e,n){return i[n]-i[e]}));var l=0;var c=[];var f;for(var h=0;h<o.length;h++){f=o[h];if(i[f]===0)break;l+=i[f];c.push(f);if(l>=s)break}return c}var C={last_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(e,n){return Object.keys(a).reduce((function(s,i){var a=byName(i,e);if(!a)return s;var o=getMajorVersions(a.released,n.versions);o=o.map(nameMapper(a.name));o=filterJumps(o,a.name,n.versions,e);return s.concat(o)}),[])}},last_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+versions?$/i,select:function(e,n){return Object.keys(a).reduce((function(s,i){var a=byName(i,e);if(!a)return s;var o=a.released.slice(-n.versions);o=o.map(nameMapper(a.name));o=filterJumps(o,a.name,n.versions,e);return s.concat(o)}),[])}},last_electron_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(e,n){var s=getMajorVersions(Object.keys(o),n.versions);return s.map((function(e){return"chrome "+o[e]}))}},last_node_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+major\s+versions?$/i,select:function(e,n){return getMajorVersions(browserslist.nodeVersions,n.versions).map((function(e){return"node "+e}))}},last_browser_major_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(e,n){var s=checkName(n.browser,e);var i=getMajorVersions(s.released,n.versions);var a=i.map(nameMapper(s.name));a=filterJumps(a,s.name,n.versions,e);return a}},last_electron_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(e,n){return Object.keys(o).slice(-n.versions).map((function(e){return"chrome "+o[e]}))}},last_node_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+versions?$/i,select:function(e,n){return browserslist.nodeVersions.slice(-n.versions).map((function(e){return"node "+e}))}},last_browser_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(e,n){var s=checkName(n.browser,e);var i=s.released.slice(-n.versions).map(nameMapper(s.name));i=filterJumps(i,s.name,n.versions,e);return i}},unreleased_versions:{matches:[],regexp:/^unreleased\s+versions$/i,select:function(e){return Object.keys(a).reduce((function(n,s){var i=byName(s,e);if(!i)return n;var a=i.versions.filter((function(e){return i.released.indexOf(e)===-1}));a=a.map(nameMapper(i.name));return n.concat(a)}),[])}},unreleased_electron_versions:{matches:[],regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},unreleased_browser_versions:{matches:["browser"],regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(e,n){var s=checkName(n.browser,e);return s.versions.filter((function(e){return s.released.indexOf(e)===-1})).map(nameMapper(s.name))}},last_years:{matches:["years"],regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(e,n){return filterByYear(Date.now()-h*n.years,e)}},since_y:{matches:["year"],regexp:/^since (\d+)$/i,select:sinceQuery},since_y_m:{matches:["year","month"],regexp:/^since (\d+)-(\d+)$/i,select:sinceQuery},since_y_m_d:{matches:["year","month","day"],regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:sinceQuery},popularity:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(e,n){var s=parseFloat(n.popularity);var i=browserslist.usage.global;return Object.keys(i).reduce((function(e,a){if(n.sign===">"){if(i[a]>s){e.push(a)}}else if(n.sign==="<"){if(i[a]<s){e.push(a)}}else if(n.sign==="<="){if(i[a]<=s){e.push(a)}}else if(i[a]>=s){e.push(a)}return e}),[])}},popularity_in_my_stats:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(e,n){var s=parseFloat(n.popularity);if(!e.customUsage){throw new p("Custom usage statistics was not provided")}var i=e.customUsage;return Object.keys(i).reduce((function(e,a){var o=i[a];if(o==null){return e}if(n.sign===">"){if(o>s){e.push(a)}}else if(n.sign==="<"){if(o<s){e.push(a)}}else if(n.sign==="<="){if(o<=s){e.push(a)}}else if(o>=s){e.push(a)}return e}),[])}},popularity_in_config_stats:{matches:["sign","popularity","config"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(e,n){var s=parseFloat(n.popularity);var i=loadCustomUsage(e,n.config);return Object.keys(i).reduce((function(e,a){var o=i[a];if(o==null){return e}if(n.sign===">"){if(o>s){e.push(a)}}else if(n.sign==="<"){if(o<s){e.push(a)}}else if(n.sign==="<="){if(o<=s){e.push(a)}}else if(o>=s){e.push(a)}return e}),[])}},popularity_in_place:{matches:["sign","popularity","place"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(e,n){var s=parseFloat(n.popularity);var i=n.place;if(i.length===2){i=i.toUpperCase()}else{i=i.toLowerCase()}d.loadCountry(browserslist.usage,i,browserslist.data);var a=browserslist.usage[i];return Object.keys(a).reduce((function(e,i){var o=a[i];if(o==null){return e}if(n.sign===">"){if(o>s){e.push(i)}}else if(n.sign==="<"){if(o<s){e.push(i)}}else if(n.sign==="<="){if(o<=s){e.push(i)}}else if(o>=s){e.push(i)}return e}),[])}},cover:{matches:["coverage"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,select:coverQuery},cover_in:{matches:["coverage","place"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:coverQuery},cover_config:{matches:["coverage","config"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/i,select:coverQuery},supports:{matches:["supportType","feature"],regexp:/^(?:(fully|partially)\s+)?supports\s+([\w-]+)$/,select:function(e,n){d.loadFeature(browserslist.cache,n.feature);var s=n.supportType!=="fully";var i=browserslist.cache[n.feature];var a=[];for(var o in i){var l=byName(o,e);var c=l.released.length-1;while(c>=0){if(l.released[c]in i[o])break;c--}var p=e.mobileToDesktop&&o in browserslist.desktopNames&&isSupported(i[o][l.released[c]],s);l.versions.forEach((function(e){var n=i[o][e];if(n===undefined&&p){n=i[browserslist.desktopNames[o]][e]}if(isSupported(n,s)){a.push(o+" "+e)}}))}return a}},electron_range:{matches:["from","to"],regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,n){var s=normalizeElectron(n.from);var i=normalizeElectron(n.to);var a=parseFloat(n.from);var l=parseFloat(n.to);if(!o[s]){throw new p("Unknown version "+a+" of electron")}if(!o[i]){throw new p("Unknown version "+l+" of electron")}return Object.keys(o).filter((function(e){var n=parseFloat(e);return n>=a&&n<=l})).map((function(e){return"chrome "+o[e]}))}},node_range:{matches:["from","to"],regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,n){return browserslist.nodeVersions.filter(semverFilterLoose(">=",n.from)).filter(semverFilterLoose("<=",n.to)).map((function(e){return"node "+e}))}},browser_range:{matches:["browser","from","to"],regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,n){var s=checkName(n.browser,e);var i=parseFloat(normalizeVersion(s,n.from)||n.from);var a=parseFloat(normalizeVersion(s,n.to)||n.to);function filter(e){var n=parseFloat(e);return n>=i&&n<=a}return s.released.filter(filter).map(nameMapper(s.name))}},electron_ray:{matches:["sign","version"],regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,n){var s=normalizeElectron(n.version);return Object.keys(o).filter(generateFilter(n.sign,s)).map((function(e){return"chrome "+o[e]}))}},node_ray:{matches:["sign","version"],regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,n){return browserslist.nodeVersions.filter(generateSemverFilter(n.sign,n.version)).map((function(e){return"node "+e}))}},browser_ray:{matches:["browser","sign","version"],regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(e,n){var s=n.version;var i=checkName(n.browser,e);var a=browserslist.versionAliases[i.name][s];if(a)s=a;return i.released.filter(generateFilter(n.sign,s)).map((function(e){return i.name+" "+e}))}},firefox_esr:{matches:[],regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 128"]}},opera_mini_all:{matches:[],regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},electron_version:{matches:["version"],regexp:/^electron\s+([\d.]+)$/i,select:function(e,n){var s=normalizeElectron(n.version);var i=o[s];if(!i){throw new p("Unknown version "+n.version+" of electron")}return["chrome "+i]}},node_major_version:{matches:["version"],regexp:/^node\s+(\d+)$/i,select:nodeQuery},node_minor_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+)$/i,select:nodeQuery},node_patch_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:nodeQuery},current_node:{matches:[],regexp:/^current\s+node$/i,select:function(e){return[d.currentNode(resolve,e)]}},maintained_node:{matches:[],regexp:/^maintained\s+node\s+versions$/i,select:function(e){var n=Date.now();var s=Object.keys(l).filter((function(e){return n<Date.parse(l[e].end)&&n>Date.parse(l[e].start)&&isEolReleased(e)})).map((function(e){return"node "+e.slice(1)}));return resolve(s,e)}},phantomjs_1_9:{matches:[],regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},phantomjs_2_1:{matches:[],regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},browser_version:{matches:["browser","version"],regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(e,n){var s=n.version;if(/^tp$/i.test(s))s="TP";var i=checkName(n.browser,e);var a=normalizeVersion(i,s);if(a){s=a}else{if(s.indexOf(".")===-1){a=s+".0"}else{a=s.replace(/\.0$/,"")}a=normalizeVersion(i,a);if(a){s=a}else if(e.ignoreUnknownVersions){return[]}else{throw new p("Unknown version "+s+" of "+n.browser)}}return[i.name+" "+s]}},browserslist_config:{matches:[],regexp:/^browserslist config$/i,needsPath:true,select:function(e){return browserslist(undefined,e)}},extends:{matches:["config"],regexp:/^extends (.+)$/i,needsPath:true,select:function(e,n){return resolve(d.loadQueries(e,n.config),e)}},defaults:{matches:[],regexp:/^defaults$/i,select:function(e){return resolve(browserslist.defaults,e)}},dead:{matches:[],regexp:/^dead$/i,select:function(e){var n=["Baidu >= 0","ie <= 11","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(n,e)}},unknown:{matches:[],regexp:/^(\w+)$/i,select:function(e,n){if(byName(n.query,e)){throw new p("Specify versions in Browserslist query for browser "+n.query)}else{throw unknownQuery(n.query)}}}};(function(){for(var e in a){var n=a[e];browserslist.data[e]={name:e,versions:normalize(a[e].versions),released:normalize(a[e].versions.slice(0,-3)),releaseDate:a[e].release_date};fillUsage(browserslist.usage.global,e,n.usage_global);browserslist.versionAliases[e]={};for(var s=0;s<n.versions.length;s++){var o=n.versions[s];if(!o)continue;if(o.indexOf("-")!==-1){var l=o.split("-");for(var c=0;c<l.length;c++){browserslist.versionAliases[e][l[c]]=o}}}}browserslist.nodeVersions=i.map((function(e){return e.version}))})();e.exports=browserslist},43805:function(e,n,s){var i=s(63256)["default"];var a=s(40692)["default"];var o=s(79896);var l=s(16928);var c=s(54143);var p=/^\s*\[(.+)]\s*$/;var d=/^browserslist-config-/;var f=/@[^/]+(?:\/[^/]+)?\/browserslist-config(?:-|$|\/)/;var h="Browserslist config should be a string or an array "+"of strings with browser queries";var m=false;var y={};var g={};var A={};function checkExtend(e){var n=" Use `dangerousExtend` option to disable.";if(!d.test(e)&&!f.test(e)){throw new c("Browserslist config needs `browserslist-config-` prefix. "+n)}if(e.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new c("`.` not allowed in Browserslist config name. "+n)}if(e.indexOf("node_modules")!==-1){throw new c("`node_modules` not allowed in Browserslist config."+n)}}function isFile(e){return o.existsSync(e)&&o.statSync(e).isFile()}function isDirectory(e){return o.existsSync(e)&&o.statSync(e).isDirectory()}function eachParent(e,n,s){var i=l.resolve(e);var a=[];var o;do{if(!pathInRoot(i)){break}if(s&&i in s){o=s[i];break}a.push(i);if(!isDirectory(i)){continue}var c=n(i);if(typeof c!=="undefined"){o=c;break}}while(i!==(i=l.dirname(i)));if(s&&!process.env.BROWSERSLIST_DISABLE_CACHE){a.forEach((function(e){s[e]=o}))}return o}function pathInRoot(e){if(!process.env.BROWSERSLIST_ROOT_PATH)return true;var n=l.resolve(process.env.BROWSERSLIST_ROOT_PATH);if(l.relative(n,e).substring(0,2)===".."){return false}return true}function check(e){if(Array.isArray(e)){for(var n=0;n<e.length;n++){if(typeof e[n]!=="string"){throw new c(h)}}}else if(typeof e!=="string"){throw new c(h)}}function pickEnv(e,n){if(typeof e!=="object")return e;var s;if(typeof n.env==="string"){s=n.env}else if(process.env.BROWSERSLIST_ENV){s=process.env.BROWSERSLIST_ENV}else if(process.env.NODE_ENV){s=process.env.NODE_ENV}else{s="production"}if(n.throwOnMissing){if(s&&s!=="defaults"&&!e[s]){throw new c("Missing config for Browserslist environment `"+s+"`")}}return e[s]||e.defaults}function parsePackage(e){var n=o.readFileSync(e).toString().replace(/^\uFEFF/m,"");var s;if(n.indexOf('"browserslist"')>=0){s=JSON.parse(n).browserslist}else if(n.indexOf('"browserlist"')>=0){var i=JSON.parse(n);if(i.browserlist&&!i.browserslist){throw new c("`browserlist` key instead of `browserslist` in "+e)}}if(Array.isArray(s)||typeof s==="string"){s={defaults:s}}for(var a in s){check(s[a])}return s}function parsePackageOrReadConfig(n){if(n in A){return A[n]}var s=l.basename(n)==="package.json";var i=s?parsePackage(n):e.exports.readConfig(n);if(!process.env.BROWSERSLIST_DISABLE_CACHE){A[n]=i}return i}function latestReleaseTime(e){var n=0;for(var s in e){var i=e[s].releaseDate||{};for(var a in i){if(n<i[a]){n=i[a]}}}return n*1e3}function getMonthsPassed(e){var n=new Date;var s=new Date(e);var i=n.getFullYear()-s.getFullYear();var a=n.getMonth()-s.getMonth();return i*12+a}function normalizeStats(e,n){if(!e){e={}}if(n&&"dataByBrowser"in n){n=n.dataByBrowser}if(typeof n!=="object")return undefined;var s={};for(var i in n){var a=Object.keys(n[i]);if(a.length===1&&e[i]&&e[i].versions.length===1){var o=e[i].versions[0];s[i]={};s[i][o]=n[i][a[0]]}else{s[i]=n[i]}}return s}function normalizeUsageData(e,n){for(var s in e){var i=e[s];if("0"in i){var a=n[s].versions;i[a[a.length-1]]=i[0];delete i[0]}}}e.exports={loadQueries:function loadQueries(e,n){if(!e.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(n)}var i=require(s(593).resolve(n,{paths:[".",e.path]}));if(typeof i==="object"&&i!==null&&i.__esModule){i=i.default}if(i){if(Array.isArray(i)){return i}else if(typeof i==="object"){if(!i.defaults)i.defaults=[];return pickEnv(i,e,n)}}throw new c("`"+n+"` config exports not an array of queries"+" or an object of envs")},loadStat:function loadStat(e,n,i){if(!e.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(n)}var a=require(s(593).resolve(l.join(n,"browserslist-stats.json"),{paths:["."]}));return normalizeStats(i,a)},getStat:function getStat(e,n){var s;if(e.stats){s=e.stats}else if(process.env.BROWSERSLIST_STATS){s=process.env.BROWSERSLIST_STATS}else if(e.path&&l.resolve&&o.existsSync){s=eachParent(e.path,(function(e){var n=l.join(e,"browserslist-stats.json");return isFile(n)?n:undefined}),y)}if(typeof s==="string"){try{s=JSON.parse(o.readFileSync(s))}catch(e){throw new c("Can't read "+s)}}return normalizeStats(n,s)},loadConfig:function loadConfig(n){if(process.env.BROWSERSLIST){return process.env.BROWSERSLIST}else if(n.config||process.env.BROWSERSLIST_CONFIG){var s=n.config||process.env.BROWSERSLIST_CONFIG;return pickEnv(parsePackageOrReadConfig(s),n)}else if(n.path){return pickEnv(e.exports.findConfig(n.path),n)}else{return undefined}},loadCountry:function loadCountry(e,n,s){var i=n.replace(/[^\w-]/g,"");if(!e[i]){var o;try{o=require("caniuse-lite/data/regions/"+i+".js")}catch(e){throw new c("Unknown region name `"+i+"`.")}var l=a(o);normalizeUsageData(l,s);e[n]={};for(var p in l){for(var d in l[p]){e[n][p+" "+d]=l[p][d]}}}},loadFeature:function loadFeature(e,n){n=n.replace(/[^\w-]/g,"");if(e[n])return;var s;try{s=require("caniuse-lite/data/features/"+n+".js")}catch(e){throw new c("Unknown feature name `"+n+"`.")}var a=i(s).stats;e[n]={};for(var o in a){e[n][o]={};for(var l in a[o]){e[n][o][l]=a[o][l]}}},parseConfig:function parseConfig(e){var n={defaults:[]};var s=["defaults"];e.toString().replace(/#[^\n]*/g,"").split(/\n|,/).map((function(e){return e.trim()})).filter((function(e){return e!==""})).forEach((function(e){if(p.test(e)){s=e.match(p)[1].trim().split(" ");s.forEach((function(e){if(n[e]){throw new c("Duplicate section "+e+" in Browserslist config")}n[e]=[]}))}else{s.forEach((function(s){n[s].push(e)}))}}));return n},readConfig:function readConfig(n){if(!isFile(n)){throw new c("Can't read "+n+" config")}return e.exports.parseConfig(o.readFileSync(n))},findConfigFile:function findConfigFile(e){return eachParent(e,(function(e){var n=l.join(e,"browserslist");var s=l.join(e,"package.json");var i=l.join(e,".browserslistrc");var a;if(isFile(s)){try{a=parsePackage(s)}catch(e){if(e.name==="BrowserslistError")throw e;console.warn("[Browserslist] Could not parse "+s+". Ignoring it.")}}if(isFile(n)&&a){throw new c(e+" contains both browserslist and package.json with browsers")}else if(isFile(i)&&a){throw new c(e+" contains both .browserslistrc and package.json with browsers")}else if(isFile(n)&&isFile(i)){throw new c(e+" contains both .browserslistrc and browserslist")}else if(isFile(n)){return n}else if(isFile(i)){return i}else if(a){return s}}),g)},findConfig:function findConfig(e){var n=this.findConfigFile(e);return n?parsePackageOrReadConfig(n):undefined},clearCaches:function clearCaches(){m=false;y={};g={};A={};this.cache={}},oldDataWarning:function oldDataWarning(e){if(m)return;m=true;if(process.env.BROWSERSLIST_IGNORE_OLD_DATA)return;var n=latestReleaseTime(e);var s=getMonthsPassed(n);if(n!==0&&s>=6){var i=s+" "+(s>1?"months":"month");console.warn("Browserslist: browsers data (caniuse-lite) is "+i+" old. Please run:\n"+" npx update-browserslist-db@latest\n"+" Why you should do it regularly: "+"https://github.com/browserslist/update-db#readme")}},currentNode:function currentNode(){return"node "+process.versions.node},env:process.env}},5546:function(e){var n=/^\s+and\s+(.*)/i;var s=/^(?:,\s*|\s+or\s+)(.*)/i;function flatten(e){if(!Array.isArray(e))return[e];return e.reduce((function(e,n){return e.concat(flatten(n))}),[])}function find(e,n){for(var s=e.length,i=1;i<=s;i++){var a=e.substr(-i,i);if(n(a,i,s)){return e.slice(0,-i)}}return""}function matchQuery(e,n){var s={query:n};if(n.indexOf("not ")===0){s.not=true;n=n.slice(4)}for(var i in e){var a=e[i];var o=n.match(a.regexp);if(o){s.type=i;for(var l=0;l<a.matches.length;l++){s[a.matches[l]]=o[l+1]}return s}}s.type="unknown";return s}function matchBlock(e,i,a){var o;return find(i,(function(i,l,c){if(n.test(i)){o=matchQuery(e,i.match(n)[1]);o.compose="and";a.unshift(o);return true}else if(s.test(i)){o=matchQuery(e,i.match(s)[1]);o.compose="or";a.unshift(o);return true}else if(l===c){o=matchQuery(e,i.trim());o.compose="or";a.unshift(o);return true}return false}))}e.exports=function parse(e,n){if(!Array.isArray(n))n=[n];return flatten(n.map((function(n){var s=[];do{n=matchBlock(e,n,s)}while(n);return s})))}},59576:function(e){"use strict";
2
2
  /*!
3
3
  * bytes
4
4
  * Copyright(c) 2012-2014 TJ Holowaychuk
@@ -81,7 +81,7 @@ e.exports=function(e){return e!=null&&(isBuffer(e)||isSlowBuffer(e)||!!e._isBuff
81
81
  *
82
82
  * Copyright (c) 2014-2015, Jon Schlinkert.
83
83
  * Licensed under the MIT License.
84
- */var n;e.exports=function isWhitespace(e){return typeof e==="string"&&regex().test(e)};function regex(){return n||(n=new RegExp('^[\\s\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"]+$'))}},31080:function(e,n,s){"use strict";e=s.nmd(e);function get_beautify(e,n,s){var beautify=function(n,s){return e.js_beautify(n,s)};beautify.js=e.js_beautify;beautify.css=n.css_beautify;beautify.html=s.html_beautify;beautify.js_beautify=e.js_beautify;beautify.css_beautify=n.css_beautify;beautify.html_beautify=s.html_beautify;return beautify}if(typeof define==="function"&&define.amd){define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],(function(e,n,s){return get_beautify(e,n,s)}))}else{(function(e){var n=s(84609);n.js_beautify=n.js;n.css_beautify=n.css;n.html_beautify=n.html;e.exports=get_beautify(n,n,n)})(e)}},5863:function(e){"use strict";function Directives(e,n){e=typeof e==="string"?e:e.source;n=typeof n==="string"?n:n.source;this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+n,"g");this.__directive_pattern=/ (\w+)[:](\w+)/g;this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+n,"g")}Directives.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern)){return null}var n={};this.__directive_pattern.lastIndex=0;var s=this.__directive_pattern.exec(e);while(s){n[s[1]]=s[2];s=this.__directive_pattern.exec(e)}return n};Directives.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)};e.exports.D=Directives},58903:function(e){"use strict";var n=RegExp.prototype.hasOwnProperty("sticky");function InputScanner(e){this.__input=e||"";this.__input_length=this.__input.length;this.__position=0}InputScanner.prototype.restart=function(){this.__position=0};InputScanner.prototype.back=function(){if(this.__position>0){this.__position-=1}};InputScanner.prototype.hasNext=function(){return this.__position<this.__input_length};InputScanner.prototype.next=function(){var e=null;if(this.hasNext()){e=this.__input.charAt(this.__position);this.__position+=1}return e};InputScanner.prototype.peek=function(e){var n=null;e=e||0;e+=this.__position;if(e>=0&&e<this.__input_length){n=this.__input.charAt(e)}return n};InputScanner.prototype.__match=function(e,s){e.lastIndex=s;var i=e.exec(this.__input);if(i&&!(n&&e.sticky)){if(i.index!==s){i=null}}return i};InputScanner.prototype.test=function(e,n){n=n||0;n+=this.__position;if(n>=0&&n<this.__input_length){return!!this.__match(e,n)}else{return false}};InputScanner.prototype.testChar=function(e,n){var s=this.peek(n);e.lastIndex=0;return s!==null&&e.test(s)};InputScanner.prototype.match=function(e){var n=this.__match(e,this.__position);if(n){this.__position+=n[0].length}else{n=null}return n};InputScanner.prototype.read=function(e,n,s){var i="";var a;if(e){a=this.match(e);if(a){i+=a[0]}}if(n&&(a||!e)){i+=this.readUntil(n,s)}return i};InputScanner.prototype.readUntil=function(e,n){var s="";var i=this.__position;e.lastIndex=this.__position;var a=e.exec(this.__input);if(a){i=a.index;if(n){i+=a[0].length}}else{i=this.__input_length}s=this.__input.substring(this.__position,i);this.__position=i;return s};InputScanner.prototype.readUntilAfter=function(e){return this.readUntil(e,true)};InputScanner.prototype.get_regexp=function(e,s){var i=null;var a="g";if(s&&n){a="y"}if(typeof e==="string"&&e!==""){i=new RegExp(e,a)}else if(e){i=new RegExp(e.source,a)}return i};InputScanner.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))};InputScanner.prototype.peekUntilAfter=function(e){var n=this.__position;var s=this.readUntilAfter(e);this.__position=n;return s};InputScanner.prototype.lookBack=function(e){var n=this.__position-1;return n>=e.length&&this.__input.substring(n-e.length,n).toLowerCase()===e};e.exports.z=InputScanner},66599:function(e){"use strict";var n;function Options(e,n){this.raw_options=_mergeOpts(e,n);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",true);this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786);if(!this.preserve_newlines){this.max_preserve_newlines=0}this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char==="\t");if(this.indent_with_tabs){this.indent_char="\t";if(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","angular","django","erb","handlebars","php","smarty"],["auto"])}Options.prototype._get_array=function(e,n){var s=this.raw_options[e];var i=n||[];if(typeof s==="object"){if(s!==null&&typeof s.concat==="function"){i=s.concat()}}else if(typeof s==="string"){i=s.split(/[^a-zA-Z0-9_\/\-]+/)}return i};Options.prototype._get_boolean=function(e,n){var s=this.raw_options[e];var i=s===undefined?!!n:!!s;return i};Options.prototype._get_characters=function(e,n){var s=this.raw_options[e];var i=n||"";if(typeof s==="string"){i=s.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")}return i};Options.prototype._get_number=function(e,n){var s=this.raw_options[e];n=parseInt(n,10);if(isNaN(n)){n=0}var i=parseInt(s,10);if(isNaN(i)){i=n}return i};Options.prototype._get_selection=function(e,n,s){var i=this._get_selection_list(e,n,s);if(i.length!==1){throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+n+"\nYou passed in: '"+this.raw_options[e]+"'")}return i[0]};Options.prototype._get_selection_list=function(e,n,s){if(!n||n.length===0){throw new Error("Selection list cannot be empty.")}s=s||[n[0]];if(!this._is_valid_selection(s,n)){throw new Error("Invalid Default Value!")}var i=this._get_array(e,s);if(!this._is_valid_selection(i,n)){throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+n+"\nYou passed in: '"+this.raw_options[e]+"'")}return i};Options.prototype._is_valid_selection=function(e,n){return e.length&&n.length&&!e.some((function(e){return n.indexOf(e)===-1}))};function _mergeOpts(e,n){var s={};e=_normalizeOpts(e);var i;for(i in e){if(i!==n){s[i]=e[i]}}if(n&&e[n]){for(i in e[n]){s[i]=e[n][i]}}return s}function _normalizeOpts(e){var n={};var s;for(s in e){var i=s.replace(/-/g,"_");n[i]=e[s]}return n}e.exports.JY=Options;n=_normalizeOpts;n=_mergeOpts},35724:function(e){"use strict";function OutputLine(e){this.__parent=e;this.__character_count=0;this.__indent_count=-1;this.__alignment_count=0;this.__wrap_point_index=0;this.__wrap_point_character_count=0;this.__wrap_point_indent_count=-1;this.__wrap_point_alignment_count=0;this.__items=[]}OutputLine.prototype.clone_empty=function(){var e=new OutputLine(this.__parent);e.set_indent(this.__indent_count,this.__alignment_count);return e};OutputLine.prototype.item=function(e){if(e<0){return this.__items[this.__items.length+e]}else{return this.__items[e]}};OutputLine.prototype.has_match=function(e){for(var n=this.__items.length-1;n>=0;n--){if(this.__items[n].match(e)){return true}}return false};OutputLine.prototype.set_indent=function(e,n){if(this.is_empty()){this.__indent_count=e||0;this.__alignment_count=n||0;this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count)}};OutputLine.prototype._set_wrap_point=function(){if(this.__parent.wrap_line_length){this.__wrap_point_index=this.__items.length;this.__wrap_point_character_count=this.__character_count;this.__wrap_point_indent_count=this.__parent.next_line.__indent_count;this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count}};OutputLine.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count};OutputLine.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count);e.__items=this.__items.slice(this.__wrap_point_index);this.__items=this.__items.slice(0,this.__wrap_point_index);e.__character_count+=this.__character_count-this.__wrap_point_character_count;this.__character_count=this.__wrap_point_character_count;if(e.__items[0]===" "){e.__items.splice(0,1);e.__character_count-=1}return true}return false};OutputLine.prototype.is_empty=function(){return this.__items.length===0};OutputLine.prototype.last=function(){if(!this.is_empty()){return this.__items[this.__items.length-1]}else{return null}};OutputLine.prototype.push=function(e){this.__items.push(e);var n=e.lastIndexOf("\n");if(n!==-1){this.__character_count=e.length-n}else{this.__character_count+=e.length}};OutputLine.prototype.pop=function(){var e=null;if(!this.is_empty()){e=this.__items.pop();this.__character_count-=e.length}return e};OutputLine.prototype._remove_indent=function(){if(this.__indent_count>0){this.__indent_count-=1;this.__character_count-=this.__parent.indent_size}};OutputLine.prototype._remove_wrap_indent=function(){if(this.__wrap_point_indent_count>0){this.__wrap_point_indent_count-=1}};OutputLine.prototype.trim=function(){while(this.last()===" "){this.__items.pop();this.__character_count-=1}};OutputLine.prototype.toString=function(){var e="";if(this.is_empty()){if(this.__parent.indent_empty_lines){e=this.__parent.get_indent_string(this.__indent_count)}}else{e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count);e+=this.__items.join("")}return e};function IndentStringCache(e,n){this.__cache=[""];this.__indent_size=e.indent_size;this.__indent_string=e.indent_char;if(!e.indent_with_tabs){this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)}n=n||"";if(e.indent_level>0){n=new Array(e.indent_level+1).join(this.__indent_string)}this.__base_string=n;this.__base_string_length=n.length}IndentStringCache.prototype.get_indent_size=function(e,n){var s=this.__base_string_length;n=n||0;if(e<0){s=0}s+=e*this.__indent_size;s+=n;return s};IndentStringCache.prototype.get_indent_string=function(e,n){var s=this.__base_string;n=n||0;if(e<0){e=0;s=""}n+=e*this.__indent_size;this.__ensure_cache(n);s+=this.__cache[n];return s};IndentStringCache.prototype.__ensure_cache=function(e){while(e>=this.__cache.length){this.__add_column()}};IndentStringCache.prototype.__add_column=function(){var e=this.__cache.length;var n=0;var s="";if(this.__indent_size&&e>=this.__indent_size){n=Math.floor(e/this.__indent_size);e-=n*this.__indent_size;s=new Array(n+1).join(this.__indent_string)}if(e){s+=new Array(e+1).join(" ")}this.__cache.push(s)};function Output(e,n){this.__indent_cache=new IndentStringCache(e,n);this.raw=false;this._end_with_newline=e.end_with_newline;this.indent_size=e.indent_size;this.wrap_line_length=e.wrap_line_length;this.indent_empty_lines=e.indent_empty_lines;this.__lines=[];this.previous_line=null;this.current_line=null;this.next_line=new OutputLine(this);this.space_before_token=false;this.non_breaking_space=false;this.previous_token_wrapped=false;this.__add_outputline()}Output.prototype.__add_outputline=function(){this.previous_line=this.current_line;this.current_line=this.next_line.clone_empty();this.__lines.push(this.current_line)};Output.prototype.get_line_number=function(){return this.__lines.length};Output.prototype.get_indent_string=function(e,n){return this.__indent_cache.get_indent_string(e,n)};Output.prototype.get_indent_size=function(e,n){return this.__indent_cache.get_indent_size(e,n)};Output.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()};Output.prototype.add_new_line=function(e){if(this.is_empty()||!e&&this.just_added_newline()){return false}if(!this.raw){this.__add_outputline()}return true};Output.prototype.get_code=function(e){this.trim(true);var n=this.current_line.pop();if(n){if(n[n.length-1]==="\n"){n=n.replace(/\n+$/g,"")}this.current_line.push(n)}if(this._end_with_newline){this.__add_outputline()}var s=this.__lines.join("\n");if(e!=="\n"){s=s.replace(/[\n]/g,e)}return s};Output.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};Output.prototype.set_indent=function(e,n){e=e||0;n=n||0;this.next_line.set_indent(e,n);if(this.__lines.length>1){this.current_line.set_indent(e,n);return true}this.current_line.set_indent();return false};Output.prototype.add_raw_token=function(e){for(var n=0;n<e.newlines;n++){this.__add_outputline()}this.current_line.set_indent(-1);this.current_line.push(e.whitespace_before);this.current_line.push(e.text);this.space_before_token=false;this.non_breaking_space=false;this.previous_token_wrapped=false};Output.prototype.add_token=function(e){this.__add_space_before_token();this.current_line.push(e);this.space_before_token=false;this.non_breaking_space=false;this.previous_token_wrapped=this.current_line._allow_wrap()};Output.prototype.__add_space_before_token=function(){if(this.space_before_token&&!this.just_added_newline()){if(!this.non_breaking_space){this.set_wrap_point()}this.current_line.push(" ")}};Output.prototype.remove_indent=function(e){var n=this.__lines.length;while(e<n){this.__lines[e]._remove_indent();e++}this.current_line._remove_wrap_indent()};Output.prototype.trim=function(e){e=e===undefined?false:e;this.current_line.trim();while(e&&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};Output.prototype.just_added_newline=function(){return this.current_line.is_empty()};Output.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()};Output.prototype.ensure_empty_line_above=function(e,n){var s=this.__lines.length-2;while(s>=0){var i=this.__lines[s];if(i.is_empty()){break}else if(i.item(0).indexOf(e)!==0&&i.item(-1)!==n){this.__lines.splice(s+1,0,new OutputLine(this));this.previous_line=this.__lines[this.__lines.length-2];break}s--}};e.exports.k=Output},52795:function(e){"use strict";function Pattern(e,n){this._input=e;this._starting_pattern=null;this._match_pattern=null;this._until_pattern=null;this._until_after=false;if(n){this._starting_pattern=this._input.get_regexp(n._starting_pattern,true);this._match_pattern=this._input.get_regexp(n._match_pattern,true);this._until_pattern=this._input.get_regexp(n._until_pattern);this._until_after=n._until_after}}Pattern.prototype.read=function(){var e=this._input.read(this._starting_pattern);if(!this._starting_pattern||e){e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)}return e};Pattern.prototype.read_match=function(){return this._input.match(this._match_pattern)};Pattern.prototype.until_after=function(e){var n=this._create();n._until_after=true;n._until_pattern=this._input.get_regexp(e);n._update();return n};Pattern.prototype.until=function(e){var n=this._create();n._until_after=false;n._until_pattern=this._input.get_regexp(e);n._update();return n};Pattern.prototype.starting_with=function(e){var n=this._create();n._starting_pattern=this._input.get_regexp(e,true);n._update();return n};Pattern.prototype.matching=function(e){var n=this._create();n._match_pattern=this._input.get_regexp(e,true);n._update();return n};Pattern.prototype._create=function(){return new Pattern(this._input,this)};Pattern.prototype._update=function(){};e.exports.z=Pattern},37610:function(e,n,s){"use strict";var i=s(52795).z;var a={django:false,erb:false,handlebars:false,php:false,smarty:false,angular:false};function TemplatablePattern(e,n){i.call(this,e,n);this.__template_pattern=null;this._disabled=Object.assign({},a);this._excluded=Object.assign({},a);if(n){this.__template_pattern=this._input.get_regexp(n.__template_pattern);this._excluded=Object.assign(this._excluded,n._excluded);this._disabled=Object.assign(this._disabled,n._disabled)}var s=new i(e);this.__patterns={handlebars_comment:s.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:s.starting_with(/{{{/).until_after(/}}}/),handlebars:s.starting_with(/{{/).until_after(/}}/),php:s.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:s.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:s.starting_with(/{%/).until_after(/%}/),django_value:s.starting_with(/{{/).until_after(/}}/),django_comment:s.starting_with(/{#/).until_after(/#}/),smarty:s.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:s.starting_with(/{\*/).until_after(/\*}/),smarty_literal:s.starting_with(/{literal}/).until_after(/{\/literal}/)}}TemplatablePattern.prototype=new i;TemplatablePattern.prototype._create=function(){return new TemplatablePattern(this._input,this)};TemplatablePattern.prototype._update=function(){this.__set_templated_pattern()};TemplatablePattern.prototype.disable=function(e){var n=this._create();n._disabled[e]=true;n._update();return n};TemplatablePattern.prototype.read_options=function(e){var n=this._create();for(var s in a){n._disabled[s]=e.templating.indexOf(s)===-1}n._update();return n};TemplatablePattern.prototype.exclude=function(e){var n=this._create();n._excluded[e]=true;n._update();return n};TemplatablePattern.prototype.read=function(){var e="";if(this._match_pattern){e=this._input.read(this._starting_pattern)}else{e=this._input.read(this._starting_pattern,this.__template_pattern)}var n=this._read_template();while(n){if(this._match_pattern){n+=this._input.read(this._match_pattern)}else{n+=this._input.readUntil(this.__template_pattern)}e+=n;n=this._read_template()}if(this._until_after){e+=this._input.readUntilAfter(this._until_pattern)}return e};TemplatablePattern.prototype.__set_templated_pattern=function(){var e=[];if(!this._disabled.php){e.push(this.__patterns.php._starting_pattern.source)}if(!this._disabled.handlebars){e.push(this.__patterns.handlebars._starting_pattern.source)}if(!this._disabled.erb){e.push(this.__patterns.erb._starting_pattern.source)}if(!this._disabled.django){e.push(this.__patterns.django._starting_pattern.source);e.push(this.__patterns.django_value._starting_pattern.source);e.push(this.__patterns.django_comment._starting_pattern.source)}if(!this._disabled.smarty){e.push(this.__patterns.smarty._starting_pattern.source)}if(this._until_pattern){e.push(this._until_pattern.source)}this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")};TemplatablePattern.prototype._read_template=function(){var e="";var n=this._input.peek();if(n==="<"){var s=this._input.peek(1);if(!this._disabled.php&&!this._excluded.php&&s==="?"){e=e||this.__patterns.php.read()}if(!this._disabled.erb&&!this._excluded.erb&&s==="%"){e=e||this.__patterns.erb.read()}}else if(n==="{"){if(!this._disabled.handlebars&&!this._excluded.handlebars){e=e||this.__patterns.handlebars_comment.read();e=e||this.__patterns.handlebars_unescaped.read();e=e||this.__patterns.handlebars.read()}if(!this._disabled.django){if(!this._excluded.django&&!this._excluded.handlebars){e=e||this.__patterns.django_value.read()}if(!this._excluded.django){e=e||this.__patterns.django_comment.read();e=e||this.__patterns.django.read()}}if(!this._disabled.smarty){if(this._disabled.django&&this._disabled.handlebars){e=e||this.__patterns.smarty_comment.read();e=e||this.__patterns.smarty_literal.read();e=e||this.__patterns.smarty.read()}}}return e};e.exports.i=TemplatablePattern},63800:function(e){"use strict";function Token(e,n,s,i){this.type=e;this.text=n;this.comments_before=null;this.newlines=s||0;this.whitespace_before=i||"";this.parent=null;this.next=null;this.previous=null;this.opened=null;this.closed=null;this.directives=null}e.exports.o=Token},66328:function(e,n,s){"use strict";var i=s(58903).z;var a=s(63800).o;var o=s(504).e;var l=s(91132).g;var c={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"};var Tokenizer=function(e,n){this._input=new i(e);this._options=n||{};this.__tokens=null;this._patterns={};this._patterns.whitespace=new l(this._input)};Tokenizer.prototype.tokenize=function(){this._input.restart();this.__tokens=new o;this._reset();var e;var n=new a(c.START,"");var s=null;var i=[];var l=new o;while(n.type!==c.EOF){e=this._get_next_token(n,s);while(this._is_comment(e)){l.add(e);e=this._get_next_token(n,s)}if(!l.isEmpty()){e.comments_before=l;l=new o}e.parent=s;if(this._is_opening(e)){i.push(s);s=e}else if(s&&this._is_closing(e,s)){e.opened=s;s.closed=e;s=i.pop();e.parent=s}e.previous=n;n.next=e;this.__tokens.add(e);n=e}return this.__tokens};Tokenizer.prototype._is_first_token=function(){return this.__tokens.isEmpty()};Tokenizer.prototype._reset=function(){};Tokenizer.prototype._get_next_token=function(e,n){this._readWhitespace();var s=this._input.read(/.+/g);if(s){return this._create_token(c.RAW,s)}else{return this._create_token(c.EOF,"")}};Tokenizer.prototype._is_comment=function(e){return false};Tokenizer.prototype._is_opening=function(e){return false};Tokenizer.prototype._is_closing=function(e,n){return false};Tokenizer.prototype._create_token=function(e,n){var s=new a(e,n,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return s};Tokenizer.prototype._readWhitespace=function(){return this._patterns.whitespace.read()};e.exports._=Tokenizer;e.exports.C=c},504:function(e){"use strict";function TokenStream(e){this.__tokens=[];this.__tokens_length=this.__tokens.length;this.__position=0;this.__parent_token=e}TokenStream.prototype.restart=function(){this.__position=0};TokenStream.prototype.isEmpty=function(){return this.__tokens_length===0};TokenStream.prototype.hasNext=function(){return this.__position<this.__tokens_length};TokenStream.prototype.next=function(){var e=null;if(this.hasNext()){e=this.__tokens[this.__position];this.__position+=1}return e};TokenStream.prototype.peek=function(e){var n=null;e=e||0;e+=this.__position;if(e>=0&&e<this.__tokens_length){n=this.__tokens[e]}return n};TokenStream.prototype.add=function(e){if(this.__parent_token){e.parent=this.__parent_token}this.__tokens.push(e);this.__tokens_length+=1};e.exports.e=TokenStream},91132:function(e,n,s){"use strict";var i=s(52795).z;function WhitespacePattern(e,n){i.call(this,e,n);if(n){this._line_regexp=this._input.get_regexp(n._line_regexp)}else{this.__set_whitespace_patterns("","")}this.newline_count=0;this.whitespace_before_token=""}WhitespacePattern.prototype=new i;WhitespacePattern.prototype.__set_whitespace_patterns=function(e,n){e+="\\t ";n+="\\n\\r";this._match_pattern=this._input.get_regexp("["+e+n+"]+",true);this._newline_regexp=this._input.get_regexp("\\r\\n|["+n+"]")};WhitespacePattern.prototype.read=function(){this.newline_count=0;this.whitespace_before_token="";var e=this._input.read(this._match_pattern);if(e===" "){this.whitespace_before_token=" "}else if(e){var n=this.__split(this._newline_regexp,e);this.newline_count=n.length-1;this.whitespace_before_token=n[this.newline_count]}return e};WhitespacePattern.prototype.matching=function(e,n){var s=this._create();s.__set_whitespace_patterns(e,n);s._update();return s};WhitespacePattern.prototype._create=function(){return new WhitespacePattern(this._input,this)};WhitespacePattern.prototype.__split=function(e,n){e.lastIndex=0;var s=0;var i=[];var a=e.exec(n);while(a){i.push(n.substring(s,a.index));s=a.index+a[0].length;a=e.exec(n)}if(s<n.length){i.push(n.substring(s,n.length))}else{i.push("")}return i};e.exports.g=WhitespacePattern},97287:function(e,n,s){"use strict";var i=s(78979).J;var a=s(35724).k;var o=s(58903).z;var l=s(5863).D;var c=new l(/\/\*/,/\*\//);var p=/\r\n|[\r\n]/;var d=/\r\n|[\r\n]/g;var f=/\s/;var h=/(?:\s|\n)+/g;var m=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g;var y=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function Beautifier(e,n){this._source_text=e||"";this._options=new i(n);this._ch=null;this._input=null;this.NESTED_AT_RULE={page:true,"font-face":true,keyframes:true,media:true,supports:true,document:true};this.CONDITIONAL_GROUP_RULE={media:true,supports:true,document:true};this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}Beautifier.prototype.eatString=function(e){var n="";this._ch=this._input.next();while(this._ch){n+=this._ch;if(this._ch==="\\"){n+=this._input.next()}else if(e.indexOf(this._ch)!==-1||this._ch==="\n"){break}this._ch=this._input.next()}return n};Beautifier.prototype.eatWhitespace=function(e){var n=f.test(this._input.peek());var s=0;while(f.test(this._input.peek())){this._ch=this._input.next();if(e&&this._ch==="\n"){if(s===0||s<this._options.max_preserve_newlines){s++;this._output.add_new_line(true)}}}return n};Beautifier.prototype.foundNestedPseudoClass=function(){var e=0;var n=1;var s=this._input.peek(n);while(s){if(s==="{"){return true}else if(s==="("){e+=1}else if(s===")"){if(e===0){return false}e-=1}else if(s===";"||s==="}"){return false}n++;s=this._input.peek(n)}return false};Beautifier.prototype.print_string=function(e){this._output.set_indent(this._indentLevel);this._output.non_breaking_space=true;this._output.add_token(e)};Beautifier.prototype.preserveSingleSpace=function(e){if(e){this._output.space_before_token=true}};Beautifier.prototype.indent=function(){this._indentLevel++};Beautifier.prototype.outdent=function(){if(this._indentLevel>0){this._indentLevel--}};Beautifier.prototype.beautify=function(){if(this._options.disabled){return this._source_text}var e=this._source_text;var n=this._options.eol;if(n==="auto"){n="\n";if(e&&p.test(e||"")){n=e.match(p)[0]}}e=e.replace(d,"\n");var s=e.match(/^[\t ]*/)[0];this._output=new a(this._options,s);this._input=new o(e);this._indentLevel=0;this._nestedLevel=0;this._ch=null;var i=0;var l=false;var g=false;var A=false;var C=false;var _=false;var k=this._ch;var I=false;var D;var O;var L;while(true){D=this._input.read(h);O=D!=="";L=k;this._ch=this._input.next();if(this._ch==="\\"&&this._input.hasNext()){this._ch+=this._input.next()}k=this._ch;if(!this._ch){break}else if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line();this._input.back();var B=this._input.read(m);var j=c.get_directives(B);if(j&&j.ignore==="start"){B+=c.readIgnored(this._input)}this.print_string(B);this.eatWhitespace(true);this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/"){this._output.space_before_token=true;this._input.back();this.print_string(this._input.read(y));this.eatWhitespace(true)}else if(this._ch==="$"){this.preserveSingleSpace(O);this.print_string(this._ch);var R=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);if(R.match(/[ :]$/)){R=this.eatString(": ").replace(/\s+$/,"");this.print_string(R);this._output.space_before_token=true}if(i===0&&R.indexOf(":")!==-1){g=true;this.indent()}}else if(this._ch==="@"){this.preserveSingleSpace(O);if(this._input.peek()==="{"){this.print_string(this._ch+this.eatString("}"))}else{this.print_string(this._ch);var $=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);if($.match(/[ :]$/)){$=this.eatString(": ").replace(/\s+$/,"");this.print_string($);this._output.space_before_token=true}if(i===0&&$.indexOf(":")!==-1){g=true;this.indent()}else if($ in this.NESTED_AT_RULE){this._nestedLevel+=1;if($ in this.CONDITIONAL_GROUP_RULE){A=true}}else if(i===0&&!g){C=true}}}else if(this._ch==="#"&&this._input.peek()==="{"){this.preserveSingleSpace(O);this.print_string(this._ch+this.eatString("}"))}else if(this._ch==="{"){if(g){g=false;this.outdent()}C=false;if(A){A=false;l=this._indentLevel>=this._nestedLevel}else{l=this._indentLevel>=this._nestedLevel-1}if(this._options.newline_between_rules&&l){if(this._output.previous_line&&this._output.previous_line.item(-1)!=="{"){this._output.ensure_empty_line_above("/",",")}}this._output.space_before_token=true;if(this._options.brace_style==="expand"){this._output.add_new_line();this.print_string(this._ch);this.indent();this._output.set_indent(this._indentLevel)}else{if(L==="("){this._output.space_before_token=false}else if(L!==","){this.indent()}this.print_string(this._ch)}this.eatWhitespace(true);this._output.add_new_line()}else if(this._ch==="}"){this.outdent();this._output.add_new_line();if(L==="{"){this._output.trim(true)}if(g){this.outdent();g=false}this.print_string(this._ch);l=false;if(this._nestedLevel){this._nestedLevel--}this.eatWhitespace(true);this._output.add_new_line();if(this._options.newline_between_rules&&!this._output.just_added_blankline()){if(this._input.peek()!=="}"){this._output.add_new_line(true)}}if(this._input.peek()===")"){this._output.trim(true);if(this._options.brace_style==="expand"){this._output.add_new_line(true)}}}else if(this._ch===":"){for(var H=0;H<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;H++){if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[H])){I=true;break}}if((l||A)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!C&&i===0){this.print_string(":");if(!g){g=true;this._output.space_before_token=true;this.eatWhitespace(true);this.indent()}}else{if(this._input.lookBack(" ")){this._output.space_before_token=true}if(this._input.peek()===":"){this._ch=this._input.next();this.print_string("::")}else{this.print_string(":")}}}else if(this._ch==='"'||this._ch==="'"){var J=L==='"'||L==="'";this.preserveSingleSpace(J||O);this.print_string(this._ch+this.eatString(this._ch));this.eatWhitespace(true)}else if(this._ch===";"){I=false;if(i===0){if(g){this.outdent();g=false}C=false;this.print_string(this._ch);this.eatWhitespace(true);if(this._input.peek()!=="/"){this._output.add_new_line()}}else{this.print_string(this._ch);this.eatWhitespace(true);this._output.space_before_token=true}}else if(this._ch==="("){if(this._input.lookBack("url")){this.print_string(this._ch);this.eatWhitespace();i++;this.indent();this._ch=this._input.next();if(this._ch===")"||this._ch==='"'||this._ch==="'"){this._input.back()}else if(this._ch){this.print_string(this._ch+this.eatString(")"));if(i){i--;this.outdent()}}}else{var ee=false;if(this._input.lookBack("with")){ee=true}this.preserveSingleSpace(O||ee);this.print_string(this._ch);if(g&&L==="$"&&this._options.selector_separator_newline){this._output.add_new_line();_=true}else{this.eatWhitespace();i++;this.indent()}}}else if(this._ch===")"){if(i){i--;this.outdent()}if(_&&this._input.peek()===";"&&this._options.selector_separator_newline){_=false;this.outdent();this._output.add_new_line()}this.print_string(this._ch)}else if(this._ch===","){this.print_string(this._ch);this.eatWhitespace(true);if(this._options.selector_separator_newline&&(!g||_)&&i===0&&!C){this._output.add_new_line()}else{this._output.space_before_token=true}}else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!g&&i===0){if(this._options.space_around_combinator){this._output.space_before_token=true;this.print_string(this._ch);this._output.space_before_token=true}else{this.print_string(this._ch);this.eatWhitespace();if(this._ch&&f.test(this._ch)){this._ch=""}}}else if(this._ch==="]"){this.print_string(this._ch)}else if(this._ch==="["){this.preserveSingleSpace(O);this.print_string(this._ch)}else if(this._ch==="="){this.eatWhitespace();this.print_string("=");if(f.test(this._ch)){this._ch=""}}else if(this._ch==="!"&&!this._input.lookBack("\\")){this._output.space_before_token=true;this.print_string(this._ch)}else{var te=L==='"'||L==="'";this.preserveSingleSpace(te||O);this.print_string(this._ch);if(!this._output.just_added_newline()&&this._input.peek()==="\n"&&I){this._output.add_new_line()}}}var re=this._output.get_code(n);return re};e.exports.P=Beautifier},80217:function(e,n,s){"use strict";var i=s(97287).P,a=s(78979).J;function css_beautify(e,n){var s=new i(e,n);return s.beautify()}e.exports=css_beautify;e.exports.defaultOptions=function(){return new a}},78979:function(e,n,s){"use strict";var i=s(66599).JY;function Options(e){i.call(this,e,"css");this.selector_separator_newline=this._get_boolean("selector_separator_newline",true);this.newline_between_rules=this._get_boolean("newline_between_rules",true);var n=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||n;var s=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var a=0;a<s.length;a++){if(s[a]!=="expand"){this.brace_style="collapse"}else{this.brace_style=s[a]}}}Options.prototype=new i;e.exports.J=Options},85837:function(e,n,s){"use strict";var i=s(37273).J;var a=s(35724).k;var o=s(9414)._;var l=s(9414).C;var c=/\r\n|[\r\n]/;var p=/\r\n|[\r\n]/g;var Printer=function(e,n){this.indent_level=0;this.alignment_size=0;this.max_preserve_newlines=e.max_preserve_newlines;this.preserve_newlines=e.preserve_newlines;this._output=new a(e,n)};Printer.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)};Printer.prototype.set_space_before_token=function(e,n){this._output.space_before_token=e;this._output.non_breaking_space=n};Printer.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size);this._output.set_wrap_point()};Printer.prototype.add_raw_token=function(e){this._output.add_raw_token(e)};Printer.prototype.print_preserved_newlines=function(e){var n=0;if(e.type!==l.TEXT&&e.previous.type!==l.TEXT){n=e.newlines?1:0}if(this.preserve_newlines){n=e.newlines<this.max_preserve_newlines+1?e.newlines:this.max_preserve_newlines+1}for(var s=0;s<n;s++){this.print_newline(s>0)}return n!==0};Printer.prototype.traverse_whitespace=function(e){if(e.whitespace_before||e.newlines){if(!this.print_preserved_newlines(e)){this._output.space_before_token=true}return true}return false};Printer.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped};Printer.prototype.print_newline=function(e){this._output.add_new_line(e)};Printer.prototype.print_token=function(e){if(e.text){this._output.set_indent(this.indent_level,this.alignment_size);this._output.add_token(e.text)}};Printer.prototype.indent=function(){this.indent_level++};Printer.prototype.deindent=function(){if(this.indent_level>0){this.indent_level--;this._output.set_indent(this.indent_level,this.alignment_size)}};Printer.prototype.get_full_indent=function(e){e=this.indent_level+(e||0);if(e<1){return""}return this._output.get_indent_string(e)};var get_type_attribute=function(e){var n=null;var s=e.next;while(s.type!==l.EOF&&e.closed!==s){if(s.type===l.ATTRIBUTE&&s.text==="type"){if(s.next&&s.next.type===l.EQUALS&&s.next.next&&s.next.next.type===l.VALUE){n=s.next.next.text}break}s=s.next}return n};var get_custom_beautifier_name=function(e,n){var s=null;var i=null;if(!n.closed){return null}if(e==="script"){s="text/javascript"}else if(e==="style"){s="text/css"}s=get_type_attribute(n)||s;if(s.search("text/css")>-1){i="css"}else if(s.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1){i="javascript"}else if(s.search(/(text|application|dojo)\/(x-)?(html)/)>-1){i="html"}else if(s.search(/test\/null/)>-1){i="null"}return i};function in_array(e,n){return n.indexOf(e)!==-1}function TagFrame(e,n,s){this.parent=e||null;this.tag=n?n.tag_name:"";this.indent_level=s||0;this.parser_token=n||null}function TagStack(e){this._printer=e;this._current_frame=null}TagStack.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null};TagStack.prototype.record_tag=function(e){var n=new TagFrame(this._current_frame,e,this._printer.indent_level);this._current_frame=n};TagStack.prototype._try_pop_frame=function(e){var n=null;if(e){n=e.parser_token;this._printer.indent_level=e.indent_level;this._current_frame=e.parent}return n};TagStack.prototype._get_frame=function(e,n){var s=this._current_frame;while(s){if(e.indexOf(s.tag)!==-1){break}else if(n&&n.indexOf(s.tag)!==-1){s=null;break}s=s.parent}return s};TagStack.prototype.try_pop=function(e,n){var s=this._get_frame([e],n);return this._try_pop_frame(s)};TagStack.prototype.indent_to_tag=function(e){var n=this._get_frame(e);if(n){this._printer.indent_level=n.indent_level}};function Beautifier(e,n,s,a){this._source_text=e||"";n=n||{};this._js_beautify=s;this._css_beautify=a;this._tag_stack=null;var o=new i(n,"html");this._options=o;this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,"force".length)==="force";this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline";this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned";this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple";this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,"preserve".length)==="preserve";this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}Beautifier.prototype.beautify=function(){if(this._options.disabled){return this._source_text}var e=this._source_text;var n=this._options.eol;if(this._options.eol==="auto"){n="\n";if(e&&c.test(e)){n=e.match(c)[0]}}e=e.replace(p,"\n");var s=e.match(/^[\t ]*/)[0];var i={text:"",type:""};var a=new TagOpenParserToken;var d=new Printer(this._options,s);var f=new o(e,this._options).tokenize();this._tag_stack=new TagStack(d);var h=null;var m=f.next();while(m.type!==l.EOF){if(m.type===l.TAG_OPEN||m.type===l.COMMENT){h=this._handle_tag_open(d,m,a,i,f);a=h}else if(m.type===l.ATTRIBUTE||m.type===l.EQUALS||m.type===l.VALUE||m.type===l.TEXT&&!a.tag_complete){h=this._handle_inside_tag(d,m,a,i)}else if(m.type===l.TAG_CLOSE){h=this._handle_tag_close(d,m,a)}else if(m.type===l.TEXT){h=this._handle_text(d,m,a)}else if(m.type===l.CONTROL_FLOW_OPEN){h=this._handle_control_flow_open(d,m)}else if(m.type===l.CONTROL_FLOW_CLOSE){h=this._handle_control_flow_close(d,m)}else{d.add_raw_token(m)}i=h;m=f.next()}var y=d._output.get_code(n);return y};Beautifier.prototype._handle_control_flow_open=function(e,n){var s={text:n.text,type:n.type};e.set_space_before_token(n.newlines||n.whitespace_before!=="",true);if(n.newlines){e.print_preserved_newlines(n)}else{e.set_space_before_token(n.newlines||n.whitespace_before!=="",true)}e.print_token(n);e.indent();return s};Beautifier.prototype._handle_control_flow_close=function(e,n){var s={text:n.text,type:n.type};e.deindent();if(n.newlines){e.print_preserved_newlines(n)}else{e.set_space_before_token(n.newlines||n.whitespace_before!=="",true)}e.print_token(n);return s};Beautifier.prototype._handle_tag_close=function(e,n,s){var i={text:n.text,type:n.type};e.alignment_size=0;s.tag_complete=true;e.set_space_before_token(n.newlines||n.whitespace_before!=="",true);if(s.is_unformatted){e.add_raw_token(n)}else{if(s.tag_start_char==="<"){e.set_space_before_token(n.text[0]==="/",true);if(this._is_wrap_attributes_force_expand_multiline&&s.has_wrapped_attrs){e.print_newline(false)}}e.print_token(n)}if(s.indent_content&&!(s.is_unformatted||s.is_content_unformatted)){e.indent();s.indent_content=false}if(!s.is_inline_element&&!(s.is_unformatted||s.is_content_unformatted)){e.set_wrap_point()}return i};Beautifier.prototype._handle_inside_tag=function(e,n,s,i){var a=s.has_wrapped_attrs;var o={text:n.text,type:n.type};e.set_space_before_token(n.newlines||n.whitespace_before!=="",true);if(s.is_unformatted){e.add_raw_token(n)}else if(s.tag_start_char==="{"&&n.type===l.TEXT){if(e.print_preserved_newlines(n)){n.newlines=0;e.add_raw_token(n)}else{e.print_token(n)}}else{if(n.type===l.ATTRIBUTE){e.set_space_before_token(true)}else if(n.type===l.EQUALS){e.set_space_before_token(false)}else if(n.type===l.VALUE&&n.previous.type===l.EQUALS){e.set_space_before_token(false)}if(n.type===l.ATTRIBUTE&&s.tag_start_char==="<"){if(this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned){e.traverse_whitespace(n);a=a||n.newlines!==0}if(this._is_wrap_attributes_force&&s.attr_count>=this._options.wrap_attributes_min_attrs&&(i.type!==l.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)){e.print_newline(false);a=true}}e.print_token(n);a=a||e.previous_token_wrapped();s.has_wrapped_attrs=a}return o};Beautifier.prototype._handle_text=function(e,n,s){var i={text:n.text,type:"TK_CONTENT"};if(s.custom_beautifier_name){this._print_custom_beatifier_text(e,n,s)}else if(s.is_unformatted||s.is_content_unformatted){e.add_raw_token(n)}else{e.traverse_whitespace(n);e.print_token(n)}return i};Beautifier.prototype._print_custom_beatifier_text=function(e,n,s){var i=this;if(n.text!==""){var a=n.text,o,l=1,c="",p="";if(s.custom_beautifier_name==="javascript"&&typeof this._js_beautify==="function"){o=this._js_beautify}else if(s.custom_beautifier_name==="css"&&typeof this._css_beautify==="function"){o=this._css_beautify}else if(s.custom_beautifier_name==="html"){o=function(e,n){var s=new Beautifier(e,n,i._js_beautify,i._css_beautify);return s.beautify()}}if(this._options.indent_scripts==="keep"){l=0}else if(this._options.indent_scripts==="separate"){l=-e.indent_level}var d=e.get_full_indent(l);a=a.replace(/\n[ \t]*$/,"");if(s.custom_beautifier_name!=="html"&&a[0]==="<"&&a.match(/^(<!--|<!\[CDATA\[)/)){var f=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(a);if(!f){e.add_raw_token(n);return}c=d+f[1]+"\n";a=f[4];if(f[5]){p=d+f[5]}a=a.replace(/\n[ \t]*$/,"");if(f[2]||f[3].indexOf("\n")!==-1){f=f[3].match(/[ \t]+$/);if(f){n.whitespace_before=f[0]}}}if(a){if(o){var Child_options=function(){this.eol="\n"};Child_options.prototype=this._options.raw_options;var h=new Child_options;a=o(d+a,h)}else{var m=n.whitespace_before;if(m){a=a.replace(new RegExp("\n("+m+")?","g"),"\n")}a=d+a.replace(/\n/g,"\n"+d)}}if(c){if(!a){a=c+p}else{a=c+a+"\n"+p}}e.print_newline(false);if(a){n.text=a;n.whitespace_before="";n.newlines=0;e.add_raw_token(n);e.print_newline(true)}}};Beautifier.prototype._handle_tag_open=function(e,n,s,i,a){var o=this._get_tag_open_token(n);if((s.is_unformatted||s.is_content_unformatted)&&!s.is_empty_element&&n.type===l.TAG_OPEN&&!o.is_start_tag){e.add_raw_token(n);o.start_tag_token=this._tag_stack.try_pop(o.tag_name)}else{e.traverse_whitespace(n);this._set_tag_position(e,n,o,s,i);if(!o.is_inline_element){e.set_wrap_point()}e.print_token(n)}if(o.is_start_tag&&this._is_wrap_attributes_force){var c=0;var p;do{p=a.peek(c);if(p.type===l.ATTRIBUTE){o.attr_count+=1}c+=1}while(p.type!==l.EOF&&p.type!==l.TAG_CLOSE)}if(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned){o.alignment_size=n.text.length+1}if(!o.tag_complete&&!o.is_unformatted){e.alignment_size=o.alignment_size}return o};var TagOpenParserToken=function(e,n){this.parent=e||null;this.text="";this.type="TK_TAG_OPEN";this.tag_name="";this.is_inline_element=false;this.is_unformatted=false;this.is_content_unformatted=false;this.is_empty_element=false;this.is_start_tag=false;this.is_end_tag=false;this.indent_content=false;this.multiline_content=false;this.custom_beautifier_name=null;this.start_tag_token=null;this.attr_count=0;this.has_wrapped_attrs=false;this.alignment_size=0;this.tag_complete=false;this.tag_start_char="";this.tag_check="";if(!n){this.tag_complete=true}else{var s;this.tag_start_char=n.text[0];this.text=n.text;if(this.tag_start_char==="<"){s=n.text.match(/^<([^\s>]*)/);this.tag_check=s?s[1]:""}else{s=n.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/);this.tag_check=s?s[1]:"";if((n.text.startsWith("{{#>")||n.text.startsWith("{{~#>"))&&this.tag_check[0]===">"){if(this.tag_check===">"&&n.next!==null){this.tag_check=n.next.text.split(" ")[0]}else{this.tag_check=n.text.split(">")[1]}}}this.tag_check=this.tag_check.toLowerCase();if(n.type===l.COMMENT){this.tag_complete=true}this.is_start_tag=this.tag_check.charAt(0)!=="/";this.tag_name=!this.is_start_tag?this.tag_check.substr(1):this.tag_check;this.is_end_tag=!this.is_start_tag||n.closed&&n.closed.text==="/>";var i=2;if(this.tag_start_char==="{"&&this.text.length>=3){if(this.text.charAt(2)==="~"){i=3}}this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(i)))}};Beautifier.prototype._get_tag_open_token=function(e){var n=new TagOpenParserToken(this._tag_stack.get_parser_token(),e);n.alignment_size=this._options.wrap_attributes_indent_size;n.is_end_tag=n.is_end_tag||in_array(n.tag_check,this._options.void_elements);n.is_empty_element=n.tag_complete||n.is_start_tag&&n.is_end_tag;n.is_unformatted=!n.tag_complete&&in_array(n.tag_check,this._options.unformatted);n.is_content_unformatted=!n.is_empty_element&&in_array(n.tag_check,this._options.content_unformatted);n.is_inline_element=in_array(n.tag_name,this._options.inline)||this._options.inline_custom_elements&&n.tag_name.includes("-")||n.tag_start_char==="{";return n};Beautifier.prototype._set_tag_position=function(e,n,s,i,a){if(!s.is_empty_element){if(s.is_end_tag){s.start_tag_token=this._tag_stack.try_pop(s.tag_name)}else{if(this._do_optional_end_element(s)){if(!s.is_inline_element){e.print_newline(false)}}this._tag_stack.record_tag(s);if((s.tag_name==="script"||s.tag_name==="style")&&!(s.is_unformatted||s.is_content_unformatted)){s.custom_beautifier_name=get_custom_beautifier_name(s.tag_check,n)}}}if(in_array(s.tag_check,this._options.extra_liners)){e.print_newline(false);if(!e._output.just_added_blankline()){e.print_newline(true)}}if(s.is_empty_element){if(s.tag_start_char==="{"&&s.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]);s.indent_content=true;var o=e.current_line_has_match(/{{#if/);if(!o){e.print_newline(false)}}if(s.tag_name==="!--"&&a.type===l.TAG_CLOSE&&i.is_end_tag&&s.text.indexOf("\n")===-1){}else{if(!(s.is_inline_element||s.is_unformatted)){e.print_newline(false)}this._calcluate_parent_multiline(e,s)}}else if(s.is_end_tag){var c=false;c=s.start_tag_token&&s.start_tag_token.multiline_content;c=c||!s.is_inline_element&&!(i.is_inline_element||i.is_unformatted)&&!(a.type===l.TAG_CLOSE&&s.start_tag_token===i)&&a.type!=="TK_CONTENT";if(s.is_content_unformatted||s.is_unformatted){c=false}if(c){e.print_newline(false)}}else{s.indent_content=!s.custom_beautifier_name;if(s.tag_start_char==="<"){if(s.tag_name==="html"){s.indent_content=this._options.indent_inner_html}else if(s.tag_name==="head"){s.indent_content=this._options.indent_head_inner_html}else if(s.tag_name==="body"){s.indent_content=this._options.indent_body_inner_html}}if(!(s.is_inline_element||s.is_unformatted)&&(a.type!=="TK_CONTENT"||s.is_content_unformatted)){e.print_newline(false)}this._calcluate_parent_multiline(e,s)}};Beautifier.prototype._calcluate_parent_multiline=function(e,n){if(n.parent&&e._output.just_added_newline()&&!((n.is_inline_element||n.is_unformatted)&&n.parent.is_inline_element)){n.parent.multiline_content=true}};var d=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"];var f=["a","audio","del","ins","map","noscript","video"];Beautifier.prototype._do_optional_end_element=function(e){var n=null;if(e.is_empty_element||!e.is_start_tag||!e.parent){return}if(e.tag_name==="body"){n=n||this._tag_stack.try_pop("head")}else if(e.tag_name==="li"){n=n||this._tag_stack.try_pop("li",["ol","ul","menu"])}else if(e.tag_name==="dd"||e.tag_name==="dt"){n=n||this._tag_stack.try_pop("dt",["dl"]);n=n||this._tag_stack.try_pop("dd",["dl"])}else if(e.parent.tag_name==="p"&&d.indexOf(e.tag_name)!==-1){var s=e.parent.parent;if(!s||f.indexOf(s.tag_name)===-1){n=n||this._tag_stack.try_pop("p")}}else if(e.tag_name==="rp"||e.tag_name==="rt"){n=n||this._tag_stack.try_pop("rt",["ruby","rtc"]);n=n||this._tag_stack.try_pop("rp",["ruby","rtc"])}else if(e.tag_name==="optgroup"){n=n||this._tag_stack.try_pop("optgroup",["select"])}else if(e.tag_name==="option"){n=n||this._tag_stack.try_pop("option",["select","datalist","optgroup"])}else if(e.tag_name==="colgroup"){n=n||this._tag_stack.try_pop("caption",["table"])}else if(e.tag_name==="thead"){n=n||this._tag_stack.try_pop("caption",["table"]);n=n||this._tag_stack.try_pop("colgroup",["table"])}else if(e.tag_name==="tbody"||e.tag_name==="tfoot"){n=n||this._tag_stack.try_pop("caption",["table"]);n=n||this._tag_stack.try_pop("colgroup",["table"]);n=n||this._tag_stack.try_pop("thead",["table"]);n=n||this._tag_stack.try_pop("tbody",["table"])}else if(e.tag_name==="tr"){n=n||this._tag_stack.try_pop("caption",["table"]);n=n||this._tag_stack.try_pop("colgroup",["table"]);n=n||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])}else if(e.tag_name==="th"||e.tag_name==="td"){n=n||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]);n=n||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"])}e.parent=this._tag_stack.get_parser_token();return n};e.exports.P=Beautifier},89643:function(e,n,s){"use strict";var i=s(85837).P,a=s(37273).J;function style_html(e,n,s,a){var o=new i(e,n,s,a);return o.beautify()}e.exports=style_html;e.exports.defaultOptions=function(){return new a}},37273:function(e,n,s){"use strict";var i=s(66599).JY;function Options(e){i.call(this,e,"html");if(this.templating.length===1&&this.templating[0]==="auto"){this.templating=["django","erb","handlebars","php"]}this.indent_inner_html=this._get_boolean("indent_inner_html");this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",true);this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",true);this.indent_handlebars=this._get_boolean("indent_handlebars",true);this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]);this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2);this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size);this.extra_liners=this._get_array("extra_liners",["head","body","/html"]);this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]);this.inline_custom_elements=this._get_boolean("inline_custom_elements",true);this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]);this.unformatted=this._get_array("unformatted",[]);this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]);this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter");this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}Options.prototype=new i;e.exports.J=Options},9414:function(e,n,s){"use strict";var i=s(66328)._;var a=s(66328).C;var o=s(5863).D;var l=s(37610).i;var c=s(52795).z;var p={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:a.START,RAW:a.RAW,EOF:a.EOF};var d=new o(/<\!--/,/-->/);var Tokenizer=function(e,n){i.call(this,e,n);this._current_tag_name="";var s=new l(this._input).read_options(this._options);var a=new c(this._input);this.__patterns={word:s.until(/[\n\r\t <]/),word_control_flow_close_excluded:s.until(/[\n\r\t <}]/),single_quote:s.until_after(/'/),double_quote:s.until_after(/"/),attribute:s.until(/[\n\r\t =>]|\/>/),element_name:s.until(/[\n\r\t >\/]/),angular_control_flow_start:a.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:a.starting_with(/{{!--/).until_after(/--}}/),handlebars:a.starting_with(/{{/).until_after(/}}/),handlebars_open:a.until(/[\n\r\t }]/),handlebars_raw_close:a.until(/}}/),comment:a.starting_with(/<!--/).until_after(/-->/),cdata:a.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:a.starting_with(/<!\[/).until_after(/]>/),processing:a.starting_with(/<\?/).until_after(/\?>/)};if(this._options.indent_handlebars){this.__patterns.word=this.__patterns.word.exclude("handlebars");this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")}this._unformatted_content_delimiter=null;if(this._options.unformatted_content_delimiter){var o=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=a.matching(o).until_after(o)}};Tokenizer.prototype=new i;Tokenizer.prototype._is_comment=function(e){return false};Tokenizer.prototype._is_opening=function(e){return e.type===p.TAG_OPEN||e.type===p.CONTROL_FLOW_OPEN};Tokenizer.prototype._is_closing=function(e,n){return e.type===p.TAG_CLOSE&&(n&&((e.text===">"||e.text==="/>")&&n.text[0]==="<"||e.text==="}}"&&n.text[0]==="{"&&n.text[1]==="{"))||e.type===p.CONTROL_FLOW_CLOSE&&(e.text==="}"&&n.text.endsWith("{"))};Tokenizer.prototype._reset=function(){this._current_tag_name=""};Tokenizer.prototype._get_next_token=function(e,n){var s=null;this._readWhitespace();var i=this._input.peek();if(i===null){return this._create_token(p.EOF,"")}s=s||this._read_open_handlebars(i,n);s=s||this._read_attribute(i,e,n);s=s||this._read_close(i,n);s=s||this._read_control_flows(i,n);s=s||this._read_raw_content(i,e,n);s=s||this._read_content_word(i,n);s=s||this._read_comment_or_cdata(i);s=s||this._read_processing(i);s=s||this._read_open(i,n);s=s||this._create_token(p.UNKNOWN,this._input.next());return s};Tokenizer.prototype._read_comment_or_cdata=function(e){var n=null;var s=null;var i=null;if(e==="<"){var a=this._input.peek(1);if(a==="!"){s=this.__patterns.comment.read();if(s){i=d.get_directives(s);if(i&&i.ignore==="start"){s+=d.readIgnored(this._input)}}else{s=this.__patterns.cdata.read()}}if(s){n=this._create_token(p.COMMENT,s);n.directives=i}}return n};Tokenizer.prototype._read_processing=function(e){var n=null;var s=null;var i=null;if(e==="<"){var a=this._input.peek(1);if(a==="!"||a==="?"){s=this.__patterns.conditional_comment.read();s=s||this.__patterns.processing.read()}if(s){n=this._create_token(p.COMMENT,s);n.directives=i}}return n};Tokenizer.prototype._read_open=function(e,n){var s=null;var i=null;if(!n||n.type===p.CONTROL_FLOW_OPEN){if(e==="<"){s=this._input.next();if(this._input.peek()==="/"){s+=this._input.next()}s+=this.__patterns.element_name.read();i=this._create_token(p.TAG_OPEN,s)}}return i};Tokenizer.prototype._read_open_handlebars=function(e,n){var s=null;var i=null;if(!n||n.type===p.CONTROL_FLOW_OPEN){if(this._options.indent_handlebars&&e==="{"&&this._input.peek(1)==="{"){if(this._input.peek(2)==="!"){s=this.__patterns.handlebars_comment.read();s=s||this.__patterns.handlebars.read();i=this._create_token(p.COMMENT,s)}else{s=this.__patterns.handlebars_open.read();i=this._create_token(p.TAG_OPEN,s)}}}return i};Tokenizer.prototype._read_control_flows=function(e,n){var s="";var i=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars){return i}if(e==="@"){s=this.__patterns.angular_control_flow_start.read();if(s===""){return i}var a=s.endsWith("(")?1:0;var o=0;while(!(s.endsWith("{")&&a===o)){var l=this._input.next();if(l===null){break}else if(l==="("){a++}else if(l===")"){o++}s+=l}i=this._create_token(p.CONTROL_FLOW_OPEN,s)}else if(e==="}"&&n&&n.type===p.CONTROL_FLOW_OPEN){s=this._input.next();i=this._create_token(p.CONTROL_FLOW_CLOSE,s)}return i};Tokenizer.prototype._read_close=function(e,n){var s=null;var i=null;if(n&&n.type===p.TAG_OPEN){if(n.text[0]==="<"&&(e===">"||e==="/"&&this._input.peek(1)===">")){s=this._input.next();if(e==="/"){s+=this._input.next()}i=this._create_token(p.TAG_CLOSE,s)}else if(n.text[0]==="{"&&e==="}"&&this._input.peek(1)==="}"){this._input.next();this._input.next();i=this._create_token(p.TAG_CLOSE,"}}")}}return i};Tokenizer.prototype._read_attribute=function(e,n,s){var i=null;var a="";if(s&&s.text[0]==="<"){if(e==="="){i=this._create_token(p.EQUALS,this._input.next())}else if(e==='"'||e==="'"){var o=this._input.next();if(e==='"'){o+=this.__patterns.double_quote.read()}else{o+=this.__patterns.single_quote.read()}i=this._create_token(p.VALUE,o)}else{a=this.__patterns.attribute.read();if(a){if(n.type===p.EQUALS){i=this._create_token(p.VALUE,a)}else{i=this._create_token(p.ATTRIBUTE,a)}}}}return i};Tokenizer.prototype._is_content_unformatted=function(e){return this._options.void_elements.indexOf(e)===-1&&(this._options.content_unformatted.indexOf(e)!==-1||this._options.unformatted.indexOf(e)!==-1)};Tokenizer.prototype._read_raw_content=function(e,n,s){var i="";if(s&&s.text[0]==="{"){i=this.__patterns.handlebars_raw_close.read()}else if(n.type===p.TAG_CLOSE&&n.opened.text[0]==="<"&&n.text[0]!=="/"){var a=n.opened.text.substr(1).toLowerCase();if(a==="script"||a==="style"){var o=this._read_comment_or_cdata(e);if(o){o.type=p.TEXT;return o}i=this._input.readUntil(new RegExp("</"+a+"[\\n\\r\\t ]*?>","ig"))}else if(this._is_content_unformatted(a)){i=this._input.readUntil(new RegExp("</"+a+"[\\n\\r\\t ]*?>","ig"))}}if(i){return this._create_token(p.TEXT,i)}return null};Tokenizer.prototype._read_content_word=function(e,n){var s="";if(this._options.unformatted_content_delimiter){if(e===this._options.unformatted_content_delimiter[0]){s=this.__patterns.unformatted_content_delimiter.read()}}if(!s){s=n&&n.type===p.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()}if(s){return this._create_token(p.TEXT,s)}};e.exports._=Tokenizer;e.exports.C=p},84609:function(e,n,s){"use strict";var i=s(94465);var a=s(80217);var o=s(89643);function style_html(e,n,s,l){s=s||i;l=l||a;return o(e,n,s,l)}style_html.defaultOptions=o.defaultOptions;e.exports.js=i;e.exports.css=a;e.exports.html=style_html},12972:function(e,n){"use strict";var s="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a";var i="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a";var a="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc";var o="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f";var l="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}";var c="(?:"+l+"|["+s+a+"])";var p="(?:"+l+"|["+i+a+o+"])*";n.identifier=new RegExp(c+p,"g");n.identifierStart=new RegExp(c);n.identifierMatch=new RegExp("(?:"+l+"|["+i+a+o+"])+");var d=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;n.newline=/[\n\r\u2028\u2029]/;n.lineBreak=new RegExp("\r\n|"+n.newline.source);n.allLineBreaks=new RegExp(n.lineBreak.source,"g")},70063:function(e,n,s){"use strict";var i=s(35724).k;var a=s(63800).o;var o=s(12972);var l=s(71931).J;var c=s(22804)._F;var p=s(22804).O0;var d=s(22804).OK;var f=s(22804).CV;function in_array(e,n){return n.indexOf(e)!==-1}function ltrim(e){return e.replace(/^\s+/g,"")}function generateMapFromStrings(e){var n={};for(var s=0;s<e.length;s++){n[e[s].replace(/-/g,"_")]=e[s]}return n}function reserved_word(e,n){return e&&e.type===f.RESERVED&&e.text===n}function reserved_array(e,n){return e&&e.type===f.RESERVED&&in_array(e.text,n)}var h=["case","return","do","if","throw","else","await","break","continue","async"];var m=["before-newline","after-newline","preserve-newline"];var y=generateMapFromStrings(m);var g=[y.before_newline,y.preserve_newline];var A={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function remove_redundant_indentation(e,n){if(n.multiline_frame||n.mode===A.ForInitializer||n.mode===A.Conditional){return}e.remove_indent(n.start_line_index)}function split_linebreaks(e){e=e.replace(o.allLineBreaks,"\n");var n=[],s=e.indexOf("\n");while(s!==-1){n.push(e.substring(0,s));e=e.substring(s+1);s=e.indexOf("\n")}if(e.length){n.push(e)}return n}function is_array(e){return e===A.ArrayLiteral}function is_expression(e){return in_array(e,[A.Expression,A.ForInitializer,A.Conditional])}function all_lines_start_with(e,n){for(var s=0;s<e.length;s++){var i=e[s].trim();if(i.charAt(0)!==n){return false}}return true}function each_line_matches_indent(e,n){var s=0,i=e.length,a;for(;s<i;s++){a=e[s];if(a&&a.indexOf(n)!==0){return false}}return true}function Beautifier(e,n){n=n||{};this._source_text=e||"";this._output=null;this._tokens=null;this._last_last_text=null;this._flags=null;this._previous_flags=null;this._flag_store=null;this._options=new l(n)}Beautifier.prototype.create_flags=function(e,n){var s=0;if(e){s=e.indentation_level;if(!this._output.just_added_newline()&&e.line_indent_level>s){s=e.line_indent_level}}var i={mode:n,parent:e,last_token:e?e.last_token:new a(f.START_BLOCK,""),last_word:e?e.last_word:"",declaration_statement:false,declaration_assignment:false,multiline_frame:false,inline_frame:false,if_block:false,else_block:false,class_start_block:false,do_block:false,do_while:false,import_block:false,in_case_statement:false,in_case:false,case_body:false,case_block:false,indentation_level:s,alignment:0,line_indent_level:e?e.line_indent_level:s,start_line_index:this._output.get_line_number(),ternary_depth:0};return i};Beautifier.prototype._reset=function(e){var n=e.match(/^[\t ]*/)[0];this._last_last_text="";this._output=new i(this._options,n);this._output.raw=this._options.test_output_raw;this._flag_store=[];this.set_mode(A.BlockStatement);var s=new c(e,this._options);this._tokens=s.tokenize();return e};Beautifier.prototype.beautify=function(){if(this._options.disabled){return this._source_text}var e;var n=this._reset(this._source_text);var s=this._options.eol;if(this._options.eol==="auto"){s="\n";if(n&&o.lineBreak.test(n||"")){s=n.match(o.lineBreak)[0]}}var i=this._tokens.next();while(i){this.handle_token(i);this._last_last_text=this._flags.last_token.text;this._flags.last_token=i;i=this._tokens.next()}e=this._output.get_code(s);return e};Beautifier.prototype.handle_token=function(e,n){if(e.type===f.START_EXPR){this.handle_start_expr(e)}else if(e.type===f.END_EXPR){this.handle_end_expr(e)}else if(e.type===f.START_BLOCK){this.handle_start_block(e)}else if(e.type===f.END_BLOCK){this.handle_end_block(e)}else if(e.type===f.WORD){this.handle_word(e)}else if(e.type===f.RESERVED){this.handle_word(e)}else if(e.type===f.SEMICOLON){this.handle_semicolon(e)}else if(e.type===f.STRING){this.handle_string(e)}else if(e.type===f.EQUALS){this.handle_equals(e)}else if(e.type===f.OPERATOR){this.handle_operator(e)}else if(e.type===f.COMMA){this.handle_comma(e)}else if(e.type===f.BLOCK_COMMENT){this.handle_block_comment(e,n)}else if(e.type===f.COMMENT){this.handle_comment(e,n)}else if(e.type===f.DOT){this.handle_dot(e)}else if(e.type===f.EOF){this.handle_eof(e)}else if(e.type===f.UNKNOWN){this.handle_unknown(e,n)}else{this.handle_unknown(e,n)}};Beautifier.prototype.handle_whitespace_and_comments=function(e,n){var s=e.newlines;var i=this._options.keep_array_indentation&&is_array(this._flags.mode);if(e.comments_before){var a=e.comments_before.next();while(a){this.handle_whitespace_and_comments(a,n);this.handle_token(a,n);a=e.comments_before.next()}}if(i){for(var o=0;o<s;o+=1){this.print_newline(o>0,n)}}else{if(this._options.max_preserve_newlines&&s>this._options.max_preserve_newlines){s=this._options.max_preserve_newlines}if(this._options.preserve_newlines){if(s>1){this.print_newline(false,n);for(var l=1;l<s;l+=1){this.print_newline(true,n)}}}}};var C=["async","break","continue","return","throw","yield"];Beautifier.prototype.allow_wrap_or_preserved_newline=function(e,n){n=n===undefined?false:n;if(this._output.just_added_newline()){return}var s=this._options.preserve_newlines&&e.newlines||n;var i=in_array(this._flags.last_token.text,d)||in_array(e.text,d);if(i){var a=in_array(this._flags.last_token.text,d)&&in_array(this._options.operator_position,g)||in_array(e.text,d);s=s&&a}if(s){this.print_newline(false,true)}else if(this._options.wrap_line_length){if(reserved_array(this._flags.last_token,C)){return}this._output.set_wrap_point()}};Beautifier.prototype.print_newline=function(e,n){if(!n){if(this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==f.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")){var s=this._tokens.peek();while(this._flags.mode===A.Statement&&!(this._flags.if_block&&reserved_word(s,"else"))&&!this._flags.do_block){this.restore_mode()}}}if(this._output.add_new_line(e)){this._flags.multiline_frame=true}};Beautifier.prototype.print_token_line_indentation=function(e){if(this._output.just_added_newline()){if(this._options.keep_array_indentation&&e.newlines&&(e.text==="["||is_array(this._flags.mode))){this._output.current_line.set_indent(-1);this._output.current_line.push(e.whitespace_before);this._output.space_before_token=false}else if(this._output.set_indent(this._flags.indentation_level,this._flags.alignment)){this._flags.line_indent_level=this._flags.indentation_level}}};Beautifier.prototype.print_token=function(e){if(this._output.raw){this._output.add_raw_token(e);return}if(this._options.comma_first&&e.previous&&e.previous.type===f.COMMA&&this._output.just_added_newline()){if(this._output.previous_line.last()===","){var n=this._output.previous_line.pop();if(this._output.previous_line.is_empty()){this._output.previous_line.push(n);this._output.trim(true);this._output.current_line.pop();this._output.trim()}this.print_token_line_indentation(e);this._output.add_token(",");this._output.space_before_token=true}}this.print_token_line_indentation(e);this._output.non_breaking_space=true;this._output.add_token(e.text);if(this._output.previous_token_wrapped){this._flags.multiline_frame=true}};Beautifier.prototype.indent=function(){this._flags.indentation_level+=1;this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};Beautifier.prototype.deindent=function(){if(this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)){this._flags.indentation_level-=1;this._output.set_indent(this._flags.indentation_level,this._flags.alignment)}};Beautifier.prototype.set_mode=function(e){if(this._flags){this._flag_store.push(this._flags);this._previous_flags=this._flags}else{this._previous_flags=this.create_flags(null,e)}this._flags=this.create_flags(this._previous_flags,e);this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};Beautifier.prototype.restore_mode=function(){if(this._flag_store.length>0){this._previous_flags=this._flags;this._flags=this._flag_store.pop();if(this._previous_flags.mode===A.Statement){remove_redundant_indentation(this._output,this._previous_flags)}this._output.set_indent(this._flags.indentation_level,this._flags.alignment)}};Beautifier.prototype.start_of_object_property=function(){return this._flags.parent.mode===A.ObjectLiteral&&this._flags.mode===A.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||reserved_array(this._flags.last_token,["get","set"]))};Beautifier.prototype.start_of_statement=function(e){var n=false;n=n||reserved_array(this._flags.last_token,["var","let","const"])&&e.type===f.WORD;n=n||reserved_word(this._flags.last_token,"do");n=n||!(this._flags.parent.mode===A.ObjectLiteral&&this._flags.mode===A.Statement)&&reserved_array(this._flags.last_token,C)&&!e.newlines;n=n||reserved_word(this._flags.last_token,"else")&&!(reserved_word(e,"if")&&!e.comments_before);n=n||this._flags.last_token.type===f.END_EXPR&&(this._previous_flags.mode===A.ForInitializer||this._previous_flags.mode===A.Conditional);n=n||this._flags.last_token.type===f.WORD&&this._flags.mode===A.BlockStatement&&!this._flags.in_case&&!(e.text==="--"||e.text==="++")&&this._last_last_text!=="function"&&e.type!==f.WORD&&e.type!==f.RESERVED;n=n||this._flags.mode===A.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||reserved_array(this._flags.last_token,["get","set"]));if(n){this.set_mode(A.Statement);this.indent();this.handle_whitespace_and_comments(e,true);if(!this.start_of_object_property()){this.allow_wrap_or_preserved_newline(e,reserved_array(e,["do","for","if","while"]))}return true}return false};Beautifier.prototype.handle_start_expr=function(e){if(!this.start_of_statement(e)){this.handle_whitespace_and_comments(e)}var n=A.Expression;if(e.text==="["){if(this._flags.last_token.type===f.WORD||this._flags.last_token.text===")"){if(reserved_array(this._flags.last_token,p)){this._output.space_before_token=true}this.print_token(e);this.set_mode(n);this.indent();if(this._options.space_in_paren){this._output.space_before_token=true}return}n=A.ArrayLiteral;if(is_array(this._flags.mode)){if(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}")){if(!this._options.keep_array_indentation){this.print_newline()}}}if(!in_array(this._flags.last_token.type,[f.START_EXPR,f.END_EXPR,f.WORD,f.OPERATOR,f.DOT])){this._output.space_before_token=true}}else{if(this._flags.last_token.type===f.RESERVED){if(this._flags.last_token.text==="for"){this._output.space_before_token=this._options.space_before_conditional;n=A.ForInitializer}else if(in_array(this._flags.last_token.text,["if","while","switch"])){this._output.space_before_token=this._options.space_before_conditional;n=A.Conditional}else if(in_array(this._flags.last_word,["await","async"])){this._output.space_before_token=true}else if(this._flags.last_token.text==="import"&&e.whitespace_before===""){this._output.space_before_token=false}else if(in_array(this._flags.last_token.text,p)||this._flags.last_token.text==="catch"){this._output.space_before_token=true}}else if(this._flags.last_token.type===f.EQUALS||this._flags.last_token.type===f.OPERATOR){if(!this.start_of_object_property()){this.allow_wrap_or_preserved_newline(e)}}else if(this._flags.last_token.type===f.WORD){this._output.space_before_token=false;var s=this._tokens.peek(-3);if(this._options.space_after_named_function&&s){var i=this._tokens.peek(-4);if(reserved_array(s,["async","function"])||s.text==="*"&&reserved_array(i,["async","function"])){this._output.space_before_token=true}else if(this._flags.mode===A.ObjectLiteral){if(s.text==="{"||s.text===","||s.text==="*"&&(i.text==="{"||i.text===",")){this._output.space_before_token=true}}else if(this._flags.parent&&this._flags.parent.class_start_block){this._output.space_before_token=true}}}else{this.allow_wrap_or_preserved_newline(e)}if(this._flags.last_token.type===f.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(in_array(this._last_last_text,["function","yield"])||this._flags.mode===A.ObjectLiteral&&in_array(this._last_last_text,["{",","]))){this._output.space_before_token=this._options.space_after_anon_function}}if(this._flags.last_token.text===";"||this._flags.last_token.type===f.START_BLOCK){this.print_newline()}else if(this._flags.last_token.type===f.END_EXPR||this._flags.last_token.type===f.START_EXPR||this._flags.last_token.type===f.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===f.COMMA){this.allow_wrap_or_preserved_newline(e,e.newlines)}this.print_token(e);this.set_mode(n);if(this._options.space_in_paren){this._output.space_before_token=true}this.indent()};Beautifier.prototype.handle_end_expr=function(e){while(this._flags.mode===A.Statement){this.restore_mode()}this.handle_whitespace_and_comments(e);if(this._flags.multiline_frame){this.allow_wrap_or_preserved_newline(e,e.text==="]"&&is_array(this._flags.mode)&&!this._options.keep_array_indentation)}if(this._options.space_in_paren){if(this._flags.last_token.type===f.START_EXPR&&!this._options.space_in_empty_paren){this._output.trim();this._output.space_before_token=false}else{this._output.space_before_token=true}}this.deindent();this.print_token(e);this.restore_mode();remove_redundant_indentation(this._output,this._previous_flags);if(this._flags.do_while&&this._previous_flags.mode===A.Conditional){this._previous_flags.mode=A.Expression;this._flags.do_block=false;this._flags.do_while=false}};Beautifier.prototype.handle_start_block=function(e){this.handle_whitespace_and_comments(e);var n=this._tokens.peek();var s=this._tokens.peek(1);if(this._flags.last_word==="switch"&&this._flags.last_token.type===f.END_EXPR){this.set_mode(A.BlockStatement);this._flags.in_case_statement=true}else if(this._flags.case_body){this.set_mode(A.BlockStatement)}else if(s&&(in_array(s.text,[":",","])&&in_array(n.type,[f.STRING,f.WORD,f.RESERVED])||in_array(n.text,["get","set","..."])&&in_array(s.type,[f.WORD,f.RESERVED]))){if(in_array(this._last_last_text,["class","interface"])&&!in_array(s.text,[":",","])){this.set_mode(A.BlockStatement)}else{this.set_mode(A.ObjectLiteral)}}else if(this._flags.last_token.type===f.OPERATOR&&this._flags.last_token.text==="=>"){this.set_mode(A.BlockStatement)}else if(in_array(this._flags.last_token.type,[f.EQUALS,f.START_EXPR,f.COMMA,f.OPERATOR])||reserved_array(this._flags.last_token,["return","throw","import","default"])){this.set_mode(A.ObjectLiteral)}else{this.set_mode(A.BlockStatement)}if(this._flags.last_token){if(reserved_array(this._flags.last_token.previous,["class","extends"])){this._flags.class_start_block=true}}var i=!n.comments_before&&n.text==="}";var a=i&&this._flags.last_word==="function"&&this._flags.last_token.type===f.END_EXPR;if(this._options.brace_preserve_inline){var o=0;var l=null;this._flags.inline_frame=true;do{o+=1;l=this._tokens.peek(o-1);if(l.newlines){this._flags.inline_frame=false;break}}while(l.type!==f.EOF&&!(l.type===f.END_BLOCK&&l.opened===e))}if((this._options.brace_style==="expand"||this._options.brace_style==="none"&&e.newlines)&&!this._flags.inline_frame){if(this._flags.last_token.type!==f.OPERATOR&&(a||this._flags.last_token.type===f.EQUALS||reserved_array(this._flags.last_token,h)&&this._flags.last_token.text!=="else")){this._output.space_before_token=true}else{this.print_newline(false,true)}}else{if(is_array(this._previous_flags.mode)&&(this._flags.last_token.type===f.START_EXPR||this._flags.last_token.type===f.COMMA)){if(this._flags.last_token.type===f.COMMA||this._options.space_in_paren){this._output.space_before_token=true}if(this._flags.last_token.type===f.COMMA||this._flags.last_token.type===f.START_EXPR&&this._flags.inline_frame){this.allow_wrap_or_preserved_newline(e);this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame;this._flags.multiline_frame=false}}if(this._flags.last_token.type!==f.OPERATOR&&this._flags.last_token.type!==f.START_EXPR){if(in_array(this._flags.last_token.type,[f.START_BLOCK,f.SEMICOLON])&&!this._flags.inline_frame){this.print_newline()}else{this._output.space_before_token=true}}}this.print_token(e);this.indent();if(!i&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)){this.print_newline()}};Beautifier.prototype.handle_end_block=function(e){this.handle_whitespace_and_comments(e);while(this._flags.mode===A.Statement){this.restore_mode()}var n=this._flags.last_token.type===f.START_BLOCK;if(this._flags.inline_frame&&!n){this._output.space_before_token=true}else if(this._options.brace_style==="expand"){if(!n){this.print_newline()}}else{if(!n){if(is_array(this._flags.mode)&&this._options.keep_array_indentation){this._options.keep_array_indentation=false;this.print_newline();this._options.keep_array_indentation=true}else{this.print_newline()}}}this.restore_mode();this.print_token(e)};Beautifier.prototype.handle_word=function(e){if(e.type===f.RESERVED){if(in_array(e.text,["set","get"])&&this._flags.mode!==A.ObjectLiteral){e.type=f.WORD}else if(e.text==="import"&&in_array(this._tokens.peek().text,["(","."])){e.type=f.WORD}else if(in_array(e.text,["as","from"])&&!this._flags.import_block){e.type=f.WORD}else if(this._flags.mode===A.ObjectLiteral){var n=this._tokens.peek();if(n.text===":"){e.type=f.WORD}}}if(this.start_of_statement(e)){if(reserved_array(this._flags.last_token,["var","let","const"])&&e.type===f.WORD){this._flags.declaration_statement=true}}else if(e.newlines&&!is_expression(this._flags.mode)&&(this._flags.last_token.type!==f.OPERATOR||(this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))&&this._flags.last_token.type!==f.EQUALS&&(this._options.preserve_newlines||!reserved_array(this._flags.last_token,["var","let","const","set","get"]))){this.handle_whitespace_and_comments(e);this.print_newline()}else{this.handle_whitespace_and_comments(e)}if(this._flags.do_block&&!this._flags.do_while){if(reserved_word(e,"while")){this._output.space_before_token=true;this.print_token(e);this._output.space_before_token=true;this._flags.do_while=true;return}else{this.print_newline();this._flags.do_block=false}}if(this._flags.if_block){if(!this._flags.else_block&&reserved_word(e,"else")){this._flags.else_block=true}else{while(this._flags.mode===A.Statement){this.restore_mode()}this._flags.if_block=false;this._flags.else_block=false}}if(this._flags.in_case_statement&&reserved_array(e,["case","default"])){this.print_newline();if(!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)){this.deindent()}this._flags.case_body=false;this.print_token(e);this._flags.in_case=true;return}if(this._flags.last_token.type===f.COMMA||this._flags.last_token.type===f.START_EXPR||this._flags.last_token.type===f.EQUALS||this._flags.last_token.type===f.OPERATOR){if(!this.start_of_object_property()&&!(in_array(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===A.ObjectLiteral)){this.allow_wrap_or_preserved_newline(e)}}if(reserved_word(e,"function")){if(in_array(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(in_array(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===f.OPERATOR)){if(!this._output.just_added_blankline()&&!e.comments_before){this.print_newline();this.print_newline(true)}}if(this._flags.last_token.type===f.RESERVED||this._flags.last_token.type===f.WORD){if(reserved_array(this._flags.last_token,["get","set","new","export"])||reserved_array(this._flags.last_token,C)){this._output.space_before_token=true}else if(reserved_word(this._flags.last_token,"default")&&this._last_last_text==="export"){this._output.space_before_token=true}else if(this._flags.last_token.text==="declare"){this._output.space_before_token=true}else{this.print_newline()}}else if(this._flags.last_token.type===f.OPERATOR||this._flags.last_token.text==="="){this._output.space_before_token=true}else if(!this._flags.multiline_frame&&(is_expression(this._flags.mode)||is_array(this._flags.mode))){}else{this.print_newline()}this.print_token(e);this._flags.last_word=e.text;return}var s="NONE";if(this._flags.last_token.type===f.END_BLOCK){if(this._previous_flags.inline_frame){s="SPACE"}else if(!reserved_array(e,["else","catch","finally","from"])){s="NEWLINE"}else{if(this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&e.newlines){s="NEWLINE"}else{s="SPACE";this._output.space_before_token=true}}}else if(this._flags.last_token.type===f.SEMICOLON&&this._flags.mode===A.BlockStatement){s="NEWLINE"}else if(this._flags.last_token.type===f.SEMICOLON&&is_expression(this._flags.mode)){s="SPACE"}else if(this._flags.last_token.type===f.STRING){s="NEWLINE"}else if(this._flags.last_token.type===f.RESERVED||this._flags.last_token.type===f.WORD||this._flags.last_token.text==="*"&&(in_array(this._last_last_text,["function","yield"])||this._flags.mode===A.ObjectLiteral&&in_array(this._last_last_text,["{",","]))){s="SPACE"}else if(this._flags.last_token.type===f.START_BLOCK){if(this._flags.inline_frame){s="SPACE"}else{s="NEWLINE"}}else if(this._flags.last_token.type===f.END_EXPR){this._output.space_before_token=true;s="NEWLINE"}if(reserved_array(e,p)&&this._flags.last_token.text!==")"){if(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"){s="SPACE"}else{s="NEWLINE"}}if(reserved_array(e,["else","catch","finally"])){if((!(this._flags.last_token.type===f.END_BLOCK&&this._previous_flags.mode===A.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&e.newlines)&&!this._flags.inline_frame){this.print_newline()}else{this._output.trim(true);var i=this._output.current_line;if(i.last()!=="}"){this.print_newline()}this._output.space_before_token=true}}else if(s==="NEWLINE"){if(reserved_array(this._flags.last_token,h)){this._output.space_before_token=true}else if(this._flags.last_token.text==="declare"&&reserved_array(e,["var","let","const"])){this._output.space_before_token=true}else if(this._flags.last_token.type!==f.END_EXPR){if((this._flags.last_token.type!==f.START_EXPR||!reserved_array(e,["var","let","const"]))&&this._flags.last_token.text!==":"){if(reserved_word(e,"if")&&reserved_word(e.previous,"else")){this._output.space_before_token=true}else{this.print_newline()}}}else if(reserved_array(e,p)&&this._flags.last_token.text!==")"){this.print_newline()}}else if(this._flags.multiline_frame&&is_array(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"){this.print_newline()}else if(s==="SPACE"){this._output.space_before_token=true}if(e.previous&&(e.previous.type===f.WORD||e.previous.type===f.RESERVED)){this._output.space_before_token=true}this.print_token(e);this._flags.last_word=e.text;if(e.type===f.RESERVED){if(e.text==="do"){this._flags.do_block=true}else if(e.text==="if"){this._flags.if_block=true}else if(e.text==="import"){this._flags.import_block=true}else if(this._flags.import_block&&reserved_word(e,"from")){this._flags.import_block=false}}};Beautifier.prototype.handle_semicolon=function(e){if(this.start_of_statement(e)){this._output.space_before_token=false}else{this.handle_whitespace_and_comments(e)}var n=this._tokens.peek();while(this._flags.mode===A.Statement&&!(this._flags.if_block&&reserved_word(n,"else"))&&!this._flags.do_block){this.restore_mode()}if(this._flags.import_block){this._flags.import_block=false}this.print_token(e)};Beautifier.prototype.handle_string=function(e){if(e.text.startsWith("`")&&e.newlines===0&&e.whitespace_before===""&&(e.previous.text===")"||this._flags.last_token.type===f.WORD)){}else if(this.start_of_statement(e)){this._output.space_before_token=true}else{this.handle_whitespace_and_comments(e);if(this._flags.last_token.type===f.RESERVED||this._flags.last_token.type===f.WORD||this._flags.inline_frame){this._output.space_before_token=true}else if(this._flags.last_token.type===f.COMMA||this._flags.last_token.type===f.START_EXPR||this._flags.last_token.type===f.EQUALS||this._flags.last_token.type===f.OPERATOR){if(!this.start_of_object_property()){this.allow_wrap_or_preserved_newline(e)}}else if(e.text.startsWith("`")&&this._flags.last_token.type===f.END_EXPR&&(e.previous.text==="]"||e.previous.text===")")&&e.newlines===0){this._output.space_before_token=true}else{this.print_newline()}}this.print_token(e)};Beautifier.prototype.handle_equals=function(e){if(this.start_of_statement(e)){}else{this.handle_whitespace_and_comments(e)}if(this._flags.declaration_statement){this._flags.declaration_assignment=true}this._output.space_before_token=true;this.print_token(e);this._output.space_before_token=true};Beautifier.prototype.handle_comma=function(e){this.handle_whitespace_and_comments(e,true);this.print_token(e);this._output.space_before_token=true;if(this._flags.declaration_statement){if(is_expression(this._flags.parent.mode)){this._flags.declaration_assignment=false}if(this._flags.declaration_assignment){this._flags.declaration_assignment=false;this.print_newline(false,true)}else if(this._options.comma_first){this.allow_wrap_or_preserved_newline(e)}}else if(this._flags.mode===A.ObjectLiteral||this._flags.mode===A.Statement&&this._flags.parent.mode===A.ObjectLiteral){if(this._flags.mode===A.Statement){this.restore_mode()}if(!this._flags.inline_frame){this.print_newline()}}else if(this._options.comma_first){this.allow_wrap_or_preserved_newline(e)}};Beautifier.prototype.handle_operator=function(e){var n=e.text==="*"&&(reserved_array(this._flags.last_token,["function","yield"])||in_array(this._flags.last_token.type,[f.START_BLOCK,f.COMMA,f.END_BLOCK,f.SEMICOLON]));var s=in_array(e.text,["-","+"])&&(in_array(this._flags.last_token.type,[f.START_BLOCK,f.START_EXPR,f.EQUALS,f.OPERATOR])||in_array(this._flags.last_token.text,p)||this._flags.last_token.text===",");if(this.start_of_statement(e)){}else{var i=!n;this.handle_whitespace_and_comments(e,i)}if(e.text==="*"&&this._flags.last_token.type===f.DOT){this.print_token(e);return}if(e.text==="::"){this.print_token(e);return}if(in_array(e.text,["-","+"])&&this.start_of_object_property()){this.print_token(e);return}if(this._flags.last_token.type===f.OPERATOR&&in_array(this._options.operator_position,g)){this.allow_wrap_or_preserved_newline(e)}if(e.text===":"&&this._flags.in_case){this.print_token(e);this._flags.in_case=false;this._flags.case_body=true;if(this._tokens.peek().type!==f.START_BLOCK){this.indent();this.print_newline();this._flags.case_block=false}else{this._flags.case_block=true;this._output.space_before_token=true}return}var a=true;var o=true;var l=false;if(e.text===":"){if(this._flags.ternary_depth===0){a=false}else{this._flags.ternary_depth-=1;l=true}}else if(e.text==="?"){this._flags.ternary_depth+=1}if(!s&&!n&&this._options.preserve_newlines&&in_array(e.text,d)){var c=e.text===":";var m=c&&l;var C=c&&!l;switch(this._options.operator_position){case y.before_newline:this._output.space_before_token=!C;this.print_token(e);if(!c||m){this.allow_wrap_or_preserved_newline(e)}this._output.space_before_token=true;return;case y.after_newline:this._output.space_before_token=true;if(!c||m){if(this._tokens.peek().newlines){this.print_newline(false,true)}else{this.allow_wrap_or_preserved_newline(e)}}else{this._output.space_before_token=false}this.print_token(e);this._output.space_before_token=true;return;case y.preserve_newline:if(!C){this.allow_wrap_or_preserved_newline(e)}a=!(this._output.just_added_newline()||C);this._output.space_before_token=a;this.print_token(e);this._output.space_before_token=true;return}}if(n){this.allow_wrap_or_preserved_newline(e);a=false;var _=this._tokens.peek();o=_&&in_array(_.type,[f.WORD,f.RESERVED])}else if(e.text==="..."){this.allow_wrap_or_preserved_newline(e);a=this._flags.last_token.type===f.START_BLOCK;o=false}else if(in_array(e.text,["--","++","!","~"])||s){if(this._flags.last_token.type===f.COMMA||this._flags.last_token.type===f.START_EXPR){this.allow_wrap_or_preserved_newline(e)}a=false;o=false;if(e.newlines&&(e.text==="--"||e.text==="++"||e.text==="~")){var k=reserved_array(this._flags.last_token,h)&&e.newlines;if(k&&(this._previous_flags.if_block||this._previous_flags.else_block)){this.restore_mode()}this.print_newline(k,true)}if(this._flags.last_token.text===";"&&is_expression(this._flags.mode)){a=true}if(this._flags.last_token.type===f.RESERVED){a=true}else if(this._flags.last_token.type===f.END_EXPR){a=!(this._flags.last_token.text==="]"&&(e.text==="--"||e.text==="++"))}else if(this._flags.last_token.type===f.OPERATOR){a=in_array(e.text,["--","-","++","+"])&&in_array(this._flags.last_token.text,["--","-","++","+"]);if(in_array(e.text,["+","-"])&&in_array(this._flags.last_token.text,["--","++"])){o=true}}if((this._flags.mode===A.BlockStatement&&!this._flags.inline_frame||this._flags.mode===A.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")){this.print_newline()}}this._output.space_before_token=this._output.space_before_token||a;this.print_token(e);this._output.space_before_token=o};Beautifier.prototype.handle_block_comment=function(e,n){if(this._output.raw){this._output.add_raw_token(e);if(e.directives&&e.directives.preserve==="end"){this._output.raw=this._options.test_output_raw}return}if(e.directives){this.print_newline(false,n);this.print_token(e);if(e.directives.preserve==="start"){this._output.raw=true}this.print_newline(false,true);return}if(!o.newline.test(e.text)&&!e.newlines){this._output.space_before_token=true;this.print_token(e);this._output.space_before_token=true;return}else{this.print_block_commment(e,n)}};Beautifier.prototype.print_block_commment=function(e,n){var s=split_linebreaks(e.text);var i;var a=false;var o=false;var l=e.whitespace_before;var c=l.length;this.print_newline(false,n);this.print_token_line_indentation(e);this._output.add_token(s[0]);this.print_newline(false,n);if(s.length>1){s=s.slice(1);a=all_lines_start_with(s,"*");o=each_line_matches_indent(s,l);if(a){this._flags.alignment=1}for(i=0;i<s.length;i++){if(a){this.print_token_line_indentation(e);this._output.add_token(ltrim(s[i]))}else if(o&&s[i]){this.print_token_line_indentation(e);this._output.add_token(s[i].substring(c))}else{this._output.current_line.set_indent(-1);this._output.add_token(s[i])}this.print_newline(false,n)}this._flags.alignment=0}};Beautifier.prototype.handle_comment=function(e,n){if(e.newlines){this.print_newline(false,n)}else{this._output.trim(true)}this._output.space_before_token=true;this.print_token(e);this.print_newline(false,n)};Beautifier.prototype.handle_dot=function(e){if(this.start_of_statement(e)){}else{this.handle_whitespace_and_comments(e,true)}if(this._flags.last_token.text.match("^[0-9]+$")){this._output.space_before_token=true}if(reserved_array(this._flags.last_token,h)){this._output.space_before_token=false}else{this.allow_wrap_or_preserved_newline(e,this._flags.last_token.text===")"&&this._options.break_chained_methods)}if(this._options.unindent_chained_methods&&this._output.just_added_newline()){this.deindent()}this.print_token(e)};Beautifier.prototype.handle_unknown=function(e,n){this.print_token(e);if(e.text[e.text.length-1]==="\n"){this.print_newline(false,n)}};Beautifier.prototype.handle_eof=function(e){while(this._flags.mode===A.Statement){this.restore_mode()}this.handle_whitespace_and_comments(e)};e.exports.P=Beautifier},94465:function(e,n,s){"use strict";var i=s(70063).P,a=s(71931).J;function js_beautify(e,n){var s=new i(e,n);return s.beautify()}e.exports=js_beautify;e.exports.defaultOptions=function(){return new a}},71931:function(e,n,s){"use strict";var i=s(66599).JY;var a=["before-newline","after-newline","preserve-newline"];function Options(e){i.call(this,e,"js");var n=this.raw_options.brace_style||null;if(n==="expand-strict"){this.raw_options.brace_style="expand"}else if(n==="collapse-preserve-inline"){this.raw_options.brace_style="collapse,preserve-inline"}else if(this.raw_options.braces_on_own_line!==undefined){this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse"}var s=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=false;this.brace_style="collapse";for(var o=0;o<s.length;o++){if(s[o]==="preserve-inline"){this.brace_preserve_inline=true}else{this.brace_style=s[o]}}this.unindent_chained_methods=this._get_boolean("unindent_chained_methods");this.break_chained_methods=this._get_boolean("break_chained_methods");this.space_in_paren=this._get_boolean("space_in_paren");this.space_in_empty_paren=this._get_boolean("space_in_empty_paren");this.jslint_happy=this._get_boolean("jslint_happy");this.space_after_anon_function=this._get_boolean("space_after_anon_function");this.space_after_named_function=this._get_boolean("space_after_named_function");this.keep_array_indentation=this._get_boolean("keep_array_indentation");this.space_before_conditional=this._get_boolean("space_before_conditional",true);this.unescape_strings=this._get_boolean("unescape_strings");this.e4x=this._get_boolean("e4x");this.comma_first=this._get_boolean("comma_first");this.operator_position=this._get_selection("operator_position",a);this.test_output_raw=this._get_boolean("test_output_raw");if(this.jslint_happy){this.space_after_anon_function=true}}Options.prototype=new i;e.exports.J=Options},22804:function(e,n,s){"use strict";var i=s(58903).z;var a=s(66328)._;var o=s(66328).C;var l=s(5863).D;var c=s(12972);var p=s(52795).z;var d=s(37610).i;function in_array(e,n){return n.indexOf(e)!==-1}var f={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF};var h=new l(/\/\*/,/\*\//);var m=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/;var y=/[0-9]/;var g=/[^\d\.]/;var A=(">>> === !== &&= ??= ||= "+"<< && >= ** != == <= >> || ?? |> "+"< / - + > : & % ? ^ | *").split(" ");var C=">>>= "+"... >>= <<= === >>> !== **= &&= ??= ||= "+"=> ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> "+"= ! ? > < : / ^ - + * & % ~ |";C=C.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&");C="\\?\\.(?!\\d) "+C;C=C.replace(/ /g,"|");var _=new RegExp(C);var k="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var I=k.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]);var D=new RegExp("^(?:"+I.join("|")+")$");var O;var Tokenizer=function(e,n){a.call(this,e,n);this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var s=new p(this._input);var i=new d(this._input).read_options(this._options);this.__patterns={template:i,identifier:i.starting_with(c.identifier).matching(c.identifierMatch),number:s.matching(m),punct:s.matching(_),comment:s.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:s.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:s.matching(/<!--/),html_comment_end:s.matching(/-->/),include:s.starting_with(/#include/).until_after(c.lineBreak),shebang:s.starting_with(/#!/).until_after(c.lineBreak),xml:s.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:i.until(/['\\\n\r\u2028\u2029]/),double_quote:i.until(/["\\\n\r\u2028\u2029]/),template_text:i.until(/[`\\$]/),template_expression:i.until(/[`}\\]/)}};Tokenizer.prototype=new a;Tokenizer.prototype._is_comment=function(e){return e.type===f.COMMENT||e.type===f.BLOCK_COMMENT||e.type===f.UNKNOWN};Tokenizer.prototype._is_opening=function(e){return e.type===f.START_BLOCK||e.type===f.START_EXPR};Tokenizer.prototype._is_closing=function(e,n){return(e.type===f.END_BLOCK||e.type===f.END_EXPR)&&(n&&(e.text==="]"&&n.text==="["||e.text===")"&&n.text==="("||e.text==="}"&&n.text==="{"))};Tokenizer.prototype._reset=function(){O=false};Tokenizer.prototype._get_next_token=function(e,n){var s=null;this._readWhitespace();var i=this._input.peek();if(i===null){return this._create_token(f.EOF,"")}s=s||this._read_non_javascript(i);s=s||this._read_string(i);s=s||this._read_pair(i,this._input.peek(1));s=s||this._read_word(e);s=s||this._read_singles(i);s=s||this._read_comment(i);s=s||this._read_regexp(i,e);s=s||this._read_xml(i,e);s=s||this._read_punctuation();s=s||this._create_token(f.UNKNOWN,this._input.next());return s};Tokenizer.prototype._read_word=function(e){var n;n=this.__patterns.identifier.read();if(n!==""){n=n.replace(c.allLineBreaks,"\n");if(!(e.type===f.DOT||e.type===f.RESERVED&&(e.text==="set"||e.text==="get"))&&D.test(n)){if((n==="in"||n==="of")&&(e.type===f.WORD||e.type===f.STRING)){return this._create_token(f.OPERATOR,n)}return this._create_token(f.RESERVED,n)}return this._create_token(f.WORD,n)}n=this.__patterns.number.read();if(n!==""){return this._create_token(f.WORD,n)}};Tokenizer.prototype._read_singles=function(e){var n=null;if(e==="("||e==="["){n=this._create_token(f.START_EXPR,e)}else if(e===")"||e==="]"){n=this._create_token(f.END_EXPR,e)}else if(e==="{"){n=this._create_token(f.START_BLOCK,e)}else if(e==="}"){n=this._create_token(f.END_BLOCK,e)}else if(e===";"){n=this._create_token(f.SEMICOLON,e)}else if(e==="."&&g.test(this._input.peek(1))){n=this._create_token(f.DOT,e)}else if(e===","){n=this._create_token(f.COMMA,e)}if(n){this._input.next()}return n};Tokenizer.prototype._read_pair=function(e,n){var s=null;if(e==="#"&&n==="{"){s=this._create_token(f.START_BLOCK,e+n)}if(s){this._input.next();this._input.next()}return s};Tokenizer.prototype._read_punctuation=function(){var e=this.__patterns.punct.read();if(e!==""){if(e==="="){return this._create_token(f.EQUALS,e)}else if(e==="?."){return this._create_token(f.DOT,e)}else{return this._create_token(f.OPERATOR,e)}}};Tokenizer.prototype._read_non_javascript=function(e){var n="";if(e==="#"){if(this._is_first_token()){n=this.__patterns.shebang.read();if(n){return this._create_token(f.UNKNOWN,n.trim()+"\n")}}n=this.__patterns.include.read();if(n){return this._create_token(f.UNKNOWN,n.trim()+"\n")}e=this._input.next();var s="#";if(this._input.hasNext()&&this._input.testChar(y)){do{e=this._input.next();s+=e}while(this._input.hasNext()&&e!=="#"&&e!=="=");if(e==="#"){}else if(this._input.peek()==="["&&this._input.peek(1)==="]"){s+="[]";this._input.next();this._input.next()}else if(this._input.peek()==="{"&&this._input.peek(1)==="}"){s+="{}";this._input.next();this._input.next()}return this._create_token(f.WORD,s)}this._input.back()}else if(e==="<"&&this._is_first_token()){n=this.__patterns.html_comment_start.read();if(n){while(this._input.hasNext()&&!this._input.testChar(c.newline)){n+=this._input.next()}O=true;return this._create_token(f.COMMENT,n)}}else if(O&&e==="-"){n=this.__patterns.html_comment_end.read();if(n){O=false;return this._create_token(f.COMMENT,n)}}return null};Tokenizer.prototype._read_comment=function(e){var n=null;if(e==="/"){var s="";if(this._input.peek(1)==="*"){s=this.__patterns.block_comment.read();var i=h.get_directives(s);if(i&&i.ignore==="start"){s+=h.readIgnored(this._input)}s=s.replace(c.allLineBreaks,"\n");n=this._create_token(f.BLOCK_COMMENT,s);n.directives=i}else if(this._input.peek(1)==="/"){s=this.__patterns.comment.read();n=this._create_token(f.COMMENT,s)}}return n};Tokenizer.prototype._read_string=function(e){if(e==="`"||e==="'"||e==='"'){var n=this._input.next();this.has_char_escapes=false;if(e==="`"){n+=this._read_string_recursive("`",true,"${")}else{n+=this._read_string_recursive(e)}if(this.has_char_escapes&&this._options.unescape_strings){n=unescape_string(n)}if(this._input.peek()===e){n+=this._input.next()}n=n.replace(c.allLineBreaks,"\n");return this._create_token(f.STRING,n)}return null};Tokenizer.prototype._allow_regexp_or_xml=function(e){return e.type===f.RESERVED&&in_array(e.text,["return","case","throw","else","do","typeof","yield"])||e.type===f.END_EXPR&&e.text===")"&&e.opened.previous.type===f.RESERVED&&in_array(e.opened.previous.text,["if","while","for"])||in_array(e.type,[f.COMMENT,f.START_EXPR,f.START_BLOCK,f.START,f.END_BLOCK,f.OPERATOR,f.EQUALS,f.EOF,f.SEMICOLON,f.COMMA])};Tokenizer.prototype._read_regexp=function(e,n){if(e==="/"&&this._allow_regexp_or_xml(n)){var s=this._input.next();var i=false;var a=false;while(this._input.hasNext()&&((i||a||this._input.peek()!==e)&&!this._input.testChar(c.newline))){s+=this._input.peek();if(!i){i=this._input.peek()==="\\";if(this._input.peek()==="["){a=true}else if(this._input.peek()==="]"){a=false}}else{i=false}this._input.next()}if(this._input.peek()===e){s+=this._input.next();s+=this._input.read(c.identifier)}return this._create_token(f.STRING,s)}return null};Tokenizer.prototype._read_xml=function(e,n){if(this._options.e4x&&e==="<"&&this._allow_regexp_or_xml(n)){var s="";var i=this.__patterns.xml.read_match();if(i){var a=i[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}");var o=a.indexOf("{")===0;var l=0;while(i){var p=!!i[1];var d=i[2];var h=!!i[i.length-1]||d.slice(0,8)==="![CDATA[";if(!h&&(d===a||o&&d.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))){if(p){--l}else{++l}}s+=i[0];if(l<=0){break}i=this.__patterns.xml.read_match()}if(!i){s+=this._input.match(/[\s\S]*/g)[0]}s=s.replace(c.allLineBreaks,"\n");return this._create_token(f.STRING,s)}}return null};function unescape_string(e){var n="",s=0;var a=new i(e);var o=null;while(a.hasNext()){o=a.match(/([\s]|[^\\]|\\\\)+/g);if(o){n+=o[0]}if(a.peek()==="\\"){a.next();if(a.peek()==="x"){o=a.match(/x([0-9A-Fa-f]{2})/g)}else if(a.peek()==="u"){o=a.match(/u([0-9A-Fa-f]{4})/g);if(!o){o=a.match(/u\{([0-9A-Fa-f]+)\}/g)}}else{n+="\\";if(a.hasNext()){n+=a.next()}continue}if(!o){return e}s=parseInt(o[1],16);if(s>126&&s<=255&&o[0].indexOf("x")===0){return e}else if(s>=0&&s<32){n+="\\"+o[0]}else if(s>1114111){n+="\\"+o[0]}else if(s===34||s===39||s===92){n+="\\"+String.fromCharCode(s)}else{n+=String.fromCharCode(s)}}}return n}Tokenizer.prototype._read_string_recursive=function(e,n,s){var i;var a;if(e==="'"){a=this.__patterns.single_quote}else if(e==='"'){a=this.__patterns.double_quote}else if(e==="`"){a=this.__patterns.template_text}else if(e==="}"){a=this.__patterns.template_expression}var o=a.read();var l="";while(this._input.hasNext()){l=this._input.next();if(l===e||!n&&c.newline.test(l)){this._input.back();break}else if(l==="\\"&&this._input.hasNext()){i=this._input.peek();if(i==="x"||i==="u"){this.has_char_escapes=true}else if(i==="\r"&&this._input.peek(1)==="\n"){this._input.next()}l+=this._input.next()}else if(s){if(s==="${"&&l==="$"&&this._input.peek()==="{"){l+=this._input.next()}if(s===l){if(e==="`"){l+=this._read_string_recursive("}",n,"`")}else{l+=this._read_string_recursive("`",n,"${")}if(this._input.hasNext()){l+=this._input.next()}}}l+=a.read();o+=l}return o};e.exports._F=Tokenizer;e.exports.CV=f;e.exports.OK=A.slice();e.exports.O0=k.slice()},64966:function(e,n){Object.defineProperty(n,"__esModule",{value:true});n["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;n.matchToToken=function(e){var n={type:"invalid",value:e[0],closed:undefined};if(e[1])n.type="string",n.closed=!!(e[3]||e[4]);else if(e[5])n.type="comment";else if(e[6])n.type="comment",n.closed=!!e[7];else if(e[8])n.type="regex";else if(e[9])n.type="number";else if(e[10])n.type="name";else if(e[11])n.type="punctuator";else if(e[12])n.type="whitespace";return n}},20995:function(e){"use strict";const n={};const s=n.hasOwnProperty;const forOwn=(e,n)=>{for(const i in e){if(s.call(e,i)){n(i,e[i])}}};const extend=(e,n)=>{if(!n){return e}forOwn(n,((n,s)=>{e[n]=s}));return e};const forEach=(e,n)=>{const s=e.length;let i=-1;while(++i<s){n(e[i])}};const fourHexEscape=e=>"\\u"+("0000"+e).slice(-4);const hexadecimal=(e,n)=>{let s=e.toString(16);if(n)return s;return s.toUpperCase()};const i=n.toString;const a=Array.isArray;const isBuffer=e=>typeof Buffer==="function"&&Buffer.isBuffer(e);const isObject=e=>i.call(e)=="[object Object]";const isString=e=>typeof e=="string"||i.call(e)=="[object String]";const isNumber=e=>typeof e=="number"||i.call(e)=="[object Number]";const isFunction=e=>typeof e=="function";const isMap=e=>i.call(e)=="[object Map]";const isSet=e=>i.call(e)=="[object Set]";const o={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};const l=/[\\\b\f\n\r\t]/;const c=/[0-9]/;const p=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;const d=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g;const f=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g;const jsesc=(e,n)=>{const increaseIndentation=()=>{A=g;++n.indentLevel;g=n.indent.repeat(n.indentLevel)};const s={escapeEverything:false,minimal:false,isScriptContext:false,quotes:"single",wrap:false,es6:false,json:false,compact:true,lowercaseHex:false,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:false,__inline2__:false};const i=n&&n.json;if(i){s.quotes="double";s.wrap=true}n=extend(s,n);if(n.quotes!="single"&&n.quotes!="double"&&n.quotes!="backtick"){n.quotes="single"}const h=n.quotes=="double"?'"':n.quotes=="backtick"?"`":"'";const m=n.compact;const y=n.lowercaseHex;let g=n.indent.repeat(n.indentLevel);let A="";const C=n.__inline1__;const _=n.__inline2__;const k=m?"":"\n";let I;let D=true;const O=n.numbers=="binary";const L=n.numbers=="octal";const B=n.numbers=="decimal";const j=n.numbers=="hexadecimal";if(i&&e&&isFunction(e.toJSON)){e=e.toJSON()}if(!isString(e)){if(isMap(e)){if(e.size==0){return"new Map()"}if(!m){n.__inline1__=true;n.__inline2__=false}return"new Map("+jsesc(Array.from(e),n)+")"}if(isSet(e)){if(e.size==0){return"new Set()"}return"new Set("+jsesc(Array.from(e),n)+")"}if(isBuffer(e)){if(e.length==0){return"Buffer.from([])"}return"Buffer.from("+jsesc(Array.from(e),n)+")"}if(a(e)){I=[];n.wrap=true;if(C){n.__inline1__=false;n.__inline2__=true}if(!_){increaseIndentation()}forEach(e,(e=>{D=false;if(_){n.__inline2__=false}I.push((m||_?"":g)+jsesc(e,n))}));if(D){return"[]"}if(_){return"["+I.join(", ")+"]"}return"["+k+I.join(","+k)+k+(m?"":A)+"]"}else if(isNumber(e)){if(i){return JSON.stringify(e)}if(B){return String(e)}if(j){let n=e.toString(16);if(!y){n=n.toUpperCase()}return"0x"+n}if(O){return"0b"+e.toString(2)}if(L){return"0o"+e.toString(8)}}else if(!isObject(e)){if(i){return JSON.stringify(e)||"null"}return String(e)}else{I=[];n.wrap=true;increaseIndentation();forOwn(e,((e,s)=>{D=false;I.push((m?"":g)+jsesc(e,n)+":"+(m?"":" ")+jsesc(s,n))}));if(D){return"{}"}return"{"+k+I.join(","+k)+k+(m?"":A)+"}"}}const R=n.escapeEverything?d:f;I=e.replace(R,((e,s,a,d,f,m)=>{if(s){if(n.minimal)return s;const e=s.charCodeAt(0);const i=s.charCodeAt(1);if(n.es6){const n=(e-55296)*1024+i-56320+65536;const s=hexadecimal(n,y);return"\\u{"+s+"}"}return fourHexEscape(hexadecimal(e,y))+fourHexEscape(hexadecimal(i,y))}if(a){return fourHexEscape(hexadecimal(a.charCodeAt(0),y))}if(e=="\0"&&!i&&!c.test(m.charAt(f+1))){return"\\0"}if(d){if(d==h||n.escapeEverything){return"\\"+d}return d}if(l.test(e)){return o[e]}if(n.minimal&&!p.test(e)){return e}const g=hexadecimal(e.charCodeAt(0),y);if(i||g.length>2){return fourHexEscape(g)}return"\\x"+("00"+g).slice(-2)}));if(h=="`"){I=I.replace(/\$\{/g,"\\${")}if(n.isScriptContext){I=I.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,i?"\\u003C!--":"\\x3C!--")}if(n.wrap){I=h+I+h}return I};jsesc.version="3.0.2";e.exports=jsesc},90823:function(e,n,s){const i=s(70752);const a=s(50142);const o={parse:i,stringify:a};e.exports=o},70752:function(e,n,s){const i=s(24327);let a;let o;let l;let c;let p;let d;let f;let h;let m;e.exports=function parse(e,n){a=String(e);o="start";l=[];c=0;p=1;d=0;f=undefined;h=undefined;m=undefined;do{f=lex();I[o]()}while(f.type!=="eof");if(typeof n==="function"){return internalize({"":m},"",n)}return m};function internalize(e,n,s){const i=e[n];if(i!=null&&typeof i==="object"){if(Array.isArray(i)){for(let e=0;e<i.length;e++){const n=String(e);const a=internalize(i,n,s);if(a===undefined){delete i[n]}else{Object.defineProperty(i,n,{value:a,writable:true,enumerable:true,configurable:true})}}}else{for(const e in i){const n=internalize(i,e,s);if(n===undefined){delete i[e]}else{Object.defineProperty(i,e,{value:n,writable:true,enumerable:true,configurable:true})}}}}return s.call(e,n,i)}let y;let g;let A;let C;let _;function lex(){y="default";g="";A=false;C=1;for(;;){_=peek();const e=k[y]();if(e){return e}}}function peek(){if(a[c]){return String.fromCodePoint(a.codePointAt(c))}}function read(){const e=peek();if(e==="\n"){p++;d=0}else if(e){d+=e.length}else{d++}if(e){c+=e.length}return e}const k={default(){switch(_){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();y="comment";return;case undefined:read();return newToken("eof")}if(i.isSpaceSeparator(_)){read();return}return k[o]()},comment(){switch(_){case"*":read();y="multiLineComment";return;case"/":read();y="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(_){case"*":read();y="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(_){case"*":read();return;case"/":read();y="default";return;case undefined:throw invalidChar(read())}read();y="multiLineComment"},singleLineComment(){switch(_){case"\n":case"\r":case"\u2028":case"\u2029":read();y="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(_){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){C=-1}y="sign";return;case".":g=read();y="decimalPointLeading";return;case"0":g=read();y="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":g=read();y="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":A=read()==='"';g="";y="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(_!=="u"){throw invalidChar(read())}read();const e=unicodeEscape();switch(e){case"$":case"_":break;default:if(!i.isIdStartChar(e)){throw invalidIdentifier()}break}g+=e;y="identifierName"},identifierName(){switch(_){case"$":case"_":case"‌":case"‍":g+=read();return;case"\\":read();y="identifierNameEscape";return}if(i.isIdContinueChar(_)){g+=read();return}return newToken("identifier",g)},identifierNameEscape(){if(_!=="u"){throw invalidChar(read())}read();const e=unicodeEscape();switch(e){case"$":case"_":case"‌":case"‍":break;default:if(!i.isIdContinueChar(e)){throw invalidIdentifier()}break}g+=e;y="identifierName"},sign(){switch(_){case".":g=read();y="decimalPointLeading";return;case"0":g=read();y="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":g=read();y="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",C*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(_){case".":g+=read();y="decimalPoint";return;case"e":case"E":g+=read();y="decimalExponent";return;case"x":case"X":g+=read();y="hexadecimal";return}return newToken("numeric",C*0)},decimalInteger(){switch(_){case".":g+=read();y="decimalPoint";return;case"e":case"E":g+=read();y="decimalExponent";return}if(i.isDigit(_)){g+=read();return}return newToken("numeric",C*Number(g))},decimalPointLeading(){if(i.isDigit(_)){g+=read();y="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(_){case"e":case"E":g+=read();y="decimalExponent";return}if(i.isDigit(_)){g+=read();y="decimalFraction";return}return newToken("numeric",C*Number(g))},decimalFraction(){switch(_){case"e":case"E":g+=read();y="decimalExponent";return}if(i.isDigit(_)){g+=read();return}return newToken("numeric",C*Number(g))},decimalExponent(){switch(_){case"+":case"-":g+=read();y="decimalExponentSign";return}if(i.isDigit(_)){g+=read();y="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(i.isDigit(_)){g+=read();y="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(i.isDigit(_)){g+=read();return}return newToken("numeric",C*Number(g))},hexadecimal(){if(i.isHexDigit(_)){g+=read();y="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(i.isHexDigit(_)){g+=read();return}return newToken("numeric",C*Number(g))},string(){switch(_){case"\\":read();g+=escape();return;case'"':if(A){read();return newToken("string",g)}g+=read();return;case"'":if(!A){read();return newToken("string",g)}g+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(_);break;case undefined:throw invalidChar(read())}g+=read()},start(){switch(_){case"{":case"[":return newToken("punctuator",read())}y="value"},beforePropertyName(){switch(_){case"$":case"_":g=read();y="identifierName";return;case"\\":read();y="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":A=read()==='"';y="string";return}if(i.isIdStartChar(_)){g+=read();y="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(_===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){y="value"},afterPropertyValue(){switch(_){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(_==="]"){return newToken("punctuator",read())}y="value"},afterArrayValue(){switch(_){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(e,n){return{type:e,value:n,line:p,column:d}}function literal(e){for(const n of e){const e=peek();if(e!==n){throw invalidChar(read())}read()}}function escape(){const e=peek();switch(e){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(i.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let e="";let n=peek();if(!i.isHexDigit(n)){throw invalidChar(read())}e+=read();n=peek();if(!i.isHexDigit(n)){throw invalidChar(read())}e+=read();return String.fromCodePoint(parseInt(e,16))}function unicodeEscape(){let e="";let n=4;while(n-- >0){const n=peek();if(!i.isHexDigit(n)){throw invalidChar(read())}e+=read()}return String.fromCodePoint(parseInt(e,16))}const I={start(){if(f.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(f.type){case"identifier":case"string":h=f.value;o="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(f.type==="eof"){throw invalidEOF()}o="beforePropertyValue"},beforePropertyValue(){if(f.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(f.type==="eof"){throw invalidEOF()}if(f.type==="punctuator"&&f.value==="]"){pop();return}push()},afterPropertyValue(){if(f.type==="eof"){throw invalidEOF()}switch(f.value){case",":o="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(f.type==="eof"){throw invalidEOF()}switch(f.value){case",":o="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let e;switch(f.type){case"punctuator":switch(f.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=f.value;break}if(m===undefined){m=e}else{const n=l[l.length-1];if(Array.isArray(n)){n.push(e)}else{Object.defineProperty(n,h,{value:e,writable:true,enumerable:true,configurable:true})}}if(e!==null&&typeof e==="object"){l.push(e);if(Array.isArray(e)){o="beforeArrayValue"}else{o="beforePropertyName"}}else{const e=l[l.length-1];if(e==null){o="end"}else if(Array.isArray(e)){o="afterArrayValue"}else{o="afterPropertyValue"}}}function pop(){l.pop();const e=l[l.length-1];if(e==null){o="end"}else if(Array.isArray(e)){o="afterArrayValue"}else{o="afterPropertyValue"}}function invalidChar(e){if(e===undefined){return syntaxError(`JSON5: invalid end of input at ${p}:${d}`)}return syntaxError(`JSON5: invalid character '${formatChar(e)}' at ${p}:${d}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${p}:${d}`)}function invalidIdentifier(){d-=5;return syntaxError(`JSON5: invalid identifier character at ${p}:${d}`)}function separatorChar(e){console.warn(`JSON5: '${formatChar(e)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(e){const n={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(n[e]){return n[e]}if(e<" "){const n=e.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return e}function syntaxError(e){const n=new SyntaxError(e);n.lineNumber=p;n.columnNumber=d;return n}},50142:function(e,n,s){const i=s(24327);e.exports=function stringify(e,n,s){const a=[];let o="";let l;let c;let p="";let d;if(n!=null&&typeof n==="object"&&!Array.isArray(n)){s=n.space;d=n.quote;n=n.replacer}if(typeof n==="function"){c=n}else if(Array.isArray(n)){l=[];for(const e of n){let n;if(typeof e==="string"){n=e}else if(typeof e==="number"||e instanceof String||e instanceof Number){n=String(e)}if(n!==undefined&&l.indexOf(n)<0){l.push(n)}}}if(s instanceof Number){s=Number(s)}else if(s instanceof String){s=String(s)}if(typeof s==="number"){if(s>0){s=Math.min(10,Math.floor(s));p=" ".substr(0,s)}}else if(typeof s==="string"){p=s.substr(0,10)}return serializeProperty("",{"":e});function serializeProperty(e,n){let s=n[e];if(s!=null){if(typeof s.toJSON5==="function"){s=s.toJSON5(e)}else if(typeof s.toJSON==="function"){s=s.toJSON(e)}}if(c){s=c.call(n,e,s)}if(s instanceof Number){s=Number(s)}else if(s instanceof String){s=String(s)}else if(s instanceof Boolean){s=s.valueOf()}switch(s){case null:return"null";case true:return"true";case false:return"false"}if(typeof s==="string"){return quoteString(s,false)}if(typeof s==="number"){return String(s)}if(typeof s==="object"){return Array.isArray(s)?serializeArray(s):serializeObject(s)}return undefined}function quoteString(e){const n={"'":.1,'"':.2};const s={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let a="";for(let o=0;o<e.length;o++){const l=e[o];switch(l){case"'":case'"':n[l]++;a+=l;continue;case"\0":if(i.isDigit(e[o+1])){a+="\\x00";continue}}if(s[l]){a+=s[l];continue}if(l<" "){let e=l.charCodeAt(0).toString(16);a+="\\x"+("00"+e).substring(e.length);continue}a+=l}const o=d||Object.keys(n).reduce(((e,s)=>n[e]<n[s]?e:s));a=a.replace(new RegExp(o,"g"),s[o]);return o+a+o}function serializeObject(e){if(a.indexOf(e)>=0){throw TypeError("Converting circular structure to JSON5")}a.push(e);let n=o;o=o+p;let s=l||Object.keys(e);let i=[];for(const n of s){const s=serializeProperty(n,e);if(s!==undefined){let e=serializeKey(n)+":";if(p!==""){e+=" "}e+=s;i.push(e)}}let c;if(i.length===0){c="{}"}else{let e;if(p===""){e=i.join(",");c="{"+e+"}"}else{let s=",\n"+o;e=i.join(s);c="{\n"+o+e+",\n"+n+"}"}}a.pop();o=n;return c}function serializeKey(e){if(e.length===0){return quoteString(e,true)}const n=String.fromCodePoint(e.codePointAt(0));if(!i.isIdStartChar(n)){return quoteString(e,true)}for(let s=n.length;s<e.length;s++){if(!i.isIdContinueChar(String.fromCodePoint(e.codePointAt(s)))){return quoteString(e,true)}}return e}function serializeArray(e){if(a.indexOf(e)>=0){throw TypeError("Converting circular structure to JSON5")}a.push(e);let n=o;o=o+p;let s=[];for(let n=0;n<e.length;n++){const i=serializeProperty(String(n),e);s.push(i!==undefined?i:"null")}let i;if(s.length===0){i="[]"}else{if(p===""){let e=s.join(",");i="["+e+"]"}else{let e=",\n"+o;let a=s.join(e);i="[\n"+o+a+",\n"+n+"]"}}a.pop();o=n;return i}}},30796:function(e){e.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;e.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;e.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},24327:function(e,n,s){const i=s(30796);e.exports={isSpaceSeparator(e){return typeof e==="string"&&i.Space_Separator.test(e)},isIdStartChar(e){return typeof e==="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||i.ID_Start.test(e))},isIdContinueChar(e){return typeof e==="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="‌"||e==="‍"||i.ID_Continue.test(e))},isDigit(e){return typeof e==="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e==="string"&&/[0-9A-Fa-f]/.test(e)}}},70125:function(e,n,s){var i=s(41018);var a=Object.prototype.toString;e.exports=function kindOf(e){if(typeof e==="undefined"){return"undefined"}if(e===null){return"null"}if(e===true||e===false||e instanceof Boolean){return"boolean"}if(typeof e==="string"||e instanceof String){return"string"}if(typeof e==="number"||e instanceof Number){return"number"}if(typeof e==="function"||e instanceof Function){return"function"}if(typeof Array.isArray!=="undefined"&&Array.isArray(e)){return"array"}if(e instanceof RegExp){return"regexp"}if(e instanceof Date){return"date"}var n=a.call(e);if(n==="[object RegExp]"){return"regexp"}if(n==="[object Date]"){return"date"}if(n==="[object Arguments]"){return"arguments"}if(n==="[object Error]"){return"error"}if(i(e)){return"buffer"}if(n==="[object Set]"){return"set"}if(n==="[object WeakSet]"){return"weakset"}if(n==="[object Map]"){return"map"}if(n==="[object WeakMap]"){return"weakmap"}if(n==="[object Symbol]"){return"symbol"}if(n==="[object Int8Array]"){return"int8array"}if(n==="[object Uint8Array]"){return"uint8array"}if(n==="[object Uint8ClampedArray]"){return"uint8clampedarray"}if(n==="[object Int16Array]"){return"int16array"}if(n==="[object Uint16Array]"){return"uint16array"}if(n==="[object Int32Array]"){return"int32array"}if(n==="[object Uint32Array]"){return"uint32array"}if(n==="[object Float32Array]"){return"float32array"}if(n==="[object Float64Array]"){return"float64array"}return"object"}},98943:function(e){"use strict";e.exports=compose;function compose(e){if(!Array.isArray(e))throw new TypeError("Middleware stack must be an array!");for(const n of e){if(typeof n!=="function")throw new TypeError("Middleware must be composed of functions!")}return function(n,s){let i=-1;return dispatch(0);function dispatch(a){if(a<=i)return Promise.reject(new Error("next() called multiple times"));i=a;let o=e[a];if(a===e.length)o=s;if(!o)return Promise.resolve();try{return Promise.resolve(o(n,dispatch.bind(null,a+1)))}catch(e){return Promise.reject(e)}}}}},96638:function(e,n,s){const i=s(86449)("koa-mount");const a=s(98943);const o=s(42613);e.exports=mount;function mount(e,n){if(typeof e!=="string"){n=e;e="/"}o.equal(e[0],"/",'mount path must begin with "/"');let s=n;if(Array.isArray(n)){s=a(n)}else if(n.middleware){s=a(n.middleware)}if(e==="/")return s;const l=e.slice(-1)==="/";const c=n.name||"unnamed";i("mount %s %s",e,c);return async function(n,a){const o=n.path;const l=match(o);i("mount %s %s -> %s",e,c,l);if(!l)return await a();n.mountPath=e;n.path=l;i("enter %s -> %s",o,n.path);try{await s(n,(async()=>{n.path=o;await a();n.path=l}))}finally{i("leave %s -> %s",o,n.path);n.path=o}};function match(n){if(n.indexOf(e)!==0)return false;const s=n.replace(e,"")||"/";if(l)return s;if(s[0]!=="/")return false;return s}}},21986:function(e,n,s){const{parse:i,format:a}=s(73136);const{pathToRegexp:o,compile:l,parse:c,stringify:p}=s(87305);e.exports=class Layer{constructor(e,n,s,i={}){this.opts=i;this.name=this.opts.name||null;this.methods=[];this.paramNames=[];this.stack=Array.isArray(s)?s:[s];for(const e of n){const n=this.methods.push(e.toUpperCase());if(this.methods[n-1]==="GET")this.methods.unshift("HEAD")}for(let s=0;s<this.stack.length;s++){const i=this.stack[s];const a=typeof i;if(a!=="function")throw new Error(`${n.toString()} \`${this.opts.name||e}\`: \`middleware\` must be a function, not \`${a}\``)}this.path=e;if(this.opts.pathIsRegexp===true){this.regexp=new RegExp(e)}else if(this.path){if(this.opts.strict===true){this.opts.trailing=false}const{regexp:e,keys:n}=o(this.path,this.opts);this.regexp=e;this.paramNames=n}}match(e){return this.regexp.test(e)}params(e,n,s={}){for(let e=n.length,i=0;i<e;i++){if(this.paramNames[i]){const e=n[i];if(e&&e.length>0)s[this.paramNames[i].name]=e?safeDecodeURIComponent(e):e}}return s}captures(e){return this.opts.ignoreCaptures?[]:e.match(this.regexp).slice(1)}url(e,n){let s=e;const o=this.path.replace(/\(\.\*\)/g,"");if(typeof e!=="object"){s=Array.prototype.slice.call(arguments);if(typeof s[s.length-1]==="object"){n=s[s.length-1];s=s.slice(0,-1)}}const p=l(o,{encode:encodeURIComponent,...n});let d;const{tokens:f}=c(o);let h={};if(Array.isArray(s)){for(let e=f.length,n=0,i=0;n<e;n++){if(f[n].name){h[f[n].name]=s[i++]}}}else if(f.some((e=>e.name))){h=e}else if(!n){n=e}for(const[e,n]of Object.entries(h)){h[e]=String(n)}d=p(h);if(n&&n.query){d=i(d);if(typeof n.query==="string"){d.search=n.query}else{d.search=undefined;d.query=n.query}return a(d)}return d}param(e,n){const{stack:s}=this;const i=this.paramNames;const middleware=function(s,i){return n.call(this,s.params[e],s,i)};middleware.param=e;const a=i.map((function(e){return e.name}));const o=a.indexOf(e);if(o>-1){s.some(((e,n)=>{if(!e.param||a.indexOf(e.param)>o){s.splice(n,0,middleware);return true}}))}return this}setPrefix(e){if(this.path){this.path=this.path!=="/"||this.opts.strict===true?`${e}${this.path}`:e;if(this.opts.pathIsRegexp===true||e instanceof RegExp){this.regexp=new RegExp(this.path)}else if(this.path){const{regexp:e,keys:n}=o(this.path,this.opts);this.regexp=e;this.paramNames=n}}return this}};function safeDecodeURIComponent(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return e}}},88522:function(e,n,s){const i=s(37067);const a=s(57975);const o=a.debuglog("koa-router");const l=s(98943);const c=s(24700);const{pathToRegexp:p}=s(87305);const d=s(21986);const f=i.METHODS.map((e=>e.toLowerCase()));class Router{constructor(e={}){if(!(this instanceof Router))return new Router(e);this.opts=e;this.methods=this.opts.methods||["HEAD","OPTIONS","GET","PUT","PATCH","POST","DELETE"];this.exclusive=Boolean(this.opts.exclusive);this.params={};this.stack=[];this.host=this.opts.host}static url(e,...n){return d.prototype.url.apply({path:e},n)}use(...e){const n=this;let s;if(Array.isArray(e[0])&&typeof e[0][0]==="string"){const s=e[0];for(const i of s){n.use.apply(n,[i,...e.slice(1)])}return this}const i=typeof e[0]==="string";if(i)s=e.shift();for(const a of e){if(a.router){const e=Object.assign(Object.create(Router.prototype),a.router,{stack:[...a.router.stack]});for(let i=0;i<e.stack.length;i++){const a=e.stack[i];const o=Object.assign(Object.create(d.prototype),a);if(s)o.setPrefix(s);if(n.opts.prefix)o.setPrefix(n.opts.prefix);n.stack.push(o);e.stack[i]=o}if(n.params){const s=Object.keys(n.params);for(const i of s){e.param(i,n.params[i])}}}else{const{keys:e}=p(n.opts.prefix||"",n.opts);const o=Boolean(n.opts.prefix&&e.length>0);n.register(s||"([^/]*)",[],a,{end:false,ignoreCaptures:!i&&!o,pathIsRegexp:true})}}return this}prefix(e){e=e.replace(/\/$/,"");this.opts.prefix=e;for(let n=0;n<this.stack.length;n++){const s=this.stack[n];s.setPrefix(e)}return this}middleware(){const e=this;const dispatch=(n,s)=>{o("%s %s",n.method,n.path);const i=e.matchHost(n.host);if(!i){return s()}const a=e.opts.routerPath||n.newRouterPath||n.path||n.routerPath;const c=e.match(a,n.method);if(n.matched){n.matched.push.apply(n.matched,c.path)}else{n.matched=c.path}n.router=e;if(!c.route)return s();const p=c.pathAndMethod;const d=p[p.length-1];n._matchedRoute=d.path;if(d.name){n._matchedRouteName=d.name}const f=(e.exclusive?[d]:p).reduce(((e,n)=>{e.push(((e,s)=>{e.captures=n.captures(a,e.captures);e.request.params=n.params(a,e.captures,e.params);e.params=e.request.params;e.routerPath=n.path;e.routerName=n.name;e._matchedRoute=n.path;if(n.name){e._matchedRouteName=n.name}return s()}));return[...e,...n.stack]}),[]);return l(f)(n,s)};dispatch.router=this;return dispatch}routes(){return this.middleware()}allowedMethods(e={}){const n=this.methods;return(s,i)=>i().then((()=>{const i={};if(s.matched&&(!s.status||s.status===404)){for(let e=0;e<s.matched.length;e++){const n=s.matched[e];for(let e=0;e<n.methods.length;e++){const s=n.methods[e];i[s]=s}}const a=Object.keys(i);if(!n.includes(s.method)){if(e.throw){const n=typeof e.notImplemented==="function"?e.notImplemented():new c.NotImplemented;throw n}else{s.status=501;s.set("Allow",a.join(", "))}}else if(a.length>0){if(s.method==="OPTIONS"){s.status=200;s.body="";s.set("Allow",a.join(", "))}else if(!i[s.method]){if(e.throw){const n=typeof e.methodNotAllowed==="function"?e.methodNotAllowed():new c.MethodNotAllowed;throw n}else{s.status=405;s.set("Allow",a.join(", "))}}}}}))}all(e,n,s){if(typeof n==="string"||n instanceof RegExp){s=Array.prototype.slice.call(arguments,2)}else{s=Array.prototype.slice.call(arguments,1);n=e;e=null}if(typeof n!=="string"&&!(n instanceof RegExp)&&(!Array.isArray(n)||n.length===0))throw new Error("You have to provide a path when adding an all handler");const i={name:e,pathIsRegexp:n instanceof RegExp};this.register(n,f,s,{...this.opts,...i});return this}redirect(e,n,s){if(typeof e==="symbol"||e[0]!=="/"){e=this.url(e);if(e instanceof Error)throw e}if(typeof n==="symbol"||n[0]!=="/"&&!n.includes("://")){n=this.url(n);if(n instanceof Error)throw n}return this.all(e,(e=>{e.redirect(n);e.status=s||301}))}register(e,n,s,i={}){const a=this;const{stack:l}=this;const c={...this.opts,...i};if(Array.isArray(e)){for(const i of e){a.register.call(a,i,n,s,c)}return this}const p=new d(e,n,s,{end:c.end===false?c.end:true,name:c.name,sensitive:c.sensitive||false,strict:c.strict||false,prefix:c.prefix||"",ignoreCaptures:c.ignoreCaptures,pathIsRegexp:c.pathIsRegexp});if(this.opts.prefix){p.setPrefix(this.opts.prefix)}for(let e=0;e<Object.keys(this.params).length;e++){const n=Object.keys(this.params)[e];p.param(n,this.params[n])}l.push(p);o("defined route %s %s",p.methods,p.path);return p}route(e){const n=this.stack;for(let s=n.length,i=0;i<s;i++){if(n[i].name&&n[i].name===e)return n[i]}return false}url(e,...n){const s=this.route(e);if(s)return s.url.apply(s,n);return new Error(`No route found for name: ${String(e)}`)}match(e,n){const s=this.stack;let i;const a={path:[],pathAndMethod:[],route:false};for(let l=s.length,c=0;c<l;c++){i=s[c];o("test %s %s",i.path,i.regexp);if(i.match(e)){a.path.push(i);if(i.methods.length===0||i.methods.includes(n)){a.pathAndMethod.push(i);if(i.methods.length>0)a.route=true}}}return a}matchHost(e){const{host:n}=this;if(!n){return true}if(!e){return false}if(typeof n==="string"){return e===n}if(typeof n==="object"&&n instanceof RegExp){return n.test(e)}}param(e,n){this.params[e]=n;for(let s=0;s<this.stack.length;s++){const i=this.stack[s];i.param(e,n)}return this}}for(const e of f){Router.prototype[e]=function(n,s,i){if(typeof s==="string"||s instanceof RegExp){i=Array.prototype.slice.call(arguments,2)}else{i=Array.prototype.slice.call(arguments,1);s=n;n=null}if(typeof s!=="string"&&!(s instanceof RegExp)&&(!Array.isArray(s)||s.length===0))throw new Error(`You have to provide a path when adding a ${e} handler`);const a={name:n,pathIsRegexp:s instanceof RegExp};this.register(s,[e],i,{...this.opts,...a});return this}}Router.prototype.del=Router.prototype["delete"];e.exports=Router},59558:function(e,n,s){const i=s(79896);const a=s(39023);const o=s(86449)("koa-send");const l=s(91493);const c=s(15570);const p=s(42613);const d=a.promisify(i.stat);const f=a.promisify(i.access);async function exists(e){try{await f(e);return true}catch(e){return false}}const{normalize:h,basename:m,extname:y,resolve:g,parse:A,sep:C}=s(16928);e.exports=send;async function send(e,n,s={}){p(e,"koa context required");p(n,"pathname required");o('send "%s" %j',n,s);const a=s.root?h(g(s.root)):"";const f=n[n.length-1]==="/";n=n.substr(A(n).root.length);const y=s.index;const C=s.maxage||s.maxAge||0;const _=s.immutable||false;const k=s.hidden||false;const I=s.format!==false;const D=Array.isArray(s.extensions)?s.extensions:false;const O=s.brotli!==false;const L=s.gzip!==false;const B=s.setHeaders;if(B&&typeof B!=="function"){throw new TypeError("option setHeaders must be function")}n=decode(n);if(n===-1)return e.throw(400,"failed to decode");if(y&&f)n+=y;n=l(a,n);if(!k&&isHidden(a,n))return;let j="";if(e.acceptsEncodings("br","identity")==="br"&&O&&await exists(n+".br")){n=n+".br";e.set("Content-Encoding","br");e.res.removeHeader("Content-Length");j=".br"}else if(e.acceptsEncodings("gzip","identity")==="gzip"&&L&&await exists(n+".gz")){n=n+".gz";e.set("Content-Encoding","gzip");e.res.removeHeader("Content-Length");j=".gz"}if(D&&!/\./.exec(m(n))){const e=[].concat(D);for(let s=0;s<e.length;s++){let i=e[s];if(typeof i!=="string"){throw new TypeError("option extensions must be array of strings or false")}if(!/^\./.exec(i))i=`.${i}`;if(await exists(`${n}${i}`)){n=`${n}${i}`;break}}}let R;try{R=await d(n);if(R.isDirectory()){if(I&&y){n+=`/${y}`;R=await d(n)}else{return}}}catch(e){const n=["ENOENT","ENAMETOOLONG","ENOTDIR"];if(n.includes(e.code)){throw c(404,e)}e.status=500;throw e}if(B)B(e.res,n,R);e.set("Content-Length",R.size);if(!e.response.get("Last-Modified"))e.set("Last-Modified",R.mtime.toUTCString());if(!e.response.get("Cache-Control")){const n=[`max-age=${C/1e3|0}`];if(_){n.push("immutable")}e.set("Cache-Control",n.join(","))}if(!e.type)e.type=type(n,j);e.body=i.createReadStream(n);return n}function isHidden(e,n){n=n.substr(e.length).split(C);for(let e=0;e<n.length;e++){if(n[e][0]===".")return true}return false}function type(e,n){return n!==""?y(m(e,n)):y(e)}function decode(e){try{return decodeURIComponent(e)}catch(e){return-1}}},98521:function(e,n,s){"use strict";const i=s(52399)("koa-static");const{resolve:a}=s(16928);const o=s(42613);const l=s(59558);e.exports=serve;function serve(e,n){n=Object.assign({},n);o(e,"root directory is required to serve files");i('static "%s" %j',e,n);n.root=a(e);if(n.index!==false)n.index=n.index||"index.html";if(!n.defer){return async function serve(e,s){let i=false;if(e.method==="HEAD"||e.method==="GET"){try{i=await l(e,e.path,n)}catch(e){if(e.status!==404){throw e}}}if(!i){await s()}}}return async function serve(e,s){await s();if(e.method!=="HEAD"&&e.method!=="GET")return;if(e.body!=null||e.status!==404)return;try{await l(e,e.path,n)}catch(e){if(e.status!==404){throw e}}}}},81258:function(e,n,s){e=s.nmd(e);var i=200;var a="__lodash_hash_undefined__";var o=800,l=16;var c=9007199254740991;var p="[object Arguments]",d="[object Array]",f="[object AsyncFunction]",h="[object Boolean]",m="[object Date]",y="[object Error]",g="[object Function]",A="[object GeneratorFunction]",C="[object Map]",_="[object Number]",k="[object Null]",I="[object Object]",D="[object Proxy]",O="[object RegExp]",L="[object Set]",B="[object String]",j="[object Undefined]",R="[object WeakMap]";var $="[object ArrayBuffer]",H="[object DataView]",J="[object Float32Array]",ee="[object Float64Array]",te="[object Int8Array]",re="[object Int16Array]",ne="[object Int32Array]",se="[object Uint8Array]",ie="[object Uint8ClampedArray]",ae="[object Uint16Array]",oe="[object Uint32Array]";var le=/[\\^$.*+?()[\]{}|]/g;var ce=/^\[object .+?Constructor\]$/;var ue=/^(?:0|[1-9]\d*)$/;var pe={};pe[J]=pe[ee]=pe[te]=pe[re]=pe[ne]=pe[se]=pe[ie]=pe[ae]=pe[oe]=true;pe[p]=pe[d]=pe[$]=pe[h]=pe[H]=pe[m]=pe[y]=pe[g]=pe[C]=pe[_]=pe[I]=pe[O]=pe[L]=pe[B]=pe[R]=false;var de=typeof global=="object"&&global&&global.Object===Object&&global;var fe=typeof self=="object"&&self&&self.Object===Object&&self;var he=de||fe||Function("return this")();var me=true&&n&&!n.nodeType&&n;var ye=me&&"object"=="object"&&e&&!e.nodeType&&e;var ge=ye&&ye.exports===me;var be=ge&&de.process;var xe=function(){try{var e=ye&&ye.require&&ye.require("util").types;if(e){return e}return be&&be.binding&&be.binding("util")}catch(e){}}();var Te=xe&&xe.isTypedArray;function apply(e,n,s){switch(s.length){case 0:return e.call(n);case 1:return e.call(n,s[0]);case 2:return e.call(n,s[0],s[1]);case 3:return e.call(n,s[0],s[1],s[2])}return e.apply(n,s)}function baseTimes(e,n){var s=-1,i=Array(e);while(++s<e){i[s]=n(s)}return i}function baseUnary(e){return function(n){return e(n)}}function getValue(e,n){return e==null?undefined:e[n]}function overArg(e,n){return function(s){return e(n(s))}}var ve=Array.prototype,Se=Function.prototype,Ee=Object.prototype;var Pe=he["__core-js_shared__"];var we=Se.toString;var Ae=Ee.hasOwnProperty;var Ce=function(){var e=/[^.]+$/.exec(Pe&&Pe.keys&&Pe.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var _e=Ee.toString;var ke=we.call(Object);var Ie=RegExp("^"+we.call(Ae).replace(le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var De=ge?he.Buffer:undefined,Ne=he.Symbol,Oe=he.Uint8Array,Le=De?De.allocUnsafe:undefined,Me=overArg(Object.getPrototypeOf,Object),Fe=Object.create,Be=Ee.propertyIsEnumerable,je=ve.splice,Re=Ne?Ne.toStringTag:undefined;var Ue=function(){try{var e=getNative(Object,"defineProperty");e({},"",{});return e}catch(e){}}();var Ve=De?De.isBuffer:undefined,Ke=Math.max,We=Date.now;var qe=getNative(he,"Map"),$e=getNative(Object,"create");var He=function(){function object(){}return function(e){if(!isObject(e)){return{}}if(Fe){return Fe(e)}object.prototype=e;var n=new object;object.prototype=undefined;return n}}();function Hash(e){var n=-1,s=e==null?0:e.length;this.clear();while(++n<s){var i=e[n];this.set(i[0],i[1])}}function hashClear(){this.__data__=$e?$e(null):{};this.size=0}function hashDelete(e){var n=this.has(e)&&delete this.__data__[e];this.size-=n?1:0;return n}function hashGet(e){var n=this.__data__;if($e){var s=n[e];return s===a?undefined:s}return Ae.call(n,e)?n[e]:undefined}function hashHas(e){var n=this.__data__;return $e?n[e]!==undefined:Ae.call(n,e)}function hashSet(e,n){var s=this.__data__;this.size+=this.has(e)?0:1;s[e]=$e&&n===undefined?a:n;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(e){var n=-1,s=e==null?0:e.length;this.clear();while(++n<s){var i=e[n];this.set(i[0],i[1])}}function listCacheClear(){this.__data__=[];this.size=0}function listCacheDelete(e){var n=this.__data__,s=assocIndexOf(n,e);if(s<0){return false}var i=n.length-1;if(s==i){n.pop()}else{je.call(n,s,1)}--this.size;return true}function listCacheGet(e){var n=this.__data__,s=assocIndexOf(n,e);return s<0?undefined:n[s][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet(e,n){var s=this.__data__,i=assocIndexOf(s,e);if(i<0){++this.size;s.push([e,n])}else{s[i][1]=n}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var n=-1,s=e==null?0:e.length;this.clear();while(++n<s){var i=e[n];this.set(i[0],i[1])}}function mapCacheClear(){this.size=0;this.__data__={hash:new Hash,map:new(qe||ListCache),string:new Hash}}function mapCacheDelete(e){var n=getMapData(this,e)["delete"](e);this.size-=n?1:0;return n}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,n){var s=getMapData(this,e),i=s.size;s.set(e,n);this.size+=s.size==i?0:1;return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function Stack(e){var n=this.__data__=new ListCache(e);this.size=n.size}function stackClear(){this.__data__=new ListCache;this.size=0}function stackDelete(e){var n=this.__data__,s=n["delete"](e);this.size=n.size;return s}function stackGet(e){return this.__data__.get(e)}function stackHas(e){return this.__data__.has(e)}function stackSet(e,n){var s=this.__data__;if(s instanceof ListCache){var a=s.__data__;if(!qe||a.length<i-1){a.push([e,n]);this.size=++s.size;return this}s=this.__data__=new MapCache(a)}s.set(e,n);this.size=s.size;return this}Stack.prototype.clear=stackClear;Stack.prototype["delete"]=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function arrayLikeKeys(e,n){var s=Ge(e),i=!s&&Ye(e),a=!s&&!i&&Qe(e),o=!s&&!i&&!a&&Ze(e),l=s||i||a||o,c=l?baseTimes(e.length,String):[],p=c.length;for(var d in e){if((n||Ae.call(e,d))&&!(l&&(d=="length"||a&&(d=="offset"||d=="parent")||o&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||isIndex(d,p)))){c.push(d)}}return c}function assignMergeValue(e,n,s){if(s!==undefined&&!eq(e[n],s)||s===undefined&&!(n in e)){baseAssignValue(e,n,s)}}function assignValue(e,n,s){var i=e[n];if(!(Ae.call(e,n)&&eq(i,s))||s===undefined&&!(n in e)){baseAssignValue(e,n,s)}}function assocIndexOf(e,n){var s=e.length;while(s--){if(eq(e[s][0],n)){return s}}return-1}function baseAssignValue(e,n,s){if(n=="__proto__"&&Ue){Ue(e,n,{configurable:true,enumerable:true,value:s,writable:true})}else{e[n]=s}}var ze=createBaseFor();function baseGetTag(e){if(e==null){return e===undefined?j:k}return Re&&Re in Object(e)?getRawTag(e):objectToString(e)}function baseIsArguments(e){return isObjectLike(e)&&baseGetTag(e)==p}function baseIsNative(e){if(!isObject(e)||isMasked(e)){return false}var n=isFunction(e)?Ie:ce;return n.test(toSource(e))}function baseIsTypedArray(e){return isObjectLike(e)&&isLength(e.length)&&!!pe[baseGetTag(e)]}function baseKeysIn(e){if(!isObject(e)){return nativeKeysIn(e)}var n=isPrototype(e),s=[];for(var i in e){if(!(i=="constructor"&&(n||!Ae.call(e,i)))){s.push(i)}}return s}function baseMerge(e,n,s,i,a){if(e===n){return}ze(n,(function(o,l){a||(a=new Stack);if(isObject(o)){baseMergeDeep(e,n,l,s,baseMerge,i,a)}else{var c=i?i(safeGet(e,l),o,l+"",e,n,a):undefined;if(c===undefined){c=o}assignMergeValue(e,l,c)}}),keysIn)}function baseMergeDeep(e,n,s,i,a,o,l){var c=safeGet(e,s),p=safeGet(n,s),d=l.get(p);if(d){assignMergeValue(e,s,d);return}var f=o?o(c,p,s+"",e,n,l):undefined;var h=f===undefined;if(h){var m=Ge(p),y=!m&&Qe(p),g=!m&&!y&&Ze(p);f=p;if(m||y||g){if(Ge(c)){f=c}else if(isArrayLikeObject(c)){f=copyArray(c)}else if(y){h=false;f=cloneBuffer(p,true)}else if(g){h=false;f=cloneTypedArray(p,true)}else{f=[]}}else if(isPlainObject(p)||Ye(p)){f=c;if(Ye(c)){f=toPlainObject(c)}else if(!isObject(c)||isFunction(c)){f=initCloneObject(p)}}else{h=false}}if(h){l.set(p,f);a(f,p,i,o,l);l["delete"](p)}assignMergeValue(e,s,f)}function baseRest(e,n){return Je(overRest(e,n,identity),e+"")}var Xe=!Ue?identity:function(e,n){return Ue(e,"toString",{configurable:true,enumerable:false,value:constant(n),writable:true})};function cloneBuffer(e,n){if(n){return e.slice()}var s=e.length,i=Le?Le(s):new e.constructor(s);e.copy(i);return i}function cloneArrayBuffer(e){var n=new e.constructor(e.byteLength);new Oe(n).set(new Oe(e));return n}function cloneTypedArray(e,n){var s=n?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.length)}function copyArray(e,n){var s=-1,i=e.length;n||(n=Array(i));while(++s<i){n[s]=e[s]}return n}function copyObject(e,n,s,i){var a=!s;s||(s={});var o=-1,l=n.length;while(++o<l){var c=n[o];var p=i?i(s[c],e[c],c,s,e):undefined;if(p===undefined){p=e[c]}if(a){baseAssignValue(s,c,p)}else{assignValue(s,c,p)}}return s}function createAssigner(e){return baseRest((function(n,s){var i=-1,a=s.length,o=a>1?s[a-1]:undefined,l=a>2?s[2]:undefined;o=e.length>3&&typeof o=="function"?(a--,o):undefined;if(l&&isIterateeCall(s[0],s[1],l)){o=a<3?undefined:o;a=1}n=Object(n);while(++i<a){var c=s[i];if(c){e(n,c,i,o)}}return n}))}function createBaseFor(e){return function(n,s,i){var a=-1,o=Object(n),l=i(n),c=l.length;while(c--){var p=l[e?c:++a];if(s(o[p],p,o)===false){break}}return n}}function getMapData(e,n){var s=e.__data__;return isKeyable(n)?s[typeof n=="string"?"string":"hash"]:s.map}function getNative(e,n){var s=getValue(e,n);return baseIsNative(s)?s:undefined}function getRawTag(e){var n=Ae.call(e,Re),s=e[Re];try{e[Re]=undefined;var i=true}catch(e){}var a=_e.call(e);if(i){if(n){e[Re]=s}else{delete e[Re]}}return a}function initCloneObject(e){return typeof e.constructor=="function"&&!isPrototype(e)?He(Me(e)):{}}function isIndex(e,n){var s=typeof e;n=n==null?c:n;return!!n&&(s=="number"||s!="symbol"&&ue.test(e))&&(e>-1&&e%1==0&&e<n)}function isIterateeCall(e,n,s){if(!isObject(s)){return false}var i=typeof n;if(i=="number"?isArrayLike(s)&&isIndex(n,s.length):i=="string"&&n in s){return eq(s[n],e)}return false}function isKeyable(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}function isMasked(e){return!!Ce&&Ce in e}function isPrototype(e){var n=e&&e.constructor,s=typeof n=="function"&&n.prototype||Ee;return e===s}function nativeKeysIn(e){var n=[];if(e!=null){for(var s in Object(e)){n.push(s)}}return n}function objectToString(e){return _e.call(e)}function overRest(e,n,s){n=Ke(n===undefined?e.length-1:n,0);return function(){var i=arguments,a=-1,o=Ke(i.length-n,0),l=Array(o);while(++a<o){l[a]=i[n+a]}a=-1;var c=Array(n+1);while(++a<n){c[a]=i[a]}c[n]=s(l);return apply(e,this,c)}}function safeGet(e,n){if(n==="constructor"&&typeof e[n]==="function"){return}if(n=="__proto__"){return}return e[n]}var Je=shortOut(Xe);function shortOut(e){var n=0,s=0;return function(){var i=We(),a=l-(i-s);s=i;if(a>0){if(++n>=o){return arguments[0]}}else{n=0}return e.apply(undefined,arguments)}}function toSource(e){if(e!=null){try{return we.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eq(e,n){return e===n||e!==e&&n!==n}var Ye=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&Ae.call(e,"callee")&&!Be.call(e,"callee")};var Ge=Array.isArray;function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}function isArrayLikeObject(e){return isObjectLike(e)&&isArrayLike(e)}var Qe=Ve||stubFalse;function isFunction(e){if(!isObject(e)){return false}var n=baseGetTag(e);return n==g||n==A||n==f||n==D}function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=c}function isObject(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}function isObjectLike(e){return e!=null&&typeof e=="object"}function isPlainObject(e){if(!isObjectLike(e)||baseGetTag(e)!=I){return false}var n=Me(e);if(n===null){return true}var s=Ae.call(n,"constructor")&&n.constructor;return typeof s=="function"&&s instanceof s&&we.call(s)==ke}var Ze=Te?baseUnary(Te):baseIsTypedArray;function toPlainObject(e){return copyObject(e,keysIn(e))}function keysIn(e){return isArrayLike(e)?arrayLikeKeys(e,true):baseKeysIn(e)}var et=createAssigner((function(e,n,s){baseMerge(e,n,s)}));function constant(e){return function(){return e}}function identity(e){return e}function stubFalse(){return false}e.exports=et},19363:function(e,n,s){"use strict";const i=s(25663);const a=Symbol("max");const o=Symbol("length");const l=Symbol("lengthCalculator");const c=Symbol("allowStale");const p=Symbol("maxAge");const d=Symbol("dispose");const f=Symbol("noDisposeOnSet");const h=Symbol("lruList");const m=Symbol("cache");const y=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const n=this[a]=e.max||Infinity;const s=e.length||naiveLength;this[l]=typeof s!=="function"?naiveLength:s;this[c]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[p]=e.maxAge||0;this[d]=e.dispose;this[f]=e.noDisposeOnSet||false;this[y]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[a]=e||Infinity;trim(this)}get max(){return this[a]}set allowStale(e){this[c]=!!e}get allowStale(){return this[c]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[p]=e;trim(this)}get maxAge(){return this[p]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[l]){this[l]=e;this[o]=0;this[h].forEach((e=>{e.length=this[l](e.value,e.key);this[o]+=e.length}))}trim(this)}get lengthCalculator(){return this[l]}get length(){return this[o]}get itemCount(){return this[h].length}rforEach(e,n){n=n||this;for(let s=this[h].tail;s!==null;){const i=s.prev;forEachStep(this,e,s,n);s=i}}forEach(e,n){n=n||this;for(let s=this[h].head;s!==null;){const i=s.next;forEachStep(this,e,s,n);s=i}}keys(){return this[h].toArray().map((e=>e.key))}values(){return this[h].toArray().map((e=>e.value))}reset(){if(this[d]&&this[h]&&this[h].length){this[h].forEach((e=>this[d](e.key,e.value)))}this[m]=new Map;this[h]=new i;this[o]=0}dump(){return this[h].map((e=>isStale(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[h]}set(e,n,s){s=s||this[p];if(s&&typeof s!=="number")throw new TypeError("maxAge must be a number");const i=s?Date.now():0;const c=this[l](n,e);if(this[m].has(e)){if(c>this[a]){del(this,this[m].get(e));return false}const l=this[m].get(e);const p=l.value;if(this[d]){if(!this[f])this[d](e,p.value)}p.now=i;p.maxAge=s;p.value=n;this[o]+=c-p.length;p.length=c;this.get(e);trim(this);return true}const y=new Entry(e,n,c,i,s);if(y.length>this[a]){if(this[d])this[d](e,n);return false}this[o]+=y.length;this[h].unshift(y);this[m].set(e,this[h].head);trim(this);return true}has(e){if(!this[m].has(e))return false;const n=this[m].get(e).value;return!isStale(this,n)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[h].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[m].get(e))}load(e){this.reset();const n=Date.now();for(let s=e.length-1;s>=0;s--){const i=e[s];const a=i.e||0;if(a===0)this.set(i.k,i.v);else{const e=a-n;if(e>0){this.set(i.k,i.v,e)}}}}prune(){this[m].forEach(((e,n)=>get(this,n,false)))}}const get=(e,n,s)=>{const i=e[m].get(n);if(i){const n=i.value;if(isStale(e,n)){del(e,i);if(!e[c])return undefined}else{if(s){if(e[y])i.value.now=Date.now();e[h].unshiftNode(i)}}return n.value}};const isStale=(e,n)=>{if(!n||!n.maxAge&&!e[p])return false;const s=Date.now()-n.now;return n.maxAge?s>n.maxAge:e[p]&&s>e[p]};const trim=e=>{if(e[o]>e[a]){for(let n=e[h].tail;e[o]>e[a]&&n!==null;){const s=n.prev;del(e,n);n=s}}};const del=(e,n)=>{if(n){const s=n.value;if(e[d])e[d](s.key,s.value);e[o]-=s.length;e[m].delete(s.key);e[h].removeNode(n)}};class Entry{constructor(e,n,s,i,a){this.key=e;this.value=n;this.length=s;this.now=i;this.maxAge=a||0}}const forEachStep=(e,n,s,i)=>{let a=s.value;if(isStale(e,a)){del(e,s);if(!e[c])a=undefined}if(a)n.call(i,a.value,a.key,e)};e.exports=LRUCache},34328:function(e){"use strict";e.exports=Math.abs},70422:function(e){"use strict";e.exports=Math.floor},24021:function(e){"use strict";e.exports=Number.isNaN||function isNaN(e){return e!==e}},71378:function(e){"use strict";e.exports=Math.max},87388:function(e){"use strict";e.exports=Math.min},80526:function(e){"use strict";e.exports=Math.pow},17816:function(e){"use strict";e.exports=Math.round},19947:function(e,n,s){"use strict";var i=s(24021);e.exports=function sign(e){if(i(e)||e===0){return e}return e<0?-1:+1}},4167:function(e,n){
84
+ */var n;e.exports=function isWhitespace(e){return typeof e==="string"&&regex().test(e)};function regex(){return n||(n=new RegExp('^[\\s\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"]+$'))}},31080:function(e,n,s){"use strict";e=s.nmd(e);function get_beautify(e,n,s){var beautify=function(n,s){return e.js_beautify(n,s)};beautify.js=e.js_beautify;beautify.css=n.css_beautify;beautify.html=s.html_beautify;beautify.js_beautify=e.js_beautify;beautify.css_beautify=n.css_beautify;beautify.html_beautify=s.html_beautify;return beautify}if(typeof define==="function"&&define.amd){define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],(function(e,n,s){return get_beautify(e,n,s)}))}else{(function(e){var n=s(84609);n.js_beautify=n.js;n.css_beautify=n.css;n.html_beautify=n.html;e.exports=get_beautify(n,n,n)})(e)}},5863:function(e){"use strict";function Directives(e,n){e=typeof e==="string"?e:e.source;n=typeof n==="string"?n:n.source;this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+n,"g");this.__directive_pattern=/ (\w+)[:](\w+)/g;this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+n,"g")}Directives.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern)){return null}var n={};this.__directive_pattern.lastIndex=0;var s=this.__directive_pattern.exec(e);while(s){n[s[1]]=s[2];s=this.__directive_pattern.exec(e)}return n};Directives.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)};e.exports.D=Directives},58903:function(e){"use strict";var n=RegExp.prototype.hasOwnProperty("sticky");function InputScanner(e){this.__input=e||"";this.__input_length=this.__input.length;this.__position=0}InputScanner.prototype.restart=function(){this.__position=0};InputScanner.prototype.back=function(){if(this.__position>0){this.__position-=1}};InputScanner.prototype.hasNext=function(){return this.__position<this.__input_length};InputScanner.prototype.next=function(){var e=null;if(this.hasNext()){e=this.__input.charAt(this.__position);this.__position+=1}return e};InputScanner.prototype.peek=function(e){var n=null;e=e||0;e+=this.__position;if(e>=0&&e<this.__input_length){n=this.__input.charAt(e)}return n};InputScanner.prototype.__match=function(e,s){e.lastIndex=s;var i=e.exec(this.__input);if(i&&!(n&&e.sticky)){if(i.index!==s){i=null}}return i};InputScanner.prototype.test=function(e,n){n=n||0;n+=this.__position;if(n>=0&&n<this.__input_length){return!!this.__match(e,n)}else{return false}};InputScanner.prototype.testChar=function(e,n){var s=this.peek(n);e.lastIndex=0;return s!==null&&e.test(s)};InputScanner.prototype.match=function(e){var n=this.__match(e,this.__position);if(n){this.__position+=n[0].length}else{n=null}return n};InputScanner.prototype.read=function(e,n,s){var i="";var a;if(e){a=this.match(e);if(a){i+=a[0]}}if(n&&(a||!e)){i+=this.readUntil(n,s)}return i};InputScanner.prototype.readUntil=function(e,n){var s="";var i=this.__position;e.lastIndex=this.__position;var a=e.exec(this.__input);if(a){i=a.index;if(n){i+=a[0].length}}else{i=this.__input_length}s=this.__input.substring(this.__position,i);this.__position=i;return s};InputScanner.prototype.readUntilAfter=function(e){return this.readUntil(e,true)};InputScanner.prototype.get_regexp=function(e,s){var i=null;var a="g";if(s&&n){a="y"}if(typeof e==="string"&&e!==""){i=new RegExp(e,a)}else if(e){i=new RegExp(e.source,a)}return i};InputScanner.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))};InputScanner.prototype.peekUntilAfter=function(e){var n=this.__position;var s=this.readUntilAfter(e);this.__position=n;return s};InputScanner.prototype.lookBack=function(e){var n=this.__position-1;return n>=e.length&&this.__input.substring(n-e.length,n).toLowerCase()===e};e.exports.z=InputScanner},66599:function(e){"use strict";var n;function Options(e,n){this.raw_options=_mergeOpts(e,n);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",true);this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786);if(!this.preserve_newlines){this.max_preserve_newlines=0}this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char==="\t");if(this.indent_with_tabs){this.indent_char="\t";if(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","angular","django","erb","handlebars","php","smarty"],["auto"])}Options.prototype._get_array=function(e,n){var s=this.raw_options[e];var i=n||[];if(typeof s==="object"){if(s!==null&&typeof s.concat==="function"){i=s.concat()}}else if(typeof s==="string"){i=s.split(/[^a-zA-Z0-9_\/\-]+/)}return i};Options.prototype._get_boolean=function(e,n){var s=this.raw_options[e];var i=s===undefined?!!n:!!s;return i};Options.prototype._get_characters=function(e,n){var s=this.raw_options[e];var i=n||"";if(typeof s==="string"){i=s.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")}return i};Options.prototype._get_number=function(e,n){var s=this.raw_options[e];n=parseInt(n,10);if(isNaN(n)){n=0}var i=parseInt(s,10);if(isNaN(i)){i=n}return i};Options.prototype._get_selection=function(e,n,s){var i=this._get_selection_list(e,n,s);if(i.length!==1){throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+n+"\nYou passed in: '"+this.raw_options[e]+"'")}return i[0]};Options.prototype._get_selection_list=function(e,n,s){if(!n||n.length===0){throw new Error("Selection list cannot be empty.")}s=s||[n[0]];if(!this._is_valid_selection(s,n)){throw new Error("Invalid Default Value!")}var i=this._get_array(e,s);if(!this._is_valid_selection(i,n)){throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+n+"\nYou passed in: '"+this.raw_options[e]+"'")}return i};Options.prototype._is_valid_selection=function(e,n){return e.length&&n.length&&!e.some((function(e){return n.indexOf(e)===-1}))};function _mergeOpts(e,n){var s={};e=_normalizeOpts(e);var i;for(i in e){if(i!==n){s[i]=e[i]}}if(n&&e[n]){for(i in e[n]){s[i]=e[n][i]}}return s}function _normalizeOpts(e){var n={};var s;for(s in e){var i=s.replace(/-/g,"_");n[i]=e[s]}return n}e.exports.JY=Options;n=_normalizeOpts;n=_mergeOpts},35724:function(e){"use strict";function OutputLine(e){this.__parent=e;this.__character_count=0;this.__indent_count=-1;this.__alignment_count=0;this.__wrap_point_index=0;this.__wrap_point_character_count=0;this.__wrap_point_indent_count=-1;this.__wrap_point_alignment_count=0;this.__items=[]}OutputLine.prototype.clone_empty=function(){var e=new OutputLine(this.__parent);e.set_indent(this.__indent_count,this.__alignment_count);return e};OutputLine.prototype.item=function(e){if(e<0){return this.__items[this.__items.length+e]}else{return this.__items[e]}};OutputLine.prototype.has_match=function(e){for(var n=this.__items.length-1;n>=0;n--){if(this.__items[n].match(e)){return true}}return false};OutputLine.prototype.set_indent=function(e,n){if(this.is_empty()){this.__indent_count=e||0;this.__alignment_count=n||0;this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count)}};OutputLine.prototype._set_wrap_point=function(){if(this.__parent.wrap_line_length){this.__wrap_point_index=this.__items.length;this.__wrap_point_character_count=this.__character_count;this.__wrap_point_indent_count=this.__parent.next_line.__indent_count;this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count}};OutputLine.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count};OutputLine.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count);e.__items=this.__items.slice(this.__wrap_point_index);this.__items=this.__items.slice(0,this.__wrap_point_index);e.__character_count+=this.__character_count-this.__wrap_point_character_count;this.__character_count=this.__wrap_point_character_count;if(e.__items[0]===" "){e.__items.splice(0,1);e.__character_count-=1}return true}return false};OutputLine.prototype.is_empty=function(){return this.__items.length===0};OutputLine.prototype.last=function(){if(!this.is_empty()){return this.__items[this.__items.length-1]}else{return null}};OutputLine.prototype.push=function(e){this.__items.push(e);var n=e.lastIndexOf("\n");if(n!==-1){this.__character_count=e.length-n}else{this.__character_count+=e.length}};OutputLine.prototype.pop=function(){var e=null;if(!this.is_empty()){e=this.__items.pop();this.__character_count-=e.length}return e};OutputLine.prototype._remove_indent=function(){if(this.__indent_count>0){this.__indent_count-=1;this.__character_count-=this.__parent.indent_size}};OutputLine.prototype._remove_wrap_indent=function(){if(this.__wrap_point_indent_count>0){this.__wrap_point_indent_count-=1}};OutputLine.prototype.trim=function(){while(this.last()===" "){this.__items.pop();this.__character_count-=1}};OutputLine.prototype.toString=function(){var e="";if(this.is_empty()){if(this.__parent.indent_empty_lines){e=this.__parent.get_indent_string(this.__indent_count)}}else{e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count);e+=this.__items.join("")}return e};function IndentStringCache(e,n){this.__cache=[""];this.__indent_size=e.indent_size;this.__indent_string=e.indent_char;if(!e.indent_with_tabs){this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)}n=n||"";if(e.indent_level>0){n=new Array(e.indent_level+1).join(this.__indent_string)}this.__base_string=n;this.__base_string_length=n.length}IndentStringCache.prototype.get_indent_size=function(e,n){var s=this.__base_string_length;n=n||0;if(e<0){s=0}s+=e*this.__indent_size;s+=n;return s};IndentStringCache.prototype.get_indent_string=function(e,n){var s=this.__base_string;n=n||0;if(e<0){e=0;s=""}n+=e*this.__indent_size;this.__ensure_cache(n);s+=this.__cache[n];return s};IndentStringCache.prototype.__ensure_cache=function(e){while(e>=this.__cache.length){this.__add_column()}};IndentStringCache.prototype.__add_column=function(){var e=this.__cache.length;var n=0;var s="";if(this.__indent_size&&e>=this.__indent_size){n=Math.floor(e/this.__indent_size);e-=n*this.__indent_size;s=new Array(n+1).join(this.__indent_string)}if(e){s+=new Array(e+1).join(" ")}this.__cache.push(s)};function Output(e,n){this.__indent_cache=new IndentStringCache(e,n);this.raw=false;this._end_with_newline=e.end_with_newline;this.indent_size=e.indent_size;this.wrap_line_length=e.wrap_line_length;this.indent_empty_lines=e.indent_empty_lines;this.__lines=[];this.previous_line=null;this.current_line=null;this.next_line=new OutputLine(this);this.space_before_token=false;this.non_breaking_space=false;this.previous_token_wrapped=false;this.__add_outputline()}Output.prototype.__add_outputline=function(){this.previous_line=this.current_line;this.current_line=this.next_line.clone_empty();this.__lines.push(this.current_line)};Output.prototype.get_line_number=function(){return this.__lines.length};Output.prototype.get_indent_string=function(e,n){return this.__indent_cache.get_indent_string(e,n)};Output.prototype.get_indent_size=function(e,n){return this.__indent_cache.get_indent_size(e,n)};Output.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()};Output.prototype.add_new_line=function(e){if(this.is_empty()||!e&&this.just_added_newline()){return false}if(!this.raw){this.__add_outputline()}return true};Output.prototype.get_code=function(e){this.trim(true);var n=this.current_line.pop();if(n){if(n[n.length-1]==="\n"){n=n.replace(/\n+$/g,"")}this.current_line.push(n)}if(this._end_with_newline){this.__add_outputline()}var s=this.__lines.join("\n");if(e!=="\n"){s=s.replace(/[\n]/g,e)}return s};Output.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};Output.prototype.set_indent=function(e,n){e=e||0;n=n||0;this.next_line.set_indent(e,n);if(this.__lines.length>1){this.current_line.set_indent(e,n);return true}this.current_line.set_indent();return false};Output.prototype.add_raw_token=function(e){for(var n=0;n<e.newlines;n++){this.__add_outputline()}this.current_line.set_indent(-1);this.current_line.push(e.whitespace_before);this.current_line.push(e.text);this.space_before_token=false;this.non_breaking_space=false;this.previous_token_wrapped=false};Output.prototype.add_token=function(e){this.__add_space_before_token();this.current_line.push(e);this.space_before_token=false;this.non_breaking_space=false;this.previous_token_wrapped=this.current_line._allow_wrap()};Output.prototype.__add_space_before_token=function(){if(this.space_before_token&&!this.just_added_newline()){if(!this.non_breaking_space){this.set_wrap_point()}this.current_line.push(" ")}};Output.prototype.remove_indent=function(e){var n=this.__lines.length;while(e<n){this.__lines[e]._remove_indent();e++}this.current_line._remove_wrap_indent()};Output.prototype.trim=function(e){e=e===undefined?false:e;this.current_line.trim();while(e&&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};Output.prototype.just_added_newline=function(){return this.current_line.is_empty()};Output.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()};Output.prototype.ensure_empty_line_above=function(e,n){var s=this.__lines.length-2;while(s>=0){var i=this.__lines[s];if(i.is_empty()){break}else if(i.item(0).indexOf(e)!==0&&i.item(-1)!==n){this.__lines.splice(s+1,0,new OutputLine(this));this.previous_line=this.__lines[this.__lines.length-2];break}s--}};e.exports.k=Output},52795:function(e){"use strict";function Pattern(e,n){this._input=e;this._starting_pattern=null;this._match_pattern=null;this._until_pattern=null;this._until_after=false;if(n){this._starting_pattern=this._input.get_regexp(n._starting_pattern,true);this._match_pattern=this._input.get_regexp(n._match_pattern,true);this._until_pattern=this._input.get_regexp(n._until_pattern);this._until_after=n._until_after}}Pattern.prototype.read=function(){var e=this._input.read(this._starting_pattern);if(!this._starting_pattern||e){e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)}return e};Pattern.prototype.read_match=function(){return this._input.match(this._match_pattern)};Pattern.prototype.until_after=function(e){var n=this._create();n._until_after=true;n._until_pattern=this._input.get_regexp(e);n._update();return n};Pattern.prototype.until=function(e){var n=this._create();n._until_after=false;n._until_pattern=this._input.get_regexp(e);n._update();return n};Pattern.prototype.starting_with=function(e){var n=this._create();n._starting_pattern=this._input.get_regexp(e,true);n._update();return n};Pattern.prototype.matching=function(e){var n=this._create();n._match_pattern=this._input.get_regexp(e,true);n._update();return n};Pattern.prototype._create=function(){return new Pattern(this._input,this)};Pattern.prototype._update=function(){};e.exports.z=Pattern},37610:function(e,n,s){"use strict";var i=s(52795).z;var a={django:false,erb:false,handlebars:false,php:false,smarty:false,angular:false};function TemplatablePattern(e,n){i.call(this,e,n);this.__template_pattern=null;this._disabled=Object.assign({},a);this._excluded=Object.assign({},a);if(n){this.__template_pattern=this._input.get_regexp(n.__template_pattern);this._excluded=Object.assign(this._excluded,n._excluded);this._disabled=Object.assign(this._disabled,n._disabled)}var s=new i(e);this.__patterns={handlebars_comment:s.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:s.starting_with(/{{{/).until_after(/}}}/),handlebars:s.starting_with(/{{/).until_after(/}}/),php:s.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:s.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:s.starting_with(/{%/).until_after(/%}/),django_value:s.starting_with(/{{/).until_after(/}}/),django_comment:s.starting_with(/{#/).until_after(/#}/),smarty:s.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:s.starting_with(/{\*/).until_after(/\*}/),smarty_literal:s.starting_with(/{literal}/).until_after(/{\/literal}/)}}TemplatablePattern.prototype=new i;TemplatablePattern.prototype._create=function(){return new TemplatablePattern(this._input,this)};TemplatablePattern.prototype._update=function(){this.__set_templated_pattern()};TemplatablePattern.prototype.disable=function(e){var n=this._create();n._disabled[e]=true;n._update();return n};TemplatablePattern.prototype.read_options=function(e){var n=this._create();for(var s in a){n._disabled[s]=e.templating.indexOf(s)===-1}n._update();return n};TemplatablePattern.prototype.exclude=function(e){var n=this._create();n._excluded[e]=true;n._update();return n};TemplatablePattern.prototype.read=function(){var e="";if(this._match_pattern){e=this._input.read(this._starting_pattern)}else{e=this._input.read(this._starting_pattern,this.__template_pattern)}var n=this._read_template();while(n){if(this._match_pattern){n+=this._input.read(this._match_pattern)}else{n+=this._input.readUntil(this.__template_pattern)}e+=n;n=this._read_template()}if(this._until_after){e+=this._input.readUntilAfter(this._until_pattern)}return e};TemplatablePattern.prototype.__set_templated_pattern=function(){var e=[];if(!this._disabled.php){e.push(this.__patterns.php._starting_pattern.source)}if(!this._disabled.handlebars){e.push(this.__patterns.handlebars._starting_pattern.source)}if(!this._disabled.erb){e.push(this.__patterns.erb._starting_pattern.source)}if(!this._disabled.django){e.push(this.__patterns.django._starting_pattern.source);e.push(this.__patterns.django_value._starting_pattern.source);e.push(this.__patterns.django_comment._starting_pattern.source)}if(!this._disabled.smarty){e.push(this.__patterns.smarty._starting_pattern.source)}if(this._until_pattern){e.push(this._until_pattern.source)}this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")};TemplatablePattern.prototype._read_template=function(){var e="";var n=this._input.peek();if(n==="<"){var s=this._input.peek(1);if(!this._disabled.php&&!this._excluded.php&&s==="?"){e=e||this.__patterns.php.read()}if(!this._disabled.erb&&!this._excluded.erb&&s==="%"){e=e||this.__patterns.erb.read()}}else if(n==="{"){if(!this._disabled.handlebars&&!this._excluded.handlebars){e=e||this.__patterns.handlebars_comment.read();e=e||this.__patterns.handlebars_unescaped.read();e=e||this.__patterns.handlebars.read()}if(!this._disabled.django){if(!this._excluded.django&&!this._excluded.handlebars){e=e||this.__patterns.django_value.read()}if(!this._excluded.django){e=e||this.__patterns.django_comment.read();e=e||this.__patterns.django.read()}}if(!this._disabled.smarty){if(this._disabled.django&&this._disabled.handlebars){e=e||this.__patterns.smarty_comment.read();e=e||this.__patterns.smarty_literal.read();e=e||this.__patterns.smarty.read()}}}return e};e.exports.i=TemplatablePattern},63800:function(e){"use strict";function Token(e,n,s,i){this.type=e;this.text=n;this.comments_before=null;this.newlines=s||0;this.whitespace_before=i||"";this.parent=null;this.next=null;this.previous=null;this.opened=null;this.closed=null;this.directives=null}e.exports.o=Token},66328:function(e,n,s){"use strict";var i=s(58903).z;var a=s(63800).o;var o=s(504).e;var l=s(91132).g;var c={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"};var Tokenizer=function(e,n){this._input=new i(e);this._options=n||{};this.__tokens=null;this._patterns={};this._patterns.whitespace=new l(this._input)};Tokenizer.prototype.tokenize=function(){this._input.restart();this.__tokens=new o;this._reset();var e;var n=new a(c.START,"");var s=null;var i=[];var l=new o;while(n.type!==c.EOF){e=this._get_next_token(n,s);while(this._is_comment(e)){l.add(e);e=this._get_next_token(n,s)}if(!l.isEmpty()){e.comments_before=l;l=new o}e.parent=s;if(this._is_opening(e)){i.push(s);s=e}else if(s&&this._is_closing(e,s)){e.opened=s;s.closed=e;s=i.pop();e.parent=s}e.previous=n;n.next=e;this.__tokens.add(e);n=e}return this.__tokens};Tokenizer.prototype._is_first_token=function(){return this.__tokens.isEmpty()};Tokenizer.prototype._reset=function(){};Tokenizer.prototype._get_next_token=function(e,n){this._readWhitespace();var s=this._input.read(/.+/g);if(s){return this._create_token(c.RAW,s)}else{return this._create_token(c.EOF,"")}};Tokenizer.prototype._is_comment=function(e){return false};Tokenizer.prototype._is_opening=function(e){return false};Tokenizer.prototype._is_closing=function(e,n){return false};Tokenizer.prototype._create_token=function(e,n){var s=new a(e,n,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return s};Tokenizer.prototype._readWhitespace=function(){return this._patterns.whitespace.read()};e.exports._=Tokenizer;e.exports.C=c},504:function(e){"use strict";function TokenStream(e){this.__tokens=[];this.__tokens_length=this.__tokens.length;this.__position=0;this.__parent_token=e}TokenStream.prototype.restart=function(){this.__position=0};TokenStream.prototype.isEmpty=function(){return this.__tokens_length===0};TokenStream.prototype.hasNext=function(){return this.__position<this.__tokens_length};TokenStream.prototype.next=function(){var e=null;if(this.hasNext()){e=this.__tokens[this.__position];this.__position+=1}return e};TokenStream.prototype.peek=function(e){var n=null;e=e||0;e+=this.__position;if(e>=0&&e<this.__tokens_length){n=this.__tokens[e]}return n};TokenStream.prototype.add=function(e){if(this.__parent_token){e.parent=this.__parent_token}this.__tokens.push(e);this.__tokens_length+=1};e.exports.e=TokenStream},91132:function(e,n,s){"use strict";var i=s(52795).z;function WhitespacePattern(e,n){i.call(this,e,n);if(n){this._line_regexp=this._input.get_regexp(n._line_regexp)}else{this.__set_whitespace_patterns("","")}this.newline_count=0;this.whitespace_before_token=""}WhitespacePattern.prototype=new i;WhitespacePattern.prototype.__set_whitespace_patterns=function(e,n){e+="\\t ";n+="\\n\\r";this._match_pattern=this._input.get_regexp("["+e+n+"]+",true);this._newline_regexp=this._input.get_regexp("\\r\\n|["+n+"]")};WhitespacePattern.prototype.read=function(){this.newline_count=0;this.whitespace_before_token="";var e=this._input.read(this._match_pattern);if(e===" "){this.whitespace_before_token=" "}else if(e){var n=this.__split(this._newline_regexp,e);this.newline_count=n.length-1;this.whitespace_before_token=n[this.newline_count]}return e};WhitespacePattern.prototype.matching=function(e,n){var s=this._create();s.__set_whitespace_patterns(e,n);s._update();return s};WhitespacePattern.prototype._create=function(){return new WhitespacePattern(this._input,this)};WhitespacePattern.prototype.__split=function(e,n){e.lastIndex=0;var s=0;var i=[];var a=e.exec(n);while(a){i.push(n.substring(s,a.index));s=a.index+a[0].length;a=e.exec(n)}if(s<n.length){i.push(n.substring(s,n.length))}else{i.push("")}return i};e.exports.g=WhitespacePattern},97287:function(e,n,s){"use strict";var i=s(78979).J;var a=s(35724).k;var o=s(58903).z;var l=s(5863).D;var c=new l(/\/\*/,/\*\//);var p=/\r\n|[\r\n]/;var d=/\r\n|[\r\n]/g;var f=/\s/;var h=/(?:\s|\n)+/g;var m=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g;var y=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function Beautifier(e,n){this._source_text=e||"";this._options=new i(n);this._ch=null;this._input=null;this.NESTED_AT_RULE={page:true,"font-face":true,keyframes:true,media:true,supports:true,document:true};this.CONDITIONAL_GROUP_RULE={media:true,supports:true,document:true};this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}Beautifier.prototype.eatString=function(e){var n="";this._ch=this._input.next();while(this._ch){n+=this._ch;if(this._ch==="\\"){n+=this._input.next()}else if(e.indexOf(this._ch)!==-1||this._ch==="\n"){break}this._ch=this._input.next()}return n};Beautifier.prototype.eatWhitespace=function(e){var n=f.test(this._input.peek());var s=0;while(f.test(this._input.peek())){this._ch=this._input.next();if(e&&this._ch==="\n"){if(s===0||s<this._options.max_preserve_newlines){s++;this._output.add_new_line(true)}}}return n};Beautifier.prototype.foundNestedPseudoClass=function(){var e=0;var n=1;var s=this._input.peek(n);while(s){if(s==="{"){return true}else if(s==="("){e+=1}else if(s===")"){if(e===0){return false}e-=1}else if(s===";"||s==="}"){return false}n++;s=this._input.peek(n)}return false};Beautifier.prototype.print_string=function(e){this._output.set_indent(this._indentLevel);this._output.non_breaking_space=true;this._output.add_token(e)};Beautifier.prototype.preserveSingleSpace=function(e){if(e){this._output.space_before_token=true}};Beautifier.prototype.indent=function(){this._indentLevel++};Beautifier.prototype.outdent=function(){if(this._indentLevel>0){this._indentLevel--}};Beautifier.prototype.beautify=function(){if(this._options.disabled){return this._source_text}var e=this._source_text;var n=this._options.eol;if(n==="auto"){n="\n";if(e&&p.test(e||"")){n=e.match(p)[0]}}e=e.replace(d,"\n");var s=e.match(/^[\t ]*/)[0];this._output=new a(this._options,s);this._input=new o(e);this._indentLevel=0;this._nestedLevel=0;this._ch=null;var i=0;var l=false;var g=false;var A=false;var C=false;var _=false;var k=this._ch;var I=false;var D;var O;var L;while(true){D=this._input.read(h);O=D!=="";L=k;this._ch=this._input.next();if(this._ch==="\\"&&this._input.hasNext()){this._ch+=this._input.next()}k=this._ch;if(!this._ch){break}else if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line();this._input.back();var B=this._input.read(m);var j=c.get_directives(B);if(j&&j.ignore==="start"){B+=c.readIgnored(this._input)}this.print_string(B);this.eatWhitespace(true);this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/"){this._output.space_before_token=true;this._input.back();this.print_string(this._input.read(y));this.eatWhitespace(true)}else if(this._ch==="$"){this.preserveSingleSpace(O);this.print_string(this._ch);var R=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);if(R.match(/[ :]$/)){R=this.eatString(": ").replace(/\s+$/,"");this.print_string(R);this._output.space_before_token=true}if(i===0&&R.indexOf(":")!==-1){g=true;this.indent()}}else if(this._ch==="@"){this.preserveSingleSpace(O);if(this._input.peek()==="{"){this.print_string(this._ch+this.eatString("}"))}else{this.print_string(this._ch);var $=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);if($.match(/[ :]$/)){$=this.eatString(": ").replace(/\s+$/,"");this.print_string($);this._output.space_before_token=true}if(i===0&&$.indexOf(":")!==-1){g=true;this.indent()}else if($ in this.NESTED_AT_RULE){this._nestedLevel+=1;if($ in this.CONDITIONAL_GROUP_RULE){A=true}}else if(i===0&&!g){C=true}}}else if(this._ch==="#"&&this._input.peek()==="{"){this.preserveSingleSpace(O);this.print_string(this._ch+this.eatString("}"))}else if(this._ch==="{"){if(g){g=false;this.outdent()}C=false;if(A){A=false;l=this._indentLevel>=this._nestedLevel}else{l=this._indentLevel>=this._nestedLevel-1}if(this._options.newline_between_rules&&l){if(this._output.previous_line&&this._output.previous_line.item(-1)!=="{"){this._output.ensure_empty_line_above("/",",")}}this._output.space_before_token=true;if(this._options.brace_style==="expand"){this._output.add_new_line();this.print_string(this._ch);this.indent();this._output.set_indent(this._indentLevel)}else{if(L==="("){this._output.space_before_token=false}else if(L!==","){this.indent()}this.print_string(this._ch)}this.eatWhitespace(true);this._output.add_new_line()}else if(this._ch==="}"){this.outdent();this._output.add_new_line();if(L==="{"){this._output.trim(true)}if(g){this.outdent();g=false}this.print_string(this._ch);l=false;if(this._nestedLevel){this._nestedLevel--}this.eatWhitespace(true);this._output.add_new_line();if(this._options.newline_between_rules&&!this._output.just_added_blankline()){if(this._input.peek()!=="}"){this._output.add_new_line(true)}}if(this._input.peek()===")"){this._output.trim(true);if(this._options.brace_style==="expand"){this._output.add_new_line(true)}}}else if(this._ch===":"){for(var H=0;H<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;H++){if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[H])){I=true;break}}if((l||A)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!C&&i===0){this.print_string(":");if(!g){g=true;this._output.space_before_token=true;this.eatWhitespace(true);this.indent()}}else{if(this._input.lookBack(" ")){this._output.space_before_token=true}if(this._input.peek()===":"){this._ch=this._input.next();this.print_string("::")}else{this.print_string(":")}}}else if(this._ch==='"'||this._ch==="'"){var J=L==='"'||L==="'";this.preserveSingleSpace(J||O);this.print_string(this._ch+this.eatString(this._ch));this.eatWhitespace(true)}else if(this._ch===";"){I=false;if(i===0){if(g){this.outdent();g=false}C=false;this.print_string(this._ch);this.eatWhitespace(true);if(this._input.peek()!=="/"){this._output.add_new_line()}}else{this.print_string(this._ch);this.eatWhitespace(true);this._output.space_before_token=true}}else if(this._ch==="("){if(this._input.lookBack("url")){this.print_string(this._ch);this.eatWhitespace();i++;this.indent();this._ch=this._input.next();if(this._ch===")"||this._ch==='"'||this._ch==="'"){this._input.back()}else if(this._ch){this.print_string(this._ch+this.eatString(")"));if(i){i--;this.outdent()}}}else{var ee=false;if(this._input.lookBack("with")){ee=true}this.preserveSingleSpace(O||ee);this.print_string(this._ch);if(g&&L==="$"&&this._options.selector_separator_newline){this._output.add_new_line();_=true}else{this.eatWhitespace();i++;this.indent()}}}else if(this._ch===")"){if(i){i--;this.outdent()}if(_&&this._input.peek()===";"&&this._options.selector_separator_newline){_=false;this.outdent();this._output.add_new_line()}this.print_string(this._ch)}else if(this._ch===","){this.print_string(this._ch);this.eatWhitespace(true);if(this._options.selector_separator_newline&&(!g||_)&&i===0&&!C){this._output.add_new_line()}else{this._output.space_before_token=true}}else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!g&&i===0){if(this._options.space_around_combinator){this._output.space_before_token=true;this.print_string(this._ch);this._output.space_before_token=true}else{this.print_string(this._ch);this.eatWhitespace();if(this._ch&&f.test(this._ch)){this._ch=""}}}else if(this._ch==="]"){this.print_string(this._ch)}else if(this._ch==="["){this.preserveSingleSpace(O);this.print_string(this._ch)}else if(this._ch==="="){this.eatWhitespace();this.print_string("=");if(f.test(this._ch)){this._ch=""}}else if(this._ch==="!"&&!this._input.lookBack("\\")){this._output.space_before_token=true;this.print_string(this._ch)}else{var te=L==='"'||L==="'";this.preserveSingleSpace(te||O);this.print_string(this._ch);if(!this._output.just_added_newline()&&this._input.peek()==="\n"&&I){this._output.add_new_line()}}}var re=this._output.get_code(n);return re};e.exports.P=Beautifier},80217:function(e,n,s){"use strict";var i=s(97287).P,a=s(78979).J;function css_beautify(e,n){var s=new i(e,n);return s.beautify()}e.exports=css_beautify;e.exports.defaultOptions=function(){return new a}},78979:function(e,n,s){"use strict";var i=s(66599).JY;function Options(e){i.call(this,e,"css");this.selector_separator_newline=this._get_boolean("selector_separator_newline",true);this.newline_between_rules=this._get_boolean("newline_between_rules",true);var n=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||n;var s=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var a=0;a<s.length;a++){if(s[a]!=="expand"){this.brace_style="collapse"}else{this.brace_style=s[a]}}}Options.prototype=new i;e.exports.J=Options},85837:function(e,n,s){"use strict";var i=s(37273).J;var a=s(35724).k;var o=s(9414)._;var l=s(9414).C;var c=/\r\n|[\r\n]/;var p=/\r\n|[\r\n]/g;var Printer=function(e,n){this.indent_level=0;this.alignment_size=0;this.max_preserve_newlines=e.max_preserve_newlines;this.preserve_newlines=e.preserve_newlines;this._output=new a(e,n)};Printer.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)};Printer.prototype.set_space_before_token=function(e,n){this._output.space_before_token=e;this._output.non_breaking_space=n};Printer.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size);this._output.set_wrap_point()};Printer.prototype.add_raw_token=function(e){this._output.add_raw_token(e)};Printer.prototype.print_preserved_newlines=function(e){var n=0;if(e.type!==l.TEXT&&e.previous.type!==l.TEXT){n=e.newlines?1:0}if(this.preserve_newlines){n=e.newlines<this.max_preserve_newlines+1?e.newlines:this.max_preserve_newlines+1}for(var s=0;s<n;s++){this.print_newline(s>0)}return n!==0};Printer.prototype.traverse_whitespace=function(e){if(e.whitespace_before||e.newlines){if(!this.print_preserved_newlines(e)){this._output.space_before_token=true}return true}return false};Printer.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped};Printer.prototype.print_newline=function(e){this._output.add_new_line(e)};Printer.prototype.print_token=function(e){if(e.text){this._output.set_indent(this.indent_level,this.alignment_size);this._output.add_token(e.text)}};Printer.prototype.indent=function(){this.indent_level++};Printer.prototype.deindent=function(){if(this.indent_level>0){this.indent_level--;this._output.set_indent(this.indent_level,this.alignment_size)}};Printer.prototype.get_full_indent=function(e){e=this.indent_level+(e||0);if(e<1){return""}return this._output.get_indent_string(e)};var get_type_attribute=function(e){var n=null;var s=e.next;while(s.type!==l.EOF&&e.closed!==s){if(s.type===l.ATTRIBUTE&&s.text==="type"){if(s.next&&s.next.type===l.EQUALS&&s.next.next&&s.next.next.type===l.VALUE){n=s.next.next.text}break}s=s.next}return n};var get_custom_beautifier_name=function(e,n){var s=null;var i=null;if(!n.closed){return null}if(e==="script"){s="text/javascript"}else if(e==="style"){s="text/css"}s=get_type_attribute(n)||s;if(s.search("text/css")>-1){i="css"}else if(s.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1){i="javascript"}else if(s.search(/(text|application|dojo)\/(x-)?(html)/)>-1){i="html"}else if(s.search(/test\/null/)>-1){i="null"}return i};function in_array(e,n){return n.indexOf(e)!==-1}function TagFrame(e,n,s){this.parent=e||null;this.tag=n?n.tag_name:"";this.indent_level=s||0;this.parser_token=n||null}function TagStack(e){this._printer=e;this._current_frame=null}TagStack.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null};TagStack.prototype.record_tag=function(e){var n=new TagFrame(this._current_frame,e,this._printer.indent_level);this._current_frame=n};TagStack.prototype._try_pop_frame=function(e){var n=null;if(e){n=e.parser_token;this._printer.indent_level=e.indent_level;this._current_frame=e.parent}return n};TagStack.prototype._get_frame=function(e,n){var s=this._current_frame;while(s){if(e.indexOf(s.tag)!==-1){break}else if(n&&n.indexOf(s.tag)!==-1){s=null;break}s=s.parent}return s};TagStack.prototype.try_pop=function(e,n){var s=this._get_frame([e],n);return this._try_pop_frame(s)};TagStack.prototype.indent_to_tag=function(e){var n=this._get_frame(e);if(n){this._printer.indent_level=n.indent_level}};function Beautifier(e,n,s,a){this._source_text=e||"";n=n||{};this._js_beautify=s;this._css_beautify=a;this._tag_stack=null;var o=new i(n,"html");this._options=o;this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,"force".length)==="force";this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline";this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned";this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple";this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,"preserve".length)==="preserve";this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}Beautifier.prototype.beautify=function(){if(this._options.disabled){return this._source_text}var e=this._source_text;var n=this._options.eol;if(this._options.eol==="auto"){n="\n";if(e&&c.test(e)){n=e.match(c)[0]}}e=e.replace(p,"\n");var s=e.match(/^[\t ]*/)[0];var i={text:"",type:""};var a=new TagOpenParserToken;var d=new Printer(this._options,s);var f=new o(e,this._options).tokenize();this._tag_stack=new TagStack(d);var h=null;var m=f.next();while(m.type!==l.EOF){if(m.type===l.TAG_OPEN||m.type===l.COMMENT){h=this._handle_tag_open(d,m,a,i,f);a=h}else if(m.type===l.ATTRIBUTE||m.type===l.EQUALS||m.type===l.VALUE||m.type===l.TEXT&&!a.tag_complete){h=this._handle_inside_tag(d,m,a,i)}else if(m.type===l.TAG_CLOSE){h=this._handle_tag_close(d,m,a)}else if(m.type===l.TEXT){h=this._handle_text(d,m,a)}else if(m.type===l.CONTROL_FLOW_OPEN){h=this._handle_control_flow_open(d,m)}else if(m.type===l.CONTROL_FLOW_CLOSE){h=this._handle_control_flow_close(d,m)}else{d.add_raw_token(m)}i=h;m=f.next()}var y=d._output.get_code(n);return y};Beautifier.prototype._handle_control_flow_open=function(e,n){var s={text:n.text,type:n.type};e.set_space_before_token(n.newlines||n.whitespace_before!=="",true);if(n.newlines){e.print_preserved_newlines(n)}else{e.set_space_before_token(n.newlines||n.whitespace_before!=="",true)}e.print_token(n);e.indent();return s};Beautifier.prototype._handle_control_flow_close=function(e,n){var s={text:n.text,type:n.type};e.deindent();if(n.newlines){e.print_preserved_newlines(n)}else{e.set_space_before_token(n.newlines||n.whitespace_before!=="",true)}e.print_token(n);return s};Beautifier.prototype._handle_tag_close=function(e,n,s){var i={text:n.text,type:n.type};e.alignment_size=0;s.tag_complete=true;e.set_space_before_token(n.newlines||n.whitespace_before!=="",true);if(s.is_unformatted){e.add_raw_token(n)}else{if(s.tag_start_char==="<"){e.set_space_before_token(n.text[0]==="/",true);if(this._is_wrap_attributes_force_expand_multiline&&s.has_wrapped_attrs){e.print_newline(false)}}e.print_token(n)}if(s.indent_content&&!(s.is_unformatted||s.is_content_unformatted)){e.indent();s.indent_content=false}if(!s.is_inline_element&&!(s.is_unformatted||s.is_content_unformatted)){e.set_wrap_point()}return i};Beautifier.prototype._handle_inside_tag=function(e,n,s,i){var a=s.has_wrapped_attrs;var o={text:n.text,type:n.type};e.set_space_before_token(n.newlines||n.whitespace_before!=="",true);if(s.is_unformatted){e.add_raw_token(n)}else if(s.tag_start_char==="{"&&n.type===l.TEXT){if(e.print_preserved_newlines(n)){n.newlines=0;e.add_raw_token(n)}else{e.print_token(n)}}else{if(n.type===l.ATTRIBUTE){e.set_space_before_token(true)}else if(n.type===l.EQUALS){e.set_space_before_token(false)}else if(n.type===l.VALUE&&n.previous.type===l.EQUALS){e.set_space_before_token(false)}if(n.type===l.ATTRIBUTE&&s.tag_start_char==="<"){if(this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned){e.traverse_whitespace(n);a=a||n.newlines!==0}if(this._is_wrap_attributes_force&&s.attr_count>=this._options.wrap_attributes_min_attrs&&(i.type!==l.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)){e.print_newline(false);a=true}}e.print_token(n);a=a||e.previous_token_wrapped();s.has_wrapped_attrs=a}return o};Beautifier.prototype._handle_text=function(e,n,s){var i={text:n.text,type:"TK_CONTENT"};if(s.custom_beautifier_name){this._print_custom_beatifier_text(e,n,s)}else if(s.is_unformatted||s.is_content_unformatted){e.add_raw_token(n)}else{e.traverse_whitespace(n);e.print_token(n)}return i};Beautifier.prototype._print_custom_beatifier_text=function(e,n,s){var i=this;if(n.text!==""){var a=n.text,o,l=1,c="",p="";if(s.custom_beautifier_name==="javascript"&&typeof this._js_beautify==="function"){o=this._js_beautify}else if(s.custom_beautifier_name==="css"&&typeof this._css_beautify==="function"){o=this._css_beautify}else if(s.custom_beautifier_name==="html"){o=function(e,n){var s=new Beautifier(e,n,i._js_beautify,i._css_beautify);return s.beautify()}}if(this._options.indent_scripts==="keep"){l=0}else if(this._options.indent_scripts==="separate"){l=-e.indent_level}var d=e.get_full_indent(l);a=a.replace(/\n[ \t]*$/,"");if(s.custom_beautifier_name!=="html"&&a[0]==="<"&&a.match(/^(<!--|<!\[CDATA\[)/)){var f=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(a);if(!f){e.add_raw_token(n);return}c=d+f[1]+"\n";a=f[4];if(f[5]){p=d+f[5]}a=a.replace(/\n[ \t]*$/,"");if(f[2]||f[3].indexOf("\n")!==-1){f=f[3].match(/[ \t]+$/);if(f){n.whitespace_before=f[0]}}}if(a){if(o){var Child_options=function(){this.eol="\n"};Child_options.prototype=this._options.raw_options;var h=new Child_options;a=o(d+a,h)}else{var m=n.whitespace_before;if(m){a=a.replace(new RegExp("\n("+m+")?","g"),"\n")}a=d+a.replace(/\n/g,"\n"+d)}}if(c){if(!a){a=c+p}else{a=c+a+"\n"+p}}e.print_newline(false);if(a){n.text=a;n.whitespace_before="";n.newlines=0;e.add_raw_token(n);e.print_newline(true)}}};Beautifier.prototype._handle_tag_open=function(e,n,s,i,a){var o=this._get_tag_open_token(n);if((s.is_unformatted||s.is_content_unformatted)&&!s.is_empty_element&&n.type===l.TAG_OPEN&&!o.is_start_tag){e.add_raw_token(n);o.start_tag_token=this._tag_stack.try_pop(o.tag_name)}else{e.traverse_whitespace(n);this._set_tag_position(e,n,o,s,i);if(!o.is_inline_element){e.set_wrap_point()}e.print_token(n)}if(o.is_start_tag&&this._is_wrap_attributes_force){var c=0;var p;do{p=a.peek(c);if(p.type===l.ATTRIBUTE){o.attr_count+=1}c+=1}while(p.type!==l.EOF&&p.type!==l.TAG_CLOSE)}if(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned){o.alignment_size=n.text.length+1}if(!o.tag_complete&&!o.is_unformatted){e.alignment_size=o.alignment_size}return o};var TagOpenParserToken=function(e,n){this.parent=e||null;this.text="";this.type="TK_TAG_OPEN";this.tag_name="";this.is_inline_element=false;this.is_unformatted=false;this.is_content_unformatted=false;this.is_empty_element=false;this.is_start_tag=false;this.is_end_tag=false;this.indent_content=false;this.multiline_content=false;this.custom_beautifier_name=null;this.start_tag_token=null;this.attr_count=0;this.has_wrapped_attrs=false;this.alignment_size=0;this.tag_complete=false;this.tag_start_char="";this.tag_check="";if(!n){this.tag_complete=true}else{var s;this.tag_start_char=n.text[0];this.text=n.text;if(this.tag_start_char==="<"){s=n.text.match(/^<([^\s>]*)/);this.tag_check=s?s[1]:""}else{s=n.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/);this.tag_check=s?s[1]:"";if((n.text.startsWith("{{#>")||n.text.startsWith("{{~#>"))&&this.tag_check[0]===">"){if(this.tag_check===">"&&n.next!==null){this.tag_check=n.next.text.split(" ")[0]}else{this.tag_check=n.text.split(">")[1]}}}this.tag_check=this.tag_check.toLowerCase();if(n.type===l.COMMENT){this.tag_complete=true}this.is_start_tag=this.tag_check.charAt(0)!=="/";this.tag_name=!this.is_start_tag?this.tag_check.substr(1):this.tag_check;this.is_end_tag=!this.is_start_tag||n.closed&&n.closed.text==="/>";var i=2;if(this.tag_start_char==="{"&&this.text.length>=3){if(this.text.charAt(2)==="~"){i=3}}this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(i)))}};Beautifier.prototype._get_tag_open_token=function(e){var n=new TagOpenParserToken(this._tag_stack.get_parser_token(),e);n.alignment_size=this._options.wrap_attributes_indent_size;n.is_end_tag=n.is_end_tag||in_array(n.tag_check,this._options.void_elements);n.is_empty_element=n.tag_complete||n.is_start_tag&&n.is_end_tag;n.is_unformatted=!n.tag_complete&&in_array(n.tag_check,this._options.unformatted);n.is_content_unformatted=!n.is_empty_element&&in_array(n.tag_check,this._options.content_unformatted);n.is_inline_element=in_array(n.tag_name,this._options.inline)||this._options.inline_custom_elements&&n.tag_name.includes("-")||n.tag_start_char==="{";return n};Beautifier.prototype._set_tag_position=function(e,n,s,i,a){if(!s.is_empty_element){if(s.is_end_tag){s.start_tag_token=this._tag_stack.try_pop(s.tag_name)}else{if(this._do_optional_end_element(s)){if(!s.is_inline_element){e.print_newline(false)}}this._tag_stack.record_tag(s);if((s.tag_name==="script"||s.tag_name==="style")&&!(s.is_unformatted||s.is_content_unformatted)){s.custom_beautifier_name=get_custom_beautifier_name(s.tag_check,n)}}}if(in_array(s.tag_check,this._options.extra_liners)){e.print_newline(false);if(!e._output.just_added_blankline()){e.print_newline(true)}}if(s.is_empty_element){if(s.tag_start_char==="{"&&s.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]);s.indent_content=true;var o=e.current_line_has_match(/{{#if/);if(!o){e.print_newline(false)}}if(s.tag_name==="!--"&&a.type===l.TAG_CLOSE&&i.is_end_tag&&s.text.indexOf("\n")===-1){}else{if(!(s.is_inline_element||s.is_unformatted)){e.print_newline(false)}this._calcluate_parent_multiline(e,s)}}else if(s.is_end_tag){var c=false;c=s.start_tag_token&&s.start_tag_token.multiline_content;c=c||!s.is_inline_element&&!(i.is_inline_element||i.is_unformatted)&&!(a.type===l.TAG_CLOSE&&s.start_tag_token===i)&&a.type!=="TK_CONTENT";if(s.is_content_unformatted||s.is_unformatted){c=false}if(c){e.print_newline(false)}}else{s.indent_content=!s.custom_beautifier_name;if(s.tag_start_char==="<"){if(s.tag_name==="html"){s.indent_content=this._options.indent_inner_html}else if(s.tag_name==="head"){s.indent_content=this._options.indent_head_inner_html}else if(s.tag_name==="body"){s.indent_content=this._options.indent_body_inner_html}}if(!(s.is_inline_element||s.is_unformatted)&&(a.type!=="TK_CONTENT"||s.is_content_unformatted)){e.print_newline(false)}this._calcluate_parent_multiline(e,s)}};Beautifier.prototype._calcluate_parent_multiline=function(e,n){if(n.parent&&e._output.just_added_newline()&&!((n.is_inline_element||n.is_unformatted)&&n.parent.is_inline_element)){n.parent.multiline_content=true}};var d=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"];var f=["a","audio","del","ins","map","noscript","video"];Beautifier.prototype._do_optional_end_element=function(e){var n=null;if(e.is_empty_element||!e.is_start_tag||!e.parent){return}if(e.tag_name==="body"){n=n||this._tag_stack.try_pop("head")}else if(e.tag_name==="li"){n=n||this._tag_stack.try_pop("li",["ol","ul","menu"])}else if(e.tag_name==="dd"||e.tag_name==="dt"){n=n||this._tag_stack.try_pop("dt",["dl"]);n=n||this._tag_stack.try_pop("dd",["dl"])}else if(e.parent.tag_name==="p"&&d.indexOf(e.tag_name)!==-1){var s=e.parent.parent;if(!s||f.indexOf(s.tag_name)===-1){n=n||this._tag_stack.try_pop("p")}}else if(e.tag_name==="rp"||e.tag_name==="rt"){n=n||this._tag_stack.try_pop("rt",["ruby","rtc"]);n=n||this._tag_stack.try_pop("rp",["ruby","rtc"])}else if(e.tag_name==="optgroup"){n=n||this._tag_stack.try_pop("optgroup",["select"])}else if(e.tag_name==="option"){n=n||this._tag_stack.try_pop("option",["select","datalist","optgroup"])}else if(e.tag_name==="colgroup"){n=n||this._tag_stack.try_pop("caption",["table"])}else if(e.tag_name==="thead"){n=n||this._tag_stack.try_pop("caption",["table"]);n=n||this._tag_stack.try_pop("colgroup",["table"])}else if(e.tag_name==="tbody"||e.tag_name==="tfoot"){n=n||this._tag_stack.try_pop("caption",["table"]);n=n||this._tag_stack.try_pop("colgroup",["table"]);n=n||this._tag_stack.try_pop("thead",["table"]);n=n||this._tag_stack.try_pop("tbody",["table"])}else if(e.tag_name==="tr"){n=n||this._tag_stack.try_pop("caption",["table"]);n=n||this._tag_stack.try_pop("colgroup",["table"]);n=n||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])}else if(e.tag_name==="th"||e.tag_name==="td"){n=n||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]);n=n||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"])}e.parent=this._tag_stack.get_parser_token();return n};e.exports.P=Beautifier},89643:function(e,n,s){"use strict";var i=s(85837).P,a=s(37273).J;function style_html(e,n,s,a){var o=new i(e,n,s,a);return o.beautify()}e.exports=style_html;e.exports.defaultOptions=function(){return new a}},37273:function(e,n,s){"use strict";var i=s(66599).JY;function Options(e){i.call(this,e,"html");if(this.templating.length===1&&this.templating[0]==="auto"){this.templating=["django","erb","handlebars","php"]}this.indent_inner_html=this._get_boolean("indent_inner_html");this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",true);this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",true);this.indent_handlebars=this._get_boolean("indent_handlebars",true);this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]);this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2);this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size);this.extra_liners=this._get_array("extra_liners",["head","body","/html"]);this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]);this.inline_custom_elements=this._get_boolean("inline_custom_elements",true);this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]);this.unformatted=this._get_array("unformatted",[]);this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]);this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter");this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}Options.prototype=new i;e.exports.J=Options},9414:function(e,n,s){"use strict";var i=s(66328)._;var a=s(66328).C;var o=s(5863).D;var l=s(37610).i;var c=s(52795).z;var p={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:a.START,RAW:a.RAW,EOF:a.EOF};var d=new o(/<\!--/,/-->/);var Tokenizer=function(e,n){i.call(this,e,n);this._current_tag_name="";var s=new l(this._input).read_options(this._options);var a=new c(this._input);this.__patterns={word:s.until(/[\n\r\t <]/),word_control_flow_close_excluded:s.until(/[\n\r\t <}]/),single_quote:s.until_after(/'/),double_quote:s.until_after(/"/),attribute:s.until(/[\n\r\t =>]|\/>/),element_name:s.until(/[\n\r\t >\/]/),angular_control_flow_start:a.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:a.starting_with(/{{!--/).until_after(/--}}/),handlebars:a.starting_with(/{{/).until_after(/}}/),handlebars_open:a.until(/[\n\r\t }]/),handlebars_raw_close:a.until(/}}/),comment:a.starting_with(/<!--/).until_after(/-->/),cdata:a.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:a.starting_with(/<!\[/).until_after(/]>/),processing:a.starting_with(/<\?/).until_after(/\?>/)};if(this._options.indent_handlebars){this.__patterns.word=this.__patterns.word.exclude("handlebars");this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")}this._unformatted_content_delimiter=null;if(this._options.unformatted_content_delimiter){var o=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=a.matching(o).until_after(o)}};Tokenizer.prototype=new i;Tokenizer.prototype._is_comment=function(e){return false};Tokenizer.prototype._is_opening=function(e){return e.type===p.TAG_OPEN||e.type===p.CONTROL_FLOW_OPEN};Tokenizer.prototype._is_closing=function(e,n){return e.type===p.TAG_CLOSE&&(n&&((e.text===">"||e.text==="/>")&&n.text[0]==="<"||e.text==="}}"&&n.text[0]==="{"&&n.text[1]==="{"))||e.type===p.CONTROL_FLOW_CLOSE&&(e.text==="}"&&n.text.endsWith("{"))};Tokenizer.prototype._reset=function(){this._current_tag_name=""};Tokenizer.prototype._get_next_token=function(e,n){var s=null;this._readWhitespace();var i=this._input.peek();if(i===null){return this._create_token(p.EOF,"")}s=s||this._read_open_handlebars(i,n);s=s||this._read_attribute(i,e,n);s=s||this._read_close(i,n);s=s||this._read_control_flows(i,n);s=s||this._read_raw_content(i,e,n);s=s||this._read_content_word(i,n);s=s||this._read_comment_or_cdata(i);s=s||this._read_processing(i);s=s||this._read_open(i,n);s=s||this._create_token(p.UNKNOWN,this._input.next());return s};Tokenizer.prototype._read_comment_or_cdata=function(e){var n=null;var s=null;var i=null;if(e==="<"){var a=this._input.peek(1);if(a==="!"){s=this.__patterns.comment.read();if(s){i=d.get_directives(s);if(i&&i.ignore==="start"){s+=d.readIgnored(this._input)}}else{s=this.__patterns.cdata.read()}}if(s){n=this._create_token(p.COMMENT,s);n.directives=i}}return n};Tokenizer.prototype._read_processing=function(e){var n=null;var s=null;var i=null;if(e==="<"){var a=this._input.peek(1);if(a==="!"||a==="?"){s=this.__patterns.conditional_comment.read();s=s||this.__patterns.processing.read()}if(s){n=this._create_token(p.COMMENT,s);n.directives=i}}return n};Tokenizer.prototype._read_open=function(e,n){var s=null;var i=null;if(!n||n.type===p.CONTROL_FLOW_OPEN){if(e==="<"){s=this._input.next();if(this._input.peek()==="/"){s+=this._input.next()}s+=this.__patterns.element_name.read();i=this._create_token(p.TAG_OPEN,s)}}return i};Tokenizer.prototype._read_open_handlebars=function(e,n){var s=null;var i=null;if(!n||n.type===p.CONTROL_FLOW_OPEN){if(this._options.indent_handlebars&&e==="{"&&this._input.peek(1)==="{"){if(this._input.peek(2)==="!"){s=this.__patterns.handlebars_comment.read();s=s||this.__patterns.handlebars.read();i=this._create_token(p.COMMENT,s)}else{s=this.__patterns.handlebars_open.read();i=this._create_token(p.TAG_OPEN,s)}}}return i};Tokenizer.prototype._read_control_flows=function(e,n){var s="";var i=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars){return i}if(e==="@"){s=this.__patterns.angular_control_flow_start.read();if(s===""){return i}var a=s.endsWith("(")?1:0;var o=0;while(!(s.endsWith("{")&&a===o)){var l=this._input.next();if(l===null){break}else if(l==="("){a++}else if(l===")"){o++}s+=l}i=this._create_token(p.CONTROL_FLOW_OPEN,s)}else if(e==="}"&&n&&n.type===p.CONTROL_FLOW_OPEN){s=this._input.next();i=this._create_token(p.CONTROL_FLOW_CLOSE,s)}return i};Tokenizer.prototype._read_close=function(e,n){var s=null;var i=null;if(n&&n.type===p.TAG_OPEN){if(n.text[0]==="<"&&(e===">"||e==="/"&&this._input.peek(1)===">")){s=this._input.next();if(e==="/"){s+=this._input.next()}i=this._create_token(p.TAG_CLOSE,s)}else if(n.text[0]==="{"&&e==="}"&&this._input.peek(1)==="}"){this._input.next();this._input.next();i=this._create_token(p.TAG_CLOSE,"}}")}}return i};Tokenizer.prototype._read_attribute=function(e,n,s){var i=null;var a="";if(s&&s.text[0]==="<"){if(e==="="){i=this._create_token(p.EQUALS,this._input.next())}else if(e==='"'||e==="'"){var o=this._input.next();if(e==='"'){o+=this.__patterns.double_quote.read()}else{o+=this.__patterns.single_quote.read()}i=this._create_token(p.VALUE,o)}else{a=this.__patterns.attribute.read();if(a){if(n.type===p.EQUALS){i=this._create_token(p.VALUE,a)}else{i=this._create_token(p.ATTRIBUTE,a)}}}}return i};Tokenizer.prototype._is_content_unformatted=function(e){return this._options.void_elements.indexOf(e)===-1&&(this._options.content_unformatted.indexOf(e)!==-1||this._options.unformatted.indexOf(e)!==-1)};Tokenizer.prototype._read_raw_content=function(e,n,s){var i="";if(s&&s.text[0]==="{"){i=this.__patterns.handlebars_raw_close.read()}else if(n.type===p.TAG_CLOSE&&n.opened.text[0]==="<"&&n.text[0]!=="/"){var a=n.opened.text.substr(1).toLowerCase();if(a==="script"||a==="style"){var o=this._read_comment_or_cdata(e);if(o){o.type=p.TEXT;return o}i=this._input.readUntil(new RegExp("</"+a+"[\\n\\r\\t ]*?>","ig"))}else if(this._is_content_unformatted(a)){i=this._input.readUntil(new RegExp("</"+a+"[\\n\\r\\t ]*?>","ig"))}}if(i){return this._create_token(p.TEXT,i)}return null};Tokenizer.prototype._read_content_word=function(e,n){var s="";if(this._options.unformatted_content_delimiter){if(e===this._options.unformatted_content_delimiter[0]){s=this.__patterns.unformatted_content_delimiter.read()}}if(!s){s=n&&n.type===p.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()}if(s){return this._create_token(p.TEXT,s)}};e.exports._=Tokenizer;e.exports.C=p},84609:function(e,n,s){"use strict";var i=s(94465);var a=s(80217);var o=s(89643);function style_html(e,n,s,l){s=s||i;l=l||a;return o(e,n,s,l)}style_html.defaultOptions=o.defaultOptions;e.exports.js=i;e.exports.css=a;e.exports.html=style_html},12972:function(e,n){"use strict";var s="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a";var i="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a";var a="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc";var o="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f";var l="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}";var c="(?:"+l+"|["+s+a+"])";var p="(?:"+l+"|["+i+a+o+"])*";n.identifier=new RegExp(c+p,"g");n.identifierStart=new RegExp(c);n.identifierMatch=new RegExp("(?:"+l+"|["+i+a+o+"])+");var d=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;n.newline=/[\n\r\u2028\u2029]/;n.lineBreak=new RegExp("\r\n|"+n.newline.source);n.allLineBreaks=new RegExp(n.lineBreak.source,"g")},70063:function(e,n,s){"use strict";var i=s(35724).k;var a=s(63800).o;var o=s(12972);var l=s(71931).J;var c=s(22804)._F;var p=s(22804).O0;var d=s(22804).OK;var f=s(22804).CV;function in_array(e,n){return n.indexOf(e)!==-1}function ltrim(e){return e.replace(/^\s+/g,"")}function generateMapFromStrings(e){var n={};for(var s=0;s<e.length;s++){n[e[s].replace(/-/g,"_")]=e[s]}return n}function reserved_word(e,n){return e&&e.type===f.RESERVED&&e.text===n}function reserved_array(e,n){return e&&e.type===f.RESERVED&&in_array(e.text,n)}var h=["case","return","do","if","throw","else","await","break","continue","async"];var m=["before-newline","after-newline","preserve-newline"];var y=generateMapFromStrings(m);var g=[y.before_newline,y.preserve_newline];var A={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function remove_redundant_indentation(e,n){if(n.multiline_frame||n.mode===A.ForInitializer||n.mode===A.Conditional){return}e.remove_indent(n.start_line_index)}function split_linebreaks(e){e=e.replace(o.allLineBreaks,"\n");var n=[],s=e.indexOf("\n");while(s!==-1){n.push(e.substring(0,s));e=e.substring(s+1);s=e.indexOf("\n")}if(e.length){n.push(e)}return n}function is_array(e){return e===A.ArrayLiteral}function is_expression(e){return in_array(e,[A.Expression,A.ForInitializer,A.Conditional])}function all_lines_start_with(e,n){for(var s=0;s<e.length;s++){var i=e[s].trim();if(i.charAt(0)!==n){return false}}return true}function each_line_matches_indent(e,n){var s=0,i=e.length,a;for(;s<i;s++){a=e[s];if(a&&a.indexOf(n)!==0){return false}}return true}function Beautifier(e,n){n=n||{};this._source_text=e||"";this._output=null;this._tokens=null;this._last_last_text=null;this._flags=null;this._previous_flags=null;this._flag_store=null;this._options=new l(n)}Beautifier.prototype.create_flags=function(e,n){var s=0;if(e){s=e.indentation_level;if(!this._output.just_added_newline()&&e.line_indent_level>s){s=e.line_indent_level}}var i={mode:n,parent:e,last_token:e?e.last_token:new a(f.START_BLOCK,""),last_word:e?e.last_word:"",declaration_statement:false,declaration_assignment:false,multiline_frame:false,inline_frame:false,if_block:false,else_block:false,class_start_block:false,do_block:false,do_while:false,import_block:false,in_case_statement:false,in_case:false,case_body:false,case_block:false,indentation_level:s,alignment:0,line_indent_level:e?e.line_indent_level:s,start_line_index:this._output.get_line_number(),ternary_depth:0};return i};Beautifier.prototype._reset=function(e){var n=e.match(/^[\t ]*/)[0];this._last_last_text="";this._output=new i(this._options,n);this._output.raw=this._options.test_output_raw;this._flag_store=[];this.set_mode(A.BlockStatement);var s=new c(e,this._options);this._tokens=s.tokenize();return e};Beautifier.prototype.beautify=function(){if(this._options.disabled){return this._source_text}var e;var n=this._reset(this._source_text);var s=this._options.eol;if(this._options.eol==="auto"){s="\n";if(n&&o.lineBreak.test(n||"")){s=n.match(o.lineBreak)[0]}}var i=this._tokens.next();while(i){this.handle_token(i);this._last_last_text=this._flags.last_token.text;this._flags.last_token=i;i=this._tokens.next()}e=this._output.get_code(s);return e};Beautifier.prototype.handle_token=function(e,n){if(e.type===f.START_EXPR){this.handle_start_expr(e)}else if(e.type===f.END_EXPR){this.handle_end_expr(e)}else if(e.type===f.START_BLOCK){this.handle_start_block(e)}else if(e.type===f.END_BLOCK){this.handle_end_block(e)}else if(e.type===f.WORD){this.handle_word(e)}else if(e.type===f.RESERVED){this.handle_word(e)}else if(e.type===f.SEMICOLON){this.handle_semicolon(e)}else if(e.type===f.STRING){this.handle_string(e)}else if(e.type===f.EQUALS){this.handle_equals(e)}else if(e.type===f.OPERATOR){this.handle_operator(e)}else if(e.type===f.COMMA){this.handle_comma(e)}else if(e.type===f.BLOCK_COMMENT){this.handle_block_comment(e,n)}else if(e.type===f.COMMENT){this.handle_comment(e,n)}else if(e.type===f.DOT){this.handle_dot(e)}else if(e.type===f.EOF){this.handle_eof(e)}else if(e.type===f.UNKNOWN){this.handle_unknown(e,n)}else{this.handle_unknown(e,n)}};Beautifier.prototype.handle_whitespace_and_comments=function(e,n){var s=e.newlines;var i=this._options.keep_array_indentation&&is_array(this._flags.mode);if(e.comments_before){var a=e.comments_before.next();while(a){this.handle_whitespace_and_comments(a,n);this.handle_token(a,n);a=e.comments_before.next()}}if(i){for(var o=0;o<s;o+=1){this.print_newline(o>0,n)}}else{if(this._options.max_preserve_newlines&&s>this._options.max_preserve_newlines){s=this._options.max_preserve_newlines}if(this._options.preserve_newlines){if(s>1){this.print_newline(false,n);for(var l=1;l<s;l+=1){this.print_newline(true,n)}}}}};var C=["async","break","continue","return","throw","yield"];Beautifier.prototype.allow_wrap_or_preserved_newline=function(e,n){n=n===undefined?false:n;if(this._output.just_added_newline()){return}var s=this._options.preserve_newlines&&e.newlines||n;var i=in_array(this._flags.last_token.text,d)||in_array(e.text,d);if(i){var a=in_array(this._flags.last_token.text,d)&&in_array(this._options.operator_position,g)||in_array(e.text,d);s=s&&a}if(s){this.print_newline(false,true)}else if(this._options.wrap_line_length){if(reserved_array(this._flags.last_token,C)){return}this._output.set_wrap_point()}};Beautifier.prototype.print_newline=function(e,n){if(!n){if(this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==f.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")){var s=this._tokens.peek();while(this._flags.mode===A.Statement&&!(this._flags.if_block&&reserved_word(s,"else"))&&!this._flags.do_block){this.restore_mode()}}}if(this._output.add_new_line(e)){this._flags.multiline_frame=true}};Beautifier.prototype.print_token_line_indentation=function(e){if(this._output.just_added_newline()){if(this._options.keep_array_indentation&&e.newlines&&(e.text==="["||is_array(this._flags.mode))){this._output.current_line.set_indent(-1);this._output.current_line.push(e.whitespace_before);this._output.space_before_token=false}else if(this._output.set_indent(this._flags.indentation_level,this._flags.alignment)){this._flags.line_indent_level=this._flags.indentation_level}}};Beautifier.prototype.print_token=function(e){if(this._output.raw){this._output.add_raw_token(e);return}if(this._options.comma_first&&e.previous&&e.previous.type===f.COMMA&&this._output.just_added_newline()){if(this._output.previous_line.last()===","){var n=this._output.previous_line.pop();if(this._output.previous_line.is_empty()){this._output.previous_line.push(n);this._output.trim(true);this._output.current_line.pop();this._output.trim()}this.print_token_line_indentation(e);this._output.add_token(",");this._output.space_before_token=true}}this.print_token_line_indentation(e);this._output.non_breaking_space=true;this._output.add_token(e.text);if(this._output.previous_token_wrapped){this._flags.multiline_frame=true}};Beautifier.prototype.indent=function(){this._flags.indentation_level+=1;this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};Beautifier.prototype.deindent=function(){if(this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)){this._flags.indentation_level-=1;this._output.set_indent(this._flags.indentation_level,this._flags.alignment)}};Beautifier.prototype.set_mode=function(e){if(this._flags){this._flag_store.push(this._flags);this._previous_flags=this._flags}else{this._previous_flags=this.create_flags(null,e)}this._flags=this.create_flags(this._previous_flags,e);this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};Beautifier.prototype.restore_mode=function(){if(this._flag_store.length>0){this._previous_flags=this._flags;this._flags=this._flag_store.pop();if(this._previous_flags.mode===A.Statement){remove_redundant_indentation(this._output,this._previous_flags)}this._output.set_indent(this._flags.indentation_level,this._flags.alignment)}};Beautifier.prototype.start_of_object_property=function(){return this._flags.parent.mode===A.ObjectLiteral&&this._flags.mode===A.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||reserved_array(this._flags.last_token,["get","set"]))};Beautifier.prototype.start_of_statement=function(e){var n=false;n=n||reserved_array(this._flags.last_token,["var","let","const"])&&e.type===f.WORD;n=n||reserved_word(this._flags.last_token,"do");n=n||!(this._flags.parent.mode===A.ObjectLiteral&&this._flags.mode===A.Statement)&&reserved_array(this._flags.last_token,C)&&!e.newlines;n=n||reserved_word(this._flags.last_token,"else")&&!(reserved_word(e,"if")&&!e.comments_before);n=n||this._flags.last_token.type===f.END_EXPR&&(this._previous_flags.mode===A.ForInitializer||this._previous_flags.mode===A.Conditional);n=n||this._flags.last_token.type===f.WORD&&this._flags.mode===A.BlockStatement&&!this._flags.in_case&&!(e.text==="--"||e.text==="++")&&this._last_last_text!=="function"&&e.type!==f.WORD&&e.type!==f.RESERVED;n=n||this._flags.mode===A.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||reserved_array(this._flags.last_token,["get","set"]));if(n){this.set_mode(A.Statement);this.indent();this.handle_whitespace_and_comments(e,true);if(!this.start_of_object_property()){this.allow_wrap_or_preserved_newline(e,reserved_array(e,["do","for","if","while"]))}return true}return false};Beautifier.prototype.handle_start_expr=function(e){if(!this.start_of_statement(e)){this.handle_whitespace_and_comments(e)}var n=A.Expression;if(e.text==="["){if(this._flags.last_token.type===f.WORD||this._flags.last_token.text===")"){if(reserved_array(this._flags.last_token,p)){this._output.space_before_token=true}this.print_token(e);this.set_mode(n);this.indent();if(this._options.space_in_paren){this._output.space_before_token=true}return}n=A.ArrayLiteral;if(is_array(this._flags.mode)){if(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}")){if(!this._options.keep_array_indentation){this.print_newline()}}}if(!in_array(this._flags.last_token.type,[f.START_EXPR,f.END_EXPR,f.WORD,f.OPERATOR,f.DOT])){this._output.space_before_token=true}}else{if(this._flags.last_token.type===f.RESERVED){if(this._flags.last_token.text==="for"){this._output.space_before_token=this._options.space_before_conditional;n=A.ForInitializer}else if(in_array(this._flags.last_token.text,["if","while","switch"])){this._output.space_before_token=this._options.space_before_conditional;n=A.Conditional}else if(in_array(this._flags.last_word,["await","async"])){this._output.space_before_token=true}else if(this._flags.last_token.text==="import"&&e.whitespace_before===""){this._output.space_before_token=false}else if(in_array(this._flags.last_token.text,p)||this._flags.last_token.text==="catch"){this._output.space_before_token=true}}else if(this._flags.last_token.type===f.EQUALS||this._flags.last_token.type===f.OPERATOR){if(!this.start_of_object_property()){this.allow_wrap_or_preserved_newline(e)}}else if(this._flags.last_token.type===f.WORD){this._output.space_before_token=false;var s=this._tokens.peek(-3);if(this._options.space_after_named_function&&s){var i=this._tokens.peek(-4);if(reserved_array(s,["async","function"])||s.text==="*"&&reserved_array(i,["async","function"])){this._output.space_before_token=true}else if(this._flags.mode===A.ObjectLiteral){if(s.text==="{"||s.text===","||s.text==="*"&&(i.text==="{"||i.text===",")){this._output.space_before_token=true}}else if(this._flags.parent&&this._flags.parent.class_start_block){this._output.space_before_token=true}}}else{this.allow_wrap_or_preserved_newline(e)}if(this._flags.last_token.type===f.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(in_array(this._last_last_text,["function","yield"])||this._flags.mode===A.ObjectLiteral&&in_array(this._last_last_text,["{",","]))){this._output.space_before_token=this._options.space_after_anon_function}}if(this._flags.last_token.text===";"||this._flags.last_token.type===f.START_BLOCK){this.print_newline()}else if(this._flags.last_token.type===f.END_EXPR||this._flags.last_token.type===f.START_EXPR||this._flags.last_token.type===f.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===f.COMMA){this.allow_wrap_or_preserved_newline(e,e.newlines)}this.print_token(e);this.set_mode(n);if(this._options.space_in_paren){this._output.space_before_token=true}this.indent()};Beautifier.prototype.handle_end_expr=function(e){while(this._flags.mode===A.Statement){this.restore_mode()}this.handle_whitespace_and_comments(e);if(this._flags.multiline_frame){this.allow_wrap_or_preserved_newline(e,e.text==="]"&&is_array(this._flags.mode)&&!this._options.keep_array_indentation)}if(this._options.space_in_paren){if(this._flags.last_token.type===f.START_EXPR&&!this._options.space_in_empty_paren){this._output.trim();this._output.space_before_token=false}else{this._output.space_before_token=true}}this.deindent();this.print_token(e);this.restore_mode();remove_redundant_indentation(this._output,this._previous_flags);if(this._flags.do_while&&this._previous_flags.mode===A.Conditional){this._previous_flags.mode=A.Expression;this._flags.do_block=false;this._flags.do_while=false}};Beautifier.prototype.handle_start_block=function(e){this.handle_whitespace_and_comments(e);var n=this._tokens.peek();var s=this._tokens.peek(1);if(this._flags.last_word==="switch"&&this._flags.last_token.type===f.END_EXPR){this.set_mode(A.BlockStatement);this._flags.in_case_statement=true}else if(this._flags.case_body){this.set_mode(A.BlockStatement)}else if(s&&(in_array(s.text,[":",","])&&in_array(n.type,[f.STRING,f.WORD,f.RESERVED])||in_array(n.text,["get","set","..."])&&in_array(s.type,[f.WORD,f.RESERVED]))){if(in_array(this._last_last_text,["class","interface"])&&!in_array(s.text,[":",","])){this.set_mode(A.BlockStatement)}else{this.set_mode(A.ObjectLiteral)}}else if(this._flags.last_token.type===f.OPERATOR&&this._flags.last_token.text==="=>"){this.set_mode(A.BlockStatement)}else if(in_array(this._flags.last_token.type,[f.EQUALS,f.START_EXPR,f.COMMA,f.OPERATOR])||reserved_array(this._flags.last_token,["return","throw","import","default"])){this.set_mode(A.ObjectLiteral)}else{this.set_mode(A.BlockStatement)}if(this._flags.last_token){if(reserved_array(this._flags.last_token.previous,["class","extends"])){this._flags.class_start_block=true}}var i=!n.comments_before&&n.text==="}";var a=i&&this._flags.last_word==="function"&&this._flags.last_token.type===f.END_EXPR;if(this._options.brace_preserve_inline){var o=0;var l=null;this._flags.inline_frame=true;do{o+=1;l=this._tokens.peek(o-1);if(l.newlines){this._flags.inline_frame=false;break}}while(l.type!==f.EOF&&!(l.type===f.END_BLOCK&&l.opened===e))}if((this._options.brace_style==="expand"||this._options.brace_style==="none"&&e.newlines)&&!this._flags.inline_frame){if(this._flags.last_token.type!==f.OPERATOR&&(a||this._flags.last_token.type===f.EQUALS||reserved_array(this._flags.last_token,h)&&this._flags.last_token.text!=="else")){this._output.space_before_token=true}else{this.print_newline(false,true)}}else{if(is_array(this._previous_flags.mode)&&(this._flags.last_token.type===f.START_EXPR||this._flags.last_token.type===f.COMMA)){if(this._flags.last_token.type===f.COMMA||this._options.space_in_paren){this._output.space_before_token=true}if(this._flags.last_token.type===f.COMMA||this._flags.last_token.type===f.START_EXPR&&this._flags.inline_frame){this.allow_wrap_or_preserved_newline(e);this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame;this._flags.multiline_frame=false}}if(this._flags.last_token.type!==f.OPERATOR&&this._flags.last_token.type!==f.START_EXPR){if(in_array(this._flags.last_token.type,[f.START_BLOCK,f.SEMICOLON])&&!this._flags.inline_frame){this.print_newline()}else{this._output.space_before_token=true}}}this.print_token(e);this.indent();if(!i&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)){this.print_newline()}};Beautifier.prototype.handle_end_block=function(e){this.handle_whitespace_and_comments(e);while(this._flags.mode===A.Statement){this.restore_mode()}var n=this._flags.last_token.type===f.START_BLOCK;if(this._flags.inline_frame&&!n){this._output.space_before_token=true}else if(this._options.brace_style==="expand"){if(!n){this.print_newline()}}else{if(!n){if(is_array(this._flags.mode)&&this._options.keep_array_indentation){this._options.keep_array_indentation=false;this.print_newline();this._options.keep_array_indentation=true}else{this.print_newline()}}}this.restore_mode();this.print_token(e)};Beautifier.prototype.handle_word=function(e){if(e.type===f.RESERVED){if(in_array(e.text,["set","get"])&&this._flags.mode!==A.ObjectLiteral){e.type=f.WORD}else if(e.text==="import"&&in_array(this._tokens.peek().text,["(","."])){e.type=f.WORD}else if(in_array(e.text,["as","from"])&&!this._flags.import_block){e.type=f.WORD}else if(this._flags.mode===A.ObjectLiteral){var n=this._tokens.peek();if(n.text===":"){e.type=f.WORD}}}if(this.start_of_statement(e)){if(reserved_array(this._flags.last_token,["var","let","const"])&&e.type===f.WORD){this._flags.declaration_statement=true}}else if(e.newlines&&!is_expression(this._flags.mode)&&(this._flags.last_token.type!==f.OPERATOR||(this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))&&this._flags.last_token.type!==f.EQUALS&&(this._options.preserve_newlines||!reserved_array(this._flags.last_token,["var","let","const","set","get"]))){this.handle_whitespace_and_comments(e);this.print_newline()}else{this.handle_whitespace_and_comments(e)}if(this._flags.do_block&&!this._flags.do_while){if(reserved_word(e,"while")){this._output.space_before_token=true;this.print_token(e);this._output.space_before_token=true;this._flags.do_while=true;return}else{this.print_newline();this._flags.do_block=false}}if(this._flags.if_block){if(!this._flags.else_block&&reserved_word(e,"else")){this._flags.else_block=true}else{while(this._flags.mode===A.Statement){this.restore_mode()}this._flags.if_block=false;this._flags.else_block=false}}if(this._flags.in_case_statement&&reserved_array(e,["case","default"])){this.print_newline();if(!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)){this.deindent()}this._flags.case_body=false;this.print_token(e);this._flags.in_case=true;return}if(this._flags.last_token.type===f.COMMA||this._flags.last_token.type===f.START_EXPR||this._flags.last_token.type===f.EQUALS||this._flags.last_token.type===f.OPERATOR){if(!this.start_of_object_property()&&!(in_array(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===A.ObjectLiteral)){this.allow_wrap_or_preserved_newline(e)}}if(reserved_word(e,"function")){if(in_array(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(in_array(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===f.OPERATOR)){if(!this._output.just_added_blankline()&&!e.comments_before){this.print_newline();this.print_newline(true)}}if(this._flags.last_token.type===f.RESERVED||this._flags.last_token.type===f.WORD){if(reserved_array(this._flags.last_token,["get","set","new","export"])||reserved_array(this._flags.last_token,C)){this._output.space_before_token=true}else if(reserved_word(this._flags.last_token,"default")&&this._last_last_text==="export"){this._output.space_before_token=true}else if(this._flags.last_token.text==="declare"){this._output.space_before_token=true}else{this.print_newline()}}else if(this._flags.last_token.type===f.OPERATOR||this._flags.last_token.text==="="){this._output.space_before_token=true}else if(!this._flags.multiline_frame&&(is_expression(this._flags.mode)||is_array(this._flags.mode))){}else{this.print_newline()}this.print_token(e);this._flags.last_word=e.text;return}var s="NONE";if(this._flags.last_token.type===f.END_BLOCK){if(this._previous_flags.inline_frame){s="SPACE"}else if(!reserved_array(e,["else","catch","finally","from"])){s="NEWLINE"}else{if(this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&e.newlines){s="NEWLINE"}else{s="SPACE";this._output.space_before_token=true}}}else if(this._flags.last_token.type===f.SEMICOLON&&this._flags.mode===A.BlockStatement){s="NEWLINE"}else if(this._flags.last_token.type===f.SEMICOLON&&is_expression(this._flags.mode)){s="SPACE"}else if(this._flags.last_token.type===f.STRING){s="NEWLINE"}else if(this._flags.last_token.type===f.RESERVED||this._flags.last_token.type===f.WORD||this._flags.last_token.text==="*"&&(in_array(this._last_last_text,["function","yield"])||this._flags.mode===A.ObjectLiteral&&in_array(this._last_last_text,["{",","]))){s="SPACE"}else if(this._flags.last_token.type===f.START_BLOCK){if(this._flags.inline_frame){s="SPACE"}else{s="NEWLINE"}}else if(this._flags.last_token.type===f.END_EXPR){this._output.space_before_token=true;s="NEWLINE"}if(reserved_array(e,p)&&this._flags.last_token.text!==")"){if(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"){s="SPACE"}else{s="NEWLINE"}}if(reserved_array(e,["else","catch","finally"])){if((!(this._flags.last_token.type===f.END_BLOCK&&this._previous_flags.mode===A.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&e.newlines)&&!this._flags.inline_frame){this.print_newline()}else{this._output.trim(true);var i=this._output.current_line;if(i.last()!=="}"){this.print_newline()}this._output.space_before_token=true}}else if(s==="NEWLINE"){if(reserved_array(this._flags.last_token,h)){this._output.space_before_token=true}else if(this._flags.last_token.text==="declare"&&reserved_array(e,["var","let","const"])){this._output.space_before_token=true}else if(this._flags.last_token.type!==f.END_EXPR){if((this._flags.last_token.type!==f.START_EXPR||!reserved_array(e,["var","let","const"]))&&this._flags.last_token.text!==":"){if(reserved_word(e,"if")&&reserved_word(e.previous,"else")){this._output.space_before_token=true}else{this.print_newline()}}}else if(reserved_array(e,p)&&this._flags.last_token.text!==")"){this.print_newline()}}else if(this._flags.multiline_frame&&is_array(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"){this.print_newline()}else if(s==="SPACE"){this._output.space_before_token=true}if(e.previous&&(e.previous.type===f.WORD||e.previous.type===f.RESERVED)){this._output.space_before_token=true}this.print_token(e);this._flags.last_word=e.text;if(e.type===f.RESERVED){if(e.text==="do"){this._flags.do_block=true}else if(e.text==="if"){this._flags.if_block=true}else if(e.text==="import"){this._flags.import_block=true}else if(this._flags.import_block&&reserved_word(e,"from")){this._flags.import_block=false}}};Beautifier.prototype.handle_semicolon=function(e){if(this.start_of_statement(e)){this._output.space_before_token=false}else{this.handle_whitespace_and_comments(e)}var n=this._tokens.peek();while(this._flags.mode===A.Statement&&!(this._flags.if_block&&reserved_word(n,"else"))&&!this._flags.do_block){this.restore_mode()}if(this._flags.import_block){this._flags.import_block=false}this.print_token(e)};Beautifier.prototype.handle_string=function(e){if(e.text.startsWith("`")&&e.newlines===0&&e.whitespace_before===""&&(e.previous.text===")"||this._flags.last_token.type===f.WORD)){}else if(this.start_of_statement(e)){this._output.space_before_token=true}else{this.handle_whitespace_and_comments(e);if(this._flags.last_token.type===f.RESERVED||this._flags.last_token.type===f.WORD||this._flags.inline_frame){this._output.space_before_token=true}else if(this._flags.last_token.type===f.COMMA||this._flags.last_token.type===f.START_EXPR||this._flags.last_token.type===f.EQUALS||this._flags.last_token.type===f.OPERATOR){if(!this.start_of_object_property()){this.allow_wrap_or_preserved_newline(e)}}else if(e.text.startsWith("`")&&this._flags.last_token.type===f.END_EXPR&&(e.previous.text==="]"||e.previous.text===")")&&e.newlines===0){this._output.space_before_token=true}else{this.print_newline()}}this.print_token(e)};Beautifier.prototype.handle_equals=function(e){if(this.start_of_statement(e)){}else{this.handle_whitespace_and_comments(e)}if(this._flags.declaration_statement){this._flags.declaration_assignment=true}this._output.space_before_token=true;this.print_token(e);this._output.space_before_token=true};Beautifier.prototype.handle_comma=function(e){this.handle_whitespace_and_comments(e,true);this.print_token(e);this._output.space_before_token=true;if(this._flags.declaration_statement){if(is_expression(this._flags.parent.mode)){this._flags.declaration_assignment=false}if(this._flags.declaration_assignment){this._flags.declaration_assignment=false;this.print_newline(false,true)}else if(this._options.comma_first){this.allow_wrap_or_preserved_newline(e)}}else if(this._flags.mode===A.ObjectLiteral||this._flags.mode===A.Statement&&this._flags.parent.mode===A.ObjectLiteral){if(this._flags.mode===A.Statement){this.restore_mode()}if(!this._flags.inline_frame){this.print_newline()}}else if(this._options.comma_first){this.allow_wrap_or_preserved_newline(e)}};Beautifier.prototype.handle_operator=function(e){var n=e.text==="*"&&(reserved_array(this._flags.last_token,["function","yield"])||in_array(this._flags.last_token.type,[f.START_BLOCK,f.COMMA,f.END_BLOCK,f.SEMICOLON]));var s=in_array(e.text,["-","+"])&&(in_array(this._flags.last_token.type,[f.START_BLOCK,f.START_EXPR,f.EQUALS,f.OPERATOR])||in_array(this._flags.last_token.text,p)||this._flags.last_token.text===",");if(this.start_of_statement(e)){}else{var i=!n;this.handle_whitespace_and_comments(e,i)}if(e.text==="*"&&this._flags.last_token.type===f.DOT){this.print_token(e);return}if(e.text==="::"){this.print_token(e);return}if(in_array(e.text,["-","+"])&&this.start_of_object_property()){this.print_token(e);return}if(this._flags.last_token.type===f.OPERATOR&&in_array(this._options.operator_position,g)){this.allow_wrap_or_preserved_newline(e)}if(e.text===":"&&this._flags.in_case){this.print_token(e);this._flags.in_case=false;this._flags.case_body=true;if(this._tokens.peek().type!==f.START_BLOCK){this.indent();this.print_newline();this._flags.case_block=false}else{this._flags.case_block=true;this._output.space_before_token=true}return}var a=true;var o=true;var l=false;if(e.text===":"){if(this._flags.ternary_depth===0){a=false}else{this._flags.ternary_depth-=1;l=true}}else if(e.text==="?"){this._flags.ternary_depth+=1}if(!s&&!n&&this._options.preserve_newlines&&in_array(e.text,d)){var c=e.text===":";var m=c&&l;var C=c&&!l;switch(this._options.operator_position){case y.before_newline:this._output.space_before_token=!C;this.print_token(e);if(!c||m){this.allow_wrap_or_preserved_newline(e)}this._output.space_before_token=true;return;case y.after_newline:this._output.space_before_token=true;if(!c||m){if(this._tokens.peek().newlines){this.print_newline(false,true)}else{this.allow_wrap_or_preserved_newline(e)}}else{this._output.space_before_token=false}this.print_token(e);this._output.space_before_token=true;return;case y.preserve_newline:if(!C){this.allow_wrap_or_preserved_newline(e)}a=!(this._output.just_added_newline()||C);this._output.space_before_token=a;this.print_token(e);this._output.space_before_token=true;return}}if(n){this.allow_wrap_or_preserved_newline(e);a=false;var _=this._tokens.peek();o=_&&in_array(_.type,[f.WORD,f.RESERVED])}else if(e.text==="..."){this.allow_wrap_or_preserved_newline(e);a=this._flags.last_token.type===f.START_BLOCK;o=false}else if(in_array(e.text,["--","++","!","~"])||s){if(this._flags.last_token.type===f.COMMA||this._flags.last_token.type===f.START_EXPR){this.allow_wrap_or_preserved_newline(e)}a=false;o=false;if(e.newlines&&(e.text==="--"||e.text==="++"||e.text==="~")){var k=reserved_array(this._flags.last_token,h)&&e.newlines;if(k&&(this._previous_flags.if_block||this._previous_flags.else_block)){this.restore_mode()}this.print_newline(k,true)}if(this._flags.last_token.text===";"&&is_expression(this._flags.mode)){a=true}if(this._flags.last_token.type===f.RESERVED){a=true}else if(this._flags.last_token.type===f.END_EXPR){a=!(this._flags.last_token.text==="]"&&(e.text==="--"||e.text==="++"))}else if(this._flags.last_token.type===f.OPERATOR){a=in_array(e.text,["--","-","++","+"])&&in_array(this._flags.last_token.text,["--","-","++","+"]);if(in_array(e.text,["+","-"])&&in_array(this._flags.last_token.text,["--","++"])){o=true}}if((this._flags.mode===A.BlockStatement&&!this._flags.inline_frame||this._flags.mode===A.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")){this.print_newline()}}this._output.space_before_token=this._output.space_before_token||a;this.print_token(e);this._output.space_before_token=o};Beautifier.prototype.handle_block_comment=function(e,n){if(this._output.raw){this._output.add_raw_token(e);if(e.directives&&e.directives.preserve==="end"){this._output.raw=this._options.test_output_raw}return}if(e.directives){this.print_newline(false,n);this.print_token(e);if(e.directives.preserve==="start"){this._output.raw=true}this.print_newline(false,true);return}if(!o.newline.test(e.text)&&!e.newlines){this._output.space_before_token=true;this.print_token(e);this._output.space_before_token=true;return}else{this.print_block_commment(e,n)}};Beautifier.prototype.print_block_commment=function(e,n){var s=split_linebreaks(e.text);var i;var a=false;var o=false;var l=e.whitespace_before;var c=l.length;this.print_newline(false,n);this.print_token_line_indentation(e);this._output.add_token(s[0]);this.print_newline(false,n);if(s.length>1){s=s.slice(1);a=all_lines_start_with(s,"*");o=each_line_matches_indent(s,l);if(a){this._flags.alignment=1}for(i=0;i<s.length;i++){if(a){this.print_token_line_indentation(e);this._output.add_token(ltrim(s[i]))}else if(o&&s[i]){this.print_token_line_indentation(e);this._output.add_token(s[i].substring(c))}else{this._output.current_line.set_indent(-1);this._output.add_token(s[i])}this.print_newline(false,n)}this._flags.alignment=0}};Beautifier.prototype.handle_comment=function(e,n){if(e.newlines){this.print_newline(false,n)}else{this._output.trim(true)}this._output.space_before_token=true;this.print_token(e);this.print_newline(false,n)};Beautifier.prototype.handle_dot=function(e){if(this.start_of_statement(e)){}else{this.handle_whitespace_and_comments(e,true)}if(this._flags.last_token.text.match("^[0-9]+$")){this._output.space_before_token=true}if(reserved_array(this._flags.last_token,h)){this._output.space_before_token=false}else{this.allow_wrap_or_preserved_newline(e,this._flags.last_token.text===")"&&this._options.break_chained_methods)}if(this._options.unindent_chained_methods&&this._output.just_added_newline()){this.deindent()}this.print_token(e)};Beautifier.prototype.handle_unknown=function(e,n){this.print_token(e);if(e.text[e.text.length-1]==="\n"){this.print_newline(false,n)}};Beautifier.prototype.handle_eof=function(e){while(this._flags.mode===A.Statement){this.restore_mode()}this.handle_whitespace_and_comments(e)};e.exports.P=Beautifier},94465:function(e,n,s){"use strict";var i=s(70063).P,a=s(71931).J;function js_beautify(e,n){var s=new i(e,n);return s.beautify()}e.exports=js_beautify;e.exports.defaultOptions=function(){return new a}},71931:function(e,n,s){"use strict";var i=s(66599).JY;var a=["before-newline","after-newline","preserve-newline"];function Options(e){i.call(this,e,"js");var n=this.raw_options.brace_style||null;if(n==="expand-strict"){this.raw_options.brace_style="expand"}else if(n==="collapse-preserve-inline"){this.raw_options.brace_style="collapse,preserve-inline"}else if(this.raw_options.braces_on_own_line!==undefined){this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse"}var s=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=false;this.brace_style="collapse";for(var o=0;o<s.length;o++){if(s[o]==="preserve-inline"){this.brace_preserve_inline=true}else{this.brace_style=s[o]}}this.unindent_chained_methods=this._get_boolean("unindent_chained_methods");this.break_chained_methods=this._get_boolean("break_chained_methods");this.space_in_paren=this._get_boolean("space_in_paren");this.space_in_empty_paren=this._get_boolean("space_in_empty_paren");this.jslint_happy=this._get_boolean("jslint_happy");this.space_after_anon_function=this._get_boolean("space_after_anon_function");this.space_after_named_function=this._get_boolean("space_after_named_function");this.keep_array_indentation=this._get_boolean("keep_array_indentation");this.space_before_conditional=this._get_boolean("space_before_conditional",true);this.unescape_strings=this._get_boolean("unescape_strings");this.e4x=this._get_boolean("e4x");this.comma_first=this._get_boolean("comma_first");this.operator_position=this._get_selection("operator_position",a);this.test_output_raw=this._get_boolean("test_output_raw");if(this.jslint_happy){this.space_after_anon_function=true}}Options.prototype=new i;e.exports.J=Options},22804:function(e,n,s){"use strict";var i=s(58903).z;var a=s(66328)._;var o=s(66328).C;var l=s(5863).D;var c=s(12972);var p=s(52795).z;var d=s(37610).i;function in_array(e,n){return n.indexOf(e)!==-1}var f={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF};var h=new l(/\/\*/,/\*\//);var m=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/;var y=/[0-9]/;var g=/[^\d\.]/;var A=(">>> === !== &&= ??= ||= "+"<< && >= ** != == <= >> || ?? |> "+"< / - + > : & % ? ^ | *").split(" ");var C=">>>= "+"... >>= <<= === >>> !== **= &&= ??= ||= "+"=> ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> "+"= ! ? > < : / ^ - + * & % ~ |";C=C.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&");C="\\?\\.(?!\\d) "+C;C=C.replace(/ /g,"|");var _=new RegExp(C);var k="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var I=k.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]);var D=new RegExp("^(?:"+I.join("|")+")$");var O;var Tokenizer=function(e,n){a.call(this,e,n);this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var s=new p(this._input);var i=new d(this._input).read_options(this._options);this.__patterns={template:i,identifier:i.starting_with(c.identifier).matching(c.identifierMatch),number:s.matching(m),punct:s.matching(_),comment:s.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:s.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:s.matching(/<!--/),html_comment_end:s.matching(/-->/),include:s.starting_with(/#include/).until_after(c.lineBreak),shebang:s.starting_with(/#!/).until_after(c.lineBreak),xml:s.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:i.until(/['\\\n\r\u2028\u2029]/),double_quote:i.until(/["\\\n\r\u2028\u2029]/),template_text:i.until(/[`\\$]/),template_expression:i.until(/[`}\\]/)}};Tokenizer.prototype=new a;Tokenizer.prototype._is_comment=function(e){return e.type===f.COMMENT||e.type===f.BLOCK_COMMENT||e.type===f.UNKNOWN};Tokenizer.prototype._is_opening=function(e){return e.type===f.START_BLOCK||e.type===f.START_EXPR};Tokenizer.prototype._is_closing=function(e,n){return(e.type===f.END_BLOCK||e.type===f.END_EXPR)&&(n&&(e.text==="]"&&n.text==="["||e.text===")"&&n.text==="("||e.text==="}"&&n.text==="{"))};Tokenizer.prototype._reset=function(){O=false};Tokenizer.prototype._get_next_token=function(e,n){var s=null;this._readWhitespace();var i=this._input.peek();if(i===null){return this._create_token(f.EOF,"")}s=s||this._read_non_javascript(i);s=s||this._read_string(i);s=s||this._read_pair(i,this._input.peek(1));s=s||this._read_word(e);s=s||this._read_singles(i);s=s||this._read_comment(i);s=s||this._read_regexp(i,e);s=s||this._read_xml(i,e);s=s||this._read_punctuation();s=s||this._create_token(f.UNKNOWN,this._input.next());return s};Tokenizer.prototype._read_word=function(e){var n;n=this.__patterns.identifier.read();if(n!==""){n=n.replace(c.allLineBreaks,"\n");if(!(e.type===f.DOT||e.type===f.RESERVED&&(e.text==="set"||e.text==="get"))&&D.test(n)){if((n==="in"||n==="of")&&(e.type===f.WORD||e.type===f.STRING)){return this._create_token(f.OPERATOR,n)}return this._create_token(f.RESERVED,n)}return this._create_token(f.WORD,n)}n=this.__patterns.number.read();if(n!==""){return this._create_token(f.WORD,n)}};Tokenizer.prototype._read_singles=function(e){var n=null;if(e==="("||e==="["){n=this._create_token(f.START_EXPR,e)}else if(e===")"||e==="]"){n=this._create_token(f.END_EXPR,e)}else if(e==="{"){n=this._create_token(f.START_BLOCK,e)}else if(e==="}"){n=this._create_token(f.END_BLOCK,e)}else if(e===";"){n=this._create_token(f.SEMICOLON,e)}else if(e==="."&&g.test(this._input.peek(1))){n=this._create_token(f.DOT,e)}else if(e===","){n=this._create_token(f.COMMA,e)}if(n){this._input.next()}return n};Tokenizer.prototype._read_pair=function(e,n){var s=null;if(e==="#"&&n==="{"){s=this._create_token(f.START_BLOCK,e+n)}if(s){this._input.next();this._input.next()}return s};Tokenizer.prototype._read_punctuation=function(){var e=this.__patterns.punct.read();if(e!==""){if(e==="="){return this._create_token(f.EQUALS,e)}else if(e==="?."){return this._create_token(f.DOT,e)}else{return this._create_token(f.OPERATOR,e)}}};Tokenizer.prototype._read_non_javascript=function(e){var n="";if(e==="#"){if(this._is_first_token()){n=this.__patterns.shebang.read();if(n){return this._create_token(f.UNKNOWN,n.trim()+"\n")}}n=this.__patterns.include.read();if(n){return this._create_token(f.UNKNOWN,n.trim()+"\n")}e=this._input.next();var s="#";if(this._input.hasNext()&&this._input.testChar(y)){do{e=this._input.next();s+=e}while(this._input.hasNext()&&e!=="#"&&e!=="=");if(e==="#"){}else if(this._input.peek()==="["&&this._input.peek(1)==="]"){s+="[]";this._input.next();this._input.next()}else if(this._input.peek()==="{"&&this._input.peek(1)==="}"){s+="{}";this._input.next();this._input.next()}return this._create_token(f.WORD,s)}this._input.back()}else if(e==="<"&&this._is_first_token()){n=this.__patterns.html_comment_start.read();if(n){while(this._input.hasNext()&&!this._input.testChar(c.newline)){n+=this._input.next()}O=true;return this._create_token(f.COMMENT,n)}}else if(O&&e==="-"){n=this.__patterns.html_comment_end.read();if(n){O=false;return this._create_token(f.COMMENT,n)}}return null};Tokenizer.prototype._read_comment=function(e){var n=null;if(e==="/"){var s="";if(this._input.peek(1)==="*"){s=this.__patterns.block_comment.read();var i=h.get_directives(s);if(i&&i.ignore==="start"){s+=h.readIgnored(this._input)}s=s.replace(c.allLineBreaks,"\n");n=this._create_token(f.BLOCK_COMMENT,s);n.directives=i}else if(this._input.peek(1)==="/"){s=this.__patterns.comment.read();n=this._create_token(f.COMMENT,s)}}return n};Tokenizer.prototype._read_string=function(e){if(e==="`"||e==="'"||e==='"'){var n=this._input.next();this.has_char_escapes=false;if(e==="`"){n+=this._read_string_recursive("`",true,"${")}else{n+=this._read_string_recursive(e)}if(this.has_char_escapes&&this._options.unescape_strings){n=unescape_string(n)}if(this._input.peek()===e){n+=this._input.next()}n=n.replace(c.allLineBreaks,"\n");return this._create_token(f.STRING,n)}return null};Tokenizer.prototype._allow_regexp_or_xml=function(e){return e.type===f.RESERVED&&in_array(e.text,["return","case","throw","else","do","typeof","yield"])||e.type===f.END_EXPR&&e.text===")"&&e.opened.previous.type===f.RESERVED&&in_array(e.opened.previous.text,["if","while","for"])||in_array(e.type,[f.COMMENT,f.START_EXPR,f.START_BLOCK,f.START,f.END_BLOCK,f.OPERATOR,f.EQUALS,f.EOF,f.SEMICOLON,f.COMMA])};Tokenizer.prototype._read_regexp=function(e,n){if(e==="/"&&this._allow_regexp_or_xml(n)){var s=this._input.next();var i=false;var a=false;while(this._input.hasNext()&&((i||a||this._input.peek()!==e)&&!this._input.testChar(c.newline))){s+=this._input.peek();if(!i){i=this._input.peek()==="\\";if(this._input.peek()==="["){a=true}else if(this._input.peek()==="]"){a=false}}else{i=false}this._input.next()}if(this._input.peek()===e){s+=this._input.next();s+=this._input.read(c.identifier)}return this._create_token(f.STRING,s)}return null};Tokenizer.prototype._read_xml=function(e,n){if(this._options.e4x&&e==="<"&&this._allow_regexp_or_xml(n)){var s="";var i=this.__patterns.xml.read_match();if(i){var a=i[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}");var o=a.indexOf("{")===0;var l=0;while(i){var p=!!i[1];var d=i[2];var h=!!i[i.length-1]||d.slice(0,8)==="![CDATA[";if(!h&&(d===a||o&&d.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))){if(p){--l}else{++l}}s+=i[0];if(l<=0){break}i=this.__patterns.xml.read_match()}if(!i){s+=this._input.match(/[\s\S]*/g)[0]}s=s.replace(c.allLineBreaks,"\n");return this._create_token(f.STRING,s)}}return null};function unescape_string(e){var n="",s=0;var a=new i(e);var o=null;while(a.hasNext()){o=a.match(/([\s]|[^\\]|\\\\)+/g);if(o){n+=o[0]}if(a.peek()==="\\"){a.next();if(a.peek()==="x"){o=a.match(/x([0-9A-Fa-f]{2})/g)}else if(a.peek()==="u"){o=a.match(/u([0-9A-Fa-f]{4})/g);if(!o){o=a.match(/u\{([0-9A-Fa-f]+)\}/g)}}else{n+="\\";if(a.hasNext()){n+=a.next()}continue}if(!o){return e}s=parseInt(o[1],16);if(s>126&&s<=255&&o[0].indexOf("x")===0){return e}else if(s>=0&&s<32){n+="\\"+o[0]}else if(s>1114111){n+="\\"+o[0]}else if(s===34||s===39||s===92){n+="\\"+String.fromCharCode(s)}else{n+=String.fromCharCode(s)}}}return n}Tokenizer.prototype._read_string_recursive=function(e,n,s){var i;var a;if(e==="'"){a=this.__patterns.single_quote}else if(e==='"'){a=this.__patterns.double_quote}else if(e==="`"){a=this.__patterns.template_text}else if(e==="}"){a=this.__patterns.template_expression}var o=a.read();var l="";while(this._input.hasNext()){l=this._input.next();if(l===e||!n&&c.newline.test(l)){this._input.back();break}else if(l==="\\"&&this._input.hasNext()){i=this._input.peek();if(i==="x"||i==="u"){this.has_char_escapes=true}else if(i==="\r"&&this._input.peek(1)==="\n"){this._input.next()}l+=this._input.next()}else if(s){if(s==="${"&&l==="$"&&this._input.peek()==="{"){l+=this._input.next()}if(s===l){if(e==="`"){l+=this._read_string_recursive("}",n,"`")}else{l+=this._read_string_recursive("`",n,"${")}if(this._input.hasNext()){l+=this._input.next()}}}l+=a.read();o+=l}return o};e.exports._F=Tokenizer;e.exports.CV=f;e.exports.OK=A.slice();e.exports.O0=k.slice()},64966:function(e,n){Object.defineProperty(n,"__esModule",{value:true});n["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;n.matchToToken=function(e){var n={type:"invalid",value:e[0],closed:undefined};if(e[1])n.type="string",n.closed=!!(e[3]||e[4]);else if(e[5])n.type="comment";else if(e[6])n.type="comment",n.closed=!!e[7];else if(e[8])n.type="regex";else if(e[9])n.type="number";else if(e[10])n.type="name";else if(e[11])n.type="punctuator";else if(e[12])n.type="whitespace";return n}},20995:function(e){"use strict";const n={};const s=n.hasOwnProperty;const forOwn=(e,n)=>{for(const i in e){if(s.call(e,i)){n(i,e[i])}}};const extend=(e,n)=>{if(!n){return e}forOwn(n,((n,s)=>{e[n]=s}));return e};const forEach=(e,n)=>{const s=e.length;let i=-1;while(++i<s){n(e[i])}};const fourHexEscape=e=>"\\u"+("0000"+e).slice(-4);const hexadecimal=(e,n)=>{let s=e.toString(16);if(n)return s;return s.toUpperCase()};const i=n.toString;const a=Array.isArray;const isBuffer=e=>typeof Buffer==="function"&&Buffer.isBuffer(e);const isObject=e=>i.call(e)=="[object Object]";const isString=e=>typeof e=="string"||i.call(e)=="[object String]";const isNumber=e=>typeof e=="number"||i.call(e)=="[object Number]";const isFunction=e=>typeof e=="function";const isMap=e=>i.call(e)=="[object Map]";const isSet=e=>i.call(e)=="[object Set]";const o={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};const l=/[\\\b\f\n\r\t]/;const c=/[0-9]/;const p=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;const d=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g;const f=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g;const jsesc=(e,n)=>{const increaseIndentation=()=>{A=g;++n.indentLevel;g=n.indent.repeat(n.indentLevel)};const s={escapeEverything:false,minimal:false,isScriptContext:false,quotes:"single",wrap:false,es6:false,json:false,compact:true,lowercaseHex:false,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:false,__inline2__:false};const i=n&&n.json;if(i){s.quotes="double";s.wrap=true}n=extend(s,n);if(n.quotes!="single"&&n.quotes!="double"&&n.quotes!="backtick"){n.quotes="single"}const h=n.quotes=="double"?'"':n.quotes=="backtick"?"`":"'";const m=n.compact;const y=n.lowercaseHex;let g=n.indent.repeat(n.indentLevel);let A="";const C=n.__inline1__;const _=n.__inline2__;const k=m?"":"\n";let I;let D=true;const O=n.numbers=="binary";const L=n.numbers=="octal";const B=n.numbers=="decimal";const j=n.numbers=="hexadecimal";if(i&&e&&isFunction(e.toJSON)){e=e.toJSON()}if(!isString(e)){if(isMap(e)){if(e.size==0){return"new Map()"}if(!m){n.__inline1__=true;n.__inline2__=false}return"new Map("+jsesc(Array.from(e),n)+")"}if(isSet(e)){if(e.size==0){return"new Set()"}return"new Set("+jsesc(Array.from(e),n)+")"}if(isBuffer(e)){if(e.length==0){return"Buffer.from([])"}return"Buffer.from("+jsesc(Array.from(e),n)+")"}if(a(e)){I=[];n.wrap=true;if(C){n.__inline1__=false;n.__inline2__=true}if(!_){increaseIndentation()}forEach(e,(e=>{D=false;if(_){n.__inline2__=false}I.push((m||_?"":g)+jsesc(e,n))}));if(D){return"[]"}if(_){return"["+I.join(", ")+"]"}return"["+k+I.join(","+k)+k+(m?"":A)+"]"}else if(isNumber(e)){if(i){return JSON.stringify(e)}if(B){return String(e)}if(j){let n=e.toString(16);if(!y){n=n.toUpperCase()}return"0x"+n}if(O){return"0b"+e.toString(2)}if(L){return"0o"+e.toString(8)}}else if(!isObject(e)){if(i){return JSON.stringify(e)||"null"}return String(e)}else{I=[];n.wrap=true;increaseIndentation();forOwn(e,((e,s)=>{D=false;I.push((m?"":g)+jsesc(e,n)+":"+(m?"":" ")+jsesc(s,n))}));if(D){return"{}"}return"{"+k+I.join(","+k)+k+(m?"":A)+"}"}}const R=n.escapeEverything?d:f;I=e.replace(R,((e,s,a,d,f,m)=>{if(s){if(n.minimal)return s;const e=s.charCodeAt(0);const i=s.charCodeAt(1);if(n.es6){const n=(e-55296)*1024+i-56320+65536;const s=hexadecimal(n,y);return"\\u{"+s+"}"}return fourHexEscape(hexadecimal(e,y))+fourHexEscape(hexadecimal(i,y))}if(a){return fourHexEscape(hexadecimal(a.charCodeAt(0),y))}if(e=="\0"&&!i&&!c.test(m.charAt(f+1))){return"\\0"}if(d){if(d==h||n.escapeEverything){return"\\"+d}return d}if(l.test(e)){return o[e]}if(n.minimal&&!p.test(e)){return e}const g=hexadecimal(e.charCodeAt(0),y);if(i||g.length>2){return fourHexEscape(g)}return"\\x"+("00"+g).slice(-2)}));if(h=="`"){I=I.replace(/\$\{/g,"\\${")}if(n.isScriptContext){I=I.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,i?"\\u003C!--":"\\x3C!--")}if(n.wrap){I=h+I+h}return I};jsesc.version="3.0.2";e.exports=jsesc},90823:function(e,n,s){const i=s(70752);const a=s(50142);const o={parse:i,stringify:a};e.exports=o},70752:function(e,n,s){const i=s(24327);let a;let o;let l;let c;let p;let d;let f;let h;let m;e.exports=function parse(e,n){a=String(e);o="start";l=[];c=0;p=1;d=0;f=undefined;h=undefined;m=undefined;do{f=lex();I[o]()}while(f.type!=="eof");if(typeof n==="function"){return internalize({"":m},"",n)}return m};function internalize(e,n,s){const i=e[n];if(i!=null&&typeof i==="object"){if(Array.isArray(i)){for(let e=0;e<i.length;e++){const n=String(e);const a=internalize(i,n,s);if(a===undefined){delete i[n]}else{Object.defineProperty(i,n,{value:a,writable:true,enumerable:true,configurable:true})}}}else{for(const e in i){const n=internalize(i,e,s);if(n===undefined){delete i[e]}else{Object.defineProperty(i,e,{value:n,writable:true,enumerable:true,configurable:true})}}}}return s.call(e,n,i)}let y;let g;let A;let C;let _;function lex(){y="default";g="";A=false;C=1;for(;;){_=peek();const e=k[y]();if(e){return e}}}function peek(){if(a[c]){return String.fromCodePoint(a.codePointAt(c))}}function read(){const e=peek();if(e==="\n"){p++;d=0}else if(e){d+=e.length}else{d++}if(e){c+=e.length}return e}const k={default(){switch(_){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();y="comment";return;case undefined:read();return newToken("eof")}if(i.isSpaceSeparator(_)){read();return}return k[o]()},comment(){switch(_){case"*":read();y="multiLineComment";return;case"/":read();y="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(_){case"*":read();y="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(_){case"*":read();return;case"/":read();y="default";return;case undefined:throw invalidChar(read())}read();y="multiLineComment"},singleLineComment(){switch(_){case"\n":case"\r":case"\u2028":case"\u2029":read();y="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(_){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){C=-1}y="sign";return;case".":g=read();y="decimalPointLeading";return;case"0":g=read();y="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":g=read();y="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":A=read()==='"';g="";y="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(_!=="u"){throw invalidChar(read())}read();const e=unicodeEscape();switch(e){case"$":case"_":break;default:if(!i.isIdStartChar(e)){throw invalidIdentifier()}break}g+=e;y="identifierName"},identifierName(){switch(_){case"$":case"_":case"‌":case"‍":g+=read();return;case"\\":read();y="identifierNameEscape";return}if(i.isIdContinueChar(_)){g+=read();return}return newToken("identifier",g)},identifierNameEscape(){if(_!=="u"){throw invalidChar(read())}read();const e=unicodeEscape();switch(e){case"$":case"_":case"‌":case"‍":break;default:if(!i.isIdContinueChar(e)){throw invalidIdentifier()}break}g+=e;y="identifierName"},sign(){switch(_){case".":g=read();y="decimalPointLeading";return;case"0":g=read();y="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":g=read();y="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",C*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(_){case".":g+=read();y="decimalPoint";return;case"e":case"E":g+=read();y="decimalExponent";return;case"x":case"X":g+=read();y="hexadecimal";return}return newToken("numeric",C*0)},decimalInteger(){switch(_){case".":g+=read();y="decimalPoint";return;case"e":case"E":g+=read();y="decimalExponent";return}if(i.isDigit(_)){g+=read();return}return newToken("numeric",C*Number(g))},decimalPointLeading(){if(i.isDigit(_)){g+=read();y="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(_){case"e":case"E":g+=read();y="decimalExponent";return}if(i.isDigit(_)){g+=read();y="decimalFraction";return}return newToken("numeric",C*Number(g))},decimalFraction(){switch(_){case"e":case"E":g+=read();y="decimalExponent";return}if(i.isDigit(_)){g+=read();return}return newToken("numeric",C*Number(g))},decimalExponent(){switch(_){case"+":case"-":g+=read();y="decimalExponentSign";return}if(i.isDigit(_)){g+=read();y="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(i.isDigit(_)){g+=read();y="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(i.isDigit(_)){g+=read();return}return newToken("numeric",C*Number(g))},hexadecimal(){if(i.isHexDigit(_)){g+=read();y="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(i.isHexDigit(_)){g+=read();return}return newToken("numeric",C*Number(g))},string(){switch(_){case"\\":read();g+=escape();return;case'"':if(A){read();return newToken("string",g)}g+=read();return;case"'":if(!A){read();return newToken("string",g)}g+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(_);break;case undefined:throw invalidChar(read())}g+=read()},start(){switch(_){case"{":case"[":return newToken("punctuator",read())}y="value"},beforePropertyName(){switch(_){case"$":case"_":g=read();y="identifierName";return;case"\\":read();y="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":A=read()==='"';y="string";return}if(i.isIdStartChar(_)){g+=read();y="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(_===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){y="value"},afterPropertyValue(){switch(_){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(_==="]"){return newToken("punctuator",read())}y="value"},afterArrayValue(){switch(_){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(e,n){return{type:e,value:n,line:p,column:d}}function literal(e){for(const n of e){const e=peek();if(e!==n){throw invalidChar(read())}read()}}function escape(){const e=peek();switch(e){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(i.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let e="";let n=peek();if(!i.isHexDigit(n)){throw invalidChar(read())}e+=read();n=peek();if(!i.isHexDigit(n)){throw invalidChar(read())}e+=read();return String.fromCodePoint(parseInt(e,16))}function unicodeEscape(){let e="";let n=4;while(n-- >0){const n=peek();if(!i.isHexDigit(n)){throw invalidChar(read())}e+=read()}return String.fromCodePoint(parseInt(e,16))}const I={start(){if(f.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(f.type){case"identifier":case"string":h=f.value;o="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(f.type==="eof"){throw invalidEOF()}o="beforePropertyValue"},beforePropertyValue(){if(f.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(f.type==="eof"){throw invalidEOF()}if(f.type==="punctuator"&&f.value==="]"){pop();return}push()},afterPropertyValue(){if(f.type==="eof"){throw invalidEOF()}switch(f.value){case",":o="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(f.type==="eof"){throw invalidEOF()}switch(f.value){case",":o="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let e;switch(f.type){case"punctuator":switch(f.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=f.value;break}if(m===undefined){m=e}else{const n=l[l.length-1];if(Array.isArray(n)){n.push(e)}else{Object.defineProperty(n,h,{value:e,writable:true,enumerable:true,configurable:true})}}if(e!==null&&typeof e==="object"){l.push(e);if(Array.isArray(e)){o="beforeArrayValue"}else{o="beforePropertyName"}}else{const e=l[l.length-1];if(e==null){o="end"}else if(Array.isArray(e)){o="afterArrayValue"}else{o="afterPropertyValue"}}}function pop(){l.pop();const e=l[l.length-1];if(e==null){o="end"}else if(Array.isArray(e)){o="afterArrayValue"}else{o="afterPropertyValue"}}function invalidChar(e){if(e===undefined){return syntaxError(`JSON5: invalid end of input at ${p}:${d}`)}return syntaxError(`JSON5: invalid character '${formatChar(e)}' at ${p}:${d}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${p}:${d}`)}function invalidIdentifier(){d-=5;return syntaxError(`JSON5: invalid identifier character at ${p}:${d}`)}function separatorChar(e){console.warn(`JSON5: '${formatChar(e)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(e){const n={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(n[e]){return n[e]}if(e<" "){const n=e.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return e}function syntaxError(e){const n=new SyntaxError(e);n.lineNumber=p;n.columnNumber=d;return n}},50142:function(e,n,s){const i=s(24327);e.exports=function stringify(e,n,s){const a=[];let o="";let l;let c;let p="";let d;if(n!=null&&typeof n==="object"&&!Array.isArray(n)){s=n.space;d=n.quote;n=n.replacer}if(typeof n==="function"){c=n}else if(Array.isArray(n)){l=[];for(const e of n){let n;if(typeof e==="string"){n=e}else if(typeof e==="number"||e instanceof String||e instanceof Number){n=String(e)}if(n!==undefined&&l.indexOf(n)<0){l.push(n)}}}if(s instanceof Number){s=Number(s)}else if(s instanceof String){s=String(s)}if(typeof s==="number"){if(s>0){s=Math.min(10,Math.floor(s));p=" ".substr(0,s)}}else if(typeof s==="string"){p=s.substr(0,10)}return serializeProperty("",{"":e});function serializeProperty(e,n){let s=n[e];if(s!=null){if(typeof s.toJSON5==="function"){s=s.toJSON5(e)}else if(typeof s.toJSON==="function"){s=s.toJSON(e)}}if(c){s=c.call(n,e,s)}if(s instanceof Number){s=Number(s)}else if(s instanceof String){s=String(s)}else if(s instanceof Boolean){s=s.valueOf()}switch(s){case null:return"null";case true:return"true";case false:return"false"}if(typeof s==="string"){return quoteString(s,false)}if(typeof s==="number"){return String(s)}if(typeof s==="object"){return Array.isArray(s)?serializeArray(s):serializeObject(s)}return undefined}function quoteString(e){const n={"'":.1,'"':.2};const s={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let a="";for(let o=0;o<e.length;o++){const l=e[o];switch(l){case"'":case'"':n[l]++;a+=l;continue;case"\0":if(i.isDigit(e[o+1])){a+="\\x00";continue}}if(s[l]){a+=s[l];continue}if(l<" "){let e=l.charCodeAt(0).toString(16);a+="\\x"+("00"+e).substring(e.length);continue}a+=l}const o=d||Object.keys(n).reduce(((e,s)=>n[e]<n[s]?e:s));a=a.replace(new RegExp(o,"g"),s[o]);return o+a+o}function serializeObject(e){if(a.indexOf(e)>=0){throw TypeError("Converting circular structure to JSON5")}a.push(e);let n=o;o=o+p;let s=l||Object.keys(e);let i=[];for(const n of s){const s=serializeProperty(n,e);if(s!==undefined){let e=serializeKey(n)+":";if(p!==""){e+=" "}e+=s;i.push(e)}}let c;if(i.length===0){c="{}"}else{let e;if(p===""){e=i.join(",");c="{"+e+"}"}else{let s=",\n"+o;e=i.join(s);c="{\n"+o+e+",\n"+n+"}"}}a.pop();o=n;return c}function serializeKey(e){if(e.length===0){return quoteString(e,true)}const n=String.fromCodePoint(e.codePointAt(0));if(!i.isIdStartChar(n)){return quoteString(e,true)}for(let s=n.length;s<e.length;s++){if(!i.isIdContinueChar(String.fromCodePoint(e.codePointAt(s)))){return quoteString(e,true)}}return e}function serializeArray(e){if(a.indexOf(e)>=0){throw TypeError("Converting circular structure to JSON5")}a.push(e);let n=o;o=o+p;let s=[];for(let n=0;n<e.length;n++){const i=serializeProperty(String(n),e);s.push(i!==undefined?i:"null")}let i;if(s.length===0){i="[]"}else{if(p===""){let e=s.join(",");i="["+e+"]"}else{let e=",\n"+o;let a=s.join(e);i="[\n"+o+a+",\n"+n+"]"}}a.pop();o=n;return i}}},30796:function(e){e.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;e.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;e.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},24327:function(e,n,s){const i=s(30796);e.exports={isSpaceSeparator(e){return typeof e==="string"&&i.Space_Separator.test(e)},isIdStartChar(e){return typeof e==="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||i.ID_Start.test(e))},isIdContinueChar(e){return typeof e==="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="‌"||e==="‍"||i.ID_Continue.test(e))},isDigit(e){return typeof e==="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e==="string"&&/[0-9A-Fa-f]/.test(e)}}},70125:function(e,n,s){var i=s(41018);var a=Object.prototype.toString;e.exports=function kindOf(e){if(typeof e==="undefined"){return"undefined"}if(e===null){return"null"}if(e===true||e===false||e instanceof Boolean){return"boolean"}if(typeof e==="string"||e instanceof String){return"string"}if(typeof e==="number"||e instanceof Number){return"number"}if(typeof e==="function"||e instanceof Function){return"function"}if(typeof Array.isArray!=="undefined"&&Array.isArray(e)){return"array"}if(e instanceof RegExp){return"regexp"}if(e instanceof Date){return"date"}var n=a.call(e);if(n==="[object RegExp]"){return"regexp"}if(n==="[object Date]"){return"date"}if(n==="[object Arguments]"){return"arguments"}if(n==="[object Error]"){return"error"}if(i(e)){return"buffer"}if(n==="[object Set]"){return"set"}if(n==="[object WeakSet]"){return"weakset"}if(n==="[object Map]"){return"map"}if(n==="[object WeakMap]"){return"weakmap"}if(n==="[object Symbol]"){return"symbol"}if(n==="[object Int8Array]"){return"int8array"}if(n==="[object Uint8Array]"){return"uint8array"}if(n==="[object Uint8ClampedArray]"){return"uint8clampedarray"}if(n==="[object Int16Array]"){return"int16array"}if(n==="[object Uint16Array]"){return"uint16array"}if(n==="[object Int32Array]"){return"int32array"}if(n==="[object Uint32Array]"){return"uint32array"}if(n==="[object Float32Array]"){return"float32array"}if(n==="[object Float64Array]"){return"float64array"}return"object"}},98943:function(e){"use strict";e.exports=compose;function compose(e){if(!Array.isArray(e))throw new TypeError("Middleware stack must be an array!");for(const n of e){if(typeof n!=="function")throw new TypeError("Middleware must be composed of functions!")}return function(n,s){let i=-1;return dispatch(0);function dispatch(a){if(a<=i)return Promise.reject(new Error("next() called multiple times"));i=a;let o=e[a];if(a===e.length)o=s;if(!o)return Promise.resolve();try{return Promise.resolve(o(n,dispatch.bind(null,a+1)))}catch(e){return Promise.reject(e)}}}}},96638:function(e,n,s){const i=s(73462)("koa-mount");const a=s(98943);const o=s(42613);e.exports=mount;function mount(e,n){if(typeof e!=="string"){n=e;e="/"}o.equal(e[0],"/",'mount path must begin with "/"');let s=n;if(Array.isArray(n)){s=a(n)}else if(n.middleware){s=a(n.middleware)}if(e==="/")return s;const l=e.slice(-1)==="/";const c=n.name||"unnamed";i("mount %s %s",e,c);return async function(n,a){const o=n.path;const l=match(o);i("mount %s %s -> %s",e,c,l);if(!l)return await a();n.mountPath=e;n.path=l;i("enter %s -> %s",o,n.path);try{await s(n,(async()=>{n.path=o;await a();n.path=l}))}finally{i("leave %s -> %s",o,n.path);n.path=o}};function match(n){if(n.indexOf(e)!==0)return false;const s=n.replace(e,"")||"/";if(l)return s;if(s[0]!=="/")return false;return s}}},21986:function(e,n,s){const{parse:i,format:a}=s(73136);const{pathToRegexp:o,compile:l,parse:c,stringify:p}=s(87305);e.exports=class Layer{constructor(e,n,s,i={}){this.opts=i;this.name=this.opts.name||null;this.methods=[];this.paramNames=[];this.stack=Array.isArray(s)?s:[s];for(const e of n){const n=this.methods.push(e.toUpperCase());if(this.methods[n-1]==="GET")this.methods.unshift("HEAD")}for(let s=0;s<this.stack.length;s++){const i=this.stack[s];const a=typeof i;if(a!=="function")throw new Error(`${n.toString()} \`${this.opts.name||e}\`: \`middleware\` must be a function, not \`${a}\``)}this.path=e;if(this.opts.pathIsRegexp===true){this.regexp=new RegExp(e)}else if(this.path){if(this.opts.strict===true){this.opts.trailing=false}const{regexp:e,keys:n}=o(this.path,this.opts);this.regexp=e;this.paramNames=n}}match(e){return this.regexp.test(e)}params(e,n,s={}){for(let e=n.length,i=0;i<e;i++){if(this.paramNames[i]){const e=n[i];if(e&&e.length>0)s[this.paramNames[i].name]=e?safeDecodeURIComponent(e):e}}return s}captures(e){return this.opts.ignoreCaptures?[]:e.match(this.regexp).slice(1)}url(e,n){let s=e;const o=this.path.replace(/\(\.\*\)/g,"");if(typeof e!=="object"){s=Array.prototype.slice.call(arguments);if(typeof s[s.length-1]==="object"){n=s[s.length-1];s=s.slice(0,-1)}}const p=l(o,{encode:encodeURIComponent,...n});let d;const{tokens:f}=c(o);let h={};if(Array.isArray(s)){for(let e=f.length,n=0,i=0;n<e;n++){if(f[n].name){h[f[n].name]=s[i++]}}}else if(f.some((e=>e.name))){h=e}else if(!n){n=e}for(const[e,n]of Object.entries(h)){h[e]=String(n)}d=p(h);if(n&&n.query){d=i(d);if(typeof n.query==="string"){d.search=n.query}else{d.search=undefined;d.query=n.query}return a(d)}return d}param(e,n){const{stack:s}=this;const i=this.paramNames;const middleware=function(s,i){return n.call(this,s.params[e],s,i)};middleware.param=e;const a=i.map((function(e){return e.name}));const o=a.indexOf(e);if(o>-1){s.some(((e,n)=>{if(!e.param||a.indexOf(e.param)>o){s.splice(n,0,middleware);return true}}))}return this}setPrefix(e){if(this.path){this.path=this.path!=="/"||this.opts.strict===true?`${e}${this.path}`:e;if(this.opts.pathIsRegexp===true||e instanceof RegExp){this.regexp=new RegExp(this.path)}else if(this.path){const{regexp:e,keys:n}=o(this.path,this.opts);this.regexp=e;this.paramNames=n}}return this}};function safeDecodeURIComponent(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return e}}},88522:function(e,n,s){const i=s(37067);const a=s(57975);const o=a.debuglog("koa-router");const l=s(98943);const c=s(24700);const{pathToRegexp:p}=s(87305);const d=s(21986);const f=i.METHODS.map((e=>e.toLowerCase()));class Router{constructor(e={}){if(!(this instanceof Router))return new Router(e);this.opts=e;this.methods=this.opts.methods||["HEAD","OPTIONS","GET","PUT","PATCH","POST","DELETE"];this.exclusive=Boolean(this.opts.exclusive);this.params={};this.stack=[];this.host=this.opts.host}static url(e,...n){return d.prototype.url.apply({path:e},n)}use(...e){const n=this;let s;if(Array.isArray(e[0])&&typeof e[0][0]==="string"){const s=e[0];for(const i of s){n.use.apply(n,[i,...e.slice(1)])}return this}const i=typeof e[0]==="string";if(i)s=e.shift();for(const a of e){if(a.router){const e=Object.assign(Object.create(Router.prototype),a.router,{stack:[...a.router.stack]});for(let i=0;i<e.stack.length;i++){const a=e.stack[i];const o=Object.assign(Object.create(d.prototype),a);if(s)o.setPrefix(s);if(n.opts.prefix)o.setPrefix(n.opts.prefix);n.stack.push(o);e.stack[i]=o}if(n.params){const s=Object.keys(n.params);for(const i of s){e.param(i,n.params[i])}}}else{const{keys:e}=p(n.opts.prefix||"",n.opts);const o=Boolean(n.opts.prefix&&e.length>0);n.register(s||"([^/]*)",[],a,{end:false,ignoreCaptures:!i&&!o,pathIsRegexp:true})}}return this}prefix(e){e=e.replace(/\/$/,"");this.opts.prefix=e;for(let n=0;n<this.stack.length;n++){const s=this.stack[n];s.setPrefix(e)}return this}middleware(){const e=this;const dispatch=(n,s)=>{o("%s %s",n.method,n.path);const i=e.matchHost(n.host);if(!i){return s()}const a=e.opts.routerPath||n.newRouterPath||n.path||n.routerPath;const c=e.match(a,n.method);if(n.matched){n.matched.push.apply(n.matched,c.path)}else{n.matched=c.path}n.router=e;if(!c.route)return s();const p=c.pathAndMethod;const d=p[p.length-1];n._matchedRoute=d.path;if(d.name){n._matchedRouteName=d.name}const f=(e.exclusive?[d]:p).reduce(((e,n)=>{e.push(((e,s)=>{e.captures=n.captures(a,e.captures);e.request.params=n.params(a,e.captures,e.params);e.params=e.request.params;e.routerPath=n.path;e.routerName=n.name;e._matchedRoute=n.path;if(n.name){e._matchedRouteName=n.name}return s()}));return[...e,...n.stack]}),[]);return l(f)(n,s)};dispatch.router=this;return dispatch}routes(){return this.middleware()}allowedMethods(e={}){const n=this.methods;return(s,i)=>i().then((()=>{const i={};if(s.matched&&(!s.status||s.status===404)){for(let e=0;e<s.matched.length;e++){const n=s.matched[e];for(let e=0;e<n.methods.length;e++){const s=n.methods[e];i[s]=s}}const a=Object.keys(i);if(!n.includes(s.method)){if(e.throw){const n=typeof e.notImplemented==="function"?e.notImplemented():new c.NotImplemented;throw n}else{s.status=501;s.set("Allow",a.join(", "))}}else if(a.length>0){if(s.method==="OPTIONS"){s.status=200;s.body="";s.set("Allow",a.join(", "))}else if(!i[s.method]){if(e.throw){const n=typeof e.methodNotAllowed==="function"?e.methodNotAllowed():new c.MethodNotAllowed;throw n}else{s.status=405;s.set("Allow",a.join(", "))}}}}}))}all(e,n,s){if(typeof n==="string"||n instanceof RegExp){s=Array.prototype.slice.call(arguments,2)}else{s=Array.prototype.slice.call(arguments,1);n=e;e=null}if(typeof n!=="string"&&!(n instanceof RegExp)&&(!Array.isArray(n)||n.length===0))throw new Error("You have to provide a path when adding an all handler");const i={name:e,pathIsRegexp:n instanceof RegExp};this.register(n,f,s,{...this.opts,...i});return this}redirect(e,n,s){if(typeof e==="symbol"||e[0]!=="/"){e=this.url(e);if(e instanceof Error)throw e}if(typeof n==="symbol"||n[0]!=="/"&&!n.includes("://")){n=this.url(n);if(n instanceof Error)throw n}return this.all(e,(e=>{e.redirect(n);e.status=s||301}))}register(e,n,s,i={}){const a=this;const{stack:l}=this;const c={...this.opts,...i};if(Array.isArray(e)){for(const i of e){a.register.call(a,i,n,s,c)}return this}const p=new d(e,n,s,{end:c.end===false?c.end:true,name:c.name,sensitive:c.sensitive||false,strict:c.strict||false,prefix:c.prefix||"",ignoreCaptures:c.ignoreCaptures,pathIsRegexp:c.pathIsRegexp});if(this.opts.prefix){p.setPrefix(this.opts.prefix)}for(let e=0;e<Object.keys(this.params).length;e++){const n=Object.keys(this.params)[e];p.param(n,this.params[n])}l.push(p);o("defined route %s %s",p.methods,p.path);return p}route(e){const n=this.stack;for(let s=n.length,i=0;i<s;i++){if(n[i].name&&n[i].name===e)return n[i]}return false}url(e,...n){const s=this.route(e);if(s)return s.url.apply(s,n);return new Error(`No route found for name: ${String(e)}`)}match(e,n){const s=this.stack;let i;const a={path:[],pathAndMethod:[],route:false};for(let l=s.length,c=0;c<l;c++){i=s[c];o("test %s %s",i.path,i.regexp);if(i.match(e)){a.path.push(i);if(i.methods.length===0||i.methods.includes(n)){a.pathAndMethod.push(i);if(i.methods.length>0)a.route=true}}}return a}matchHost(e){const{host:n}=this;if(!n){return true}if(!e){return false}if(typeof n==="string"){return e===n}if(typeof n==="object"&&n instanceof RegExp){return n.test(e)}}param(e,n){this.params[e]=n;for(let s=0;s<this.stack.length;s++){const i=this.stack[s];i.param(e,n)}return this}}for(const e of f){Router.prototype[e]=function(n,s,i){if(typeof s==="string"||s instanceof RegExp){i=Array.prototype.slice.call(arguments,2)}else{i=Array.prototype.slice.call(arguments,1);s=n;n=null}if(typeof s!=="string"&&!(s instanceof RegExp)&&(!Array.isArray(s)||s.length===0))throw new Error(`You have to provide a path when adding a ${e} handler`);const a={name:n,pathIsRegexp:s instanceof RegExp};this.register(s,[e],i,{...this.opts,...a});return this}}Router.prototype.del=Router.prototype["delete"];e.exports=Router},59558:function(e,n,s){const i=s(79896);const a=s(39023);const o=s(73462)("koa-send");const l=s(91493);const c=s(15570);const p=s(42613);const d=a.promisify(i.stat);const f=a.promisify(i.access);async function exists(e){try{await f(e);return true}catch(e){return false}}const{normalize:h,basename:m,extname:y,resolve:g,parse:A,sep:C}=s(16928);e.exports=send;async function send(e,n,s={}){p(e,"koa context required");p(n,"pathname required");o('send "%s" %j',n,s);const a=s.root?h(g(s.root)):"";const f=n[n.length-1]==="/";n=n.substr(A(n).root.length);const y=s.index;const C=s.maxage||s.maxAge||0;const _=s.immutable||false;const k=s.hidden||false;const I=s.format!==false;const D=Array.isArray(s.extensions)?s.extensions:false;const O=s.brotli!==false;const L=s.gzip!==false;const B=s.setHeaders;if(B&&typeof B!=="function"){throw new TypeError("option setHeaders must be function")}n=decode(n);if(n===-1)return e.throw(400,"failed to decode");if(y&&f)n+=y;n=l(a,n);if(!k&&isHidden(a,n))return;let j="";if(e.acceptsEncodings("br","identity")==="br"&&O&&await exists(n+".br")){n=n+".br";e.set("Content-Encoding","br");e.res.removeHeader("Content-Length");j=".br"}else if(e.acceptsEncodings("gzip","identity")==="gzip"&&L&&await exists(n+".gz")){n=n+".gz";e.set("Content-Encoding","gzip");e.res.removeHeader("Content-Length");j=".gz"}if(D&&!/\./.exec(m(n))){const e=[].concat(D);for(let s=0;s<e.length;s++){let i=e[s];if(typeof i!=="string"){throw new TypeError("option extensions must be array of strings or false")}if(!/^\./.exec(i))i=`.${i}`;if(await exists(`${n}${i}`)){n=`${n}${i}`;break}}}let R;try{R=await d(n);if(R.isDirectory()){if(I&&y){n+=`/${y}`;R=await d(n)}else{return}}}catch(e){const n=["ENOENT","ENAMETOOLONG","ENOTDIR"];if(n.includes(e.code)){throw c(404,e)}e.status=500;throw e}if(B)B(e.res,n,R);e.set("Content-Length",R.size);if(!e.response.get("Last-Modified"))e.set("Last-Modified",R.mtime.toUTCString());if(!e.response.get("Cache-Control")){const n=[`max-age=${C/1e3|0}`];if(_){n.push("immutable")}e.set("Cache-Control",n.join(","))}if(!e.type)e.type=type(n,j);e.body=i.createReadStream(n);return n}function isHidden(e,n){n=n.substr(e.length).split(C);for(let e=0;e<n.length;e++){if(n[e][0]===".")return true}return false}function type(e,n){return n!==""?y(m(e,n)):y(e)}function decode(e){try{return decodeURIComponent(e)}catch(e){return-1}}},98521:function(e,n,s){"use strict";const i=s(52399)("koa-static");const{resolve:a}=s(16928);const o=s(42613);const l=s(59558);e.exports=serve;function serve(e,n){n=Object.assign({},n);o(e,"root directory is required to serve files");i('static "%s" %j',e,n);n.root=a(e);if(n.index!==false)n.index=n.index||"index.html";if(!n.defer){return async function serve(e,s){let i=false;if(e.method==="HEAD"||e.method==="GET"){try{i=await l(e,e.path,n)}catch(e){if(e.status!==404){throw e}}}if(!i){await s()}}}return async function serve(e,s){await s();if(e.method!=="HEAD"&&e.method!=="GET")return;if(e.body!=null||e.status!==404)return;try{await l(e,e.path,n)}catch(e){if(e.status!==404){throw e}}}}},81258:function(e,n,s){e=s.nmd(e);var i=200;var a="__lodash_hash_undefined__";var o=800,l=16;var c=9007199254740991;var p="[object Arguments]",d="[object Array]",f="[object AsyncFunction]",h="[object Boolean]",m="[object Date]",y="[object Error]",g="[object Function]",A="[object GeneratorFunction]",C="[object Map]",_="[object Number]",k="[object Null]",I="[object Object]",D="[object Proxy]",O="[object RegExp]",L="[object Set]",B="[object String]",j="[object Undefined]",R="[object WeakMap]";var $="[object ArrayBuffer]",H="[object DataView]",J="[object Float32Array]",ee="[object Float64Array]",te="[object Int8Array]",re="[object Int16Array]",ne="[object Int32Array]",se="[object Uint8Array]",ie="[object Uint8ClampedArray]",ae="[object Uint16Array]",oe="[object Uint32Array]";var le=/[\\^$.*+?()[\]{}|]/g;var ce=/^\[object .+?Constructor\]$/;var ue=/^(?:0|[1-9]\d*)$/;var pe={};pe[J]=pe[ee]=pe[te]=pe[re]=pe[ne]=pe[se]=pe[ie]=pe[ae]=pe[oe]=true;pe[p]=pe[d]=pe[$]=pe[h]=pe[H]=pe[m]=pe[y]=pe[g]=pe[C]=pe[_]=pe[I]=pe[O]=pe[L]=pe[B]=pe[R]=false;var de=typeof global=="object"&&global&&global.Object===Object&&global;var fe=typeof self=="object"&&self&&self.Object===Object&&self;var he=de||fe||Function("return this")();var me=true&&n&&!n.nodeType&&n;var ye=me&&"object"=="object"&&e&&!e.nodeType&&e;var ge=ye&&ye.exports===me;var be=ge&&de.process;var xe=function(){try{var e=ye&&ye.require&&ye.require("util").types;if(e){return e}return be&&be.binding&&be.binding("util")}catch(e){}}();var Te=xe&&xe.isTypedArray;function apply(e,n,s){switch(s.length){case 0:return e.call(n);case 1:return e.call(n,s[0]);case 2:return e.call(n,s[0],s[1]);case 3:return e.call(n,s[0],s[1],s[2])}return e.apply(n,s)}function baseTimes(e,n){var s=-1,i=Array(e);while(++s<e){i[s]=n(s)}return i}function baseUnary(e){return function(n){return e(n)}}function getValue(e,n){return e==null?undefined:e[n]}function overArg(e,n){return function(s){return e(n(s))}}var ve=Array.prototype,Se=Function.prototype,Ee=Object.prototype;var Pe=he["__core-js_shared__"];var we=Se.toString;var Ae=Ee.hasOwnProperty;var Ce=function(){var e=/[^.]+$/.exec(Pe&&Pe.keys&&Pe.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var _e=Ee.toString;var ke=we.call(Object);var Ie=RegExp("^"+we.call(Ae).replace(le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var De=ge?he.Buffer:undefined,Ne=he.Symbol,Oe=he.Uint8Array,Le=De?De.allocUnsafe:undefined,Me=overArg(Object.getPrototypeOf,Object),Fe=Object.create,Be=Ee.propertyIsEnumerable,je=ve.splice,Re=Ne?Ne.toStringTag:undefined;var Ue=function(){try{var e=getNative(Object,"defineProperty");e({},"",{});return e}catch(e){}}();var Ve=De?De.isBuffer:undefined,Ke=Math.max,We=Date.now;var qe=getNative(he,"Map"),$e=getNative(Object,"create");var He=function(){function object(){}return function(e){if(!isObject(e)){return{}}if(Fe){return Fe(e)}object.prototype=e;var n=new object;object.prototype=undefined;return n}}();function Hash(e){var n=-1,s=e==null?0:e.length;this.clear();while(++n<s){var i=e[n];this.set(i[0],i[1])}}function hashClear(){this.__data__=$e?$e(null):{};this.size=0}function hashDelete(e){var n=this.has(e)&&delete this.__data__[e];this.size-=n?1:0;return n}function hashGet(e){var n=this.__data__;if($e){var s=n[e];return s===a?undefined:s}return Ae.call(n,e)?n[e]:undefined}function hashHas(e){var n=this.__data__;return $e?n[e]!==undefined:Ae.call(n,e)}function hashSet(e,n){var s=this.__data__;this.size+=this.has(e)?0:1;s[e]=$e&&n===undefined?a:n;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(e){var n=-1,s=e==null?0:e.length;this.clear();while(++n<s){var i=e[n];this.set(i[0],i[1])}}function listCacheClear(){this.__data__=[];this.size=0}function listCacheDelete(e){var n=this.__data__,s=assocIndexOf(n,e);if(s<0){return false}var i=n.length-1;if(s==i){n.pop()}else{je.call(n,s,1)}--this.size;return true}function listCacheGet(e){var n=this.__data__,s=assocIndexOf(n,e);return s<0?undefined:n[s][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet(e,n){var s=this.__data__,i=assocIndexOf(s,e);if(i<0){++this.size;s.push([e,n])}else{s[i][1]=n}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var n=-1,s=e==null?0:e.length;this.clear();while(++n<s){var i=e[n];this.set(i[0],i[1])}}function mapCacheClear(){this.size=0;this.__data__={hash:new Hash,map:new(qe||ListCache),string:new Hash}}function mapCacheDelete(e){var n=getMapData(this,e)["delete"](e);this.size-=n?1:0;return n}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,n){var s=getMapData(this,e),i=s.size;s.set(e,n);this.size+=s.size==i?0:1;return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function Stack(e){var n=this.__data__=new ListCache(e);this.size=n.size}function stackClear(){this.__data__=new ListCache;this.size=0}function stackDelete(e){var n=this.__data__,s=n["delete"](e);this.size=n.size;return s}function stackGet(e){return this.__data__.get(e)}function stackHas(e){return this.__data__.has(e)}function stackSet(e,n){var s=this.__data__;if(s instanceof ListCache){var a=s.__data__;if(!qe||a.length<i-1){a.push([e,n]);this.size=++s.size;return this}s=this.__data__=new MapCache(a)}s.set(e,n);this.size=s.size;return this}Stack.prototype.clear=stackClear;Stack.prototype["delete"]=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function arrayLikeKeys(e,n){var s=Ge(e),i=!s&&Ye(e),a=!s&&!i&&Qe(e),o=!s&&!i&&!a&&Ze(e),l=s||i||a||o,c=l?baseTimes(e.length,String):[],p=c.length;for(var d in e){if((n||Ae.call(e,d))&&!(l&&(d=="length"||a&&(d=="offset"||d=="parent")||o&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||isIndex(d,p)))){c.push(d)}}return c}function assignMergeValue(e,n,s){if(s!==undefined&&!eq(e[n],s)||s===undefined&&!(n in e)){baseAssignValue(e,n,s)}}function assignValue(e,n,s){var i=e[n];if(!(Ae.call(e,n)&&eq(i,s))||s===undefined&&!(n in e)){baseAssignValue(e,n,s)}}function assocIndexOf(e,n){var s=e.length;while(s--){if(eq(e[s][0],n)){return s}}return-1}function baseAssignValue(e,n,s){if(n=="__proto__"&&Ue){Ue(e,n,{configurable:true,enumerable:true,value:s,writable:true})}else{e[n]=s}}var ze=createBaseFor();function baseGetTag(e){if(e==null){return e===undefined?j:k}return Re&&Re in Object(e)?getRawTag(e):objectToString(e)}function baseIsArguments(e){return isObjectLike(e)&&baseGetTag(e)==p}function baseIsNative(e){if(!isObject(e)||isMasked(e)){return false}var n=isFunction(e)?Ie:ce;return n.test(toSource(e))}function baseIsTypedArray(e){return isObjectLike(e)&&isLength(e.length)&&!!pe[baseGetTag(e)]}function baseKeysIn(e){if(!isObject(e)){return nativeKeysIn(e)}var n=isPrototype(e),s=[];for(var i in e){if(!(i=="constructor"&&(n||!Ae.call(e,i)))){s.push(i)}}return s}function baseMerge(e,n,s,i,a){if(e===n){return}ze(n,(function(o,l){a||(a=new Stack);if(isObject(o)){baseMergeDeep(e,n,l,s,baseMerge,i,a)}else{var c=i?i(safeGet(e,l),o,l+"",e,n,a):undefined;if(c===undefined){c=o}assignMergeValue(e,l,c)}}),keysIn)}function baseMergeDeep(e,n,s,i,a,o,l){var c=safeGet(e,s),p=safeGet(n,s),d=l.get(p);if(d){assignMergeValue(e,s,d);return}var f=o?o(c,p,s+"",e,n,l):undefined;var h=f===undefined;if(h){var m=Ge(p),y=!m&&Qe(p),g=!m&&!y&&Ze(p);f=p;if(m||y||g){if(Ge(c)){f=c}else if(isArrayLikeObject(c)){f=copyArray(c)}else if(y){h=false;f=cloneBuffer(p,true)}else if(g){h=false;f=cloneTypedArray(p,true)}else{f=[]}}else if(isPlainObject(p)||Ye(p)){f=c;if(Ye(c)){f=toPlainObject(c)}else if(!isObject(c)||isFunction(c)){f=initCloneObject(p)}}else{h=false}}if(h){l.set(p,f);a(f,p,i,o,l);l["delete"](p)}assignMergeValue(e,s,f)}function baseRest(e,n){return Je(overRest(e,n,identity),e+"")}var Xe=!Ue?identity:function(e,n){return Ue(e,"toString",{configurable:true,enumerable:false,value:constant(n),writable:true})};function cloneBuffer(e,n){if(n){return e.slice()}var s=e.length,i=Le?Le(s):new e.constructor(s);e.copy(i);return i}function cloneArrayBuffer(e){var n=new e.constructor(e.byteLength);new Oe(n).set(new Oe(e));return n}function cloneTypedArray(e,n){var s=n?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.length)}function copyArray(e,n){var s=-1,i=e.length;n||(n=Array(i));while(++s<i){n[s]=e[s]}return n}function copyObject(e,n,s,i){var a=!s;s||(s={});var o=-1,l=n.length;while(++o<l){var c=n[o];var p=i?i(s[c],e[c],c,s,e):undefined;if(p===undefined){p=e[c]}if(a){baseAssignValue(s,c,p)}else{assignValue(s,c,p)}}return s}function createAssigner(e){return baseRest((function(n,s){var i=-1,a=s.length,o=a>1?s[a-1]:undefined,l=a>2?s[2]:undefined;o=e.length>3&&typeof o=="function"?(a--,o):undefined;if(l&&isIterateeCall(s[0],s[1],l)){o=a<3?undefined:o;a=1}n=Object(n);while(++i<a){var c=s[i];if(c){e(n,c,i,o)}}return n}))}function createBaseFor(e){return function(n,s,i){var a=-1,o=Object(n),l=i(n),c=l.length;while(c--){var p=l[e?c:++a];if(s(o[p],p,o)===false){break}}return n}}function getMapData(e,n){var s=e.__data__;return isKeyable(n)?s[typeof n=="string"?"string":"hash"]:s.map}function getNative(e,n){var s=getValue(e,n);return baseIsNative(s)?s:undefined}function getRawTag(e){var n=Ae.call(e,Re),s=e[Re];try{e[Re]=undefined;var i=true}catch(e){}var a=_e.call(e);if(i){if(n){e[Re]=s}else{delete e[Re]}}return a}function initCloneObject(e){return typeof e.constructor=="function"&&!isPrototype(e)?He(Me(e)):{}}function isIndex(e,n){var s=typeof e;n=n==null?c:n;return!!n&&(s=="number"||s!="symbol"&&ue.test(e))&&(e>-1&&e%1==0&&e<n)}function isIterateeCall(e,n,s){if(!isObject(s)){return false}var i=typeof n;if(i=="number"?isArrayLike(s)&&isIndex(n,s.length):i=="string"&&n in s){return eq(s[n],e)}return false}function isKeyable(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}function isMasked(e){return!!Ce&&Ce in e}function isPrototype(e){var n=e&&e.constructor,s=typeof n=="function"&&n.prototype||Ee;return e===s}function nativeKeysIn(e){var n=[];if(e!=null){for(var s in Object(e)){n.push(s)}}return n}function objectToString(e){return _e.call(e)}function overRest(e,n,s){n=Ke(n===undefined?e.length-1:n,0);return function(){var i=arguments,a=-1,o=Ke(i.length-n,0),l=Array(o);while(++a<o){l[a]=i[n+a]}a=-1;var c=Array(n+1);while(++a<n){c[a]=i[a]}c[n]=s(l);return apply(e,this,c)}}function safeGet(e,n){if(n==="constructor"&&typeof e[n]==="function"){return}if(n=="__proto__"){return}return e[n]}var Je=shortOut(Xe);function shortOut(e){var n=0,s=0;return function(){var i=We(),a=l-(i-s);s=i;if(a>0){if(++n>=o){return arguments[0]}}else{n=0}return e.apply(undefined,arguments)}}function toSource(e){if(e!=null){try{return we.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eq(e,n){return e===n||e!==e&&n!==n}var Ye=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&Ae.call(e,"callee")&&!Be.call(e,"callee")};var Ge=Array.isArray;function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}function isArrayLikeObject(e){return isObjectLike(e)&&isArrayLike(e)}var Qe=Ve||stubFalse;function isFunction(e){if(!isObject(e)){return false}var n=baseGetTag(e);return n==g||n==A||n==f||n==D}function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=c}function isObject(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}function isObjectLike(e){return e!=null&&typeof e=="object"}function isPlainObject(e){if(!isObjectLike(e)||baseGetTag(e)!=I){return false}var n=Me(e);if(n===null){return true}var s=Ae.call(n,"constructor")&&n.constructor;return typeof s=="function"&&s instanceof s&&we.call(s)==ke}var Ze=Te?baseUnary(Te):baseIsTypedArray;function toPlainObject(e){return copyObject(e,keysIn(e))}function keysIn(e){return isArrayLike(e)?arrayLikeKeys(e,true):baseKeysIn(e)}var et=createAssigner((function(e,n,s){baseMerge(e,n,s)}));function constant(e){return function(){return e}}function identity(e){return e}function stubFalse(){return false}e.exports=et},19363:function(e,n,s){"use strict";const i=s(25663);const a=Symbol("max");const o=Symbol("length");const l=Symbol("lengthCalculator");const c=Symbol("allowStale");const p=Symbol("maxAge");const d=Symbol("dispose");const f=Symbol("noDisposeOnSet");const h=Symbol("lruList");const m=Symbol("cache");const y=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const n=this[a]=e.max||Infinity;const s=e.length||naiveLength;this[l]=typeof s!=="function"?naiveLength:s;this[c]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[p]=e.maxAge||0;this[d]=e.dispose;this[f]=e.noDisposeOnSet||false;this[y]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[a]=e||Infinity;trim(this)}get max(){return this[a]}set allowStale(e){this[c]=!!e}get allowStale(){return this[c]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[p]=e;trim(this)}get maxAge(){return this[p]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[l]){this[l]=e;this[o]=0;this[h].forEach((e=>{e.length=this[l](e.value,e.key);this[o]+=e.length}))}trim(this)}get lengthCalculator(){return this[l]}get length(){return this[o]}get itemCount(){return this[h].length}rforEach(e,n){n=n||this;for(let s=this[h].tail;s!==null;){const i=s.prev;forEachStep(this,e,s,n);s=i}}forEach(e,n){n=n||this;for(let s=this[h].head;s!==null;){const i=s.next;forEachStep(this,e,s,n);s=i}}keys(){return this[h].toArray().map((e=>e.key))}values(){return this[h].toArray().map((e=>e.value))}reset(){if(this[d]&&this[h]&&this[h].length){this[h].forEach((e=>this[d](e.key,e.value)))}this[m]=new Map;this[h]=new i;this[o]=0}dump(){return this[h].map((e=>isStale(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[h]}set(e,n,s){s=s||this[p];if(s&&typeof s!=="number")throw new TypeError("maxAge must be a number");const i=s?Date.now():0;const c=this[l](n,e);if(this[m].has(e)){if(c>this[a]){del(this,this[m].get(e));return false}const l=this[m].get(e);const p=l.value;if(this[d]){if(!this[f])this[d](e,p.value)}p.now=i;p.maxAge=s;p.value=n;this[o]+=c-p.length;p.length=c;this.get(e);trim(this);return true}const y=new Entry(e,n,c,i,s);if(y.length>this[a]){if(this[d])this[d](e,n);return false}this[o]+=y.length;this[h].unshift(y);this[m].set(e,this[h].head);trim(this);return true}has(e){if(!this[m].has(e))return false;const n=this[m].get(e).value;return!isStale(this,n)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[h].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[m].get(e))}load(e){this.reset();const n=Date.now();for(let s=e.length-1;s>=0;s--){const i=e[s];const a=i.e||0;if(a===0)this.set(i.k,i.v);else{const e=a-n;if(e>0){this.set(i.k,i.v,e)}}}}prune(){this[m].forEach(((e,n)=>get(this,n,false)))}}const get=(e,n,s)=>{const i=e[m].get(n);if(i){const n=i.value;if(isStale(e,n)){del(e,i);if(!e[c])return undefined}else{if(s){if(e[y])i.value.now=Date.now();e[h].unshiftNode(i)}}return n.value}};const isStale=(e,n)=>{if(!n||!n.maxAge&&!e[p])return false;const s=Date.now()-n.now;return n.maxAge?s>n.maxAge:e[p]&&s>e[p]};const trim=e=>{if(e[o]>e[a]){for(let n=e[h].tail;e[o]>e[a]&&n!==null;){const s=n.prev;del(e,n);n=s}}};const del=(e,n)=>{if(n){const s=n.value;if(e[d])e[d](s.key,s.value);e[o]-=s.length;e[m].delete(s.key);e[h].removeNode(n)}};class Entry{constructor(e,n,s,i,a){this.key=e;this.value=n;this.length=s;this.now=i;this.maxAge=a||0}}const forEachStep=(e,n,s,i)=>{let a=s.value;if(isStale(e,a)){del(e,s);if(!e[c])a=undefined}if(a)n.call(i,a.value,a.key,e)};e.exports=LRUCache},34328:function(e){"use strict";e.exports=Math.abs},70422:function(e){"use strict";e.exports=Math.floor},24021:function(e){"use strict";e.exports=Number.isNaN||function isNaN(e){return e!==e}},71378:function(e){"use strict";e.exports=Math.max},87388:function(e){"use strict";e.exports=Math.min},80526:function(e){"use strict";e.exports=Math.pow},17816:function(e){"use strict";e.exports=Math.round},19947:function(e,n,s){"use strict";var i=s(24021);e.exports=function sign(e){if(i(e)||e===0){return e}return e<0?-1:+1}},4167:function(e,n){
85
85
  /*!
86
86
  * media-typer
87
87
  * Copyright(c) 2014 Douglas Christopher Wilson
@@ -311,7 +311,7 @@ e.exports=s(47080)},56553:function(e,n,s){"use strict";
311
311
  // writable is false by default
312
312
  value: ${c.name}
313
313
  });
314
- `,n)}function buildPrivateMethodDeclaration(e,n,s,a=false){const o=s.get(n.node.key.id.name);const{id:l,methodId:c,getId:p,setId:d,getterDeclared:f,setterDeclared:h,static:m}=o;const{params:y,body:g,generator:C,async:_}=n.node;const k=p&&y.length===0;const I=d&&y.length>0;if(k&&f||I&&h){s.set(n.node.key.id.name,Object.assign({},o,{initAdded:true}));return null}if(newHelpers(e)&&(k||I)&&!a){const e=n.get("body").scope;const s=e.generateUidIdentifier("this");const a={thisRef:s,argumentsPath:[]};n.traverse(A,a);if(a.argumentsPath.length){const n=e.generateUidIdentifier("arguments");e.push({id:n,init:i.template.expression.ast`[].slice.call(arguments, 1)`});for(const e of a.argumentsPath){e.replaceWith(i.types.cloneNode(n))}}y.unshift(i.types.cloneNode(s))}let D=c;if(k){s.set(n.node.key.id.name,Object.assign({},o,{getterDeclared:true,initAdded:true}));D=p}else if(I){s.set(n.node.key.id.name,Object.assign({},o,{setterDeclared:true,initAdded:true}));D=d}else if(m&&!a){D=l}return inheritPropComments(i.types.functionDeclaration(i.types.cloneNode(D),y,g,C,_),n)}const A=a.visitors.environmentVisitor({Identifier(e,n){if(n.argumentsPath&&e.node.name==="arguments"){n.argumentsPath.push(e)}},UnaryExpression(e){const{node:n}=e;if(n.operator==="delete"){const s=(0,d.skipTransparentExprWrapperNodes)(n.argument);if(i.types.isThisExpression(s)){e.replaceWith(i.types.booleanLiteral(true))}}},ThisExpression(e,n){n.needsClassRef=true;e.replaceWith(i.types.cloneNode(n.thisRef))},MetaProperty(e){const{node:n,scope:s}=e;if(n.meta.name==="new"&&n.property.name==="target"){e.replaceWith(s.buildUndefinedNode())}}});const C={ReferencedIdentifier(e,n){if(e.scope.bindingIdentifierEquals(e.node.name,n.innerBinding)){n.needsClassRef=true;e.node.name=n.thisRef.name}}};function replaceThisContext(e,n,s){var i;const a={thisRef:n,needsClassRef:false,innerBinding:s};if(!e.isMethod()){e.traverse(A,a)}if(s!=null&&(i=a.thisRef)!=null&&i.name&&a.thisRef.name!==s.name){e.traverse(C,a)}return a.needsClassRef}function isNameOrLength({key:e,computed:n}){if(e.type==="Identifier"){return!n&&(e.name==="name"||e.name==="length")}if(e.type==="StringLiteral"){return e.value==="name"||e.value==="length"}return false}function inheritPropComments(e,n){i.types.inheritLeadingComments(e,n.node);i.types.inheritInnerComments(e,n.node);return e}function inheritLoc(e,n){e.start=n.start;e.end=n.end;e.loc=n.loc;return e}function buildFieldsInitNodes(e,n,s,a,l,c,p,d,h,m){let y=0;let g;const A=[];const C=[];let _=false;const k=[];let I=null;const D=i.types.isIdentifier(n)?()=>n:()=>{g!=null?g:g=s[0].scope.generateUidIdentifierBasedOnNode(n);return g};const O=e!=null?e:s[0].scope.generateUidIdentifier((m==null?void 0:m.name)||"Class");e!=null?e:e=i.types.cloneNode(m);for(const n of s){if(n.isClassProperty()){f.assertFieldTransformed(n)}const s=!(i.types.isStaticBlock!=null&&i.types.isStaticBlock(n.node))&&n.node.static;const g=!s;const I=n.isPrivate();const L=!I;const B=n.isProperty();const j=!B;const R=n.isStaticBlock==null?void 0:n.isStaticBlock();if(s)y|=1;if(s||j&&I||R){new o.default({methodPath:n,constantSuper:h,file:l,refToPreserve:m,getSuperRef:D,getObjectRef(){y|=2;if(s||R){return O}else{return i.types.memberExpression(O,i.types.identifier("prototype"))}}}).replace();const e=replaceThisContext(n,O,m);if(e){y|=2}}_=false;switch(true){case R:{const e=n.node.body;if(e.length===1&&i.types.isExpressionStatement(e[0])){A.push(inheritPropComments(e[0],n))}else{A.push(i.types.inheritsComments(i.template.statement.ast`(() => { ${e} })()`,n.node))}break}case s&&I&&B&&p:A.push(buildPrivateFieldInitLoose(i.types.cloneNode(e),n,a));break;case s&&I&&B&&!p:if(!newHelpers(l)){A.push(buildPrivateStaticFieldInitSpecOld(n,a))}else{A.push(buildPrivateStaticFieldInitSpec(n,a,d))}break;case s&&L&&B&&c:if(!isNameOrLength(n.node)){A.push(buildPublicFieldInitLoose(i.types.cloneNode(e),n));break}case s&&L&&B&&!c:A.push(buildPublicFieldInitSpec(i.types.cloneNode(e),n,l));break;case g&&I&&B&&p:C.push(buildPrivateFieldInitLoose(i.types.thisExpression(),n,a));break;case g&&I&&B&&!p:C.push(buildPrivateInstanceFieldInitSpec(i.types.thisExpression(),n,a,l));break;case g&&I&&j&&p:C.unshift(buildPrivateMethodInitLoose(i.types.thisExpression(),n,a));k.push(buildPrivateMethodDeclaration(l,n,a,p));break;case g&&I&&j&&!p:C.unshift(buildPrivateInstanceMethodInitSpec(i.types.thisExpression(),n,a,l));k.push(buildPrivateMethodDeclaration(l,n,a,p));break;case s&&I&&j&&!p:if(!newHelpers(l)){A.unshift(buildPrivateStaticFieldInitSpecOld(n,a))}k.push(buildPrivateMethodDeclaration(l,n,a,p));break;case s&&I&&j&&p:A.unshift(buildPrivateStaticMethodInitLoose(i.types.cloneNode(e),n,l,a));k.push(buildPrivateMethodDeclaration(l,n,a,p));break;case g&&L&&B&&c:C.push(buildPublicFieldInitLoose(i.types.thisExpression(),n));break;case g&&L&&B&&!c:_=true;C.push(buildPublicFieldInitSpec(i.types.thisExpression(),n,l));break;default:throw new Error("Unreachable.")}}if(y&2&&m!=null){I=i.types.expressionStatement(i.types.assignmentExpression("=",i.types.cloneNode(O),i.types.cloneNode(m)))}return{staticNodes:A.filter(Boolean),instanceNodes:C.filter(Boolean),lastInstanceNodeReturnsThis:_,pureStaticNodes:k.filter(Boolean),classBindingNode:I,wrapClass(n){for(const e of s){e.node.leadingComments=null;e.remove()}if(g){n.scope.push({id:i.types.cloneNode(g)});n.set("superClass",i.types.assignmentExpression("=",g,n.node.superClass))}if(y!==0){if(n.isClassExpression()){n.scope.push({id:e});n.replaceWith(i.types.assignmentExpression("=",i.types.cloneNode(e),n.node))}else{if(m==null){n.node.id=e}if(I!=null){n.scope.push({id:O})}}}return n}}}},82061:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});Object.defineProperty(n,"FEATURES",{enumerable:true,get:function(){return d.FEATURES}});Object.defineProperty(n,"buildCheckInRHS",{enumerable:true,get:function(){return o.buildCheckInRHS}});n.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(n,"enableFeature",{enumerable:true,get:function(){return d.enableFeature}});Object.defineProperty(n,"injectInitialization",{enumerable:true,get:function(){return p.injectInitialization}});var i=s(91485);var a=s(88804);var o=s(55896);var l=s(64063);var c=s(60551);var p=s(97929);var d=s(60818);var f=s(26878);const h="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:n,loose:m,manipulateOptions:y,api:g,inherits:A,decoratorVersion:C}){var _;if(n&d.FEATURES.decorators){{if(C==="2023-11"||C==="2023-05"||C==="2023-01"||C==="2022-03"||C==="2021-12"){return(0,l.default)(g,{loose:m},C,A)}}}{g!=null?g:g={assumption:()=>void 0}}const k=g.assumption("setPublicClassFields");const I=g.assumption("privateFieldsAsSymbols");const D=g.assumption("privateFieldsAsProperties");const O=(_=g.assumption("noUninitializedPrivateFieldAccess"))!=null?_:false;const L=g.assumption("constantSuper");const B=g.assumption("noDocumentAll");if(D&&I){throw new Error(`Cannot enable both the "privateFieldsAsProperties" and `+`"privateFieldsAsSymbols" assumptions as the same time.`)}const j=D||I;if(m===true){const n=[];if(k!==undefined){n.push(`"setPublicClassFields"`)}if(D!==undefined){n.push(`"privateFieldsAsProperties"`)}if(I!==undefined){n.push(`"privateFieldsAsSymbols"`)}if(n.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${n.join(" and ")}`+` assumption${n.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsSymbols": true\n`+`\t}`)}}return{name:e,manipulateOptions:y,inherits:A,pre(e){(0,d.enableFeature)(e,n,m);{if(typeof e.get(h)==="number"){e.set(h,"7.27.1");return}}if(!e.get(h)||a.lt(e.get(h),"7.27.1")){e.set(h,"7.27.1")}},visitor:{Class(e,{file:a}){if(a.get(h)!=="7.27.1")return;if(!(0,d.shouldTransform)(e,a))return;const m=e.isClassDeclaration();if(m)(0,f.assertFieldTransformed)(e);const y=(0,d.isLoose)(a,n);let g;const A=(0,l.hasDecorators)(e.node);const C=[];const _=[];const R=[];const $=new Set;const H=e.get("body");for(const e of H.get("body")){if((e.isClassProperty()||e.isClassMethod())&&e.node.computed){R.push(e)}if(e.isPrivate()){const{name:n}=e.node.key.id;const s=`get ${n}`;const i=`set ${n}`;if(e.isClassPrivateMethod()){if(e.node.kind==="get"){if($.has(s)||$.has(n)&&!$.has(i)){throw e.buildCodeFrameError("Duplicate private field")}$.add(s).add(n)}else if(e.node.kind==="set"){if($.has(i)||$.has(n)&&!$.has(s)){throw e.buildCodeFrameError("Duplicate private field")}$.add(i).add(n)}}else{if($.has(n)&&!$.has(s)&&!$.has(i)||$.has(n)&&($.has(s)||$.has(i))){throw e.buildCodeFrameError("Duplicate private field")}$.add(n)}}if(e.isClassMethod({kind:"constructor"})){g=e}else{_.push(e);if(e.isProperty()||e.isPrivate()||e.isStaticBlock!=null&&e.isStaticBlock()){C.push(e)}}}{if(!C.length&&!A)return}const J=e.node.id;let ee;if(!J||!m){{var te;(te=e.ensureFunctionName)!=null?te:e.ensureFunctionName=s(8384).NodePath.prototype.ensureFunctionName}e.ensureFunctionName(false);ee=e.scope.generateUidIdentifier((J==null?void 0:J.name)||"Class")}const re=ee!=null?ee:i.types.cloneNode(J);const ne=(0,o.buildPrivateNamesMap)(re.name,j!=null?j:y,C,a);const se=(0,o.buildPrivateNamesNodes)(ne,D!=null?D:y,I!=null?I:false,a);(0,o.transformPrivateNamesUsage)(re,e,ne,{privateFieldsAsProperties:j!=null?j:y,noUninitializedPrivateFieldAccess:O,noDocumentAll:B,innerBinding:J},a);let ie,ae,oe,le,ce,ue,pe;{if(A){ae=ce=ie=[];({instanceNodes:oe,wrapClass:pe}=(0,c.buildDecoratedClass)(re,e,_,a))}else{ie=(0,p.extractComputedKeys)(e,R,a);({staticNodes:ae,pureStaticNodes:ce,instanceNodes:oe,lastInstanceNodeReturnsThis:le,classBindingNode:ue,wrapClass:pe}=(0,o.buildFieldsInitNodes)(ee,e.node.superClass,C,ne,a,k!=null?k:y,j!=null?j:y,O,L!=null?L:y,J))}}if(oe.length>0){(0,p.injectInitialization)(e,g,oe,((e,n)=>{{if(A)return}for(const s of C){if(i.types.isStaticBlock!=null&&i.types.isStaticBlock(s.node)||s.node.static)continue;s.traverse(e,n)}}),le)}const de=pe(e);de.insertBefore([...se,...ie]);if(ae.length>0){de.insertAfter(ae)}if(ce.length>0){de.find((e=>e.isStatement()||e.isDeclaration())).insertAfter(ce)}if(ue!=null&&m){de.insertAfter(ue)}},ExportDefaultDeclaration(e,{file:n}){{if(n.get(h)!=="7.27.1")return;const a=e.get("declaration");if(a.isClassDeclaration()&&(0,l.hasDecorators)(a.node)){if(a.node.id){{var i;(i=e.splitExportDeclaration)!=null?i:e.splitExportDeclaration=s(8384).NodePath.prototype.splitExportDeclaration}e.splitExportDeclaration()}else{a.node.type="ClassExpression"}}}}}}}},97929:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n.extractComputedKeys=extractComputedKeys;n.injectInitialization=injectInitialization;n.memoiseComputedKey=memoiseComputedKey;var i=s(91485);var a=s(8384);const o=a.visitors.environmentVisitor({Super(e){const{node:n,parentPath:s}=e;if(s.isCallExpression({callee:n})){this.push(s)}}});const l={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:n}){if(n.hasOwnBinding(e.node.name)){n.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,n){if(n.classBinding&&n.classBinding===e.scope.getBinding(e.node.name)){const s=n.file.addHelper("classNameTDZError");const a=i.types.callExpression(s,[i.types.stringLiteral(e.node.name)]);e.replaceWith(i.types.sequenceExpression([a,e.node]));e.skip()}}const c={ReferencedIdentifier:handleClassTDZ,"TSTypeAnnotation|TypeAnnotation"(e){e.skip()}};function injectInitialization(e,n,s,a,c){if(!s.length)return;const p=!!e.node.superClass;if(!n){const s=i.types.classMethod("constructor",i.types.identifier("constructor"),[],i.types.blockStatement([]));if(p){s.params=[i.types.restElement(i.types.identifier("args"))];s.body.body.push(i.template.statement.ast`super(...args)`)}[n]=e.get("body").unshiftContainer("body",s)}if(a){a(l,{scope:n.scope})}if(p){const e=[];n.traverse(o,e);let a=true;for(const n of e){if(a){a=false}else{s=s.map((e=>i.types.cloneNode(e)))}if(!n.parentPath.isExpressionStatement()){const e=[n.node,...s.map((e=>i.types.toExpression(e)))];if(!c)e.push(i.types.thisExpression());n.replaceWith(i.types.sequenceExpression(e))}else{n.insertAfter(s)}}}else{n.get("body").unshiftContainer("body",s)}}function memoiseComputedKey(e,n,s){const a=i.types.isIdentifier(e)&&n.hasUid(e.name);if(a){return}const o=i.types.isAssignmentExpression(e,{operator:"="})&&i.types.isIdentifier(e.left)&&n.hasUid(e.left.name);if(o){return i.types.cloneNode(e)}else{const a=i.types.identifier(s);n.push({id:a,kind:"let"});return i.types.assignmentExpression("=",i.types.cloneNode(a),e)}}function extractComputedKeys(e,n,s){const{scope:a}=e;const o=[];const l={classBinding:e.node.id&&a.getBinding(e.node.id.name),file:s};for(const e of n){const n=e.get("key");if(n.isReferencedIdentifier()){handleClassTDZ(n,l)}else{n.traverse(c,l)}const s=e.node;if(!n.isConstantExpression()){const e=memoiseComputedKey(n.node,a,a.generateUidBasedOnNode(n.node));if(e){o.push(i.types.expressionStatement(e));s.key=i.types.cloneNode(e.left)}}}return o}},26878:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:true});n.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare||false){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-transform-class-properties\n`+` - @babel/plugin-transform-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},71072:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});var i=s(79551);function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach((function(s){if(s!=="default"){var i=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,i.get?i:{enumerable:true,get:function(){return e[s]}})}}))}n.default=e;return Object.freeze(n)}var a=_interopNamespace(i);function willPathCastToBoolean(e){const n=e;const{node:s,parentPath:i}=n;if(i.isLogicalExpression()){const{operator:e,right:n}=i.node;if(e==="&&"||e==="||"||e==="??"&&s===n){return willPathCastToBoolean(i)}}if(i.isSequenceExpression()){const{expressions:e}=i.node;if(e[e.length-1]===s){return willPathCastToBoolean(i)}else{return true}}return i.isConditional({test:s})||i.isUnaryExpression({operator:"!"})||i.isLoop({test:s})}const{LOGICAL_OPERATORS:o,arrowFunctionExpression:l,assignmentExpression:c,binaryExpression:p,booleanLiteral:d,callExpression:f,cloneNode:h,conditionalExpression:m,identifier:y,isMemberExpression:g,isOptionalCallExpression:A,isOptionalMemberExpression:C,isUpdateExpression:_,logicalExpression:k,memberExpression:I,nullLiteral:D,optionalCallExpression:O,optionalMemberExpression:L,sequenceExpression:B,updateExpression:j}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const n=this._map.get(e);const{value:s}=n;n.count--;if(n.count===0){return c("=",s,e)}return s}set(e,n,s){return this._map.set(e,{count:s,value:n})}}function toNonOptional(e,n){const{node:s}=e;if(C(s)){return I(n,s.property,s.computed)}if(e.isOptionalCallExpression()){const s=e.get("callee");if(e.node.optional&&s.isOptionalMemberExpression()){const i=s.node.object;const a=e.scope.maybeGenerateMemoised(i);s.get("object").replaceWith(c("=",a,i));return f(I(n,y("call")),[a,...e.node.arguments])}return f(n,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:n,container:s,listKey:i}=e;const a=n.node;if(i){if(s!==a[i]){return true}}else{if(s!==a)return true}e=n}return false}const R={memoise(){},handle(e,n){const{node:s,parent:i,parentPath:a,scope:o}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const _=e.find((({node:n,parent:s})=>{if(C(s)){return s.optional||s.object!==n}if(A(s)){return n!==e.node&&s.optional||s.callee!==n}return true}));if(o.path.isPattern()){_.replaceWith(f(l([],_.node),[]));return}const I=willPathCastToBoolean(_);const B=_.parentPath;if(B.isUpdateExpression({argument:s})){throw e.buildCodeFrameError(`can't handle update expression`)}const j=B.isAssignmentExpression({left:_.node});const R=B.isUnaryExpression({operator:"delete"});if(R&&_.isOptionalMemberExpression()&&_.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let $=e;for(;;){if($.isOptionalMemberExpression()){if($.node.optional)break;$=$.get("object");continue}else if($.isOptionalCallExpression()){if($.node.optional)break;$=$.get("callee");continue}throw new Error(`Internal error: unexpected ${$.node.type}`)}const H=$.isOptionalMemberExpression()?$.node.object:$.node.callee;const J=o.maybeGenerateMemoised(H);const ee=J!=null?J:H;const te=a.isOptionalCallExpression({callee:s});const isOptionalCall=e=>te;const re=a.isCallExpression({callee:s});$.replaceWith(toNonOptional($,ee));if(isOptionalCall()){if(i.optional){a.replaceWith(this.optionalCall(e,i.arguments))}else{a.replaceWith(this.call(e,i.arguments))}}else if(re){e.replaceWith(this.boundGet(e))}else if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e))}else if(a.isAssignmentExpression()){handleAssignment(this,e,a)}else{e.replaceWith(this.get(e))}let ne=e.node;for(let n=e;n!==_;){const e=n.parentPath;if(e===_&&isOptionalCall()&&i.optional){ne=e.node;break}ne=toNonOptional(e,ne);n=e}let se;const ie=_.parentPath;if(g(ne)&&ie.isOptionalCallExpression({callee:_.node,optional:true})){const{object:n}=ne;se=e.scope.maybeGenerateMemoised(n);if(se){ne.object=c("=",se,n)}}let ae=_;if(R||j){ae=ie;ne=ie.node}const oe=J?c("=",h(ee),h(H)):h(ee);if(I){let e;if(n){e=p("!=",oe,D())}else{e=k("&&",p("!==",oe,D()),p("!==",h(ee),o.buildUndefinedNode()))}ae.replaceWith(k("&&",e,ne))}else{let e;if(n){e=p("==",oe,D())}else{e=k("||",p("===",oe,D()),p("===",h(ee),o.buildUndefinedNode()))}ae.replaceWith(m(e,R?d(true):o.buildUndefinedNode(),ne))}if(se){const e=ie.node;ie.replaceWith(O(L(e.callee,y("call"),false,true),[h(se),...e.arguments],false))}return}if(_(i,{argument:s})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:n,prefix:l}=i;this.memoise(e,2);const p=o.generateUidIdentifierBasedOnNode(s);o.push({id:p});const d=[c("=",h(p),this.get(e))];if(l){d.push(j(n,h(p),l));const s=B(d);a.replaceWith(this.set(e,s));return}else{const i=o.generateUidIdentifierBasedOnNode(s);o.push({id:i});d.push(c("=",h(i),j(n,h(p),l)),h(p));const f=B(d);a.replaceWith(B([this.set(e,f),h(i)]));return}}if(a.isAssignmentExpression({left:s})){handleAssignment(this,e,a);return}if(a.isCallExpression({callee:s})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:s})){if(o.path.isPattern()){a.replaceWith(f(l([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e));return}if(a.isForXStatement({left:s})||a.isObjectProperty({value:s})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:s})&&a.parentPath.isObjectProperty({value:i})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:s})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function handleAssignment(e,n,s){if(e.simpleSet){n.replaceWith(e.simpleSet(n));return}const{operator:i,right:a}=s.node;if(i==="="){s.replaceWith(e.set(n,a))}else{const l=i.slice(0,-1);if(o.includes(l)){e.memoise(n,1);s.replaceWith(k(l,e.get(n),e.set(n,a)))}else{e.memoise(n,2);s.replaceWith(e.set(n,p(l,e.get(n),a)))}}}function memberExpressionToFunctions(e,n,s){e.traverse(n,Object.assign({},R,s,{memoiser:new AssignmentMemoiser}))}n["default"]=memberExpressionToFunctions},42466:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n["default"]=void 0;var i=s(42613);var a=s(79551);const{callExpression:o,cloneNode:l,expressionStatement:c,identifier:p,importDeclaration:d,importDefaultSpecifier:f,importNamespaceSpecifier:h,importSpecifier:m,memberExpression:y,stringLiteral:g,variableDeclaration:A,variableDeclarator:C}=a;class ImportBuilder{constructor(e,n,s){this._statements=[];this._resultName=null;this._importedSource=void 0;this._scope=n;this._hub=s;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(d([],g(this._importedSource)));return this}require(){this._statements.push(c(o(p("require"),[g(this._importedSource)])));return this}namespace(e="namespace"){const n=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];i(s.type==="ImportDeclaration");i(s.specifiers.length===0);s.specifiers=[h(n)];this._resultName=l(n);return this}default(e){const n=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];i(s.type==="ImportDeclaration");i(s.specifiers.length===0);s.specifiers=[f(n)];this._resultName=l(n);return this}named(e,n){if(n==="default")return this.default(e);const s=this._scope.generateUidIdentifier(e);const a=this._statements[this._statements.length-1];i(a.type==="ImportDeclaration");i(a.specifiers.length===0);a.specifiers=[m(s,p(n))];this._resultName=l(s);return this}var(e){const n=this._scope.generateUidIdentifier(e);let s=this._statements[this._statements.length-1];if(s.type!=="ExpressionStatement"){i(this._resultName);s=c(this._resultName);this._statements.push(s)}this._statements[this._statements.length-1]=A("var",[C(n,s.expression)]);this._resultName=l(n);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const n=this._statements[this._statements.length-1];if(n.type==="ExpressionStatement"){n.expression=o(e,[n.expression])}else if(n.type==="VariableDeclaration"){i(n.declarations.length===1);n.declarations[0].init=o(e,[n.declarations[0].init])}else{i.fail("Unexpected type.")}return this}prop(e){const n=this._statements[this._statements.length-1];if(n.type==="ExpressionStatement"){n.expression=y(n.expression,p(e))}else if(n.type==="VariableDeclaration"){i(n.declarations.length===1);n.declarations[0].init=y(n.declarations[0].init,p(e))}else{i.fail("Unexpected type:"+n.type)}return this}read(e){this._resultName=y(this._resultName,p(e))}}n["default"]=ImportBuilder},98781:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n["default"]=void 0;var i=s(42613);var a=s(79551);var o=s(42466);var l=s(17986);const{identifier:c,importSpecifier:p,numericLiteral:d,sequenceExpression:f,isImportDeclaration:h}=a;class ImportInjector{constructor(e,n,s){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const i=e.find((e=>e.isProgram()));this._programPath=i;this._programScope=i.scope;this._hub=i.hub;this._defaultOpts=this._applyDefaults(n,s,true)}addDefault(e,n){return this.addNamed("default",e,n)}addNamed(e,n,s){i(typeof e==="string");return this._generateImport(this._applyDefaults(n,s),e)}addNamespace(e,n){return this._generateImport(this._applyDefaults(e,n),null)}addSideEffect(e,n){return this._generateImport(this._applyDefaults(e,n),void 0)}_applyDefaults(e,n,s=false){let a;if(typeof e==="string"){a=Object.assign({},this._defaultOpts,{importedSource:e},n)}else{i(!n,"Unexpected secondary arguments.");a=Object.assign({},this._defaultOpts,e)}if(!s&&n){if(n.nameHint!==undefined)a.nameHint=n.nameHint;if(n.blockHoist!==undefined)a.blockHoist=n.blockHoist}return a}_generateImport(e,n){const s=n==="default";const i=!!n&&!s;const a=n===null;const{importedSource:c,importedType:p,importedInterop:h,importingInterop:m,ensureLiveReference:y,ensureNoContext:g,nameHint:A,importPosition:C,blockHoist:_}=e;let k=A||n;const I=(0,l.default)(this._programPath);const D=I&&m==="node";const O=I&&m==="babel";if(C==="after"&&!I){throw new Error(`"importPosition": "after" is only supported in modules`)}const L=new o.default(c,this._programScope,this._hub);if(p==="es6"){if(!D&&!O){throw new Error("Cannot import an ES6 module from CommonJS")}L.import();if(a){L.namespace(A||c)}else if(s||i){L.named(k,n)}}else if(p!=="commonjs"){throw new Error(`Unexpected interopType "${p}"`)}else if(h==="babel"){if(D){k=k!=="default"?k:c;const e=`${c}$es6Default`;L.import();if(a){L.default(e).var(k||c).wildcardInterop()}else if(s){if(y){L.default(e).var(k||c).defaultInterop().read("default")}else{L.default(e).var(k).defaultInterop().prop(n)}}else if(i){L.default(e).read(n)}}else if(O){L.import();if(a){L.namespace(k||c)}else if(s||i){L.named(k,n)}}else{L.require();if(a){L.var(k||c).wildcardInterop()}else if((s||i)&&y){if(s){k=k!=="default"?k:c;L.var(k).read(n);L.defaultInterop()}else{L.var(c).read(n)}}else if(s){L.var(k).defaultInterop().prop(n)}else if(i){L.var(k).prop(n)}}}else if(h==="compiled"){if(D){L.import();if(a){L.default(k||c)}else if(s||i){L.default(c).read(k)}}else if(O){L.import();if(a){L.namespace(k||c)}else if(s||i){L.named(k,n)}}else{L.require();if(a){L.var(k||c)}else if(s||i){if(y){L.var(c).read(k)}else{L.prop(n).var(k)}}}}else if(h==="uncompiled"){if(s&&y){throw new Error("No live reference for commonjs default")}if(D){L.import();if(a){L.default(k||c)}else if(s){L.default(k)}else if(i){L.default(c).read(k)}}else if(O){L.import();if(a){L.default(k||c)}else if(s){L.default(k)}else if(i){L.named(k,n)}}else{L.require();if(a){L.var(k||c)}else if(s){L.var(k)}else if(i){if(y){L.var(c).read(k)}else{L.var(k).prop(n)}}}}else{throw new Error(`Unknown importedInterop "${h}".`)}const{statements:B,resultName:j}=L.done();this._insertStatements(B,C,_);if((s||i)&&g&&j.type!=="Identifier"){return f([d(0),j])}return j}_insertStatements(e,n="before",s=3){if(n==="after"){if(this._insertStatementsAfter(e))return}else{if(this._insertStatementsBefore(e,s))return}this._programPath.unshiftContainer("body",e)}_insertStatementsBefore(e,n){if(e.length===1&&h(e[0])&&isValueImport(e[0])){const n=this._programPath.get("body").find((e=>e.isImportDeclaration()&&isValueImport(e.node)));if((n==null?void 0:n.node.source.value)===e[0].source.value&&maybeAppendImportSpecifiers(n.node,e[0])){return true}}e.forEach((e=>{e._blockHoist=n}));const s=this._programPath.get("body").find((e=>{const n=e.node._blockHoist;return Number.isFinite(n)&&n<4}));if(s){s.insertBefore(e);return true}return false}_insertStatementsAfter(e){const n=new Set(e);const s=new Map;for(const n of e){if(h(n)&&isValueImport(n)){const e=n.source.value;if(!s.has(e))s.set(e,[]);s.get(e).push(n)}}let i=null;for(const e of this._programPath.get("body")){if(e.isImportDeclaration()&&isValueImport(e.node)){i=e;const a=e.node.source.value;const o=s.get(a);if(!o)continue;for(const s of o){if(!n.has(s))continue;if(maybeAppendImportSpecifiers(e.node,s)){n.delete(s)}}}}if(n.size===0)return true;if(i)i.insertAfter(Array.from(n));return!!i}}n["default"]=ImportInjector;function isValueImport(e){return e.importKind!=="type"&&e.importKind!=="typeof"}function hasNamespaceImport(e){return e.specifiers.length===1&&e.specifiers[0].type==="ImportNamespaceSpecifier"||e.specifiers.length===2&&e.specifiers[1].type==="ImportNamespaceSpecifier"}function hasDefaultImport(e){return e.specifiers.length>0&&e.specifiers[0].type==="ImportDefaultSpecifier"}function maybeAppendImportSpecifiers(e,n){if(!e.specifiers.length){e.specifiers=n.specifiers;return true}if(!n.specifiers.length)return true;if(hasNamespaceImport(e)||hasNamespaceImport(n))return false;if(hasDefaultImport(n)){if(hasDefaultImport(e)){n.specifiers[0]=p(n.specifiers[0].local,c("default"))}else{e.specifiers.unshift(n.specifiers.shift())}}e.specifiers.push(...n.specifiers);return true}},93521:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});Object.defineProperty(n,"ImportInjector",{enumerable:true,get:function(){return i.default}});n.addDefault=addDefault;n.addNamed=addNamed;n.addNamespace=addNamespace;n.addSideEffect=addSideEffect;Object.defineProperty(n,"isModule",{enumerable:true,get:function(){return a.default}});var i=s(98781);var a=s(17986);function addDefault(e,n,s){return new i.default(e).addDefault(n,s)}function addNamed(e,n,s,a){return new i.default(e).addNamed(n,s,a)}function addNamespace(e,n,s){return new i.default(e).addNamespace(n,s)}function addSideEffect(e,n,s){return new i.default(e).addSideEffect(n,s)}},17986:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:true});n["default"]=isModule;function isModule(e){return e.node.sourceType==="module"}},57766:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n.buildDynamicImport=buildDynamicImport;var i=s(91485);{n.getDynamicImportSource=function getDynamicImportSource(e){const[n]=e.arguments;return i.types.isStringLiteral(n)||i.types.isTemplateLiteral(n)?n:i.template.expression.ast`\`\${${n}}\``}}function buildDynamicImport(e,n,s,a){const o=i.types.isCallExpression(e)?e.arguments[0]:e.source;if(i.types.isStringLiteral(o)||i.types.isTemplateLiteral(o)&&o.quasis.length===0){if(n){return i.template.expression.ast`
314
+ `,n)}function buildPrivateMethodDeclaration(e,n,s,a=false){const o=s.get(n.node.key.id.name);const{id:l,methodId:c,getId:p,setId:d,getterDeclared:f,setterDeclared:h,static:m}=o;const{params:y,body:g,generator:C,async:_}=n.node;const k=p&&y.length===0;const I=d&&y.length>0;if(k&&f||I&&h){s.set(n.node.key.id.name,Object.assign({},o,{initAdded:true}));return null}if(newHelpers(e)&&(k||I)&&!a){const e=n.get("body").scope;const s=e.generateUidIdentifier("this");const a={thisRef:s,argumentsPath:[]};n.traverse(A,a);if(a.argumentsPath.length){const n=e.generateUidIdentifier("arguments");e.push({id:n,init:i.template.expression.ast`[].slice.call(arguments, 1)`});for(const e of a.argumentsPath){e.replaceWith(i.types.cloneNode(n))}}y.unshift(i.types.cloneNode(s))}let D=c;if(k){s.set(n.node.key.id.name,Object.assign({},o,{getterDeclared:true,initAdded:true}));D=p}else if(I){s.set(n.node.key.id.name,Object.assign({},o,{setterDeclared:true,initAdded:true}));D=d}else if(m&&!a){D=l}return inheritPropComments(i.types.functionDeclaration(i.types.cloneNode(D),y,g,C,_),n)}const A=a.visitors.environmentVisitor({Identifier(e,n){if(n.argumentsPath&&e.node.name==="arguments"){n.argumentsPath.push(e)}},UnaryExpression(e){const{node:n}=e;if(n.operator==="delete"){const s=(0,d.skipTransparentExprWrapperNodes)(n.argument);if(i.types.isThisExpression(s)){e.replaceWith(i.types.booleanLiteral(true))}}},ThisExpression(e,n){n.needsClassRef=true;e.replaceWith(i.types.cloneNode(n.thisRef))},MetaProperty(e){const{node:n,scope:s}=e;if(n.meta.name==="new"&&n.property.name==="target"){e.replaceWith(s.buildUndefinedNode())}}});const C={ReferencedIdentifier(e,n){if(e.scope.bindingIdentifierEquals(e.node.name,n.innerBinding)){n.needsClassRef=true;e.node.name=n.thisRef.name}}};function replaceThisContext(e,n,s){var i;const a={thisRef:n,needsClassRef:false,innerBinding:s};if(!e.isMethod()){e.traverse(A,a)}if(s!=null&&(i=a.thisRef)!=null&&i.name&&a.thisRef.name!==s.name){e.traverse(C,a)}return a.needsClassRef}function isNameOrLength({key:e,computed:n}){if(e.type==="Identifier"){return!n&&(e.name==="name"||e.name==="length")}if(e.type==="StringLiteral"){return e.value==="name"||e.value==="length"}return false}function inheritPropComments(e,n){i.types.inheritLeadingComments(e,n.node);i.types.inheritInnerComments(e,n.node);return e}function inheritLoc(e,n){e.start=n.start;e.end=n.end;e.loc=n.loc;return e}function buildFieldsInitNodes(e,n,s,a,l,c,p,d,h,m){let y=0;let g;const A=[];const C=[];let _=false;const k=[];let I=null;const D=i.types.isIdentifier(n)?()=>n:()=>{g!=null?g:g=s[0].scope.generateUidIdentifierBasedOnNode(n);return g};const O=e!=null?e:s[0].scope.generateUidIdentifier((m==null?void 0:m.name)||"Class");e!=null?e:e=i.types.cloneNode(m);for(const n of s){if(n.isClassProperty()){f.assertFieldTransformed(n)}const s=!(i.types.isStaticBlock!=null&&i.types.isStaticBlock(n.node))&&n.node.static;const g=!s;const I=n.isPrivate();const L=!I;const B=n.isProperty();const j=!B;const R=n.isStaticBlock==null?void 0:n.isStaticBlock();if(s)y|=1;if(s||j&&I||R){new o.default({methodPath:n,constantSuper:h,file:l,refToPreserve:m,getSuperRef:D,getObjectRef(){y|=2;if(s||R){return O}else{return i.types.memberExpression(O,i.types.identifier("prototype"))}}}).replace();const e=replaceThisContext(n,O,m);if(e){y|=2}}_=false;switch(true){case R:{const e=n.node.body;if(e.length===1&&i.types.isExpressionStatement(e[0])){A.push(inheritPropComments(e[0],n))}else{A.push(i.types.inheritsComments(i.template.statement.ast`(() => { ${e} })()`,n.node))}break}case s&&I&&B&&p:A.push(buildPrivateFieldInitLoose(i.types.cloneNode(e),n,a));break;case s&&I&&B&&!p:if(!newHelpers(l)){A.push(buildPrivateStaticFieldInitSpecOld(n,a))}else{A.push(buildPrivateStaticFieldInitSpec(n,a,d))}break;case s&&L&&B&&c:if(!isNameOrLength(n.node)){A.push(buildPublicFieldInitLoose(i.types.cloneNode(e),n));break}case s&&L&&B&&!c:A.push(buildPublicFieldInitSpec(i.types.cloneNode(e),n,l));break;case g&&I&&B&&p:C.push(buildPrivateFieldInitLoose(i.types.thisExpression(),n,a));break;case g&&I&&B&&!p:C.push(buildPrivateInstanceFieldInitSpec(i.types.thisExpression(),n,a,l));break;case g&&I&&j&&p:C.unshift(buildPrivateMethodInitLoose(i.types.thisExpression(),n,a));k.push(buildPrivateMethodDeclaration(l,n,a,p));break;case g&&I&&j&&!p:C.unshift(buildPrivateInstanceMethodInitSpec(i.types.thisExpression(),n,a,l));k.push(buildPrivateMethodDeclaration(l,n,a,p));break;case s&&I&&j&&!p:if(!newHelpers(l)){A.unshift(buildPrivateStaticFieldInitSpecOld(n,a))}k.push(buildPrivateMethodDeclaration(l,n,a,p));break;case s&&I&&j&&p:A.unshift(buildPrivateStaticMethodInitLoose(i.types.cloneNode(e),n,l,a));k.push(buildPrivateMethodDeclaration(l,n,a,p));break;case g&&L&&B&&c:C.push(buildPublicFieldInitLoose(i.types.thisExpression(),n));break;case g&&L&&B&&!c:_=true;C.push(buildPublicFieldInitSpec(i.types.thisExpression(),n,l));break;default:throw new Error("Unreachable.")}}if(y&2&&m!=null){I=i.types.expressionStatement(i.types.assignmentExpression("=",i.types.cloneNode(O),i.types.cloneNode(m)))}return{staticNodes:A.filter(Boolean),instanceNodes:C.filter(Boolean),lastInstanceNodeReturnsThis:_,pureStaticNodes:k.filter(Boolean),classBindingNode:I,wrapClass(n){for(const e of s){e.node.leadingComments=null;e.remove()}if(g){n.scope.push({id:i.types.cloneNode(g)});n.set("superClass",i.types.assignmentExpression("=",g,n.node.superClass))}if(y!==0){if(n.isClassExpression()){n.scope.push({id:e});n.replaceWith(i.types.assignmentExpression("=",i.types.cloneNode(e),n.node))}else{if(m==null){n.node.id=e}if(I!=null){n.scope.push({id:O})}}}return n}}}},82061:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});Object.defineProperty(n,"FEATURES",{enumerable:true,get:function(){return d.FEATURES}});Object.defineProperty(n,"buildCheckInRHS",{enumerable:true,get:function(){return o.buildCheckInRHS}});n.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(n,"enableFeature",{enumerable:true,get:function(){return d.enableFeature}});Object.defineProperty(n,"injectInitialization",{enumerable:true,get:function(){return p.injectInitialization}});var i=s(91485);var a=s(88804);var o=s(55896);var l=s(64063);var c=s(60551);var p=s(97929);var d=s(60818);var f=s(26878);const h="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:n,loose:m,manipulateOptions:y,api:g,inherits:A,decoratorVersion:C}){var _;if(n&d.FEATURES.decorators){{if(C==="2023-11"||C==="2023-05"||C==="2023-01"||C==="2022-03"||C==="2021-12"){return(0,l.default)(g,{loose:m},C,A)}}}{g!=null?g:g={assumption:()=>void 0}}const k=g.assumption("setPublicClassFields");const I=g.assumption("privateFieldsAsSymbols");const D=g.assumption("privateFieldsAsProperties");const O=(_=g.assumption("noUninitializedPrivateFieldAccess"))!=null?_:false;const L=g.assumption("constantSuper");const B=g.assumption("noDocumentAll");if(D&&I){throw new Error(`Cannot enable both the "privateFieldsAsProperties" and `+`"privateFieldsAsSymbols" assumptions as the same time.`)}const j=D||I;if(m===true){const n=[];if(k!==undefined){n.push(`"setPublicClassFields"`)}if(D!==undefined){n.push(`"privateFieldsAsProperties"`)}if(I!==undefined){n.push(`"privateFieldsAsSymbols"`)}if(n.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${n.join(" and ")}`+` assumption${n.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsSymbols": true\n`+`\t}`)}}return{name:e,manipulateOptions:y,inherits:A,pre(e){(0,d.enableFeature)(e,n,m);{if(typeof e.get(h)==="number"){e.set(h,"7.27.1");return}}if(!e.get(h)||a.lt(e.get(h),"7.27.1")){e.set(h,"7.27.1")}},visitor:{Class(e,{file:a}){if(a.get(h)!=="7.27.1")return;if(!(0,d.shouldTransform)(e,a))return;const m=e.isClassDeclaration();if(m)(0,f.assertFieldTransformed)(e);const y=(0,d.isLoose)(a,n);let g;const A=(0,l.hasDecorators)(e.node);const C=[];const _=[];const R=[];const $=new Set;const H=e.get("body");for(const e of H.get("body")){if((e.isClassProperty()||e.isClassMethod())&&e.node.computed){R.push(e)}if(e.isPrivate()){const{name:n}=e.node.key.id;const s=`get ${n}`;const i=`set ${n}`;if(e.isClassPrivateMethod()){if(e.node.kind==="get"){if($.has(s)||$.has(n)&&!$.has(i)){throw e.buildCodeFrameError("Duplicate private field")}$.add(s).add(n)}else if(e.node.kind==="set"){if($.has(i)||$.has(n)&&!$.has(s)){throw e.buildCodeFrameError("Duplicate private field")}$.add(i).add(n)}}else{if($.has(n)&&!$.has(s)&&!$.has(i)||$.has(n)&&($.has(s)||$.has(i))){throw e.buildCodeFrameError("Duplicate private field")}$.add(n)}}if(e.isClassMethod({kind:"constructor"})){g=e}else{_.push(e);if(e.isProperty()||e.isPrivate()||e.isStaticBlock!=null&&e.isStaticBlock()){C.push(e)}}}{if(!C.length&&!A)return}const J=e.node.id;let ee;if(!J||!m){{var te;(te=e.ensureFunctionName)!=null?te:e.ensureFunctionName=s(8384).NodePath.prototype.ensureFunctionName}e.ensureFunctionName(false);ee=e.scope.generateUidIdentifier((J==null?void 0:J.name)||"Class")}const re=ee!=null?ee:i.types.cloneNode(J);const ne=(0,o.buildPrivateNamesMap)(re.name,j!=null?j:y,C,a);const se=(0,o.buildPrivateNamesNodes)(ne,D!=null?D:y,I!=null?I:false,a);(0,o.transformPrivateNamesUsage)(re,e,ne,{privateFieldsAsProperties:j!=null?j:y,noUninitializedPrivateFieldAccess:O,noDocumentAll:B,innerBinding:J},a);let ie,ae,oe,le,ce,ue,pe;{if(A){ae=ce=ie=[];({instanceNodes:oe,wrapClass:pe}=(0,c.buildDecoratedClass)(re,e,_,a))}else{ie=(0,p.extractComputedKeys)(e,R,a);({staticNodes:ae,pureStaticNodes:ce,instanceNodes:oe,lastInstanceNodeReturnsThis:le,classBindingNode:ue,wrapClass:pe}=(0,o.buildFieldsInitNodes)(ee,e.node.superClass,C,ne,a,k!=null?k:y,j!=null?j:y,O,L!=null?L:y,J))}}if(oe.length>0){(0,p.injectInitialization)(e,g,oe,((e,n)=>{{if(A)return}for(const s of C){if(i.types.isStaticBlock!=null&&i.types.isStaticBlock(s.node)||s.node.static)continue;s.traverse(e,n)}}),le)}const de=pe(e);de.insertBefore([...se,...ie]);if(ae.length>0){de.insertAfter(ae)}if(ce.length>0){de.find((e=>e.isStatement()||e.isDeclaration())).insertAfter(ce)}if(ue!=null&&m){de.insertAfter(ue)}},ExportDefaultDeclaration(e,{file:n}){{if(n.get(h)!=="7.27.1")return;const a=e.get("declaration");if(a.isClassDeclaration()&&(0,l.hasDecorators)(a.node)){if(a.node.id){{var i;(i=e.splitExportDeclaration)!=null?i:e.splitExportDeclaration=s(8384).NodePath.prototype.splitExportDeclaration}e.splitExportDeclaration()}else{a.node.type="ClassExpression"}}}}}}}},97929:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n.extractComputedKeys=extractComputedKeys;n.injectInitialization=injectInitialization;n.memoiseComputedKey=memoiseComputedKey;var i=s(91485);var a=s(8384);const o=a.visitors.environmentVisitor({Super(e){const{node:n,parentPath:s}=e;if(s.isCallExpression({callee:n})){this.push(s)}}});const l={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:n}){if(n.hasOwnBinding(e.node.name)){n.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,n){if(n.classBinding&&n.classBinding===e.scope.getBinding(e.node.name)){const s=n.file.addHelper("classNameTDZError");const a=i.types.callExpression(s,[i.types.stringLiteral(e.node.name)]);e.replaceWith(i.types.sequenceExpression([a,e.node]));e.skip()}}const c={ReferencedIdentifier:handleClassTDZ,"TSTypeAnnotation|TypeAnnotation"(e){e.skip()}};function injectInitialization(e,n,s,a,c){if(!s.length)return;const p=!!e.node.superClass;if(!n){const s=i.types.classMethod("constructor",i.types.identifier("constructor"),[],i.types.blockStatement([]));if(p){s.params=[i.types.restElement(i.types.identifier("args"))];s.body.body.push(i.template.statement.ast`super(...args)`)}[n]=e.get("body").unshiftContainer("body",s)}if(a){a(l,{scope:n.scope})}if(p){const e=[];n.traverse(o,e);let a=true;for(const n of e){if(a){a=false}else{s=s.map((e=>i.types.cloneNode(e)))}if(!n.parentPath.isExpressionStatement()){const e=[n.node,...s.map((e=>i.types.toExpression(e)))];if(!c)e.push(i.types.thisExpression());n.replaceWith(i.types.sequenceExpression(e))}else{n.insertAfter(s)}}}else{n.get("body").unshiftContainer("body",s)}}function memoiseComputedKey(e,n,s){const a=i.types.isIdentifier(e)&&n.hasUid(e.name);if(a){return}const o=i.types.isAssignmentExpression(e,{operator:"="})&&i.types.isIdentifier(e.left)&&n.hasUid(e.left.name);if(o){return i.types.cloneNode(e)}else{const a=i.types.identifier(s);n.push({id:a,kind:"let"});return i.types.assignmentExpression("=",i.types.cloneNode(a),e)}}function extractComputedKeys(e,n,s){const{scope:a}=e;const o=[];const l={classBinding:e.node.id&&a.getBinding(e.node.id.name),file:s};for(const e of n){const n=e.get("key");if(n.isReferencedIdentifier()){handleClassTDZ(n,l)}else{n.traverse(c,l)}const s=e.node;if(!n.isConstantExpression()){const e=memoiseComputedKey(n.node,a,a.generateUidBasedOnNode(n.node));if(e){o.push(i.types.expressionStatement(e));s.key=i.types.cloneNode(e.left)}}}return o}},26878:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:true});n.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare||false){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-transform-class-properties\n`+` - @babel/plugin-transform-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},71072:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});var i=s(51559);function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach((function(s){if(s!=="default"){var i=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,i.get?i:{enumerable:true,get:function(){return e[s]}})}}))}n.default=e;return Object.freeze(n)}var a=_interopNamespace(i);function willPathCastToBoolean(e){const n=e;const{node:s,parentPath:i}=n;if(i.isLogicalExpression()){const{operator:e,right:n}=i.node;if(e==="&&"||e==="||"||e==="??"&&s===n){return willPathCastToBoolean(i)}}if(i.isSequenceExpression()){const{expressions:e}=i.node;if(e[e.length-1]===s){return willPathCastToBoolean(i)}else{return true}}return i.isConditional({test:s})||i.isUnaryExpression({operator:"!"})||i.isLoop({test:s})}const{LOGICAL_OPERATORS:o,arrowFunctionExpression:l,assignmentExpression:c,binaryExpression:p,booleanLiteral:d,callExpression:f,cloneNode:h,conditionalExpression:m,identifier:y,isMemberExpression:g,isOptionalCallExpression:A,isOptionalMemberExpression:C,isUpdateExpression:_,logicalExpression:k,memberExpression:I,nullLiteral:D,optionalCallExpression:O,optionalMemberExpression:L,sequenceExpression:B,updateExpression:j}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const n=this._map.get(e);const{value:s}=n;n.count--;if(n.count===0){return c("=",s,e)}return s}set(e,n,s){return this._map.set(e,{count:s,value:n})}}function toNonOptional(e,n){const{node:s}=e;if(C(s)){return I(n,s.property,s.computed)}if(e.isOptionalCallExpression()){const s=e.get("callee");if(e.node.optional&&s.isOptionalMemberExpression()){const i=s.node.object;const a=e.scope.maybeGenerateMemoised(i);s.get("object").replaceWith(c("=",a,i));return f(I(n,y("call")),[a,...e.node.arguments])}return f(n,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:n,container:s,listKey:i}=e;const a=n.node;if(i){if(s!==a[i]){return true}}else{if(s!==a)return true}e=n}return false}const R={memoise(){},handle(e,n){const{node:s,parent:i,parentPath:a,scope:o}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const _=e.find((({node:n,parent:s})=>{if(C(s)){return s.optional||s.object!==n}if(A(s)){return n!==e.node&&s.optional||s.callee!==n}return true}));if(o.path.isPattern()){_.replaceWith(f(l([],_.node),[]));return}const I=willPathCastToBoolean(_);const B=_.parentPath;if(B.isUpdateExpression({argument:s})){throw e.buildCodeFrameError(`can't handle update expression`)}const j=B.isAssignmentExpression({left:_.node});const R=B.isUnaryExpression({operator:"delete"});if(R&&_.isOptionalMemberExpression()&&_.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let $=e;for(;;){if($.isOptionalMemberExpression()){if($.node.optional)break;$=$.get("object");continue}else if($.isOptionalCallExpression()){if($.node.optional)break;$=$.get("callee");continue}throw new Error(`Internal error: unexpected ${$.node.type}`)}const H=$.isOptionalMemberExpression()?$.node.object:$.node.callee;const J=o.maybeGenerateMemoised(H);const ee=J!=null?J:H;const te=a.isOptionalCallExpression({callee:s});const isOptionalCall=e=>te;const re=a.isCallExpression({callee:s});$.replaceWith(toNonOptional($,ee));if(isOptionalCall()){if(i.optional){a.replaceWith(this.optionalCall(e,i.arguments))}else{a.replaceWith(this.call(e,i.arguments))}}else if(re){e.replaceWith(this.boundGet(e))}else if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e))}else if(a.isAssignmentExpression()){handleAssignment(this,e,a)}else{e.replaceWith(this.get(e))}let ne=e.node;for(let n=e;n!==_;){const e=n.parentPath;if(e===_&&isOptionalCall()&&i.optional){ne=e.node;break}ne=toNonOptional(e,ne);n=e}let se;const ie=_.parentPath;if(g(ne)&&ie.isOptionalCallExpression({callee:_.node,optional:true})){const{object:n}=ne;se=e.scope.maybeGenerateMemoised(n);if(se){ne.object=c("=",se,n)}}let ae=_;if(R||j){ae=ie;ne=ie.node}const oe=J?c("=",h(ee),h(H)):h(ee);if(I){let e;if(n){e=p("!=",oe,D())}else{e=k("&&",p("!==",oe,D()),p("!==",h(ee),o.buildUndefinedNode()))}ae.replaceWith(k("&&",e,ne))}else{let e;if(n){e=p("==",oe,D())}else{e=k("||",p("===",oe,D()),p("===",h(ee),o.buildUndefinedNode()))}ae.replaceWith(m(e,R?d(true):o.buildUndefinedNode(),ne))}if(se){const e=ie.node;ie.replaceWith(O(L(e.callee,y("call"),false,true),[h(se),...e.arguments],false))}return}if(_(i,{argument:s})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:n,prefix:l}=i;this.memoise(e,2);const p=o.generateUidIdentifierBasedOnNode(s);o.push({id:p});const d=[c("=",h(p),this.get(e))];if(l){d.push(j(n,h(p),l));const s=B(d);a.replaceWith(this.set(e,s));return}else{const i=o.generateUidIdentifierBasedOnNode(s);o.push({id:i});d.push(c("=",h(i),j(n,h(p),l)),h(p));const f=B(d);a.replaceWith(B([this.set(e,f),h(i)]));return}}if(a.isAssignmentExpression({left:s})){handleAssignment(this,e,a);return}if(a.isCallExpression({callee:s})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:s})){if(o.path.isPattern()){a.replaceWith(f(l([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e));return}if(a.isForXStatement({left:s})||a.isObjectProperty({value:s})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:s})&&a.parentPath.isObjectProperty({value:i})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:s})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function handleAssignment(e,n,s){if(e.simpleSet){n.replaceWith(e.simpleSet(n));return}const{operator:i,right:a}=s.node;if(i==="="){s.replaceWith(e.set(n,a))}else{const l=i.slice(0,-1);if(o.includes(l)){e.memoise(n,1);s.replaceWith(k(l,e.get(n),e.set(n,a)))}else{e.memoise(n,2);s.replaceWith(e.set(n,p(l,e.get(n),a)))}}}function memberExpressionToFunctions(e,n,s){e.traverse(n,Object.assign({},R,s,{memoiser:new AssignmentMemoiser}))}n["default"]=memberExpressionToFunctions},42466:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n["default"]=void 0;var i=s(42613);var a=s(79551);const{callExpression:o,cloneNode:l,expressionStatement:c,identifier:p,importDeclaration:d,importDefaultSpecifier:f,importNamespaceSpecifier:h,importSpecifier:m,memberExpression:y,stringLiteral:g,variableDeclaration:A,variableDeclarator:C}=a;class ImportBuilder{constructor(e,n,s){this._statements=[];this._resultName=null;this._importedSource=void 0;this._scope=n;this._hub=s;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(d([],g(this._importedSource)));return this}require(){this._statements.push(c(o(p("require"),[g(this._importedSource)])));return this}namespace(e="namespace"){const n=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];i(s.type==="ImportDeclaration");i(s.specifiers.length===0);s.specifiers=[h(n)];this._resultName=l(n);return this}default(e){const n=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];i(s.type==="ImportDeclaration");i(s.specifiers.length===0);s.specifiers=[f(n)];this._resultName=l(n);return this}named(e,n){if(n==="default")return this.default(e);const s=this._scope.generateUidIdentifier(e);const a=this._statements[this._statements.length-1];i(a.type==="ImportDeclaration");i(a.specifiers.length===0);a.specifiers=[m(s,p(n))];this._resultName=l(s);return this}var(e){const n=this._scope.generateUidIdentifier(e);let s=this._statements[this._statements.length-1];if(s.type!=="ExpressionStatement"){i(this._resultName);s=c(this._resultName);this._statements.push(s)}this._statements[this._statements.length-1]=A("var",[C(n,s.expression)]);this._resultName=l(n);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const n=this._statements[this._statements.length-1];if(n.type==="ExpressionStatement"){n.expression=o(e,[n.expression])}else if(n.type==="VariableDeclaration"){i(n.declarations.length===1);n.declarations[0].init=o(e,[n.declarations[0].init])}else{i.fail("Unexpected type.")}return this}prop(e){const n=this._statements[this._statements.length-1];if(n.type==="ExpressionStatement"){n.expression=y(n.expression,p(e))}else if(n.type==="VariableDeclaration"){i(n.declarations.length===1);n.declarations[0].init=y(n.declarations[0].init,p(e))}else{i.fail("Unexpected type:"+n.type)}return this}read(e){this._resultName=y(this._resultName,p(e))}}n["default"]=ImportBuilder},98781:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n["default"]=void 0;var i=s(42613);var a=s(79551);var o=s(42466);var l=s(17986);const{identifier:c,importSpecifier:p,numericLiteral:d,sequenceExpression:f,isImportDeclaration:h}=a;class ImportInjector{constructor(e,n,s){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const i=e.find((e=>e.isProgram()));this._programPath=i;this._programScope=i.scope;this._hub=i.hub;this._defaultOpts=this._applyDefaults(n,s,true)}addDefault(e,n){return this.addNamed("default",e,n)}addNamed(e,n,s){i(typeof e==="string");return this._generateImport(this._applyDefaults(n,s),e)}addNamespace(e,n){return this._generateImport(this._applyDefaults(e,n),null)}addSideEffect(e,n){return this._generateImport(this._applyDefaults(e,n),void 0)}_applyDefaults(e,n,s=false){let a;if(typeof e==="string"){a=Object.assign({},this._defaultOpts,{importedSource:e},n)}else{i(!n,"Unexpected secondary arguments.");a=Object.assign({},this._defaultOpts,e)}if(!s&&n){if(n.nameHint!==undefined)a.nameHint=n.nameHint;if(n.blockHoist!==undefined)a.blockHoist=n.blockHoist}return a}_generateImport(e,n){const s=n==="default";const i=!!n&&!s;const a=n===null;const{importedSource:c,importedType:p,importedInterop:h,importingInterop:m,ensureLiveReference:y,ensureNoContext:g,nameHint:A,importPosition:C,blockHoist:_}=e;let k=A||n;const I=(0,l.default)(this._programPath);const D=I&&m==="node";const O=I&&m==="babel";if(C==="after"&&!I){throw new Error(`"importPosition": "after" is only supported in modules`)}const L=new o.default(c,this._programScope,this._hub);if(p==="es6"){if(!D&&!O){throw new Error("Cannot import an ES6 module from CommonJS")}L.import();if(a){L.namespace(A||c)}else if(s||i){L.named(k,n)}}else if(p!=="commonjs"){throw new Error(`Unexpected interopType "${p}"`)}else if(h==="babel"){if(D){k=k!=="default"?k:c;const e=`${c}$es6Default`;L.import();if(a){L.default(e).var(k||c).wildcardInterop()}else if(s){if(y){L.default(e).var(k||c).defaultInterop().read("default")}else{L.default(e).var(k).defaultInterop().prop(n)}}else if(i){L.default(e).read(n)}}else if(O){L.import();if(a){L.namespace(k||c)}else if(s||i){L.named(k,n)}}else{L.require();if(a){L.var(k||c).wildcardInterop()}else if((s||i)&&y){if(s){k=k!=="default"?k:c;L.var(k).read(n);L.defaultInterop()}else{L.var(c).read(n)}}else if(s){L.var(k).defaultInterop().prop(n)}else if(i){L.var(k).prop(n)}}}else if(h==="compiled"){if(D){L.import();if(a){L.default(k||c)}else if(s||i){L.default(c).read(k)}}else if(O){L.import();if(a){L.namespace(k||c)}else if(s||i){L.named(k,n)}}else{L.require();if(a){L.var(k||c)}else if(s||i){if(y){L.var(c).read(k)}else{L.prop(n).var(k)}}}}else if(h==="uncompiled"){if(s&&y){throw new Error("No live reference for commonjs default")}if(D){L.import();if(a){L.default(k||c)}else if(s){L.default(k)}else if(i){L.default(c).read(k)}}else if(O){L.import();if(a){L.default(k||c)}else if(s){L.default(k)}else if(i){L.named(k,n)}}else{L.require();if(a){L.var(k||c)}else if(s){L.var(k)}else if(i){if(y){L.var(c).read(k)}else{L.var(k).prop(n)}}}}else{throw new Error(`Unknown importedInterop "${h}".`)}const{statements:B,resultName:j}=L.done();this._insertStatements(B,C,_);if((s||i)&&g&&j.type!=="Identifier"){return f([d(0),j])}return j}_insertStatements(e,n="before",s=3){if(n==="after"){if(this._insertStatementsAfter(e))return}else{if(this._insertStatementsBefore(e,s))return}this._programPath.unshiftContainer("body",e)}_insertStatementsBefore(e,n){if(e.length===1&&h(e[0])&&isValueImport(e[0])){const n=this._programPath.get("body").find((e=>e.isImportDeclaration()&&isValueImport(e.node)));if((n==null?void 0:n.node.source.value)===e[0].source.value&&maybeAppendImportSpecifiers(n.node,e[0])){return true}}e.forEach((e=>{e._blockHoist=n}));const s=this._programPath.get("body").find((e=>{const n=e.node._blockHoist;return Number.isFinite(n)&&n<4}));if(s){s.insertBefore(e);return true}return false}_insertStatementsAfter(e){const n=new Set(e);const s=new Map;for(const n of e){if(h(n)&&isValueImport(n)){const e=n.source.value;if(!s.has(e))s.set(e,[]);s.get(e).push(n)}}let i=null;for(const e of this._programPath.get("body")){if(e.isImportDeclaration()&&isValueImport(e.node)){i=e;const a=e.node.source.value;const o=s.get(a);if(!o)continue;for(const s of o){if(!n.has(s))continue;if(maybeAppendImportSpecifiers(e.node,s)){n.delete(s)}}}}if(n.size===0)return true;if(i)i.insertAfter(Array.from(n));return!!i}}n["default"]=ImportInjector;function isValueImport(e){return e.importKind!=="type"&&e.importKind!=="typeof"}function hasNamespaceImport(e){return e.specifiers.length===1&&e.specifiers[0].type==="ImportNamespaceSpecifier"||e.specifiers.length===2&&e.specifiers[1].type==="ImportNamespaceSpecifier"}function hasDefaultImport(e){return e.specifiers.length>0&&e.specifiers[0].type==="ImportDefaultSpecifier"}function maybeAppendImportSpecifiers(e,n){if(!e.specifiers.length){e.specifiers=n.specifiers;return true}if(!n.specifiers.length)return true;if(hasNamespaceImport(e)||hasNamespaceImport(n))return false;if(hasDefaultImport(n)){if(hasDefaultImport(e)){n.specifiers[0]=p(n.specifiers[0].local,c("default"))}else{e.specifiers.unshift(n.specifiers.shift())}}e.specifiers.push(...n.specifiers);return true}},93521:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});Object.defineProperty(n,"ImportInjector",{enumerable:true,get:function(){return i.default}});n.addDefault=addDefault;n.addNamed=addNamed;n.addNamespace=addNamespace;n.addSideEffect=addSideEffect;Object.defineProperty(n,"isModule",{enumerable:true,get:function(){return a.default}});var i=s(98781);var a=s(17986);function addDefault(e,n,s){return new i.default(e).addDefault(n,s)}function addNamed(e,n,s,a){return new i.default(e).addNamed(n,s,a)}function addNamespace(e,n,s){return new i.default(e).addNamespace(n,s)}function addSideEffect(e,n,s){return new i.default(e).addSideEffect(n,s)}},17986:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:true});n["default"]=isModule;function isModule(e){return e.node.sourceType==="module"}},57766:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n.buildDynamicImport=buildDynamicImport;var i=s(91485);{n.getDynamicImportSource=function getDynamicImportSource(e){const[n]=e.arguments;return i.types.isStringLiteral(n)||i.types.isTemplateLiteral(n)?n:i.template.expression.ast`\`\${${n}}\``}}function buildDynamicImport(e,n,s,a){const o=i.types.isCallExpression(e)?e.arguments[0]:e.source;if(i.types.isStringLiteral(o)||i.types.isTemplateLiteral(o)&&o.quasis.length===0){if(n){return i.template.expression.ast`
315
315
  Promise.resolve().then(() => ${a(o)})
316
316
  `}else return a(o)}const l=i.types.isTemplateLiteral(o)?i.types.identifier("specifier"):i.types.templateLiteral([i.types.templateElement({raw:""}),i.types.templateElement({raw:""})],[i.types.identifier("specifier")]);if(n){return i.template.expression.ast`
317
317
  (specifier =>
@@ -449,7 +449,7 @@ e.exports=s(47080)},56553:function(e,n,s){"use strict";
449
449
  (function() {
450
450
  throw new Error('"' + '${e}' + '" is read-only.');
451
451
  })()
452
- `;const o={ReferencedIdentifier(e){const{seen:n,buildImportReference:s,scope:a,imported:o,requeueInParent:l}=this;if(n.has(e.node))return;n.add(e.node);const c=e.node.name;const p=o.get(c);if(p){if(isInType(e)){throw e.buildCodeFrameError(`Cannot transform the imported binding "${c}" since it's also used in a type annotation. `+`Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`)}const n=e.scope.getBinding(c);const o=a.getBinding(c);if(o!==n)return;const d=s(p,e.node);d.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.types.isMemberExpression(d)){e.replaceWith(i.types.sequenceExpression([i.types.numericLiteral(0),d]))}else if(e.isJSXIdentifier()&&i.types.isMemberExpression(d)){const{object:n,property:s}=d;e.replaceWith(i.types.jsxMemberExpression(i.types.jsxIdentifier(n.name),i.types.jsxIdentifier(s.name)))}else{e.replaceWith(d)}l(e);e.skip()}},UpdateExpression(e){const{scope:n,seen:s,imported:a,exported:o,requeueInParent:l,buildImportReference:c}=this;if(s.has(e.node))return;s.add(e.node);const p=e.get("argument");if(p.isMemberExpression())return;const d=e.node;if(p.isIdentifier()){const s=p.node.name;if(n.getBinding(s)!==e.scope.getBinding(s)){return}const l=o.get(s);const f=a.get(s);if((l==null?void 0:l.length)>0||f){if(f){e.replaceWith(i.types.assignmentExpression(d.operator[0]+"=",c(f,p.node),buildImportThrow(s)))}else if(d.prefix){e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,l,i.types.cloneNode(d),e.scope))}else{const a=n.generateDeclaredUidIdentifier(s);e.replaceWith(i.types.sequenceExpression([i.types.assignmentExpression("=",i.types.cloneNode(a),i.types.cloneNode(d)),buildBindingExportAssignmentExpression(this.metadata,l,i.types.identifier(s),e.scope),i.types.cloneNode(a)]))}}}l(e);e.skip()},AssignmentExpression:{exit(e){const{scope:n,seen:s,imported:a,exported:o,requeueInParent:l,buildImportReference:c}=this;if(s.has(e.node))return;s.add(e.node);const p=e.get("left");if(p.isMemberExpression())return;if(p.isIdentifier()){const s=p.node.name;if(n.getBinding(s)!==e.scope.getBinding(s)){return}const d=o.get(s);const f=a.get(s);if((d==null?void 0:d.length)>0||f){const n=e.node;if(f){n.left=c(f,p.node);n.right=i.types.sequenceExpression([n.right,buildImportThrow(s)])}const{operator:a}=n;let o;if(a==="="){o=n}else if(a==="&&="||a==="||="||a==="??="){o=i.types.assignmentExpression("=",n.left,i.types.logicalExpression(a.slice(0,-1),i.types.cloneNode(n.left),n.right))}else{o=i.types.assignmentExpression("=",n.left,i.types.binaryExpression(a.slice(0,-1),i.types.cloneNode(n.left),n.right))}e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,d,o,e.scope));l(e);e.skip()}}else{const s=p.getOuterBindingIdentifiers();const c=Object.keys(s).filter((s=>n.getBinding(s)===e.scope.getBinding(s)));const d=c.find((e=>a.has(e)));if(d){e.node.right=i.types.sequenceExpression([e.node.right,buildImportThrow(d)])}const f=[];c.forEach((n=>{const s=o.get(n)||[];if(s.length>0){f.push(buildBindingExportAssignmentExpression(this.metadata,s,i.types.identifier(n),e.scope))}}));if(f.length>0){let n=i.types.sequenceExpression(f);if(e.parentPath.isExpressionStatement()){n=i.types.expressionStatement(n);n._blockHoist=e.parentPath.node._blockHoist}const s=e.insertAfter(n)[0];l(s)}}}},ForXStatement(e){const{scope:n,node:s}=e;const{left:a}=s;const{exported:o,imported:l,scope:c}=this;if(!i.types.isVariableDeclaration(a)){let s=false,p;const d=e.get("body").scope;for(const e of Object.keys(i.types.getOuterBindingIdentifiers(a))){if(c.getBinding(e)===n.getBinding(e)){if(o.has(e)){s=true;if(d.hasOwnBinding(e)){d.rename(e)}}if(l.has(e)&&!p){p=e}}}if(!s&&!p){return}e.ensureBlock();const f=e.get("body");const h=n.generateUidIdentifierBasedOnNode(a);e.get("left").replaceWith(i.types.variableDeclaration("let",[i.types.variableDeclarator(i.types.cloneNode(h))]));n.registerDeclaration(e.get("left"));if(s){f.unshiftContainer("body",i.types.expressionStatement(i.types.assignmentExpression("=",a,h)))}if(p){f.unshiftContainer("body",i.types.expressionStatement(buildImportThrow(p)))}}}}},76153:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n["default"]=rewriteThis;var i=s(52915);var a=s(35963);let o;function rewriteThis(e){if(!o){o=a.visitors.environmentVisitor({ThisExpression(e){e.replaceWith(i.types.unaryExpression("void",i.types.numericLiteral(0),true))}});o.noScope=true}(0,a.default)(e.node,o)}},19782:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n["default"]=optimiseCallExpression;var i=s(79551);const{callExpression:a,identifier:o,isIdentifier:l,isSpreadElement:c,memberExpression:p,optionalCallExpression:d,optionalMemberExpression:f}=i;function optimiseCallExpression(e,n,s,i){if(s.length===1&&c(s[0])&&l(s[0].argument,{name:"arguments"})){if(i){return d(f(e,o("apply"),false,true),[n,s[0].argument],false)}return a(p(e,o("apply")),[n,s[0].argument])}else{if(i){return d(f(e,o("call"),false,true),[n,...s],false)}return a(p(e,o("call")),[n,...s])}}},64320:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:true});n.declare=declare;n.declarePreset=void 0;const s={assertVersion:e=>n=>{throwVersionError(n,e.version)}};{Object.assign(s,{targets:()=>()=>({}),assumption:()=>()=>undefined,addExternalDependency:()=>()=>{}})}function declare(e){return(n,i,a)=>{let o;for(const e of Object.keys(s)){if(n[e])continue;o!=null?o:o=copyApiObject(n);o[e]=s[e](o)}return e(o!=null?o:n,i||{},a)}}const i=n.declarePreset=declare;function copyApiObject(e){let n=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){n=Object.getPrototypeOf(e);if(n&&(!hasOwnProperty.call(n,"version")||!hasOwnProperty.call(n,"transform")||!hasOwnProperty.call(n,"template")||!hasOwnProperty.call(n,"types"))){n=null}}return Object.assign({},n,e)}function throwVersionError(e,n){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let i;if(n.slice(0,2)==="7."){i=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${n}". `+`You'll need to update your @babel/core version.`)}else{i=new Error(`Requires Babel "${e}", but was loaded with "${n}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(i,{code:"BABEL_VERSION_UNSUPPORTED",version:n,range:e})}},1481:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n["default"]=void 0;var i=s(71072);var a=s(19782);var o=s(91485);var l=s(8384);const{assignmentExpression:c,callExpression:p,cloneNode:d,identifier:f,memberExpression:h,sequenceExpression:m,stringLiteral:y,thisExpression:g}=o.types;{n.environmentVisitor=l.visitors.environmentVisitor({});n.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}const A=l.visitors.environmentVisitor({Super(e,n){const{node:s,parentPath:i}=e;if(!i.isMemberExpression({object:s}))return;n.handle(i)}});const C=l.visitors.environmentVisitor({Scopable(e,{refName:n}){const s=e.scope.getOwnBinding(n);if(s&&s.identifier.name===n){e.scope.rename(n)}}});const _={memoise(e,n){const{scope:s,node:i}=e;const{computed:a,property:o}=i;if(!a){return}const l=s.maybeGenerateMemoised(o);if(!l){return}this.memoiser.set(o,l,n)},prop(e){const{computed:n,property:s}=e.node;if(this.memoiser.has(s)){return d(this.memoiser.get(s))}if(n){return d(s)}return y(s.name)},_getPrototypeOfExpression(){const e=d(this.getObjectRef());const n=this.isStatic||this.isPrivateMethod?e:h(e,f("prototype"));return p(this.file.addHelper("getPrototypeOf"),[n])},get(e){const n=d(this.getObjectRef());return p(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?m([g(),n]):n,this.prop(e),g(),...this.isStatic||this.isPrivateMethod?[]:[o.types.numericLiteral(1)]])},_call(e,n,s){const i=d(this.getObjectRef());let a;if(n.length===1&&o.types.isSpreadElement(n[0])&&(o.types.isIdentifier(n[0].argument)||o.types.isArrayExpression(n[0].argument))){a=n[0].argument}else{a=o.types.arrayExpression(n)}const l=o.types.callExpression(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?m([g(),i]):i,this.prop(e),g(),o.types.numericLiteral(2|(this.isStatic||this.isPrivateMethod?0:1))]);if(s){return o.types.optionalCallExpression(l,[a],true)}return p(l,[a])},set(e,n){const s=d(this.getObjectRef());return p(this.file.addHelper("superPropSet"),[this.isDerivedConstructor?m([g(),s]):s,this.prop(e),n,g(),o.types.numericLiteral(e.isInStrictMode()?1:0),...this.isStatic||this.isPrivateMethod?[]:[o.types.numericLiteral(1)]])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,n){return this._call(e,n,false)},optionalCall(e,n){return this._call(e,n,true)},delete(e){if(e.node.computed){return m([p(this.file.addHelper("toPropertyKey"),[d(e.node.property)]),o.template.expression.ast`
452
+ `;const o={ReferencedIdentifier(e){const{seen:n,buildImportReference:s,scope:a,imported:o,requeueInParent:l}=this;if(n.has(e.node))return;n.add(e.node);const c=e.node.name;const p=o.get(c);if(p){if(isInType(e)){throw e.buildCodeFrameError(`Cannot transform the imported binding "${c}" since it's also used in a type annotation. `+`Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`)}const n=e.scope.getBinding(c);const o=a.getBinding(c);if(o!==n)return;const d=s(p,e.node);d.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&i.types.isMemberExpression(d)){e.replaceWith(i.types.sequenceExpression([i.types.numericLiteral(0),d]))}else if(e.isJSXIdentifier()&&i.types.isMemberExpression(d)){const{object:n,property:s}=d;e.replaceWith(i.types.jsxMemberExpression(i.types.jsxIdentifier(n.name),i.types.jsxIdentifier(s.name)))}else{e.replaceWith(d)}l(e);e.skip()}},UpdateExpression(e){const{scope:n,seen:s,imported:a,exported:o,requeueInParent:l,buildImportReference:c}=this;if(s.has(e.node))return;s.add(e.node);const p=e.get("argument");if(p.isMemberExpression())return;const d=e.node;if(p.isIdentifier()){const s=p.node.name;if(n.getBinding(s)!==e.scope.getBinding(s)){return}const l=o.get(s);const f=a.get(s);if((l==null?void 0:l.length)>0||f){if(f){e.replaceWith(i.types.assignmentExpression(d.operator[0]+"=",c(f,p.node),buildImportThrow(s)))}else if(d.prefix){e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,l,i.types.cloneNode(d),e.scope))}else{const a=n.generateDeclaredUidIdentifier(s);e.replaceWith(i.types.sequenceExpression([i.types.assignmentExpression("=",i.types.cloneNode(a),i.types.cloneNode(d)),buildBindingExportAssignmentExpression(this.metadata,l,i.types.identifier(s),e.scope),i.types.cloneNode(a)]))}}}l(e);e.skip()},AssignmentExpression:{exit(e){const{scope:n,seen:s,imported:a,exported:o,requeueInParent:l,buildImportReference:c}=this;if(s.has(e.node))return;s.add(e.node);const p=e.get("left");if(p.isMemberExpression())return;if(p.isIdentifier()){const s=p.node.name;if(n.getBinding(s)!==e.scope.getBinding(s)){return}const d=o.get(s);const f=a.get(s);if((d==null?void 0:d.length)>0||f){const n=e.node;if(f){n.left=c(f,p.node);n.right=i.types.sequenceExpression([n.right,buildImportThrow(s)])}const{operator:a}=n;let o;if(a==="="){o=n}else if(a==="&&="||a==="||="||a==="??="){o=i.types.assignmentExpression("=",n.left,i.types.logicalExpression(a.slice(0,-1),i.types.cloneNode(n.left),n.right))}else{o=i.types.assignmentExpression("=",n.left,i.types.binaryExpression(a.slice(0,-1),i.types.cloneNode(n.left),n.right))}e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,d,o,e.scope));l(e);e.skip()}}else{const s=p.getOuterBindingIdentifiers();const c=Object.keys(s).filter((s=>n.getBinding(s)===e.scope.getBinding(s)));const d=c.find((e=>a.has(e)));if(d){e.node.right=i.types.sequenceExpression([e.node.right,buildImportThrow(d)])}const f=[];c.forEach((n=>{const s=o.get(n)||[];if(s.length>0){f.push(buildBindingExportAssignmentExpression(this.metadata,s,i.types.identifier(n),e.scope))}}));if(f.length>0){let n=i.types.sequenceExpression(f);if(e.parentPath.isExpressionStatement()){n=i.types.expressionStatement(n);n._blockHoist=e.parentPath.node._blockHoist}const s=e.insertAfter(n)[0];l(s)}}}},ForXStatement(e){const{scope:n,node:s}=e;const{left:a}=s;const{exported:o,imported:l,scope:c}=this;if(!i.types.isVariableDeclaration(a)){let s=false,p;const d=e.get("body").scope;for(const e of Object.keys(i.types.getOuterBindingIdentifiers(a))){if(c.getBinding(e)===n.getBinding(e)){if(o.has(e)){s=true;if(d.hasOwnBinding(e)){d.rename(e)}}if(l.has(e)&&!p){p=e}}}if(!s&&!p){return}e.ensureBlock();const f=e.get("body");const h=n.generateUidIdentifierBasedOnNode(a);e.get("left").replaceWith(i.types.variableDeclaration("let",[i.types.variableDeclarator(i.types.cloneNode(h))]));n.registerDeclaration(e.get("left"));if(s){f.unshiftContainer("body",i.types.expressionStatement(i.types.assignmentExpression("=",a,h)))}if(p){f.unshiftContainer("body",i.types.expressionStatement(buildImportThrow(p)))}}}}},76153:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n["default"]=rewriteThis;var i=s(52915);var a=s(35963);let o;function rewriteThis(e){if(!o){o=a.visitors.environmentVisitor({ThisExpression(e){e.replaceWith(i.types.unaryExpression("void",i.types.numericLiteral(0),true))}});o.noScope=true}(0,a.default)(e.node,o)}},19782:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n["default"]=optimiseCallExpression;var i=s(51559);const{callExpression:a,identifier:o,isIdentifier:l,isSpreadElement:c,memberExpression:p,optionalCallExpression:d,optionalMemberExpression:f}=i;function optimiseCallExpression(e,n,s,i){if(s.length===1&&c(s[0])&&l(s[0].argument,{name:"arguments"})){if(i){return d(f(e,o("apply"),false,true),[n,s[0].argument],false)}return a(p(e,o("apply")),[n,s[0].argument])}else{if(i){return d(f(e,o("call"),false,true),[n,...s],false)}return a(p(e,o("call")),[n,...s])}}},64320:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:true});n.declare=declare;n.declarePreset=void 0;const s={assertVersion:e=>n=>{throwVersionError(n,e.version)}};{Object.assign(s,{targets:()=>()=>({}),assumption:()=>()=>undefined,addExternalDependency:()=>()=>{}})}function declare(e){return(n,i,a)=>{let o;for(const e of Object.keys(s)){if(n[e])continue;o!=null?o:o=copyApiObject(n);o[e]=s[e](o)}return e(o!=null?o:n,i||{},a)}}const i=n.declarePreset=declare;function copyApiObject(e){let n=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){n=Object.getPrototypeOf(e);if(n&&(!hasOwnProperty.call(n,"version")||!hasOwnProperty.call(n,"transform")||!hasOwnProperty.call(n,"template")||!hasOwnProperty.call(n,"types"))){n=null}}return Object.assign({},n,e)}function throwVersionError(e,n){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const s=Error.stackTraceLimit;if(typeof s==="number"&&s<25){Error.stackTraceLimit=25}let i;if(n.slice(0,2)==="7."){i=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${n}". `+`You'll need to update your @babel/core version.`)}else{i=new Error(`Requires Babel "${e}", but was loaded with "${n}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof s==="number"){Error.stackTraceLimit=s}throw Object.assign(i,{code:"BABEL_VERSION_UNSUPPORTED",version:n,range:e})}},1481:function(e,n,s){"use strict";Object.defineProperty(n,"__esModule",{value:true});n["default"]=void 0;var i=s(71072);var a=s(19782);var o=s(91485);var l=s(8384);const{assignmentExpression:c,callExpression:p,cloneNode:d,identifier:f,memberExpression:h,sequenceExpression:m,stringLiteral:y,thisExpression:g}=o.types;{n.environmentVisitor=l.visitors.environmentVisitor({});n.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}const A=l.visitors.environmentVisitor({Super(e,n){const{node:s,parentPath:i}=e;if(!i.isMemberExpression({object:s}))return;n.handle(i)}});const C=l.visitors.environmentVisitor({Scopable(e,{refName:n}){const s=e.scope.getOwnBinding(n);if(s&&s.identifier.name===n){e.scope.rename(n)}}});const _={memoise(e,n){const{scope:s,node:i}=e;const{computed:a,property:o}=i;if(!a){return}const l=s.maybeGenerateMemoised(o);if(!l){return}this.memoiser.set(o,l,n)},prop(e){const{computed:n,property:s}=e.node;if(this.memoiser.has(s)){return d(this.memoiser.get(s))}if(n){return d(s)}return y(s.name)},_getPrototypeOfExpression(){const e=d(this.getObjectRef());const n=this.isStatic||this.isPrivateMethod?e:h(e,f("prototype"));return p(this.file.addHelper("getPrototypeOf"),[n])},get(e){const n=d(this.getObjectRef());return p(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?m([g(),n]):n,this.prop(e),g(),...this.isStatic||this.isPrivateMethod?[]:[o.types.numericLiteral(1)]])},_call(e,n,s){const i=d(this.getObjectRef());let a;if(n.length===1&&o.types.isSpreadElement(n[0])&&(o.types.isIdentifier(n[0].argument)||o.types.isArrayExpression(n[0].argument))){a=n[0].argument}else{a=o.types.arrayExpression(n)}const l=o.types.callExpression(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?m([g(),i]):i,this.prop(e),g(),o.types.numericLiteral(2|(this.isStatic||this.isPrivateMethod?0:1))]);if(s){return o.types.optionalCallExpression(l,[a],true)}return p(l,[a])},set(e,n){const s=d(this.getObjectRef());return p(this.file.addHelper("superPropSet"),[this.isDerivedConstructor?m([g(),s]):s,this.prop(e),n,g(),o.types.numericLiteral(e.isInStrictMode()?1:0),...this.isStatic||this.isPrivateMethod?[]:[o.types.numericLiteral(1)]])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,n){return this._call(e,n,false)},optionalCall(e,n){return this._call(e,n,true)},delete(e){if(e.node.computed){return m([p(this.file.addHelper("toPropertyKey"),[d(e.node.property)]),o.template.expression.ast`
453
453
  function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
454
454
  `])}else{return o.template.expression.ast`
455
455
  function () { throw new ReferenceError("'delete super.prop' is invalid"); }()