clientnode
Version:
upgrade to object orientated rock solid plugins
1 lines • 68.3 kB
JavaScript
"use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/construct"),function(){try{return require("jquery")}catch(e){}}());else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/asyncToGenerator","@babel/runtime/regenerator","@babel/runtime/helpers/extends","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/createClass","@babel/runtime/helpers/construct","jquery"],r);else{var t="object"==typeof exports?r(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/construct"),function(){try{return require("jquery")}catch(e){}}()):r(e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/regenerator"],e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/createClass"],e["@babel/runtime/helpers/construct"],e.jQuery);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(this,(function(__WEBPACK_EXTERNAL_MODULE__17__,__WEBPACK_EXTERNAL_MODULE__18__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__12__){return function(){var __webpack_modules__=[function(e,r,t){t.d(r,{ABBREVIATIONS:function(){return a},CLASS_TO_TYPE_MAPPING:function(){return i},CONSOLE_METHODS:function(){return n},IGNORE_NULL_AND_UNDEFINED_SYMBOL:function(){return o},PLAIN_OBJECT_PROTOTYPES:function(){return l}});var n=["debug","error","info","log","warn"],o=(Symbol.for("clientnodeValue"),Symbol.for("clientnodeIgnoreNullAndUndefined")),a=["html","id","url","us","de","api","href"],i={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Error]":"error","[object Function]":"function","[object Map]":"map","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object Set]":"set","[object String]":"string"},l=[Object.prototype]},function(e,r,t){t.d(r,{isArrayLike:function(){return i},isFunction:function(){return c},isMap:function(){return u},isNumeric:function(){return a},isObject:function(){return l},isPlainObject:function(){return s}});var n=t(0),o=t(4);var a=function(e){var r=(0,o.determineType)(e);return["number","string"].includes(r)&&!isNaN(e-parseFloat(e))},i=function(e){var r;try{r=Boolean(e)&&e.length}catch(e){return!1}var t,n=(0,o.determineType)(e);if("function"===n||![null,void 0].includes(t=e)&&"object"==typeof t&&t===(null==t?void 0:t.window))return!1;if("array"===n||0===r)return!0;if("number"==typeof r&&r>0)try{e[r-1];return!0}catch(e){}return!1},l=function(e){return null!==e&&"object"==typeof e},s=function(e){return l(e)&&n.PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(e))},u=function(e){return"map"===(0,o.determineType)(e)},c=function(e){return Boolean(e)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(e))}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e,r,t){t.d(r,{$:function(){return u},NOOP:function(){return c},globalContext:function(){return s}});var n,o,a=t(1),i=t(6),l=t(10);e=t.hmd(e);var s="undefined"==typeof globalThis?void 0===window?void 0===t.g?e:Object.prototype.hasOwnProperty.call(t.g,"window")?t.g.window:t.g:window:globalThis;s.fetch=s.fetch?s.fetch.bind(s):null!==(n=null==(o=(0,i.optionalRequire)("node-fetch"))?void 0:o.default)&&void 0!==n?n:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return i.currentImport?(0,i.currentImport)("node-fetch").then((function(e){var t;return(t=e).default.apply(t,r)})):null};var u=function(){var e,r,n=function(){};if(Object.prototype.hasOwnProperty.call(s,"$"))n=s.$;else{if(Object.prototype.hasOwnProperty.call(s,"document"))try{n=t(12)}catch(e){}if(void 0===n||"object"==typeof n&&0===Object.keys(n).length){var o,i=null!=(o=s.document)&&o.querySelectorAll?s.document.querySelectorAll.bind(s.document):function(){return null};(n=function(e){var r=null;if("string"==typeof e?r=i(e):Array.isArray(e)?r=e:("object"==typeof HTMLElement&&e instanceof HTMLElement||1===(null==e?void 0:e.nodeType)&&"string"==typeof e.nodeName)&&(r=[e]),r){if(Object.prototype.hasOwnProperty.call(n,"fn"))for(var t=0,o=Object.entries(n.fn);t<o.length;t++){var l=o[t],u=l[0],c=l[1];r[u]=c.bind(r)}return r.jquery="clientnode",r}return(0,a.isFunction)(e)&&s.document&&s.document.addEventListener("DOMContentLoaded",e),e}).fn={}}}(Object.prototype.hasOwnProperty.call(n,"global")||(n.global=s),Object.prototype.hasOwnProperty.call(n.global,"window"))&&(!n.document&&Object.prototype.hasOwnProperty.call(n.global.window,"document")&&(n.document=null==(e=n.global.window)?void 0:e.document),!n.location&&Object.prototype.hasOwnProperty.call(n.global.window,"location")&&(n.location=null==(r=n.global.window)?void 0:r.location));return n}(),c=(function(){if(!u.document)return 0;var e,r=u.document.createElement("div");for(e=0;e<10&&(r.innerHTML="\x3c!--[if gt IE "+String(e)+"]><i></i><![endif]--\x3e",0!==r.getElementsByTagName("i").length);e++);if(0===e&&Object.prototype.hasOwnProperty.call(u.global.window,"navigator")){var t;if(-1!==(null==(t=u.global.window)?void 0:t.navigator.appVersion.indexOf("MSIE 10")))return 10;if(![u.global.window.navigator.userAgent.indexOf("Trident"),u.global.window.navigator.userAgent.indexOf("rv:11")].includes(-1))return 11}}(),Object.prototype.hasOwnProperty.call(u,"noop")?u.noop.bind(u):function(){});!function(e){var r,t;(u=e,Object.prototype.hasOwnProperty.call(u,"global")||(u.global=s),Object.prototype.hasOwnProperty.call(u.global,"window"))&&(!u.document&&Object.prototype.hasOwnProperty.call(u.global.window,"document")&&(u.document=null==(r=u.global.window)?void 0:r.document),!u.location&&Object.prototype.hasOwnProperty.call(u.global.window,"location")&&(u.location=null==(t=u.global.window)?void 0:t.location));if(Object.prototype.hasOwnProperty.call(u,"fn")&&(u.fn.Tools=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return l.default.controller(l.default,r,this)}),u.Tools=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return l.default.controller(l.default,r)},u.Tools.class=l.default,Object.prototype.hasOwnProperty.call(u,"fn")){var n=u.fn.prop;u.fn.prop=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),o=1;o<r;o++)t[o-1]=arguments[o];if(t.length<2&&this.length&&["#text","#comment"].includes(this[0].nodeName.toLowerCase())&&e in this[0]){if(0===t.length)return this[0][e];if(1===t.length)return this[0][e]=t[0],this}return n.call.apply(n,[this,e].concat(t))}}}(u),u.readyException=function(e){if("string"!=typeof e||"canceled"!==e)throw e}},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{determineType:function(){return determineType},extend:function(){return _extend}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_constants__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),_indicators__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1);function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var _addDynamicGetterAndSetter=function(e,r,t,n,o,a){if(void 0===r&&(r=null),void 0===t&&(t=null),void 0===n&&(n={}),void 0===o&&(o=!0),void 0===a&&(a=[Object]),o&&"object"==typeof e)if(Array.isArray(e))for(var i,l=0,s=_createForOfIteratorHelperLoose(e);!(i=s()).done;){var u=i.value;e[l]=_addDynamicGetterAndSetter(u,r,t,n,o),l+=1}else if(isMap(e))for(var c,_=_createForOfIteratorHelperLoose(e);!(c=_()).done;){var f=c.value,p=f[0],d=f[1];e.set(p,_addDynamicGetterAndSetter(d,r,t,n,o))}else if(isSet(e)){for(var v,b=[],m=_createForOfIteratorHelperLoose(e);!(v=m()).done;){var g=v.value;e.delete(g),b.push(_addDynamicGetterAndSetter(g,r,t,n,o))}for(var h=0,y=b;h<y.length;h++){var O=y[h];e.add(O)}}else if(null!==e)for(var E=0,P=Object.entries(e);E<P.length;E++){var A=P[E],w=A[0],I=A[1];e[w]=_addDynamicGetterAndSetter(I,r,t,n,o)}if(r||t)for(var M,L,D=function(){var o=L.value;if(isObject(e)&&e instanceof o){var a=getProxyHandler(e,n),i=getProxyHandler(e,n);r&&(i.get=function(t,n){return"__target__"===n?e:"__revoke__"===n?function(){return u(),e}:"function"==typeof e[n]?e[n]:r(a.get(s,n),n,e)}),t&&(i.set=function(r,n,o){return a.set(s,n,t(n,o,e))});var l=Proxy.revocable({},i),s=l.proxy,u=l.revoke;return{v:s}}},x=_createForOfIteratorHelperLoose(a);!(L=x()).done;)if(M=D())return M.v;return e},convertCircularObjectToJSON=function(e,r,t){void 0===r&&(r=function(e){return null!=e?e:"__circularReference__"}),void 0===t&&(t=0);var n=new Map;return function(e){var o=function(e,t){if(isObject(t)){var a,i;if(n.has(t))return r(null!==(a=n.get(t))&&void 0!==a?a:null,e,t,n);if(n.set(t,null),Array.isArray(t)){i=[];for(var l,s=_createForOfIteratorHelperLoose(t);!(l=s()).done;){var u=l.value;i.push(o(null,u))}}else{i={};for(var c=0,_=Object.entries(t);c<_.length;c++){var f=_[c],p=f[0],d=f[1];i[p]=o(p,d)}}return n.set(t,i),i}return t};return JSON.stringify(e,o,t)}(e)},_convertMapToPlainObject=function(e,r){if(void 0===r&&(r=!0),"object"==typeof e){if(isMap(e)){for(var t,n={},o=_createForOfIteratorHelperLoose(e);!(t=o()).done;){var a=t.value,i=a[0],l=a[1];r&&(l=_convertMapToPlainObject(l,r)),["number","string"].includes(typeof i)&&(n[String(i)]=l)}return n}if(r)if(isPlainObject(e))for(var s=0,u=Object.entries(e);s<u.length;s++){var c=u[s],_=c[0],f=c[1];e[_]=_convertMapToPlainObject(f,r)}else if(Array.isArray(e))for(var p=0,d=0,v=e;d<v.length;d++){var b=v[d];e[p]=_convertMapToPlainObject(b,r),p+=1}else if(isSet(e)){for(var m,g=[],h=_createForOfIteratorHelperLoose(e);!(m=h()).done;){var y=m.value;e.delete(y),g.push(_convertMapToPlainObject(y,r))}for(var O=0,E=g;O<E.length;O++){var P=E[O];e.add(P)}}}return e},_convertPlainObjectToMap=function(e,r){if(void 0===r&&(r=!0),"object"==typeof e){if(isPlainObject(e)){for(var t=new Map,n=0,o=Object.entries(e);n<o.length;n++){var a=o[n],i=a[0],l=a[1];r&&(e[i]=_convertPlainObjectToMap(l,r)),t.set(i,e[i])}return t}if(r)if(Array.isArray(e))for(var s=0,u=0,c=e;u<c.length;u++){var _=c[u];e[s]=_convertPlainObjectToMap(_,r),s+=1}else if(isMap(e))for(var f,p=_createForOfIteratorHelperLoose(e);!(f=p()).done;){var d=f.value,v=d[0],b=d[1];e.set(v,_convertPlainObjectToMap(b,r))}else if(isSet(e)){for(var m,g=[],h=_createForOfIteratorHelperLoose(e);!(m=h()).done;){var y=m.value;e.delete(y),g.push(_convertPlainObjectToMap(y,r))}for(var O=0,E=g;O<E.length;O++){var P=E[O];e.add(P)}}}return e},_convertSubstringInPlainObject=function(e,r,t){for(var n=0,o=Object.entries(e);n<o.length;n++){var a=o[n],i=a[0],l=a[1];isPlainObject(l)?e[i]=_convertSubstringInPlainObject(l,r,t):"string"==typeof l&&(e[i]=l.replace(r,t))}return e},_copy=function(e,r,t,n,o,a,i){if(void 0===r&&(r=-1),void 0===t&&(t=VALUE_COPY_SYMBOL),void 0===n&&(n=null),void 0===o&&(o=!1),void 0===a&&(a=[]),void 0===i&&(i=0),isObject(e)){if(!n){if(Array.isArray(e))return _copy(e,r,t,[],o,a,i);if(e instanceof Map)return _copy(e,r,t,new Map,o,a,i);if(e instanceof Set)return _copy(e,r,t,new Set,o,a,i);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){var l=/[^/]*$/.exec(e.toString());return(n=new RegExp(e.source,l?l[0]:void 0)).lastIndex=e.lastIndex,n}return"undefined"!=typeof Blob&&e instanceof Blob?e.slice(0,e.size,e.type):_copy(e,r,t,{},o,a,i)}if(e===n)throw new Error("Can't copy because source and destination are identical.");if(!o&&![void 0,null].includes(e)){var s=a.indexOf(e);if(-1!==s)return a[s];a.push(e)}var u=function(e){if(-1!==r&&r<i+1)return t===VALUE_COPY_SYMBOL?e:t;var n=_copy(e,r,t,null,o,a,i+1);return o||[void 0,null].includes(e)||"object"!=typeof e||a.push(e),n};if(Array.isArray(e))for(var c,_=_createForOfIteratorHelperLoose(e);!(c=_()).done;){var f=c.value;n.push(u(f))}else if(e instanceof Map)for(var p,d=_createForOfIteratorHelperLoose(e);!(p=d()).done;){var v=p.value,b=v[0],m=v[1];n.set(b,u(m))}else if(e instanceof Set)for(var g,h=_createForOfIteratorHelperLoose(e);!(g=h()).done;){var y=g.value;n.add(u(y))}else for(var O=0,E=Object.entries(e);O<E.length;O++){var P=E[O],A=P[0],w=P[1];try{n[A]=u(w)}catch(e){throw new Error('Failed to copy property value object "'+A+'": '+_represent(e))}}}return n||e},determineType=function(e){if(void 0===e&&(e=void 0),[null,void 0].includes(e))return String(e);var r=typeof e;if(["function","object"].includes(r)&&"toString"in e){var t=Object.prototype.toString.call(e);if(Object.prototype.hasOwnProperty.call(_constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING,t))return _constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING[t]}return r},_equals=function equals(firstValue,secondValue,givenOptions){void 0===givenOptions&&(givenOptions={});var options=_extends({compareBlobs:!1,deep:-1,exceptionPrefixes:[],ignoreFunctions:!0,properties:null,returnReasonIfNotEqual:!1},givenOptions);if(options.ignoreFunctions&&isFunction(firstValue)&&isFunction(secondValue)||firstValue===secondValue||isNotANumber(firstValue)&&isNotANumber(secondValue)||firstValue instanceof RegExp&&secondValue instanceof RegExp&&firstValue.toString()===secondValue.toString()||firstValue instanceof Date&&secondValue instanceof Date&&(isNaN(firstValue.getTime())&&isNaN(secondValue.getTime())||!isNaN(firstValue.getTime())&&!isNaN(secondValue.getTime())&&firstValue.getTime()===secondValue.getTime())||options.compareBlobs&&"undefined"!==eval("typeof Buffer")&&Object.prototype.hasOwnProperty.call(eval("Buffer"),"isBuffer")&&firstValue instanceof eval("Buffer")&&secondValue instanceof eval("Buffer")&&firstValue.toString("base64")===secondValue.toString("base64"))return!0;if(options.compareBlobs&&"undefined"!=typeof Blob&&firstValue instanceof Blob&&secondValue instanceof Blob)return new Promise((function(e){for(var r=[],t=0,n=[firstValue,secondValue];t<n.length;t++){var o=n[t],a=new FileReader;a.onload=function(t){null===t.target?r.push(null):r.push(t.target.result),2===r.length&&(r[0]===r[1]?e(!0):e(!!options.returnReasonIfNotEqual&&">>> Blob("+_represent(r[0])+") !== Blob("+_represent(r[1])+")"))},a.readAsDataURL(o)}}));if(isPlainObject(firstValue)&&isPlainObject(secondValue)&&!(firstValue instanceof RegExp||secondValue instanceof RegExp)||Array.isArray(firstValue)&&Array.isArray(secondValue)&&firstValue.length===secondValue.length||determineType(firstValue)===determineType(secondValue)&&["map","set"].includes(determineType(firstValue))&&firstValue.size===secondValue.size){for(var promises=[],_i11=0,_arr4=[[firstValue,secondValue],[secondValue,firstValue]];_i11<_arr4.length;_i11++){var _arr4$_i=_arr4[_i11],first=_arr4$_i[0],second=_arr4$_i[1],firstIsArray=Array.isArray(first);if(firstIsArray&&(!Array.isArray(second)||first.length!==second.length))return!!options.returnReasonIfNotEqual&&".length";var firstIsMap=isMap(first);if(firstIsMap&&(!isMap(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";var firstIsSet=isSet(first);if(firstIsSet&&(!isSet(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";if(firstIsArray){for(var index=0,_loop2=function(){var e=_arr5[_i12];if(0!==options.deep){var r=_equals(e,second[index],_extends({},options,{deep:options.deep-1}));if(!r)return{v:!1};var t=index,n=function(e){var r;return"string"==typeof e?"["+String(t)+"]"+(null!==(r={"[":"",">":" "}[e[0]])&&void 0!==r?r:".")+e:e};if(Object.prototype.hasOwnProperty.call(r,"then")&&promises.push(r.then(n)),"string"==typeof r)return{v:n(r)}}index+=1},_ret2,_i12=0,_arr5=first;_i12<_arr5.length;_i12++)if(_ret2=_loop2(),_ret2)return _ret2.v}else if(firstIsMap){for(var _loop3=function(){var e=_step11.value,r=e[0],t=e[1];if(0!==options.deep){var n=_equals(t,second.get(r),_extends({},options,{deep:options.deep-1}));if(!n)return{v:!1};var o=function(e){var t;return"string"==typeof e?"get("+_represent(r)+")"+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(Object.prototype.hasOwnProperty.call(n,"then")&&promises.push(n.then(o)),"string"==typeof n)return{v:o(n)}}},_ret3,_iterator11=_createForOfIteratorHelperLoose(first),_step11;!(_step11=_iterator11()).done;)if(_ret3=_loop3(),_ret3)return _ret3.v}else if(firstIsSet){for(var _loop4=function(){var e=_step12.value;if(0!==options.deep){for(var r,t=!1,n=[],o=_createForOfIteratorHelperLoose(second);!(r=o()).done;){var a=r.value,i=_equals(e,a,_extends({},options,{deep:options.deep-1}));if("boolean"==typeof i){if(i){t=!0;break}}else n.push(i)}var l=function(r){return!!r||!!options.returnReasonIfNotEqual&&">>> {-> "+_represent(e)+" not found}"};return t?0:(n.length&&promises.push(new Promise((function(e){Promise.all(n).then((function(r){e(l(r.some((function(e){return e}))))}),(function(){}))}))),{v:l(!1)})}},_ret4,_iterator12=_createForOfIteratorHelperLoose(first),_step12;!(_step12=_iterator12()).done;)if(_ret4=_loop4(),0!==_ret4&&_ret4)return _ret4.v}else for(var _loop5=function(){var e=_Object$entries7[_i13],r=e[0],t=e[1];if(options.properties&&!options.properties.includes(r))return 0;for(var n,o=!1,a=_createForOfIteratorHelperLoose(options.exceptionPrefixes);!(n=a()).done;){var i=n.value;if(r.toString().startsWith(i)){o=!0;break}}if(o)return 0;if(0!==options.deep){var l=_equals(t,second[r],_extends({},options,{deep:options.deep-1}));if(!l)return{v:!1};var s=function(e){var t;return"string"==typeof e?r+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(Object.prototype.hasOwnProperty.call(l,"then")&&promises.push(l.then(s)),"string"==typeof l)return{v:s(l)}}},_ret5,_i13=0,_Object$entries7=Object.entries(first);_i13<_Object$entries7.length&&(_ret5=_loop5(),0!==_ret5);_i13++)if(_ret5)return _ret5.v}return!promises.length||new Promise((function(e){Promise.all(promises).then((function(r){for(var t,n=_createForOfIteratorHelperLoose(r);!(t=n()).done;){var o=t.value;if(!o||"string"==typeof o){e(o);break}}e(!0)}),(function(){}))}))}return!!options.returnReasonIfNotEqual&&">>> "+_represent(firstValue)+" !== "+_represent(secondValue)},evaluateDynamicData=function(e,r,t,n,o){if(void 0===r&&(r={}),void 0===t&&(t="self"),void 0===n&&(n="__evaluate__"),void 0===o&&(o="__execute__"),"object"!=typeof e||null===e)return e;t in r||(r[t]=e);var a=function(e,t){void 0===t&&(t=n);var a=evaluate(e,r,t===o);if(a.error)throw new Error(a.error);return a.result},i=function(e){if("object"!=typeof e||null===e||"undefined"==typeof Proxy)return e;for(var r=0,t=Object.entries(e);r<t.length;r++){var s=t[r],u=s[0],c=s[1];if("__target__"!==u&&isObject(c)){var _=c;if(i(_),Object.prototype.hasOwnProperty.call(_,n)||Object.prototype.hasOwnProperty.call(_,o)){var f=_;e[u]=new Proxy(_,{get:function(e,r){if("__target__"===r)return e;if("hasOwnProperty"===r)return e[r];for(var t=0,i=[n,o];t<i.length;t++){var s=i[t];if(r===s&&"string"==typeof e[r])return l(a(e[r],s))}var u=l(e);if("toString"===r){var c=a(u);return c[r].bind(c)}if("string"!=typeof r){var _,f=a(u);return null!=(_=f[r])&&_.bind?f[r].bind(f):f[r]}for(var p=0,d=[n,o];p<d.length;p++){var v=d[p];if(Object.prototype.hasOwnProperty.call(e,v))return a(u,v)[r]}return u[r]},ownKeys:function(e){for(var r=0,t=[n,o];r<t.length;r++){var i=t[r];if(Object.prototype.hasOwnProperty.call(e,i))return Object.getOwnPropertyNames(l(a(e[i],i)))}return Object.getOwnPropertyNames(e)}}),e[u].__target__||(e[u].__target__=f)}}}return e},l=function(e){if(isObject(e)){if(isProxy(e)){for(var r=0,t=[n,o];r<t.length;r++){var i=t[r];if(Object.prototype.hasOwnProperty.call(e,i))return e[i]}e=e.__target__}for(var s=0,u=Object.entries(e);s<u.length;s++){var c=u[s],_=c[0],f=c[1];if([n,o].includes(_))return"undefined"==typeof Proxy?l(a(f)):f;e[_]=l(f)}}return e};r.resolve=l;var s=function(e){if(isObject(e))for(var r=0,t=Object.entries(e);r<t.length;r++){var n=t[r],o=n[0],a=n[1];if("__target__"!==o&&null!==a&&["function","undefined"].includes(typeof a)){var i=a.__target__;void 0!==i&&(e[o]=i),s(a)}}return e};return Object.prototype.hasOwnProperty.call(e,n)?a(e[n]):Object.prototype.hasOwnProperty.call(e,o)?a(e[o],o):s(l(i(e)))},_removeKeysInEvaluation=function(e,r){void 0===r&&(r=["__evaluate__","__execute__"]);for(var t=0,n=Object.entries(e);t<n.length;t++){var o=n[t],a=o[0],i=o[1];!r.includes(a)&&r.some((function(r){return Object.prototype.hasOwnProperty.call(e,r)}))?delete e[a]:isPlainObject(i)&&_removeKeysInEvaluation(i,r)}return e},_extend=function(e,r){for(var t=!1,n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];var i,l=o;e===_constants__WEBPACK_IMPORTED_MODULE_1__.IGNORE_NULL_AND_UNDEFINED_SYMBOL||"boolean"==typeof e?(t=e,i=r):(i=e,(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isObject)(r)?l=[r].concat(l):void 0!==r&&(i=r));for(var s,u=function(e,r){return r===e?e:t&&r&&((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(r)||(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(r))?(n=(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(r)?e&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(e)?e:new Map:e&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(e)?e:{},_extend(t,n,r)):r;var n},c=_createForOfIteratorHelperLoose(l);!(s=c()).done;){var _=s.value,f=typeof i,p=typeof _;if((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(i)&&(f+=" Map"),(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(_)&&(p+=" Map"),f===p&&i!==_)if((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(i)&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(_))for(var d,v=_createForOfIteratorHelperLoose(_);!(d=v()).done;){var b=d.value,m=b[0],g=b[1];i.set(m,u(i.get(m),g))}else if((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isObject)(i)&&!Array.isArray(i)&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isObject)(_)&&!Array.isArray(_))for(var h=0,y=Object.entries(_);h<y.length;h++){var O=y[h],E=O[0],P=O[1];t===_constants__WEBPACK_IMPORTED_MODULE_1__.IGNORE_NULL_AND_UNDEFINED_SYMBOL&&[null,void 0].includes(P)||(i[E]=u(i[E],P))}else i=_;else i=_}return i},getSubstructure=function(e,r,t,n){void 0===t&&(t=!0),void 0===n&&(n=".");for(var o,a=[],i=_createForOfIteratorHelperLoose([].concat(r));!(o=i()).done;){var l=o.value;if("string"==typeof l)for(var s,u=_createForOfIteratorHelperLoose(l.split(n));!(s=u()).done;){var c=s.value;if(c){var _=c.match(/(.*?)(\[[0-9]+])/g);if(_)for(var f,p=_createForOfIteratorHelperLoose(_);!(f=p()).done;){var d=f.value,v=/(.*?)(\[[0-9]+])/.exec(d),b="",m="";v&&(b=v[1],m=v[2],b&&a.push(b)),a.push(m.substring(1,m.length-1))}else a.push(c)}}else a=a.concat(l)}for(var g,h=e,y=_createForOfIteratorHelperLoose(a);!(g=y()).done;){var O=g.value;if(isObject(h)){if("string"==typeof O&&Object.prototype.hasOwnProperty.call(h,O))h=h[O];else if(isFunction(O))h=O(h);else if(!t)return}else if(!t)return}return h},getProxyHandler=function(e,r){return void 0===r&&(r={}),r=_extends({delete:"[]",get:"[]",has:"[]",set:"[]"},r),{deleteProperty:function(t,n){return"[]"!==r.delete||"string"!=typeof n?e[r.delete](n):(delete e[n],!0)},get:function(t,n){return"[]"===r.get&&"string"==typeof n?e[n]:e[r.get](n)},has:function(t,n){return"[]"===r.has?n in e:e[r.has](n)},set:function(t,n,o){return"[]"!==r.set||"string"!=typeof n?e[r.set](n,o):(e[n]=o,!0)}}},_mask=function(e,r){if(!0===(r=_extends({exclude:!1,include:!0},r)).exclude||Array.isArray(r.exclude)&&0===r.exclude.length||!1===r.include||"object"!=typeof e)return{};var t=Array.isArray(r.exclude)?r.exclude.reduce((function(e,r){var t;return _extends({},e,((t={})[r]=!0,t))}),{}):r.exclude,n=Array.isArray(r.include)?r.include.reduce((function(e,r){var t;return _extends({},e,((t={})[r]=!0,t))}),{}):r.include,o={};if(isPlainObject(n))for(var a=0,i=Object.entries(n);a<i.length;a++){var l=i[a],s=l[0],u=l[1];Object.prototype.hasOwnProperty.call(e,s)&&(!0===u?o[s]=e[s]:(isPlainObject(u)||Array.isArray(u)&&u.length)&&"object"==typeof e[s]&&(o[s]=_mask(e[s],{include:u})))}else o=e;if(isPlainObject(t)){for(var c=!1,_=_extends({},o),f=0,p=Object.entries(t);f<p.length;f++){var d=p[f],v=d[0],b=d[1];if(Object.prototype.hasOwnProperty.call(_,v))if(!0===b)c=!0,delete _[v];else if((isPlainObject(b)||Array.isArray(b)&&b.length)&&"object"==typeof _[v]){var m=_[v];_[v]=_mask(_[v],{exclude:b}),_[v]!==m&&(c=!0)}}c&&(o=_)}return o},_modifyObject=function(e,r,t,n,o,a,i,l,s){if(void 0===t&&(t="__remove__"),void 0===n&&(n="__prepend__"),void 0===o&&(o="__append__"),void 0===a&&(a="__"),void 0===i&&(i="__"),void 0===l&&(l=null),void 0===s&&(s=null),isMap(r)&&isMap(e))for(var u,c=_createForOfIteratorHelperLoose(r);!(u=c()).done;){var _=u.value,f=_[0],p=_[1];e.has(f)&&_modifyObject(e.get(f),p,t,n,o,a,i,r,f)}else if(isObject(r)&&isObject(e))for(var d=0,v=Object.entries(r);d<v.length;d++){var b=v[d],m=b[0],g=b[1],h=NaN;if(Array.isArray(e)&&m.startsWith(a)&&m.endsWith(i)&&((h=parseInt(m.substring(a.length,m.length-i.length),10))<0||h>=e.length)&&(h=NaN),[t,n,o].includes(m)||!isNaN(h)){if(Array.isArray(e))if(m===t)for(var y,O=_createForOfIteratorHelperLoose([].concat(g));!(y=O()).done;){var E=y.value;"string"==typeof E&&E.startsWith(a)&&E.endsWith(i)?e.splice(parseInt(E.substring(a.length,E.length-i.length),10),1):e.includes(E)?e.splice(e.indexOf(E),1):"number"==typeof E&&E<e.length&&e.splice(E,1)}else m===o?e=e.concat(g):m===n?e=[].concat(g).concat(e):isObject(e[h])&&isObject(g)?_extend(!0,_modifyObject(e[h],g,t,n,o,a,i),e[h],g):e[h]=g;else if(m===t)for(var P,A=_createForOfIteratorHelperLoose([].concat(g));!(P=A()).done;){var w=P.value;"string"==typeof w&&Object.prototype.hasOwnProperty.call(e,w)&&delete e[w]}delete r[m],l&&"string"==typeof s&&delete l[s]}else null!==e&&Object.prototype.hasOwnProperty.call(e,m)&&(e[m]=_modifyObject(e[m],g,t,n,o,a,i,r,m))}return e},_removeKeyPrefixes=function(e,r){void 0===r&&(r="#");var t=[].concat(r);if(Array.isArray(e))for(var n,o=0,a=_createForOfIteratorHelperLoose(e.slice());!(n=a()).done;){var i=n.value,l=!1;if("string"==typeof i){for(var s,u=_createForOfIteratorHelperLoose(t);!(s=u()).done;){var c=s.value;if(i.startsWith(c+":")){e.splice(o,1),l=!0;break}}if(l)continue}e[o]=_removeKeyPrefixes(i,t),o+=1}else if(isSet(e))for(var _,f=_createForOfIteratorHelperLoose(new Set(e));!(_=f()).done;){var p=_.value,d=!1;if("string"==typeof p){for(var v,b=_createForOfIteratorHelperLoose(t);!(v=b()).done;){var m=v.value;if(p.startsWith(m+":")){e.delete(p),d=!0;break}}if(d)continue}_removeKeyPrefixes(p,t)}else if(isMap(e))for(var g,h=_createForOfIteratorHelperLoose(new Map(e));!(g=h()).done;){var y=g.value,O=y[0],E=y[1],P=!1;if("string"==typeof O){for(var A,w=_createForOfIteratorHelperLoose(t);!(A=w()).done;){var I=A.value,M=escapeRegularExpressions(I);if(new RegExp("^"+M+"[0-9]*$").test(O)){e.delete(O),P=!0;break}}if(P)continue}e.set(O,_removeKeyPrefixes(E,t))}else if(isObject(e))for(var L=0,D=Object.entries(Object.assign({},e));L<D.length;L++){for(var x,T=D[L],j=T[0],S=T[1],N=!1,R=_createForOfIteratorHelperLoose(t);!(x=R()).done;){var C=x.value,$=escapeRegularExpressions(C);if(new RegExp("^"+$+"[0-9]*$").test(j)){delete e[j],N=!0;break}}N||(e[j]=_removeKeyPrefixes(S,t))}return e},_represent=function(e,r,t,n,o){if(void 0===r&&(r=" "),void 0===t&&(t=""),void 0===n&&(n="__maximum_number_of_levels_reached__"),void 0===o&&(o=8),0===o)return String(n);if(null===e)return"null";if(void 0===e)return"undefined";if("string"==typeof e)return'"'+e.replace(/\n/g,"\n"+t)+'"';if(isNumeric(e)||"boolean"==typeof e)return String(e);if(e instanceof Date)return e.toISOString();if(Array.isArray(e)){for(var a,i="[",l=!1,s=_createForOfIteratorHelperLoose(e);!(a=s()).done;){var u=a.value;l&&(i+=","),i+="\n"+t+r+_represent(u,r,""+t+r,n,o-1),l=!0}return l&&(i+="\n"+t),i+="]"}if(isMap(e)){for(var c,_="",f=!1,p=_createForOfIteratorHelperLoose(e);!(c=p()).done;){var d=c.value,v=d[0],b=d[1];f&&(_+=",\n"+t+r),_+=_represent(v,r,""+t+r,n,o-1)+" -> "+_represent(b,r,""+t+r,n,o-1),f=!0}return f||(_="EmptyMap"),_}if(isSet(e)){for(var m,g="{",h=!1,y=_createForOfIteratorHelperLoose(e);!(m=y()).done;){var O=m.value;h&&(g+=","),g+="\n"+t+r+_represent(O,r,""+t+r,n,o-1),h=!0}return h?g+="\n"+t+"}":g="EmptySet",g}if(isFunction(e))return"__function__";for(var E,P="{",A=!1,w=_createForOfIteratorHelperLoose(Object.getOwnPropertyNames(e).sort());!(E=w()).done;){var I=E.value;A&&(P+=","),P+="\n"+t+r+I+": "+_represent(e[I],r,""+t+r,n,o-1),A=!0}return A&&(P+="\n"+t),P+="}"},sort=function(e){var r=[];if(Array.isArray(e))for(var t=0;t<e.length;t++)r.push(t);else if("object"==typeof e)if(isMap(e))for(var n,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var a=n.value;r.push(a[0])}else if(null!==e)for(var i=0,l=Object.keys(e);i<l.length;i++){var s=l[i];r.push(s)}return r.sort()},_unwrapProxy=function(e,r){if(void 0===r&&(r=new Set),isObject(e)){if(r.has(e))return e;try{isFunction(e.__revoke__)&&(isProxy(e)&&(e=e.__target__),e.__revoke__())}catch(r){return e}finally{r.add(e)}if(Array.isArray(e))for(var t,n=0,o=_createForOfIteratorHelperLoose(e);!(t=o()).done;){var a=t.value;e[n]=_unwrapProxy(a,r),n+=1}else if(isMap(e))for(var i,l=_createForOfIteratorHelperLoose(e);!(i=l()).done;){var s=i.value,u=s[0],c=s[1];e.set(u,_unwrapProxy(c,r))}else if(isSet(e)){for(var _,f=[],p=_createForOfIteratorHelperLoose(e);!(_=p()).done;){var d=_.value;e.delete(d),f.push(_unwrapProxy(d,r))}for(var v=0,b=f;v<b.length;v++){var m=b[v];e.add(m)}}else for(var g=0,h=Object.entries(e);g<h.length;g++){var y=h[g],O=y[0],E=y[1];e[O]=_unwrapProxy(E,r)}}return e}},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{camelCaseToDelimited:function(){return camelCaseToDelimited},capitalize:function(){return capitalize},compressStyleValue:function(){return compressStyleValue},delimitedToCamelCase:function(){return delimitedToCamelCase},format:function(){return format},normalizeDomNodeSelector:function(){return normalizeDomNodeSelector}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(8),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__),_constants__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0);function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var ALLOWED_VARIABLE_SYMBOLS="0-9a-zA-Z_$",ALLOWED_STARTING_VARIABLE_SYMBOLS="a-zA-Z_$",FIX_ENCODING_ERROR_MAPPING=null,escapeRegularExpressions=function(e,r){if(void 0===r&&(r=[]),1===e.length&&!SPECIAL_REGEX_SEQUENCES.includes(e))return e;r.includes("\\")||e.replace(/\\/g,"\\\\");for(var t,n=_createForOfIteratorHelperLoose(SPECIAL_REGEX_SEQUENCES);!(t=n()).done;){var o=t.value;r.includes(o)||(e=e.replace(new RegExp("\\"+o,"g"),"\\"+o))}return e},convertToValidVariableName=function(e){return["class","default"].includes(e)?"_"+e:e.toString().replace(new RegExp("^[^"+ALLOWED_STARTING_VARIABLE_SYMBOLS+"]+"),"").replace(new RegExp("[^"+ALLOWED_VARIABLE_SYMBOLS+"]+([a-zA-Z])","g"),(function(e,r){return r.toUpperCase()}))},encodeURIComponentExtended=function(e,r){return void 0===r&&(r=!1),encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,r?"%20":"+")},addSeparatorToPath=function(e,r){return void 0===r&&(r="/"),(e=e.trim()).substring(e.length-1)!==r&&e.length?e+r:e},hasPathPrefix=function(e,r,t){var n;(void 0===e&&(e="/admin"),void 0===r)&&(r=(null==(n=$.location)?void 0:n.pathname)||"");return void 0===t&&(t="/"),"string"==typeof e&&(e.endsWith(t)||(e+=t),r===e.substring(0,e.length-t.length)||r.startsWith(e))},getDomainName=function(e,r){var t,n;void 0===e&&(e=(null==(t=$.location)?void 0:t.href)||"");void 0===r&&(r=(null==(n=$.location)?void 0:n.hostname)||"");var o=/^([a-z]*:?\/\/)?([^/]+?)(?::[0-9]+)?(?:\/.*|$)/i.exec(e);return o&&o.length>2&&o[1]&&o[2]?o[2]:r},getPortNumber=function(e,r){var t,n,o;void 0===e&&(e=(null==(n=$.location)?void 0:n.href)||"");void 0===r&&(r=null!=(o=$.location)&&o.port?parseInt($.location.port):null);var a=/^(?:[a-z]*:?\/\/[^/]+?)?[^/]+?:([0-9]+)/i.exec(e);return a&&a.length>1?parseInt(a[1],10):null!==r?r:null!=(t=$.location)&&t.port&&parseInt($.location.port,10)?parseInt($.location.port,10):"https"===getProtocolName(e)?443:80},getProtocolName=function(e,r){var t,n;void 0===e&&(e=(null==(t=$.location)?void 0:t.href)||"");void 0===r&&(r=(null==(n=$.location)?void 0:n.protocol)&&$.location.protocol.substring(0,$.location.protocol.length-1)||"");var o=/^([a-z]+):\/\//i.exec(e);return o&&o.length>1&&o[1]?o[1]:r},getURLParameter=function(e,r,t,n,o,a,i){var l,s,u;(void 0===e&&(e=null),void 0===r&&(r=!1),void 0===t&&(t=null),void 0===n&&(n="$"),void 0===o&&(o="!"),void 0===a&&(a=null),void 0===i)&&(i=null!==(s=null==(u=$.location)?void 0:u.hash)&&void 0!==s?s:"");var c=null!==(l=i)&&void 0!==l?l:"#",_="";if(a)_=a;else if(o&&c.startsWith(o)){var f,p=c.indexOf("#");-1===p?(f=c.substring(o.length),c=""):(f=c.substring(o.length,p),c=c.substring(p));var d=f.indexOf("?");-1!==d&&(_=f.substring(d))}else $.location&&(_=$.location.search||"");var v=t||_,b="&"===v;if(b||"#"===v){var m="";try{m=decodeURIComponent(c)}catch(e){}var g=m.indexOf(n);-1===g?v="":(v=m.substring(g)).startsWith(n)&&(v=v.substring(n.length))}else v.startsWith("?")&&(v=v.substring(1));var h=v?v.split("&"):[];_=_.substring(1),b&&_&&(h=h.concat(_.split("&")));for(var y,O=[],E=_createForOfIteratorHelperLoose(h);!(y=E()).done;){var P=y.value,A=P.split("="),w=void 0;try{w=decodeURIComponent(A[0])}catch(e){w=""}try{P=decodeURIComponent(A[1])}catch(e){P=""}O.push(w),r?Object.prototype.hasOwnProperty.call(O,w)&&Array.isArray(O[w])?O[w].push(P):O[w]=[P]:O[w]=P}return e?Object.prototype.hasOwnProperty.call(O,e)?O[e]:null:O},serviceURLEquals=function(e,r){var t;void 0===r&&(r=(null==(t=$.location)?void 0:t.href)||"");var n=getDomainName(e,""),o=getProtocolName(e,""),a=getPortNumber(e);return!(""!==n&&n!==getDomainName(r)||""!==o&&o!==getProtocolName(r)||null!==a&&a!==getPortNumber(r))},normalizeURL=function(e){if("string"==typeof e){var r=e.replace(/^:?\/+/,"").replace(/\/+$/,"").trim();return r.startsWith("http")?r:"http://"+r}return""},representURL=function(e){return"string"==typeof e?e.replace(/^(https?)?:?\/+/,"").replace(/\/+$/,"").trim():""},camelCaseToDelimited=function(e,r,t){void 0===r&&(r="-"),void 0===t&&(t=null),t||(t=_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS);var n=maskForRegularExpression(r);if(t.length){for(var o,a="",i=_createForOfIteratorHelperLoose(t);!(o=i()).done;){a&&(a+="|"),a+=o.value.toUpperCase()}e=e.replace(new RegExp("("+a+")("+a+")","g"),"$1"+r+"$2")}return(e=e.replace(new RegExp("([^"+n+"])([A-Z][a-z]+)","g"),"$1"+r+"$2")).replace(/([a-z0-9])([A-Z])/g,"$1"+r+"$2").toLowerCase()},capitalize=function(e){return e.charAt(0).toUpperCase()+e.substring(1)},compressStyleValue=function(e){return e.replace(/ *([:;]) */g,"$1").replace(/ +/g," ").replace(/^;+/,"").replace(/;+$/,"").trim()},decodeHTMLEntities=function(e){if($.document){var r=$.document.createElement("textarea");return r.innerHTML=e,r.value}return null},delimitedToCamelCase=function(e,r,t,n,o){void 0===r&&(r="-"),void 0===t&&(t=null),void 0===n&&(n=!1),void 0===o&&(o=!1);var a,i=maskForRegularExpression(r);if(t||(t=_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS),n)a=_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS.join("|");else{a="";for(var l,s=_createForOfIteratorHelperLoose(t);!(l=s()).done;){var u=l.value;a&&(a+="|"),a+=capitalize(u)+"|"+u}}var c=e.startsWith(r);return c&&(e=e.substring(r.length)),e=e.replace(new RegExp("("+i+")("+a+")("+i+"|$)","g"),(function(e,r,t,n){return r+t.toUpperCase()+n})),o&&(i="(?:"+i+")+"),e=e.replace(new RegExp(i+"([a-zA-Z0-9])","g"),(function(e,r){return r.toUpperCase()})),c&&(e=r+e),e},compile=function(e,r,t,n,o){var a;void 0===r&&(r=[]),void 0===t&&(t=!1),void 0===n&&(n=!0),void 0===o&&(o={});for(var i,l,s=Object.keys(globalThis).concat("globalThis").filter((function(e){return new RegExp("^["+ALLOWED_STARTING_VARIABLE_SYMBOLS+"]["+ALLOWED_VARIABLE_SYMBOLS+"]*$").test(e)})),u={error:null,globalNames:s,globalNamesUndefinedList:s.map((function(){})),originalScopeNames:Array.isArray(r)?r:"string"==typeof r?[r]:Object.keys(r),scopeNameMapping:{},scopeNames:[],templateFunction:function(){}},c=_createForOfIteratorHelperLoose(u.originalScopeNames);!(i=c()).done;){var _=i.value,f=convertToValidVariableName(_);u.scopeNameMapping[_]=f,u.scopeNames.push(f)}if(0!==MAXIMAL_SUPPORTED_INTERNET_EXPLORER_VERSION.value)if(null!=(a=$.global.Babel)&&a.transform)e=$.global.Babel.transform("("+e+")",{plugins:["transform-template-literals"]}).code;else if(e.startsWith("`")&&e.endsWith("`")){var p="####",d="`"===(e=e.replace(/\\\$/g,p).replace(/^`\$\{([\s\S]+)}`$/,"String($1)").replace(/^`([^']+)`$/,"'$1'").replace(/^`([^"]+)`$/,'"$1"')).charAt(0)?"'":e.charAt(0);e=e.replace(/\$\{((([^{]*{[^}]*}[^}]*})|[^{}]+)+)}/g,d+"+($1)+"+d).replace(/^`([\s\S]+)`$/,d+"$1"+d).replace(/\n+/g,"").replace(new RegExp(p,"g"),"\\$")}try{l=_construct(Function,(n?u.globalNames:[]).concat(u.scopeNames,[(t?"":"return ")+e]))}catch(r){u.error='Given expression "'+e+'" could not be compiled width given scope names "'+u.scopeNames.join('", "')+'": '+represent(r)}if(l){var v=l.bind(o);u.templateFunction=n?function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return v.apply(void 0,u.globalNamesUndefinedList.concat(r))}:v}return u},evaluate=function(e,r,t,n,o){void 0===r&&(r={}),void 0===t&&(t=!1),void 0===n&&(n=!0),void 0===o&&(o={});var a=compile(e,r,t,n,o),i=a.error,l=a.originalScopeNames,s=a.scopeNames,u=a.templateFunction,c={compileError:null,runtimeError:null,error:"Not yet evaluated.",result:void 0};if(i)return c.compileError=c.error=i,c;try{c={compileError:null,runtimeError:null,error:null,result:u.apply(void 0,l.map((function(e){return r[e]})))}}catch(i){c.error=c.runtimeError='Given expression "'+e+'" could not be evaluated with given scope names "'+s.join('", "')+'": '+represent(i)}return c},findNormalizedMatchRange=function(e,r,t,n){void 0===t&&(t=function(e){return String(e).toLowerCase()}),void 0===n&&(n=["<",">"]);var o=t(r),a=t(e),i="string"==typeof e?e:a;if(a&&o)for(var l=!1,s=0;s<i.length;s+=1)if(l)Array.isArray(n)&&i.charAt(s)===n[1]&&(l=!1);else if(Array.isArray(n)&&i.charAt(s)===n[0])l=!0;else if(t(i.substring(s)).startsWith(o)){if(1===o.length)return[s,s+1];for(var u=i.length;u>s;u-=1)if(!t(i.substring(s,u)).startsWith(o))return[s,u+1]}return null},fixKnownEncodingErrors=function(e){for(var r=0,t=FIX_ENCODING_ERROR_MAPPING;r<t.length;r++){var n=t[r],o=n[0],a=n[1];e=e.replace(new RegExp(o,"g"),a)}return e},format=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];t.unshift(e);for(var o=0,a=0,i=t;a<i.length;a++){var l=i[a];e=e.replace(new RegExp("\\{"+String(o)+"\\}","gm"),String(l)),o+=1}return e},getEditDistance=function(e,r){for(var t=Array(r.length+1).fill(null).map((function(){return Array(e.length+1).fill(null)})),n=0;n<=e.length;n++)t[0][n]=n;for(var o=0;o<=r.length;o++)t[o][0]=o;for(var a=1;a<=r.length;a++)for(var i=1;i<=e.length;i++){var l=e[i-1]===r[a-1]?0:1;t[a][i]=Math.min(t[a][i-1]+1,t[a-1][i]+1,t[a-1][i-1]+l)}return t[r.length][e.length]},maskForRegularExpression=function(e){return e.replace(/([\\|.*$^+[\]()?\-{}])/g,"\\$1")},lowerCase=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},mark=function(e,r,t){if(void 0===t&&(t={}),"string"==typeof e&&null!=r&&r.length){var n=_extends({marker:'<span class="tools-mark">{1}</span>',normalizer:function(e){return String(e).toLowerCase()},skipTagDelimitedParts:["<",">"]},t);e=e.trim();for(var o,a=[],i=[].concat(r),l=0,s=_createForOfIteratorHelperLoose(i);!(o=s()).done;){var u=o.value;i[l]=n.normalizer(u).trim(),l+=1}for(var c=e,_=0,f=0;f<MAXIMAL_NUMBER_OF_ITERATIONS.value;f++){for(var p,d=null,v=null,b=_createForOfIteratorHelperLoose(i);!(p=b()).done;){var m=p.value;(v=findNormalizedMatchRange(c,m,n.normalizer,n.skipTagDelimitedParts))&&(!d||v[0]<d[0])&&(d=v)}if(!d){c.length&&a.push(c);break}d[0]>0&&a.push(e.substring(_,_+d[0])),a.push("string"==typeof n.marker?format(n.marker,e.substring(_+d[0],_+d[1])):n.marker(e.substring(_+d[0],_+d[1]),a)),_+=d[1],c=e.substring(_)}return"string"==typeof n.marker?a.join(""):a}return e},normalizePhoneNumber=function(e,r){if(void 0===r&&(r=!0),"string"==typeof e||"number"==typeof e){var t=String(e).trim();if(t=(t=t.replace(/^[^0-9]*\+/,"00")).replace(/([0-9].*?) *(,|o[rd]?)\.? ?-?[0-9]+$/,"$1"),r)return t.replace(/[^0-9]+/g,"");var n="(?:[ /\\-]+)";t=(t=t.replace(new RegExp("^(.+?)"+n+"?\\(0\\)"+n+"?(.+)$"),"$1-$2")).replace(new RegExp("^(.+?)"+n+"?\\((.+)\\)"+n+"?(.+)$"),"$1-$2-$3");var o=new RegExp("^(00[0-9]+)"+n+"([0-9]+)"+n+"(.+)$");if(o.test(t))t=t.replace(o,(function(e,r,t,n){return r+"-"+t+"-"+sliceAllExceptNumberAndLastSeparator(n)}));else{var a=function(e,r,t){return r.replace(/ +/,"")+"-"+sliceAllExceptNumberAndLastSeparator(t)};t=(o=/^([0-9 ]+)[/-](.+)$/).test(t)?t.replace(o,a):t.replace(new RegExp("^([0-9]+)"+n+"(.+)$"),a)}return t.replace(/[^0-9-]+/g,"").replace(/^-+$/,"")}return""},normalizeZipCode=function(e){return"string"==typeof e||"number"==typeof e?String(e).trim().replace(/^([^0-9]*[a-zA-Z]-)?(.+)$/,(function(e,r,t){var n;return r&&(r=r.substring(r.length-2).charAt(0).toUpperCase()+"-"),(null!==(n=r)&&void 0!==n?n:"")+(null!=t?t:"").trim().replace(/[^0-9]+/g,"")})):""},parseEncodedObject=function parseEncodedObject(serializedObject,scope,name){var _evaluate;if(void 0===scope&&(scope={}),void 0===name&&(name="scope"),!readFileSync)throw new Error("File system api could not be loaded.");serializedObject.endsWith(".json")&&isFileSync(serializedObject)&&(serializedObject=readFileSync(serializedObject,{encoding:DEFAULT_ENCODING})),serializedObject=serializedObject.trim(),serializedObject.startsWith("{")||(serializedObject=eval("Buffer").from(serializedObject,"base64").toString(DEFAULT_ENCODING));var result=evaluate(serializedObject,(_evaluate={},_evaluate[name]=scope,_evaluate));return"object"==typeof result.result?result.result:null},representPhoneNumber=function(e){if(["number","string"].includes(determineType(e))&&e){var r=String(e).replace(/^(00|\+)([0-9]+)-([0-9-]+)$/,"+$2 (0) $3");return(r=(r=r.replace(/^0([1-9][0-9-]+)$/,"+49 (0) $1")).replace(/^([^-]+)-([0-9-]+)$/,"$1 / $2")).replace(/^(.*?)([0-9]+)(-?[0-9]*)$/,(function(e,r,t,n){return r+(t.length%2==0?t.replace(/([0-9]{2})/g,"$1 "):t.replace(/^([0-9]{3})([0-9]+)$/,(function(e,r,t){return r+" "+t.replace(/([0-9]{2})/g,"$1 ").trim()}))+n).trim()})).trim()}return""},sliceAllExceptNumberAndLastSeparator=function(e){var r=/^(.*[0-9].*)-([0-9]+)$/;return r.test(e)?e.replace(r,(function(e,r,t){return r.replace(/[^0-9]+/g,"")+"-"+t})):e.replace(/[^0-9]+/g,"")},normalizeDomNodeSelector=function(e,r){void 0===r&&(r="");var t="";return r&&(t=r+" "),e.startsWith(t)||e.trim().startsWith("<")||(e=t+e),e.trim()}},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{currentImport:function(){return currentImport},optionalRequire:function(){return optionalRequire}});var currentRequire=eval("typeof require === 'undefined' ? null : require"),currentOptionalImport=null;try{currentOptionalImport=eval("typeof import === 'undefined' ? null : import")}catch(e){}var currentImport=currentOptionalImport,optionalRequire=function(e){try{return currentRequire?currentRequire(e):null}catch(e){return null}}},function(e,r,t){t.d(r,{makeArray:function(){return i}});t(2);var n=t(1);function o(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"==typeof e)return a(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var i=function(e){var r=[];return[null,void 0].includes(e)||((0,n.isArrayLike)(Object(e))?l(r,"string"==typeof e?[e]:e):r.push(e)),r},l=function(e,r){Array.isArray(r)||(r=Array.prototype.slice.call(r));for(var t,n=o(r);!(t=n()).done;){var a=t.value;e.push(a)}return e}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__8__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e,r,t){t(9);var n=t(11),o=t.n(n),a=t(7),i=t(0),l=t(3),s=t(1),u=t(4),c=t(5);function _(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"==typeof e)return f(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?f(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var p=!1,d=function(){function e(r){var t=this;this.$domNode=null,this.options=void 0,this._bindEventHelper=function(e,r,n){void 0===r&&(r=!1),n||(n=r?"off":"on");var o=(0,l.$)(e[0]);if("object"===(0,u.determineType)(e[1])&&!r){for(var i=0,s=Object.entries(e[1]);i<s.length;i++){var c=s[i],_=c[0],f=c[1];t[n](o,_,f)}return o}return 0===(e=(0,a.makeArray)(e).slice(1)).length&&e.push(""),e[0].includes(".")||(e[0]+="."+t.options.name),o[n].apply(o,e)},r&&(this.$domNode=r),this.options=e._defaultOptions,Object.prototype.hasOwnProperty.call(l.$.global,"console")||(l.$.global.console={}),l.$.global.console||(l.$.global.console={});for(var n,o=_(i.CONSOLE_METHODS);!(n=o()).done;){var s=n.value;s in l.$.global.console||(l.$.global.console[s]=l.NOOP)}}var r=e.prototype;return r.destructor=function(){var e;return null!=(e=l.$.fn)&&e.off&&this.off("*"),this},r.initialize=function(r){return void 0===r&&(r={}),this.options=(0,u.extend)(!0,{},e._defaultOptions,r),this.options.domNodeSelectorPrefix=(0,c.format)(this.options.domNodeSelectorPrefix,(0,c.camelCaseToDelimited)(null===this.options.domNodeSelectorInfix?"":this.options.domNodeSelectorInfix||this.options.name)),this.renderJavaScriptDependentVisibility(),this},e.controller=function(r,t,n){void 0===n&&(n=null),"function"==typeof r&&((r=new r(n))instanceof e||(r=(0,u.extend)(!0,new e,r)));var o,i=(0,a.makeArray)(t);if(i.length&&"string"==typeof i[0]&&i[0]in r)return(0,s.isFunction)(r[i[0]])?(