29 lines
2.5 MiB
JavaScript
29 lines
2.5 MiB
JavaScript
|
|
(function(){var v={60485:function(v,I){"use strict";Object.defineProperty(I,"__esModule",{value:true});I.cloneNode=cloneNode;function cloneNode(v){return Object.assign({},v)}},65008:function(v,I,P){"use strict";Object.defineProperty(I,"__esModule",{value:true});var R={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(I,"numberLiteralFromRaw",{enumerable:true,get:function get(){return L.numberLiteralFromRaw}});Object.defineProperty(I,"withLoc",{enumerable:true,get:function get(){return L.withLoc}});Object.defineProperty(I,"withRaw",{enumerable:true,get:function get(){return L.withRaw}});Object.defineProperty(I,"funcParam",{enumerable:true,get:function get(){return L.funcParam}});Object.defineProperty(I,"indexLiteral",{enumerable:true,get:function get(){return L.indexLiteral}});Object.defineProperty(I,"memIndexLiteral",{enumerable:true,get:function get(){return L.memIndexLiteral}});Object.defineProperty(I,"instruction",{enumerable:true,get:function get(){return L.instruction}});Object.defineProperty(I,"objectInstruction",{enumerable:true,get:function get(){return L.objectInstruction}});Object.defineProperty(I,"traverse",{enumerable:true,get:function get(){return q.traverse}});Object.defineProperty(I,"signatures",{enumerable:true,get:function get(){return K.signatures}});Object.defineProperty(I,"cloneNode",{enumerable:true,get:function get(){return ge.cloneNode}});Object.defineProperty(I,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return be.moduleContextFromModuleAST}});var $=P(6881);Object.keys($).forEach((function(v){if(v==="default"||v==="__esModule")return;if(Object.prototype.hasOwnProperty.call(R,v))return;if(v in I&&I[v]===$[v])return;Object.defineProperty(I,v,{enumerable:true,get:function get(){return $[v]}})}));var L=P(72882);var q=P(87786);var K=P(10644);var ae=P(89095);Object.keys(ae).forEach((function(v){if(v==="default"||v==="__esModule")return;if(Object.prototype.hasOwnProperty.call(R,v))return;if(v in I&&I[v]===ae[v])return;Object.defineProperty(I,v,{enumerable:true,get:function get(){return ae[v]}})}));var ge=P(60485);var be=P(89711)},72882:function(v,I,P){"use strict";Object.defineProperty(I,"__esModule",{value:true});I.numberLiteralFromRaw=numberLiteralFromRaw;I.instruction=instruction;I.objectInstruction=objectInstruction;I.withLoc=withLoc;I.withRaw=withRaw;I.funcParam=funcParam;I.indexLiteral=indexLiteral;I.memIndexLiteral=memIndexLiteral;var R=P(98260);var $=P(6881);function numberLiteralFromRaw(v){var I=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var P=v;if(typeof v==="string"){v=v.replace(/_/g,"")}if(typeof v==="number"){return(0,$.numberLiteral)(v,String(P))}else{switch(I){case"i32":{return(0,$.numberLiteral)((0,R.parse32I)(v),String(P))}case"u32":{return(0,$.numberLiteral)((0,R.parseU32)(v),String(P))}case"i64":{return(0,$.longNumberLiteral)((0,R.parse64I)(v),String(P))}case"f32":{return(0,$.floatLiteral)((0,R.parse32F)(v),(0,R.isNanLiteral)(v),(0,R.isInfLiteral)(v),String(P))}default:{return(0,$.floatLiteral)((0,R.parse64F)(v),(0,R.isNanLiteral)(v),(0,R.isInfLiteral)(v),String(P))}}}}function instruction(v){var I=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var P=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,$.instr)(v,undefined,I,P)}function objectInstruction(v,I){var P=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var R=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,$.instr)(v,I,P,R)}function withLoc(v,I,P){var R={start:P,end:I};v.loc=R;return v}function withRaw(v,I){v.raw=I;return v}function funcParam(v,I){return{id:I,valtype:v}}function indexLiteral(v){var I=numberLiteralFromRaw(v,"u32");return I}function memIndexLiteral(v){var I=numberLiteralFromRaw(v,"u32");return I}},98935:function(v,I){"use strict";Object.defineProperty(I,"__esModule",{value:true});I.createPath=createPath;function
|
||
|
|
/*!
|
||
|
|
* mime-db
|
||
|
|
* Copyright(c) 2014 Jonathan Ong
|
||
|
|
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
||
|
|
* MIT Licensed
|
||
|
|
*/
|
||
|
|
v.exports=P(66450)},52759:function(v,I,P){"use strict";
|
||
|
|
/*!
|
||
|
|
* mime-types
|
||
|
|
* Copyright(c) 2014 Jonathan Ong
|
||
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
||
|
|
* MIT Licensed
|
||
|
|
*/var R=P(77734);var $=P(71017).extname;var L=/^\s*([^;\s]*)(?:;|\s|$)/;var q=/^text\//i;I.charset=charset;I.charsets={lookup:charset};I.contentType=contentType;I.extension=extension;I.extensions=Object.create(null);I.lookup=lookup;I.types=Object.create(null);populateMaps(I.extensions,I.types);function charset(v){if(!v||typeof v!=="string"){return false}var I=L.exec(v);var P=I&&R[I[1].toLowerCase()];if(P&&P.charset){return P.charset}if(I&&q.test(I[1])){return"UTF-8"}return false}function contentType(v){if(!v||typeof v!=="string"){return false}var P=v.indexOf("/")===-1?I.lookup(v):v;if(!P){return false}if(P.indexOf("charset")===-1){var R=I.charset(P);if(R)P+="; charset="+R.toLowerCase()}return P}function extension(v){if(!v||typeof v!=="string"){return false}var P=L.exec(v);var R=P&&I.extensions[P[1].toLowerCase()];if(!R||!R.length){return false}return R[0]}function lookup(v){if(!v||typeof v!=="string"){return false}var P=$("x."+v).toLowerCase().substr(1);if(!P){return false}return I.types[P]||false}function populateMaps(v,I){var P=["nginx","apache",undefined,"iana"];Object.keys(R).forEach((function forEachMimeType($){var L=R[$];var q=L.extensions;if(!q||!q.length){return}v[$]=q;for(var K=0;K<q.length;K++){var ae=q[K];if(I[ae]){var ge=P.indexOf(R[I[ae]].source);var be=P.indexOf(L.source);if(I[ae]!=="application/octet-stream"&&(ge>be||ge===be&&I[ae].substr(0,12)==="application/")){continue}}I[ae]=$}}))}},33830:function(v,I,P){"use strict";const R=P(74758);const $=P(77344);class AsyncParallelBailHookCodeFactory extends ${content({onError:v,onResult:I,onDone:P}){let R="";R+=`var _results = new Array(${this.options.taps.length});\n`;R+="var _checkDone = function() {\n";R+="for(var i = 0; i < _results.length; i++) {\n";R+="var item = _results[i];\n";R+="if(item === undefined) return false;\n";R+="if(item.result !== undefined) {\n";R+=I("item.result");R+="return true;\n";R+="}\n";R+="if(item.error) {\n";R+=v("item.error");R+="return true;\n";R+="}\n";R+="}\n";R+="return false;\n";R+="}\n";R+=this.callTapsParallel({onError:(v,I,P,R)=>{let $="";$+=`if(${v} < _results.length && ((_results.length = ${v+1}), (_results[${v}] = { error: ${I} }), _checkDone())) {\n`;$+=R(true);$+="} else {\n";$+=P();$+="}\n";return $},onResult:(v,I,P,R)=>{let $="";$+=`if(${v} < _results.length && (${I} !== undefined && (_results.length = ${v+1}), (_results[${v}] = { result: ${I} }), _checkDone())) {\n`;$+=R(true);$+="} else {\n";$+=P();$+="}\n";return $},onTap:(v,I,P,R)=>{let $="";if(v>0){$+=`if(${v} >= _results.length) {\n`;$+=P();$+="} else {\n"}$+=I();if(v>0)$+="}\n";return $},onDone:P});return R}}const L=new AsyncParallelBailHookCodeFactory;const COMPILE=function(v){L.setup(this,v);return L.create(v)};function AsyncParallelBailHook(v=[],I=undefined){const P=new R(v,I);P.constructor=AsyncParallelBailHook;P.compile=COMPILE;P._call=undefined;P.call=undefined;return P}AsyncParallelBailHook.prototype=null;v.exports=AsyncParallelBailHook},12845:function(v,I,P){"use strict";const R=P(74758);const $=P(77344);class AsyncParallelHookCodeFactory extends ${content({onError:v,onDone:I}){return this.callTapsParallel({onError:(I,P,R,$)=>v(P)+$(true),onDone:I})}}const L=new AsyncParallelHookCodeFactory;const COMPILE=function(v){L.setup(this,v);return L.create(v)};function AsyncParallelHook(v=[],I=undefined){const P=new R(v,I);P.constructor=AsyncParallelHook;P.compile=COMPILE;P._call=undefined;P.call=undefined;return P}AsyncParallelHook.prototype=null;v.exports=AsyncParallelHook},75405:function(v,I,P){"use strict";const R=P(74758);const $=P(77344);class AsyncSeriesBailHookCodeFactory extends ${content({onError:v,onResult:I,resultReturns:P,onDone:R}){return this.callTapsSeries({onError:(I,P,R,$)=>v(P)+$(true),onResult:(v,P,R)=>`if(${P} !== undefined) {\n${I(P)}\n} else {\n${R()}}\n`,resultReturns:P,onDone:R})}}const L=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(v){L.setup(this,v);return L.create(v)};function AsyncSeriesBailHook(v=[],I=undefined){const P=new R(v,I);P.constructor=AsyncSeriesBailHook;P.compile=COMPILE;P._call=undefined;P.call=undefined;r
|
||
|
|
/*! *****************************************************************************
|
||
|
|
Copyright (c) Microsoft Corporation.
|
||
|
|
|
||
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
|
purpose with or without fee is hereby granted.
|
||
|
|
|
||
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
|
***************************************************************************** */
|
||
|
|
var I;var P;var R;var $;var L;var q;var K;var ae;var ge;var be;var xe;var ve;var Ce;var Ne;var He;var Qe;var Je;var Ve;var Ke;var Ye;var Xe;var Ze;var et;(function(I){var P=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(v){I(createExporter(P,createExporter(v)))}))}else if(true&&typeof v.exports==="object"){I(createExporter(P,createExporter(v.exports)))}else{I(createExporter(P))}function createExporter(v,I){if(v!==P){if(typeof Object.create==="function"){Object.defineProperty(v,"__esModule",{value:true})}else{v.__esModule=true}}return function(P,R){return v[P]=I?I(P,R):R}}})((function(v){var tt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,I){v.__proto__=I}||function(v,I){for(var P in I)if(I.hasOwnProperty(P))v[P]=I[P]};I=function(v,I){tt(v,I);function __(){this.constructor=v}v.prototype=I===null?Object.create(I):(__.prototype=I.prototype,new __)};P=Object.assign||function(v){for(var I,P=1,R=arguments.length;P<R;P++){I=arguments[P];for(var $ in I)if(Object.prototype.hasOwnProperty.call(I,$))v[$]=I[$]}return v};R=function(v,I){var P={};for(var R in v)if(Object.prototype.hasOwnProperty.call(v,R)&&I.indexOf(R)<0)P[R]=v[R];if(v!=null&&typeof Object.getOwnPropertySymbols==="function")for(var $=0,R=Object.getOwnPropertySymbols(v);$<R.length;$++){if(I.indexOf(R[$])<0&&Object.prototype.propertyIsEnumerable.call(v,R[$]))P[R[$]]=v[R[$]]}return P};$=function(v,I,P,R){var $=arguments.length,L=$<3?I:R===null?R=Object.getOwnPropertyDescriptor(I,P):R,q;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")L=Reflect.decorate(v,I,P,R);else for(var K=v.length-1;K>=0;K--)if(q=v[K])L=($<3?q(L):$>3?q(I,P,L):q(I,P))||L;return $>3&&L&&Object.defineProperty(I,P,L),L};L=function(v,I){return function(P,R){I(P,R,v)}};q=function(v,I){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(v,I)};K=function(v,I,P,R){function adopt(v){return v instanceof P?v:new P((function(I){I(v)}))}return new(P||(P=Promise))((function(P,$){function fulfilled(v){try{step(R.next(v))}catch(v){$(v)}}function rejected(v){try{step(R["throw"](v))}catch(v){$(v)}}function step(v){v.done?P(v.value):adopt(v.value).then(fulfilled,rejected)}step((R=R.apply(v,I||[])).next())}))};ae=function(v,I){var P={label:0,sent:function(){if(L[0]&1)throw L[1];return L[1]},trys:[],ops:[]},R,$,L,q;return q={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(q[Symbol.iterator]=function(){return this}),q;function verb(v){return function(I){return step([v,I])}}function step(q){if(R)throw new TypeError("Generator is already executing.");while(P)try{if(R=1,$&&(L=q[0]&2?$["return"]:q[0]?$["throw"]||((L=$["return"])&&L.call($),0):$.next)&&!(L=L.call($,q[1])).done)return L;if($=0,L)q=[q[0]&2,L.value];switch(q[0]){case 0:case 1:L=q;break;case 4:P.label++;return{value:q[1],done:false};case 5:P.label++;$=q[1];q=[0];continue;case 7:q=P.ops.pop();P.trys.pop();continue;default:if(!(L=P.trys,L=L.length>0&&L[L.length-1])&&(q[0]===6||q[0]===2)){P=0;continue}if(q[0]===3&&(!L||q[1]>L[0]&&q[1]<L[3])){P.label=q[1];break}if(q[0]===6&&P.label<L[1]){P.label=L[1];L=q;break}if(L&&P.label<L[2]){P.label=L[2];P.ops.push(q);break}if(L[2])P.ops.pop();P.trys.pop();continue}q=I.call(v,P)}catch(v){q=[6,v];$=0}finally{R=L=0}if(q[0]&5)throw q[1];return{value:q[0]?q[1]:void 0,done:true}}};et=function(v,I,P,R){if(R===undefined)R=P;v[R]=I[P]};ge=function(v,I){for(var P in v)if(P!=="default"&&!I.hasOwnProperty(P))I[P]=v[P]};be=function(v){var I=typeof Symbol==="function"&&Symbol.iterator,P=I&&v[I],R=0;if(P)return P.call(v);if(v&&typeof v.length==="number")return{next:function(){if(v&&R>=v.length)v=void 0;return{value:v&&v[R++],done:!v}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")};xe=function(v,I){var P=typeof Symbol==="function"&&v[Symbol.iterator];if(!P)return v;var R=P.call(v),$,L=[],q;try{while((I===void 0||I-- >0)&&!($=R.next()).done)L.push($.value)}catch(v){q={error:v}}finally{t
|