web-component-wrapper 0.0.618 → 0.0.620
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.
- package/dist/ReactWeb.js +18 -6
- package/dist/Web.js +18 -6
- package/dist/bundle/ReactWeb.js +398 -385
- package/dist/bundle/Web.js +398 -385
- package/dist/bundle/compatible/ReactWeb.js +401 -388
- package/dist/bundle/compatible/Web.js +400 -387
- package/dist/bundle/compatible/decorator.js +391 -382
- package/dist/bundle/compatible/index.js +402 -389
- package/dist/bundle/decorator.js +390 -381
- package/dist/bundle/index.js +398 -385
- package/dist/compatible/ReactWeb.js +21 -9
- package/dist/compatible/Web.js +20 -8
- package/dist/compatible/decorator.js +11 -3
- package/dist/compatible/index.js +22 -10
- package/dist/decorator.js +10 -2
- package/dist/index.js +18 -6
- package/package.json +11 -11
package/dist/bundle/decorator.js
CHANGED
|
@@ -772,22 +772,22 @@ __nested_webpack_require_5927__.r(__nested_webpack_exports__);
|
|
|
772
772
|
naming 3.0 unported license.
|
|
773
773
|
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
774
774
|
endregion
|
|
775
|
-
*/function
|
|
776
|
-
new Function("import(\"data:text/javascript,\")");return true}catch(_unused){return false}};var currentRequire=typeof globalContext.require==="undefined"?null:globalContext.require;var optionalRequire;var setOptionalRequire=function setOptionalRequire(localCurrentRequire){optionalRequire=function optionalRequire(id){try{return localCurrentRequire?localCurrentRequire(id):null}catch(_unused2){return null}}};setOptionalRequire(currentRequire);// Make preprocessed require function available at runtime.
|
|
775
|
+
*/function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},_regeneratorDefine2(e,r,n,t)}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}}function _slicedToArray(r,e){return _iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}function _iterableToArrayLimit(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(Array.isArray(r)&&(null==e||e===("undefined"!=typeof Symbol&&[][Symbol.iterator])||e===[]["@@iterator"]))return r;if(null!=e){var l,n,i,a,u=[],o=!0,f=!1;try{if(i=(e=e.call(r)).next,0===t){if(Object(e)!==e)return;o=!1}else for(;!(o=(l=i.call(e)).done)&&(u.push(l.value),u.length!==t);o=!0);}catch(r){f=!0,n=r}finally{try{if(!o&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(f)throw n}}return u}}var determineGlobalContext=function determineGlobalContext(){if(typeof globalThis==="undefined"){if(typeof window==="undefined"){if(typeof __nested_webpack_require_5927__.g==="undefined")return false?0:module;if(Object.prototype.hasOwnProperty.call(__nested_webpack_require_5927__.g,"window"))return __nested_webpack_require_5927__.g.window;return __nested_webpack_require_5927__.g}return window}return globalThis};var globalContext=determineGlobalContext();var currentRequire=typeof globalContext.require==="undefined"?null:globalContext.require;var optionalRequire;var setOptionalRequire=function setOptionalRequire(localCurrentRequire){optionalRequire=function optionalRequire(id){try{return localCurrentRequire?localCurrentRequire(id):null}catch(_unused){return null}}};setOptionalRequire(currentRequire);var clearRequireCache=function clearRequireCache(cache){if(cache===void 0){var _currentRequire;cache=((_currentRequire=currentRequire)===null||_currentRequire===void 0?void 0:_currentRequire.cache)||__nested_webpack_require_5927__.c}var backup={};for(var _i=0,_Object$entries=Object.entries(cache);_i<_Object$entries.length;_i++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i],2),key=_Object$entries$_i[0],_module=_Object$entries$_i[1];backup[key]=_module;delete cache[key]}return backup};// Make preprocessed require function available at runtime.
|
|
777
776
|
var getCurrentRequire=/*#__PURE__*/function(){var _getCurrentRequire=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(){var _yield$Function,createRequire,_t;return _regenerator().w(function(_context){while(1)switch(_context.p=_context.n){case 0:if(!currentRequire){_context.n=1;break}return _context.a(2,currentRequire);case 1:_context.p=1;_context.n=2;return new Function("return import(\"node:module\")")();case 2:_yield$Function=_context.v;createRequire=_yield$Function.createRequire;/*
|
|
778
777
|
eslint-enable
|
|
779
778
|
@typescript-eslint/no-implied-eval,
|
|
780
779
|
@typescript-eslint/no-unsafe-call
|
|
781
780
|
*/// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
782
|
-
currentRequire=createRequire("file:///__w/web-component-wrapper/web-component-wrapper/node_modules/clientnode/dist/index.js");setOptionalRequire(currentRequire);return _context.a(2,currentRequire);case 3:_context.p=3;_t=_context.v;console.error(_t);return _context.a(2,null)}},_callee,null,[[1,3]])}));function getCurrentRequire(){return _getCurrentRequire.apply(this,arguments)}return getCurrentRequire}();var
|
|
783
|
-
}catch(
|
|
781
|
+
currentRequire=createRequire("file:///__w/web-component-wrapper/web-component-wrapper/node_modules/clientnode/dist/index.js");setOptionalRequire(currentRequire);return _context.a(2,currentRequire);case 3:_context.p=3;_t=_context.v;console.error(_t);return _context.a(2,null)}},_callee,null,[[1,3]])}));function getCurrentRequire(){return _getCurrentRequire.apply(this,arguments)}return getCurrentRequire}();var isImportSyntaxSupported=function isImportSyntaxSupported(){try{// eslint-disable-next-line @typescript-eslint/no-implied-eval
|
|
782
|
+
new Function("import(\"data:text/javascript,\")");return true}catch(_unused2){return false}};var isolatedRequire=function isolatedRequire(path,requireFunction){if(requireFunction===void 0){requireFunction=currentRequire||__nested_webpack_require_5927__(6)}var backup=clearRequireCache(requireFunction.cache);try{return requireFunction(path);// eslint-disable-next-line no-useless-catch
|
|
783
|
+
}catch(error){throw error}finally{restoreRequireCache(requireFunction.cache,backup)}};var optionalImport=/*#__PURE__*/function(){var _optionalImport=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(id,options){var _t2,_t3;return _regenerator().w(function(_context2){while(1)switch(_context2.p=_context2.n){case 0:if(options===void 0){options={}}_context2.p=1;if(!isImportSyntaxSupported()){_context2.n=3;break}_context2.n=2;return new Function("options","return import('".concat(id,"', options)"))(options);case 2:_t2=_context2.v;_context2.n=5;break;case 3:_context2.n=4;return Promise.resolve(null);case 4:_t2=_context2.v;case 5:return _context2.a(2,_t2);case 6:_context2.p=6;_t3=_context2.v;_context2.n=7;return Promise.resolve(null);case 7:return _context2.a(2,_context2.v)}},_callee2,null,[[1,6]])}));function optionalImport(_x,_x2){return _optionalImport.apply(this,arguments)}return optionalImport}();var restoreRequireCache=function restoreRequireCache(cache,backup){if(cache===void 0){var _currentRequire2;cache=((_currentRequire2=currentRequire)===null||_currentRequire2===void 0?void 0:_currentRequire2.cache)||__nested_webpack_require_5927__.c}clearRequireCache();for(var _i2=0,_Object$entries2=Object.entries(backup);_i2<_Object$entries2.length;_i2++){var _Object$entries2$_i=_slicedToArray(_Object$entries2[_i2],2),key=_Object$entries2$_i[0],_module2=_Object$entries2$_i[1];cache[key]=_module2}};
|
|
784
784
|
|
|
785
785
|
/***/ }),
|
|
786
786
|
/* 3 */
|
|
787
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
787
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_16177__) {
|
|
788
788
|
|
|
789
|
-
|
|
790
|
-
/* harmony export */
|
|
789
|
+
__nested_webpack_require_16177__.r(__nested_webpack_exports__);
|
|
790
|
+
/* harmony export */ __nested_webpack_require_16177__.d(__nested_webpack_exports__, {
|
|
791
791
|
/* harmony export */ C: function() { return /* binding */ _copy; },
|
|
792
792
|
/* harmony export */ Do: function() { return /* binding */ _represent; },
|
|
793
793
|
/* harmony export */ J3: function() { return /* binding */ evaluateDynamicData; },
|
|
@@ -808,12 +808,12 @@ __nested_webpack_require_16137__.r(__nested_webpack_exports__);
|
|
|
808
808
|
/* harmony export */ uu: function() { return /* binding */ _removeKeyPrefixes; },
|
|
809
809
|
/* harmony export */ zP: function() { return /* binding */ convertCircularObjectToJSON; }
|
|
810
810
|
/* harmony export */ });
|
|
811
|
-
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
812
|
-
/* harmony import */ var core_js_modules_es_regexp_flags_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
813
|
-
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_2__ =
|
|
814
|
-
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_3__ =
|
|
815
|
-
/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_4__ =
|
|
816
|
-
/* harmony import */ var _string_js__WEBPACK_IMPORTED_MODULE_5__ =
|
|
811
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_16177__(0);
|
|
812
|
+
/* harmony import */ var core_js_modules_es_regexp_flags_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_16177__(8);
|
|
813
|
+
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_16177__(1);
|
|
814
|
+
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_16177__(4);
|
|
815
|
+
/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_16177__(9);
|
|
816
|
+
/* harmony import */ var _string_js__WEBPACK_IMPORTED_MODULE_5__ = __nested_webpack_require_16177__(7);
|
|
817
817
|
// #!/usr/bin/env babel-node
|
|
818
818
|
// -*- coding: utf-8 -*-
|
|
819
819
|
/** @module object *//* !
|
|
@@ -829,7 +829,7 @@ __nested_webpack_require_16137__.r(__nested_webpack_exports__);
|
|
|
829
829
|
naming 3.0 unported license.
|
|
830
830
|
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
831
831
|
endregion
|
|
832
|
-
*/function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(r){
|
|
832
|
+
*/function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(r){var e="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(Array.isArray(r)&&(null==e||e===("undefined"!=typeof Symbol&&[][Symbol.iterator])||e===[]["@@iterator"]))return r;if(null!=e){for(var t,o=[],a=e.call(r);!(t=a.next()).done;)o.push(t.value);return o}}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},_regeneratorDefine2(e,r,n,t)}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+""}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var r;if("undefined"!=typeof Symbol&&void 0!==(r=t[Symbol.toPrimitive])){var i=r.call(t,e||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)};function _slicedToArray(r,e){return _iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(Array.isArray(r)&&(null==e||e===("undefined"!=typeof Symbol&&[][Symbol.iterator])||e===[]["@@iterator"]))return r;if(null!=e){var l,n,i,a,u=[],o=!0,f=!1;try{if(i=(e=e.call(r)).next,0===t){if(Object(e)!==e)return;o=!1}else for(;!(o=(l=i.call(e)).done)&&(u.push(l.value),u.length!==t);o=!0);}catch(r){f=!0,n=r}finally{try{if(!o&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(f)throw n}}return u}}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,u=!0;return{s:function s(){t=t.call(r)},n:function n(){u=!0;var r=t.next();return r.done?{done:!0}:{value:r.value,done:u=!1}},e:function e(r){o=!0,a=r},f:function f(){try{u||null==t.return||t.return()}finally{if(o)throw a}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)};/**
|
|
833
833
|
* Adds dynamic getter and setter to any given data structure such as maps.
|
|
834
834
|
* @param object - Object to proxy.
|
|
835
835
|
* @param getterWrapper - Function to wrap each property get.
|
|
@@ -929,6 +929,19 @@ if(subPromises.length)promises.push(new Promise(function(resolve){Promise.all(su
|
|
|
929
929
|
var doBreak=false;var _iterator14=_createForOfIteratorHelper(options.exceptionPrefixes),_step14;try{for(_iterator14.s();!(_step14=_iterator14.n()).done;){var exceptionPrefix=_step14.value;if(key.startsWith(exceptionPrefix)){doBreak=true;break}}}catch(err){_iterator14.e(err)}finally{_iterator14.f()}if(doBreak)return 0;// break
|
|
930
930
|
if(options.deep!==0){var result=_equals(value,second[key],_objectSpread(_objectSpread({},options),{},{deep:options.deep-1}));if(!result)return{v:false};var determineResult=function determineResult(result){var _$$result$3;return typeof result==="string"?key+((_$$result$3={"[":"",">":" "}[result[0]])!==null&&_$$result$3!==void 0?_$$result$3:".")+result:result};if(Object.prototype.hasOwnProperty.call(result,"then"))promises.push(result.then(determineResult));if(typeof result==="string")return{v:determineResult(result)}}},_ret5;for(var _i13=0,_Object$entries7=Object.entries(first);_i13<_Object$entries7.length;_i13++){_ret5=_loop5();if(_ret5===0)break;if(_ret5)return _ret5.v}}}if(promises.length)return new Promise(function(resolve){Promise.all(promises).then(function(results){var _iterator15=_createForOfIteratorHelper(results),_step15;try{for(_iterator15.s();!(_step15=_iterator15.n()).done;){var result=_step15.value;if(!result||typeof result==="string"){resolve(result);break}}}catch(err){_iterator15.e(err)}finally{_iterator15.f()}resolve(true)},function(){// Do nothing.
|
|
931
931
|
})});return true}return options.returnReasonIfNotEqual?">>> ".concat(_represent(firstValue)," !== ").concat(_represent(secondValue)):false};/**
|
|
932
|
+
* Searches for indicating keys and replaces that data with corresponding
|
|
933
|
+
* evaluated and promise resolved value.
|
|
934
|
+
* @param data - Given mapping to resolve.
|
|
935
|
+
* @param givenOptions - Options to configure evaluation.
|
|
936
|
+
* @param givenOptions.scope - Scope to use evaluate again.
|
|
937
|
+
* @param givenOptions.selfReferenceName - Name to use for reference to given
|
|
938
|
+
* object.
|
|
939
|
+
* @param givenOptions.expressionIndicatorKey - Indicator property name to mark
|
|
940
|
+
* a value to evaluate.
|
|
941
|
+
* @param givenOptions.executionIndicatorKey - Indicator property name to mark
|
|
942
|
+
* a value to evaluate.
|
|
943
|
+
* @returns Evaluated given mapping.
|
|
944
|
+
*/var _evaluateAsyncDynamicData=/*#__PURE__*/function(){var _evaluateAsyncDynamicData2=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(data,givenOptions){var options,result,index,_iterator16,_step16,item,_i14,_Object$entries8,_Object$entries8$_i,key,value,_t;return _regenerator().w(function(_context){while(1)switch(_context.p=_context.n){case 0:if(givenOptions===void 0){givenOptions={}}options=_objectSpread({scope:{},selfReferenceName:"self",expressionIndicatorKey:"__async_evaluate__",executionIndicatorKey:"__async_execute__"},givenOptions);if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_3__/* .isObject */ .Gv)(data)){_context.n=1;break}return _context.a(2,data);case 1:if(!(options.selfReferenceName in options.scope))options.scope[options.selfReferenceName]=data;result=data;if(!Array.isArray(data)){_context.n=10;break}index=0;_iterator16=_createForOfIteratorHelper(data);_context.p=2;_iterator16.s();case 3:if((_step16=_iterator16.n()).done){_context.n=6;break}item=_step16.value;_context.n=4;return _evaluateAsyncDynamicData(item,options);case 4:result[index]=_context.v;index+=1;case 5:_context.n=3;break;case 6:_context.n=8;break;case 7:_context.p=7;_t=_context.v;_iterator16.e(_t);case 8:_context.p=8;_iterator16.f();return _context.f(8);case 9:return _context.a(2,result);case 10:_i14=0,_Object$entries8=Object.entries(data);case 11:if(!(_i14<_Object$entries8.length)){_context.n=16;break}_Object$entries8$_i=_slicedToArray(_Object$entries8[_i14],2),key=_Object$entries8$_i[0],value=_Object$entries8$_i[1];if(![options.expressionIndicatorKey,options.executionIndicatorKey].includes(key)){_context.n=13;break}_context.n=12;return (0,_string_js__WEBPACK_IMPORTED_MODULE_5__/* .evaluateOrThrowError */ .VK)(value,{scope:options.scope,async:true,execute:key===options.executionIndicatorKey});case 12:return _context.a(2,_context.v);case 13:_context.n=14;return _evaluateAsyncDynamicData(value,options);case 14:result[key]=_context.v;case 15:_i14++;_context.n=11;break;case 16:return _context.a(2,result)}},_callee,null,[[2,7,8,9]])}));function evaluateAsyncDynamicData(_x,_x2){return _evaluateAsyncDynamicData2.apply(this,arguments)}return evaluateAsyncDynamicData}();/**
|
|
932
945
|
* Wraps given data structure into proxies recursively to evaluate and resolve
|
|
933
946
|
* each get request to data having an object with indicating keys and replaces
|
|
934
947
|
* that object with corresponding evaluated values. All nested objects are
|
|
@@ -943,7 +956,7 @@ if(options.deep!==0){var result=_equals(value,second[key],_objectSpread(_objectS
|
|
|
943
956
|
* @param givenOptions.executionIndicatorKey - Indicator property name to mark
|
|
944
957
|
* a value to evaluate.
|
|
945
958
|
* @returns Evaluated given mapping.
|
|
946
|
-
*/var evaluateDynamicData=function evaluateDynamicData(object,givenOptions){if(givenOptions===void 0){givenOptions={}}var options=_objectSpread({scope:{},selfReferenceName:"self",expressionIndicatorKey:"__evaluate__",executionIndicatorKey:"__execute__"},givenOptions);if(_typeof(object)!=="object"||object===null)return object;if(!(options.selfReferenceName in options.scope))options.scope[options.selfReferenceName]=object;var internalEvaluateAndThrowError=function internalEvaluateAndThrowError(code,type){if(type===void 0){type=options.expressionIndicatorKey}return (0,_string_js__WEBPACK_IMPORTED_MODULE_5__/* .evaluateOrThrowError */ .VK)(code,{scope:options.scope,async:false,execute:type===options.executionIndicatorKey})};var _addProxyRecursively=function addProxyRecursively(data){if(_typeof(data)!=="object"||data===null||typeof Proxy==="undefined")return data;for(var
|
|
959
|
+
*/var evaluateDynamicData=function evaluateDynamicData(object,givenOptions){if(givenOptions===void 0){givenOptions={}}var options=_objectSpread({scope:{},selfReferenceName:"self",expressionIndicatorKey:"__evaluate__",executionIndicatorKey:"__execute__"},givenOptions);if(_typeof(object)!=="object"||object===null)return object;if(!(options.selfReferenceName in options.scope))options.scope[options.selfReferenceName]=object;var internalEvaluateAndThrowError=function internalEvaluateAndThrowError(code,type){if(type===void 0){type=options.expressionIndicatorKey}return (0,_string_js__WEBPACK_IMPORTED_MODULE_5__/* .evaluateOrThrowError */ .VK)(code,{scope:options.scope,async:false,execute:type===options.executionIndicatorKey})};var _addProxyRecursively=function addProxyRecursively(data){if(_typeof(data)!=="object"||data===null||typeof Proxy==="undefined")return data;for(var _i15=0,_Object$entries9=Object.entries(data);_i15<_Object$entries9.length;_i15++){var _Object$entries9$_i=_slicedToArray(_Object$entries9[_i15],2),key=_Object$entries9$_i[0],givenValue=_Object$entries9$_i[1];if(key!=="__target__"&&(0,_indicators_js__WEBPACK_IMPORTED_MODULE_3__/* .isObject */ .Gv)(givenValue)){var value=givenValue;_addProxyRecursively(value);// NOTE: We only wrap needed objects for performance reasons.
|
|
947
960
|
if(Object.prototype.hasOwnProperty.call(value,options.expressionIndicatorKey)||Object.prototype.hasOwnProperty.call(value,options.executionIndicatorKey)){var backup=value;data[key]=new Proxy(value,{get:function get(target,key){if(key==="__target__")return target;if(key==="hasOwnProperty")/*
|
|
948
961
|
eslint-disable
|
|
949
962
|
@typescript-eslint/unbound-method
|
|
@@ -953,7 +966,7 @@ if(Object.prototype.hasOwnProperty.call(value,options.expressionIndicatorKey)||O
|
|
|
953
966
|
*//*
|
|
954
967
|
NOTE: Very complicated section, do only
|
|
955
968
|
changes while having good tests.
|
|
956
|
-
*/for(var
|
|
969
|
+
*/for(var _i16=0,_arr6=[options.expressionIndicatorKey,options.executionIndicatorKey];_i16<_arr6.length;_i16++){var type=_arr6[_i16];if(key===type&&typeof target[key]==="string")return _resolve(internalEvaluateAndThrowError(target[key],type))}var resolvedTarget=_resolve(target);if(key==="toString"){var result=internalEvaluateAndThrowError(resolvedTarget);return result[key].bind(result)}if(typeof key!=="string"){var _result$key;var _result=internalEvaluateAndThrowError(resolvedTarget);if((_result$key=_result[key])!==null&&_result$key!==void 0&&_result$key.bind)return _result[key].bind(_result);return _result[key]}for(var _i17=0,_arr7=[options.expressionIndicatorKey,options.executionIndicatorKey];_i17<_arr7.length;_i17++){var _type=_arr7[_i17];if(Object.prototype.hasOwnProperty.call(target,_type)){var _result2=internalEvaluateAndThrowError(target[_type],_type);/*
|
|
957
970
|
NOTE: Resolving the whole
|
|
958
971
|
evaluated result could re-enter
|
|
959
972
|
the currently running evaluation
|
|
@@ -961,24 +974,11 @@ if(Object.prototype.hasOwnProperty.call(value,options.expressionIndicatorKey)||O
|
|
|
961
974
|
dynamic values) so only the
|
|
962
975
|
accessed value gets resolved.
|
|
963
976
|
*/var _value13=_resolve(_result2[key]);if(_value13!==null&&_value13!==void 0&&_value13.bind)return _value13.bind(_result2);return _value13}}return resolvedTarget[key];// End of complicated stuff.
|
|
964
|
-
},ownKeys:function ownKeys(target){for(var
|
|
977
|
+
},ownKeys:function ownKeys(target){for(var _i18=0,_arr8=[options.expressionIndicatorKey,options.executionIndicatorKey];_i18<_arr8.length;_i18++){var type=_arr8[_i18];if(Object.prototype.hasOwnProperty.call(target,type))return Object.getOwnPropertyNames(_resolve(internalEvaluateAndThrowError(target[type],type)))}return Object.getOwnPropertyNames(target)}});/*
|
|
965
978
|
NOTE: Known proxy polyfills does not provide the
|
|
966
979
|
"__target__" api.
|
|
967
980
|
*/if(!data[key].__target__)data[key].__target__=backup}}}return data};var _resolve=function resolve(data){if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_3__/* .isObject */ .Gv)(data)){if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_3__/* .isProxy */ .ju)(data)){// NOTE: We have to skip "ownKeys" proxy trap here.
|
|
968
|
-
for(var
|
|
969
|
-
* Searches for indicating keys and replaces that data with corresponding
|
|
970
|
-
* evaluated and promise resolved value.
|
|
971
|
-
* @param data - Given mapping to resolve.
|
|
972
|
-
* @param givenOptions - Options to configure evaluation.
|
|
973
|
-
* @param givenOptions.scope - Scope to use evaluate again.
|
|
974
|
-
* @param givenOptions.selfReferenceName - Name to use for reference to given
|
|
975
|
-
* object.
|
|
976
|
-
* @param givenOptions.expressionIndicatorKey - Indicator property name to mark
|
|
977
|
-
* a value to evaluate.
|
|
978
|
-
* @param givenOptions.executionIndicatorKey - Indicator property name to mark
|
|
979
|
-
* a value to evaluate.
|
|
980
|
-
* @returns Evaluated given mapping.
|
|
981
|
-
*/var _evaluateAsyncDynamicData=/*#__PURE__*/function(){var _evaluateAsyncDynamicData2=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(data,givenOptions){var options,result,index,_iterator16,_step16,item,_i21,_Object$entries1,_Object$entries1$_i,key,value,_t;return _regenerator().w(function(_context){while(1)switch(_context.p=_context.n){case 0:if(givenOptions===void 0){givenOptions={}}options=_objectSpread({scope:{},selfReferenceName:"self",expressionIndicatorKey:"__async_evaluate__",executionIndicatorKey:"__async_execute__"},givenOptions);if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_3__/* .isObject */ .Gv)(data)){_context.n=1;break}return _context.a(2,data);case 1:if(!(options.selfReferenceName in options.scope))options.scope[options.selfReferenceName]=data;result=data;if(!Array.isArray(data)){_context.n=10;break}index=0;_iterator16=_createForOfIteratorHelper(data);_context.p=2;_iterator16.s();case 3:if((_step16=_iterator16.n()).done){_context.n=6;break}item=_step16.value;_context.n=4;return _evaluateAsyncDynamicData(item,options);case 4:result[index]=_context.v;index+=1;case 5:_context.n=3;break;case 6:_context.n=8;break;case 7:_context.p=7;_t=_context.v;_iterator16.e(_t);case 8:_context.p=8;_iterator16.f();return _context.f(8);case 9:return _context.a(2,result);case 10:_i21=0,_Object$entries1=Object.entries(data);case 11:if(!(_i21<_Object$entries1.length)){_context.n=16;break}_Object$entries1$_i=_slicedToArray(_Object$entries1[_i21],2),key=_Object$entries1$_i[0],value=_Object$entries1$_i[1];if(![options.expressionIndicatorKey,options.executionIndicatorKey].includes(key)){_context.n=13;break}_context.n=12;return (0,_string_js__WEBPACK_IMPORTED_MODULE_5__/* .evaluateOrThrowError */ .VK)(value,{scope:options.scope,async:true,execute:key===options.executionIndicatorKey});case 12:return _context.a(2,_context.v);case 13:_context.n=14;return _evaluateAsyncDynamicData(value,options);case 14:result[key]=_context.v;case 15:_i21++;_context.n=11;break;case 16:return _context.a(2,result)}},_callee,null,[[2,7,8,9]])}));function evaluateAsyncDynamicData(_x,_x2){return _evaluateAsyncDynamicData2.apply(this,arguments)}return evaluateAsyncDynamicData}();/**
|
|
981
|
+
for(var _i19=0,_arr9=[options.expressionIndicatorKey,options.executionIndicatorKey];_i19<_arr9.length;_i19++){var type=_arr9[_i19];if(Object.prototype.hasOwnProperty.call(data,type))return data[type]}data=data.__target__}for(var _i20=0,_Object$entries0=Object.entries(data);_i20<_Object$entries0.length;_i20++){var _Object$entries0$_i=_slicedToArray(_Object$entries0[_i20],2),key=_Object$entries0$_i[0],value=_Object$entries0$_i[1];if([options.expressionIndicatorKey,options.executionIndicatorKey].includes(key)){if(typeof Proxy==="undefined")return _resolve(internalEvaluateAndThrowError(value));return value}data[key]=_resolve(value)}}return data};options.scope.resolve=_resolve;var _removeProxyRecursively=function removeProxyRecursively(data){if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_3__/* .isObject */ .Gv)(data))for(var _i21=0,_Object$entries1=Object.entries(data);_i21<_Object$entries1.length;_i21++){var _Object$entries1$_i=_slicedToArray(_Object$entries1[_i21],2),key=_Object$entries1$_i[0],value=_Object$entries1$_i[1];if(key!=="__target__"&&value!==null&&["function","undefined"].includes(_typeof(value))){var target=value.__target__;if(typeof target!=="undefined")data[key]=target;_removeProxyRecursively(value)}}return data};if(Object.prototype.hasOwnProperty.call(object,options.expressionIndicatorKey))return internalEvaluateAndThrowError(object[options.expressionIndicatorKey]);else if(Object.prototype.hasOwnProperty.call(object,options.executionIndicatorKey))return internalEvaluateAndThrowError(object[options.executionIndicatorKey],options.executionIndicatorKey);return _removeProxyRecursively(_resolve(_addProxyRecursively(object)))};/**
|
|
982
982
|
* Removes properties in objects where a dynamic indicator lives.
|
|
983
983
|
* @param data - Object to traverse recursively.
|
|
984
984
|
* @param expressionIndicators - Property key to remove.
|
|
@@ -1061,10 +1061,10 @@ result=object;if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject
|
|
|
1061
1061
|
|
|
1062
1062
|
/***/ }),
|
|
1063
1063
|
/* 4 */
|
|
1064
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
1064
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_85685__) {
|
|
1065
1065
|
|
|
1066
|
-
|
|
1067
|
-
/* harmony export */
|
|
1066
|
+
__nested_webpack_require_85685__.r(__nested_webpack_exports__);
|
|
1067
|
+
/* harmony export */ __nested_webpack_require_85685__.d(__nested_webpack_exports__, {
|
|
1068
1068
|
/* harmony export */ GP: function() { return /* binding */ isAnyMatching; },
|
|
1069
1069
|
/* harmony export */ Gv: function() { return /* binding */ isObject; },
|
|
1070
1070
|
/* harmony export */ Qd: function() { return /* binding */ isPlainObject; },
|
|
@@ -1076,9 +1076,9 @@ __nested_webpack_require_85433__.r(__nested_webpack_exports__);
|
|
|
1076
1076
|
/* harmony export */ l6: function() { return /* binding */ isWindow; },
|
|
1077
1077
|
/* harmony export */ vM: function() { return /* binding */ isSet; }
|
|
1078
1078
|
/* harmony export */ });
|
|
1079
|
-
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
1080
|
-
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
1081
|
-
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_2__ =
|
|
1079
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_85685__(0);
|
|
1080
|
+
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_85685__(1);
|
|
1081
|
+
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_85685__(3);
|
|
1082
1082
|
// #!/usr/bin/env babel-node
|
|
1083
1083
|
// -*- coding: utf-8 -*-
|
|
1084
1084
|
/** @module indicators *//* !
|
|
@@ -1094,7 +1094,28 @@ __nested_webpack_require_85433__.r(__nested_webpack_exports__);
|
|
|
1094
1094
|
naming 3.0 unported license.
|
|
1095
1095
|
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
1096
1096
|
endregion
|
|
1097
|
-
*/function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,u=!0;return{s:function s(){t=t.call(r)},n:function n(){u=!0;var r=t.next();return r.done?{done:!0}:{value:r.value,done:u=!1}},e:function e(r){o=!0,a=r},f:function f(){try{u||null==t.return||t.return()}finally{if(o)throw a}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}
|
|
1097
|
+
*/function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)};function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,u=!0;return{s:function s(){t=t.call(r)},n:function n(){u=!0;var r=t.next();return r.done?{done:!0}:{value:r.value,done:u=!1}},e:function e(r){o=!0,a=r},f:function f(){try{u||null==t.return||t.return()}finally{if(o)throw a}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n};/**
|
|
1098
|
+
* Checks whether one of the given pattern matches given string.
|
|
1099
|
+
* @param target - Target to check in pattern for.
|
|
1100
|
+
* @param pattern - List of pattern to check for.
|
|
1101
|
+
* @returns Value "true" if given object is matches by at leas one of the
|
|
1102
|
+
* given pattern and "false" otherwise.
|
|
1103
|
+
*/var isAnyMatching=function isAnyMatching(target,pattern){var _iterator=_createForOfIteratorHelper(pattern),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var currentPattern=_step.value;if(typeof currentPattern==="string"){if(currentPattern===target)return true}else if(currentPattern.test(target))return true}}catch(err){_iterator.e(err)}finally{_iterator.f()}return false};/**
|
|
1104
|
+
* Checks if given object is similar to an array and can be handled like an
|
|
1105
|
+
* array.
|
|
1106
|
+
* @param object - Object to check behavior for.
|
|
1107
|
+
* @returns A boolean value indicating whether given object is array like.
|
|
1108
|
+
*/var isArrayLike=function isArrayLike(object){var length;try{length=Boolean(object)&&object.length}catch(_unused){return false}var type=(0,_object_js__WEBPACK_IMPORTED_MODULE_2__/* .determineType */ .Sj)(object);if(type==="function"||isWindow(object))return false;if(type==="array"||length===0)return true;if(typeof length==="number"&&length>0)try{var _dump=object[length-1];return true}catch(_unused2){// Continue regardless of an error.
|
|
1109
|
+
}return false};/**
|
|
1110
|
+
* Checks whether given object is a function.
|
|
1111
|
+
* @param value - Value to check.
|
|
1112
|
+
* @returns Value "true" if given object is a function and "false"
|
|
1113
|
+
* otherwise.
|
|
1114
|
+
*/var isFunction=function isFunction(value){return Boolean(value)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(value))};/**
|
|
1115
|
+
* Checks whether given object is a map.
|
|
1116
|
+
* @param value - Value to check.
|
|
1117
|
+
* @returns Value "true" if given object is a map and "false" otherwise.
|
|
1118
|
+
*/var isMap=function isMap(value){return (0,_object_js__WEBPACK_IMPORTED_MODULE_2__/* .determineType */ .Sj)(value)==="map"};/**
|
|
1098
1119
|
* Determines whether its argument represents a JavaScript number.
|
|
1099
1120
|
* @param value - Value to analyze.
|
|
1100
1121
|
* @returns A boolean value indicating whether given object is numeric
|
|
@@ -1104,22 +1125,6 @@ __nested_webpack_require_85433__.r(__nested_webpack_exports__);
|
|
|
1104
1125
|
misinterprets leading-number strings, particularly hex literals
|
|
1105
1126
|
("0x...") subtraction forces infinities to NaN.
|
|
1106
1127
|
*/return["number","string"].includes(type)&&!isNaN(value-parseFloat(value))};/**
|
|
1107
|
-
* Determine whether the argument is a window.
|
|
1108
|
-
* @param value - Value to check for.
|
|
1109
|
-
* @returns Boolean value indicating the result.
|
|
1110
|
-
*/var isWindow=function isWindow(value){return![null,undefined].includes(value)&&_typeof(value)==="object"&&value===(value===null||value===void 0?void 0:value.window)};/**
|
|
1111
|
-
* Checks if given object is similar to an array and can be handled like an
|
|
1112
|
-
* array.
|
|
1113
|
-
* @param object - Object to check behavior for.
|
|
1114
|
-
* @returns A boolean value indicating whether given object is array like.
|
|
1115
|
-
*/var isArrayLike=function isArrayLike(object){var length;try{length=Boolean(object)&&object.length}catch(_unused){return false}var type=(0,_object_js__WEBPACK_IMPORTED_MODULE_2__/* .determineType */ .Sj)(object);if(type==="function"||isWindow(object))return false;if(type==="array"||length===0)return true;if(typeof length==="number"&&length>0)try{var _dump=object[length-1];return true}catch(_unused2){// Continue regardless of an error.
|
|
1116
|
-
}return false};/**
|
|
1117
|
-
* Checks whether one of the given pattern matches given string.
|
|
1118
|
-
* @param target - Target to check in pattern for.
|
|
1119
|
-
* @param pattern - List of pattern to check for.
|
|
1120
|
-
* @returns Value "true" if given object is matches by at leas one of the
|
|
1121
|
-
* given pattern and "false" otherwise.
|
|
1122
|
-
*/var isAnyMatching=function isAnyMatching(target,pattern){var _iterator=_createForOfIteratorHelper(pattern),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var currentPattern=_step.value;if(typeof currentPattern==="string"){if(currentPattern===target)return true}else if(currentPattern.test(target))return true}}catch(err){_iterator.e(err)}finally{_iterator.f()}return false};/**
|
|
1123
1128
|
* Checks whether given object is a native object but not null.
|
|
1124
1129
|
* @param value - Value to check.
|
|
1125
1130
|
* @returns Value "true" if given object is a plain javaScript object and
|
|
@@ -1134,37 +1139,32 @@ __nested_webpack_require_85433__.r(__nested_webpack_exports__);
|
|
|
1134
1139
|
test runners or a worker for example) have their own "Object.prototype"
|
|
1135
1140
|
instance and would not be recognized by the identity check above.
|
|
1136
1141
|
*/return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
|
|
1137
|
-
* Checks whether given object is a set.
|
|
1138
|
-
* @param value - Value to check.
|
|
1139
|
-
* @returns Value "true" if given object is a set and "false" otherwise.
|
|
1140
|
-
*/var isSet=function isSet(value){return (0,_object_js__WEBPACK_IMPORTED_MODULE_2__/* .determineType */ .Sj)(value)==="set"};/**
|
|
1141
|
-
* Checks whether given object is a map.
|
|
1142
|
-
* @param value - Value to check.
|
|
1143
|
-
* @returns Value "true" if given object is a map and "false" otherwise.
|
|
1144
|
-
*/var isMap=function isMap(value){return (0,_object_js__WEBPACK_IMPORTED_MODULE_2__/* .determineType */ .Sj)(value)==="map"};/**
|
|
1145
1142
|
* Checks whether given object is a proxy.
|
|
1146
1143
|
* @param value - Value to check.
|
|
1147
1144
|
* @returns Value "true" if given object is a proxy and "false" otherwise.
|
|
1148
|
-
*/var isProxy=function isProxy(value){return Boolean(value.__target__)};/**
|
|
1149
|
-
* Checks whether given object is a
|
|
1145
|
+
*/var isProxy=function isProxy(value){return Boolean(value===null||value===void 0?void 0:value.__target__)};/**
|
|
1146
|
+
* Checks whether given object is a set.
|
|
1150
1147
|
* @param value - Value to check.
|
|
1151
|
-
* @returns Value "true" if given object is a
|
|
1152
|
-
|
|
1153
|
-
|
|
1148
|
+
* @returns Value "true" if given object is a set and "false" otherwise.
|
|
1149
|
+
*/var isSet=function isSet(value){return (0,_object_js__WEBPACK_IMPORTED_MODULE_2__/* .determineType */ .Sj)(value)==="set"};/**
|
|
1150
|
+
* Determine whether the argument is a window.
|
|
1151
|
+
* @param value - Value to check for.
|
|
1152
|
+
* @returns Boolean value indicating the result.
|
|
1153
|
+
*/var isWindow=function isWindow(value){return![null,undefined].includes(value)&&_typeof(value)==="object"&&value===(value===null||value===void 0?void 0:value.window)};
|
|
1154
1154
|
|
|
1155
1155
|
/***/ }),
|
|
1156
1156
|
/* 5 */
|
|
1157
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
1157
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_93444__) {
|
|
1158
1158
|
|
|
1159
|
-
/* harmony export */
|
|
1159
|
+
/* harmony export */ __nested_webpack_require_93444__.d(__nested_webpack_exports__, {
|
|
1160
1160
|
/* harmony export */ $Q: function() { return /* binding */ MAXIMAL_NUMBER_OF_ITERATIONS; },
|
|
1161
1161
|
/* harmony export */ Lz: function() { return /* binding */ globalContext; },
|
|
1162
1162
|
/* harmony export */ QH: function() { return /* binding */ mockConsole; },
|
|
1163
1163
|
/* harmony export */ tE: function() { return /* binding */ NOOP; },
|
|
1164
1164
|
/* harmony export */ zm: function() { return /* binding */ setGlobalContext; }
|
|
1165
1165
|
/* harmony export */ });
|
|
1166
|
-
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
1167
|
-
/* harmony import */ var _module_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
1166
|
+
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_93444__(1);
|
|
1167
|
+
/* harmony import */ var _module_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_93444__(2);
|
|
1168
1168
|
// #!/usr/bin/env babel-node
|
|
1169
1169
|
// -*- coding: utf-8 -*-
|
|
1170
1170
|
/** @module context *//* !
|
|
@@ -1201,10 +1201,10 @@ module.exports = webpackEmptyContext;
|
|
|
1201
1201
|
|
|
1202
1202
|
/***/ }),
|
|
1203
1203
|
/* 7 */
|
|
1204
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
1204
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_97753__) {
|
|
1205
1205
|
|
|
1206
|
-
|
|
1207
|
-
/* harmony export */
|
|
1206
|
+
__nested_webpack_require_97753__.r(__nested_webpack_exports__);
|
|
1207
|
+
/* harmony export */ __nested_webpack_require_97753__.d(__nested_webpack_exports__, {
|
|
1208
1208
|
/* harmony export */ AB: function() { return /* binding */ limit; },
|
|
1209
1209
|
/* harmony export */ GP: function() { return /* binding */ format; },
|
|
1210
1210
|
/* harmony export */ Gy: function() { return /* binding */ mark; },
|
|
@@ -1246,11 +1246,11 @@ __nested_webpack_require_97464__.r(__nested_webpack_exports__);
|
|
|
1246
1246
|
/* harmony export */ v0: function() { return /* binding */ compressStyleValue; },
|
|
1247
1247
|
/* harmony export */ wE: function() { return /* binding */ compile; }
|
|
1248
1248
|
/* harmony export */ });
|
|
1249
|
-
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
1250
|
-
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
1251
|
-
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_2__ =
|
|
1252
|
-
/* harmony import */ var _filesystem_js__WEBPACK_IMPORTED_MODULE_4__ =
|
|
1253
|
-
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_3__ =
|
|
1249
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_97753__(0);
|
|
1250
|
+
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_97753__(1);
|
|
1251
|
+
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_97753__(5);
|
|
1252
|
+
/* harmony import */ var _filesystem_js__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_97753__(12);
|
|
1253
|
+
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_97753__(3);
|
|
1254
1254
|
// #!/usr/bin/env babel-node
|
|
1255
1255
|
// -*- coding: utf-8 -*-
|
|
1256
1256
|
/** @module string *//* !
|
|
@@ -1267,7 +1267,7 @@ __nested_webpack_require_97464__.r(__nested_webpack_exports__);
|
|
|
1267
1267
|
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
1268
1268
|
endregion
|
|
1269
1269
|
*/// region imports
|
|
1270
|
-
function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _slicedToArray(r,e){return
|
|
1270
|
+
function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _slicedToArray(r,e){return _iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(Array.isArray(r)&&(null==e||e===("undefined"!=typeof Symbol&&[][Symbol.iterator])||e===[]["@@iterator"]))return r;if(null!=e){var l,n,i,a,u=[],o=!0,f=!1;try{if(i=(e=e.call(r)).next,0===t){if(Object(e)!==e)return;o=!1}else for(;!(o=(l=i.call(e)).done)&&(u.push(l.value),u.length!==t);o=!0);}catch(r){f=!0,n=r}finally{try{if(!o&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(f)throw n}}return u}}function _construct(t,e,r){if(_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o));return r&&_setPrototypeOf(p,r.prototype),p}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(r){var e="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(Array.isArray(r)&&(null==e||e===("undefined"!=typeof Symbol&&[][Symbol.iterator])||e===[]["@@iterator"]))return r;if(null!=e){for(var t,o=[],a=e.call(r);!(t=a.next()).done;)o.push(t.value);return o}}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)};function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+""}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var r;if("undefined"!=typeof Symbol&&void 0!==(r=t[Symbol.toPrimitive])){var i=r.call(t,e||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,u=!0;return{s:function s(){t=t.call(r)},n:function n(){u=!0;var r=t.next();return r.done?{done:!0}:{value:r.value,done:u=!1}},e:function e(r){o=!0,a=r},f:function f(){try{u||null==t.return||t.return()}finally{if(o)throw a}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n};// endregion
|
|
1271
1271
|
var KNOWN_DISALLOWED_VARIABLE_NAMES_BUT_OBJECT_KEYS=["default","if","for","class","function","return","const","let","var"];var POLYFILL_TEMPLATE_STRINGS={value:false};// Partial regular expression matching symbols which should be allowed within a
|
|
1272
1272
|
// variable name excluding the first character.
|
|
1273
1273
|
var ALLOWED_VARIABLE_SYMBOLS="0-9a-zA-Z_$";// Partial regular expression matching symbols which should be allowed as
|
|
@@ -1278,23 +1278,13 @@ var ALLOWED_STARTING_VARIABLE_SYMBOLS="a-zA-Z_$";var FIX_ENCODING_ERROR_MAPPING=
|
|
|
1278
1278
|
*/new Function("return Object.getPrototypeOf(async function() {})")().constructor;/*
|
|
1279
1279
|
eslint-enable
|
|
1280
1280
|
@typescript-eslint/no-implied-eval,@typescript-eslint/no-unsafe-call
|
|
1281
|
-
|
|
1282
|
-
* Translates a given string into the regular expression validated
|
|
1283
|
-
* representation.
|
|
1284
|
-
* @param value - String to convert.
|
|
1285
|
-
* @param excludeSymbols - Symbols not to escape.
|
|
1286
|
-
* @returns Converted string.
|
|
1287
|
-
*/var escapeRegularExpressions=function escapeRegularExpressions(value,excludeSymbols){if(excludeSymbols===void 0){excludeSymbols=[]}// NOTE: This is only for performance improvements.
|
|
1288
|
-
if(value.length===1&&!_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .SPECIAL_REGEX_SEQUENCES */ .FI.includes(value))return value;// The escape sequence must also be escaped; but at first.
|
|
1289
|
-
if(!excludeSymbols.includes("\\"))value.replace(/\\/g,"\\\\");var _iterator=_createForOfIteratorHelper(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .SPECIAL_REGEX_SEQUENCES */ .FI),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var replace=_step.value;if(!excludeSymbols.includes(replace))value=value.replace(new RegExp("\\".concat(replace),"g"),"\\".concat(replace))}}catch(err){_iterator.e(err)}finally{_iterator.f()}return value};/**
|
|
1290
|
-
* Translates a given name into a valid JavaScript one.
|
|
1291
|
-
* @param name - Name to convert.
|
|
1292
|
-
* @returns Converted name is returned.
|
|
1293
|
-
*/var convertToValidVariableName=function convertToValidVariableName(name){if(["class","default"].includes(name))return"_".concat(name);return name// Remove all disallowed starting characters.
|
|
1294
|
-
.replace(new RegExp("^[^".concat(ALLOWED_STARTING_VARIABLE_SYMBOLS,"]+")),"")// Remove all disallowed characters within a variable name and make
|
|
1295
|
-
// continuing character upper case.
|
|
1296
|
-
.replace(new RegExp("[^".concat(ALLOWED_VARIABLE_SYMBOLS,"]+([a-zA-Z])"),"g"),function(_fullMatch,firstLetter){return firstLetter.toUpperCase()})};// region url handline
|
|
1281
|
+
*/// region url handling
|
|
1297
1282
|
/**
|
|
1283
|
+
* Appends a path selector to the given path if there isn't one yet.
|
|
1284
|
+
* @param path - The path for appending a selector.
|
|
1285
|
+
* @param pathSeparator - The selector for appending to a path.
|
|
1286
|
+
* @returns The appended path.
|
|
1287
|
+
*/var addSeparatorToPath=function addSeparatorToPath(path,pathSeparator){if(pathSeparator===void 0){pathSeparator="/"}path=path.trim();if(path.substring(path.length-1)!==pathSeparator&&path.length)return path+pathSeparator;return path};/**
|
|
1298
1288
|
* This method is intended for encoding *key* or *value* parts of a query
|
|
1299
1289
|
* component. We need a custom method because "encodeURIComponent()" is too
|
|
1300
1290
|
* aggressive and encodes stuff that doesn't have to be encoded per
|
|
@@ -1304,18 +1294,6 @@ if(!excludeSymbols.includes("\\"))value.replace(/\\/g,"\\\\");var _iterator=_cre
|
|
|
1304
1294
|
* whitespaces as "+" or "%20".
|
|
1305
1295
|
* @returns Encoded given url.
|
|
1306
1296
|
*/var encodeURIComponentExtended=function encodeURIComponentExtended(url,encodeSpaces){if(encodeSpaces===void 0){encodeSpaces=false}return encodeURIComponent(url).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,encodeSpaces?"%20":"+")};/**
|
|
1307
|
-
* Appends a path selector to the given path if there isn't one yet.
|
|
1308
|
-
* @param path - The path for appending a selector.
|
|
1309
|
-
* @param pathSeparator - The selector for appending to a path.
|
|
1310
|
-
* @returns The appended path.
|
|
1311
|
-
*/var addSeparatorToPath=function addSeparatorToPath(path,pathSeparator){if(pathSeparator===void 0){pathSeparator="/"}path=path.trim();if(path.substring(path.length-1)!==pathSeparator&&path.length)return path+pathSeparator;return path};/**
|
|
1312
|
-
* Checks if a given path has given path prefix.
|
|
1313
|
-
* @param prefix - Path prefix to search for.
|
|
1314
|
-
* @param path - Path to search in.
|
|
1315
|
-
* @param separator - Delimiter to use in a path (default is the posix
|
|
1316
|
-
* conform slash).
|
|
1317
|
-
* @returns Value "true" if given prefix occurs and "false" otherwise.
|
|
1318
|
-
*/var hasPathPrefix=function hasPathPrefix(prefix,path,separator){if(prefix===void 0){prefix="/admin"}if(path===void 0){var _globalContext$locati;path=((_globalContext$locati=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location)===null||_globalContext$locati===void 0?void 0:_globalContext$locati.pathname)||""}if(separator===void 0){separator="/"}if(typeof prefix==="string"){if(!prefix.endsWith(separator))prefix+=separator;return path===prefix.substring(0,prefix.length-separator.length)||path.startsWith(prefix)}return false};/**
|
|
1319
1297
|
* Extracts domain name from given url. If no explicit domain name given
|
|
1320
1298
|
* current domain name will be assumed. If no parameter is given, the current
|
|
1321
1299
|
* domain name will be determined.
|
|
@@ -1323,7 +1301,7 @@ if(!excludeSymbols.includes("\\"))value.replace(/\\/g,"\\\\");var _iterator=_cre
|
|
|
1323
1301
|
* @param fallback - The fallback host name if no one exits in given url
|
|
1324
1302
|
* (default is current hostname).
|
|
1325
1303
|
* @returns Extracted domain.
|
|
1326
|
-
*/var getDomainName=function getDomainName(url,fallback){if(url===void 0){var _globalContext$
|
|
1304
|
+
*/var getDomainName=function getDomainName(url,fallback){if(url===void 0){var _globalContext$locati;url=((_globalContext$locati=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location)===null||_globalContext$locati===void 0?void 0:_globalContext$locati.href)||""}if(fallback===void 0){var _globalContext$locati2;fallback=((_globalContext$locati2=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location)===null||_globalContext$locati2===void 0?void 0:_globalContext$locati2.hostname)||""}var result=/^([a-z]*:?\/\/)?([^/]+?)(?::[0-9]+)?(?:\/.*|$)/i.exec(url);if(result&&result.length>2&&result[1]&&result[2])return result[2];return fallback};/**
|
|
1327
1305
|
* Extracts port number from given url. If no explicit port number is given
|
|
1328
1306
|
* and no fallback is defined, the current port number will be assumed for local
|
|
1329
1307
|
* links. For external links 80 will be assumed for http protocols and 443
|
|
@@ -1332,9 +1310,9 @@ if(!excludeSymbols.includes("\\"))value.replace(/\\/g,"\\\\");var _iterator=_cre
|
|
|
1332
1310
|
* @param fallback - Fallback port number if no explicit one was found.
|
|
1333
1311
|
* Default is derived from the current protocol name.
|
|
1334
1312
|
* @returns Extracted port number.
|
|
1335
|
-
*/var getPortNumber=function getPortNumber(url,fallback){var _globalContext$
|
|
1313
|
+
*/var getPortNumber=function getPortNumber(url,fallback){var _globalContext$locati5;if(url===void 0){var _globalContext$locati3;url=((_globalContext$locati3=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location)===null||_globalContext$locati3===void 0?void 0:_globalContext$locati3.href)||""}if(fallback===void 0){var _globalContext$locati4;fallback=(_globalContext$locati4=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location)!==null&&_globalContext$locati4!==void 0&&_globalContext$locati4.port?parseInt(_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location.port):null}var result=/^(?:[a-z]*:?\/\/[^/]+?)?[^/]+?:([0-9]+)/i.exec(url);if(result&&result.length>1)return parseInt(result[1],10);if(fallback!==null)return fallback;if(// NOTE: Would result in an endless loop:
|
|
1336
1314
|
// serviceURLEquals(url, ...parameters) &&
|
|
1337
|
-
(_globalContext$
|
|
1315
|
+
(_globalContext$locati5=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location)!==null&&_globalContext$locati5!==void 0&&_globalContext$locati5.port&&parseInt(_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location.port,10))return parseInt(_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location.port,10);return getProtocolName(url)==="https"?443:80};/**
|
|
1338
1316
|
* Extracts protocol name from given url. If no explicit url is given,
|
|
1339
1317
|
* the current protocol will be assumed. If no parameter is given, the current
|
|
1340
1318
|
* protocol number will be determined.
|
|
@@ -1342,7 +1320,7 @@ if(!excludeSymbols.includes("\\"))value.replace(/\\/g,"\\\\");var _iterator=_cre
|
|
|
1342
1320
|
* @param fallback - Fallback port to use if no protocol exists in given
|
|
1343
1321
|
* url (default is current protocol).
|
|
1344
1322
|
* @returns Extracted protocol.
|
|
1345
|
-
*/var getProtocolName=function getProtocolName(url,fallback){if(url===void 0){var _globalContext$
|
|
1323
|
+
*/var getProtocolName=function getProtocolName(url,fallback){if(url===void 0){var _globalContext$locati6;url=((_globalContext$locati6=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location)===null||_globalContext$locati6===void 0?void 0:_globalContext$locati6.href)||""}if(fallback===void 0){var _globalContext$locati7;fallback=((_globalContext$locati7=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location)===null||_globalContext$locati7===void 0?void 0:_globalContext$locati7.protocol)&&_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location.protocol.substring(0,_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location.protocol.length-1)||""}var result=/^([a-z]+):\/\//i.exec(url);if(result&&result.length>1&&result[1])return result[1];return fallback};/**
|
|
1346
1324
|
* Read a page's GET URL variables and return them as an associative array
|
|
1347
1325
|
* and preserves ordering.
|
|
1348
1326
|
* @param keyToGet - If provided the corresponding value for a given key is
|
|
@@ -1367,21 +1345,21 @@ if(!excludeSymbols.includes("\\"))value.replace(/\\/g,"\\\\");var _iterator=_cre
|
|
|
1367
1345
|
* url hash part.
|
|
1368
1346
|
* @returns Returns the current get array or requested value. If the requested
|
|
1369
1347
|
* key doesn't exist, "undefined" is returned.
|
|
1370
|
-
*/var getURLParameter=function getURLParameter(keyToGet,allowDuplicates,givenInput,subDelimiter,hashedPathIndicator,givenSearch,givenHash){if(keyToGet===void 0){keyToGet=null}if(allowDuplicates===void 0){allowDuplicates=false}if(givenInput===void 0){givenInput=null}if(subDelimiter===void 0){subDelimiter="$"}if(hashedPathIndicator===void 0){hashedPathIndicator="!"}if(givenSearch===void 0){givenSearch=null}if(givenHash===void 0){var _globalContext$
|
|
1348
|
+
*/var getURLParameter=function getURLParameter(keyToGet,allowDuplicates,givenInput,subDelimiter,hashedPathIndicator,givenSearch,givenHash){if(keyToGet===void 0){keyToGet=null}if(allowDuplicates===void 0){allowDuplicates=false}if(givenInput===void 0){givenInput=null}if(subDelimiter===void 0){subDelimiter="$"}if(hashedPathIndicator===void 0){hashedPathIndicator="!"}if(givenSearch===void 0){givenSearch=null}if(givenHash===void 0){var _globalContext$locati8,_globalContext$locati9;givenHash=(_globalContext$locati8=(_globalContext$locati9=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location)===null||_globalContext$locati9===void 0?void 0:_globalContext$locati9.hash)!==null&&_globalContext$locati8!==void 0?_globalContext$locati8:""}// region set search and hash
|
|
1371
1349
|
var hash=givenHash!==null&&givenHash!==void 0?givenHash:"#";var search="";if(givenSearch)search=givenSearch;else if(hashedPathIndicator&&hash.startsWith(hashedPathIndicator)){var subHashStartIndex=hash.indexOf("#");var pathAndSearch;if(subHashStartIndex===-1){pathAndSearch=hash.substring(hashedPathIndicator.length);hash=""}else{pathAndSearch=hash.substring(hashedPathIndicator.length,subHashStartIndex);hash=hash.substring(subHashStartIndex)}var subSearchStartIndex=pathAndSearch.indexOf("?");if(subSearchStartIndex!==-1)search=pathAndSearch.substring(subSearchStartIndex)}else if(_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location)search=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location.search||"";var input=givenInput?givenInput:search;// endregion
|
|
1372
1350
|
// region determine data from search and hash if specified
|
|
1373
1351
|
var both=input==="&";if(both||input==="#"){var decodedHash="";try{decodedHash=decodeURIComponent(hash)}catch(_unused){// Continue regardless of an error.
|
|
1374
1352
|
}var subDelimiterIndex=decodedHash.indexOf(subDelimiter);if(subDelimiterIndex===-1)input="";else{input=decodedHash.substring(subDelimiterIndex);if(input.startsWith(subDelimiter))input=input.substring(subDelimiter.length)}}else if(input.startsWith("?"))input=input.substring("?".length);var data=input?input.split("&"):[];search=search.substring("?".length);if(both&&search)data=data.concat(search.split("&"));// endregion
|
|
1375
1353
|
// region construct data structure
|
|
1376
|
-
var parameters=[];var
|
|
1377
|
-
}catch(err){
|
|
1378
|
-
* Checks if given
|
|
1379
|
-
*
|
|
1380
|
-
* @param
|
|
1381
|
-
* @param
|
|
1382
|
-
*
|
|
1383
|
-
*
|
|
1384
|
-
*/var
|
|
1354
|
+
var parameters=[];var _iterator=_createForOfIteratorHelper(data),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _value=_step.value;var keyValuePair=_value.split("=");var key=void 0;try{key=decodeURIComponent(keyValuePair[0])}catch(_unused2){key=""}try{_value=decodeURIComponent(keyValuePair[1])}catch(_unused3){_value=""}parameters.push(key);if(allowDuplicates){if(Object.prototype.hasOwnProperty.call(parameters,key)&&Array.isArray(parameters[key]))parameters[key].push(_value);else parameters[key]=[_value];}else parameters[key]=_value}// endregion
|
|
1355
|
+
}catch(err){_iterator.e(err)}finally{_iterator.f()}if(keyToGet){if(Object.prototype.hasOwnProperty.call(parameters,keyToGet))return parameters[keyToGet];return null}return parameters};/**
|
|
1356
|
+
* Checks if a given path has given path prefix.
|
|
1357
|
+
* @param prefix - Path prefix to search for.
|
|
1358
|
+
* @param path - Path to search in.
|
|
1359
|
+
* @param separator - Delimiter to use in a path (default is the posix
|
|
1360
|
+
* conform slash).
|
|
1361
|
+
* @returns Value "true" if given prefix occurs and "false" otherwise.
|
|
1362
|
+
*/var hasPathPrefix=function hasPathPrefix(prefix,path,separator){if(prefix===void 0){prefix="/admin"}if(path===void 0){var _globalContext$locati0;path=((_globalContext$locati0=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location)===null||_globalContext$locati0===void 0?void 0:_globalContext$locati0.pathname)||""}if(separator===void 0){separator="/"}if(typeof prefix==="string"){if(!prefix.endsWith(separator))prefix+=separator;return path===prefix.substring(0,prefix.length-separator.length)||path.startsWith(prefix)}return false};/**
|
|
1385
1363
|
* Normalized given website url.
|
|
1386
1364
|
* @param givenURL - Uniform resource locator to normalize.
|
|
1387
1365
|
* @returns Normalized result.
|
|
@@ -1389,36 +1367,25 @@ var parameters=[];var _iterator2=_createForOfIteratorHelper(data),_step2;try{for
|
|
|
1389
1367
|
* Represents given website url.
|
|
1390
1368
|
* @param url - Uniform resource locator to represent.
|
|
1391
1369
|
* @returns Represented result.
|
|
1392
|
-
*/var representURL=function representURL(url){if(typeof url==="string")return url.replace(/^(https?)?:?\/+/,"").replace(/\/+$/,"").trim();return""}
|
|
1370
|
+
*/var representURL=function representURL(url){if(typeof url==="string")return url.replace(/^(https?)?:?\/+/,"").replace(/\/+$/,"").trim();return""};/**
|
|
1371
|
+
* Checks if given url points to another "service" than the second given url.
|
|
1372
|
+
* If no second given url is provided, the current url will be assumed.
|
|
1373
|
+
* @param url - URL to check against second url.
|
|
1374
|
+
* @param referenceURL - URL to check against first url.
|
|
1375
|
+
* @returns Returns "true" if given first url has same domain as given
|
|
1376
|
+
* second (or current).
|
|
1377
|
+
*/var serviceURLEquals=function serviceURLEquals(url,referenceURL){if(referenceURL===void 0){var _globalContext$locati1;referenceURL=((_globalContext$locati1=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.location)===null||_globalContext$locati1===void 0?void 0:_globalContext$locati1.href)||""}var domain=getDomainName(url,"");var protocol=getProtocolName(url,"");var port=getPortNumber(url);return(domain===""||domain===getDomainName(referenceURL))&&(protocol===""||protocol===getProtocolName(referenceURL))&&(port===null||port===getPortNumber(referenceURL))};// endregion
|
|
1393
1378
|
/**
|
|
1394
1379
|
* Converts a camel-cased string to its delimited string version.
|
|
1395
1380
|
* @param value - The string to format.
|
|
1396
1381
|
* @param delimiter - Defines delimiter string.
|
|
1397
1382
|
* @param abbreviations - Collection of shortcut words to represent uppercased.
|
|
1398
1383
|
* @returns The formatted string.
|
|
1399
|
-
*/var camelCaseToDelimited=function camelCaseToDelimited(value,delimiter,abbreviations){if(delimiter===void 0){delimiter="-"}if(abbreviations===void 0){abbreviations=null}if(!abbreviations)abbreviations=_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .ABBREVIATIONS */ .Iy;var escapedDelimiter=maskForRegularExpression(delimiter);if(abbreviations.length){var abbreviationPattern="";var
|
|
1384
|
+
*/var camelCaseToDelimited=function camelCaseToDelimited(value,delimiter,abbreviations){if(delimiter===void 0){delimiter="-"}if(abbreviations===void 0){abbreviations=null}if(!abbreviations)abbreviations=_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .ABBREVIATIONS */ .Iy;var escapedDelimiter=maskForRegularExpression(delimiter);if(abbreviations.length){var abbreviationPattern="";var _iterator2=_createForOfIteratorHelper(abbreviations),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var abbreviation=_step2.value;if(abbreviationPattern)abbreviationPattern+="|";abbreviationPattern+=abbreviation.toUpperCase()}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}value=value.replace(new RegExp("(".concat(abbreviationPattern,")(").concat(abbreviationPattern,")"),"g"),"$1".concat(delimiter,"$2"))}value=value.replace(new RegExp("([^".concat(escapedDelimiter,"])([A-Z][a-z]+)"),"g"),"$1".concat(delimiter,"$2"));return value.replace(new RegExp("([a-z0-9])([A-Z])","g"),"$1".concat(delimiter,"$2")).toLowerCase()};/**
|
|
1400
1385
|
* Converts a string to its capitalized representation.
|
|
1401
1386
|
* @param string - The string to format.
|
|
1402
1387
|
* @returns The formatted string.
|
|
1403
1388
|
*/var capitalize=function capitalize(string){return string.charAt(0).toUpperCase()+string.substring(1)};/**
|
|
1404
|
-
* Compresses given style attribute value.
|
|
1405
|
-
* @param styleValue - Style value to compress.
|
|
1406
|
-
* @returns The compressed value.
|
|
1407
|
-
*/var compressStyleValue=function compressStyleValue(styleValue){return styleValue.replace(/ *([:;]) */g,"$1").replace(/ +/g," ").replace(/^;+/,"").replace(/;+$/,"").trim()};/**
|
|
1408
|
-
* Decodes all html symbols in text nodes in a given html string.
|
|
1409
|
-
* @param htmlString - HTML string to decode.
|
|
1410
|
-
* @returns Decoded html string.
|
|
1411
|
-
*/var decodeHTMLEntities=function decodeHTMLEntities(htmlString){if(_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.document){var textareaDomNode=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.document.createElement("textarea");textareaDomNode.innerHTML=htmlString;return textareaDomNode.value}return null};/**
|
|
1412
|
-
* Converts a delimited string to its camel case representation.
|
|
1413
|
-
* @param value - The string to format.
|
|
1414
|
-
* @param delimiter - Delimiter string to use.
|
|
1415
|
-
* @param abbreviations - Collection of shortcut words to represent uppercased.
|
|
1416
|
-
* @param preserveWrongFormattedAbbreviations - If set to "True" wrong
|
|
1417
|
-
* formatted camel case abbreviations will be ignored.
|
|
1418
|
-
* @param removeMultipleDelimiter - Indicates whether a series of delimiter
|
|
1419
|
-
* should be consolidated.
|
|
1420
|
-
* @returns The formatted string.
|
|
1421
|
-
*/var delimitedToCamelCase=function delimitedToCamelCase(value,delimiter,abbreviations,preserveWrongFormattedAbbreviations,removeMultipleDelimiter){if(delimiter===void 0){delimiter="-"}if(abbreviations===void 0){abbreviations=null}if(preserveWrongFormattedAbbreviations===void 0){preserveWrongFormattedAbbreviations=false}if(removeMultipleDelimiter===void 0){removeMultipleDelimiter=false}var escapedDelimiter=maskForRegularExpression(delimiter);if(!abbreviations)abbreviations=_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .ABBREVIATIONS */ .Iy;var abbreviationPattern;if(preserveWrongFormattedAbbreviations)abbreviationPattern=_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .ABBREVIATIONS */ .Iy.join("|");else{abbreviationPattern="";var _iterator4=_createForOfIteratorHelper(abbreviations),_step4;try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var abbreviation=_step4.value;if(abbreviationPattern)abbreviationPattern+="|";abbreviationPattern+="".concat(capitalize(abbreviation),"|").concat(abbreviation)}}catch(err){_iterator4.e(err)}finally{_iterator4.f()}}var stringStartsWithDelimiter=value.startsWith(delimiter);if(stringStartsWithDelimiter)value=value.substring(delimiter.length);value=value.replace(new RegExp("(".concat(escapedDelimiter,")(").concat(abbreviationPattern,")")+"(".concat(escapedDelimiter,"|$)"),"g"),function(_fullMatch,before,abbreviation,after){return before+abbreviation.toUpperCase()+after});if(removeMultipleDelimiter)escapedDelimiter="(?:".concat(escapedDelimiter,")+");value=value.replace(new RegExp("".concat(escapedDelimiter,"([a-zA-Z0-9])"),"g"),function(_fullMatch,firstLetter){return firstLetter.toUpperCase()});if(stringStartsWithDelimiter)value=delimiter+value;return value};/**
|
|
1422
1389
|
* Compiles a given string as an expression with given scope names.
|
|
1423
1390
|
* @param expression - The string to interpret.
|
|
1424
1391
|
* @param givenOptions - Expression options.
|
|
@@ -1434,8 +1401,8 @@ var parameters=[];var _iterator2=_createForOfIteratorHelper(data),_step2;try{for
|
|
|
1434
1401
|
NOTE: We do this global variable name determining as close as possible
|
|
1435
1402
|
to the compiling step to cover as much as possible global introduces
|
|
1436
1403
|
variables.
|
|
1437
|
-
*/var globalNames=Object.keys(globalThis).concat("globalThis").filter(function(name){return new RegExp("^[".concat(ALLOWED_STARTING_VARIABLE_SYMBOLS,"]")+"[".concat(ALLOWED_VARIABLE_SYMBOLS,"]*$")).test(name)&&!KNOWN_DISALLOWED_VARIABLE_NAMES_BUT_OBJECT_KEYS.includes(name)});var result={error:null,globalNames:globalNames,globalNamesUndefinedList:globalNames.map(function(){return undefined}),originalScopeNames:Array.isArray(options.scope)?options.scope:typeof options.scope==="string"?[options.scope]:Object.keys(options.scope),scopeNameMapping:{},scopeNames:[],templateFunction:function templateFunction(){return undefined}};var
|
|
1438
|
-
}catch(err){
|
|
1404
|
+
*/var globalNames=Object.keys(globalThis).concat("globalThis").filter(function(name){return new RegExp("^[".concat(ALLOWED_STARTING_VARIABLE_SYMBOLS,"]")+"[".concat(ALLOWED_VARIABLE_SYMBOLS,"]*$")).test(name)&&!KNOWN_DISALLOWED_VARIABLE_NAMES_BUT_OBJECT_KEYS.includes(name)});var result={error:null,globalNames:globalNames,globalNamesUndefinedList:globalNames.map(function(){return undefined}),originalScopeNames:Array.isArray(options.scope)?options.scope:typeof options.scope==="string"?[options.scope]:Object.keys(options.scope),scopeNameMapping:{},scopeNames:[],templateFunction:function templateFunction(){return undefined}};var _iterator3=_createForOfIteratorHelper(result.originalScopeNames),_step3;try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var name=_step3.value;var newName=convertToValidVariableName(name);result.scopeNameMapping[name]=newName;result.scopeNames.push(newName)}// region try to polyfill template string literals for older engines
|
|
1405
|
+
}catch(err){_iterator3.e(err)}finally{_iterator3.f()}if(POLYFILL_TEMPLATE_STRINGS.value)if((_Babel=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.Babel)!==null&&_Babel!==void 0&&_Babel.transform)expression=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.Babel.transform("(".concat(expression,")"),{plugins:["transform-template-literals"]}).code;else if(expression.startsWith("`")&&expression.endsWith("`")){var escapeMarker="####";// Convert template string into legacy string concatenations.
|
|
1439
1406
|
expression=expression// Mark simple escape sequences.
|
|
1440
1407
|
.replace(/\\\$/g,escapeMarker)// Handle avoidable template expression: Use raw code.
|
|
1441
1408
|
.replace(/^`\$\{([\s\S]+)}`$/,"String($1)")// Use plain string with single quotes.
|
|
@@ -1475,6 +1442,39 @@ var _compile=compile(expression,options),error=_compile.error,originalScopeNames
|
|
|
1475
1442
|
* @param options.async - Indicates whether to compile an async function.
|
|
1476
1443
|
* @returns Object with an error message during parsing / running or result.
|
|
1477
1444
|
*/var evaluateOrThrowError=function evaluateOrThrowError(expression,options){if(options===void 0){options={}}var evaluated=evaluate(expression,options);if(evaluated.error)throw new Error(evaluated.error);return evaluated.result};/**
|
|
1445
|
+
* Compresses given style attribute value.
|
|
1446
|
+
* @param styleValue - Style value to compress.
|
|
1447
|
+
* @returns The compressed value.
|
|
1448
|
+
*/var compressStyleValue=function compressStyleValue(styleValue){return styleValue.replace(/ *([:;]) */g,"$1").replace(/ +/g," ").replace(/^;+/,"").replace(/;+$/,"").trim()};/**
|
|
1449
|
+
* Translates a given name into a valid JavaScript one.
|
|
1450
|
+
* @param name - Name to convert.
|
|
1451
|
+
* @returns Converted name is returned.
|
|
1452
|
+
*/var convertToValidVariableName=function convertToValidVariableName(name){if(["class","default"].includes(name))return"_".concat(name);return name// Remove all disallowed starting characters.
|
|
1453
|
+
.replace(new RegExp("^[^".concat(ALLOWED_STARTING_VARIABLE_SYMBOLS,"]+")),"")// Remove all disallowed characters within a variable name and make
|
|
1454
|
+
// continuing character upper case.
|
|
1455
|
+
.replace(new RegExp("[^".concat(ALLOWED_VARIABLE_SYMBOLS,"]+([a-zA-Z])"),"g"),function(_fullMatch,firstLetter){return firstLetter.toUpperCase()})};/**
|
|
1456
|
+
* Decodes all html symbols in text nodes in a given html string.
|
|
1457
|
+
* @param htmlString - HTML string to decode.
|
|
1458
|
+
* @returns Decoded html string.
|
|
1459
|
+
*/var decodeHTMLEntities=function decodeHTMLEntities(htmlString){if(_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.document){var textareaDomNode=_context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.document.createElement("textarea");textareaDomNode.innerHTML=htmlString;return textareaDomNode.value}return null};/**
|
|
1460
|
+
* Converts a delimited string to its camel case representation.
|
|
1461
|
+
* @param value - The string to format.
|
|
1462
|
+
* @param delimiter - Delimiter string to use.
|
|
1463
|
+
* @param abbreviations - Collection of shortcut words to represent uppercased.
|
|
1464
|
+
* @param preserveWrongFormattedAbbreviations - If set to "True" wrong
|
|
1465
|
+
* formatted camel case abbreviations will be ignored.
|
|
1466
|
+
* @param removeMultipleDelimiter - Indicates whether a series of delimiter
|
|
1467
|
+
* should be consolidated.
|
|
1468
|
+
* @returns The formatted string.
|
|
1469
|
+
*/var delimitedToCamelCase=function delimitedToCamelCase(value,delimiter,abbreviations,preserveWrongFormattedAbbreviations,removeMultipleDelimiter){if(delimiter===void 0){delimiter="-"}if(abbreviations===void 0){abbreviations=null}if(preserveWrongFormattedAbbreviations===void 0){preserveWrongFormattedAbbreviations=false}if(removeMultipleDelimiter===void 0){removeMultipleDelimiter=false}var escapedDelimiter=maskForRegularExpression(delimiter);if(!abbreviations)abbreviations=_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .ABBREVIATIONS */ .Iy;var abbreviationPattern;if(preserveWrongFormattedAbbreviations)abbreviationPattern=_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .ABBREVIATIONS */ .Iy.join("|");else{abbreviationPattern="";var _iterator4=_createForOfIteratorHelper(abbreviations),_step4;try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var abbreviation=_step4.value;if(abbreviationPattern)abbreviationPattern+="|";abbreviationPattern+="".concat(capitalize(abbreviation),"|").concat(abbreviation)}}catch(err){_iterator4.e(err)}finally{_iterator4.f()}}var stringStartsWithDelimiter=value.startsWith(delimiter);if(stringStartsWithDelimiter)value=value.substring(delimiter.length);value=value.replace(new RegExp("(".concat(escapedDelimiter,")(").concat(abbreviationPattern,")")+"(".concat(escapedDelimiter,"|$)"),"g"),function(_fullMatch,before,abbreviation,after){return before+abbreviation.toUpperCase()+after});if(removeMultipleDelimiter)escapedDelimiter="(?:".concat(escapedDelimiter,")+");value=value.replace(new RegExp("".concat(escapedDelimiter,"([a-zA-Z0-9])"),"g"),function(_fullMatch,firstLetter){return firstLetter.toUpperCase()});if(stringStartsWithDelimiter)value=delimiter+value;return value};/**
|
|
1470
|
+
* Translates a given string into the regular expression validated
|
|
1471
|
+
* representation.
|
|
1472
|
+
* @param value - String to convert.
|
|
1473
|
+
* @param excludeSymbols - Symbols not to escape.
|
|
1474
|
+
* @returns Converted string.
|
|
1475
|
+
*/var escapeRegularExpressions=function escapeRegularExpressions(value,excludeSymbols){if(excludeSymbols===void 0){excludeSymbols=[]}// NOTE: This is only for performance improvements.
|
|
1476
|
+
if(value.length===1&&!_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .SPECIAL_REGEX_SEQUENCES */ .FI.includes(value))return value;// The escape sequence must also be escaped; but at first.
|
|
1477
|
+
if(!excludeSymbols.includes("\\"))value.replace(/\\/g,"\\\\");var _iterator5=_createForOfIteratorHelper(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .SPECIAL_REGEX_SEQUENCES */ .FI),_step5;try{for(_iterator5.s();!(_step5=_iterator5.n()).done;){var replace=_step5.value;if(!excludeSymbols.includes(replace))value=value.replace(new RegExp("\\".concat(replace),"g"),"\\".concat(replace))}}catch(err){_iterator5.e(err)}finally{_iterator5.f()}return value};/**
|
|
1478
1478
|
* Finds the string match of a given query in a given target text by applying a
|
|
1479
1479
|
* given normalization function to target and query.
|
|
1480
1480
|
* @param target - Target to search in.
|
|
@@ -1522,11 +1522,11 @@ var _compile=compile(expression,options),error=_compile.error,originalScopeNames
|
|
|
1522
1522
|
distanceMatrix[firstIndex][secondIndex-1]+1,// insertion
|
|
1523
1523
|
distanceMatrix[firstIndex-1][secondIndex]+1,// substitution
|
|
1524
1524
|
distanceMatrix[firstIndex-1][secondIndex-1]+indicator)}return distanceMatrix[second.length][first.length]};/**
|
|
1525
|
-
*
|
|
1526
|
-
*
|
|
1527
|
-
* @param
|
|
1528
|
-
* @returns
|
|
1529
|
-
*/var
|
|
1525
|
+
* Abbreviates a given string if it excesses a given limit.
|
|
1526
|
+
* @param value - String to abbreviate.
|
|
1527
|
+
* @param limit - Maximum length of processed string.
|
|
1528
|
+
* @returns Abbreviated given string.
|
|
1529
|
+
*/var limit=function limit(value,_limit){if(_limit===void 0){_limit=100}if(value.length<=_limit)return value;var dots="...";return value.substring(0,_limit-dots.length)+dots};/**
|
|
1530
1530
|
* Converts a string to its lower case representation.
|
|
1531
1531
|
* @param string - The string to format.
|
|
1532
1532
|
* @returns The formatted string.
|
|
@@ -1547,6 +1547,16 @@ distanceMatrix[firstIndex-1][secondIndex-1]+indicator)}return distanceMatrix[sec
|
|
|
1547
1547
|
walk through.
|
|
1548
1548
|
*/for(var iteration=0;iteration<_context_js__WEBPACK_IMPORTED_MODULE_2__/* .MAXIMAL_NUMBER_OF_ITERATIONS */ .$Q.value;iteration++){var nearestRange=null;var currentRange=void 0;// Find the nearest next matching word.
|
|
1549
1549
|
var _iterator7=_createForOfIteratorHelper(searchWords),_step7;try{for(_iterator7.s();!(_step7=_iterator7.n()).done;){var word=_step7.value;currentRange=findNormalizedMatchRange(restTarget,word,options.normalizer,options.skipTagDelimitedParts);if(currentRange&&(!nearestRange||currentRange[0]<nearestRange[0]))nearestRange=currentRange}}catch(err){_iterator7.e(err)}finally{_iterator7.f()}if(nearestRange){if(nearestRange[0]>0)markedTarget.push(target.substring(offset,offset+nearestRange[0]));markedTarget.push(typeof options.marker==="string"?format(options.marker,target.substring(offset+nearestRange[0],offset+nearestRange[1])):options.marker(target.substring(offset+nearestRange[0],offset+nearestRange[1]),markedTarget));offset+=nearestRange[1];restTarget=target.substring(offset)}else{if(restTarget.length)markedTarget.push(restTarget);break}}return typeof options.marker==="string"?markedTarget.join(""):markedTarget}return target};/**
|
|
1550
|
+
* Validates the current string for using in a regular expression pattern.
|
|
1551
|
+
* Special regular expression chars will be escaped.
|
|
1552
|
+
* @param value - The string to format.
|
|
1553
|
+
* @returns The formatted string.
|
|
1554
|
+
*/var maskForRegularExpression=function maskForRegularExpression(value){return value.replace(/([\\|.*$^+[\]()?\-{}])/g,"\\$1")};/**
|
|
1555
|
+
* Converts a dom selector to a prefixed dom selector string.
|
|
1556
|
+
* @param selector - A dom node selector.
|
|
1557
|
+
* @param selectorPrefix - A dom node selector prefix to take into account.
|
|
1558
|
+
* @returns Returns given selector prefixed.
|
|
1559
|
+
*/var normalizeDomNodeSelector=function normalizeDomNodeSelector(selector,selectorPrefix){if(selectorPrefix===void 0){selectorPrefix=""}var domNodeSelectorPrefix="";if(selectorPrefix)domNodeSelectorPrefix="".concat(selectorPrefix," ");if(!(selector.startsWith(domNodeSelectorPrefix)||selector.trim().startsWith("<")))selector=domNodeSelectorPrefix+selector;return selector.trim()};/**
|
|
1550
1560
|
* Normalizes a given phone number for automatic dialing or comparison.
|
|
1551
1561
|
* @param value - Number to normalize.
|
|
1552
1562
|
* @param dialable - Indicates whether the result should be dialed or
|
|
@@ -1596,42 +1606,32 @@ return normalizedValue.replace(/^(.*?)([0-9]+)(-?[0-9]*)$/,function(_match,prefi
|
|
|
1596
1606
|
*/var sliceAllExceptNumberAndLastSeparator=function sliceAllExceptNumberAndLastSeparator(value){/*
|
|
1597
1607
|
1: baseNumber
|
|
1598
1608
|
2: directDialingNumberSuffix
|
|
1599
|
-
*/var compiledPattern=/^(.*[0-9].*)-([0-9]+)$/;if(compiledPattern.test(value))return value.replace(compiledPattern,function(_match,baseNumber,directDialingNumberSuffix){return"".concat(baseNumber.replace(/[^0-9]+/g,""),"-")+directDialingNumberSuffix});return value.replace(/[^0-9]+/g,"")}
|
|
1600
|
-
* Converts a dom selector to a prefixed dom selector string.
|
|
1601
|
-
* @param selector - A dom node selector.
|
|
1602
|
-
* @param selectorPrefix - A dom node selector prefix to take into account.
|
|
1603
|
-
* @returns Returns given selector prefixed.
|
|
1604
|
-
*/var normalizeDomNodeSelector=function normalizeDomNodeSelector(selector,selectorPrefix){if(selectorPrefix===void 0){selectorPrefix=""}var domNodeSelectorPrefix="";if(selectorPrefix)domNodeSelectorPrefix="".concat(selectorPrefix," ");if(!(selector.startsWith(domNodeSelectorPrefix)||selector.trim().startsWith("<")))selector=domNodeSelectorPrefix+selector;return selector.trim()};/**
|
|
1605
|
-
* Abbreviates a given string if it excesses a given limit.
|
|
1606
|
-
* @param value - String to abbreviate.
|
|
1607
|
-
* @param limit - Maximum length of processed string.
|
|
1608
|
-
* @returns Abbreviated given string.
|
|
1609
|
-
*/var limit=function limit(value,_limit){if(_limit===void 0){_limit=100}if(value.length<=_limit)return value;var dots="...";return value.substring(0,_limit-dots.length)+dots};
|
|
1609
|
+
*/var compiledPattern=/^(.*[0-9].*)-([0-9]+)$/;if(compiledPattern.test(value))return value.replace(compiledPattern,function(_match,baseNumber,directDialingNumberSuffix){return"".concat(baseNumber.replace(/[^0-9]+/g,""),"-")+directDialingNumberSuffix});return value.replace(/[^0-9]+/g,"")};
|
|
1610
1610
|
|
|
1611
1611
|
/***/ }),
|
|
1612
1612
|
/* 8 */
|
|
1613
|
-
/***/ (function(module, __unused_webpack_exports,
|
|
1613
|
+
/***/ (function(module, __unused_webpack_exports, __nested_webpack_require_149124__) {
|
|
1614
1614
|
|
|
1615
1615
|
var x = function(y) {
|
|
1616
|
-
var x = {};
|
|
1616
|
+
var x = {}; __nested_webpack_require_149124__.d(x, y); return x
|
|
1617
1617
|
}
|
|
1618
1618
|
var y = function(x) { return function() { return x; }; }
|
|
1619
1619
|
module.exports = x({ });
|
|
1620
1620
|
|
|
1621
1621
|
/***/ }),
|
|
1622
1622
|
/* 9 */
|
|
1623
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
1623
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_149388__) {
|
|
1624
1624
|
|
|
1625
|
-
|
|
1626
|
-
/* harmony export */
|
|
1625
|
+
__nested_webpack_require_149388__.r(__nested_webpack_exports__);
|
|
1626
|
+
/* harmony export */ __nested_webpack_require_149388__.d(__nested_webpack_exports__, {
|
|
1627
1627
|
/* harmony export */ LI: function() { return /* binding */ round; },
|
|
1628
1628
|
/* harmony export */ RI: function() { return /* binding */ floor; },
|
|
1629
1629
|
/* harmony export */ W2: function() { return /* binding */ isNotANumber; },
|
|
1630
1630
|
/* harmony export */ mk: function() { return /* binding */ ceil; },
|
|
1631
1631
|
/* harmony export */ n$: function() { return /* binding */ getUTCTimestamp; }
|
|
1632
1632
|
/* harmony export */ });
|
|
1633
|
-
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
1634
|
-
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
1633
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_149388__(0);
|
|
1634
|
+
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_149388__(3);
|
|
1635
1635
|
// #!/usr/bin/env babel-node
|
|
1636
1636
|
// -*- coding: utf-8 -*-
|
|
1637
1637
|
/** @module number *//* !
|
|
@@ -1648,21 +1648,6 @@ __nested_webpack_require_148886__.r(__nested_webpack_exports__);
|
|
|
1648
1648
|
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
1649
1649
|
endregion
|
|
1650
1650
|
*//**
|
|
1651
|
-
* Determines corresponding utc timestamp for given date object.
|
|
1652
|
-
* @param value - Date to convert.
|
|
1653
|
-
* @param inMilliseconds - Indicates whether given number should be in
|
|
1654
|
-
* seconds (default) or milliseconds.
|
|
1655
|
-
* @returns Determined numerous value.
|
|
1656
|
-
*/var getUTCTimestamp=function getUTCTimestamp(value,inMilliseconds){if(inMilliseconds===void 0){inMilliseconds=false}var date=[null,undefined].includes(value)?new Date:new Date(value);return Date.UTC(date.getUTCFullYear(),date.getUTCMonth(),date.getUTCDate(),date.getUTCHours(),date.getUTCMinutes(),date.getUTCSeconds(),date.getUTCMilliseconds())/(inMilliseconds?1:1000)};/**
|
|
1657
|
-
* Checks if given object is java scripts native "Number.NaN" object.
|
|
1658
|
-
* @param value - Value to check.
|
|
1659
|
-
* @returns Returns whether given value is not a number or not.
|
|
1660
|
-
*/var isNotANumber=function isNotANumber(value){return (0,_object_js__WEBPACK_IMPORTED_MODULE_1__/* .determineType */ .Sj)(value)==="number"&&isNaN(value)};/**
|
|
1661
|
-
* Rounds a given number accurate to given number of digits.
|
|
1662
|
-
* @param number - The number to round.
|
|
1663
|
-
* @param digits - The number of digits after comma.
|
|
1664
|
-
* @returns Returns the rounded number.
|
|
1665
|
-
*/var round=function round(number,digits){if(digits===void 0){digits=0}return Math.round(number*Math.pow(10,digits))/Math.pow(10,digits)};/**
|
|
1666
1651
|
* Rounds a given number up accurate to given number of digits.
|
|
1667
1652
|
* @param number - The number to round.
|
|
1668
1653
|
* @param digits - The number of digits after comma.
|
|
@@ -1672,13 +1657,28 @@ __nested_webpack_require_148886__.r(__nested_webpack_exports__);
|
|
|
1672
1657
|
* @param number - The number to round.
|
|
1673
1658
|
* @param digits - The number of digits after comma.
|
|
1674
1659
|
* @returns Returns the rounded number.
|
|
1675
|
-
*/var floor=function floor(number,digits){if(digits===void 0){digits=0}return Math.floor(number*Math.pow(10,digits))/Math.pow(10,digits)}
|
|
1660
|
+
*/var floor=function floor(number,digits){if(digits===void 0){digits=0}return Math.floor(number*Math.pow(10,digits))/Math.pow(10,digits)};/**
|
|
1661
|
+
* Rounds a given number accurate to given number of digits.
|
|
1662
|
+
* @param number - The number to round.
|
|
1663
|
+
* @param digits - The number of digits after comma.
|
|
1664
|
+
* @returns Returns the rounded number.
|
|
1665
|
+
*/var round=function round(number,digits){if(digits===void 0){digits=0}return Math.round(number*Math.pow(10,digits))/Math.pow(10,digits)};/**
|
|
1666
|
+
* Determines corresponding utc timestamp for given date object.
|
|
1667
|
+
* @param value - Date to convert.
|
|
1668
|
+
* @param inMilliseconds - Indicates whether given number should be in
|
|
1669
|
+
* seconds (default) or milliseconds.
|
|
1670
|
+
* @returns Determined numerous value.
|
|
1671
|
+
*/var getUTCTimestamp=function getUTCTimestamp(value,inMilliseconds){if(inMilliseconds===void 0){inMilliseconds=false}var date=[null,undefined].includes(value)?new Date:new Date(value);return Date.UTC(date.getUTCFullYear(),date.getUTCMonth(),date.getUTCDate(),date.getUTCHours(),date.getUTCMinutes(),date.getUTCSeconds(),date.getUTCMilliseconds())/(inMilliseconds?1:1000)};/**
|
|
1672
|
+
* Checks if given object is java scripts native "Number.NaN" object.
|
|
1673
|
+
* @param value - Value to check.
|
|
1674
|
+
* @returns Returns whether given value is not a number or not.
|
|
1675
|
+
*/var isNotANumber=function isNotANumber(value){return (0,_object_js__WEBPACK_IMPORTED_MODULE_1__/* .determineType */ .Sj)(value)==="number"&&isNaN(value)};
|
|
1676
1676
|
|
|
1677
1677
|
/***/ }),
|
|
1678
1678
|
/* 10 */
|
|
1679
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
1679
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_152607__) {
|
|
1680
1680
|
|
|
1681
|
-
/* harmony export */
|
|
1681
|
+
/* harmony export */ __nested_webpack_require_152607__.d(__nested_webpack_exports__, {
|
|
1682
1682
|
/* harmony export */ c: function() { return /* binding */ Lock; }
|
|
1683
1683
|
/* harmony export */ });
|
|
1684
1684
|
// #!/usr/bin/env babel-node
|
|
@@ -1726,9 +1726,9 @@ __nested_webpack_require_148886__.r(__nested_webpack_exports__);
|
|
|
1726
1726
|
|
|
1727
1727
|
/***/ }),
|
|
1728
1728
|
/* 11 */
|
|
1729
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
1729
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_161321__) {
|
|
1730
1730
|
|
|
1731
|
-
/* harmony export */
|
|
1731
|
+
/* harmony export */ __nested_webpack_require_161321__.d(__nested_webpack_exports__, {
|
|
1732
1732
|
/* harmony export */ j: function() { return /* binding */ Semaphore; }
|
|
1733
1733
|
/* harmony export */ });
|
|
1734
1734
|
// #!/usr/bin/env babel-node
|
|
@@ -1765,10 +1765,10 @@ __nested_webpack_require_148886__.r(__nested_webpack_exports__);
|
|
|
1765
1765
|
|
|
1766
1766
|
/***/ }),
|
|
1767
1767
|
/* 12 */
|
|
1768
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
1768
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_164887__) {
|
|
1769
1769
|
|
|
1770
|
-
|
|
1771
|
-
/* harmony export */
|
|
1770
|
+
__nested_webpack_require_164887__.r(__nested_webpack_exports__);
|
|
1771
|
+
/* harmony export */ __nested_webpack_require_164887__.d(__nested_webpack_exports__, {
|
|
1772
1772
|
/* harmony export */ L5: function() { return /* binding */ importFilesystemAPI; },
|
|
1773
1773
|
/* harmony export */ VW: function() { return /* binding */ imports; },
|
|
1774
1774
|
/* harmony export */ WY: function() { return /* binding */ isFileSync; },
|
|
@@ -1782,10 +1782,10 @@ __nested_webpack_require_164385__.r(__nested_webpack_exports__);
|
|
|
1782
1782
|
/* harmony export */ wd: function() { return /* binding */ isDirectory; },
|
|
1783
1783
|
/* harmony export */ y3: function() { return /* binding */ _walkDirectoryRecursively; }
|
|
1784
1784
|
/* harmony export */ });
|
|
1785
|
-
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
1786
|
-
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
1787
|
-
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_2__ =
|
|
1788
|
-
/* harmony import */ var _module_js__WEBPACK_IMPORTED_MODULE_3__ =
|
|
1785
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_164887__(0);
|
|
1786
|
+
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_164887__(1);
|
|
1787
|
+
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_164887__(5);
|
|
1788
|
+
/* harmony import */ var _module_js__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_164887__(2);
|
|
1789
1789
|
// #!/usr/bin/env babel-node
|
|
1790
1790
|
// -*- coding: utf-8 -*-
|
|
1791
1791
|
/** @module filesystem *//* !
|
|
@@ -1896,18 +1896,18 @@ try{mkdirSync(targetPath)}catch(error){if(error.code!=="EEXIST")throw error}for(
|
|
|
1896
1896
|
|
|
1897
1897
|
/***/ }),
|
|
1898
1898
|
/* 13 */
|
|
1899
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
1899
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_191451__) {
|
|
1900
1900
|
|
|
1901
|
-
|
|
1902
|
-
/* harmony export */
|
|
1901
|
+
__nested_webpack_require_191451__.r(__nested_webpack_exports__);
|
|
1902
|
+
/* harmony export */ __nested_webpack_require_191451__.d(__nested_webpack_exports__, {
|
|
1903
1903
|
/* harmony export */ dG: function() { return /* binding */ stopPropagation; },
|
|
1904
1904
|
/* harmony export */ p0: function() { return /* binding */ trailingThrottle; },
|
|
1905
1905
|
/* harmony export */ sg: function() { return /* binding */ debounce; },
|
|
1906
1906
|
/* harmony export */ wR: function() { return /* binding */ timeout; },
|
|
1907
1907
|
/* harmony export */ wo: function() { return /* binding */ preventDefault; }
|
|
1908
1908
|
/* harmony export */ });
|
|
1909
|
-
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
1910
|
-
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
1909
|
+
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_191451__(5);
|
|
1910
|
+
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_191451__(4);
|
|
1911
1911
|
// #!/usr/bin/env babel-node
|
|
1912
1912
|
// -*- coding: utf-8 -*-
|
|
1913
1913
|
/** @module utility *//* !
|
|
@@ -1923,28 +1923,28 @@ __nested_webpack_require_190949__.r(__nested_webpack_exports__);
|
|
|
1923
1923
|
naming 3.0 unported license.
|
|
1924
1924
|
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
1925
1925
|
endregion
|
|
1926
|
-
*/function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _iterableToArray(r){
|
|
1927
|
-
* Prevents event functions from triggering too
|
|
1928
|
-
* span between each function call. Additional arguments
|
|
1929
|
-
* will be forwarded to the given event function call.
|
|
1926
|
+
*/function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _iterableToArray(r){var e="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(Array.isArray(r)&&(null==e||e===("undefined"!=typeof Symbol&&[][Symbol.iterator])||e===[]["@@iterator"]))return r;if(null!=e){for(var t,o=[],a=e.call(r);!(t=a.next()).done;)o.push(t.value);return o}}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n};/**
|
|
1927
|
+
* Prevents event functions from triggering too close after each trigger by
|
|
1928
|
+
* defining a minimal span between each function call. Additional arguments
|
|
1929
|
+
* given to this function will be forwarded to the given event function call.
|
|
1930
1930
|
* @param callback - The function to call debounced.
|
|
1931
1931
|
* @param thresholdInMilliseconds - The minimum time span between each
|
|
1932
1932
|
* function call.
|
|
1933
1933
|
* @param additionalArguments - Additional arguments to forward to given
|
|
1934
1934
|
* function.
|
|
1935
1935
|
* @returns Returns the wrapped method.
|
|
1936
|
-
*/var
|
|
1937
|
-
|
|
1938
|
-
*
|
|
1939
|
-
*
|
|
1940
|
-
* given to this function will be forwarded to the given event function call.
|
|
1936
|
+
*/var debounce=function debounce(callback,thresholdInMilliseconds){if(thresholdInMilliseconds===void 0){thresholdInMilliseconds=600}for(var _len=arguments.length,additionalArguments=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++){additionalArguments[_key-2]=arguments[_key]}var timeoutPromise;var nextResultPromiseResolver;var nextResultPromise=new Promise(function(resolve){nextResultPromiseResolver=resolve});return function(){var _timeoutPromise;for(var _len2=arguments.length,parameters=new Array(_len2),_key2=0;_key2<_len2;_key2++){parameters[_key2]=arguments[_key2]}parameters=parameters.concat(additionalArguments);(_timeoutPromise=timeoutPromise)===null||_timeoutPromise===void 0||_timeoutPromise.clear();timeoutPromise=timeout(function(){nextResultPromiseResolver(callback.apply(void 0,_toConsumableArray(parameters)));nextResultPromise=new Promise(function(resolve){nextResultPromiseResolver=resolve})},thresholdInMilliseconds);return nextResultPromise}};/**
|
|
1937
|
+
* Prevents event functions from triggering too often by defining a minimal
|
|
1938
|
+
* span between each function call. Additional arguments given to this function
|
|
1939
|
+
* will be forwarded to the given event function call.
|
|
1941
1940
|
* @param callback - The function to call debounced.
|
|
1942
1941
|
* @param thresholdInMilliseconds - The minimum time span between each
|
|
1943
1942
|
* function call.
|
|
1944
1943
|
* @param additionalArguments - Additional arguments to forward to given
|
|
1945
1944
|
* function.
|
|
1946
1945
|
* @returns Returns the wrapped method.
|
|
1947
|
-
*/var
|
|
1946
|
+
*/var trailingThrottle=function trailingThrottle(callback,thresholdInMilliseconds){if(thresholdInMilliseconds===void 0){thresholdInMilliseconds=600}for(var _len3=arguments.length,additionalArguments=new Array(_len3>2?_len3-2:0),_key3=2;_key3<_len3;_key3++){additionalArguments[_key3-2]=arguments[_key3]}var timeoutID=null;var recentParameters=[];return function(){for(var _len4=arguments.length,parameters=new Array(_len4),_key4=0;_key4<_len4;_key4++){parameters[_key4]=arguments[_key4]}recentParameters=parameters;if(timeoutID)return;timeoutID=setTimeout(function(){callback.apply(void 0,_toConsumableArray(recentParameters).concat(additionalArguments));// Reset for next cycle.
|
|
1947
|
+
timeoutID=null;recentParameters=[]},thresholdInMilliseconds)}};var preventDefault=function preventDefault(event){event.preventDefault()};var stopPropagation=function stopPropagation(event){event.stopPropagation()};/**
|
|
1948
1948
|
* Triggers given callback after given duration. Supports unlimited
|
|
1949
1949
|
* duration length and returns a promise which will be resolved after given
|
|
1950
1950
|
* duration has been passed.
|
|
@@ -1962,13 +1962,13 @@ timeoutID=null;recentParameters=[]},thresholdInMilliseconds)}};/**
|
|
|
1962
1962
|
*/var timeout=function timeout(){for(var _len5=arguments.length,parameters=new Array(_len5),_key5=0;_key5<_len5;_key5++){parameters[_key5]=arguments[_key5]}var callback=_context_js__WEBPACK_IMPORTED_MODULE_0__/* .NOOP */ .tE;var delayInMilliseconds=0;var throwOnTimeoutClear=false;for(var _i=0,_parameters=parameters;_i<_parameters.length;_i++){var value=_parameters[_i];if(typeof value==="number"&&!isNaN(value))delayInMilliseconds=value;else if(typeof value==="boolean")throwOnTimeoutClear=value;else if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_1__/* .isFunction */ .Tn)(value))callback=value}var rejectCallback;var resolveCallback;var result=new Promise(function(resolve,reject){rejectCallback=reject;resolveCallback=resolve});var wrappedCallback=function wrappedCallback(){var _callback;(_callback=callback).call.apply(_callback,[result].concat(parameters));resolveCallback(false)};var maximumTimeoutDelayInMilliseconds=2147483647;if(delayInMilliseconds<=maximumTimeoutDelayInMilliseconds)result.timeoutID=setTimeout(wrappedCallback,delayInMilliseconds);else{/*
|
|
1963
1963
|
Determine the number of times we need to delay by maximum
|
|
1964
1964
|
possible timeout duration.
|
|
1965
|
-
*/var numberOfRemainingTimeouts=Math.floor(delayInMilliseconds/maximumTimeoutDelayInMilliseconds);var finalTimeoutDuration=delayInMilliseconds%maximumTimeoutDelayInMilliseconds;var _delay=function delay(){if(numberOfRemainingTimeouts>0){numberOfRemainingTimeouts-=1;result.timeoutID=setTimeout(_delay,maximumTimeoutDelayInMilliseconds)}else result.timeoutID=setTimeout(wrappedCallback,finalTimeoutDuration)};_delay()}result.clear=function(){if(Object.prototype.hasOwnProperty.call(result,"timeoutID")){clearTimeout(result.timeoutID);(throwOnTimeoutClear?rejectCallback:resolveCallback)(true)}};return result};
|
|
1965
|
+
*/var numberOfRemainingTimeouts=Math.floor(delayInMilliseconds/maximumTimeoutDelayInMilliseconds);var finalTimeoutDuration=delayInMilliseconds%maximumTimeoutDelayInMilliseconds;var _delay=function delay(){if(numberOfRemainingTimeouts>0){numberOfRemainingTimeouts-=1;result.timeoutID=setTimeout(_delay,maximumTimeoutDelayInMilliseconds)}else result.timeoutID=setTimeout(wrappedCallback,finalTimeoutDuration)};_delay()}result.clear=function(){if(Object.prototype.hasOwnProperty.call(result,"timeoutID")){clearTimeout(result.timeoutID);(throwOnTimeoutClear?rejectCallback:resolveCallback)(true)}};return result};
|
|
1966
1966
|
|
|
1967
1967
|
/***/ }),
|
|
1968
1968
|
/* 14 */
|
|
1969
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
1969
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_199357__) {
|
|
1970
1970
|
|
|
1971
|
-
/* harmony export */
|
|
1971
|
+
/* harmony export */ __nested_webpack_require_199357__.d(__nested_webpack_exports__, {
|
|
1972
1972
|
/* harmony export */ $y: function() { return /* binding */ isSwitchExpression; },
|
|
1973
1973
|
/* harmony export */ G3: function() { return /* binding */ isCondition; },
|
|
1974
1974
|
/* harmony export */ Gc: function() { return /* binding */ isAndExpression; },
|
|
@@ -1983,7 +1983,7 @@ timeoutID=null;recentParameters=[]},thresholdInMilliseconds)}};/**
|
|
|
1983
1983
|
/* harmony export */ g6: function() { return /* binding */ isOrExpression; },
|
|
1984
1984
|
/* harmony export */ ml: function() { return /* binding */ isValue; }
|
|
1985
1985
|
/* harmony export */ });
|
|
1986
|
-
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
1986
|
+
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_199357__(4);
|
|
1987
1987
|
// #!/usr/bin/env babel-node
|
|
1988
1988
|
// -*- coding: utf-8 -*-
|
|
1989
1989
|
/* !
|
|
@@ -1999,22 +1999,22 @@ timeoutID=null;recentParameters=[]},thresholdInMilliseconds)}};/**
|
|
|
1999
1999
|
naming 3.0 unported license.
|
|
2000
2000
|
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
2001
2001
|
endregion
|
|
2002
|
-
*/function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,u=!0;return{s:function s(){t=t.call(r)},n:function n(){u=!0;var r=t.next();return r.done?{done:!0}:{value:r.value,done:u=!1}},e:function e(r){o=!0,a=r},f:function f(){try{u||null==t.return||t.return()}finally{if(o)throw a}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n};var isSpecificExpression=function isSpecificExpression(expression,indicatorKey,properties){if(properties===void 0){properties=[]}if(!((0,_indicators_js__WEBPACK_IMPORTED_MODULE_0__/* .isPlainObject */ .Qd)(expression)&&Object.prototype.hasOwnProperty.call(expression,indicatorKey)))return false;var _iterator=_createForOfIteratorHelper(properties),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var name=_step.value;if(!Object.prototype.hasOwnProperty.call(expression,name))return false}}catch(err){_iterator.e(err)}finally{_iterator.f()}return true};var isCondition=function isCondition(expression){return isSpecificExpression(expression,"$comparator",["value1","value2"])};var isAndExpression=function isAndExpression(expression){return isSpecificExpression(expression,"$and")};var isOrExpression=function isOrExpression(expression){return isSpecificExpression(expression,"$or")};var isConcatExpression=function isConcatExpression(expression){return isSpecificExpression(expression,"$concat")};var isMappingExpression=function isMappingExpression(expression){return isSpecificExpression(expression,"$mapping",["data"])};var isOperation=function isOperation(expression){return isSpecificExpression(expression,"$operator",["operand1","operand2"])};var isUnaryOperation=function isUnaryOperation(expression){return isSpecificExpression(expression,"$operator",["operand"])};var isIfExpression=function isIfExpression(expression){return isSpecificExpression(expression,"$if")};var isSwitchExpression=function isSwitchExpression(expression){return isSpecificExpression(expression,"$switch")};var
|
|
2002
|
+
*/function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,u=!0;return{s:function s(){t=t.call(r)},n:function n(){u=!0;var r=t.next();return r.done?{done:!0}:{value:r.value,done:u=!1}},e:function e(r){o=!0,a=r},f:function f(){try{u||null==t.return||t.return()}finally{if(o)throw a}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n};var isSpecificExpression=function isSpecificExpression(expression,indicatorKey,properties){if(properties===void 0){properties=[]}if(!((0,_indicators_js__WEBPACK_IMPORTED_MODULE_0__/* .isPlainObject */ .Qd)(expression)&&Object.prototype.hasOwnProperty.call(expression,indicatorKey)))return false;var _iterator=_createForOfIteratorHelper(properties),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var name=_step.value;if(!Object.prototype.hasOwnProperty.call(expression,name))return false}}catch(err){_iterator.e(err)}finally{_iterator.f()}return true};var isCondition=function isCondition(expression){return isSpecificExpression(expression,"$comparator",["value1","value2"])};var isAndExpression=function isAndExpression(expression){return isSpecificExpression(expression,"$and")};var isOrExpression=function isOrExpression(expression){return isSpecificExpression(expression,"$or")};var isConcatExpression=function isConcatExpression(expression){return isSpecificExpression(expression,"$concat")};var isMappingExpression=function isMappingExpression(expression){return isSpecificExpression(expression,"$mapping",["data"])};var isOperation=function isOperation(expression){return isSpecificExpression(expression,"$operator",["operand1","operand2"])};var isUnaryOperation=function isUnaryOperation(expression){return isSpecificExpression(expression,"$operator",["operand"])};var isIfExpression=function isIfExpression(expression){return isSpecificExpression(expression,"$if")};var isSwitchExpression=function isSwitchExpression(expression){return isSpecificExpression(expression,"$switch")};var isArrayContainsExpression=function isArrayContainsExpression(expression){return isSpecificExpression(expression,"$arrayContains")};var isSelector=function isSelector(expression){return isSpecificExpression(expression,"$select")};var isValue=function isValue(expression){return!(isSelector(expression)||isCondition(expression)||isUnaryOperation(expression)||isOperation(expression)||isAndExpression(expression)||isOrExpression(expression)||isConcatExpression(expression)||isMappingExpression(expression)||isIfExpression(expression)||isSwitchExpression(expression)||isArrayContainsExpression(expression))};
|
|
2003
2003
|
|
|
2004
2004
|
/***/ }),
|
|
2005
2005
|
/* 15 */
|
|
2006
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
2006
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_204512__) {
|
|
2007
2007
|
|
|
2008
|
-
|
|
2009
|
-
/* harmony export */
|
|
2008
|
+
__nested_webpack_require_204512__.r(__nested_webpack_exports__);
|
|
2009
|
+
/* harmony export */ __nested_webpack_require_204512__.d(__nested_webpack_exports__, {
|
|
2010
2010
|
/* harmony export */ A_: function() { return /* binding */ LEVELS; },
|
|
2011
2011
|
/* harmony export */ Vy: function() { return /* binding */ Logger; },
|
|
2012
2012
|
/* harmony export */ Wh: function() { return /* binding */ LEVELS_COLOR; }
|
|
2013
2013
|
/* harmony export */ });
|
|
2014
|
-
/* harmony import */ var _cli_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
2015
|
-
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
2016
|
-
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_2__ =
|
|
2017
|
-
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_3__ =
|
|
2014
|
+
/* harmony import */ var _cli_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_204512__(1);
|
|
2015
|
+
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_204512__(5);
|
|
2016
|
+
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_204512__(4);
|
|
2017
|
+
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_204512__(3);
|
|
2018
2018
|
// #!/usr/bin/env babel-node
|
|
2019
2019
|
// -*- coding: utf-8 -*-
|
|
2020
2020
|
/** @module Logger *//* !
|
|
@@ -2030,7 +2030,7 @@ __nested_webpack_require_203838__.r(__nested_webpack_exports__);
|
|
|
2030
2030
|
naming 3.0 unported license.
|
|
2031
2031
|
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
2032
2032
|
endregion
|
|
2033
|
-
*/var _Logger;function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _slicedToArray(r,e){return
|
|
2033
|
+
*/var _Logger;function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _slicedToArray(r,e){return _iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}function _iterableToArrayLimit(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(Array.isArray(r)&&(null==e||e===("undefined"!=typeof Symbol&&[][Symbol.iterator])||e===[]["@@iterator"]))return r;if(null!=e){var l,n,i,a,u=[],o=!0,f=!1;try{if(i=(e=e.call(r)).next,0===t){if(Object(e)!==e)return;o=!1}else for(;!(o=(l=i.call(e)).done)&&(u.push(l.value),u.length!==t);o=!0);}catch(r){f=!0,n=r}finally{try{if(!o&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(f)throw n}}return u}}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},_regeneratorDefine2(e,r,n,t)}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+""}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var r;if("undefined"!=typeof Symbol&&void 0!==(r=t[Symbol.toPrimitive])){var i=r.call(t,e||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)};var LEVELS=["error","critical","warn","info","debug"];var LEVELS_COLOR=[_cli_js__WEBPACK_IMPORTED_MODULE_0__/* .CLI_COLOR */ .l_.red,_cli_js__WEBPACK_IMPORTED_MODULE_0__/* .CLI_COLOR */ .l_.magenta,_cli_js__WEBPACK_IMPORTED_MODULE_0__/* .CLI_COLOR */ .l_.yellow,_cli_js__WEBPACK_IMPORTED_MODULE_0__/* .CLI_COLOR */ .l_.green,_cli_js__WEBPACK_IMPORTED_MODULE_0__/* .CLI_COLOR */ .l_.blue];/**
|
|
2034
2034
|
* This plugin provides such interface logic like generic controller logic for
|
|
2035
2035
|
* integrating plugins into $, mutual exclusion for dependent gui elements,
|
|
2036
2036
|
* logging additional string, array or function handling. A set of helper
|
|
@@ -2059,8 +2059,9 @@ __nested_webpack_require_203838__.r(__nested_webpack_exports__);
|
|
|
2059
2059
|
* @param additionalArguments - Additional values to print.
|
|
2060
2060
|
* @returns Returns a promise which resolves when the log message has been
|
|
2061
2061
|
* printed.
|
|
2062
|
-
*/},{key:"log",value:(function(){var _log=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(object,force,avoidAnnotation,level){var currentLevelIndex,levelIndex,_globalContext$consol,messages,annotation,_len,additionalArguments,_key,multiLineAnnotation,lineLength,remainingLength,halfRemainingLength,_globalContext$window,_args=arguments;return _regenerator().w(function(_context){while(1)switch(_context.n){case 0:if(object===void 0){object=""}if(force===void 0){force=false}if(avoidAnnotation===void 0){avoidAnnotation=false}if(level===void 0){level="info"}currentLevelIndex=LEVELS.indexOf(this.level);levelIndex=LEVELS.indexOf(level);if(!(force||currentLevelIndex>=levelIndex)){_context.n=10;break}messages=[];annotation="".concat(LEVELS_COLOR[levelIndex]).concat(level)+"".concat(_cli_js__WEBPACK_IMPORTED_MODULE_0__/* .CLI_COLOR */ .l_.default,":").concat(this.name,":")+"".concat(new Date().toISOString(),":");for(_len=_args.length,additionalArguments=new Array(_len>4?_len-4:0),_key=4;_key<_len;_key++){additionalArguments[_key-4]=_args[_key]}if(!avoidAnnotation){_context.n=1;break}messages.push(object);_context.n=6;break;case 1:if(!(typeof object==="string")){_context.n=2;break}messages.push.apply(messages,[annotation,object].concat(additionalArguments));_context.n=6;break;case 2:if(!((0,_indicators_js__WEBPACK_IMPORTED_MODULE_2__/* .isNumeric */ .kf)(object)||typeof object==="boolean")){_context.n=3;break}messages.push.apply(messages,[annotation,object.toString()].concat(additionalArguments));_context.n=6;break;case 3:multiLineAnnotation=annotation.substring(0,annotation.length-1);lineLength=79-2;// Color codes are invisible so we have to add it.
|
|
2063
|
-
remainingLength=lineLength+LEVELS_COLOR[levelIndex].length+_cli_js__WEBPACK_IMPORTED_MODULE_0__/* .CLI_COLOR */ .l_.default.length-multiLineAnnotation.length;halfRemainingLength=Math.floor(remainingLength/2);_context.n=4;return this.log(",".concat("-".repeat(halfRemainingLength))+multiLineAnnotation+"-".repeat(halfRemainingLength)+"".concat("-".repeat(remainingLength%2),","),force,true,level);case 4:_context.n=5;return this.log(object,force,true,level);case 5:_context.n=6;return this.log("'".concat("-".repeat(lineLength),"'"),force,true,level);case 6:
|
|
2062
|
+
*/},{key:"log",value:(function(){var _log=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(object,force,avoidAnnotation,level){var currentLevelIndex,levelIndex,_globalContext$consol,messages,annotation,_len,additionalArguments,_key,multiLineAnnotation,lineLength,remainingLength,halfRemainingLength,consoleMethodName,_globalContext$window,_args=arguments;return _regenerator().w(function(_context){while(1)switch(_context.n){case 0:if(object===void 0){object=""}if(force===void 0){force=false}if(avoidAnnotation===void 0){avoidAnnotation=false}if(level===void 0){level="info"}currentLevelIndex=LEVELS.indexOf(this.level);levelIndex=LEVELS.indexOf(level);if(!(force||currentLevelIndex>=levelIndex)){_context.n=10;break}messages=[];annotation="".concat(LEVELS_COLOR[levelIndex]).concat(level)+"".concat(_cli_js__WEBPACK_IMPORTED_MODULE_0__/* .CLI_COLOR */ .l_.default,":").concat(this.name,":")+"".concat(new Date().toISOString(),":");for(_len=_args.length,additionalArguments=new Array(_len>4?_len-4:0),_key=4;_key<_len;_key++){additionalArguments[_key-4]=_args[_key]}if(!avoidAnnotation){_context.n=1;break}messages.push(object);_context.n=6;break;case 1:if(!(typeof object==="string")){_context.n=2;break}messages.push.apply(messages,[annotation,object].concat(additionalArguments));_context.n=6;break;case 2:if(!((0,_indicators_js__WEBPACK_IMPORTED_MODULE_2__/* .isNumeric */ .kf)(object)||typeof object==="boolean")){_context.n=3;break}messages.push.apply(messages,[annotation,object.toString()].concat(additionalArguments));_context.n=6;break;case 3:multiLineAnnotation=annotation.substring(0,annotation.length-1);lineLength=79-2;// Color codes are invisible so we have to add it.
|
|
2063
|
+
remainingLength=lineLength+LEVELS_COLOR[levelIndex].length+_cli_js__WEBPACK_IMPORTED_MODULE_0__/* .CLI_COLOR */ .l_.default.length-multiLineAnnotation.length;halfRemainingLength=Math.floor(remainingLength/2);_context.n=4;return this.log(",".concat("-".repeat(halfRemainingLength))+multiLineAnnotation+"-".repeat(halfRemainingLength)+"".concat("-".repeat(remainingLength%2),","),force,true,level);case 4:_context.n=5;return this.log(object,force,true,level);case 5:_context.n=6;return this.log("'".concat("-".repeat(lineLength),"'"),force,true,level);case 6:// NOTE: There is no native "console.critical" method.
|
|
2064
|
+
consoleMethodName=level==="critical"?"error":level;if(!messages.length){_context.n=10;break}if(!(!(_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz.console&&consoleMethodName in _context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz.console)||_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz.console[consoleMethodName]===_context_js__WEBPACK_IMPORTED_MODULE_1__/* .NOOP */ .tE)){_context.n=7;break}if(Object.prototype.hasOwnProperty.call(_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz,"window")&&Object.prototype.hasOwnProperty.call(_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz.window,"alert"))(_globalContext$window=_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz.window)===null||_globalContext$window===void 0||_globalContext$window.alert(messages.join(" "));/*
|
|
2064
2065
|
eslint-disable @typescript-eslint/no-unnecessary-condition
|
|
2065
2066
|
*/_context.n=10;break;case 7:if(!(typeof process!=="undefined"&&process.stdout)){_context.n=9;break}_context.n=8;return new Promise(function(resolve,reject){process.stdout.write("".concat(messages.map(String).join(" "),"\n"),function(error){if(error)/*
|
|
2066
2067
|
eslint-disable
|
|
@@ -2068,7 +2069,7 @@ remainingLength=lineLength+LEVELS_COLOR[levelIndex].length+_cli_js__WEBPACK_IMPO
|
|
|
2068
2069
|
*/reject(error);/*
|
|
2069
2070
|
eslint-enable
|
|
2070
2071
|
prefer-promise-reject-errors
|
|
2071
|
-
*/else resolve()})});case 8:_context.n=10;break;case 9:(_globalContext$consol=_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz.console)[
|
|
2072
|
+
*/else resolve()})});case 8:_context.n=10;break;case 9:(_globalContext$consol=_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz.console)[consoleMethodName].apply(_globalContext$consol,messages);case 10:return _context.a(2)}},_callee,this)}));function log(_x,_x2,_x3,_x4){return _log.apply(this,arguments)}return log}()/**
|
|
2072
2073
|
* Wrapper method for the native console method usually provided by
|
|
2073
2074
|
* interpreter.
|
|
2074
2075
|
* @param object - Any object to print.
|
|
@@ -2100,7 +2101,7 @@ remainingLength=lineLength+LEVELS_COLOR[levelIndex].length+_cli_js__WEBPACK_IMPO
|
|
|
2100
2101
|
* formatting.
|
|
2101
2102
|
* @returns Returns a promise which resolves when the log message has been
|
|
2102
2103
|
* printed.
|
|
2103
|
-
*/},{key:"critical",value:function critical(object){if(object===void 0){object=""}for(var _len5=arguments.length,additionalArguments=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++){additionalArguments[_key5-1]=arguments[_key5]}return this.log.apply(this,[object,true,false,"
|
|
2104
|
+
*/},{key:"critical",value:function critical(object){if(object===void 0){object=""}for(var _len5=arguments.length,additionalArguments=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++){additionalArguments[_key5-1]=arguments[_key5]}return this.log.apply(this,[object,true,false,"critical"].concat(additionalArguments))}/**
|
|
2104
2105
|
* Wrapper method for the native console method usually provided by
|
|
2105
2106
|
* interpreter.
|
|
2106
2107
|
* @param object - Any object to print.
|
|
@@ -2122,10 +2123,10 @@ remainingLength=lineLength+LEVELS_COLOR[levelIndex].length+_cli_js__WEBPACK_IMPO
|
|
|
2122
2123
|
|
|
2123
2124
|
/***/ }),
|
|
2124
2125
|
/* 16 */
|
|
2125
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
2126
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_223192__) {
|
|
2126
2127
|
|
|
2127
|
-
|
|
2128
|
-
/* harmony export */
|
|
2128
|
+
__nested_webpack_require_223192__.r(__nested_webpack_exports__);
|
|
2129
|
+
/* harmony export */ __nested_webpack_require_223192__.d(__nested_webpack_exports__, {
|
|
2129
2130
|
/* harmony export */ Am: function() { return /* binding */ unique; },
|
|
2130
2131
|
/* harmony export */ En: function() { return /* binding */ paginate; },
|
|
2131
2132
|
/* harmony export */ Hb: function() { return /* binding */ removeArrayItem; },
|
|
@@ -2144,8 +2145,8 @@ __nested_webpack_require_222314__.r(__nested_webpack_exports__);
|
|
|
2144
2145
|
/* harmony export */ u7: function() { return /* binding */ extractIfMatches; },
|
|
2145
2146
|
/* harmony export */ y$: function() { return /* binding */ intersect; }
|
|
2146
2147
|
/* harmony export */ });
|
|
2147
|
-
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
2148
|
-
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
2148
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_223192__(0);
|
|
2149
|
+
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_223192__(4);
|
|
2149
2150
|
// #!/usr/bin/env babel-node
|
|
2150
2151
|
// -*- coding: utf-8 -*-
|
|
2151
2152
|
/** @module array *//* !
|
|
@@ -2161,7 +2162,7 @@ __nested_webpack_require_222314__.r(__nested_webpack_exports__);
|
|
|
2161
2162
|
naming 3.0 unported license.
|
|
2162
2163
|
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
2163
2164
|
endregion
|
|
2164
|
-
*/function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+""}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var r;if("undefined"!=typeof Symbol&&void 0!==(r=t[Symbol.toPrimitive])){var i=r.call(t,e||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(r){
|
|
2165
|
+
*/function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+""}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var r;if("undefined"!=typeof Symbol&&void 0!==(r=t[Symbol.toPrimitive])){var i=r.call(t,e||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(r){var e="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(Array.isArray(r)&&(null==e||e===("undefined"!=typeof Symbol&&[][Symbol.iterator])||e===[]["@@iterator"]))return r;if(null!=e){for(var t,o=[],a=e.call(r);!(t=a.next()).done;)o.push(t.value);return o}}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,u=!0;return{s:function s(){t=t.call(r)},n:function n(){u=!0;var r=t.next();return r.done?{done:!0}:{value:r.value,done:u=!1}},e:function e(r){o=!0,a=r},f:function f(){try{u||null==t.return||t.return()}finally{if(o)throw a}}}};function _slicedToArray(r,e){return _iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}function _iterableToArrayLimit(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(Array.isArray(r)&&(null==e||e===("undefined"!=typeof Symbol&&[][Symbol.iterator])||e===[]["@@iterator"]))return r;if(null!=e){var l,n,i,a,u=[],o=!0,f=!1;try{if(i=(e=e.call(r)).next,0===t){if(Object(e)!==e)return;o=!1}else for(;!(o=(l=i.call(e)).done)&&(u.push(l.value),u.length!==t);o=!0);}catch(r){f=!0,n=r}finally{try{if(!o&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(f)throw n}}return u}};/**
|
|
2165
2166
|
* Summarizes given property of given item list.
|
|
2166
2167
|
* @param data - Array of objects with given property name.
|
|
2167
2168
|
* @param propertyName - Property name to summarize.
|
|
@@ -2277,11 +2278,6 @@ Math.max(page-1,1)})})};/**
|
|
|
2277
2278
|
* should be.
|
|
2278
2279
|
* @returns Array of permuted arrays.
|
|
2279
2280
|
*/var permuteLength=function permuteLength(data,minimalSubsetLength){if(minimalSubsetLength===void 0){minimalSubsetLength=1}var result=[];if(data.length===0)return result;var _generate=function generate(index,source,rest){if(index===0){if(rest.length>0)result[result.length]=rest;return}for(var sourceIndex=0;sourceIndex<source.length;sourceIndex++)_generate(index-1,source.slice(sourceIndex+1),rest.concat([source[sourceIndex]]))};for(var index=minimalSubsetLength;index<data.length;index++)_generate(index,data,[]);result.push(data);return result};/**
|
|
2280
|
-
* Sums up given property of given item list.
|
|
2281
|
-
* @param data - The objects with specified property to sum up.
|
|
2282
|
-
* @param propertyName - Property name to sum up its value.
|
|
2283
|
-
* @returns The aggregated value.
|
|
2284
|
-
*/var sumUpProperty=function sumUpProperty(data,propertyName){var result=0;if(Array.isArray(data)&&data.length){var _iterator3=_createForOfIteratorHelper(data),_step3;try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var item=_step3.value;if(Object.prototype.hasOwnProperty.call(item,propertyName))result+=parseFloat(item[propertyName]||0)}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}}return result};/**
|
|
2285
2281
|
* Removes given target on given list.
|
|
2286
2282
|
* @param list - Array to splice.
|
|
2287
2283
|
* @param target - Target to remove from given list.
|
|
@@ -2292,8 +2288,8 @@ Math.max(page-1,1)})})};/**
|
|
|
2292
2288
|
* Sorts given object of dependencies in a topological order.
|
|
2293
2289
|
* @param items - Items to sort.
|
|
2294
2290
|
* @returns Sorted array of given items respecting their dependencies.
|
|
2295
|
-
*/var sortTopological=function sortTopological(items){var edges=[];for(var _i11=0,_Object$entries4=Object.entries(items);_i11<_Object$entries4.length;_i11++){var _Object$entries4$_i=_slicedToArray(_Object$entries4[_i11],2),name=_Object$entries4$_i[0],value=_Object$entries4$_i[1];items[name]=[].concat(value);if(value.length>0){var
|
|
2296
|
-
for(var _i12=0,_edges=edges;_i12<_edges.length;_i12++){var edge=_edges[_i12];var
|
|
2291
|
+
*/var sortTopological=function sortTopological(items){var edges=[];for(var _i11=0,_Object$entries4=Object.entries(items);_i11<_Object$entries4.length;_i11++){var _Object$entries4$_i=_slicedToArray(_Object$entries4[_i11],2),name=_Object$entries4$_i[0],value=_Object$entries4$_i[1];items[name]=[].concat(value);if(value.length>0){var _iterator3=_createForOfIteratorHelper(makeArray(value)),_step3;try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var dependencyName=_step3.value;edges.push([name,dependencyName])}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}}else edges.push([name])}var nodes=[];// Accumulate unique nodes into a large list.
|
|
2292
|
+
for(var _i12=0,_edges=edges;_i12<_edges.length;_i12++){var edge=_edges[_i12];var _iterator4=_createForOfIteratorHelper(edge),_step4;try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var node=_step4.value;if(!nodes.includes(node))nodes.push(node)}}catch(err){_iterator4.e(err)}finally{_iterator4.f()}}var sorted=[];// Define a visitor function that recursively traverses dependencies.
|
|
2297
2293
|
var _visit=function visit(node,predecessors){// Check if a node is dependent of itself.
|
|
2298
2294
|
if(predecessors.length!==0&&predecessors.includes(node))throw new Error("Cyclic dependency found. \"".concat(node,"\" is dependent of ")+"itself.\n"+"Dependency chain: \"".concat(predecessors.join("\" -> \""),"\" => \"")+"".concat(node,"\"."));var index=nodes.indexOf(node);// If the node still exists, traverse its dependencies.
|
|
2299
2295
|
if(index!==-1){var copy;// Mark the node to exclude it from future iterations.
|
|
@@ -2309,8 +2305,13 @@ if(_node){// Mark the node to exclude it from future iterations.
|
|
|
2309
2305
|
nodes[index]=null;/*
|
|
2310
2306
|
Loop through all edges and follow dependencies of the current
|
|
2311
2307
|
node.
|
|
2312
|
-
*/var
|
|
2313
|
-
_visit(_edge2[1],[_node])}}catch(err){
|
|
2308
|
+
*/var _iterator5=_createForOfIteratorHelper(edges),_step5;try{for(_iterator5.s();!(_step5=_iterator5.n()).done;){var _edge2=_step5.value;if(_edge2[0]===_node)// Recursively traverse to node dependencies.
|
|
2309
|
+
_visit(_edge2[1],[_node])}}catch(err){_iterator5.e(err)}finally{_iterator5.f()}sorted.push(_node)}}return sorted};/**
|
|
2310
|
+
* Sums up given property of given item list.
|
|
2311
|
+
* @param data - The objects with specified property to sum up.
|
|
2312
|
+
* @param propertyName - Property name to sum up its value.
|
|
2313
|
+
* @returns The aggregated value.
|
|
2314
|
+
*/var sumUpProperty=function sumUpProperty(data,propertyName){var result=0;if(Array.isArray(data)&&data.length){var _iterator6=_createForOfIteratorHelper(data),_step6;try{for(_iterator6.s();!(_step6=_iterator6.n()).done;){var item=_step6.value;if(Object.prototype.hasOwnProperty.call(item,propertyName))result+=parseFloat(item[propertyName]||0)}}catch(err){_iterator6.e(err)}finally{_iterator6.f()}}return result};/**
|
|
2314
2315
|
* Makes all values in given iterable unique by removing duplicates (The first
|
|
2315
2316
|
* occurrences will be left).
|
|
2316
2317
|
* @param data - Array like object.
|
|
@@ -2319,19 +2320,19 @@ _visit(_edge2[1],[_node])}}catch(err){_iterator6.e(err)}finally{_iterator6.f()}s
|
|
|
2319
2320
|
|
|
2320
2321
|
/***/ }),
|
|
2321
2322
|
/* 17 */
|
|
2322
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
2323
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_248535__) {
|
|
2323
2324
|
|
|
2324
|
-
|
|
2325
|
-
/* harmony export */
|
|
2325
|
+
__nested_webpack_require_248535__.r(__nested_webpack_exports__);
|
|
2326
|
+
/* harmony export */ __nested_webpack_require_248535__.d(__nested_webpack_exports__, {
|
|
2326
2327
|
/* harmony export */ DP: function() { return /* binding */ normalizeDateTime; },
|
|
2327
2328
|
/* harmony export */ JZ: function() { return /* binding */ _interpretDateTime; },
|
|
2328
2329
|
/* harmony export */ LE: function() { return /* binding */ dateTimeFormat; },
|
|
2329
2330
|
/* harmony export */ hr: function() { return /* binding */ DATE_TIME_PATTERN_CACHE; },
|
|
2330
2331
|
/* harmony export */ jJ: function() { return /* binding */ sliceWeekday; }
|
|
2331
2332
|
/* harmony export */ });
|
|
2332
|
-
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
2333
|
-
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
2334
|
-
/* harmony import */ var _string_js__WEBPACK_IMPORTED_MODULE_2__ =
|
|
2333
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_248535__(0);
|
|
2334
|
+
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_248535__(1);
|
|
2335
|
+
/* harmony import */ var _string_js__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_248535__(7);
|
|
2335
2336
|
// #!/usr/bin/env babel-node
|
|
2336
2337
|
// -*- coding: utf-8 -*-
|
|
2337
2338
|
/** @module dateTime *//* !
|
|
@@ -2436,15 +2437,15 @@ var result=new Date(value);if(isNaN(result.getDate()))return null;return result}
|
|
|
2436
2437
|
|
|
2437
2438
|
/***/ }),
|
|
2438
2439
|
/* 18 */
|
|
2439
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
2440
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_268259__) {
|
|
2440
2441
|
|
|
2441
|
-
|
|
2442
|
-
/* harmony export */
|
|
2442
|
+
__nested_webpack_require_268259__.r(__nested_webpack_exports__);
|
|
2443
|
+
/* harmony export */ __nested_webpack_require_268259__.d(__nested_webpack_exports__, {
|
|
2443
2444
|
/* harmony export */ D_: function() { return /* binding */ identity; },
|
|
2444
2445
|
/* harmony export */ Gj: function() { return /* binding */ _getParameterNames; },
|
|
2445
2446
|
/* harmony export */ gH: function() { return /* binding */ invertArrayFilter; }
|
|
2446
2447
|
/* harmony export */ });
|
|
2447
|
-
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
2448
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_268259__(0);
|
|
2448
2449
|
// #!/usr/bin/env babel-node
|
|
2449
2450
|
// -*- coding: utf-8 -*-
|
|
2450
2451
|
/** @module function *//* !
|
|
@@ -2482,9 +2483,9 @@ parameter=/([^= ]+) *=>.*/m.exec(functionCode);var names=[];if(parameter&¶me
|
|
|
2482
2483
|
|
|
2483
2484
|
/***/ }),
|
|
2484
2485
|
/* 19 */
|
|
2485
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
2486
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_272690__) {
|
|
2486
2487
|
|
|
2487
|
-
/* harmony export */
|
|
2488
|
+
/* harmony export */ __nested_webpack_require_272690__.d(__nested_webpack_exports__, {
|
|
2488
2489
|
/* harmony export */ CH: function() { return /* binding */ evaluateUnaryOperation; },
|
|
2489
2490
|
/* harmony export */ Cp: function() { return /* binding */ evaluateArrayContains; },
|
|
2490
2491
|
/* harmony export */ F9: function() { return /* binding */ evaluateCondition; },
|
|
@@ -2505,9 +2506,9 @@ parameter=/([^= ]+) *=>.*/m.exec(functionCode);var names=[];if(parameter&¶me
|
|
|
2505
2506
|
/* harmony export */ yf: function() { return /* binding */ evaluateSelectorUntilLastObject; }
|
|
2506
2507
|
/* harmony export */ });
|
|
2507
2508
|
/* unused harmony export evaluateExpression */
|
|
2508
|
-
/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
2509
|
-
/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
2510
|
-
/* harmony import */ var _indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__ =
|
|
2509
|
+
/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_272690__(4);
|
|
2510
|
+
/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_272690__(3);
|
|
2511
|
+
/* harmony import */ var _indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_272690__(14);
|
|
2511
2512
|
// #!/usr/bin/env babel-node
|
|
2512
2513
|
// -*- coding: utf-8 -*-
|
|
2513
2514
|
/* !
|
|
@@ -2523,7 +2524,7 @@ parameter=/([^= ]+) *=>.*/m.exec(functionCode);var names=[];if(parameter&¶me
|
|
|
2523
2524
|
naming 3.0 unported license.
|
|
2524
2525
|
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
2525
2526
|
endregion
|
|
2526
|
-
*/function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _slicedToArray(r,e){return
|
|
2527
|
+
*/function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _slicedToArray(r,e){return _iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(Array.isArray(r)&&(null==e||e===("undefined"!=typeof Symbol&&[][Symbol.iterator])||e===[]["@@iterator"]))return r;if(null!=e){var l,n,i,a,u=[],o=!0,f=!1;try{if(i=(e=e.call(r)).next,0===t){if(Object(e)!==e)return;o=!1}else for(;!(o=(l=i.call(e)).done)&&(u.push(l.value),u.length!==t);o=!0);}catch(r){f=!0,n=r}finally{try{if(!o&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(f)throw n}}return u}}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(r){var e="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(Array.isArray(r)&&(null==e||e===("undefined"!=typeof Symbol&&[][Symbol.iterator])||e===[]["@@iterator"]))return r;if(null!=e){for(var t,o=[],a=e.call(r);!(t=a.next()).done;)o.push(t.value);return o}}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+""}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var r;if("undefined"!=typeof Symbol&&void 0!==(r=t[Symbol.toPrimitive])){var i=r.call(t,e||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,u=!0;return{s:function s(){t=t.call(r)},n:function n(){u=!0;var r=t.next();return r.done?{done:!0}:{value:r.value,done:u=!1}},e:function e(r){o=!0,a=r},f:function f(){try{u||null==t.return||t.return()}finally{if(o)throw a}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n};var SELECTOR_KEY_NAMES=new Set(["name"]);var NO_ITEM_FOUND_SYMBOL=Symbol.for("EXPRESSION_EVALUATOR_NO_ITEM_FOUND");var DEFAULT_OPTIONS={skipMissingLevel:false,contextReplacements:{},delimiter:"."};var addBracketBasedPathElements=function addBracketBasedPathElements(subParts){var path=[];// NOTE: We add index assignments into path array.
|
|
2527
2528
|
var _iterator=_createForOfIteratorHelper(subParts),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var subPart=_step.value;var openingBracketPosition=subPart.indexOf("[");if(openingBracketPosition>0)path.push(subPart.substring(0,openingBracketPosition));// Trim bracket padding "[index]" => "index".
|
|
2528
2529
|
path.push(subPart.substring(openingBracketPosition+1,subPart.length-1))}}catch(err){_iterator.e(err)}finally{_iterator.f()}return path};var _normalizeSelector=function normalizeSelector(selector,givenOptions){if(givenOptions===void 0){givenOptions={}}var options=_objectSpread(_objectSpread({},DEFAULT_OPTIONS),{},{scope:{}},givenOptions);var path=[];var _iterator2=_createForOfIteratorHelper([].concat(selector)),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var component=_step2.value;if(typeof component==="string"){var parts=component.split(options.delimiter);var _iterator3=_createForOfIteratorHelper(parts),_step3;try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var part=_step3.value;if(!part)continue;if((0,_index_js__WEBPACK_IMPORTED_MODULE_0__/* .isFunction */ .Tn)(part)){path.push(part);continue}// Identify bracket based selectors like "[index]".
|
|
2529
2530
|
var openingBracketPosition=part.indexOf("[");var restPart=part;if(openingBracketPosition!==-1){restPart=part.substring(openingBracketPosition);part=part.substring(0,openingBracketPosition)}if(Object.prototype.hasOwnProperty.call(options.contextReplacements,part))path.push.apply(path,_toConsumableArray(_normalizeSelector(options.contextReplacements[part],options)));else path.push(part);if(restPart!==part){// Trim bracket padding "[index]" => "index".
|
|
@@ -2557,17 +2558,17 @@ var result=scope;var index=0;var _iterator6=_createForOfIteratorHelper(path),_st
|
|
|
2557
2558
|
* @param options.skipMissingLevel - Indicates to skip missing level in given
|
|
2558
2559
|
* path.
|
|
2559
2560
|
* @returns Determined sub structure of given data or "undefined".
|
|
2560
|
-
*/var evaluateSelector=function evaluateSelector(selector,scope,options){if(scope===void 0){scope={}}if(options===void 0){options={}}var _evaluateSelectorUnti=evaluateSelectorUntilLastObject(selector,scope,options),_evaluateSelectorUnti2=_slicedToArray(_evaluateSelectorUnti,2),lastObject=_evaluateSelectorUnti2[0],lastKey=_evaluateSelectorUnti2[1];if(lastKey==="")return scope;if((0,_index_js__WEBPACK_IMPORTED_MODULE_0__/* .isFunction */ .Tn)(lastKey))return lastKey(lastObject);if(Object.prototype.hasOwnProperty.call(lastObject,lastKey))return lastObject[lastKey];return options.skipMissingLevel?lastObject:undefined};var evaluateCondition=function evaluateCondition(condition,scope,options){var value1=evaluateExpression(condition.value1,scope,options);var value2=evaluateExpression(condition.value2,scope,options);switch(condition.$comparator){case"==":return (0,_index_js__WEBPACK_IMPORTED_MODULE_1__/* .equals */ .aI)(value1,value2);case"!=":return!(0,_index_js__WEBPACK_IMPORTED_MODULE_1__/* .equals */ .aI)(value1,value2);case"<":return value1<value2;case"<=":return value1<=value2;case">":return value1>value2;case">=":return value1>=value2}};var
|
|
2561
|
+
*/var evaluateSelector=function evaluateSelector(selector,scope,options){if(scope===void 0){scope={}}if(options===void 0){options={}}var _evaluateSelectorUnti=evaluateSelectorUntilLastObject(selector,scope,options),_evaluateSelectorUnti2=_slicedToArray(_evaluateSelectorUnti,2),lastObject=_evaluateSelectorUnti2[0],lastKey=_evaluateSelectorUnti2[1];if(lastKey==="")return scope;if((0,_index_js__WEBPACK_IMPORTED_MODULE_0__/* .isFunction */ .Tn)(lastKey))return lastKey(lastObject);if(Object.prototype.hasOwnProperty.call(lastObject,lastKey))return lastObject[lastKey];return options.skipMissingLevel?lastObject:undefined};var evaluateCondition=function evaluateCondition(condition,scope,options){var value1=evaluateExpression(condition.value1,scope,options);var value2=evaluateExpression(condition.value2,scope,options);switch(condition.$comparator){case"==":return (0,_index_js__WEBPACK_IMPORTED_MODULE_1__/* .equals */ .aI)(value1,value2);case"!=":return!(0,_index_js__WEBPACK_IMPORTED_MODULE_1__/* .equals */ .aI)(value1,value2);case"<":return value1<value2;case"<=":return value1<=value2;case">":return value1>value2;case">=":return value1>=value2}};var evaluateOperation=function evaluateOperation(operation,scope,options){var operand1=evaluateExpression(operation.operand1,scope,options);var operand2=evaluateExpression(operation.operand2,scope,options);switch(operation.$operator){case"+":return operand1+operand2;case"-":return operand1-operand2;case"*":return operand1*operand2;case"**":return Math.pow(operand1,operand2);case"/":return operand1/operand2}};var evaluateUnaryOperation=function evaluateUnaryOperation(operation,scope,options){var operand=evaluateExpression(operation.operand,scope,options);switch(operation.$operator){case"!":return!operand;case"!!":return Boolean(operand)}};var evaluateOptionalThen=function evaluateOptionalThen(expression,scope,options){if(typeof expression.then==="undefined")return undefined;return evaluateExpression(expression.then,scope,options)};var evaluateIf=function evaluateIf(expression,scope,options){if(evaluateExpression(expression.$if,scope,options))return evaluateOptionalThen(expression,scope,options);return typeof expression.else==="undefined"?undefined:evaluateExpression(expression.else,scope)};var evaluateSwitch=function evaluateSwitch(expression,scope,options){var value=evaluateExpression(expression.$switch,scope);var _iterator7=_createForOfIteratorHelper(expression.caseExpressions),_step7;try{for(_iterator7.s();!(_step7=_iterator7.n()).done;){var caseExpression=_step7.value;if(value===evaluateExpression(caseExpression.$case,scope,options))return evaluateOptionalThen(caseExpression,scope,options)}}catch(err){_iterator7.e(err)}finally{_iterator7.f()}if(typeof expression.default!=="undefined")return evaluateExpression(expression.default,scope,options);return undefined};var evaluateAnd=function evaluateAnd(expression,scope,options){var _iterator8=_createForOfIteratorHelper(expression.$and),_step8;try{for(_iterator8.s();!(_step8=_iterator8.n()).done;){var condition=_step8.value;if(!evaluateExpression(condition,scope,options))return false}}catch(err){_iterator8.e(err)}finally{_iterator8.f()}return true};var evaluateOr=function evaluateOr(expression,scope,options){var _iterator9=_createForOfIteratorHelper(expression.$or),_step9;try{for(_iterator9.s();!(_step9=_iterator9.n()).done;){var condition=_step9.value;if(evaluateExpression(condition,scope,options))return true}}catch(err){_iterator9.e(err)}finally{_iterator9.f()}return false};var evaluateConcat=function evaluateConcat(expression,scope,options){var result=[];var isArray=false;var _iterator0=_createForOfIteratorHelper(expression.$concat),_step0;try{for(_iterator0.s();!(_step0=_iterator0.n()).done;){var item=_step0.value;var value=evaluateExpression(item,scope,options);if(Array.isArray(value))isArray=true;result=result.concat(value)}}catch(err){_iterator0.e(err)}finally{_iterator0.f()}return isArray?result:result.join("")};var evaluateMapping=function evaluateMapping(expression,scope,options){var givenData=evaluateExpression(expression.data,scope,options);var normalizedGivenData=[];if(Array.isArray(givenData))normalizedGivenData=givenData;else for(var _i=0,_Object$entries=Object.entries(givenData);_i<_Object$entries.length;_i++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i],2),key=_Object$entries$_i[0],value=_Object$entries$_i[1];normalizedGivenData.push(_objectSpread(_objectSpread({},value),{},{$key:key}))}var result=[];var _iterator1=_createForOfIteratorHelper(normalizedGivenData),_step1;try{for(_iterator1.s();!(_step1=_iterator1.n()).done;){var item=_step1.value;var _value={};for(var _i2=0,_Object$entries2=Object.entries(expression.$mapping);_i2<_Object$entries2.length;_i2++){var _Object$entries2$_i=_slicedToArray(_Object$entries2[_i2],2),sourceName=_Object$entries2$_i[0],targetName=_Object$entries2$_i[1];if(Object.prototype.hasOwnProperty.call(item,sourceName))_value[targetName]=item[sourceName]}result.push(_value)}}catch(err){_iterator1.e(err)}finally{_iterator1.f()}return result};var evaluateArrayContains=function evaluateArrayContains(expression,scope,options){var array=scope;if(expression.$arrayContains.target!=null)array=evaluateExpression(expression.$arrayContains.target,scope,options);var value=evaluateExpression(expression.$arrayContains.value,scope,options);var key=evaluateExpression(expression.$arrayContains.key,scope,options);if(!Array.isArray(array))return false;return array.some(function(item){if(typeof key==="string"&&(0,_index_js__WEBPACK_IMPORTED_MODULE_0__/* .isPlainObject */ .Qd)(item)&&Object.prototype.hasOwnProperty.call(item,key)){var record=item;return record[key]===value}return item===value})};function evaluateExpression(expression,scope,options){if(scope===void 0){scope={}}if(options===void 0){options={}}if((0,_indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__/* .isSelector */ .cB)(expression))return evaluateSelector(expression.$select,scope,options);if((0,_indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__/* .isCondition */ .G3)(expression))return evaluateCondition(expression,scope,options);if((0,_indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__/* .isUnaryOperation */ .bF)(expression))return evaluateUnaryOperation(expression,scope,options);if((0,_indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__/* .isOperation */ .YG)(expression))return evaluateOperation(expression,scope,options);if((0,_indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__/* .isOrExpression */ .g6)(expression))return evaluateOr(expression,scope,options);if((0,_indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__/* .isAndExpression */ .Gc)(expression))return evaluateAnd(expression,scope,options);if((0,_indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__/* .isConcatExpression */ .HK)(expression))return evaluateConcat(expression,scope,options);if((0,_indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__/* .isMappingExpression */ .Z9)(expression))return evaluateMapping(expression,scope,options);if((0,_indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__/* .isIfExpression */ .MP)(expression))return evaluateIf(expression,scope,options);if((0,_indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__/* .isSwitchExpression */ .$y)(expression))return evaluateSwitch(expression,scope,options);if((0,_indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__/* .isArrayContainsExpression */ .ZI)(expression))return evaluateArrayContains(expression,scope,options);return expression}/* harmony default export */ __nested_webpack_exports__.Ay = (evaluateExpression);
|
|
2561
2562
|
|
|
2562
2563
|
/***/ }),
|
|
2563
2564
|
/* 20 */
|
|
2564
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
2565
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_292516__) {
|
|
2565
2566
|
|
|
2566
|
-
/* harmony export */
|
|
2567
|
+
/* harmony export */ __nested_webpack_require_292516__.d(__nested_webpack_exports__, {
|
|
2567
2568
|
/* harmony export */ b: function() { return /* binding */ viewArrayAsScope; },
|
|
2568
2569
|
/* harmony export */ x: function() { return /* binding */ _viewObjectAsScope; }
|
|
2569
2570
|
/* harmony export */ });
|
|
2570
|
-
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
2571
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_292516__(0);
|
|
2571
2572
|
// #!/usr/bin/env babel-node
|
|
2572
2573
|
// -*- coding: utf-8 -*-
|
|
2573
2574
|
/* !
|
|
@@ -2607,9 +2608,9 @@ return viewArrayAsScope(value,childrenPropertyNames,propertyReferenceKeys)}if(va
|
|
|
2607
2608
|
|
|
2608
2609
|
/***/ }),
|
|
2609
2610
|
/* 21 */
|
|
2610
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
2611
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_297839__) {
|
|
2611
2612
|
|
|
2612
|
-
/* harmony export */
|
|
2613
|
+
/* harmony export */ __nested_webpack_require_297839__.d(__nested_webpack_exports__, {
|
|
2613
2614
|
/* harmony export */ $y: function() { return /* reexport safe */ _indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__.$y; },
|
|
2614
2615
|
/* harmony export */ CH: function() { return /* reexport safe */ _evaluators_js__WEBPACK_IMPORTED_MODULE_0__.CH; },
|
|
2615
2616
|
/* harmony export */ Cp: function() { return /* reexport safe */ _evaluators_js__WEBPACK_IMPORTED_MODULE_0__.Cp; },
|
|
@@ -2645,9 +2646,9 @@ return viewArrayAsScope(value,childrenPropertyNames,propertyReferenceKeys)}if(va
|
|
|
2645
2646
|
/* harmony export */ xk: function() { return /* reexport safe */ _helper_js__WEBPACK_IMPORTED_MODULE_1__.x; },
|
|
2646
2647
|
/* harmony export */ yf: function() { return /* reexport safe */ _evaluators_js__WEBPACK_IMPORTED_MODULE_0__.yf; }
|
|
2647
2648
|
/* harmony export */ });
|
|
2648
|
-
/* harmony import */ var _evaluators_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
2649
|
-
/* harmony import */ var _helper_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
2650
|
-
/* harmony import */ var _indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__ =
|
|
2649
|
+
/* harmony import */ var _evaluators_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_297839__(19);
|
|
2650
|
+
/* harmony import */ var _helper_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_297839__(20);
|
|
2651
|
+
/* harmony import */ var _indicator_functions_js__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_297839__(14);
|
|
2651
2652
|
// #!/usr/bin/env babel-node
|
|
2652
2653
|
// -*- coding: utf-8 -*-
|
|
2653
2654
|
/* !
|
|
@@ -2667,12 +2668,12 @@ return viewArrayAsScope(value,childrenPropertyNames,propertyReferenceKeys)}if(va
|
|
|
2667
2668
|
|
|
2668
2669
|
/***/ }),
|
|
2669
2670
|
/* 22 */
|
|
2670
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
2671
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_303049__) {
|
|
2671
2672
|
|
|
2672
|
-
/* harmony export */
|
|
2673
|
+
/* harmony export */ __nested_webpack_require_303049__.d(__nested_webpack_exports__, {
|
|
2673
2674
|
/* harmony export */ l: function() { return /* reexport safe */ _constants_js__WEBPACK_IMPORTED_MODULE_0__.l_; }
|
|
2674
2675
|
/* harmony export */ });
|
|
2675
|
-
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
2676
|
+
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_303049__(1);
|
|
2676
2677
|
// #!/usr/bin/env babel-node
|
|
2677
2678
|
// -*- coding: utf-8 -*-
|
|
2678
2679
|
/** @module cli *//* !
|
|
@@ -2697,14 +2698,14 @@ return viewArrayAsScope(value,childrenPropertyNames,propertyReferenceKeys)}if(va
|
|
|
2697
2698
|
|
|
2698
2699
|
/***/ }),
|
|
2699
2700
|
/* 23 */
|
|
2700
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
2701
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_304163__) {
|
|
2701
2702
|
|
|
2702
|
-
/* harmony export */
|
|
2703
|
+
/* harmony export */ __nested_webpack_require_304163__.d(__nested_webpack_exports__, {
|
|
2703
2704
|
/* harmony export */ Ri: function() { return /* binding */ getCookie; },
|
|
2704
2705
|
/* harmony export */ TV: function() { return /* binding */ setCookie; },
|
|
2705
2706
|
/* harmony export */ Yj: function() { return /* binding */ deleteCookie; }
|
|
2706
2707
|
/* harmony export */ });
|
|
2707
|
-
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
2708
|
+
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_304163__(5);
|
|
2708
2709
|
// #!/usr/bin/env babel-node
|
|
2709
2710
|
// -*- coding: utf-8 -*-
|
|
2710
2711
|
/** @module cookie *//* !
|
|
@@ -2748,18 +2749,18 @@ return viewArrayAsScope(value,childrenPropertyNames,propertyReferenceKeys)}if(va
|
|
|
2748
2749
|
|
|
2749
2750
|
/***/ }),
|
|
2750
2751
|
/* 24 */
|
|
2751
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
2752
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_310791__) {
|
|
2752
2753
|
|
|
2753
|
-
/* harmony export */
|
|
2754
|
+
/* harmony export */ __nested_webpack_require_310791__.d(__nested_webpack_exports__, {
|
|
2754
2755
|
/* harmony export */ CJ: function() { return /* binding */ cacheImage; },
|
|
2755
2756
|
/* harmony export */ QB: function() { return /* binding */ checkReachability; },
|
|
2756
2757
|
/* harmony export */ Zx: function() { return /* binding */ checkUnreachability; }
|
|
2757
2758
|
/* harmony export */ });
|
|
2758
|
-
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
2759
|
-
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
2760
|
-
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_2__ =
|
|
2761
|
-
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_3__ =
|
|
2762
|
-
/* harmony import */ var _utility_js__WEBPACK_IMPORTED_MODULE_4__ =
|
|
2759
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_310791__(0);
|
|
2760
|
+
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_310791__(4);
|
|
2761
|
+
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_310791__(5);
|
|
2762
|
+
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_310791__(3);
|
|
2763
|
+
/* harmony import */ var _utility_js__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_310791__(13);
|
|
2763
2764
|
// #!/usr/bin/env babel-node
|
|
2764
2765
|
// -*- coding: utf-8 -*-
|
|
2765
2766
|
/** @module data-transfer *//* !
|
|
@@ -2776,6 +2777,10 @@ return viewArrayAsScope(value,childrenPropertyNames,propertyReferenceKeys)}if(va
|
|
|
2776
2777
|
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
2777
2778
|
endregion
|
|
2778
2779
|
*/function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},_regeneratorDefine2(e,r,n,t)};function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}};/**
|
|
2780
|
+
* Preloads a given url via a temporary created image element.
|
|
2781
|
+
* @param url - To image which should be downloaded.
|
|
2782
|
+
* @returns A Promise indicating whether the image was loaded.
|
|
2783
|
+
*/var cacheImage=function cacheImage(url){return new Promise(function(resolve,reject){var imageElement=document.createElement("img");imageElement.onload=function(){var isLoaded=imageElement.complete;imageElement.remove();if(isLoaded)resolve();else reject(new Error("Image could not be loaded."))};imageElement.src=url})};/**
|
|
2779
2784
|
* Checks if given url response with given status code.
|
|
2780
2785
|
* @param url - Url to check reachability.
|
|
2781
2786
|
* @param givenOptions - Options to configure.
|
|
@@ -2819,17 +2824,13 @@ return viewArrayAsScope(value,childrenPropertyNames,propertyReferenceKeys)}if(va
|
|
|
2819
2824
|
errors about unhandled promise rejections.
|
|
2820
2825
|
*/currentlyRunningTimer.catch(function(){// Do nothing regardless of an error.
|
|
2821
2826
|
});_context3.n=5;break;case 4:_context3.p=4;_t4=_context3.v;timer.clear();resolve(_t4);return _context3.a(2,_t4);case 5:return _context3.a(2,null)}},_callee3,null,[[0,4]])}));function wrapper(){return _wrapper3.apply(this,arguments)}return wrapper}();var currentlyRunningTimer=(0,_utility_js__WEBPACK_IMPORTED_MODULE_4__/* .timeout */ .wR)(_wrapper2);var timer=(0,_utility_js__WEBPACK_IMPORTED_MODULE_4__/* .timeout */ .wR)(options.timeoutInSeconds*1000);timer.then(function(){timedOut=true;currentlyRunningTimer.clear();reject(new Error("Timeout of ".concat(String(options.timeoutInSeconds)," ")+"seconds reached."));abortController.abort()},function(){// Do nothing.
|
|
2822
|
-
})}));case 2:_context4.p=2;_t5=check;_context4.n=3;return _context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.fetch(url,options.options);case 3:result=_t5(_context4.v);if(!result){_context4.n=4;break}return _context4.a(2,result);case 4:_context4.n=6;break;case 5:_context4.p=5;_t6=_context4.v;return _context4.a(2,_t6);case 6:throw new Error("Given url \"".concat(url,"\" is reachable."));case 7:return _context4.a(2)}},_callee4,null,[[2,5]])}));function checkUnreachability(_x3,_x4){return _checkUnreachability.apply(this,arguments)}return checkUnreachability}()
|
|
2823
|
-
* Preloads a given url via a temporary created image element.
|
|
2824
|
-
* @param url - To image which should be downloaded.
|
|
2825
|
-
* @returns A Promise indicating whether the image was loaded.
|
|
2826
|
-
*/var cacheImage=function cacheImage(url){return new Promise(function(resolve,reject){var imageElement=document.createElement("img");imageElement.onload=function(){var isLoaded=imageElement.complete;imageElement.remove();if(isLoaded)resolve();else reject(new Error("Image could not be loaded."))};imageElement.src=url})};
|
|
2827
|
+
})}));case 2:_context4.p=2;_t5=check;_context4.n=3;return _context_js__WEBPACK_IMPORTED_MODULE_2__/* .globalContext */ .Lz.fetch(url,options.options);case 3:result=_t5(_context4.v);if(!result){_context4.n=4;break}return _context4.a(2,result);case 4:_context4.n=6;break;case 5:_context4.p=5;_t6=_context4.v;return _context4.a(2,_t6);case 6:throw new Error("Given url \"".concat(url,"\" is reachable."));case 7:return _context4.a(2)}},_callee4,null,[[2,5]])}));function checkUnreachability(_x3,_x4){return _checkUnreachability.apply(this,arguments)}return checkUnreachability}();
|
|
2827
2828
|
|
|
2828
2829
|
/***/ }),
|
|
2829
2830
|
/* 25 */
|
|
2830
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
2831
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_325077__) {
|
|
2831
2832
|
|
|
2832
|
-
/* harmony export */
|
|
2833
|
+
/* harmony export */ __nested_webpack_require_325077__.d(__nested_webpack_exports__, {
|
|
2833
2834
|
/* harmony export */ C_: function() { return /* binding */ createDomNodes; },
|
|
2834
2835
|
/* harmony export */ Cc: function() { return /* binding */ interruptableScrollTo; },
|
|
2835
2836
|
/* harmony export */ D7: function() { return /* binding */ STOP_AUTO_SCROLLING; },
|
|
@@ -2850,9 +2851,9 @@ return viewArrayAsScope(value,childrenPropertyNames,propertyReferenceKeys)}if(va
|
|
|
2850
2851
|
/* harmony export */ qq: function() { return /* binding */ onDocumentReady; },
|
|
2851
2852
|
/* harmony export */ wT: function() { return /* binding */ getParents; }
|
|
2852
2853
|
/* harmony export */ });
|
|
2853
|
-
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
2854
|
-
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
2855
|
-
/* harmony import */ var _utility_js__WEBPACK_IMPORTED_MODULE_2__ =
|
|
2854
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_325077__(0);
|
|
2855
|
+
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_325077__(5);
|
|
2856
|
+
/* harmony import */ var _utility_js__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_325077__(13);
|
|
2856
2857
|
// #!/usr/bin/env babel-node
|
|
2857
2858
|
// -*- coding: utf-8 -*-
|
|
2858
2859
|
/** @module domNode *//* !
|
|
@@ -2868,10 +2869,11 @@ return viewArrayAsScope(value,childrenPropertyNames,propertyReferenceKeys)}if(va
|
|
|
2868
2869
|
naming 3.0 unported license.
|
|
2869
2870
|
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
2870
2871
|
endregion
|
|
2871
|
-
*/function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},_regeneratorDefine2(e,r,n,t)}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}};function _slicedToArray(r,e){return
|
|
2872
|
+
*/function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},_regeneratorDefine2(e,r,n,t)}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}};function _slicedToArray(r,e){return _iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(Array.isArray(r)&&(null==e||e===("undefined"!=typeof Symbol&&[][Symbol.iterator])||e===[]["@@iterator"]))return r;if(null!=e){var l,n,i,a,u=[],o=!0,f=!1;try{if(i=(e=e.call(r)).next,0===t){if(Object(e)!==e)return;o=!1}else for(;!(o=(l=i.call(e)).done)&&(u.push(l.value),u.length!==t);o=!0);}catch(r){f=!0,n=r}finally{try{if(!o&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(f)throw n}}return u}}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+""}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var r;if("undefined"!=typeof Symbol&&void 0!==(r=t[Symbol.toPrimitive])){var i=r.call(t,e||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(r){var e="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(Array.isArray(r)&&(null==e||e===("undefined"!=typeof Symbol&&[][Symbol.iterator])||e===[]["@@iterator"]))return r;if(null!=e){for(var t,o=[],a=e.call(r);!(t=a.next()).done;)o.push(t.value);return o}}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,u=!0;return{s:function s(){t=t.call(r)},n:function n(){u=!0;var r=t.next();return r.done?{done:!0}:{value:r.value,done:u=!1}},e:function e(r){o=!0,a=r},f:function f(){try{u||null==t.return||t.return()}finally{if(o)throw a}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n};var STOP_AUTO_SCROLLING={value:_context_js__WEBPACK_IMPORTED_MODULE_1__/* .NOOP */ .tE};var MANUAL_SCROLL_EVENT_NAMES=["DOMMouseScroll","keydown","mousedown","mousewheel","wheel","touchstart","touchmove"];var SCROLL_EVENT_NAMES=["scroll"].concat(MANUAL_SCROLL_EVENT_NAMES);var closest=function closest(node,selector,startWithParent){var _node$parentElement;if(startWithParent===void 0){startWithParent=false}return"closest"in node&&!startWithParent?node.closest(selector):((_node$parentElement=node.parentElement)===null||_node$parentElement===void 0?void 0:_node$parentElement.closest(selector))||null};var createDomNodes=function createDomNodes(html){var domNodeWrapper=document.createElement("div");domNodeWrapper.innerHTML=html;if(domNodeWrapper.childNodes.length===1)/*
|
|
2872
2873
|
NOTE: We need to clone the nested child to decouple it from its
|
|
2873
2874
|
parent node.
|
|
2874
|
-
*/return domNodeWrapper.childNodes[0].cloneNode(true);return domNodeWrapper};var fade=function fade(domNode,intervalInMilliseconds,out){if(intervalInMilliseconds===void 0){intervalInMilliseconds=200}if(out===void 0){out=true}var transitionBackup=domNode.style.transition;var visibleBackup=domNode.style.visibility;var opacityBackup=domNode.style.opacity;var hadStyleAttribute=domNode.hasAttribute("style");if(out){domNode.style.visibility="hidden";domNode.style.opacity="0";domNode.style.transition="visibility 0s ".concat(String(intervalInMilliseconds),"ms, ")+"opacity ".concat(String(intervalInMilliseconds),"ms linear")}else{domNode.style.visibility="visible";domNode.style.opacity="1";domNode.style.transition="opacity ".concat(String(intervalInMilliseconds),"ms linear")}var clearTimeoutAndResetDomNode=_context_js__WEBPACK_IMPORTED_MODULE_1__/* .NOOP */ .tE;var resolved=false;var promise=new Promise(function(resolve){clearTimeoutAndResetDomNode=function clearTimeoutAndResetDomNode(){domNode.style.transition=transitionBackup;resolved=true;resolve()};void (0,_utility_js__WEBPACK_IMPORTED_MODULE_2__/* .timeout */ .wR)(intervalInMilliseconds).then(clearTimeoutAndResetDomNode)});promise.clear=function(){if(!resolved){domNode.style.transition="none";clearTimeoutAndResetDomNode()}};promise.resetStyles=function(){if(hadStyleAttribute){domNode.style.transition=transitionBackup;domNode.style.visibility=visibleBackup;domNode.style.opacity=opacityBackup}else domNode.removeAttribute("style")};return promise};var fadeIn=function fadeIn(domNode,intervalInMilliseconds){if(intervalInMilliseconds===void 0){intervalInMilliseconds=200}return fade(domNode,intervalInMilliseconds,false)};var fadeOut=function fadeOut(domNode,intervalInMilliseconds){if(intervalInMilliseconds===void 0){intervalInMilliseconds=200}return fade(domNode,intervalInMilliseconds)};var
|
|
2875
|
+
*/return domNodeWrapper.childNodes[0].cloneNode(true);return domNodeWrapper};var fade=function fade(domNode,intervalInMilliseconds,out){if(intervalInMilliseconds===void 0){intervalInMilliseconds=200}if(out===void 0){out=true}var transitionBackup=domNode.style.transition;var visibleBackup=domNode.style.visibility;var opacityBackup=domNode.style.opacity;var hadStyleAttribute=domNode.hasAttribute("style");if(out){domNode.style.visibility="hidden";domNode.style.opacity="0";domNode.style.transition="visibility 0s ".concat(String(intervalInMilliseconds),"ms, ")+"opacity ".concat(String(intervalInMilliseconds),"ms linear")}else{domNode.style.visibility="visible";domNode.style.opacity="1";domNode.style.transition="opacity ".concat(String(intervalInMilliseconds),"ms linear")}var clearTimeoutAndResetDomNode=_context_js__WEBPACK_IMPORTED_MODULE_1__/* .NOOP */ .tE;var resolved=false;var promise=new Promise(function(resolve){clearTimeoutAndResetDomNode=function clearTimeoutAndResetDomNode(){domNode.style.transition=transitionBackup;resolved=true;resolve()};void (0,_utility_js__WEBPACK_IMPORTED_MODULE_2__/* .timeout */ .wR)(intervalInMilliseconds).then(clearTimeoutAndResetDomNode)});promise.clear=function(){if(!resolved){domNode.style.transition="none";clearTimeoutAndResetDomNode()}};promise.resetStyles=function(){if(hadStyleAttribute){domNode.style.transition=transitionBackup;domNode.style.visibility=visibleBackup;domNode.style.opacity=opacityBackup}else domNode.removeAttribute("style")};return promise};var fadeIn=function fadeIn(domNode,intervalInMilliseconds){if(intervalInMilliseconds===void 0){intervalInMilliseconds=200}return fade(domNode,intervalInMilliseconds,false)};var fadeOut=function fadeOut(domNode,intervalInMilliseconds){if(intervalInMilliseconds===void 0){intervalInMilliseconds=200}return fade(domNode,intervalInMilliseconds)};var getAll=function getAll(root){if(!_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz.document)return[];var nodes=[];// SHOW_ALL includes elements, text, and comments
|
|
2876
|
+
var walker=_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz.document.createTreeWalker(root,NodeFilter.SHOW_ALL,null);var currentNode=walker.currentNode;while(currentNode){nodes.push(currentNode);currentNode=walker.nextNode()}return nodes};var getParents=function getParents(node){var result=[];while(node.parentNode){result.push(node.parentNode);node=node.parentNode}return result};var _getText=function getText(root,recursive){if(recursive===void 0){recursive=false}if(root.nodeType===Node.TEXT_NODE){var _root$nodeValue;var content=(_root$nodeValue=root.nodeValue)===null||_root$nodeValue===void 0?void 0:_root$nodeValue.trim();if(content)return[content]}var result=[];var _iterator=_createForOfIteratorHelper(root.childNodes),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var domNode=_step.value;if(recursive||domNode.nodeType===Node.TEXT_NODE)result.push.apply(result,_toConsumableArray(_getText(domNode)))}}catch(err){_iterator.e(err)}finally{_iterator.f()}return result};/**
|
|
2875
2877
|
* Smoothly scrolls both horizontally and vertically to a target DOM node.
|
|
2876
2878
|
* Cancels instantly if the user interacts with the mouse, touch, or keys.
|
|
2877
2879
|
* @param givenOptions - Configuration options.
|
|
@@ -2891,15 +2893,14 @@ targetY=options.targetDomNode.offsetTop-options.containerDomNode.offsetTop-optio
|
|
|
2891
2893
|
if(distanceY===0&&distanceX===0)return;var startTime=null;var animationFrameId=null;// Easing function
|
|
2892
2894
|
var easeInOutQuad=function easeInOutQuad(time){return time<0.5?2*time*time:-1+(4-2*time)*time};if(options.interruptOnManualScroll){// 3. Define the interrupt / teardown system
|
|
2893
2895
|
STOP_AUTO_SCROLLING.value=function(){if(animationFrameId){cancelAnimationFrame(animationFrameId);animationFrameId=null}for(var _i=0,_arr=[body,document.querySelector("html"),window];_i<_arr.length;_i++){var node=_arr[_i];for(var _i2=0,_MANUAL_SCROLL_EVENT_=MANUAL_SCROLL_EVENT_NAMES;_i2<_MANUAL_SCROLL_EVENT_.length;_i2++){var name=_MANUAL_SCROLL_EVENT_[_i2];node===null||node===void 0||node.removeEventListener(name,STOP_AUTO_SCROLLING.value)}}STOP_AUTO_SCROLLING.value=_context_js__WEBPACK_IMPORTED_MODULE_1__/* .NOOP */ .tE};for(var _i3=0,_arr2=[body,document.querySelector("html"),window];_i3<_arr2.length;_i3++){var node=_arr2[_i3];for(var _i4=0,_MANUAL_SCROLL_EVENT_2=MANUAL_SCROLL_EVENT_NAMES;_i4<_MANUAL_SCROLL_EVENT_2.length;_i4++){var name=_MANUAL_SCROLL_EVENT_2[_i4];node===null||node===void 0||node.addEventListener(name,STOP_AUTO_SCROLLING.value,{passive:true})}}}// 4. Multi-axis animation loop
|
|
2894
|
-
var
|
|
2896
|
+
var _step2=function step(currentTime){if(!startTime)startTime=currentTime;var progress=currentTime-startTime;var timeRatio=Math.min(progress/options.durationInMilliseconds,1);var easedRatio=easeInOutQuad(timeRatio);// Linearly interpolate the positions based on eased progress.
|
|
2895
2897
|
var nextY=startY+distanceY*easedRatio;var nextX=startX+distanceX*easedRatio;// Apply scroll to window or container.
|
|
2896
|
-
if(isWindow)window.scrollTo(nextX,nextY);else{;options.containerDomNode.scrollTop=nextY;options.containerDomNode.scrollLeft=nextX}if(timeRatio<1)animationFrameId=requestAnimationFrame(
|
|
2898
|
+
if(isWindow)window.scrollTo(nextX,nextY);else{;options.containerDomNode.scrollTop=nextY;options.containerDomNode.scrollLeft=nextX}if(timeRatio<1)animationFrameId=requestAnimationFrame(_step2);else STOP_AUTO_SCROLLING.value()};animationFrameId=requestAnimationFrame(_step2)};/**
|
|
2897
2899
|
* Scrolls to the given DomNode's location or tio of the page.
|
|
2898
2900
|
* @param targetDomNode - DomNode to scroll to. If not given, scrolls to the
|
|
2899
2901
|
* top of the page.
|
|
2900
2902
|
* @param behavior - Scroll behavior to use.
|
|
2901
|
-
*/var scrollTo=function scrollTo(targetDomNode,behavior){var _globalContext$window;if(targetDomNode===void 0){targetDomNode=null}if(behavior===void 0){behavior="smooth"}if(targetDomNode&&!("getBoundingClientRect"in targetDomNode))targetDomNode=targetDomNode.parentElement;var _ref=targetDomNode?targetDomNode.getBoundingClientRect():{left:0,top:0},left=_ref.left,top=_ref.top;(_globalContext$window=_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz.window)===null||_globalContext$window===void 0||_globalContext$window.scrollTo({left:left,top:top,behavior:behavior})}
|
|
2902
|
-
var walker=_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz.document.createTreeWalker(root,NodeFilter.SHOW_ALL,null);var currentNode=walker.currentNode;while(currentNode){nodes.push(currentNode);currentNode=walker.nextNode()}return nodes};var closest=function closest(node,selector,startWithParent){var _node$parentElement;if(startWithParent===void 0){startWithParent=false}return"closest"in node&&!startWithParent?node.closest(selector):((_node$parentElement=node.parentElement)===null||_node$parentElement===void 0?void 0:_node$parentElement.closest(selector))||null};var getParents=function getParents(node){var result=[];while(node.parentNode){result.push(node.parentNode);node=node.parentNode}return result};var _getText=function getText(root,recursive){if(recursive===void 0){recursive=false}if(root.nodeType===Node.TEXT_NODE){var _root$nodeValue;var content=(_root$nodeValue=root.nodeValue)===null||_root$nodeValue===void 0?void 0:_root$nodeValue.trim();if(content)return[content]}var result=[];var _iterator=_createForOfIteratorHelper(root.childNodes),_step2;try{for(_iterator.s();!(_step2=_iterator.n()).done;){var domNode=_step2.value;if(recursive||domNode.nodeType===Node.TEXT_NODE)result.push.apply(result,_toConsumableArray(_getText(domNode)))}}catch(err){_iterator.e(err)}finally{_iterator.f()}return result};/**
|
|
2903
|
+
*/var scrollTo=function scrollTo(targetDomNode,behavior){var _globalContext$window;if(targetDomNode===void 0){targetDomNode=null}if(behavior===void 0){behavior="smooth"}if(targetDomNode&&!("getBoundingClientRect"in targetDomNode))targetDomNode=targetDomNode.parentElement;var _ref=targetDomNode?targetDomNode.getBoundingClientRect():{left:0,top:0},left=_ref.left,top=_ref.top;(_globalContext$window=_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz.window)===null||_globalContext$window===void 0||_globalContext$window.scrollTo({left:left,top:top,behavior:behavior})};/**
|
|
2903
2904
|
* Checks whether given html or text strings are equal.
|
|
2904
2905
|
* @param first - First html, selector to dom node or text to compare.
|
|
2905
2906
|
* @param second - Second html, selector to dom node or text to compare.
|
|
@@ -2927,24 +2928,24 @@ var walker=_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz.docu
|
|
|
2927
2928
|
* @param domNodeToReplace - Node to replace its children.
|
|
2928
2929
|
* @param replacementDomNodes - Node or array of nodes to use as replacement.
|
|
2929
2930
|
* @param skipEmptyTextNodes - Configures whether to trim text.
|
|
2930
|
-
*/var replace=function replace(domNodeToReplace,replacementDomNodes,skipEmptyTextNodes){if(skipEmptyTextNodes===void 0){skipEmptyTextNodes=false}var _iterator2=_createForOfIteratorHelper([].concat(replacementDomNodes).reverse()),_step3;try{for(_iterator2.s();!(_step3=_iterator2.n()).done;){var _replacement$nodeValu;var replacement=_step3.value;if(!(skipEmptyTextNodes&&replacement.nodeType===Node.TEXT_NODE&&((_replacement$nodeValu=replacement.nodeValue)===null||_replacement$nodeValu===void 0?void 0:_replacement$nodeValu.trim())===""))domNodeToReplace.after(replacement)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}domNodeToReplace.remove()}
|
|
2931
|
-
var first=domNodeList[0];if(first.parentNode)first.parentNode.insertBefore(wrapper,first);var _iterator3=_createForOfIteratorHelper(domNodeList),_step4;try{for(_iterator3.s();!(_step4=_iterator3.n()).done;){var domNode=_step4.value;wrapper.appendChild(domNode)}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}};/**
|
|
2931
|
+
*/var replace=function replace(domNodeToReplace,replacementDomNodes,skipEmptyTextNodes){if(skipEmptyTextNodes===void 0){skipEmptyTextNodes=false}var _iterator2=_createForOfIteratorHelper([].concat(replacementDomNodes).reverse()),_step3;try{for(_iterator2.s();!(_step3=_iterator2.n()).done;){var _replacement$nodeValu;var replacement=_step3.value;if(!(skipEmptyTextNodes&&replacement.nodeType===Node.TEXT_NODE&&((_replacement$nodeValu=replacement.nodeValue)===null||_replacement$nodeValu===void 0?void 0:_replacement$nodeValu.trim())===""))domNodeToReplace.after(replacement)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}domNodeToReplace.remove()};/**
|
|
2932
2932
|
* Moves the content of a given dom node one level up and removes the given
|
|
2933
2933
|
* node.
|
|
2934
2934
|
* @param domNode - Node to unwrap.
|
|
2935
2935
|
* @returns List of unwrapped nodes.
|
|
2936
2936
|
*/var unwrap=function unwrap(domNode){var parent=domNode.parentNode;var result=[];// NOTE: We need to use "Array.from" to copy the list.
|
|
2937
|
-
for(var _i6=0,_Array$from=Array.from(domNode.childNodes);_i6<_Array$from.length;_i6++){var childNode=_Array$from[_i6];result.push(childNode);if(parent)parent.insertBefore(childNode,domNode)}if(parent)parent.removeChild(domNode);return result};
|
|
2937
|
+
for(var _i6=0,_Array$from=Array.from(domNode.childNodes);_i6<_Array$from.length;_i6++){var childNode=_Array$from[_i6];result.push(childNode);if(parent)parent.insertBefore(childNode,domNode)}if(parent)parent.removeChild(domNode);return result};var wrap=function wrap(domNodes,wrapper){var domNodeList=domNodes.length?Array.from(domNodes):[domNodes];// Use the first element's position as the anchor point
|
|
2938
|
+
var first=domNodeList[0];if(first.parentNode)first.parentNode.insertBefore(wrapper,first);var _iterator3=_createForOfIteratorHelper(domNodeList),_step4;try{for(_iterator3.s();!(_step4=_iterator3.n()).done;){var domNode=_step4.value;wrapper.appendChild(domNode)}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}};
|
|
2938
2939
|
|
|
2939
2940
|
/***/ }),
|
|
2940
2941
|
/* 26 */
|
|
2941
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
2942
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_349947__) {
|
|
2942
2943
|
|
|
2943
|
-
/* harmony export */
|
|
2944
|
+
/* harmony export */ __nested_webpack_require_349947__.d(__nested_webpack_exports__, {
|
|
2944
2945
|
/* harmony export */ G: function() { return /* binding */ handleChildProcess; },
|
|
2945
2946
|
/* harmony export */ q: function() { return /* binding */ getProcessCloseHandler; }
|
|
2946
2947
|
/* harmony export */ });
|
|
2947
|
-
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
2948
|
+
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_349947__(5);
|
|
2948
2949
|
// #!/usr/bin/env babel-node
|
|
2949
2950
|
// -*- coding: utf-8 -*-
|
|
2950
2951
|
/** @module process *//* !
|
|
@@ -2980,31 +2981,31 @@ for(var _i6=0,_Array$from=Array.from(domNode.childNodes);_i6<_Array$from.length;
|
|
|
2980
2981
|
|
|
2981
2982
|
/***/ }),
|
|
2982
2983
|
/* 27 */
|
|
2983
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
2984
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_352697__) {
|
|
2984
2985
|
|
|
2985
|
-
/* harmony export */
|
|
2986
|
+
/* harmony export */ __nested_webpack_require_352697__.d(__nested_webpack_exports__, {
|
|
2986
2987
|
/* harmony export */ Ez: function() { return /* binding */ determineUniqueScopeName; },
|
|
2987
2988
|
/* harmony export */ MX: function() { return /* binding */ UTILITY_SCOPE; },
|
|
2988
2989
|
/* harmony export */ Xw: function() { return /* binding */ UTILITY_SCOPE_VALUES; },
|
|
2989
2990
|
/* harmony export */ bG: function() { return /* binding */ UTILITY_SCOPE_NAMES; },
|
|
2990
2991
|
/* harmony export */ uf: function() { return /* binding */ isolateScope; }
|
|
2991
2992
|
/* harmony export */ });
|
|
2992
|
-
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
2993
|
-
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
2994
|
-
/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_2__ =
|
|
2995
|
-
/* harmony import */ var _datetime_js__WEBPACK_IMPORTED_MODULE_3__ =
|
|
2996
|
-
/* harmony import */ var _filesystem_js__WEBPACK_IMPORTED_MODULE_4__ =
|
|
2997
|
-
/* harmony import */ var _function_js__WEBPACK_IMPORTED_MODULE_5__ =
|
|
2998
|
-
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_6__ =
|
|
2999
|
-
/* harmony import */ var _Logger_js__WEBPACK_IMPORTED_MODULE_7__ =
|
|
3000
|
-
/* harmony import */ var _module_js__WEBPACK_IMPORTED_MODULE_8__ =
|
|
3001
|
-
/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_9__ =
|
|
3002
|
-
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_10__ =
|
|
3003
|
-
/* harmony import */ var _string_js__WEBPACK_IMPORTED_MODULE_11__ =
|
|
3004
|
-
/* harmony import */ var _utility_js__WEBPACK_IMPORTED_MODULE_12__ =
|
|
2993
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_352697__(0);
|
|
2994
|
+
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_352697__(5);
|
|
2995
|
+
/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_352697__(16);
|
|
2996
|
+
/* harmony import */ var _datetime_js__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_352697__(17);
|
|
2997
|
+
/* harmony import */ var _filesystem_js__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_352697__(12);
|
|
2998
|
+
/* harmony import */ var _function_js__WEBPACK_IMPORTED_MODULE_5__ = __nested_webpack_require_352697__(18);
|
|
2999
|
+
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_6__ = __nested_webpack_require_352697__(4);
|
|
3000
|
+
/* harmony import */ var _Logger_js__WEBPACK_IMPORTED_MODULE_7__ = __nested_webpack_require_352697__(15);
|
|
3001
|
+
/* harmony import */ var _module_js__WEBPACK_IMPORTED_MODULE_8__ = __nested_webpack_require_352697__(2);
|
|
3002
|
+
/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_9__ = __nested_webpack_require_352697__(9);
|
|
3003
|
+
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_10__ = __nested_webpack_require_352697__(3);
|
|
3004
|
+
/* harmony import */ var _string_js__WEBPACK_IMPORTED_MODULE_11__ = __nested_webpack_require_352697__(7);
|
|
3005
|
+
/* harmony import */ var _utility_js__WEBPACK_IMPORTED_MODULE_12__ = __nested_webpack_require_352697__(13);
|
|
3005
3006
|
var _array_js__WEBPACK_IMPORTED_MODULE_2___namespace_object = {};
|
|
3006
|
-
|
|
3007
|
-
|
|
3007
|
+
__nested_webpack_require_352697__.r(_array_js__WEBPACK_IMPORTED_MODULE_2___namespace_object);
|
|
3008
|
+
__nested_webpack_require_352697__.d(_array_js__WEBPACK_IMPORTED_MODULE_2___namespace_object, {
|
|
3008
3009
|
aggregatePropertyIfEqual: function() { return _array_js__WEBPACK_IMPORTED_MODULE_2__.ST; },
|
|
3009
3010
|
deleteEmptyItems: function() { return _array_js__WEBPACK_IMPORTED_MODULE_2__.dO; },
|
|
3010
3011
|
extract: function() { return _array_js__WEBPACK_IMPORTED_MODULE_2__.o6; },
|
|
@@ -3024,8 +3025,8 @@ __nested_webpack_require_351183__.d(_array_js__WEBPACK_IMPORTED_MODULE_2___names
|
|
|
3024
3025
|
unique: function() { return _array_js__WEBPACK_IMPORTED_MODULE_2__.Am; }
|
|
3025
3026
|
});
|
|
3026
3027
|
var _datetime_js__WEBPACK_IMPORTED_MODULE_3___namespace_object = {};
|
|
3027
|
-
|
|
3028
|
-
|
|
3028
|
+
__nested_webpack_require_352697__.r(_datetime_js__WEBPACK_IMPORTED_MODULE_3___namespace_object);
|
|
3029
|
+
__nested_webpack_require_352697__.d(_datetime_js__WEBPACK_IMPORTED_MODULE_3___namespace_object, {
|
|
3029
3030
|
DATE_TIME_PATTERN_CACHE: function() { return _datetime_js__WEBPACK_IMPORTED_MODULE_3__.hr; },
|
|
3030
3031
|
dateTimeFormat: function() { return _datetime_js__WEBPACK_IMPORTED_MODULE_3__.LE; },
|
|
3031
3032
|
interpretDateTime: function() { return _datetime_js__WEBPACK_IMPORTED_MODULE_3__.JZ; },
|
|
@@ -3033,8 +3034,8 @@ __nested_webpack_require_351183__.d(_datetime_js__WEBPACK_IMPORTED_MODULE_3___na
|
|
|
3033
3034
|
sliceWeekday: function() { return _datetime_js__WEBPACK_IMPORTED_MODULE_3__.jJ; }
|
|
3034
3035
|
});
|
|
3035
3036
|
var _filesystem_js__WEBPACK_IMPORTED_MODULE_4___namespace_object = {};
|
|
3036
|
-
|
|
3037
|
-
|
|
3037
|
+
__nested_webpack_require_352697__.r(_filesystem_js__WEBPACK_IMPORTED_MODULE_4___namespace_object);
|
|
3038
|
+
__nested_webpack_require_352697__.d(_filesystem_js__WEBPACK_IMPORTED_MODULE_4___namespace_object, {
|
|
3038
3039
|
copyDirectoryRecursive: function() { return _filesystem_js__WEBPACK_IMPORTED_MODULE_4__.vX; },
|
|
3039
3040
|
copyDirectoryRecursiveSync: function() { return _filesystem_js__WEBPACK_IMPORTED_MODULE_4__.uD; },
|
|
3040
3041
|
copyFile: function() { return _filesystem_js__WEBPACK_IMPORTED_MODULE_4__.m3; },
|
|
@@ -3049,15 +3050,15 @@ __nested_webpack_require_351183__.d(_filesystem_js__WEBPACK_IMPORTED_MODULE_4___
|
|
|
3049
3050
|
walkDirectoryRecursivelySync: function() { return _filesystem_js__WEBPACK_IMPORTED_MODULE_4__.hu; }
|
|
3050
3051
|
});
|
|
3051
3052
|
var _function_js__WEBPACK_IMPORTED_MODULE_5___namespace_object = {};
|
|
3052
|
-
|
|
3053
|
-
|
|
3053
|
+
__nested_webpack_require_352697__.r(_function_js__WEBPACK_IMPORTED_MODULE_5___namespace_object);
|
|
3054
|
+
__nested_webpack_require_352697__.d(_function_js__WEBPACK_IMPORTED_MODULE_5___namespace_object, {
|
|
3054
3055
|
getParameterNames: function() { return _function_js__WEBPACK_IMPORTED_MODULE_5__.Gj; },
|
|
3055
3056
|
identity: function() { return _function_js__WEBPACK_IMPORTED_MODULE_5__.D_; },
|
|
3056
3057
|
invertArrayFilter: function() { return _function_js__WEBPACK_IMPORTED_MODULE_5__.gH; }
|
|
3057
3058
|
});
|
|
3058
3059
|
var _indicators_js__WEBPACK_IMPORTED_MODULE_6___namespace_object = {};
|
|
3059
|
-
|
|
3060
|
-
|
|
3060
|
+
__nested_webpack_require_352697__.r(_indicators_js__WEBPACK_IMPORTED_MODULE_6___namespace_object);
|
|
3061
|
+
__nested_webpack_require_352697__.d(_indicators_js__WEBPACK_IMPORTED_MODULE_6___namespace_object, {
|
|
3061
3062
|
isAnyMatching: function() { return _indicators_js__WEBPACK_IMPORTED_MODULE_6__.GP; },
|
|
3062
3063
|
isArrayLike: function() { return _indicators_js__WEBPACK_IMPORTED_MODULE_6__.Xj; },
|
|
3063
3064
|
isFunction: function() { return _indicators_js__WEBPACK_IMPORTED_MODULE_6__.Tn; },
|
|
@@ -3070,16 +3071,16 @@ __nested_webpack_require_351183__.d(_indicators_js__WEBPACK_IMPORTED_MODULE_6___
|
|
|
3070
3071
|
isWindow: function() { return _indicators_js__WEBPACK_IMPORTED_MODULE_6__.l6; }
|
|
3071
3072
|
});
|
|
3072
3073
|
var _Logger_js__WEBPACK_IMPORTED_MODULE_7___namespace_object = {};
|
|
3073
|
-
|
|
3074
|
-
|
|
3074
|
+
__nested_webpack_require_352697__.r(_Logger_js__WEBPACK_IMPORTED_MODULE_7___namespace_object);
|
|
3075
|
+
__nested_webpack_require_352697__.d(_Logger_js__WEBPACK_IMPORTED_MODULE_7___namespace_object, {
|
|
3075
3076
|
LEVELS: function() { return _Logger_js__WEBPACK_IMPORTED_MODULE_7__.A_; },
|
|
3076
3077
|
LEVELS_COLOR: function() { return _Logger_js__WEBPACK_IMPORTED_MODULE_7__.Wh; },
|
|
3077
3078
|
Logger: function() { return _Logger_js__WEBPACK_IMPORTED_MODULE_7__.Vy; },
|
|
3078
3079
|
"default": function() { return _Logger_js__WEBPACK_IMPORTED_MODULE_7__.Ay; }
|
|
3079
3080
|
});
|
|
3080
3081
|
var _module_js__WEBPACK_IMPORTED_MODULE_8___namespace_object = {};
|
|
3081
|
-
|
|
3082
|
-
|
|
3082
|
+
__nested_webpack_require_352697__.r(_module_js__WEBPACK_IMPORTED_MODULE_8___namespace_object);
|
|
3083
|
+
__nested_webpack_require_352697__.d(_module_js__WEBPACK_IMPORTED_MODULE_8___namespace_object, {
|
|
3083
3084
|
clearRequireCache: function() { return _module_js__WEBPACK_IMPORTED_MODULE_8__.Ni; },
|
|
3084
3085
|
currentRequire: function() { return _module_js__WEBPACK_IMPORTED_MODULE_8__.lE; },
|
|
3085
3086
|
determineGlobalContext: function() { return _module_js__WEBPACK_IMPORTED_MODULE_8__.a8; },
|
|
@@ -3091,8 +3092,8 @@ __nested_webpack_require_351183__.d(_module_js__WEBPACK_IMPORTED_MODULE_8___name
|
|
|
3091
3092
|
setOptionalRequire: function() { return _module_js__WEBPACK_IMPORTED_MODULE_8__.SD; }
|
|
3092
3093
|
});
|
|
3093
3094
|
var _number_js__WEBPACK_IMPORTED_MODULE_9___namespace_object = {};
|
|
3094
|
-
|
|
3095
|
-
|
|
3095
|
+
__nested_webpack_require_352697__.r(_number_js__WEBPACK_IMPORTED_MODULE_9___namespace_object);
|
|
3096
|
+
__nested_webpack_require_352697__.d(_number_js__WEBPACK_IMPORTED_MODULE_9___namespace_object, {
|
|
3096
3097
|
ceil: function() { return _number_js__WEBPACK_IMPORTED_MODULE_9__.mk; },
|
|
3097
3098
|
floor: function() { return _number_js__WEBPACK_IMPORTED_MODULE_9__.RI; },
|
|
3098
3099
|
getUTCTimestamp: function() { return _number_js__WEBPACK_IMPORTED_MODULE_9__.n$; },
|
|
@@ -3100,8 +3101,8 @@ __nested_webpack_require_351183__.d(_number_js__WEBPACK_IMPORTED_MODULE_9___name
|
|
|
3100
3101
|
round: function() { return _number_js__WEBPACK_IMPORTED_MODULE_9__.LI; }
|
|
3101
3102
|
});
|
|
3102
3103
|
var _object_js__WEBPACK_IMPORTED_MODULE_10___namespace_object = {};
|
|
3103
|
-
|
|
3104
|
-
|
|
3104
|
+
__nested_webpack_require_352697__.r(_object_js__WEBPACK_IMPORTED_MODULE_10___namespace_object);
|
|
3105
|
+
__nested_webpack_require_352697__.d(_object_js__WEBPACK_IMPORTED_MODULE_10___namespace_object, {
|
|
3105
3106
|
addDynamicGetterAndSetter: function() { return _object_js__WEBPACK_IMPORTED_MODULE_10__.QB; },
|
|
3106
3107
|
convertCircularObjectToJSON: function() { return _object_js__WEBPACK_IMPORTED_MODULE_10__.zP; },
|
|
3107
3108
|
convertMapToPlainObject: function() { return _object_js__WEBPACK_IMPORTED_MODULE_10__.oW; },
|
|
@@ -3123,8 +3124,8 @@ __nested_webpack_require_351183__.d(_object_js__WEBPACK_IMPORTED_MODULE_10___nam
|
|
|
3123
3124
|
unwrapProxy: function() { return _object_js__WEBPACK_IMPORTED_MODULE_10__.q1; }
|
|
3124
3125
|
});
|
|
3125
3126
|
var _string_js__WEBPACK_IMPORTED_MODULE_11___namespace_object = {};
|
|
3126
|
-
|
|
3127
|
-
|
|
3127
|
+
__nested_webpack_require_352697__.r(_string_js__WEBPACK_IMPORTED_MODULE_11___namespace_object);
|
|
3128
|
+
__nested_webpack_require_352697__.d(_string_js__WEBPACK_IMPORTED_MODULE_11___namespace_object, {
|
|
3128
3129
|
ALLOWED_STARTING_VARIABLE_SYMBOLS: function() { return _string_js__WEBPACK_IMPORTED_MODULE_11__.bM; },
|
|
3129
3130
|
ALLOWED_VARIABLE_SYMBOLS: function() { return _string_js__WEBPACK_IMPORTED_MODULE_11__.aL; },
|
|
3130
3131
|
AsyncFunction: function() { return _string_js__WEBPACK_IMPORTED_MODULE_11__.fS; },
|
|
@@ -3167,8 +3168,8 @@ __nested_webpack_require_351183__.d(_string_js__WEBPACK_IMPORTED_MODULE_11___nam
|
|
|
3167
3168
|
sliceAllExceptNumberAndLastSeparator: function() { return _string_js__WEBPACK_IMPORTED_MODULE_11__.U7; }
|
|
3168
3169
|
});
|
|
3169
3170
|
var _utility_js__WEBPACK_IMPORTED_MODULE_12___namespace_object = {};
|
|
3170
|
-
|
|
3171
|
-
|
|
3171
|
+
__nested_webpack_require_352697__.r(_utility_js__WEBPACK_IMPORTED_MODULE_12___namespace_object);
|
|
3172
|
+
__nested_webpack_require_352697__.d(_utility_js__WEBPACK_IMPORTED_MODULE_12___namespace_object, {
|
|
3172
3173
|
debounce: function() { return _utility_js__WEBPACK_IMPORTED_MODULE_12__.sg; },
|
|
3173
3174
|
preventDefault: function() { return _utility_js__WEBPACK_IMPORTED_MODULE_12__.wo; },
|
|
3174
3175
|
stopPropagation: function() { return _utility_js__WEBPACK_IMPORTED_MODULE_12__.dG; },
|
|
@@ -3194,6 +3195,13 @@ __nested_webpack_require_351183__.d(_utility_js__WEBPACK_IMPORTED_MODULE_12___na
|
|
|
3194
3195
|
NOTE: Not generating these two arrays facilitates static code analysis in
|
|
3195
3196
|
consuming code.
|
|
3196
3197
|
*/var UTILITY_SCOPE_NAMES=["array","datetime","filesystem","functions","indicators","logger","module","number","object","string","utility"];var UTILITY_SCOPE_VALUES=[_array_js__WEBPACK_IMPORTED_MODULE_2___namespace_object,_datetime_js__WEBPACK_IMPORTED_MODULE_3___namespace_object,_filesystem_js__WEBPACK_IMPORTED_MODULE_4___namespace_object,_function_js__WEBPACK_IMPORTED_MODULE_5___namespace_object,_indicators_js__WEBPACK_IMPORTED_MODULE_6___namespace_object,_Logger_js__WEBPACK_IMPORTED_MODULE_7___namespace_object,_module_js__WEBPACK_IMPORTED_MODULE_8___namespace_object,_number_js__WEBPACK_IMPORTED_MODULE_9___namespace_object,_object_js__WEBPACK_IMPORTED_MODULE_10___namespace_object,_string_js__WEBPACK_IMPORTED_MODULE_11___namespace_object,_utility_js__WEBPACK_IMPORTED_MODULE_12___namespace_object];/**
|
|
3198
|
+
* Generates a unique name in given scope (useful for jsonp requests).
|
|
3199
|
+
* @param prefix - A prefix which will be prepended to unique name.
|
|
3200
|
+
* @param suffix - A suffix which will be prepended to unique name.
|
|
3201
|
+
* @param scope - A scope where the name should be unique.
|
|
3202
|
+
* @param initialUniqueName - An initial scope name to use if not exists.
|
|
3203
|
+
* @returns The function name.
|
|
3204
|
+
*/var determineUniqueScopeName=function determineUniqueScopeName(prefix,suffix,scope,initialUniqueName){if(prefix===void 0){prefix="callback"}if(suffix===void 0){suffix=""}if(scope===void 0){scope=_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz}if(initialUniqueName===void 0){initialUniqueName=""}if(initialUniqueName.length&&!(initialUniqueName in scope))return initialUniqueName;var uniqueName=prefix+suffix;for(var iteration=0;iteration<_context_js__WEBPACK_IMPORTED_MODULE_1__/* .MAXIMAL_NUMBER_OF_ITERATIONS */ .$Q.value;iteration++){uniqueName=prefix+String(Math.round(Math.random()*Math.pow(10,10)))+suffix;if(!(uniqueName in scope))break}return uniqueName};/**
|
|
3197
3205
|
* Overwrites all inherited variables from parent scope with "undefined".
|
|
3198
3206
|
* @param scope - A scope where inherited names will be removed.
|
|
3199
3207
|
* @param prefixesToIgnore - Name prefixes to ignore during deleting names in
|
|
@@ -3202,20 +3210,13 @@ __nested_webpack_require_351183__.d(_utility_js__WEBPACK_IMPORTED_MODULE_12___na
|
|
|
3202
3210
|
*/var isolateScope=function isolateScope(scope,prefixesToIgnore){if(prefixesToIgnore===void 0){prefixesToIgnore=[]}for(var name in scope)if(!(prefixesToIgnore.includes(name.charAt(0))||["constructor","prototype","this"].includes(name)||Object.prototype.hasOwnProperty.call(scope,name)))/*
|
|
3203
3211
|
NOTE: Delete ("delete $scope[name]") doesn't destroy the
|
|
3204
3212
|
automatic lookup to parent scope.
|
|
3205
|
-
*/scope[name]=undefined;return scope}
|
|
3206
|
-
* Generates a unique name in given scope (useful for jsonp requests).
|
|
3207
|
-
* @param prefix - A prefix which will be prepended to unique name.
|
|
3208
|
-
* @param suffix - A suffix which will be prepended to unique name.
|
|
3209
|
-
* @param scope - A scope where the name should be unique.
|
|
3210
|
-
* @param initialUniqueName - An initial scope name to use if not exists.
|
|
3211
|
-
* @returns The function name.
|
|
3212
|
-
*/var determineUniqueScopeName=function determineUniqueScopeName(prefix,suffix,scope,initialUniqueName){if(prefix===void 0){prefix="callback"}if(suffix===void 0){suffix=""}if(scope===void 0){scope=_context_js__WEBPACK_IMPORTED_MODULE_1__/* .globalContext */ .Lz}if(initialUniqueName===void 0){initialUniqueName=""}if(initialUniqueName.length&&!(initialUniqueName in scope))return initialUniqueName;var uniqueName=prefix+suffix;for(var iteration=0;iteration<_context_js__WEBPACK_IMPORTED_MODULE_1__/* .MAXIMAL_NUMBER_OF_ITERATIONS */ .$Q.value;iteration++){uniqueName=prefix+String(Math.round(Math.random()*Math.pow(10,10)))+suffix;if(!(uniqueName in scope))break}return uniqueName};
|
|
3213
|
+
*/scope[name]=undefined;return scope};
|
|
3213
3214
|
|
|
3214
3215
|
/***/ }),
|
|
3215
3216
|
/* 28 */
|
|
3216
|
-
/***/ (function(__unused_webpack_module, __nested_webpack_exports__,
|
|
3217
|
+
/***/ (function(__unused_webpack_module, __nested_webpack_exports__, __nested_webpack_require_372153__) {
|
|
3217
3218
|
|
|
3218
|
-
/* harmony export */
|
|
3219
|
+
/* harmony export */ __nested_webpack_require_372153__.d(__nested_webpack_exports__, {
|
|
3219
3220
|
/* harmony export */ $Qt: function() { return /* reexport safe */ _context_js__WEBPACK_IMPORTED_MODULE_4__.$Q; },
|
|
3220
3221
|
/* harmony export */ $yZ: function() { return /* reexport safe */ _expression_index_js__WEBPACK_IMPORTED_MODULE_8__.$y; },
|
|
3221
3222
|
/* harmony export */ ABv: function() { return /* reexport safe */ _string_js__WEBPACK_IMPORTED_MODULE_17__.AB; },
|
|
@@ -3433,26 +3434,26 @@ __nested_webpack_require_351183__.d(_utility_js__WEBPACK_IMPORTED_MODULE_12___na
|
|
|
3433
3434
|
/* harmony export */ zPE: function() { return /* reexport safe */ _object_js__WEBPACK_IMPORTED_MODULE_13__.zP; },
|
|
3434
3435
|
/* harmony export */ zm2: function() { return /* reexport safe */ _context_js__WEBPACK_IMPORTED_MODULE_4__.zm; }
|
|
3435
3436
|
/* harmony export */ });
|
|
3436
|
-
/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_0__ =
|
|
3437
|
-
/* harmony import */ var _domNode_js__WEBPACK_IMPORTED_MODULE_1__ =
|
|
3438
|
-
/* harmony import */ var _cli_js__WEBPACK_IMPORTED_MODULE_2__ =
|
|
3439
|
-
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_3__ =
|
|
3440
|
-
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_4__ =
|
|
3441
|
-
/* harmony import */ var _cookie_js__WEBPACK_IMPORTED_MODULE_5__ =
|
|
3442
|
-
/* harmony import */ var _data_transfer_js__WEBPACK_IMPORTED_MODULE_6__ =
|
|
3443
|
-
/* harmony import */ var _datetime_js__WEBPACK_IMPORTED_MODULE_7__ =
|
|
3444
|
-
/* harmony import */ var _expression_index_js__WEBPACK_IMPORTED_MODULE_8__ =
|
|
3445
|
-
/* harmony import */ var _filesystem_js__WEBPACK_IMPORTED_MODULE_9__ =
|
|
3446
|
-
/* harmony import */ var _function_js__WEBPACK_IMPORTED_MODULE_10__ =
|
|
3447
|
-
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_11__ =
|
|
3448
|
-
/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_12__ =
|
|
3449
|
-
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_13__ =
|
|
3450
|
-
/* harmony import */ var _process_js__WEBPACK_IMPORTED_MODULE_14__ =
|
|
3451
|
-
/* harmony import */ var _module_js__WEBPACK_IMPORTED_MODULE_15__ =
|
|
3452
|
-
/* harmony import */ var _scope_js__WEBPACK_IMPORTED_MODULE_16__ =
|
|
3453
|
-
/* harmony import */ var _string_js__WEBPACK_IMPORTED_MODULE_17__ =
|
|
3454
|
-
/* harmony import */ var _Logger_js__WEBPACK_IMPORTED_MODULE_18__ =
|
|
3455
|
-
/* harmony import */ var _utility_js__WEBPACK_IMPORTED_MODULE_19__ =
|
|
3437
|
+
/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_372153__(16);
|
|
3438
|
+
/* harmony import */ var _domNode_js__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_372153__(25);
|
|
3439
|
+
/* harmony import */ var _cli_js__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_372153__(22);
|
|
3440
|
+
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_372153__(1);
|
|
3441
|
+
/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_372153__(5);
|
|
3442
|
+
/* harmony import */ var _cookie_js__WEBPACK_IMPORTED_MODULE_5__ = __nested_webpack_require_372153__(23);
|
|
3443
|
+
/* harmony import */ var _data_transfer_js__WEBPACK_IMPORTED_MODULE_6__ = __nested_webpack_require_372153__(24);
|
|
3444
|
+
/* harmony import */ var _datetime_js__WEBPACK_IMPORTED_MODULE_7__ = __nested_webpack_require_372153__(17);
|
|
3445
|
+
/* harmony import */ var _expression_index_js__WEBPACK_IMPORTED_MODULE_8__ = __nested_webpack_require_372153__(21);
|
|
3446
|
+
/* harmony import */ var _filesystem_js__WEBPACK_IMPORTED_MODULE_9__ = __nested_webpack_require_372153__(12);
|
|
3447
|
+
/* harmony import */ var _function_js__WEBPACK_IMPORTED_MODULE_10__ = __nested_webpack_require_372153__(18);
|
|
3448
|
+
/* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_11__ = __nested_webpack_require_372153__(4);
|
|
3449
|
+
/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_12__ = __nested_webpack_require_372153__(9);
|
|
3450
|
+
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_13__ = __nested_webpack_require_372153__(3);
|
|
3451
|
+
/* harmony import */ var _process_js__WEBPACK_IMPORTED_MODULE_14__ = __nested_webpack_require_372153__(26);
|
|
3452
|
+
/* harmony import */ var _module_js__WEBPACK_IMPORTED_MODULE_15__ = __nested_webpack_require_372153__(2);
|
|
3453
|
+
/* harmony import */ var _scope_js__WEBPACK_IMPORTED_MODULE_16__ = __nested_webpack_require_372153__(27);
|
|
3454
|
+
/* harmony import */ var _string_js__WEBPACK_IMPORTED_MODULE_17__ = __nested_webpack_require_372153__(7);
|
|
3455
|
+
/* harmony import */ var _Logger_js__WEBPACK_IMPORTED_MODULE_18__ = __nested_webpack_require_372153__(15);
|
|
3456
|
+
/* harmony import */ var _utility_js__WEBPACK_IMPORTED_MODULE_19__ = __nested_webpack_require_372153__(13);
|
|
3456
3457
|
// #!/usr/bin/env babel-node
|
|
3457
3458
|
// -*- coding: utf-8 -*-
|
|
3458
3459
|
/** @module clientnode *//* !
|
|
@@ -3477,7 +3478,7 @@ __nested_webpack_require_351183__.d(_utility_js__WEBPACK_IMPORTED_MODULE_12___na
|
|
|
3477
3478
|
/******/ var __webpack_module_cache__ = {};
|
|
3478
3479
|
/******/
|
|
3479
3480
|
/******/ // The require function
|
|
3480
|
-
/******/ function
|
|
3481
|
+
/******/ function __nested_webpack_require_400247__(moduleId) {
|
|
3481
3482
|
/******/ // Check if module is in cache
|
|
3482
3483
|
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
3483
3484
|
/******/ if (cachedModule !== undefined) {
|
|
@@ -3491,7 +3492,7 @@ __nested_webpack_require_351183__.d(_utility_js__WEBPACK_IMPORTED_MODULE_12___na
|
|
|
3491
3492
|
/******/ };
|
|
3492
3493
|
/******/
|
|
3493
3494
|
/******/ // Execute the module function
|
|
3494
|
-
/******/ __webpack_modules__[moduleId](module, module.exports,
|
|
3495
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_400247__);
|
|
3495
3496
|
/******/
|
|
3496
3497
|
/******/ // Flag the module as loaded
|
|
3497
3498
|
/******/ module.loaded = true;
|
|
@@ -3501,19 +3502,19 @@ __nested_webpack_require_351183__.d(_utility_js__WEBPACK_IMPORTED_MODULE_12___na
|
|
|
3501
3502
|
/******/ }
|
|
3502
3503
|
/******/
|
|
3503
3504
|
/******/ // expose the module cache
|
|
3504
|
-
/******/
|
|
3505
|
+
/******/ __nested_webpack_require_400247__.c = __webpack_module_cache__;
|
|
3505
3506
|
/******/
|
|
3506
3507
|
/************************************************************************/
|
|
3507
3508
|
/******/ /* webpack/runtime/define property getters */
|
|
3508
3509
|
/******/ !function() {
|
|
3509
3510
|
/******/ // define getter/value functions for harmony exports
|
|
3510
|
-
/******/
|
|
3511
|
+
/******/ __nested_webpack_require_400247__.d = function(exports, definition) {
|
|
3511
3512
|
/******/ if(Array.isArray(definition)) {
|
|
3512
3513
|
/******/ var i = 0;
|
|
3513
3514
|
/******/ while(i < definition.length) {
|
|
3514
3515
|
/******/ var key = definition[i++];
|
|
3515
3516
|
/******/ var binding = definition[i++];
|
|
3516
|
-
/******/ if(!
|
|
3517
|
+
/******/ if(!__nested_webpack_require_400247__.o(exports, key)) {
|
|
3517
3518
|
/******/ if(binding === 0) {
|
|
3518
3519
|
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
3519
3520
|
/******/ } else {
|
|
@@ -3523,7 +3524,7 @@ __nested_webpack_require_351183__.d(_utility_js__WEBPACK_IMPORTED_MODULE_12___na
|
|
|
3523
3524
|
/******/ }
|
|
3524
3525
|
/******/ } else {
|
|
3525
3526
|
/******/ for(var key in definition) {
|
|
3526
|
-
/******/ if(
|
|
3527
|
+
/******/ if(__nested_webpack_require_400247__.o(definition, key) && !__nested_webpack_require_400247__.o(exports, key)) {
|
|
3527
3528
|
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
3528
3529
|
/******/ }
|
|
3529
3530
|
/******/ }
|
|
@@ -3533,7 +3534,7 @@ __nested_webpack_require_351183__.d(_utility_js__WEBPACK_IMPORTED_MODULE_12___na
|
|
|
3533
3534
|
/******/
|
|
3534
3535
|
/******/ /* webpack/runtime/global */
|
|
3535
3536
|
/******/ !function() {
|
|
3536
|
-
/******/
|
|
3537
|
+
/******/ __nested_webpack_require_400247__.g = (function() {
|
|
3537
3538
|
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
3538
3539
|
/******/ try {
|
|
3539
3540
|
/******/ return this || new Function('return this')();
|
|
@@ -3545,7 +3546,7 @@ __nested_webpack_require_351183__.d(_utility_js__WEBPACK_IMPORTED_MODULE_12___na
|
|
|
3545
3546
|
/******/
|
|
3546
3547
|
/******/ /* webpack/runtime/harmony module decorator */
|
|
3547
3548
|
/******/ !function() {
|
|
3548
|
-
/******/
|
|
3549
|
+
/******/ __nested_webpack_require_400247__.hmd = function(module) {
|
|
3549
3550
|
/******/ module = Object.create(module);
|
|
3550
3551
|
/******/ if (!module.children) module.children = [];
|
|
3551
3552
|
/******/ Object.defineProperty(module, 'exports', {
|
|
@@ -3560,13 +3561,13 @@ __nested_webpack_require_351183__.d(_utility_js__WEBPACK_IMPORTED_MODULE_12___na
|
|
|
3560
3561
|
/******/
|
|
3561
3562
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
3562
3563
|
/******/ !function() {
|
|
3563
|
-
/******/
|
|
3564
|
+
/******/ __nested_webpack_require_400247__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
3564
3565
|
/******/ }();
|
|
3565
3566
|
/******/
|
|
3566
3567
|
/******/ /* webpack/runtime/make namespace object */
|
|
3567
3568
|
/******/ !function() {
|
|
3568
3569
|
/******/ // define __esModule on exports
|
|
3569
|
-
/******/
|
|
3570
|
+
/******/ __nested_webpack_require_400247__.r = function(exports) {
|
|
3570
3571
|
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
3571
3572
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
3572
3573
|
/******/ }
|
|
@@ -3579,7 +3580,7 @@ __nested_webpack_require_351183__.d(_utility_js__WEBPACK_IMPORTED_MODULE_12___na
|
|
|
3579
3580
|
/******/ // module cache are used so entry inlining is disabled
|
|
3580
3581
|
/******/ // startup
|
|
3581
3582
|
/******/ // Load entry module and return exports
|
|
3582
|
-
/******/ var __nested_webpack_exports__ =
|
|
3583
|
+
/******/ var __nested_webpack_exports__ = __nested_webpack_require_400247__(28);
|
|
3583
3584
|
/******/ var __webpack_exports__ABBREVIATIONS = __nested_webpack_exports__.Iyg;
|
|
3584
3585
|
/******/ var __webpack_exports__ALLOWED_STARTING_VARIABLE_SYMBOLS = __nested_webpack_exports__.bMn;
|
|
3585
3586
|
/******/ var __webpack_exports__ALLOWED_VARIABLE_SYMBOLS = __nested_webpack_exports__.aLL;
|
|
@@ -5054,7 +5055,15 @@ module.exports = { correct: FLAGS_GETTER_IS_CORRECT };
|
|
|
5054
5055
|
endregion
|
|
5055
5056
|
*/// region imports
|
|
5056
5057
|
// endregion
|
|
5057
|
-
|
|
5058
|
+
/*
|
|
5059
|
+
NOTE: Every class owns these members, so they do not indicate an existing
|
|
5060
|
+
static configuration.
|
|
5061
|
+
*/const INTRINSIC_CLASS_MEMBER_NAMES=["length","name","prototype"];/**
|
|
5062
|
+
* Checks if given class defines an own static member with given name.
|
|
5063
|
+
* @param self - Class to check.
|
|
5064
|
+
* @param name - Member name to check.
|
|
5065
|
+
* @returns A boolean indicating whether given member exists.
|
|
5066
|
+
*/const hasOwnStaticMember=(self,name)=>Object.prototype.hasOwnProperty.call(self,name)&&!INTRINSIC_CLASS_MEMBER_NAMES.includes(name);/**
|
|
5058
5067
|
* Generates a decorator based on given configuration.
|
|
5059
5068
|
* @param options - Property configuration to define how to transfer attributes
|
|
5060
5069
|
* and properties into each other.
|
|
@@ -5075,5 +5084,5 @@ module.exports = { correct: FLAGS_GETTER_IS_CORRECT };
|
|
|
5075
5084
|
* "hasOwnProperty" for existence in this decorator.
|
|
5076
5085
|
* @param target - Instance to apply given property to.
|
|
5077
5086
|
* @param name - Field name to apply.
|
|
5078
|
-
*/return function(target,name){if(typeof name!=="string")return;const self=target.self||target.constructor;if(options.readAttribute){if(!Object.prototype.hasOwnProperty.call(self,"observedAttributes"))self.observedAttributes=self.observedAttributes?[...self.observedAttributes]:[];const attributeName=(0,clientnode__WEBPACK_IMPORTED_MODULE_0__/* .camelCaseToDelimited */ .h1R)(name);if(self.observedAttributes&&!self.observedAttributes.includes(attributeName))self.observedAttributes.push(attributeName)}if(options.type){if(!Object.prototype.hasOwnProperty.call(self,"propertyTypes"))self.propertyTypes=self.propertyTypes?{...self.propertyTypes}:{};if(self.propertyTypes&&(options.update||!
|
|
5087
|
+
*/return function(target,name){if(typeof name!=="string")return;const self=target.self||target.constructor;if(options.readAttribute){if(!Object.prototype.hasOwnProperty.call(self,"observedAttributes"))self.observedAttributes=self.observedAttributes?[...self.observedAttributes]:[];const attributeName=(0,clientnode__WEBPACK_IMPORTED_MODULE_0__/* .camelCaseToDelimited */ .h1R)(name);if(self.observedAttributes&&!self.observedAttributes.includes(attributeName))self.observedAttributes.push(attributeName)}if(options.type){if(!Object.prototype.hasOwnProperty.call(self,"propertyTypes"))self.propertyTypes=self.propertyTypes?{...self.propertyTypes}:{};if(self.propertyTypes&&(options.update||!hasOwnStaticMember(self,name)))self.propertyTypes[name]=options.type}if(options.writeAttribute){if(!Object.prototype.hasOwnProperty.call(self,"propertiesToReflectAsAttributes"))self.propertiesToReflectAsAttributes=self.propertiesToReflectAsAttributes?(0,clientnode__WEBPACK_IMPORTED_MODULE_0__/* .copy */ .Cal)(self.propertiesToReflectAsAttributes):[];const reflectionConfiguration=self.propertiesToReflectAsAttributes;if(options.update||(reflectionConfiguration instanceof Map?!reflectionConfiguration.has(name):Array.isArray(reflectionConfiguration)?!reflectionConfiguration.includes(name):typeof reflectionConfiguration==="object"&&!Object.prototype.hasOwnProperty.call(reflectionConfiguration,name))){let result;if(typeof options.writeAttribute==="boolean"){if(options.writeAttribute&&self.propertyTypes&&Object.prototype.hasOwnProperty.call(self.propertyTypes,name))result=self.propertyTypes[name]}else result=options.writeAttribute;if(result!==undefined){if(Array.isArray(self.propertiesToReflectAsAttributes))if(options.writeAttribute===true){if(!self.propertiesToReflectAsAttributes.includes(name))self.propertiesToReflectAsAttributes.push(name)}else if(self.normalizePropertyTypeList)self.propertiesToReflectAsAttributes=self.normalizePropertyTypeList(self.propertiesToReflectAsAttributes);if(self.propertiesToReflectAsAttributes instanceof Map)self.propertiesToReflectAsAttributes.set(name,result);else if(!Array.isArray(self.propertiesToReflectAsAttributes)&&typeof self.propertiesToReflectAsAttributes==="object")self.propertiesToReflectAsAttributes[name]=result}}}if(options.alias){if(!Object.prototype.hasOwnProperty.call(self,"propertyAliases"))self.propertyAliases=self.propertyAliases?{...self.propertyAliases}:{};if(self.propertyAliases&&(options.update||!hasOwnStaticMember(self,name)))self.propertyAliases[name]=options.alias}}}/* harmony default export */ const decorator = (property);
|
|
5079
5088
|
export { decorator as default, property };
|