mirror of
https://github.com/bakhirev/assayo.git
synced 2024-11-17 00:31:20 +00:00
3 lines
675 KiB
JavaScript
3 lines
675 KiB
JavaScript
|
/*! For license information please see main.b114e843.js.LICENSE.txt */
|
||
|
(function(){"use strict";var __webpack_modules__={806:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{BE:function(){return getStringFromFileList},C4:function(){return getShowDropZone},IM:function(){return getStringsForParser},ae:function(){return getOnDrop}});var C_work_assayo_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(165),C_work_assayo_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(433),C_work_assayo_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(861);function getStringsForParser(text){var temp=window.report;window.report=[];var firstText=text.slice(0,12);if("report.push("===firstText)try{eval(text)}catch(e){return void(window.report=temp)}else window.report=text.split("\n");return window.report}function getStringFromFileList(e){return _getStringFromFileList.apply(this,arguments)}function _getStringFromFileList(){return(_getStringFromFileList=(0,C_work_assayo_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.Z)((0,C_work_assayo_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__.Z)().mark((function e(t){var n;return(0,C_work_assayo_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(t.map((function(e){return e.text()})));case 2:return n=e.sent,e.abrupt("return",n.filter((function(e){return e})).map((function(e){return{key:e.substring(13,32),text:e}})).sort((function(e,t){return(e.key||"").localeCompare(t.key||"")})).map((function(e){return e.text})).join("\n"));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function getOnDrop(e,t){return function(){var n=(0,C_work_assayo_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.Z)((0,C_work_assayo_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__.Z)().mark((function n(r){var a,i,o,s;return(0,C_work_assayo_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r.preventDefault(),r.stopPropagation(),i=(0,C_work_assayo_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__.Z)((null===r||void 0===r||null===(a=r.dataTransfer)||void 0===a?void 0:a.items)||[]).map((function(e){return"file"===e.kind?null===e||void 0===e?void 0:e.getAsFile():null})).filter((function(e){return e})),e(!1),i.length){n.next=6;break}return n.abrupt("return");case 6:return n.next=8,getStringFromFileList(i);case 8:o=n.sent,s=getStringsForParser(o),t("dump",s);case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}function getShowDropZone(e){return function(t){t.preventDefault(),t.stopPropagation(),e(!0)}}},463:function(e,t,n){var r=n(791),a=n(296);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)o.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,m={},f={};functi
|
||
|
//# sourceMappingURL=main.b114e843.js.map
|