web-input-material 0.0.423 → 0.0.424
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/components/CircularSpinner.bundle.js +3 -3
- package/components/FileInput.bundle.js +8 -8
- package/components/FileInput.js +1 -1
- package/components/GenericAnimate.bundle.js +1 -1
- package/components/GenericInputs.bundle.js +8 -8
- package/components/GenericInputs.js +1 -1
- package/components/RequireableCheckbox.bundle.js +3 -3
- package/components/SliderInput.bundle.js +4 -4
- package/components/Tabs.bundle.js +9 -9
- package/components/TextInput.bundle.js +8 -8
- package/components/TextInput.js +1 -1
- package/index.bundle.js +11 -11
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
27
27
|
* THE SOFTWARE.
|
|
28
28
|
*/
|
|
29
|
-
var n=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},function(e,t,r){r.d(t,{s:function(){return a}});var n=r(2),o=r(4),a=function(){function e(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];this.root=e,this.initialize.apply(this,(0,n.Mt)([],(0,n.o5)(r))),this.foundation=void 0===t?this.getDefaultFoundation():t,this.foundation.init(),this.initialSyncWithDOM()}return e.attachTo=function(t){return new e(t,new o.E({}))},e.prototype.initialize=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},e.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},e.prototype.initialSyncWithDOM=function(){},e.prototype.destroy=function(){this.foundation.destroy()},e.prototype.listen=function(e,t,r){this.root.addEventListener(e,t,r)},e.prototype.unlisten=function(e,t,r){this.root.removeEventListener(e,t,r)},e.prototype.emit=function(e,t,r){var n;void 0===r&&(r=!1),"function"==typeof CustomEvent?n=new CustomEvent(e,{bubbles:r,detail:t}):(n=document.createEvent("CustomEvent")).initCustomEvent(e,r,!1,t),this.root.dispatchEvent(n)},e}()},function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(6);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(51)},function(e,t,r){var n=r(6),o=r(25);e.exports=function(e,t,r){if(o())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var i=new(e.bind.apply(e,a));return r&&n(i,r.prototype),i},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(e,t,r,n,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,a){var i=e.apply(r,n);function l(e){t(i,o,a,l,s,"next",e)}function s(e){t(i,o,a,l,s,"throw",e)}l(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(26)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},,function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,n,r;if(module=__webpack_require__.nmd(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")&&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=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(8),n=__webpack_require__(23),r=__webpack_require__(35),function(){var t={0:function(t){t.exports=e},9:function(e){e.exports=n},10:function(e){e.exports=r}},o={};function a(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,a),n.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return function(){a.r(i),a.d(i,{DummyTypes:function(){return p},NullSymbol:function(){return s},PropertyTypes:function(){return h},RealTypes:function(){return c},UndefinedSymbol:function(){return u},ValidationError:function(){return f},any:function(){return v},array:function(){return m},arrayOf:function(){return _},bool:function(){return g},boolean:function(){return y},createDummy:function(){return d},element:function(){return b},elementType:function(){return T},exact:function(){return E},func:function(){return w},instanceOf:function(){return S},node:function(){return A},number:function(){return C},object:function(){return k},objectOf:function(){return x},oneOf:function(){return O},oneOfType:function(){return P},shape:function(){return I},string:function(){return R},symbol:function(){return N}});var e=a(0),t=a.n(e),r=a(9),n=a.n(r),o=a(10),l=a.n(o),s=Symbol("null"),u=Symbol("undefined"),c={any:l().any,array:l().array,arrayOf:l().arrayOf,bool:l().bool,boolean:l().bool,element:l().element,elementType:l().elementType,exact:l().exact,func:l().func,instanceOf:l().instanceOf,node:l().node,number:l().number,object:l().object,objectOf:l().objectOf,oneOf:l().oneOf,oneOfType:l().oneOfType,shape:l().shape,string:l().string,symbol:l().symbol},d=function(e){void 0===e&&(e=null);var t=function(){return e};return t.isRequired=function(){return null},t},f=function(e){function r(){var t;return(t=e.call(this,"return null")||this).message="DummyErrorMessage",t}return t()(r,e),r}(n()(Function)),p={any:d(),array:d(),arrayOf:d(new f),bool:d(),boolean:d(),element:d(),elementType:d(new f),exact:d(),func:d(),instanceOf:d(new f),node:d(),number:d(),object:d(),objectOf:d(new f),oneOf:d(new f),oneOfType:d(new f),shape:d(new f),string:d(),symbol:d()},h=["debug","dev","development"].includes("production".trim().toLowerCase())?c:p,v=h.any,m=h.array,_=h.arrayOf,g=h.bool,y=h.bool,b=h.element,T=h.elementType,E=h.exact,w=h.func,S=h.instanceOf,A=h.node,C=h.number,k=h.object,x=h.objectOf,O=h.oneOf,P=h.oneOfType,I=h.shape,R=h.string,N=h.symbol;i.default=h}(),i}())},function(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const n=r(1),o=r(0),a={ripple:!0,tooltip:{align:"top",showArrow:!1,activateOn:["hover","focus"],enterDelay:0,leaveDelay:0},typography:{},icon:{icon:"",basename:"material-icons",prefix:"",strategy:"auto",render:void 0}},i=o.createContext(a);t.ProviderContext=i,t.RMWCProvider=({children:e,...t})=>n.jsx(i.Provider,{value:{...a,...t},children:e}),t.useProviderContext=()=>o.useContext(i)},function(e,t,r){function n(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}r.d(t,{_u:function(){return n}})},,function(e,t,r){r.d(t,{E:function(){return c}});var n=r(2),o=r(4),a=r(56),i=r(45),l=["touchstart","pointerdown","mousedown","keydown"],s=["touchend","pointerup","mouseup","contextmenu"],u=[],c=function(e){function t(r){var o=e.call(this,(0,n.C3)((0,n.C3)({},t.defaultAdapter),r))||this;return o.activationAnimationHasEnded=!1,o.activationTimer=0,o.fgDeactivationRemovalTimer=0,o.fgScale="0",o.frame={width:0,height:0},o.initialSize=0,o.layoutFrame=0,o.maxRadius=0,o.unboundedCoords={left:0,top:0},o.activationState=o.defaultActivationState(),o.activationTimerCallback=function(){o.activationAnimationHasEnded=!0,o.runDeactivationUXLogicIfReady()},o.activateHandler=function(e){o.activateImpl(e)},o.deactivateHandler=function(){o.deactivateImpl()},o.focusHandler=function(){o.handleFocus()},o.blurHandler=function(){o.handleBlur()},o.resizeHandler=function(){o.layout()},o}return(0,n.ct)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a.k7},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return a.sH},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return a.TP},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,r=this.supportsPressRipple();if(this.registerRootHandlers(r),r){var n=t.cssClasses,o=n.ROOT,a=n.UNBOUNDED;requestAnimationFrame((function(){e.adapter.addClass(o),e.adapter.isUnbounded()&&(e.adapter.addClass(a),e.layoutInternal())}))}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var r=t.cssClasses,n=r.ROOT,o=r.UNBOUNDED;requestAnimationFrame((function(){e.adapter.removeClass(n),e.adapter.removeClass(o),e.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},t.prototype.activate=function(e){this.activateImpl(e)},t.prototype.deactivate=function(){this.deactivateImpl()},t.prototype.layout=function(){var e=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){e.layoutInternal(),e.layoutFrame=0}))},t.prototype.setUnbounded=function(e){var r=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(r):this.adapter.removeClass(r)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame((function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame((function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var t,r;if(e){try{for(var o=(0,n.gR)(l),a=o.next();!a.done;a=o.next()){var i=a.value;this.adapter.registerInteractionHandler(i,this.activateHandler)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},t.prototype.registerDeactivationHandlers=function(e){var t,r;if("keydown"===e.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var o=(0,n.gR)(s),a=o.next();!a.done;a=o.next()){var i=a.value;this.adapter.registerDocumentInteractionHandler(i,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},t.prototype.deregisterRootHandlers=function(){var e,t;try{for(var r=(0,n.gR)(l),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterInteractionHandler(a,this.activateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,t;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var r=(0,n.gR)(s),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterDocumentInteractionHandler(a,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,r=t.strings;Object.keys(r).forEach((function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(r[t],null)}))},t.prototype.activateImpl=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var n=this.previousActivationEvent;if(!(n&&void 0!==e&&n.type!==e.type))r.isActivated=!0,r.isProgrammatic=void 0===e,r.activationEvent=e,r.wasActivatedByPointer=!r.isProgrammatic&&(void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type)),void 0!==e&&u.length>0&&u.some((function(e){return t.adapter.containsEventTarget(e)}))?this.resetActivationState():(void 0!==e&&(u.push(e.target),this.registerDeactivationHandlers(e)),r.wasElementMadeActive=this.checkElementMadeActive(e),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){u=[],r.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(r.wasElementMadeActive=t.checkElementMadeActive(e),r.wasElementMadeActive&&t.animateActivation()),r.wasElementMadeActive||(t.activationState=t.defaultActivationState())})))}}},t.prototype.checkElementMadeActive=function(e){return void 0===e||"keydown"!==e.type||this.adapter.isSurfaceActive()},t.prototype.animateActivation=function(){var e=this,r=t.strings,n=r.VAR_FG_TRANSLATE_START,o=r.VAR_FG_TRANSLATE_END,a=t.cssClasses,i=a.FG_DEACTIVATION,l=a.FG_ACTIVATION,s=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var u="",c="";if(!this.adapter.isUnbounded()){var d=this.getFgTranslationCoordinates(),f=d.startPoint,p=d.endPoint;u=f.x+"px, "+f.y+"px",c=p.x+"px, "+p.y+"px"}this.adapter.updateCssVariable(n,u),this.adapter.updateCssVariable(o,c),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(i),this.adapter.computeBoundingRect(),this.adapter.addClass(l),this.activationTimer=setTimeout((function(){e.activationTimerCallback()}),s)},t.prototype.getFgTranslationCoordinates=function(){var e,t=this.activationState,r=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?(0,i.getNormalizedEventCoords)(r,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:e.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,r=t.cssClasses.FG_DEACTIVATION,n=this.activationState,o=n.hasDeactivationUXRun,i=n.isActivated;(o||!i)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(r),this.fgDeactivationRemovalTimer=setTimeout((function(){e.adapter.removeClass(r)}),a.TP.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return e.previousActivationEvent=void 0}),t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,t=this.activationState;if(t.isActivated){var r=(0,n.C3)({},t);t.isProgrammatic?(requestAnimationFrame((function(){e.animateDeactivation(r)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(r),e.resetActivationState()})))}},t.prototype.animateDeactivation=function(e){var t=e.wasActivatedByPointer,r=e.wasElementMadeActive;(t||r)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=this;this.frame=this.adapter.computeBoundingRect();var r=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?r:Math.sqrt(Math.pow(e.frame.width,2)+Math.pow(e.frame.height,2))+t.numbers.PADDING;var n=Math.floor(r*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&n%2!=0?this.initialSize=n-1:this.initialSize=n,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,r=e.VAR_FG_SIZE,n=e.VAR_LEFT,o=e.VAR_TOP,a=e.VAR_FG_SCALE;this.adapter.updateCssVariable(r,this.initialSize+"px"),this.adapter.updateCssVariable(a,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(n,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(o,this.unboundedCoords.top+"px"))},t}(o.E)},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",r;if(module=__webpack_require__.nmd(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")&&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=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;r=function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__7__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__nested_webpack_exports__,__nested_webpack_require_2324__){__nested_webpack_require_2324__.r(__nested_webpack_exports__),__nested_webpack_require_2324__.d(__nested_webpack_exports__,{$:function(){return $},BoundTools:function(){return BoundTools},CloseEventNames:function(){return CloseEventNames},ConsoleOutputMethods:function(){return ConsoleOutputMethods},DEFAULT_ENCODING:function(){return DEFAULT_ENCODING},IgnoreNullAndUndefinedSymbol:function(){return IgnoreNullAndUndefinedSymbol},Lock:function(){return Lock},Semaphore:function(){return Semaphore},Tools:function(){return Tools},ValueCopySymbol:function(){return ValueCopySymbol},augment$:function(){return augment$},currentImport:function(){return currentImport},currentRequire:function(){return currentRequire},determine$:function(){return determine$},determineGlobalContext:function(){return determineGlobalContext},globalContext:function(){return globalContext},optionalRequire:function(){return optionalRequire},setGlobalContext:function(){return setGlobalContext}});var _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0__=__nested_webpack_require_2324__(0),_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__=__nested_webpack_require_2324__(2),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2__=__nested_webpack_require_2324__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2__),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__=__nested_webpack_require_2324__(4),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__),_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__=__nested_webpack_require_2324__(5),_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__),_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5__=__nested_webpack_require_2324__(6),_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default=__nested_webpack_require_2324__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5__),_ref,_globalContext$fetch,_optionalRequire;function _createForOfIteratorHelperLoose(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);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,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}module=__nested_webpack_require_2324__.hmd(module);var DEFAULT_ENCODING="utf8",CloseEventNames=["close","exit","SIGINT","SIGTERM","SIGQUIT","uncaughtException"],ConsoleOutputMethods=["debug","error","info","log","warn"],ValueCopySymbol=Symbol.for("clientnodeValue"),IgnoreNullAndUndefinedSymbol=Symbol.for("clientnodeIgnoreNullAndUndefined"),determineGlobalContext=function(){return"undefined"==typeof globalThis?void 0===window?void 0===__nested_webpack_require_2324__.g?module:__nested_webpack_require_2324__.g.window?__nested_webpack_require_2324__.g.window:__nested_webpack_require_2324__.g:window:globalThis},globalContext=determineGlobalContext(),setGlobalContext=function(e){globalContext=e},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}};globalContext.fetch=null!==(_ref=null!==(_globalContext$fetch=globalContext.fetch)&&void 0!==_globalContext$fetch?_globalContext$fetch:null==(_optionalRequire=optionalRequire("node-fetch"))?void 0:_optionalRequire.default)&&void 0!==_ref?_ref:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return currentImport("node-fetch").then((function(e){var r;return null==e?void 0:(r=e).default.apply(r,t)}))};var _ref3=optionalRequire("fs")||{},_ref3$mkdirSync=_ref3.mkdirSync,mkdirSync=void 0===_ref3$mkdirSync?null:_ref3$mkdirSync,_ref3$readdirSync=_ref3.readdirSync,readdirSync=void 0===_ref3$readdirSync?null:_ref3$readdirSync,_ref3$readFileSync=_ref3.readFileSync,readFileSync=void 0===_ref3$readFileSync?null:_ref3$readFileSync,_ref3$statSync=_ref3.statSync,statSync=void 0===_ref3$statSync?null:_ref3$statSync,_ref3$writeFileSync=_ref3.writeFileSync,writeFileSync=void 0===_ref3$writeFileSync?null:_ref3$writeFileSync,_ref4=optionalRequire("fs/promises")||{},_ref4$mkdir=_ref4.mkdir,mkdir=void 0===_ref4$mkdir?null:_ref4$mkdir,_ref4$readdir=_ref4.readdir,readdir=void 0===_ref4$readdir?null:_ref4$readdir,_ref4$readFile=_ref4.readFile,readFile=void 0===_ref4$readFile?null:_ref4$readFile,_ref4$stat=_ref4.stat,stat=void 0===_ref4$stat?null:_ref4$stat,_ref4$writeFile=_ref4.writeFile,writeFile=void 0===_ref4$writeFile?null:_ref4$writeFile,_ref5=optionalRequire("path")||{},_ref5$basename=_ref5.basename,basename=void 0===_ref5$basename?null:_ref5$basename,_ref5$join=_ref5.join,join=void 0===_ref5$join?null:_ref5$join,_ref5$resolve=_ref5.resolve,resolve=void 0===_ref5$resolve?null:_ref5$resolve,determine$=function(){var e=function(){};if(globalContext.$&&null!==globalContext.$)e=globalContext.$;else{if(!globalContext.$&&globalContext.document)try{e=__nested_webpack_require_2324__(7)}catch(e){}if(null==e||"object"==typeof e&&0===Object.keys(e).length){var t,r=null!=(t=globalContext.document)&&t.querySelectorAll?globalContext.document.querySelectorAll.bind(globalContext.document):function(){return null};(e=function(t){var n=null;if("string"==typeof t?n=r(t):Array.isArray(t)?n=t:("object"==typeof HTMLElement&&t instanceof HTMLElement||1===(null==t?void 0:t.nodeType)&&"string"==typeof(null==t?void 0:t.nodeName))&&(n=[t]),n){if(e.fn)for(var o=0,a=Object.entries(e.fn);o<a.length;o++){var i=a[o],l=i[0],s=i[1];n[l]=s.bind(n)}return n.jquery="clientnode",n}return Tools.isFunction(t)&&globalContext.document&&globalContext.document.addEventListener("DOMContentLoaded",t),t}).fn={}}}return e.global||(e.global=globalContext),e.global.window&&(!e.document&&e.global.window.document&&(e.document=e.global.window.document),!e.location&&e.global.window.location&&(e.location=e.global.window.location)),e},$=determine$(),Lock=function(){function e(e){void 0===e&&(e={}),this.locks=void 0,this.locks=e}var t=e.prototype;return t.acquire=function(e,t,r){var n=this;return void 0===r&&(r=!1),new Promise((function(o){var a=function(e){var a,i;t&&(i=t(e));var l=function(t){return r&&n.release(e),o(t),t};return null!=(a=i)&&a.then?i.then(l):(l(e),i)};Object.prototype.hasOwnProperty.call(n.locks,e)?n.locks[e].push(a):(n.locks[e]=[],a(e))}))},t.release=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t){var r;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object.prototype.hasOwnProperty.call(this.locks,t)){e.next=9;break}if(void 0!==(r=this.locks[t].shift())){e.next=6;break}delete this.locks[t],e.next=9;break;case 6:return e.next=8,r(t);case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),e}(),Semaphore=function(){function e(e){void 0===e&&(e=2),this.queue=[],this.numberOfResources=void 0,this.numberOfFreeResources=void 0,this.numberOfResources=e,this.numberOfFreeResources=e}var t=e.prototype;return t.acquire=function(){var e=this;return new Promise((function(t){e.numberOfFreeResources<=0?e.queue.push(t):(e.numberOfFreeResources-=1,t(e.numberOfFreeResources))}))},t.release=function(){var e=this.queue.pop();void 0===e?this.numberOfFreeResources+=1:e(this.numberOfFreeResources)},e}(),Tools=function(){function Tools(e){var t=this;this.$domNode=null,this.options=void 0,this.stringNormalizeDomNodeSelector=function(e){var r="";return t.options.domNodeSelectorPrefix&&(r=t.options.domNodeSelectorPrefix+" "),e.startsWith(r)||e.trim().startsWith("<")||(e=r+e),e.trim()},this.sendToExternalURL=function(e,r,n,o){void 0===n&&(n="post"),void 0===o&&(o=!0);var a=$("<iframe>").attr("name",t.options.name.charAt(0).toLowerCase()+t.options.name.substring(1)+""+(new Date).getTime()).hide();return t.$domNode&&t.$domNode.append(a),Tools.sendToIFrame(a,e,r,n,o),a},this._bindEventHelper=function(e,r,n){void 0===r&&(r=!1),n||(n=r?"off":"on");var o=$(e[0]);if("object"===Tools.determineType(e[1])&&!r){for(var a=0,i=Object.entries(e[1]);a<i.length;a++){var l=i[a],s=l[0],u=l[1];t[n](o,s,u)}return o}return 0===(e=Tools.arrayMake(e).slice(1)).length&&e.push(""),e[0].includes(".")||(e[0]+="."+t.options.name),o[n].apply(o,e)},e&&(this.$domNode=e),this.options=Tools._defaultOptions,$.global.console||($.global.console={});for(var r,n=_createForOfIteratorHelperLoose(ConsoleOutputMethods);!(r=n()).done;){var o=r.value;o in $.global.console||($.global.console[o]=Tools.noop)}}var _proto3=Tools.prototype,e;return _proto3.destructor=function(){var e;return null!=(e=$.fn)&&e.off&&this.off("*"),this},_proto3.initialize=function(e){return void 0===e&&(e={}),this.options=Tools.extend(!0,{},Tools._defaultOptions,e),this.options.domNodeSelectorPrefix=Tools.stringFormat(this.options.domNodeSelectorPrefix,Tools.stringCamelCaseToDelimited(null===this.options.domNodeSelectorInfix?"":this.options.domNodeSelectorInfix||this.options.name)),this.renderJavaScriptDependentVisibility(),this},Tools.controller=function(e,t,r){void 0===r&&(r=null),"function"==typeof e&&((e=new e(r))instanceof Tools||(e=Tools.extend(!0,new Tools,e)));var n,o=Tools.arrayMake(t);if(o.length&&"string"==typeof o[0]&&o[0]in e)return Tools.isFunction(e[o[0]])?(n=e)[o[0]].apply(n,o.slice(1)):e[o[0]];if(0===o.length||"object"==typeof o[0]){var a,i,l=(a=e).initialize.apply(a,o),s=e.options.name||e.constructor.name;return null!=(i=r)&&i.data&&!r.data(s)&&r.data(s,e),l}if(o.length&&"string"==typeof o[0])throw new Error('Method "'+o[0]+'" does not exist on $-extended dom node "'+e+'".')},Tools.dateTimeFormat=function(e,t,r,n){void 0===e&&(e="full"),void 0===t&&(t=new Date),void 0===r&&(r={}),void 0===n&&(n=Tools.locales),"number"==typeof t&&(t*=1e3);var o=new Date(t);if(["full","long","medium","short"].includes(e))return new Intl.DateTimeFormat([].concat(n,"en-US"),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({dateStyle:e,timeStyle:e},r)).format(o);for(var a,i={},l=_createForOfIteratorHelperLoose(["full","long","medium","short"]);!(a=l()).done;){var s=a.value;i[s+"Literals"]=[];var u=new Intl.DateTimeFormat([].concat(n,"en-US"),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({dateStyle:s,timeStyle:s},r));i[s]=u.format(o);for(var c,d=_createForOfIteratorHelperLoose(u.formatToParts(o));!(c=d()).done;){var f=c.value;"literal"===f.type?i[s+"Literals"].push(f.value):i[""+s+Tools.stringCapitalize(f.type)]=f.value}}var p=Tools.stringEvaluate("`"+e+"`",i);if(p.error)throw new Error(p.error);return p.result.replace(/\s/g," ")},Tools.isNumeric=function(e){var t=Tools.determineType(e);return["number","string"].includes(t)&&!isNaN(e-parseFloat(e))},Tools.isWindow=function(e){return![null,void 0].includes(e)&&"object"==typeof e&&e===(null==e?void 0:e.window)},Tools.isArrayLike=function(e){var t;try{t=Boolean(e)&&e.length}catch(e){return!1}var r=Tools.determineType(e);if("function"===r||Tools.isWindow(e))return!1;if("array"===r||0===t)return!0;if("number"==typeof t&&t>0)try{return e[t-1],!0}catch(e){}return!1},Tools.isAnyMatching=function(e,t){for(var r,n=_createForOfIteratorHelperLoose(t);!(r=n()).done;){var o=r.value;if("string"==typeof o){if(o===e)return!0}else if(o.test(e))return!0}return!1},Tools.isObject=function(e){return null!==e&&"object"==typeof e},Tools.isPlainObject=function(e){return null!==e&&"object"==typeof e&&Tools.plainObjectPrototypes.includes(Object.getPrototypeOf(e))},Tools.isSet=function(e){return"set"===Tools.determineType(e)},Tools.isMap=function(e){return"map"===Tools.determineType(e)},Tools.isProxy=function(e){return Boolean(e.__target__)},Tools.isFunction=function(e){return Boolean(e)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(e))},_proto3.log=function(e,t,r,n){if(void 0===t&&(t=!1),void 0===r&&(r=!1),void 0===n&&(n="info"),this.options.logging||t||["error","critical"].includes(n)){for(var o,a=arguments.length,i=new Array(a>4?a-4:0),l=4;l<a;l++)i[l-4]=arguments[l];if(r?o=e:"string"==typeof e?o=this.options.name+" ("+n+"): "+Tools.stringFormat.apply(Tools,[e].concat(i)):Tools.isNumeric(e)||"boolean"==typeof e?o=this.options.name+" ("+n+"): "+e.toString():(this.log(",--------------------------------------------,"),this.log(e,t,!0),this.log("'--------------------------------------------'")),o)if($.global.console&&n in $.global.console&&$.global.console[n]!==Tools.noop)$.global.console[n](o);else{var s;null!=(s=$.global.window)&&s.alert&&$.global.window.alert(o)}}},_proto3.info=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"info"].concat(r))},_proto3.debug=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"debug"].concat(r))},_proto3.error=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.log.apply(this,[e,!0,!1,"error"].concat(r))},_proto3.critical=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.log.apply(this,[e,!0,!1,"warn"].concat(r))},_proto3.warn=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"warn"].concat(r))},Tools.show=function(e,t,r){void 0===t&&(t=3),void 0===r&&(r=0);var n="";if("object"===Tools.determineType(e)){for(var o=0,a=Object.entries(e);o<a.length;o++){var i=a[o],l=i[0],s=i[1];n+=l.toString()+": ",n+=r<=t?Tools.show(s,t,r+1):""+s,n+="\n"}return n.trim()}return(n=(""+e).trim())+' (Type: "'+Tools.determineType(e)+'")'},Tools.deleteCookie=function(e){$.document&&($.document.cookie=e+"=; Max-Age=-99999999;")},Tools.getCookie=function(e){if($.document){for(var t,r=e+"=",n=_createForOfIteratorHelperLoose(decodeURIComponent($.document.cookie).split(";"));!(t=n()).done;){for(var o=t.value;o.startsWith(" ");)o=o.substring(1);if(o.startsWith(r))return o.substring(r.length,o.length)}return""}return null},Tools.setCookie=function(e,t,r){if(void 0===r&&(r={}),$.document){var n,o=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({domain:"",httpOnly:!1,minimal:!1,numberOfDaysUntilExpiration:365,path:"/",sameSite:"Lax",secure:!0},r),a=new Date;a.setTime(a.getTime()+24*o.numberOfDaysUntilExpiration*60*60*1e3),""===o.domain&&null!=(n=$.location)&&n.hostname&&(o.domain=$.location.hostname);var i=e+"="+t+(o.minimal?"":';Expires="'+a.toUTCString()+";Path="+o.path+";Domain="+o.domain+(o.sameSite?";SameSite="+o.sameSite:"")+(o.secure?";Secure":"")+(o.httpOnly?";HttpOnly":""));return $.document.cookie=i,!0}return!1},Tools.isEquivalentDOM=function(e,t,r){if(void 0===r&&(r=!1),e===t)return!0;if(e&&t){for(var n=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,o={first:e,second:t},a={first:$("<dummy>"),second:$("<dummy>")},i=0,l=Object.entries(o);i<l.length;i++){var s=l[i],u=s[0],c=s[1];if("string"==typeof c&&(r||c.startsWith("<")&&c.endsWith(">")&&c.length>=3||n.test(c)))a[u]=$("<div>"+c+"</div>");else try{var d=$(c).clone();if(!d.length)return!1;a[u]=$("<div>").append(d)}catch(e){return!1}}if(a.first.length&&a.first.length===a.second.length){a.first=a.first.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode,a.second=a.second.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode;for(var f=0,p=0,h=a.first;p<h.length;p++){if(!h[p].isEqualNode(a.second[f]))return!1;f+=1}return!0}}return!1},_proto3.getPositionRelativeToViewport=function(e){void 0===e&&(e={});var t=Tools.extend({bottom:0,left:0,right:0,top:0},e),r=this.$domNode;if($.global.window&&null!=r&&r.length&&r[0]&&"getBoundingClientRect"in r[0]){var n=$($.global.window),o=r[0].getBoundingClientRect();if(o){if(o.top&&o.top+t.top<0)return"above";if(o.left+t.left<0)return"left";var a=n.height();if("number"==typeof a&&a<o.bottom+t.bottom)return"below";var i=n.width();if("number"==typeof i&&i<o.right+t.right)return"right"}}return"in"},Tools.generateDirectiveSelector=function(e){var t=Tools.stringCamelCaseToDelimited(e);return t+", ."+t+", ["+t+"], [data-"+t+"], [x-"+t+"]"+(t.includes("-")?", ["+t.replace(/-/g,"\\:")+"], ["+t.replace(/-/g,"_")+"]":"")},_proto3.removeDirective=function(e){if(null===this.$domNode)return null;var t=Tools.stringCamelCaseToDelimited(e);return this.$domNode.removeClass(t).removeAttr(t).removeAttr("data-"+t).removeAttr("x-"+t).removeAttr(t.replace("-",":")).removeAttr(t.replace("-","_"))},_proto3.renderJavaScriptDependentVisibility=function(){!Tools._javaScriptDependentContentHandled&&$.document&&"filter"in $&&"hide"in $&&"show"in $&&($(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.hideJavaScriptEnabled).filter((function(e,t){return!$(t).data("javaScriptDependentContentHide")})).data("javaScriptDependentContentHide",!0).hide(),$(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.showJavaScriptEnabled).filter((function(e,t){return!$(t).data("javaScriptDependentContentShow")})).data("javaScriptDependentContentShow",!0).show(),Tools._javaScriptDependentContentHandled=!0)},Tools.getNormalizedDirectiveName=function(e){for(var t,r=_createForOfIteratorHelperLoose(["-",":","_"]);!(t=r()).done;){for(var n,o=t.value,a=!1,i=_createForOfIteratorHelperLoose(["data"+o,"x"+o]);!(n=i()).done;){var l=n.value;if(e.startsWith(l)){e=e.substring(l.length),a=!0;break}}if(a)break}for(var s,u=_createForOfIteratorHelperLoose(["-",":","_"]);!(s=u()).done;){var c=s.value;e=Tools.stringDelimitedToCamelCase(e,c)}return e},_proto3.getDirectiveValue=function(e){if(null===this.$domNode)return null;for(var t=Tools.stringCamelCaseToDelimited(e),r=0,n=[t,"data-"+t,"x-"+t,t.replace("-","\\:")];r<n.length;r++){var o=n[r],a=this.$domNode.attr(o);if("string"==typeof a)return a}return null},_proto3.sliceDomNodeSelectorPrefix=function(e){return this.options.domNodeSelectorPrefix&&e.startsWith(this.options.domNodeSelectorPrefix)?e.substring(this.options.domNodeSelectorPrefix.length).trim():e},Tools.getDomNodeName=function(e){var t=/^<?([a-zA-Z]+).*>?.*/.exec(e);return t?t[1]:null},_proto3.grabDomNodes=function(e,t){var r=this,n={};if(e)if(t)for(var o=$(t),a=0,i=Object.entries(e);a<i.length;a++){var l=i[a],s=l[0],u=l[1];n[s]=o.find(u)}else for(var c=0,d=Object.entries(e);c<d.length;c++){var f=d[c],p=f[0],h=f[1],v=/, */.exec(h);v&&(e[p]+=h.split(v[0]).map((function(e){return", "+r.stringNormalizeDomNodeSelector(e)})).join("")),n[p]=$(this.stringNormalizeDomNodeSelector(e[p]))}return this.options.domNodeSelectorPrefix&&(n.parent=$(this.options.domNodeSelectorPrefix)),$.global.window&&(n.window=$($.global.window),$.document&&(n.document=$($.document))),n},Tools.isolateScope=function(e,t){for(var r in void 0===t&&(t=[]),e)t.includes(r.charAt(0))||["constructor","prototype","this"].includes(r)||Object.prototype.hasOwnProperty.call(e,r)||(e[r]=void 0);return e},Tools.determineUniqueScopeName=function(e,t,r,n){if(void 0===e&&(e="callback"),void 0===t&&(t=""),void 0===r&&(r=$.global),void 0===n&&(n=""),n.length&&!(n in r))return n;for(var o=e+t;(o=e+""+Math.round(Math.random()*Math.pow(10,10))+t)in r;);return o},Tools.getParameterNames=function(e){var t=("string"==typeof e?e:e.toString()).replace(/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,"");if(t.startsWith("class"))return Tools.getParameterNames("function "+t.replace(/.*(constructor\([^)]+\))/m,"$1"));var r=/^function\s*[^(]*\(\s*([^)]*)\)/m.exec(t);null===r&&(r=/^[^(]*\(\s*([^)]*)\) *=>.*/m.exec(t)),null===r&&(r=/([^= ]+) *=>.*/m.exec(t));var n=[];if(r&&r.length>1&&r[1].trim().length){for(var o,a=_createForOfIteratorHelperLoose(r[1].split(","));!(o=a()).done;){var i=o.value;n.push(i.replace(/=.+$/g,"").trim())}return n}return n},Tools.identity=function(e){return e},Tools.invertArrayFilter=function(e){return function(t){if(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];var a=e.apply(void 0,[t].concat(n)),i=[];if(a.length)for(var l,s=_createForOfIteratorHelperLoose(t);!(l=s()).done;){var u=l.value;a.includes(u)||i.push(u)}else i=t;return i}return t}},Tools.timeout=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,o,a=Tools.noop,i=0,l=!1,s=0,u=t;s<u.length;s++){var c=u[s];"number"!=typeof c||isNaN(c)?"boolean"==typeof c?l=c:Tools.isFunction(c)&&(a=c):i=c}var d=new Promise((function(e,t){n=t,o=e})),f=function(){var e;(e=a).call.apply(e,[d].concat(t)),o(!1)},p=2147483647;if(i<=p)d.timeoutID=setTimeout(f,i);else{var h=Math.floor(i/p),v=i%p;!function e(){h>0?(h-=1,d.timeoutID=setTimeout(e,p)):d.timeoutID=setTimeout(f,v)}()}return d.clear=function(){d.timeoutID&&(clearTimeout(d.timeoutID),(l?n:o)(!0))},d},Tools.debounce=function(e,t){void 0===t&&(t=600);for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a,i,l=!1,s=null,u=new Promise((function(e,t){a=e,i=t}));return function(){for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];if(o=o.concat(n||[]),l)return s=o,u;l=!0;var d=u,f=a,p=i,h=e.apply(void 0,o);return null!=h&&h.then?h.then((function(e){return f(e)}),(function(e){return p(e)})):f(h),u=new Promise((function(r,n){a=r,i=n,Tools.timeout(t,(function(){if(l=!1,s){var t=e.apply(void 0,s);s=null,null!=t&&t.then?t.then((function(e){return r(e)}),(function(e){return n(e)})):r(t),u=new Promise((function(e,t){a=e,i=t}))}}))})),d}},_proto3.fireEvent=function(e,t,r){var n;void 0===t&&(t=!1),void 0===r&&(r=this);for(var o="on"+Tools.stringCapitalize(e),a=r,i=arguments.length,l=new Array(i>3?i-3:0),s=3;s<i;s++)l[s-3]=arguments[s];return t||(o in a?a[o].apply(a,l):"_"+o in a&&a["_"+o].apply(a,l)),!a.options||!(o in a.options)||a.options[o]===Tools.noop||(n=a.options[o]).call.apply(n,[this].concat(l))},_proto3.on=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this._bindEventHelper(t,!1)},_proto3.off=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this._bindEventHelper(t,!0)},Tools.addDynamicGetterAndSetter=function(e,t,r,n,o,a){if(void 0===t&&(t=null),void 0===r&&(r=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]=Tools.addDynamicGetterAndSetter(u,t,r,n,o),l+=1}else if(Tools.isMap(e))for(var c,d=_createForOfIteratorHelperLoose(e);!(c=d()).done;){var f=c.value,p=f[0],h=f[1];e.set(p,Tools.addDynamicGetterAndSetter(h,t,r,n,o))}else if(Tools.isSet(e)){for(var v,m=[],_=_createForOfIteratorHelperLoose(e);!(v=_()).done;){var g=v.value;e.delete(g),m.push(Tools.addDynamicGetterAndSetter(g,t,r,n,o))}for(var y=0,b=m;y<b.length;y++){var T=b[y];e.add(T)}}else if(null!==e)for(var E=0,w=Object.entries(e);E<w.length;E++){var S=w[E],A=S[0],C=S[1];e[A]=Tools.addDynamicGetterAndSetter(C,t,r,n,o)}if(t||r)for(var k,x,O=function(){var o=x.value;if(null!==e&&"object"==typeof e&&e instanceof o){var a=Tools.getProxyHandler(e,n),i=Tools.getProxyHandler(e,n);t&&(i.get=function(r,n){return"__target__"===n?e:"__revoke__"===n?function(){return u(),e}:"function"==typeof e[n]?e[n]:t(a.get(s,n),n,e)}),r&&(i.set=function(t,n,o){return a.set(s,n,r(n,o,e))});var l=Proxy.revocable({},i),s=l.proxy,u=l.revoke;return{v:s}}},P=_createForOfIteratorHelperLoose(a);!(x=P()).done;)if(k=O())return k.v;return e},Tools.convertCircularObjectToJSON=function(e,t,r){void 0===t&&(t=function(e){return null!=e?e:"__circularReference__"}),void 0===r&&(r=0);var n=new Map;return function(e){return JSON.stringify(e,(function e(r,o){if(null!==o&&"object"==typeof o){var a,i;if(n.has(o))return t(null!==(a=n.get(o))&&void 0!==a?a:null,r,o,n);if(n.set(o,null),Array.isArray(o)){i=[];for(var l,s=_createForOfIteratorHelperLoose(o);!(l=s()).done;){var u=l.value;i.push(e(null,u))}}else{i={};for(var c=0,d=Object.entries(o);c<d.length;c++){var f=d[c],p=f[0],h=f[1];i[p]=e(p,h)}}return n.set(o,i),i}return o}),r)}(e)},Tools.convertMapToPlainObject=function(e,t){if(void 0===t&&(t=!0),"object"==typeof e){if(Tools.isMap(e)){for(var r,n={},o=_createForOfIteratorHelperLoose(e);!(r=o()).done;){var a=r.value,i=a[0],l=a[1];t&&(l=Tools.convertMapToPlainObject(l,t)),["number","string"].includes(typeof i)&&(n[""+i]=l)}return n}if(t)if(Tools.isPlainObject(e))for(var s=0,u=Object.entries(e);s<u.length;s++){var c=u[s],d=c[0],f=c[1];e[d]=Tools.convertMapToPlainObject(f,t)}else if(Array.isArray(e))for(var p=0,h=0,v=e;h<v.length;h++){var m=v[h];e[p]=Tools.convertMapToPlainObject(m,t),p+=1}else if(Tools.isSet(e)){for(var _,g=[],y=_createForOfIteratorHelperLoose(e);!(_=y()).done;){var b=_.value;e.delete(b),g.push(Tools.convertMapToPlainObject(b,t))}for(var T=0,E=g;T<E.length;T++){var w=E[T];e.add(w)}}}return e},Tools.convertPlainObjectToMap=function(e,t){if(void 0===t&&(t=!0),"object"==typeof e){if(Tools.isPlainObject(e)){for(var r=new Map,n=0,o=Object.entries(e);n<o.length;n++){var a=o[n],i=a[0],l=a[1];t&&(e[i]=Tools.convertPlainObjectToMap(l,t)),r.set(i,e[i])}return r}if(t)if(Array.isArray(e))for(var s=0,u=0,c=e;u<c.length;u++){var d=c[u];e[s]=Tools.convertPlainObjectToMap(d,t),s+=1}else if(Tools.isMap(e))for(var f,p=_createForOfIteratorHelperLoose(e);!(f=p()).done;){var h=f.value,v=h[0],m=h[1];e.set(v,Tools.convertPlainObjectToMap(m,t))}else if(Tools.isSet(e)){for(var _,g=[],y=_createForOfIteratorHelperLoose(e);!(_=y()).done;){var b=_.value;e.delete(b),g.push(Tools.convertPlainObjectToMap(b,t))}for(var T=0,E=g;T<E.length;T++){var w=E[T];e.add(w)}}}return e},Tools.convertSubstringInPlainObject=function(e,t,r){for(var n=0,o=Object.entries(e);n<o.length;n++){var a=o[n],i=a[0],l=a[1];Tools.isPlainObject(l)?e[i]=Tools.convertSubstringInPlainObject(l,t,r):"string"==typeof l&&(e[i]=l.replace(t,r))}return e},Tools.copy=function(e,t,r,n,o,a,i){if(void 0===t&&(t=-1),void 0===r&&(r=ValueCopySymbol),void 0===n&&(n=null),void 0===o&&(o=!1),void 0===a&&(a=[]),void 0===i&&(i=0),null!==e&&"object"==typeof e)if(n){if(e===n)throw new Error("Can't copy because source and destination are identical.");if(!o&&![void 0,null].includes(e)){var l=a.indexOf(e);if(-1!==l)return a[l];a.push(e)}var s=function(e){if(-1!==t&&t<i+1)return r===ValueCopySymbol?e:r;var n=Tools.copy(e,t,r,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 u,c=_createForOfIteratorHelperLoose(e);!(u=c()).done;){var d=u.value;n.push(s(d))}else if(e instanceof Map)for(var f,p=_createForOfIteratorHelperLoose(e);!(f=p()).done;){var h=f.value,v=h[0],m=h[1];n.set(v,s(m))}else if(e instanceof Set)for(var _,g=_createForOfIteratorHelperLoose(e);!(_=g()).done;){var y=_.value;n.add(s(y))}else for(var b=0,T=Object.entries(e);b<T.length;b++){var E=T[b],w=E[0],S=E[1];try{n[w]=s(S)}catch(e){throw new Error('Failed to copy property value object "'+w+'": '+Tools.represent(e))}}}else if(e){if(Array.isArray(e))return Tools.copy(e,t,r,[],o,a,i);if(e instanceof Map)return Tools.copy(e,t,r,new Map,o,a,i);if(e instanceof Set)return Tools.copy(e,t,r,new Set,o,a,i);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){var A=/[^/]*$/.exec(e.toString());return(n=new RegExp(e.source,A?A[0]:void 0)).lastIndex=e.lastIndex,n}return"undefined"!=typeof Blob&&e instanceof Blob?e.slice(0,e.size,e.type):Tools.copy(e,t,r,{},o,a,i)}return n||e},Tools.determineType=function(e){if(void 0===e&&(e=void 0),[null,void 0].includes(e))return""+e;var t=typeof e;if(["function","object"].includes(t)&&e.toString){var r=Tools.classToTypeMapping.toString.call(e);if(Object.prototype.hasOwnProperty.call(Tools.classToTypeMapping,r))return Tools.classToTypeMapping[r]}return t},Tools.equals=function equals(firstValue,secondValue,givenOptions){void 0===givenOptions&&(givenOptions={});var options=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({compareBlobs:!1,deep:-1,exceptionPrefixes:[],ignoreFunctions:!0,properties:null,returnReasonIfNotEqual:!1},givenOptions);if(options.ignoreFunctions&&Tools.isFunction(firstValue)&&Tools.isFunction(secondValue)||firstValue===secondValue||Tools.numberIsNotANumber(firstValue)&&Tools.numberIsNotANumber(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")&&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 t=[],r=0,n=[firstValue,secondValue];r<n.length;r++){var o=n[r],a=new FileReader;a.onload=function(r){null===r.target?t.push(null):t.push(r.target.result),2===t.length&&(t[0]===t[1]?e(!0):e(!!options.returnReasonIfNotEqual&&">>> Blob("+Tools.represent(t[0])+") !== Blob("+Tools.represent(t[1])+")"))},a.readAsDataURL(o)}}));if(Tools.isPlainObject(firstValue)&&Tools.isPlainObject(secondValue)&&!(firstValue instanceof RegExp||secondValue instanceof RegExp)||Array.isArray(firstValue)&&Array.isArray(secondValue)&&firstValue.length===secondValue.length||Tools.determineType(firstValue)===Tools.determineType(secondValue)&&["map","set"].includes(Tools.determineType(firstValue))&&firstValue.size===secondValue.size){for(var promises=[],_i22=0,_arr6=[[firstValue,secondValue],[secondValue,firstValue]];_i22<_arr6.length;_i22++){var _arr6$_i=_arr6[_i22],first=_arr6$_i[0],second=_arr6$_i[1],firstIsArray=Array.isArray(first);if(firstIsArray&&(!Array.isArray(second)||first.length!==second.length))return!!options.returnReasonIfNotEqual&&".length";var firstIsMap=Tools.isMap(first);if(firstIsMap&&(!Tools.isMap(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";var firstIsSet=Tools.isSet(first);if(firstIsSet&&(!Tools.isSet(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";if(firstIsArray){for(var index=0,_loop2=function(){var e=_arr7[_i23];if(0!==options.deep){var t=Tools.equals(e,second[index],_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if(!t)return{v:!1};var r=index,n=function(e){var t;return"string"==typeof e?"["+r+"]"+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(null!=t&&t.then&&promises.push(t.then(n)),"string"==typeof t)return{v:n(t)}}index+=1},_ret2,_i23=0,_arr7=first;_i23<_arr7.length;_i23++)if(_ret2=_loop2(),_ret2)return _ret2.v}else if(firstIsMap){for(var _loop3=function(){var e=_step23.value,t=e[0],r=e[1];if(0!==options.deep){var n=Tools.equals(r,second.get(t),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if(!n)return{v:!1};var o=function(e){var r;return"string"==typeof e?"get("+Tools.represent(t)+")"+(null!==(r={"[":"",">":" "}[e[0]])&&void 0!==r?r:".")+e:e};if(null!=n&&n.then&&promises.push(n.then(o)),"string"==typeof n)return{v:o(n)}}},_ret3,_iterator23=_createForOfIteratorHelperLoose(first),_step23;!(_step23=_iterator23()).done;)if(_ret3=_loop3(),_ret3)return _ret3.v}else if(firstIsSet){for(var _loop4=function(){var e=_step24.value;if(0!==options.deep){for(var t,r=!1,n=[],o=_createForOfIteratorHelperLoose(second);!(t=o()).done;){var a=t.value,i=Tools.equals(e,a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if("boolean"==typeof i){if(i){r=!0;break}}else n.push(i)}var l=function(t){return!!t||!!options.returnReasonIfNotEqual&&">>> {-> "+Tools.represent(e)+" not found}"};return r?0:(n.length&&promises.push(new Promise((function(e){Promise.all(n).then((function(t){return e(l(t.some(Tools.identity)))}),Tools.noop)}))),{v:l(!1)})}},_ret4,_iterator24=_createForOfIteratorHelperLoose(first),_step24;!(_step24=_iterator24()).done;)if(_ret4=_loop4(),0!==_ret4&&_ret4)return _ret4.v}else for(var _loop5=function(){var e=_Object$entries13[_i24],t=e[0],r=e[1];if(options.properties&&!options.properties.includes(t))return 0;for(var n,o=!1,a=_createForOfIteratorHelperLoose(options.exceptionPrefixes);!(n=a()).done;){var i=n.value;if(t.toString().startsWith(i)){o=!0;break}}if(o)return 0;if(0!==options.deep){var l=Tools.equals(r,second[t],_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if(!l)return{v:!1};var s=function(e){var r;return"string"==typeof e?t+(null!==(r={"[":"",">":" "}[e[0]])&&void 0!==r?r:".")+e:e};if(null!=l&&l.then&&promises.push(l.then(s)),"string"==typeof l)return{v:s(l)}}},_ret5,_i24=0,_Object$entries13=Object.entries(first);_i24<_Object$entries13.length&&(_ret5=_loop5(),0!==_ret5);_i24++)if(_ret5)return _ret5.v}return!promises.length||new Promise((function(e){Promise.all(promises).then((function(t){for(var r,n=_createForOfIteratorHelperLoose(t);!(r=n()).done;){var o=r.value;if(!o||"string"==typeof o){e(o);break}}e(!0)}),Tools.noop)}))}return!!options.returnReasonIfNotEqual&&">>> "+Tools.represent(firstValue)+" !== "+Tools.represent(secondValue)},Tools.evaluateDynamicData=function(e,t,r,n,o){if(void 0===t&&(t={}),void 0===r&&(r="self"),void 0===n&&(n="__evaluate__"),void 0===o&&(o="__execute__"),"object"!=typeof e||null===e)return e;r in t||(t[r]=e);var a=function(e,r){void 0===r&&(r=n);var a=Tools.stringEvaluate(e,t,r===o);if(a.error)throw new Error(a.error);return a.result},i=function e(t){if(null!==t&&"object"==typeof t){if(Tools.isProxy(t)){for(var r=0,i=[n,o];r<i.length;r++){var l=i[r];if(Object.prototype.hasOwnProperty.call(t,l))return t[l]}t=t.__target__}for(var s=0,u=Object.entries(t);s<u.length;s++){var c=u[s],d=c[0],f=c[1];if([n,o].includes(d))return"undefined"==typeof Proxy?e(a(f)):f;t[d]=e(f)}}return t};if(t.resolve=i,null!==e&&"object"==typeof e){if(Object.prototype.hasOwnProperty.call(e,n))return a(e[n]);if(Object.prototype.hasOwnProperty.call(e,o))return a(e[o],o)}return function e(t){if(null!==t&&"object"==typeof t)for(var r=0,n=Object.entries(t);r<n.length;r++){var o=n[r],a=o[0],i=o[1];if("__target__"!==a&&null!==i&&["function","undefined"].includes(typeof i)){var l=i.__target__;void 0!==l&&(t[a]=l),e(i)}}return t}(i(function e(t){if("object"!=typeof t||null===t||"undefined"==typeof Proxy)return t;for(var r=0,l=Object.entries(t);r<l.length;r++){var s=l[r],u=s[0],c=s[1];if("__target__"!==u&&null!==c&&"object"==typeof c){var d=c;if(e(d),Object.prototype.hasOwnProperty.call(d,n)||Object.prototype.hasOwnProperty.call(d,o)){var f=d;t[u]=new Proxy(d,{get:function(e,t){if("__target__"===t)return e;if("hasOwnProperty"===t)return e[t];for(var r=0,l=[n,o];r<l.length;r++){var s=l[r];if(t===s&&"string"==typeof e[t])return i(a(e[t],s))}var u=i(e);if("toString"===t){var c=a(u);return c[t].bind(c)}if("string"!=typeof t){var d,f=a(u);return null!=(d=f[t])&&d.bind?f[t].bind(f):f[t]}for(var p=0,h=[n,o];p<h.length;p++){var v=h[p];if(Object.prototype.hasOwnProperty.call(e,v))return a(u,v)[t]}return u[t]},ownKeys:function(e){for(var t=0,r=[n,o];t<r.length;t++){var l=r[t];if(Object.prototype.hasOwnProperty.call(e,l))return Object.getOwnPropertyNames(i(a(e[l],l)))}return Object.getOwnPropertyNames(e)}}),t[u].__target__||(t[u].__target__=f)}}}return t}(e)))},Tools.removeKeysInEvaluation=function(e,t){void 0===t&&(t=["__evaluate__","__execute__"]);for(var r=0,n=Object.entries(e);r<n.length;r++){var o=n[r],a=o[0],i=o[1];!t.includes(a)&&t.some((function(t){return Object.prototype.hasOwnProperty.call(e,t)}))?delete e[a]:Tools.isPlainObject(i)&&Tools.removeKeysInEvaluation(i,t)}return e},Tools.extend=function(e,t){for(var r=!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===IgnoreNullAndUndefinedSymbol||"boolean"==typeof e?(r=e,i=t):(i=e,null!==t&&"object"==typeof t?l=[t].concat(l):void 0!==t&&(i=t));for(var s,u=function(e,t){return t===e?e:r&&t&&(Tools.isPlainObject(t)||Tools.isMap(t))?(n=Tools.isMap(t)?e&&Tools.isMap(e)?e:new Map:e&&Tools.isPlainObject(e)?e:{},Tools.extend(r,n,t)):t;var n},c=_createForOfIteratorHelperLoose(l);!(s=c()).done;){var d=s.value,f=typeof i,p=typeof d;if(Tools.isMap(i)&&(f+=" Map"),Tools.isMap(d)&&(p+=" Map"),f===p&&i!==d)if(Tools.isMap(i)&&Tools.isMap(d))for(var h,v=_createForOfIteratorHelperLoose(d);!(h=v()).done;){var m=h.value,_=m[0],g=m[1];i.set(_,u(i.get(_),g))}else if(null===i||Array.isArray(i)||"object"!=typeof i||null===d||Array.isArray(d)||"object"!=typeof d)i=d;else for(var y=0,b=Object.entries(d);y<b.length;y++){var T=b[y],E=T[0],w=T[1];r===IgnoreNullAndUndefinedSymbol&&[null,void 0].includes(w)||(i[E]=u(i[E],w))}else i=d}return i},Tools.getSubstructure=function(e,t,r,n){void 0===r&&(r=!0),void 0===n&&(n=".");for(var o,a=[],i=_createForOfIteratorHelperLoose([].concat(t));!(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 d=c.match(/(.*?)(\[[0-9]+\])/g);if(d)for(var f,p=_createForOfIteratorHelperLoose(d);!(f=p()).done;){var h=f.value,v=/(.*?)(\[[0-9]+\])/.exec(h),m=v[1],_=v[2];m&&a.push(m),a.push(_.substring(1,_.length-1))}else a.push(c)}}else a=a.concat(l)}for(var g,y=e,b=_createForOfIteratorHelperLoose(a);!(g=b()).done;){var T=g.value;if(null!==y&&"object"==typeof y){if("string"==typeof T&&Object.prototype.hasOwnProperty.call(y,T))y=y[T];else if(Tools.isFunction(T))y=T(y);else if(!r)return}else if(!r)return}return y},Tools.getProxyHandler=function(e,t){return void 0===t&&(t={}),t=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({delete:"[]",get:"[]",has:"[]",set:"[]"},t),{deleteProperty:function(r,n){return"[]"!==t.delete||"string"!=typeof n?e[t.delete](n):(delete e[n],!0)},get:function(r,n){return"[]"===t.get&&"string"==typeof n?e[n]:e[t.get](n)},has:function(r,n){return"[]"===t.has?n in e:e[t.has](n)},set:function(r,n,o){return"[]"!==t.set||"string"!=typeof n?e[t.set](n,o):(e[n]=o,!0)}}},Tools.mask=function(e,t){if(!0===(t=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({exclude:!1,include:!0},t)).exclude||!1===t.include||"object"!=typeof e)return{};var r={};if(Tools.isPlainObject(t.include))for(var n=0,o=Object.entries(t.include);n<o.length;n++){var a=o[n],i=a[0],l=a[1];Object.prototype.hasOwnProperty.call(e,i)&&(!0===l?r[i]=e[i]:Tools.isPlainObject(l)&&"object"==typeof e[i]&&(r[i]=Tools.mask(e[i],{include:l})))}else r=e;if(Tools.isPlainObject(t.exclude)){for(var s=!1,u=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},r),c=0,d=Object.entries(t.exclude);c<d.length;c++){var f=d[c],p=f[0],h=f[1];if(Object.prototype.hasOwnProperty.call(u,p))if(!0===h)s=!0,delete u[p];else if(Tools.isPlainObject(h)&&"object"==typeof u[p]){var v=u[p];u[p]=Tools.mask(u[p],{exclude:h}),u[p]!==v&&(s=!0)}}s&&(r=u)}return r},Tools.modifyObject=function(e,t,r,n,o,a,i,l,s){if(void 0===r&&(r="__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),Tools.isMap(t)&&Tools.isMap(e))for(var u,c=_createForOfIteratorHelperLoose(t);!(u=c()).done;){var d=u.value,f=d[0],p=d[1];e.has(f)&&Tools.modifyObject(e.get(f),p,r,n,o,a,i,t,f)}else if(null!==t&&"object"==typeof t&&null!==e&&"object"==typeof e)for(var h=0,v=Object.entries(t);h<v.length;h++){var m=v[h],_=m[0],g=m[1],y=NaN;if(Array.isArray(e)&&_.startsWith(a)&&_.endsWith(i)&&((y=parseInt(_.substring(a.length,_.length-i.length),10))<0||y>=e.length)&&(y=NaN),[r,n,o].includes(_)||!isNaN(y)){if(Array.isArray(e))if(_===r)for(var b,T=_createForOfIteratorHelperLoose([].concat(g));!(b=T()).done;){var E=b.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 _===o?e=e.concat(g):_===n?e=[].concat(g).concat(e):null!==e[y]&&"object"==typeof e[y]&&null!==g&&"object"==typeof g?Tools.extend(!0,Tools.modifyObject(e[y],g,r,n,o,a,i),e[y],g):e[y]=g;else if(_===r)for(var w,S=_createForOfIteratorHelperLoose([].concat(g));!(w=S()).done;){var A=w.value;"string"==typeof A&&Object.prototype.hasOwnProperty.call(e,A)&&delete e[A]}delete t[_],l&&"string"==typeof s&&delete l[s]}else null!==e&&Object.prototype.hasOwnProperty.call(e,_)&&(e[_]=Tools.modifyObject(e[_],g,r,n,o,a,i,t,_))}return e},Tools.normalizeDateTime=function(e,t){void 0===e&&(e=null);var r=Boolean(t);if(null===e)return new Date;if("string"==typeof e){if(/^.*(?:(?:[0-9]{1,4}[^0-9]){2}|[0-9]{1,4}[^0-9.]).*$/.test(e))return Tools.stringInterpretDateTime(e,r);var n=parseFloat(e);""+n===e&&(e=n)}if("number"==typeof e)return[null,void 0].includes(t)&&(r=!0),new Date(1e3*(e+(r?0:60*(new Date).getTimezoneOffset())));var o=new Date(e);return isNaN(o.getDate())?null:o},Tools.removeKeyPrefixes=function(e,t){void 0===t&&(t="#");var r=[].concat(t);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(r);!(s=u()).done;){var c=s.value;if(i.startsWith(c+":")){e.splice(o,1),l=!0;break}}if(l)continue}e[o]=Tools.removeKeyPrefixes(i,r),o+=1}else if(Tools.isSet(e))for(var d,f=_createForOfIteratorHelperLoose(new Set(e));!(d=f()).done;){var p=d.value,h=!1;if("string"==typeof p){for(var v,m=_createForOfIteratorHelperLoose(r);!(v=m()).done;){var _=v.value;if(p.startsWith(_+":")){e.delete(p),h=!0;break}}if(h)continue}Tools.removeKeyPrefixes(p,r)}else if(Tools.isMap(e))for(var g,y=_createForOfIteratorHelperLoose(new Map(e));!(g=y()).done;){var b=g.value,T=b[0],E=b[1],w=!1;if("string"==typeof T){for(var S,A=_createForOfIteratorHelperLoose(r);!(S=A()).done;){var C=S.value,k=Tools.stringEscapeRegularExpressions(C);if(new RegExp("^"+k+"[0-9]*$").test(T)){e.delete(T),w=!0;break}}if(w)continue}e.set(T,Tools.removeKeyPrefixes(E,r))}else if(null!==e&&"object"==typeof e)for(var x=0,O=Object.entries(Object.assign({},e));x<O.length;x++){for(var P,I=O[x],R=I[0],N=I[1],D=!1,M=_createForOfIteratorHelperLoose(r);!(P=M()).done;){var L=P.value,j=Tools.stringEscapeRegularExpressions(L);if(new RegExp("^"+j+"[0-9]*$").test(R)){delete e[R],D=!0;break}}D||(e[R]=Tools.removeKeyPrefixes(N,r))}return e},Tools.represent=function(e,t,r,n,o){if(void 0===t&&(t=" "),void 0===r&&(r=""),void 0===n&&(n="__maximum_number_of_levels_reached__"),void 0===o&&(o=8),0===o)return""+n;if(null===e)return"null";if(void 0===e)return"undefined";if("string"==typeof e)return'"'+e.replace(/\n/g,"\n"+r)+'"';if(Tools.isNumeric(e)||"boolean"==typeof e)return""+e;if(Array.isArray(e)){for(var a,i="[",l=!1,s=_createForOfIteratorHelperLoose(e);!(a=s()).done;){var u=a.value;l&&(i+=","),i+="\n"+r+t+Tools.represent(u,t,""+r+t,n,o-1),l=!0}return l&&(i+="\n"+r),i+"]"}if(Tools.isMap(e)){for(var c,d="",f=!1,p=_createForOfIteratorHelperLoose(e);!(c=p()).done;){var h=c.value,v=h[0],m=h[1];f&&(d+=",\n"+r+t),d+=Tools.represent(v,t,""+r+t,n,o-1)+" -> "+Tools.represent(m,t,""+r+t,n,o-1),f=!0}return f||(d="EmptyMap"),d}if(Tools.isSet(e)){for(var _,g="{",y=!1,b=_createForOfIteratorHelperLoose(e);!(_=b()).done;){var T=_.value;y&&(g+=","),g+="\n"+r+t+Tools.represent(T,t,""+r+t,n,o-1),y=!0}return y?g+="\n"+r+"}":g="EmptySet",g}if(Tools.isFunction(e))return"__function__";for(var E,w="{",S=!1,A=_createForOfIteratorHelperLoose(Object.getOwnPropertyNames(e).sort());!(E=A()).done;){var C=E.value;S&&(w+=","),w+="\n"+r+t+C+": "+Tools.represent(e[C],t,""+r+t,n,o-1),S=!0}return S&&(w+="\n"+r),w+"}"},Tools.sort=function(e){var t=[];if(Array.isArray(e))for(var r=0;r<e.length;r++)t.push(r);else if("object"==typeof e)if(Tools.isMap(e))for(var n,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var a=n.value;t.push(a[0])}else if(null!==e)for(var i=0,l=Object.keys(e);i<l.length;i++){var s=l[i];t.push(s)}return t.sort()},Tools.unwrapProxy=function(e,t){if(void 0===t&&(t=new Set),null!==e&&"object"==typeof e){if(t.has(e))return e;try{Tools.isFunction(e.__revoke__)&&(Tools.isProxy(e)&&(e=e.__target__),e.__revoke__())}catch(t){return e}finally{t.add(e)}if(Array.isArray(e))for(var r,n=0,o=_createForOfIteratorHelperLoose(e);!(r=o()).done;){var a=r.value;e[n]=Tools.unwrapProxy(a,t),n+=1}else if(Tools.isMap(e))for(var i,l=_createForOfIteratorHelperLoose(e);!(i=l()).done;){var s=i.value,u=s[0],c=s[1];e.set(u,Tools.unwrapProxy(c,t))}else if(Tools.isSet(e)){for(var d,f=[],p=_createForOfIteratorHelperLoose(e);!(d=p()).done;){var h=d.value;e.delete(h),f.push(Tools.unwrapProxy(h,t))}for(var v=0,m=f;v<m.length;v++){var _=m[v];e.add(_)}}else for(var g=0,y=Object.entries(e);g<y.length;g++){var b=y[g],T=b[0],E=b[1];e[T]=Tools.unwrapProxy(E,t)}}return e},Tools.arrayAggregatePropertyIfEqual=function(e,t,r){void 0===r&&(r="");var n=r;if(Array.isArray(e)&&e.length&&Object.prototype.hasOwnProperty.call(e[0],t)){n=e[0][t];for(var o,a=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(o=a()).done;)if(o.value[t]!==n)return r}return n},Tools.arrayDeleteEmptyItems=function(e,t){void 0===t&&(t=[]);for(var r,n=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(r=o()).done;){for(var a=r.value,i=!0,l=0,s=Object.entries(a);l<s.length;l++){var u=s[l],c=u[0],d=u[1];if(!["",null,void 0].includes(d)&&(!t.length||Tools.arrayMake(t).includes(c))){i=!1;break}}i||n.push(a)}return n},Tools.arrayExtract=function(e,t){for(var r,n=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(r=o()).done;){for(var a,i=r.value,l={},s=_createForOfIteratorHelperLoose(Tools.arrayMake(t));!(a=s()).done;){var u=a.value;Object.prototype.hasOwnProperty.call(i,u)&&(l[u]=i[u])}n.push(l)}return n},Tools.arrayExtractIfMatches=function(e,t){if(!t)return Tools.arrayMake(e);for(var r,n=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(r=o()).done;){var a=r.value;("string"==typeof t?new RegExp(t):t).test(a)&&n.push(a)}return n},Tools.arrayExtractIfPropertyExists=function(e,t){if(e&&t){for(var r,n=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(r=o()).done;){for(var a=r.value,i=!1,l=0,s=Object.entries(a);l<s.length;l++){var u=s[l],c=u[0],d=u[1];if(c===t&&![null,void 0].includes(d)){i=!0;break}}i&&n.push(a)}return n}return e},Tools.arrayExtractIfPropertyMatches=function(e,t){if(e&&t){for(var r,n=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(r=o()).done;){var a=r.value,i=!0;for(var l in t)if(!t[l]||!("string"==typeof t[l]?new RegExp(t[l]):t[l]).test(a[l])){i=!1;break}i&&n.push(a)}return n}return e},Tools.arrayIntersect=function(e,t,r,n){void 0===r&&(r=[]),void 0===n&&(n=!0);var o=[];t=Tools.arrayMake(t);for(var a,i=function(e,t,r,o,a,i){if(i?a&&(r=o):o=r,t[o]!==e[r]&&(n||![null,void 0].includes(t[o])||![null,void 0].includes(e[r])))return!1},l=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(a=l()).done;){var s=a.value;if(Tools.isPlainObject(s))for(var u=0,c=t;u<c.length;u++){var d=c[u],f=!0,p=void 0,h=Array.isArray(r);if(Tools.isPlainObject(r)||h&&r.length?p=!0:(p=!1,r=s),Array.isArray(r))for(var v,m=0,_=_createForOfIteratorHelperLoose(r);!(v=_()).done;){if(!1===i(s,d,m,v.value,h,p)){f=!1;break}m+=1}else for(var g=0,y=Object.entries(r);g<y.length;g++){var b=y[g];if(!1===i(s,d,b[0],b[1],h,p)){f=!1;break}}if(f){o.push(s);break}}else t.includes(s)&&o.push(s)}return o},Tools.arrayMake=function(e){var t=[];return[null,void 0].includes(e)||(Tools.isArrayLike(Object(e))?Tools.arrayMerge(t,"string"==typeof e?[e]:e):t.push(e)),t},Tools.arrayMakeRange=function(e,t,r){var n,o;if(void 0===t&&(t=1),void 0===r&&(r=!1),1===(e=[].concat(e)).length)n=0,o=parseInt(""+e[0],10);else{if(2!==e.length)return e;n=parseInt(""+e[0],10),o=parseInt(""+e[1],10)}if(o<n)return[];for(var a=[n];n<=o-t;)n+=t,(!r||n<=o-t)&&a.push(n);return a},Tools.arrayMerge=function(e,t){Array.isArray(t)||(t=Array.prototype.slice.call(t));for(var r,n=_createForOfIteratorHelperLoose(t);!(r=n()).done;){var o=r.value;e.push(o)}return e},Tools.arrayPaginate=function(e){void 0===e&&(e={});var t=e,r=t.boundaryCount,n=void 0===r?1:r,o=t.disabled,a=void 0!==o&&o,i=t.hideNextButton,l=void 0!==i&&i,s=t.hidePrevButton,u=void 0!==s&&s,c=t.page,d=void 0===c?1:c,f=t.pageSize,p=void 0===f?5:f,h=t.showFirstButton,v=void 0!==h&&h,m=t.showLastButton,_=void 0!==m&&m,g=t.siblingCount,y=void 0===g?4:g,b=t.total,T=void 0===b?100:b,E="number"!=typeof p||isNaN(p)?T:Math.ceil(T/p),w=Tools.arrayMakeRange([1,Math.min(n,E)]),S=Tools.arrayMakeRange([Math.max(E-n+1,n+1),E]),A=Math.max(Math.min(d-y,E-n-2*y-1),n+2),C=Math.min(Math.max(d+y,n+2*y+2),S.length>0?S[0]-2:E-1);return[].concat(v?["first"]:[],u?[]:["previous"],w,A>n+2?["start-ellipsis"]:n+1<E-n?[n+1]:[],Tools.arrayMakeRange([A,C]),C<E-n-1?["end-ellipsis"]:E-n>n?[E-n]:[],S,l?[]:["next"],_?["last"]:[]).map((function(e){var t;return"number"==typeof e?{disabled:a,page:e,selected:e===d,type:"page"}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({disabled:a||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?d>=E:d<=1),selected:!1,type:e},e.endsWith("-ellipsis")?{}:{page:(null!==(t={first:1,last:E}[e])&&void 0!==t?t:"next"===e)?Math.min(d+1,E):Math.max(d-1,1)})}))},Tools.arrayPermutate=function(e){var t=[];return function e(r,n){if(void 0===n&&(n=[]),0===r.length)t.push(n);else for(var o=0;o<r.length;o++){var a=r.slice();e(a,n.concat(a.splice(o,1)))}}(e),t},Tools.arrayPermutateLength=function(e,t){void 0===t&&(t=1);var r=[];if(0===e.length)return r;for(var n=function e(t,n,o){if(0!==t)for(var a=0;a<n.length;a++)e(t-1,n.slice(a+1),o.concat([n[a]]));else o.length>0&&(r[r.length]=o)},o=t;o<e.length;o++)n(o,e,[]);return r.push(e),r},Tools.arraySumUpProperty=function(e,t){var r=0;if(Array.isArray(e)&&e.length)for(var n,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(a,t)&&(r+=parseFloat(a[t]||0))}return r},Tools.arrayAppendAdd=function(e,t,r,n){return void 0===n&&(n=!0),Object.prototype.hasOwnProperty.call(e,r)?n&&e[r].includes(t)||e[r].push(t):e[r]=[t],e},Tools.arrayRemove=function(e,t,r){void 0===r&&(r=!1);var n=e.indexOf(t);if(-1===n){if(r)throw new Error("Given target doesn't exists in given list.")}else e.splice(n,1);return e},Tools.arraySortTopological=function(e){for(var t=[],r=0,n=Object.entries(e);r<n.length;r++){var o=n[r],a=o[0],i=o[1];if(e[a]=[].concat(i),i.length>0)for(var l,s=_createForOfIteratorHelperLoose(Tools.arrayMake(i));!(l=s()).done;){var u=l.value;t.push([a,u])}else t.push([a])}for(var c=[],d=0,f=t;d<f.length;d++)for(var p,h=_createForOfIteratorHelperLoose(f[d]);!(p=h()).done;){var v=p.value;c.includes(v)||c.push(v)}for(var m=[],_=function e(r,n){if(0!==n.length&&n.includes(r))throw new Error('Cyclic dependency found. "'+r+'" is dependent of itself.\nDependency chain: "'+n.join('" -> "')+'" => "'+r+'".');var o=c.indexOf(r);if(-1!==o){var a;c[o]=null;for(var i=0,l=t;i<l.length;i++){var s=l[i];s[0]===r&&(a=a||n.concat([r]),e(s[1],a))}m.push(r)}},g=0;g<c.length;g++){var y=c[g];if(y){c[g]=null;for(var b,T=_createForOfIteratorHelperLoose(t);!(b=T()).done;){var E=b.value;E[0]===y&&_(E[1],[y])}m.push(y)}}return m},Tools.arrayUnique=function(e){for(var t,r=[],n=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(t=n()).done;){var o=t.value;r.includes(o)||r.push(o)}return r},Tools.stringEscapeRegularExpressions=function(e,t){if(void 0===t&&(t=[]),1===e.length&&!Tools.specialRegexSequences.includes(e))return e;t.includes("\\")||e.replace(/\\/g,"\\\\");for(var r,n=_createForOfIteratorHelperLoose(Tools.specialRegexSequences);!(r=n()).done;){var o=r.value;t.includes(o)||(e=e.replace(new RegExp("\\"+o,"g"),"\\"+o))}return e},Tools.stringConvertToValidVariableName=function(e,t){return void 0===t&&(t="0-9a-zA-Z_$"),["class","default"].includes(e)?"_"+e:e.toString().replace(/^[^a-zA-Z_$]+/,"").replace(new RegExp("[^"+t+"]+([a-zA-Z0-9])","g"),(function(e,t){return t.toUpperCase()}))},Tools.stringEncodeURIComponent=function(e,t){return void 0===t&&(t=!1),encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")},Tools.stringAddSeparatorToPath=function(e,t){return void 0===t&&(t="/"),(e=e.trim()).substr(-1)!==t&&e.length?e+t:e},Tools.stringHasPathPrefix=function(e,t,r){var n;return void 0===e&&(e="/admin"),void 0===t&&(t=(null==(n=$.location)?void 0:n.pathname)||""),void 0===r&&(r="/"),"string"==typeof e&&(e.endsWith(r)||(e+=r),t===e.substring(0,e.length-r.length)||t.startsWith(e))},Tools.stringGetDomainName=function(e,t){var r,n;void 0===e&&(e=(null==(r=$.location)?void 0:r.href)||""),void 0===t&&(t=(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]:t},Tools.stringGetPortNumber=function(e,t){var r,n,o;void 0===e&&(e=(null==(n=$.location)?void 0:n.href)||""),void 0===t&&(t=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!==t?t:null!=(r=$.location)&&r.port&&parseInt($.location.port,10)?parseInt($.location.port,10):"https"===Tools.stringGetProtocolName(e)?443:80},Tools.stringGetProtocolName=function(e,t){var r,n;void 0===e&&(e=(null==(r=$.location)?void 0:r.href)||""),void 0===t&&(t=(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]:t},Tools.stringGetURLParameter=function(e,t,r,n,o,a,i){var l,s,u;void 0===e&&(e=null),void 0===t&&(t=!1),void 0===r&&(r=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:"#",d="";if(a)d=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 h=f.indexOf("?");-1!==h&&(d=f.substring(h))}else $.location&&(d=$.location.search||"");var v=r||d,m="&"===v;if(m||"#"===v){var _="";try{_=decodeURIComponent(c)}catch(e){}var g=_.indexOf(n);-1===g?v="":(v=_.substring(g)).startsWith(n)&&(v=v.substring(n.length))}else v.startsWith("?")&&(v=v.substring(1));var y=v?v.split("&"):[];d=d.substring(1),m&&d&&(y=y.concat(d.split("&")));for(var b,T=[],E=_createForOfIteratorHelperLoose(y);!(b=E()).done;){var w=b.value,S=w.split("="),A=void 0;try{A=decodeURIComponent(S[0])}catch(e){A=""}try{w=decodeURIComponent(S[1])}catch(e){w=""}T.push(A),t?Object.prototype.hasOwnProperty.call(T,A)&&Array.isArray(T[A])?T[A].push(w):T[A]=[w]:T[A]=w}return e?Object.prototype.hasOwnProperty.call(T,e)?T[e]:null:T},Tools.stringServiceURLEquals=function(e,t){var r;void 0===t&&(t=(null==(r=$.location)?void 0:r.href)||"");var n=Tools.stringGetDomainName(e,""),o=Tools.stringGetProtocolName(e,""),a=Tools.stringGetPortNumber(e);return!(""!==n&&n!==Tools.stringGetDomainName(t)||""!==o&&o!==Tools.stringGetProtocolName(t)||null!==a&&a!==Tools.stringGetPortNumber(t))},Tools.stringNormalizeURL=function(e){return"string"==typeof e?(e=e.replace(/^:?\/+/,"").replace(/\/+$/,"").trim()).startsWith("http")?e:"http://"+e:""},Tools.stringRepresentURL=function(e){return"string"==typeof e?e.replace(/^(https?)?:?\/+/,"").replace(/\/+$/,"").trim():""},Tools.stringCamelCaseToDelimited=function(e,t,r){void 0===t&&(t="-"),void 0===r&&(r=null),r||(r=Tools.abbreviations);var n=Tools.stringMaskForRegularExpression(t);if(r.length){for(var o,a="",i=_createForOfIteratorHelperLoose(r);!(o=i()).done;)a&&(a+="|"),a+=o.value.toUpperCase();e=e.replace(new RegExp("("+a+")("+a+")","g"),"$1"+t+"$2")}return(e=e.replace(new RegExp("([^"+n+"])([A-Z][a-z]+)","g"),"$1"+t+"$2")).replace(/([a-z0-9])([A-Z])/g,"$1"+t+"$2").toLowerCase()},Tools.stringCapitalize=function(e){return e.charAt(0).toUpperCase()+e.substring(1)},Tools.stringCompressStyleValue=function(e){return e.replace(/ *([:;]) */g,"$1").replace(/ +/g," ").replace(/^;+/,"").replace(/;+$/,"").trim()},Tools.stringDecodeHTMLEntities=function(e){if($.document){var t=$.document.createElement("textarea");return t.innerHTML=e,t.value}return null},Tools.stringDelimitedToCamelCase=function(e,t,r,n,o){void 0===t&&(t="-"),void 0===r&&(r=null),void 0===n&&(n=!1),void 0===o&&(o=!1);var a,i=Tools.stringMaskForRegularExpression(t);if(r||(r=Tools.abbreviations),n)a=r.join("|");else{a="";for(var l,s=_createForOfIteratorHelperLoose(r);!(l=s()).done;){var u=l.value;a&&(a+="|"),a+=Tools.stringCapitalize(u)+"|"+u}}var c=e.startsWith(t);return c&&(e=e.substring(t.length)),e=e.replace(new RegExp("("+i+")("+a+")("+i+"|$)","g"),(function(e,t,r,n){return t+r.toUpperCase()+n})),o&&(i="(?:"+i+")+"),e=e.replace(new RegExp(i+"([a-zA-Z0-9])","g"),(function(e,t){return t.toUpperCase()})),c&&(e=t+e),e},Tools.stringCompile=function(e,t,r){var n,o;void 0===t&&(t=[]),void 0===r&&(r=!1);for(var a,i={error:null,originalScopeNames:Array.isArray(t)?t:"string"==typeof t?[t]:Object.keys(t),scopeNameMapping:{},scopeNames:[],templateFunction:function(){return null}},l=_createForOfIteratorHelperLoose(i.originalScopeNames);!(a=l()).done;){var s=a.value,u=Tools.stringConvertToValidVariableName(s);i.scopeNameMapping[s]=u,i.scopeNames.push(u)}if(0!==Tools.maximalSupportedInternetExplorerVersion)if(null!=(n=$.global.Babel)&&n.transform)e=null==(o=$.global.Babel)?void 0:o.transform("("+e+")",{plugins:["transform-template-literals"]}).code;else if(e.startsWith("`")&&e.endsWith("`")){var c="####",d="`"===(e=e.replace(/\\\$/g,c).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(c,"g"),"\\$")}try{i.templateFunction=_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default()(Function,i.scopeNames.concat([(r?"":"return ")+e]))}catch(t){i.error='Given expression "'+e+'" could not be compiled with given scope names "'+i.scopeNames.join('", "')+'": '+Tools.represent(t)}return i},Tools.stringEvaluate=function(e,t,r,n){void 0===t&&(t={}),void 0===r&&(r=!1);var o=Tools.stringCompile(e,t,r),a=o.error,i=o.originalScopeNames,l=o.scopeNames,s=o.templateFunction,u={compileError:null,error:null,result:null,runtimeError:null};if(a)return u.compileError=u.error=a,u;try{u.result=(n?s.bind(n):s).apply(void 0,i.map((function(e){return t[e]})))}catch(a){u.error=u.runtimeError='Given expression "'+e+'" could not be evaluated with given scope names "'+l.join('", "')+'": '+Tools.represent(a)}return u},Tools.stringFindNormalizedMatchRange=function(e,t,r,n){void 0===r&&(r=function(e){return(""+e).toLowerCase()}),void 0===n&&(n=["<",">"]);var o=r(t),a=r(e),i="string"==typeof e?e:a;if(a&&o)for(var l=!1,s=0;s<i.length;s+=1)if(l)i.charAt(s)===n[1]&&(l=!1);else if(Array.isArray(n)&&i.charAt(s)===n[0])l=!0;else if(r(i.substring(s)).startsWith(o)){if(1===o.length)return[s,s+1];for(var u=i.length;u>s;u-=1)if(!r(i.substring(s,u)).startsWith(o))return[s,u+1]}return null},Tools.stringFixKnownEncodingErrors=function(e){for(var t=0,r=Object.entries({"Ã\\x84":"Ä","Ã\\x96":"Ö","Ã\\x9c":"Ü","ä":"ä","ö":"ö","ü":"ü","Ã\\x9f":"ß","\\x96":"-"});t<r.length;t++){var n=r[t],o=n[0],a=n[1];e=e.replace(new RegExp(o,"g"),a)}return e},Tools.stringFormat=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];r.unshift(e);for(var o=0,a=0,i=r;a<i.length;a++){var l=i[a];e=e.replace(new RegExp("\\{"+o+"\\}","gm"),""+l),o+=1}return e},Tools.stringGetEditDistance=function(e,t){for(var r=Array(t.length+1).fill(null).map((function(){return Array(e.length+1).fill(null)})),n=0;n<=e.length;n++)r[0][n]=n;for(var o=0;o<=t.length;o++)r[o][0]=o;for(var a=1;a<=t.length;a++)for(var i=1;i<=e.length;i++){var l=e[i-1]===t[a-1]?0:1;r[a][i]=Math.min(r[a][i-1]+1,r[a-1][i]+1,r[a-1][i-1]+l)}return r[t.length][e.length]},Tools.stringMaskForRegularExpression=function(e){return e.replace(/([\\|.*$^+[\]()?\-{}])/g,"\\$1")},Tools.stringInterpretDateTime=function(e,t){var r=Boolean(t),n="[0-2][0-9]:[0-6][0-9]",o="^[0-9]{4}-[01][0-9]-[0-3][0-9](?<time>(?:T"+n+"(?::[0-6][0-9](?:\\.[0-9]+)?)?(?<dateTimeTimezone>Z|(?:[+-]"+n+"))?)|(?<dateTimezone>Z|(?:[+-]"+n+")))?$",a=e.match(new RegExp(o,"i"));if(a){var i,l,s,u,c,d=new Date(e);return isNaN(d.getDate())?null:(null!==(i=null==(l=a.groups)?void 0:l.dateTimeTimezone)&&void 0!==i?i:null==(s=a.groups)?void 0:s.dateTimezone)?d:([null,void 0].includes(t)&&(r=!1),r?null!=(c=a.groups)&&c.time?new Date(d.getTime()-60*(new Date).getTimezoneOffset()*1e3):d:null!=(u=a.groups)&&u.time?d:new Date(d.getTime()+60*(new Date).getTimezoneOffset()*1e3))}if(e=e.replace(/^(-?)-*0*([1-9][0-9]*)$/,"$1$2"),""+parseInt(e)===e)return[null,void 0].includes(t)&&(r=!0),new Date(1e3*(parseInt(e)+(r?0:60*(new Date).getTimezoneOffset())));if(!Tools._dateTimePatternCache.length)for(var f,p="(?:0?[0-9])|(?:[1-5][0-9])|(?:60)",h="(?<second>"+p+")",v="(?<minute>"+p+")",m="(?<hour>(?:0?[0-9])|(?:1[0-9])|(?:2[0-4]))",_="(?<day>(?:0?[1-9])|(?:[1-2][0-9])|(?:3[01]))",g="(?<month>(?:0?[1-9])|(?:1[0-2]))",y="(?<year>(?:0?[1-9])|(?:[1-9][0-9]+))",b={},T=_createForOfIteratorHelperLoose(["t"," "]);!(f=T()).done;)for(var E,w=f.value,S=_createForOfIteratorHelperLoose([":","/","-"," "]);!(E=S()).done;)for(var A=E.value,C=0,k=[m+(A+"+")+v,m+(A+"+")+v+A+"+"+h,m+(A+"+")+v+A+"+"+h+A+"+(?<millisecond>(?:0{0,3}[0-9])|(?:0{0,2}[1-9]{2})|(?:0?[1-9]{3})|(?:1[1-9]{3}))",m];C<k.length;C++)for(var x=k[C],O=0,P=[{delimiter:["/","-"," "],pattern:[g+"${delimiter}"+_+"${delimiter}"+y,g+"${delimiter}"+_+" +"+y,y+"${delimiter}"+g+"${delimiter}"+_,y+" +"+g+"${delimiter}"+_,g+"${delimiter}"+_+"${delimiter}"+y+w+"+"+x,g+"${delimiter}"+_+" +"+y+w+"+"+x,x+(w+"+")+g+"${delimiter}"+_+"${delimiter}"+y,x+(w+"+")+g+"${delimiter}"+_+" +"+y,y+"${delimiter}"+g+"${delimiter}"+_+w+"+"+x,y+" +"+g+"${delimiter}"+_+w+"+"+x,x+(w+"+")+y+"${delimiter}"+g+"${delimiter}"+_,x+(w+"+")+y+" +"+g+"${delimiter}"+_]},{delimiter:"\\.",pattern:[_+"${delimiter}"+g+"${delimiter}"+y,_+"${delimiter}"+g+" +"+y,y+"${delimiter}"+_+"${delimiter}"+g,y+" +"+_+"${delimiter}"+g,_+"${delimiter}"+g+"${delimiter}"+y+w+"+"+x,_+"${delimiter}"+g+" +"+y+w+"+"+x,x+(w+"+")+_+"${delimiter}"+g+"${delimiter}"+y,x+(w+"+")+_+"${delimiter}"+g+" +"+y,y+"${delimiter}"+_+"${delimiter}"+g+w+"+"+x,y+" +"+_+"${delimiter}"+g+w+"+"+x,x+(w+"+")+y+"${delimiter}"+_+"${delimiter}"+g,x+(w+"+")+y+" +"+_+"${delimiter}"+g]},{pattern:x}];O<P.length;O++)for(var I,R=P[O],N=_createForOfIteratorHelperLoose([].concat(Object.prototype.hasOwnProperty.call(R,"delimiter")?R.delimiter:"-"));!(I=N()).done;)for(var D,M=I.value,L=_createForOfIteratorHelperLoose([].concat(R.pattern));!(D=L()).done;){var j=D.value;(j=Tools.stringEvaluate("`^"+j+"$`",{delimiter:M+"+"}).result)&&!Object.prototype.hasOwnProperty.call(b,j)&&(b[j]=!0,Tools._dateTimePatternCache.push(new RegExp(j)))}e=(e=e.toLowerCase()).replace(/([^0-9a-z])[^0-9a-z]+/g,"$1");for(var F=1,U=0,V=[["jan","january?","janvier"],["feb","february?","février"],["m(?:a|ae|ä)r","m(?:a|ae|ä)r(?:ch|s|z)"],["ap[rv]","a[pv]ril"],["ma[iy]"],["ju[ein]","jui?n[ei]?"],["jul","jul[iy]","juillet"],["aug","august","août"],["sep","septemb(?:er|re)"],["o[ck]t","o[ck]tob(?:er|re)"],["nov","novemb(?:er|re)"],["de[cz]","d[eé][cz]emb(?:er|re)"]];U<V.length;U++){for(var $,B=!1,H=_createForOfIteratorHelperLoose(V[U]);!($=H()).done;){var z=$.value,W=new RegExp("(^|[^a-z])"+z+"([^a-z]|$)");if(W.test(e)){e=e.replace(W,"$1"+F+"$2"),B=!0;break}}if(B)break;F+=1}e=Tools.stringSliceWeekday(e);var q=/(.+)\+(.+)$/,K=q.exec(e);K&&(e=e.replace(q,"$1"));for(var G,X=_createForOfIteratorHelperLoose(["","Uhr","o'clock"]);!(G=X()).done;){var Y=G.value;e=e.replace(Y,"")}e=e.trim();for(var Q,Z,J=function(){var t=Z.value,n=null;try{n=e.match(t)}catch(e){}if(n){var o=function(e,t){var r;return void 0===t&&(t=0),null!=(r=n)&&r.groups&&e in n.groups?parseInt(n.groups[e],10):t},a=[o("year",1970),o("month",1)-1,o("day",1),o("hour"),o("minute"),o("second"),o("millisecond")],i=null;if(K){var l=Tools.stringInterpretDateTime(K[2],!0);l&&(i=new Date(Date.UTC.apply(Date,a)-l.getTime()))}return i||(i=r?new Date(Date.UTC.apply(Date,a)):_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default()(Date,a)),isNaN(i.getDate())?{v:null}:{v:i}}},ee=_createForOfIteratorHelperLoose(Tools._dateTimePatternCache);!(Z=ee()).done;)if(Q=J())return Q.v;return null},Tools.stringLowerCase=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},Tools.stringMark=function(e,t,r){if(void 0===r&&(r={}),"string"==typeof e&&null!=t&&t.length){r=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({marker:'<span class="tools-mark">{1}</span>',normalizer:function(e){return(""+e).toLowerCase()},skipTagDelimitedParts:["<",">"]},r),e=e.trim();for(var n,o=[],a=[].concat(t),i=0,l=_createForOfIteratorHelperLoose(a);!(n=l()).done;){var s=n.value;a[i]=r.normalizer(s).trim(),i+=1}for(var u=e,c=0;;){for(var d,f=null,p=null,h=_createForOfIteratorHelperLoose(a);!(d=h()).done;){var v=d.value;(p=Tools.stringFindNormalizedMatchRange(u,v,r.normalizer,r.skipTagDelimitedParts))&&(!f||p[0]<f[0])&&(f=p)}if(!f){u.length&&o.push(u);break}f[0]>0&&o.push(e.substring(c,c+f[0])),o.push("string"==typeof r.marker?Tools.stringFormat(r.marker,e.substring(c+f[0],c+f[1])):r.marker(e.substring(c+f[0],c+f[1]),o)),c+=f[1],u=e.substring(c)}return"string"==typeof r.marker?o.join(""):o}return e},Tools.stringMD5=function(e,t){void 0===t&&(t=!1);var r="0123456789abcdef".split(""),n=function(e,t){return e+t&4294967295},o=function(e,t,r,o,a,i){return t=n(n(t,e),n(o,i)),n(t<<a|t>>>32-a,r)},a=function(e,t,r,n,a,i,l){return o(t&r|~t&n,e,t,a,i,l)},i=function(e,t,r,n,a,i,l){return o(t&n|r&~n,e,t,a,i,l)},l=function(e,t,r,n,a,i,l){return o(t^r^n,e,t,a,i,l)},s=function(e,t,r,n,a,i,l){return o(r^(t|~n),e,t,a,i,l)},u=function(e,t){var r=e[0],o=e[1],u=e[2],c=e[3];return r=a(r,o,u,c,t[0],7,-680876936),c=a(c,r,o,u,t[1],12,-389564586),u=a(u,c,r,o,t[2],17,606105819),o=a(o,u,c,r,t[3],22,-1044525330),r=a(r,o,u,c,t[4],7,-176418897),c=a(c,r,o,u,t[5],12,1200080426),u=a(u,c,r,o,t[6],17,-1473231341),o=a(o,u,c,r,t[7],22,-45705983),r=a(r,o,u,c,t[8],7,1770035416),c=a(c,r,o,u,t[9],12,-1958414417),u=a(u,c,r,o,t[10],17,-42063),o=a(o,u,c,r,t[11],22,-1990404162),r=a(r,o,u,c,t[12],7,1804603682),c=a(c,r,o,u,t[13],12,-40341101),u=a(u,c,r,o,t[14],17,-1502002290),o=a(o,u,c,r,t[15],22,1236535329),r=i(r,o,u,c,t[1],5,-165796510),c=i(c,r,o,u,t[6],9,-1069501632),u=i(u,c,r,o,t[11],14,643717713),o=i(o,u,c,r,t[0],20,-373897302),r=i(r,o,u,c,t[5],5,-701558691),c=i(c,r,o,u,t[10],9,38016083),u=i(u,c,r,o,t[15],14,-660478335),o=i(o,u,c,r,t[4],20,-405537848),r=i(r,o,u,c,t[9],5,568446438),c=i(c,r,o,u,t[14],9,-1019803690),u=i(u,c,r,o,t[3],14,-187363961),o=i(o,u,c,r,t[8],20,1163531501),r=i(r,o,u,c,t[13],5,-1444681467),c=i(c,r,o,u,t[2],9,-51403784),u=i(u,c,r,o,t[7],14,1735328473),o=i(o,u,c,r,t[12],20,-1926607734),r=l(r,o,u,c,t[5],4,-378558),c=l(c,r,o,u,t[8],11,-2022574463),u=l(u,c,r,o,t[11],16,1839030562),o=l(o,u,c,r,t[14],23,-35309556),r=l(r,o,u,c,t[1],4,-1530992060),c=l(c,r,o,u,t[4],11,1272893353),u=l(u,c,r,o,t[7],16,-155497632),o=l(o,u,c,r,t[10],23,-1094730640),r=l(r,o,u,c,t[13],4,681279174),c=l(c,r,o,u,t[0],11,-358537222),u=l(u,c,r,o,t[3],16,-722521979),o=l(o,u,c,r,t[6],23,76029189),r=l(r,o,u,c,t[9],4,-640364487),c=l(c,r,o,u,t[12],11,-421815835),u=l(u,c,r,o,t[15],16,530742520),o=l(o,u,c,r,t[2],23,-995338651),r=s(r,o,u,c,t[0],6,-198630844),c=s(c,r,o,u,t[7],10,1126891415),u=s(u,c,r,o,t[14],15,-1416354905),o=s(o,u,c,r,t[5],21,-57434055),r=s(r,o,u,c,t[12],6,1700485571),c=s(c,r,o,u,t[3],10,-1894986606),u=s(u,c,r,o,t[10],15,-1051523),o=s(o,u,c,r,t[1],21,-2054922799),r=s(r,o,u,c,t[8],6,1873313359),c=s(c,r,o,u,t[15],10,-30611744),u=s(u,c,r,o,t[6],15,-1560198380),o=s(o,u,c,r,t[13],21,1309151649),r=s(r,o,u,c,t[4],6,-145523070),c=s(c,r,o,u,t[11],10,-1120210379),u=s(u,c,r,o,t[2],15,718787259),o=s(o,u,c,r,t[9],21,-343485551),e[0]=n(r,e[0]),e[1]=n(o,e[1]),e[2]=n(u,e[2]),e[3]=n(c,e[3]),e},c=function(e){for(var t="",n=0;n<4;n++)t+=r[e>>8*n+4&15]+r[e>>8*n&15];return t},d=function(e){for(var t=[],r=0;r<e.length;r++)t[r]=c(e[r]);return t.join("")},f=function(e){for(var t=[],r=0;r<64;r+=4)t[r>>2]=e.charCodeAt(r)+(e.charCodeAt(r+1)<<8)+(e.charCodeAt(r+2)<<16)+(e.charCodeAt(r+3)<<24);return t},p=function(e){var t,r=e.length,n=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)u(n,f(e.substring(t-64,t)));e=e.substring(t-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55){u(n,o);for(var a=0;a<16;a++)o[a]=0}return o[14]=8*r,u(n,o),n};return"5d41402abc4b2a76b9719d911017c592"!==d(p("hello"))&&(n=function(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}),d(p(t?e:unescape(encodeURIComponent(e))))},Tools.stringNormalizePhoneNumber=function(e,t){if(void 0===t&&(t=!0),"string"==typeof e||"number"==typeof e){var r=(""+e).trim();if(r=r.replace(/^[^0-9]*\+/,"00"),t)return r.replace(/[^0-9]+/g,"");var n="(?:[ /\\-]+)";r=(r=r.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(r))r=r.replace(o,(function(e,t,r,n){return t+"-"+r+"-"+Tools.stringSliceAllExceptNumberAndLastSeperator(n)}));else{var a=function(e,t,r){return t.replace(/ +/,"")+"-"+Tools.stringSliceAllExceptNumberAndLastSeperator(r)};r=(o=/^([0-9 ]+)[/-](.+)$/).test(r)?r.replace(o,a):r.replace(new RegExp("^([0-9]+)"+n+"(.+)$"),a)}return r.replace(/[^0-9-]+/g,"").replace(/^-+$/,"")}return""},Tools.stringNormalizeZipCode=function(e){return"string"==typeof e||"number"==typeof e?(""+e).trim().replace(/[^0-9]+/g,""):""},Tools.stringParseEncodedObject=function stringParseEncodedObject(serializedObject,scope,name){var _Tools$stringEvaluate;void 0===scope&&(scope={}),void 0===name&&(name="scope"),serializedObject.endsWith(".json")&&Tools.isFileSync(serializedObject)&&(serializedObject=readFileSync(serializedObject,{encoding:DEFAULT_ENCODING})),serializedObject=serializedObject.trim(),serializedObject.startsWith("{")||(serializedObject=eval("Buffer").from(serializedObject,"base64").toString(DEFAULT_ENCODING));var result=Tools.stringEvaluate(serializedObject,(_Tools$stringEvaluate={},_Tools$stringEvaluate[name]=scope,_Tools$stringEvaluate));return"object"==typeof result.result?result.result:null},Tools.stringRepresentPhoneNumber=function(e){if(["number","string"].includes(Tools.determineType(e))&&e){var t=(""+e).replace(/^(00|\+)([0-9]+)-([0-9-]+)$/,"+$2 (0) $3");return(t=(t=t.replace(/^0([1-9][0-9-]+)$/,"+49 (0) $1")).replace(/^([^-]+)-([0-9-]+)$/,"$1 / $2")).replace(/^(.*?)([0-9]+)(-?[0-9]*)$/,(function(e,t,r,n){return t+(r.length%2==0?r.replace(/([0-9]{2})/g,"$1 "):r.replace(/^([0-9]{3})([0-9]+)$/,(function(e,t,r){return t+" "+r.replace(/([0-9]{2})/g,"$1 ").trim()}))+n).trim()})).trim()}return""},Tools.stringSliceAllExceptNumberAndLastSeperator=function(e){var t=/^(.*[0-9].*)-([0-9]+)$/;return t.test(e)?e.replace(t,(function(e,t,r){return t.replace(/[^0-9]+/g,"")+"-"+r})):e.replace(/[^0-9]+/g,"")},Tools.stringSliceWeekday=function(e){var t=/[a-z]{2}\.+ *([^ ].*)$/i;return t.exec(e)?e.replace(t,"$1"):e},Tools.numberGetUTCTimestamp=function(e,t){void 0===t&&(t=!1);var r=[null,void 0].includes(e)?new Date:new Date(e);return Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds())/(t?1:1e3)},Tools.numberIsNotANumber=function(e){return"number"===Tools.determineType(e)&&isNaN(e)},Tools.numberRound=function(e,t){return void 0===t&&(t=0),Math.round(e*Math.pow(10,t))/Math.pow(10,t)},Tools.numberCeil=function(e,t){return void 0===t&&(t=0),Math.ceil(e*Math.pow(10,t))/Math.pow(10,t)},Tools.numberFloor=function(e,t){return void 0===t&&(t=0),Math.floor(e*Math.pow(10,t))/Math.pow(10,t)},Tools.checkReachability=(e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,r){var n,o,a,i,l;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===r&&(r={}),n=Tools.extend(!0,{expectedIntermediateStatusCodes:[],options:{},pollIntervallInSeconds:.1,statusCodes:200,timeoutInSeconds:10,wait:!1},r),o=[].concat(n.statusCodes),a=[].concat(n.expectedIntermediateStatusCodes),i=function(e,t){return Boolean(null!==e&&"object"==typeof e&&"status"in e&&t.includes(e.status))},l=function(e){if(!i(e,o))throw new Error("Given status code "+e.status+" differs from "+o.join(", ")+".");return e},!n.wait){e.next=8;break}return e.abrupt("return",new Promise((function(e,r){var o=!1,s=Tools.timeout(1e3*n.timeoutInSeconds),u=function(e){return o||(d=Tools.timeout(1e3*n.pollIntervallInSeconds,c)).catch(Tools.noop),e},c=function(){var o=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function o(){var c;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,globalContext.fetch(t,n.options);case 3:c=o.sent,o.next=9;break;case 6:return o.prev=6,o.t0=o.catch(0),o.abrupt("return",u(o.t0));case 9:o.prev=9,e(l(c)),s.clear(),o.next=20;break;case 14:if(o.prev=14,o.t1=o.catch(9),!i(c,a)){o.next=18;break}return o.abrupt("return",u(o.t1));case 18:r(o.t1),s.clear();case 20:return o.abrupt("return",c);case 21:case"end":return o.stop()}}),o,null,[[0,6],[9,14]])})));return function(){return o.apply(this,arguments)}}(),d=Tools.timeout(c);s.then((function(){o=!0,d.clear(),r(new Error("Timeout of "+n.timeoutInSeconds+" seconds reached."))}),Tools.noop)})));case 8:return e.t0=l,e.next=11,globalContext.fetch(t,n.options);case 11:return e.t1=e.sent,e.abrupt("return",(0,e.t0)(e.t1));case 13:case"end":return e.stop()}}),e)}))),function(t,r){return e.apply(this,arguments)}),Tools.checkUnreachability=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,r){var n,o,a;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===r&&(r={}),n=Tools.extend(!0,{wait:!1,timeoutInSeconds:10,pollIntervallInSeconds:.1,statusCodes:[],options:{}},r),o=function(e){var r=[].concat(n.statusCodes);if(r.length){if(null!==e&&"object"==typeof e&&"status"in e&&r.includes(e.status))throw new Error('Given url "'+t+'" is reachable and responses with status code "'+e.status+'".');return new Error('Given status code is not "'+r.join(", ")+'".')}return null},!n.wait){e.next=5;break}return e.abrupt("return",new Promise((function(e,r){var a=!1,i=function(){var r=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function r(){var u,c;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,globalContext.fetch(t,n.options);case 3:if(u=r.sent,!a){r.next=6;break}return r.abrupt("return",u);case 6:if(!(c=o(u))){r.next=11;break}return s.clear(),e(c),r.abrupt("return",c);case 11:(l=Tools.timeout(1e3*n.pollIntervallInSeconds,i)).catch(Tools.noop),r.next=20;break;case 15:return r.prev=15,r.t0=r.catch(0),s.clear(),e(r.t0),r.abrupt("return",r.t0);case 20:return r.abrupt("return",null);case 21:case"end":return r.stop()}}),r,null,[[0,15]])})));return function(){return r.apply(this,arguments)}}(),l=Tools.timeout(i),s=Tools.timeout(1e3*n.timeoutInSeconds);s.then((function(){a=!0,l.clear(),r(new Error("Timeout of "+n.timeoutInSeconds+" seconds reached."))}),Tools.noop)})));case 5:return e.prev=5,e.t0=o,e.next=9,globalContext.fetch(t,n.options);case 9:if(e.t1=e.sent,!(a=(0,e.t0)(e.t1))){e.next=13;break}return e.abrupt("return",a);case 13:e.next=18;break;case 15:return e.prev=15,e.t2=e.catch(5),e.abrupt("return",e.t2);case 18:throw new Error('Given url "'+t+'" is reachable.');case 19:case"end":return e.stop()}}),e,null,[[5,15]])})));return function(t,r){return e.apply(this,arguments)}}(),Tools.sendToIFrame=function(e,t,r,n,o){void 0===n&&(n="post"),void 0===o&&(o=!1);for(var a=$("string"==typeof e?'iframe[name"'+e+'"]':e),i=$("<form>").attr({action:t,method:n,target:a.attr("name")}),l=0,s=Object.entries(r);l<s.length;l++){var u=s[l],c=u[0],d=u[1];i.append($("<input>").attr({name:c,type:"hidden",value:d}))}return o&&a.on("load",(function(){return a.remove()})),i.insertAfter(a),i[0].submit(),i.remove(),a},Tools.copyDirectoryRecursive=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,r,n,o,a){var i,l,s,u,c;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n=Tools.noop),void 0===o&&(o={encoding:null,flag:"r"}),void 0===a&&(a={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),t=resolve(t),e.next=6,Tools.isDirectory(r);case 6:if(!e.sent){e.next=8;break}r=resolve(r,basename(t));case 8:return e.prev=8,e.next=11,mkdir(r);case 11:e.next=17;break;case 13:if(e.prev=13,e.t0=e.catch(8),"EEXIST"===e.t0.code){e.next=17;break}throw e.t0;case 17:return e.t1=_createForOfIteratorHelperLoose,e.next=20,Tools.walkDirectoryRecursively(t,n);case 20:e.t2=e.sent,i=(0,e.t1)(e.t2);case 22:if((l=i()).done){e.next=41;break}if(u=l.value,c=join(r,u.path.substring(t.length)),null==(s=u.stats)||!s.isDirectory()){e.next=37;break}return e.prev=26,e.next=29,mkdir(c);case 29:e.next=35;break;case 31:if(e.prev=31,e.t3=e.catch(26),"EEXIST"===e.t3.code){e.next=35;break}throw e.t3;case 35:e.next=39;break;case 37:return e.next=39,Tools.copyFile(u.path,c,o,a);case 39:e.next=22;break;case 41:return e.abrupt("return",r);case 42:case"end":return e.stop()}}),e,null,[[8,13],[26,31]])})));return function(t,r,n,o,a){return e.apply(this,arguments)}}(),Tools.copyDirectoryRecursiveSync=function(e,t,r,n,o){void 0===r&&(r=Tools.noop),void 0===n&&(n={encoding:null,flag:"r"}),void 0===o&&(o={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),e=resolve(e),Tools.isDirectorySync(t)&&(t=resolve(t,basename(e)));try{mkdirSync(t)}catch(e){if("EEXIST"!==e.code)throw e}for(var a,i=_createForOfIteratorHelperLoose(Tools.walkDirectoryRecursivelySync(e,r));!(a=i()).done;){var l,s=a.value,u=join(t,s.path.substring(e.length));if(null!=(l=s.stats)&&l.isDirectory())try{mkdirSync(u)}catch(e){if("EEXIST"!==e.code)throw e}else Tools.copyFileSync(s.path,u,n,o)}return t},Tools.copyFile=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,r,n,o){return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n={encoding:null,flag:"r"}),void 0===o&&(o={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),e.next=4,Tools.isDirectory(r);case 4:if(!e.sent){e.next=6;break}r=resolve(r,basename(t));case 6:return e.t0=writeFile,e.t1=r,e.next=10,readFile(t,n);case 10:return e.t2=e.sent,e.t3=o,e.next=14,(0,e.t0)(e.t1,e.t2,e.t3);case 14:return e.abrupt("return",r);case 15:case"end":return e.stop()}}),e)})));return function(t,r,n,o){return e.apply(this,arguments)}}(),Tools.copyFileSync=function(e,t,r,n){return void 0===r&&(r={encoding:null,flag:"r"}),void 0===n&&(n={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),Tools.isDirectorySync(t)&&(t=resolve(t,basename(e))),writeFileSync(t,readFileSync(e,r),n),t},Tools.isDirectory=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t){return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,stat(t);case 3:return e.abrupt("return",e.sent.isDirectory());case 6:if(e.prev=6,e.t0=e.catch(0),!Object.prototype.hasOwnProperty.call(e.t0,"code")||!["ENOENT","ENOTDIR"].includes(e.t0.code)){e.next=10;break}return e.abrupt("return",!1);case 10:throw e.t0;case 11:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),Tools.isDirectorySync=function(e){try{return statSync(e).isDirectory()}catch(e){if(Object.prototype.hasOwnProperty.call(e,"code")&&["ENOENT","ENOTDIR"].includes(e.code))return!1;throw e}},Tools.isFile=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t){return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,stat(t);case 3:return e.abrupt("return",e.sent.isFile());case 6:if(e.prev=6,e.t0=e.catch(0),!Object.prototype.hasOwnProperty.call(e.t0,"code")||!["ENOENT","ENOTDIR"].includes(e.t0.code)){e.next=10;break}return e.abrupt("return",!1);case 10:throw e.t0;case 11:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),Tools.isFileSync=function(e){try{return statSync(e).isFile()}catch(e){if(Object.prototype.hasOwnProperty.call(e,"code")&&["ENOENT","ENOTDIR"].includes(e.code))return!1;throw e}},Tools.walkDirectoryRecursively=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,r,n){var o,a,i,l,s,u,c,d,f,p,h,v;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===r&&(r=null),void 0===n&&(n=DEFAULT_ENCODING),o=[],e.t0=_createForOfIteratorHelperLoose,e.next=6,readdir(t,"string"==typeof n?{encoding:n,withFileTypes:!0}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},n,{withFileTypes:!0}));case 6:e.t1=e.sent,a=(0,e.t0)(e.t1);case 8:if((i=a()).done){e.next=24;break}return l=i.value,s=resolve(t,l.name),u={directoryPath:t,directoryEntry:l,error:null,name:l.name,path:s,stats:null},e.prev=12,e.next=15,stat(s);case 15:u.stats=e.sent,e.next=21;break;case 18:e.prev=18,e.t2=e.catch(12),u.error=e.t2;case 21:o.push(u);case 22:e.next=8;break;case 24:r&&o.sort((function(e,t){var r,n,o;return null!=(r=e.stats)&&r.isDirectory()?null!=(o=t.stats)&&o.isDirectory()?0:-1:null!=(n=t.stats)&&n.isDirectory()?1:0})),c=[],d=0,f=o;case 27:if(!(d<f.length)){e.next=48;break}if(h=f[d],c.push(h),null!==(v=r?r(h):void 0)){e.next=33;break}return e.abrupt("break",48);case 33:if("object"!=typeof v||!("then"in v)){e.next=37;break}return e.next=36,v;case 36:v=e.sent;case 37:if(null!==v){e.next=39;break}return e.abrupt("break",48);case 39:if(!1===v||null==(p=h.stats)||!p.isDirectory()){e.next=45;break}return e.t3=c,e.next=43,Tools.walkDirectoryRecursively(h.path,r,n);case 43:e.t4=e.sent,c=e.t3.concat.call(e.t3,e.t4);case 45:d++,e.next=27;break;case 48:return e.abrupt("return",c);case 49:case"end":return e.stop()}}),e,null,[[12,18]])})));return function(t,r,n){return e.apply(this,arguments)}}(),Tools.walkDirectoryRecursivelySync=function(e,t,r){void 0===t&&(t=Tools.noop),void 0===r&&(r=DEFAULT_ENCODING);for(var n,o=[],a=_createForOfIteratorHelperLoose(readdirSync(e,"string"==typeof r?{encoding:r,withFileTypes:!0}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},r,{withFileTypes:!0})));!(n=a()).done;){var i=n.value,l=resolve(e,i.name),s={directoryPath:e,directoryEntry:i,error:null,name:i.name,path:l,stats:null};try{s.stats=statSync(l)}catch(e){s.error=e}o.push(s)}var u=[];if(t){o.sort((function(e,t){var r,n,o;return null!=(r=e.stats)&&r.isDirectory()?null!=(o=t.stats)&&o.isDirectory()?0:-1:null!=(n=t.stats)&&n.isDirectory()?1:0}));for(var c,d=_createForOfIteratorHelperLoose(o);!(c=d()).done;){var f,p=c.value;u.push(p);var h=t(p);if(null===h)break;!1!==h&&null!=(f=p.stats)&&f.isDirectory()&&(u=u.concat(Tools.walkDirectoryRecursivelySync(p.path,t,r)))}}return u},Tools.getProcessCloseHandler=function(e,t,r,n){void 0===r&&(r=null),void 0===n&&(n=Tools.noop);var o=!1;return function(a){if(o)o=!0;else{o=!0;for(var i=arguments.length,l=new Array(i>1?i-1:0),s=1;s<i;s++)l[s-1]=arguments[s];if("number"!=typeof a||0===a)n(),e({reason:r,parameters:l});else{var u=new Error("Task exited with error code "+a);u.returnCode=a,u.parameters=l,t(u)}}}},Tools.handleChildProcess=function(e){return e.stdout&&e.stdout.pipe(process.stdout),e.stderr&&e.stderr.pipe(process.stderr),e.on("close",(function(e){0!==e&&console.error("Task exited with error code "+e)})),e},_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default()(Tools,[{key:"normalizedClassNames",get:function(){if(this.$domNode){var e="class";this.$domNode.find("*").addBack().each((function(t,r){var n=$(r),o=n.attr(e);o?n.attr(e,(o.split(" ").sort()||[]).join(" ")):n.is("[class]")&&n.removeAttr(e)}))}return this}},{key:"normalizedStyles",get:function(){if(this.$domNode){var e="style";this.$domNode.find("*").addBack().each((function(t,r){var n=$(r),o=n.attr(e);o?n.attr(e,Tools.stringCompressStyleValue((Tools.stringCompressStyleValue(o).split(";").sort()||[]).map((function(e){return e.trim()})).join(";"))):n.is("[style]")&&n.removeAttr(e)}))}return this}},{key:"style",get:function(){var e={},t=this.$domNode;if(null!=t&&t.length){var r,n;if(null!=(r=$.global.window)&&r.getComputedStyle&&(n=$.global.window.getComputedStyle(t[0],null))){if("length"in n)for(var o=0;o<n.length;o+=1)e[Tools.stringDelimitedToCamelCase(n[o])]=n.getPropertyValue(n[o]);else for(var a=0,i=Object.entries(n);a<i.length;a++){var l=i[a],s=l[0],u=l[1];e[Tools.stringDelimitedToCamelCase(s)]=u||n.getPropertyValue(s)}return e}if(n=t[0].style)for(var c in n)"function"!=typeof n[c]&&(e[c]=n[c])}return e}},{key:"text",get:function(){return this.$domNode?this.$domNode.clone().children().remove().end().text():""}}]),Tools}();Tools.abbreviations=["html","id","url","us","de","api","href"],Tools.animationEndEventNames="animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd",Tools.classToTypeMapping={"[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"},Tools.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},Tools.locales=[],Tools.maximalSupportedInternetExplorerVersion=function(){if(!$.document)return 0;var e,t=$.document.createElement("div");for(e=0;e<10&&(t.innerHTML="\x3c!--[if gt IE "+e+"]><i></i><![endif]--\x3e",0!==t.getElementsByTagName("i").length);e++);if(0===e&&$.global.window.navigator){if(-1!==$.global.window.navigator.appVersion.indexOf("MSIE 10"))return 10;if(![$.global.window.navigator.userAgent.indexOf("Trident"),$.global.window.navigator.userAgent.indexOf("rv:11")].includes(-1))return 11}return e}(),Tools.noop=$.noop?$.noop:function(){},Tools.plainObjectPrototypes=[Object.prototype],Tools.specialRegexSequences=["-","[","]","(",")","^","$","*","+",".","{","}"],Tools.transitionEndEventNames="transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",Tools._dateTimePatternCache=[],Tools._defaultOptions={domNodes:{hideJavaScriptEnabled:".tools-hidden-on-javascript-enabled",showJavaScriptEnabled:".tools-visible-on-javascript-enabled"},domNodeSelectorInfix:"",domNodeSelectorPrefix:"body",logging:!1,name:"Tools"},Tools._javaScriptDependentContentHandled=!1;var BoundTools=function(e){function t(r){for(var n,o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];return(n=e.call.apply(e,[this,r].concat(a))||this).$domNode=void 0,n.self=t,n.$domNode=r,n}return _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0___default()(t,e),t}(Tools);__nested_webpack_exports__.default=Tools;var augment$=function(e){if(($=e).global||($.global=globalContext),$.global.window&&(!$.document&&$.global.window.document&&($.document=$.global.window.document),!$.location&&$.global.window.location&&($.location=$.global.window.location)),$.fn&&($.fn.Tools=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Tools.controller(Tools,t,this)}),$.Tools=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Tools.controller(Tools,t)},$.Tools.class=Tools,$.fn){var t=$.fn.prop;$.fn.prop=function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];if(n.length<2&&this.length&&["#text","#comment"].includes(this[0].nodeName.toLowerCase())&&e in this[0]){if(0===n.length)return this[0][e];if(1===n.length)return this[0][e]=n[0],this}return t.call.apply(t,[this,e].concat(n))}}};augment$($),$.readyException=function(e){if("string"!=typeof e||"canceled"!==e)throw e}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__4__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__5__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__6__},function(e){if(void 0===__WEBPACK_EXTERNAL_MODULE__7__){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}e.exports=__WEBPACK_EXTERNAL_MODULE__7__}],__webpack_module_cache__={};function __nested_webpack_require_93856__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e](r,r.exports,__nested_webpack_require_93856__),r.loaded=!0,r.exports}__nested_webpack_require_93856__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_93856__.d(t,{a:t}),t},__nested_webpack_require_93856__.d=function(e,t){for(var r in t)__nested_webpack_require_93856__.o(t,r)&&!__nested_webpack_require_93856__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__nested_webpack_require_93856__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__nested_webpack_require_93856__.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},__nested_webpack_require_93856__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_93856__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __nested_webpack_exports__=__nested_webpack_require_93856__(1);return __nested_webpack_exports__}()},module.exports=r(__webpack_require__(8),__webpack_require__(11),__webpack_require__(9),__webpack_require__(28),__webpack_require__(12),__webpack_require__(13),function(){try{return __webpack_require__(53)}catch(e){}}())},function(e,t,r){r.d(t,{o:function(){return u}});var n=r(2),o=r(5),a=r(46),i=r(17),l=r(19),s=r(45),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.disabled=!1,t}return(0,n.ct)(t,e),t.attachTo=function(e,r){void 0===r&&(r={isUnbounded:void 0});var n=new t(e);return void 0!==r.isUnbounded&&(n.unbounded=r.isUnbounded),n},t.createAdapter=function(e){return{addClass:function(t){return e.root.classList.add(t)},browserSupportsCssVars:function(){return s.supportsCssVariables(window)},computeBoundingRect:function(){return e.root.getBoundingClientRect()},containsEventTarget:function(t){return e.root.contains(t)},deregisterDocumentInteractionHandler:function(e,t){return document.documentElement.removeEventListener(e,t,(0,a.E)())},deregisterInteractionHandler:function(t,r){return e.root.removeEventListener(t,r,(0,a.E)())},deregisterResizeHandler:function(e){return window.removeEventListener("resize",e)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return(0,i._u)(e.root,":active")},isSurfaceDisabled:function(){return Boolean(e.disabled)},isUnbounded:function(){return Boolean(e.unbounded)},registerDocumentInteractionHandler:function(e,t){return document.documentElement.addEventListener(e,t,(0,a.E)())},registerInteractionHandler:function(t,r){return e.root.addEventListener(t,r,(0,a.E)())},registerResizeHandler:function(e){return window.addEventListener("resize",e)},removeClass:function(t){return e.root.classList.remove(t)},updateCssVariable:function(t,r){return e.root.style.setProperty(t,r)}}},Object.defineProperty(t.prototype,"unbounded",{get:function(){return Boolean(this.isUnbounded)},set:function(e){this.isUnbounded=Boolean(e),this.setUnbounded()},enumerable:!1,configurable:!0}),t.prototype.activate=function(){this.foundation.activate()},t.prototype.deactivate=function(){this.foundation.deactivate()},t.prototype.layout=function(){this.foundation.layout()},t.prototype.getDefaultFoundation=function(){return new l.E(t.createAdapter(this))},t.prototype.initialSyncWithDOM=function(){var e=this.root;this.isUnbounded="mdcRippleIsUnbounded"in e.dataset},t.prototype.setUnbounded=function(){this.foundation.setUnbounded(Boolean(this.isUnbounded))},t}(o.s)},function(e,t){
|
|
29
|
+
var n=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},function(e,t,r){r.d(t,{s:function(){return a}});var n=r(2),o=r(4),a=function(){function e(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];this.root=e,this.initialize.apply(this,(0,n.Mt)([],(0,n.o5)(r))),this.foundation=void 0===t?this.getDefaultFoundation():t,this.foundation.init(),this.initialSyncWithDOM()}return e.attachTo=function(t){return new e(t,new o.E({}))},e.prototype.initialize=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},e.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},e.prototype.initialSyncWithDOM=function(){},e.prototype.destroy=function(){this.foundation.destroy()},e.prototype.listen=function(e,t,r){this.root.addEventListener(e,t,r)},e.prototype.unlisten=function(e,t,r){this.root.removeEventListener(e,t,r)},e.prototype.emit=function(e,t,r){var n;void 0===r&&(r=!1),"function"==typeof CustomEvent?n=new CustomEvent(e,{bubbles:r,detail:t}):(n=document.createEvent("CustomEvent")).initCustomEvent(e,r,!1,t),this.root.dispatchEvent(n)},e}()},function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(6);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(51)},function(e,t,r){var n=r(6),o=r(25);e.exports=function(e,t,r){if(o())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var i=new(e.bind.apply(e,a));return r&&n(i,r.prototype),i},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(e,t,r,n,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,a){var i=e.apply(r,n);function l(e){t(i,o,a,l,s,"next",e)}function s(e){t(i,o,a,l,s,"throw",e)}l(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(26)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},,function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,n,r;if(module=__webpack_require__.nmd(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")&&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=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(8),n=__webpack_require__(23),r=__webpack_require__(35),function(){var t={0:function(t){t.exports=e},9:function(e){e.exports=n},10:function(e){e.exports=r}},o={};function a(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,a),n.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return function(){a.r(i),a.d(i,{DummyTypes:function(){return p},NullSymbol:function(){return s},PropertyTypes:function(){return h},RealTypes:function(){return c},UndefinedSymbol:function(){return u},ValidationError:function(){return f},any:function(){return v},array:function(){return m},arrayOf:function(){return _},bool:function(){return g},boolean:function(){return y},createDummy:function(){return d},element:function(){return b},elementType:function(){return T},exact:function(){return E},func:function(){return w},instanceOf:function(){return S},node:function(){return A},number:function(){return C},object:function(){return k},objectOf:function(){return x},oneOf:function(){return O},oneOfType:function(){return P},shape:function(){return I},string:function(){return R},symbol:function(){return N}});var e=a(0),t=a.n(e),r=a(9),n=a.n(r),o=a(10),l=a.n(o),s=Symbol("null"),u=Symbol("undefined"),c={any:l().any,array:l().array,arrayOf:l().arrayOf,bool:l().bool,boolean:l().bool,element:l().element,elementType:l().elementType,exact:l().exact,func:l().func,instanceOf:l().instanceOf,node:l().node,number:l().number,object:l().object,objectOf:l().objectOf,oneOf:l().oneOf,oneOfType:l().oneOfType,shape:l().shape,string:l().string,symbol:l().symbol},d=function(e){void 0===e&&(e=null);var t=function(){return e};return t.isRequired=function(){return null},t},f=function(e){function r(){var t;return(t=e.call(this,"return null")||this).message="DummyErrorMessage",t}return t()(r,e),r}(n()(Function)),p={any:d(),array:d(),arrayOf:d(new f),bool:d(),boolean:d(),element:d(),elementType:d(new f),exact:d(),func:d(),instanceOf:d(new f),node:d(),number:d(),object:d(),objectOf:d(new f),oneOf:d(new f),oneOfType:d(new f),shape:d(new f),string:d(),symbol:d()},h=["debug","dev","development"].includes("production".trim().toLowerCase())?c:p,v=h.any,m=h.array,_=h.arrayOf,g=h.bool,y=h.bool,b=h.element,T=h.elementType,E=h.exact,w=h.func,S=h.instanceOf,A=h.node,C=h.number,k=h.object,x=h.objectOf,O=h.oneOf,P=h.oneOfType,I=h.shape,R=h.string,N=h.symbol;i.default=h}(),i}())},function(e,t,r){function n(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}r.d(t,{_u:function(){return n}})},,function(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const n=r(1),o=r(0),a={ripple:!0,tooltip:{align:"top",showArrow:!1,activateOn:["hover","focus"],enterDelay:0,leaveDelay:0},typography:{},icon:{icon:"",basename:"material-icons",prefix:"",strategy:"auto",render:void 0}},i=o.createContext(a);t.ProviderContext=i,t.RMWCProvider=({children:e,...t})=>n.jsx(i.Provider,{value:{...a,...t},children:e}),t.useProviderContext=()=>o.useContext(i)},function(e,t,r){r.d(t,{E:function(){return c}});var n=r(2),o=r(4),a=r(56),i=r(42),l=["touchstart","pointerdown","mousedown","keydown"],s=["touchend","pointerup","mouseup","contextmenu"],u=[],c=function(e){function t(r){var o=e.call(this,(0,n.C3)((0,n.C3)({},t.defaultAdapter),r))||this;return o.activationAnimationHasEnded=!1,o.activationTimer=0,o.fgDeactivationRemovalTimer=0,o.fgScale="0",o.frame={width:0,height:0},o.initialSize=0,o.layoutFrame=0,o.maxRadius=0,o.unboundedCoords={left:0,top:0},o.activationState=o.defaultActivationState(),o.activationTimerCallback=function(){o.activationAnimationHasEnded=!0,o.runDeactivationUXLogicIfReady()},o.activateHandler=function(e){o.activateImpl(e)},o.deactivateHandler=function(){o.deactivateImpl()},o.focusHandler=function(){o.handleFocus()},o.blurHandler=function(){o.handleBlur()},o.resizeHandler=function(){o.layout()},o}return(0,n.ct)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a.k7},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return a.sH},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return a.TP},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,r=this.supportsPressRipple();if(this.registerRootHandlers(r),r){var n=t.cssClasses,o=n.ROOT,a=n.UNBOUNDED;requestAnimationFrame((function(){e.adapter.addClass(o),e.adapter.isUnbounded()&&(e.adapter.addClass(a),e.layoutInternal())}))}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var r=t.cssClasses,n=r.ROOT,o=r.UNBOUNDED;requestAnimationFrame((function(){e.adapter.removeClass(n),e.adapter.removeClass(o),e.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},t.prototype.activate=function(e){this.activateImpl(e)},t.prototype.deactivate=function(){this.deactivateImpl()},t.prototype.layout=function(){var e=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){e.layoutInternal(),e.layoutFrame=0}))},t.prototype.setUnbounded=function(e){var r=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(r):this.adapter.removeClass(r)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame((function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame((function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var t,r;if(e){try{for(var o=(0,n.gR)(l),a=o.next();!a.done;a=o.next()){var i=a.value;this.adapter.registerInteractionHandler(i,this.activateHandler)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},t.prototype.registerDeactivationHandlers=function(e){var t,r;if("keydown"===e.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var o=(0,n.gR)(s),a=o.next();!a.done;a=o.next()){var i=a.value;this.adapter.registerDocumentInteractionHandler(i,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},t.prototype.deregisterRootHandlers=function(){var e,t;try{for(var r=(0,n.gR)(l),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterInteractionHandler(a,this.activateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,t;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var r=(0,n.gR)(s),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterDocumentInteractionHandler(a,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,r=t.strings;Object.keys(r).forEach((function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(r[t],null)}))},t.prototype.activateImpl=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var n=this.previousActivationEvent;if(!(n&&void 0!==e&&n.type!==e.type))r.isActivated=!0,r.isProgrammatic=void 0===e,r.activationEvent=e,r.wasActivatedByPointer=!r.isProgrammatic&&(void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type)),void 0!==e&&u.length>0&&u.some((function(e){return t.adapter.containsEventTarget(e)}))?this.resetActivationState():(void 0!==e&&(u.push(e.target),this.registerDeactivationHandlers(e)),r.wasElementMadeActive=this.checkElementMadeActive(e),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){u=[],r.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(r.wasElementMadeActive=t.checkElementMadeActive(e),r.wasElementMadeActive&&t.animateActivation()),r.wasElementMadeActive||(t.activationState=t.defaultActivationState())})))}}},t.prototype.checkElementMadeActive=function(e){return void 0===e||"keydown"!==e.type||this.adapter.isSurfaceActive()},t.prototype.animateActivation=function(){var e=this,r=t.strings,n=r.VAR_FG_TRANSLATE_START,o=r.VAR_FG_TRANSLATE_END,a=t.cssClasses,i=a.FG_DEACTIVATION,l=a.FG_ACTIVATION,s=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var u="",c="";if(!this.adapter.isUnbounded()){var d=this.getFgTranslationCoordinates(),f=d.startPoint,p=d.endPoint;u=f.x+"px, "+f.y+"px",c=p.x+"px, "+p.y+"px"}this.adapter.updateCssVariable(n,u),this.adapter.updateCssVariable(o,c),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(i),this.adapter.computeBoundingRect(),this.adapter.addClass(l),this.activationTimer=setTimeout((function(){e.activationTimerCallback()}),s)},t.prototype.getFgTranslationCoordinates=function(){var e,t=this.activationState,r=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?(0,i.getNormalizedEventCoords)(r,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:e.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,r=t.cssClasses.FG_DEACTIVATION,n=this.activationState,o=n.hasDeactivationUXRun,i=n.isActivated;(o||!i)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(r),this.fgDeactivationRemovalTimer=setTimeout((function(){e.adapter.removeClass(r)}),a.TP.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return e.previousActivationEvent=void 0}),t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,t=this.activationState;if(t.isActivated){var r=(0,n.C3)({},t);t.isProgrammatic?(requestAnimationFrame((function(){e.animateDeactivation(r)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(r),e.resetActivationState()})))}},t.prototype.animateDeactivation=function(e){var t=e.wasActivatedByPointer,r=e.wasElementMadeActive;(t||r)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=this;this.frame=this.adapter.computeBoundingRect();var r=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?r:Math.sqrt(Math.pow(e.frame.width,2)+Math.pow(e.frame.height,2))+t.numbers.PADDING;var n=Math.floor(r*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&n%2!=0?this.initialSize=n-1:this.initialSize=n,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,r=e.VAR_FG_SIZE,n=e.VAR_LEFT,o=e.VAR_TOP,a=e.VAR_FG_SCALE;this.adapter.updateCssVariable(r,this.initialSize+"px"),this.adapter.updateCssVariable(a,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(n,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(o,this.unboundedCoords.top+"px"))},t}(o.E)},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",r;if(module=__webpack_require__.nmd(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")&&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=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;r=function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__7__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__nested_webpack_exports__,__nested_webpack_require_2324__){__nested_webpack_require_2324__.r(__nested_webpack_exports__),__nested_webpack_require_2324__.d(__nested_webpack_exports__,{$:function(){return $},BoundTools:function(){return BoundTools},CloseEventNames:function(){return CloseEventNames},ConsoleOutputMethods:function(){return ConsoleOutputMethods},DEFAULT_ENCODING:function(){return DEFAULT_ENCODING},IgnoreNullAndUndefinedSymbol:function(){return IgnoreNullAndUndefinedSymbol},Lock:function(){return Lock},Semaphore:function(){return Semaphore},Tools:function(){return Tools},ValueCopySymbol:function(){return ValueCopySymbol},augment$:function(){return augment$},currentImport:function(){return currentImport},currentRequire:function(){return currentRequire},determine$:function(){return determine$},determineGlobalContext:function(){return determineGlobalContext},globalContext:function(){return globalContext},optionalRequire:function(){return optionalRequire},setGlobalContext:function(){return setGlobalContext}});var _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0__=__nested_webpack_require_2324__(0),_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__=__nested_webpack_require_2324__(2),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2__=__nested_webpack_require_2324__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2__),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__=__nested_webpack_require_2324__(4),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__),_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__=__nested_webpack_require_2324__(5),_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__),_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5__=__nested_webpack_require_2324__(6),_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default=__nested_webpack_require_2324__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5__),_ref,_globalContext$fetch,_optionalRequire;function _createForOfIteratorHelperLoose(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);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,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}module=__nested_webpack_require_2324__.hmd(module);var DEFAULT_ENCODING="utf8",CloseEventNames=["close","exit","SIGINT","SIGTERM","SIGQUIT","uncaughtException"],ConsoleOutputMethods=["debug","error","info","log","warn"],ValueCopySymbol=Symbol.for("clientnodeValue"),IgnoreNullAndUndefinedSymbol=Symbol.for("clientnodeIgnoreNullAndUndefined"),determineGlobalContext=function(){return"undefined"==typeof globalThis?void 0===window?void 0===__nested_webpack_require_2324__.g?module:__nested_webpack_require_2324__.g.window?__nested_webpack_require_2324__.g.window:__nested_webpack_require_2324__.g:window:globalThis},globalContext=determineGlobalContext(),setGlobalContext=function(e){globalContext=e},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}};globalContext.fetch=null!==(_ref=null!==(_globalContext$fetch=globalContext.fetch)&&void 0!==_globalContext$fetch?_globalContext$fetch:null==(_optionalRequire=optionalRequire("node-fetch"))?void 0:_optionalRequire.default)&&void 0!==_ref?_ref:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return currentImport("node-fetch").then((function(e){var r;return null==e?void 0:(r=e).default.apply(r,t)}))};var _ref3=optionalRequire("fs")||{},_ref3$mkdirSync=_ref3.mkdirSync,mkdirSync=void 0===_ref3$mkdirSync?null:_ref3$mkdirSync,_ref3$readdirSync=_ref3.readdirSync,readdirSync=void 0===_ref3$readdirSync?null:_ref3$readdirSync,_ref3$readFileSync=_ref3.readFileSync,readFileSync=void 0===_ref3$readFileSync?null:_ref3$readFileSync,_ref3$statSync=_ref3.statSync,statSync=void 0===_ref3$statSync?null:_ref3$statSync,_ref3$writeFileSync=_ref3.writeFileSync,writeFileSync=void 0===_ref3$writeFileSync?null:_ref3$writeFileSync,_ref4=optionalRequire("fs/promises")||{},_ref4$mkdir=_ref4.mkdir,mkdir=void 0===_ref4$mkdir?null:_ref4$mkdir,_ref4$readdir=_ref4.readdir,readdir=void 0===_ref4$readdir?null:_ref4$readdir,_ref4$readFile=_ref4.readFile,readFile=void 0===_ref4$readFile?null:_ref4$readFile,_ref4$stat=_ref4.stat,stat=void 0===_ref4$stat?null:_ref4$stat,_ref4$writeFile=_ref4.writeFile,writeFile=void 0===_ref4$writeFile?null:_ref4$writeFile,_ref5=optionalRequire("path")||{},_ref5$basename=_ref5.basename,basename=void 0===_ref5$basename?null:_ref5$basename,_ref5$join=_ref5.join,join=void 0===_ref5$join?null:_ref5$join,_ref5$resolve=_ref5.resolve,resolve=void 0===_ref5$resolve?null:_ref5$resolve,determine$=function(){var e=function(){};if(globalContext.$&&null!==globalContext.$)e=globalContext.$;else{if(!globalContext.$&&globalContext.document)try{e=__nested_webpack_require_2324__(7)}catch(e){}if(null==e||"object"==typeof e&&0===Object.keys(e).length){var t,r=null!=(t=globalContext.document)&&t.querySelectorAll?globalContext.document.querySelectorAll.bind(globalContext.document):function(){return null};(e=function(t){var n=null;if("string"==typeof t?n=r(t):Array.isArray(t)?n=t:("object"==typeof HTMLElement&&t instanceof HTMLElement||1===(null==t?void 0:t.nodeType)&&"string"==typeof(null==t?void 0:t.nodeName))&&(n=[t]),n){if(e.fn)for(var o=0,a=Object.entries(e.fn);o<a.length;o++){var i=a[o],l=i[0],s=i[1];n[l]=s.bind(n)}return n.jquery="clientnode",n}return Tools.isFunction(t)&&globalContext.document&&globalContext.document.addEventListener("DOMContentLoaded",t),t}).fn={}}}return e.global||(e.global=globalContext),e.global.window&&(!e.document&&e.global.window.document&&(e.document=e.global.window.document),!e.location&&e.global.window.location&&(e.location=e.global.window.location)),e},$=determine$(),Lock=function(){function e(e){void 0===e&&(e={}),this.locks=void 0,this.locks=e}var t=e.prototype;return t.acquire=function(e,t,r){var n=this;return void 0===r&&(r=!1),new Promise((function(o){var a=function(e){var a,i;t&&(i=t(e));var l=function(t){return r&&n.release(e),o(t),t};return null!=(a=i)&&a.then?i.then(l):(l(e),i)};Object.prototype.hasOwnProperty.call(n.locks,e)?n.locks[e].push(a):(n.locks[e]=[],a(e))}))},t.release=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t){var r;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object.prototype.hasOwnProperty.call(this.locks,t)){e.next=9;break}if(void 0!==(r=this.locks[t].shift())){e.next=6;break}delete this.locks[t],e.next=9;break;case 6:return e.next=8,r(t);case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),e}(),Semaphore=function(){function e(e){void 0===e&&(e=2),this.queue=[],this.numberOfResources=void 0,this.numberOfFreeResources=void 0,this.numberOfResources=e,this.numberOfFreeResources=e}var t=e.prototype;return t.acquire=function(){var e=this;return new Promise((function(t){e.numberOfFreeResources<=0?e.queue.push(t):(e.numberOfFreeResources-=1,t(e.numberOfFreeResources))}))},t.release=function(){var e=this.queue.pop();void 0===e?this.numberOfFreeResources+=1:e(this.numberOfFreeResources)},e}(),Tools=function(){function Tools(e){var t=this;this.$domNode=null,this.options=void 0,this.stringNormalizeDomNodeSelector=function(e){var r="";return t.options.domNodeSelectorPrefix&&(r=t.options.domNodeSelectorPrefix+" "),e.startsWith(r)||e.trim().startsWith("<")||(e=r+e),e.trim()},this.sendToExternalURL=function(e,r,n,o){void 0===n&&(n="post"),void 0===o&&(o=!0);var a=$("<iframe>").attr("name",t.options.name.charAt(0).toLowerCase()+t.options.name.substring(1)+""+(new Date).getTime()).hide();return t.$domNode&&t.$domNode.append(a),Tools.sendToIFrame(a,e,r,n,o),a},this._bindEventHelper=function(e,r,n){void 0===r&&(r=!1),n||(n=r?"off":"on");var o=$(e[0]);if("object"===Tools.determineType(e[1])&&!r){for(var a=0,i=Object.entries(e[1]);a<i.length;a++){var l=i[a],s=l[0],u=l[1];t[n](o,s,u)}return o}return 0===(e=Tools.arrayMake(e).slice(1)).length&&e.push(""),e[0].includes(".")||(e[0]+="."+t.options.name),o[n].apply(o,e)},e&&(this.$domNode=e),this.options=Tools._defaultOptions,$.global.console||($.global.console={});for(var r,n=_createForOfIteratorHelperLoose(ConsoleOutputMethods);!(r=n()).done;){var o=r.value;o in $.global.console||($.global.console[o]=Tools.noop)}}var _proto3=Tools.prototype,e;return _proto3.destructor=function(){var e;return null!=(e=$.fn)&&e.off&&this.off("*"),this},_proto3.initialize=function(e){return void 0===e&&(e={}),this.options=Tools.extend(!0,{},Tools._defaultOptions,e),this.options.domNodeSelectorPrefix=Tools.stringFormat(this.options.domNodeSelectorPrefix,Tools.stringCamelCaseToDelimited(null===this.options.domNodeSelectorInfix?"":this.options.domNodeSelectorInfix||this.options.name)),this.renderJavaScriptDependentVisibility(),this},Tools.controller=function(e,t,r){void 0===r&&(r=null),"function"==typeof e&&((e=new e(r))instanceof Tools||(e=Tools.extend(!0,new Tools,e)));var n,o=Tools.arrayMake(t);if(o.length&&"string"==typeof o[0]&&o[0]in e)return Tools.isFunction(e[o[0]])?(n=e)[o[0]].apply(n,o.slice(1)):e[o[0]];if(0===o.length||"object"==typeof o[0]){var a,i,l=(a=e).initialize.apply(a,o),s=e.options.name||e.constructor.name;return null!=(i=r)&&i.data&&!r.data(s)&&r.data(s,e),l}if(o.length&&"string"==typeof o[0])throw new Error('Method "'+o[0]+'" does not exist on $-extended dom node "'+e+'".')},Tools.dateTimeFormat=function(e,t,r,n){void 0===e&&(e="full"),void 0===t&&(t=new Date),void 0===r&&(r={}),void 0===n&&(n=Tools.locales),"number"==typeof t&&(t*=1e3);var o=new Date(t);if(["full","long","medium","short"].includes(e))return new Intl.DateTimeFormat([].concat(n,"en-US"),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({dateStyle:e,timeStyle:e},r)).format(o);for(var a,i={},l=_createForOfIteratorHelperLoose(["full","long","medium","short"]);!(a=l()).done;){var s=a.value;i[s+"Literals"]=[];var u=new Intl.DateTimeFormat([].concat(n,"en-US"),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({dateStyle:s,timeStyle:s},r));i[s]=u.format(o);for(var c,d=_createForOfIteratorHelperLoose(u.formatToParts(o));!(c=d()).done;){var f=c.value;"literal"===f.type?i[s+"Literals"].push(f.value):i[""+s+Tools.stringCapitalize(f.type)]=f.value}}var p=Tools.stringEvaluate("`"+e+"`",i);if(p.error)throw new Error(p.error);return p.result.replace(/\s/g," ")},Tools.isNumeric=function(e){var t=Tools.determineType(e);return["number","string"].includes(t)&&!isNaN(e-parseFloat(e))},Tools.isWindow=function(e){return![null,void 0].includes(e)&&"object"==typeof e&&e===(null==e?void 0:e.window)},Tools.isArrayLike=function(e){var t;try{t=Boolean(e)&&e.length}catch(e){return!1}var r=Tools.determineType(e);if("function"===r||Tools.isWindow(e))return!1;if("array"===r||0===t)return!0;if("number"==typeof t&&t>0)try{return e[t-1],!0}catch(e){}return!1},Tools.isAnyMatching=function(e,t){for(var r,n=_createForOfIteratorHelperLoose(t);!(r=n()).done;){var o=r.value;if("string"==typeof o){if(o===e)return!0}else if(o.test(e))return!0}return!1},Tools.isObject=function(e){return null!==e&&"object"==typeof e},Tools.isPlainObject=function(e){return null!==e&&"object"==typeof e&&Tools.plainObjectPrototypes.includes(Object.getPrototypeOf(e))},Tools.isSet=function(e){return"set"===Tools.determineType(e)},Tools.isMap=function(e){return"map"===Tools.determineType(e)},Tools.isProxy=function(e){return Boolean(e.__target__)},Tools.isFunction=function(e){return Boolean(e)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(e))},_proto3.log=function(e,t,r,n){if(void 0===t&&(t=!1),void 0===r&&(r=!1),void 0===n&&(n="info"),this.options.logging||t||["error","critical"].includes(n)){for(var o,a=arguments.length,i=new Array(a>4?a-4:0),l=4;l<a;l++)i[l-4]=arguments[l];if(r?o=e:"string"==typeof e?o=this.options.name+" ("+n+"): "+Tools.stringFormat.apply(Tools,[e].concat(i)):Tools.isNumeric(e)||"boolean"==typeof e?o=this.options.name+" ("+n+"): "+e.toString():(this.log(",--------------------------------------------,"),this.log(e,t,!0),this.log("'--------------------------------------------'")),o)if($.global.console&&n in $.global.console&&$.global.console[n]!==Tools.noop)$.global.console[n](o);else{var s;null!=(s=$.global.window)&&s.alert&&$.global.window.alert(o)}}},_proto3.info=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"info"].concat(r))},_proto3.debug=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"debug"].concat(r))},_proto3.error=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.log.apply(this,[e,!0,!1,"error"].concat(r))},_proto3.critical=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.log.apply(this,[e,!0,!1,"warn"].concat(r))},_proto3.warn=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"warn"].concat(r))},Tools.show=function(e,t,r){void 0===t&&(t=3),void 0===r&&(r=0);var n="";if("object"===Tools.determineType(e)){for(var o=0,a=Object.entries(e);o<a.length;o++){var i=a[o],l=i[0],s=i[1];n+=l.toString()+": ",n+=r<=t?Tools.show(s,t,r+1):""+s,n+="\n"}return n.trim()}return(n=(""+e).trim())+' (Type: "'+Tools.determineType(e)+'")'},Tools.deleteCookie=function(e){$.document&&($.document.cookie=e+"=; Max-Age=-99999999;")},Tools.getCookie=function(e){if($.document){for(var t,r=e+"=",n=_createForOfIteratorHelperLoose(decodeURIComponent($.document.cookie).split(";"));!(t=n()).done;){for(var o=t.value;o.startsWith(" ");)o=o.substring(1);if(o.startsWith(r))return o.substring(r.length,o.length)}return""}return null},Tools.setCookie=function(e,t,r){if(void 0===r&&(r={}),$.document){var n,o=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({domain:"",httpOnly:!1,minimal:!1,numberOfDaysUntilExpiration:365,path:"/",sameSite:"Lax",secure:!0},r),a=new Date;a.setTime(a.getTime()+24*o.numberOfDaysUntilExpiration*60*60*1e3),""===o.domain&&null!=(n=$.location)&&n.hostname&&(o.domain=$.location.hostname);var i=e+"="+t+(o.minimal?"":';Expires="'+a.toUTCString()+";Path="+o.path+";Domain="+o.domain+(o.sameSite?";SameSite="+o.sameSite:"")+(o.secure?";Secure":"")+(o.httpOnly?";HttpOnly":""));return $.document.cookie=i,!0}return!1},Tools.isEquivalentDOM=function(e,t,r){if(void 0===r&&(r=!1),e===t)return!0;if(e&&t){for(var n=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,o={first:e,second:t},a={first:$("<dummy>"),second:$("<dummy>")},i=0,l=Object.entries(o);i<l.length;i++){var s=l[i],u=s[0],c=s[1];if("string"==typeof c&&(r||c.startsWith("<")&&c.endsWith(">")&&c.length>=3||n.test(c)))a[u]=$("<div>"+c+"</div>");else try{var d=$(c).clone();if(!d.length)return!1;a[u]=$("<div>").append(d)}catch(e){return!1}}if(a.first.length&&a.first.length===a.second.length){a.first=a.first.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode,a.second=a.second.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode;for(var f=0,p=0,h=a.first;p<h.length;p++){if(!h[p].isEqualNode(a.second[f]))return!1;f+=1}return!0}}return!1},_proto3.getPositionRelativeToViewport=function(e){void 0===e&&(e={});var t=Tools.extend({bottom:0,left:0,right:0,top:0},e),r=this.$domNode;if($.global.window&&null!=r&&r.length&&r[0]&&"getBoundingClientRect"in r[0]){var n=$($.global.window),o=r[0].getBoundingClientRect();if(o){if(o.top&&o.top+t.top<0)return"above";if(o.left+t.left<0)return"left";var a=n.height();if("number"==typeof a&&a<o.bottom+t.bottom)return"below";var i=n.width();if("number"==typeof i&&i<o.right+t.right)return"right"}}return"in"},Tools.generateDirectiveSelector=function(e){var t=Tools.stringCamelCaseToDelimited(e);return t+", ."+t+", ["+t+"], [data-"+t+"], [x-"+t+"]"+(t.includes("-")?", ["+t.replace(/-/g,"\\:")+"], ["+t.replace(/-/g,"_")+"]":"")},_proto3.removeDirective=function(e){if(null===this.$domNode)return null;var t=Tools.stringCamelCaseToDelimited(e);return this.$domNode.removeClass(t).removeAttr(t).removeAttr("data-"+t).removeAttr("x-"+t).removeAttr(t.replace("-",":")).removeAttr(t.replace("-","_"))},_proto3.renderJavaScriptDependentVisibility=function(){!Tools._javaScriptDependentContentHandled&&$.document&&"filter"in $&&"hide"in $&&"show"in $&&($(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.hideJavaScriptEnabled).filter((function(e,t){return!$(t).data("javaScriptDependentContentHide")})).data("javaScriptDependentContentHide",!0).hide(),$(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.showJavaScriptEnabled).filter((function(e,t){return!$(t).data("javaScriptDependentContentShow")})).data("javaScriptDependentContentShow",!0).show(),Tools._javaScriptDependentContentHandled=!0)},Tools.getNormalizedDirectiveName=function(e){for(var t,r=_createForOfIteratorHelperLoose(["-",":","_"]);!(t=r()).done;){for(var n,o=t.value,a=!1,i=_createForOfIteratorHelperLoose(["data"+o,"x"+o]);!(n=i()).done;){var l=n.value;if(e.startsWith(l)){e=e.substring(l.length),a=!0;break}}if(a)break}for(var s,u=_createForOfIteratorHelperLoose(["-",":","_"]);!(s=u()).done;){var c=s.value;e=Tools.stringDelimitedToCamelCase(e,c)}return e},_proto3.getDirectiveValue=function(e){if(null===this.$domNode)return null;for(var t=Tools.stringCamelCaseToDelimited(e),r=0,n=[t,"data-"+t,"x-"+t,t.replace("-","\\:")];r<n.length;r++){var o=n[r],a=this.$domNode.attr(o);if("string"==typeof a)return a}return null},_proto3.sliceDomNodeSelectorPrefix=function(e){return this.options.domNodeSelectorPrefix&&e.startsWith(this.options.domNodeSelectorPrefix)?e.substring(this.options.domNodeSelectorPrefix.length).trim():e},Tools.getDomNodeName=function(e){var t=/^<?([a-zA-Z]+).*>?.*/.exec(e);return t?t[1]:null},_proto3.grabDomNodes=function(e,t){var r=this,n={};if(e)if(t)for(var o=$(t),a=0,i=Object.entries(e);a<i.length;a++){var l=i[a],s=l[0],u=l[1];n[s]=o.find(u)}else for(var c=0,d=Object.entries(e);c<d.length;c++){var f=d[c],p=f[0],h=f[1],v=/, */.exec(h);v&&(e[p]+=h.split(v[0]).map((function(e){return", "+r.stringNormalizeDomNodeSelector(e)})).join("")),n[p]=$(this.stringNormalizeDomNodeSelector(e[p]))}return this.options.domNodeSelectorPrefix&&(n.parent=$(this.options.domNodeSelectorPrefix)),$.global.window&&(n.window=$($.global.window),$.document&&(n.document=$($.document))),n},Tools.isolateScope=function(e,t){for(var r in void 0===t&&(t=[]),e)t.includes(r.charAt(0))||["constructor","prototype","this"].includes(r)||Object.prototype.hasOwnProperty.call(e,r)||(e[r]=void 0);return e},Tools.determineUniqueScopeName=function(e,t,r,n){if(void 0===e&&(e="callback"),void 0===t&&(t=""),void 0===r&&(r=$.global),void 0===n&&(n=""),n.length&&!(n in r))return n;for(var o=e+t;(o=e+""+Math.round(Math.random()*Math.pow(10,10))+t)in r;);return o},Tools.getParameterNames=function(e){var t=("string"==typeof e?e:e.toString()).replace(/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,"");if(t.startsWith("class"))return Tools.getParameterNames("function "+t.replace(/.*(constructor\([^)]+\))/m,"$1"));var r=/^function\s*[^(]*\(\s*([^)]*)\)/m.exec(t);null===r&&(r=/^[^(]*\(\s*([^)]*)\) *=>.*/m.exec(t)),null===r&&(r=/([^= ]+) *=>.*/m.exec(t));var n=[];if(r&&r.length>1&&r[1].trim().length){for(var o,a=_createForOfIteratorHelperLoose(r[1].split(","));!(o=a()).done;){var i=o.value;n.push(i.replace(/=.+$/g,"").trim())}return n}return n},Tools.identity=function(e){return e},Tools.invertArrayFilter=function(e){return function(t){if(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];var a=e.apply(void 0,[t].concat(n)),i=[];if(a.length)for(var l,s=_createForOfIteratorHelperLoose(t);!(l=s()).done;){var u=l.value;a.includes(u)||i.push(u)}else i=t;return i}return t}},Tools.timeout=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,o,a=Tools.noop,i=0,l=!1,s=0,u=t;s<u.length;s++){var c=u[s];"number"!=typeof c||isNaN(c)?"boolean"==typeof c?l=c:Tools.isFunction(c)&&(a=c):i=c}var d=new Promise((function(e,t){n=t,o=e})),f=function(){var e;(e=a).call.apply(e,[d].concat(t)),o(!1)},p=2147483647;if(i<=p)d.timeoutID=setTimeout(f,i);else{var h=Math.floor(i/p),v=i%p;!function e(){h>0?(h-=1,d.timeoutID=setTimeout(e,p)):d.timeoutID=setTimeout(f,v)}()}return d.clear=function(){d.timeoutID&&(clearTimeout(d.timeoutID),(l?n:o)(!0))},d},Tools.debounce=function(e,t){void 0===t&&(t=600);for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a,i,l=!1,s=null,u=new Promise((function(e,t){a=e,i=t}));return function(){for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];if(o=o.concat(n||[]),l)return s=o,u;l=!0;var d=u,f=a,p=i,h=e.apply(void 0,o);return null!=h&&h.then?h.then((function(e){return f(e)}),(function(e){return p(e)})):f(h),u=new Promise((function(r,n){a=r,i=n,Tools.timeout(t,(function(){if(l=!1,s){var t=e.apply(void 0,s);s=null,null!=t&&t.then?t.then((function(e){return r(e)}),(function(e){return n(e)})):r(t),u=new Promise((function(e,t){a=e,i=t}))}}))})),d}},_proto3.fireEvent=function(e,t,r){var n;void 0===t&&(t=!1),void 0===r&&(r=this);for(var o="on"+Tools.stringCapitalize(e),a=r,i=arguments.length,l=new Array(i>3?i-3:0),s=3;s<i;s++)l[s-3]=arguments[s];return t||(o in a?a[o].apply(a,l):"_"+o in a&&a["_"+o].apply(a,l)),!a.options||!(o in a.options)||a.options[o]===Tools.noop||(n=a.options[o]).call.apply(n,[this].concat(l))},_proto3.on=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this._bindEventHelper(t,!1)},_proto3.off=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this._bindEventHelper(t,!0)},Tools.addDynamicGetterAndSetter=function(e,t,r,n,o,a){if(void 0===t&&(t=null),void 0===r&&(r=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]=Tools.addDynamicGetterAndSetter(u,t,r,n,o),l+=1}else if(Tools.isMap(e))for(var c,d=_createForOfIteratorHelperLoose(e);!(c=d()).done;){var f=c.value,p=f[0],h=f[1];e.set(p,Tools.addDynamicGetterAndSetter(h,t,r,n,o))}else if(Tools.isSet(e)){for(var v,m=[],_=_createForOfIteratorHelperLoose(e);!(v=_()).done;){var g=v.value;e.delete(g),m.push(Tools.addDynamicGetterAndSetter(g,t,r,n,o))}for(var y=0,b=m;y<b.length;y++){var T=b[y];e.add(T)}}else if(null!==e)for(var E=0,w=Object.entries(e);E<w.length;E++){var S=w[E],A=S[0],C=S[1];e[A]=Tools.addDynamicGetterAndSetter(C,t,r,n,o)}if(t||r)for(var k,x,O=function(){var o=x.value;if(null!==e&&"object"==typeof e&&e instanceof o){var a=Tools.getProxyHandler(e,n),i=Tools.getProxyHandler(e,n);t&&(i.get=function(r,n){return"__target__"===n?e:"__revoke__"===n?function(){return u(),e}:"function"==typeof e[n]?e[n]:t(a.get(s,n),n,e)}),r&&(i.set=function(t,n,o){return a.set(s,n,r(n,o,e))});var l=Proxy.revocable({},i),s=l.proxy,u=l.revoke;return{v:s}}},P=_createForOfIteratorHelperLoose(a);!(x=P()).done;)if(k=O())return k.v;return e},Tools.convertCircularObjectToJSON=function(e,t,r){void 0===t&&(t=function(e){return null!=e?e:"__circularReference__"}),void 0===r&&(r=0);var n=new Map;return function(e){return JSON.stringify(e,(function e(r,o){if(null!==o&&"object"==typeof o){var a,i;if(n.has(o))return t(null!==(a=n.get(o))&&void 0!==a?a:null,r,o,n);if(n.set(o,null),Array.isArray(o)){i=[];for(var l,s=_createForOfIteratorHelperLoose(o);!(l=s()).done;){var u=l.value;i.push(e(null,u))}}else{i={};for(var c=0,d=Object.entries(o);c<d.length;c++){var f=d[c],p=f[0],h=f[1];i[p]=e(p,h)}}return n.set(o,i),i}return o}),r)}(e)},Tools.convertMapToPlainObject=function(e,t){if(void 0===t&&(t=!0),"object"==typeof e){if(Tools.isMap(e)){for(var r,n={},o=_createForOfIteratorHelperLoose(e);!(r=o()).done;){var a=r.value,i=a[0],l=a[1];t&&(l=Tools.convertMapToPlainObject(l,t)),["number","string"].includes(typeof i)&&(n[""+i]=l)}return n}if(t)if(Tools.isPlainObject(e))for(var s=0,u=Object.entries(e);s<u.length;s++){var c=u[s],d=c[0],f=c[1];e[d]=Tools.convertMapToPlainObject(f,t)}else if(Array.isArray(e))for(var p=0,h=0,v=e;h<v.length;h++){var m=v[h];e[p]=Tools.convertMapToPlainObject(m,t),p+=1}else if(Tools.isSet(e)){for(var _,g=[],y=_createForOfIteratorHelperLoose(e);!(_=y()).done;){var b=_.value;e.delete(b),g.push(Tools.convertMapToPlainObject(b,t))}for(var T=0,E=g;T<E.length;T++){var w=E[T];e.add(w)}}}return e},Tools.convertPlainObjectToMap=function(e,t){if(void 0===t&&(t=!0),"object"==typeof e){if(Tools.isPlainObject(e)){for(var r=new Map,n=0,o=Object.entries(e);n<o.length;n++){var a=o[n],i=a[0],l=a[1];t&&(e[i]=Tools.convertPlainObjectToMap(l,t)),r.set(i,e[i])}return r}if(t)if(Array.isArray(e))for(var s=0,u=0,c=e;u<c.length;u++){var d=c[u];e[s]=Tools.convertPlainObjectToMap(d,t),s+=1}else if(Tools.isMap(e))for(var f,p=_createForOfIteratorHelperLoose(e);!(f=p()).done;){var h=f.value,v=h[0],m=h[1];e.set(v,Tools.convertPlainObjectToMap(m,t))}else if(Tools.isSet(e)){for(var _,g=[],y=_createForOfIteratorHelperLoose(e);!(_=y()).done;){var b=_.value;e.delete(b),g.push(Tools.convertPlainObjectToMap(b,t))}for(var T=0,E=g;T<E.length;T++){var w=E[T];e.add(w)}}}return e},Tools.convertSubstringInPlainObject=function(e,t,r){for(var n=0,o=Object.entries(e);n<o.length;n++){var a=o[n],i=a[0],l=a[1];Tools.isPlainObject(l)?e[i]=Tools.convertSubstringInPlainObject(l,t,r):"string"==typeof l&&(e[i]=l.replace(t,r))}return e},Tools.copy=function(e,t,r,n,o,a,i){if(void 0===t&&(t=-1),void 0===r&&(r=ValueCopySymbol),void 0===n&&(n=null),void 0===o&&(o=!1),void 0===a&&(a=[]),void 0===i&&(i=0),null!==e&&"object"==typeof e)if(n){if(e===n)throw new Error("Can't copy because source and destination are identical.");if(!o&&![void 0,null].includes(e)){var l=a.indexOf(e);if(-1!==l)return a[l];a.push(e)}var s=function(e){if(-1!==t&&t<i+1)return r===ValueCopySymbol?e:r;var n=Tools.copy(e,t,r,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 u,c=_createForOfIteratorHelperLoose(e);!(u=c()).done;){var d=u.value;n.push(s(d))}else if(e instanceof Map)for(var f,p=_createForOfIteratorHelperLoose(e);!(f=p()).done;){var h=f.value,v=h[0],m=h[1];n.set(v,s(m))}else if(e instanceof Set)for(var _,g=_createForOfIteratorHelperLoose(e);!(_=g()).done;){var y=_.value;n.add(s(y))}else for(var b=0,T=Object.entries(e);b<T.length;b++){var E=T[b],w=E[0],S=E[1];try{n[w]=s(S)}catch(e){throw new Error('Failed to copy property value object "'+w+'": '+Tools.represent(e))}}}else if(e){if(Array.isArray(e))return Tools.copy(e,t,r,[],o,a,i);if(e instanceof Map)return Tools.copy(e,t,r,new Map,o,a,i);if(e instanceof Set)return Tools.copy(e,t,r,new Set,o,a,i);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){var A=/[^/]*$/.exec(e.toString());return(n=new RegExp(e.source,A?A[0]:void 0)).lastIndex=e.lastIndex,n}return"undefined"!=typeof Blob&&e instanceof Blob?e.slice(0,e.size,e.type):Tools.copy(e,t,r,{},o,a,i)}return n||e},Tools.determineType=function(e){if(void 0===e&&(e=void 0),[null,void 0].includes(e))return""+e;var t=typeof e;if(["function","object"].includes(t)&&e.toString){var r=Tools.classToTypeMapping.toString.call(e);if(Object.prototype.hasOwnProperty.call(Tools.classToTypeMapping,r))return Tools.classToTypeMapping[r]}return t},Tools.equals=function equals(firstValue,secondValue,givenOptions){void 0===givenOptions&&(givenOptions={});var options=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({compareBlobs:!1,deep:-1,exceptionPrefixes:[],ignoreFunctions:!0,properties:null,returnReasonIfNotEqual:!1},givenOptions);if(options.ignoreFunctions&&Tools.isFunction(firstValue)&&Tools.isFunction(secondValue)||firstValue===secondValue||Tools.numberIsNotANumber(firstValue)&&Tools.numberIsNotANumber(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")&&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 t=[],r=0,n=[firstValue,secondValue];r<n.length;r++){var o=n[r],a=new FileReader;a.onload=function(r){null===r.target?t.push(null):t.push(r.target.result),2===t.length&&(t[0]===t[1]?e(!0):e(!!options.returnReasonIfNotEqual&&">>> Blob("+Tools.represent(t[0])+") !== Blob("+Tools.represent(t[1])+")"))},a.readAsDataURL(o)}}));if(Tools.isPlainObject(firstValue)&&Tools.isPlainObject(secondValue)&&!(firstValue instanceof RegExp||secondValue instanceof RegExp)||Array.isArray(firstValue)&&Array.isArray(secondValue)&&firstValue.length===secondValue.length||Tools.determineType(firstValue)===Tools.determineType(secondValue)&&["map","set"].includes(Tools.determineType(firstValue))&&firstValue.size===secondValue.size){for(var promises=[],_i22=0,_arr6=[[firstValue,secondValue],[secondValue,firstValue]];_i22<_arr6.length;_i22++){var _arr6$_i=_arr6[_i22],first=_arr6$_i[0],second=_arr6$_i[1],firstIsArray=Array.isArray(first);if(firstIsArray&&(!Array.isArray(second)||first.length!==second.length))return!!options.returnReasonIfNotEqual&&".length";var firstIsMap=Tools.isMap(first);if(firstIsMap&&(!Tools.isMap(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";var firstIsSet=Tools.isSet(first);if(firstIsSet&&(!Tools.isSet(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";if(firstIsArray){for(var index=0,_loop2=function(){var e=_arr7[_i23];if(0!==options.deep){var t=Tools.equals(e,second[index],_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if(!t)return{v:!1};var r=index,n=function(e){var t;return"string"==typeof e?"["+r+"]"+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(null!=t&&t.then&&promises.push(t.then(n)),"string"==typeof t)return{v:n(t)}}index+=1},_ret2,_i23=0,_arr7=first;_i23<_arr7.length;_i23++)if(_ret2=_loop2(),_ret2)return _ret2.v}else if(firstIsMap){for(var _loop3=function(){var e=_step23.value,t=e[0],r=e[1];if(0!==options.deep){var n=Tools.equals(r,second.get(t),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if(!n)return{v:!1};var o=function(e){var r;return"string"==typeof e?"get("+Tools.represent(t)+")"+(null!==(r={"[":"",">":" "}[e[0]])&&void 0!==r?r:".")+e:e};if(null!=n&&n.then&&promises.push(n.then(o)),"string"==typeof n)return{v:o(n)}}},_ret3,_iterator23=_createForOfIteratorHelperLoose(first),_step23;!(_step23=_iterator23()).done;)if(_ret3=_loop3(),_ret3)return _ret3.v}else if(firstIsSet){for(var _loop4=function(){var e=_step24.value;if(0!==options.deep){for(var t,r=!1,n=[],o=_createForOfIteratorHelperLoose(second);!(t=o()).done;){var a=t.value,i=Tools.equals(e,a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if("boolean"==typeof i){if(i){r=!0;break}}else n.push(i)}var l=function(t){return!!t||!!options.returnReasonIfNotEqual&&">>> {-> "+Tools.represent(e)+" not found}"};return r?0:(n.length&&promises.push(new Promise((function(e){Promise.all(n).then((function(t){return e(l(t.some(Tools.identity)))}),Tools.noop)}))),{v:l(!1)})}},_ret4,_iterator24=_createForOfIteratorHelperLoose(first),_step24;!(_step24=_iterator24()).done;)if(_ret4=_loop4(),0!==_ret4&&_ret4)return _ret4.v}else for(var _loop5=function(){var e=_Object$entries13[_i24],t=e[0],r=e[1];if(options.properties&&!options.properties.includes(t))return 0;for(var n,o=!1,a=_createForOfIteratorHelperLoose(options.exceptionPrefixes);!(n=a()).done;){var i=n.value;if(t.toString().startsWith(i)){o=!0;break}}if(o)return 0;if(0!==options.deep){var l=Tools.equals(r,second[t],_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if(!l)return{v:!1};var s=function(e){var r;return"string"==typeof e?t+(null!==(r={"[":"",">":" "}[e[0]])&&void 0!==r?r:".")+e:e};if(null!=l&&l.then&&promises.push(l.then(s)),"string"==typeof l)return{v:s(l)}}},_ret5,_i24=0,_Object$entries13=Object.entries(first);_i24<_Object$entries13.length&&(_ret5=_loop5(),0!==_ret5);_i24++)if(_ret5)return _ret5.v}return!promises.length||new Promise((function(e){Promise.all(promises).then((function(t){for(var r,n=_createForOfIteratorHelperLoose(t);!(r=n()).done;){var o=r.value;if(!o||"string"==typeof o){e(o);break}}e(!0)}),Tools.noop)}))}return!!options.returnReasonIfNotEqual&&">>> "+Tools.represent(firstValue)+" !== "+Tools.represent(secondValue)},Tools.evaluateDynamicData=function(e,t,r,n,o){if(void 0===t&&(t={}),void 0===r&&(r="self"),void 0===n&&(n="__evaluate__"),void 0===o&&(o="__execute__"),"object"!=typeof e||null===e)return e;r in t||(t[r]=e);var a=function(e,r){void 0===r&&(r=n);var a=Tools.stringEvaluate(e,t,r===o);if(a.error)throw new Error(a.error);return a.result},i=function e(t){if(null!==t&&"object"==typeof t){if(Tools.isProxy(t)){for(var r=0,i=[n,o];r<i.length;r++){var l=i[r];if(Object.prototype.hasOwnProperty.call(t,l))return t[l]}t=t.__target__}for(var s=0,u=Object.entries(t);s<u.length;s++){var c=u[s],d=c[0],f=c[1];if([n,o].includes(d))return"undefined"==typeof Proxy?e(a(f)):f;t[d]=e(f)}}return t};if(t.resolve=i,null!==e&&"object"==typeof e){if(Object.prototype.hasOwnProperty.call(e,n))return a(e[n]);if(Object.prototype.hasOwnProperty.call(e,o))return a(e[o],o)}return function e(t){if(null!==t&&"object"==typeof t)for(var r=0,n=Object.entries(t);r<n.length;r++){var o=n[r],a=o[0],i=o[1];if("__target__"!==a&&null!==i&&["function","undefined"].includes(typeof i)){var l=i.__target__;void 0!==l&&(t[a]=l),e(i)}}return t}(i(function e(t){if("object"!=typeof t||null===t||"undefined"==typeof Proxy)return t;for(var r=0,l=Object.entries(t);r<l.length;r++){var s=l[r],u=s[0],c=s[1];if("__target__"!==u&&null!==c&&"object"==typeof c){var d=c;if(e(d),Object.prototype.hasOwnProperty.call(d,n)||Object.prototype.hasOwnProperty.call(d,o)){var f=d;t[u]=new Proxy(d,{get:function(e,t){if("__target__"===t)return e;if("hasOwnProperty"===t)return e[t];for(var r=0,l=[n,o];r<l.length;r++){var s=l[r];if(t===s&&"string"==typeof e[t])return i(a(e[t],s))}var u=i(e);if("toString"===t){var c=a(u);return c[t].bind(c)}if("string"!=typeof t){var d,f=a(u);return null!=(d=f[t])&&d.bind?f[t].bind(f):f[t]}for(var p=0,h=[n,o];p<h.length;p++){var v=h[p];if(Object.prototype.hasOwnProperty.call(e,v))return a(u,v)[t]}return u[t]},ownKeys:function(e){for(var t=0,r=[n,o];t<r.length;t++){var l=r[t];if(Object.prototype.hasOwnProperty.call(e,l))return Object.getOwnPropertyNames(i(a(e[l],l)))}return Object.getOwnPropertyNames(e)}}),t[u].__target__||(t[u].__target__=f)}}}return t}(e)))},Tools.removeKeysInEvaluation=function(e,t){void 0===t&&(t=["__evaluate__","__execute__"]);for(var r=0,n=Object.entries(e);r<n.length;r++){var o=n[r],a=o[0],i=o[1];!t.includes(a)&&t.some((function(t){return Object.prototype.hasOwnProperty.call(e,t)}))?delete e[a]:Tools.isPlainObject(i)&&Tools.removeKeysInEvaluation(i,t)}return e},Tools.extend=function(e,t){for(var r=!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===IgnoreNullAndUndefinedSymbol||"boolean"==typeof e?(r=e,i=t):(i=e,null!==t&&"object"==typeof t?l=[t].concat(l):void 0!==t&&(i=t));for(var s,u=function(e,t){return t===e?e:r&&t&&(Tools.isPlainObject(t)||Tools.isMap(t))?(n=Tools.isMap(t)?e&&Tools.isMap(e)?e:new Map:e&&Tools.isPlainObject(e)?e:{},Tools.extend(r,n,t)):t;var n},c=_createForOfIteratorHelperLoose(l);!(s=c()).done;){var d=s.value,f=typeof i,p=typeof d;if(Tools.isMap(i)&&(f+=" Map"),Tools.isMap(d)&&(p+=" Map"),f===p&&i!==d)if(Tools.isMap(i)&&Tools.isMap(d))for(var h,v=_createForOfIteratorHelperLoose(d);!(h=v()).done;){var m=h.value,_=m[0],g=m[1];i.set(_,u(i.get(_),g))}else if(null===i||Array.isArray(i)||"object"!=typeof i||null===d||Array.isArray(d)||"object"!=typeof d)i=d;else for(var y=0,b=Object.entries(d);y<b.length;y++){var T=b[y],E=T[0],w=T[1];r===IgnoreNullAndUndefinedSymbol&&[null,void 0].includes(w)||(i[E]=u(i[E],w))}else i=d}return i},Tools.getSubstructure=function(e,t,r,n){void 0===r&&(r=!0),void 0===n&&(n=".");for(var o,a=[],i=_createForOfIteratorHelperLoose([].concat(t));!(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 d=c.match(/(.*?)(\[[0-9]+\])/g);if(d)for(var f,p=_createForOfIteratorHelperLoose(d);!(f=p()).done;){var h=f.value,v=/(.*?)(\[[0-9]+\])/.exec(h),m=v[1],_=v[2];m&&a.push(m),a.push(_.substring(1,_.length-1))}else a.push(c)}}else a=a.concat(l)}for(var g,y=e,b=_createForOfIteratorHelperLoose(a);!(g=b()).done;){var T=g.value;if(null!==y&&"object"==typeof y){if("string"==typeof T&&Object.prototype.hasOwnProperty.call(y,T))y=y[T];else if(Tools.isFunction(T))y=T(y);else if(!r)return}else if(!r)return}return y},Tools.getProxyHandler=function(e,t){return void 0===t&&(t={}),t=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({delete:"[]",get:"[]",has:"[]",set:"[]"},t),{deleteProperty:function(r,n){return"[]"!==t.delete||"string"!=typeof n?e[t.delete](n):(delete e[n],!0)},get:function(r,n){return"[]"===t.get&&"string"==typeof n?e[n]:e[t.get](n)},has:function(r,n){return"[]"===t.has?n in e:e[t.has](n)},set:function(r,n,o){return"[]"!==t.set||"string"!=typeof n?e[t.set](n,o):(e[n]=o,!0)}}},Tools.mask=function(e,t){if(!0===(t=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({exclude:!1,include:!0},t)).exclude||!1===t.include||"object"!=typeof e)return{};var r={};if(Tools.isPlainObject(t.include))for(var n=0,o=Object.entries(t.include);n<o.length;n++){var a=o[n],i=a[0],l=a[1];Object.prototype.hasOwnProperty.call(e,i)&&(!0===l?r[i]=e[i]:Tools.isPlainObject(l)&&"object"==typeof e[i]&&(r[i]=Tools.mask(e[i],{include:l})))}else r=e;if(Tools.isPlainObject(t.exclude)){for(var s=!1,u=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},r),c=0,d=Object.entries(t.exclude);c<d.length;c++){var f=d[c],p=f[0],h=f[1];if(Object.prototype.hasOwnProperty.call(u,p))if(!0===h)s=!0,delete u[p];else if(Tools.isPlainObject(h)&&"object"==typeof u[p]){var v=u[p];u[p]=Tools.mask(u[p],{exclude:h}),u[p]!==v&&(s=!0)}}s&&(r=u)}return r},Tools.modifyObject=function(e,t,r,n,o,a,i,l,s){if(void 0===r&&(r="__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),Tools.isMap(t)&&Tools.isMap(e))for(var u,c=_createForOfIteratorHelperLoose(t);!(u=c()).done;){var d=u.value,f=d[0],p=d[1];e.has(f)&&Tools.modifyObject(e.get(f),p,r,n,o,a,i,t,f)}else if(null!==t&&"object"==typeof t&&null!==e&&"object"==typeof e)for(var h=0,v=Object.entries(t);h<v.length;h++){var m=v[h],_=m[0],g=m[1],y=NaN;if(Array.isArray(e)&&_.startsWith(a)&&_.endsWith(i)&&((y=parseInt(_.substring(a.length,_.length-i.length),10))<0||y>=e.length)&&(y=NaN),[r,n,o].includes(_)||!isNaN(y)){if(Array.isArray(e))if(_===r)for(var b,T=_createForOfIteratorHelperLoose([].concat(g));!(b=T()).done;){var E=b.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 _===o?e=e.concat(g):_===n?e=[].concat(g).concat(e):null!==e[y]&&"object"==typeof e[y]&&null!==g&&"object"==typeof g?Tools.extend(!0,Tools.modifyObject(e[y],g,r,n,o,a,i),e[y],g):e[y]=g;else if(_===r)for(var w,S=_createForOfIteratorHelperLoose([].concat(g));!(w=S()).done;){var A=w.value;"string"==typeof A&&Object.prototype.hasOwnProperty.call(e,A)&&delete e[A]}delete t[_],l&&"string"==typeof s&&delete l[s]}else null!==e&&Object.prototype.hasOwnProperty.call(e,_)&&(e[_]=Tools.modifyObject(e[_],g,r,n,o,a,i,t,_))}return e},Tools.normalizeDateTime=function(e,t){void 0===e&&(e=null);var r=Boolean(t);if(null===e)return new Date;if("string"==typeof e){if(/^.*(?:(?:[0-9]{1,4}[^0-9]){2}|[0-9]{1,4}[^0-9.]).*$/.test(e))return Tools.stringInterpretDateTime(e,r);var n=parseFloat(e);""+n===e&&(e=n)}if("number"==typeof e)return[null,void 0].includes(t)&&(r=!0),new Date(1e3*(e+(r?0:60*(new Date).getTimezoneOffset())));var o=new Date(e);return isNaN(o.getDate())?null:o},Tools.removeKeyPrefixes=function(e,t){void 0===t&&(t="#");var r=[].concat(t);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(r);!(s=u()).done;){var c=s.value;if(i.startsWith(c+":")){e.splice(o,1),l=!0;break}}if(l)continue}e[o]=Tools.removeKeyPrefixes(i,r),o+=1}else if(Tools.isSet(e))for(var d,f=_createForOfIteratorHelperLoose(new Set(e));!(d=f()).done;){var p=d.value,h=!1;if("string"==typeof p){for(var v,m=_createForOfIteratorHelperLoose(r);!(v=m()).done;){var _=v.value;if(p.startsWith(_+":")){e.delete(p),h=!0;break}}if(h)continue}Tools.removeKeyPrefixes(p,r)}else if(Tools.isMap(e))for(var g,y=_createForOfIteratorHelperLoose(new Map(e));!(g=y()).done;){var b=g.value,T=b[0],E=b[1],w=!1;if("string"==typeof T){for(var S,A=_createForOfIteratorHelperLoose(r);!(S=A()).done;){var C=S.value,k=Tools.stringEscapeRegularExpressions(C);if(new RegExp("^"+k+"[0-9]*$").test(T)){e.delete(T),w=!0;break}}if(w)continue}e.set(T,Tools.removeKeyPrefixes(E,r))}else if(null!==e&&"object"==typeof e)for(var x=0,O=Object.entries(Object.assign({},e));x<O.length;x++){for(var P,I=O[x],R=I[0],N=I[1],D=!1,M=_createForOfIteratorHelperLoose(r);!(P=M()).done;){var L=P.value,j=Tools.stringEscapeRegularExpressions(L);if(new RegExp("^"+j+"[0-9]*$").test(R)){delete e[R],D=!0;break}}D||(e[R]=Tools.removeKeyPrefixes(N,r))}return e},Tools.represent=function(e,t,r,n,o){if(void 0===t&&(t=" "),void 0===r&&(r=""),void 0===n&&(n="__maximum_number_of_levels_reached__"),void 0===o&&(o=8),0===o)return""+n;if(null===e)return"null";if(void 0===e)return"undefined";if("string"==typeof e)return'"'+e.replace(/\n/g,"\n"+r)+'"';if(Tools.isNumeric(e)||"boolean"==typeof e)return""+e;if(Array.isArray(e)){for(var a,i="[",l=!1,s=_createForOfIteratorHelperLoose(e);!(a=s()).done;){var u=a.value;l&&(i+=","),i+="\n"+r+t+Tools.represent(u,t,""+r+t,n,o-1),l=!0}return l&&(i+="\n"+r),i+"]"}if(Tools.isMap(e)){for(var c,d="",f=!1,p=_createForOfIteratorHelperLoose(e);!(c=p()).done;){var h=c.value,v=h[0],m=h[1];f&&(d+=",\n"+r+t),d+=Tools.represent(v,t,""+r+t,n,o-1)+" -> "+Tools.represent(m,t,""+r+t,n,o-1),f=!0}return f||(d="EmptyMap"),d}if(Tools.isSet(e)){for(var _,g="{",y=!1,b=_createForOfIteratorHelperLoose(e);!(_=b()).done;){var T=_.value;y&&(g+=","),g+="\n"+r+t+Tools.represent(T,t,""+r+t,n,o-1),y=!0}return y?g+="\n"+r+"}":g="EmptySet",g}if(Tools.isFunction(e))return"__function__";for(var E,w="{",S=!1,A=_createForOfIteratorHelperLoose(Object.getOwnPropertyNames(e).sort());!(E=A()).done;){var C=E.value;S&&(w+=","),w+="\n"+r+t+C+": "+Tools.represent(e[C],t,""+r+t,n,o-1),S=!0}return S&&(w+="\n"+r),w+"}"},Tools.sort=function(e){var t=[];if(Array.isArray(e))for(var r=0;r<e.length;r++)t.push(r);else if("object"==typeof e)if(Tools.isMap(e))for(var n,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var a=n.value;t.push(a[0])}else if(null!==e)for(var i=0,l=Object.keys(e);i<l.length;i++){var s=l[i];t.push(s)}return t.sort()},Tools.unwrapProxy=function(e,t){if(void 0===t&&(t=new Set),null!==e&&"object"==typeof e){if(t.has(e))return e;try{Tools.isFunction(e.__revoke__)&&(Tools.isProxy(e)&&(e=e.__target__),e.__revoke__())}catch(t){return e}finally{t.add(e)}if(Array.isArray(e))for(var r,n=0,o=_createForOfIteratorHelperLoose(e);!(r=o()).done;){var a=r.value;e[n]=Tools.unwrapProxy(a,t),n+=1}else if(Tools.isMap(e))for(var i,l=_createForOfIteratorHelperLoose(e);!(i=l()).done;){var s=i.value,u=s[0],c=s[1];e.set(u,Tools.unwrapProxy(c,t))}else if(Tools.isSet(e)){for(var d,f=[],p=_createForOfIteratorHelperLoose(e);!(d=p()).done;){var h=d.value;e.delete(h),f.push(Tools.unwrapProxy(h,t))}for(var v=0,m=f;v<m.length;v++){var _=m[v];e.add(_)}}else for(var g=0,y=Object.entries(e);g<y.length;g++){var b=y[g],T=b[0],E=b[1];e[T]=Tools.unwrapProxy(E,t)}}return e},Tools.arrayAggregatePropertyIfEqual=function(e,t,r){void 0===r&&(r="");var n=r;if(Array.isArray(e)&&e.length&&Object.prototype.hasOwnProperty.call(e[0],t)){n=e[0][t];for(var o,a=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(o=a()).done;)if(o.value[t]!==n)return r}return n},Tools.arrayDeleteEmptyItems=function(e,t){void 0===t&&(t=[]);for(var r,n=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(r=o()).done;){for(var a=r.value,i=!0,l=0,s=Object.entries(a);l<s.length;l++){var u=s[l],c=u[0],d=u[1];if(!["",null,void 0].includes(d)&&(!t.length||Tools.arrayMake(t).includes(c))){i=!1;break}}i||n.push(a)}return n},Tools.arrayExtract=function(e,t){for(var r,n=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(r=o()).done;){for(var a,i=r.value,l={},s=_createForOfIteratorHelperLoose(Tools.arrayMake(t));!(a=s()).done;){var u=a.value;Object.prototype.hasOwnProperty.call(i,u)&&(l[u]=i[u])}n.push(l)}return n},Tools.arrayExtractIfMatches=function(e,t){if(!t)return Tools.arrayMake(e);for(var r,n=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(r=o()).done;){var a=r.value;("string"==typeof t?new RegExp(t):t).test(a)&&n.push(a)}return n},Tools.arrayExtractIfPropertyExists=function(e,t){if(e&&t){for(var r,n=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(r=o()).done;){for(var a=r.value,i=!1,l=0,s=Object.entries(a);l<s.length;l++){var u=s[l],c=u[0],d=u[1];if(c===t&&![null,void 0].includes(d)){i=!0;break}}i&&n.push(a)}return n}return e},Tools.arrayExtractIfPropertyMatches=function(e,t){if(e&&t){for(var r,n=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(r=o()).done;){var a=r.value,i=!0;for(var l in t)if(!t[l]||!("string"==typeof t[l]?new RegExp(t[l]):t[l]).test(a[l])){i=!1;break}i&&n.push(a)}return n}return e},Tools.arrayIntersect=function(e,t,r,n){void 0===r&&(r=[]),void 0===n&&(n=!0);var o=[];t=Tools.arrayMake(t);for(var a,i=function(e,t,r,o,a,i){if(i?a&&(r=o):o=r,t[o]!==e[r]&&(n||![null,void 0].includes(t[o])||![null,void 0].includes(e[r])))return!1},l=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(a=l()).done;){var s=a.value;if(Tools.isPlainObject(s))for(var u=0,c=t;u<c.length;u++){var d=c[u],f=!0,p=void 0,h=Array.isArray(r);if(Tools.isPlainObject(r)||h&&r.length?p=!0:(p=!1,r=s),Array.isArray(r))for(var v,m=0,_=_createForOfIteratorHelperLoose(r);!(v=_()).done;){if(!1===i(s,d,m,v.value,h,p)){f=!1;break}m+=1}else for(var g=0,y=Object.entries(r);g<y.length;g++){var b=y[g];if(!1===i(s,d,b[0],b[1],h,p)){f=!1;break}}if(f){o.push(s);break}}else t.includes(s)&&o.push(s)}return o},Tools.arrayMake=function(e){var t=[];return[null,void 0].includes(e)||(Tools.isArrayLike(Object(e))?Tools.arrayMerge(t,"string"==typeof e?[e]:e):t.push(e)),t},Tools.arrayMakeRange=function(e,t,r){var n,o;if(void 0===t&&(t=1),void 0===r&&(r=!1),1===(e=[].concat(e)).length)n=0,o=parseInt(""+e[0],10);else{if(2!==e.length)return e;n=parseInt(""+e[0],10),o=parseInt(""+e[1],10)}if(o<n)return[];for(var a=[n];n<=o-t;)n+=t,(!r||n<=o-t)&&a.push(n);return a},Tools.arrayMerge=function(e,t){Array.isArray(t)||(t=Array.prototype.slice.call(t));for(var r,n=_createForOfIteratorHelperLoose(t);!(r=n()).done;){var o=r.value;e.push(o)}return e},Tools.arrayPaginate=function(e){void 0===e&&(e={});var t=e,r=t.boundaryCount,n=void 0===r?1:r,o=t.disabled,a=void 0!==o&&o,i=t.hideNextButton,l=void 0!==i&&i,s=t.hidePrevButton,u=void 0!==s&&s,c=t.page,d=void 0===c?1:c,f=t.pageSize,p=void 0===f?5:f,h=t.showFirstButton,v=void 0!==h&&h,m=t.showLastButton,_=void 0!==m&&m,g=t.siblingCount,y=void 0===g?4:g,b=t.total,T=void 0===b?100:b,E="number"!=typeof p||isNaN(p)?T:Math.ceil(T/p),w=Tools.arrayMakeRange([1,Math.min(n,E)]),S=Tools.arrayMakeRange([Math.max(E-n+1,n+1),E]),A=Math.max(Math.min(d-y,E-n-2*y-1),n+2),C=Math.min(Math.max(d+y,n+2*y+2),S.length>0?S[0]-2:E-1);return[].concat(v?["first"]:[],u?[]:["previous"],w,A>n+2?["start-ellipsis"]:n+1<E-n?[n+1]:[],Tools.arrayMakeRange([A,C]),C<E-n-1?["end-ellipsis"]:E-n>n?[E-n]:[],S,l?[]:["next"],_?["last"]:[]).map((function(e){var t;return"number"==typeof e?{disabled:a,page:e,selected:e===d,type:"page"}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({disabled:a||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?d>=E:d<=1),selected:!1,type:e},e.endsWith("-ellipsis")?{}:{page:(null!==(t={first:1,last:E}[e])&&void 0!==t?t:"next"===e)?Math.min(d+1,E):Math.max(d-1,1)})}))},Tools.arrayPermutate=function(e){var t=[];return function e(r,n){if(void 0===n&&(n=[]),0===r.length)t.push(n);else for(var o=0;o<r.length;o++){var a=r.slice();e(a,n.concat(a.splice(o,1)))}}(e),t},Tools.arrayPermutateLength=function(e,t){void 0===t&&(t=1);var r=[];if(0===e.length)return r;for(var n=function e(t,n,o){if(0!==t)for(var a=0;a<n.length;a++)e(t-1,n.slice(a+1),o.concat([n[a]]));else o.length>0&&(r[r.length]=o)},o=t;o<e.length;o++)n(o,e,[]);return r.push(e),r},Tools.arraySumUpProperty=function(e,t){var r=0;if(Array.isArray(e)&&e.length)for(var n,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(a,t)&&(r+=parseFloat(a[t]||0))}return r},Tools.arrayAppendAdd=function(e,t,r,n){return void 0===n&&(n=!0),Object.prototype.hasOwnProperty.call(e,r)?n&&e[r].includes(t)||e[r].push(t):e[r]=[t],e},Tools.arrayRemove=function(e,t,r){void 0===r&&(r=!1);var n=e.indexOf(t);if(-1===n){if(r)throw new Error("Given target doesn't exists in given list.")}else e.splice(n,1);return e},Tools.arraySortTopological=function(e){for(var t=[],r=0,n=Object.entries(e);r<n.length;r++){var o=n[r],a=o[0],i=o[1];if(e[a]=[].concat(i),i.length>0)for(var l,s=_createForOfIteratorHelperLoose(Tools.arrayMake(i));!(l=s()).done;){var u=l.value;t.push([a,u])}else t.push([a])}for(var c=[],d=0,f=t;d<f.length;d++)for(var p,h=_createForOfIteratorHelperLoose(f[d]);!(p=h()).done;){var v=p.value;c.includes(v)||c.push(v)}for(var m=[],_=function e(r,n){if(0!==n.length&&n.includes(r))throw new Error('Cyclic dependency found. "'+r+'" is dependent of itself.\nDependency chain: "'+n.join('" -> "')+'" => "'+r+'".');var o=c.indexOf(r);if(-1!==o){var a;c[o]=null;for(var i=0,l=t;i<l.length;i++){var s=l[i];s[0]===r&&(a=a||n.concat([r]),e(s[1],a))}m.push(r)}},g=0;g<c.length;g++){var y=c[g];if(y){c[g]=null;for(var b,T=_createForOfIteratorHelperLoose(t);!(b=T()).done;){var E=b.value;E[0]===y&&_(E[1],[y])}m.push(y)}}return m},Tools.arrayUnique=function(e){for(var t,r=[],n=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(t=n()).done;){var o=t.value;r.includes(o)||r.push(o)}return r},Tools.stringEscapeRegularExpressions=function(e,t){if(void 0===t&&(t=[]),1===e.length&&!Tools.specialRegexSequences.includes(e))return e;t.includes("\\")||e.replace(/\\/g,"\\\\");for(var r,n=_createForOfIteratorHelperLoose(Tools.specialRegexSequences);!(r=n()).done;){var o=r.value;t.includes(o)||(e=e.replace(new RegExp("\\"+o,"g"),"\\"+o))}return e},Tools.stringConvertToValidVariableName=function(e,t){return void 0===t&&(t="0-9a-zA-Z_$"),["class","default"].includes(e)?"_"+e:e.toString().replace(/^[^a-zA-Z_$]+/,"").replace(new RegExp("[^"+t+"]+([a-zA-Z0-9])","g"),(function(e,t){return t.toUpperCase()}))},Tools.stringEncodeURIComponent=function(e,t){return void 0===t&&(t=!1),encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")},Tools.stringAddSeparatorToPath=function(e,t){return void 0===t&&(t="/"),(e=e.trim()).substr(-1)!==t&&e.length?e+t:e},Tools.stringHasPathPrefix=function(e,t,r){var n;return void 0===e&&(e="/admin"),void 0===t&&(t=(null==(n=$.location)?void 0:n.pathname)||""),void 0===r&&(r="/"),"string"==typeof e&&(e.endsWith(r)||(e+=r),t===e.substring(0,e.length-r.length)||t.startsWith(e))},Tools.stringGetDomainName=function(e,t){var r,n;void 0===e&&(e=(null==(r=$.location)?void 0:r.href)||""),void 0===t&&(t=(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]:t},Tools.stringGetPortNumber=function(e,t){var r,n,o;void 0===e&&(e=(null==(n=$.location)?void 0:n.href)||""),void 0===t&&(t=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!==t?t:null!=(r=$.location)&&r.port&&parseInt($.location.port,10)?parseInt($.location.port,10):"https"===Tools.stringGetProtocolName(e)?443:80},Tools.stringGetProtocolName=function(e,t){var r,n;void 0===e&&(e=(null==(r=$.location)?void 0:r.href)||""),void 0===t&&(t=(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]:t},Tools.stringGetURLParameter=function(e,t,r,n,o,a,i){var l,s,u;void 0===e&&(e=null),void 0===t&&(t=!1),void 0===r&&(r=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:"#",d="";if(a)d=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 h=f.indexOf("?");-1!==h&&(d=f.substring(h))}else $.location&&(d=$.location.search||"");var v=r||d,m="&"===v;if(m||"#"===v){var _="";try{_=decodeURIComponent(c)}catch(e){}var g=_.indexOf(n);-1===g?v="":(v=_.substring(g)).startsWith(n)&&(v=v.substring(n.length))}else v.startsWith("?")&&(v=v.substring(1));var y=v?v.split("&"):[];d=d.substring(1),m&&d&&(y=y.concat(d.split("&")));for(var b,T=[],E=_createForOfIteratorHelperLoose(y);!(b=E()).done;){var w=b.value,S=w.split("="),A=void 0;try{A=decodeURIComponent(S[0])}catch(e){A=""}try{w=decodeURIComponent(S[1])}catch(e){w=""}T.push(A),t?Object.prototype.hasOwnProperty.call(T,A)&&Array.isArray(T[A])?T[A].push(w):T[A]=[w]:T[A]=w}return e?Object.prototype.hasOwnProperty.call(T,e)?T[e]:null:T},Tools.stringServiceURLEquals=function(e,t){var r;void 0===t&&(t=(null==(r=$.location)?void 0:r.href)||"");var n=Tools.stringGetDomainName(e,""),o=Tools.stringGetProtocolName(e,""),a=Tools.stringGetPortNumber(e);return!(""!==n&&n!==Tools.stringGetDomainName(t)||""!==o&&o!==Tools.stringGetProtocolName(t)||null!==a&&a!==Tools.stringGetPortNumber(t))},Tools.stringNormalizeURL=function(e){return"string"==typeof e?(e=e.replace(/^:?\/+/,"").replace(/\/+$/,"").trim()).startsWith("http")?e:"http://"+e:""},Tools.stringRepresentURL=function(e){return"string"==typeof e?e.replace(/^(https?)?:?\/+/,"").replace(/\/+$/,"").trim():""},Tools.stringCamelCaseToDelimited=function(e,t,r){void 0===t&&(t="-"),void 0===r&&(r=null),r||(r=Tools.abbreviations);var n=Tools.stringMaskForRegularExpression(t);if(r.length){for(var o,a="",i=_createForOfIteratorHelperLoose(r);!(o=i()).done;)a&&(a+="|"),a+=o.value.toUpperCase();e=e.replace(new RegExp("("+a+")("+a+")","g"),"$1"+t+"$2")}return(e=e.replace(new RegExp("([^"+n+"])([A-Z][a-z]+)","g"),"$1"+t+"$2")).replace(/([a-z0-9])([A-Z])/g,"$1"+t+"$2").toLowerCase()},Tools.stringCapitalize=function(e){return e.charAt(0).toUpperCase()+e.substring(1)},Tools.stringCompressStyleValue=function(e){return e.replace(/ *([:;]) */g,"$1").replace(/ +/g," ").replace(/^;+/,"").replace(/;+$/,"").trim()},Tools.stringDecodeHTMLEntities=function(e){if($.document){var t=$.document.createElement("textarea");return t.innerHTML=e,t.value}return null},Tools.stringDelimitedToCamelCase=function(e,t,r,n,o){void 0===t&&(t="-"),void 0===r&&(r=null),void 0===n&&(n=!1),void 0===o&&(o=!1);var a,i=Tools.stringMaskForRegularExpression(t);if(r||(r=Tools.abbreviations),n)a=r.join("|");else{a="";for(var l,s=_createForOfIteratorHelperLoose(r);!(l=s()).done;){var u=l.value;a&&(a+="|"),a+=Tools.stringCapitalize(u)+"|"+u}}var c=e.startsWith(t);return c&&(e=e.substring(t.length)),e=e.replace(new RegExp("("+i+")("+a+")("+i+"|$)","g"),(function(e,t,r,n){return t+r.toUpperCase()+n})),o&&(i="(?:"+i+")+"),e=e.replace(new RegExp(i+"([a-zA-Z0-9])","g"),(function(e,t){return t.toUpperCase()})),c&&(e=t+e),e},Tools.stringCompile=function(e,t,r){var n,o;void 0===t&&(t=[]),void 0===r&&(r=!1);for(var a,i={error:null,originalScopeNames:Array.isArray(t)?t:"string"==typeof t?[t]:Object.keys(t),scopeNameMapping:{},scopeNames:[],templateFunction:function(){return null}},l=_createForOfIteratorHelperLoose(i.originalScopeNames);!(a=l()).done;){var s=a.value,u=Tools.stringConvertToValidVariableName(s);i.scopeNameMapping[s]=u,i.scopeNames.push(u)}if(0!==Tools.maximalSupportedInternetExplorerVersion)if(null!=(n=$.global.Babel)&&n.transform)e=null==(o=$.global.Babel)?void 0:o.transform("("+e+")",{plugins:["transform-template-literals"]}).code;else if(e.startsWith("`")&&e.endsWith("`")){var c="####",d="`"===(e=e.replace(/\\\$/g,c).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(c,"g"),"\\$")}try{i.templateFunction=_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default()(Function,i.scopeNames.concat([(r?"":"return ")+e]))}catch(t){i.error='Given expression "'+e+'" could not be compiled with given scope names "'+i.scopeNames.join('", "')+'": '+Tools.represent(t)}return i},Tools.stringEvaluate=function(e,t,r,n){void 0===t&&(t={}),void 0===r&&(r=!1);var o=Tools.stringCompile(e,t,r),a=o.error,i=o.originalScopeNames,l=o.scopeNames,s=o.templateFunction,u={compileError:null,error:null,result:null,runtimeError:null};if(a)return u.compileError=u.error=a,u;try{u.result=(n?s.bind(n):s).apply(void 0,i.map((function(e){return t[e]})))}catch(a){u.error=u.runtimeError='Given expression "'+e+'" could not be evaluated with given scope names "'+l.join('", "')+'": '+Tools.represent(a)}return u},Tools.stringFindNormalizedMatchRange=function(e,t,r,n){void 0===r&&(r=function(e){return(""+e).toLowerCase()}),void 0===n&&(n=["<",">"]);var o=r(t),a=r(e),i="string"==typeof e?e:a;if(a&&o)for(var l=!1,s=0;s<i.length;s+=1)if(l)i.charAt(s)===n[1]&&(l=!1);else if(Array.isArray(n)&&i.charAt(s)===n[0])l=!0;else if(r(i.substring(s)).startsWith(o)){if(1===o.length)return[s,s+1];for(var u=i.length;u>s;u-=1)if(!r(i.substring(s,u)).startsWith(o))return[s,u+1]}return null},Tools.stringFixKnownEncodingErrors=function(e){for(var t=0,r=Object.entries({"Ã\\x84":"Ä","Ã\\x96":"Ö","Ã\\x9c":"Ü","ä":"ä","ö":"ö","ü":"ü","Ã\\x9f":"ß","\\x96":"-"});t<r.length;t++){var n=r[t],o=n[0],a=n[1];e=e.replace(new RegExp(o,"g"),a)}return e},Tools.stringFormat=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];r.unshift(e);for(var o=0,a=0,i=r;a<i.length;a++){var l=i[a];e=e.replace(new RegExp("\\{"+o+"\\}","gm"),""+l),o+=1}return e},Tools.stringGetEditDistance=function(e,t){for(var r=Array(t.length+1).fill(null).map((function(){return Array(e.length+1).fill(null)})),n=0;n<=e.length;n++)r[0][n]=n;for(var o=0;o<=t.length;o++)r[o][0]=o;for(var a=1;a<=t.length;a++)for(var i=1;i<=e.length;i++){var l=e[i-1]===t[a-1]?0:1;r[a][i]=Math.min(r[a][i-1]+1,r[a-1][i]+1,r[a-1][i-1]+l)}return r[t.length][e.length]},Tools.stringMaskForRegularExpression=function(e){return e.replace(/([\\|.*$^+[\]()?\-{}])/g,"\\$1")},Tools.stringInterpretDateTime=function(e,t){var r=Boolean(t),n="[0-2][0-9]:[0-6][0-9]",o="^[0-9]{4}-[01][0-9]-[0-3][0-9](?<time>(?:T"+n+"(?::[0-6][0-9](?:\\.[0-9]+)?)?(?<dateTimeTimezone>Z|(?:[+-]"+n+"))?)|(?<dateTimezone>Z|(?:[+-]"+n+")))?$",a=e.match(new RegExp(o,"i"));if(a){var i,l,s,u,c,d=new Date(e);return isNaN(d.getDate())?null:(null!==(i=null==(l=a.groups)?void 0:l.dateTimeTimezone)&&void 0!==i?i:null==(s=a.groups)?void 0:s.dateTimezone)?d:([null,void 0].includes(t)&&(r=!1),r?null!=(c=a.groups)&&c.time?new Date(d.getTime()-60*(new Date).getTimezoneOffset()*1e3):d:null!=(u=a.groups)&&u.time?d:new Date(d.getTime()+60*(new Date).getTimezoneOffset()*1e3))}if(e=e.replace(/^(-?)-*0*([1-9][0-9]*)$/,"$1$2"),""+parseInt(e)===e)return[null,void 0].includes(t)&&(r=!0),new Date(1e3*(parseInt(e)+(r?0:60*(new Date).getTimezoneOffset())));if(!Tools._dateTimePatternCache.length)for(var f,p="(?:0?[0-9])|(?:[1-5][0-9])|(?:60)",h="(?<second>"+p+")",v="(?<minute>"+p+")",m="(?<hour>(?:0?[0-9])|(?:1[0-9])|(?:2[0-4]))",_="(?<day>(?:0?[1-9])|(?:[1-2][0-9])|(?:3[01]))",g="(?<month>(?:0?[1-9])|(?:1[0-2]))",y="(?<year>(?:0?[1-9])|(?:[1-9][0-9]+))",b={},T=_createForOfIteratorHelperLoose(["t"," "]);!(f=T()).done;)for(var E,w=f.value,S=_createForOfIteratorHelperLoose([":","/","-"," "]);!(E=S()).done;)for(var A=E.value,C=0,k=[m+(A+"+")+v,m+(A+"+")+v+A+"+"+h,m+(A+"+")+v+A+"+"+h+A+"+(?<millisecond>(?:0{0,3}[0-9])|(?:0{0,2}[1-9]{2})|(?:0?[1-9]{3})|(?:1[1-9]{3}))",m];C<k.length;C++)for(var x=k[C],O=0,P=[{delimiter:["/","-"," "],pattern:[g+"${delimiter}"+_+"${delimiter}"+y,g+"${delimiter}"+_+" +"+y,y+"${delimiter}"+g+"${delimiter}"+_,y+" +"+g+"${delimiter}"+_,g+"${delimiter}"+_+"${delimiter}"+y+w+"+"+x,g+"${delimiter}"+_+" +"+y+w+"+"+x,x+(w+"+")+g+"${delimiter}"+_+"${delimiter}"+y,x+(w+"+")+g+"${delimiter}"+_+" +"+y,y+"${delimiter}"+g+"${delimiter}"+_+w+"+"+x,y+" +"+g+"${delimiter}"+_+w+"+"+x,x+(w+"+")+y+"${delimiter}"+g+"${delimiter}"+_,x+(w+"+")+y+" +"+g+"${delimiter}"+_]},{delimiter:"\\.",pattern:[_+"${delimiter}"+g+"${delimiter}"+y,_+"${delimiter}"+g+" +"+y,y+"${delimiter}"+_+"${delimiter}"+g,y+" +"+_+"${delimiter}"+g,_+"${delimiter}"+g+"${delimiter}"+y+w+"+"+x,_+"${delimiter}"+g+" +"+y+w+"+"+x,x+(w+"+")+_+"${delimiter}"+g+"${delimiter}"+y,x+(w+"+")+_+"${delimiter}"+g+" +"+y,y+"${delimiter}"+_+"${delimiter}"+g+w+"+"+x,y+" +"+_+"${delimiter}"+g+w+"+"+x,x+(w+"+")+y+"${delimiter}"+_+"${delimiter}"+g,x+(w+"+")+y+" +"+_+"${delimiter}"+g]},{pattern:x}];O<P.length;O++)for(var I,R=P[O],N=_createForOfIteratorHelperLoose([].concat(Object.prototype.hasOwnProperty.call(R,"delimiter")?R.delimiter:"-"));!(I=N()).done;)for(var D,M=I.value,L=_createForOfIteratorHelperLoose([].concat(R.pattern));!(D=L()).done;){var j=D.value;(j=Tools.stringEvaluate("`^"+j+"$`",{delimiter:M+"+"}).result)&&!Object.prototype.hasOwnProperty.call(b,j)&&(b[j]=!0,Tools._dateTimePatternCache.push(new RegExp(j)))}e=(e=e.toLowerCase()).replace(/([^0-9a-z])[^0-9a-z]+/g,"$1");for(var F=1,U=0,V=[["jan","january?","janvier"],["feb","february?","février"],["m(?:a|ae|ä)r","m(?:a|ae|ä)r(?:ch|s|z)"],["ap[rv]","a[pv]ril"],["ma[iy]"],["ju[ein]","jui?n[ei]?"],["jul","jul[iy]","juillet"],["aug","august","août"],["sep","septemb(?:er|re)"],["o[ck]t","o[ck]tob(?:er|re)"],["nov","novemb(?:er|re)"],["de[cz]","d[eé][cz]emb(?:er|re)"]];U<V.length;U++){for(var $,B=!1,H=_createForOfIteratorHelperLoose(V[U]);!($=H()).done;){var z=$.value,W=new RegExp("(^|[^a-z])"+z+"([^a-z]|$)");if(W.test(e)){e=e.replace(W,"$1"+F+"$2"),B=!0;break}}if(B)break;F+=1}e=Tools.stringSliceWeekday(e);var q=/(.+)\+(.+)$/,K=q.exec(e);K&&(e=e.replace(q,"$1"));for(var G,X=_createForOfIteratorHelperLoose(["","Uhr","o'clock"]);!(G=X()).done;){var Y=G.value;e=e.replace(Y,"")}e=e.trim();for(var Q,Z,J=function(){var t=Z.value,n=null;try{n=e.match(t)}catch(e){}if(n){var o=function(e,t){var r;return void 0===t&&(t=0),null!=(r=n)&&r.groups&&e in n.groups?parseInt(n.groups[e],10):t},a=[o("year",1970),o("month",1)-1,o("day",1),o("hour"),o("minute"),o("second"),o("millisecond")],i=null;if(K){var l=Tools.stringInterpretDateTime(K[2],!0);l&&(i=new Date(Date.UTC.apply(Date,a)-l.getTime()))}return i||(i=r?new Date(Date.UTC.apply(Date,a)):_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default()(Date,a)),isNaN(i.getDate())?{v:null}:{v:i}}},ee=_createForOfIteratorHelperLoose(Tools._dateTimePatternCache);!(Z=ee()).done;)if(Q=J())return Q.v;return null},Tools.stringLowerCase=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},Tools.stringMark=function(e,t,r){if(void 0===r&&(r={}),"string"==typeof e&&null!=t&&t.length){r=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({marker:'<span class="tools-mark">{1}</span>',normalizer:function(e){return(""+e).toLowerCase()},skipTagDelimitedParts:["<",">"]},r),e=e.trim();for(var n,o=[],a=[].concat(t),i=0,l=_createForOfIteratorHelperLoose(a);!(n=l()).done;){var s=n.value;a[i]=r.normalizer(s).trim(),i+=1}for(var u=e,c=0;;){for(var d,f=null,p=null,h=_createForOfIteratorHelperLoose(a);!(d=h()).done;){var v=d.value;(p=Tools.stringFindNormalizedMatchRange(u,v,r.normalizer,r.skipTagDelimitedParts))&&(!f||p[0]<f[0])&&(f=p)}if(!f){u.length&&o.push(u);break}f[0]>0&&o.push(e.substring(c,c+f[0])),o.push("string"==typeof r.marker?Tools.stringFormat(r.marker,e.substring(c+f[0],c+f[1])):r.marker(e.substring(c+f[0],c+f[1]),o)),c+=f[1],u=e.substring(c)}return"string"==typeof r.marker?o.join(""):o}return e},Tools.stringMD5=function(e,t){void 0===t&&(t=!1);var r="0123456789abcdef".split(""),n=function(e,t){return e+t&4294967295},o=function(e,t,r,o,a,i){return t=n(n(t,e),n(o,i)),n(t<<a|t>>>32-a,r)},a=function(e,t,r,n,a,i,l){return o(t&r|~t&n,e,t,a,i,l)},i=function(e,t,r,n,a,i,l){return o(t&n|r&~n,e,t,a,i,l)},l=function(e,t,r,n,a,i,l){return o(t^r^n,e,t,a,i,l)},s=function(e,t,r,n,a,i,l){return o(r^(t|~n),e,t,a,i,l)},u=function(e,t){var r=e[0],o=e[1],u=e[2],c=e[3];return r=a(r,o,u,c,t[0],7,-680876936),c=a(c,r,o,u,t[1],12,-389564586),u=a(u,c,r,o,t[2],17,606105819),o=a(o,u,c,r,t[3],22,-1044525330),r=a(r,o,u,c,t[4],7,-176418897),c=a(c,r,o,u,t[5],12,1200080426),u=a(u,c,r,o,t[6],17,-1473231341),o=a(o,u,c,r,t[7],22,-45705983),r=a(r,o,u,c,t[8],7,1770035416),c=a(c,r,o,u,t[9],12,-1958414417),u=a(u,c,r,o,t[10],17,-42063),o=a(o,u,c,r,t[11],22,-1990404162),r=a(r,o,u,c,t[12],7,1804603682),c=a(c,r,o,u,t[13],12,-40341101),u=a(u,c,r,o,t[14],17,-1502002290),o=a(o,u,c,r,t[15],22,1236535329),r=i(r,o,u,c,t[1],5,-165796510),c=i(c,r,o,u,t[6],9,-1069501632),u=i(u,c,r,o,t[11],14,643717713),o=i(o,u,c,r,t[0],20,-373897302),r=i(r,o,u,c,t[5],5,-701558691),c=i(c,r,o,u,t[10],9,38016083),u=i(u,c,r,o,t[15],14,-660478335),o=i(o,u,c,r,t[4],20,-405537848),r=i(r,o,u,c,t[9],5,568446438),c=i(c,r,o,u,t[14],9,-1019803690),u=i(u,c,r,o,t[3],14,-187363961),o=i(o,u,c,r,t[8],20,1163531501),r=i(r,o,u,c,t[13],5,-1444681467),c=i(c,r,o,u,t[2],9,-51403784),u=i(u,c,r,o,t[7],14,1735328473),o=i(o,u,c,r,t[12],20,-1926607734),r=l(r,o,u,c,t[5],4,-378558),c=l(c,r,o,u,t[8],11,-2022574463),u=l(u,c,r,o,t[11],16,1839030562),o=l(o,u,c,r,t[14],23,-35309556),r=l(r,o,u,c,t[1],4,-1530992060),c=l(c,r,o,u,t[4],11,1272893353),u=l(u,c,r,o,t[7],16,-155497632),o=l(o,u,c,r,t[10],23,-1094730640),r=l(r,o,u,c,t[13],4,681279174),c=l(c,r,o,u,t[0],11,-358537222),u=l(u,c,r,o,t[3],16,-722521979),o=l(o,u,c,r,t[6],23,76029189),r=l(r,o,u,c,t[9],4,-640364487),c=l(c,r,o,u,t[12],11,-421815835),u=l(u,c,r,o,t[15],16,530742520),o=l(o,u,c,r,t[2],23,-995338651),r=s(r,o,u,c,t[0],6,-198630844),c=s(c,r,o,u,t[7],10,1126891415),u=s(u,c,r,o,t[14],15,-1416354905),o=s(o,u,c,r,t[5],21,-57434055),r=s(r,o,u,c,t[12],6,1700485571),c=s(c,r,o,u,t[3],10,-1894986606),u=s(u,c,r,o,t[10],15,-1051523),o=s(o,u,c,r,t[1],21,-2054922799),r=s(r,o,u,c,t[8],6,1873313359),c=s(c,r,o,u,t[15],10,-30611744),u=s(u,c,r,o,t[6],15,-1560198380),o=s(o,u,c,r,t[13],21,1309151649),r=s(r,o,u,c,t[4],6,-145523070),c=s(c,r,o,u,t[11],10,-1120210379),u=s(u,c,r,o,t[2],15,718787259),o=s(o,u,c,r,t[9],21,-343485551),e[0]=n(r,e[0]),e[1]=n(o,e[1]),e[2]=n(u,e[2]),e[3]=n(c,e[3]),e},c=function(e){for(var t="",n=0;n<4;n++)t+=r[e>>8*n+4&15]+r[e>>8*n&15];return t},d=function(e){for(var t=[],r=0;r<e.length;r++)t[r]=c(e[r]);return t.join("")},f=function(e){for(var t=[],r=0;r<64;r+=4)t[r>>2]=e.charCodeAt(r)+(e.charCodeAt(r+1)<<8)+(e.charCodeAt(r+2)<<16)+(e.charCodeAt(r+3)<<24);return t},p=function(e){var t,r=e.length,n=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)u(n,f(e.substring(t-64,t)));e=e.substring(t-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55){u(n,o);for(var a=0;a<16;a++)o[a]=0}return o[14]=8*r,u(n,o),n};return"5d41402abc4b2a76b9719d911017c592"!==d(p("hello"))&&(n=function(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}),d(p(t?e:unescape(encodeURIComponent(e))))},Tools.stringNormalizePhoneNumber=function(e,t){if(void 0===t&&(t=!0),"string"==typeof e||"number"==typeof e){var r=(""+e).trim();if(r=r.replace(/^[^0-9]*\+/,"00"),t)return r.replace(/[^0-9]+/g,"");var n="(?:[ /\\-]+)";r=(r=r.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(r))r=r.replace(o,(function(e,t,r,n){return t+"-"+r+"-"+Tools.stringSliceAllExceptNumberAndLastSeperator(n)}));else{var a=function(e,t,r){return t.replace(/ +/,"")+"-"+Tools.stringSliceAllExceptNumberAndLastSeperator(r)};r=(o=/^([0-9 ]+)[/-](.+)$/).test(r)?r.replace(o,a):r.replace(new RegExp("^([0-9]+)"+n+"(.+)$"),a)}return r.replace(/[^0-9-]+/g,"").replace(/^-+$/,"")}return""},Tools.stringNormalizeZipCode=function(e){return"string"==typeof e||"number"==typeof e?(""+e).trim().replace(/[^0-9]+/g,""):""},Tools.stringParseEncodedObject=function stringParseEncodedObject(serializedObject,scope,name){var _Tools$stringEvaluate;void 0===scope&&(scope={}),void 0===name&&(name="scope"),serializedObject.endsWith(".json")&&Tools.isFileSync(serializedObject)&&(serializedObject=readFileSync(serializedObject,{encoding:DEFAULT_ENCODING})),serializedObject=serializedObject.trim(),serializedObject.startsWith("{")||(serializedObject=eval("Buffer").from(serializedObject,"base64").toString(DEFAULT_ENCODING));var result=Tools.stringEvaluate(serializedObject,(_Tools$stringEvaluate={},_Tools$stringEvaluate[name]=scope,_Tools$stringEvaluate));return"object"==typeof result.result?result.result:null},Tools.stringRepresentPhoneNumber=function(e){if(["number","string"].includes(Tools.determineType(e))&&e){var t=(""+e).replace(/^(00|\+)([0-9]+)-([0-9-]+)$/,"+$2 (0) $3");return(t=(t=t.replace(/^0([1-9][0-9-]+)$/,"+49 (0) $1")).replace(/^([^-]+)-([0-9-]+)$/,"$1 / $2")).replace(/^(.*?)([0-9]+)(-?[0-9]*)$/,(function(e,t,r,n){return t+(r.length%2==0?r.replace(/([0-9]{2})/g,"$1 "):r.replace(/^([0-9]{3})([0-9]+)$/,(function(e,t,r){return t+" "+r.replace(/([0-9]{2})/g,"$1 ").trim()}))+n).trim()})).trim()}return""},Tools.stringSliceAllExceptNumberAndLastSeperator=function(e){var t=/^(.*[0-9].*)-([0-9]+)$/;return t.test(e)?e.replace(t,(function(e,t,r){return t.replace(/[^0-9]+/g,"")+"-"+r})):e.replace(/[^0-9]+/g,"")},Tools.stringSliceWeekday=function(e){var t=/[a-z]{2}\.+ *([^ ].*)$/i;return t.exec(e)?e.replace(t,"$1"):e},Tools.numberGetUTCTimestamp=function(e,t){void 0===t&&(t=!1);var r=[null,void 0].includes(e)?new Date:new Date(e);return Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds())/(t?1:1e3)},Tools.numberIsNotANumber=function(e){return"number"===Tools.determineType(e)&&isNaN(e)},Tools.numberRound=function(e,t){return void 0===t&&(t=0),Math.round(e*Math.pow(10,t))/Math.pow(10,t)},Tools.numberCeil=function(e,t){return void 0===t&&(t=0),Math.ceil(e*Math.pow(10,t))/Math.pow(10,t)},Tools.numberFloor=function(e,t){return void 0===t&&(t=0),Math.floor(e*Math.pow(10,t))/Math.pow(10,t)},Tools.checkReachability=(e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,r){var n,o,a,i,l;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===r&&(r={}),n=Tools.extend(!0,{expectedIntermediateStatusCodes:[],options:{},pollIntervallInSeconds:.1,statusCodes:200,timeoutInSeconds:10,wait:!1},r),o=[].concat(n.statusCodes),a=[].concat(n.expectedIntermediateStatusCodes),i=function(e,t){return Boolean(null!==e&&"object"==typeof e&&"status"in e&&t.includes(e.status))},l=function(e){if(!i(e,o))throw new Error("Given status code "+e.status+" differs from "+o.join(", ")+".");return e},!n.wait){e.next=8;break}return e.abrupt("return",new Promise((function(e,r){var o=!1,s=Tools.timeout(1e3*n.timeoutInSeconds),u=function(e){return o||(d=Tools.timeout(1e3*n.pollIntervallInSeconds,c)).catch(Tools.noop),e},c=function(){var o=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function o(){var c;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,globalContext.fetch(t,n.options);case 3:c=o.sent,o.next=9;break;case 6:return o.prev=6,o.t0=o.catch(0),o.abrupt("return",u(o.t0));case 9:o.prev=9,e(l(c)),s.clear(),o.next=20;break;case 14:if(o.prev=14,o.t1=o.catch(9),!i(c,a)){o.next=18;break}return o.abrupt("return",u(o.t1));case 18:r(o.t1),s.clear();case 20:return o.abrupt("return",c);case 21:case"end":return o.stop()}}),o,null,[[0,6],[9,14]])})));return function(){return o.apply(this,arguments)}}(),d=Tools.timeout(c);s.then((function(){o=!0,d.clear(),r(new Error("Timeout of "+n.timeoutInSeconds+" seconds reached."))}),Tools.noop)})));case 8:return e.t0=l,e.next=11,globalContext.fetch(t,n.options);case 11:return e.t1=e.sent,e.abrupt("return",(0,e.t0)(e.t1));case 13:case"end":return e.stop()}}),e)}))),function(t,r){return e.apply(this,arguments)}),Tools.checkUnreachability=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,r){var n,o,a;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===r&&(r={}),n=Tools.extend(!0,{wait:!1,timeoutInSeconds:10,pollIntervallInSeconds:.1,statusCodes:[],options:{}},r),o=function(e){var r=[].concat(n.statusCodes);if(r.length){if(null!==e&&"object"==typeof e&&"status"in e&&r.includes(e.status))throw new Error('Given url "'+t+'" is reachable and responses with status code "'+e.status+'".');return new Error('Given status code is not "'+r.join(", ")+'".')}return null},!n.wait){e.next=5;break}return e.abrupt("return",new Promise((function(e,r){var a=!1,i=function(){var r=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function r(){var u,c;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,globalContext.fetch(t,n.options);case 3:if(u=r.sent,!a){r.next=6;break}return r.abrupt("return",u);case 6:if(!(c=o(u))){r.next=11;break}return s.clear(),e(c),r.abrupt("return",c);case 11:(l=Tools.timeout(1e3*n.pollIntervallInSeconds,i)).catch(Tools.noop),r.next=20;break;case 15:return r.prev=15,r.t0=r.catch(0),s.clear(),e(r.t0),r.abrupt("return",r.t0);case 20:return r.abrupt("return",null);case 21:case"end":return r.stop()}}),r,null,[[0,15]])})));return function(){return r.apply(this,arguments)}}(),l=Tools.timeout(i),s=Tools.timeout(1e3*n.timeoutInSeconds);s.then((function(){a=!0,l.clear(),r(new Error("Timeout of "+n.timeoutInSeconds+" seconds reached."))}),Tools.noop)})));case 5:return e.prev=5,e.t0=o,e.next=9,globalContext.fetch(t,n.options);case 9:if(e.t1=e.sent,!(a=(0,e.t0)(e.t1))){e.next=13;break}return e.abrupt("return",a);case 13:e.next=18;break;case 15:return e.prev=15,e.t2=e.catch(5),e.abrupt("return",e.t2);case 18:throw new Error('Given url "'+t+'" is reachable.');case 19:case"end":return e.stop()}}),e,null,[[5,15]])})));return function(t,r){return e.apply(this,arguments)}}(),Tools.sendToIFrame=function(e,t,r,n,o){void 0===n&&(n="post"),void 0===o&&(o=!1);for(var a=$("string"==typeof e?'iframe[name"'+e+'"]':e),i=$("<form>").attr({action:t,method:n,target:a.attr("name")}),l=0,s=Object.entries(r);l<s.length;l++){var u=s[l],c=u[0],d=u[1];i.append($("<input>").attr({name:c,type:"hidden",value:d}))}return o&&a.on("load",(function(){return a.remove()})),i.insertAfter(a),i[0].submit(),i.remove(),a},Tools.copyDirectoryRecursive=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,r,n,o,a){var i,l,s,u,c;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n=Tools.noop),void 0===o&&(o={encoding:null,flag:"r"}),void 0===a&&(a={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),t=resolve(t),e.next=6,Tools.isDirectory(r);case 6:if(!e.sent){e.next=8;break}r=resolve(r,basename(t));case 8:return e.prev=8,e.next=11,mkdir(r);case 11:e.next=17;break;case 13:if(e.prev=13,e.t0=e.catch(8),"EEXIST"===e.t0.code){e.next=17;break}throw e.t0;case 17:return e.t1=_createForOfIteratorHelperLoose,e.next=20,Tools.walkDirectoryRecursively(t,n);case 20:e.t2=e.sent,i=(0,e.t1)(e.t2);case 22:if((l=i()).done){e.next=41;break}if(u=l.value,c=join(r,u.path.substring(t.length)),null==(s=u.stats)||!s.isDirectory()){e.next=37;break}return e.prev=26,e.next=29,mkdir(c);case 29:e.next=35;break;case 31:if(e.prev=31,e.t3=e.catch(26),"EEXIST"===e.t3.code){e.next=35;break}throw e.t3;case 35:e.next=39;break;case 37:return e.next=39,Tools.copyFile(u.path,c,o,a);case 39:e.next=22;break;case 41:return e.abrupt("return",r);case 42:case"end":return e.stop()}}),e,null,[[8,13],[26,31]])})));return function(t,r,n,o,a){return e.apply(this,arguments)}}(),Tools.copyDirectoryRecursiveSync=function(e,t,r,n,o){void 0===r&&(r=Tools.noop),void 0===n&&(n={encoding:null,flag:"r"}),void 0===o&&(o={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),e=resolve(e),Tools.isDirectorySync(t)&&(t=resolve(t,basename(e)));try{mkdirSync(t)}catch(e){if("EEXIST"!==e.code)throw e}for(var a,i=_createForOfIteratorHelperLoose(Tools.walkDirectoryRecursivelySync(e,r));!(a=i()).done;){var l,s=a.value,u=join(t,s.path.substring(e.length));if(null!=(l=s.stats)&&l.isDirectory())try{mkdirSync(u)}catch(e){if("EEXIST"!==e.code)throw e}else Tools.copyFileSync(s.path,u,n,o)}return t},Tools.copyFile=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,r,n,o){return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n={encoding:null,flag:"r"}),void 0===o&&(o={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),e.next=4,Tools.isDirectory(r);case 4:if(!e.sent){e.next=6;break}r=resolve(r,basename(t));case 6:return e.t0=writeFile,e.t1=r,e.next=10,readFile(t,n);case 10:return e.t2=e.sent,e.t3=o,e.next=14,(0,e.t0)(e.t1,e.t2,e.t3);case 14:return e.abrupt("return",r);case 15:case"end":return e.stop()}}),e)})));return function(t,r,n,o){return e.apply(this,arguments)}}(),Tools.copyFileSync=function(e,t,r,n){return void 0===r&&(r={encoding:null,flag:"r"}),void 0===n&&(n={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),Tools.isDirectorySync(t)&&(t=resolve(t,basename(e))),writeFileSync(t,readFileSync(e,r),n),t},Tools.isDirectory=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t){return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,stat(t);case 3:return e.abrupt("return",e.sent.isDirectory());case 6:if(e.prev=6,e.t0=e.catch(0),!Object.prototype.hasOwnProperty.call(e.t0,"code")||!["ENOENT","ENOTDIR"].includes(e.t0.code)){e.next=10;break}return e.abrupt("return",!1);case 10:throw e.t0;case 11:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),Tools.isDirectorySync=function(e){try{return statSync(e).isDirectory()}catch(e){if(Object.prototype.hasOwnProperty.call(e,"code")&&["ENOENT","ENOTDIR"].includes(e.code))return!1;throw e}},Tools.isFile=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t){return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,stat(t);case 3:return e.abrupt("return",e.sent.isFile());case 6:if(e.prev=6,e.t0=e.catch(0),!Object.prototype.hasOwnProperty.call(e.t0,"code")||!["ENOENT","ENOTDIR"].includes(e.t0.code)){e.next=10;break}return e.abrupt("return",!1);case 10:throw e.t0;case 11:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),Tools.isFileSync=function(e){try{return statSync(e).isFile()}catch(e){if(Object.prototype.hasOwnProperty.call(e,"code")&&["ENOENT","ENOTDIR"].includes(e.code))return!1;throw e}},Tools.walkDirectoryRecursively=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,r,n){var o,a,i,l,s,u,c,d,f,p,h,v;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===r&&(r=null),void 0===n&&(n=DEFAULT_ENCODING),o=[],e.t0=_createForOfIteratorHelperLoose,e.next=6,readdir(t,"string"==typeof n?{encoding:n,withFileTypes:!0}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},n,{withFileTypes:!0}));case 6:e.t1=e.sent,a=(0,e.t0)(e.t1);case 8:if((i=a()).done){e.next=24;break}return l=i.value,s=resolve(t,l.name),u={directoryPath:t,directoryEntry:l,error:null,name:l.name,path:s,stats:null},e.prev=12,e.next=15,stat(s);case 15:u.stats=e.sent,e.next=21;break;case 18:e.prev=18,e.t2=e.catch(12),u.error=e.t2;case 21:o.push(u);case 22:e.next=8;break;case 24:r&&o.sort((function(e,t){var r,n,o;return null!=(r=e.stats)&&r.isDirectory()?null!=(o=t.stats)&&o.isDirectory()?0:-1:null!=(n=t.stats)&&n.isDirectory()?1:0})),c=[],d=0,f=o;case 27:if(!(d<f.length)){e.next=48;break}if(h=f[d],c.push(h),null!==(v=r?r(h):void 0)){e.next=33;break}return e.abrupt("break",48);case 33:if("object"!=typeof v||!("then"in v)){e.next=37;break}return e.next=36,v;case 36:v=e.sent;case 37:if(null!==v){e.next=39;break}return e.abrupt("break",48);case 39:if(!1===v||null==(p=h.stats)||!p.isDirectory()){e.next=45;break}return e.t3=c,e.next=43,Tools.walkDirectoryRecursively(h.path,r,n);case 43:e.t4=e.sent,c=e.t3.concat.call(e.t3,e.t4);case 45:d++,e.next=27;break;case 48:return e.abrupt("return",c);case 49:case"end":return e.stop()}}),e,null,[[12,18]])})));return function(t,r,n){return e.apply(this,arguments)}}(),Tools.walkDirectoryRecursivelySync=function(e,t,r){void 0===t&&(t=Tools.noop),void 0===r&&(r=DEFAULT_ENCODING);for(var n,o=[],a=_createForOfIteratorHelperLoose(readdirSync(e,"string"==typeof r?{encoding:r,withFileTypes:!0}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},r,{withFileTypes:!0})));!(n=a()).done;){var i=n.value,l=resolve(e,i.name),s={directoryPath:e,directoryEntry:i,error:null,name:i.name,path:l,stats:null};try{s.stats=statSync(l)}catch(e){s.error=e}o.push(s)}var u=[];if(t){o.sort((function(e,t){var r,n,o;return null!=(r=e.stats)&&r.isDirectory()?null!=(o=t.stats)&&o.isDirectory()?0:-1:null!=(n=t.stats)&&n.isDirectory()?1:0}));for(var c,d=_createForOfIteratorHelperLoose(o);!(c=d()).done;){var f,p=c.value;u.push(p);var h=t(p);if(null===h)break;!1!==h&&null!=(f=p.stats)&&f.isDirectory()&&(u=u.concat(Tools.walkDirectoryRecursivelySync(p.path,t,r)))}}return u},Tools.getProcessCloseHandler=function(e,t,r,n){void 0===r&&(r=null),void 0===n&&(n=Tools.noop);var o=!1;return function(a){if(o)o=!0;else{o=!0;for(var i=arguments.length,l=new Array(i>1?i-1:0),s=1;s<i;s++)l[s-1]=arguments[s];if("number"!=typeof a||0===a)n(),e({reason:r,parameters:l});else{var u=new Error("Task exited with error code "+a);u.returnCode=a,u.parameters=l,t(u)}}}},Tools.handleChildProcess=function(e){return e.stdout&&e.stdout.pipe(process.stdout),e.stderr&&e.stderr.pipe(process.stderr),e.on("close",(function(e){0!==e&&console.error("Task exited with error code "+e)})),e},_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default()(Tools,[{key:"normalizedClassNames",get:function(){if(this.$domNode){var e="class";this.$domNode.find("*").addBack().each((function(t,r){var n=$(r),o=n.attr(e);o?n.attr(e,(o.split(" ").sort()||[]).join(" ")):n.is("[class]")&&n.removeAttr(e)}))}return this}},{key:"normalizedStyles",get:function(){if(this.$domNode){var e="style";this.$domNode.find("*").addBack().each((function(t,r){var n=$(r),o=n.attr(e);o?n.attr(e,Tools.stringCompressStyleValue((Tools.stringCompressStyleValue(o).split(";").sort()||[]).map((function(e){return e.trim()})).join(";"))):n.is("[style]")&&n.removeAttr(e)}))}return this}},{key:"style",get:function(){var e={},t=this.$domNode;if(null!=t&&t.length){var r,n;if(null!=(r=$.global.window)&&r.getComputedStyle&&(n=$.global.window.getComputedStyle(t[0],null))){if("length"in n)for(var o=0;o<n.length;o+=1)e[Tools.stringDelimitedToCamelCase(n[o])]=n.getPropertyValue(n[o]);else for(var a=0,i=Object.entries(n);a<i.length;a++){var l=i[a],s=l[0],u=l[1];e[Tools.stringDelimitedToCamelCase(s)]=u||n.getPropertyValue(s)}return e}if(n=t[0].style)for(var c in n)"function"!=typeof n[c]&&(e[c]=n[c])}return e}},{key:"text",get:function(){return this.$domNode?this.$domNode.clone().children().remove().end().text():""}}]),Tools}();Tools.abbreviations=["html","id","url","us","de","api","href"],Tools.animationEndEventNames="animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd",Tools.classToTypeMapping={"[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"},Tools.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},Tools.locales=[],Tools.maximalSupportedInternetExplorerVersion=function(){if(!$.document)return 0;var e,t=$.document.createElement("div");for(e=0;e<10&&(t.innerHTML="\x3c!--[if gt IE "+e+"]><i></i><![endif]--\x3e",0!==t.getElementsByTagName("i").length);e++);if(0===e&&$.global.window.navigator){if(-1!==$.global.window.navigator.appVersion.indexOf("MSIE 10"))return 10;if(![$.global.window.navigator.userAgent.indexOf("Trident"),$.global.window.navigator.userAgent.indexOf("rv:11")].includes(-1))return 11}return e}(),Tools.noop=$.noop?$.noop:function(){},Tools.plainObjectPrototypes=[Object.prototype],Tools.specialRegexSequences=["-","[","]","(",")","^","$","*","+",".","{","}"],Tools.transitionEndEventNames="transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",Tools._dateTimePatternCache=[],Tools._defaultOptions={domNodes:{hideJavaScriptEnabled:".tools-hidden-on-javascript-enabled",showJavaScriptEnabled:".tools-visible-on-javascript-enabled"},domNodeSelectorInfix:"",domNodeSelectorPrefix:"body",logging:!1,name:"Tools"},Tools._javaScriptDependentContentHandled=!1;var BoundTools=function(e){function t(r){for(var n,o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];return(n=e.call.apply(e,[this,r].concat(a))||this).$domNode=void 0,n.self=t,n.$domNode=r,n}return _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0___default()(t,e),t}(Tools);__nested_webpack_exports__.default=Tools;var augment$=function(e){if(($=e).global||($.global=globalContext),$.global.window&&(!$.document&&$.global.window.document&&($.document=$.global.window.document),!$.location&&$.global.window.location&&($.location=$.global.window.location)),$.fn&&($.fn.Tools=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Tools.controller(Tools,t,this)}),$.Tools=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Tools.controller(Tools,t)},$.Tools.class=Tools,$.fn){var t=$.fn.prop;$.fn.prop=function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];if(n.length<2&&this.length&&["#text","#comment"].includes(this[0].nodeName.toLowerCase())&&e in this[0]){if(0===n.length)return this[0][e];if(1===n.length)return this[0][e]=n[0],this}return t.call.apply(t,[this,e].concat(n))}}};augment$($),$.readyException=function(e){if("string"!=typeof e||"canceled"!==e)throw e}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__4__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__5__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__6__},function(e){if(void 0===__WEBPACK_EXTERNAL_MODULE__7__){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}e.exports=__WEBPACK_EXTERNAL_MODULE__7__}],__webpack_module_cache__={};function __nested_webpack_require_93856__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e](r,r.exports,__nested_webpack_require_93856__),r.loaded=!0,r.exports}__nested_webpack_require_93856__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_93856__.d(t,{a:t}),t},__nested_webpack_require_93856__.d=function(e,t){for(var r in t)__nested_webpack_require_93856__.o(t,r)&&!__nested_webpack_require_93856__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__nested_webpack_require_93856__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__nested_webpack_require_93856__.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},__nested_webpack_require_93856__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_93856__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __nested_webpack_exports__=__nested_webpack_require_93856__(1);return __nested_webpack_exports__}()},module.exports=r(__webpack_require__(8),__webpack_require__(11),__webpack_require__(9),__webpack_require__(28),__webpack_require__(12),__webpack_require__(13),function(){try{return __webpack_require__(53)}catch(e){}}())},function(e,t,r){r.d(t,{o:function(){return u}});var n=r(2),o=r(5),a=r(46),i=r(16),l=r(19),s=r(42),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.disabled=!1,t}return(0,n.ct)(t,e),t.attachTo=function(e,r){void 0===r&&(r={isUnbounded:void 0});var n=new t(e);return void 0!==r.isUnbounded&&(n.unbounded=r.isUnbounded),n},t.createAdapter=function(e){return{addClass:function(t){return e.root.classList.add(t)},browserSupportsCssVars:function(){return s.supportsCssVariables(window)},computeBoundingRect:function(){return e.root.getBoundingClientRect()},containsEventTarget:function(t){return e.root.contains(t)},deregisterDocumentInteractionHandler:function(e,t){return document.documentElement.removeEventListener(e,t,(0,a.E)())},deregisterInteractionHandler:function(t,r){return e.root.removeEventListener(t,r,(0,a.E)())},deregisterResizeHandler:function(e){return window.removeEventListener("resize",e)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return(0,i._u)(e.root,":active")},isSurfaceDisabled:function(){return Boolean(e.disabled)},isUnbounded:function(){return Boolean(e.unbounded)},registerDocumentInteractionHandler:function(e,t){return document.documentElement.addEventListener(e,t,(0,a.E)())},registerInteractionHandler:function(t,r){return e.root.addEventListener(t,r,(0,a.E)())},registerResizeHandler:function(e){return window.addEventListener("resize",e)},removeClass:function(t){return e.root.classList.remove(t)},updateCssVariable:function(t,r){return e.root.style.setProperty(t,r)}}},Object.defineProperty(t.prototype,"unbounded",{get:function(){return Boolean(this.isUnbounded)},set:function(e){this.isUnbounded=Boolean(e),this.setUnbounded()},enumerable:!1,configurable:!0}),t.prototype.activate=function(){this.foundation.activate()},t.prototype.deactivate=function(){this.foundation.deactivate()},t.prototype.layout=function(){this.foundation.layout()},t.prototype.getDefaultFoundation=function(){return new l.E(t.createAdapter(this))},t.prototype.initialSyncWithDOM=function(){var e=this.root;this.isUnbounded="mdcRippleIsUnbounded"in e.dataset},t.prototype.setUnbounded=function(){this.foundation.setUnbounded(Boolean(this.isUnbounded))},t}(o.s)},function(e,t){
|
|
30
30
|
/**
|
|
31
31
|
* @license React
|
|
32
32
|
* scheduler.production.min.js
|
|
@@ -180,7 +180,7 @@ Object.defineProperty(t,"__esModule",{value:!0}),t.isNavigationEvent=t.normalize
|
|
|
180
180
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
181
181
|
* THE SOFTWARE.
|
|
182
182
|
*/
|
|
183
|
-
Object.defineProperty(t,"__esModule",{value:!0}),t.estimateScrollWidth=t.matches=t.closest=void 0,t.closest=function(e,t){if(e.closest)return e.closest(t);for(var r=e;r;){if(n(r,t))return r;r=r.parentElement}return null},t.matches=n,t.estimateScrollWidth=function(e){var t=e;if(null!==t.offsetParent)return t.scrollWidth;var r=t.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);var n=r.scrollWidth;return document.documentElement.removeChild(r),n}}})},e.exports=t()},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,r;if(module=__webpack_require__.nmd(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")&&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=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(0),r=__webpack_require__(1),function(){var t=[,function(t){t.exports=e},function(e){e.exports=r}],n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){o.r(a),o.d(a,{Dummy:function(){return n},reference:function(){return r}});var e=o(1),t=o(2),r={current:null},n=(0,e.forwardRef)((function(e,n){var o;return r.current=n,(0,t.jsx)("div",{children:null!==(o=e.children)&&void 0!==o?o:null})}));n.isDummy=!0,a.default=n}(),a}())},function(e
|
|
183
|
+
Object.defineProperty(t,"__esModule",{value:!0}),t.estimateScrollWidth=t.matches=t.closest=void 0,t.closest=function(e,t){if(e.closest)return e.closest(t);for(var r=e;r;){if(n(r,t))return r;r=r.parentElement}return null},t.matches=n,t.estimateScrollWidth=function(e){var t=e;if(null!==t.offsetParent)return t.scrollWidth;var r=t.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);var n=r.scrollWidth;return document.documentElement.removeChild(r),n}}})},e.exports=t()},function(e){e.exports=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},,,function(e,t,r){var n;function o(e,t){void 0===t&&(t=!1);var r,o=e.CSS;if("boolean"==typeof n&&!t)return n;if(!(o&&"function"==typeof o.supports))return!1;var a=o.supports("--css-vars","yes"),i=o.supports("(--css-vars: yes)")&&o.supports("color","#00000000");return r=a||i,t||(n=r),r}function a(e,t,r){if(!e)return{x:0,y:0};var n,o,a=t.x,i=t.y,l=a+r.left,s=i+r.top;if("touchstart"===e.type){var u=e;n=u.changedTouches[0].pageX-l,o=u.changedTouches[0].pageY-s}else{var c=e;n=c.pageX-l,o=c.pageY-s}return{x:n,y:o}}r.d(t,{getNormalizedEventCoords:function(){return a},supportsCssVariables:function(){return o}})},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,r;if(module=__webpack_require__.nmd(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")&&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=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(0),r=__webpack_require__(1),function(){var t=[,function(t){t.exports=e},function(e){e.exports=r}],n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){o.r(a),o.d(a,{Dummy:function(){return n},reference:function(){return r}});var e=o(1),t=o(2),r={current:null},n=(0,e.forwardRef)((function(e,n){var o;return r.current=n,(0,t.jsx)("div",{children:null!==(o=e.children)&&void 0!==o?o:null})}));n.isDummy=!0,a.default=n}(),a}())},function(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const n=r(1),o=r(0),a=r(3),i={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",transparent:"#ffffff",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},l=e=>i[e]||e,s=e=>{4===e.length&&(e+=e.slice(1));const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:{r:0,g:0,b:0}},u=(e,t,r)=>{let n=[e,t,r].map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return.2126*n[0]+.7152*n[1]+.0722*n[2]},c=(e,t)=>(u(e[0],e[1],e[2])+.05)/(u(t[0],t[1],t[2])+.05),d=e=>(e=l(e),s(e)),f=e=>{const{r:t,g:r,b:n}=d(e);return!(c([255,255,255],[t,r,n])>3)},p={"--mdc-theme-primary":[["--mdc-theme-on-primary",0]],"--mdc-theme-surface":[["--mdc-theme-on-surface",0]],"--mdc-theme-secondary":[["--mdc-theme-on-secondary",0]],"--mdc-theme-background":[["--mdc-theme-text-primary-on-background",0],["--mdc-theme-text-secondary-on-background",1],["--mdc-theme-text-hint-on-background",2],["--mdc-theme-text-disabled-on-background",2],["--mdc-theme-text-icon-on-background",2]]},h=["rgba(0, 0, 0, 0.87)","rgba(0, 0, 0, 0.54)","rgba(0, 0, 0, 0.38)"],v=["rgba(255, 255, 255, 1)","rgba(255, 255, 255, 0.7)","rgba(255, 255, 255, 0.5)"],m=e=>({...Object.keys(p).reduce(((t,r)=>{if(e[r]){const n=f(e[r])?h:v;p[r].forEach((e=>{t[e[0]]=n[e[1]]}))}return t}),{}),...e}),_=a.createComponent((function(e,t){const{use:r,wrap:o,...i}=e,l=a.useClassNames(e,[a.parseThemeOptions(r).join(" ")]);return o?a.wrapChild({...i,ref:t,className:l}):n.jsx(a.Tag,{tag:"span",theme:r,...i,ref:t,className:l})})),g=a.createComponent((function(e,t){var r,i;const l=JSON.stringify(e.options),s=o.useMemo((()=>{const t=Object.keys(e.options).reduce(((t,r)=>{const n=e.options[r];return t[r=r.startsWith("--")?r:`--mdc-theme-${a.toDashCase(r)}`]=n,t}),{});return m(t)}),[l]),{options:u,style:c={},wrap:d,...f}=e,p=a.useClassNames(e,[d&&"object"==typeof f.children&&(null==(i=null==(r=f.children)?void 0:r.props)?void 0:i.className)]),h={...c,...s};return d&&f.children?a.wrapChild({...f,style:h,ref:t}):n.jsx(a.Tag,{...f,style:h,className:p,ref:t})}));t.Theme=_,t.ThemeProvider=g,t.contrast=c,t.getAutoColorsForTheme=m,t.getRgb=d,t.hexToRgb=s,t.isLight=f,t.luminance=u,t.nameToHex=l},function(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const n=r(1),o=r(3),a=r(18),i=o.createComponent((function(e,t){const{use:r,...i}=e,l=a.useProviderContext().typography,s=(null==l?void 0:l[r])||(null==l?void 0:l.defaultTag)||"span",u=o.useClassNames(e,[{[`mdc-typography--${e.use}`]:e.use}]);return n.jsx(o.Tag,{tag:s,...i,ref:t,className:u})}));t.Typography=i},function(e,t,r){
|
|
184
184
|
/**
|
|
185
185
|
* @license
|
|
186
186
|
* Copyright 2019 Google Inc.
|
|
@@ -302,7 +302,7 @@ var n={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-r
|
|
|
302
302
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
303
303
|
* THE SOFTWARE.
|
|
304
304
|
*/
|
|
305
|
-
var n=function(){function e(){this.rafIDs=new Map}return e.prototype.request=function(e,t){var r=this;this.cancel(e);var n=requestAnimationFrame((function(n){r.rafIDs.delete(e),t(n)}));this.rafIDs.set(e,n)},e.prototype.cancel=function(e){var t=this.rafIDs.get(e);t&&(cancelAnimationFrame(t),this.rafIDs.delete(e))},e.prototype.cancelAll=function(){var e=this;this.rafIDs.forEach((function(t,r){e.cancel(r)}))},e.prototype.getQueue=function(){var e=[];return this.rafIDs.forEach((function(t,r){e.push(r)})),e},e}()},,,,,,,,,,,,,,,,,,,,function(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const n=r(1),o=r(0),a=r(3),i=r(109),l=o.memo((function(e){const{children:t,...r}=e;return n.jsxs("div",{className:"mdc-slider__track",children:[n.jsx("div",{className:"mdc-slider__track--inactive"}),n.jsx("div",{className:"mdc-slider__track--active",children:n.jsx("div",{...r,className:"mdc-slider__track--active_fill"})}),t]})})),s=o.memo((function({tickMarks:e}){return n.jsx("div",{className:"mdc-slider__tick-marks",children:e.map(((e,t)=>n.jsx("div",{className:e.className},t)))})})),u=o.memo(o.forwardRef((function(e,t){return n.jsxs("div",{className:"mdc-slider__thumb",ref:t,children:[e.children,n.jsx("div",{className:"mdc-slider__thumb-knob"})]})}))),c=e=>{const t=Number(e);return"number"!=typeof t||isNaN(t)?void 0:t},d=a.createComponent((function(e,t){const{rootEl:r,setInputsRef:d,setThumbRef:f,tickMarks:p,trackActiveEl:h}=(e=>{const t=o.useRef([]),r=o.useRef([]),{foundation:n,...l}=a.useFoundation({props:e,elements:{rootEl:!0,trackActiveEl:!0},foundation:({rootEl:e,trackActiveEl:t,emit:r})=>new i.MDCSliderFoundation({hasClass:t=>e.hasClass(t),addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),addThumbClass:(e,t)=>{var r;null==(r=s(t))||r.classList.add(e)},removeThumbClass:(e,t)=>{var r;null==(r=s(t))||r.classList.remove(e)},getAttribute:t=>e.getProp(t),getInputValue:e=>{var t;return(null==(t=u(e))?void 0:t.value)??"1"},setInputValue:(e,t)=>{const r=u(t);return void 0!==r?r.value=e:e},getInputAttribute:(e,t)=>{const r=u(t);return r?r.getAttribute(e):null},setInputAttribute:(e,t,r)=>{var n;null==(n=u(r))||n.setAttribute(e,t)},removeInputAttribute:(e,t)=>{var r;null==(r=u(t))||r.removeAttribute(e)},focusInput:e=>{var t;null==(t=u(e))||t.focus()},isInputFocused:e=>u(e)===document.activeElement,shouldHideFocusStylesForPointerEvents:()=>!1,getThumbKnobWidth:e=>{const t=s(e);return t?t.querySelector(`.${i.cssClasses.THUMB_KNOB}`).getBoundingClientRect().width:a.emptyClientRect.width},getThumbBoundingClientRect:e=>{var t;return(null==(t=s(e))?void 0:t.getBoundingClientRect())??a.emptyClientRect},getBoundingClientRect:()=>e.ref?e.ref.getBoundingClientRect():a.emptyClientRect,getValueIndicatorContainerWidth:e=>{const t=s(e);return t?t.querySelector(`.${i.cssClasses.VALUE_INDICATOR_CONTAINER}`).getBoundingClientRect().width:a.emptyClientRect.width},isRTL:()=>!!e.ref&&"rtl"===getComputedStyle(e.ref).direction,setThumbStyleProperty:(e,t,r)=>{var n;null==(n=s(r))||n.style.setProperty(e,t)},removeThumbStyleProperty:(e,t)=>{var r;null==(r=s(t))||r.style.removeProperty(e)},setTrackActiveStyleProperty:(e,r)=>{t.setStyle(e,r)},removeTrackActiveStyleProperty:e=>{t.setStyle(e,null)},setValueIndicatorText:(e,t)=>{const r=s(t);return r&&(r.querySelector(`.${i.cssClasses.VALUE_INDICATOR_TEXT}`).textContent=String(e)),""},getValueToAriaValueTextFn:()=>null,updateTickMarks:t=>{var r,n;let o=null==(r=e.ref)?void 0:r.querySelector(`.${i.cssClasses.TICK_MARKS_CONTAINER}`);if(!o){o=document.createElement("div"),o.classList.add(i.cssClasses.TICK_MARKS_CONTAINER);const t=null==(n=e.ref)?void 0:n.querySelector(`.${i.cssClasses.TRACK}`);t&&t.appendChild(o)}if(t.length!==o.children.length){for(;o.firstChild;)o.removeChild(o.firstChild);f(t)}else p(o,t)},setPointerCapture:t=>{var r;null==(r=e.ref)||r.setPointerCapture(t)},emitChangeEvent:(e,t)=>{2===t?r("onChange",{value:e,thumb:t}):1===t&&r("onChangeValueStart",{value:e,thumb:t})},emitInputEvent:(e,t)=>{2===t?r("onInput",{value:e,thumb:t}):1===t&&r("onInputValueStart",{value:e,thumb:t})},registerEventHandler:(t,r)=>{e.addEventListener(t,r)},deregisterEventHandler:(t,r)=>{e.removeEventListener(t,r)},registerThumbEventHandler:(e,t,r)=>{var n;null==(n=s(e))||n.addEventListener(t,r)},deregisterThumbEventHandler:(e,t,r)=>{var n;null==(n=s(e))||n.removeEventListener(t,r)},registerInputEventHandler:(e,t,r)=>{var n;null==(n=u(e))||n.addEventListener(t,r)},deregisterInputEventHandler:(e,t,r)=>{var n;null==(n=u(e))||n.removeEventListener(t,r)},registerBodyEventHandler:(e,t)=>{document.body.addEventListener(e,t)},deregisterBodyEventHandler:(e,t)=>{document.body.removeEventListener(e,t)},registerWindowEventHandler:(e,t)=>{window.addEventListener(e,t)},deregisterWindowEventHandler:(e,t)=>{window.removeEventListener(e,t)}})}),s=e=>{var r,n;return e===i.Thumb.END?null==(r=t.current)?void 0:r[t.current.length-1]:null==(n=t.current)?void 0:n[0]},u=e=>{var t,n;return e===i.Thumb.END?null==(t=r.current)?void 0:t[r.current.length-1]:null==(n=r.current)?void 0:n[0]},[c,d]=o.useState([]),f=e=>{const t=[];for(let r=0;r<e.length;r++){const n=e[r]===i.TickMark.ACTIVE?i.cssClasses.TICK_MARK_ACTIVE:i.cssClasses.TICK_MARK_INACTIVE;t.push({className:n})}d(t)},p=(e,t)=>{const r=Array.from(e.children);for(let e=0;e<r.length;e++)t[e]===i.TickMark.ACTIVE?(r[e].classList.add(i.cssClasses.TICK_MARK_ACTIVE),r[e].classList.remove(i.cssClasses.TICK_MARK_INACTIVE)):(r[e].classList.add(i.cssClasses.TICK_MARK_INACTIVE),r[e].classList.remove(i.cssClasses.TICK_MARK_ACTIVE))};return o.useEffect((()=>{n.layout()}),[n]),o.useEffect((()=>{void 0!==e.range&&(n.isRange=e.range)}),[e.range,n]),o.useEffect((()=>{let t=void 0!==e.value?Number(e.value):n.getValue();const r=n.getMin(),o=n.getMax();t<r&&(console.warn(`Attempted to set slider to ${t} which is less than min: ${r}`),t=r),t>o&&(console.warn(`Attempted to set slider to ${t} which is greater than max: ${o}`),t=o),n.setValue(t)}),[e.value,n]),o.useEffect((()=>{if(e.range){let t=void 0!==e.valueStart?Number(e.valueStart):n.getValueStart();const r=n.getMin(),o=n.getMax();t<r&&(console.warn(`Attempted to set slider to ${t} which is less than min: ${r}`),t=r),t>o&&(console.warn(`Attempted to set slider to ${t} which is greater than max: ${o}`),t=o),n.setValueStart(t)}}),[e.range,e.valueStart,n]),o.useEffect((()=>{void 0!==e.disabled&&n.setDisabled(e.disabled)}),[e.disabled,n]),o.useEffect((()=>{void 0!==e.discrete&&(n.isDiscrete=e.discrete),e.discrete&&0===n.getStep()&&n.setStep(1)}),[e.discrete,n]),o.useEffect((()=>{void 0!==e.minRange&&n.setMinRange(Number(e.minRange))}),[e.minRange,n]),o.useEffect((()=>{const t=n.hasTickMarks;void 0!==e.displayMarkers&&e.displayMarkers!==t&&(n.hasTickMarks=e.displayMarkers,n.setHasTickMarks(e.displayMarkers))}),[e.displayMarkers,n]),o.useEffect((()=>{const e=n.handleDown.bind(n);n.handleDown=t=>{e(t)}}),[n]),{setInputsRef:(e,t)=>{r.current[e]=t||void 0},setThumbRef:(e,r)=>{t.current[e]=r||void 0},tickMarks:c,...l}})(e),{children:v,disabled:m,discrete:_,displayMarkers:g,max:y=100,min:b=0,minRange:T,onChange:E,onChangeValueStart:w,onInput:S,onInputValueStart:A,range:C,step:k,value:x,valueStart:O,...P}=e,I=a.useClassNames(e,["mdc-slider",{"mdc-slider--discrete":_,"mdc-slider--tick-marks":g&&_,"mdc-slider--disabled":m,"mdc-slider--range":C}]);return g&&!_&&console.warn("The 'displayMarkers' prop on rmwc Slider will\n only work in conjunction with the 'discrete' prop"),n.jsxs(a.Tag,{className:I,tabIndex:0,tag:"div",element:r,"data-min-range":T,ref:t,children:[C&&n.jsx("input",{...P,"aria-label":"Slider start value","aria-valuemax":c(y),"aria-valuenow":O,className:"mdc-slider__input",disabled:m,max:c(y),min:c(b),name:"rangeStart",onChange:w,onInput:A,ref:e=>d(0,e),step:k,type:"range",value:O}),n.jsx("input",{"aria-label":"Slider value","aria-valuemax":c(y),"aria-valuenow":x,className:"mdc-slider__input",disabled:m,max:c(y),min:c(b),name:"rangeEnd",...P,ref:e=>d(1,e),step:k,type:"range",value:x}),n.jsx(l,{...h.props({}),children:g&&n.jsx(s,{tickMarks:p})}),C&&n.jsx(u,{ref:e=>f(0,e),children:_&&n.jsx("div",{className:"mdc-slider__value-indicator-container","aria-hidden":"true",children:n.jsx("div",{className:"mdc-slider__value-indicator",children:n.jsx("span",{className:"mdc-slider__value-indicator-text",children:O})})})}),n.jsx(u,{ref:e=>f(1,e),children:_&&n.jsx("div",{className:"mdc-slider__value-indicator-container","aria-hidden":"true",children:n.jsx("div",{className:"mdc-slider__value-indicator",children:n.jsx("span",{className:"mdc-slider__value-indicator-text",children:x})})})}),v]})}));t.Slider=d},,,,,,function(e,t,r){r.r(t),r.d(t,{MDCSlider:function(){return w},MDCSliderFoundation:function(){return T},Thumb:function(){return o},TickMark:function(){return n},attributes:function(){return h},cssClasses:function(){return f},events:function(){return v},numbers:function(){return p},strings:function(){return m}});var n,o,a,i=r(2),l=r(5),s=r(46),u=r(17),c=r(21),d=r(19),f={DISABLED:"mdc-slider--disabled",DISCRETE:"mdc-slider--discrete",INPUT:"mdc-slider__input",RANGE:"mdc-slider--range",THUMB:"mdc-slider__thumb",THUMB_FOCUSED:"mdc-slider__thumb--focused",THUMB_KNOB:"mdc-slider__thumb-knob",THUMB_TOP:"mdc-slider__thumb--top",THUMB_WITH_INDICATOR:"mdc-slider__thumb--with-indicator",TICK_MARKS:"mdc-slider--tick-marks",TICK_MARKS_CONTAINER:"mdc-slider__tick-marks",TICK_MARK_ACTIVE:"mdc-slider__tick-mark--active",TICK_MARK_INACTIVE:"mdc-slider__tick-mark--inactive",TRACK:"mdc-slider__track",TRACK_ACTIVE:"mdc-slider__track--active_fill",VALUE_INDICATOR_CONTAINER:"mdc-slider__value-indicator-container",VALUE_INDICATOR_TEXT:"mdc-slider__value-indicator-text"},p={STEP_SIZE:1,MIN_RANGE:0,THUMB_UPDATE_MIN_PX:5},h={ARIA_VALUETEXT:"aria-valuetext",INPUT_DISABLED:"disabled",INPUT_MIN:"min",INPUT_MAX:"max",INPUT_VALUE:"value",INPUT_STEP:"step",DATA_MIN_RANGE:"data-min-range"},v={CHANGE:"MDCSlider:change",INPUT:"MDCSlider:input"},m={VAR_VALUE_INDICATOR_CARET_LEFT:"--slider-value-indicator-caret-left",VAR_VALUE_INDICATOR_CARET_RIGHT:"--slider-value-indicator-caret-right",VAR_VALUE_INDICATOR_CARET_TRANSFORM:"--slider-value-indicator-caret-transform",VAR_VALUE_INDICATOR_CONTAINER_LEFT:"--slider-value-indicator-container-left",VAR_VALUE_INDICATOR_CONTAINER_RIGHT:"--slider-value-indicator-container-right",VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM:"--slider-value-indicator-container-transform"},_=r(83),g=r(55),y=r(4);!function(e){e[e.ACTIVE=0]="ACTIVE",e[e.INACTIVE=1]="INACTIVE"}(n||(n={})),function(e){e[e.START=1]="START",e[e.END=2]="END"}(o||(o={})),function(e){e.SLIDER_UPDATE="slider_update"}(a||(a={}));var b=void 0!==window,T=function(e){function t(r){var n=e.call(this,(0,i.C3)((0,i.C3)({},t.defaultAdapter),r))||this;return n.initialStylesRemoved=!1,n.isDisabled=!1,n.isDiscrete=!1,n.step=p.STEP_SIZE,n.minRange=p.MIN_RANGE,n.hasTickMarks=!1,n.isRange=!1,n.thumb=null,n.downEventClientX=null,n.startThumbKnobWidth=0,n.endThumbKnobWidth=0,n.animFrame=new _.Q,n}return(0,i.ct)(t,e),Object.defineProperty(t,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},addClass:function(){},removeClass:function(){},addThumbClass:function(){},removeThumbClass:function(){},getAttribute:function(){return null},getInputValue:function(){return""},setInputValue:function(){},getInputAttribute:function(){return null},setInputAttribute:function(){return null},removeInputAttribute:function(){return null},focusInput:function(){},isInputFocused:function(){return!1},shouldHideFocusStylesForPointerEvents:function(){return!1},getThumbKnobWidth:function(){return 0},getValueIndicatorContainerWidth:function(){return 0},getThumbBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},isRTL:function(){return!1},setThumbStyleProperty:function(){},removeThumbStyleProperty:function(){},setTrackActiveStyleProperty:function(){},removeTrackActiveStyleProperty:function(){},setValueIndicatorText:function(){},getValueToAriaValueTextFn:function(){return null},updateTickMarks:function(){},setPointerCapture:function(){},emitChangeEvent:function(){},emitInputEvent:function(){},emitDragStartEvent:function(){},emitDragEndEvent:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerThumbEventHandler:function(){},deregisterThumbEventHandler:function(){},registerInputEventHandler:function(){},deregisterInputEventHandler:function(){},registerBodyEventHandler:function(){},deregisterBodyEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this;this.isDisabled=this.adapter.hasClass(f.DISABLED),this.isDiscrete=this.adapter.hasClass(f.DISCRETE),this.hasTickMarks=this.adapter.hasClass(f.TICK_MARKS),this.isRange=this.adapter.hasClass(f.RANGE);var t=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_MIN,this.isRange?o.START:o.END),h.INPUT_MIN),r=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_MAX,o.END),h.INPUT_MAX),n=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_VALUE,o.END),h.INPUT_VALUE),a=this.isRange?this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_VALUE,o.START),h.INPUT_VALUE):t,i=this.adapter.getInputAttribute(h.INPUT_STEP,o.END),l=i?this.convertAttributeValueToNumber(i,h.INPUT_STEP):this.step,s=this.adapter.getAttribute(h.DATA_MIN_RANGE),u=s?this.convertAttributeValueToNumber(s,h.DATA_MIN_RANGE):this.minRange;this.validateProperties({min:t,max:r,value:n,valueStart:a,step:l,minRange:u}),this.min=t,this.max=r,this.value=n,this.valueStart=a,this.step=l,this.minRange=u,this.numDecimalPlaces=E(this.step),this.valueBeforeDownEvent=n,this.valueStartBeforeDownEvent=a,this.mousedownOrTouchstartListener=this.handleMousedownOrTouchstart.bind(this),this.moveListener=this.handleMove.bind(this),this.pointerdownListener=this.handlePointerdown.bind(this),this.pointerupListener=this.handlePointerup.bind(this),this.thumbMouseenterListener=this.handleThumbMouseenter.bind(this),this.thumbMouseleaveListener=this.handleThumbMouseleave.bind(this),this.inputStartChangeListener=function(){e.handleInputChange(o.START)},this.inputEndChangeListener=function(){e.handleInputChange(o.END)},this.inputStartFocusListener=function(){e.handleInputFocus(o.START)},this.inputEndFocusListener=function(){e.handleInputFocus(o.END)},this.inputStartBlurListener=function(){e.handleInputBlur(o.START)},this.inputEndBlurListener=function(){e.handleInputBlur(o.END)},this.resizeListener=this.handleResize.bind(this),this.registerEventHandlers()},t.prototype.destroy=function(){this.deregisterEventHandlers()},t.prototype.setMin=function(e){this.min=e,this.isRange||(this.valueStart=e),this.updateUI()},t.prototype.setMax=function(e){this.max=e,this.updateUI()},t.prototype.getMin=function(){return this.min},t.prototype.getMax=function(){return this.max},t.prototype.getValue=function(){return this.value},t.prototype.setValue=function(e){if(this.isRange&&e<this.valueStart+this.minRange)throw new Error("end thumb value ("+e+") must be >= start thumb value ("+this.valueStart+") + min range ("+this.minRange+")");this.updateValue(e,o.END)},t.prototype.getValueStart=function(){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");return this.valueStart},t.prototype.setValueStart=function(e){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");if(this.isRange&&e>this.value-this.minRange)throw new Error("start thumb value ("+e+") must be <= end thumb value ("+this.value+") - min range ("+this.minRange+")");this.updateValue(e,o.START)},t.prototype.setStep=function(e){this.step=e,this.numDecimalPlaces=E(e),this.updateUI()},t.prototype.setMinRange=function(e){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");if(e<0)throw new Error("`minRange` must be non-negative. Current value: "+e);if(this.value-this.valueStart<e)throw new Error("start thumb value ("+this.valueStart+") and end thumb value ("+this.value+") must differ by at least "+e+".");this.minRange=e},t.prototype.setIsDiscrete=function(e){this.isDiscrete=e,this.updateValueIndicatorUI(),this.updateTickMarksUI()},t.prototype.getStep=function(){return this.step},t.prototype.getMinRange=function(){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");return this.minRange},t.prototype.setHasTickMarks=function(e){this.hasTickMarks=e,this.updateTickMarksUI()},t.prototype.getDisabled=function(){return this.isDisabled},t.prototype.setDisabled=function(e){this.isDisabled=e,e?(this.adapter.addClass(f.DISABLED),this.isRange&&this.adapter.setInputAttribute(h.INPUT_DISABLED,"",o.START),this.adapter.setInputAttribute(h.INPUT_DISABLED,"",o.END)):(this.adapter.removeClass(f.DISABLED),this.isRange&&this.adapter.removeInputAttribute(h.INPUT_DISABLED,o.START),this.adapter.removeInputAttribute(h.INPUT_DISABLED,o.END))},t.prototype.getIsRange=function(){return this.isRange},t.prototype.layout=function(e){var t=(void 0===e?{}:e).skipUpdateUI;this.rect=this.adapter.getBoundingClientRect(),this.isRange&&(this.startThumbKnobWidth=this.adapter.getThumbKnobWidth(o.START),this.endThumbKnobWidth=this.adapter.getThumbKnobWidth(o.END)),t||this.updateUI()},t.prototype.handleResize=function(){this.layout()},t.prototype.handleDown=function(e){if(!this.isDisabled){this.valueStartBeforeDownEvent=this.valueStart,this.valueBeforeDownEvent=this.value;var t=null!=e.clientX?e.clientX:e.targetTouches[0].clientX;this.downEventClientX=t;var r=this.mapClientXOnSliderScale(t);this.thumb=this.getThumbFromDownEvent(t,r),null!==this.thumb&&(this.handleDragStart(e,r,this.thumb),this.updateValue(r,this.thumb,{emitInputEvent:!0}))}},t.prototype.handleMove=function(e){if(!this.isDisabled){e.preventDefault();var t=null!=e.clientX?e.clientX:e.targetTouches[0].clientX,r=null!=this.thumb;if(this.thumb=this.getThumbFromMoveEvent(t),null!==this.thumb){var n=this.mapClientXOnSliderScale(t);r||(this.handleDragStart(e,n,this.thumb),this.adapter.emitDragStartEvent(n,this.thumb)),this.updateValue(n,this.thumb,{emitInputEvent:!0})}}},t.prototype.handleUp=function(){var e,t;if(!this.isDisabled&&null!==this.thumb){(null===(t=(e=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===t?void 0:t.call(e))&&this.handleInputBlur(this.thumb);var r=this.thumb===o.START?this.valueStartBeforeDownEvent:this.valueBeforeDownEvent,n=this.thumb===o.START?this.valueStart:this.value;r!==n&&this.adapter.emitChangeEvent(n,this.thumb),this.adapter.emitDragEndEvent(n,this.thumb),this.thumb=null}},t.prototype.handleThumbMouseenter=function(){this.isDiscrete&&this.isRange&&(this.adapter.addThumbClass(f.THUMB_WITH_INDICATOR,o.START),this.adapter.addThumbClass(f.THUMB_WITH_INDICATOR,o.END))},t.prototype.handleThumbMouseleave=function(){var e,t;this.isDiscrete&&this.isRange&&(!(null===(t=(e=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===t?void 0:t.call(e))&&(this.adapter.isInputFocused(o.START)||this.adapter.isInputFocused(o.END))||this.thumb||(this.adapter.removeThumbClass(f.THUMB_WITH_INDICATOR,o.START),this.adapter.removeThumbClass(f.THUMB_WITH_INDICATOR,o.END)))},t.prototype.handleMousedownOrTouchstart=function(e){var t=this,r="mousedown"===e.type?"mousemove":"touchmove";this.adapter.registerBodyEventHandler(r,this.moveListener);var n=function(){t.handleUp(),t.adapter.deregisterBodyEventHandler(r,t.moveListener),t.adapter.deregisterEventHandler("mouseup",n),t.adapter.deregisterEventHandler("touchend",n)};this.adapter.registerBodyEventHandler("mouseup",n),this.adapter.registerBodyEventHandler("touchend",n),this.handleDown(e)},t.prototype.handlePointerdown=function(e){0===e.button&&(null!=e.pointerId&&this.adapter.setPointerCapture(e.pointerId),this.adapter.registerEventHandler("pointermove",this.moveListener),this.handleDown(e))},t.prototype.handleInputChange=function(e){var t=Number(this.adapter.getInputValue(e));e===o.START?this.setValueStart(t):this.setValue(t),this.adapter.emitChangeEvent(e===o.START?this.valueStart:this.value,e),this.adapter.emitInputEvent(e===o.START?this.valueStart:this.value,e)},t.prototype.handleInputFocus=function(e){if(this.adapter.addThumbClass(f.THUMB_FOCUSED,e),this.isDiscrete&&(this.adapter.addThumbClass(f.THUMB_WITH_INDICATOR,e),this.isRange)){var t=e===o.START?o.END:o.START;this.adapter.addThumbClass(f.THUMB_WITH_INDICATOR,t)}},t.prototype.handleInputBlur=function(e){if(this.adapter.removeThumbClass(f.THUMB_FOCUSED,e),this.isDiscrete&&(this.adapter.removeThumbClass(f.THUMB_WITH_INDICATOR,e),this.isRange)){var t=e===o.START?o.END:o.START;this.adapter.removeThumbClass(f.THUMB_WITH_INDICATOR,t)}},t.prototype.handleDragStart=function(e,t,r){var n,o;this.adapter.emitDragStartEvent(t,r),this.adapter.focusInput(r),(null===(o=(n=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===o?void 0:o.call(n))&&this.handleInputFocus(r),e.preventDefault()},t.prototype.getThumbFromDownEvent=function(e,t){if(!this.isRange)return o.END;var r=this.adapter.getThumbBoundingClientRect(o.START),n=this.adapter.getThumbBoundingClientRect(o.END),a=e>=r.left&&e<=r.right,i=e>=n.left&&e<=n.right;return a&&i?null:a?o.START:i?o.END:t<this.valueStart?o.START:t>this.value?o.END:t-this.valueStart<=this.value-t?o.START:o.END},t.prototype.getThumbFromMoveEvent=function(e){if(null!==this.thumb)return this.thumb;if(null===this.downEventClientX)throw new Error("`downEventClientX` is null after move event.");return Math.abs(this.downEventClientX-e)<p.THUMB_UPDATE_MIN_PX?this.thumb:e<this.downEventClientX?this.adapter.isRTL()?o.END:o.START:this.adapter.isRTL()?o.START:o.END},t.prototype.updateUI=function(e){e?this.updateThumbAndInputAttributes(e):(this.updateThumbAndInputAttributes(o.START),this.updateThumbAndInputAttributes(o.END)),this.updateThumbAndTrackUI(e),this.updateValueIndicatorUI(e),this.updateTickMarksUI()},t.prototype.updateThumbAndInputAttributes=function(e){if(e){var t=this.isRange&&e===o.START?this.valueStart:this.value,r=String(t);this.adapter.setInputAttribute(h.INPUT_VALUE,r,e),this.isRange&&e===o.START?this.adapter.setInputAttribute(h.INPUT_MIN,String(t+this.minRange),o.END):this.isRange&&e===o.END&&this.adapter.setInputAttribute(h.INPUT_MAX,String(t-this.minRange),o.START),this.adapter.getInputValue(e)!==r&&this.adapter.setInputValue(r,e);var n=this.adapter.getValueToAriaValueTextFn();n&&this.adapter.setInputAttribute(h.ARIA_VALUETEXT,n(t,e),e)}},t.prototype.updateValueIndicatorUI=function(e){if(this.isDiscrete){var t=this.isRange&&e===o.START?this.valueStart:this.value;this.adapter.setValueIndicatorText(t,e===o.START?o.START:o.END),!e&&this.isRange&&this.adapter.setValueIndicatorText(this.valueStart,o.START)}},t.prototype.updateTickMarksUI=function(){if(this.isDiscrete&&this.hasTickMarks){var e=(this.valueStart-this.min)/this.step,t=(this.value-this.valueStart)/this.step+1,r=(this.max-this.value)/this.step,o=Array.from({length:e}).fill(n.INACTIVE),a=Array.from({length:t}).fill(n.ACTIVE),i=Array.from({length:r}).fill(n.INACTIVE);this.adapter.updateTickMarks(o.concat(a).concat(i))}},t.prototype.mapClientXOnSliderScale=function(e){var t=(e-this.rect.left)/this.rect.width;this.adapter.isRTL()&&(t=1-t);var r=this.min+t*(this.max-this.min);return r===this.max||r===this.min?r:Number(this.quantize(r).toFixed(this.numDecimalPlaces))},t.prototype.quantize=function(e){var t=Math.round((e-this.min)/this.step);return this.min+t*this.step},t.prototype.updateValue=function(e,t,r){var n=(void 0===r?{}:r).emitInputEvent;if(e=this.clampValue(e,t),this.isRange&&t===o.START){if(this.valueStart===e)return;this.valueStart=e}else{if(this.value===e)return;this.value=e}this.updateUI(t),n&&this.adapter.emitInputEvent(t===o.START?this.valueStart:this.value,t)},t.prototype.clampValue=function(e,t){return e=Math.min(Math.max(e,this.min),this.max),this.isRange&&t===o.START&&e>this.value-this.minRange?this.value-this.minRange:this.isRange&&t===o.END&&e<this.valueStart+this.minRange?this.valueStart+this.minRange:e},t.prototype.updateThumbAndTrackUI=function(e){var t=this,r=this.max,n=this.min,i=(this.value-this.valueStart)/(r-n),l=i*this.rect.width,s=this.adapter.isRTL(),u=b?(0,g.getCorrectPropertyName)(window,"transform"):"transform";if(this.isRange){var c=this.adapter.isRTL()?(r-this.value)/(r-n)*this.rect.width:(this.valueStart-n)/(r-n)*this.rect.width,d=c+l;this.animFrame.request(a.SLIDER_UPDATE,(function(){!s&&e===o.START||s&&e!==o.START?(t.adapter.setTrackActiveStyleProperty("transform-origin","right"),t.adapter.setTrackActiveStyleProperty("left","auto"),t.adapter.setTrackActiveStyleProperty("right",t.rect.width-d+"px")):(t.adapter.setTrackActiveStyleProperty("transform-origin","left"),t.adapter.setTrackActiveStyleProperty("right","auto"),t.adapter.setTrackActiveStyleProperty("left",c+"px")),t.adapter.setTrackActiveStyleProperty(u,"scaleX("+i+")");var r=s?d:c,n=t.adapter.isRTL()?c:d;e!==o.START&&e&&t.initialStylesRemoved||(t.adapter.setThumbStyleProperty(u,"translateX("+r+"px)",o.START),t.alignValueIndicator(o.START,r)),e!==o.END&&e&&t.initialStylesRemoved||(t.adapter.setThumbStyleProperty(u,"translateX("+n+"px)",o.END),t.alignValueIndicator(o.END,n)),t.removeInitialStyles(s),t.updateOverlappingThumbsUI(r,n,e)}))}else this.animFrame.request(a.SLIDER_UPDATE,(function(){var e=s?t.rect.width-l:l;t.adapter.setThumbStyleProperty(u,"translateX("+e+"px)",o.END),t.alignValueIndicator(o.END,e),t.adapter.setTrackActiveStyleProperty(u,"scaleX("+i+")"),t.removeInitialStyles(s)}))},t.prototype.alignValueIndicator=function(e,t){if(this.isDiscrete){var r=this.adapter.getThumbBoundingClientRect(e).width/2,n=this.adapter.getValueIndicatorContainerWidth(e),o=this.adapter.getBoundingClientRect().width;n/2>t+r?(this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_LEFT,r+"px",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"0",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",e)):n/2>o-t+r?(this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_LEFT,"auto",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_RIGHT,r+"px",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(50%)",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"auto",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"0",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",e)):(this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_LEFT,"50%",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"50%",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"translateX(-50%)",e))}},t.prototype.removeInitialStyles=function(e){if(!this.initialStylesRemoved){var t=e?"right":"left";this.adapter.removeThumbStyleProperty(t,o.END),this.isRange&&this.adapter.removeThumbStyleProperty(t,o.START),this.initialStylesRemoved=!0,this.resetTrackAndThumbAnimation()}},t.prototype.resetTrackAndThumbAnimation=function(){var e=this;if(this.isDiscrete){var t=b?(0,g.getCorrectPropertyName)(window,"transition"):"transition",r="none 0s ease 0s";this.adapter.setThumbStyleProperty(t,r,o.END),this.isRange&&this.adapter.setThumbStyleProperty(t,r,o.START),this.adapter.setTrackActiveStyleProperty(t,r),requestAnimationFrame((function(){e.adapter.removeThumbStyleProperty(t,o.END),e.adapter.removeTrackActiveStyleProperty(t),e.isRange&&e.adapter.removeThumbStyleProperty(t,o.START)}))}},t.prototype.updateOverlappingThumbsUI=function(e,t,r){var n=!1;if(this.adapter.isRTL()){var a=e-this.startThumbKnobWidth/2;n=t+this.endThumbKnobWidth/2>=a}else{n=e+this.startThumbKnobWidth/2>=t-this.endThumbKnobWidth/2}n?(this.adapter.addThumbClass(f.THUMB_TOP,r||o.END),this.adapter.removeThumbClass(f.THUMB_TOP,r===o.START?o.END:o.START)):(this.adapter.removeThumbClass(f.THUMB_TOP,o.START),this.adapter.removeThumbClass(f.THUMB_TOP,o.END))},t.prototype.convertAttributeValueToNumber=function(e,t){if(null===e)throw new Error("MDCSliderFoundation: `"+t+"` must be non-null.");var r=Number(e);if(isNaN(r))throw new Error("MDCSliderFoundation: `"+t+"` value is `"+e+"`, but must be a number.");return r},t.prototype.validateProperties=function(e){var t=e.min,r=e.max,n=e.value,o=e.valueStart,a=e.step,i=e.minRange;if(t>=r)throw new Error("MDCSliderFoundation: min must be strictly less than max. Current: [min: "+t+", max: "+r+"]");if(a<=0)throw new Error("MDCSliderFoundation: step must be a positive number. Current step: "+a);if(this.isRange){if(n<t||n>r||o<t||o>r)throw new Error("MDCSliderFoundation: values must be in [min, max] range. Current values: [start value: "+o+", end value: "+n+", min: "+t+", max: "+r+"]");if(o>n)throw new Error("MDCSliderFoundation: start value must be <= end value. Current values: [start value: "+o+", end value: "+n+"]");if(i<0)throw new Error("MDCSliderFoundation: minimum range must be non-negative. Current min range: "+i);if(n-o<i)throw new Error("MDCSliderFoundation: start value and end value must differ by at least "+i+". Current values: [start value: "+o+", end value: "+n+"]");var l=(o-t)/a,s=(n-t)/a;if(!Number.isInteger(parseFloat(l.toFixed(6)))||!Number.isInteger(parseFloat(s.toFixed(6))))throw new Error("MDCSliderFoundation: Slider values must be valid based on the step value ("+a+"). Current values: [start value: "+o+", end value: "+n+", min: "+t+"]")}else{if(n<t||n>r)throw new Error("MDCSliderFoundation: value must be in [min, max] range. Current values: [value: "+n+", min: "+t+", max: "+r+"]");s=(n-t)/a;if(!Number.isInteger(parseFloat(s.toFixed(6))))throw new Error("MDCSliderFoundation: Slider value must be valid based on the step value ("+a+"). Current value: "+n)}},t.prototype.registerEventHandlers=function(){this.adapter.registerWindowEventHandler("resize",this.resizeListener),t.SUPPORTS_POINTER_EVENTS?(this.adapter.registerEventHandler("pointerdown",this.pointerdownListener),this.adapter.registerEventHandler("pointerup",this.pointerupListener)):(this.adapter.registerEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.registerEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.registerThumbEventHandler(o.START,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(o.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(o.START,"change",this.inputStartChangeListener),this.adapter.registerInputEventHandler(o.START,"focus",this.inputStartFocusListener),this.adapter.registerInputEventHandler(o.START,"blur",this.inputStartBlurListener)),this.adapter.registerThumbEventHandler(o.END,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(o.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(o.END,"change",this.inputEndChangeListener),this.adapter.registerInputEventHandler(o.END,"focus",this.inputEndFocusListener),this.adapter.registerInputEventHandler(o.END,"blur",this.inputEndBlurListener)},t.prototype.deregisterEventHandlers=function(){this.adapter.deregisterWindowEventHandler("resize",this.resizeListener),t.SUPPORTS_POINTER_EVENTS?(this.adapter.deregisterEventHandler("pointerdown",this.pointerdownListener),this.adapter.deregisterEventHandler("pointerup",this.pointerupListener)):(this.adapter.deregisterEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.deregisterEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.deregisterThumbEventHandler(o.START,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(o.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(o.START,"change",this.inputStartChangeListener),this.adapter.deregisterInputEventHandler(o.START,"focus",this.inputStartFocusListener),this.adapter.deregisterInputEventHandler(o.START,"blur",this.inputStartBlurListener)),this.adapter.deregisterThumbEventHandler(o.END,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(o.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(o.END,"change",this.inputEndChangeListener),this.adapter.deregisterInputEventHandler(o.END,"focus",this.inputEndFocusListener),this.adapter.deregisterInputEventHandler(o.END,"blur",this.inputEndBlurListener)},t.prototype.handlePointerup=function(){this.handleUp(),this.adapter.deregisterEventHandler("pointermove",this.moveListener)},t.SUPPORTS_POINTER_EVENTS=b&&Boolean(window.PointerEvent)&&!(["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document),t}(y.E);function E(e){var t=/(?:\.(\d+))?(?:[eE]([+\-]?\d+))?$/.exec(String(e));if(!t)return 0;var r=t[1]||"",n=t[2]||0;return Math.max(0,("0"===r?0:r.length)-Number(n))}
|
|
305
|
+
var n=function(){function e(){this.rafIDs=new Map}return e.prototype.request=function(e,t){var r=this;this.cancel(e);var n=requestAnimationFrame((function(n){r.rafIDs.delete(e),t(n)}));this.rafIDs.set(e,n)},e.prototype.cancel=function(e){var t=this.rafIDs.get(e);t&&(cancelAnimationFrame(t),this.rafIDs.delete(e))},e.prototype.cancelAll=function(){var e=this;this.rafIDs.forEach((function(t,r){e.cancel(r)}))},e.prototype.getQueue=function(){var e=[];return this.rafIDs.forEach((function(t,r){e.push(r)})),e},e}()},,,,,,,,,,,,,,,,,,,,function(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const n=r(1),o=r(0),a=r(3),i=r(110),l=o.memo((function(e){const{children:t,...r}=e;return n.jsxs("div",{className:"mdc-slider__track",children:[n.jsx("div",{className:"mdc-slider__track--inactive"}),n.jsx("div",{className:"mdc-slider__track--active",children:n.jsx("div",{...r,className:"mdc-slider__track--active_fill"})}),t]})})),s=o.memo((function({tickMarks:e}){return n.jsx("div",{className:"mdc-slider__tick-marks",children:e.map(((e,t)=>n.jsx("div",{className:e.className},t)))})})),u=o.memo(o.forwardRef((function(e,t){return n.jsxs("div",{className:"mdc-slider__thumb",ref:t,children:[e.children,n.jsx("div",{className:"mdc-slider__thumb-knob"})]})}))),c=e=>{const t=Number(e);return"number"!=typeof t||isNaN(t)?void 0:t},d=a.createComponent((function(e,t){const{rootEl:r,setInputsRef:d,setThumbRef:f,tickMarks:p,trackActiveEl:h}=(e=>{const t=o.useRef([]),r=o.useRef([]),{foundation:n,...l}=a.useFoundation({props:e,elements:{rootEl:!0,trackActiveEl:!0},foundation:({rootEl:e,trackActiveEl:t,emit:r})=>new i.MDCSliderFoundation({hasClass:t=>e.hasClass(t),addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),addThumbClass:(e,t)=>{var r;null==(r=s(t))||r.classList.add(e)},removeThumbClass:(e,t)=>{var r;null==(r=s(t))||r.classList.remove(e)},getAttribute:t=>e.getProp(t),getInputValue:e=>{var t;return(null==(t=u(e))?void 0:t.value)??"1"},setInputValue:(e,t)=>{const r=u(t);return void 0!==r?r.value=e:e},getInputAttribute:(e,t)=>{const r=u(t);return r?r.getAttribute(e):null},setInputAttribute:(e,t,r)=>{var n;null==(n=u(r))||n.setAttribute(e,t)},removeInputAttribute:(e,t)=>{var r;null==(r=u(t))||r.removeAttribute(e)},focusInput:e=>{var t;null==(t=u(e))||t.focus()},isInputFocused:e=>u(e)===document.activeElement,shouldHideFocusStylesForPointerEvents:()=>!1,getThumbKnobWidth:e=>{const t=s(e);return t?t.querySelector(`.${i.cssClasses.THUMB_KNOB}`).getBoundingClientRect().width:a.emptyClientRect.width},getThumbBoundingClientRect:e=>{var t;return(null==(t=s(e))?void 0:t.getBoundingClientRect())??a.emptyClientRect},getBoundingClientRect:()=>e.ref?e.ref.getBoundingClientRect():a.emptyClientRect,getValueIndicatorContainerWidth:e=>{const t=s(e);return t?t.querySelector(`.${i.cssClasses.VALUE_INDICATOR_CONTAINER}`).getBoundingClientRect().width:a.emptyClientRect.width},isRTL:()=>!!e.ref&&"rtl"===getComputedStyle(e.ref).direction,setThumbStyleProperty:(e,t,r)=>{var n;null==(n=s(r))||n.style.setProperty(e,t)},removeThumbStyleProperty:(e,t)=>{var r;null==(r=s(t))||r.style.removeProperty(e)},setTrackActiveStyleProperty:(e,r)=>{t.setStyle(e,r)},removeTrackActiveStyleProperty:e=>{t.setStyle(e,null)},setValueIndicatorText:(e,t)=>{const r=s(t);return r&&(r.querySelector(`.${i.cssClasses.VALUE_INDICATOR_TEXT}`).textContent=String(e)),""},getValueToAriaValueTextFn:()=>null,updateTickMarks:t=>{var r,n;let o=null==(r=e.ref)?void 0:r.querySelector(`.${i.cssClasses.TICK_MARKS_CONTAINER}`);if(!o){o=document.createElement("div"),o.classList.add(i.cssClasses.TICK_MARKS_CONTAINER);const t=null==(n=e.ref)?void 0:n.querySelector(`.${i.cssClasses.TRACK}`);t&&t.appendChild(o)}if(t.length!==o.children.length){for(;o.firstChild;)o.removeChild(o.firstChild);f(t)}else p(o,t)},setPointerCapture:t=>{var r;null==(r=e.ref)||r.setPointerCapture(t)},emitChangeEvent:(e,t)=>{2===t?r("onChange",{value:e,thumb:t}):1===t&&r("onChangeValueStart",{value:e,thumb:t})},emitInputEvent:(e,t)=>{2===t?r("onInput",{value:e,thumb:t}):1===t&&r("onInputValueStart",{value:e,thumb:t})},registerEventHandler:(t,r)=>{e.addEventListener(t,r)},deregisterEventHandler:(t,r)=>{e.removeEventListener(t,r)},registerThumbEventHandler:(e,t,r)=>{var n;null==(n=s(e))||n.addEventListener(t,r)},deregisterThumbEventHandler:(e,t,r)=>{var n;null==(n=s(e))||n.removeEventListener(t,r)},registerInputEventHandler:(e,t,r)=>{var n;null==(n=u(e))||n.addEventListener(t,r)},deregisterInputEventHandler:(e,t,r)=>{var n;null==(n=u(e))||n.removeEventListener(t,r)},registerBodyEventHandler:(e,t)=>{document.body.addEventListener(e,t)},deregisterBodyEventHandler:(e,t)=>{document.body.removeEventListener(e,t)},registerWindowEventHandler:(e,t)=>{window.addEventListener(e,t)},deregisterWindowEventHandler:(e,t)=>{window.removeEventListener(e,t)}})}),s=e=>{var r,n;return e===i.Thumb.END?null==(r=t.current)?void 0:r[t.current.length-1]:null==(n=t.current)?void 0:n[0]},u=e=>{var t,n;return e===i.Thumb.END?null==(t=r.current)?void 0:t[r.current.length-1]:null==(n=r.current)?void 0:n[0]},[c,d]=o.useState([]),f=e=>{const t=[];for(let r=0;r<e.length;r++){const n=e[r]===i.TickMark.ACTIVE?i.cssClasses.TICK_MARK_ACTIVE:i.cssClasses.TICK_MARK_INACTIVE;t.push({className:n})}d(t)},p=(e,t)=>{const r=Array.from(e.children);for(let e=0;e<r.length;e++)t[e]===i.TickMark.ACTIVE?(r[e].classList.add(i.cssClasses.TICK_MARK_ACTIVE),r[e].classList.remove(i.cssClasses.TICK_MARK_INACTIVE)):(r[e].classList.add(i.cssClasses.TICK_MARK_INACTIVE),r[e].classList.remove(i.cssClasses.TICK_MARK_ACTIVE))};return o.useEffect((()=>{n.layout()}),[n]),o.useEffect((()=>{void 0!==e.range&&(n.isRange=e.range)}),[e.range,n]),o.useEffect((()=>{let t=void 0!==e.value?Number(e.value):n.getValue();const r=n.getMin(),o=n.getMax();t<r&&(console.warn(`Attempted to set slider to ${t} which is less than min: ${r}`),t=r),t>o&&(console.warn(`Attempted to set slider to ${t} which is greater than max: ${o}`),t=o),n.setValue(t)}),[e.value,n]),o.useEffect((()=>{if(e.range){let t=void 0!==e.valueStart?Number(e.valueStart):n.getValueStart();const r=n.getMin(),o=n.getMax();t<r&&(console.warn(`Attempted to set slider to ${t} which is less than min: ${r}`),t=r),t>o&&(console.warn(`Attempted to set slider to ${t} which is greater than max: ${o}`),t=o),n.setValueStart(t)}}),[e.range,e.valueStart,n]),o.useEffect((()=>{void 0!==e.disabled&&n.setDisabled(e.disabled)}),[e.disabled,n]),o.useEffect((()=>{void 0!==e.discrete&&(n.isDiscrete=e.discrete),e.discrete&&0===n.getStep()&&n.setStep(1)}),[e.discrete,n]),o.useEffect((()=>{void 0!==e.minRange&&n.setMinRange(Number(e.minRange))}),[e.minRange,n]),o.useEffect((()=>{const t=n.hasTickMarks;void 0!==e.displayMarkers&&e.displayMarkers!==t&&(n.hasTickMarks=e.displayMarkers,n.setHasTickMarks(e.displayMarkers))}),[e.displayMarkers,n]),o.useEffect((()=>{const e=n.handleDown.bind(n);n.handleDown=t=>{e(t)}}),[n]),{setInputsRef:(e,t)=>{r.current[e]=t||void 0},setThumbRef:(e,r)=>{t.current[e]=r||void 0},tickMarks:c,...l}})(e),{children:v,disabled:m,discrete:_,displayMarkers:g,max:y=100,min:b=0,minRange:T,onChange:E,onChangeValueStart:w,onInput:S,onInputValueStart:A,range:C,step:k,value:x,valueStart:O,...P}=e,I=a.useClassNames(e,["mdc-slider",{"mdc-slider--discrete":_,"mdc-slider--tick-marks":g&&_,"mdc-slider--disabled":m,"mdc-slider--range":C}]);return g&&!_&&console.warn("The 'displayMarkers' prop on rmwc Slider will\n only work in conjunction with the 'discrete' prop"),n.jsxs(a.Tag,{className:I,tabIndex:0,tag:"div",element:r,"data-min-range":T,ref:t,children:[C&&n.jsx("input",{...P,"aria-label":"Slider start value","aria-valuemax":c(y),"aria-valuenow":O,className:"mdc-slider__input",disabled:m,max:c(y),min:c(b),name:"rangeStart",onChange:w,onInput:A,ref:e=>d(0,e),step:k,type:"range",value:O}),n.jsx("input",{"aria-label":"Slider value","aria-valuemax":c(y),"aria-valuenow":x,className:"mdc-slider__input",disabled:m,max:c(y),min:c(b),name:"rangeEnd",...P,ref:e=>d(1,e),step:k,type:"range",value:x}),n.jsx(l,{...h.props({}),children:g&&n.jsx(s,{tickMarks:p})}),C&&n.jsx(u,{ref:e=>f(0,e),children:_&&n.jsx("div",{className:"mdc-slider__value-indicator-container","aria-hidden":"true",children:n.jsx("div",{className:"mdc-slider__value-indicator",children:n.jsx("span",{className:"mdc-slider__value-indicator-text",children:O})})})}),n.jsx(u,{ref:e=>f(1,e),children:_&&n.jsx("div",{className:"mdc-slider__value-indicator-container","aria-hidden":"true",children:n.jsx("div",{className:"mdc-slider__value-indicator",children:n.jsx("span",{className:"mdc-slider__value-indicator-text",children:x})})})}),v]})}));t.Slider=d},,,,,,,function(e,t,r){r.r(t),r.d(t,{MDCSlider:function(){return w},MDCSliderFoundation:function(){return T},Thumb:function(){return o},TickMark:function(){return n},attributes:function(){return h},cssClasses:function(){return f},events:function(){return v},numbers:function(){return p},strings:function(){return m}});var n,o,a,i=r(2),l=r(5),s=r(46),u=r(16),c=r(21),d=r(19),f={DISABLED:"mdc-slider--disabled",DISCRETE:"mdc-slider--discrete",INPUT:"mdc-slider__input",RANGE:"mdc-slider--range",THUMB:"mdc-slider__thumb",THUMB_FOCUSED:"mdc-slider__thumb--focused",THUMB_KNOB:"mdc-slider__thumb-knob",THUMB_TOP:"mdc-slider__thumb--top",THUMB_WITH_INDICATOR:"mdc-slider__thumb--with-indicator",TICK_MARKS:"mdc-slider--tick-marks",TICK_MARKS_CONTAINER:"mdc-slider__tick-marks",TICK_MARK_ACTIVE:"mdc-slider__tick-mark--active",TICK_MARK_INACTIVE:"mdc-slider__tick-mark--inactive",TRACK:"mdc-slider__track",TRACK_ACTIVE:"mdc-slider__track--active_fill",VALUE_INDICATOR_CONTAINER:"mdc-slider__value-indicator-container",VALUE_INDICATOR_TEXT:"mdc-slider__value-indicator-text"},p={STEP_SIZE:1,MIN_RANGE:0,THUMB_UPDATE_MIN_PX:5},h={ARIA_VALUETEXT:"aria-valuetext",INPUT_DISABLED:"disabled",INPUT_MIN:"min",INPUT_MAX:"max",INPUT_VALUE:"value",INPUT_STEP:"step",DATA_MIN_RANGE:"data-min-range"},v={CHANGE:"MDCSlider:change",INPUT:"MDCSlider:input"},m={VAR_VALUE_INDICATOR_CARET_LEFT:"--slider-value-indicator-caret-left",VAR_VALUE_INDICATOR_CARET_RIGHT:"--slider-value-indicator-caret-right",VAR_VALUE_INDICATOR_CARET_TRANSFORM:"--slider-value-indicator-caret-transform",VAR_VALUE_INDICATOR_CONTAINER_LEFT:"--slider-value-indicator-container-left",VAR_VALUE_INDICATOR_CONTAINER_RIGHT:"--slider-value-indicator-container-right",VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM:"--slider-value-indicator-container-transform"},_=r(83),g=r(55),y=r(4);!function(e){e[e.ACTIVE=0]="ACTIVE",e[e.INACTIVE=1]="INACTIVE"}(n||(n={})),function(e){e[e.START=1]="START",e[e.END=2]="END"}(o||(o={})),function(e){e.SLIDER_UPDATE="slider_update"}(a||(a={}));var b=void 0!==window,T=function(e){function t(r){var n=e.call(this,(0,i.C3)((0,i.C3)({},t.defaultAdapter),r))||this;return n.initialStylesRemoved=!1,n.isDisabled=!1,n.isDiscrete=!1,n.step=p.STEP_SIZE,n.minRange=p.MIN_RANGE,n.hasTickMarks=!1,n.isRange=!1,n.thumb=null,n.downEventClientX=null,n.startThumbKnobWidth=0,n.endThumbKnobWidth=0,n.animFrame=new _.Q,n}return(0,i.ct)(t,e),Object.defineProperty(t,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},addClass:function(){},removeClass:function(){},addThumbClass:function(){},removeThumbClass:function(){},getAttribute:function(){return null},getInputValue:function(){return""},setInputValue:function(){},getInputAttribute:function(){return null},setInputAttribute:function(){return null},removeInputAttribute:function(){return null},focusInput:function(){},isInputFocused:function(){return!1},shouldHideFocusStylesForPointerEvents:function(){return!1},getThumbKnobWidth:function(){return 0},getValueIndicatorContainerWidth:function(){return 0},getThumbBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},isRTL:function(){return!1},setThumbStyleProperty:function(){},removeThumbStyleProperty:function(){},setTrackActiveStyleProperty:function(){},removeTrackActiveStyleProperty:function(){},setValueIndicatorText:function(){},getValueToAriaValueTextFn:function(){return null},updateTickMarks:function(){},setPointerCapture:function(){},emitChangeEvent:function(){},emitInputEvent:function(){},emitDragStartEvent:function(){},emitDragEndEvent:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerThumbEventHandler:function(){},deregisterThumbEventHandler:function(){},registerInputEventHandler:function(){},deregisterInputEventHandler:function(){},registerBodyEventHandler:function(){},deregisterBodyEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this;this.isDisabled=this.adapter.hasClass(f.DISABLED),this.isDiscrete=this.adapter.hasClass(f.DISCRETE),this.hasTickMarks=this.adapter.hasClass(f.TICK_MARKS),this.isRange=this.adapter.hasClass(f.RANGE);var t=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_MIN,this.isRange?o.START:o.END),h.INPUT_MIN),r=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_MAX,o.END),h.INPUT_MAX),n=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_VALUE,o.END),h.INPUT_VALUE),a=this.isRange?this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_VALUE,o.START),h.INPUT_VALUE):t,i=this.adapter.getInputAttribute(h.INPUT_STEP,o.END),l=i?this.convertAttributeValueToNumber(i,h.INPUT_STEP):this.step,s=this.adapter.getAttribute(h.DATA_MIN_RANGE),u=s?this.convertAttributeValueToNumber(s,h.DATA_MIN_RANGE):this.minRange;this.validateProperties({min:t,max:r,value:n,valueStart:a,step:l,minRange:u}),this.min=t,this.max=r,this.value=n,this.valueStart=a,this.step=l,this.minRange=u,this.numDecimalPlaces=E(this.step),this.valueBeforeDownEvent=n,this.valueStartBeforeDownEvent=a,this.mousedownOrTouchstartListener=this.handleMousedownOrTouchstart.bind(this),this.moveListener=this.handleMove.bind(this),this.pointerdownListener=this.handlePointerdown.bind(this),this.pointerupListener=this.handlePointerup.bind(this),this.thumbMouseenterListener=this.handleThumbMouseenter.bind(this),this.thumbMouseleaveListener=this.handleThumbMouseleave.bind(this),this.inputStartChangeListener=function(){e.handleInputChange(o.START)},this.inputEndChangeListener=function(){e.handleInputChange(o.END)},this.inputStartFocusListener=function(){e.handleInputFocus(o.START)},this.inputEndFocusListener=function(){e.handleInputFocus(o.END)},this.inputStartBlurListener=function(){e.handleInputBlur(o.START)},this.inputEndBlurListener=function(){e.handleInputBlur(o.END)},this.resizeListener=this.handleResize.bind(this),this.registerEventHandlers()},t.prototype.destroy=function(){this.deregisterEventHandlers()},t.prototype.setMin=function(e){this.min=e,this.isRange||(this.valueStart=e),this.updateUI()},t.prototype.setMax=function(e){this.max=e,this.updateUI()},t.prototype.getMin=function(){return this.min},t.prototype.getMax=function(){return this.max},t.prototype.getValue=function(){return this.value},t.prototype.setValue=function(e){if(this.isRange&&e<this.valueStart+this.minRange)throw new Error("end thumb value ("+e+") must be >= start thumb value ("+this.valueStart+") + min range ("+this.minRange+")");this.updateValue(e,o.END)},t.prototype.getValueStart=function(){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");return this.valueStart},t.prototype.setValueStart=function(e){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");if(this.isRange&&e>this.value-this.minRange)throw new Error("start thumb value ("+e+") must be <= end thumb value ("+this.value+") - min range ("+this.minRange+")");this.updateValue(e,o.START)},t.prototype.setStep=function(e){this.step=e,this.numDecimalPlaces=E(e),this.updateUI()},t.prototype.setMinRange=function(e){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");if(e<0)throw new Error("`minRange` must be non-negative. Current value: "+e);if(this.value-this.valueStart<e)throw new Error("start thumb value ("+this.valueStart+") and end thumb value ("+this.value+") must differ by at least "+e+".");this.minRange=e},t.prototype.setIsDiscrete=function(e){this.isDiscrete=e,this.updateValueIndicatorUI(),this.updateTickMarksUI()},t.prototype.getStep=function(){return this.step},t.prototype.getMinRange=function(){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");return this.minRange},t.prototype.setHasTickMarks=function(e){this.hasTickMarks=e,this.updateTickMarksUI()},t.prototype.getDisabled=function(){return this.isDisabled},t.prototype.setDisabled=function(e){this.isDisabled=e,e?(this.adapter.addClass(f.DISABLED),this.isRange&&this.adapter.setInputAttribute(h.INPUT_DISABLED,"",o.START),this.adapter.setInputAttribute(h.INPUT_DISABLED,"",o.END)):(this.adapter.removeClass(f.DISABLED),this.isRange&&this.adapter.removeInputAttribute(h.INPUT_DISABLED,o.START),this.adapter.removeInputAttribute(h.INPUT_DISABLED,o.END))},t.prototype.getIsRange=function(){return this.isRange},t.prototype.layout=function(e){var t=(void 0===e?{}:e).skipUpdateUI;this.rect=this.adapter.getBoundingClientRect(),this.isRange&&(this.startThumbKnobWidth=this.adapter.getThumbKnobWidth(o.START),this.endThumbKnobWidth=this.adapter.getThumbKnobWidth(o.END)),t||this.updateUI()},t.prototype.handleResize=function(){this.layout()},t.prototype.handleDown=function(e){if(!this.isDisabled){this.valueStartBeforeDownEvent=this.valueStart,this.valueBeforeDownEvent=this.value;var t=null!=e.clientX?e.clientX:e.targetTouches[0].clientX;this.downEventClientX=t;var r=this.mapClientXOnSliderScale(t);this.thumb=this.getThumbFromDownEvent(t,r),null!==this.thumb&&(this.handleDragStart(e,r,this.thumb),this.updateValue(r,this.thumb,{emitInputEvent:!0}))}},t.prototype.handleMove=function(e){if(!this.isDisabled){e.preventDefault();var t=null!=e.clientX?e.clientX:e.targetTouches[0].clientX,r=null!=this.thumb;if(this.thumb=this.getThumbFromMoveEvent(t),null!==this.thumb){var n=this.mapClientXOnSliderScale(t);r||(this.handleDragStart(e,n,this.thumb),this.adapter.emitDragStartEvent(n,this.thumb)),this.updateValue(n,this.thumb,{emitInputEvent:!0})}}},t.prototype.handleUp=function(){var e,t;if(!this.isDisabled&&null!==this.thumb){(null===(t=(e=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===t?void 0:t.call(e))&&this.handleInputBlur(this.thumb);var r=this.thumb===o.START?this.valueStartBeforeDownEvent:this.valueBeforeDownEvent,n=this.thumb===o.START?this.valueStart:this.value;r!==n&&this.adapter.emitChangeEvent(n,this.thumb),this.adapter.emitDragEndEvent(n,this.thumb),this.thumb=null}},t.prototype.handleThumbMouseenter=function(){this.isDiscrete&&this.isRange&&(this.adapter.addThumbClass(f.THUMB_WITH_INDICATOR,o.START),this.adapter.addThumbClass(f.THUMB_WITH_INDICATOR,o.END))},t.prototype.handleThumbMouseleave=function(){var e,t;this.isDiscrete&&this.isRange&&(!(null===(t=(e=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===t?void 0:t.call(e))&&(this.adapter.isInputFocused(o.START)||this.adapter.isInputFocused(o.END))||this.thumb||(this.adapter.removeThumbClass(f.THUMB_WITH_INDICATOR,o.START),this.adapter.removeThumbClass(f.THUMB_WITH_INDICATOR,o.END)))},t.prototype.handleMousedownOrTouchstart=function(e){var t=this,r="mousedown"===e.type?"mousemove":"touchmove";this.adapter.registerBodyEventHandler(r,this.moveListener);var n=function(){t.handleUp(),t.adapter.deregisterBodyEventHandler(r,t.moveListener),t.adapter.deregisterEventHandler("mouseup",n),t.adapter.deregisterEventHandler("touchend",n)};this.adapter.registerBodyEventHandler("mouseup",n),this.adapter.registerBodyEventHandler("touchend",n),this.handleDown(e)},t.prototype.handlePointerdown=function(e){0===e.button&&(null!=e.pointerId&&this.adapter.setPointerCapture(e.pointerId),this.adapter.registerEventHandler("pointermove",this.moveListener),this.handleDown(e))},t.prototype.handleInputChange=function(e){var t=Number(this.adapter.getInputValue(e));e===o.START?this.setValueStart(t):this.setValue(t),this.adapter.emitChangeEvent(e===o.START?this.valueStart:this.value,e),this.adapter.emitInputEvent(e===o.START?this.valueStart:this.value,e)},t.prototype.handleInputFocus=function(e){if(this.adapter.addThumbClass(f.THUMB_FOCUSED,e),this.isDiscrete&&(this.adapter.addThumbClass(f.THUMB_WITH_INDICATOR,e),this.isRange)){var t=e===o.START?o.END:o.START;this.adapter.addThumbClass(f.THUMB_WITH_INDICATOR,t)}},t.prototype.handleInputBlur=function(e){if(this.adapter.removeThumbClass(f.THUMB_FOCUSED,e),this.isDiscrete&&(this.adapter.removeThumbClass(f.THUMB_WITH_INDICATOR,e),this.isRange)){var t=e===o.START?o.END:o.START;this.adapter.removeThumbClass(f.THUMB_WITH_INDICATOR,t)}},t.prototype.handleDragStart=function(e,t,r){var n,o;this.adapter.emitDragStartEvent(t,r),this.adapter.focusInput(r),(null===(o=(n=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===o?void 0:o.call(n))&&this.handleInputFocus(r),e.preventDefault()},t.prototype.getThumbFromDownEvent=function(e,t){if(!this.isRange)return o.END;var r=this.adapter.getThumbBoundingClientRect(o.START),n=this.adapter.getThumbBoundingClientRect(o.END),a=e>=r.left&&e<=r.right,i=e>=n.left&&e<=n.right;return a&&i?null:a?o.START:i?o.END:t<this.valueStart?o.START:t>this.value?o.END:t-this.valueStart<=this.value-t?o.START:o.END},t.prototype.getThumbFromMoveEvent=function(e){if(null!==this.thumb)return this.thumb;if(null===this.downEventClientX)throw new Error("`downEventClientX` is null after move event.");return Math.abs(this.downEventClientX-e)<p.THUMB_UPDATE_MIN_PX?this.thumb:e<this.downEventClientX?this.adapter.isRTL()?o.END:o.START:this.adapter.isRTL()?o.START:o.END},t.prototype.updateUI=function(e){e?this.updateThumbAndInputAttributes(e):(this.updateThumbAndInputAttributes(o.START),this.updateThumbAndInputAttributes(o.END)),this.updateThumbAndTrackUI(e),this.updateValueIndicatorUI(e),this.updateTickMarksUI()},t.prototype.updateThumbAndInputAttributes=function(e){if(e){var t=this.isRange&&e===o.START?this.valueStart:this.value,r=String(t);this.adapter.setInputAttribute(h.INPUT_VALUE,r,e),this.isRange&&e===o.START?this.adapter.setInputAttribute(h.INPUT_MIN,String(t+this.minRange),o.END):this.isRange&&e===o.END&&this.adapter.setInputAttribute(h.INPUT_MAX,String(t-this.minRange),o.START),this.adapter.getInputValue(e)!==r&&this.adapter.setInputValue(r,e);var n=this.adapter.getValueToAriaValueTextFn();n&&this.adapter.setInputAttribute(h.ARIA_VALUETEXT,n(t,e),e)}},t.prototype.updateValueIndicatorUI=function(e){if(this.isDiscrete){var t=this.isRange&&e===o.START?this.valueStart:this.value;this.adapter.setValueIndicatorText(t,e===o.START?o.START:o.END),!e&&this.isRange&&this.adapter.setValueIndicatorText(this.valueStart,o.START)}},t.prototype.updateTickMarksUI=function(){if(this.isDiscrete&&this.hasTickMarks){var e=(this.valueStart-this.min)/this.step,t=(this.value-this.valueStart)/this.step+1,r=(this.max-this.value)/this.step,o=Array.from({length:e}).fill(n.INACTIVE),a=Array.from({length:t}).fill(n.ACTIVE),i=Array.from({length:r}).fill(n.INACTIVE);this.adapter.updateTickMarks(o.concat(a).concat(i))}},t.prototype.mapClientXOnSliderScale=function(e){var t=(e-this.rect.left)/this.rect.width;this.adapter.isRTL()&&(t=1-t);var r=this.min+t*(this.max-this.min);return r===this.max||r===this.min?r:Number(this.quantize(r).toFixed(this.numDecimalPlaces))},t.prototype.quantize=function(e){var t=Math.round((e-this.min)/this.step);return this.min+t*this.step},t.prototype.updateValue=function(e,t,r){var n=(void 0===r?{}:r).emitInputEvent;if(e=this.clampValue(e,t),this.isRange&&t===o.START){if(this.valueStart===e)return;this.valueStart=e}else{if(this.value===e)return;this.value=e}this.updateUI(t),n&&this.adapter.emitInputEvent(t===o.START?this.valueStart:this.value,t)},t.prototype.clampValue=function(e,t){return e=Math.min(Math.max(e,this.min),this.max),this.isRange&&t===o.START&&e>this.value-this.minRange?this.value-this.minRange:this.isRange&&t===o.END&&e<this.valueStart+this.minRange?this.valueStart+this.minRange:e},t.prototype.updateThumbAndTrackUI=function(e){var t=this,r=this.max,n=this.min,i=(this.value-this.valueStart)/(r-n),l=i*this.rect.width,s=this.adapter.isRTL(),u=b?(0,g.getCorrectPropertyName)(window,"transform"):"transform";if(this.isRange){var c=this.adapter.isRTL()?(r-this.value)/(r-n)*this.rect.width:(this.valueStart-n)/(r-n)*this.rect.width,d=c+l;this.animFrame.request(a.SLIDER_UPDATE,(function(){!s&&e===o.START||s&&e!==o.START?(t.adapter.setTrackActiveStyleProperty("transform-origin","right"),t.adapter.setTrackActiveStyleProperty("left","auto"),t.adapter.setTrackActiveStyleProperty("right",t.rect.width-d+"px")):(t.adapter.setTrackActiveStyleProperty("transform-origin","left"),t.adapter.setTrackActiveStyleProperty("right","auto"),t.adapter.setTrackActiveStyleProperty("left",c+"px")),t.adapter.setTrackActiveStyleProperty(u,"scaleX("+i+")");var r=s?d:c,n=t.adapter.isRTL()?c:d;e!==o.START&&e&&t.initialStylesRemoved||(t.adapter.setThumbStyleProperty(u,"translateX("+r+"px)",o.START),t.alignValueIndicator(o.START,r)),e!==o.END&&e&&t.initialStylesRemoved||(t.adapter.setThumbStyleProperty(u,"translateX("+n+"px)",o.END),t.alignValueIndicator(o.END,n)),t.removeInitialStyles(s),t.updateOverlappingThumbsUI(r,n,e)}))}else this.animFrame.request(a.SLIDER_UPDATE,(function(){var e=s?t.rect.width-l:l;t.adapter.setThumbStyleProperty(u,"translateX("+e+"px)",o.END),t.alignValueIndicator(o.END,e),t.adapter.setTrackActiveStyleProperty(u,"scaleX("+i+")"),t.removeInitialStyles(s)}))},t.prototype.alignValueIndicator=function(e,t){if(this.isDiscrete){var r=this.adapter.getThumbBoundingClientRect(e).width/2,n=this.adapter.getValueIndicatorContainerWidth(e),o=this.adapter.getBoundingClientRect().width;n/2>t+r?(this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_LEFT,r+"px",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"0",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",e)):n/2>o-t+r?(this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_LEFT,"auto",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_RIGHT,r+"px",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(50%)",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"auto",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"0",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",e)):(this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_LEFT,"50%",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"50%",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(m.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"translateX(-50%)",e))}},t.prototype.removeInitialStyles=function(e){if(!this.initialStylesRemoved){var t=e?"right":"left";this.adapter.removeThumbStyleProperty(t,o.END),this.isRange&&this.adapter.removeThumbStyleProperty(t,o.START),this.initialStylesRemoved=!0,this.resetTrackAndThumbAnimation()}},t.prototype.resetTrackAndThumbAnimation=function(){var e=this;if(this.isDiscrete){var t=b?(0,g.getCorrectPropertyName)(window,"transition"):"transition",r="none 0s ease 0s";this.adapter.setThumbStyleProperty(t,r,o.END),this.isRange&&this.adapter.setThumbStyleProperty(t,r,o.START),this.adapter.setTrackActiveStyleProperty(t,r),requestAnimationFrame((function(){e.adapter.removeThumbStyleProperty(t,o.END),e.adapter.removeTrackActiveStyleProperty(t),e.isRange&&e.adapter.removeThumbStyleProperty(t,o.START)}))}},t.prototype.updateOverlappingThumbsUI=function(e,t,r){var n=!1;if(this.adapter.isRTL()){var a=e-this.startThumbKnobWidth/2;n=t+this.endThumbKnobWidth/2>=a}else{n=e+this.startThumbKnobWidth/2>=t-this.endThumbKnobWidth/2}n?(this.adapter.addThumbClass(f.THUMB_TOP,r||o.END),this.adapter.removeThumbClass(f.THUMB_TOP,r===o.START?o.END:o.START)):(this.adapter.removeThumbClass(f.THUMB_TOP,o.START),this.adapter.removeThumbClass(f.THUMB_TOP,o.END))},t.prototype.convertAttributeValueToNumber=function(e,t){if(null===e)throw new Error("MDCSliderFoundation: `"+t+"` must be non-null.");var r=Number(e);if(isNaN(r))throw new Error("MDCSliderFoundation: `"+t+"` value is `"+e+"`, but must be a number.");return r},t.prototype.validateProperties=function(e){var t=e.min,r=e.max,n=e.value,o=e.valueStart,a=e.step,i=e.minRange;if(t>=r)throw new Error("MDCSliderFoundation: min must be strictly less than max. Current: [min: "+t+", max: "+r+"]");if(a<=0)throw new Error("MDCSliderFoundation: step must be a positive number. Current step: "+a);if(this.isRange){if(n<t||n>r||o<t||o>r)throw new Error("MDCSliderFoundation: values must be in [min, max] range. Current values: [start value: "+o+", end value: "+n+", min: "+t+", max: "+r+"]");if(o>n)throw new Error("MDCSliderFoundation: start value must be <= end value. Current values: [start value: "+o+", end value: "+n+"]");if(i<0)throw new Error("MDCSliderFoundation: minimum range must be non-negative. Current min range: "+i);if(n-o<i)throw new Error("MDCSliderFoundation: start value and end value must differ by at least "+i+". Current values: [start value: "+o+", end value: "+n+"]");var l=(o-t)/a,s=(n-t)/a;if(!Number.isInteger(parseFloat(l.toFixed(6)))||!Number.isInteger(parseFloat(s.toFixed(6))))throw new Error("MDCSliderFoundation: Slider values must be valid based on the step value ("+a+"). Current values: [start value: "+o+", end value: "+n+", min: "+t+"]")}else{if(n<t||n>r)throw new Error("MDCSliderFoundation: value must be in [min, max] range. Current values: [value: "+n+", min: "+t+", max: "+r+"]");s=(n-t)/a;if(!Number.isInteger(parseFloat(s.toFixed(6))))throw new Error("MDCSliderFoundation: Slider value must be valid based on the step value ("+a+"). Current value: "+n)}},t.prototype.registerEventHandlers=function(){this.adapter.registerWindowEventHandler("resize",this.resizeListener),t.SUPPORTS_POINTER_EVENTS?(this.adapter.registerEventHandler("pointerdown",this.pointerdownListener),this.adapter.registerEventHandler("pointerup",this.pointerupListener)):(this.adapter.registerEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.registerEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.registerThumbEventHandler(o.START,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(o.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(o.START,"change",this.inputStartChangeListener),this.adapter.registerInputEventHandler(o.START,"focus",this.inputStartFocusListener),this.adapter.registerInputEventHandler(o.START,"blur",this.inputStartBlurListener)),this.adapter.registerThumbEventHandler(o.END,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(o.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(o.END,"change",this.inputEndChangeListener),this.adapter.registerInputEventHandler(o.END,"focus",this.inputEndFocusListener),this.adapter.registerInputEventHandler(o.END,"blur",this.inputEndBlurListener)},t.prototype.deregisterEventHandlers=function(){this.adapter.deregisterWindowEventHandler("resize",this.resizeListener),t.SUPPORTS_POINTER_EVENTS?(this.adapter.deregisterEventHandler("pointerdown",this.pointerdownListener),this.adapter.deregisterEventHandler("pointerup",this.pointerupListener)):(this.adapter.deregisterEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.deregisterEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.deregisterThumbEventHandler(o.START,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(o.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(o.START,"change",this.inputStartChangeListener),this.adapter.deregisterInputEventHandler(o.START,"focus",this.inputStartFocusListener),this.adapter.deregisterInputEventHandler(o.START,"blur",this.inputStartBlurListener)),this.adapter.deregisterThumbEventHandler(o.END,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(o.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(o.END,"change",this.inputEndChangeListener),this.adapter.deregisterInputEventHandler(o.END,"focus",this.inputEndFocusListener),this.adapter.deregisterInputEventHandler(o.END,"blur",this.inputEndBlurListener)},t.prototype.handlePointerup=function(){this.handleUp(),this.adapter.deregisterEventHandler("pointermove",this.moveListener)},t.SUPPORTS_POINTER_EVENTS=b&&Boolean(window.PointerEvent)&&!(["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document),t}(y.E);function E(e){var t=/(?:\.(\d+))?(?:[eE]([+\-]?\d+))?$/.exec(String(e));if(!t)return 0;var r=t[1]||"",n=t[2]||0;return Math.max(0,("0"===r?0:r.length)-Number(n))}
|
|
306
306
|
/**
|
|
307
307
|
* @license
|
|
308
308
|
* Copyright 2020 Google Inc.
|
|
@@ -325,4 +325,4 @@ var n=function(){function e(){this.rafIDs=new Map}return e.prototype.request=fun
|
|
|
325
325
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
326
326
|
* THE SOFTWARE.
|
|
327
327
|
*/
|
|
328
|
-
var w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.skipInitialUIUpdate=!1,t.valueToAriaValueTextFn=null,t}return(0,i.ct)(t,e),t.attachTo=function(e,r){return void 0===r&&(r={}),new t(e,void 0,r)},t.prototype.getDefaultFoundation=function(){var e=this;return new T({hasClass:function(t){return e.root.classList.contains(t)},addClass:function(t){e.root.classList.add(t)},removeClass:function(t){e.root.classList.remove(t)},addThumbClass:function(t,r){e.getThumbEl(r).classList.add(t)},removeThumbClass:function(t,r){e.getThumbEl(r).classList.remove(t)},getAttribute:function(t){return e.root.getAttribute(t)},getInputValue:function(t){return e.getInput(t).value},setInputValue:function(t,r){e.getInput(r).value=t},getInputAttribute:function(t,r){return e.getInput(r).getAttribute(t)},setInputAttribute:function(t,r,n){e.getInput(n).setAttribute(t,r)},removeInputAttribute:function(t,r){e.getInput(r).removeAttribute(t)},focusInput:function(t){e.getInput(t).focus()},isInputFocused:function(t){return e.getInput(t)===document.activeElement},shouldHideFocusStylesForPointerEvents:function(){return!1},getThumbKnobWidth:function(t){return e.getThumbEl(t).querySelector("."+f.THUMB_KNOB).getBoundingClientRect().width},getThumbBoundingClientRect:function(t){return e.getThumbEl(t).getBoundingClientRect()},getBoundingClientRect:function(){return e.root.getBoundingClientRect()},getValueIndicatorContainerWidth:function(t){return e.getThumbEl(t).querySelector("."+f.VALUE_INDICATOR_CONTAINER).getBoundingClientRect().width},isRTL:function(){return"rtl"===getComputedStyle(e.root).direction},setThumbStyleProperty:function(t,r,n){e.getThumbEl(n).style.setProperty(t,r)},removeThumbStyleProperty:function(t,r){e.getThumbEl(r).style.removeProperty(t)},setTrackActiveStyleProperty:function(t,r){e.trackActive.style.setProperty(t,r)},removeTrackActiveStyleProperty:function(t){e.trackActive.style.removeProperty(t)},setValueIndicatorText:function(t,r){e.getThumbEl(r).querySelector("."+f.VALUE_INDICATOR_TEXT).textContent=String(t)},getValueToAriaValueTextFn:function(){return e.valueToAriaValueTextFn},updateTickMarks:function(t){var r=e.root.querySelector("."+f.TICK_MARKS_CONTAINER);r||((r=document.createElement("div")).classList.add(f.TICK_MARKS_CONTAINER),e.root.querySelector("."+f.TRACK).appendChild(r));if(t.length!==r.children.length){for(;r.firstChild;)r.removeChild(r.firstChild);e.addTickMarks(r,t)}else e.updateTickMarks(r,t)},setPointerCapture:function(t){e.root.setPointerCapture(t)},emitChangeEvent:function(t,r){e.emit(v.CHANGE,{value:t,thumb:r})},emitInputEvent:function(t,r){e.emit(v.INPUT,{value:t,thumb:r})},emitDragStartEvent:function(t,r){e.getRipple(r).activate()},emitDragEndEvent:function(t,r){e.getRipple(r).deactivate()},registerEventHandler:function(t,r){e.listen(t,r)},deregisterEventHandler:function(t,r){e.unlisten(t,r)},registerThumbEventHandler:function(t,r,n){e.getThumbEl(t).addEventListener(r,n)},deregisterThumbEventHandler:function(t,r,n){e.getThumbEl(t).removeEventListener(r,n)},registerInputEventHandler:function(t,r,n){e.getInput(t).addEventListener(r,n)},deregisterInputEventHandler:function(t,r,n){e.getInput(t).removeEventListener(r,n)},registerBodyEventHandler:function(e,t){document.body.addEventListener(e,t)},deregisterBodyEventHandler:function(e,t){document.body.removeEventListener(e,t)},registerWindowEventHandler:function(e,t){window.addEventListener(e,t)},deregisterWindowEventHandler:function(e,t){window.removeEventListener(e,t)}})},t.prototype.initialize=function(e){var t=(void 0===e?{}:e).skipInitialUIUpdate;this.inputs=[].slice.call(this.root.querySelectorAll("."+f.INPUT)),this.thumbs=[].slice.call(this.root.querySelectorAll("."+f.THUMB)),this.trackActive=this.root.querySelector("."+f.TRACK_ACTIVE),this.ripples=this.createRipples(),t&&(this.skipInitialUIUpdate=!0)},t.prototype.initialSyncWithDOM=function(){this.foundation.layout({skipUpdateUI:this.skipInitialUIUpdate})},t.prototype.layout=function(){this.foundation.layout()},t.prototype.getValueStart=function(){return this.foundation.getValueStart()},t.prototype.setValueStart=function(e){this.foundation.setValueStart(e)},t.prototype.getValue=function(){return this.foundation.getValue()},t.prototype.setValue=function(e){this.foundation.setValue(e)},t.prototype.getDisabled=function(){return this.foundation.getDisabled()},t.prototype.setDisabled=function(e){this.foundation.setDisabled(e)},t.prototype.setValueToAriaValueTextFn=function(e){this.valueToAriaValueTextFn=e},t.prototype.getThumbEl=function(e){return e===o.END?this.thumbs[this.thumbs.length-1]:this.thumbs[0]},t.prototype.getInput=function(e){return e===o.END?this.inputs[this.inputs.length-1]:this.inputs[0]},t.prototype.getRipple=function(e){return e===o.END?this.ripples[this.ripples.length-1]:this.ripples[0]},t.prototype.addTickMarks=function(e,t){for(var r=document.createDocumentFragment(),o=0;o<t.length;o++){var a=document.createElement("div"),i=t[o]===n.ACTIVE?f.TICK_MARK_ACTIVE:f.TICK_MARK_INACTIVE;a.classList.add(i),r.appendChild(a)}e.appendChild(r)},t.prototype.updateTickMarks=function(e,t){for(var r=Array.from(e.children),o=0;o<r.length;o++)t[o]===n.ACTIVE?(r[o].classList.add(f.TICK_MARK_ACTIVE),r[o].classList.remove(f.TICK_MARK_INACTIVE)):(r[o].classList.add(f.TICK_MARK_INACTIVE),r[o].classList.remove(f.TICK_MARK_ACTIVE))},t.prototype.createRipples=function(){for(var e=[],t=[].slice.call(this.root.querySelectorAll("."+f.THUMB)),r=function(r){var o=t[r],a=n.inputs[r],l=(0,i.C3)((0,i.C3)({},c.o.createAdapter(n)),{addClass:function(e){o.classList.add(e)},computeBoundingRect:function(){return o.getBoundingClientRect()},deregisterInteractionHandler:function(e,t){a.removeEventListener(e,t)},isSurfaceActive:function(){return(0,u._u)(a,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(e,t){a.addEventListener(e,t,(0,s.E)())},removeClass:function(e){o.classList.remove(e)},updateCssVariable:function(e,t){o.style.setProperty(e,t)}}),f=new c.o(o,new d.E(l));f.unbounded=!0,e.push(f)},n=this,o=0;o<t.length;o++)r(o);return e},t}(l.s)},,,,,,,,,,function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",t;if(module=__webpack_require__.nmd(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")&&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=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;t=function(__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__51__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__,__WEBPACK_EXTERNAL_MODULE__18__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__11__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__nested_webpack_require_4249__){var __dirname="/",e,t,r,n,i,o,s,a,l,p,c,u,d;if(module=__nested_webpack_require_4249__.nmd(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")&&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=void 0===__nested_webpack_require_4249__.g||null===__nested_webpack_require_4249__.g?{}:__nested_webpack_require_4249__.g;module.exports=(e=__nested_webpack_require_4249__(2),t=__nested_webpack_require_4249__(12),r=__nested_webpack_require_4249__(4),n=__nested_webpack_require_4249__(0),i=__nested_webpack_require_4249__(3),o=__nested_webpack_require_4249__(13),s=__nested_webpack_require_4249__(14),a=__nested_webpack_require_4249__(5),l=__nested_webpack_require_4249__(15),p=__nested_webpack_require_4249__(16),c=__nested_webpack_require_4249__(17),u=__nested_webpack_require_4249__(18),d=__nested_webpack_require_4249__(6),function(){var f=[function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=t},function(e,t,r){var n=r(0),o=r.n(n),a=r(1),i=r.n(a),l=r(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:l.string},e),function(t,r){if("string"==typeof r){var n,a=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(a,"observedAttributes")||(a.observedAttributes=a.observedAttributes?[].concat(a.observedAttributes):[]);var l=i().stringCamelCaseToDelimited(r);a.observedAttributes.includes(l)||a.observedAttributes.push(l)}e.type&&(Object.prototype.hasOwnProperty.call(a,"propertyTypes")||(a.propertyTypes=a.propertyTypes?o()({},a.propertyTypes):{}),!e.update&&Object.prototype.hasOwnProperty.call(a,r)||(a.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(a,"propertiesToReflectAsAttributes")||(a.propertiesToReflectAsAttributes=a.propertiesToReflectAsAttributes?i().copy(a.propertiesToReflectAsAttributes):[]),(e.update||a.propertiesToReflectAsAttributes instanceof Map&&!a.propertiesToReflectAsAttributes.has(r)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(r)||null!==a.propertiesToReflectAsAttributes&&"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?!0===e.writeAttribute&&a.propertyTypes&&Object.prototype.hasOwnProperty.call(a.propertyTypes,r)&&(n=a.propertyTypes[r]):n=e.writeAttribute,void 0!==n&&(Array.isArray(a.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?a.propertiesToReflectAsAttributes.push(r):a.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes)),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(r,n),null!==a.propertiesToReflectAsAttributes&&"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[r]=n)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?o()({},a.propertyAliases):{}),!e.update&&Object.prototype.hasOwnProperty.call(a,r)||(a.propertyAliases[r]=e.alias))}}}},function(e,t,r){r.d(t,{api:function(){return O}});var n,o,a,i,l=r(6),s=r.n(l),u=r(0),c=r.n(u),d=r(7),f=r.n(d),p=r(8),h=r.n(p),v=r(3),m=r.n(v),_=r(9),g=r.n(_),y=(r(10),r(11)),b=r.n(y),T=r(1),E=r.n(T),w=r(2),S=r(4);function A(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return C(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);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 C(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var k="undefined"==typeof HTMLElement?function(){}:HTMLElement,x=(n=(0,S.default)({type:w.boolean,writeAttribute:!0}),i=function(e){function t(){var r;return(r=e.call(this)||this).batchAttributeUpdates=!0,r.batchPropertyUpdates=!0,r.batchUpdates=!0,r.batchedAttributeUpdateRunning=!0,r.batchedPropertyUpdateRunning=!0,r.batchedUpdateRunning=!0,r.parent=null,r.rootInstance=null,r.scope={Tools:E()},r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,f()(r,"isRoot",a,h()(r)),r.root=void 0,r.runDomConnectionAndRenderingInSameEventQueue=!1,r.self=t,r.slots={},r.self=r.constructor,r.self._propertiesToReflectAsAttributes||(r.self._propertiesToReflectAsAttributes=r.self.normalizePropertyTypeList(r.self.propertiesToReflectAsAttributes)),r.generateAliasIndex(),r.root=h()(r),r.defineGetterAndSetterInterface(),r}m()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,r){this.ignoreAttributeUpdateObservations||t===r||this.onUpdateAttribute(e,r)},r.onUpdateAttribute=function(e,t){var r=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,E().timeout((function(){r.batchedAttributeUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("attributeChanged")}))):this.render("attributeChanged")},r.connectedCallback=function(){var e=this;try{this.isConnected=!0}catch(e){}this.parent=this,this.rootInstance=this,this.attachEventHandler(),this.self.determineRootBinding&&this.determineRootBinding(),this.self.applyRootBinding&&this.isRoot&&(this.determineRenderScope(),this.applyBinding(this,this.scope)),this.batchedAttributeUpdateRunning=!1,this.batchedPropertyUpdateRunning=!1,this.batchedUpdateRunning=!1,this.grabGivenSlots(),this.reflectExternalProperties(this.externalProperties),this.runDomConnectionAndRenderingInSameEventQueue?this.render("connected"):E().timeout((function(){return e.render("connected")}))},r.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=A(this.domNodeEventBindings.values());!(e=t()).done;)for(var r,n=A(e.value.values());!(r=n()).done;)(0,r.value)();this.slots={}},r.defineGetterAndSetterInterface=function(){for(var e,t=this,r=function(){var r=e.value;Object.prototype.hasOwnProperty.call(t,r)&&t.setPropertyValue(r,t[r]),Object.defineProperty(t,r,{configurable:!0,get:function(){return t.getPropertyValue(r)},set:function(e){t.setPropertyValue(r,e),t.triggerPropertySpecificRendering(r,e)}})},n=A(E().arrayUnique(Object.keys(this.self.propertyTypes).concat(Object.keys(this.self._propertyAliasIndex))));!(e=n()).done;)r()},r.getPropertyAlias=function(e){return Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},r.getPropertyValue=function(e){var r,n,o=null!=(r=this.instance)&&null!=(r=r.current)&&r.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(n=this.instance)&&null!=(n=n.current)&&n.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:o},r.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.externalProperties[r]=t)},r.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.internalProperties[r]=t)},r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=t,r)),this.setInternalPropertyValue(e,t)},r.triggerPropertySpecificRendering=function(e,t){var r=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,E().timeout((function(){void 0!==t&&r.isStateProperty(e)?(r.render("preStatePropertyChanged"),E().timeout((function(){r.setInternalPropertyValue(e,void 0),r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("postStatePropertyChanged"),r.triggerOutputEvents()})).then(E().noop,E().noop)):(r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("propertyChanged"),r.triggerOutputEvents())})));else{var n=this.isStateProperty(e);this.render(n?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&n&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},r.applyBinding=function(e,t){var r=this;if(e.getAttributeNames)for(var n,o=function(){var o=n.value,a="";if(o.startsWith("data-bind-")?a=o.substring(10):o.startsWith("bind-")&&(a=o.substring(5)),a){var i=e.getAttribute(o);if(null===i)return 0;if(a.startsWith("attribute-")||a.startsWith("property-")){var l=E().stringEvaluate(i,t,!1,e);if(l.error)return console.warn('Error occurred during processing given attribute binding "'+o+'" on node:',e,l.error),0;a.startsWith("attribute-")?e.setAttribute(a.substring(10),l.result):e[E().stringDelimitedToCamelCase(a.substring(9))]=l.result}else if(a.startsWith("on-")){r.domNodeEventBindings.has(e)||r.domNodeEventBindings.set(e,new Map);var s=r.domNodeEventBindings.get(e);a=E().stringDelimitedToCamelCase(a.substring(3)),s.has(a)&&s.get(a)(),t=c()({event:void 0,parameters:void 0},t);var u=E().stringCompile(i,t,!0);if(u.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,u.error);else{var d=u.templateFunction.bind(e),f=function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];t.event=n[0],t.parameters=n;try{d.apply(void 0,u.originalScopeNames.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+o+'" on node:',e,'Given expression "'+i+'" could not be evaluated with given scope names "'+u.scopeNames.join('", "')+'": '+E().represent(t))}};e.addEventListener(a,f),s.set(a,(function(){e.removeEventListener(a,f),s.delete(a),0===s.size&&r.domNodeEventBindings.delete(e)}))}}}},a=A(e.getAttributeNames());!(n=a()).done;)o()},r.applyBindings=function(e,t,r){for(void 0===r&&(r=!0);e;){var n;null==(n=e.attributes)||!n.length||!r&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},r.compileDomNodeTemplate=function(e,t,r){var n;if(void 0===t&&(t=[]),void 0===r&&(r={}),(r=c()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},r)).ignoreComponents&&null!=(n=e.nodeName)&&n.toLowerCase().includes("-"))return r.map;if(r.unsafe){var o=e.innerHTML;if(!o&&e.template&&(o=e.template),this.self.hasCode(o)){var a=E().stringCompile("`"+o+"`",t);r.map.set(e,{children:[],error:a.error,scopeNames:a.scopeNames,template:o,templateFunction:a.templateFunction})}}else{var i,l=e.nodeName.toLowerCase();if(["a","#text"].includes(l)){var s="a"===l?e.getAttribute("href"):e.textContent;this.self.hasCode(s)&&(i=s.replace(/ /g," ").trim())}var u=[];if(i){var d=E().stringCompile("`"+i+"`",t);r.map.set(e,{children:u,error:d.error,scopeNames:d.scopeNames,template:i,templateFunction:d.templateFunction})}for(var f=e.firstChild;f;)r.filter&&!r.filter(f)||u.push(this.compileDomNodeTemplate(f,t,c()({},r,{ignoreComponents:r.ignoreNestedComponents}))),f=f.nextSibling}return r.map},r.evaluateDomNodeTemplate=function(e,t,r){var n;if(void 0===t&&(t={}),void 0===r&&(r={}),(r=c()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},r)).map.has(e)||this.compileDomNodeTemplate(e,t,r),r.map.has(e)){var o=r.map.get(e),a=o.error,i=o.scopeNames,l=o.templateFunction;if(a)console.warn("Error occurred during compiling node content: "+a);else{var s=null;try{s=l.apply(void 0,i.map((function(e){return t[e]})))}catch(a){console.warn('Error occurred when "'+this.self._name+'" is running "'+l+'": with bound names "'+i.join('", "')+'": "'+a+'". Rendering node:',e)}null!==s&&(r.unsafe?e.innerHTML=s:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",s):e.textContent=s)}}if(!(r.unsafe||r.ignoreComponents&&null!=(n=e.nodeName)&&n.toLowerCase().includes("-")))for(var u=e.firstChild;u;)r.filter&&!r.filter(u)||this.evaluateDomNodeTemplate(u,t,c()({},r,{applyBindings:!1,ignoreComponents:r.ignoreNestedComponents})),u=u.nextSibling;return r.applyBindings&&this.applyBindings(e,t),r.map},t.replaceDomNodes=function(e,r){for(var n,o=A([].concat(r).reverse());!(n=o()).done;){var a,i=n.value;t.trimSlots&&i.nodeType===Node.TEXT_NODE&&""===(null==(a=i.nodeValue)?void 0:a.trim())||e.after(i)}e.remove()},t.unwrapDomNode=function(e){for(var t=e.parentNode,r=[];e.firstChild;)r.push(e.firstChild),t.insertBefore(e.firstChild,e);return t.removeChild(e),r},r.determineRootBinding=function(){for(var e=this.parentNode;e;){var r;(e instanceof t||(null==(r=e.nodeName)?void 0:r.includes("-"))||null===e.parentNode&&"[object ShadowRoot]"===e.toString())&&(this.rootInstance===this?(this.parent=e,this.rootInstance=e,this.setPropertyValue("isRoot",!1)):this.rootInstance=e),e=e.parentNode}},t.hasCode=function(e){return"string"==typeof e&&e.includes("${")&&e.includes("}")&&/\${[\s\S]+}/.test(e)},t.normalizePropertyTypeList=function(e){if("string"==typeof e&&(e=[e]),Array.isArray(e)){for(var r,n=e,o=new Map,a=A(n);!(r=a()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,i)&&o.set(i,t.propertyTypes[i])}return o}return E().convertPlainObjectToMap(e)},r.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},r.attachExplicitDefinedOutputEventHandler=function(){for(var e=this,t=!1,r=function(){var r=o[n];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,s()(b().mark((function t(){var n,o,a,i,l=arguments;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(n=l.length,o=new Array(n),a=0;a<n;a++)o[a]=l[a];return t.next=3,e.reflectEventToProperties(r,o);case 3:(i=t.sent)&&(o[0]=i),e.forwardEvent(r,o);case 6:case"end":return t.stop()}}),t)})))))},n=0,o=Object.keys(this.self.eventToPropertyMapping);n<o.length;n++)r();return t},r.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=o[n],a=r[0],i=r[1];Object.prototype.hasOwnProperty.call(t.internalProperties,a)||![w.func,"function"].includes(i)||t.self.renderProperties.includes(a)||(t.outputEventNames.add(a),t.setInternalPropertyValue(a,(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e&&t.reflectEventToProperties(a,n),t.forwardEvent(a,n)})))},n=0,o=Object.entries(this.self.propertyTypes);n<o.length;n++)r()},r.triggerOutputEvents=function(){for(var e,t=A(this.outputEventNames);!(e=t()).done;){var r=e.value;this.forwardEvent(r,[this.externalProperties])}},r.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=E().stringLowerCase(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.applySlots=function(e,t){for(var r=this,n=0,o=Array.from(e.querySelectorAll("slot"));n<o.length;n++){var a=o[n],i=a.getAttribute("name");if(null===i||"default"===i)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var l,s=A(this.slots.default);!(l=s()).done;){var u=l.value;this.evaluateDomNodeTemplate(u,t)}this.self.replaceDomNodes(a,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(a).map((function(e){return r.grabSlotContent(e)}));else Object.prototype.hasOwnProperty.call(this.slots,i)?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[i],t),this.self.replaceDomNodes(a,this.slots[i])):this.slots[i]=this.grabSlotContent(this.self.unwrapDomNode(a).filter((function(e){return"#text"!==e.nodeName.toLowerCase()}))[0])}},r.grabSlotContent=function(e){var t;if("textarea"===(null==(t=e.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!e.firstElementChild.hasAttribute("data-no-template")||"false"===e.firstElementChild.getAttribute("data-no-template"))){var r,n,o=e.firstElementChild.value;null==(r=e.classList)||r.remove("web-component-template");var a=e.cloneNode();return null==(n=e.classList)||n.add("web-component-template"),a.innerHTML="",a.template=o,a}return this.self.cloneSlots?e.cloneNode(!0):e},r.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,r=Array.from(this.querySelectorAll("[slot]"));t<r.length;t++){for(var n=r[t],o=n.parentNode,a=!0;o;){if(o.nodeName.includes("-")){o===this&&(a=!1);break}o=o.parentNode}a||(this.slots[n.getAttribute&&n.getAttribute("slot")&&n.getAttribute("slot").trim()?n.getAttribute("slot").trim():n.nodeName.toLowerCase()]=this.grabSlotContent(n))}this.slots.default?this.slots.default=[this.slots.default]:this.childNodes.length>0?this.slots.default=Array.from(this.childNodes).map((function(t){return e.grabSlotContent(t)})):this.slots.default=[]},r.isStateProperty=function(e){var t,r;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(null==(r=this.instance)||null==(r=r.current)?void 0:r.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},r.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=c()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],n=r[0],o=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,o)||(this.self._propertyAliasIndex[o]=n)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var n=r[t],o=n[0],a=n[1];if(this.setExternalPropertyValue(o,a),this.isConnected){var i=E().stringCamelCaseToDelimited(o);if(this.self._propertiesToReflectAsAttributes.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case w.boolean:case"boolean":a?""!==this.getAttribute(i)&&this.setAttribute(i,""):this.hasAttribute(i)&&this.removeAttribute(i);break;case w.func:case"function":break;case"json":if(a){var l=JSON.stringify(a);if(l&&this.getAttribute(i)!==l){this.setAttribute(i,l);break}}this.hasAttribute(i)&&this.removeAttribute(i);break;case w.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(i)&&this.removeAttribute(i);else{var s=""+a;this.getAttribute(i)!==s&&this.setAttribute(i,s)}break;case w.string:case"string":a?this.getAttribute(i)!==a&&this.setAttribute(i,a):this.hasAttribute(i)&&this.removeAttribute(i);break;case w.any:case w.array:case w.arrayOf:case w.element:case w.elementType:case w.instanceOf:case w.node:case w.object:case"object":case w.objectOf:case w.shape:case w.exact:case w.symbol:default:if(a){var u=E().represent(a);if(u&&this.getAttribute(i)!==u){this.setAttribute(i,u);break}}this.hasAttribute(i)&&this.removeAttribute(i)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,r,n;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var o,a=A(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(o=a()).done;){var i=o.value;Object.prototype.hasOwnProperty.call(this.internalProperties,i)&&this.setInternalPropertyValue(i,void 0)}null!=(r=this.internalProperties.model)&&r.state&&(null==(n=this.internalProperties.model)||delete n.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var l,s=A(this.self.controllableProperties);!(l=s()).done;){var u=l.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},r.reflectEventToProperties=function(){var e=s()(b().mark((function e(t,r){var n,o,a,i,l,s,u,d,f,p,h,v,m,_,g,y;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.batchUpdates,this.batchUpdates=!1,o=null,a=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&E().isFunction(this.self.eventToPropertyMapping[t]))){e.next=16;break}if(!((l=(i=this.self.eventToPropertyMapping)[t].apply(i,r.concat([this])))&&"then"in l&&E().isFunction(l.then))){e.next=12;break}return e.next=9,l;case 9:e.t0=e.sent,e.next=13;break;case 12:e.t0=l;case 13:s=e.t0,a=!0,Array.isArray(s)?(o=s[0],this.reflectProperties(o),E().extend(!0,this.internalProperties,s[1])):null===s?a=!1:"object"==typeof s&&(o=s,this.reflectProperties(s));case 16:if(!a&&r.length>0&&null!==r[0]&&"object"==typeof r[0]){if(d=r[0],"persist"in r[0]&&E().isFunction(r[0].persist))for(d={},f=0,p=Object.keys(this.self.propertyTypes);f<p.length;f++)for(h=p[f],v=A([h].concat(null!==(_=this.getPropertyAlias(h))&&void 0!==_?_:[]));!(m=v()).done;)g=m.value,(y=r[0].currentTarget&&Object.prototype.hasOwnProperty.call(r[0].currentTarget,g)?r[0].currentTarget[g]:this.getPropertyValue(g))!==this.externalProperties[g]&&(d[g]=y);else[null,void 0].includes(null==(u=d.detail)?void 0:u.value)||(d=c()({},d.detail));o=d,this.reflectProperties(d)}return this.triggerRender("propertyReflected"),this.batchUpdates=n,e.abrupt("return",o);case 20:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}(),r.evaluateStringOrNullAndSetAsProperty=function(e,t){var r=this,n=e.startsWith("-"),o=n?e.substring(1):e,a=E().stringDelimitedToCamelCase(o),i=this.getPropertyAlias(a);if(i&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,i)&&(a=i),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)){var l=this.self.propertyTypes[a];if(n){if(t){var s=E().stringEvaluate(t,{Tools:E()},!1,this);s.error?(console.warn('Failed to process pre-evaluation attribute "'+e+'": '+s.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(a,void 0)):(this.setInternalPropertyValue(a,s.result),this.setExternalPropertyValue(a,s.result))}}else switch(l){case w.boolean:case"boolean":var u=![null,"false"].includes(t);this.setInternalPropertyValue(a,u),this.setExternalPropertyValue(a,u);break;case w.func:case"function":var c,d=null,f=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var p=E().stringCompile(t,f);d=p.error,c=p.templateFunction,d&&console.warn('Failed to compile given handler "'+e+'": '+d+".")}this.setInternalPropertyValue(a,(function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];r.outputEventNames.has(a)&&r.reflectEventToProperties(a,o);var l=void 0;if(!d)try{l=c.call(r,o[0],o[0],o[0],o[0],o[0],o[0],o,E())}catch(r){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+f.join('", "')+'" set to "'+E().represent(o)+'": '+r+'. Set property to "undedefined".')}return r.self.renderProperties.includes(a)||r.forwardEvent(a,o),l})),d||this.setExternalPropertyValue(a,c);break;case"json":if(t){var h;try{h=JSON.parse(t)}catch(d){console.warn('Error occurred during parsing given json attribute "'+e+'": '+E().represent(d));break}this.setInternalPropertyValue(a,h),this.setExternalPropertyValue(a,E().copy(h,1))}else this.setInternalPropertyValue(a,null),this.setExternalPropertyValue(a,null);break;case w.number:case"number":if(null===t){this.setInternalPropertyValue(a,t),this.setExternalPropertyValue(a,t);break}var v=parseFloat(t);isNaN(v)&&(v=void 0),this.setInternalPropertyValue(a,v),this.setExternalPropertyValue(a,v);break;case w.string:case"string":this.setInternalPropertyValue(a,t),this.setExternalPropertyValue(a,t);break;case w.any:case w.array:case w.arrayOf:case w.element:case w.elementType:case w.instanceOf:case w.node:case w.object:case"object":case w.objectOf:case w.oneOf:case w.oneOfType:case w.shape:case w.exact:case w.symbol:default:if(t){var m=E().stringEvaluate(t,{},!1,this);if(m.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',m.error);break}this.setInternalPropertyValue(a,m.result),this.setExternalPropertyValue(a,E().copy(m.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(a,!0),this.setExternalPropertyValue(a,!0)):(this.setInternalPropertyValue(a,null),this.setExternalPropertyValue(a,null))}}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,E().timeout((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},r.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow(null!==this.self.shadowDOM&&"object"==typeof this.self.shadowDOM?this.self.shadowDOM:{mode:"open"}))},r.determineRenderScope=function(e){var t,r;void 0===e&&(e={}),this.scope=c()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((r={parent:this.parent,root:this.rootInstance,self:this})[E().stringLowerCase(this.self._name)||"instance"]=this,r),e),this.scope.scope=this.scope},r.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){var t=E().stringEvaluate("`"+this.self.content+"`",this.scope);if(t.error)console.warn("Failed to process template: "+t.error);else{this.applyShadowRootIfNotExisting();var r=document.createElement("div");r.innerHTML=t.result,this.applySlots(r,c()({},this.scope,{parent:this})),this.root.innerHTML=r.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots)}}},t}(k),i.applyRootBinding=!0,i.content="<slot>Please provide a template to transclude.</slot>",i.determineRootBinding=!0,i.shadowDOM=null,i.observedAttributes=[],i.controllableProperties=[],i.eventToPropertyMapping={},i.propertyAliases={},i.propertyTypes={onClick:w.func},i.propertiesToReflectAsAttributes=[],i.renderProperties=["children"],i.cloneSlots=!1,i.evaluateSlots=!1,i.renderSlots=!0,i.trimSlots=!0,i.renderUnsafe=!1,i._name="BaseWeb",i._propertyAliasIndex=void 0,i._propertiesToReflectAsAttributes=void 0,o=i,a=g()(o.prototype,"isRoot",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),o),O={component:x,register:function(e){return void 0===e&&(e=E().stringCamelCaseToDelimited(x._name)),customElements.define(e,x)}};t.default=x},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=d},function(e){e.exports=i},function(e){e.exports=o},function(e){e.exports=s},function(e,t,r){r.d(t,{api:function(){return _}});var n=r(0),o=r.n(n),a=r(3),i=r.n(a),l=r(1),s=r.n(l),u=r(2),c=r(12),d=r.n(c),f=r(13),p=r(14);function h(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);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 v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var m=function(e){function t(){for(var r,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(r=e.call.apply(e,[this].concat(o))||this).compiledSlots={},r.preparedSlots={},r.reactRoot=null,r.rootReactInstance=null,r.self=t,r.wrapMemorizingWrapper=null,r.isWrapped=!1,r.reflectInstanceProperties=function(){var e;null!=(e=r.instance)&&e.current&&r.instance.current.properties&&r.reflectProperties(r.instance.current.properties)},r}i()(t,e);var r=t.prototype;return r.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},r.disconnectedCallback=function(){e.prototype.disconnectedCallback.call(this)},r.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},r.render=function(e){var t,r=this;if(void 0===e&&(e="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(o()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(var n=this.firstChild;n;){var a=n.nextSibling;this.removeChild(n),n=a}this.reactRoot||(this.reactRoot=(0,p.createRoot)(this.root,{identifierPrefix:String(this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name)})),(0,f.flushSync)((function(){return r.reactRoot.render((0,c.createElement)(r.self.content,r.internalProperties))})),null!=(t=this.instance)&&t.current?this.reflectInstanceProperties():s().timeout(this.reflectInstanceProperties)}},r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=s().copy(t,1),r)),this.setInternalPropertyValue(e,s().copy(t,1))},r.setInternalPropertyValue=function(t,r){null===r?r=u.NullSymbol:void 0===r&&(r=u.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,r)},r.preCompileDomNodes=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r=!1),1===(e=e.filter((function(e){return e.nodeType!==Node.TEXT_NODE||"string"==typeof e.nodeValue&&""!==e.nodeValue.trim()}))).length)return this.preCompileDomNode(e[0],t,r);for(var n,o=1,a=[],i=h(e);!(n=i()).done;){var l=n.value,s=this.preCompileDomNode(l,t,r,o.toString());s&&(a.push(s),o+=1)}return r?function(e){return function(){for(var t,r=[],n=h(a);!(t=n()).done;){var o=(0,t.value)(e);"function"==typeof o&&r.push(o.apply(void 0,arguments))}return(0,c.createElement)(c.Fragment,{children:r})}}:a},r.preCompileDomNode=function(e,t,r,n){var a=this;if(void 0===t&&(t={}),void 0===r&&(r=!1),r){var i=this.preCompileDomNode(e,o()({},t,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,n);return function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=r.length>0?r[0]:null;return i(o()({},e,{data:a,firstArgument:a,firstParameter:a,options:a,scope:a,parameters:r}))}}}if(e.nodeType===Node.TEXT_NODE){var l="string"==typeof e.nodeValue?e.nodeValue.trim():"",u=n&&l?(0,c.createElement)(c.Fragment,{children:l,key:n}):l||null;return function(){return u}}if(!e.getAttributeNames)return function(){return null};var d,f={},p=this.self.isReactComponent(e);p?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),n&&!Object.prototype.hasOwnProperty.call(f,"key")&&(f.key=n),d=e.constructor.content):(f.key=n,d=e.tagName.toLowerCase());for(var v,m=Object.keys(t),_={},g=function(){var r,n=v.value,o=e.getAttribute(n);if(null===o)return 0;var i=!1,l="";if(n.startsWith("data-bind-")?l=n.substring(10):n.startsWith("bind-")&&(l=n.substring(5)),l.startsWith("attribute-")||"attributes"===l||l.startsWith("property-")||"properties"===l){var u=s().stringCompile(o,m),c=u.error,d=u.originalScopeNames,h=u.templateFunction;if(c)return console.warn('Error occurred during compiling given attribute binding "'+n+'" on node:',e,c),0;"attributes"===l||"properties"===l?i=!0:l=l.startsWith("attribute-")?l.substring(10):l.substring(9),o={originalScopeNames:d,templateFunction:h.bind(a)}}else if(l.startsWith("on-")){l=s().stringDelimitedToCamelCase(l),Object.prototype.hasOwnProperty.call(t,"event")||(m=[].concat(m,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(m=[].concat(m,["parameters"]));var g=s().stringCompile(o,m,!0),y=g.error,b=g.originalScopeNames,T=g.scopeNames,E=g.templateFunction;if(y)return console.warn('Error occurred during compiling given event binding "'+n+'" on node:',e,y),0;var w=E.bind(a);o=function(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];t.event=a[0],t.parameters=a;try{w.apply(void 0,b.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+n+'" on node: ',e,'Given expression "'+o+'" could not be evaluated with given scope names "'+T.join('", "')+'": '+s().represent(t))}}}else l=n;var S={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(S,l)&&(l=S[l]),l=s().stringDelimitedToCamelCase(l),null!=(r=o)&&r.originalScopeNames?_[i?"":l]=o:p||(f[l]=o)},y=h(e.getAttributeNames());!(v=y()).done;)g();if(!p){var b=Array.from(e.childNodes);b.length&&(f.children=this.preCompileDomNodes(b,t))}return function(r){(r=o()({},t,r)).scope=r;for(var n=o()({},f),i=0,l=Object.entries(_);i<l.length;i++){var s=l[i],u=s[0],h=s[1],v=h.originalScopeNames,m=h.templateFunction.apply(void 0,v.map((function(e){return r[e]})));""===u?n=o()({},n,m):n[u]=m}return Object.prototype.hasOwnProperty.call(n,"innerHTML")&&(n.dangerouslySetInnerHTML={__html:n.innerHTML},delete n.children,delete n.innerHTML),Object.prototype.hasOwnProperty.call(n,"textContent")?(n.children=n.textContent,delete n.textContent):p?(n=o()({},e.internalProperties,n),r=o()({},n,r,{parent:e}),e.evaluateSlots(r),e.prepareProperties(n)):n.children&&(n.children=a.evaluatePreCompiledDomNodes(n.children,r)),(0,c.createElement)(d,n)}},r.evaluatePreCompiledDomNodes=function(e,t){if(void 0===t&&(t={}),!Array.isArray(e))return e(t);if(1===e.length)return e[0](t);for(var r,n=[],o=h(e);!(r=o()).done;){var a=(0,r.value)(t);a&&n.push(a)}return n},r.preCompileSlots=function(){var e;for(var t in this.slots)Object.prototype.hasOwnProperty.call(this.slots,t)&&"default"!==t&&(this.compiledSlots[t]=this.preCompileDomNode(this.slots[t],o()({},this.scope,{parent:this}),[u.func,"function"].includes(this.self.propertyTypes&&this.self.propertyTypes[t])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,o()({},this.scope,{parent:this}),[u.func,"function"].includes(null==(e=this.self.propertyTypes)?void 0:e.children)))},r.evaluateSlots=function(e){for(var t in this.preparedSlots={},this.compiledSlots)Object.prototype.hasOwnProperty.call(this.compiledSlots,t)&&("children"===t?this.preparedSlots.children=this.evaluatePreCompiledDomNodes(this.compiledSlots[t],e):this.preparedSlots[t]=this.compiledSlots[t](e))},t.isReactComponent=function(e){var t=e.constructor;return"object"==typeof t.content&&(!1===t.attachWebComponentAdapterIfNotExists||"react"===t.content.webComponentAdapterWrapped)},r.determineRootBinding=function(){e.prototype.determineRootBinding.call(this);for(var t=this.parentNode;t;){if(this.self.isReactComponent(t)){this.rootReactInstance=t;break}t=t.parentNode}},r.applyComponentWrapper=function(){if("string"!=typeof this.self.content&&!this.isWrapped){this.isWrapped=!0;var e=this.self.content.wrapped||this.self.content;this.self.content.webComponentAdapterWrapped?this.wrapMemorizingWrapper&&(this.self.content=(0,c.memo)(this.self.content),this.self.content.wrapped=e):this.self.attachWebComponentAdapterIfNotExists?(this.self.content.displayName||(this.self.content.displayName=this.self._name),this.self.content=(0,c.forwardRef)((function(t,r){return(0,c.useImperativeHandle)(r,(function(){return{properties:t}})),(0,c.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,c.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,c.memo)(this.self.content),this.self.content.wrapped=e)}},r.prepareProperties=function(e){s().extend(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,c.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var r,n=h(["isRoot","isTrusted","__composed"]);!(r=n()).done;){var o=r.value;Object.prototype.hasOwnProperty.call(t,o)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,o)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,o))&&delete t[o]}},t}(r(5).default);m.attachWebComponentAdapterIfNotExists=!0,m.content="div",m.react=d(),m._name="ReactWebComponent";var _={component:m,register:function(e){return void 0===e&&(e=s().stringCamelCaseToDelimited(m._name)),customElements.define(e,m)}};t.default=m}],h={};function v(e){var t=h[e];if(void 0!==t)return t.exports;var r=h[e]={exports:{}};return f[e](r,r.exports,v),r.exports}v.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return v.d(t,{a:t}),t},v.d=function(e,t){for(var r in t)v.o(t,r)&&!v.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},v.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},v.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var m={};return function(){v.r(m),v.d(m,{ReactWeb:function(){return s},Web:function(){return d},reactWebAPI:function(){return u},webAPI:function(){return c},wrapAsWebComponent:function(){return f}});var e=v(0),t=v.n(e),r=v(3),n=v.n(r),o=v(1),a=v.n(o),i=v(15),l=v(5),s=i.default,u=i.api,c=l.api,d=l.default,f=function(e,r,o){var i,l,u;void 0===r&&(r="NoName"),void 0===o&&(o={});var c=e._name||(null==(i=e.___types)||null==(i=i.name)?void 0:i.name)||r.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");o.propTypes&&(e.propTypes=o.propTypes);var d=e.propTypes||{},f=o.propertyAliases||e.propertyAliases||{},p=a().arrayUnique(Object.keys(d).concat(Object.keys(f)).concat(Object.values(f))),h=o.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(s.propertiesToReflectAsAttributes)if(Array.isArray(h))h=[].concat(s.propertiesToReflectAsAttributes,h);else if(h instanceof Map)for(var v=0,m=s.propertiesToReflectAsAttributes;v<m.length;v++){var _=m[v];h.set(_,s.propertyTypes[_])}else if(null!==h&&"object"==typeof h)for(var g=0,y=s.propertiesToReflectAsAttributes;g<y.length;g++){var b=y[g];h[b]=s.propertyTypes[b]}var T=p.map((function(e){return a().stringCamelCaseToDelimited(e)})),E=function(r){function a(){for(var n,i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];return(n=r.call.apply(r,[this].concat(l))||this).self=a,n.internalProperties=o.internalProperties?t()({},o.internalProperties):e.internalProperties?t()({},e.internalProperties):{},n}return n()(a,r),a}(s);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof o.attachWebComponentAdapterIfNotExists||o.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=s.observedAttributes.concat(T).concat(T.map((function(e){return"-"+e}))),E.controllableProperties=e.controllableProperties||o.controllableProperties||[],E.eventToPropertyMapping=null===o.eventToPropertyMapping?o.eventToPropertyMapping:o.eventToPropertyMapping?t()({},o.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?t()({},e.eventToPropertyMapping):{},E.propertyAliases=t()({},s.propertyAliases,f),E.propertiesToReflectAsAttributes=h,E.propertyTypes=t()({},s.propertyTypes,d),E.renderProperties=null!==(l=null!==(u=o.renderProperties)&&void 0!==u?u:e.renderProperties)&&void 0!==l?l:s.renderProperties,E._name=c,{component:E,register:function(e){return void 0===e&&(e=a().stringCamelCaseToDelimited(c)),customElements.define(e,E)}}};m.default=f}(),m}())},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__4__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__5__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__6__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__7__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__8__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__10__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__12__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__13__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__14__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__15__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__16__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__17__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__18__},function(module,__unused_webpack_exports,__nested_webpack_require_45973__){var __dirname="/",e,r,t,n,i,o,u;if(module=__nested_webpack_require_45973__.nmd(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")&&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=void 0===__nested_webpack_require_45973__.g||null===__nested_webpack_require_45973__.g?{}:__nested_webpack_require_45973__.g;module.exports=(e=__nested_webpack_require_45973__(2),r=__nested_webpack_require_45973__(7),t=__nested_webpack_require_45973__(8),n=__nested_webpack_require_45973__(9),i=__nested_webpack_require_45973__(3),o=__nested_webpack_require_45973__(10),u=__nested_webpack_require_45973__(11),function(){var a=[function(e){e.exports=u},function(t){t.exports=e},function(e){e.exports=i},,function(e){e.exports=t},function(e,t,r){r.d(t,{WrapTooltip:function(){return u}});var n=r(1),o=r.n(n),a=r(12),i=r(6),l=r(0),s=!i.Tooltip||i.Tooltip.isDummy,u=function(e){var t=e.children,r=e.options;if("string"==typeof r)return s?(0,l.jsx)("div",{className:"generic-tooltip",title:r,children:t}):(0,l.jsx)(i.Tooltip,{overlay:(0,l.jsx)(a.Typography,{use:"caption",children:r}),children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})});if(null!==r&&"object"==typeof r){if("string"==typeof r.overlay){if(s)return(0,l.jsx)("div",{className:"generic-tooltip",title:r.overlay,children:t});r=o()({},r,{overlay:(0,l.jsx)(a.Typography,{use:"caption",children:r.overlay})})}return s?(0,l.jsx)("div",{className:"generic-tooltip",children:t}):(0,l.jsx)(i.Tooltip,o()({},r,{children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})}))}return(0,l.jsx)(l.Fragment,{children:t})}},function(e){e.exports=o},,,,,,function(e){e.exports=n},function(e,t,r){r.d(t,{WrapThemeProvider:function(){return a}});var n=r(4),o=r(0),a=function(e){var t=e.children,r=e.configuration,a=e.wrap;return r?(0,o.jsx)(n.ThemeProvider,{options:r,wrap:!1!==a,children:t}):t}},function(e,t,r){r.d(t,{I:function(){return a}});var n=r(2),o=r(0),a=function(e){var t=e.children;return e.strict?(0,o.jsx)(n.StrictMode,{children:t}):(0,o.jsx)(o.Fragment,{children:t})}},function(e){e.exports=r}],l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return a[e](r,r.exports,s),r.exports}s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return function(){s.r(c),s.d(c,{WrapConfigurations:function(){return p},createWrapConfigurationsComponent:function(){return h}});var e=s(1),t=s.n(e),r=s(15),n=s.n(r),o=s(2),a=s(4),i=s(14),l=s(13),u=s(5),d=s(0),f=["strict","theme","themeConfiguration","tooltip","wrap"],p=function(e){var t=e.children,r=e.strict,n=e.themeConfiguration,o=e.tooltip,a=e.wrap;return(0,d.jsx)(i.I,{strict:Boolean(r),children:(0,d.jsx)(u.WrapTooltip,{options:o,children:(0,d.jsx)(l.WrapThemeProvider,{configuration:n,wrap:a,children:t})})})};function h(e,r){void 0===r&&(r={});var i=function(o,i){var l=o.strict,s=o.theme,u=o.themeConfiguration,c=o.tooltip,h=o.wrap,v=n()(o,f),m=(0,d.jsx)(e,t()({},t()({},v,!1===r.withReference?{}:i?{ref:i}:{},r.withThemeWrapper&&s?{theme:s}:{})));return(0,d.jsx)(p,{strict:l,themeConfiguration:u,tooltip:c,wrap:h,children:r.withThemeWrapper&&s?(0,d.jsx)(a.Theme,{use:s,wrap:h,children:m}):m})};return r.withReference?(0,o.forwardRef)(i):i}c.default=p}(),c}())},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__51__}],__webpack_module_cache__={};function __nested_webpack_require_50056__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__nested_webpack_require_50056__),r.loaded=!0,r.exports}__nested_webpack_require_50056__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_50056__.d(t,{a:t}),t},__nested_webpack_require_50056__.d=function(e,t){for(var r in t)__nested_webpack_require_50056__.o(t,r)&&!__nested_webpack_require_50056__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__nested_webpack_require_50056__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__nested_webpack_require_50056__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_50056__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_50056__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __nested_webpack_exports__={};return function(){__nested_webpack_require_50056__.r(__nested_webpack_exports__),__nested_webpack_require_50056__.d(__nested_webpack_exports__,{SliderInput:function(){return l}});var e=__nested_webpack_require_50056__(2),t=__nested_webpack_require_50056__.n(e),r=__nested_webpack_require_50056__(0),n=__nested_webpack_require_50056__(19),o=__nested_webpack_require_50056__(1),a=__nested_webpack_require_50056__.n(o),i=__nested_webpack_require_50056__(51),l=a()((0,n.createWrapConfigurationsComponent)(i.Slider),"SliderInput",{eventToPropertyMapping:{onChange:function(e,r){return t()({},r.externalProperties,{value:e.detail.value})},onInput:function(e){return[{value:e.detail.value},{value:e.detail.value}]}},propTypes:{disabled:r.boolean,discrete:r.boolean,displayMarkers:r.boolean,max:r.number,min:r.number,step:r.number,theme:r.string,themeConfiguration:r.object,onChange:r.func,onInput:r.func,value:r.number}});__nested_webpack_exports__.default=l}(),__nested_webpack_exports__}()},module.exports=t(__webpack_require__(9),__webpack_require__(15),__webpack_require__(103),__webpack_require__(8),__webpack_require__(20),__webpack_require__(0),__webpack_require__(10),__webpack_require__(54),__webpack_require__(12),__webpack_require__(31),__webpack_require__(32),__webpack_require__(33),__webpack_require__(34),__webpack_require__(13),__webpack_require__(40),__webpack_require__(41),__webpack_require__(42),__webpack_require__(39),__webpack_require__(1))}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.d=function(e,t){for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __webpack_exports__=__webpack_require__(119);return __webpack_exports__}()}));
|
|
328
|
+
var w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.skipInitialUIUpdate=!1,t.valueToAriaValueTextFn=null,t}return(0,i.ct)(t,e),t.attachTo=function(e,r){return void 0===r&&(r={}),new t(e,void 0,r)},t.prototype.getDefaultFoundation=function(){var e=this;return new T({hasClass:function(t){return e.root.classList.contains(t)},addClass:function(t){e.root.classList.add(t)},removeClass:function(t){e.root.classList.remove(t)},addThumbClass:function(t,r){e.getThumbEl(r).classList.add(t)},removeThumbClass:function(t,r){e.getThumbEl(r).classList.remove(t)},getAttribute:function(t){return e.root.getAttribute(t)},getInputValue:function(t){return e.getInput(t).value},setInputValue:function(t,r){e.getInput(r).value=t},getInputAttribute:function(t,r){return e.getInput(r).getAttribute(t)},setInputAttribute:function(t,r,n){e.getInput(n).setAttribute(t,r)},removeInputAttribute:function(t,r){e.getInput(r).removeAttribute(t)},focusInput:function(t){e.getInput(t).focus()},isInputFocused:function(t){return e.getInput(t)===document.activeElement},shouldHideFocusStylesForPointerEvents:function(){return!1},getThumbKnobWidth:function(t){return e.getThumbEl(t).querySelector("."+f.THUMB_KNOB).getBoundingClientRect().width},getThumbBoundingClientRect:function(t){return e.getThumbEl(t).getBoundingClientRect()},getBoundingClientRect:function(){return e.root.getBoundingClientRect()},getValueIndicatorContainerWidth:function(t){return e.getThumbEl(t).querySelector("."+f.VALUE_INDICATOR_CONTAINER).getBoundingClientRect().width},isRTL:function(){return"rtl"===getComputedStyle(e.root).direction},setThumbStyleProperty:function(t,r,n){e.getThumbEl(n).style.setProperty(t,r)},removeThumbStyleProperty:function(t,r){e.getThumbEl(r).style.removeProperty(t)},setTrackActiveStyleProperty:function(t,r){e.trackActive.style.setProperty(t,r)},removeTrackActiveStyleProperty:function(t){e.trackActive.style.removeProperty(t)},setValueIndicatorText:function(t,r){e.getThumbEl(r).querySelector("."+f.VALUE_INDICATOR_TEXT).textContent=String(t)},getValueToAriaValueTextFn:function(){return e.valueToAriaValueTextFn},updateTickMarks:function(t){var r=e.root.querySelector("."+f.TICK_MARKS_CONTAINER);r||((r=document.createElement("div")).classList.add(f.TICK_MARKS_CONTAINER),e.root.querySelector("."+f.TRACK).appendChild(r));if(t.length!==r.children.length){for(;r.firstChild;)r.removeChild(r.firstChild);e.addTickMarks(r,t)}else e.updateTickMarks(r,t)},setPointerCapture:function(t){e.root.setPointerCapture(t)},emitChangeEvent:function(t,r){e.emit(v.CHANGE,{value:t,thumb:r})},emitInputEvent:function(t,r){e.emit(v.INPUT,{value:t,thumb:r})},emitDragStartEvent:function(t,r){e.getRipple(r).activate()},emitDragEndEvent:function(t,r){e.getRipple(r).deactivate()},registerEventHandler:function(t,r){e.listen(t,r)},deregisterEventHandler:function(t,r){e.unlisten(t,r)},registerThumbEventHandler:function(t,r,n){e.getThumbEl(t).addEventListener(r,n)},deregisterThumbEventHandler:function(t,r,n){e.getThumbEl(t).removeEventListener(r,n)},registerInputEventHandler:function(t,r,n){e.getInput(t).addEventListener(r,n)},deregisterInputEventHandler:function(t,r,n){e.getInput(t).removeEventListener(r,n)},registerBodyEventHandler:function(e,t){document.body.addEventListener(e,t)},deregisterBodyEventHandler:function(e,t){document.body.removeEventListener(e,t)},registerWindowEventHandler:function(e,t){window.addEventListener(e,t)},deregisterWindowEventHandler:function(e,t){window.removeEventListener(e,t)}})},t.prototype.initialize=function(e){var t=(void 0===e?{}:e).skipInitialUIUpdate;this.inputs=[].slice.call(this.root.querySelectorAll("."+f.INPUT)),this.thumbs=[].slice.call(this.root.querySelectorAll("."+f.THUMB)),this.trackActive=this.root.querySelector("."+f.TRACK_ACTIVE),this.ripples=this.createRipples(),t&&(this.skipInitialUIUpdate=!0)},t.prototype.initialSyncWithDOM=function(){this.foundation.layout({skipUpdateUI:this.skipInitialUIUpdate})},t.prototype.layout=function(){this.foundation.layout()},t.prototype.getValueStart=function(){return this.foundation.getValueStart()},t.prototype.setValueStart=function(e){this.foundation.setValueStart(e)},t.prototype.getValue=function(){return this.foundation.getValue()},t.prototype.setValue=function(e){this.foundation.setValue(e)},t.prototype.getDisabled=function(){return this.foundation.getDisabled()},t.prototype.setDisabled=function(e){this.foundation.setDisabled(e)},t.prototype.setValueToAriaValueTextFn=function(e){this.valueToAriaValueTextFn=e},t.prototype.getThumbEl=function(e){return e===o.END?this.thumbs[this.thumbs.length-1]:this.thumbs[0]},t.prototype.getInput=function(e){return e===o.END?this.inputs[this.inputs.length-1]:this.inputs[0]},t.prototype.getRipple=function(e){return e===o.END?this.ripples[this.ripples.length-1]:this.ripples[0]},t.prototype.addTickMarks=function(e,t){for(var r=document.createDocumentFragment(),o=0;o<t.length;o++){var a=document.createElement("div"),i=t[o]===n.ACTIVE?f.TICK_MARK_ACTIVE:f.TICK_MARK_INACTIVE;a.classList.add(i),r.appendChild(a)}e.appendChild(r)},t.prototype.updateTickMarks=function(e,t){for(var r=Array.from(e.children),o=0;o<r.length;o++)t[o]===n.ACTIVE?(r[o].classList.add(f.TICK_MARK_ACTIVE),r[o].classList.remove(f.TICK_MARK_INACTIVE)):(r[o].classList.add(f.TICK_MARK_INACTIVE),r[o].classList.remove(f.TICK_MARK_ACTIVE))},t.prototype.createRipples=function(){for(var e=[],t=[].slice.call(this.root.querySelectorAll("."+f.THUMB)),r=function(r){var o=t[r],a=n.inputs[r],l=(0,i.C3)((0,i.C3)({},c.o.createAdapter(n)),{addClass:function(e){o.classList.add(e)},computeBoundingRect:function(){return o.getBoundingClientRect()},deregisterInteractionHandler:function(e,t){a.removeEventListener(e,t)},isSurfaceActive:function(){return(0,u._u)(a,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(e,t){a.addEventListener(e,t,(0,s.E)())},removeClass:function(e){o.classList.remove(e)},updateCssVariable:function(e,t){o.style.setProperty(e,t)}}),f=new c.o(o,new d.E(l));f.unbounded=!0,e.push(f)},n=this,o=0;o<t.length;o++)r(o);return e},t}(l.s)},,,,,,,,,,,function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",t;if(module=__webpack_require__.nmd(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")&&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=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;t=function(__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__51__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__,__WEBPACK_EXTERNAL_MODULE__18__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__11__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__nested_webpack_require_4249__){var __dirname="/",e,t,r,n,i,o,s,a,l,p,c,u,d;if(module=__nested_webpack_require_4249__.nmd(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")&&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=void 0===__nested_webpack_require_4249__.g||null===__nested_webpack_require_4249__.g?{}:__nested_webpack_require_4249__.g;module.exports=(e=__nested_webpack_require_4249__(2),t=__nested_webpack_require_4249__(12),r=__nested_webpack_require_4249__(4),n=__nested_webpack_require_4249__(0),i=__nested_webpack_require_4249__(3),o=__nested_webpack_require_4249__(13),s=__nested_webpack_require_4249__(14),a=__nested_webpack_require_4249__(5),l=__nested_webpack_require_4249__(15),p=__nested_webpack_require_4249__(16),c=__nested_webpack_require_4249__(17),u=__nested_webpack_require_4249__(18),d=__nested_webpack_require_4249__(6),function(){var f=[function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=t},function(e,t,r){var n=r(0),o=r.n(n),a=r(1),i=r.n(a),l=r(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:l.string},e),function(t,r){if("string"==typeof r){var n,a=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(a,"observedAttributes")||(a.observedAttributes=a.observedAttributes?[].concat(a.observedAttributes):[]);var l=i().stringCamelCaseToDelimited(r);a.observedAttributes.includes(l)||a.observedAttributes.push(l)}e.type&&(Object.prototype.hasOwnProperty.call(a,"propertyTypes")||(a.propertyTypes=a.propertyTypes?o()({},a.propertyTypes):{}),!e.update&&Object.prototype.hasOwnProperty.call(a,r)||(a.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(a,"propertiesToReflectAsAttributes")||(a.propertiesToReflectAsAttributes=a.propertiesToReflectAsAttributes?i().copy(a.propertiesToReflectAsAttributes):[]),(e.update||a.propertiesToReflectAsAttributes instanceof Map&&!a.propertiesToReflectAsAttributes.has(r)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(r)||null!==a.propertiesToReflectAsAttributes&&"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?!0===e.writeAttribute&&a.propertyTypes&&Object.prototype.hasOwnProperty.call(a.propertyTypes,r)&&(n=a.propertyTypes[r]):n=e.writeAttribute,void 0!==n&&(Array.isArray(a.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?a.propertiesToReflectAsAttributes.push(r):a.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes)),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(r,n),null!==a.propertiesToReflectAsAttributes&&"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[r]=n)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?o()({},a.propertyAliases):{}),!e.update&&Object.prototype.hasOwnProperty.call(a,r)||(a.propertyAliases[r]=e.alias))}}}},function(e,t,r){r.d(t,{api:function(){return O}});var n,o,a,i,l=r(6),s=r.n(l),u=r(0),c=r.n(u),d=r(7),f=r.n(d),p=r(8),h=r.n(p),v=r(3),m=r.n(v),_=r(9),g=r.n(_),y=(r(10),r(11)),b=r.n(y),T=r(1),E=r.n(T),w=r(2),S=r(4);function A(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return C(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);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 C(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var k="undefined"==typeof HTMLElement?function(){}:HTMLElement,x=(n=(0,S.default)({type:w.boolean,writeAttribute:!0}),i=function(e){function t(){var r;return(r=e.call(this)||this).batchAttributeUpdates=!0,r.batchPropertyUpdates=!0,r.batchUpdates=!0,r.batchedAttributeUpdateRunning=!0,r.batchedPropertyUpdateRunning=!0,r.batchedUpdateRunning=!0,r.parent=null,r.rootInstance=null,r.scope={Tools:E()},r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,f()(r,"isRoot",a,h()(r)),r.root=void 0,r.runDomConnectionAndRenderingInSameEventQueue=!1,r.self=t,r.slots={},r.self=r.constructor,r.self._propertiesToReflectAsAttributes||(r.self._propertiesToReflectAsAttributes=r.self.normalizePropertyTypeList(r.self.propertiesToReflectAsAttributes)),r.generateAliasIndex(),r.root=h()(r),r.defineGetterAndSetterInterface(),r}m()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,r){this.ignoreAttributeUpdateObservations||t===r||this.onUpdateAttribute(e,r)},r.onUpdateAttribute=function(e,t){var r=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,E().timeout((function(){r.batchedAttributeUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("attributeChanged")}))):this.render("attributeChanged")},r.connectedCallback=function(){var e=this;try{this.isConnected=!0}catch(e){}this.parent=this,this.rootInstance=this,this.attachEventHandler(),this.self.determineRootBinding&&this.determineRootBinding(),this.self.applyRootBinding&&this.isRoot&&(this.determineRenderScope(),this.applyBinding(this,this.scope)),this.batchedAttributeUpdateRunning=!1,this.batchedPropertyUpdateRunning=!1,this.batchedUpdateRunning=!1,this.grabGivenSlots(),this.reflectExternalProperties(this.externalProperties),this.runDomConnectionAndRenderingInSameEventQueue?this.render("connected"):E().timeout((function(){return e.render("connected")}))},r.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=A(this.domNodeEventBindings.values());!(e=t()).done;)for(var r,n=A(e.value.values());!(r=n()).done;)(0,r.value)();this.slots={}},r.defineGetterAndSetterInterface=function(){for(var e,t=this,r=function(){var r=e.value;Object.prototype.hasOwnProperty.call(t,r)&&t.setPropertyValue(r,t[r]),Object.defineProperty(t,r,{configurable:!0,get:function(){return t.getPropertyValue(r)},set:function(e){t.setPropertyValue(r,e),t.triggerPropertySpecificRendering(r,e)}})},n=A(E().arrayUnique(Object.keys(this.self.propertyTypes).concat(Object.keys(this.self._propertyAliasIndex))));!(e=n()).done;)r()},r.getPropertyAlias=function(e){return Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},r.getPropertyValue=function(e){var r,n,o=null!=(r=this.instance)&&null!=(r=r.current)&&r.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(n=this.instance)&&null!=(n=n.current)&&n.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:o},r.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.externalProperties[r]=t)},r.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.internalProperties[r]=t)},r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=t,r)),this.setInternalPropertyValue(e,t)},r.triggerPropertySpecificRendering=function(e,t){var r=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,E().timeout((function(){void 0!==t&&r.isStateProperty(e)?(r.render("preStatePropertyChanged"),E().timeout((function(){r.setInternalPropertyValue(e,void 0),r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("postStatePropertyChanged"),r.triggerOutputEvents()})).then(E().noop,E().noop)):(r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("propertyChanged"),r.triggerOutputEvents())})));else{var n=this.isStateProperty(e);this.render(n?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&n&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},r.applyBinding=function(e,t){var r=this;if(e.getAttributeNames)for(var n,o=function(){var o=n.value,a="";if(o.startsWith("data-bind-")?a=o.substring(10):o.startsWith("bind-")&&(a=o.substring(5)),a){var i=e.getAttribute(o);if(null===i)return 0;if(a.startsWith("attribute-")||a.startsWith("property-")){var l=E().stringEvaluate(i,t,!1,e);if(l.error)return console.warn('Error occurred during processing given attribute binding "'+o+'" on node:',e,l.error),0;a.startsWith("attribute-")?e.setAttribute(a.substring(10),l.result):e[E().stringDelimitedToCamelCase(a.substring(9))]=l.result}else if(a.startsWith("on-")){r.domNodeEventBindings.has(e)||r.domNodeEventBindings.set(e,new Map);var s=r.domNodeEventBindings.get(e);a=E().stringDelimitedToCamelCase(a.substring(3)),s.has(a)&&s.get(a)(),t=c()({event:void 0,parameters:void 0},t);var u=E().stringCompile(i,t,!0);if(u.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,u.error);else{var d=u.templateFunction.bind(e),f=function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];t.event=n[0],t.parameters=n;try{d.apply(void 0,u.originalScopeNames.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+o+'" on node:',e,'Given expression "'+i+'" could not be evaluated with given scope names "'+u.scopeNames.join('", "')+'": '+E().represent(t))}};e.addEventListener(a,f),s.set(a,(function(){e.removeEventListener(a,f),s.delete(a),0===s.size&&r.domNodeEventBindings.delete(e)}))}}}},a=A(e.getAttributeNames());!(n=a()).done;)o()},r.applyBindings=function(e,t,r){for(void 0===r&&(r=!0);e;){var n;null==(n=e.attributes)||!n.length||!r&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},r.compileDomNodeTemplate=function(e,t,r){var n;if(void 0===t&&(t=[]),void 0===r&&(r={}),(r=c()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},r)).ignoreComponents&&null!=(n=e.nodeName)&&n.toLowerCase().includes("-"))return r.map;if(r.unsafe){var o=e.innerHTML;if(!o&&e.template&&(o=e.template),this.self.hasCode(o)){var a=E().stringCompile("`"+o+"`",t);r.map.set(e,{children:[],error:a.error,scopeNames:a.scopeNames,template:o,templateFunction:a.templateFunction})}}else{var i,l=e.nodeName.toLowerCase();if(["a","#text"].includes(l)){var s="a"===l?e.getAttribute("href"):e.textContent;this.self.hasCode(s)&&(i=s.replace(/ /g," ").trim())}var u=[];if(i){var d=E().stringCompile("`"+i+"`",t);r.map.set(e,{children:u,error:d.error,scopeNames:d.scopeNames,template:i,templateFunction:d.templateFunction})}for(var f=e.firstChild;f;)r.filter&&!r.filter(f)||u.push(this.compileDomNodeTemplate(f,t,c()({},r,{ignoreComponents:r.ignoreNestedComponents}))),f=f.nextSibling}return r.map},r.evaluateDomNodeTemplate=function(e,t,r){var n;if(void 0===t&&(t={}),void 0===r&&(r={}),(r=c()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},r)).map.has(e)||this.compileDomNodeTemplate(e,t,r),r.map.has(e)){var o=r.map.get(e),a=o.error,i=o.scopeNames,l=o.templateFunction;if(a)console.warn("Error occurred during compiling node content: "+a);else{var s=null;try{s=l.apply(void 0,i.map((function(e){return t[e]})))}catch(a){console.warn('Error occurred when "'+this.self._name+'" is running "'+l+'": with bound names "'+i.join('", "')+'": "'+a+'". Rendering node:',e)}null!==s&&(r.unsafe?e.innerHTML=s:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",s):e.textContent=s)}}if(!(r.unsafe||r.ignoreComponents&&null!=(n=e.nodeName)&&n.toLowerCase().includes("-")))for(var u=e.firstChild;u;)r.filter&&!r.filter(u)||this.evaluateDomNodeTemplate(u,t,c()({},r,{applyBindings:!1,ignoreComponents:r.ignoreNestedComponents})),u=u.nextSibling;return r.applyBindings&&this.applyBindings(e,t),r.map},t.replaceDomNodes=function(e,r){for(var n,o=A([].concat(r).reverse());!(n=o()).done;){var a,i=n.value;t.trimSlots&&i.nodeType===Node.TEXT_NODE&&""===(null==(a=i.nodeValue)?void 0:a.trim())||e.after(i)}e.remove()},t.unwrapDomNode=function(e){for(var t=e.parentNode,r=[];e.firstChild;)r.push(e.firstChild),t.insertBefore(e.firstChild,e);return t.removeChild(e),r},r.determineRootBinding=function(){for(var e=this.parentNode;e;){var r;(e instanceof t||(null==(r=e.nodeName)?void 0:r.includes("-"))||null===e.parentNode&&"[object ShadowRoot]"===e.toString())&&(this.rootInstance===this?(this.parent=e,this.rootInstance=e,this.setPropertyValue("isRoot",!1)):this.rootInstance=e),e=e.parentNode}},t.hasCode=function(e){return"string"==typeof e&&e.includes("${")&&e.includes("}")&&/\${[\s\S]+}/.test(e)},t.normalizePropertyTypeList=function(e){if("string"==typeof e&&(e=[e]),Array.isArray(e)){for(var r,n=e,o=new Map,a=A(n);!(r=a()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,i)&&o.set(i,t.propertyTypes[i])}return o}return E().convertPlainObjectToMap(e)},r.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},r.attachExplicitDefinedOutputEventHandler=function(){for(var e=this,t=!1,r=function(){var r=o[n];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,s()(b().mark((function t(){var n,o,a,i,l=arguments;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(n=l.length,o=new Array(n),a=0;a<n;a++)o[a]=l[a];return t.next=3,e.reflectEventToProperties(r,o);case 3:(i=t.sent)&&(o[0]=i),e.forwardEvent(r,o);case 6:case"end":return t.stop()}}),t)})))))},n=0,o=Object.keys(this.self.eventToPropertyMapping);n<o.length;n++)r();return t},r.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=o[n],a=r[0],i=r[1];Object.prototype.hasOwnProperty.call(t.internalProperties,a)||![w.func,"function"].includes(i)||t.self.renderProperties.includes(a)||(t.outputEventNames.add(a),t.setInternalPropertyValue(a,(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e&&t.reflectEventToProperties(a,n),t.forwardEvent(a,n)})))},n=0,o=Object.entries(this.self.propertyTypes);n<o.length;n++)r()},r.triggerOutputEvents=function(){for(var e,t=A(this.outputEventNames);!(e=t()).done;){var r=e.value;this.forwardEvent(r,[this.externalProperties])}},r.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=E().stringLowerCase(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.applySlots=function(e,t){for(var r=this,n=0,o=Array.from(e.querySelectorAll("slot"));n<o.length;n++){var a=o[n],i=a.getAttribute("name");if(null===i||"default"===i)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var l,s=A(this.slots.default);!(l=s()).done;){var u=l.value;this.evaluateDomNodeTemplate(u,t)}this.self.replaceDomNodes(a,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(a).map((function(e){return r.grabSlotContent(e)}));else Object.prototype.hasOwnProperty.call(this.slots,i)?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[i],t),this.self.replaceDomNodes(a,this.slots[i])):this.slots[i]=this.grabSlotContent(this.self.unwrapDomNode(a).filter((function(e){return"#text"!==e.nodeName.toLowerCase()}))[0])}},r.grabSlotContent=function(e){var t;if("textarea"===(null==(t=e.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!e.firstElementChild.hasAttribute("data-no-template")||"false"===e.firstElementChild.getAttribute("data-no-template"))){var r,n,o=e.firstElementChild.value;null==(r=e.classList)||r.remove("web-component-template");var a=e.cloneNode();return null==(n=e.classList)||n.add("web-component-template"),a.innerHTML="",a.template=o,a}return this.self.cloneSlots?e.cloneNode(!0):e},r.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,r=Array.from(this.querySelectorAll("[slot]"));t<r.length;t++){for(var n=r[t],o=n.parentNode,a=!0;o;){if(o.nodeName.includes("-")){o===this&&(a=!1);break}o=o.parentNode}a||(this.slots[n.getAttribute&&n.getAttribute("slot")&&n.getAttribute("slot").trim()?n.getAttribute("slot").trim():n.nodeName.toLowerCase()]=this.grabSlotContent(n))}this.slots.default?this.slots.default=[this.slots.default]:this.childNodes.length>0?this.slots.default=Array.from(this.childNodes).map((function(t){return e.grabSlotContent(t)})):this.slots.default=[]},r.isStateProperty=function(e){var t,r;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(null==(r=this.instance)||null==(r=r.current)?void 0:r.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},r.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=c()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],n=r[0],o=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,o)||(this.self._propertyAliasIndex[o]=n)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var n=r[t],o=n[0],a=n[1];if(this.setExternalPropertyValue(o,a),this.isConnected){var i=E().stringCamelCaseToDelimited(o);if(this.self._propertiesToReflectAsAttributes.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case w.boolean:case"boolean":a?""!==this.getAttribute(i)&&this.setAttribute(i,""):this.hasAttribute(i)&&this.removeAttribute(i);break;case w.func:case"function":break;case"json":if(a){var l=JSON.stringify(a);if(l&&this.getAttribute(i)!==l){this.setAttribute(i,l);break}}this.hasAttribute(i)&&this.removeAttribute(i);break;case w.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(i)&&this.removeAttribute(i);else{var s=""+a;this.getAttribute(i)!==s&&this.setAttribute(i,s)}break;case w.string:case"string":a?this.getAttribute(i)!==a&&this.setAttribute(i,a):this.hasAttribute(i)&&this.removeAttribute(i);break;case w.any:case w.array:case w.arrayOf:case w.element:case w.elementType:case w.instanceOf:case w.node:case w.object:case"object":case w.objectOf:case w.shape:case w.exact:case w.symbol:default:if(a){var u=E().represent(a);if(u&&this.getAttribute(i)!==u){this.setAttribute(i,u);break}}this.hasAttribute(i)&&this.removeAttribute(i)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,r,n;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var o,a=A(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(o=a()).done;){var i=o.value;Object.prototype.hasOwnProperty.call(this.internalProperties,i)&&this.setInternalPropertyValue(i,void 0)}null!=(r=this.internalProperties.model)&&r.state&&(null==(n=this.internalProperties.model)||delete n.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var l,s=A(this.self.controllableProperties);!(l=s()).done;){var u=l.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},r.reflectEventToProperties=function(){var e=s()(b().mark((function e(t,r){var n,o,a,i,l,s,u,d,f,p,h,v,m,_,g,y;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.batchUpdates,this.batchUpdates=!1,o=null,a=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&E().isFunction(this.self.eventToPropertyMapping[t]))){e.next=16;break}if(!((l=(i=this.self.eventToPropertyMapping)[t].apply(i,r.concat([this])))&&"then"in l&&E().isFunction(l.then))){e.next=12;break}return e.next=9,l;case 9:e.t0=e.sent,e.next=13;break;case 12:e.t0=l;case 13:s=e.t0,a=!0,Array.isArray(s)?(o=s[0],this.reflectProperties(o),E().extend(!0,this.internalProperties,s[1])):null===s?a=!1:"object"==typeof s&&(o=s,this.reflectProperties(s));case 16:if(!a&&r.length>0&&null!==r[0]&&"object"==typeof r[0]){if(d=r[0],"persist"in r[0]&&E().isFunction(r[0].persist))for(d={},f=0,p=Object.keys(this.self.propertyTypes);f<p.length;f++)for(h=p[f],v=A([h].concat(null!==(_=this.getPropertyAlias(h))&&void 0!==_?_:[]));!(m=v()).done;)g=m.value,(y=r[0].currentTarget&&Object.prototype.hasOwnProperty.call(r[0].currentTarget,g)?r[0].currentTarget[g]:this.getPropertyValue(g))!==this.externalProperties[g]&&(d[g]=y);else[null,void 0].includes(null==(u=d.detail)?void 0:u.value)||(d=c()({},d.detail));o=d,this.reflectProperties(d)}return this.triggerRender("propertyReflected"),this.batchUpdates=n,e.abrupt("return",o);case 20:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}(),r.evaluateStringOrNullAndSetAsProperty=function(e,t){var r=this,n=e.startsWith("-"),o=n?e.substring(1):e,a=E().stringDelimitedToCamelCase(o),i=this.getPropertyAlias(a);if(i&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,i)&&(a=i),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)){var l=this.self.propertyTypes[a];if(n){if(t){var s=E().stringEvaluate(t,{Tools:E()},!1,this);s.error?(console.warn('Failed to process pre-evaluation attribute "'+e+'": '+s.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(a,void 0)):(this.setInternalPropertyValue(a,s.result),this.setExternalPropertyValue(a,s.result))}}else switch(l){case w.boolean:case"boolean":var u=![null,"false"].includes(t);this.setInternalPropertyValue(a,u),this.setExternalPropertyValue(a,u);break;case w.func:case"function":var c,d=null,f=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var p=E().stringCompile(t,f);d=p.error,c=p.templateFunction,d&&console.warn('Failed to compile given handler "'+e+'": '+d+".")}this.setInternalPropertyValue(a,(function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];r.outputEventNames.has(a)&&r.reflectEventToProperties(a,o);var l=void 0;if(!d)try{l=c.call(r,o[0],o[0],o[0],o[0],o[0],o[0],o,E())}catch(r){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+f.join('", "')+'" set to "'+E().represent(o)+'": '+r+'. Set property to "undedefined".')}return r.self.renderProperties.includes(a)||r.forwardEvent(a,o),l})),d||this.setExternalPropertyValue(a,c);break;case"json":if(t){var h;try{h=JSON.parse(t)}catch(d){console.warn('Error occurred during parsing given json attribute "'+e+'": '+E().represent(d));break}this.setInternalPropertyValue(a,h),this.setExternalPropertyValue(a,E().copy(h,1))}else this.setInternalPropertyValue(a,null),this.setExternalPropertyValue(a,null);break;case w.number:case"number":if(null===t){this.setInternalPropertyValue(a,t),this.setExternalPropertyValue(a,t);break}var v=parseFloat(t);isNaN(v)&&(v=void 0),this.setInternalPropertyValue(a,v),this.setExternalPropertyValue(a,v);break;case w.string:case"string":this.setInternalPropertyValue(a,t),this.setExternalPropertyValue(a,t);break;case w.any:case w.array:case w.arrayOf:case w.element:case w.elementType:case w.instanceOf:case w.node:case w.object:case"object":case w.objectOf:case w.oneOf:case w.oneOfType:case w.shape:case w.exact:case w.symbol:default:if(t){var m=E().stringEvaluate(t,{},!1,this);if(m.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',m.error);break}this.setInternalPropertyValue(a,m.result),this.setExternalPropertyValue(a,E().copy(m.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(a,!0),this.setExternalPropertyValue(a,!0)):(this.setInternalPropertyValue(a,null),this.setExternalPropertyValue(a,null))}}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,E().timeout((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},r.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow(null!==this.self.shadowDOM&&"object"==typeof this.self.shadowDOM?this.self.shadowDOM:{mode:"open"}))},r.determineRenderScope=function(e){var t,r;void 0===e&&(e={}),this.scope=c()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((r={parent:this.parent,root:this.rootInstance,self:this})[E().stringLowerCase(this.self._name)||"instance"]=this,r),e),this.scope.scope=this.scope},r.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){var t=E().stringEvaluate("`"+this.self.content+"`",this.scope);if(t.error)console.warn("Failed to process template: "+t.error);else{this.applyShadowRootIfNotExisting();var r=document.createElement("div");r.innerHTML=t.result,this.applySlots(r,c()({},this.scope,{parent:this})),this.root.innerHTML=r.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots)}}},t}(k),i.applyRootBinding=!0,i.content="<slot>Please provide a template to transclude.</slot>",i.determineRootBinding=!0,i.shadowDOM=null,i.observedAttributes=[],i.controllableProperties=[],i.eventToPropertyMapping={},i.propertyAliases={},i.propertyTypes={onClick:w.func},i.propertiesToReflectAsAttributes=[],i.renderProperties=["children"],i.cloneSlots=!1,i.evaluateSlots=!1,i.renderSlots=!0,i.trimSlots=!0,i.renderUnsafe=!1,i._name="BaseWeb",i._propertyAliasIndex=void 0,i._propertiesToReflectAsAttributes=void 0,o=i,a=g()(o.prototype,"isRoot",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),o),O={component:x,register:function(e){return void 0===e&&(e=E().stringCamelCaseToDelimited(x._name)),customElements.define(e,x)}};t.default=x},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=d},function(e){e.exports=i},function(e){e.exports=o},function(e){e.exports=s},function(e,t,r){r.d(t,{api:function(){return _}});var n=r(0),o=r.n(n),a=r(3),i=r.n(a),l=r(1),s=r.n(l),u=r(2),c=r(12),d=r.n(c),f=r(13),p=r(14);function h(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);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 v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var m=function(e){function t(){for(var r,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(r=e.call.apply(e,[this].concat(o))||this).compiledSlots={},r.preparedSlots={},r.reactRoot=null,r.rootReactInstance=null,r.self=t,r.wrapMemorizingWrapper=null,r.isWrapped=!1,r.reflectInstanceProperties=function(){var e;null!=(e=r.instance)&&e.current&&r.instance.current.properties&&r.reflectProperties(r.instance.current.properties)},r}i()(t,e);var r=t.prototype;return r.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},r.disconnectedCallback=function(){e.prototype.disconnectedCallback.call(this)},r.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},r.render=function(e){var t,r=this;if(void 0===e&&(e="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(o()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(var n=this.firstChild;n;){var a=n.nextSibling;this.removeChild(n),n=a}this.reactRoot||(this.reactRoot=(0,p.createRoot)(this.root,{identifierPrefix:String(this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name)})),(0,f.flushSync)((function(){return r.reactRoot.render((0,c.createElement)(r.self.content,r.internalProperties))})),null!=(t=this.instance)&&t.current?this.reflectInstanceProperties():s().timeout(this.reflectInstanceProperties)}},r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=s().copy(t,1),r)),this.setInternalPropertyValue(e,s().copy(t,1))},r.setInternalPropertyValue=function(t,r){null===r?r=u.NullSymbol:void 0===r&&(r=u.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,r)},r.preCompileDomNodes=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r=!1),1===(e=e.filter((function(e){return e.nodeType!==Node.TEXT_NODE||"string"==typeof e.nodeValue&&""!==e.nodeValue.trim()}))).length)return this.preCompileDomNode(e[0],t,r);for(var n,o=1,a=[],i=h(e);!(n=i()).done;){var l=n.value,s=this.preCompileDomNode(l,t,r,o.toString());s&&(a.push(s),o+=1)}return r?function(e){return function(){for(var t,r=[],n=h(a);!(t=n()).done;){var o=(0,t.value)(e);"function"==typeof o&&r.push(o.apply(void 0,arguments))}return(0,c.createElement)(c.Fragment,{children:r})}}:a},r.preCompileDomNode=function(e,t,r,n){var a=this;if(void 0===t&&(t={}),void 0===r&&(r=!1),r){var i=this.preCompileDomNode(e,o()({},t,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,n);return function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=r.length>0?r[0]:null;return i(o()({},e,{data:a,firstArgument:a,firstParameter:a,options:a,scope:a,parameters:r}))}}}if(e.nodeType===Node.TEXT_NODE){var l="string"==typeof e.nodeValue?e.nodeValue.trim():"",u=n&&l?(0,c.createElement)(c.Fragment,{children:l,key:n}):l||null;return function(){return u}}if(!e.getAttributeNames)return function(){return null};var d,f={},p=this.self.isReactComponent(e);p?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),n&&!Object.prototype.hasOwnProperty.call(f,"key")&&(f.key=n),d=e.constructor.content):(f.key=n,d=e.tagName.toLowerCase());for(var v,m=Object.keys(t),_={},g=function(){var r,n=v.value,o=e.getAttribute(n);if(null===o)return 0;var i=!1,l="";if(n.startsWith("data-bind-")?l=n.substring(10):n.startsWith("bind-")&&(l=n.substring(5)),l.startsWith("attribute-")||"attributes"===l||l.startsWith("property-")||"properties"===l){var u=s().stringCompile(o,m),c=u.error,d=u.originalScopeNames,h=u.templateFunction;if(c)return console.warn('Error occurred during compiling given attribute binding "'+n+'" on node:',e,c),0;"attributes"===l||"properties"===l?i=!0:l=l.startsWith("attribute-")?l.substring(10):l.substring(9),o={originalScopeNames:d,templateFunction:h.bind(a)}}else if(l.startsWith("on-")){l=s().stringDelimitedToCamelCase(l),Object.prototype.hasOwnProperty.call(t,"event")||(m=[].concat(m,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(m=[].concat(m,["parameters"]));var g=s().stringCompile(o,m,!0),y=g.error,b=g.originalScopeNames,T=g.scopeNames,E=g.templateFunction;if(y)return console.warn('Error occurred during compiling given event binding "'+n+'" on node:',e,y),0;var w=E.bind(a);o=function(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];t.event=a[0],t.parameters=a;try{w.apply(void 0,b.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+n+'" on node: ',e,'Given expression "'+o+'" could not be evaluated with given scope names "'+T.join('", "')+'": '+s().represent(t))}}}else l=n;var S={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(S,l)&&(l=S[l]),l=s().stringDelimitedToCamelCase(l),null!=(r=o)&&r.originalScopeNames?_[i?"":l]=o:p||(f[l]=o)},y=h(e.getAttributeNames());!(v=y()).done;)g();if(!p){var b=Array.from(e.childNodes);b.length&&(f.children=this.preCompileDomNodes(b,t))}return function(r){(r=o()({},t,r)).scope=r;for(var n=o()({},f),i=0,l=Object.entries(_);i<l.length;i++){var s=l[i],u=s[0],h=s[1],v=h.originalScopeNames,m=h.templateFunction.apply(void 0,v.map((function(e){return r[e]})));""===u?n=o()({},n,m):n[u]=m}return Object.prototype.hasOwnProperty.call(n,"innerHTML")&&(n.dangerouslySetInnerHTML={__html:n.innerHTML},delete n.children,delete n.innerHTML),Object.prototype.hasOwnProperty.call(n,"textContent")?(n.children=n.textContent,delete n.textContent):p?(n=o()({},e.internalProperties,n),r=o()({},n,r,{parent:e}),e.evaluateSlots(r),e.prepareProperties(n)):n.children&&(n.children=a.evaluatePreCompiledDomNodes(n.children,r)),(0,c.createElement)(d,n)}},r.evaluatePreCompiledDomNodes=function(e,t){if(void 0===t&&(t={}),!Array.isArray(e))return e(t);if(1===e.length)return e[0](t);for(var r,n=[],o=h(e);!(r=o()).done;){var a=(0,r.value)(t);a&&n.push(a)}return n},r.preCompileSlots=function(){var e;for(var t in this.slots)Object.prototype.hasOwnProperty.call(this.slots,t)&&"default"!==t&&(this.compiledSlots[t]=this.preCompileDomNode(this.slots[t],o()({},this.scope,{parent:this}),[u.func,"function"].includes(this.self.propertyTypes&&this.self.propertyTypes[t])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,o()({},this.scope,{parent:this}),[u.func,"function"].includes(null==(e=this.self.propertyTypes)?void 0:e.children)))},r.evaluateSlots=function(e){for(var t in this.preparedSlots={},this.compiledSlots)Object.prototype.hasOwnProperty.call(this.compiledSlots,t)&&("children"===t?this.preparedSlots.children=this.evaluatePreCompiledDomNodes(this.compiledSlots[t],e):this.preparedSlots[t]=this.compiledSlots[t](e))},t.isReactComponent=function(e){var t=e.constructor;return"object"==typeof t.content&&(!1===t.attachWebComponentAdapterIfNotExists||"react"===t.content.webComponentAdapterWrapped)},r.determineRootBinding=function(){e.prototype.determineRootBinding.call(this);for(var t=this.parentNode;t;){if(this.self.isReactComponent(t)){this.rootReactInstance=t;break}t=t.parentNode}},r.applyComponentWrapper=function(){if("string"!=typeof this.self.content&&!this.isWrapped){this.isWrapped=!0;var e=this.self.content.wrapped||this.self.content;this.self.content.webComponentAdapterWrapped?this.wrapMemorizingWrapper&&(this.self.content=(0,c.memo)(this.self.content),this.self.content.wrapped=e):this.self.attachWebComponentAdapterIfNotExists?(this.self.content.displayName||(this.self.content.displayName=this.self._name),this.self.content=(0,c.forwardRef)((function(t,r){return(0,c.useImperativeHandle)(r,(function(){return{properties:t}})),(0,c.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,c.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,c.memo)(this.self.content),this.self.content.wrapped=e)}},r.prepareProperties=function(e){s().extend(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,c.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var r,n=h(["isRoot","isTrusted","__composed"]);!(r=n()).done;){var o=r.value;Object.prototype.hasOwnProperty.call(t,o)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,o)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,o))&&delete t[o]}},t}(r(5).default);m.attachWebComponentAdapterIfNotExists=!0,m.content="div",m.react=d(),m._name="ReactWebComponent";var _={component:m,register:function(e){return void 0===e&&(e=s().stringCamelCaseToDelimited(m._name)),customElements.define(e,m)}};t.default=m}],h={};function v(e){var t=h[e];if(void 0!==t)return t.exports;var r=h[e]={exports:{}};return f[e](r,r.exports,v),r.exports}v.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return v.d(t,{a:t}),t},v.d=function(e,t){for(var r in t)v.o(t,r)&&!v.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},v.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},v.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var m={};return function(){v.r(m),v.d(m,{ReactWeb:function(){return s},Web:function(){return d},reactWebAPI:function(){return u},webAPI:function(){return c},wrapAsWebComponent:function(){return f}});var e=v(0),t=v.n(e),r=v(3),n=v.n(r),o=v(1),a=v.n(o),i=v(15),l=v(5),s=i.default,u=i.api,c=l.api,d=l.default,f=function(e,r,o){var i,l,u;void 0===r&&(r="NoName"),void 0===o&&(o={});var c=e._name||(null==(i=e.___types)||null==(i=i.name)?void 0:i.name)||r.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");o.propTypes&&(e.propTypes=o.propTypes);var d=e.propTypes||{},f=o.propertyAliases||e.propertyAliases||{},p=a().arrayUnique(Object.keys(d).concat(Object.keys(f)).concat(Object.values(f))),h=o.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(s.propertiesToReflectAsAttributes)if(Array.isArray(h))h=[].concat(s.propertiesToReflectAsAttributes,h);else if(h instanceof Map)for(var v=0,m=s.propertiesToReflectAsAttributes;v<m.length;v++){var _=m[v];h.set(_,s.propertyTypes[_])}else if(null!==h&&"object"==typeof h)for(var g=0,y=s.propertiesToReflectAsAttributes;g<y.length;g++){var b=y[g];h[b]=s.propertyTypes[b]}var T=p.map((function(e){return a().stringCamelCaseToDelimited(e)})),E=function(r){function a(){for(var n,i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];return(n=r.call.apply(r,[this].concat(l))||this).self=a,n.internalProperties=o.internalProperties?t()({},o.internalProperties):e.internalProperties?t()({},e.internalProperties):{},n}return n()(a,r),a}(s);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof o.attachWebComponentAdapterIfNotExists||o.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=s.observedAttributes.concat(T).concat(T.map((function(e){return"-"+e}))),E.controllableProperties=e.controllableProperties||o.controllableProperties||[],E.eventToPropertyMapping=null===o.eventToPropertyMapping?o.eventToPropertyMapping:o.eventToPropertyMapping?t()({},o.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?t()({},e.eventToPropertyMapping):{},E.propertyAliases=t()({},s.propertyAliases,f),E.propertiesToReflectAsAttributes=h,E.propertyTypes=t()({},s.propertyTypes,d),E.renderProperties=null!==(l=null!==(u=o.renderProperties)&&void 0!==u?u:e.renderProperties)&&void 0!==l?l:s.renderProperties,E._name=c,{component:E,register:function(e){return void 0===e&&(e=a().stringCamelCaseToDelimited(c)),customElements.define(e,E)}}};m.default=f}(),m}())},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__4__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__5__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__6__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__7__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__8__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__10__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__12__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__13__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__14__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__15__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__16__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__17__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__18__},function(module,__unused_webpack_exports,__nested_webpack_require_45973__){var __dirname="/",e,r,t,n,i,o,u;if(module=__nested_webpack_require_45973__.nmd(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")&&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=void 0===__nested_webpack_require_45973__.g||null===__nested_webpack_require_45973__.g?{}:__nested_webpack_require_45973__.g;module.exports=(e=__nested_webpack_require_45973__(2),r=__nested_webpack_require_45973__(7),t=__nested_webpack_require_45973__(8),n=__nested_webpack_require_45973__(9),i=__nested_webpack_require_45973__(3),o=__nested_webpack_require_45973__(10),u=__nested_webpack_require_45973__(11),function(){var a=[function(e){e.exports=u},function(t){t.exports=e},function(e){e.exports=i},,function(e){e.exports=t},function(e,t,r){r.d(t,{WrapTooltip:function(){return u}});var n=r(1),o=r.n(n),a=r(12),i=r(6),l=r(0),s=!i.Tooltip||i.Tooltip.isDummy,u=function(e){var t=e.children,r=e.options;if("string"==typeof r)return s?(0,l.jsx)("div",{className:"generic-tooltip",title:r,children:t}):(0,l.jsx)(i.Tooltip,{overlay:(0,l.jsx)(a.Typography,{use:"caption",children:r}),children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})});if(null!==r&&"object"==typeof r){if("string"==typeof r.overlay){if(s)return(0,l.jsx)("div",{className:"generic-tooltip",title:r.overlay,children:t});r=o()({},r,{overlay:(0,l.jsx)(a.Typography,{use:"caption",children:r.overlay})})}return s?(0,l.jsx)("div",{className:"generic-tooltip",children:t}):(0,l.jsx)(i.Tooltip,o()({},r,{children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})}))}return(0,l.jsx)(l.Fragment,{children:t})}},function(e){e.exports=o},,,,,,function(e){e.exports=n},function(e,t,r){r.d(t,{WrapThemeProvider:function(){return a}});var n=r(4),o=r(0),a=function(e){var t=e.children,r=e.configuration,a=e.wrap;return r?(0,o.jsx)(n.ThemeProvider,{options:r,wrap:!1!==a,children:t}):t}},function(e,t,r){r.d(t,{I:function(){return a}});var n=r(2),o=r(0),a=function(e){var t=e.children;return e.strict?(0,o.jsx)(n.StrictMode,{children:t}):(0,o.jsx)(o.Fragment,{children:t})}},function(e){e.exports=r}],l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return a[e](r,r.exports,s),r.exports}s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return function(){s.r(c),s.d(c,{WrapConfigurations:function(){return p},createWrapConfigurationsComponent:function(){return h}});var e=s(1),t=s.n(e),r=s(15),n=s.n(r),o=s(2),a=s(4),i=s(14),l=s(13),u=s(5),d=s(0),f=["strict","theme","themeConfiguration","tooltip","wrap"],p=function(e){var t=e.children,r=e.strict,n=e.themeConfiguration,o=e.tooltip,a=e.wrap;return(0,d.jsx)(i.I,{strict:Boolean(r),children:(0,d.jsx)(u.WrapTooltip,{options:o,children:(0,d.jsx)(l.WrapThemeProvider,{configuration:n,wrap:a,children:t})})})};function h(e,r){void 0===r&&(r={});var i=function(o,i){var l=o.strict,s=o.theme,u=o.themeConfiguration,c=o.tooltip,h=o.wrap,v=n()(o,f),m=(0,d.jsx)(e,t()({},t()({},v,!1===r.withReference?{}:i?{ref:i}:{},r.withThemeWrapper&&s?{theme:s}:{})));return(0,d.jsx)(p,{strict:l,themeConfiguration:u,tooltip:c,wrap:h,children:r.withThemeWrapper&&s?(0,d.jsx)(a.Theme,{use:s,wrap:h,children:m}):m})};return r.withReference?(0,o.forwardRef)(i):i}c.default=p}(),c}())},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__51__}],__webpack_module_cache__={};function __nested_webpack_require_50056__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__nested_webpack_require_50056__),r.loaded=!0,r.exports}__nested_webpack_require_50056__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_50056__.d(t,{a:t}),t},__nested_webpack_require_50056__.d=function(e,t){for(var r in t)__nested_webpack_require_50056__.o(t,r)&&!__nested_webpack_require_50056__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__nested_webpack_require_50056__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__nested_webpack_require_50056__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_50056__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_50056__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __nested_webpack_exports__={};return function(){__nested_webpack_require_50056__.r(__nested_webpack_exports__),__nested_webpack_require_50056__.d(__nested_webpack_exports__,{SliderInput:function(){return l}});var e=__nested_webpack_require_50056__(2),t=__nested_webpack_require_50056__.n(e),r=__nested_webpack_require_50056__(0),n=__nested_webpack_require_50056__(19),o=__nested_webpack_require_50056__(1),a=__nested_webpack_require_50056__.n(o),i=__nested_webpack_require_50056__(51),l=a()((0,n.createWrapConfigurationsComponent)(i.Slider),"SliderInput",{eventToPropertyMapping:{onChange:function(e,r){return t()({},r.externalProperties,{value:e.detail.value})},onInput:function(e){return[{value:e.detail.value},{value:e.detail.value}]}},propTypes:{disabled:r.boolean,discrete:r.boolean,displayMarkers:r.boolean,max:r.number,min:r.number,step:r.number,theme:r.string,themeConfiguration:r.object,onChange:r.func,onInput:r.func,value:r.number}});__nested_webpack_exports__.default=l}(),__nested_webpack_exports__}()},module.exports=t(__webpack_require__(9),__webpack_require__(15),__webpack_require__(103),__webpack_require__(8),__webpack_require__(20),__webpack_require__(0),__webpack_require__(10),__webpack_require__(54),__webpack_require__(12),__webpack_require__(31),__webpack_require__(32),__webpack_require__(33),__webpack_require__(34),__webpack_require__(13),__webpack_require__(39),__webpack_require__(44),__webpack_require__(45),__webpack_require__(43),__webpack_require__(1))}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.d=function(e,t){for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __webpack_exports__=__webpack_require__(121);return __webpack_exports__}()}));
|