web-input-material 0.0.275 → 0.0.278
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/components/FileInput.js
CHANGED
|
@@ -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/card"),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("blob-util"),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/card","@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","blob-util","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/card"),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("blob-util"),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/card"],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["blob-util"],e["react-ace"],e["react-transition-group"],e["react/jsx-runtime"]);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(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__47__,__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__48__,__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 i=r(0),n=r.n(i),o=r(1),a=r.n(o),l=r(2);t.default=function(e){return void 0===e&&(e={}),e=n()({readAttribute:!0,type:l.string},e),function(t,r){if("string"==typeof r){var i,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?n()({},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)&&(i=o.propertyTypes[r]):i=e.writeAttribute,void 0!==i&&(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,i),null!==o.propertiesToReflectAsAttributes&&"object"==typeof o.propertiesToReflectAsAttributes&&(o.propertiesToReflectAsAttributes[r]=i)))),e.alias&&(Object.prototype.hasOwnProperty.call(o,"propertyAliases")||(o.propertyAliases=o.propertyAliases?n()({},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 i,n,o,a,l=r(0),c=r.n(l),s=r(6),d=r.n(s),u=r(7),m=r.n(u),p=r(3),f=r.n(p),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 i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}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,i=new Array(t);r<t;r++)i[r]=e[r];return i}var A=(i=(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,d()(r,"isRoot",o,m()(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=m()(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,i=w(e.value.values());!(r=i()).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)}})},i=w(y().arrayUnique(Object.keys(this.self.propertyTypes).concat(Object.keys(this.self._propertyAliasIndex))));!(e=i()).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,i,n,o,a=null!=(r=this.instance)&&null!=(i=r.current)&&i.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(n=this.instance)&&null!=(o=n.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 i=this.isStateProperty(e);this.render(i?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&i&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},r.applyBinding=function(e,t){var r=this;if(e.getAttributeNames)for(var i,n=function(){var n=i.value,o="";if(n.startsWith("data-bind-")?o=n.substring("data-bind-".length):n.startsWith("bind-")&&(o=n.substring("bind-".length)),o){var a=e.getAttribute(n);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 "'+n+'" 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 s=r.domNodeEventBindings.get(e);o=y().stringDelimitedToCamelCase(o.substring("on-".length)),s.has(o)&&s.get(o)(),t=c()({event:void 0,parameters:void 0},t);var d=y().stringCompile(a,t,!0);if(d.error)console.warn('Error occurred during compiling given event binding "'+n+'" on node:',e,d.error);else{var u=d.templateFunction.bind(e),m=function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];t.event=i[0],t.parameters=i;try{u.apply(void 0,d.originalScopeNames.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+n+'" on node:',e,'Given expression "'+a+'" could not be evaluated with given scope names "'+d.scopeNames.join('", "')+'": '+y().represent(t))}};e.addEventListener(o,m),s.set(o,(function(){e.removeEventListener(o,m),s.delete(o),0===s.size&&r.domNodeEventBindings.delete(e)}))}}}},o=w(e.getAttributeNames());!(i=o()).done;)n()},r.applyBindings=function(e,t,r){for(void 0===r&&(r=!0);e;){var i;null==(i=e.attributes)||!i.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 i;if(void 0===t&&(t=[]),void 0===r&&(r={}),(r=c()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},r)).ignoreComponents&&null!=(i=e.nodeName)&&i.toLowerCase().includes("-"))return r.map;if(r.unsafe){var n=e.innerHTML;if(!n&&e.template&&(n=e.template),this.self.hasCode(n)){var o=y().stringCompile("`"+n+"`",t);r.map.set(e,{children:[],error:o.error,scopeNames:o.scopeNames,template:n,templateFunction:o.templateFunction})}}else{var a,l=e.nodeName.toLowerCase();if(["a","#text"].includes(l)){var s="a"===l?e.getAttribute("href"):e.textContent;this.self.hasCode(s)&&(a=s.replace(/ /g," ").trim())}var d=[];if(a){var u=y().stringCompile("`"+a+"`",t);r.map.set(e,{children:d,error:u.error,scopeNames:u.scopeNames,template:a,templateFunction:u.templateFunction})}for(var m=e.firstChild;m;)r.filter&&!r.filter(m)||d.push(this.compileDomNodeTemplate(m,t,c()({},r,{ignoreComponents:r.ignoreNestedComponents}))),m=m.nextSibling}return r.map},r.evaluateDomNodeTemplate=function(e,t,r){var i;if(void 0===t&&(t={}),void 0===r&&(r={}),(r=c()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},r)).map.has(e)||this.compileDomNodeTemplate(e,t,r),r.map.has(e)){var n=r.map.get(e),o=n.error,a=n.scopeNames,l=n.templateFunction;if(o)console.warn("Error occurred during compiling node content: "+o);else{var s=null;try{s=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!==s&&(r.unsafe?e.innerHTML=s:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",s):e.textContent=s)}}if(!(r.unsafe||r.ignoreComponents&&null!=(i=e.nodeName)&&i.toLowerCase().includes("-")))for(var d=e.firstChild;d;)r.filter&&!r.filter(d)||this.evaluateDomNodeTemplate(d,t,c()({},r,{applyBindings:!1,ignoreComponents:r.ignoreNestedComponents})),d=d.nextSibling;return r.applyBindings&&this.applyBindings(e,t),r.map},t.replaceDomNodes=function(e,r){for(var i,n=w([].concat(r).reverse());!(i=n()).done;){var o,a=i.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,i=e,n=new Map,o=w(i);!(r=o()).done;){var a=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&n.set(a,t.propertyTypes[a])}return n}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=n[i];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,(function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];var o=e.reflectEventToProperties(r,i);o&&(i[0]=o),e.forwardEvent(r,i)})))},i=0,n=Object.keys(this.self.eventToPropertyMapping);i<n.length;i++)r();return t},r.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=n[i],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,i=new Array(r),n=0;n<r;n++)i[n]=arguments[n];e&&t.reflectEventToProperties(o,i),t.forwardEvent(o,i)})))},i=0,n=Object.entries(this.self.propertyTypes);i<n.length;i++)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,i=0,n=Array.from(e.querySelectorAll("slot"));i<n.length;i++){var o=n[i],a=o.getAttribute("name");if(null===a||"default"===a)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var l,c=w(this.slots.default);!(l=c()).done;){var s=l.value;this.evaluateDomNodeTemplate(s,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,i,n=e.firstElementChild.value;null==(r=e.classList)||r.remove("web-component-template");var o=e.cloneNode();return null==(i=e.classList)||i.add("web-component-template"),o.innerHTML="",o.template=n,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 i=r[t],n=i.parentNode,o=!0;n;){if(n.nodeName.includes("-")){n===this&&(o=!1);break}n=n.parentNode}o||(this.slots[i.getAttribute&&i.getAttribute("slot")&&i.getAttribute("slot").trim()?i.getAttribute("slot").trim():i.nodeName.toLowerCase()]=this.grabSlotContent(i))}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,i,n;return Boolean((null==(t=this.instance)||null==(r=t.current)?void 0:r.state)&&(Object.prototype.hasOwnProperty.call(null==(i=this.instance)||null==(n=i.current)?void 0:n.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},r.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=c()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],i=r[0],n=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,n)||(this.self._propertyAliasIndex[n]=i)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var i=r[t],n=i[0],o=i[1];if(this.setExternalPropertyValue(n,o),this.isConnected){var a=y().stringCamelCaseToDelimited(n);if(this.self._propertiesToReflectAsAttributes.has(n))switch(this.self._propertiesToReflectAsAttributes.get(n)){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 c=""+o;this.getAttribute(a)!==c&&this.setAttribute(a,c)}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 s=y().represent(o);if(s&&this.getAttribute(a)!==s){this.setAttribute(a,s);break}}this.hasAttribute(a)&&this.removeAttribute(a)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,r,i,n;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!=(i=this.internalProperties.model)&&i.state&&(null==(n=this.internalProperties.model)||delete n.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var c,s=w(this.self.controllableProperties);!(c=s()).done;){var d=c.value;Object.prototype.hasOwnProperty.call(e,d)&&this.setInternalPropertyValue(d,e[d])}},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 i=null;if(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,e)&&y().isFunction(this.self.eventToPropertyMapping[e])){var n,o=(n=this.self.eventToPropertyMapping)[e].apply(n,t.concat([this]));Array.isArray(o)?(i=o[0],this.reflectProperties(i),y().extend(!0,this.internalProperties,o[1])):null!==o&&"object"==typeof o&&(i=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 s=0,d=Object.keys(this.self.propertyTypes);s<d.length;s++)for(var u,m=d[s],p=w([m].concat(null!==(f=this.getPropertyAlias(m))&&void 0!==f?f:[]));!(u=p()).done;){var f,h=u.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=c()({},l.detail));i=l,this.reflectProperties(l)}return this.triggerRender("propertyReflected"),this.batchUpdates=r,i},r.evaluateStringOrNullAndSetAsProperty=function(e,t){var r=this,i=e.startsWith("-"),n=i?e.substring(1):e,o=y().stringDelimitedToCamelCase(n),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(i){if(t){var c=y().stringEvaluate(t,{Tools:y()},!1,this);c.error?(console.warn('Faild to process pre-evaluation attribute "'+e+'": '+c.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(o,void 0)):(this.setInternalPropertyValue(o,c.result),this.setExternalPropertyValue(o,c.result))}}else switch(l){case x.boolean:case"boolean":var s=![null,"false"].includes(t);this.setInternalPropertyValue(o,s),this.setExternalPropertyValue(o,s);break;case x.func:case"function":var d,u=null,m=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var p=y().stringCompile(t,m);u=p.error,d=p.templateFunction,u&&console.warn('Failed to compile given handler "'+e+'": '+u+".")}this.setInternalPropertyValue(o,(function(){for(var i=arguments.length,n=new Array(i),a=0;a<i;a++)n[a]=arguments[a];r.outputEventNames.has(o)&&r.reflectEventToProperties(o,n);var l=void 0;if(!u)try{l=d.call(r,n[0],n[0],n[0],n[0],n[0],n[0],n,y())}catch(r){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+m.join('", "')+'" set to "'+y().represent(n)+'": '+r+'. Set property to "undedefined".')}return r.self.renderProperties.includes(o)||r.forwardEvent(o,n),l})),u||this.setExternalPropertyValue(o,d);break;case"json":if(t){var f;try{f=JSON.parse(t)}catch(u){console.warn('Error occurred during parsing given json attribute "'+e+'": '+y().represent(u));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=c()({},(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,c()({},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,n=a,o=g()(n.prototype,"isRoot",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),n),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 i=r(0),n=r.n(i),o=r(3),a=r.n(o),l=r(1),c=r.n(l),s=r(2),d=r(11),u=r.n(d),m=r(12),p=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 i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}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,i=new Array(t);r<t;r++)i[r]=e[r];return i}var _=function(e){function t(){for(var r,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return(r=e.call.apply(e,[this].concat(n))||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(n()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(var i=this.firstChild;i;){var o=i.nextSibling;this.removeChild(i),i=o}this.reactRoot||(this.reactRoot=(0,p.createRoot)(this.root)),(0,m.flushSync)((function(){return r.reactRoot.render((0,d.createElement)(r.self.content,r.internalProperties))})),null!=(t=this.instance)&&t.current?this.reflectInstanceProperties():c().timeout(this.reflectInstanceProperties)}},r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=c().copy(t,1),r)),this.setInternalPropertyValue(e,c().copy(t,1))},r.setInternalPropertyValue=function(t,r){null===r?r=s.NullSymbol:void 0===r&&(r=s.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 i,n=1,o=[],a=f(e);!(i=a()).done;){var l=i.value,c=this.preCompileDomNode(l,t,r,n.toString());c&&(o.push(c),n+=1)}return r?function(e){return function(){for(var t,r=[],i=f(o);!(t=i()).done;){var n=(0,t.value)(e);"function"==typeof n&&r.push(n.apply(void 0,arguments))}return(0,d.createElement)(d.Fragment,{children:r})}}:o},r.preCompileDomNode=function(e,t,r,i){var o,a,l=this;if(void 0===t&&(t={}),void 0===r&&(r=!1),r){var s=this.preCompileDomNode(e,n()({},t,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,i);return function(e){return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var o=r.length>0?r[0]:null;return s(n()({},e,{data:o,firstArgument:o,firstParameter:o,options:o,scope:o,parameters:r}))}}}if(e.nodeType===Node.TEXT_NODE){var u="string"==typeof e.nodeValue?e.nodeValue.trim():"",m=i&&u?(0,d.createElement)(d.Fragment,{children:u,key:i}):u||null;return function(){return m}}if(!e.getAttributeNames)return function(){return null};var p=this.self.isReactComponent(e);p?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),o=e.internalProperties,i&&!Object.prototype.hasOwnProperty.call(o,"key")&&(o.key=i),a=e.constructor.content):(o={key:i},a=e.tagName.toLowerCase());for(var h,_=Object.keys(t),v={},g=function(){var r,i=h.value,n=e.getAttribute(i);if(null===n)return"continue";var a=!1,s="";if(i.startsWith("data-bind-")?s=i.substring("data-bind-".length):i.startsWith("bind-")&&(s=i.substring("bind-".length)),s.startsWith("attribute-")||"attributes"===s||s.startsWith("property-")||"properties"===s){var d=c().stringCompile(n,_),u=d.error,m=d.originalScopeNames,p=d.templateFunction;if(u)return console.warn('Error occurred during compiling given attribute binding "'+i+'" on node:',e,u),"continue";"attributes"===s||"properties"===s?a=!0:s=s.startsWith("attribute-")?s.substring("attribute-".length):s.substring("property-".length),n={originalScopeNames:m,templateFunction:p.bind(l)}}else if(s.startsWith("on-")){s=c().stringDelimitedToCamelCase(s),Object.prototype.hasOwnProperty.call(t,"event")||(_=[].concat(_,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(_=[].concat(_,["parameters"]));var f=c().stringCompile(n,_,!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 "'+i+'" on node:',e,g),"continue";var w=x.bind(l);n=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 "'+i+'" on node: ',e,'Given expression "'+n+'" could not be evaluated with given scope names "'+y.join('", "')+'": '+c().represent(t))}}}else s=i;var E={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(E,s)&&(s=E[s]),s=c().stringDelimitedToCamelCase(s),null!=(r=n)&&r.originalScopeNames?v[a?"":s]=n:o[s]=n},b=f(e.getAttributeNames());!(h=b()).done;)g();if(!p){var y=Array.from(e.childNodes);y.length&&(o.children=this.preCompileDomNodes(y,t))}return function(r){(r=n()({},t,r)).scope=r;for(var i=n()({},o),c=0,s=Object.entries(v);c<s.length;c++){var u=s[c],m=u[0],f=u[1],h=f.originalScopeNames,_=f.templateFunction.apply(void 0,h.map((function(e){return r[e]})));""===m?i=n()({},i,_):i[m]=_}return Object.prototype.hasOwnProperty.call(i,"innerHTML")&&(i.dangerouslySetInnerHTML={__html:i.innerHTML},delete i.children,delete i.innerHTML),Object.prototype.hasOwnProperty.call(i,"textContent")?(i.children=i.textContent,delete i.textContent):p?(e.evaluateSlots(n()({},i,r,{parent:e})),e.prepareProperties(i),r=n()({},i,r,{parent:e})):i.children&&(i.children=l.evaluatePreCompiledDomNodes(i.children,r)),(0,d.createElement)(a,i)}},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,i=[],n=f(e);!(r=n()).done;){var o=(0,r.value)(t);o&&i.push(o)}return i},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],n()({},this.scope,{parent:this}),[s.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,n()({},this.scope,{parent:this}),[s.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,d.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,d.forwardRef)((function(t,r){return(0,d.useImperativeHandle)(r,(function(){return{properties:t}})),(0,d.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,d.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,d.memo)(this.self.content),this.self.content.wrapped=e)}},r.prepareProperties=function(e){c().extend(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,d.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var r,i=f(["isRoot","isTrusted","__composed"]);!(r=i()).done;){var n=r.value;Object.prototype.hasOwnProperty.call(t,n)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,n)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,n))&&delete t[n]}},t}(r(5).default);_.attachWebComponentAdapterIfNotExists=!0,_.content="div",_.react=u(),_._name="ReactWebComponent";var v={component:_,register:function(e){return void 0===e&&(e=c().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 c},Web:function(){return u},reactWebAPI:function(){return s},webAPI:function(){return d},wrapAsWebComponent:function(){return m}});var e=f(0),t=f.n(e),r=f(3),i=f.n(r),n=f(1),o=f.n(n),a=f(14),l=f(5),c=a.default,s=a.api,d=l.api,u=l.default,m=function(e,r,n){var a,l,s,d;void 0===r&&(r="NoName"),void 0===n&&(n={});var u=e._name||(null==(a=e.___types)||null==(l=a.name)?void 0:l.name)||r.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");n.propTypes&&(e.propTypes=n.propTypes);var m=e.propTypes||{},p=n.propertyAliases||e.propertyAliases||{},f=o().arrayUnique(Object.keys(m).concat(Object.keys(p)).concat(Object.values(p))),h=n.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(c.propertiesToReflectAsAttributes)if(Array.isArray(h))h=[].concat(c.propertiesToReflectAsAttributes,h);else if(h instanceof Map)for(var _=0,v=c.propertiesToReflectAsAttributes;_<v.length;_++){var g=v[_];h.set(g,c.propertyTypes[g])}else if(null!==h&&"object"==typeof h)for(var b=0,y=c.propertiesToReflectAsAttributes;b<y.length;b++){var x=y[b];h[x]=c.propertyTypes[x]}var w=f.map((function(e){return o().stringCamelCaseToDelimited(e)})),E=function(r){function o(){for(var i,a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return(i=r.call.apply(r,[this].concat(l))||this).self=o,i.internalProperties=n.internalProperties?t()({},n.internalProperties):e.internalProperties?t()({},e.internalProperties):{},i}return i()(o,r),o}(c);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof n.attachWebComponentAdapterIfNotExists||n.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=c.observedAttributes.concat(w).concat(w.map((function(e){return"-"+e}))),E.controllableProperties=e.controllableProperties||n.controllableProperties||[],E.eventToPropertyMapping=null===n.eventToPropertyMapping?n.eventToPropertyMapping:n.eventToPropertyMapping?t()({},n.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?t()({},e.eventToPropertyMapping):{},E.propertyAliases=t()({},c.propertyAliases,p),E.propertiesToReflectAsAttributes=h,E.propertyTypes=t()({},c.propertyTypes,m),E.renderProperties=null!==(s=null!==(d=n.renderProperties)&&void 0!==d?d:e.renderProperties)&&void 0!==s?s:c.renderProperties,E._name=u,{component:E,register:function(e){return void 0===e&&(e=o().stringCamelCaseToDelimited(u)),customElements.define(e,E)}}};h.default=m}(),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,i,n,r,o,l,a,c,d,m,s,u,p,f,g,v,h,b,x,y,_,w,k;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),i=__webpack_require__(6),n=__webpack_require__(22),r=__webpack_require__(47),o=__webpack_require__(19),l=__webpack_require__(23),a=__webpack_require__(24),c=__webpack_require__(25),d=__webpack_require__(26),m=__webpack_require__(27),s=__webpack_require__(28),u=__webpack_require__(7),p=__webpack_require__(8),f=__webpack_require__(9),g=__webpack_require__(29),v=__webpack_require__(30),h=__webpack_require__(48),b=__webpack_require__(4),x=__webpack_require__(0),y=__webpack_require__(3),_=__webpack_require__(31),w=__webpack_require__(20),k=__webpack_require__(5),function(){var E,A,P=[function(e){e.exports=k},function(e){e.exports=t},function(e){e.exports=y},function(e){e.exports=b},function(e){e.exports=u},function(e){e.exports=x},function(e,t,r){r.d(t,{WrapTooltip:function(){return c}});var i=r(1),n=r.n(i),o=r(9),a=r(11),l=r(0),c=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=n()({},r,{content:(0,l.jsx)(o.Typography,{use:"caption",children:r.content})})),(0,l.jsx)(a.Tooltip,n()({},r,{children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})}))):(0,l.jsx)(l.Fragment,{children:t})};t.default=c},function(e,t,r){r.d(t,{WrapConfigurations:function(){return l}}),r(1),r(13),r(2),r(4);var i=r(12),n=r(10),o=r(6),a=r(0),l=function(e){var t=e.children,r=e.strict,l=e.themeConfiguration,c=e.tooltip,s=e.wrap;return(0,a.jsx)(i.x,{strict:Boolean(r),children:(0,a.jsx)(o.WrapTooltip,{options:c,children:(0,a.jsx)(n.WrapThemeProvider,{configuration:l,wrap:s,children:t})})})};t.default=l},function(e,t,r){r.d(t,{deriveMissingPropertiesFromState:function(){return u},determineInitialRepresentation:function(){return A},determineInitialValue:function(){return h},determineValidationState:function(){return _},formatValue:function(){return E},getConsolidatedProperties:function(){return g},getLabelAndValues:function(){return b},getValueFromSelection:function(){return y},mapPropertiesIntoModel:function(){return v},normalizeSelection:function(){return x},parseValue:function(){return w},translateKnownSymbols:function(){return f},triggerCallbackIfExists:function(){return p},useMemorizedValue:function(){return P},wrapStateSetter:function(){return m}});var i=r(1),n=r.n(i),o=r(3),a=r.n(o),l=r(5),c=r(2);function s(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 d(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)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}var u=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=n()({},e.model.state):e.model.state={};for(var r=0,i=Object.entries(t.modelState);r<i.length;r++){var o=i[r],a=o[0],l=o[1];void 0===e.model.state[a]&&(e.model.state[a]=l)}return e},m=function(e,t){return function(r){var i="function"==typeof r?r(t):r;a().equals(null==i?void 0:i.modelState,null==t?void 0:t.modelState)||e(i)}},p=function(e,t,r){void 0===r&&(r=!0);for(var i=arguments.length,n=new Array(i>3?i-3:0),o=3;o<i;o++)n[o-3]=arguments[o];t="on"+a().stringCapitalize(t),e[t]&&(r?e[t].apply(e,n):a().timeout((function(){return e[t].apply(e,n)})))},f=function(e){for(var t={},r=0,i=Object.entries(e);r<i.length;r++){var n=i[r],o=n[0],c=n[1];c===l.UndefinedSymbol?t[o]=void 0:c===l.NullSymbol?t[o]=null:t[o]=a().copy(e[o])}return t},h=function(e,t,r){var i,n;return void 0!==r?r:void 0!==e.value?e.value:void 0!==(null==(i=e.model)?void 0:i.value)?e.model.value:void 0!==e.initialValue?a().copy(e.initialValue):void 0!==e.default?a().copy(e.default):void 0!==(null==(n=e.model)?void 0:n.default)?a().copy(e.model.default):void 0!==t?t:null},_=function(e,t,r){void 0===r&&(r={});var i=!1;r=n()({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],c=l[0],s=l[1],d=t[c];e.model.state[c]=s(),i=i||d!==t[c]}return i&&(e.model.state.invalid=Object.keys(r).some((function(t){return e.model.state[t]})),e.model.state.valid=!e.model.state.invalid),i},v=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 i,n=s(Object.keys(r.model).concat("value"));!(i=n()).done;){var o=i.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},g=function(e){var t=n()({},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 b(e){if(Array.isArray(e)){for(var t,r=[],i=[],n=s(e);!(t=n()).done;){var o=t.value;"string"==typeof(null==o?void 0:o.label)&&(r.push(o.label),i.push(o.value))}return[r,i]}return[[],[]]}function y(e,t){if(Array.isArray(t))for(var r,i=s(t);!(r=i()).done;){var n=r.value;if("string"==typeof(null==n?void 0:n.label)&&n.label===e)return n.value;if(["number","string"].includes(typeof(null==n?void 0:n.value))&&""+n.value===e)return n.value}return null}function x(e,t){if(e||(e=t,t=void 0),Array.isArray(e)&&e.length){var r=[],i=0;if(Array.isArray(e[0]))for(var o=0,a=e;o<a.length;o++){var l=a[o],c=l[0],d=l[1];r.push({label:Array.isArray(t)&&i<t.length?t[i]:d,value:c}),i+=1}else if(null!==e[0]&&"object"==typeof e[0])for(var u,m=s(e);!(u=m()).done;){var p=u.value;r.push(n()({},p,{label:Array.isArray(t)&&i<t.length?t[i]:p.label})),i+=1}else for(var f=0,h=e;f<h.length;f++){var _=h[f];r.push({label:Array.isArray(t)&&i<t.length?t[i]:_,value:_}),i+=1}e=r}var v=null!==t&&"object"==typeof t;if(e){if(!Array.isArray(e)){for(var g,b=[],y=s(Object.keys(e).sort((function(t,r){return e[t].localeCompare(e[r])})));!(g=y()).done;){var x=g.value;b.push({label:v&&Object.prototype.hasOwnProperty.call(t,x)?t[x]:e[x],value:x})}return b}if(v){for(var w,E=[],A=s(e);!(w=A()).done;){var P=w.value;E.push(n()({},P,{label:Object.prototype.hasOwnProperty.call(t,P.value||P.label)?t[P.value||P.label]:!0===P.value&&t.true?t.true:!1===P.value&&t.false?t.false:P.label}))}return E}}return e}var w=function(e,t,r){var i;if(e.model.trim&&"string"==typeof t&&(t=t.trim().replace(/ +\n/g,"\\n")),e.model.emptyEqualsNull&&""===t)return null;var n=t;return![null,void 0].includes(t)&&null!=(i=r[e.model.type])&&i.parse&&(n=r[e.model.type].parse(t,e,r)),"number"==typeof n&&isNaN(n)?null:n};function E(e,t,r,i){var n;void 0===i&&(i=!0);var o=i?"final":"intermediate";if([null,void 0].includes(t)||"number"==typeof t&&isNaN(t))return"";var a=null==(n=r[e.type||e.model.type])?void 0:n.format;if(a){var l,c,s=(null==(l=a[o])?void 0:l.transform)||(null==(c=a.final)?void 0:c.transform);if(s)return s(t,e,r)}return String(t)}function A(e,t,r,i,o){if("string"==typeof e.representation)return e.representation;if(null!==r){var l,c=function(e,t){if(t)for(var r,i=s(t);!(r=i()).done;){var n=r.value;if(a().equals(null==n?void 0:n.value,e))return n.label||""+e}return null}(r,o);return"string"==typeof c?c:E(n()({},e,{type:e.type||(null==(l=e.model)?void 0:l.type)||t.model.type}),r,i)}return""}var P=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return(0,c.useMemo)((function(){return e}),r)}},function(e){e.exports=f},function(e,t,r){r.d(t,{WrapThemeProvider:function(){return o}});var i=r(4),n=r(0),o=function(e){var t=e.children,r=e.configuration,o=e.wrap;return r?(0,n.jsx)(i.ThemeProvider,{options:r,wrap:!1!==o,children:t}):t}},function(e){e.exports=p},function(e,t,r){r.d(t,{x:function(){return o}});var i=r(2),n=r(0),o=function(e){var t=e.children;return e.strict?(0,n.jsx)(i.StrictMode,{children:t}):(0,n.jsx)(n.Fragment,{children:t})}},function(e){e.exports=i},function(e,t,r){r.d(t,{default:function(){return d}});var i=r(1),n=r.n(i),o=r(5),a=r(21),l=r(0),c={"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"},s=function(e){return(0,l.jsx)(a.CSSTransition,n()({appear:!0,classNames:c["generic-animate"],in:!0,timeout:200,unmountOnExit:!0},e,{children:"string"==typeof e.children?(0,l.jsx)("span",{className:c["generic-animate__wrapper"],children:e.children}):Array.isArray(e.children)?(0,l.jsx)("div",{className:c["generic-animate__list-wrapper"],children:e.children}):e.children}))};s.propTypes={appear:o.boolean,classNames:o.string,in:o.boolean,timeout:o.number};var d=s},function(e,t,r){r.d(t,{default:function(){return K}});var i=r(1),n=r.n(i),o=r(16),a=r.n(o),l=r(17),c=r.n(l),s=r(3),d=r.n(s),u=r(2),m=r(18),p=r(22),f=r(19),h=r(20),_=r(23),v=r(24),g=r(25),b=r(4),y=r(26),x=r(14),w=r(7),E=r(6),A=r(8),P=r(29),T=r(0);function O(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 k(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)?k(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}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 k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}var C=!(void 0===typeof window),S=C?(0,s.optionalRequire)("react-useanimations"):null,N=C?(0,s.optionalRequire)("react-useanimations/lib/lock"):null,j=C?(0,s.optionalRequire)("react-useanimations/lib/plusToX"):null,R={"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","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"},I={basePath:"/node_modules/ace-builds/src-noconflict/",useWorker:!1},L=(0,u.lazy)(a()(c().mark((function e(){var t,i,n,o,a,l,s;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(r.t.bind(r,27,23));case 2:for(t=e.sent,i=t.config,n=0,o=Object.entries(I);n<o.length;n++)a=o[n],l=a[0],s=a[1],i.set(l,s);return e.next=7,Promise.resolve().then(r.t.bind(r,28,23));case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})))),q=!1,M="/node_modules/tinymce/",D={base_url:M,skin_url:M+"skins/ui/oxide",theme_url:M+"themes/silver/theme.min.js",allow_conditional_comments:!1,allow_script_urls:!1,body_class:"mdc-text-field__input",branding:!1,cache_suffix:"?version=1658153434.05",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","hr","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 hr nonbreaking bullist numlist bold italic underline strikethrough\n ".trim(),trim:!0};function B(e,t){return(0,A.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){d().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 z=function(e,t){var r,i,o,a,l,c,s,P;(0,u.useEffect)((function(){if(Fe||be.selectionIsUnstable)if($e.editorIsActive){var e,t,r;null!=(e=oe.current)&&null!=(t=e.editor)&&t.selection?(oe.current.editor.textInput.focus(),$(oe.current),be.selectionIsUnstable&&ye(n()({},be,{selectionIsUnstable:!1}))):null!=(r=de.current)&&r.selection&&(de.current.focus(!1),H(de.current),be.selectionIsUnstable&&ye(n()({},be,{selectionIsUnstable:!1})))}else ce.current&&(ce.current.setSelectionRange($e.cursor.start,$e.cursor.end),be.selectionIsUnstable&&ye(n()({},be,{selectionIsUnstable:!1})))}));var k=function(e){return"clear_preset"===e?{icon:(0,T.jsx)(x.default,{in:!d().equals($e.value,$e.default),children:S&&!S.isDummy&&j?(0,T.jsx)(S,{animation:j,reverse:!0}):(0,T.jsx)(h.IconButton,{icon:"clear"})}),onClick:function(e){e.preventDefault(),e.stopPropagation(),Z((0,A.parseValue)($e,$e.default,V.transformer))},strategy:"component",tooltip:"Clear input"}:"password_preset"===e?(0,A.useMemorizedValue)({icon:S&&!S.isDummy&&N?(0,T.jsx)(S,{animation:N,reverse:!$e.hidden}):(0,T.jsx)(h.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},C=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},I=function(e){if("string"==typeof e){var t=d().stringEvaluate("`"+e+"`",n()({formatValue:function(e){return(0,A.formatValue)($e,e,Re)}},$e));return t.error?(console.warn("Given message template could not be proceed:",t.error),""):t.result}return""},M=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r=!0),"boolean"==typeof t?r?(0,T.jsx)(x.default,{in:t,children:e}):t?e:"":r?(0,T.jsx)(x.default,n()({},t,{children:e})):t.in?e:""},z=function(e){var t;if("object"==typeof e&&null!=(t=e)&&t.tooltip){var r=e.tooltip;delete(e=n()({},e)).tooltip;var i=n()({},e);e.strategy="component",e.icon=(0,T.jsx)(E.default,{options:r,children:(0,T.jsx)(f.Icon,{icon:i})})}return e},K=function(e,t,r){if(!$e.value)return 0;var i="generic-input-selection-indicator",n=" "+i+'="###"';t.setAttribute(i,"###");var o=e.innerHTML.replace(/(<\/p>)/gi,"$1\n");t.removeAttribute(i);var a=o.indexOf(n)+n.length;return r+o.indexOf(">",a)+1-n.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,i=O($e.value.split("\n"));!(r=i()).done;){var n=r.value;if(!(n.length<e)){t.column=e;break}e-=1+n.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 i=F($e.cursor.start);t.setStart(i.row,i.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},i=["start","end"],n=$e.representation,o=0,a=i;o<a.length;o++){var l=a[o];n=n.substring(0,r[l])+t[l]+n.substring(r[l])}e.getBody().innerHTML=n;for(var c,s=document.createTreeWalker(e.getBody(),NodeFilter.SHOW_TEXT,null),u=e.dom.createRng(),m={};c=s.nextNode();)for(var p,f=O(i);!(p=f()).done;){var h=p.value;if(c.nodeValue){var _=c.nodeValue.indexOf(t[h]);_>-1&&(c.nodeValue=c.nodeValue.replace(t[h],""),m[h]=[c,_])}}for(var v=0,g=i;v<g.length;v++){var b=g[v];m[b]&&u["set"+d().stringCapitalize(b)].apply(u,m[b])}m.end&&m.start&&e.selection.setRng(u)},G=function(e){var t=(0,A.getConsolidatedProperties)(function(e){var t=(0,A.mapPropertiesIntoModel)(e,V.defaultProperties.model);return t.model.value=(0,A.parseValue)(t,t.model.value,Re),B(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,A.formatValue)(t,t.value,Re,!t.focused),t.focused&&t.representation!==t.value&&["password","text"].includes(C(t))&&(Fe=!0)),t},Y=function(e){d().extend(!0,$e,G($e)),(0,A.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,A.triggerCallbackIfExists)($e,"changeEditorIsActive",Ke,$e.editorIsActive,e,$e),{editorIsActive:$e.editorIsActive,selectionIsUnstable:!0}}))},Q=function(e){e&&(e.preventDefault(),e.stopPropagation()),Ce((function(t){return $e.showDeclaration=!t,Y(e),(0,A.triggerCallbackIfExists)($e,"changeShowDeclaration",Ke,$e.showDeclaration,e,$e),$e.showDeclaration}))},Z=function(e,t,r){if(void 0===r&&(r=-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<Ue.length?Ue[a]:null}else $e.value=void 0===o.value?null:o.value;else $e.value=e}else $e.value=e;var l=function(){return Ve((function(e){if(!Xe&&e.representation===$e.representation&&!$e.suggestionCreator&&-1===r)return e;var t=n()({},e,{representation:$e.representation});if(!Ke&&d().equals(e.value,$e.value))return t;t.value=$e.value;var o=!1;return e.modelState.pristine&&($e.dirty=!0,$e.pristine=!1,o=!0),Y(i),B($e,e.modelState)&&(o=!0),(0,A.triggerCallbackIfExists)($e,"changeValue",Ke,$e.value,i,$e),o&&(t.modelState=$e.model.state,(0,A.triggerCallbackIfExists)($e,"changeState",Ke,$e.model.state,i,$e)),(st||-1!==r)&&(0,A.triggerCallbackIfExists)($e,"select",Ke,i,$e),t}))};if($e.representation=-1!==r?et[r]:"string"==typeof $e.value?$e.value:(0,A.formatValue)($e,$e.value,Re),rt)if($e.suggestionCreator){var c=new AbortController,s=function(e){if(!c.signal.aborted){if(qe((function(t){return t instanceof AbortController&&!t.signal.aborted&&t.abort(),e})),-1===r){var t=(0,A.getValueFromSelection)($e.representation,(0,A.normalizeSelection)(e));null!==t||$e.searchSelection?$e.value=t:$e.value=(0,A.parseValue)($e,$e.representation,Re)}l()}},u=$e.suggestionCreator({abortController:c,properties:$e,query:$e.representation});null!=u&&u.then?(qe((function(e){return e instanceof AbortController&&!e.signal.aborted&&e.abort(),c})),Ve((function(e){return n()({},e,{representation:$e.representation})})),u.then(s,d().noop)):s(u)}else{if(-1===r){var m=(0,A.getValueFromSelection)($e.representation,Me);null!==m||$e.searchSelection?$e.value=m:$e.value=(0,A.parseValue)($e,$e.representation,Re)}l()}else $e.value=(0,A.parseValue)($e,$e.value,Re),l()}},ee=function(e){ie(e),(0,A.triggerCallbackIfExists)($e,"click",Ke,e,$e),ne(e)},te=function(e){(0,A.triggerCallbackIfExists)($e,"focus",Ke,e,$e),ne(e)},re=function(e){e.keyCode&&(ie(e),(0,A.triggerCallbackIfExists)($e,"keyUp",Ke,e,$e))},ie=function(e){!function(e){var t,r,i,n,o,a,l,c=null==(t=oe.current)||null==(r=t.editor)||null==(i=r.selection)?void 0:i.getRange(),s=null==(n=de.current)||null==(o=n.selection)?void 0:o.getRng(),d=null==(a=ce.current)?void 0:a.selectionEnd,u=null==(l=ce.current)?void 0:l.selectionStart;if(c)ve({end:X(c.end.column,"number"==typeof c.end.row?c.end.row:"string"==typeof $e.value?$e.value.split("\n").length-1:0),start:X(c.start.column,"number"==typeof c.start.row?c.start.row:"string"==typeof $e.value?$e.value.split("\n").length-1:0)});else if(s)ve({end:K(de.current.getBody(),de.current.selection.getEnd(),s.endOffset),start:K(de.current.getBody(),de.current.selection.getStart(),s.startOffset)});else if("number"==typeof d&&"number"==typeof u){var m,p=1===(null==e||null==(m=e.key)?void 0:m.length)?1:"Backspace"===(null==e?void 0:e.key)&&$e.representation.length>u?-1:0;ve({end:d+p,start:u+p})}}(e),(0,A.triggerCallbackIfExists)($e,"selectionChange",Ke,e,$e)},ne=function(e){return Ve((function(t){var r=!1;t.modelState.focused||($e.focused=!0,r=!0),t.modelState.untouched&&($e.touched=!0,$e.untouched=!1,r=!0);var i=t;return r&&(Y(e),i=n()({},t,{modelState:$e.model.state}),(0,A.triggerCallbackIfExists)($e,"changeState",Ke,$e.model.state,e,$e)),(0,A.triggerCallbackIfExists)($e,"touch",Ke,e,$e),i}))},oe=(0,u.useRef)(null),ae=(0,u.useRef)(null),le=(0,u.useRef)(null),ce=(0,u.useRef)(null),se=(0,u.useRef)(null),de=(0,u.useRef)(null),ue=(0,u.useRef)(null),me=(0,u.useRef)(null),pe=(0,u.useRef)(null),fe=(0,A.translateKnownSymbols)(e),he=(0,u.useState)({end:0,start:0}),_e=he[0],ve=he[1],ge=(0,u.useState)({editorIsActive:!1,selectionIsUnstable:!1}),be=ge[0],ye=ge[1],xe=(0,u.useState)(),we=xe[0],Ee=xe[1],Ae=(0,u.useState)(!1),Pe=Ae[0],Te=Ae[1],Oe=(0,u.useState)(!1),ke=Oe[0],Ce=Oe[1],Se=(0,A.determineInitialValue)(fe,null==(r=V.defaultProperties.model)?void 0:r.default);Se instanceof Date&&(Se=Se.getTime()/1e3);var Ne=d().extend(!0,d().copy(V.defaultProperties),fe),je=Ne.type||(null==(i=Ne.model)?void 0:i.type)||"string",Re=Ne.transformer?n()({},V.transformer,((o={})[je]=d().extend(!0,d().copy(V.transformer[je])||{},Ne.transformer),o)):V.transformer,Ie=(0,u.useState)(),Le=Ie[0],qe=Ie[1];(Ne.selection||null!=(a=Ne.model)&&a.selection)&&(Le=Ne.selection||(null==(l=Ne.model)?void 0:l.selection));var Me=Le instanceof AbortController?[]:(0,A.normalizeSelection)(Le,Ne.labels),De=Le instanceof AbortController?[[],[]]:(0,A.getLabelAndValues)(Me),Be=De[0],Ue=De[1],We=(0,u.useState)((function(){return{modelState:n()({},V.defaultModelState),representation:(0,A.determineInitialRepresentation)(Ne,V.defaultProperties,Se,Re,Me),value:Se}})),ze=We[0],Ve=We[1],Ke=!Ne.enforceUncontrolled&&(void 0!==(null==(c=fe.model)?void 0:c.value)||void 0!==fe.value)&&Boolean(fe.onChange||fe.onChangeValue),Xe=Ke&&void 0!==fe.representation,Fe=!1;null!==Ne.cursor&&"object"==typeof Ne.cursor||(Ne.cursor={}),void 0===Ne.cursor.end&&(Ne.cursor.end=_e.end),void 0===Ne.cursor.start&&(Ne.cursor.start=_e.start),void 0===Ne.editorIsActive&&(Ne.editorIsActive=be.editorIsActive),void 0===Ne.hidden&&(Ne.hidden=we),void 0===Ne.representation&&(Ne.representation=ze.representation),void 0===Ne.showDeclaration&&(Ne.showDeclaration=ke),(0,A.deriveMissingPropertiesFromState)(Ne,ze),void 0===Ne.value?void 0===Ne.representation&&void 0===Ne.model.value&&(Ne.representation=ze.representation):Xe||Ne.value===ze.value||(Ne.representation=void 0);var $e=G(Ne);void 0===$e.hidden&&($e.hidden=null==(s=$e.name)?void 0:s.startsWith("password")),d().equals($e.cursor,_e)||ve($e.cursor),$e.editorIsActive!==be.editorIsActive&&ye(n()({},be,{editorIsActive:$e.editorIsActive})),$e.hidden!==we&&Ee($e.hidden),$e.showDeclaration!==ke&&Ce($e.showDeclaration);var He={modelState:$e.model.state,representation:$e.representation,value:$e.value};(Ke||d().equals($e.value,ze.value)&&$e.representation===ze.representation)&&d().equals($e.model.state,ze.modelState)||Ve(He),Ke&&(Ve=(0,A.wrapStateSetter)(Ve,He)),(0,u.useImperativeHandle)(t,(function(){for(var e,t={modelState:$e.model.state},r=O(["cursor","editorIsActive","hidden","showDeclaration"]);!(e=r()).done;){var i=e.value;Object.prototype.hasOwnProperty.call(fe,i)||(t[i]=$e[i])}return Xe||(t.representation=$e.representation),Ke||(t.value=$e.value),{properties:$e,references:{codeEditorReference:oe,codeEditorInputReference:ae,foundationReference:le,inputReference:ce,richTextEditorInputReference:se,richTextEditorInstance:de,richTextEditorReference:ue,suggestionMenuAPIReference:me,suggestionMenuFoundationReference:pe},state:t}}));var Ge={onBlur:function(e){return Ve((function(t){Te(!1);var r=!1,i=!1;if(t.modelState.focused&&($e.focused=!1,r=!0,i=!0),t.modelState.visited||($e.visited=!0,r=!0,i=!0),!rt||$e.suggestSelection){var n=(0,A.getValueFromSelection)($e.representation,Me);null===n?($e.value=(0,A.parseValue)($e,$e.value,Re),$e.representation=(0,A.formatValue)($e,$e.value,Re)):$e.value=n}return d().equals(t.value,$e.value)&&t.representation===$e.representation||(r=!0),r&&Y(e),d().equals(t.value,$e.value)||(0,A.triggerCallbackIfExists)($e,"changeValue",Ke,$e.value,e,$e),i&&(0,A.triggerCallbackIfExists)($e,"changeState",Ke,$e.model.state,e,$e),(0,A.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,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(x.default,{in:$e.selectableEditor&&"string"===$e.type&&"plain"!==$e.editor,children:(0,T.jsx)(h.IconButton,{icon:{icon:$e.editorIsActive?"subject":$e.editor.startsWith("code")?"code":"text_format",onClick:J}})}),(0,T.jsx)(x.default,{in:Boolean($e.declaration),children:(0,T.jsx)(h.IconButton,{icon:{icon:"more_"+($e.showDeclaration?"vert":"horiz"),onClick:Q}})}),(0,T.jsx)(x.default,{in:$e.showDeclaration,children:$e.declaration}),(0,T.jsx)(x.default,{in:!$e.showDeclaration&&$e.invalid&&($e.showInitialValidationState||$e.visited),children:(0,T.jsx)(b.Theme,{use:"error",children:I($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(k($e.icon)));var Je=n()({},D,{content_style:$e.disabled?"body {opacity: .38}":"",placeholder:$e.placeholder,readonly:Boolean($e.disabled),setup:function(e){de.current=e,de.current.on("init",(function(){de.current&&(q=!0,$e.editorIsActive&&be.selectionIsUnstable&&(de.current.focus(!1),H(de.current),ye(n()({},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||Be.length&&($e.searchSelection||$e.suggestSelection));if(rt&&Be.length){$e.suggestSelection=!$e.searchSelection;for(var it,nt=0,ot=O(Be);!(it=ot()).done;){var at=it.value;if(d().isFunction($e.children)){var lt=$e.children({index:nt,normalizedSelection:Me,properties:$e,query:$e.representation,suggestion:at,value:Ue[nt]});lt&&(Ze.push((0,T.jsx)(_.MenuItem,{className:R["generic-input__suggestions__suggestion"],children:lt},nt)),et.push(at),tt.push(Ue[nt]))}else if(!$e.representation||$e.suggestionCreator||W(at,$e.representation)){var ct;Ze.push((0,T.jsx)(_.MenuItem,{className:R["generic-input__suggestions__suggestion"],children:d().stringMark(at,(null==(ct=$e.representation)?void 0:ct.split(" "))||"",(function(e){return(""+e).toLowerCase()}),(function(e){return(0,T.jsx)("span",{className:R["generic-input__suggestions__suggestion__mark"],children:e})}),null).map((function(e,t){return(0,T.jsx)("span",{children:e},t)}))},nt)),et.push(at),tt.push(Ue[nt])}nt+=1}}var st=(Boolean(Me)||Boolean($e.labels))&&!rt,dt={};return"number"===$e.type?(dt.step=$e.step,$e.maximum!==1/0&&(dt.max=$e.maximum),$e.minimum!==-1/0&&(dt.min=$e.minimum)):"string"===$e.type?($e.maximumLength>=0&&$e.maximumLength!==1/0&&(dt.maxLength=$e.maximumLength),$e.minimumLength>0&&(dt.minLength=$e.minimumLength),"plain"!==$e.editor&&(dt.rows=$e.rows)):["date","datetime-local","time"].includes($e.type)&&(dt.step=$e.step,$e.maximum!==1/0&&(dt.max=(0,A.formatValue)($e,$e.maximum,Re)),$e.minimum!==-1/0&&(dt.min=(0,A.formatValue)($e,$e.minimum,Re))),(0,T.jsx)(w.default,{strict:V.strict,themeConfiguration:$e.themeConfiguration,tooltip:$e.tooltip,children:(0,T.jsxs)("div",{className:[R["generic-input"]].concat(Qe?R["generic-input--custom"]:[],null!==(P=$e.className)&&void 0!==P?P:[]).join(" "),style:$e.styles,children:[M((0,T.jsx)(v.Select,n()({},Ge,Ye,{enhanced:!0,foundationRef:le,inputRef:ce,onChange:Z,options:Me,rootProps:n()({name:$e.name,onClick:ee},$e.rootProps),value:""+$e.value},$e.inputProperties)),st),M([(0,T.jsx)(p.FormField,{className:["mdc-text-field"].concat($e.disabled?"mdc-text-field--disabled":[],"mdc-text-field--textarea").join(" "),children:(0,T.jsxs)("label",{children:[(0,T.jsx)("span",{className:[R["generic-input__editor__label"]].concat("mdc-floating-label","mdc-floating-label--float-above").join(" "),children:(0,T.jsx)(b.Theme,{use:$e.invalid&&($e.showInitialValidationState||$e.visited)?"error":void 0,children:($e.description||$e.name)+($e.required?"*":"")})}),$e.editor.startsWith("code")?(0,T.jsx)(u.Suspense,{fallback:(0,T.jsx)(m.CircularProgress,{size:"large"}),children:(0,T.jsx)(L,n()({},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:ie,onSelectionChange:ie,ref:function(e){var t,r,i;oe.current=e,null!=(t=oe.current)&&null!=(r=t.editor)&&null!=(i=r.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(n()({},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,T.jsx)(y.Editor,n()({},Ge,{disabled:$e.disabled,init:Je,onClick:ee,onEditorChange:Z,onKeyUp:re,ref:function(e){ue.current=e},textareaName:$e.name,tinymceScriptSrc:D.base_url+"tinymce.min.js",value:$e.representation},$e.inputProperties))]})},"advanced-editor-form-field"),(0,T.jsx)("div",{className:"mdc-text-field-helper-line",children:(0,T.jsx)("p",{className:"mdc-text-field-helper-text mdc-text-field-helper-text--persistent",children:Ye.helpText.children})},"advanced-editor-helper-line")],Qe,q||$e.editor.startsWith("code")),M((0,T.jsxs)("div",{children:[rt?(0,T.jsx)(_.MenuSurfaceAnchor,{onKeyDown:U,children:Le instanceof AbortController?(0,T.jsx)(_.MenuSurface,{anchorCorner:"bottomLeft",className:R["generic-input__suggestions"]+" "+R["generic-input__suggestions--pending"],open:!0,children:(0,T.jsx)(m.CircularProgress,{size:"large"})}):(0,T.jsx)(_.Menu,{anchorCorner:"bottomLeft",apiRef:function(e){me.current=e},className:R["generic-input__suggestions"],focusOnOpen:!1,foundationRef:pe,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,T.jsx)(g.TextField,n()({},Ge,Ye,dt,{align:$e.align,characterCount:"number"==typeof $e.maximumLength&&!isNaN($e.maximumLength)&&$e.maximumLength>=0,foundationRef:le,inputRef:ce,onChange:Z,ripple:$e.ripple,rootProps:n()({name:$e.name,onClick:ee,onKeyDown:function(e){var t;rt&&d().keyCode.DOWN===e.keyCode&&(null==(t=me.current)||t.focusItemAtIndex(0)),"string"===$e.type&&"plain"!==$e.editor&&U(e),(0,A.triggerCallbackIfExists)($e,"keyDown",Ke,e,$e)},onKeyUp:re},$e.rootProps),textarea:"string"===$e.type&&"plain"!==$e.editor,trailingIcon:z(k($e.trailingIcon)),type:C($e),value:$e.representation},$e.inputProperties))]}),!(Qe||st),q||$e.editor.startsWith("code"))]})})};z.displayName="GenericInput";var V=(0,u.memo)((0,u.forwardRef)(z));V.wrapped=z,V.webComponentAdapterWrapped="react",V.defaultModelState=P.Bg,V.defaultProperties=n()({},P.Ko,{cursor:void 0,model:n()({},P.Ko.model,{state:void 0,value:void 0}),representation:void 0,value:void 0}),V.locales=d().locales,V.propTypes=P.rV,V.renderProperties=P.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,t,r){var i,o,a,l,c,s=null!==(i=null==(o=r.currency.format)||null==(a=o.final.options)?void 0:a.currency)&&void 0!==i?i:"USD";return e===1/0?"Infinity "+s:e===-1/0?"- Infinity "+s:isNaN(e)?"unknown":new Intl.NumberFormat(V.locales,n()({style:"currency"},null!==(l=null==(c=r.currency.format)?void 0:c.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){if((e="number"==typeof e?e:parseFloat(e))===1/0)return"Infinitely far in the future";if(e===-1/0)return"Infinitely early in the past";if(!isFinite(e))return"";var t=new Date(Math.round(1e3*e)).toISOString();return t.substring(0,t.indexOf("T"))}}},parse:function(e){return"number"==typeof e?e:e instanceof Date?e.getTime()/1e3:isNaN(Date.parse(e))?parseFloat(e):Date.parse(e)/1e3}},"datetime-local":{format:{final:{transform:function(e){if((e="number"==typeof e?e:parseFloat(e))===1/0)return"Infinitely far in the future";if(e===-1/0)return"Infinitely early in the past";if(!isFinite(e))return"";var t=new Date(Math.round(1e3*e)).toISOString();return t.substring(0,t.length-1)}}},parse:function(e,t,r){return r.date.parse?r.date.parse(e,t,r):isNaN(Date.parse(e))?0:Date.parse(e)/1e3}},time:{format:{final:{transform:function(e,t){if((e="number"==typeof e?e:parseFloat(e))===1/0)return"Infinitely far in the future";if(e===-1/0)return"Infinitely early in the past";if(!isFinite(e))return"";var r=new Date(Math.round(1e3*e)).toISOString();return r=r.substring(r.indexOf("T")+1,r.length-1),t.step&&t.step>=60&&t.step%60==0?r.substring(0,r.lastIndexOf(":")):r}}},parse:function(e){return"number"==typeof e?e:e instanceof Date?e.getTime()/1e3:isNaN(Date.parse(e))?parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,(function(e,t,r,i,n,o){return String(parseInt(t)*Math.pow(60,2)+60*parseInt(r)+(i?parseFloat(n):0))}))):Date.parse(e)/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,t,r){var i,o;return new Intl.NumberFormat(V.locales,n()({maximumFractionDigits:0},null!==(i=null==(o=r.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 K=V},function(t){t.exports=e},function(e){e.exports=n},function(e){e.exports=o},function(e){e.exports=a},function(e){e.exports=c},function(e){e.exports=w},function(e){e.exports=l},function(e){e.exports=d},function(e){e.exports=m},function(e){e.exports=s},function(e){e.exports=g},function(e){e.exports=v},function(e){e.exports=_},function(e,t,r){r.d(t,{Bg:function(){return b},Ko:function(){return x},O:function(){return E},Uz:function(){return O},W2:function(){return T},au:function(){return g},q:function(){return A},rV:function(){return v}});var i=r(1),n=r.n(i),o=r(3),a=r.n(o),l=r(5),c={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},s={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])},d=n()({},c,{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)(s)}),u=n()({},c,s,{className:l.string,disabled:l.boolean,enforceUncontrolled:l.boolean,initialValue:l.any,inputProperties:l.object,model:(0,l.shape)(d),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}),m={dirty:!1,focused:!1,invalid:!1,invalidRequired:!1,pristine:!0,touched:!1,untouched:!0,valid:!0,visited:!1},p={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:n()({},m),trim:!0,type:"string",writable:!0},f={enforceUncontrolled:!1,model:n()({},p),showDeclaration:void 0,showInitialValidationState:!1,requiredText:"Please fill this field."},h=(n()({},u,s,{checked:l.boolean,id:l.string}),n()({},p,{default:!1,type:"boolean",value:!1})),_=(n()({},f,{default:!1,model:n()({},h),requiredText:"Please check this field."}),n()({},s,{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=n()({},u,_,{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)(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=n()({},m,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),y=n()({},p,{state:b}),x=n()({},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:n()({},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=n()({},s,{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=n()({},u,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}),A=n()({},m,{invalidContentTypePattern:!1,invalidMaximumSize:!1,invalidMinimumSize:!1,invalidName:!1}),P=n()({},p,{contentTypeRegularExpressionPattern:/^.+\/.+$/,invertedContentTypeRegularExpressionPattern:null,fileName:n()({},y,{maximumLength:1024,name:"Name",regularExpressionPattern:/^[^/]+$/}),maximumSize:1/0,minimumSize:0,state:A}),T=n()({},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});delete T.model;var O=n()({},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:n()({},P),sourceToBlobOptions:{endings:"transparent",type:"text/plain"}}),k=(n()({},u,_,{children:l.func,createPrototype:l.func,maximumNumber:l.number,minimumNumber:l.number}),n()({},p,{state:n()({},p.state,{invalidMaximumNumber:!1,invalidMinimumNumber:!1}),maximumNumber:1/0,minimumNumber:0,type:"string[]"}));n()({},f,{addIcon:{icon:"add"},removeIcon:{icon:"clear"},createPrototype:function(e){return e.prototype},model:n()({},k)}),n()({},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)])})}),n()({},m),n()({},y,{description:"End",name:"end"}),n()({},y,{description:"Start",name:"start"})},,,function(e){e.exports=h},function(e){e.exports=r}],T={};function O(e){var t=T[e];if(void 0!==t)return t.exports;var r=T[e]={exports:{}};return P[e](r,r.exports,O),r.exports}O.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return O.d(t,{a:t}),t},A=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},O.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);O.r(r);var i={};E=E||[null,A({}),A([]),A(A)];for(var n=2&t&&e;"object"==typeof n&&!~E.indexOf(n);n=A(n))Object.getOwnPropertyNames(n).forEach((function(t){i[t]=function(){return e[t]}}));return i.default=function(){return e},O.d(r,i),r},O.d=function(e,t){for(var r in t)O.o(t,r)&&!O.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},O.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},O.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var C={};return function(){O.r(C),O.d(C,{FileInput:function(){return N},FileInputInner:function(){return S},default:function(){return j},determineRepresentationType:function(){return P},determineValidationState:function(){return T},preserveStaticFileBaseNameInputGenerator:function(){return A},readBinaryDataIntoText:function(){return k}});var e=O(16),t=O.n(e),r=O(1),i=O.n(r),n=O(17),o=O.n(n),a=O(32),l=O(3),c=O.n(l),s=O(2),d=O(33),u=O(18),m=O(4),p=O(9),f=O(15),h=O(7),_=O(8),v=O(29),g=O(0),b={"mdc-touch-target-wrapper":"mdc-touch-target-wrapper","mdc-button":"mdc-button","mdc-elevation-overlay":"mdc-elevation-overlay","mdc-button__ripple":"mdc-button__ripple","mdc-button__icon":"mdc-button__icon","mdc-button__touch":"mdc-button__touch","mdc-button__label":"mdc-button__label","mdc-button--outlined":"mdc-button--outlined","mdc-button--raised":"mdc-button--raised","mdc-button--unelevated":"mdc-button--unelevated","mdc-button--touch":"mdc-button--touch","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-card":"mdc-card","mdc-card--outlined":"mdc-card--outlined","mdc-card__content":"mdc-card__content","mdc-card__media":"mdc-card__media","mdc-card__media--square":"mdc-card__media--square","mdc-card__media--16-9":"mdc-card__media--16-9","mdc-card__media-content":"mdc-card__media-content","mdc-card__primary-action":"mdc-card__primary-action","mdc-card__actions":"mdc-card__actions","mdc-card__actions--full-bleed":"mdc-card__actions--full-bleed","mdc-card__action-buttons":"mdc-card__action-buttons","mdc-card__action-icons":"mdc-card__action-icons","mdc-card__action":"mdc-card__action","mdc-card__action--button":"mdc-card__action--button","mdc-card__action--icon":"mdc-card__action--icon","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-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-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-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","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","file-input":"file-input","file-input__download":"file-input__download","file-input__iframe-wrapper":"file-input__iframe-wrapper","file-input__text-representation":"file-input__text-representation","file-input__iframe-wrapper--padding":"file-input__iframe-wrapper--padding","file-input__native":"file-input__native","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"},y=new RegExp("^image\\/(?:p?jpe?g|png|svg(?:\\+xml)?|vnd\\.microsoft\\.icon|gif|tiff|webp|vnd\\.wap\\.wbmp|x-(?:icon|jng|ms-bmp))$","i"),x=new RegExp("^(?:application\\/xml)|(?:text\\/(?:plain|x-ndpb[wy]html|(?:x-)?csv|x?html?|xml))$","i"),w=/^text\/plain$/i,E=new RegExp("^video\\/(?:(?:x-)?(?:x-)?webm|3gpp|mp2t|mp4|mpeg|quicktime|(?:x-)?flv|(?:x-)?m4v|(?:x-)mng|x-ms-as|x-ms-wmv|x-msvideo)|(?:application\\/(?:x-)?shockwave-flash)$","i"),A=function(e,t){var r=t.name,n=t.value.name;return i()({},e,{disabled:!0,value:r+(n.includes(".")?""+n.substring(n.lastIndexOf(".")):"")})},P=function(e){return e=e.replace(/; *charset=.+$/,""),x.test(e)?w.test(e)?"renderableText":"text":y.test(e)?"image":E.test(e)?"video":"binary"},T=function(e,t,r){return(0,_.determineValidationState)(e,r,{invalidMaximumSize:function(){var t,r;return"number"==typeof e.model.maximumSize&&e.model.maximumSize<((null==(t=e.model.value)||null==(r=t.blob)?void 0:r.size)||0)},invalidMinimumSize:function(){var t,r;return"number"==typeof e.model.minimumSize&&e.model.minimumSize>((null==(t=e.model.value)||null==(r=t.blob)?void 0:r.size)||0)},invalidName:function(){return t},invalidContentTypePattern:function(){var t,r;return"string"==typeof(null==(t=e.model.value)||null==(r=t.blob)?void 0:r.type)&&[].concat(e.model.contentTypeRegularExpressionPattern).some((function(t){return"string"==typeof t&&!new RegExp(t).test(e.model.value.blob.type)||null!==t&&"object"==typeof t&&!t.test(e.model.value.blob.type)}))},invalidInvertedContentTypePattern:function(){var t,r;return"string"==typeof(null==(t=e.model.value)||null==(r=t.blob)?void 0:r.type)&&[].concat(e.model.invertedContentTypeRegularExpressionPattern).some((function(t){return"string"==typeof t&&new RegExp(t).test(e.model.value.blob.type)||null!==t&&"object"==typeof t&&t.test(e.model.value.blob.type)}))}})},k=function(e,t){return void 0===t&&(t="utf-8"),new Promise((function(r,i){var n=new FileReader;n.onload=function(e){var i=e.target.result;i.length&&t.endsWith("-sig")&&65279===i.charCodeAt(0)&&(i=i.slice(1)),i=i.replace(/\r\n/g,"\n"),r(i)},n.onabort=function(){return i(new Error("abort"))},n.onerror=function(){return i(new Error)},n.readAsText(e,t.endsWith("-sig")?t.substring(0,t.length-"-sig".length):t)}))},S=function(e,r){var n,l,y,w,E,A,O,C,S,j=function(e){var t=(0,_.mapPropertiesIntoModel)(e,N.defaultProperties.model);return T(t,!1,t.model.state),(0,_.getConsolidatedProperties)(t)},R=function(e){var t;null!=(t=B.current)&&t.properties&&(H.model.fileName=B.current.properties.model);var r=j(H);delete H.model.value,delete H.value,H.styles=c().copy(H.styles),c().extend(!0,H,r),(0,_.triggerCallbackIfExists)(H,"change",$,H,e)},I=function(e,t,r,n){if(void 0===n&&(n=!1),H.model.mutable&&H.model.writable){if(e&&D.current&&e.target===D.current){var o;if(null==(o=(t=e).target.files)||!o.length)return;var a=t.target.files[0];H.value={blob:a,name:a.name}}F((function(r){var o,a;if(null===e?H.value=e:"string"==typeof e?H.value=i()({},r.value,{name:e}):"string"!=typeof e.source&&"string"!=typeof e.url||(H.value=n?i()({},r.value,e):e),c().equals(r.value,H.value))return r;var l=!1,s=i()({},r,{value:H.value});return r.modelState.pristine&&(H.dirty=!0,H.pristine=!1,l=!0),R(t),T(H,(null==(o=B.current)||null==(a=o.properties)?void 0:a.invalid)||!1,r.modelState)&&(l=!0),(0,_.triggerCallbackIfExists)(H,"changeValue",$,H.value,t,H),l&&(s.modelState=H.model.state,(0,_.triggerCallbackIfExists)(H,"changeState",$,H.model.state,t,H)),n&&(s.attachBlobProperty=!0),s}))}},L=function(e){return F((function(t){var r=!1;t.modelState.focused||(H.focused=!0,r=!0),t.modelState.untouched&&(H.touched=!0,H.untouched=!1,r=!0);var n=t;return r&&(R(e),n=i()({},t,{modelState:H.model.state}),(0,_.triggerCallbackIfExists)(H,"changeState",$,H.model.state,e,H)),(0,_.triggerCallbackIfExists)(H,"touch",$,e,H),n}))},q=(0,s.useRef)(null),M=(0,s.useRef)(null),D=(0,s.useRef)(null),B=(0,s.useRef)(null),U=(0,s.useRef)(null),W=(0,_.translateKnownSymbols)(e),z=(0,_.determineInitialValue)(W,N.defaultProperties.model.default),V=c().extend(!0,c().copy(N.defaultProperties),W),K=(0,s.useState)({attachBlobProperty:!1,modelState:i()({},N.defaultModelState),value:z}),X=K[0],F=K[1],$=!V.enforceUncontrolled&&(void 0!==(null==(n=W.model)?void 0:n.value)||void 0!==W.value)&&Boolean(W.onChange||W.onChangeValue);(0,_.deriveMissingPropertiesFromState)(V,X);var H=j(V);X.attachBlobProperty&&X.value&&(H.value=c().extend(!0,X.value,H.value));var G={attachBlobProperty:!1,modelState:H.model.state,value:H.value};!X.attachBlobProperty&&($||c().equals(H.value,X.value))&&c().equals(H.model.state,X.modelState)||F(G),$&&(F=(0,_.wrapStateSetter)(F,G)),(0,s.useImperativeHandle)(r,(function(){return{properties:H,references:{deleteButtonReference:q,downloadLinkReference:M,fileInputReference:D,nameInputReference:B,uploadButtonReference:U},state:i()({modelState:H.model.state},$?{}:{value:H.value})}})),(0,s.useEffect)((function(){t()(o().mark((function e(){var t,r,i,n,l,c;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=null,!(null!=(t=H.value)&&t.blob&&H.value.blob instanceof Blob)||H.value.source){e.next=18;break}if(!x.test(H.value.blob.type)){e.next=8;break}return e.next=5,k(H.value.blob);case 5:e.t0=e.sent,e.next=16;break;case 8:if("undefined"!=typeof Blob){e.next=12;break}e.t1=H.value.toString("base64"),e.next=15;break;case 12:return e.next=14,(0,a.blobToBase64String)(H.value.blob);case 14:e.t1=e.sent;case 15:e.t0=e.t1;case 16:e.t2=e.t0,i={source:e.t2};case 18:null!=(r=H.value)&&r.source&&(H.value.blob||(null!=(n=H.value.url)&&n.startsWith("data:")?i={blob:(0,a.dataURLToBlob)(H.value.source)}:H.sourceToBlobOptions&&(i={blob:new Blob([H.value.source],H.sourceToBlobOptions)})),!H.value.url&&null!=(l=H.value.blob)&&l.type&&(c=x.test(H.value.blob.type)?btoa(H.value.source):H.value.source,i={url:"data:"+H.value.blob.type+";base64,"+c})),i&&I(i,void 0,0,!0);case 20:case"end":return e.stop()}}),e)})))().catch(console.error)}));var Y=null!=(l=H.value)&&null!=(y=l.blob)&&y.type?P(H.value.blob.type):"binary",J=H.invalid&&(H.showInitialValidationState||H.visited);return(0,g.jsx)(h.WrapConfigurations,{strict:N.strict,themeConfiguration:H.themeConfiguration,tooltip:H.tooltip,children:(0,g.jsxs)(d.Card,{className:[b["file-input"]].concat(null!==(w=H.className)&&void 0!==w?w:[]).join(" "),onBlur:function(e){return F((function(t){var r=!1;return t.modelState.focused&&(H.focused=!1,r=!0),t.modelState.visited||(H.visited=!0,r=!0),r&&(R(e),(0,_.triggerCallbackIfExists)(H,"changeState",$,H.model.state,e,H)),(0,_.triggerCallbackIfExists)(H,"blur",$,e,H),r?i()({},t,{modelState:H.model.state}):t}))},onClick:function(e){(0,_.triggerCallbackIfExists)(H,"click",$,e,H),L(e)},onFocus:function(e){(0,_.triggerCallbackIfExists)(H,"focus",$,e,H),L(e)},style:H.styles,children:[(0,g.jsxs)(d.CardPrimaryAction,{children:[null!=(E=H.value)&&E.url?"image"===Y?(0,g.jsx)(d.CardMedia,i()({},H.media,{style:{backgroundImage:"url("+H.value.url+")"}})):"video"===Y?(0,g.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,children:(0,g.jsx)("source",{src:H.value.url,type:H.value.blob.type})}):"renderableText"===Y?(0,g.jsx)("div",{className:[b["file-input__iframe-wrapper"]].concat(["text/html","text/plain"].includes(H.value.blob.type)?b["file-input__iframe-wrapper--padding"]:[]).join(" "),children:(0,g.jsx)("iframe",{frameBorder:"no",scrolling:"no",src:H.value.url})}):null!=(A=H.value)&&A.source&&"text"===Y?(0,g.jsx)("pre",{className:b["file-input__text-representation"],children:H.value.source}):"":null!=(O=H.value)&&O.blob&&H.value.blob instanceof Blob?(0,g.jsx)(u.CircularProgress,{size:"large"}):"",(0,g.jsxs)("div",{children:[(0,g.jsx)(p.Typography,{tag:"h2",use:"headline6",children:J?(0,g.jsx)(m.Theme,{use:"error",children:H.description?H.description:H.name}):H.description?H.description:H.name}),H.declaration?(0,g.jsx)(p.Typography,{style:{marginTop:"-1rem"},tag:"h3",theme:"textSecondaryOnBackground",use:"subtitle2",children:J?(0,g.jsx)(m.Theme,{use:"error",children:H.declaration}):H.declaration}):"",H.value?(0,g.jsx)(f.default,i()({ref:B},H.generateFileNameInputProperties(i()({disabled:H.disabled,value:null==(C=H.value)?void 0:C.name},v.W2,{model:H.model.fileName,onChangeValue:I,default:H.value.name}),H))):"",H.children?H.children({declaration:H.declaration,invalid:J,properties:H,value:H.value}):""]}),(0,g.jsx)("input",{disabled:H.disabled,className:b["file-input__native"],id:H.id||H.name,name:H.name,onChange:I,ref:D,type:"file"})]}),!H.disabled||H.value?(0,g.jsx)(d.CardActions,{children:(0,g.jsxs)(d.CardActionButtons,{children:[H.disabled?"":(0,g.jsx)(d.CardActionButton,{onClick:function(){var e;return null==(e=D.current)?void 0:e.click()},ref:U,ripple:H.ripple,children:H.value?H.editButton:H.newButton}),H.value?(0,g.jsxs)(g.Fragment,{children:[H.disabled?"":(0,g.jsx)(d.CardActionButton,{onClick:function(){return I(null)},ref:q,ripple:H.ripple,children:H.deleteButton}),H.value.url?(0,g.jsx)(d.CardActionButton,{onClick:function(){var e;return null==(e=M.current)?void 0:e.click()},ripple:H.ripple,children:(0,g.jsx)("a",i()({className:b["file-input__download"],download:H.value.name,href:H.value.url,ref:M,target:"_blank"},null!=(S=H.value.blob)&&S.type?{type:H.value.blob.type}:{},{children:H.downloadButton}))}):""]}):""]})}):""]})})};S.displayName="FileInput";var N=(0,s.memo)((0,s.forwardRef)(S));N.wrapped=S,N.webComponentAdapterWrapped="react",N.defaultModelState=v.q,N.defaultProperties=i()({},v.Uz,{model:i()({},v.Uz.model,{state:void 0,value:void 0}),value:void 0}),N.propTypes=v.O,N.strict=!1;var j=N}(),C}())},,,,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__47__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__48__}],__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__,{FileInput:function(){return n}});var e=__webpack_require__(0),t=__webpack_require__(32),r=__webpack_require__.n(t),i=__webpack_require__(1),n=__webpack_require__.n(i)()(r(),"FileInput",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:e.boolean,focused:e.boolean,invalid:e.boolean,invalidMaximumSize:e.boolean,invalidMinimumSize:e.boolean,invalidMimeTypePattern:e.boolean,invalidNamePattern: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=n}(),__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/card"),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("blob-util"),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/card","@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","blob-util","react-ace","react-transition-group","react/jsx-runtime"],t);else{var i="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/card"),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("blob-util"),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/card"],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["blob-util"],e["react-ace"],e["react-transition-group"],e["react/jsx-runtime"]);for(var r in i)("object"==typeof exports?exports:e)[r]=i[r]}}(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__47__,__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__48__,__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,i){var r=i(0),n=i.n(r),o=i(1),a=i.n(o),l=i(2);t.default=function(e){return void 0===e&&(e={}),e=n()({readAttribute:!0,type:l.string},e),function(t,i){if("string"==typeof i){var r,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(i);o.observedAttributes.includes(l)||o.observedAttributes.push(l)}e.type&&(Object.prototype.hasOwnProperty.call(o,"propertyTypes")||(o.propertyTypes=o.propertyTypes?n()({},o.propertyTypes):{}),!e.update&&Object.prototype.hasOwnProperty.call(o,i)||(o.propertyTypes[i]=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(i)||Array.isArray(o.propertiesToReflectAsAttributes)&&!o.propertiesToReflectAsAttributes.includes(i)||null!==o.propertiesToReflectAsAttributes&&"object"==typeof o.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(o.propertiesToReflectAsAttributes,i))&&("boolean"==typeof e.writeAttribute?!0===e.writeAttribute&&o.propertyTypes&&Object.prototype.hasOwnProperty.call(o.propertyTypes,i)&&(r=o.propertyTypes[i]):r=e.writeAttribute,void 0!==r&&(Array.isArray(o.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?o.propertiesToReflectAsAttributes.push(i):o.propertiesToReflectAsAttributes=o.normalizePropertyTypeList(o.propertiesToReflectAsAttributes)),o.propertiesToReflectAsAttributes instanceof Map&&o.propertiesToReflectAsAttributes.set(i,r),null!==o.propertiesToReflectAsAttributes&&"object"==typeof o.propertiesToReflectAsAttributes&&(o.propertiesToReflectAsAttributes[i]=r)))),e.alias&&(Object.prototype.hasOwnProperty.call(o,"propertyAliases")||(o.propertyAliases=o.propertyAliases?n()({},o.propertyAliases):{}),!e.update&&Object.prototype.hasOwnProperty.call(o,i)||(o.propertyAliases[i]=e.alias))}}}},function(e,t,i){i.d(t,{api:function(){return P}});var r,n,o,a,l=i(0),c=i.n(l),s=i(6),d=i.n(s),u=i(7),m=i.n(u),p=i(3),f=i.n(p),h=i(8),_=i.n(h),v=i(9),g=i.n(v),b=(i(10),i(1)),y=i.n(b),x=i(2);function w(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return(i=i.call(e)).next.bind(i);if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return E(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?E(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}var A=(r=(0,i(4).default)({type:x.boolean,writeAttribute:!0}),a=function(e){function t(){var i;return(i=e.call(this)||this).batchAttributeUpdates=!0,i.batchPropertyUpdates=!0,i.batchUpdates=!0,i.batchedAttributeUpdateRunning=!0,i.batchedPropertyUpdateRunning=!0,i.batchedUpdateRunning=!0,i.parent=null,i.rootInstance=null,i.scope={Tools:y()},i.domNodeEventBindings=new Map,i.domNodeTemplateCache=new Map,i.externalProperties={},i.ignoreAttributeUpdateObservations=!1,i.internalProperties={},i.outputEventNames=new Set,i.instance=null,d()(i,"isRoot",o,m()(i)),i.root=void 0,i.runDomConnectionAndRenderingInSameEventQueue=!1,i.self=t,i.slots={},i.self=i.constructor,i.self._propertiesToReflectAsAttributes||(i.self._propertiesToReflectAsAttributes=i.self.normalizePropertyTypeList(i.self.propertiesToReflectAsAttributes)),i.generateAliasIndex(),i.root=m()(i),i.defineGetterAndSetterInterface(),i}f()(t,e);var i=t.prototype;return i.attributeChangedCallback=function(e,t,i){this.ignoreAttributeUpdateObservations||t===i||this.updateAttribute(e,i)},i.updateAttribute=function(e,t){var i=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,y().timeout((function(){i.batchedAttributeUpdateRunning=!1,i.batchedUpdateRunning=!1,i.render("attributeChanged")}))):this.render("attributeChanged")},i.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")}))},i.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=w(this.domNodeEventBindings.values());!(e=t()).done;)for(var i,r=w(e.value.values());!(i=r()).done;)(0,i.value)();this.slots={}},i.defineGetterAndSetterInterface=function(){for(var e,t=this,i=function(){var i=e.value;Object.prototype.hasOwnProperty.call(t,i)&&t.setPropertyValue(i,t[i]),Object.defineProperty(t,i,{configurable:!0,get:function(){return t.getPropertyValue(i)},set:function(e){t.setPropertyValue(i,e),t.triggerPropertySpecificRendering(i,e)}})},r=w(y().arrayUnique(Object.keys(this.self.propertyTypes).concat(Object.keys(this.self._propertyAliasIndex))));!(e=r()).done;)i()},i.getPropertyAlias=function(e){return Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},i.getPropertyValue=function(e){var i,r,n,o,a=null!=(i=this.instance)&&null!=(r=i.current)&&r.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(n=this.instance)&&null!=(o=n.current)&&o.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:a},i.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var i=this.getPropertyAlias(e);i&&(this.externalProperties[i]=t)},i.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var i=this.getPropertyAlias(e);i&&(this.internalProperties[i]=t)},i.setPropertyValue=function(e,t){var i;this.reflectProperties(((i={})[e]=t,i)),this.setInternalPropertyValue(e,t)},i.triggerPropertySpecificRendering=function(e,t){var i=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,y().timeout((function(){void 0!==t&&i.isStateProperty(e)?(i.render("preStatePropertyChanged"),y().timeout((function(){i.setInternalPropertyValue(e,void 0),i.batchedPropertyUpdateRunning=!1,i.batchedUpdateRunning=!1,i.render("postStatePropertyChanged"),i.triggerOutputEvents()})).then(y().noop,y().noop)):(i.batchedPropertyUpdateRunning=!1,i.batchedUpdateRunning=!1,i.render("propertyChanged"),i.triggerOutputEvents())})));else{var r=this.isStateProperty(e);this.render(r?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&r&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},i.applyBinding=function(e,t){var i=this;if(e.getAttributeNames)for(var r,n=function(){var n=r.value,o="";if(n.startsWith("data-bind-")?o=n.substring("data-bind-".length):n.startsWith("bind-")&&(o=n.substring("bind-".length)),o){var a=e.getAttribute(n);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 "'+n+'" 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-")){i.domNodeEventBindings.has(e)||i.domNodeEventBindings.set(e,new Map);var s=i.domNodeEventBindings.get(e);o=y().stringDelimitedToCamelCase(o.substring("on-".length)),s.has(o)&&s.get(o)(),t=c()({event:void 0,parameters:void 0},t);var d=y().stringCompile(a,t,!0);if(d.error)console.warn('Error occurred during compiling given event binding "'+n+'" on node:',e,d.error);else{var u=d.templateFunction.bind(e),m=function(){for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];t.event=r[0],t.parameters=r;try{u.apply(void 0,d.originalScopeNames.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+n+'" on node:',e,'Given expression "'+a+'" could not be evaluated with given scope names "'+d.scopeNames.join('", "')+'": '+y().represent(t))}};e.addEventListener(o,m),s.set(o,(function(){e.removeEventListener(o,m),s.delete(o),0===s.size&&i.domNodeEventBindings.delete(e)}))}}}},o=w(e.getAttributeNames());!(r=o()).done;)n()},i.applyBindings=function(e,t,i){for(void 0===i&&(i=!0);e;){var r;null==(r=e.attributes)||!r.length||!i&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},i.compileDomNodeTemplate=function(e,t,i){var r;if(void 0===t&&(t=[]),void 0===i&&(i={}),(i=c()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},i)).ignoreComponents&&null!=(r=e.nodeName)&&r.toLowerCase().includes("-"))return i.map;if(i.unsafe){var n=e.innerHTML;if(!n&&e.template&&(n=e.template),this.self.hasCode(n)){var o=y().stringCompile("`"+n+"`",t);i.map.set(e,{children:[],error:o.error,scopeNames:o.scopeNames,template:n,templateFunction:o.templateFunction})}}else{var a,l=e.nodeName.toLowerCase();if(["a","#text"].includes(l)){var s="a"===l?e.getAttribute("href"):e.textContent;this.self.hasCode(s)&&(a=s.replace(/ /g," ").trim())}var d=[];if(a){var u=y().stringCompile("`"+a+"`",t);i.map.set(e,{children:d,error:u.error,scopeNames:u.scopeNames,template:a,templateFunction:u.templateFunction})}for(var m=e.firstChild;m;)i.filter&&!i.filter(m)||d.push(this.compileDomNodeTemplate(m,t,c()({},i,{ignoreComponents:i.ignoreNestedComponents}))),m=m.nextSibling}return i.map},i.evaluateDomNodeTemplate=function(e,t,i){var r;if(void 0===t&&(t={}),void 0===i&&(i={}),(i=c()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},i)).map.has(e)||this.compileDomNodeTemplate(e,t,i),i.map.has(e)){var n=i.map.get(e),o=n.error,a=n.scopeNames,l=n.templateFunction;if(o)console.warn("Error occurred during compiling node content: "+o);else{var s=null;try{s=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!==s&&(i.unsafe?e.innerHTML=s:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",s):e.textContent=s)}}if(!(i.unsafe||i.ignoreComponents&&null!=(r=e.nodeName)&&r.toLowerCase().includes("-")))for(var d=e.firstChild;d;)i.filter&&!i.filter(d)||this.evaluateDomNodeTemplate(d,t,c()({},i,{applyBindings:!1,ignoreComponents:i.ignoreNestedComponents})),d=d.nextSibling;return i.applyBindings&&this.applyBindings(e,t),i.map},t.replaceDomNodes=function(e,i){for(var r,n=w([].concat(i).reverse());!(r=n()).done;){var o,a=r.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,i=[];e.firstChild;)i.push(e.firstChild),t.insertBefore(e.firstChild,e);return t.removeChild(e),i},i.determineRootBinding=function(){for(var e=this.parentNode;e;){var i;(e instanceof t||null!=(i=e.nodeName)&&i.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 i,r=e,n=new Map,o=w(r);!(i=o()).done;){var a=i.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&n.set(a,t.propertyTypes[a])}return n}return y().convertPlainObjectToMap(e)},i.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},i.attachExplicitDefinedOutputEventHandler=function(){for(var e=this,t=!1,i=function(){var i=n[r];Object.prototype.hasOwnProperty.call(e.internalProperties,i)||(t=!0,e.outputEventNames.add(i),e.setInternalPropertyValue(i,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=e.reflectEventToProperties(i,r);o&&(r[0]=o),e.forwardEvent(i,r)})))},r=0,n=Object.keys(this.self.eventToPropertyMapping);r<n.length;r++)i();return t},i.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var i=function(){var i=n[r],o=i[0],a=i[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 i=arguments.length,r=new Array(i),n=0;n<i;n++)r[n]=arguments[n];e&&t.reflectEventToProperties(o,r),t.forwardEvent(o,r)})))},r=0,n=Object.entries(this.self.propertyTypes);r<n.length;r++)i()},i.triggerOutputEvents=function(){for(var e,t=w(this.outputEventNames);!(e=t()).done;){var i=e.value;this.forwardEvent(i,[this.externalProperties])}},i.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}}))},i.applySlots=function(e,t){for(var i=this,r=0,n=Array.from(e.querySelectorAll("slot"));r<n.length;r++){var o=n[r],a=o.getAttribute("name");if(null===a||"default"===a)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var l,c=w(this.slots.default);!(l=c()).done;){var s=l.value;this.evaluateDomNodeTemplate(s,t)}this.self.replaceDomNodes(o,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(o).map((function(e){return i.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])}},i.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 i,r,n=e.firstElementChild.value;null==(i=e.classList)||i.remove("web-component-template");var o=e.cloneNode();return null==(r=e.classList)||r.add("web-component-template"),o.innerHTML="",o.template=n,o}return this.self.cloneSlots?e.cloneNode(!0):e},i.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,i=Array.from(this.querySelectorAll("[slot]"));t<i.length;t++){for(var r=i[t],n=r.parentNode,o=!0;n;){if(n.nodeName.includes("-")){n===this&&(o=!1);break}n=n.parentNode}o||(this.slots[r.getAttribute&&r.getAttribute("slot")&&r.getAttribute("slot").trim()?r.getAttribute("slot").trim():r.nodeName.toLowerCase()]=this.grabSlotContent(r))}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=[]},i.isStateProperty=function(e){var t,i,r,n;return Boolean((null==(t=this.instance)||null==(i=t.current)?void 0:i.state)&&(Object.prototype.hasOwnProperty.call(null==(r=this.instance)||null==(n=r.current)?void 0:n.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},i.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=c()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var i=t[e],r=i[0],n=i[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,n)||(this.self._propertyAliasIndex[n]=r)}}},i.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,i=Object.entries(e);t<i.length;t++){var r=i[t],n=r[0],o=r[1];if(this.setExternalPropertyValue(n,o),this.isConnected){var a=y().stringCamelCaseToDelimited(n);if(this.self._propertiesToReflectAsAttributes.has(n))switch(this.self._propertiesToReflectAsAttributes.get(n)){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 c=""+o;this.getAttribute(a)!==c&&this.setAttribute(a,c)}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 s=y().represent(o);if(s&&this.getAttribute(a)!==s){this.setAttribute(a,s);break}}this.hasAttribute(a)&&this.removeAttribute(a)}}}this.ignoreAttributeUpdateObservations=!1},i.reflectProperties=function(e){var t,i,r,n;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(i=t.current)&&i.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!=(r=this.internalProperties.model)&&r.state&&(null==(n=this.internalProperties.model)||delete n.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var c,s=w(this.self.controllableProperties);!(c=s()).done;){var d=c.value;Object.prototype.hasOwnProperty.call(e,d)&&this.setInternalPropertyValue(d,e[d])}},i.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)},i.reflectEventToProperties=function(e,t){var i=this.batchUpdates;this.batchUpdates=!1;var r=null;if(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,e)&&y().isFunction(this.self.eventToPropertyMapping[e])){var n,o=(n=this.self.eventToPropertyMapping)[e].apply(n,t.concat([this]));Array.isArray(o)?(r=o[0],this.reflectProperties(r),y().extend(!0,this.internalProperties,o[1])):null!==o&&"object"==typeof o&&(r=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 s=0,d=Object.keys(this.self.propertyTypes);s<d.length;s++)for(var u,m=d[s],p=w([m].concat(null!==(f=this.getPropertyAlias(m))&&void 0!==f?f:[]));!(u=p()).done;){var f,h=u.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=c()({},l.detail));r=l,this.reflectProperties(l)}return this.triggerRender("propertyReflected"),this.batchUpdates=i,r},i.evaluateStringOrNullAndSetAsProperty=function(e,t){var i=this,r=e.startsWith("-"),n=r?e.substring(1):e,o=y().stringDelimitedToCamelCase(n),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(r){if(t){var c=y().stringEvaluate(t,{Tools:y()},!1,this);c.error?(console.warn('Faild to process pre-evaluation attribute "'+e+'": '+c.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(o,void 0)):(this.setInternalPropertyValue(o,c.result),this.setExternalPropertyValue(o,c.result))}}else switch(l){case x.boolean:case"boolean":var s=![null,"false"].includes(t);this.setInternalPropertyValue(o,s),this.setExternalPropertyValue(o,s);break;case x.func:case"function":var d,u=null,m=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var p=y().stringCompile(t,m);u=p.error,d=p.templateFunction,u&&console.warn('Failed to compile given handler "'+e+'": '+u+".")}this.setInternalPropertyValue(o,(function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];i.outputEventNames.has(o)&&i.reflectEventToProperties(o,n);var l=void 0;if(!u)try{l=d.call(i,n[0],n[0],n[0],n[0],n[0],n[0],n,y())}catch(i){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+m.join('", "')+'" set to "'+y().represent(n)+'": '+i+'. Set property to "undedefined".')}return i.self.renderProperties.includes(o)||i.forwardEvent(o,n),l})),u||this.setExternalPropertyValue(o,d);break;case"json":if(t){var f;try{f=JSON.parse(t)}catch(u){console.warn('Error occurred during parsing given json attribute "'+e+'": '+y().represent(u));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))}}},i.determineRenderScope=function(e){var t,i;void 0===e&&(e={}),this.scope=c()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((i={parent:this.parent,root:this.rootInstance,self:this})[y().stringLowerCase(this.self._name)||"instance"]=this,i),e),this.scope.scope=this.scope},i.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"}))},i.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 i=document.createElement("div");i.innerHTML=t.result,this.applySlots(i,c()({},this.scope,{parent:this})),this.root.innerHTML=i.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,n=a,o=g()(n.prototype,"isRoot",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),n),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,i){i.d(t,{api:function(){return v}});var r=i(0),n=i.n(r),o=i(3),a=i.n(o),l=i(1),c=i.n(l),s=i(2),d=i(11),u=i.n(d),m=i(12),p=i(13);function f(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return(i=i.call(e)).next.bind(i);if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return h(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}var _=function(e){function t(){for(var i,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(i=e.call.apply(e,[this].concat(n))||this).compiledSlots={},i.preparedSlots={},i.reactRoot=null,i.rootReactInstance=null,i.self=t,i.wrapMemorizingWrapper=null,i.isWrapped=!1,i.reflectInstanceProperties=function(){var e;null!=(e=i.instance)&&e.current&&i.instance.current.properties&&i.reflectProperties(i.instance.current.properties)},i}a()(t,e);var i=t.prototype;return i.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},i.disconnectedCallback=function(){var t;null==(t=this.reactRoot)||t.unmount(),e.prototype.disconnectedCallback.call(this)},i.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},i.render=function(e){var t,i=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(n()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(var r=this.firstChild;r;){var o=r.nextSibling;this.removeChild(r),r=o}this.reactRoot||(this.reactRoot=(0,p.createRoot)(this.root)),(0,m.flushSync)((function(){return i.reactRoot.render((0,d.createElement)(i.self.content,i.internalProperties))})),null!=(t=this.instance)&&t.current?this.reflectInstanceProperties():c().timeout(this.reflectInstanceProperties)}},i.setPropertyValue=function(e,t){var i;this.reflectProperties(((i={})[e]=c().copy(t,1),i)),this.setInternalPropertyValue(e,c().copy(t,1))},i.setInternalPropertyValue=function(t,i){null===i?i=s.NullSymbol:void 0===i&&(i=s.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,i)},i.preCompileDomNodes=function(e,t,i){if(void 0===t&&(t={}),void 0===i&&(i=!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,i);for(var r,n=1,o=[],a=f(e);!(r=a()).done;){var l=r.value,c=this.preCompileDomNode(l,t,i,n.toString());c&&(o.push(c),n+=1)}return i?function(e){return function(){for(var t,i=[],r=f(o);!(t=r()).done;){var n=(0,t.value)(e);"function"==typeof n&&i.push(n.apply(void 0,arguments))}return(0,d.createElement)(d.Fragment,{children:i})}}:o},i.preCompileDomNode=function(e,t,i,r){var o,a,l=this;if(void 0===t&&(t={}),void 0===i&&(i=!1),i){var s=this.preCompileDomNode(e,n()({},t,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,r);return function(e){return function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];var o=i.length>0?i[0]:null;return s(n()({},e,{data:o,firstArgument:o,firstParameter:o,options:o,scope:o,parameters:i}))}}}if(e.nodeType===Node.TEXT_NODE){var u="string"==typeof e.nodeValue?e.nodeValue.trim():"",m=r&&u?(0,d.createElement)(d.Fragment,{children:u,key:r}):u||null;return function(){return m}}if(!e.getAttributeNames)return function(){return null};var p=this.self.isReactComponent(e);p?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),o=e.internalProperties,r&&!Object.prototype.hasOwnProperty.call(o,"key")&&(o.key=r),a=e.constructor.content):(o={key:r},a=e.tagName.toLowerCase());for(var h,_=Object.keys(t),v={},g=function(){var i,r=h.value,n=e.getAttribute(r);if(null===n)return"continue";var a=!1,s="";if(r.startsWith("data-bind-")?s=r.substring("data-bind-".length):r.startsWith("bind-")&&(s=r.substring("bind-".length)),s.startsWith("attribute-")||"attributes"===s||s.startsWith("property-")||"properties"===s){var d=c().stringCompile(n,_),u=d.error,m=d.originalScopeNames,p=d.templateFunction;if(u)return console.warn('Error occurred during compiling given attribute binding "'+r+'" on node:',e,u),"continue";"attributes"===s||"properties"===s?a=!0:s=s.startsWith("attribute-")?s.substring("attribute-".length):s.substring("property-".length),n={originalScopeNames:m,templateFunction:p.bind(l)}}else if(s.startsWith("on-")){s=c().stringDelimitedToCamelCase(s),Object.prototype.hasOwnProperty.call(t,"event")||(_=[].concat(_,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(_=[].concat(_,["parameters"]));var f=c().stringCompile(n,_,!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 "'+r+'" on node:',e,g),"continue";var w=x.bind(l);n=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;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 "'+r+'" on node: ',e,'Given expression "'+n+'" could not be evaluated with given scope names "'+y.join('", "')+'": '+c().represent(t))}}}else s=r;var E={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(E,s)&&(s=E[s]),s=c().stringDelimitedToCamelCase(s),null!=(i=n)&&i.originalScopeNames?v[a?"":s]=n:o[s]=n},b=f(e.getAttributeNames());!(h=b()).done;)g();if(!p){var y=Array.from(e.childNodes);y.length&&(o.children=this.preCompileDomNodes(y,t))}return function(i){(i=n()({},t,i)).scope=i;for(var r=n()({},o),c=0,s=Object.entries(v);c<s.length;c++){var u=s[c],m=u[0],f=u[1],h=f.originalScopeNames,_=f.templateFunction.apply(void 0,h.map((function(e){return i[e]})));""===m?r=n()({},r,_):r[m]=_}return Object.prototype.hasOwnProperty.call(r,"innerHTML")&&(r.dangerouslySetInnerHTML={__html:r.innerHTML},delete r.children,delete r.innerHTML),Object.prototype.hasOwnProperty.call(r,"textContent")?(r.children=r.textContent,delete r.textContent):p?(e.evaluateSlots(n()({},r,i,{parent:e})),e.prepareProperties(r),i=n()({},r,i,{parent:e})):r.children&&(r.children=l.evaluatePreCompiledDomNodes(r.children,i)),(0,d.createElement)(a,r)}},i.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 i,r=[],n=f(e);!(i=n()).done;){var o=(0,i.value)(t);o&&r.push(o)}return r},i.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],n()({},this.scope,{parent:this}),[s.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,n()({},this.scope,{parent:this}),[s.func,"function"].includes(null==(e=this.self.propertyTypes)?void 0:e.children)))},i.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)},i.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}},i.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,d.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,d.forwardRef)((function(t,i){return(0,d.useImperativeHandle)(i,(function(){return{properties:t}})),(0,d.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,d.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,d.memo)(this.self.content),this.self.content.wrapped=e)}},i.prepareProperties=function(e){c().extend(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,d.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var i,r=f(["isRoot","isTrusted","__composed"]);!(i=r()).done;){var n=i.value;Object.prototype.hasOwnProperty.call(t,n)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,n)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,n))&&delete t[n]}},t}(i(5).default);_.attachWebComponentAdapterIfNotExists=!0,_.content="div",_.react=u(),_._name="ReactWebComponent";var v={component:_,register:function(e){return void 0===e&&(e=c().stringCamelCaseToDelimited(_._name)),customElements.define(e,_)}};t.default=_}],m={};function f(e){var t=m[e];if(void 0!==t)return t.exports;var i=m[e]={exports:{}};return d[e](i,i.exports,f),i.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 i in t)f.o(t,i)&&!f.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},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 c},Web:function(){return u},reactWebAPI:function(){return s},webAPI:function(){return d},wrapAsWebComponent:function(){return m}});var e=f(0),t=f.n(e),i=f(3),r=f.n(i),n=f(1),o=f.n(n),a=f(14),l=f(5),c=a.default,s=a.api,d=l.api,u=l.default,m=function(e,i,n){var a,l,s,d;void 0===i&&(i="NoName"),void 0===n&&(n={});var u=e._name||(null==(a=e.___types)||null==(l=a.name)?void 0:l.name)||i.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");n.propTypes&&(e.propTypes=n.propTypes);var m=e.propTypes||{},p=n.propertyAliases||e.propertyAliases||{},f=o().arrayUnique(Object.keys(m).concat(Object.keys(p)).concat(Object.values(p))),h=n.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(c.propertiesToReflectAsAttributes)if(Array.isArray(h))h=[].concat(c.propertiesToReflectAsAttributes,h);else if(h instanceof Map)for(var _=0,v=c.propertiesToReflectAsAttributes;_<v.length;_++){var g=v[_];h.set(g,c.propertyTypes[g])}else if(null!==h&&"object"==typeof h)for(var b=0,y=c.propertiesToReflectAsAttributes;b<y.length;b++){var x=y[b];h[x]=c.propertyTypes[x]}var w=f.map((function(e){return o().stringCamelCaseToDelimited(e)})),E=function(i){function o(){for(var r,a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return(r=i.call.apply(i,[this].concat(l))||this).self=o,r.internalProperties=n.internalProperties?t()({},n.internalProperties):e.internalProperties?t()({},e.internalProperties):{},r}return r()(o,i),o}(c);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof n.attachWebComponentAdapterIfNotExists||n.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=c.observedAttributes.concat(w).concat(w.map((function(e){return"-"+e}))),E.controllableProperties=e.controllableProperties||n.controllableProperties||[],E.eventToPropertyMapping=null===n.eventToPropertyMapping?n.eventToPropertyMapping:n.eventToPropertyMapping?t()({},n.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?t()({},e.eventToPropertyMapping):{},E.propertyAliases=t()({},c.propertyAliases,p),E.propertiesToReflectAsAttributes=h,E.propertyTypes=t()({},c.propertyTypes,m),E.renderProperties=null!==(s=null!==(d=n.renderProperties)&&void 0!==d?d:e.renderProperties)&&void 0!==s?s:c.renderProperties,E._name=u,{component:E,register:function(e){return void 0===e&&(e=o().stringCamelCaseToDelimited(u)),customElements.define(e,E)}}};h.default=m}(),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,i,n,r,o,l,a,c,d,m,s,u,p,f,g,v,h,b,x,y,_,w,k;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),i=__webpack_require__(6),n=__webpack_require__(22),r=__webpack_require__(47),o=__webpack_require__(19),l=__webpack_require__(23),a=__webpack_require__(24),c=__webpack_require__(25),d=__webpack_require__(26),m=__webpack_require__(27),s=__webpack_require__(28),u=__webpack_require__(7),p=__webpack_require__(8),f=__webpack_require__(9),g=__webpack_require__(29),v=__webpack_require__(30),h=__webpack_require__(48),b=__webpack_require__(4),x=__webpack_require__(0),y=__webpack_require__(3),_=__webpack_require__(31),w=__webpack_require__(20),k=__webpack_require__(5),function(){var E,A,P=[function(e){e.exports=k},function(e){e.exports=t},function(e){e.exports=y},function(e){e.exports=b},function(e){e.exports=u},function(e){e.exports=x},function(e,t,i){i.d(t,{WrapTooltip:function(){return c}});var r=i(1),n=i.n(r),o=i(9),a=i(11),l=i(0),c=function(e){var t=e.children,i=e.options;return"string"==typeof i?(0,l.jsx)(a.Tooltip,{content:(0,l.jsx)(o.Typography,{use:"caption",children:i}),children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})}):null!==i&&"object"==typeof i?("string"==typeof i.content&&(i=n()({},i,{content:(0,l.jsx)(o.Typography,{use:"caption",children:i.content})})),(0,l.jsx)(a.Tooltip,n()({},i,{children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})}))):(0,l.jsx)(l.Fragment,{children:t})};t.default=c},function(e,t,i){i.d(t,{WrapConfigurations:function(){return l}}),i(1),i(13),i(2),i(4);var r=i(12),n=i(10),o=i(6),a=i(0),l=function(e){var t=e.children,i=e.strict,l=e.themeConfiguration,c=e.tooltip,s=e.wrap;return(0,a.jsx)(r.x,{strict:Boolean(i),children:(0,a.jsx)(o.WrapTooltip,{options:c,children:(0,a.jsx)(n.WrapThemeProvider,{configuration:l,wrap:s,children:t})})})};t.default=l},function(e,t,i){i.d(t,{deriveMissingPropertiesFromState:function(){return u},determineInitialRepresentation:function(){return A},determineInitialValue:function(){return h},determineValidationState:function(){return _},formatValue:function(){return E},getConsolidatedProperties:function(){return g},getLabelAndValues:function(){return b},getValueFromSelection:function(){return y},mapPropertiesIntoModel:function(){return v},normalizeSelection:function(){return x},parseValue:function(){return w},translateKnownSymbols:function(){return f},triggerCallbackIfExists:function(){return p},useMemorizedValue:function(){return P},wrapStateSetter:function(){return m}});var r=i(1),n=i.n(r),o=i(3),a=i.n(o),l=i(5),c=i(2);function s(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return(i=i.call(e)).next.bind(i);if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return d(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}var u=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=n()({},e.model.state):e.model.state={};for(var i=0,r=Object.entries(t.modelState);i<r.length;i++){var o=r[i],a=o[0],l=o[1];void 0===e.model.state[a]&&(e.model.state[a]=l)}return e},m=function(e,t){return function(i){var r="function"==typeof i?i(t):i;a().equals(null==r?void 0:r.modelState,null==t?void 0:t.modelState)||e(r)}},p=function(e,t,i){void 0===i&&(i=!0);for(var r=arguments.length,n=new Array(r>3?r-3:0),o=3;o<r;o++)n[o-3]=arguments[o];t="on"+a().stringCapitalize(t),e[t]&&(i?e[t].apply(e,n):a().timeout((function(){return e[t].apply(e,n)})))},f=function(e){for(var t={},i=0,r=Object.entries(e);i<r.length;i++){var n=r[i],o=n[0],c=n[1];c===l.UndefinedSymbol?t[o]=void 0:c===l.NullSymbol?t[o]=null:t[o]=a().copy(e[o])}return t},h=function(e,t,i){var r,n;return void 0!==i?i:void 0!==e.value?e.value:void 0!==(null==(r=e.model)?void 0:r.value)?e.model.value:void 0!==e.initialValue?a().copy(e.initialValue):void 0!==e.default?a().copy(e.default):void 0!==(null==(n=e.model)?void 0:n.default)?a().copy(e.model.default):void 0!==t?t:null},_=function(e,t,i){void 0===i&&(i={});var r=!1;i=n()({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))}},i),e.model.state=e.model.state||{};for(var o=0,a=Object.entries(i);o<a.length;o++){var l=a[o],c=l[0],s=l[1],d=t[c];e.model.state[c]=s(),r=r||d!==t[c]}return r&&(e.model.state.invalid=Object.keys(i).some((function(t){return e.model.state[t]})),e.model.state.valid=!e.model.state.invalid),r},v=function(e,t){var i=a().extend(!0,{model:a().copy(t)},e);i.disabled&&(i.model.mutable=!1,delete i.disabled),i.invertedPattern&&(i.model.invertedRegularExpressionPattern=i.invertedPattern,delete i.invertedPattern),i.pattern&&(i.model.regularExpressionPattern=i.pattern,delete i.pattern),i.required&&(i.model.nullable=!1,delete i.required),"text"===i.type&&(i.type="string");for(var r,n=s(Object.keys(i.model).concat("value"));!(r=n()).done;){var o=r.value;Object.prototype.hasOwnProperty.call(i,o)&&void 0!==i[o]&&(i.model[o]=i[o])}for(var l in i.model.state)Object.prototype.hasOwnProperty.call(i,l)&&void 0!==i[l]&&(i.model.state[l]=i[l]);return void 0===i.model.value&&(i.model.value=a().copy(i.model.default)),i},g=function(e){var t=n()({},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 b(e){if(Array.isArray(e)){for(var t,i=[],r=[],n=s(e);!(t=n()).done;){var o=t.value;"string"==typeof(null==o?void 0:o.label)&&(i.push(o.label),r.push(o.value))}return[i,r]}return[[],[]]}function y(e,t){if(Array.isArray(t))for(var i,r=s(t);!(i=r()).done;){var n=i.value;if("string"==typeof(null==n?void 0:n.label)&&n.label===e)return n.value;if(["number","string"].includes(typeof(null==n?void 0:n.value))&&""+n.value===e)return n.value}return null}function x(e,t){if(e||(e=t,t=void 0),Array.isArray(e)&&e.length){var i=[],r=0;if(Array.isArray(e[0]))for(var o=0,a=e;o<a.length;o++){var l=a[o],c=l[0],d=l[1];i.push({label:Array.isArray(t)&&r<t.length?t[r]:d,value:c}),r+=1}else if(null!==e[0]&&"object"==typeof e[0])for(var u,m=s(e);!(u=m()).done;){var p=u.value;i.push(n()({},p,{label:Array.isArray(t)&&r<t.length?t[r]:p.label})),r+=1}else for(var f=0,h=e;f<h.length;f++){var _=h[f];i.push({label:Array.isArray(t)&&r<t.length?t[r]:_,value:_}),r+=1}e=i}var v=null!==t&&"object"==typeof t;if(e){if(!Array.isArray(e)){for(var g,b=[],y=s(Object.keys(e).sort((function(t,i){return e[t].localeCompare(e[i])})));!(g=y()).done;){var x=g.value;b.push({label:v&&Object.prototype.hasOwnProperty.call(t,x)?t[x]:e[x],value:x})}return b}if(v){for(var w,E=[],A=s(e);!(w=A()).done;){var P=w.value;E.push(n()({},P,{label:Object.prototype.hasOwnProperty.call(t,P.value||P.label)?t[P.value||P.label]:!0===P.value&&t.true?t.true:!1===P.value&&t.false?t.false:P.label}))}return E}}return e}var w=function(e,t,i){var r;if(e.model.trim&&"string"==typeof t&&(t=t.trim().replace(/ +\n/g,"\\n")),e.model.emptyEqualsNull&&""===t)return null;var n=t;return![null,void 0].includes(t)&&null!=(r=i[e.model.type])&&r.parse&&(n=i[e.model.type].parse(t,e,i)),"number"==typeof n&&isNaN(n)?null:n};function E(e,t,i,r){var n;void 0===r&&(r=!0);var o=r?"final":"intermediate";if([null,void 0].includes(t)||"number"==typeof t&&isNaN(t))return"";var a=null==(n=i[e.type||e.model.type])?void 0:n.format;if(a){var l,c,s=(null==(l=a[o])?void 0:l.transform)||(null==(c=a.final)?void 0:c.transform);if(s)return s(t,e,i)}return String(t)}function A(e,t,i,r,o){if("string"==typeof e.representation)return e.representation;if(null!==i){var l,c=function(e,t){if(t)for(var i,r=s(t);!(i=r()).done;){var n=i.value;if(a().equals(null==n?void 0:n.value,e))return n.label||""+e}return null}(i,o);return"string"==typeof c?c:E(n()({},e,{type:e.type||(null==(l=e.model)?void 0:l.type)||t.model.type}),i,r)}return""}var P=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return(0,c.useMemo)((function(){return e}),i)}},function(e){e.exports=f},function(e,t,i){i.d(t,{WrapThemeProvider:function(){return o}});var r=i(4),n=i(0),o=function(e){var t=e.children,i=e.configuration,o=e.wrap;return i?(0,n.jsx)(r.ThemeProvider,{options:i,wrap:!1!==o,children:t}):t}},function(e){e.exports=p},function(e,t,i){i.d(t,{x:function(){return o}});var r=i(2),n=i(0),o=function(e){var t=e.children;return e.strict?(0,n.jsx)(r.StrictMode,{children:t}):(0,n.jsx)(n.Fragment,{children:t})}},function(e){e.exports=i},function(e,t,i){i.d(t,{default:function(){return d}});var r=i(1),n=i.n(r),o=i(5),a=i(21),l=i(0),c={"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"},s=function(e){return(0,l.jsx)(a.CSSTransition,n()({appear:!0,classNames:c["generic-animate"],in:!0,timeout:200,unmountOnExit:!0},e,{children:"string"==typeof e.children?(0,l.jsx)("span",{className:c["generic-animate__wrapper"],children:e.children}):Array.isArray(e.children)?(0,l.jsx)("div",{className:c["generic-animate__list-wrapper"],children:e.children}):e.children}))};s.propTypes={appear:o.boolean,classNames:o.string,in:o.boolean,timeout:o.number};var d=s},function(e,t,i){i.d(t,{default:function(){return K}});var r=i(1),n=i.n(r),o=i(16),a=i.n(o),l=i(17),c=i.n(l),s=i(3),d=i.n(s),u=i(2),m=i(18),p=i(22),f=i(19),h=i(20),_=i(23),v=i(24),g=i(25),b=i(4),y=i(26),x=i(14),w=i(7),E=i(6),A=i(8),P=i(29),T=i(0);function O(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return(i=i.call(e)).next.bind(i);if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return k(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?k(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 k(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}var C=!(void 0===typeof window),N=C?(0,s.optionalRequire)("react-useanimations"):null,S=C?(0,s.optionalRequire)("react-useanimations/lib/lock"):null,j=C?(0,s.optionalRequire)("react-useanimations/lib/plusToX"):null,R={"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"},I={basePath:"/node_modules/ace-builds/src-noconflict/",useWorker:!1},L=(0,u.lazy)(a()(c().mark((function e(){var t,r,n,o,a,l,s;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(i.t.bind(i,27,23));case 2:for(t=e.sent,r=t.config,n=0,o=Object.entries(I);n<o.length;n++)a=o[n],l=a[0],s=a[1],r.set(l,s);return e.next=7,Promise.resolve().then(i.t.bind(i,28,23));case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})))),q=!1,M="/node_modules/tinymce/",D={base_url:M,skin_url:M+"skins/ui/oxide",theme_url:M+"themes/silver/theme.min.js",allow_conditional_comments:!1,allow_script_urls:!1,body_class:"mdc-text-field__input",branding:!1,cache_suffix:"?version=1659977185.159",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 B(e,t){return(0,A.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){d().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 z=function(e,t){var i,r,o,a,l,c,s,P;(0,u.useEffect)((function(){if(Fe||be.selectionIsUnstable)if($e.editorIsActive){var e,t,i;null!=(e=oe.current)&&null!=(t=e.editor)&&t.selection?(oe.current.editor.textInput.focus(),$(oe.current),be.selectionIsUnstable&&ye(n()({},be,{selectionIsUnstable:!1}))):null!=(i=de.current)&&i.selection&&(de.current.focus(!1),H(de.current),be.selectionIsUnstable&&ye(n()({},be,{selectionIsUnstable:!1})))}else ce.current&&(ce.current.setSelectionRange($e.cursor.start,$e.cursor.end),be.selectionIsUnstable&&ye(n()({},be,{selectionIsUnstable:!1})))}));var k=function(e){return"clear_preset"===e?{icon:(0,T.jsx)(x.default,{in:!d().equals($e.value,$e.default),children:N&&!N.isDummy&&j?(0,T.jsx)(N,{animation:j,reverse:!0}):(0,T.jsx)(h.IconButton,{icon:"clear"})}),onClick:function(e){e.preventDefault(),e.stopPropagation(),Z((0,A.parseValue)($e,$e.default,V.transformer))},strategy:"component",tooltip:"Clear input"}:"password_preset"===e?(0,A.useMemorizedValue)({icon:N&&!N.isDummy&&S?(0,T.jsx)(N,{animation:S,reverse:!$e.hidden}):(0,T.jsx)(h.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},C=function(e){var t,i;return"string"===e.type?e.hidden?"password":"text":null!==(t=null==(i=Re[e.type])?void 0:i.type)&&void 0!==t?t:e.type},I=function(e){if("string"==typeof e){var t=d().stringEvaluate("`"+e+"`",n()({formatValue:function(e){return(0,A.formatValue)($e,e,Re)}},$e));return t.error?(console.warn("Given message template could not be proceed:",t.error),""):t.result}return""},M=function(e,t,i){return void 0===t&&(t={}),void 0===i&&(i=!0),"boolean"==typeof t?i?(0,T.jsx)(x.default,{in:t,children:e}):t?e:"":i?(0,T.jsx)(x.default,n()({},t,{children:e})):t.in?e:""},z=function(e){var t;if("object"==typeof e&&null!=(t=e)&&t.tooltip){var i=e.tooltip;delete(e=n()({},e)).tooltip;var r=n()({},e);e.strategy="component",e.icon=(0,T.jsx)(E.default,{options:i,children:(0,T.jsx)(f.Icon,{icon:r})})}return e},K=function(e,t,i){if(!$e.value)return 0;var r="generic-input-selection-indicator",n=" "+r+'="###"';t.setAttribute(r,"###");var o=e.innerHTML.replace(/(<\/p>)/gi,"$1\n");t.removeAttribute(r);var a=o.indexOf(n)+n.length;return i+o.indexOf(">",a)+1-n.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 i,r=O($e.value.split("\n"));!(i=r()).done;){var n=i.value;if(!(n.length<e)){t.column=e;break}e-=1+n.length,t.row+=1}return t},$=function(e){var t=e.editor.selection.getRange(),i=F($e.cursor.end);t.setEnd(i.row,i.column);var r=F($e.cursor.start);t.setStart(r.row,r.column),e.editor.selection.setRange(t)},H=function(e){for(var t={end:"###generic-input-selection-indicator-end###",start:"###generic-input-selection-indicator-start###"},i={end:$e.cursor.end+t.start.length,start:$e.cursor.start},r=["start","end"],n=$e.representation,o=0,a=r;o<a.length;o++){var l=a[o];n=n.substring(0,i[l])+t[l]+n.substring(i[l])}e.getBody().innerHTML=n;for(var c,s=document.createTreeWalker(e.getBody(),NodeFilter.SHOW_TEXT,null),u=e.dom.createRng(),m={};c=s.nextNode();)for(var p,f=O(r);!(p=f()).done;){var h=p.value;if(c.nodeValue){var _=c.nodeValue.indexOf(t[h]);_>-1&&(c.nodeValue=c.nodeValue.replace(t[h],""),m[h]=[c,_])}}for(var v=0,g=r;v<g.length;v++){var b=g[v];m[b]&&u["set"+d().stringCapitalize(b)].apply(u,m[b])}m.end&&m.start&&e.selection.setRng(u)},G=function(e){var t=(0,A.getConsolidatedProperties)(function(e){var t=(0,A.mapPropertiesIntoModel)(e,V.defaultProperties.model);return t.model.value=(0,A.parseValue)(t,t.model.value,Re),B(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,A.formatValue)(t,t.value,Re,!t.focused),t.focused&&t.representation!==t.value&&["password","text"].includes(C(t))&&(Fe=!0)),t},Y=function(e){d().extend(!0,$e,G($e)),(0,A.triggerCallbackIfExists)($e,"change",Ke,$e,e)},J=function(e){e&&(e.preventDefault(),e.stopPropagation()),ye((function(t){var i=t.editorIsActive;return $e.editorIsActive=!i,Y(e),(0,A.triggerCallbackIfExists)($e,"changeEditorIsActive",Ke,$e.editorIsActive,e,$e),{editorIsActive:$e.editorIsActive,selectionIsUnstable:!0}}))},Q=function(e){e&&(e.preventDefault(),e.stopPropagation()),Ce((function(t){return $e.showDeclaration=!t,Y(e),(0,A.triggerCallbackIfExists)($e,"changeShowDeclaration",Ke,$e.showDeclaration,e,$e),$e.showDeclaration}))},Z=function(e,t,i){if(void 0===i&&(i=-1),!$e.disabled){var r;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<Ue.length?Ue[a]:null}else $e.value=void 0===o.value?null:o.value;else $e.value=e}else $e.value=e;var l=function(){return Ve((function(e){if(!Xe&&e.representation===$e.representation&&!$e.suggestionCreator&&-1===i)return e;var t=n()({},e,{representation:$e.representation});if(!Ke&&d().equals(e.value,$e.value))return t;t.value=$e.value;var o=!1;return e.modelState.pristine&&($e.dirty=!0,$e.pristine=!1,o=!0),Y(r),B($e,e.modelState)&&(o=!0),(0,A.triggerCallbackIfExists)($e,"changeValue",Ke,$e.value,r,$e),o&&(t.modelState=$e.model.state,(0,A.triggerCallbackIfExists)($e,"changeState",Ke,$e.model.state,r,$e)),(st||-1!==i)&&(0,A.triggerCallbackIfExists)($e,"select",Ke,r,$e),t}))};if($e.representation=-1!==i?et[i]:"string"==typeof $e.value?$e.value:(0,A.formatValue)($e,$e.value,Re),it)if($e.suggestionCreator){var c=new AbortController,s=function(e){if(!c.signal.aborted){if(qe((function(t){return t instanceof AbortController&&!t.signal.aborted&&t.abort(),e})),-1===i){var t=(0,A.getValueFromSelection)($e.representation,(0,A.normalizeSelection)(e));null!==t||$e.searchSelection?$e.value=t:$e.value=(0,A.parseValue)($e,$e.representation,Re)}l()}},u=$e.suggestionCreator({abortController:c,properties:$e,query:$e.representation});null!=u&&u.then?(qe((function(e){return e instanceof AbortController&&!e.signal.aborted&&e.abort(),c})),Ve((function(e){return n()({},e,{representation:$e.representation})})),u.then(s,d().noop)):s(u)}else{if(-1===i){var m=(0,A.getValueFromSelection)($e.representation,Me);null!==m||$e.searchSelection?$e.value=m:$e.value=(0,A.parseValue)($e,$e.representation,Re)}l()}else $e.value=(0,A.parseValue)($e,$e.value,Re),l()}},ee=function(e){re(e),(0,A.triggerCallbackIfExists)($e,"click",Ke,e,$e),ne(e)},te=function(e){(0,A.triggerCallbackIfExists)($e,"focus",Ke,e,$e),ne(e)},ie=function(e){e.keyCode&&(re(e),(0,A.triggerCallbackIfExists)($e,"keyUp",Ke,e,$e))},re=function(e){!function(e){var t,i,r,n,o,a,l,c=null==(t=oe.current)||null==(i=t.editor)||null==(r=i.selection)?void 0:r.getRange(),s=null==(n=de.current)||null==(o=n.selection)?void 0:o.getRng(),d=null==(a=ce.current)?void 0:a.selectionEnd,u=null==(l=ce.current)?void 0:l.selectionStart;if(c)ve({end:X(c.end.column,"number"==typeof c.end.row?c.end.row:"string"==typeof $e.value?$e.value.split("\n").length-1:0),start:X(c.start.column,"number"==typeof c.start.row?c.start.row:"string"==typeof $e.value?$e.value.split("\n").length-1:0)});else if(s)ve({end:K(de.current.getBody(),de.current.selection.getEnd(),s.endOffset),start:K(de.current.getBody(),de.current.selection.getStart(),s.startOffset)});else if("number"==typeof d&&"number"==typeof u){var m,p=1===(null==e||null==(m=e.key)?void 0:m.length)?1:"Backspace"===(null==e?void 0:e.key)&&$e.representation.length>u?-1:0;ve({end:d+p,start:u+p})}}(e),(0,A.triggerCallbackIfExists)($e,"selectionChange",Ke,e,$e)},ne=function(e){return Ve((function(t){var i=!1;t.modelState.focused||($e.focused=!0,i=!0),t.modelState.untouched&&($e.touched=!0,$e.untouched=!1,i=!0);var r=t;return i&&(Y(e),r=n()({},t,{modelState:$e.model.state}),(0,A.triggerCallbackIfExists)($e,"changeState",Ke,$e.model.state,e,$e)),(0,A.triggerCallbackIfExists)($e,"touch",Ke,e,$e),r}))},oe=(0,u.useRef)(null),ae=(0,u.useRef)(null),le=(0,u.useRef)(null),ce=(0,u.useRef)(null),se=(0,u.useRef)(null),de=(0,u.useRef)(null),ue=(0,u.useRef)(null),me=(0,u.useRef)(null),pe=(0,u.useRef)(null),fe=(0,A.translateKnownSymbols)(e),he=(0,u.useState)({end:0,start:0}),_e=he[0],ve=he[1],ge=(0,u.useState)({editorIsActive:!1,selectionIsUnstable:!1}),be=ge[0],ye=ge[1],xe=(0,u.useState)(),we=xe[0],Ee=xe[1],Ae=(0,u.useState)(!1),Pe=Ae[0],Te=Ae[1],Oe=(0,u.useState)(!1),ke=Oe[0],Ce=Oe[1],Ne=(0,A.determineInitialValue)(fe,null==(i=V.defaultProperties.model)?void 0:i.default);Ne instanceof Date&&(Ne=Ne.getTime()/1e3);var Se=d().extend(!0,d().copy(V.defaultProperties),fe),je=Se.type||(null==(r=Se.model)?void 0:r.type)||"string",Re=Se.transformer?n()({},V.transformer,((o={})[je]=d().extend(!0,d().copy(V.transformer[je])||{},Se.transformer),o)):V.transformer,Ie=(0,u.useState)(),Le=Ie[0],qe=Ie[1];(Se.selection||null!=(a=Se.model)&&a.selection)&&(Le=Se.selection||(null==(l=Se.model)?void 0:l.selection));var Me=Le instanceof AbortController?[]:(0,A.normalizeSelection)(Le,Se.labels),De=Le instanceof AbortController?[[],[]]:(0,A.getLabelAndValues)(Me),Be=De[0],Ue=De[1],We=(0,u.useState)((function(){return{modelState:n()({},V.defaultModelState),representation:(0,A.determineInitialRepresentation)(Se,V.defaultProperties,Ne,Re,Me),value:Ne}})),ze=We[0],Ve=We[1],Ke=!Se.enforceUncontrolled&&(void 0!==(null==(c=fe.model)?void 0:c.value)||void 0!==fe.value)&&Boolean(fe.onChange||fe.onChangeValue),Xe=Ke&&void 0!==fe.representation,Fe=!1;null!==Se.cursor&&"object"==typeof Se.cursor||(Se.cursor={}),void 0===Se.cursor.end&&(Se.cursor.end=_e.end),void 0===Se.cursor.start&&(Se.cursor.start=_e.start),void 0===Se.editorIsActive&&(Se.editorIsActive=be.editorIsActive),void 0===Se.hidden&&(Se.hidden=we),void 0===Se.representation&&(Se.representation=ze.representation),void 0===Se.showDeclaration&&(Se.showDeclaration=ke),(0,A.deriveMissingPropertiesFromState)(Se,ze),void 0===Se.value?void 0===Se.representation&&void 0===Se.model.value&&(Se.representation=ze.representation):Xe||Se.value===ze.value||(Se.representation=void 0);var $e=G(Se);void 0===$e.hidden&&($e.hidden=null==(s=$e.name)?void 0:s.startsWith("password")),d().equals($e.cursor,_e)||ve($e.cursor),$e.editorIsActive!==be.editorIsActive&&ye(n()({},be,{editorIsActive:$e.editorIsActive})),$e.hidden!==we&&Ee($e.hidden),$e.showDeclaration!==ke&&Ce($e.showDeclaration);var He={modelState:$e.model.state,representation:$e.representation,value:$e.value};(Ke||d().equals($e.value,ze.value)&&$e.representation===ze.representation)&&d().equals($e.model.state,ze.modelState)||Ve(He),Ke&&(Ve=(0,A.wrapStateSetter)(Ve,He)),(0,u.useImperativeHandle)(t,(function(){for(var e,t={modelState:$e.model.state},i=O(["cursor","editorIsActive","hidden","showDeclaration"]);!(e=i()).done;){var r=e.value;Object.prototype.hasOwnProperty.call(fe,r)||(t[r]=$e[r])}return Xe||(t.representation=$e.representation),Ke||(t.value=$e.value),{properties:$e,references:{codeEditorReference:oe,codeEditorInputReference:ae,foundationReference:le,inputReference:ce,richTextEditorInputReference:se,richTextEditorInstance:de,richTextEditorReference:ue,suggestionMenuAPIReference:me,suggestionMenuFoundationReference:pe},state:t}}));var Ge={onBlur:function(e){return Ve((function(t){Te(!1);var i=!1,r=!1;if(t.modelState.focused&&($e.focused=!1,i=!0,r=!0),t.modelState.visited||($e.visited=!0,i=!0,r=!0),!it||$e.suggestSelection){var n=(0,A.getValueFromSelection)($e.representation,Me);null===n?($e.value=(0,A.parseValue)($e,$e.value,Re),$e.representation=(0,A.formatValue)($e,$e.value,Re)):$e.value=n}return d().equals(t.value,$e.value)&&t.representation===$e.representation||(i=!0),i&&Y(e),d().equals(t.value,$e.value)||(0,A.triggerCallbackIfExists)($e,"changeValue",Ke,$e.value,e,$e),r&&(0,A.triggerCallbackIfExists)($e,"changeState",Ke,$e.model.state,e,$e),(0,A.triggerCallbackIfExists)($e,"blur",Ke,e,$e),i?{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,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(x.default,{in:$e.selectableEditor&&"string"===$e.type&&"plain"!==$e.editor,children:(0,T.jsx)(h.IconButton,{icon:{icon:$e.editorIsActive?"subject":$e.editor.startsWith("code")?"code":"text_format",onClick:J}})}),(0,T.jsx)(x.default,{in:Boolean($e.declaration),children:(0,T.jsx)(h.IconButton,{icon:{icon:"more_"+($e.showDeclaration?"vert":"horiz"),onClick:Q}})}),(0,T.jsx)(x.default,{in:$e.showDeclaration,children:$e.declaration}),(0,T.jsx)(x.default,{in:!$e.showDeclaration&&$e.invalid&&($e.showInitialValidationState||$e.visited),children:(0,T.jsx)(b.Theme,{use:"error",children:I($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(k($e.icon)));var Je=n()({},D,{content_style:$e.disabled?"body {opacity: .38}":"",placeholder:$e.placeholder,readonly:Boolean($e.disabled),setup:function(e){de.current=e,de.current.on("init",(function(){de.current&&(q=!0,$e.editorIsActive&&be.selectionIsUnstable&&(de.current.focus(!1),H(de.current),ye(n()({},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=[],it=Boolean($e.suggestionCreator||Be.length&&($e.searchSelection||$e.suggestSelection));if(it&&Be.length){$e.suggestSelection=!$e.searchSelection;for(var rt,nt=0,ot=O(Be);!(rt=ot()).done;){var at=rt.value;if(d().isFunction($e.children)){var lt=$e.children({index:nt,normalizedSelection:Me,properties:$e,query:$e.representation,suggestion:at,value:Ue[nt]});lt&&(Ze.push((0,T.jsx)(_.MenuItem,{className:R["generic-input__suggestions__suggestion"],children:lt},nt)),et.push(at),tt.push(Ue[nt]))}else if(!$e.representation||$e.suggestionCreator||W(at,$e.representation)){var ct;Ze.push((0,T.jsx)(_.MenuItem,{className:R["generic-input__suggestions__suggestion"],children:d().stringMark(at,(null==(ct=$e.representation)?void 0:ct.split(" "))||"",(function(e){return(""+e).toLowerCase()}),(function(e){return(0,T.jsx)("span",{className:R["generic-input__suggestions__suggestion__mark"],children:e})}),null).map((function(e,t){return(0,T.jsx)("span",{children:e},t)}))},nt)),et.push(at),tt.push(Ue[nt])}nt+=1}}var st=(Boolean(Me)||Boolean($e.labels))&&!it,dt={};return"number"===$e.type?(dt.step=$e.step,$e.maximum!==1/0&&(dt.max=$e.maximum),$e.minimum!==-1/0&&(dt.min=$e.minimum)):"string"===$e.type?($e.maximumLength>=0&&$e.maximumLength!==1/0&&(dt.maxLength=$e.maximumLength),$e.minimumLength>0&&(dt.minLength=$e.minimumLength),"plain"!==$e.editor&&(dt.rows=$e.rows)):["date","datetime-local","time"].includes($e.type)&&(dt.step=$e.step,$e.maximum!==1/0&&(dt.max=(0,A.formatValue)($e,$e.maximum,Re)),$e.minimum!==-1/0&&(dt.min=(0,A.formatValue)($e,$e.minimum,Re))),(0,T.jsx)(w.default,{strict:V.strict,themeConfiguration:$e.themeConfiguration,tooltip:$e.tooltip,children:(0,T.jsxs)("div",{className:[R["generic-input"]].concat(Qe?R["generic-input--custom"]:[],null!==(P=$e.className)&&void 0!==P?P:[]).join(" "),style:$e.styles,children:[M((0,T.jsx)(v.Select,n()({},Ge,Ye,{enhanced:!0,foundationRef:le,inputRef:ce,onChange:Z,options:Me,rootProps:n()({name:$e.name,onClick:ee},$e.rootProps),value:""+$e.value},$e.inputProperties)),st),M([(0,T.jsx)(p.FormField,{className:["mdc-text-field"].concat($e.disabled?"mdc-text-field--disabled":[],"mdc-text-field--textarea").join(" "),onKeyDown:U,children:(0,T.jsxs)("label",{children:[(0,T.jsx)("span",{className:[R["generic-input__editor__label"]].concat("mdc-floating-label","mdc-floating-label--float-above").join(" "),children:(0,T.jsx)(b.Theme,{use:$e.invalid&&($e.showInitialValidationState||$e.visited)?"error":void 0,children:($e.description||$e.name)+($e.required?"*":"")})}),$e.editor.startsWith("code")?(0,T.jsx)(u.Suspense,{fallback:(0,T.jsx)(m.CircularProgress,{size:"large"}),children:(0,T.jsx)(L,n()({},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:re,onSelectionChange:re,ref:function(e){var t,i,r;oe.current=e,null!=(t=oe.current)&&null!=(i=t.editor)&&null!=(r=i.container)&&r.querySelector("textarea")&&(ae.current=oe.current.editor.container.querySelector("textarea")),oe.current&&$e.editorIsActive&&be.selectionIsUnstable&&(oe.current.editor.textInput.focus(),$(oe.current),ye(n()({},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,T.jsx)(y.Editor,n()({},Ge,{disabled:$e.disabled,init:Je,onClick:ee,onEditorChange:Z,onKeyUp:ie,ref:function(e){ue.current=e},textareaName:$e.name,tinymceScriptSrc:D.base_url+"tinymce.min.js",value:$e.representation},$e.inputProperties))]})},"advanced-editor-form-field"),(0,T.jsx)("div",{className:"mdc-text-field-helper-line",children:(0,T.jsx)("p",{className:"mdc-text-field-helper-text mdc-text-field-helper-text--persistent",children:Ye.helpText.children})},"advanced-editor-helper-line")],Qe,q||$e.editor.startsWith("code")),M((0,T.jsxs)("div",{children:[it?(0,T.jsx)(_.MenuSurfaceAnchor,{onKeyDown:U,children:Le instanceof AbortController?(0,T.jsx)(_.MenuSurface,{anchorCorner:"bottomLeft",className:R["generic-input__suggestions"]+" "+R["generic-input__suggestions--pending"],open:!0,children:(0,T.jsx)(m.CircularProgress,{size:"large"})}):(0,T.jsx)(_.Menu,{anchorCorner:"bottomLeft",apiRef:function(e){me.current=e},className:R["generic-input__suggestions"],focusOnOpen:!1,foundationRef:pe,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,T.jsx)(g.TextField,n()({},Ge,Ye,dt,{align:$e.align,characterCount:"number"==typeof $e.maximumLength&&!isNaN($e.maximumLength)&&$e.maximumLength>=0,foundationRef:le,inputRef:ce,onChange:Z,ripple:$e.ripple,rootProps:n()({name:$e.name,onClick:ee,onKeyDown:function(e){var t;it&&d().keyCode.DOWN===e.keyCode&&(null==(t=me.current)||t.focusItemAtIndex(0)),"string"===$e.type&&"plain"!==$e.editor&&U(e),(0,A.triggerCallbackIfExists)($e,"keyDown",Ke,e,$e)},onKeyUp:ie},$e.rootProps),textarea:"string"===$e.type&&"plain"!==$e.editor,trailingIcon:z(k($e.trailingIcon)),type:C($e),value:$e.representation},$e.inputProperties))]}),!(Qe||st),q||$e.editor.startsWith("code"))]})})};z.displayName="GenericInput";var V=(0,u.memo)((0,u.forwardRef)(z));V.wrapped=z,V.webComponentAdapterWrapped="react",V.defaultModelState=P.Bg,V.defaultProperties=n()({},P.Ko,{cursor:void 0,model:n()({},P.Ko.model,{state:void 0,value:void 0}),representation:void 0,value:void 0}),V.locales=d().locales,V.propTypes=P.rV,V.renderProperties=P.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,t,i){var r,o,a,l,c,s=null!==(r=null==(o=i.currency.format)||null==(a=o.final.options)?void 0:a.currency)&&void 0!==r?r:"USD";return e===1/0?"Infinity "+s:e===-1/0?"- Infinity "+s:isNaN(e)?"unknown":new Intl.NumberFormat(V.locales,n()({style:"currency"},null!==(l=null==(c=i.currency.format)?void 0:c.final.options)&&void 0!==l?l:{})).format(e)}}},parse:function(e,t,i){return i.float.parse?i.float.parse(e,t,i):NaN},type:"text"},date:{format:{final:{transform:function(e,t,i){if("number"!=typeof e)if(i.date.parse)e=i.date.parse(e,t,i);else{var r=e instanceof Date?e.getTime()/1e3:Date.parse(e);if(isNaN(r)){var n=parseFloat(e);e=isNaN(n)?0:n}else e=r/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 i=parseFloat(e);return isNaN(i)?0:i}return t/1e3}},"datetime-local":{format:{final:{transform:function(e,t,i){if("number"!=typeof e)if(i["datetime-local"].parse)e=i["datetime-local"].parse(e,t,i);else{var r=e instanceof Date?e.getTime()/1e3:Date.parse(e);if(isNaN(r)){var n=parseFloat(e);e=isNaN(n)?0:n}else e=r/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,i){if(i.date.parse)return i.date.parse(e,t,i);if(e instanceof Date)return e.getTime()/1e3;var r=Date.parse(e);if(isNaN(r)){var n=parseFloat(e);return isNaN(n)?0:n}return r/1e3}},time:{format:{final:{transform:function(e,t,i){if("number"!=typeof e)if(i.time.parse)e=i.time.parse(e,t,i);else{var r=e instanceof Date?e.getTime()/1e3:Date.parse(e);if(isNaN(r)){var n=parseFloat(e);e=isNaN(n)?0:n}else e=r/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 i=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,(function(e,t,i,r,n,o){return String(parseInt(t)*Math.pow(60,2)+60*parseInt(i)+(r?parseFloat(n):0))})));return isNaN(i)?0:i}return t/1e3}},float:{format:{final:{transform:function(e,t,i){return i.float.format?e===1/0?"Infinity":e===-1/0?"- Infinity":new Intl.NumberFormat(V.locales,i.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,t,i){var r,o;return new Intl.NumberFormat(V.locales,n()({maximumFractionDigits:0},null!==(r=null==(o=i.integer.format)?void 0:o.final.options)&&void 0!==r?r:{})).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 K=V},function(t){t.exports=e},function(e){e.exports=n},function(e){e.exports=o},function(e){e.exports=a},function(e){e.exports=c},function(e){e.exports=w},function(e){e.exports=l},function(e){e.exports=d},function(e){e.exports=m},function(e){e.exports=s},function(e){e.exports=g},function(e){e.exports=v},function(e){e.exports=_},function(e,t,i){i.d(t,{Bg:function(){return b},Ko:function(){return x},O:function(){return E},Uz:function(){return O},W2:function(){return T},au:function(){return g},q:function(){return A},rV:function(){return v}});var r=i(1),n=i.n(r),o=i(3),a=i.n(o),l=i(5),c={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},s={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])},d=n()({},c,{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)(s)}),u=n()({},c,s,{className:l.string,disabled:l.boolean,enforceUncontrolled:l.boolean,initialValue:l.any,inputProperties:l.object,model:(0,l.shape)(d),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}),m={dirty:!1,focused:!1,invalid:!1,invalidRequired:!1,pristine:!0,touched:!1,untouched:!0,valid:!0,visited:!1},p={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:n()({},m),trim:!0,type:"string",writable:!0},f={enforceUncontrolled:!1,model:n()({},p),showDeclaration:void 0,showInitialValidationState:!1,requiredText:"Please fill this field."},h=(n()({},u,s,{checked:l.boolean,id:l.string}),n()({},p,{default:!1,type:"boolean",value:!1})),_=(n()({},f,{default:!1,model:n()({},h),requiredText:"Please check this field."}),n()({},s,{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=n()({},u,_,{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)(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=n()({},m,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),y=n()({},p,{state:b}),x=n()({},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:n()({},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=n()({},s,{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=n()({},u,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}),A=n()({},m,{invalidContentTypePattern:!1,invalidMaximumSize:!1,invalidMinimumSize:!1,invalidName:!1}),P=n()({},p,{contentTypeRegularExpressionPattern:/^.+\/.+$/,invertedContentTypeRegularExpressionPattern:null,fileName:n()({},y,{maximumLength:1024,name:"Name",regularExpressionPattern:/^[^/]+$/}),maximumSize:1/0,minimumSize:0,state:A}),T=n()({},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});delete T.model;var O=n()({},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:n()({},P),sourceToBlobOptions:{endings:"transparent",type:"text/plain"}}),k=(n()({},u,_,{children:l.func,createItem:l.func,createPrototype:l.func,maximumNumber:l.number,minimumNumber:l.number}),n()({},p,{state:n()({},p.state,{invalidMaximumNumber:!1,invalidMinimumNumber:!1}),maximumNumber:1/0,minimumNumber:0,type:"string[]"}));n()({},f,{addIcon:{icon:"add"},removeIcon:{icon:"clear"},createItem:function(e){return e.item},createPrototype:function(e){return e.item},model:n()({},k)}),n()({},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)])})}),n()({},m),n()({},y,{description:"End",name:"end"}),n()({},y,{description:"Start",name:"start"})},,,function(e){e.exports=h},function(e){e.exports=r}],T={};function O(e){var t=T[e];if(void 0!==t)return t.exports;var i=T[e]={exports:{}};return P[e](i,i.exports,O),i.exports}O.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return O.d(t,{a:t}),t},A=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},O.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 i=Object.create(null);O.r(i);var r={};E=E||[null,A({}),A([]),A(A)];for(var n=2&t&&e;"object"==typeof n&&!~E.indexOf(n);n=A(n))Object.getOwnPropertyNames(n).forEach((function(t){r[t]=function(){return e[t]}}));return r.default=function(){return e},O.d(i,r),i},O.d=function(e,t){for(var i in t)O.o(t,i)&&!O.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},O.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},O.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var C={};return function(){O.r(C),O.d(C,{FileInput:function(){return S},FileInputInner:function(){return N},default:function(){return j},determineRepresentationType:function(){return P},determineValidationState:function(){return T},preserveStaticFileBaseNameInputGenerator:function(){return A},readBinaryDataIntoText:function(){return k}});var e=O(16),t=O.n(e),i=O(1),r=O.n(i),n=O(17),o=O.n(n),a=O(32),l=O(3),c=O.n(l),s=O(2),d=O(33),u=O(18),m=O(4),p=O(9),f=O(15),h=O(7),_=O(8),v=O(29),g=O(0),b={"mdc-touch-target-wrapper":"mdc-touch-target-wrapper","mdc-button":"mdc-button","mdc-elevation-overlay":"mdc-elevation-overlay","mdc-button__ripple":"mdc-button__ripple","mdc-button__icon":"mdc-button__icon","mdc-button__touch":"mdc-button__touch","mdc-button__label":"mdc-button__label","mdc-button--outlined":"mdc-button--outlined","mdc-button--raised":"mdc-button--raised","mdc-button--unelevated":"mdc-button--unelevated","mdc-button--touch":"mdc-button--touch","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-card":"mdc-card","mdc-card--outlined":"mdc-card--outlined","mdc-card__content":"mdc-card__content","mdc-card__media":"mdc-card__media","mdc-card__media--square":"mdc-card__media--square","mdc-card__media--16-9":"mdc-card__media--16-9","mdc-card__media-content":"mdc-card__media-content","mdc-card__primary-action":"mdc-card__primary-action","mdc-card__actions":"mdc-card__actions","mdc-card__actions--full-bleed":"mdc-card__actions--full-bleed","mdc-card__action-buttons":"mdc-card__action-buttons","mdc-card__action-icons":"mdc-card__action-icons","mdc-card__action":"mdc-card__action","mdc-card__action--button":"mdc-card__action--button","mdc-card__action--icon":"mdc-card__action--icon","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-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-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-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","file-input":"file-input","file-input__download":"file-input__download","file-input__iframe-wrapper":"file-input__iframe-wrapper","file-input__text-representation":"file-input__text-representation","file-input__iframe-wrapper--padding":"file-input__iframe-wrapper--padding","file-input__native":"file-input__native","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"},y=new RegExp("^image\\/(?:p?jpe?g|png|svg(?:\\+xml)?|vnd\\.microsoft\\.icon|gif|tiff|webp|vnd\\.wap\\.wbmp|x-(?:icon|jng|ms-bmp))$","i"),x=new RegExp("^(?:application\\/xml)|(?:text\\/(?:plain|x-ndpb[wy]html|(?:x-)?csv|x?html?|xml))$","i"),w=/^text\/plain$/i,E=new RegExp("^video\\/(?:(?:x-)?(?:x-)?webm|3gpp|mp2t|mp4|mpeg|quicktime|(?:x-)?flv|(?:x-)?m4v|(?:x-)mng|x-ms-as|x-ms-wmv|x-msvideo)|(?:application\\/(?:x-)?shockwave-flash)$","i"),A=function(e,t){var i=t.name,n=t.value.name;return r()({},e,{disabled:!0,value:i+(n.includes(".")?""+n.substring(n.lastIndexOf(".")):"")})},P=function(e){return e=e.replace(/; *charset=.+$/,""),x.test(e)?w.test(e)?"renderableText":"text":y.test(e)?"image":E.test(e)?"video":"binary"},T=function(e,t,i){return(0,_.determineValidationState)(e,i,{invalidMaximumSize:function(){var t,i;return"number"==typeof e.model.maximumSize&&e.model.maximumSize<((null==(t=e.model.value)||null==(i=t.blob)?void 0:i.size)||0)},invalidMinimumSize:function(){var t,i;return"number"==typeof e.model.minimumSize&&e.model.minimumSize>((null==(t=e.model.value)||null==(i=t.blob)?void 0:i.size)||0)},invalidName:function(){return t},invalidContentTypePattern:function(){var t,i;return"string"==typeof(null==(t=e.model.value)||null==(i=t.blob)?void 0:i.type)&&[].concat(e.model.contentTypeRegularExpressionPattern).some((function(t){return"string"==typeof t&&!new RegExp(t).test(e.model.value.blob.type)||null!==t&&"object"==typeof t&&!t.test(e.model.value.blob.type)}))},invalidInvertedContentTypePattern:function(){var t,i;return"string"==typeof(null==(t=e.model.value)||null==(i=t.blob)?void 0:i.type)&&[].concat(e.model.invertedContentTypeRegularExpressionPattern).some((function(t){return"string"==typeof t&&new RegExp(t).test(e.model.value.blob.type)||null!==t&&"object"==typeof t&&t.test(e.model.value.blob.type)}))}})},k=function(e,t){return void 0===t&&(t="utf-8"),new Promise((function(i,r){var n=new FileReader;n.onload=function(e){var r=e.target.result;r.length&&t.endsWith("-sig")&&65279===r.charCodeAt(0)&&(r=r.slice(1)),r=r.replace(/\r\n/g,"\n"),i(r)},n.onabort=function(){return r(new Error("abort"))},n.onerror=function(){return r(new Error)},n.readAsText(e,t.endsWith("-sig")?t.substring(0,t.length-"-sig".length):t)}))},N=function(e,i){var n,l,y,w,E,A,O,C,N,j=function(e){var t=(0,_.mapPropertiesIntoModel)(e,S.defaultProperties.model);return T(t,!1,t.model.state),(0,_.getConsolidatedProperties)(t)},R=function(e){var t;null!=(t=B.current)&&t.properties&&(H.model.fileName=B.current.properties.model);var i=j(H);delete H.model.value,delete H.value,H.styles=c().copy(H.styles),c().extend(!0,H,i),(0,_.triggerCallbackIfExists)(H,"change",$,H,e)},I=function(e,t,i,n){if(void 0===n&&(n=!1),H.model.mutable&&H.model.writable){if(e&&D.current&&e.target===D.current){var o;if(null==(o=(t=e).target.files)||!o.length)return;var a=t.target.files[0];H.value={blob:a,name:a.name}}F((function(i){var o,a;if(null===e?H.value=e:"string"==typeof e?H.value=r()({},i.value,{name:e}):"string"!=typeof e.source&&"string"!=typeof e.url||(H.value=n?r()({},i.value,e):e),c().equals(i.value,H.value))return i;var l=!1,s=r()({},i,{value:H.value});return i.modelState.pristine&&(H.dirty=!0,H.pristine=!1,l=!0),R(t),T(H,(null==(o=B.current)||null==(a=o.properties)?void 0:a.invalid)||!1,i.modelState)&&(l=!0),(0,_.triggerCallbackIfExists)(H,"changeValue",$,H.value,t,H),l&&(s.modelState=H.model.state,(0,_.triggerCallbackIfExists)(H,"changeState",$,H.model.state,t,H)),n&&(s.attachBlobProperty=!0),s}))}},L=function(e){return F((function(t){var i=!1;t.modelState.focused||(H.focused=!0,i=!0),t.modelState.untouched&&(H.touched=!0,H.untouched=!1,i=!0);var n=t;return i&&(R(e),n=r()({},t,{modelState:H.model.state}),(0,_.triggerCallbackIfExists)(H,"changeState",$,H.model.state,e,H)),(0,_.triggerCallbackIfExists)(H,"touch",$,e,H),n}))},q=(0,s.useRef)(null),M=(0,s.useRef)(null),D=(0,s.useRef)(null),B=(0,s.useRef)(null),U=(0,s.useRef)(null),W=(0,_.translateKnownSymbols)(e),z=(0,_.determineInitialValue)(W,S.defaultProperties.model.default),V=c().extend(!0,c().copy(S.defaultProperties),W),K=(0,s.useState)({attachBlobProperty:!1,modelState:r()({},S.defaultModelState),value:z}),X=K[0],F=K[1],$=!V.enforceUncontrolled&&(void 0!==(null==(n=W.model)?void 0:n.value)||void 0!==W.value)&&Boolean(W.onChange||W.onChangeValue);(0,_.deriveMissingPropertiesFromState)(V,X);var H=j(V);X.attachBlobProperty&&X.value&&(H.value=c().extend(!0,X.value,H.value));var G={attachBlobProperty:!1,modelState:H.model.state,value:H.value};!X.attachBlobProperty&&($||c().equals(H.value,X.value))&&c().equals(H.model.state,X.modelState)||F(G),$&&(F=(0,_.wrapStateSetter)(F,G)),(0,s.useImperativeHandle)(i,(function(){return{properties:H,references:{deleteButtonReference:q,downloadLinkReference:M,fileInputReference:D,nameInputReference:B,uploadButtonReference:U},state:r()({modelState:H.model.state},$?{}:{value:H.value})}})),(0,s.useEffect)((function(){t()(o().mark((function e(){var t,i,r,n,l,c;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=null,!(null!=(t=H.value)&&t.blob&&H.value.blob instanceof Blob)||H.value.source){e.next=18;break}if(!x.test(H.value.blob.type)){e.next=8;break}return e.next=5,k(H.value.blob);case 5:e.t0=e.sent,e.next=16;break;case 8:if("undefined"!=typeof Blob){e.next=12;break}e.t1=H.value.toString("base64"),e.next=15;break;case 12:return e.next=14,(0,a.blobToBase64String)(H.value.blob);case 14:e.t1=e.sent;case 15:e.t0=e.t1;case 16:e.t2=e.t0,r={source:e.t2};case 18:null!=(i=H.value)&&i.source&&(H.value.blob||(null!=(n=H.value.url)&&n.startsWith("data:")?r={blob:(0,a.dataURLToBlob)(H.value.source)}:H.sourceToBlobOptions&&(r={blob:new Blob([H.value.source],H.sourceToBlobOptions)})),!H.value.url&&null!=(l=H.value.blob)&&l.type&&(c=x.test(H.value.blob.type)?btoa(H.value.source):H.value.source,r={url:"data:"+H.value.blob.type+";base64,"+c})),r&&I(r,void 0,0,!0);case 20:case"end":return e.stop()}}),e)})))().catch(console.error)}));var Y=null!=(l=H.value)&&null!=(y=l.blob)&&y.type?P(H.value.blob.type):"binary",J=H.invalid&&(H.showInitialValidationState||H.visited);return(0,g.jsx)(h.WrapConfigurations,{strict:S.strict,themeConfiguration:H.themeConfiguration,tooltip:H.tooltip,children:(0,g.jsxs)(d.Card,{className:[b["file-input"]].concat(null!==(w=H.className)&&void 0!==w?w:[]).join(" "),onBlur:function(e){return F((function(t){var i=!1;return t.modelState.focused&&(H.focused=!1,i=!0),t.modelState.visited||(H.visited=!0,i=!0),i&&(R(e),(0,_.triggerCallbackIfExists)(H,"changeState",$,H.model.state,e,H)),(0,_.triggerCallbackIfExists)(H,"blur",$,e,H),i?r()({},t,{modelState:H.model.state}):t}))},onClick:function(e){(0,_.triggerCallbackIfExists)(H,"click",$,e,H),L(e)},onFocus:function(e){(0,_.triggerCallbackIfExists)(H,"focus",$,e,H),L(e)},style:H.styles,children:[(0,g.jsxs)(d.CardPrimaryAction,{children:[null!=(E=H.value)&&E.url?"image"===Y?(0,g.jsx)(d.CardMedia,r()({},H.media,{style:{backgroundImage:"url("+H.value.url+")"}})):"video"===Y?(0,g.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,children:(0,g.jsx)("source",{src:H.value.url,type:H.value.blob.type})}):"renderableText"===Y?(0,g.jsx)("div",{className:[b["file-input__iframe-wrapper"]].concat(["text/html","text/plain"].includes(H.value.blob.type)?b["file-input__iframe-wrapper--padding"]:[]).join(" "),children:(0,g.jsx)("iframe",{frameBorder:"no",scrolling:"no",src:H.value.url})}):null!=(A=H.value)&&A.source&&"text"===Y?(0,g.jsx)("pre",{className:b["file-input__text-representation"],children:H.value.source}):"":null!=(O=H.value)&&O.blob&&H.value.blob instanceof Blob?(0,g.jsx)(u.CircularProgress,{size:"large"}):"",(0,g.jsxs)("div",{children:[(0,g.jsx)(p.Typography,{tag:"h2",use:"headline6",children:J?(0,g.jsx)(m.Theme,{use:"error",children:H.description?H.description:H.name}):H.description?H.description:H.name}),H.declaration?(0,g.jsx)(p.Typography,{style:{marginTop:"-1rem"},tag:"h3",theme:"textSecondaryOnBackground",use:"subtitle2",children:J?(0,g.jsx)(m.Theme,{use:"error",children:H.declaration}):H.declaration}):"",H.value?(0,g.jsx)(f.default,r()({ref:B},H.generateFileNameInputProperties(r()({disabled:H.disabled,value:null==(C=H.value)?void 0:C.name},v.W2,{model:H.model.fileName,onChangeValue:I,default:H.value.name}),H))):"",H.children?H.children({declaration:H.declaration,invalid:J,properties:H,value:H.value}):""]}),(0,g.jsx)("input",{disabled:H.disabled,className:b["file-input__native"],id:H.id||H.name,name:H.name,onChange:I,ref:D,type:"file"})]}),!H.disabled||H.value?(0,g.jsx)(d.CardActions,{children:(0,g.jsxs)(d.CardActionButtons,{children:[H.disabled?"":(0,g.jsx)(d.CardActionButton,{onClick:function(){var e;return null==(e=D.current)?void 0:e.click()},ref:U,ripple:H.ripple,children:H.value?H.editButton:H.newButton}),H.value?(0,g.jsxs)(g.Fragment,{children:[H.disabled?"":(0,g.jsx)(d.CardActionButton,{onClick:function(){return I(null)},ref:q,ripple:H.ripple,children:H.deleteButton}),H.value.url?(0,g.jsx)(d.CardActionButton,{onClick:function(){var e;return null==(e=M.current)?void 0:e.click()},ripple:H.ripple,children:(0,g.jsx)("a",r()({className:b["file-input__download"],download:H.value.name,href:H.value.url,ref:M,target:"_blank"},null!=(N=H.value.blob)&&N.type?{type:H.value.blob.type}:{},{children:H.downloadButton}))}):""]}):""]})}):""]})})};N.displayName="FileInput";var S=(0,s.memo)((0,s.forwardRef)(N));S.wrapped=N,S.webComponentAdapterWrapped="react",S.defaultModelState=v.q,S.defaultProperties=r()({},v.Uz,{model:r()({},v.Uz.model,{state:void 0,value:void 0}),value:void 0}),S.propTypes=v.O,S.strict=!1;var j=S}(),C}())},,,,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__47__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__48__}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var i=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(i.exports,i,i.exports,__webpack_require__),i.loaded=!0,i.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 i in t)__webpack_require__.o(t,i)&&!__webpack_require__.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},__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__,{FileInput:function(){return n}});var e=__webpack_require__(0),t=__webpack_require__(32),i=__webpack_require__.n(t),r=__webpack_require__(1),n=__webpack_require__.n(r)()(i(),"FileInput",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:e.boolean,focused:e.boolean,invalid:e.boolean,invalidMaximumSize:e.boolean,invalidMinimumSize:e.boolean,invalidMimeTypePattern:e.boolean,invalidNamePattern: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=n}(),__webpack_exports__}()}));
|