web-input-material 0.0.279 → 0.0.285

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.
@@ -1 +1 @@
1
- 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("clientnode"),require("react"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/wrapNativeSuper"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/regenerator"),require("@rmwc/circular-progress"),require("@rmwc/formfield"),require("@rmwc/icon"),require("@rmwc/icon-button"),require("@rmwc/menu"),require("@rmwc/select"),require("@rmwc/textfield"),require("@rmwc/theme"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("@tinymce/tinymce-react"),require("ace-builds"),require("react-ace"),require("react-transition-group"),require("react/jsx-runtime"));else if("function"==typeof define&&define.amd)define(["clientnode/property-types","@babel/runtime/helpers/extends","@babel/runtime/helpers/inheritsLoose","clientnode","react","react-dom","react-dom/client","@babel/runtime/helpers/initializerDefineProperty","@babel/runtime/helpers/assertThisInitialized","@babel/runtime/helpers/wrapNativeSuper","@babel/runtime/helpers/applyDecoratedDescriptor","@babel/runtime/helpers/initializerWarningHelper","@babel/runtime/helpers/asyncToGenerator","@babel/runtime/helpers/objectWithoutPropertiesLoose","@babel/runtime/regenerator","@rmwc/circular-progress","@rmwc/formfield","@rmwc/icon","@rmwc/icon-button","@rmwc/menu","@rmwc/select","@rmwc/textfield","@rmwc/theme","@rmwc/tooltip","@rmwc/typography","@tinymce/tinymce-react","ace-builds","react-ace","react-transition-group","react/jsx-runtime"],t);else{var r="object"==typeof exports?t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("clientnode"),require("react"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/wrapNativeSuper"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/regenerator"),require("@rmwc/circular-progress"),require("@rmwc/formfield"),require("@rmwc/icon"),require("@rmwc/icon-button"),require("@rmwc/menu"),require("@rmwc/select"),require("@rmwc/textfield"),require("@rmwc/theme"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("@tinymce/tinymce-react"),require("ace-builds"),require("react-ace"),require("react-transition-group"),require("react/jsx-runtime")):t(e["clientnode/property-types"],e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/inheritsLoose"],e.clientnode,e.react,e["react-dom"],e["react-dom/client"],e["@babel/runtime/helpers/initializerDefineProperty"],e["@babel/runtime/helpers/assertThisInitialized"],e["@babel/runtime/helpers/wrapNativeSuper"],e["@babel/runtime/helpers/applyDecoratedDescriptor"],e["@babel/runtime/helpers/initializerWarningHelper"],e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@babel/runtime/regenerator"],e["@rmwc/circular-progress"],e["@rmwc/formfield"],e["@rmwc/icon"],e["@rmwc/icon-button"],e["@rmwc/menu"],e["@rmwc/select"],e["@rmwc/textfield"],e["@rmwc/theme"],e["@rmwc/tooltip"],e["@rmwc/typography"],e["@tinymce/tinymce-react"],e["ace-builds"],e["react-ace"],e["react-transition-group"],e["react/jsx-runtime"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(this,(function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__,__WEBPACK_EXTERNAL_MODULE__21__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__22__,__WEBPACK_EXTERNAL_MODULE__19__,__WEBPACK_EXTERNAL_MODULE__23__,__WEBPACK_EXTERNAL_MODULE__24__,__WEBPACK_EXTERNAL_MODULE__25__,__WEBPACK_EXTERNAL_MODULE__26__,__WEBPACK_EXTERNAL_MODULE__27__,__WEBPACK_EXTERNAL_MODULE__28__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__29__,__WEBPACK_EXTERNAL_MODULE__30__,__WEBPACK_EXTERNAL_MODULE__31__,__WEBPACK_EXTERNAL_MODULE__20__,__WEBPACK_EXTERNAL_MODULE__5__){return function(){"use strict";var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,t,r,n,i,o,s,a,l,p,c,u;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__(2),t=__webpack_require__(10),r=__webpack_require__(4),n=__webpack_require__(0),i=__webpack_require__(3),o=__webpack_require__(11),s=__webpack_require__(12),a=__webpack_require__(13),l=__webpack_require__(14),p=__webpack_require__(15),c=__webpack_require__(16),u=__webpack_require__(17),function(){var d=[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),i=r.n(n),o=r(1),a=r.n(o),l=r(2);t.default=function(e){return void 0===e&&(e={}),e=i()({readAttribute:!0,type:l.string},e),function(t,r){if("string"==typeof r){var n,o=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(o,"observedAttributes")||(o.observedAttributes=o.observedAttributes?[].concat(o.observedAttributes):[]);var l=a().stringCamelCaseToDelimited(r);o.observedAttributes.includes(l)||o.observedAttributes.push(l)}e.type&&(Object.prototype.hasOwnProperty.call(o,"propertyTypes")||(o.propertyTypes=o.propertyTypes?i()({},o.propertyTypes):{}),!e.update&&Object.prototype.hasOwnProperty.call(o,r)||(o.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(o,"propertiesToReflectAsAttributes")||(o.propertiesToReflectAsAttributes=o.propertiesToReflectAsAttributes?a().copy(o.propertiesToReflectAsAttributes):[]),(e.update||o.propertiesToReflectAsAttributes instanceof Map&&!o.propertiesToReflectAsAttributes.has(r)||Array.isArray(o.propertiesToReflectAsAttributes)&&!o.propertiesToReflectAsAttributes.includes(r)||null!==o.propertiesToReflectAsAttributes&&"object"==typeof o.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(o.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?!0===e.writeAttribute&&o.propertyTypes&&Object.prototype.hasOwnProperty.call(o.propertyTypes,r)&&(n=o.propertyTypes[r]):n=e.writeAttribute,void 0!==n&&(Array.isArray(o.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?o.propertiesToReflectAsAttributes.push(r):o.propertiesToReflectAsAttributes=o.normalizePropertyTypeList(o.propertiesToReflectAsAttributes)),o.propertiesToReflectAsAttributes instanceof Map&&o.propertiesToReflectAsAttributes.set(r,n),null!==o.propertiesToReflectAsAttributes&&"object"==typeof o.propertiesToReflectAsAttributes&&(o.propertiesToReflectAsAttributes[r]=n)))),e.alias&&(Object.prototype.hasOwnProperty.call(o,"propertyAliases")||(o.propertyAliases=o.propertyAliases?i()({},o.propertyAliases):{}),!e.update&&Object.prototype.hasOwnProperty.call(o,r)||(o.propertyAliases[r]=e.alias))}}}},function(e,t,r){r.d(t,{api:function(){return P}});var n,i,o,a,l=r(0),s=r.n(l),c=r(6),u=r.n(c),d=r(7),p=r.n(d),m=r(3),f=r.n(m),h=r(8),_=r.n(h),v=r(9),g=r.n(v),b=(r(10),r(1)),y=r.n(b),x=r(2);function w(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 E(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)?E(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 E(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 A=(n=(0,r(4).default)({type:x.boolean,writeAttribute:!0}),a=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:y()},r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,u()(r,"isRoot",o,p()(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=p()(r),r.defineGetterAndSetterInterface(),r}f()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,r){this.ignoreAttributeUpdateObservations||t===r||this.updateAttribute(e,r)},r.updateAttribute=function(e,t){var r=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,y().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"):y().timeout((function(){return e.render("connected")}))},r.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=w(this.domNodeEventBindings.values());!(e=t()).done;)for(var r,n=w(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=w(y().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,i,o,a=null!=(r=this.instance)&&null!=(n=r.current)&&n.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!=(i=this.instance)&&null!=(o=i.current)&&o.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:a},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,y().timeout((function(){void 0!==t&&r.isStateProperty(e)?(r.render("preStatePropertyChanged"),y().timeout((function(){r.setInternalPropertyValue(e,void 0),r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("postStatePropertyChanged"),r.triggerOutputEvents()})).then(y().noop,y().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,i=function(){var i=n.value,o="";if(i.startsWith("data-bind-")?o=i.substring("data-bind-".length):i.startsWith("bind-")&&(o=i.substring("bind-".length)),o){var a=e.getAttribute(i);if(null===a)return"continue";if(o.startsWith("attribute-")||o.startsWith("property-")){var l=y().stringEvaluate(a,t,!1,e);if(l.error)return console.warn('Error occurred during processing given attribute binding "'+i+'" on node:',e,l.error),"continue";o.startsWith("attribute-")?e.setAttribute(o.substring("attribute-".length),l.result):e[y().stringDelimitedToCamelCase(o.substring("property-".length))]=l.result}else if(o.startsWith("on-")){r.domNodeEventBindings.has(e)||r.domNodeEventBindings.set(e,new Map);var c=r.domNodeEventBindings.get(e);o=y().stringDelimitedToCamelCase(o.substring("on-".length)),c.has(o)&&c.get(o)(),t=s()({event:void 0,parameters:void 0},t);var u=y().stringCompile(a,t,!0);if(u.error)console.warn('Error occurred during compiling given event binding "'+i+'" on node:',e,u.error);else{var d=u.templateFunction.bind(e),p=function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];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 "'+i+'" on node:',e,'Given expression "'+a+'" could not be evaluated with given scope names "'+u.scopeNames.join('", "')+'": '+y().represent(t))}};e.addEventListener(o,p),c.set(o,(function(){e.removeEventListener(o,p),c.delete(o),0===c.size&&r.domNodeEventBindings.delete(e)}))}}}},o=w(e.getAttributeNames());!(n=o()).done;)i()},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=s()({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 i=e.innerHTML;if(!i&&e.template&&(i=e.template),this.self.hasCode(i)){var o=y().stringCompile("`"+i+"`",t);r.map.set(e,{children:[],error:o.error,scopeNames:o.scopeNames,template:i,templateFunction:o.templateFunction})}}else{var a,l=e.nodeName.toLowerCase();if(["a","#text"].includes(l)){var c="a"===l?e.getAttribute("href"):e.textContent;this.self.hasCode(c)&&(a=c.replace(/&nbsp;/g," ").trim())}var u=[];if(a){var d=y().stringCompile("`"+a+"`",t);r.map.set(e,{children:u,error:d.error,scopeNames:d.scopeNames,template:a,templateFunction:d.templateFunction})}for(var p=e.firstChild;p;)r.filter&&!r.filter(p)||u.push(this.compileDomNodeTemplate(p,t,s()({},r,{ignoreComponents:r.ignoreNestedComponents}))),p=p.nextSibling}return r.map},r.evaluateDomNodeTemplate=function(e,t,r){var n;if(void 0===t&&(t={}),void 0===r&&(r={}),(r=s()({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 i=r.map.get(e),o=i.error,a=i.scopeNames,l=i.templateFunction;if(o)console.warn("Error occurred during compiling node content: "+o);else{var c=null;try{c=l.apply(void 0,a.map((function(e){return t[e]})))}catch(o){console.warn('Error occurred when "'+this.self._name+'" is running "'+l+'": with bound names "'+a.join('", "')+'": "'+o+'". Rendering node:',e)}null!==c&&(r.unsafe?e.innerHTML=c:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",c):e.textContent=c)}}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,s()({},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,i=w([].concat(r).reverse());!(n=i()).done;){var o,a=n.value;t.trimSlots&&a.nodeType===Node.TEXT_NODE&&""===(null==(o=a.nodeValue)?void 0:o.trim())||e.after(a)}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)&&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,i=new Map,o=w(n);!(r=o()).done;){var a=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&i.set(a,t.propertyTypes[a])}return i}return y().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=i[n];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,(function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var o=e.reflectEventToProperties(r,n);o&&(n[0]=o),e.forwardEvent(r,n)})))},n=0,i=Object.keys(this.self.eventToPropertyMapping);n<i.length;n++)r();return t},r.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=i[n],o=r[0],a=r[1];Object.prototype.hasOwnProperty.call(t.internalProperties,o)||![x.func,"function"].includes(a)||t.self.renderProperties.includes(o)||(t.outputEventNames.add(o),t.setInternalPropertyValue(o,(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e&&t.reflectEventToProperties(o,n),t.forwardEvent(o,n)})))},n=0,i=Object.entries(this.self.propertyTypes);n<i.length;n++)r()},r.triggerOutputEvents=function(){for(var e,t=w(this.outputEventNames);!(e=t()).done;){var r=e.value;this.forwardEvent(r,[this.externalProperties])}},r.forwardEvent=function(e,t){return e.length>"onX".length&&e.startsWith("on")&&(e=y().stringLowerCase(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.applySlots=function(e,t){for(var r=this,n=0,i=Array.from(e.querySelectorAll("slot"));n<i.length;n++){var o=i[n],a=o.getAttribute("name");if(null===a||"default"===a)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var l,s=w(this.slots.default);!(l=s()).done;){var c=l.value;this.evaluateDomNodeTemplate(c,t)}this.self.replaceDomNodes(o,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(o).map((function(e){return r.grabSlotContent(e)}));else Object.prototype.hasOwnProperty.call(this.slots,a)?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[a],t),this.self.replaceDomNodes(o,this.slots[a])):this.slots[a]=this.grabSlotContent(this.self.unwrapDomNode(o).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,i=e.firstElementChild.value;null==(r=e.classList)||r.remove("web-component-template");var o=e.cloneNode();return null==(n=e.classList)||n.add("web-component-template"),o.innerHTML="",o.template=i,o}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],i=n.parentNode,o=!0;i;){if(i.nodeName.includes("-")){i===this&&(o=!1);break}i=i.parentNode}o||(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,n,i;return Boolean((null==(t=this.instance)||null==(r=t.current)?void 0:r.state)&&(Object.prototype.hasOwnProperty.call(null==(n=this.instance)||null==(i=n.current)?void 0:i.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=s()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],n=r[0],i=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,i)||(this.self._propertyAliasIndex[i]=n)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var n=r[t],i=n[0],o=n[1];if(this.setExternalPropertyValue(i,o),this.isConnected){var a=y().stringCamelCaseToDelimited(i);if(this.self._propertiesToReflectAsAttributes.has(i))switch(this.self._propertiesToReflectAsAttributes.get(i)){case x.boolean:case"boolean":o?""!==this.getAttribute(a)&&this.setAttribute(a,""):this.hasAttribute(a)&&this.removeAttribute(a);break;case x.func:case"function":break;case"json":if(o){var l=JSON.stringify(o);if(l&&this.getAttribute(a)!==l){this.setAttribute(a,l);break}}this.hasAttribute(a)&&this.removeAttribute(a);break;case x.number:case"number":if("number"!=typeof o||isNaN(o))this.hasAttribute(a)&&this.removeAttribute(a);else{var s=""+o;this.getAttribute(a)!==s&&this.setAttribute(a,s)}break;case x.string:case"string":o?this.getAttribute(a)!==o&&this.setAttribute(a,o):this.hasAttribute(a)&&this.removeAttribute(a);break;case x.any:case x.array:case x.arrayOf:case x.element:case x.elementType:case x.instanceOf:case x.node:case x.object:case"object":case x.objectOf:case x.shape:case x.exact:case x.symbol:default:if(o){var c=y().represent(o);if(c&&this.getAttribute(a)!==c){this.setAttribute(a,c);break}}this.hasAttribute(a)&&this.removeAttribute(a)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,r,n,i;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(r=t.current)&&r.state&&"object"==typeof this.instance.current.state)for(var o,a=w(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(o=a()).done;){var l=o.value;Object.prototype.hasOwnProperty.call(this.internalProperties,l)&&this.setInternalPropertyValue(l,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(null==(i=this.internalProperties.model)||delete i.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var s,c=w(this.self.controllableProperties);!(s=c()).done;){var u=s.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,y().timeout((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},r.reflectEventToProperties=function(e,t){var r=this.batchUpdates;this.batchUpdates=!1;var n=null;if(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,e)&&y().isFunction(this.self.eventToPropertyMapping[e])){var i,o=(i=this.self.eventToPropertyMapping)[e].apply(i,t.concat([this]));Array.isArray(o)?(n=o[0],this.reflectProperties(n),y().extend(!0,this.internalProperties,o[1])):null!==o&&"object"==typeof o&&(n=o,this.reflectProperties(o))}else if(t.length>0&&null!==t[0]&&"object"==typeof t[0]){var a,l=t[0];if("persist"in t[0]&&y().isFunction(t[0].persist)){l={};for(var c=0,u=Object.keys(this.self.propertyTypes);c<u.length;c++)for(var d,p=u[c],m=w([p].concat(null!==(f=this.getPropertyAlias(p))&&void 0!==f?f:[]));!(d=m()).done;){var f,h=d.value,_=t[0].currentTarget&&Object.prototype.hasOwnProperty.call(t[0].currentTarget,h)?t[0].currentTarget[h]:this.getPropertyValue(h);_!==this.externalProperties[h]&&(l[h]=_)}}else[null,void 0].includes(null==(a=l.detail)?void 0:a.value)||(l=s()({},l.detail));n=l,this.reflectProperties(l)}return this.triggerRender("propertyReflected"),this.batchUpdates=r,n},r.evaluateStringOrNullAndSetAsProperty=function(e,t){var r=this,n=e.startsWith("-"),i=n?e.substring(1):e,o=y().stringDelimitedToCamelCase(i),a=this.getPropertyAlias(o);if(a&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)&&(o=a),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,o)){var l=this.self.propertyTypes[o];if(n){if(t){var s=y().stringEvaluate(t,{Tools:y()},!1,this);s.error?(console.warn('Faild to process pre-evaluation attribute "'+e+'": '+s.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(o,void 0)):(this.setInternalPropertyValue(o,s.result),this.setExternalPropertyValue(o,s.result))}}else switch(l){case x.boolean:case"boolean":var c=![null,"false"].includes(t);this.setInternalPropertyValue(o,c),this.setExternalPropertyValue(o,c);break;case x.func:case"function":var u,d=null,p=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var m=y().stringCompile(t,p);d=m.error,u=m.templateFunction,d&&console.warn('Failed to compile given handler "'+e+'": '+d+".")}this.setInternalPropertyValue(o,(function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];r.outputEventNames.has(o)&&r.reflectEventToProperties(o,i);var l=void 0;if(!d)try{l=u.call(r,i[0],i[0],i[0],i[0],i[0],i[0],i,y())}catch(r){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+p.join('", "')+'" set to "'+y().represent(i)+'": '+r+'. Set property to "undedefined".')}return r.self.renderProperties.includes(o)||r.forwardEvent(o,i),l})),d||this.setExternalPropertyValue(o,u);break;case"json":if(t){var f;try{f=JSON.parse(t)}catch(d){console.warn('Error occurred during parsing given json attribute "'+e+'": '+y().represent(d));break}this.setInternalPropertyValue(o,f),this.setExternalPropertyValue(o,y().copy(f,1))}else this.setInternalPropertyValue(o,null),this.setExternalPropertyValue(o,null);break;case x.number:case"number":if(null===t){this.setInternalPropertyValue(o,t),this.setExternalPropertyValue(o,t);break}var h=parseFloat(t);isNaN(h)&&(h=void 0),this.setInternalPropertyValue(o,h),this.setExternalPropertyValue(o,h);break;case x.string:case"string":this.setInternalPropertyValue(o,t),this.setExternalPropertyValue(o,t);break;case x.any:case x.array:case x.arrayOf:case x.element:case x.elementType:case x.instanceOf:case x.node:case x.object:case"object":case x.objectOf:case x.oneOf:case x.oneOfType:case x.shape:case x.exact:case x.symbol:default:if(t){var _=y().stringEvaluate(t,{},!1,this);if(_.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":'+_.error);break}this.setInternalPropertyValue(o,_.result),this.setExternalPropertyValue(o,y().copy(_.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(o,!0),this.setExternalPropertyValue(o,!0)):(this.setInternalPropertyValue(o,null),this.setExternalPropertyValue(o,null))}}},r.determineRenderScope=function(e){var t,r;void 0===e&&(e={}),this.scope=s()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((r={parent:this.parent,root:this.rootInstance,self:this})[y().stringLowerCase(this.self._name)||"instance"]=this,r),e),this.scope.scope=this.scope},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.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){var t=y().stringEvaluate("`"+this.self.content+"`",this.scope);if(t.error)console.warn("Faild to process template: "+t.error);else{this.applyShadowRootIfNotExisting();var r=document.createElement("div");r.innerHTML=t.result,this.applySlots(r,s()({},this.scope,{parent:this})),this.root.innerHTML=r.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots)}}},t}(_()(HTMLElement)),a.applyRootBinding=!0,a.content="<slot>Please provide a template to transclude.</slot>",a.determineRootBinding=!0,a.shadowDOM=null,a.observedAttributes=[],a.controllableProperties=[],a.eventToPropertyMapping={},a.propertyAliases={},a.propertyTypes={onClick:x.func},a.propertiesToReflectAsAttributes=[],a.renderProperties=["children"],a.cloneSlots=!1,a.evaluateSlots=!1,a.renderSlots=!0,a.trimSlots=!0,a.renderUnsafe=!1,a._name="BaseWeb",a._propertyAliasIndex=void 0,a._propertiesToReflectAsAttributes=void 0,i=a,o=g()(i.prototype,"isRoot",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),i),P={component:A,register:function(e){return void 0===e&&(e=y().stringCamelCaseToDelimited(A._name)),customElements.define(e,A)}};t.default=A},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=i},function(e){e.exports=o},function(e){e.exports=s},function(e,t,r){r.d(t,{api:function(){return v}});var n=r(0),i=r.n(n),o=r(3),a=r.n(o),l=r(1),s=r.n(l),c=r(2),u=r(11),d=r.n(u),p=r(12),m=r(13);function f(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 h(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)?h(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 h(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 _=function(e){function t(){for(var r,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(r=e.call.apply(e,[this].concat(i))||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}a()(t,e);var r=t.prototype;return r.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},r.disconnectedCallback=function(){var t;null==(t=this.reactRoot)||t.unmount(),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(i()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(var n=this.firstChild;n;){var o=n.nextSibling;this.removeChild(n),n=o}this.reactRoot||(this.reactRoot=(0,m.createRoot)(this.root)),(0,p.flushSync)((function(){return r.reactRoot.render((0,u.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=c.NullSymbol:void 0===r&&(r=c.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,i=1,o=[],a=f(e);!(n=a()).done;){var l=n.value,s=this.preCompileDomNode(l,t,r,i.toString());s&&(o.push(s),i+=1)}return r?function(e){return function(){for(var t,r=[],n=f(o);!(t=n()).done;){var i=(0,t.value)(e);"function"==typeof i&&r.push(i.apply(void 0,arguments))}return(0,u.createElement)(u.Fragment,{children:r})}}:o},r.preCompileDomNode=function(e,t,r,n){var o,a,l=this;if(void 0===t&&(t={}),void 0===r&&(r=!1),r){var c=this.preCompileDomNode(e,i()({},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 o=r.length>0?r[0]:null;return c(i()({},e,{data:o,firstArgument:o,firstParameter:o,options:o,scope:o,parameters:r}))}}}if(e.nodeType===Node.TEXT_NODE){var d="string"==typeof e.nodeValue?e.nodeValue.trim():"",p=n&&d?(0,u.createElement)(u.Fragment,{children:d,key:n}):d||null;return function(){return p}}if(!e.getAttributeNames)return function(){return null};var m=this.self.isReactComponent(e);m?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),o=e.internalProperties,n&&!Object.prototype.hasOwnProperty.call(o,"key")&&(o.key=n),a=e.constructor.content):(o={key:n},a=e.tagName.toLowerCase());for(var h,_=Object.keys(t),v={},g=function(){var r,n=h.value,i=e.getAttribute(n);if(null===i)return"continue";var a=!1,c="";if(n.startsWith("data-bind-")?c=n.substring("data-bind-".length):n.startsWith("bind-")&&(c=n.substring("bind-".length)),c.startsWith("attribute-")||"attributes"===c||c.startsWith("property-")||"properties"===c){var u=s().stringCompile(i,_),d=u.error,p=u.originalScopeNames,m=u.templateFunction;if(d)return console.warn('Error occurred during compiling given attribute binding "'+n+'" on node:',e,d),"continue";"attributes"===c||"properties"===c?a=!0:c=c.startsWith("attribute-")?c.substring("attribute-".length):c.substring("property-".length),i={originalScopeNames:p,templateFunction:m.bind(l)}}else if(c.startsWith("on-")){c=s().stringDelimitedToCamelCase(c),Object.prototype.hasOwnProperty.call(t,"event")||(_=[].concat(_,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(_=[].concat(_,["parameters"]));var f=s().stringCompile(i,_,!0),g=f.error,b=f.originalScopeNames,y=f.scopeNames,x=f.templateFunction;if(g)return console.warn('Error occurred during compiling given event binding "'+n+'" on node:',e,g),"continue";var w=x.bind(l);i=function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];t.event=o[0],t.parameters=o;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 "'+i+'" could not be evaluated with given scope names "'+y.join('", "')+'": '+s().represent(t))}}}else c=n;var E={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(E,c)&&(c=E[c]),c=s().stringDelimitedToCamelCase(c),null!=(r=i)&&r.originalScopeNames?v[a?"":c]=i:o[c]=i},b=f(e.getAttributeNames());!(h=b()).done;)g();if(!m){var y=Array.from(e.childNodes);y.length&&(o.children=this.preCompileDomNodes(y,t))}return function(r){(r=i()({},t,r)).scope=r;for(var n=i()({},o),s=0,c=Object.entries(v);s<c.length;s++){var d=c[s],p=d[0],f=d[1],h=f.originalScopeNames,_=f.templateFunction.apply(void 0,h.map((function(e){return r[e]})));""===p?n=i()({},n,_):n[p]=_}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):m?(e.evaluateSlots(i()({},n,r,{parent:e})),e.prepareProperties(n),r=i()({},n,r,{parent:e})):n.children&&(n.children=l.evaluatePreCompiledDomNodes(n.children,r)),(0,u.createElement)(a,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=[],i=f(e);!(r=i()).done;){var o=(0,r.value)(t);o&&n.push(o)}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],i()({},this.scope,{parent:this}),[c.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,i()({},this.scope,{parent:this}),[c.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,u.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,u.forwardRef)((function(t,r){return(0,u.useImperativeHandle)(r,(function(){return{properties:t}})),(0,u.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,u.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,u.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,u.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var r,n=f(["isRoot","isTrusted","__composed"]);!(r=n()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(t,i)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,i)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,i))&&delete t[i]}},t}(r(5).default);_.attachWebComponentAdapterIfNotExists=!0,_.content="div",_.react=d(),_._name="ReactWebComponent";var v={component:_,register:function(e){return void 0===e&&(e=s().stringCamelCaseToDelimited(_._name)),customElements.define(e,_)}};t.default=_}],m={};function f(e){var t=m[e];if(void 0!==t)return t.exports;var r=m[e]={exports:{}};return d[e](r,r.exports,f),r.exports}f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,{a:t}),t},f.d=function(e,t){for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var h={};return function(){f.r(h),f.d(h,{ReactWeb:function(){return s},Web:function(){return d},reactWebAPI:function(){return c},webAPI:function(){return u},wrapAsWebComponent:function(){return p}});var e=f(0),t=f.n(e),r=f(3),n=f.n(r),i=f(1),o=f.n(i),a=f(14),l=f(5),s=a.default,c=a.api,u=l.api,d=l.default,p=function(e,r,i){var a,l,c,u;void 0===r&&(r="NoName"),void 0===i&&(i={});var d=e._name||(null==(a=e.___types)||null==(l=a.name)?void 0:l.name)||r.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");i.propTypes&&(e.propTypes=i.propTypes);var p=e.propTypes||{},m=i.propertyAliases||e.propertyAliases||{},f=o().arrayUnique(Object.keys(p).concat(Object.keys(m)).concat(Object.values(m))),h=i.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(s.propertiesToReflectAsAttributes)if(Array.isArray(h))h=[].concat(s.propertiesToReflectAsAttributes,h);else if(h instanceof Map)for(var _=0,v=s.propertiesToReflectAsAttributes;_<v.length;_++){var g=v[_];h.set(g,s.propertyTypes[g])}else if(null!==h&&"object"==typeof h)for(var b=0,y=s.propertiesToReflectAsAttributes;b<y.length;b++){var x=y[b];h[x]=s.propertyTypes[x]}var w=f.map((function(e){return o().stringCamelCaseToDelimited(e)})),E=function(r){function o(){for(var n,a=arguments.length,l=new Array(a),s=0;s<a;s++)l[s]=arguments[s];return(n=r.call.apply(r,[this].concat(l))||this).self=o,n.internalProperties=i.internalProperties?t()({},i.internalProperties):e.internalProperties?t()({},e.internalProperties):{},n}return n()(o,r),o}(s);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof i.attachWebComponentAdapterIfNotExists||i.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=s.observedAttributes.concat(w).concat(w.map((function(e){return"-"+e}))),E.controllableProperties=e.controllableProperties||i.controllableProperties||[],E.eventToPropertyMapping=null===i.eventToPropertyMapping?i.eventToPropertyMapping:i.eventToPropertyMapping?t()({},i.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?t()({},e.eventToPropertyMapping):{},E.propertyAliases=t()({},s.propertyAliases,m),E.propertiesToReflectAsAttributes=h,E.propertyTypes=t()({},s.propertyTypes,p),E.renderProperties=null!==(c=null!==(u=i.renderProperties)&&void 0!==u?u:e.renderProperties)&&void 0!==c?c:s.renderProperties,E._name=d,{component:E,register:function(e){return void 0===e&&(e=o().stringCamelCaseToDelimited(d)),customElements.define(e,E)}}};h.default=p}(),h}())},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__19__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__20__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__21__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__22__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__23__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__24__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__25__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__26__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__27__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__28__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__29__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__30__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__31__},,,function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,t,n,i,r,o,a,l,c,d,s,u,m,p,f,g,v,h,b,y,x,w;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__(21),t=__webpack_require__(2),n=__webpack_require__(6),i=__webpack_require__(22),r=__webpack_require__(19),o=__webpack_require__(23),a=__webpack_require__(24),l=__webpack_require__(25),c=__webpack_require__(26),d=__webpack_require__(27),s=__webpack_require__(28),u=__webpack_require__(7),m=__webpack_require__(8),p=__webpack_require__(9),f=__webpack_require__(29),g=__webpack_require__(30),v=__webpack_require__(4),h=__webpack_require__(0),b=__webpack_require__(3),y=__webpack_require__(31),x=__webpack_require__(20),w=__webpack_require__(5),function(){var _,E,A=[function(e){e.exports=w},function(e){e.exports=t},function(e){e.exports=b},function(e){e.exports=v},function(e){e.exports=u},function(e){e.exports=h},function(e,t,r){r.d(t,{WrapTooltip:function(){return s}});var n=r(1),i=r.n(n),o=r(9),a=r(11),l=r(0),s=function(e){var t=e.children,r=e.options;return"string"==typeof r?(0,l.jsx)(a.Tooltip,{content:(0,l.jsx)(o.Typography,{use:"caption",children:r}),children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})}):null!==r&&"object"==typeof r?("string"==typeof r.content&&(r=i()({},r,{content:(0,l.jsx)(o.Typography,{use:"caption",children:r.content})})),(0,l.jsx)(a.Tooltip,i()({},r,{children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})}))):(0,l.jsx)(l.Fragment,{children:t})};t.default=s},function(e,t,r){r(1),r(13),r(2),r(4);var n=r(12),i=r(10),o=r(6),a=r(0),l=function(e){var t=e.children,r=e.strict,l=e.themeConfiguration,s=e.tooltip,c=e.wrap;return(0,a.jsx)(n.x,{strict:Boolean(r),children:(0,a.jsx)(o.WrapTooltip,{options:s,children:(0,a.jsx)(i.WrapThemeProvider,{configuration:l,wrap:c,children:t})})})};t.default=l},function(e,t,r){r.d(t,{deriveMissingPropertiesFromState:function(){return d},determineInitialRepresentation:function(){return h},determineInitialValue:function(){return _},determineValidationState:function(){return v},formatValue:function(){return A},getConsolidatedProperties:function(){return b},getLabelAndValues:function(){return y},getValueFromSelection:function(){return x},mapPropertiesIntoModel:function(){return g},normalizeSelection:function(){return w},parseValue:function(){return E},translateKnownSymbols:function(){return f},triggerCallbackIfExists:function(){return m},useMemorizedValue:function(){return P},wrapStateSetter:function(){return p}});var n=r(1),i=r.n(n),o=r(3),a=r.n(o),l=r(5),s=r(2);function c(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 u(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)?u(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 u(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 d=function(e,t){void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=t.value),e.model.state?e.model.state=i()({},e.model.state):e.model.state={};for(var r=0,n=Object.entries(t.modelState);r<n.length;r++){var o=n[r],a=o[0],l=o[1];void 0===e.model.state[a]&&(e.model.state[a]=l)}return e},p=function(e,t){return function(r){var n="function"==typeof r?r(t):r;a().equals(null==n?void 0:n.modelState,null==t?void 0:t.modelState)||e(n)}},m=function(e,t,r){void 0===r&&(r=!0);for(var n=arguments.length,i=new Array(n>3?n-3:0),o=3;o<n;o++)i[o-3]=arguments[o];t="on"+a().stringCapitalize(t),e[t]&&(r?e[t].apply(e,i):a().timeout((function(){return e[t].apply(e,i)})))},f=function(e){for(var t={},r=0,n=Object.entries(e);r<n.length;r++){var i=n[r],o=i[0],s=i[1];s===l.UndefinedSymbol?t[o]=void 0:s===l.NullSymbol?t[o]=null:t[o]=a().copy(e[o])}return t};function h(e,t,r,n,o){if("string"==typeof e.representation)return e.representation;if(null!==r){var l,s=function(e,t){if(t)for(var r,n=c(t);!(r=n()).done;){var i=r.value;if(a().equals(null==i?void 0:i.value,e))return i.label||""+e}return null}(r,o);return"string"==typeof s?s:A(i()({},e,{type:e.type||(null==(l=e.model)?void 0:l.type)||t.model.type}),r,n)}return""}var _=function(e,t,r){var n,i;return void 0!==r?r:void 0!==e.value?e.value:void 0!==(null==(n=e.model)?void 0:n.value)?e.model.value:void 0!==e.initialValue?a().copy(e.initialValue):void 0!==e.default?a().copy(e.default):void 0!==(null==(i=e.model)?void 0:i.default)?a().copy(e.model.default):void 0!==t?t:null},v=function(e,t,r){void 0===r&&(r={});var n=!1;r=i()({invalidRequired:function(){return!1===e.model.nullable&&"boolean"!==e.model.type&&!e.model.value&&0!==e.model.value||"boolean"===e.model.type&&!("boolean"==typeof e.model.value||["false","true"].includes(e.model.value))}},r),e.model.state=e.model.state||{};for(var o=0,a=Object.entries(r);o<a.length;o++){var l=a[o],s=l[0],c=l[1],u=t[s];e.model.state[s]=c(),n=n||u!==t[s]}return n&&(e.model.state.invalid=Object.keys(r).some((function(t){return e.model.state[t]})),e.model.state.valid=!e.model.state.invalid),n},g=function(e,t){var r=a().extend(!0,{model:a().copy(t)},e);r.disabled&&(r.model.mutable=!1,delete r.disabled),r.invertedPattern&&(r.model.invertedRegularExpressionPattern=r.invertedPattern,delete r.invertedPattern),r.pattern&&(r.model.regularExpressionPattern=r.pattern,delete r.pattern),r.required&&(r.model.nullable=!1,delete r.required),"text"===r.type&&(r.type="string");for(var n,i=c(Object.keys(r.model).concat("value"));!(n=i()).done;){var o=n.value;Object.prototype.hasOwnProperty.call(r,o)&&void 0!==r[o]&&(r.model[o]=r[o])}for(var l in r.model.state)Object.prototype.hasOwnProperty.call(r,l)&&void 0!==r[l]&&(r.model.state[l]=r[l]);return void 0===r.model.value&&(r.model.value=a().copy(r.model.default)),r},b=function(e){var t=i()({},e,e.model||{},(e.model||{}).state||{});return t.disabled=!(t.mutable&&t.writable),delete t.mutable,delete t.writable,delete t.state,t.required=!t.nullable,delete t.nullable,t.invertedRegularExpressionPattern&&(t.invertedPattern=t.invertedRegularExpressionPattern),delete t.invertedRegularExpressionPattern,t.regularExpressionPattern&&(t.pattern=t.regularExpressionPattern),delete t.regularExpressionPattern,t};function y(e){if(Array.isArray(e)){for(var t,r=[],n=[],i=c(e);!(t=i()).done;){var o=t.value;"string"==typeof(null==o?void 0:o.label)&&(r.push(o.label),n.push(o.value))}return[r,n]}return[[],[]]}function x(e,t){if(Array.isArray(t))for(var r,n=c(t);!(r=n()).done;){var i=r.value;if("string"==typeof(null==i?void 0:i.label)&&i.label===e)return i.value;if(["number","string"].includes(typeof(null==i?void 0:i.value))&&""+i.value===e)return i.value}return null}function w(e,t){if(e||(e=t,t=void 0),!e)return e;var r=null!==t&&"object"==typeof t,n=function(e,n){if(r)if(Array.isArray(t)){if(t.length)if(Array.isArray(t[0]))for(var i,o=c(t);!(i=o()).done;){var a=i.value,l=a[0],s=a[1];if(l===e)return s}else if("number"==typeof n&&n<t.length)return t[n]}else{if(!0===e&&t.true)return t.true;if(!1===e&&t.false)return t.false;if("string"==typeof e&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}return null},o=!1;if(Array.isArray(e)){if(o=!0,e.length){var a=[],l=0;if(Array.isArray(e[0]))for(var s=0,u=e;s<u.length;s++){var d,p=u[s],m=p[0],f=p[1];a.push({label:null!==(d=n(m,l))&&void 0!==d?d:f,value:m}),l+=1}else if(null!==e[0]&&"object"==typeof e[0])for(var h,_=c(e);!(h=_()).done;){var v,g=h.value;a.push(i()({},g,{label:null!==(v=n(g.value,l))&&void 0!==v?v:g.label})),l+=1}else for(var b=0,y=e;b<y.length;b++){var x,w=y[b];a.push({label:null!==(x=n(w,l))&&void 0!==x?x:w,value:w}),l+=1}e=a}}else{for(var E=[],A=0,P=Object.keys(e);A<P.length;A++){var T,O=P[A];E.push({label:null!==(T=n(O))&&void 0!==T?T:e[O],value:O})}e=E}if(Array.isArray(t)&&t.length&&Array.isArray(t[0])){for(var C,N=new Map,S=0,k=c(t);!(C=k()).done;){var j=C.value[0];N.set(j,S),S+=1}e=e.sort((function(e,t){var r,n,i=e.value,o=t.value;return(null!==(r=N.get(i))&&void 0!==r?r:0)-(null!==(n=N.get(o))&&void 0!==n?n:0)}))}else o||(e=e.sort((function(e,t){var r=e.value,n=t.value;return r.localeCompare(n)})));return e}var E=function(e,t,r){var n;if(e.model.trim&&"string"==typeof t&&(t=t.trim().replace(/ +\n/g,"\\n")),e.model.emptyEqualsNull&&""===t)return null;var i=t;return![null,void 0].includes(t)&&null!=(n=r[e.model.type])&&n.parse&&(i=r[e.model.type].parse(t,e,r)),"number"==typeof i&&isNaN(i)?null:i};function A(e,t,r,n){var i;void 0===n&&(n=!0);var o=n?"final":"intermediate";if([null,void 0].includes(t)||"number"==typeof t&&isNaN(t))return"";var a=null==(i=r[e.type||e.model.type])?void 0:i.format;if(a){var l,s,c=(null==(l=a[o])?void 0:l.transform)||(null==(s=a.final)?void 0:s.transform);if(c)return c(t,e,r)}return String(t)}var P=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];return(0,s.useMemo)((function(){return e}),r)}},function(e){e.exports=p},function(e,t,r){r.d(t,{WrapThemeProvider:function(){return o}});var n=r(4),i=r(0),o=function(e){var t=e.children,r=e.configuration,o=e.wrap;return r?(0,i.jsx)(n.ThemeProvider,{options:r,wrap:!1!==o,children:t}):t}},function(e){e.exports=m},function(e,t,r){r.d(t,{x:function(){return o}});var n=r(2),i=r(0),o=function(e){var t=e.children;return e.strict?(0,i.jsx)(n.StrictMode,{children:t}):(0,i.jsx)(i.Fragment,{children:t})}},function(e){e.exports=n},function(e,t,r){r.d(t,{default:function(){return u}});var n=r(1),i=r.n(n),o=r(5),a=r(21),l=r(0),s={"generic-animate":"generic-animate","generic-animate__list-wrapper":"generic-animate__list-wrapper","generic-animate__wrapper":"generic-animate__wrapper","generic-animate-appear":"generic-animate-appear","generic-animate-enter":"generic-animate-enter","generic-animate-exit-active":"generic-animate-exit-active","generic-animate-appear-active":"generic-animate-appear-active","generic-animate-enter-active":"generic-animate-enter-active","generic-animate-exit":"generic-animate-exit","generic-animate-exit-done":"generic-animate-exit-done"},c=function(e){return(0,l.jsx)(a.CSSTransition,i()({appear:!0,classNames:s["generic-animate"],in:!0,timeout:200,unmountOnExit:!0},e,{children:"string"==typeof e.children?(0,l.jsx)("span",{className:s["generic-animate__wrapper"],children:e.children}):Array.isArray(e.children)?(0,l.jsx)("div",{className:s["generic-animate__list-wrapper"],children:e.children}):e.children}))};c.propTypes={appear:o.boolean,classNames:o.string,in:o.boolean,timeout:o.number};var u=c},,function(t){t.exports=e},function(e){e.exports=i},function(e){e.exports=r},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=x},function(e){e.exports=o},function(e){e.exports=c},function(e){e.exports=d},function(e){e.exports=s},function(e){e.exports=f},function(e){e.exports=g},function(e){e.exports=y},function(e,t,r){r.d(t,{Bg:function(){return b},Ko:function(){return x},au:function(){return g},rV:function(){return v}});var n=r(1),i=r.n(n),o=r(3),a=r.n(o),l=r(5),s={declaration:l.string,default:l.any,description:l.string,name:l.string,selection:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.number,l.string])),l.number,(0,l.objectOf)((0,l.oneOfType)([l.number,l.string])),l.string])),(0,l.objectOf)((0,l.oneOfType)([l.number,l.string]))]),type:l.string,value:l.any},c={dirty:(0,l.oneOfType)([l.boolean,l.symbol]),pristine:(0,l.oneOfType)([l.boolean,l.symbol]),touched:(0,l.oneOfType)([l.boolean,l.symbol]),untouched:(0,l.oneOfType)([l.boolean,l.symbol]),focused:(0,l.oneOfType)([l.boolean,l.symbol]),visited:(0,l.oneOfType)([l.boolean,l.symbol]),invalid:(0,l.oneOfType)([l.boolean,l.symbol]),invalidRequired:(0,l.oneOfType)([l.boolean,l.symbol]),valid:(0,l.oneOfType)([l.boolean,l.symbol])},u=i()({},s,{emptyEqualsNull:l.boolean,trim:l.boolean,invertedRegularExpressionPattern:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),regularExpressionPattern:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),maximum:(0,l.oneOfType)([l.number,l.string]),minimum:(0,l.oneOfType)([l.number,l.string]),maximumLength:l.number,minimumLength:l.number,mutable:l.boolean,writable:l.boolean,state:(0,l.shape)(c)}),d=i()({},s,c,{className:l.string,disabled:l.boolean,enforceUncontrolled:l.boolean,initialValue:l.any,inputProperties:l.object,model:(0,l.shape)(u),onChange:l.func,onChangeValue:l.func,onChangeShowDeclaration:l.func,onChangeState:l.func,onClick:l.func,onFocus:l.func,onTouch:l.func,required:l.boolean,requiredText:l.string,ripple:(0,l.oneOfType)([l.boolean,l.object]),showDeclaration:(0,l.oneOfType)([l.boolean,l.symbol]),showInitialValidationState:l.boolean,styles:l.object,themeConfiguration:l.object,tooltip:l.any}),p={dirty:!1,focused:!1,invalid:!1,invalidRequired:!1,pristine:!0,touched:!1,untouched:!0,valid:!0,visited:!1},m={declaration:"",default:null,description:"",emptyEqualsNull:!0,invertedRegularExpressionPattern:null,maximum:1/0,maximumLength:-1,minimum:-1/0,minimumLength:0,mutable:!0,name:"NO_NAME_DEFINED",nullable:!0,regularExpressionPattern:null,state:i()({},p),trim:!0,type:"string",writable:!0},f={enforceUncontrolled:!1,model:i()({},m),showDeclaration:void 0,showInitialValidationState:!1,requiredText:"Please fill this field."},h=(i()({},d,c,{checked:l.boolean,id:l.string}),i()({},m,{default:!1,type:"boolean",value:!1})),_=(i()({},f,{default:!1,model:i()({},h),requiredText:"Please check this field."}),i()({},c,{invalidMaximum:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMinimum:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMaximumLength:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMinimumLength:(0,l.oneOfType)([l.boolean,l.symbol]),invalidInvertedPattern:(0,l.oneOfType)([l.boolean,l.symbol]),invalidPattern:(0,l.oneOfType)([l.boolean,l.symbol])})),v=i()({},d,_,{align:l.string,children:l.func,cursor:(0,l.oneOfType)([(0,l.shape)({end:l.number.isRequired,start:l.number.isRequired}),l.symbol]),editor:l.string,editorIsActive:(0,l.oneOfType)([l.boolean,l.symbol]),hidden:(0,l.oneOfType)([l.boolean,l.symbol]),icon:(0,l.oneOfType)([l.string,l.object]),invertedPatternText:l.string,labels:(0,l.oneOfType)([(0,l.arrayOf)((0,l.arrayOf)(l.string)),(0,l.arrayOf)(l.string),l.object]),maximum:(0,l.oneOfType)([l.number,l.string]),maximumLengthText:l.string,maximumText:l.string,minimum:(0,l.oneOfType)([l.number,l.string]),minimumLengthText:l.string,minimumText:l.string,onBlur:l.func,onChangeEditorIsActive:l.func,onKeyDown:l.func,onKeyUp:l.func,onSelect:l.func,onSelectionChange:l.func,outlined:l.boolean,patternText:l.string,placeholder:l.string,representation:(0,l.oneOfType)([l.string,l.symbol]),rows:l.number,searchSelection:l.boolean,selectableEditor:l.boolean,step:l.number,suggestionCreator:l.func,suggestSelection:l.boolean,trailingIcon:l.any,transformer:l.object}),g=["children","suggestionCreator"],b=i()({},p,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),y=i()({},m,{state:b}),x=i()({},f,{cursor:{end:0,start:0},editor:"plain",invertedPatternText:'Your string should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',maximumLengthText:"Please type less or equal than ${maximumLength} symbols.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:i()({},y),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',rows:4,searchSelection:!1,selectableEditor:!1,step:1,suggestSelection:!1}),w=i()({},c,{invalidContentTypePattern:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMaximumSize:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMinimumSize:(0,l.oneOfType)([l.boolean,l.symbol]),invalidName:(0,l.oneOfType)([l.boolean,l.symbol])}),E=(i()({},d,w,{children:l.func,contentTypePatternText:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),invertedContentTypePatternText:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),deleteButton:(0,l.oneOfType)([l.object,l.string]),downloadButton:(0,l.oneOfType)([l.object,l.string]),editButton:(0,l.oneOfType)([l.object,l.string]),newButton:(0,l.oneOfType)([l.object,l.string]),encoding:l.string,generateFileNameInputProperties:l.func,maximumSizeText:l.string,minimumSizeText:l.string,onBlur:l.func,outlined:l.boolean}),i()({},p,{invalidContentTypePattern:!1,invalidMaximumSize:!1,invalidMinimumSize:!1,invalidName:!1})),A=i()({},m,{contentTypeRegularExpressionPattern:/^.+\/.+$/,invertedContentTypeRegularExpressionPattern:null,fileName:i()({},y,{maximumLength:1024,name:"Name",regularExpressionPattern:/^[^/]+$/}),maximumSize:1/0,minimumSize:0,state:E});delete i()({},x,{emptyEqualsNull:!1,invertedPatternText:'Your file\'s name should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: ""${[].concat(invertedPattern).join("\\", \\"")}".',patternText:'Your file\'s name has to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: ""${[].concat(pattern).join("\\", \\"")}".',required:!0}).model,i()({},f,{contentTypePatternText:'Your file\'s mime-type has to match the regular expression${[].concat(contentTypePattern).length > 1 ? "s" : ""}: ""${[].concat(contentTypePattern).join("\\", \\"")}".',invertedContentTypePatternText:'Your file\'s mime-type should not match the regular expression${[].concat(invertedContentTypePattern).length > 1 ? "s" : ""}: ""${[].concat(invertedContentTypePattern).join("\\", \\"")}".',deleteButton:"delete",downloadButton:"download",editButton:"edit",newButton:"new",encoding:"utf-8",generateFileNameInputProperties:a().identity,maximumSizeText:"Please provide a file with less or equal size than ${maximumSize} byte.",minimumSizeText:"Please provide a file with more or equal size than ${maximumSize} byte.",media:{sixteenByNine:!0},model:i()({},A),sourceToBlobOptions:{endings:"transparent",type:"text/plain"}}),i()({},d,_,{children:l.func,createItem:l.func,createPrototype:l.func,maximumNumber:l.number,minimumNumber:l.number});var P=i()({},m,{state:i()({},m.state,{invalidMaximumNumber:!1,invalidMinimumNumber:!1}),maximumNumber:1/0,minimumNumber:0,type:"string[]"});i()({},f,{addIcon:{icon:"add"},removeIcon:{icon:"clear"},createItem:function(e){return e.item},createPrototype:function(e){return e.item},model:i()({},P)}),i()({},v,{value:(0,l.shape)({end:(0,l.oneOfType)([l.number,(0,l.shape)(v)]),start:(0,l.oneOfType)([l.number,(0,l.shape)(v)])})}),i()({},p),i()({},y,{description:"End",name:"end"}),i()({},y,{description:"Start",name:"start"})}],P={};function T(e){var t=P[e];if(void 0!==t)return t.exports;var r=P[e]={exports:{}};return A[e](r,r.exports,T),r.exports}T.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return T.d(t,{a:t}),t},E=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},T.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var r=Object.create(null);T.r(r);var n={};_=_||[null,E({}),E([]),E(E)];for(var i=2&t&&e;"object"==typeof i&&!~_.indexOf(i);i=E(i))Object.getOwnPropertyNames(i).forEach((function(t){n[t]=function(){return e[t]}}));return n.default=function(){return e},T.d(r,n),r},T.d=function(e,t){for(var r in t)T.o(t,r)&&!T.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},T.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},T.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var O={};return function(){T.r(O),T.d(O,{ACEEditorOptions:function(){return R},GenericInput:function(){return V},GenericInputInner:function(){return B},TINYMCE_DEFAULT_OPTIONS:function(){return M},default:function(){return z},determineValidationState:function(){return D},preventEnterKeyPropagation:function(){return U},suggestionMatches:function(){return W}});var e=T(1),t=T.n(e),r=T(16),n=T.n(r),i=T(17),o=T.n(i),a=T(3),l=T.n(a),s=T(2),c=T(18),u=T(22),d=T(19),p=T(20),m=T(23),f=T(24),h=T(25),_=T(4),v=T(26),g=T(14),b=T(7),y=T(6),x=T(8),w=T(29),E=T(0);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 P(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)?P(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 P(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 C=!(void 0===typeof window),N=C?(0,a.optionalRequire)("react-useanimations"):null,S=C?(0,a.optionalRequire)("react-useanimations/lib/lock"):null,k=C?(0,a.optionalRequire)("react-useanimations/lib/plusToX"):null,j={"rmwc-circular-progress":"rmwc-circular-progress","rmwc-circular-progress--size-xsmall":"rmwc-circular-progress--size-xsmall","rmwc-circular-progress--size-small":"rmwc-circular-progress--size-small","rmwc-circular-progress--size-medium":"rmwc-circular-progress--size-medium","rmwc-circular-progress--size-large":"rmwc-circular-progress--size-large","rmwc-circular-progress--size-xlarge":"rmwc-circular-progress--size-xlarge","rmwc-circular-progress--indeterminate":"rmwc-circular-progress--indeterminate","rmwc-circular-progress__circle":"rmwc-circular-progress__circle","rmwc-circular-progress-indeterminate-bar-rotate":"rmwc-circular-progress-indeterminate-bar-rotate","rmwc-circular-progress__path":"rmwc-circular-progress__path","rmwc-circular-progress-indeterminate-bar-dash":"rmwc-circular-progress-indeterminate-bar-dash","rmwc-circular-progress--thickerstroke":"rmwc-circular-progress--thickerstroke","rmwc-icon":"rmwc-icon","mdc-form-field":"mdc-form-field","mdc-form-field--nowrap":"mdc-form-field--nowrap","mdc-form-field--align-end":"mdc-form-field--align-end","mdc-form-field--space-between":"mdc-form-field--space-between","mdc-icon-button":"mdc-icon-button","mdc-icon-button__icon":"mdc-icon-button__icon","mdc-icon-button__icon--on":"mdc-icon-button__icon--on","mdc-icon-button--on":"mdc-icon-button--on","mdc-ripple-upgraded":"mdc-ripple-upgraded","mdc-ripple-upgraded--unbounded":"mdc-ripple-upgraded--unbounded","mdc-ripple-upgraded--foreground-activation":"mdc-ripple-upgraded--foreground-activation","mdc-ripple-fg-radius-in":"mdc-ripple-fg-radius-in","mdc-ripple-fg-opacity-in":"mdc-ripple-fg-opacity-in","mdc-ripple-upgraded--foreground-deactivation":"mdc-ripple-upgraded--foreground-deactivation","mdc-ripple-fg-opacity-out":"mdc-ripple-fg-opacity-out","mdc-ripple-upgraded--background-focused":"mdc-ripple-upgraded--background-focused","mdc-ripple-surface":"mdc-ripple-surface","mdc-ripple-surface--primary":"mdc-ripple-surface--primary","mdc-ripple-surface--accent":"mdc-ripple-surface--accent","rmwc-icon--component":"rmwc-icon--component","rmwc-icon--url":"rmwc-icon--url","rmwc-icon--size-xsmall":"rmwc-icon--size-xsmall","rmwc-icon--size-small":"rmwc-icon--size-small","rmwc-icon--size-medium":"rmwc-icon--size-medium","rmwc-icon--size-large":"rmwc-icon--size-large","rmwc-icon--size-xlarge":"rmwc-icon--size-xlarge","mdc-list":"mdc-list","mdc-list-item__secondary-text":"mdc-list-item__secondary-text","mdc-list-item__graphic":"mdc-list-item__graphic","mdc-list-item__meta":"mdc-list-item__meta","mdc-list-item--disabled":"mdc-list-item--disabled","mdc-list-item__text":"mdc-list-item__text","mdc-list-item__primary-text":"mdc-list-item__primary-text","mdc-list-item--activated":"mdc-list-item--activated","mdc-list-item--selected":"mdc-list-item--selected","mdc-list--dense":"mdc-list--dense","mdc-list-item":"mdc-list-item","mdc-list--icon-list":"mdc-list--icon-list","mdc-list--avatar-list":"mdc-list--avatar-list","mdc-list--thumbnail-list":"mdc-list--thumbnail-list","mdc-list--image-list":"mdc-list--image-list","mdc-list--video-list":"mdc-list--video-list","material-icons":"material-icons","mdc-list--two-line":"mdc-list--two-line","mdc-list-divider":"mdc-list-divider","mdc-list-divider--padded":"mdc-list-divider--padded","mdc-list-divider--inset":"mdc-list-divider--inset","mdc-list-divider--inset-leading":"mdc-list-divider--inset-leading","mdc-list-divider--inset-trailing":"mdc-list-divider--inset-trailing","mdc-list-divider--padding":"mdc-list-divider--padding","mdc-list-divider--inset-padding":"mdc-list-divider--inset-padding","mdc-list-group":"mdc-list-group","mdc-list-group__subheader":"mdc-list-group__subheader","mdc-evolution-list-item__primary-text":"mdc-evolution-list-item__primary-text","mdc-evolution-list-item__secondary-text":"mdc-evolution-list-item__secondary-text","mdc-evolution-list-item__start":"mdc-evolution-list-item__start","mdc-evolution-list-item__end":"mdc-evolution-list-item__end","mdc-evolution-list-item--disabled":"mdc-evolution-list-item--disabled","mdc-evolution-list-item__content":"mdc-evolution-list-item__content","mdc-evolution-list-item--selected":"mdc-evolution-list-item--selected","mdc-evolution-list":"mdc-evolution-list","mdc-evolution-list-item":"mdc-evolution-list-item","mdc-evolution-list-item--with-one-line":"mdc-evolution-list-item--with-one-line","mdc-evolution-list-item--with-two-lines":"mdc-evolution-list-item--with-two-lines","mdc-evolution-list-item--with-three-lines":"mdc-evolution-list-item--with-three-lines","mdc-evolution-list-item__overline-text":"mdc-evolution-list-item__overline-text","mdc-evolution-list-item--with-leading-avatar":"mdc-evolution-list-item--with-leading-avatar","mdc-evolution-list-item--with-leading-icon":"mdc-evolution-list-item--with-leading-icon","mdc-evolution-list-item--with-leading-thumbnail":"mdc-evolution-list-item--with-leading-thumbnail","mdc-evolution-list-item--with-leading-image":"mdc-evolution-list-item--with-leading-image","mdc-evolution-list-item--with-leading-video":"mdc-evolution-list-item--with-leading-video","mdc-evolution-list-item--with-leading-checkbox":"mdc-evolution-list-item--with-leading-checkbox","mdc-evolution-list-item--with-leading-radio":"mdc-evolution-list-item--with-leading-radio","mdc-evolution-list-item--with-leading-switch":"mdc-evolution-list-item--with-leading-switch","mdc-evolution-list-item--with-trailing-icon":"mdc-evolution-list-item--with-trailing-icon","mdc-evolution-list-item--with-trailing-meta":"mdc-evolution-list-item--with-trailing-meta","mdc-evolution-list-item--with-trailing-checkbox":"mdc-evolution-list-item--with-trailing-checkbox","mdc-evolution-list-item--with-trailing-radio":"mdc-evolution-list-item--with-trailing-radio","mdc-evolution-list-item--with-trailing-switch":"mdc-evolution-list-item--with-trailing-switch","mdc-evolution-list-group":"mdc-evolution-list-group","mdc-evolution-list-group__subheader":"mdc-evolution-list-group__subheader","mdc-evolution-list-divider":"mdc-evolution-list-divider","mdc-evolution-list-divider--with-leading-padding":"mdc-evolution-list-divider--with-leading-padding","mdc-evolution-list-divider--with-leading-inset":"mdc-evolution-list-divider--with-leading-inset","mdc-evolution-list-divider--with-trailing-inset":"mdc-evolution-list-divider--with-trailing-inset","mdc-evolution-list-divider--with-leading-icon":"mdc-evolution-list-divider--with-leading-icon","mdc-evolution-list-divider--with-leading-image":"mdc-evolution-list-divider--with-leading-image","mdc-evolution-list-divider--with-leading-thumbnail":"mdc-evolution-list-divider--with-leading-thumbnail","mdc-evolution-list-divider--with-leading-video":"mdc-evolution-list-divider--with-leading-video","mdc-evolution-list-divider--with-leading-avatar":"mdc-evolution-list-divider--with-leading-avatar","mdc-evolution-list-divider--with-leading-checkbox":"mdc-evolution-list-divider--with-leading-checkbox","mdc-evolution-list-divider--with-leading-switch":"mdc-evolution-list-divider--with-leading-switch","mdc-evolution-list-divider--with-leading-radio":"mdc-evolution-list-divider--with-leading-radio","mdc-list-item__ripple":"mdc-list-item__ripple","mdc-evolution-list-item--activated":"mdc-evolution-list-item--activated","mdc-elevation-overlay":"mdc-elevation-overlay","mdc-menu":"mdc-menu","mdc-menu__selection-group":"mdc-menu__selection-group","mdc-menu__selection-group-icon":"mdc-menu__selection-group-icon","mdc-menu-item--selected":"mdc-menu-item--selected","mdc-menu-surface":"mdc-menu-surface","mdc-menu-surface--open":"mdc-menu-surface--open","mdc-menu-surface--animating-open":"mdc-menu-surface--animating-open","mdc-menu-surface--animating-closed":"mdc-menu-surface--animating-closed","mdc-menu-surface--anchor":"mdc-menu-surface--anchor","mdc-menu-surface--fixed":"mdc-menu-surface--fixed","mdc-menu-surface--fullwidth":"mdc-menu-surface--fullwidth","mdc-select":"mdc-select","mdc-select--disabled":"mdc-select--disabled","mdc-select__selected-text":"mdc-select__selected-text","mdc-floating-label":"mdc-floating-label","mdc-select--focused":"mdc-select--focused","mdc-select__dropdown-icon":"mdc-select__dropdown-icon","mdc-select-helper-text":"mdc-select-helper-text","mdc-select__icon":"mdc-select__icon","mdc-line-ripple":"mdc-line-ripple","mdc-notched-outline__leading":"mdc-notched-outline__leading","mdc-notched-outline__notch":"mdc-notched-outline__notch","mdc-notched-outline__trailing":"mdc-notched-outline__trailing","mdc-select__anchor":"mdc-select__anchor","mdc-select--with-leading-icon":"mdc-select--with-leading-icon","mdc-select__menu":"mdc-select__menu","mdc-select__dropdown-icon-active":"mdc-select__dropdown-icon-active","mdc-select__dropdown-icon-inactive":"mdc-select__dropdown-icon-inactive","mdc-select__dropdown-icon-graphic":"mdc-select__dropdown-icon-graphic","mdc-select--activated":"mdc-select--activated","mdc-floating-label--float-above":"mdc-floating-label--float-above","mdc-select__selected-text-container":"mdc-select__selected-text-container","mdc-select--invalid":"mdc-select--invalid","mdc-select-helper-text--validation-msg":"mdc-select-helper-text--validation-msg","mdc-select--filled":"mdc-select--filled","mdc-select--no-label":"mdc-select--no-label","mdc-menu-surface--is-open-below":"mdc-menu-surface--is-open-below","mdc-select--outlined":"mdc-select--outlined","mdc-floating-label--shake":"mdc-floating-label--shake","mdc-floating-label-shake-float-above-select-outlined-56px":"mdc-floating-label-shake-float-above-select-outlined-56px","mdc-notched-outline":"mdc-notched-outline","mdc-notched-outline--notched":"mdc-notched-outline--notched","mdc-floating-label-shake-float-above-select-outlined":"mdc-floating-label-shake-float-above-select-outlined","mdc-notched-outline--upgraded":"mdc-notched-outline--upgraded","mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px":"mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px","mdc-select__ripple":"mdc-select__ripple","mdc-select-helper-text--validation-msg-persistent":"mdc-select-helper-text--validation-msg-persistent","rmwc-select__native-control":"rmwc-select__native-control","mdc-floating-label--required":"mdc-floating-label--required","mdc-floating-label-shake-float-above-standard":"mdc-floating-label-shake-float-above-standard","mdc-line-ripple--active":"mdc-line-ripple--active","mdc-line-ripple--deactivating":"mdc-line-ripple--deactivating","mdc-notched-outline--no-label":"mdc-notched-outline--no-label","mdc-text-field--filled":"mdc-text-field--filled","mdc-text-field__ripple":"mdc-text-field__ripple","mdc-text-field":"mdc-text-field","mdc-text-field--disabled":"mdc-text-field--disabled","mdc-text-field__input":"mdc-text-field__input","mdc-text-field-helper-line":"mdc-text-field-helper-line","mdc-text-field-helper-text":"mdc-text-field-helper-text","mdc-text-field-character-counter":"mdc-text-field-character-counter","mdc-text-field__icon--leading":"mdc-text-field__icon--leading","mdc-text-field__icon--trailing":"mdc-text-field__icon--trailing","mdc-text-field__affix--prefix":"mdc-text-field__affix--prefix","mdc-text-field__affix--suffix":"mdc-text-field__affix--suffix","mdc-text-field--focused":"mdc-text-field--focused","mdc-text-field--no-label":"mdc-text-field--no-label","mdc-text-field__affix":"mdc-text-field__affix","mdc-text-field--label-floating":"mdc-text-field--label-floating","mdc-text-field--outlined":"mdc-text-field--outlined","mdc-text-field--end-aligned":"mdc-text-field--end-aligned","mdc-floating-label-shake-float-above-text-field-outlined":"mdc-floating-label-shake-float-above-text-field-outlined","mdc-text-field--with-leading-icon":"mdc-text-field--with-leading-icon","mdc-text-field--with-trailing-icon":"mdc-text-field--with-trailing-icon","mdc-text-field--textarea":"mdc-text-field--textarea","mdc-floating-label-shake-float-above-textarea-filled":"mdc-floating-label-shake-float-above-textarea-filled","mdc-floating-label-shake-float-above-textarea-outlined":"mdc-floating-label-shake-float-above-textarea-outlined","mdc-text-field--with-internal-counter":"mdc-text-field--with-internal-counter","mdc-text-field__resizer":"mdc-text-field__resizer","mdc-floating-label-shake-float-above-text-field-outlined-leading-icon":"mdc-floating-label-shake-float-above-text-field-outlined-leading-icon","mdc-text-field-helper-text--validation-msg":"mdc-text-field-helper-text--validation-msg","mdc-text-field--invalid":"mdc-text-field--invalid","mdc-text-field--ltr-text":"mdc-text-field--ltr-text","mdc-text-field-helper-text--persistent":"mdc-text-field-helper-text--persistent","mdc-text-field__icon":"mdc-text-field__icon","mdc-theme--primary":"mdc-theme--primary","mdc-theme--secondary":"mdc-theme--secondary","mdc-theme--background":"mdc-theme--background","mdc-theme--surface":"mdc-theme--surface","mdc-theme--error":"mdc-theme--error","mdc-theme--on-primary":"mdc-theme--on-primary","mdc-theme--on-secondary":"mdc-theme--on-secondary","mdc-theme--on-surface":"mdc-theme--on-surface","mdc-theme--on-error":"mdc-theme--on-error","mdc-theme--text-primary-on-background":"mdc-theme--text-primary-on-background","mdc-theme--text-secondary-on-background":"mdc-theme--text-secondary-on-background","mdc-theme--text-hint-on-background":"mdc-theme--text-hint-on-background","mdc-theme--text-disabled-on-background":"mdc-theme--text-disabled-on-background","mdc-theme--text-icon-on-background":"mdc-theme--text-icon-on-background","mdc-theme--text-primary-on-light":"mdc-theme--text-primary-on-light","mdc-theme--text-secondary-on-light":"mdc-theme--text-secondary-on-light","mdc-theme--text-hint-on-light":"mdc-theme--text-hint-on-light","mdc-theme--text-disabled-on-light":"mdc-theme--text-disabled-on-light","mdc-theme--text-icon-on-light":"mdc-theme--text-icon-on-light","mdc-theme--text-primary-on-dark":"mdc-theme--text-primary-on-dark","mdc-theme--text-secondary-on-dark":"mdc-theme--text-secondary-on-dark","mdc-theme--text-hint-on-dark":"mdc-theme--text-hint-on-dark","mdc-theme--text-disabled-on-dark":"mdc-theme--text-disabled-on-dark","mdc-theme--text-icon-on-dark":"mdc-theme--text-icon-on-dark","mdc-theme--primary-bg":"mdc-theme--primary-bg","mdc-theme--secondary-bg":"mdc-theme--secondary-bg","mdc-button":"mdc-button","mdc-button__ripple":"mdc-button__ripple","mdc-fab":"mdc-fab","mdc-fab__ripple":"mdc-fab__ripple","mdc-top-app-bar":"mdc-top-app-bar","mdc-tab-bar":"mdc-tab-bar","mdc-tab":"mdc-tab","mdc-tab--active":"mdc-tab--active","mdc-tab__text-label":"mdc-tab__text-label","mdc-drawer":"mdc-drawer","mdc-chip__text__primary-action":"mdc-chip__text__primary-action","mdc-linear-progress":"mdc-linear-progress","rmwc-tooltip":"rmwc-tooltip","rmwc-tooltip-hidden":"rmwc-tooltip-hidden","rmwc-tooltip-zoom-enter":"rmwc-tooltip-zoom-enter","rmwc-tooltip-zoom-leave":"rmwc-tooltip-zoom-leave","rmwc-tooltip-zoom-appear":"rmwc-tooltip-zoom-appear","rmwc-tooltip-zoom-appear-active":"rmwc-tooltip-zoom-appear-active","rmwc-tooltip-zoom-enter-active":"rmwc-tooltip-zoom-enter-active",rmwcToolTipIn:"rmwcToolTipIn","rmwc-tooltip-zoom-leave-active":"rmwc-tooltip-zoom-leave-active",rmwcToolTipOut:"rmwcToolTipOut","rmwc-tooltip-inner":"rmwc-tooltip-inner","rmwc-tooltip--show-arrow":"rmwc-tooltip--show-arrow","rmwc-tooltip-arrow":"rmwc-tooltip-arrow","rmwc-tooltip-arrow-inner":"rmwc-tooltip-arrow-inner","rmwc-tooltip-placement-top":"rmwc-tooltip-placement-top","rmwc-tooltip-placement-topLeft":"rmwc-tooltip-placement-topLeft","rmwc-tooltip-placement-topRight":"rmwc-tooltip-placement-topRight","rmwc-tooltip-placement-right":"rmwc-tooltip-placement-right","rmwc-tooltip-placement-rightBottom":"rmwc-tooltip-placement-rightBottom","rmwc-tooltip-placement-rightTop":"rmwc-tooltip-placement-rightTop","rmwc-tooltip-placement-left":"rmwc-tooltip-placement-left","rmwc-tooltip-placement-leftBottom":"rmwc-tooltip-placement-leftBottom","rmwc-tooltip-placement-leftTop":"rmwc-tooltip-placement-leftTop","rmwc-tooltip-placement-bottom":"rmwc-tooltip-placement-bottom","rmwc-tooltip-placement-bottomLeft":"rmwc-tooltip-placement-bottomLeft","rmwc-tooltip-placement-bottomRight":"rmwc-tooltip-placement-bottomRight","mdc-typography":"mdc-typography","mdc-typography--headline1":"mdc-typography--headline1","mdc-typography--headline2":"mdc-typography--headline2","mdc-typography--headline3":"mdc-typography--headline3","mdc-typography--headline4":"mdc-typography--headline4","mdc-typography--headline5":"mdc-typography--headline5","mdc-typography--headline6":"mdc-typography--headline6","mdc-typography--subtitle1":"mdc-typography--subtitle1","mdc-typography--subtitle2":"mdc-typography--subtitle2","mdc-typography--body1":"mdc-typography--body1","mdc-typography--body2":"mdc-typography--body2","mdc-typography--caption":"mdc-typography--caption","mdc-typography--button":"mdc-typography--button","mdc-typography--overline":"mdc-typography--overline","generic-input":"generic-input",ace_editor:"ace_editor","tox-tinymce":"tox-tinymce","generic-input--custom":"generic-input--custom","generic-input__editor__label":"generic-input__editor__label","generic-input__suggestions":"generic-input__suggestions","generic-input__suggestions--pending":"generic-input__suggestions--pending","generic-input__suggestions__suggestion":"generic-input__suggestions__suggestion","generic-input__suggestions__suggestion__mark":"generic-input__suggestions__suggestion__mark","mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px-rtl":"mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px-rtl","mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl":"mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl"},R={basePath:"/node_modules/ace-builds/src-noconflict/",useWorker:!1},L=(0,s.lazy)(n()(o().mark((function e(){var t,r,n,i,a,l,s;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(T.t.bind(T,27,23));case 2:for(t=e.sent,r=t.config,n=0,i=Object.entries(R);n<i.length;n++)a=i[n],l=a[0],s=a[1],r.set(l,s);return e.next=7,Promise.resolve().then(T.t.bind(T,28,23));case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})))),I=!1,q="/node_modules/tinymce/",M={base_url:q,skin_url:q+"skins/ui/oxide",theme_url:q+"themes/silver/theme.min.js",allow_conditional_comments:!1,allow_script_urls:!1,body_class:"mdc-text-field__input",branding:!1,cache_suffix:"?version=1660308932.54",contextmenu:[],document_base_url:"/",element_format:"xhtml",entity_encoding:"raw",fix_list_elements:!0,hidden_input:!1,icon:"material",invalid_elements:"em",invalid_styles:"color font-size line-height",keep_styles:!1,menubar:!1,plugins:["fullscreen","link","code","nonbreaking","searchreplace","visualblocks"],relative_urls:!1,remove_script_host:!1,remove_trailing_brs:!0,schema:"html5",toolbar1:"\n cut copy paste |\n undo redo removeformat |\n styleselect formatselect fontselect fontsizeselect |\n searchreplace visualblocks fullscreen code\n ".trim(),toolbar2:"\n alignleft aligncenter alignright alignjustify outdent indent |\n link nonbreaking bullist numlist bold italic underline strikethrough\n ".trim(),trim:!0};function D(e,t){return(0,x.determineValidationState)(e,t,{invalidMaximum:function(){return"number"==typeof e.model.maximum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.maximum>=0&&e.model.maximum<e.model.value},invalidMinimum:function(){return"number"==typeof e.model.minimum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.value<e.model.minimum},invalidMaximumLength:function(){return"number"==typeof e.model.maximumLength&&"string"==typeof e.model.value&&e.model.maximumLength>=0&&e.model.maximumLength<e.model.value.length},invalidMinimumLength:function(){return"number"==typeof e.model.minimumLength&&"string"==typeof e.model.value&&e.model.value.length<e.model.minimumLength},invalidInvertedPattern:function(){return"string"==typeof e.model.value&&[].concat(e.model.invertedRegularExpressionPattern).some((function(t){return"string"==typeof t&&new RegExp(t).test(e.model.value)||null!==t&&"object"==typeof t&&t.test(e.model.value)}))},invalidPattern:function(){return"string"==typeof e.model.value&&[].concat(e.model.regularExpressionPattern).some((function(t){return"string"==typeof t&&!new RegExp(t).test(e.model.value)||null!==t&&"object"==typeof t&&!t.test(e.model.value)}))}})}function U(e){l().keyCode.ENTER===e.keyCode&&e.stopPropagation()}function W(e,t){return!!t&&(e=e.toLowerCase(),t.replace(/ +/g," ").toLowerCase().split(" ").every((function(t){return e.includes(t)})))}var B=function(e,r){var n,i,o,a,w,P,T,O;(0,s.useEffect)((function(){if(Fe||be.selectionIsUnstable)if($e.editorIsActive){var e,r,n;null!=(e=oe.current)&&null!=(r=e.editor)&&r.selection?(oe.current.editor.textInput.focus(),$(oe.current),be.selectionIsUnstable&&ye(t()({},be,{selectionIsUnstable:!1}))):null!=(n=ue.current)&&n.selection&&(ue.current.focus(!1),H(ue.current),be.selectionIsUnstable&&ye(t()({},be,{selectionIsUnstable:!1})))}else se.current&&(se.current.setSelectionRange($e.cursor.start,$e.cursor.end),be.selectionIsUnstable&&ye(t()({},be,{selectionIsUnstable:!1})))}));var C=function(e){return"clear_preset"===e?{icon:(0,E.jsx)(g.default,{in:!l().equals($e.value,$e.default),children:N&&!N.isDummy&&k?(0,E.jsx)(N,{animation:k,reverse:!0}):(0,E.jsx)(p.IconButton,{icon:"clear"})}),onClick:function(e){e.preventDefault(),e.stopPropagation(),Z((0,x.parseValue)($e,$e.default,V.transformer))},strategy:"component",tooltip:"Clear input"}:"password_preset"===e?(0,x.useMemorizedValue)({icon:N&&!N.isDummy&&S?(0,E.jsx)(N,{animation:S,reverse:!$e.hidden}):(0,E.jsx)(p.IconButton,{icon:$e.hidden?"lock_open":"lock"}),onClick:function(e){e.preventDefault(),e.stopPropagation(),Ee((function(t){return void 0===t&&(t=$e.hidden),$e.hidden=!t,Y(e),$e.hidden}))},strategy:"component",tooltip:($e.hidden?"Show":"Hide")+" password"},$e.hidden):e},R=function(e){var t,r;return"string"===e.type?e.hidden?"password":"text":null!==(t=null==(r=Re[e.type])?void 0:r.type)&&void 0!==t?t:e.type},q=function(e){if("string"==typeof e){var r=l().stringEvaluate("`"+e+"`",t()({formatValue:function(e){return(0,x.formatValue)($e,e,Re)}},$e));return r.error?(console.warn("Given message template could not be proceed:",r.error),""):r.result}return""},B=function(e,r,n){return void 0===r&&(r={}),void 0===n&&(n=!0),"boolean"==typeof r?n?(0,E.jsx)(g.default,{in:r,children:e}):r?e:"":n?(0,E.jsx)(g.default,t()({},r,{children:e})):r.in?e:""},z=function(e){var r;if("object"==typeof e&&null!=(r=e)&&r.tooltip){var n=e.tooltip;delete(e=t()({},e)).tooltip;var i=t()({},e);e.strategy="component",e.icon=(0,E.jsx)(y.default,{options:n,children:(0,E.jsx)(d.Icon,{icon:i})})}return e},K=function(e,t,r){if(!$e.value)return 0;var n="generic-input-selection-indicator",i=" "+n+'="###"';t.setAttribute(n,"###");var o=e.innerHTML.replace(/(<\/p>)/gi,"$1\n");t.removeAttribute(n);var a=o.indexOf(i)+i.length;return r+o.indexOf(">",a)+1-i.length},X=function(e,t){return"string"==typeof $e.value||$e.value?t>0?e+$e.value.split("\n").slice(0,t).map((function(e){return 1+e.length})).reduce((function(e,t){return e+t})):e:0},F=function(e){var t={column:0,row:0};if("string"==typeof $e.value)for(var r,n=A($e.value.split("\n"));!(r=n()).done;){var i=r.value;if(!(i.length<e)){t.column=e;break}e-=1+i.length,t.row+=1}return t},$=function(e){var t=e.editor.selection.getRange(),r=F($e.cursor.end);t.setEnd(r.row,r.column);var n=F($e.cursor.start);t.setStart(n.row,n.column),e.editor.selection.setRange(t)},H=function(e){for(var t={end:"###generic-input-selection-indicator-end###",start:"###generic-input-selection-indicator-start###"},r={end:$e.cursor.end+t.start.length,start:$e.cursor.start},n=["start","end"],i=$e.representation,o=0,a=n;o<a.length;o++){var s=a[o];i=i.substring(0,r[s])+t[s]+i.substring(r[s])}e.getBody().innerHTML=i;for(var c,u=document.createTreeWalker(e.getBody(),NodeFilter.SHOW_TEXT,null),d=e.dom.createRng(),p={};c=u.nextNode();)for(var m,f=A(n);!(m=f()).done;){var h=m.value;if(c.nodeValue){var _=c.nodeValue.indexOf(t[h]);_>-1&&(c.nodeValue=c.nodeValue.replace(t[h],""),p[h]=[c,_])}}for(var v=0,g=n;v<g.length;v++){var b=g[v];p[b]&&d["set"+l().stringCapitalize(b)].apply(d,p[b])}p.end&&p.start&&e.selection.setRng(d)},G=function(e){var t=(0,x.getConsolidatedProperties)(function(e){var t=(0,x.mapPropertiesIntoModel)(e,V.defaultProperties.model);return t.model.value=(0,x.parseValue)(t,t.model.value,Re),D(t,t.model.state),t}(e));return t.selection||"boolean"!==t.type||(t.selection=[{label:"No",value:!1},{label:"Yes",value:!0}]),t.selectableEditor||"plain"===t.editor||(t.editorIsActive=!0),"string"!=typeof t.representation&&(t.representation=(0,x.formatValue)(t,t.value,Re,!t.focused),t.focused&&t.representation!==t.value&&["password","text"].includes(R(t))&&(Fe=!0)),t},Y=function(e){l().extend(!0,$e,G($e)),(0,x.triggerCallbackIfExists)($e,"change",Ke,$e,e)},J=function(e){e&&(e.preventDefault(),e.stopPropagation()),ye((function(t){var r=t.editorIsActive;return $e.editorIsActive=!r,Y(e),(0,x.triggerCallbackIfExists)($e,"changeEditorIsActive",Ke,$e.editorIsActive,e,$e),{editorIsActive:$e.editorIsActive,selectionIsUnstable:!0}}))},Q=function(e){e&&(e.preventDefault(),e.stopPropagation()),Ne((function(t){return $e.showDeclaration=!t,Y(e),(0,x.triggerCallbackIfExists)($e,"changeShowDeclaration",Ke,$e.showDeclaration,e,$e),$e.showDeclaration}))},Z=function(e,r,n){if(void 0===n&&(n=-1),!$e.disabled){var i;if(Te(!0),null!==e&&"object"==typeof e){var o=e.target||e.detail;if(o)if("number"==typeof o.index){var a=o.index-($e.placeholder?1:0);$e.value=a>=0&&a<We.length?We[a]:null}else $e.value=void 0===o.value?null:o.value;else $e.value=e}else $e.value=e;var s=function(){return ze((function(e){if(!Xe&&e.representation===$e.representation&&!$e.suggestionCreator&&-1===n)return e;var r=t()({},e,{representation:$e.representation});if(!Ke&&l().equals(e.value,$e.value))return r;r.value=$e.value;var o=!1;return e.modelState.pristine&&($e.dirty=!0,$e.pristine=!1,o=!0),Y(i),D($e,e.modelState)&&(o=!0),(0,x.triggerCallbackIfExists)($e,"changeValue",Ke,$e.value,i,$e),o&&(r.modelState=$e.model.state,(0,x.triggerCallbackIfExists)($e,"changeState",Ke,$e.model.state,i,$e)),(ct||-1!==n)&&(0,x.triggerCallbackIfExists)($e,"select",Ke,i,$e),r}))};if($e.representation=-1!==n?et[n]:"string"==typeof $e.value?$e.value:(0,x.formatValue)($e,$e.value,Re),rt)if($e.suggestionCreator){var c=new AbortController,u=function(e){if(!c.signal.aborted){if(qe((function(t){return t instanceof AbortController&&!t.signal.aborted&&t.abort(),e})),-1===n){var t=(0,x.getValueFromSelection)($e.representation,(0,x.normalizeSelection)(e));null!==t||$e.searchSelection?$e.value=t:$e.value=(0,x.parseValue)($e,$e.representation,Re)}s()}},d=$e.suggestionCreator({abortController:c,properties:$e,query:$e.representation});null!=d&&d.then?(qe((function(e){return e instanceof AbortController&&!e.signal.aborted&&e.abort(),c})),ze((function(e){return t()({},e,{representation:$e.representation})})),d.then(u,l().noop)):u(d)}else{if(-1===n){var p=(0,x.getValueFromSelection)($e.representation,Me);null!==p||$e.searchSelection?$e.value=p:$e.value=(0,x.parseValue)($e,$e.representation,Re)}s()}else $e.value=(0,x.parseValue)($e,$e.value,Re),s()}},ee=function(e){ne(e),(0,x.triggerCallbackIfExists)($e,"click",Ke,e,$e),ie(e)},te=function(e){(0,x.triggerCallbackIfExists)($e,"focus",Ke,e,$e),ie(e)},re=function(e){e.keyCode&&(ne(e),(0,x.triggerCallbackIfExists)($e,"keyUp",Ke,e,$e))},ne=function(e){!function(e){var t,r,n,i,o,a,l,s=null==(t=oe.current)||null==(r=t.editor)||null==(n=r.selection)?void 0:n.getRange(),c=null==(i=ue.current)||null==(o=i.selection)?void 0:o.getRng(),u=null==(a=se.current)?void 0:a.selectionEnd,d=null==(l=se.current)?void 0:l.selectionStart;if(s)ve({end:X(s.end.column,"number"==typeof s.end.row?s.end.row:"string"==typeof $e.value?$e.value.split("\n").length-1:0),start:X(s.start.column,"number"==typeof s.start.row?s.start.row:"string"==typeof $e.value?$e.value.split("\n").length-1:0)});else if(c)ve({end:K(ue.current.getBody(),ue.current.selection.getEnd(),c.endOffset),start:K(ue.current.getBody(),ue.current.selection.getStart(),c.startOffset)});else if("number"==typeof u&&"number"==typeof d){var p,m=1===(null==e||null==(p=e.key)?void 0:p.length)?1:"Backspace"===(null==e?void 0:e.key)&&$e.representation.length>d?-1:0;ve({end:u+m,start:d+m})}}(e),(0,x.triggerCallbackIfExists)($e,"selectionChange",Ke,e,$e)},ie=function(e){return ze((function(r){var n=!1;r.modelState.focused||($e.focused=!0,n=!0),r.modelState.untouched&&($e.touched=!0,$e.untouched=!1,n=!0);var i=r;return n&&(Y(e),i=t()({},r,{modelState:$e.model.state}),(0,x.triggerCallbackIfExists)($e,"changeState",Ke,$e.model.state,e,$e)),(0,x.triggerCallbackIfExists)($e,"touch",Ke,e,$e),i}))},oe=(0,s.useRef)(null),ae=(0,s.useRef)(null),le=(0,s.useRef)(null),se=(0,s.useRef)(null),ce=(0,s.useRef)(null),ue=(0,s.useRef)(null),de=(0,s.useRef)(null),pe=(0,s.useRef)(null),me=(0,s.useRef)(null),fe=(0,x.translateKnownSymbols)(e),he=(0,s.useState)({end:0,start:0}),_e=he[0],ve=he[1],ge=(0,s.useState)({editorIsActive:!1,selectionIsUnstable:!1}),be=ge[0],ye=ge[1],xe=(0,s.useState)(),we=xe[0],Ee=xe[1],Ae=(0,s.useState)(!1),Pe=Ae[0],Te=Ae[1],Oe=(0,s.useState)(!1),Ce=Oe[0],Ne=Oe[1],Se=(0,x.determineInitialValue)(fe,null==(n=V.defaultProperties.model)?void 0:n.default);Se instanceof Date&&(Se=Se.getTime()/1e3);var ke=l().extend(!0,l().copy(V.defaultProperties),fe),je=ke.type||(null==(i=ke.model)?void 0:i.type)||"string",Re=ke.transformer?t()({},V.transformer,((o={})[je]=l().extend(!0,l().copy(V.transformer[je])||{},ke.transformer),o)):V.transformer,Le=(0,s.useState)(),Ie=Le[0],qe=Le[1];(ke.selection||null!=(a=ke.model)&&a.selection)&&(Ie=ke.selection||(null==(w=ke.model)?void 0:w.selection));var Me=Ie instanceof AbortController?[]:(0,x.normalizeSelection)(Ie,ke.labels),De=Ie instanceof AbortController?[[],[]]:(0,x.getLabelAndValues)(Me),Ue=De[0],We=De[1],Be=(0,s.useState)((function(){return{modelState:t()({},V.defaultModelState),representation:(0,x.determineInitialRepresentation)(ke,V.defaultProperties,Se,Re,Me),value:Se}})),Ve=Be[0],ze=Be[1],Ke=!ke.enforceUncontrolled&&(void 0!==(null==(P=fe.model)?void 0:P.value)||void 0!==fe.value)&&Boolean(fe.onChange||fe.onChangeValue),Xe=Ke&&void 0!==fe.representation,Fe=!1;null!==ke.cursor&&"object"==typeof ke.cursor||(ke.cursor={}),void 0===ke.cursor.end&&(ke.cursor.end=_e.end),void 0===ke.cursor.start&&(ke.cursor.start=_e.start),void 0===ke.editorIsActive&&(ke.editorIsActive=be.editorIsActive),void 0===ke.hidden&&(ke.hidden=we),void 0===ke.representation&&(ke.representation=Ve.representation),void 0===ke.showDeclaration&&(ke.showDeclaration=Ce),(0,x.deriveMissingPropertiesFromState)(ke,Ve),void 0===ke.value?void 0===ke.representation&&void 0===ke.model.value&&(ke.representation=Ve.representation):Xe||ke.value===Ve.value||(ke.representation=void 0);var $e=G(ke);void 0===$e.hidden&&($e.hidden=null==(T=$e.name)?void 0:T.startsWith("password")),l().equals($e.cursor,_e)||ve($e.cursor),$e.editorIsActive!==be.editorIsActive&&ye(t()({},be,{editorIsActive:$e.editorIsActive})),$e.hidden!==we&&Ee($e.hidden),$e.showDeclaration!==Ce&&Ne($e.showDeclaration);var He={modelState:$e.model.state,representation:$e.representation,value:$e.value};(Ke||l().equals($e.value,Ve.value)&&$e.representation===Ve.representation)&&l().equals($e.model.state,Ve.modelState)||ze(He),Ke&&(ze=(0,x.wrapStateSetter)(ze,He)),(0,s.useImperativeHandle)(r,(function(){for(var e,t={modelState:$e.model.state},r=A(["cursor","editorIsActive","hidden","showDeclaration"]);!(e=r()).done;){var n=e.value;Object.prototype.hasOwnProperty.call(fe,n)||(t[n]=$e[n])}return Xe||(t.representation=$e.representation),Ke||(t.value=$e.value),{properties:$e,references:{codeEditorReference:oe,codeEditorInputReference:ae,foundationReference:le,inputReference:se,richTextEditorInputReference:ce,richTextEditorInstance:ue,richTextEditorReference:de,suggestionMenuAPIReference:pe,suggestionMenuFoundationReference:me},state:t}}));var Ge={onBlur:function(e){return ze((function(t){Te(!1);var r=!1,n=!1;if(t.modelState.focused&&($e.focused=!1,r=!0,n=!0),t.modelState.visited||($e.visited=!0,r=!0,n=!0),!rt||$e.suggestSelection){var i=(0,x.getValueFromSelection)($e.representation,Me);null===i?($e.value=(0,x.parseValue)($e,$e.value,Re),$e.representation=(0,x.formatValue)($e,$e.value,Re)):$e.value=i}return l().equals(t.value,$e.value)&&t.representation===$e.representation||(r=!0),r&&Y(e),l().equals(t.value,$e.value)||(0,x.triggerCallbackIfExists)($e,"changeValue",Ke,$e.value,e,$e),n&&(0,x.triggerCallbackIfExists)($e,"changeState",Ke,$e.model.state,e,$e),(0,x.triggerCallbackIfExists)($e,"blur",Ke,e,$e),r?{modelState:$e.model.state,representation:$e.representation,value:$e.value}:t}))},onFocus:function(e){Te(!0),te(e)},placeholder:$e.placeholder},Ye={disabled:$e.disabled,helpText:{children:(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(g.default,{in:$e.selectableEditor&&"string"===$e.type&&"plain"!==$e.editor,children:(0,E.jsx)(p.IconButton,{icon:{icon:$e.editorIsActive?"subject":$e.editor.startsWith("code")?"code":"text_format",onClick:J}})}),(0,E.jsx)(g.default,{in:Boolean($e.declaration),children:(0,E.jsx)(p.IconButton,{icon:{icon:"more_"+($e.showDeclaration?"vert":"horiz"),onClick:Q}})}),(0,E.jsx)(g.default,{in:$e.showDeclaration,children:$e.declaration}),(0,E.jsx)(g.default,{in:!$e.showDeclaration&&$e.invalid&&($e.showInitialValidationState||$e.visited),children:(0,E.jsx)(_.Theme,{use:"error",children:q($e.invalidMaximum&&$e.maximumText||$e.invalidMaximumLength&&$e.maximumLengthText||$e.invalidMinimum&&$e.minimumText||$e.invalidMinimumLength&&$e.minimumLengthText||$e.invalidInvertedPattern&&$e.invertedPatternText||$e.invalidPattern&&$e.patternText||$e.invalidRequired&&$e.requiredText)})})]}),persistent:Boolean($e.declaration)},invalid:$e.showInitialValidationState&&$e.invalid,label:$e.description||$e.name,outlined:$e.outlined,required:$e.required};$e.icon&&(Ye.icon=z(C($e.icon)));var Je=t()({},M,{content_style:$e.disabled?"body {opacity: .38}":"",placeholder:$e.placeholder,readonly:Boolean($e.disabled),setup:function(e){ue.current=e,ue.current.on("init",(function(){ue.current&&(I=!0,$e.editorIsActive&&be.selectionIsUnstable&&(ue.current.focus(!1),H(ue.current),ye(t()({},be,{selectionIsUnstable:!1}))))}))}});$e.editor.endsWith("raw)")?(Je.toolbar1="cut copy paste | undo redo removeformat | code | fullscreen",delete Je.toolbar2):$e.editor.endsWith("simple)")?(Je.toolbar1="cut copy paste | undo redo removeformat | bold italic underline strikethrough subscript superscript | fullscreen",delete Je.toolbar2):$e.editor.endsWith("normal)")&&(Je.toolbar1="cut copy paste | undo redo removeformat | styleselect formatselect | searchreplace visualblocks fullscreen code");var Qe=!$e.selection&&"string"===$e.type&&$e.editorIsActive&&($e.editor.startsWith("code")||$e.editor.startsWith("richtext(")),Ze=[],et=[],tt=[],rt=Boolean($e.suggestionCreator||Ue.length&&($e.searchSelection||$e.suggestSelection));if(rt&&Ue.length){$e.suggestSelection=!$e.searchSelection;for(var nt,it=0,ot=A(Ue);!(nt=ot()).done;){var at=nt.value;if(l().isFunction($e.children)){var lt=$e.children({index:it,normalizedSelection:Me,properties:$e,query:$e.representation,suggestion:at,value:We[it]});lt&&(Ze.push((0,E.jsx)(m.MenuItem,{className:j["generic-input__suggestions__suggestion"],children:lt},it)),et.push(at),tt.push(We[it]))}else if(!$e.representation||$e.suggestionCreator||W(at,$e.representation)){var st;Ze.push((0,E.jsx)(m.MenuItem,{className:j["generic-input__suggestions__suggestion"],children:l().stringMark(at,(null==(st=$e.representation)?void 0:st.split(" "))||"",(function(e){return(""+e).toLowerCase()}),(function(e){return(0,E.jsx)("span",{className:j["generic-input__suggestions__suggestion__mark"],children:e})}),null).map((function(e,t){return(0,E.jsx)("span",{children:e},t)}))},it)),et.push(at),tt.push(We[it])}it+=1}}var ct=(Boolean(Me)||Boolean($e.labels))&&!rt,ut={};return"number"===$e.type?(ut.step=$e.step,$e.maximum!==1/0&&(ut.max=$e.maximum),$e.minimum!==-1/0&&(ut.min=$e.minimum)):"string"===$e.type?($e.maximumLength>=0&&$e.maximumLength!==1/0&&(ut.maxLength=$e.maximumLength),$e.minimumLength>0&&(ut.minLength=$e.minimumLength),"plain"!==$e.editor&&(ut.rows=$e.rows)):["date","datetime-local","time"].includes($e.type)&&(ut.step=$e.step,$e.maximum!==1/0&&(ut.max=(0,x.formatValue)($e,$e.maximum,Re)),$e.minimum!==-1/0&&(ut.min=(0,x.formatValue)($e,$e.minimum,Re))),(0,E.jsx)(b.default,{strict:V.strict,themeConfiguration:$e.themeConfiguration,tooltip:$e.tooltip,children:(0,E.jsxs)("div",{className:[j["generic-input"]].concat(Qe?j["generic-input--custom"]:[],null!==(O=$e.className)&&void 0!==O?O:[]).join(" "),style:$e.styles,children:[B((0,E.jsx)(f.Select,t()({},Ge,Ye,{enhanced:!0,foundationRef:le,inputRef:se,onChange:Z,options:Me,rootProps:t()({name:$e.name,onClick:ee},$e.rootProps),value:""+$e.value},$e.inputProperties)),ct),B([(0,E.jsx)(u.FormField,{className:["mdc-text-field"].concat($e.disabled?"mdc-text-field--disabled":[],"mdc-text-field--textarea").join(" "),onKeyDown:U,children:(0,E.jsxs)("label",{children:[(0,E.jsx)("span",{className:[j["generic-input__editor__label"]].concat("mdc-floating-label","mdc-floating-label--float-above").join(" "),children:(0,E.jsx)(_.Theme,{use:$e.invalid&&($e.showInitialValidationState||$e.visited)?"error":void 0,children:($e.description||$e.name)+($e.required?"*":"")})}),$e.editor.startsWith("code")?(0,E.jsx)(s.Suspense,{fallback:(0,E.jsx)(c.CircularProgress,{size:"large"}),children:(0,E.jsx)(L,t()({},Ge,{className:"mdc-text-field__input",mode:$e.editor.startsWith("code(")&&$e.editor.endsWith(")")?$e.editor.substring("code(".length,$e.editor.length-1):"javascript",name:$e.name,onChange:Z,onCursorChange:ne,onSelectionChange:ne,ref:function(e){var r,n,i;oe.current=e,null!=(r=oe.current)&&null!=(n=r.editor)&&null!=(i=n.container)&&i.querySelector("textarea")&&(ae.current=oe.current.editor.container.querySelector("textarea")),oe.current&&$e.editorIsActive&&be.selectionIsUnstable&&(oe.current.editor.textInput.focus(),$(oe.current),ye(t()({},be,{selectionIsUnstable:!1})))},setOptions:{maxLines:$e.rows,minLines:$e.rows,readOnly:$e.disabled,tabSize:4,useWorker:!1},theme:"github",value:$e.representation},$e.inputProperties))}):(0,E.jsx)(v.Editor,t()({},Ge,{disabled:$e.disabled,init:Je,onClick:ee,onEditorChange:Z,onKeyUp:re,ref:function(e){de.current=e},textareaName:$e.name,tinymceScriptSrc:M.base_url+"tinymce.min.js",value:$e.representation},$e.inputProperties))]})},"advanced-editor-form-field"),(0,E.jsx)("div",{className:"mdc-text-field-helper-line",children:(0,E.jsx)("p",{className:"mdc-text-field-helper-text mdc-text-field-helper-text--persistent",children:Ye.helpText.children})},"advanced-editor-helper-line")],Qe,I||$e.editor.startsWith("code")),B((0,E.jsxs)("div",{children:[rt?(0,E.jsx)(m.MenuSurfaceAnchor,{onKeyDown:U,children:Ie instanceof AbortController?(0,E.jsx)(m.MenuSurface,{anchorCorner:"bottomLeft",className:j["generic-input__suggestions"]+" "+j["generic-input__suggestions--pending"],open:!0,children:(0,E.jsx)(c.CircularProgress,{size:"large"})}):(0,E.jsx)(m.Menu,{anchorCorner:"bottomLeft",apiRef:function(e){pe.current=e},className:j["generic-input__suggestions"],focusOnOpen:!1,foundationRef:me,onFocus:te,onSelect:function(e){Z(tt[e.detail.index],void 0,e.detail.index),Te(!1)},open:Boolean(et.length)&&Pe&&!(1===et.length&&et[0]===$e.representation),children:Ze})}):"",(0,E.jsx)(h.TextField,t()({},Ge,Ye,ut,{align:$e.align,characterCount:"number"==typeof $e.maximumLength&&!isNaN($e.maximumLength)&&$e.maximumLength>=0,foundationRef:le,inputRef:se,onChange:Z,ripple:$e.ripple,rootProps:t()({name:$e.name,onClick:ee,onKeyDown:function(e){var t;rt&&l().keyCode.DOWN===e.keyCode&&(null==(t=pe.current)||t.focusItemAtIndex(0)),"string"===$e.type&&"plain"!==$e.editor&&U(e),(0,x.triggerCallbackIfExists)($e,"keyDown",Ke,e,$e)},onKeyUp:re},$e.rootProps),textarea:"string"===$e.type&&"plain"!==$e.editor,trailingIcon:z(C($e.trailingIcon)),type:R($e),value:$e.representation},$e.inputProperties))]}),!(Qe||ct),I||$e.editor.startsWith("code"))]})})};B.displayName="GenericInput";var V=(0,s.memo)((0,s.forwardRef)(B));V.wrapped=B,V.webComponentAdapterWrapped="react",V.defaultModelState=w.Bg,V.defaultProperties=t()({},w.Ko,{cursor:void 0,model:t()({},w.Ko.model,{state:void 0,value:void 0}),representation:void 0,value:void 0}),V.locales=l().locales,V.propTypes=w.rV,V.renderProperties=w.au,V.strict=!1,V.transformer={boolean:{parse:function(e){var t;return"boolean"==typeof e?e:null===(t=new Map([["false",!1],["true",!0],[0,!1],[1,!0]]).get(e))||void 0===t||t},type:"text"},currency:{format:{final:{options:{currency:"USD"},transform:function(e,r,n){var i,o,a,l,s,c=null!==(i=null==(o=n.currency.format)||null==(a=o.final.options)?void 0:a.currency)&&void 0!==i?i:"USD";return e===1/0?"Infinity "+c:e===-1/0?"- Infinity "+c:isNaN(e)?"unknown":new Intl.NumberFormat(V.locales,t()({style:"currency"},null!==(l=null==(s=n.currency.format)?void 0:s.final.options)&&void 0!==l?l:{})).format(e)}}},parse:function(e,t,r){return r.float.parse?r.float.parse(e,t,r):NaN},type:"text"},date:{format:{final:{transform:function(e,t,r){if("number"!=typeof e)if(r.date.parse)e=r.date.parse(e,t,r);else{var n=e instanceof Date?e.getTime()/1e3:Date.parse(e);if(isNaN(n)){var i=parseFloat(e);e=isNaN(i)?0:i}else e=n/1e3}if(e===1/0)return"Infinitely far in the future";if(e===-1/0)return"Infinitely early in the past";if(!isFinite(e))return"";var o=new Date(Math.round(1e3*e)).toISOString();return o.substring(0,o.indexOf("T"))}}},parse:function(e){if("number"==typeof e)return e;if(e instanceof Date)return e.getTime()/1e3;var t=Date.parse(e);if(isNaN(t)){var r=parseFloat(e);return isNaN(r)?0:r}return t/1e3}},"datetime-local":{format:{final:{transform:function(e,t,r){if("number"!=typeof e)if(r["datetime-local"].parse)e=r["datetime-local"].parse(e,t,r);else{var n=e instanceof Date?e.getTime()/1e3:Date.parse(e);if(isNaN(n)){var i=parseFloat(e);e=isNaN(i)?0:i}else e=n/1e3}if(e===1/0)return"Infinitely far in the future";if(e===-1/0)return"Infinitely early in the past";if(!isFinite(e))return"";var o=new Date(Math.round(1e3*e)).toISOString();return o.substring(0,o.length-1)}}},parse:function(e,t,r){if(r.date.parse)return r.date.parse(e,t,r);if(e instanceof Date)return e.getTime()/1e3;var n=Date.parse(e);if(isNaN(n)){var i=parseFloat(e);return isNaN(i)?0:i}return n/1e3}},time:{format:{final:{transform:function(e,t,r){if("number"!=typeof e)if(r.time.parse)e=r.time.parse(e,t,r);else{var n=e instanceof Date?e.getTime()/1e3:Date.parse(e);if(isNaN(n)){var i=parseFloat(e);e=isNaN(i)?0:i}else e=n/1e3}if(e===1/0)return"Infinitely far in the future";if(e===-1/0)return"Infinitely early in the past";if(!isFinite(e))return"";var o=new Date(Math.round(1e3*e)).toISOString();return o=o.substring(o.indexOf("T")+1,o.length-1),t.step&&t.step>=60&&t.step%60==0?o.substring(0,o.lastIndexOf(":")):o}}},parse:function(e){if("number"==typeof e)return e;if(e instanceof Date)return e.getTime()/1e3;var t=Date.parse(e);if(isNaN(t)){var r=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,(function(e,t,r,n,i,o){return String(parseInt(t)*Math.pow(60,2)+60*parseInt(r)+(n?parseFloat(i):0))})));return isNaN(r)?0:r}return t/1e3}},float:{format:{final:{transform:function(e,t,r){return r.float.format?e===1/0?"Infinity":e===-1/0?"- Infinity":new Intl.NumberFormat(V.locales,r.float.format.final.options||{}).format(e):""+e}}},parse:function(e,t){return"string"==typeof e&&(e=parseFloat("de-DE"===V.locales[0]?e.replace(/\./g,"").replace(/,/g,"."):e)),"number"==typeof e&&("number"==typeof t.minimum&&t.minimum>=0&&e<0||"number"==typeof t.maximum&&t.maximum<=0&&e>0)&&(e*=-1),e},type:"text"},integer:{format:{final:{transform:function(e,r,n){var i,o;return new Intl.NumberFormat(V.locales,t()({maximumFractionDigits:0},null!==(i=null==(o=n.integer.format)?void 0:o.final.options)&&void 0!==i?i:{})).format(e)}}},parse:function(e,t){return"string"==typeof e&&(e=parseInt("de-DE"===V.locales[0]?e.replace(/[,.]/g,""):e)),"number"==typeof e&&("number"==typeof t.minimum&&t.minimum>=0&&e<0||"number"==typeof t.maximum&&t.maximum<=0&&e>0)&&(e*=-1),e},type:"text"},number:{parse:function(e){return"number"==typeof e?e:parseInt(e)}}};var z=V}(),O}())}],__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__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__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__={};return function(){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{GenericInput:function(){return i}});var e=__webpack_require__(0),t=__webpack_require__(34),r=__webpack_require__.n(t),n=__webpack_require__(1),i=__webpack_require__.n(n)()(r(),"GenericInput",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:e.boolean,focused:e.boolean,invalid:e.boolean,invalidMaximum:e.boolean,invalidMaximumLength:e.boolean,invalidMinimum:e.boolean,invalidMinimumLength:e.boolean,invalidPattern:e.boolean,invalidRequired:e.boolean,name:e.string,pristine:e.boolean,touched:e.boolean,untouched:e.boolean,valid:e.boolean,visited:e.boolean}});__webpack_exports__.default=i}(),__webpack_exports__}()}));
1
+ 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("clientnode"),require("react"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/wrapNativeSuper"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/regenerator"),require("@rmwc/circular-progress"),require("@rmwc/formfield"),require("@rmwc/icon"),require("@rmwc/icon-button"),require("@rmwc/menu"),require("@rmwc/select"),require("@rmwc/textfield"),require("@rmwc/theme"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("@tinymce/tinymce-react"),require("ace-builds"),require("react-ace"),require("react-transition-group"),require("react/jsx-runtime"));else if("function"==typeof define&&define.amd)define(["clientnode/property-types","@babel/runtime/helpers/extends","@babel/runtime/helpers/inheritsLoose","clientnode","react","react-dom","react-dom/client","@babel/runtime/helpers/initializerDefineProperty","@babel/runtime/helpers/assertThisInitialized","@babel/runtime/helpers/wrapNativeSuper","@babel/runtime/helpers/applyDecoratedDescriptor","@babel/runtime/helpers/initializerWarningHelper","@babel/runtime/helpers/asyncToGenerator","@babel/runtime/helpers/objectWithoutPropertiesLoose","@babel/runtime/regenerator","@rmwc/circular-progress","@rmwc/formfield","@rmwc/icon","@rmwc/icon-button","@rmwc/menu","@rmwc/select","@rmwc/textfield","@rmwc/theme","@rmwc/tooltip","@rmwc/typography","@tinymce/tinymce-react","ace-builds","react-ace","react-transition-group","react/jsx-runtime"],t);else{var r="object"==typeof exports?t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("clientnode"),require("react"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/wrapNativeSuper"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/regenerator"),require("@rmwc/circular-progress"),require("@rmwc/formfield"),require("@rmwc/icon"),require("@rmwc/icon-button"),require("@rmwc/menu"),require("@rmwc/select"),require("@rmwc/textfield"),require("@rmwc/theme"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("@tinymce/tinymce-react"),require("ace-builds"),require("react-ace"),require("react-transition-group"),require("react/jsx-runtime")):t(e["clientnode/property-types"],e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/inheritsLoose"],e.clientnode,e.react,e["react-dom"],e["react-dom/client"],e["@babel/runtime/helpers/initializerDefineProperty"],e["@babel/runtime/helpers/assertThisInitialized"],e["@babel/runtime/helpers/wrapNativeSuper"],e["@babel/runtime/helpers/applyDecoratedDescriptor"],e["@babel/runtime/helpers/initializerWarningHelper"],e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@babel/runtime/regenerator"],e["@rmwc/circular-progress"],e["@rmwc/formfield"],e["@rmwc/icon"],e["@rmwc/icon-button"],e["@rmwc/menu"],e["@rmwc/select"],e["@rmwc/textfield"],e["@rmwc/theme"],e["@rmwc/tooltip"],e["@rmwc/typography"],e["@tinymce/tinymce-react"],e["ace-builds"],e["react-ace"],e["react-transition-group"],e["react/jsx-runtime"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(this,(function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__,__WEBPACK_EXTERNAL_MODULE__21__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__22__,__WEBPACK_EXTERNAL_MODULE__19__,__WEBPACK_EXTERNAL_MODULE__23__,__WEBPACK_EXTERNAL_MODULE__24__,__WEBPACK_EXTERNAL_MODULE__25__,__WEBPACK_EXTERNAL_MODULE__26__,__WEBPACK_EXTERNAL_MODULE__27__,__WEBPACK_EXTERNAL_MODULE__28__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__29__,__WEBPACK_EXTERNAL_MODULE__30__,__WEBPACK_EXTERNAL_MODULE__31__,__WEBPACK_EXTERNAL_MODULE__20__,__WEBPACK_EXTERNAL_MODULE__5__){return function(){"use strict";var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,t,r,n,i,o,s,a,l,p,c,u;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__(2),t=__webpack_require__(10),r=__webpack_require__(4),n=__webpack_require__(0),i=__webpack_require__(3),o=__webpack_require__(11),s=__webpack_require__(12),a=__webpack_require__(13),l=__webpack_require__(14),p=__webpack_require__(15),c=__webpack_require__(16),u=__webpack_require__(17),function(){var d=[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),i=r.n(n),o=r(1),a=r.n(o),l=r(2);t.default=function(e){return void 0===e&&(e={}),e=i()({readAttribute:!0,type:l.string},e),function(t,r){if("string"==typeof r){var n,o=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(o,"observedAttributes")||(o.observedAttributes=o.observedAttributes?[].concat(o.observedAttributes):[]);var l=a().stringCamelCaseToDelimited(r);o.observedAttributes.includes(l)||o.observedAttributes.push(l)}e.type&&(Object.prototype.hasOwnProperty.call(o,"propertyTypes")||(o.propertyTypes=o.propertyTypes?i()({},o.propertyTypes):{}),!e.update&&Object.prototype.hasOwnProperty.call(o,r)||(o.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(o,"propertiesToReflectAsAttributes")||(o.propertiesToReflectAsAttributes=o.propertiesToReflectAsAttributes?a().copy(o.propertiesToReflectAsAttributes):[]),(e.update||o.propertiesToReflectAsAttributes instanceof Map&&!o.propertiesToReflectAsAttributes.has(r)||Array.isArray(o.propertiesToReflectAsAttributes)&&!o.propertiesToReflectAsAttributes.includes(r)||null!==o.propertiesToReflectAsAttributes&&"object"==typeof o.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(o.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?!0===e.writeAttribute&&o.propertyTypes&&Object.prototype.hasOwnProperty.call(o.propertyTypes,r)&&(n=o.propertyTypes[r]):n=e.writeAttribute,void 0!==n&&(Array.isArray(o.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?o.propertiesToReflectAsAttributes.push(r):o.propertiesToReflectAsAttributes=o.normalizePropertyTypeList(o.propertiesToReflectAsAttributes)),o.propertiesToReflectAsAttributes instanceof Map&&o.propertiesToReflectAsAttributes.set(r,n),null!==o.propertiesToReflectAsAttributes&&"object"==typeof o.propertiesToReflectAsAttributes&&(o.propertiesToReflectAsAttributes[r]=n)))),e.alias&&(Object.prototype.hasOwnProperty.call(o,"propertyAliases")||(o.propertyAliases=o.propertyAliases?i()({},o.propertyAliases):{}),!e.update&&Object.prototype.hasOwnProperty.call(o,r)||(o.propertyAliases[r]=e.alias))}}}},function(e,t,r){r.d(t,{api:function(){return P}});var n,i,o,a,l=r(0),s=r.n(l),c=r(6),u=r.n(c),d=r(7),p=r.n(d),m=r(3),f=r.n(m),h=r(8),_=r.n(h),v=r(9),g=r.n(v),b=(r(10),r(1)),y=r.n(b),x=r(2);function w(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 E(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)?E(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 E(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 A=(n=(0,r(4).default)({type:x.boolean,writeAttribute:!0}),a=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:y()},r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,u()(r,"isRoot",o,p()(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=p()(r),r.defineGetterAndSetterInterface(),r}f()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,r){this.ignoreAttributeUpdateObservations||t===r||this.updateAttribute(e,r)},r.updateAttribute=function(e,t){var r=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,y().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"):y().timeout((function(){return e.render("connected")}))},r.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=w(this.domNodeEventBindings.values());!(e=t()).done;)for(var r,n=w(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=w(y().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,i,o,a=null!=(r=this.instance)&&null!=(n=r.current)&&n.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!=(i=this.instance)&&null!=(o=i.current)&&o.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:a},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,y().timeout((function(){void 0!==t&&r.isStateProperty(e)?(r.render("preStatePropertyChanged"),y().timeout((function(){r.setInternalPropertyValue(e,void 0),r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("postStatePropertyChanged"),r.triggerOutputEvents()})).then(y().noop,y().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,i=function(){var i=n.value,o="";if(i.startsWith("data-bind-")?o=i.substring("data-bind-".length):i.startsWith("bind-")&&(o=i.substring("bind-".length)),o){var a=e.getAttribute(i);if(null===a)return"continue";if(o.startsWith("attribute-")||o.startsWith("property-")){var l=y().stringEvaluate(a,t,!1,e);if(l.error)return console.warn('Error occurred during processing given attribute binding "'+i+'" on node:',e,l.error),"continue";o.startsWith("attribute-")?e.setAttribute(o.substring("attribute-".length),l.result):e[y().stringDelimitedToCamelCase(o.substring("property-".length))]=l.result}else if(o.startsWith("on-")){r.domNodeEventBindings.has(e)||r.domNodeEventBindings.set(e,new Map);var c=r.domNodeEventBindings.get(e);o=y().stringDelimitedToCamelCase(o.substring("on-".length)),c.has(o)&&c.get(o)(),t=s()({event:void 0,parameters:void 0},t);var u=y().stringCompile(a,t,!0);if(u.error)console.warn('Error occurred during compiling given event binding "'+i+'" on node:',e,u.error);else{var d=u.templateFunction.bind(e),p=function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];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 "'+i+'" on node:',e,'Given expression "'+a+'" could not be evaluated with given scope names "'+u.scopeNames.join('", "')+'": '+y().represent(t))}};e.addEventListener(o,p),c.set(o,(function(){e.removeEventListener(o,p),c.delete(o),0===c.size&&r.domNodeEventBindings.delete(e)}))}}}},o=w(e.getAttributeNames());!(n=o()).done;)i()},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=s()({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 i=e.innerHTML;if(!i&&e.template&&(i=e.template),this.self.hasCode(i)){var o=y().stringCompile("`"+i+"`",t);r.map.set(e,{children:[],error:o.error,scopeNames:o.scopeNames,template:i,templateFunction:o.templateFunction})}}else{var a,l=e.nodeName.toLowerCase();if(["a","#text"].includes(l)){var c="a"===l?e.getAttribute("href"):e.textContent;this.self.hasCode(c)&&(a=c.replace(/&nbsp;/g," ").trim())}var u=[];if(a){var d=y().stringCompile("`"+a+"`",t);r.map.set(e,{children:u,error:d.error,scopeNames:d.scopeNames,template:a,templateFunction:d.templateFunction})}for(var p=e.firstChild;p;)r.filter&&!r.filter(p)||u.push(this.compileDomNodeTemplate(p,t,s()({},r,{ignoreComponents:r.ignoreNestedComponents}))),p=p.nextSibling}return r.map},r.evaluateDomNodeTemplate=function(e,t,r){var n;if(void 0===t&&(t={}),void 0===r&&(r={}),(r=s()({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 i=r.map.get(e),o=i.error,a=i.scopeNames,l=i.templateFunction;if(o)console.warn("Error occurred during compiling node content: "+o);else{var c=null;try{c=l.apply(void 0,a.map((function(e){return t[e]})))}catch(o){console.warn('Error occurred when "'+this.self._name+'" is running "'+l+'": with bound names "'+a.join('", "')+'": "'+o+'". Rendering node:',e)}null!==c&&(r.unsafe?e.innerHTML=c:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",c):e.textContent=c)}}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,s()({},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,i=w([].concat(r).reverse());!(n=i()).done;){var o,a=n.value;t.trimSlots&&a.nodeType===Node.TEXT_NODE&&""===(null==(o=a.nodeValue)?void 0:o.trim())||e.after(a)}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)&&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,i=new Map,o=w(n);!(r=o()).done;){var a=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&i.set(a,t.propertyTypes[a])}return i}return y().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=i[n];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,(function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var o=e.reflectEventToProperties(r,n);o&&(n[0]=o),e.forwardEvent(r,n)})))},n=0,i=Object.keys(this.self.eventToPropertyMapping);n<i.length;n++)r();return t},r.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=i[n],o=r[0],a=r[1];Object.prototype.hasOwnProperty.call(t.internalProperties,o)||![x.func,"function"].includes(a)||t.self.renderProperties.includes(o)||(t.outputEventNames.add(o),t.setInternalPropertyValue(o,(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e&&t.reflectEventToProperties(o,n),t.forwardEvent(o,n)})))},n=0,i=Object.entries(this.self.propertyTypes);n<i.length;n++)r()},r.triggerOutputEvents=function(){for(var e,t=w(this.outputEventNames);!(e=t()).done;){var r=e.value;this.forwardEvent(r,[this.externalProperties])}},r.forwardEvent=function(e,t){return e.length>"onX".length&&e.startsWith("on")&&(e=y().stringLowerCase(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.applySlots=function(e,t){for(var r=this,n=0,i=Array.from(e.querySelectorAll("slot"));n<i.length;n++){var o=i[n],a=o.getAttribute("name");if(null===a||"default"===a)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var l,s=w(this.slots.default);!(l=s()).done;){var c=l.value;this.evaluateDomNodeTemplate(c,t)}this.self.replaceDomNodes(o,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(o).map((function(e){return r.grabSlotContent(e)}));else Object.prototype.hasOwnProperty.call(this.slots,a)?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[a],t),this.self.replaceDomNodes(o,this.slots[a])):this.slots[a]=this.grabSlotContent(this.self.unwrapDomNode(o).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,i=e.firstElementChild.value;null==(r=e.classList)||r.remove("web-component-template");var o=e.cloneNode();return null==(n=e.classList)||n.add("web-component-template"),o.innerHTML="",o.template=i,o}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],i=n.parentNode,o=!0;i;){if(i.nodeName.includes("-")){i===this&&(o=!1);break}i=i.parentNode}o||(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,n,i;return Boolean((null==(t=this.instance)||null==(r=t.current)?void 0:r.state)&&(Object.prototype.hasOwnProperty.call(null==(n=this.instance)||null==(i=n.current)?void 0:i.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=s()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],n=r[0],i=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,i)||(this.self._propertyAliasIndex[i]=n)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var n=r[t],i=n[0],o=n[1];if(this.setExternalPropertyValue(i,o),this.isConnected){var a=y().stringCamelCaseToDelimited(i);if(this.self._propertiesToReflectAsAttributes.has(i))switch(this.self._propertiesToReflectAsAttributes.get(i)){case x.boolean:case"boolean":o?""!==this.getAttribute(a)&&this.setAttribute(a,""):this.hasAttribute(a)&&this.removeAttribute(a);break;case x.func:case"function":break;case"json":if(o){var l=JSON.stringify(o);if(l&&this.getAttribute(a)!==l){this.setAttribute(a,l);break}}this.hasAttribute(a)&&this.removeAttribute(a);break;case x.number:case"number":if("number"!=typeof o||isNaN(o))this.hasAttribute(a)&&this.removeAttribute(a);else{var s=""+o;this.getAttribute(a)!==s&&this.setAttribute(a,s)}break;case x.string:case"string":o?this.getAttribute(a)!==o&&this.setAttribute(a,o):this.hasAttribute(a)&&this.removeAttribute(a);break;case x.any:case x.array:case x.arrayOf:case x.element:case x.elementType:case x.instanceOf:case x.node:case x.object:case"object":case x.objectOf:case x.shape:case x.exact:case x.symbol:default:if(o){var c=y().represent(o);if(c&&this.getAttribute(a)!==c){this.setAttribute(a,c);break}}this.hasAttribute(a)&&this.removeAttribute(a)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,r,n,i;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(r=t.current)&&r.state&&"object"==typeof this.instance.current.state)for(var o,a=w(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(o=a()).done;){var l=o.value;Object.prototype.hasOwnProperty.call(this.internalProperties,l)&&this.setInternalPropertyValue(l,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(null==(i=this.internalProperties.model)||delete i.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var s,c=w(this.self.controllableProperties);!(s=c()).done;){var u=s.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,y().timeout((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},r.reflectEventToProperties=function(e,t){var r=this.batchUpdates;this.batchUpdates=!1;var n=null;if(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,e)&&y().isFunction(this.self.eventToPropertyMapping[e])){var i,o=(i=this.self.eventToPropertyMapping)[e].apply(i,t.concat([this]));Array.isArray(o)?(n=o[0],this.reflectProperties(n),y().extend(!0,this.internalProperties,o[1])):null!==o&&"object"==typeof o&&(n=o,this.reflectProperties(o))}else if(t.length>0&&null!==t[0]&&"object"==typeof t[0]){var a,l=t[0];if("persist"in t[0]&&y().isFunction(t[0].persist)){l={};for(var c=0,u=Object.keys(this.self.propertyTypes);c<u.length;c++)for(var d,p=u[c],m=w([p].concat(null!==(f=this.getPropertyAlias(p))&&void 0!==f?f:[]));!(d=m()).done;){var f,h=d.value,_=t[0].currentTarget&&Object.prototype.hasOwnProperty.call(t[0].currentTarget,h)?t[0].currentTarget[h]:this.getPropertyValue(h);_!==this.externalProperties[h]&&(l[h]=_)}}else[null,void 0].includes(null==(a=l.detail)?void 0:a.value)||(l=s()({},l.detail));n=l,this.reflectProperties(l)}return this.triggerRender("propertyReflected"),this.batchUpdates=r,n},r.evaluateStringOrNullAndSetAsProperty=function(e,t){var r=this,n=e.startsWith("-"),i=n?e.substring(1):e,o=y().stringDelimitedToCamelCase(i),a=this.getPropertyAlias(o);if(a&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)&&(o=a),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,o)){var l=this.self.propertyTypes[o];if(n){if(t){var s=y().stringEvaluate(t,{Tools:y()},!1,this);s.error?(console.warn('Faild to process pre-evaluation attribute "'+e+'": '+s.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(o,void 0)):(this.setInternalPropertyValue(o,s.result),this.setExternalPropertyValue(o,s.result))}}else switch(l){case x.boolean:case"boolean":var c=![null,"false"].includes(t);this.setInternalPropertyValue(o,c),this.setExternalPropertyValue(o,c);break;case x.func:case"function":var u,d=null,p=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var m=y().stringCompile(t,p);d=m.error,u=m.templateFunction,d&&console.warn('Failed to compile given handler "'+e+'": '+d+".")}this.setInternalPropertyValue(o,(function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];r.outputEventNames.has(o)&&r.reflectEventToProperties(o,i);var l=void 0;if(!d)try{l=u.call(r,i[0],i[0],i[0],i[0],i[0],i[0],i,y())}catch(r){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+p.join('", "')+'" set to "'+y().represent(i)+'": '+r+'. Set property to "undedefined".')}return r.self.renderProperties.includes(o)||r.forwardEvent(o,i),l})),d||this.setExternalPropertyValue(o,u);break;case"json":if(t){var f;try{f=JSON.parse(t)}catch(d){console.warn('Error occurred during parsing given json attribute "'+e+'": '+y().represent(d));break}this.setInternalPropertyValue(o,f),this.setExternalPropertyValue(o,y().copy(f,1))}else this.setInternalPropertyValue(o,null),this.setExternalPropertyValue(o,null);break;case x.number:case"number":if(null===t){this.setInternalPropertyValue(o,t),this.setExternalPropertyValue(o,t);break}var h=parseFloat(t);isNaN(h)&&(h=void 0),this.setInternalPropertyValue(o,h),this.setExternalPropertyValue(o,h);break;case x.string:case"string":this.setInternalPropertyValue(o,t),this.setExternalPropertyValue(o,t);break;case x.any:case x.array:case x.arrayOf:case x.element:case x.elementType:case x.instanceOf:case x.node:case x.object:case"object":case x.objectOf:case x.oneOf:case x.oneOfType:case x.shape:case x.exact:case x.symbol:default:if(t){var _=y().stringEvaluate(t,{},!1,this);if(_.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":'+_.error);break}this.setInternalPropertyValue(o,_.result),this.setExternalPropertyValue(o,y().copy(_.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(o,!0),this.setExternalPropertyValue(o,!0)):(this.setInternalPropertyValue(o,null),this.setExternalPropertyValue(o,null))}}},r.determineRenderScope=function(e){var t,r;void 0===e&&(e={}),this.scope=s()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((r={parent:this.parent,root:this.rootInstance,self:this})[y().stringLowerCase(this.self._name)||"instance"]=this,r),e),this.scope.scope=this.scope},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.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){var t=y().stringEvaluate("`"+this.self.content+"`",this.scope);if(t.error)console.warn("Faild to process template: "+t.error);else{this.applyShadowRootIfNotExisting();var r=document.createElement("div");r.innerHTML=t.result,this.applySlots(r,s()({},this.scope,{parent:this})),this.root.innerHTML=r.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots)}}},t}(_()(HTMLElement)),a.applyRootBinding=!0,a.content="<slot>Please provide a template to transclude.</slot>",a.determineRootBinding=!0,a.shadowDOM=null,a.observedAttributes=[],a.controllableProperties=[],a.eventToPropertyMapping={},a.propertyAliases={},a.propertyTypes={onClick:x.func},a.propertiesToReflectAsAttributes=[],a.renderProperties=["children"],a.cloneSlots=!1,a.evaluateSlots=!1,a.renderSlots=!0,a.trimSlots=!0,a.renderUnsafe=!1,a._name="BaseWeb",a._propertyAliasIndex=void 0,a._propertiesToReflectAsAttributes=void 0,i=a,o=g()(i.prototype,"isRoot",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),i),P={component:A,register:function(e){return void 0===e&&(e=y().stringCamelCaseToDelimited(A._name)),customElements.define(e,A)}};t.default=A},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=i},function(e){e.exports=o},function(e){e.exports=s},function(e,t,r){r.d(t,{api:function(){return v}});var n=r(0),i=r.n(n),o=r(3),a=r.n(o),l=r(1),s=r.n(l),c=r(2),u=r(11),d=r.n(u),p=r(12),m=r(13);function f(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 h(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)?h(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 h(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 _=function(e){function t(){for(var r,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(r=e.call.apply(e,[this].concat(i))||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}a()(t,e);var r=t.prototype;return r.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},r.disconnectedCallback=function(){var t;null==(t=this.reactRoot)||t.unmount(),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(i()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(var n=this.firstChild;n;){var o=n.nextSibling;this.removeChild(n),n=o}this.reactRoot||(this.reactRoot=(0,m.createRoot)(this.root)),(0,p.flushSync)((function(){return r.reactRoot.render((0,u.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=c.NullSymbol:void 0===r&&(r=c.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,i=1,o=[],a=f(e);!(n=a()).done;){var l=n.value,s=this.preCompileDomNode(l,t,r,i.toString());s&&(o.push(s),i+=1)}return r?function(e){return function(){for(var t,r=[],n=f(o);!(t=n()).done;){var i=(0,t.value)(e);"function"==typeof i&&r.push(i.apply(void 0,arguments))}return(0,u.createElement)(u.Fragment,{children:r})}}:o},r.preCompileDomNode=function(e,t,r,n){var o,a,l=this;if(void 0===t&&(t={}),void 0===r&&(r=!1),r){var c=this.preCompileDomNode(e,i()({},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 o=r.length>0?r[0]:null;return c(i()({},e,{data:o,firstArgument:o,firstParameter:o,options:o,scope:o,parameters:r}))}}}if(e.nodeType===Node.TEXT_NODE){var d="string"==typeof e.nodeValue?e.nodeValue.trim():"",p=n&&d?(0,u.createElement)(u.Fragment,{children:d,key:n}):d||null;return function(){return p}}if(!e.getAttributeNames)return function(){return null};var m=this.self.isReactComponent(e);m?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),o=e.internalProperties,n&&!Object.prototype.hasOwnProperty.call(o,"key")&&(o.key=n),a=e.constructor.content):(o={key:n},a=e.tagName.toLowerCase());for(var h,_=Object.keys(t),v={},g=function(){var r,n=h.value,i=e.getAttribute(n);if(null===i)return"continue";var a=!1,c="";if(n.startsWith("data-bind-")?c=n.substring("data-bind-".length):n.startsWith("bind-")&&(c=n.substring("bind-".length)),c.startsWith("attribute-")||"attributes"===c||c.startsWith("property-")||"properties"===c){var u=s().stringCompile(i,_),d=u.error,p=u.originalScopeNames,m=u.templateFunction;if(d)return console.warn('Error occurred during compiling given attribute binding "'+n+'" on node:',e,d),"continue";"attributes"===c||"properties"===c?a=!0:c=c.startsWith("attribute-")?c.substring("attribute-".length):c.substring("property-".length),i={originalScopeNames:p,templateFunction:m.bind(l)}}else if(c.startsWith("on-")){c=s().stringDelimitedToCamelCase(c),Object.prototype.hasOwnProperty.call(t,"event")||(_=[].concat(_,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(_=[].concat(_,["parameters"]));var f=s().stringCompile(i,_,!0),g=f.error,b=f.originalScopeNames,y=f.scopeNames,x=f.templateFunction;if(g)return console.warn('Error occurred during compiling given event binding "'+n+'" on node:',e,g),"continue";var w=x.bind(l);i=function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];t.event=o[0],t.parameters=o;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 "'+i+'" could not be evaluated with given scope names "'+y.join('", "')+'": '+s().represent(t))}}}else c=n;var E={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(E,c)&&(c=E[c]),c=s().stringDelimitedToCamelCase(c),null!=(r=i)&&r.originalScopeNames?v[a?"":c]=i:o[c]=i},b=f(e.getAttributeNames());!(h=b()).done;)g();if(!m){var y=Array.from(e.childNodes);y.length&&(o.children=this.preCompileDomNodes(y,t))}return function(r){(r=i()({},t,r)).scope=r;for(var n=i()({},o),s=0,c=Object.entries(v);s<c.length;s++){var d=c[s],p=d[0],f=d[1],h=f.originalScopeNames,_=f.templateFunction.apply(void 0,h.map((function(e){return r[e]})));""===p?n=i()({},n,_):n[p]=_}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):m?(e.evaluateSlots(i()({},n,r,{parent:e})),e.prepareProperties(n),r=i()({},n,r,{parent:e})):n.children&&(n.children=l.evaluatePreCompiledDomNodes(n.children,r)),(0,u.createElement)(a,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=[],i=f(e);!(r=i()).done;){var o=(0,r.value)(t);o&&n.push(o)}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],i()({},this.scope,{parent:this}),[c.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,i()({},this.scope,{parent:this}),[c.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,u.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,u.forwardRef)((function(t,r){return(0,u.useImperativeHandle)(r,(function(){return{properties:t}})),(0,u.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,u.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,u.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,u.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var r,n=f(["isRoot","isTrusted","__composed"]);!(r=n()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(t,i)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,i)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,i))&&delete t[i]}},t}(r(5).default);_.attachWebComponentAdapterIfNotExists=!0,_.content="div",_.react=d(),_._name="ReactWebComponent";var v={component:_,register:function(e){return void 0===e&&(e=s().stringCamelCaseToDelimited(_._name)),customElements.define(e,_)}};t.default=_}],m={};function f(e){var t=m[e];if(void 0!==t)return t.exports;var r=m[e]={exports:{}};return d[e](r,r.exports,f),r.exports}f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,{a:t}),t},f.d=function(e,t){for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var h={};return function(){f.r(h),f.d(h,{ReactWeb:function(){return s},Web:function(){return d},reactWebAPI:function(){return c},webAPI:function(){return u},wrapAsWebComponent:function(){return p}});var e=f(0),t=f.n(e),r=f(3),n=f.n(r),i=f(1),o=f.n(i),a=f(14),l=f(5),s=a.default,c=a.api,u=l.api,d=l.default,p=function(e,r,i){var a,l,c,u;void 0===r&&(r="NoName"),void 0===i&&(i={});var d=e._name||(null==(a=e.___types)||null==(l=a.name)?void 0:l.name)||r.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");i.propTypes&&(e.propTypes=i.propTypes);var p=e.propTypes||{},m=i.propertyAliases||e.propertyAliases||{},f=o().arrayUnique(Object.keys(p).concat(Object.keys(m)).concat(Object.values(m))),h=i.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(s.propertiesToReflectAsAttributes)if(Array.isArray(h))h=[].concat(s.propertiesToReflectAsAttributes,h);else if(h instanceof Map)for(var _=0,v=s.propertiesToReflectAsAttributes;_<v.length;_++){var g=v[_];h.set(g,s.propertyTypes[g])}else if(null!==h&&"object"==typeof h)for(var b=0,y=s.propertiesToReflectAsAttributes;b<y.length;b++){var x=y[b];h[x]=s.propertyTypes[x]}var w=f.map((function(e){return o().stringCamelCaseToDelimited(e)})),E=function(r){function o(){for(var n,a=arguments.length,l=new Array(a),s=0;s<a;s++)l[s]=arguments[s];return(n=r.call.apply(r,[this].concat(l))||this).self=o,n.internalProperties=i.internalProperties?t()({},i.internalProperties):e.internalProperties?t()({},e.internalProperties):{},n}return n()(o,r),o}(s);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof i.attachWebComponentAdapterIfNotExists||i.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=s.observedAttributes.concat(w).concat(w.map((function(e){return"-"+e}))),E.controllableProperties=e.controllableProperties||i.controllableProperties||[],E.eventToPropertyMapping=null===i.eventToPropertyMapping?i.eventToPropertyMapping:i.eventToPropertyMapping?t()({},i.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?t()({},e.eventToPropertyMapping):{},E.propertyAliases=t()({},s.propertyAliases,m),E.propertiesToReflectAsAttributes=h,E.propertyTypes=t()({},s.propertyTypes,p),E.renderProperties=null!==(c=null!==(u=i.renderProperties)&&void 0!==u?u:e.renderProperties)&&void 0!==c?c:s.renderProperties,E._name=d,{component:E,register:function(e){return void 0===e&&(e=o().stringCamelCaseToDelimited(d)),customElements.define(e,E)}}};h.default=p}(),h}())},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__19__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__20__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__21__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__22__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__23__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__24__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__25__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__26__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__27__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__28__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__29__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__30__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__31__},,,function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,t,n,i,r,o,a,l,c,d,s,u,m,p,f,g,v,h,b,y,x,w;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__(21),t=__webpack_require__(2),n=__webpack_require__(6),i=__webpack_require__(22),r=__webpack_require__(19),o=__webpack_require__(23),a=__webpack_require__(24),l=__webpack_require__(25),c=__webpack_require__(26),d=__webpack_require__(27),s=__webpack_require__(28),u=__webpack_require__(7),m=__webpack_require__(8),p=__webpack_require__(9),f=__webpack_require__(29),g=__webpack_require__(30),v=__webpack_require__(4),h=__webpack_require__(0),b=__webpack_require__(3),y=__webpack_require__(31),x=__webpack_require__(20),w=__webpack_require__(5),function(){var _,E,A=[function(e){e.exports=w},function(e){e.exports=t},function(e){e.exports=b},function(e){e.exports=v},function(e){e.exports=u},function(e){e.exports=h},function(e,t,r){r.d(t,{WrapTooltip:function(){return s}});var n=r(1),i=r.n(n),o=r(9),a=r(11),l=r(0),s=function(e){var t=e.children,r=e.options;return"string"==typeof r?(0,l.jsx)(a.Tooltip,{content:(0,l.jsx)(o.Typography,{use:"caption",children:r}),children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})}):null!==r&&"object"==typeof r?("string"==typeof r.content&&(r=i()({},r,{content:(0,l.jsx)(o.Typography,{use:"caption",children:r.content})})),(0,l.jsx)(a.Tooltip,i()({},r,{children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})}))):(0,l.jsx)(l.Fragment,{children:t})};t.default=s},function(e,t,r){r(1),r(13),r(2),r(4);var n=r(12),i=r(10),o=r(6),a=r(0),l=function(e){var t=e.children,r=e.strict,l=e.themeConfiguration,s=e.tooltip,c=e.wrap;return(0,a.jsx)(n.x,{strict:Boolean(r),children:(0,a.jsx)(o.WrapTooltip,{options:s,children:(0,a.jsx)(i.WrapThemeProvider,{configuration:l,wrap:c,children:t})})})};t.default=l},function(e,t,r){r.d(t,{deriveMissingPropertiesFromState:function(){return d},determineInitialRepresentation:function(){return h},determineInitialValue:function(){return _},determineValidationState:function(){return v},formatValue:function(){return A},getConsolidatedProperties:function(){return b},getLabelAndValues:function(){return y},getValueFromSelection:function(){return x},mapPropertiesIntoModel:function(){return g},normalizeSelection:function(){return w},parseValue:function(){return E},translateKnownSymbols:function(){return f},triggerCallbackIfExists:function(){return m},useMemorizedValue:function(){return P},wrapStateSetter:function(){return p}});var n=r(1),i=r.n(n),o=r(3),a=r.n(o),l=r(5),s=r(2);function c(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 u(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)?u(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 u(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 d=function(e,t){void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=t.value),e.model.state?e.model.state=i()({},e.model.state):e.model.state={};for(var r=0,n=Object.entries(t.modelState);r<n.length;r++){var o=n[r],a=o[0],l=o[1];void 0===e.model.state[a]&&(e.model.state[a]=l)}return e},p=function(e,t){return function(r){var n="function"==typeof r?r(t):r;a().equals(null==n?void 0:n.modelState,null==t?void 0:t.modelState)||e(n)}},m=function(e,t,r){void 0===r&&(r=!0);for(var n=arguments.length,i=new Array(n>3?n-3:0),o=3;o<n;o++)i[o-3]=arguments[o];t="on"+a().stringCapitalize(t),e[t]&&(r?e[t].apply(e,i):a().timeout((function(){return e[t].apply(e,i)})))},f=function(e){for(var t={},r=0,n=Object.entries(e);r<n.length;r++){var i=n[r],o=i[0],s=i[1];s===l.UndefinedSymbol?t[o]=void 0:s===l.NullSymbol?t[o]=null:t[o]=a().copy(e[o])}return t};function h(e,t,r,n,o){if("string"==typeof e.representation)return e.representation;if(null!==r){var l,s=function(e,t){if(t)for(var r,n=c(t);!(r=n()).done;){var i=r.value;if(a().equals(null==i?void 0:i.value,e))return i.label||""+e}return null}(r,o);return"string"==typeof s?s:A(i()({},e,{type:e.type||(null==(l=e.model)?void 0:l.type)||t.model.type}),r,n)}return""}var _=function(e,t,r){var n,i;return void 0!==r?r:void 0!==e.value?e.value:void 0!==(null==(n=e.model)?void 0:n.value)?e.model.value:void 0!==e.initialValue?a().copy(e.initialValue):void 0!==e.default?a().copy(e.default):void 0!==(null==(i=e.model)?void 0:i.default)?a().copy(e.model.default):void 0!==t?t:null},v=function(e,t,r){void 0===r&&(r={});var n=!1;r=i()({invalidRequired:function(){return!1===e.model.nullable&&"boolean"!==e.model.type&&!e.model.value&&0!==e.model.value||"boolean"===e.model.type&&!("boolean"==typeof e.model.value||["false","true"].includes(e.model.value))}},r),e.model.state=e.model.state||{};for(var o=0,a=Object.entries(r);o<a.length;o++){var l=a[o],s=l[0],c=l[1],u=t[s];e.model.state[s]=c(),n=n||u!==t[s]}return n&&(e.model.state.invalid=Object.keys(r).some((function(t){return e.model.state[t]})),e.model.state.valid=!e.model.state.invalid),n},g=function(e,t){var r=a().extend(!0,{model:a().copy(t)},e);r.disabled&&(r.model.mutable=!1,delete r.disabled),r.invertedPattern&&(r.model.invertedRegularExpressionPattern=r.invertedPattern,delete r.invertedPattern),r.pattern&&(r.model.regularExpressionPattern=r.pattern,delete r.pattern),r.required&&(r.model.nullable=!1,delete r.required),"text"===r.type&&(r.type="string");for(var n,i=c(Object.keys(r.model).concat("value"));!(n=i()).done;){var o=n.value;Object.prototype.hasOwnProperty.call(r,o)&&void 0!==r[o]&&(r.model[o]=r[o])}for(var l in r.model.state)Object.prototype.hasOwnProperty.call(r,l)&&void 0!==r[l]&&(r.model.state[l]=r[l]);return void 0===r.model.value&&(r.model.value=a().copy(r.model.default)),r},b=function(e){var t=i()({},e,e.model||{},(e.model||{}).state||{});return t.disabled=!(t.mutable&&t.writable),delete t.mutable,delete t.writable,delete t.state,t.required=!t.nullable,delete t.nullable,t.invertedRegularExpressionPattern&&(t.invertedPattern=t.invertedRegularExpressionPattern),delete t.invertedRegularExpressionPattern,t.regularExpressionPattern&&(t.pattern=t.regularExpressionPattern),delete t.regularExpressionPattern,t};function y(e){if(Array.isArray(e)){for(var t,r=[],n=[],i=c(e);!(t=i()).done;){var o=t.value;"string"==typeof(null==o?void 0:o.label)&&(r.push(o.label),n.push(o.value))}return[r,n]}return[[],[]]}function x(e,t){if(Array.isArray(t))for(var r,n=c(t);!(r=n()).done;){var i=r.value;if("string"==typeof(null==i?void 0:i.label)&&i.label===e)return i.value;if(["number","string"].includes(typeof(null==i?void 0:i.value))&&""+i.value===e)return i.value}return null}function w(e,t){if(e||(e=t,t=void 0),!e)return e;var r=null!==t&&"object"==typeof t,n=function(e,n){if(r)if(Array.isArray(t)){if(t.length)if(Array.isArray(t[0]))for(var i,o=c(t);!(i=o()).done;){var a=i.value,l=a[0],s=a[1];if(l===e)return s}else if("number"==typeof n&&n<t.length)return t[n]}else{if(!0===e&&t.true)return t.true;if(!1===e&&t.false)return t.false;if("string"==typeof e&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}return null},o=!1;if(Array.isArray(e)){if(o=!0,e.length){var a=[],l=0;if(Array.isArray(e[0]))for(var s=0,u=e;s<u.length;s++){var d,p=u[s],m=p[0],f=p[1];a.push({label:null!==(d=n(m,l))&&void 0!==d?d:f,value:m}),l+=1}else if(null!==e[0]&&"object"==typeof e[0])for(var h,_=c(e);!(h=_()).done;){var v,g=h.value;a.push(i()({},g,{label:null!==(v=n(g.value,l))&&void 0!==v?v:g.label})),l+=1}else for(var b=0,y=e;b<y.length;b++){var x,w=y[b];a.push({label:null!==(x=n(w,l))&&void 0!==x?x:w,value:w}),l+=1}e=a}}else{for(var E=[],A=0,P=Object.keys(e);A<P.length;A++){var T,O=P[A];E.push({label:null!==(T=n(O))&&void 0!==T?T:e[O],value:O})}e=E}if(Array.isArray(t)&&t.length&&Array.isArray(t[0])){for(var C,N=new Map,S=0,k=c(t);!(C=k()).done;){var j=C.value[0];N.set(j,S),S+=1}e=e.sort((function(e,t){var r,n,i=e.value,o=t.value;return(null!==(r=N.get(i))&&void 0!==r?r:0)-(null!==(n=N.get(o))&&void 0!==n?n:0)}))}else o||(e=e.sort((function(e,t){var r=e.value,n=t.value;return r.localeCompare(n)})));return e}var E=function(e,t,r){var n;if(e.model.trim&&"string"==typeof t&&(t=t.trim().replace(/ +\n/g,"\\n")),e.model.emptyEqualsNull&&""===t)return null;var i=t;return![null,void 0].includes(t)&&null!=(n=r[e.model.type])&&n.parse&&(i=r[e.model.type].parse(t,e,r)),"number"==typeof i&&isNaN(i)?null:i};function A(e,t,r,n){var i;void 0===n&&(n=!0);var o=n?"final":"intermediate";if([null,void 0].includes(t)||"number"==typeof t&&isNaN(t))return"";var a=null==(i=r[e.type||e.model.type])?void 0:i.format;if(a){var l,s,c=(null==(l=a[o])?void 0:l.transform)||(null==(s=a.final)?void 0:s.transform);if(c)return c(t,e,r)}return String(t)}var P=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];return(0,s.useMemo)((function(){return e}),r)}},function(e){e.exports=p},function(e,t,r){r.d(t,{WrapThemeProvider:function(){return o}});var n=r(4),i=r(0),o=function(e){var t=e.children,r=e.configuration,o=e.wrap;return r?(0,i.jsx)(n.ThemeProvider,{options:r,wrap:!1!==o,children:t}):t}},function(e){e.exports=m},function(e,t,r){r.d(t,{x:function(){return o}});var n=r(2),i=r(0),o=function(e){var t=e.children;return e.strict?(0,i.jsx)(n.StrictMode,{children:t}):(0,i.jsx)(i.Fragment,{children:t})}},function(e){e.exports=n},function(e,t,r){r.d(t,{default:function(){return u}});var n=r(1),i=r.n(n),o=r(5),a=r(21),l=r(0),s={"generic-animate":"generic-animate","generic-animate__list-wrapper":"generic-animate__list-wrapper","generic-animate__wrapper":"generic-animate__wrapper","generic-animate-appear":"generic-animate-appear","generic-animate-enter":"generic-animate-enter","generic-animate-exit-active":"generic-animate-exit-active","generic-animate-appear-active":"generic-animate-appear-active","generic-animate-enter-active":"generic-animate-enter-active","generic-animate-exit":"generic-animate-exit","generic-animate-exit-done":"generic-animate-exit-done"},c=function(e){return(0,l.jsx)(a.CSSTransition,i()({appear:!0,classNames:s["generic-animate"],in:!0,timeout:200,unmountOnExit:!0},e,{children:"string"==typeof e.children?(0,l.jsx)("span",{className:s["generic-animate__wrapper"],children:e.children}):Array.isArray(e.children)?(0,l.jsx)("div",{className:s["generic-animate__list-wrapper"],children:e.children}):e.children}))};c.propTypes={appear:o.boolean,classNames:o.string,in:o.boolean,timeout:o.number};var u=c},,function(t){t.exports=e},function(e){e.exports=i},function(e){e.exports=r},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=x},function(e){e.exports=o},function(e){e.exports=c},function(e){e.exports=d},function(e){e.exports=s},function(e){e.exports=f},function(e){e.exports=g},function(e){e.exports=y},function(e,t,r){r.d(t,{Bg:function(){return b},Ko:function(){return x},au:function(){return g},rV:function(){return v}});var n=r(1),i=r.n(n),o=r(3),a=r.n(o),l=r(5),s={declaration:l.string,default:l.any,description:l.string,name:l.string,selection:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.number,l.string])),l.number,(0,l.objectOf)((0,l.oneOfType)([l.number,l.string])),l.string])),(0,l.objectOf)((0,l.oneOfType)([l.number,l.string]))]),type:l.string,value:l.any},c={dirty:(0,l.oneOfType)([l.boolean,l.symbol]),pristine:(0,l.oneOfType)([l.boolean,l.symbol]),touched:(0,l.oneOfType)([l.boolean,l.symbol]),untouched:(0,l.oneOfType)([l.boolean,l.symbol]),focused:(0,l.oneOfType)([l.boolean,l.symbol]),visited:(0,l.oneOfType)([l.boolean,l.symbol]),invalid:(0,l.oneOfType)([l.boolean,l.symbol]),invalidRequired:(0,l.oneOfType)([l.boolean,l.symbol]),valid:(0,l.oneOfType)([l.boolean,l.symbol])},u=i()({},s,{emptyEqualsNull:l.boolean,trim:l.boolean,invertedRegularExpressionPattern:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),regularExpressionPattern:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),maximum:(0,l.oneOfType)([l.number,l.string]),minimum:(0,l.oneOfType)([l.number,l.string]),maximumLength:l.number,minimumLength:l.number,mutable:l.boolean,writable:l.boolean,state:(0,l.shape)(c)}),d=i()({},s,c,{className:l.string,disabled:l.boolean,enforceUncontrolled:l.boolean,initialValue:l.any,inputProperties:l.object,model:(0,l.shape)(u),onChange:l.func,onChangeValue:l.func,onChangeShowDeclaration:l.func,onChangeState:l.func,onClick:l.func,onFocus:l.func,onTouch:l.func,required:l.boolean,requiredText:l.string,ripple:(0,l.oneOfType)([l.boolean,l.object]),showDeclaration:(0,l.oneOfType)([l.boolean,l.symbol]),showInitialValidationState:l.boolean,styles:l.object,themeConfiguration:l.object,tooltip:l.any}),p={dirty:!1,focused:!1,invalid:!1,invalidRequired:!1,pristine:!0,touched:!1,untouched:!0,valid:!0,visited:!1},m={declaration:"",default:null,description:"",emptyEqualsNull:!0,invertedRegularExpressionPattern:null,maximum:1/0,maximumLength:-1,minimum:-1/0,minimumLength:0,mutable:!0,name:"NO_NAME_DEFINED",nullable:!0,regularExpressionPattern:null,state:i()({},p),trim:!0,type:"string",writable:!0},f={enforceUncontrolled:!1,model:i()({},m),showDeclaration:void 0,showInitialValidationState:!1,requiredText:"Please fill this field."},h=(i()({},d,c,{checked:l.boolean,id:l.string}),i()({},m,{default:!1,type:"boolean",value:!1})),_=(i()({},f,{default:!1,model:i()({},h),requiredText:"Please check this field."}),i()({},c,{invalidMaximum:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMinimum:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMaximumLength:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMinimumLength:(0,l.oneOfType)([l.boolean,l.symbol]),invalidInvertedPattern:(0,l.oneOfType)([l.boolean,l.symbol]),invalidPattern:(0,l.oneOfType)([l.boolean,l.symbol])})),v=i()({},d,_,{align:l.string,children:l.func,cursor:(0,l.oneOfType)([(0,l.shape)({end:l.number.isRequired,start:l.number.isRequired}),l.symbol]),editor:l.string,editorIsActive:(0,l.oneOfType)([l.boolean,l.symbol]),hidden:(0,l.oneOfType)([l.boolean,l.symbol]),icon:(0,l.oneOfType)([l.string,l.object]),invertedPatternText:l.string,labels:(0,l.oneOfType)([(0,l.arrayOf)((0,l.arrayOf)(l.string)),(0,l.arrayOf)(l.string),l.object]),maximum:(0,l.oneOfType)([l.number,l.string]),maximumLengthText:l.string,maximumText:l.string,minimum:(0,l.oneOfType)([l.number,l.string]),minimumLengthText:l.string,minimumText:l.string,onBlur:l.func,onChangeEditorIsActive:l.func,onKeyDown:l.func,onKeyUp:l.func,onSelect:l.func,onSelectionChange:l.func,outlined:l.boolean,patternText:l.string,placeholder:l.string,representation:(0,l.oneOfType)([l.string,l.symbol]),rows:l.number,searchSelection:l.boolean,selectableEditor:l.boolean,step:l.number,suggestionCreator:l.func,suggestSelection:l.boolean,trailingIcon:l.any,transformer:l.object}),g=["children","suggestionCreator"],b=i()({},p,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),y=i()({},m,{state:b}),x=i()({},f,{cursor:{end:0,start:0},editor:"plain",invertedPatternText:'Your string should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',maximumLengthText:"Please type less or equal than ${maximumLength} symbols.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:i()({},y),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',rows:4,searchSelection:!1,selectableEditor:!1,step:1,suggestSelection:!1}),w=i()({},c,{invalidContentTypePattern:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMaximumSize:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMinimumSize:(0,l.oneOfType)([l.boolean,l.symbol]),invalidName:(0,l.oneOfType)([l.boolean,l.symbol])}),E=(i()({},d,w,{children:l.func,contentTypePatternText:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),invertedContentTypePatternText:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),deleteButton:(0,l.oneOfType)([l.object,l.string]),downloadButton:(0,l.oneOfType)([l.object,l.string]),editButton:(0,l.oneOfType)([l.object,l.string]),newButton:(0,l.oneOfType)([l.object,l.string]),encoding:l.string,generateFileNameInputProperties:l.func,maximumSizeText:l.string,minimumSizeText:l.string,onBlur:l.func,outlined:l.boolean}),i()({},p,{invalidContentTypePattern:!1,invalidMaximumSize:!1,invalidMinimumSize:!1,invalidName:!1})),A=i()({},m,{contentTypeRegularExpressionPattern:/^.+\/.+$/,invertedContentTypeRegularExpressionPattern:null,fileName:i()({},y,{maximumLength:1024,name:"Name",regularExpressionPattern:/^[^/]+$/}),maximumSize:1/0,minimumSize:0,state:E});delete i()({},x,{emptyEqualsNull:!1,invertedPatternText:'Your file\'s name should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: ""${[].concat(invertedPattern).join("\\", \\"")}".',patternText:'Your file\'s name has to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: ""${[].concat(pattern).join("\\", \\"")}".',required:!0}).model,i()({},f,{contentTypePatternText:'Your file\'s mime-type has to match the regular expression${[].concat(contentTypePattern).length > 1 ? "s" : ""}: ""${[].concat(contentTypePattern).join("\\", \\"")}".',invertedContentTypePatternText:'Your file\'s mime-type should not match the regular expression${[].concat(invertedContentTypePattern).length > 1 ? "s" : ""}: ""${[].concat(invertedContentTypePattern).join("\\", \\"")}".',deleteButton:"delete",downloadButton:"download",editButton:"edit",newButton:"new",encoding:"utf-8",generateFileNameInputProperties:a().identity,maximumSizeText:"Please provide a file with less or equal size than ${maximumSize} byte.",minimumSizeText:"Please provide a file with more or equal size than ${maximumSize} byte.",media:{sixteenByNine:!0},model:i()({},A),sourceToBlobOptions:{endings:"transparent",type:"text/plain"}}),i()({},d,_,{children:l.func,createItem:l.func,createPrototype:l.func,maximumNumber:l.number,minimumNumber:l.number});var P=i()({},m,{state:i()({},m.state,{invalidMaximumNumber:!1,invalidMinimumNumber:!1}),maximumNumber:1/0,minimumNumber:0,type:"string[]"});i()({},f,{addIcon:{icon:"add"},removeIcon:{icon:"clear"},createItem:function(e){return e.item},createPrototype:function(e){return e.item},model:i()({},P)}),i()({},v,{value:(0,l.shape)({end:(0,l.oneOfType)([l.number,(0,l.shape)(v)]),start:(0,l.oneOfType)([l.number,(0,l.shape)(v)])})}),i()({},p),i()({},y,{description:"End",name:"end"}),i()({},y,{description:"Start",name:"start"})}],P={};function T(e){var t=P[e];if(void 0!==t)return t.exports;var r=P[e]={exports:{}};return A[e](r,r.exports,T),r.exports}T.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return T.d(t,{a:t}),t},E=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},T.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var r=Object.create(null);T.r(r);var n={};_=_||[null,E({}),E([]),E(E)];for(var i=2&t&&e;"object"==typeof i&&!~_.indexOf(i);i=E(i))Object.getOwnPropertyNames(i).forEach((function(t){n[t]=function(){return e[t]}}));return n.default=function(){return e},T.d(r,n),r},T.d=function(e,t){for(var r in t)T.o(t,r)&&!T.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},T.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},T.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var O={};return function(){T.r(O),T.d(O,{ACEEditorOptions:function(){return R},GenericInput:function(){return V},GenericInputInner:function(){return B},TINYMCE_DEFAULT_OPTIONS:function(){return M},default:function(){return z},determineValidationState:function(){return D},preventEnterKeyPropagation:function(){return U},suggestionMatches:function(){return W}});var e=T(1),t=T.n(e),r=T(16),n=T.n(r),i=T(17),o=T.n(i),a=T(3),l=T.n(a),s=T(2),c=T(18),u=T(22),d=T(19),p=T(20),m=T(23),f=T(24),h=T(25),_=T(4),v=T(26),g=T(14),b=T(7),y=T(6),x=T(8),w=T(29),E=T(0);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 P(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)?P(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 P(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 C=!(void 0===typeof window),N=C?(0,a.optionalRequire)("react-useanimations"):null,S=C?(0,a.optionalRequire)("react-useanimations/lib/lock"):null,k=C?(0,a.optionalRequire)("react-useanimations/lib/plusToX"):null,j={"rmwc-circular-progress":"rmwc-circular-progress","rmwc-circular-progress--size-xsmall":"rmwc-circular-progress--size-xsmall","rmwc-circular-progress--size-small":"rmwc-circular-progress--size-small","rmwc-circular-progress--size-medium":"rmwc-circular-progress--size-medium","rmwc-circular-progress--size-large":"rmwc-circular-progress--size-large","rmwc-circular-progress--size-xlarge":"rmwc-circular-progress--size-xlarge","rmwc-circular-progress--indeterminate":"rmwc-circular-progress--indeterminate","rmwc-circular-progress__circle":"rmwc-circular-progress__circle","rmwc-circular-progress-indeterminate-bar-rotate":"rmwc-circular-progress-indeterminate-bar-rotate","rmwc-circular-progress__path":"rmwc-circular-progress__path","rmwc-circular-progress-indeterminate-bar-dash":"rmwc-circular-progress-indeterminate-bar-dash","rmwc-circular-progress--thickerstroke":"rmwc-circular-progress--thickerstroke","rmwc-icon":"rmwc-icon","mdc-form-field":"mdc-form-field","mdc-form-field--nowrap":"mdc-form-field--nowrap","mdc-form-field--align-end":"mdc-form-field--align-end","mdc-form-field--space-between":"mdc-form-field--space-between","mdc-icon-button":"mdc-icon-button","mdc-icon-button__icon":"mdc-icon-button__icon","mdc-icon-button__icon--on":"mdc-icon-button__icon--on","mdc-icon-button--on":"mdc-icon-button--on","mdc-ripple-upgraded":"mdc-ripple-upgraded","mdc-ripple-upgraded--unbounded":"mdc-ripple-upgraded--unbounded","mdc-ripple-upgraded--foreground-activation":"mdc-ripple-upgraded--foreground-activation","mdc-ripple-fg-radius-in":"mdc-ripple-fg-radius-in","mdc-ripple-fg-opacity-in":"mdc-ripple-fg-opacity-in","mdc-ripple-upgraded--foreground-deactivation":"mdc-ripple-upgraded--foreground-deactivation","mdc-ripple-fg-opacity-out":"mdc-ripple-fg-opacity-out","mdc-ripple-upgraded--background-focused":"mdc-ripple-upgraded--background-focused","mdc-ripple-surface":"mdc-ripple-surface","mdc-ripple-surface--primary":"mdc-ripple-surface--primary","mdc-ripple-surface--accent":"mdc-ripple-surface--accent","rmwc-icon--component":"rmwc-icon--component","rmwc-icon--url":"rmwc-icon--url","rmwc-icon--size-xsmall":"rmwc-icon--size-xsmall","rmwc-icon--size-small":"rmwc-icon--size-small","rmwc-icon--size-medium":"rmwc-icon--size-medium","rmwc-icon--size-large":"rmwc-icon--size-large","rmwc-icon--size-xlarge":"rmwc-icon--size-xlarge","mdc-list":"mdc-list","mdc-list-item__secondary-text":"mdc-list-item__secondary-text","mdc-list-item__graphic":"mdc-list-item__graphic","mdc-list-item__meta":"mdc-list-item__meta","mdc-list-item--disabled":"mdc-list-item--disabled","mdc-list-item__text":"mdc-list-item__text","mdc-list-item__primary-text":"mdc-list-item__primary-text","mdc-list-item--activated":"mdc-list-item--activated","mdc-list-item--selected":"mdc-list-item--selected","mdc-list--dense":"mdc-list--dense","mdc-list-item":"mdc-list-item","mdc-list--icon-list":"mdc-list--icon-list","mdc-list--avatar-list":"mdc-list--avatar-list","mdc-list--thumbnail-list":"mdc-list--thumbnail-list","mdc-list--image-list":"mdc-list--image-list","mdc-list--video-list":"mdc-list--video-list","material-icons":"material-icons","mdc-list--two-line":"mdc-list--two-line","mdc-list-divider":"mdc-list-divider","mdc-list-divider--padded":"mdc-list-divider--padded","mdc-list-divider--inset":"mdc-list-divider--inset","mdc-list-divider--inset-leading":"mdc-list-divider--inset-leading","mdc-list-divider--inset-trailing":"mdc-list-divider--inset-trailing","mdc-list-divider--padding":"mdc-list-divider--padding","mdc-list-divider--inset-padding":"mdc-list-divider--inset-padding","mdc-list-group":"mdc-list-group","mdc-list-group__subheader":"mdc-list-group__subheader","mdc-evolution-list-item__primary-text":"mdc-evolution-list-item__primary-text","mdc-evolution-list-item__secondary-text":"mdc-evolution-list-item__secondary-text","mdc-evolution-list-item__start":"mdc-evolution-list-item__start","mdc-evolution-list-item__end":"mdc-evolution-list-item__end","mdc-evolution-list-item--disabled":"mdc-evolution-list-item--disabled","mdc-evolution-list-item__content":"mdc-evolution-list-item__content","mdc-evolution-list-item--selected":"mdc-evolution-list-item--selected","mdc-evolution-list":"mdc-evolution-list","mdc-evolution-list-item":"mdc-evolution-list-item","mdc-evolution-list-item--with-one-line":"mdc-evolution-list-item--with-one-line","mdc-evolution-list-item--with-two-lines":"mdc-evolution-list-item--with-two-lines","mdc-evolution-list-item--with-three-lines":"mdc-evolution-list-item--with-three-lines","mdc-evolution-list-item__overline-text":"mdc-evolution-list-item__overline-text","mdc-evolution-list-item--with-leading-avatar":"mdc-evolution-list-item--with-leading-avatar","mdc-evolution-list-item--with-leading-icon":"mdc-evolution-list-item--with-leading-icon","mdc-evolution-list-item--with-leading-thumbnail":"mdc-evolution-list-item--with-leading-thumbnail","mdc-evolution-list-item--with-leading-image":"mdc-evolution-list-item--with-leading-image","mdc-evolution-list-item--with-leading-video":"mdc-evolution-list-item--with-leading-video","mdc-evolution-list-item--with-leading-checkbox":"mdc-evolution-list-item--with-leading-checkbox","mdc-evolution-list-item--with-leading-radio":"mdc-evolution-list-item--with-leading-radio","mdc-evolution-list-item--with-leading-switch":"mdc-evolution-list-item--with-leading-switch","mdc-evolution-list-item--with-trailing-icon":"mdc-evolution-list-item--with-trailing-icon","mdc-evolution-list-item--with-trailing-meta":"mdc-evolution-list-item--with-trailing-meta","mdc-evolution-list-item--with-trailing-checkbox":"mdc-evolution-list-item--with-trailing-checkbox","mdc-evolution-list-item--with-trailing-radio":"mdc-evolution-list-item--with-trailing-radio","mdc-evolution-list-item--with-trailing-switch":"mdc-evolution-list-item--with-trailing-switch","mdc-evolution-list-group":"mdc-evolution-list-group","mdc-evolution-list-group__subheader":"mdc-evolution-list-group__subheader","mdc-evolution-list-divider":"mdc-evolution-list-divider","mdc-evolution-list-divider--with-leading-padding":"mdc-evolution-list-divider--with-leading-padding","mdc-evolution-list-divider--with-leading-inset":"mdc-evolution-list-divider--with-leading-inset","mdc-evolution-list-divider--with-trailing-inset":"mdc-evolution-list-divider--with-trailing-inset","mdc-evolution-list-divider--with-leading-icon":"mdc-evolution-list-divider--with-leading-icon","mdc-evolution-list-divider--with-leading-image":"mdc-evolution-list-divider--with-leading-image","mdc-evolution-list-divider--with-leading-thumbnail":"mdc-evolution-list-divider--with-leading-thumbnail","mdc-evolution-list-divider--with-leading-video":"mdc-evolution-list-divider--with-leading-video","mdc-evolution-list-divider--with-leading-avatar":"mdc-evolution-list-divider--with-leading-avatar","mdc-evolution-list-divider--with-leading-checkbox":"mdc-evolution-list-divider--with-leading-checkbox","mdc-evolution-list-divider--with-leading-switch":"mdc-evolution-list-divider--with-leading-switch","mdc-evolution-list-divider--with-leading-radio":"mdc-evolution-list-divider--with-leading-radio","mdc-list-item__ripple":"mdc-list-item__ripple","mdc-evolution-list-item--activated":"mdc-evolution-list-item--activated","mdc-elevation-overlay":"mdc-elevation-overlay","mdc-menu":"mdc-menu","mdc-menu__selection-group":"mdc-menu__selection-group","mdc-menu__selection-group-icon":"mdc-menu__selection-group-icon","mdc-menu-item--selected":"mdc-menu-item--selected","mdc-menu-surface":"mdc-menu-surface","mdc-menu-surface--open":"mdc-menu-surface--open","mdc-menu-surface--animating-open":"mdc-menu-surface--animating-open","mdc-menu-surface--animating-closed":"mdc-menu-surface--animating-closed","mdc-menu-surface--anchor":"mdc-menu-surface--anchor","mdc-menu-surface--fixed":"mdc-menu-surface--fixed","mdc-menu-surface--fullwidth":"mdc-menu-surface--fullwidth","mdc-select":"mdc-select","mdc-select--disabled":"mdc-select--disabled","mdc-select__selected-text":"mdc-select__selected-text","mdc-floating-label":"mdc-floating-label","mdc-select--focused":"mdc-select--focused","mdc-select__dropdown-icon":"mdc-select__dropdown-icon","mdc-select-helper-text":"mdc-select-helper-text","mdc-select__icon":"mdc-select__icon","mdc-line-ripple":"mdc-line-ripple","mdc-notched-outline__leading":"mdc-notched-outline__leading","mdc-notched-outline__notch":"mdc-notched-outline__notch","mdc-notched-outline__trailing":"mdc-notched-outline__trailing","mdc-select__anchor":"mdc-select__anchor","mdc-select--with-leading-icon":"mdc-select--with-leading-icon","mdc-select__menu":"mdc-select__menu","mdc-select__dropdown-icon-active":"mdc-select__dropdown-icon-active","mdc-select__dropdown-icon-inactive":"mdc-select__dropdown-icon-inactive","mdc-select__dropdown-icon-graphic":"mdc-select__dropdown-icon-graphic","mdc-select--activated":"mdc-select--activated","mdc-floating-label--float-above":"mdc-floating-label--float-above","mdc-select__selected-text-container":"mdc-select__selected-text-container","mdc-select--invalid":"mdc-select--invalid","mdc-select-helper-text--validation-msg":"mdc-select-helper-text--validation-msg","mdc-select--filled":"mdc-select--filled","mdc-select--no-label":"mdc-select--no-label","mdc-menu-surface--is-open-below":"mdc-menu-surface--is-open-below","mdc-select--outlined":"mdc-select--outlined","mdc-floating-label--shake":"mdc-floating-label--shake","mdc-floating-label-shake-float-above-select-outlined-56px":"mdc-floating-label-shake-float-above-select-outlined-56px","mdc-notched-outline":"mdc-notched-outline","mdc-notched-outline--notched":"mdc-notched-outline--notched","mdc-floating-label-shake-float-above-select-outlined":"mdc-floating-label-shake-float-above-select-outlined","mdc-notched-outline--upgraded":"mdc-notched-outline--upgraded","mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px":"mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px","mdc-select__ripple":"mdc-select__ripple","mdc-select-helper-text--validation-msg-persistent":"mdc-select-helper-text--validation-msg-persistent","rmwc-select__native-control":"rmwc-select__native-control","mdc-floating-label--required":"mdc-floating-label--required","mdc-floating-label-shake-float-above-standard":"mdc-floating-label-shake-float-above-standard","mdc-line-ripple--active":"mdc-line-ripple--active","mdc-line-ripple--deactivating":"mdc-line-ripple--deactivating","mdc-notched-outline--no-label":"mdc-notched-outline--no-label","mdc-text-field--filled":"mdc-text-field--filled","mdc-text-field__ripple":"mdc-text-field__ripple","mdc-text-field":"mdc-text-field","mdc-text-field--disabled":"mdc-text-field--disabled","mdc-text-field__input":"mdc-text-field__input","mdc-text-field-helper-line":"mdc-text-field-helper-line","mdc-text-field-helper-text":"mdc-text-field-helper-text","mdc-text-field-character-counter":"mdc-text-field-character-counter","mdc-text-field__icon--leading":"mdc-text-field__icon--leading","mdc-text-field__icon--trailing":"mdc-text-field__icon--trailing","mdc-text-field__affix--prefix":"mdc-text-field__affix--prefix","mdc-text-field__affix--suffix":"mdc-text-field__affix--suffix","mdc-text-field--focused":"mdc-text-field--focused","mdc-text-field--no-label":"mdc-text-field--no-label","mdc-text-field__affix":"mdc-text-field__affix","mdc-text-field--label-floating":"mdc-text-field--label-floating","mdc-text-field--outlined":"mdc-text-field--outlined","mdc-text-field--end-aligned":"mdc-text-field--end-aligned","mdc-floating-label-shake-float-above-text-field-outlined":"mdc-floating-label-shake-float-above-text-field-outlined","mdc-text-field--with-leading-icon":"mdc-text-field--with-leading-icon","mdc-text-field--with-trailing-icon":"mdc-text-field--with-trailing-icon","mdc-text-field--textarea":"mdc-text-field--textarea","mdc-floating-label-shake-float-above-textarea-filled":"mdc-floating-label-shake-float-above-textarea-filled","mdc-floating-label-shake-float-above-textarea-outlined":"mdc-floating-label-shake-float-above-textarea-outlined","mdc-text-field--with-internal-counter":"mdc-text-field--with-internal-counter","mdc-text-field__resizer":"mdc-text-field__resizer","mdc-floating-label-shake-float-above-text-field-outlined-leading-icon":"mdc-floating-label-shake-float-above-text-field-outlined-leading-icon","mdc-text-field-helper-text--validation-msg":"mdc-text-field-helper-text--validation-msg","mdc-text-field--invalid":"mdc-text-field--invalid","mdc-text-field--ltr-text":"mdc-text-field--ltr-text","mdc-text-field-helper-text--persistent":"mdc-text-field-helper-text--persistent","mdc-text-field__icon":"mdc-text-field__icon","mdc-theme--primary":"mdc-theme--primary","mdc-theme--secondary":"mdc-theme--secondary","mdc-theme--background":"mdc-theme--background","mdc-theme--surface":"mdc-theme--surface","mdc-theme--error":"mdc-theme--error","mdc-theme--on-primary":"mdc-theme--on-primary","mdc-theme--on-secondary":"mdc-theme--on-secondary","mdc-theme--on-surface":"mdc-theme--on-surface","mdc-theme--on-error":"mdc-theme--on-error","mdc-theme--text-primary-on-background":"mdc-theme--text-primary-on-background","mdc-theme--text-secondary-on-background":"mdc-theme--text-secondary-on-background","mdc-theme--text-hint-on-background":"mdc-theme--text-hint-on-background","mdc-theme--text-disabled-on-background":"mdc-theme--text-disabled-on-background","mdc-theme--text-icon-on-background":"mdc-theme--text-icon-on-background","mdc-theme--text-primary-on-light":"mdc-theme--text-primary-on-light","mdc-theme--text-secondary-on-light":"mdc-theme--text-secondary-on-light","mdc-theme--text-hint-on-light":"mdc-theme--text-hint-on-light","mdc-theme--text-disabled-on-light":"mdc-theme--text-disabled-on-light","mdc-theme--text-icon-on-light":"mdc-theme--text-icon-on-light","mdc-theme--text-primary-on-dark":"mdc-theme--text-primary-on-dark","mdc-theme--text-secondary-on-dark":"mdc-theme--text-secondary-on-dark","mdc-theme--text-hint-on-dark":"mdc-theme--text-hint-on-dark","mdc-theme--text-disabled-on-dark":"mdc-theme--text-disabled-on-dark","mdc-theme--text-icon-on-dark":"mdc-theme--text-icon-on-dark","mdc-theme--primary-bg":"mdc-theme--primary-bg","mdc-theme--secondary-bg":"mdc-theme--secondary-bg","mdc-button":"mdc-button","mdc-button__ripple":"mdc-button__ripple","mdc-fab":"mdc-fab","mdc-fab__ripple":"mdc-fab__ripple","mdc-top-app-bar":"mdc-top-app-bar","mdc-tab-bar":"mdc-tab-bar","mdc-tab":"mdc-tab","mdc-tab--active":"mdc-tab--active","mdc-tab__text-label":"mdc-tab__text-label","mdc-drawer":"mdc-drawer","mdc-chip__text__primary-action":"mdc-chip__text__primary-action","mdc-linear-progress":"mdc-linear-progress","rmwc-tooltip":"rmwc-tooltip","rmwc-tooltip-hidden":"rmwc-tooltip-hidden","rmwc-tooltip-zoom-enter":"rmwc-tooltip-zoom-enter","rmwc-tooltip-zoom-leave":"rmwc-tooltip-zoom-leave","rmwc-tooltip-zoom-appear":"rmwc-tooltip-zoom-appear","rmwc-tooltip-zoom-appear-active":"rmwc-tooltip-zoom-appear-active","rmwc-tooltip-zoom-enter-active":"rmwc-tooltip-zoom-enter-active",rmwcToolTipIn:"rmwcToolTipIn","rmwc-tooltip-zoom-leave-active":"rmwc-tooltip-zoom-leave-active",rmwcToolTipOut:"rmwcToolTipOut","rmwc-tooltip-inner":"rmwc-tooltip-inner","rmwc-tooltip--show-arrow":"rmwc-tooltip--show-arrow","rmwc-tooltip-arrow":"rmwc-tooltip-arrow","rmwc-tooltip-arrow-inner":"rmwc-tooltip-arrow-inner","rmwc-tooltip-placement-top":"rmwc-tooltip-placement-top","rmwc-tooltip-placement-topLeft":"rmwc-tooltip-placement-topLeft","rmwc-tooltip-placement-topRight":"rmwc-tooltip-placement-topRight","rmwc-tooltip-placement-right":"rmwc-tooltip-placement-right","rmwc-tooltip-placement-rightBottom":"rmwc-tooltip-placement-rightBottom","rmwc-tooltip-placement-rightTop":"rmwc-tooltip-placement-rightTop","rmwc-tooltip-placement-left":"rmwc-tooltip-placement-left","rmwc-tooltip-placement-leftBottom":"rmwc-tooltip-placement-leftBottom","rmwc-tooltip-placement-leftTop":"rmwc-tooltip-placement-leftTop","rmwc-tooltip-placement-bottom":"rmwc-tooltip-placement-bottom","rmwc-tooltip-placement-bottomLeft":"rmwc-tooltip-placement-bottomLeft","rmwc-tooltip-placement-bottomRight":"rmwc-tooltip-placement-bottomRight","mdc-typography":"mdc-typography","mdc-typography--headline1":"mdc-typography--headline1","mdc-typography--headline2":"mdc-typography--headline2","mdc-typography--headline3":"mdc-typography--headline3","mdc-typography--headline4":"mdc-typography--headline4","mdc-typography--headline5":"mdc-typography--headline5","mdc-typography--headline6":"mdc-typography--headline6","mdc-typography--subtitle1":"mdc-typography--subtitle1","mdc-typography--subtitle2":"mdc-typography--subtitle2","mdc-typography--body1":"mdc-typography--body1","mdc-typography--body2":"mdc-typography--body2","mdc-typography--caption":"mdc-typography--caption","mdc-typography--button":"mdc-typography--button","mdc-typography--overline":"mdc-typography--overline","generic-input":"generic-input",ace_editor:"ace_editor","tox-tinymce":"tox-tinymce","generic-input--custom":"generic-input--custom","generic-input__editor__label":"generic-input__editor__label","generic-input__suggestions":"generic-input__suggestions","generic-input__suggestions--pending":"generic-input__suggestions--pending","generic-input__suggestions__suggestion":"generic-input__suggestions__suggestion","generic-input__suggestions__suggestion__mark":"generic-input__suggestions__suggestion__mark","mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px-rtl":"mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px-rtl","mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl":"mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl"},R={basePath:"/node_modules/ace-builds/src-noconflict/",useWorker:!1},I=(0,s.lazy)(n()(o().mark((function e(){var t,r,n,i,a,l,s;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(T.t.bind(T,27,23));case 2:for(t=e.sent,r=t.config,n=0,i=Object.entries(R);n<i.length;n++)a=i[n],l=a[0],s=a[1],r.set(l,s);return e.next=7,Promise.resolve().then(T.t.bind(T,28,23));case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})))),L=!1,q="/node_modules/tinymce/",M={base_url:q,skin_url:q+"skins/ui/oxide",theme_url:q+"themes/silver/theme.min.js",allow_conditional_comments:!1,allow_script_urls:!1,body_class:"mdc-text-field__input",branding:!1,cache_suffix:"?version=1662917152.677",contextmenu:[],document_base_url:"/",element_format:"xhtml",entity_encoding:"raw",fix_list_elements:!0,hidden_input:!1,icon:"material",invalid_elements:"em",invalid_styles:"color font-size line-height",keep_styles:!1,menubar:!1,plugins:["fullscreen","link","code","nonbreaking","searchreplace","visualblocks"],relative_urls:!1,remove_script_host:!1,remove_trailing_brs:!0,schema:"html5",toolbar1:"\n cut copy paste |\n undo redo removeformat |\n styleselect formatselect fontselect fontsizeselect |\n searchreplace visualblocks fullscreen code\n ".trim(),toolbar2:"\n alignleft aligncenter alignright alignjustify outdent indent |\n link nonbreaking bullist numlist bold italic underline strikethrough\n ".trim(),trim:!0};function D(e,t){return(0,x.determineValidationState)(e,t,{invalidMaximum:function(){return"number"==typeof e.model.maximum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.maximum>=0&&e.model.maximum<e.model.value},invalidMinimum:function(){return"number"==typeof e.model.minimum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.value<e.model.minimum},invalidMaximumLength:function(){return"number"==typeof e.model.maximumLength&&"string"==typeof e.model.value&&e.model.maximumLength>=0&&e.model.maximumLength<e.model.value.length},invalidMinimumLength:function(){return"number"==typeof e.model.minimumLength&&"string"==typeof e.model.value&&e.model.value.length<e.model.minimumLength},invalidInvertedPattern:function(){return"string"==typeof e.model.value&&[].concat(e.model.invertedRegularExpressionPattern).some((function(t){return"string"==typeof t&&new RegExp(t).test(e.model.value)||null!==t&&"object"==typeof t&&t.test(e.model.value)}))},invalidPattern:function(){return"string"==typeof e.model.value&&[].concat(e.model.regularExpressionPattern).some((function(t){return"string"==typeof t&&!new RegExp(t).test(e.model.value)||null!==t&&"object"==typeof t&&!t.test(e.model.value)}))}})}function U(e){l().keyCode.ENTER===e.keyCode&&e.stopPropagation()}function W(e,t){return!!t&&(e=e.toLowerCase(),t.replace(/ +/g," ").toLowerCase().split(" ").every((function(t){return e.includes(t)})))}var B=function(e,r){var n,i,o,a,w,P,T,O;(0,s.useEffect)((function(){if(Fe||be.selectionIsUnstable)if($e.editorIsActive){var e,r,n;null!=(e=oe.current)&&null!=(r=e.editor)&&r.selection?(oe.current.editor.textInput.focus(),$(oe.current),be.selectionIsUnstable&&ye(t()({},be,{selectionIsUnstable:!1}))):null!=(n=ue.current)&&n.selection&&(ue.current.focus(!1),H(ue.current),be.selectionIsUnstable&&ye(t()({},be,{selectionIsUnstable:!1})))}else se.current&&(se.current.setSelectionRange($e.cursor.start,$e.cursor.end),be.selectionIsUnstable&&ye(t()({},be,{selectionIsUnstable:!1})))}));var C=function(e){return"clear_preset"===e?{icon:(0,E.jsx)(g.default,{in:!l().equals($e.value,$e.default),children:N&&!N.isDummy&&k?(0,E.jsx)(N,{animation:k,reverse:!0}):(0,E.jsx)(p.IconButton,{icon:"clear"})}),onClick:function(e){e.preventDefault(),e.stopPropagation(),Z((0,x.parseValue)($e,$e.default,V.transformer))},strategy:"component",tooltip:"Clear input"}:"password_preset"===e?(0,x.useMemorizedValue)({icon:N&&!N.isDummy&&S?(0,E.jsx)(N,{animation:S,reverse:!$e.hidden}):(0,E.jsx)(p.IconButton,{icon:$e.hidden?"lock_open":"lock"}),onClick:function(e){e.preventDefault(),e.stopPropagation(),Ee((function(t){return void 0===t&&(t=$e.hidden),$e.hidden=!t,Y(e),$e.hidden}))},strategy:"component",tooltip:($e.hidden?"Show":"Hide")+" password"},$e.hidden):e},R=function(e){var t,r;return"string"===e.type?e.hidden?"password":"text":null!==(t=null==(r=Re[e.type])?void 0:r.type)&&void 0!==t?t:e.type},q=function(e){if("string"==typeof e){var r=l().stringEvaluate("`"+e+"`",t()({formatValue:function(e){return(0,x.formatValue)($e,e,Re)}},$e));return r.error?(console.warn("Given message template could not be proceed:",r.error),""):r.result}return""},B=function(e,r,n){return void 0===r&&(r={}),void 0===n&&(n=!0),"boolean"==typeof r?n?(0,E.jsx)(g.default,{in:r,children:e}):r?e:"":n?(0,E.jsx)(g.default,t()({},r,{children:e})):r.in?e:""},z=function(e){var r;if("object"==typeof e&&null!=(r=e)&&r.tooltip){var n=e.tooltip;delete(e=t()({},e)).tooltip;var i=t()({},e);e.strategy="component",e.icon=(0,E.jsx)(y.default,{options:n,children:(0,E.jsx)(d.Icon,{icon:i})})}return e},K=function(e,t,r){if(!$e.value)return 0;var n="generic-input-selection-indicator",i=" "+n+'="###"';t.setAttribute(n,"###");var o=e.innerHTML.replace(/(<\/p>)/gi,"$1\n");t.removeAttribute(n);var a=o.indexOf(i)+i.length;return r+o.indexOf(">",a)+1-i.length},X=function(e,t){return"string"==typeof $e.value||$e.value?t>0?e+$e.value.split("\n").slice(0,t).map((function(e){return 1+e.length})).reduce((function(e,t){return e+t})):e:0},F=function(e){var t={column:0,row:0};if("string"==typeof $e.value)for(var r,n=A($e.value.split("\n"));!(r=n()).done;){var i=r.value;if(!(i.length<e)){t.column=e;break}e-=1+i.length,t.row+=1}return t},$=function(e){var t=e.editor.selection.getRange(),r=F($e.cursor.end);t.setEnd(r.row,r.column);var n=F($e.cursor.start);t.setStart(n.row,n.column),e.editor.selection.setRange(t)},H=function(e){for(var t={end:"###generic-input-selection-indicator-end###",start:"###generic-input-selection-indicator-start###"},r={end:$e.cursor.end+t.start.length,start:$e.cursor.start},n=["start","end"],i=$e.representation,o=0,a=n;o<a.length;o++){var s=a[o];i=i.substring(0,r[s])+t[s]+i.substring(r[s])}e.getBody().innerHTML=i;for(var c,u=document.createTreeWalker(e.getBody(),NodeFilter.SHOW_TEXT,null),d=e.dom.createRng(),p={};c=u.nextNode();)for(var m,f=A(n);!(m=f()).done;){var h=m.value;if(c.nodeValue){var _=c.nodeValue.indexOf(t[h]);_>-1&&(c.nodeValue=c.nodeValue.replace(t[h],""),p[h]=[c,_])}}for(var v=0,g=n;v<g.length;v++){var b=g[v];p[b]&&d["set"+l().stringCapitalize(b)].apply(d,p[b])}p.end&&p.start&&e.selection.setRng(d)},G=function(e){var t=(0,x.getConsolidatedProperties)(function(e){var t=(0,x.mapPropertiesIntoModel)(e,V.defaultProperties.model);return t.model.value=(0,x.parseValue)(t,t.model.value,Re),D(t,t.model.state),t}(e));return t.selection||"boolean"!==t.type||(t.selection=[{label:"No",value:!1},{label:"Yes",value:!0}]),t.selectableEditor||"plain"===t.editor||(t.editorIsActive=!0),"string"!=typeof t.representation&&(t.representation=(0,x.formatValue)(t,t.value,Re,!t.focused),t.focused&&t.representation!==t.value&&["password","text"].includes(R(t))&&(Fe=!0)),t},Y=function(e){l().extend(!0,$e,G($e)),(0,x.triggerCallbackIfExists)($e,"change",Ke,$e,e)},J=function(e){e&&(e.preventDefault(),e.stopPropagation()),ye((function(t){var r=t.editorIsActive;return $e.editorIsActive=!r,Y(e),(0,x.triggerCallbackIfExists)($e,"changeEditorIsActive",Ke,$e.editorIsActive,e,$e),{editorIsActive:$e.editorIsActive,selectionIsUnstable:!0}}))},Q=function(e){e&&(e.preventDefault(),e.stopPropagation()),Ne((function(t){return $e.showDeclaration=!t,Y(e),(0,x.triggerCallbackIfExists)($e,"changeShowDeclaration",Ke,$e.showDeclaration,e,$e),$e.showDeclaration}))},Z=function(e,r,n){if(void 0===n&&(n=-1),!$e.disabled){var i;if(Te(!0),null!==e&&"object"==typeof e){var o=e.target||e.detail;if(o)if("number"==typeof o.index){var a=o.index-($e.placeholder?1:0);$e.value=a>=0&&a<We.length?We[a]:null}else $e.value=void 0===o.value?null:o.value;else $e.value=e}else $e.value=e;var s=function(){return ze((function(e){if(!Xe&&e.representation===$e.representation&&!$e.suggestionCreator&&-1===n)return e;var r=t()({},e,{representation:$e.representation});if(!Ke&&l().equals(e.value,$e.value))return r;r.value=$e.value;var o=!1;return e.modelState.pristine&&($e.dirty=!0,$e.pristine=!1,o=!0),Y(i),D($e,e.modelState)&&(o=!0),(0,x.triggerCallbackIfExists)($e,"changeValue",Ke,$e.value,i,$e),o&&(r.modelState=$e.model.state,(0,x.triggerCallbackIfExists)($e,"changeState",Ke,$e.model.state,i,$e)),(ct||-1!==n)&&(0,x.triggerCallbackIfExists)($e,"select",Ke,i,$e),r}))};if($e.representation=-1!==n?et[n]:"string"==typeof $e.value?$e.value:(0,x.formatValue)($e,$e.value,Re),rt)if($e.suggestionCreator){var c=new AbortController,u=function(e){if(!c.signal.aborted){if(qe((function(t){return t instanceof AbortController&&!t.signal.aborted&&t.abort(),e})),-1===n){var t=(0,x.getValueFromSelection)($e.representation,(0,x.normalizeSelection)(e));null!==t||$e.searchSelection?$e.value=t:$e.value=(0,x.parseValue)($e,$e.representation,Re)}s()}},d=$e.suggestionCreator({abortController:c,properties:$e,query:$e.representation});null!=d&&d.then?(qe((function(e){return e instanceof AbortController&&!e.signal.aborted&&e.abort(),c})),ze((function(e){return t()({},e,{representation:$e.representation})})),d.then(u,l().noop)):u(d)}else{if(-1===n){var p=(0,x.getValueFromSelection)($e.representation,Me);null!==p||$e.searchSelection?$e.value=p:$e.value=(0,x.parseValue)($e,$e.representation,Re)}s()}else $e.value=(0,x.parseValue)($e,$e.value,Re),s()}},ee=function(e){ne(e),(0,x.triggerCallbackIfExists)($e,"click",Ke,e,$e),ie(e)},te=function(e){(0,x.triggerCallbackIfExists)($e,"focus",Ke,e,$e),ie(e)},re=function(e){e.keyCode&&(ne(e),(0,x.triggerCallbackIfExists)($e,"keyUp",Ke,e,$e))},ne=function(e){!function(e){var t,r,n,i,o,a,l,s=null==(t=oe.current)||null==(r=t.editor)||null==(n=r.selection)?void 0:n.getRange(),c=null==(i=ue.current)||null==(o=i.selection)?void 0:o.getRng(),u=null==(a=se.current)?void 0:a.selectionEnd,d=null==(l=se.current)?void 0:l.selectionStart;if(s)ve({end:X(s.end.column,"number"==typeof s.end.row?s.end.row:"string"==typeof $e.value?$e.value.split("\n").length-1:0),start:X(s.start.column,"number"==typeof s.start.row?s.start.row:"string"==typeof $e.value?$e.value.split("\n").length-1:0)});else if(c)ve({end:K(ue.current.getBody(),ue.current.selection.getEnd(),c.endOffset),start:K(ue.current.getBody(),ue.current.selection.getStart(),c.startOffset)});else if("number"==typeof u&&"number"==typeof d){var p,m=1===(null==e||null==(p=e.key)?void 0:p.length)?1:"Backspace"===(null==e?void 0:e.key)&&$e.representation.length>d?-1:0;ve({end:u+m,start:d+m})}}(e),(0,x.triggerCallbackIfExists)($e,"selectionChange",Ke,e,$e)},ie=function(e){return ze((function(r){var n=!1;r.modelState.focused||($e.focused=!0,n=!0),r.modelState.untouched&&($e.touched=!0,$e.untouched=!1,n=!0);var i=r;return n&&(Y(e),i=t()({},r,{modelState:$e.model.state}),(0,x.triggerCallbackIfExists)($e,"changeState",Ke,$e.model.state,e,$e)),(0,x.triggerCallbackIfExists)($e,"touch",Ke,e,$e),i}))},oe=(0,s.useRef)(null),ae=(0,s.useRef)(null),le=(0,s.useRef)(null),se=(0,s.useRef)(null),ce=(0,s.useRef)(null),ue=(0,s.useRef)(null),de=(0,s.useRef)(null),pe=(0,s.useRef)(null),me=(0,s.useRef)(null),fe=(0,x.translateKnownSymbols)(e),he=(0,s.useState)({end:0,start:0}),_e=he[0],ve=he[1],ge=(0,s.useState)({editorIsActive:!1,selectionIsUnstable:!1}),be=ge[0],ye=ge[1],xe=(0,s.useState)(),we=xe[0],Ee=xe[1],Ae=(0,s.useState)(!1),Pe=Ae[0],Te=Ae[1],Oe=(0,s.useState)(!1),Ce=Oe[0],Ne=Oe[1],Se=(0,x.determineInitialValue)(fe,null==(n=V.defaultProperties.model)?void 0:n.default);Se instanceof Date&&(Se=Se.getTime()/1e3);var ke=l().extend(!0,l().copy(V.defaultProperties),fe),je=ke.type||(null==(i=ke.model)?void 0:i.type)||"string",Re=ke.transformer?t()({},V.transformer,((o={})[je]=l().extend(!0,l().copy(V.transformer[je])||{},ke.transformer),o)):V.transformer,Ie=(0,s.useState)(),Le=Ie[0],qe=Ie[1];(ke.selection||null!=(a=ke.model)&&a.selection)&&(Le=ke.selection||(null==(w=ke.model)?void 0:w.selection));var Me=Le instanceof AbortController?[]:(0,x.normalizeSelection)(Le,ke.labels),De=Le instanceof AbortController?[[],[]]:(0,x.getLabelAndValues)(Me),Ue=De[0],We=De[1],Be=(0,s.useState)((function(){return{modelState:t()({},V.defaultModelState),representation:(0,x.determineInitialRepresentation)(ke,V.defaultProperties,Se,Re,Me),value:Se}})),Ve=Be[0],ze=Be[1],Ke=!ke.enforceUncontrolled&&(void 0!==(null==(P=fe.model)?void 0:P.value)||void 0!==fe.value)&&Boolean(fe.onChange||fe.onChangeValue),Xe=Ke&&void 0!==fe.representation,Fe=!1;null!==ke.cursor&&"object"==typeof ke.cursor||(ke.cursor={}),void 0===ke.cursor.end&&(ke.cursor.end=_e.end),void 0===ke.cursor.start&&(ke.cursor.start=_e.start),void 0===ke.editorIsActive&&(ke.editorIsActive=be.editorIsActive),void 0===ke.hidden&&(ke.hidden=we),void 0===ke.representation&&(ke.representation=Ve.representation),void 0===ke.showDeclaration&&(ke.showDeclaration=Ce),(0,x.deriveMissingPropertiesFromState)(ke,Ve),void 0===ke.value?void 0===ke.representation&&void 0===ke.model.value&&(ke.representation=Ve.representation):Xe||ke.value===Ve.value||(ke.representation=void 0);var $e=G(ke);void 0===$e.hidden&&($e.hidden=null==(T=$e.name)?void 0:T.startsWith("password")),l().equals($e.cursor,_e)||ve($e.cursor),$e.editorIsActive!==be.editorIsActive&&ye(t()({},be,{editorIsActive:$e.editorIsActive})),$e.hidden!==we&&Ee($e.hidden),$e.showDeclaration!==Ce&&Ne($e.showDeclaration);var He={modelState:$e.model.state,representation:$e.representation,value:$e.value};(Ke||l().equals($e.value,Ve.value)&&$e.representation===Ve.representation)&&l().equals($e.model.state,Ve.modelState)||ze(He),Ke&&(ze=(0,x.wrapStateSetter)(ze,He)),(0,s.useImperativeHandle)(r,(function(){for(var e,t={modelState:$e.model.state},r=A(["cursor","editorIsActive","hidden","showDeclaration"]);!(e=r()).done;){var n=e.value;Object.prototype.hasOwnProperty.call(fe,n)||(t[n]=$e[n])}return Xe||(t.representation=$e.representation),Ke||(t.value=$e.value),{properties:$e,references:{codeEditorReference:oe,codeEditorInputReference:ae,foundationReference:le,inputReference:se,richTextEditorInputReference:ce,richTextEditorInstance:ue,richTextEditorReference:de,suggestionMenuAPIReference:pe,suggestionMenuFoundationReference:me},state:t}}));var Ge={onBlur:function(e){return ze((function(t){Te(!1);var r=!1,n=!1;if(t.modelState.focused&&($e.focused=!1,r=!0,n=!0),t.modelState.visited||($e.visited=!0,r=!0,n=!0),!rt||$e.suggestSelection){var i=(0,x.getValueFromSelection)($e.representation,Me);null===i?($e.value=(0,x.parseValue)($e,$e.value,Re),$e.representation=(0,x.formatValue)($e,$e.value,Re)):$e.value=i}return l().equals(t.value,$e.value)&&t.representation===$e.representation||(r=!0),r&&Y(e),l().equals(t.value,$e.value)||(0,x.triggerCallbackIfExists)($e,"changeValue",Ke,$e.value,e,$e),n&&(0,x.triggerCallbackIfExists)($e,"changeState",Ke,$e.model.state,e,$e),(0,x.triggerCallbackIfExists)($e,"blur",Ke,e,$e),r?{modelState:$e.model.state,representation:$e.representation,value:$e.value}:t}))},onFocus:function(e){Te(!0),te(e)},placeholder:$e.placeholder},Ye={disabled:$e.disabled,helpText:{children:(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(g.default,{in:$e.selectableEditor&&"string"===$e.type&&"plain"!==$e.editor,children:(0,E.jsx)(p.IconButton,{icon:{icon:$e.editorIsActive?"subject":$e.editor.startsWith("code")?"code":"text_format",onClick:J}})}),(0,E.jsx)(g.default,{in:Boolean($e.declaration),children:(0,E.jsx)(p.IconButton,{icon:{icon:"more_"+($e.showDeclaration?"vert":"horiz"),onClick:Q}})}),(0,E.jsx)(g.default,{in:$e.showDeclaration,children:$e.declaration}),(0,E.jsx)(g.default,{in:!$e.showDeclaration&&$e.invalid&&($e.showInitialValidationState||$e.visited),children:(0,E.jsx)(_.Theme,{use:"error",children:q($e.invalidMaximum&&$e.maximumText||$e.invalidMaximumLength&&$e.maximumLengthText||$e.invalidMinimum&&$e.minimumText||$e.invalidMinimumLength&&$e.minimumLengthText||$e.invalidInvertedPattern&&$e.invertedPatternText||$e.invalidPattern&&$e.patternText||$e.invalidRequired&&$e.requiredText)})})]}),persistent:Boolean($e.declaration)},invalid:$e.showInitialValidationState&&$e.invalid,label:$e.description||$e.name,outlined:$e.outlined,required:$e.required};$e.icon&&(Ye.icon=z(C($e.icon)));var Je=t()({},M,{content_style:$e.disabled?"body {opacity: .38}":"",placeholder:$e.placeholder,readonly:Boolean($e.disabled),setup:function(e){ue.current=e,ue.current.on("init",(function(){ue.current&&(L=!0,$e.editorIsActive&&be.selectionIsUnstable&&(ue.current.focus(!1),H(ue.current),ye(t()({},be,{selectionIsUnstable:!1}))))}))}});$e.editor.endsWith("raw)")?(Je.toolbar1="cut copy paste | undo redo removeformat | code | fullscreen",delete Je.toolbar2):$e.editor.endsWith("simple)")?(Je.toolbar1="cut copy paste | undo redo removeformat | bold italic underline strikethrough subscript superscript | fullscreen",delete Je.toolbar2):$e.editor.endsWith("normal)")&&(Je.toolbar1="cut copy paste | undo redo removeformat | styleselect formatselect | searchreplace visualblocks fullscreen code");var Qe=!$e.selection&&"string"===$e.type&&$e.editorIsActive&&($e.editor.startsWith("code")||$e.editor.startsWith("richtext(")),Ze=[],et=[],tt=[],rt=Boolean($e.suggestionCreator||Ue.length&&($e.searchSelection||$e.suggestSelection));if(rt&&Ue.length){$e.suggestSelection=!$e.searchSelection;for(var nt,it=0,ot=A(Ue);!(nt=ot()).done;){var at=nt.value;if(l().isFunction($e.children)){var lt=$e.children({index:it,normalizedSelection:Me,properties:$e,query:$e.representation,suggestion:at,value:We[it]});lt&&(Ze.push((0,E.jsx)(m.MenuItem,{className:j["generic-input__suggestions__suggestion"],children:lt},it)),et.push(at),tt.push(We[it]))}else if(!$e.representation||$e.suggestionCreator||W(at,$e.representation)){var st;Ze.push((0,E.jsx)(m.MenuItem,{className:j["generic-input__suggestions__suggestion"],children:l().stringMark(at,(null==(st=$e.representation)?void 0:st.split(" "))||"",(function(e){return(""+e).toLowerCase()}),(function(e){return(0,E.jsx)("span",{className:j["generic-input__suggestions__suggestion__mark"],children:e})}),null).map((function(e,t){return(0,E.jsx)("span",{children:e},t)}))},it)),et.push(at),tt.push(We[it])}it+=1}}var ct=(Boolean(Me)||Boolean($e.labels))&&!rt,ut={};return"number"===$e.type?(ut.step=$e.step,$e.maximum!==1/0&&(ut.max=$e.maximum),$e.minimum!==-1/0&&(ut.min=$e.minimum)):"string"===$e.type?($e.maximumLength>=0&&$e.maximumLength!==1/0&&(ut.maxLength=$e.maximumLength),$e.minimumLength>0&&(ut.minLength=$e.minimumLength),"plain"!==$e.editor&&(ut.rows=$e.rows)):["date","datetime-local","time","time-local"].includes($e.type)&&(ut.step=$e.step,$e.maximum!==1/0&&(ut.max=(0,x.formatValue)($e,$e.maximum,Re)),$e.minimum!==-1/0&&(ut.min=(0,x.formatValue)($e,$e.minimum,Re))),(0,E.jsx)(b.default,{strict:V.strict,themeConfiguration:$e.themeConfiguration,tooltip:$e.tooltip,children:(0,E.jsxs)("div",{className:[j["generic-input"]].concat(Qe?j["generic-input--custom"]:[],null!==(O=$e.className)&&void 0!==O?O:[]).join(" "),style:$e.styles,children:[B((0,E.jsx)(f.Select,t()({},Ge,Ye,{enhanced:!0,foundationRef:le,inputRef:se,onChange:Z,options:Me,rootProps:t()({name:$e.name,onClick:ee},$e.rootProps),value:""+$e.value},$e.inputProperties)),ct),B([(0,E.jsx)(u.FormField,{className:["mdc-text-field"].concat($e.disabled?"mdc-text-field--disabled":[],"mdc-text-field--textarea").join(" "),onKeyDown:U,children:(0,E.jsxs)("label",{children:[(0,E.jsx)("span",{className:[j["generic-input__editor__label"]].concat("mdc-floating-label","mdc-floating-label--float-above").join(" "),children:(0,E.jsx)(_.Theme,{use:$e.invalid&&($e.showInitialValidationState||$e.visited)?"error":void 0,children:($e.description||$e.name)+($e.required?"*":"")})}),$e.editor.startsWith("code")?(0,E.jsx)(s.Suspense,{fallback:(0,E.jsx)(c.CircularProgress,{size:"large"}),children:(0,E.jsx)(I,t()({},Ge,{className:"mdc-text-field__input",mode:$e.editor.startsWith("code(")&&$e.editor.endsWith(")")?$e.editor.substring("code(".length,$e.editor.length-1):"javascript",name:$e.name,onChange:Z,onCursorChange:ne,onSelectionChange:ne,ref:function(e){var r,n,i;oe.current=e,null!=(r=oe.current)&&null!=(n=r.editor)&&null!=(i=n.container)&&i.querySelector("textarea")&&(ae.current=oe.current.editor.container.querySelector("textarea")),oe.current&&$e.editorIsActive&&be.selectionIsUnstable&&(oe.current.editor.textInput.focus(),$(oe.current),ye(t()({},be,{selectionIsUnstable:!1})))},setOptions:{maxLines:$e.rows,minLines:$e.rows,readOnly:$e.disabled,tabSize:4,useWorker:!1},theme:"github",value:$e.representation},$e.inputProperties))}):(0,E.jsx)(v.Editor,t()({},Ge,{disabled:$e.disabled,init:Je,onClick:ee,onEditorChange:Z,onKeyUp:re,ref:function(e){de.current=e},textareaName:$e.name,tinymceScriptSrc:M.base_url+"tinymce.min.js",value:$e.representation},$e.inputProperties))]})},"advanced-editor-form-field"),(0,E.jsx)("div",{className:"mdc-text-field-helper-line",children:(0,E.jsx)("p",{className:"mdc-text-field-helper-text mdc-text-field-helper-text--persistent",children:Ye.helpText.children})},"advanced-editor-helper-line")],Qe,L||$e.editor.startsWith("code")),B((0,E.jsxs)("div",{children:[rt?(0,E.jsx)(m.MenuSurfaceAnchor,{onKeyDown:U,children:Le instanceof AbortController?(0,E.jsx)(m.MenuSurface,{anchorCorner:"bottomLeft",className:j["generic-input__suggestions"]+" "+j["generic-input__suggestions--pending"],open:!0,children:(0,E.jsx)(c.CircularProgress,{size:"large"})}):(0,E.jsx)(m.Menu,{anchorCorner:"bottomLeft",apiRef:function(e){pe.current=e},className:j["generic-input__suggestions"],focusOnOpen:!1,foundationRef:me,onFocus:te,onSelect:function(e){Z(tt[e.detail.index],void 0,e.detail.index),Te(!1)},open:Boolean(et.length)&&Pe&&!(1===et.length&&et[0]===$e.representation),children:Ze})}):"",(0,E.jsx)(h.TextField,t()({},Ge,Ye,ut,{align:$e.align,characterCount:"number"==typeof $e.maximumLength&&!isNaN($e.maximumLength)&&$e.maximumLength>=0,foundationRef:le,inputRef:se,onChange:Z,ripple:$e.ripple,rootProps:t()({name:$e.name,onClick:ee,onKeyDown:function(e){var t;rt&&l().keyCode.DOWN===e.keyCode&&(null==(t=pe.current)||t.focusItemAtIndex(0)),"string"===$e.type&&"plain"!==$e.editor&&U(e),(0,x.triggerCallbackIfExists)($e,"keyDown",Ke,e,$e)},onKeyUp:re},$e.rootProps),textarea:"string"===$e.type&&"plain"!==$e.editor,trailingIcon:z(C($e.trailingIcon)),type:R($e),value:$e.representation},$e.inputProperties))]}),!(Qe||ct),L||$e.editor.startsWith("code"))]})})};B.displayName="GenericInput";var V=(0,s.memo)((0,s.forwardRef)(B));V.wrapped=B,V.webComponentAdapterWrapped="react",V.defaultModelState=w.Bg,V.defaultProperties=t()({},w.Ko,{cursor:void 0,model:t()({},w.Ko.model,{state:void 0,value:void 0}),representation:void 0,value:void 0}),V.locales=l().locales,V.propTypes=w.rV,V.renderProperties=w.au,V.strict=!1,V.transformer={boolean:{parse:function(e){var t;return"boolean"==typeof e?e:null===(t=new Map([["false",!1],["true",!0],[0,!1],[1,!0]]).get(e))||void 0===t||t},type:"text"},currency:{format:{final:{options:{currency:"USD"},transform:function(e,r,n){var i,o,a,l,s,c=null!==(i=null==(o=n.currency.format)||null==(a=o.final.options)?void 0:a.currency)&&void 0!==i?i:"USD";return e===1/0?"Infinity "+c:e===-1/0?"- Infinity "+c:isNaN(e)?"unknown":new Intl.NumberFormat(V.locales,t()({style:"currency"},null!==(l=null==(s=n.currency.format)?void 0:s.final.options)&&void 0!==l?l:{})).format(e)}}},parse:function(e,t,r){return r.float.parse?r.float.parse(e,t,r):NaN},type:"text"},date:{format:{final:{transform:function(e,t,r){if("number"!=typeof e)if(r.date.parse)e=r.date.parse(e,t,r);else{var n=e instanceof Date?e.getTime()/1e3:Date.parse(e);if(isNaN(n)){var i=parseFloat(e);e=isNaN(i)?0:i}else e=n/1e3}if(e===1/0)return"Infinitely far in the future";if(e===-1/0)return"Infinitely early in the past";if(!isFinite(e))return"";var o=new Date(Math.round(1e3*e)).toISOString();return o.substring(0,o.indexOf("T"))}}},parse:function(e){if("number"==typeof e)return e;if(e instanceof Date)return e.getTime()/1e3;var t=Date.parse(e);if(isNaN(t)){var r=parseFloat(e);return isNaN(r)?0:r}return t/1e3}},"datetime-local":{format:{final:{transform:function(e,t,r){if("number"!=typeof e)if(r["datetime-local"].parse)e=r["datetime-local"].parse(e,t,r);else{var n=e instanceof Date?e.getTime()/1e3:Date.parse(e);if(isNaN(n)){var i=parseFloat(e);e=isNaN(i)?0:i}else e=n/1e3}if(e===1/0)return"Infinitely far in the future";if(e===-1/0)return"Infinitely early in the past";if(!isFinite(e))return"";var o=new Date(Math.round(1e3*e)).toISOString();return o.substring(0,o.length-1)}}},parse:function(e,t,r){if(r.date.parse)return r.date.parse(e,t,r);if(e instanceof Date)return e.getTime()/1e3;var n=Date.parse(e);if(isNaN(n)){var i=parseFloat(e);return isNaN(i)?0:i}return n/1e3}},time:{format:{final:{transform:function(e,t,r){if("number"!=typeof e)if(r.time.parse)e=r.time.parse(e,t,r);else{var n=e instanceof Date?e.getTime()/1e3:Date.parse(e);if(isNaN(n)){var i=parseFloat(e);e=isNaN(i)?0:i}else e=n/1e3}if(e===1/0)return"Infinitely far in the future";if(e===-1/0)return"Infinitely early in the past";if(!isFinite(e))return"";var o=new Date(Math.round(1e3*e)).toISOString();return o=o.substring(o.indexOf("T")+1,o.length-1),t.step&&t.step>=60&&t.step%60==0?o.substring(0,o.lastIndexOf(":")):o}}},parse:function(e){if("number"==typeof e)return e;if(e instanceof Date)return e.getTime()/1e3;var t=Date.parse(e);if(isNaN(t)){var r=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,(function(e,t,r,n,i,o){return String(parseInt(t)*Math.pow(60,2)+60*parseInt(r)+(n?parseFloat(i):0))})));return isNaN(r)?0:r}return t/1e3}},"time-local":{format:{final:{transform:function(e,t,r){if("number"!=typeof e)if(r["time-local"].parse)e=r["time-local"].parse(e,t,r);else{var n=e instanceof Date?e.getTime()/1e3:Date.parse(e);if(isNaN(n)){var i=parseFloat(e);e=isNaN(i)?0:i}else e=n/1e3}if(e===1/0)return"Infinitely far in the future";if(e===-1/0)return"Infinitely early in the past";if(!isFinite(e))return"";var o=new Date(Math.round(1e3*e)),a=o.getHours(),l=o.getMinutes(),s=(a<10?"0":"")+String(a)+":"+(l<10?"0":"")+String(l);if(!(t.step&&t.step>=60&&t.step%60==0)){var c=o.getSeconds();return s+":"+(c<10?"0":"")+String(c)}return s}}},parse:function(e){if("number"==typeof e)return e;if(e instanceof Date)return e.getTime()/1e3;var t=Date.parse(e);if(isNaN(t)){var r=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,(function(e,t,r,n,i,o){var a=new Date(0);return a.setHours(parseInt(t)),a.setMinutes(parseInt(r)),n&&a.setSeconds(parseInt(i)),String(a.getTime()/1e3)})));return isNaN(r)?0:r}return t/1e3}},float:{format:{final:{transform:function(e,t,r){return r.float.format?e===1/0?"Infinity":e===-1/0?"- Infinity":new Intl.NumberFormat(V.locales,r.float.format.final.options||{}).format(e):""+e}}},parse:function(e,t){return"string"==typeof e&&(e=parseFloat("de-DE"===V.locales[0]?e.replace(/\./g,"").replace(/,/g,"."):e)),"number"==typeof e&&("number"==typeof t.minimum&&t.minimum>=0&&e<0||"number"==typeof t.maximum&&t.maximum<=0&&e>0)&&(e*=-1),e},type:"text"},integer:{format:{final:{transform:function(e,r,n){var i,o;return new Intl.NumberFormat(V.locales,t()({maximumFractionDigits:0},null!==(i=null==(o=n.integer.format)?void 0:o.final.options)&&void 0!==i?i:{})).format(e)}}},parse:function(e,t){return"string"==typeof e&&(e=parseInt("de-DE"===V.locales[0]?e.replace(/[,.]/g,""):e)),"number"==typeof e&&("number"==typeof t.minimum&&t.minimum>=0&&e<0||"number"==typeof t.maximum&&t.maximum<=0&&e>0)&&(e*=-1),e},type:"text"},number:{parse:function(e){return"number"==typeof e?e:parseInt(e)}}};var z=V}(),O}())}],__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__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__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__={};return function(){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{GenericInput:function(){return i}});var e=__webpack_require__(0),t=__webpack_require__(34),r=__webpack_require__.n(t),n=__webpack_require__(1),i=__webpack_require__.n(n)()(r(),"GenericInput",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:e.boolean,focused:e.boolean,invalid:e.boolean,invalidMaximum:e.boolean,invalidMaximumLength:e.boolean,invalidMinimum:e.boolean,invalidMinimumLength:e.boolean,invalidPattern:e.boolean,invalidRequired:e.boolean,name:e.string,pristine:e.boolean,touched:e.boolean,untouched:e.boolean,valid:e.boolean,visited:e.boolean}});__webpack_exports__.default=i}(),__webpack_exports__}()}));