web-input-material 0.0.488 → 0.0.490

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@rmwc/checkbox"),require("@rmwc/theme"),require("@rmwc/typography"),require("clientnode"),require("react"),require("react-generic-dummy"),require("react/jsx-runtime"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper"));else if("function"==typeof define&&define.amd)define(["clientnode/property-types","@babel/runtime/helpers/extends","@babel/runtime/helpers/objectWithoutPropertiesLoose","@rmwc/checkbox","@rmwc/theme","@rmwc/typography","clientnode","react","react-generic-dummy","react/jsx-runtime","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/asyncToGenerator","@babel/runtime/regenerator","react-dom","react-dom/client","@babel/runtime/helpers/initializerDefineProperty","@babel/runtime/helpers/applyDecoratedDescriptor","@babel/runtime/helpers/initializerWarningHelper"],t);else{var r="object"==typeof exports?t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@rmwc/checkbox"),require("@rmwc/theme"),require("@rmwc/typography"),require("clientnode"),require("react"),require("react-generic-dummy"),require("react/jsx-runtime"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper")):t(e["clientnode/property-types"],e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@rmwc/checkbox"],e["@rmwc/theme"],e["@rmwc/typography"],e.clientnode,e.react,e["react-generic-dummy"],e["react/jsx-runtime"],e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/regenerator"],e["react-dom"],e["react-dom/client"],e["@babel/runtime/helpers/initializerDefineProperty"],e["@babel/runtime/helpers/applyDecoratedDescriptor"],e["@babel/runtime/helpers/initializerWarningHelper"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(this,(function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__59__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,r,n,o,i,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!=__webpack_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__(12),r=__webpack_require__(4),n=__webpack_require__(5),o=__webpack_require__(6),i=__webpack_require__(0),s=__webpack_require__(3),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=i},function(e){e.exports=t},function(e){e.exports=n},function(e){e.exports=o},function(e,t,r){var n=r(0),o=r.n(n),i=r(1),a=r(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:a.string},e),function(t,r){if("string"==typeof r){var n,a=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(a,"observedAttributes")||(a.observedAttributes=a.observedAttributes?[].concat(a.observedAttributes):[]);var s=(0,i.camelCaseToDelimited)(r);a.observedAttributes&&!a.observedAttributes.includes(s)&&a.observedAttributes.push(s)}e.type&&(Object.prototype.hasOwnProperty.call(a,"propertyTypes")||(a.propertyTypes=a.propertyTypes?o()({},a.propertyTypes):{}),!a.propertyTypes||!e.update&&Object.prototype.hasOwnProperty.call(a,r)||(a.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(a,"propertiesToReflectAsAttributes")||(a.propertiesToReflectAsAttributes=a.propertiesToReflectAsAttributes?(0,i.copy)(a.propertiesToReflectAsAttributes):[]),(e.update||a.propertiesToReflectAsAttributes instanceof Map&&!a.propertiesToReflectAsAttributes.has(r)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(r)||"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&a.propertyTypes&&Object.prototype.hasOwnProperty.call(a.propertyTypes,r)&&(n=a.propertyTypes[r]):n=e.writeAttribute,void 0!==n&&(Array.isArray(a.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?a.propertiesToReflectAsAttributes.push(r):a.normalizePropertyTypeList&&(a.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes))),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(r,n),"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[r]=n)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?o()({},a.propertyAliases):{}),!a.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(a,r)||(a.propertyAliases[r]=e.alias))}}}},function(e,t,r){r.d(t,{api:function(){return T}});var n,o,i,a,s=r(4),l=r.n(s),p=r(8),u=r.n(p),c=r(0),d=r.n(c),f=r(3),_=r.n(f),h=r(9),m=r.n(h),b=(r(10),r(5)),y=r.n(b),v=r(1),g=r(2),P=r(6);function E(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 A(e,t);var r={}.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)?A(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var w="undefined"==typeof HTMLElement?function(){}:HTMLElement,O=(n=(0,P.default)({type:g.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=d()({},v.UTILITY_SCOPE),r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,u()(r,"isRoot",i,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=r,r.defineGetterAndSetterInterface(),r}_()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,r){this.ignoreAttributeUpdateObservations||t===r||this.onUpdateAttribute(e,r)},r.onUpdateAttribute=function(e,t){var r=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,v.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"):(0,v.timeout)((function(){e.render("connected")}))},r.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=E(this.domNodeEventBindings.values());!(e=t()).done;)for(var r,n=E(e.value.values());!(r=n()).done;)(0,r.value)();this.slots={}},r.defineGetterAndSetterInterface=function(){for(var e,t=this,r=function(){var r=e.value;Object.prototype.hasOwnProperty.call(t,r)&&t.setPropertyValue(r,t[r]),Object.defineProperty(t,r,{configurable:!0,get:function(){return t.getPropertyValue(r)},set:function(e){t.setPropertyValue(r,e),t.triggerPropertySpecificRendering(r,e)}})},n=E((0,v.unique)(Object.keys(this.self.propertyTypes).concat(this.self._propertyAliasIndex?Object.keys(this.self._propertyAliasIndex):[])));!(e=n()).done;)r()},r.getPropertyAlias=function(e){return this.self._propertyAliasIndex&&Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},r.getPropertyValue=function(e){var r,n,o=null!=(r=this.instance)&&null!=(r=r.current)&&r.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(n=this.instance)&&null!=(n=n.current)&&n.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:o},r.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.externalProperties[r]=t)},r.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.internalProperties[r]=t)},r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=t,r)),this.setInternalPropertyValue(e,t)},r.triggerPropertySpecificRendering=function(e,t){var r=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,v.timeout)((function(){void 0!==t&&r.isStateProperty(e)?(r.render("preStatePropertyChanged"),(0,v.timeout)((function(){r.setInternalPropertyValue(e,void 0),r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("postStatePropertyChanged"),r.triggerOutputEvents()}))):(r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("propertyChanged"),r.triggerOutputEvents())})));else{var n=this.isStateProperty(e);this.render(n?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&n&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},r.applyBinding=function(e,t){var r=this;if(e.getAttributeNames)for(var n,o=function(){var o=n.value,i="";if(o.startsWith("data-bind-")?i=o.substring(10):o.startsWith("bind-")&&(i=o.substring(5)),i){var a=e.getAttribute(o);if(null===a)return 0;if(i.startsWith("attribute-")||i.startsWith("property-")){var s=(0,v.evaluate)(a,t,!1,!0,e);if(s.error)return console.warn('Error occurred during processing given attribute binding "'+o+'" on node:',e,s.error),0;i.startsWith("attribute-")?e.setAttribute(i.substring(10),s.result):e[(0,v.delimitedToCamelCase)(i.substring(9))]=s.result}else if(i.startsWith("on-")){r.domNodeEventBindings.has(e)||r.domNodeEventBindings.set(e,new Map);var l=r.domNodeEventBindings.get(e);if(i=(0,v.delimitedToCamelCase)(i.substring(3)),null!=l&&l.has(i)){var p=l.get(i);p&&p()}t=d()({console:console,event:void 0,parameters:void 0},t);var u=(0,v.compile)(a,t,!0,!0,e);if(u.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,u.error);else{var c=function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.event=n[0],t.parameters=n;try{u.templateFunction.apply(u,u.originalScopeNames.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+o+'" on node:',e,'Given expression "'+a+'" could not be evaluated with given scope names "'+u.scopeNames.join('", "')+'": '+(0,v.represent)(t))}};e.addEventListener(i,c),null==l||l.set(i,(function(){e.removeEventListener(i,c),l.delete(i),0===l.size&&r.domNodeEventBindings.delete(e)}))}}}},i=E(e.getAttributeNames());!(n=i()).done;)o()},r.applyBindings=function(e,t,r){for(void 0===r&&(r=!0);e;){var n;null==(n=e.attributes)||!n.length||!r&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},r.compileDomNodeTemplate=function(e,t,r){void 0===t&&(t=[]),void 0===r&&(r={}),r=d()({ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},r);var n=e.nodeName.toLowerCase();if(r.ignoreComponents&&n.includes("-"))return null;if(r.unsafe){var o=e.innerHTML;if(!o&&e.template&&(o=e.template),this.self.hasCode(o)){var i=(0,v.compile)("`"+o+"`",t);return{domNode:e,children:[],error:i.error,scopeNames:i.scopeNames,template:o,templateFunction:i.templateFunction}}return null}var a=null;if("#text"===n){var s=e.textContent;s&&this.self.hasCode(s)&&(a=s.replace(/&nbsp;/g," ").trim())}var l=[],p={children:l,domNode:e};if(a){var u=(0,v.compile)("`"+a+"`",t);p.error=u.error,p.scopeNames=u.scopeNames,p.template=a,p.templateFunction=u.templateFunction}for(var c=e.firstChild;c;){if(!r.filter||r.filter(c)){var f=this.compileDomNodeTemplate(c,t,d()({},r,{ignoreComponents:r.ignoreNestedComponents}));f&&l.push(f)}c=c.nextSibling}return p},r.evaluateCompiledDomNodeTemplate=function(e,t){var r=e.domNode,n=e.error,o=e.templateFunction,i=e.scopeNames;if(!o||!i)return null;if(n)return console.warn("Error occurred during compiling node content:",n),null;var a=null;try{a=o.apply(void 0,i.map((function(e){return t[e]})))}catch(n){console.warn('Error occurred when "'+this.self._name+'" is running','"'+String(o)+'": with bound','names "'+i.join('", "')+'":','"'+n+'". Rendering node:',r)}return a},r.evaluateDomNodeTemplate=function(e,t,r){var n=this;void 0===t&&(t={}),void 0===r&&(r={});var o=(r=d()({domNodeTemplateCache:this.domNodeTemplateCache,ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},r)).domNodeTemplateCache;if(!o.has(e)){var i={filter:r.filter,ignoreComponents:r.ignoreComponents,ignoreNestedComponents:r.ignoreNestedComponents,unsafe:r.unsafe},a=this.compileDomNodeTemplate(e,t,i);a&&o.set(e,a)}if(o.has(e)){var s=o.get(e),l=this.evaluateCompiledDomNodeTemplate(s,t);if(null!==l&&(r.unsafe&&e.innerHTML?e.innerHTML=l:e.textContent=l),s.children.length){var p=function(e){for(var r,o=E(e);!(r=o()).done;){var i=r.value,a=n.evaluateCompiledDomNodeTemplate(i,t);null!==a&&(i.domNode.textContent=a),i.children.length&&p(i.children)}};p(s.children)}}r.applyBindings&&this.applyBindings(e,t)},t.replaceDomNodes=function(e,r){for(var n,o=E([].concat(r).reverse());!(n=o()).done;){var i,a=n.value;t.trimSlots&&a.nodeType===Node.TEXT_NODE&&""===(null==(i=a.nodeValue)?void 0:i.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;)(e instanceof t||e.nodeName.includes("-")||null===e.parentNode&&"[object ShadowRoot]"===e.toString())&&(this.rootInstance===this?(this.parent=e,this.rootInstance=e,this.setPropertyValue("isRoot",!1)):this.rootInstance=e),e=e.parentNode},t.hasCode=function(e){return"string"==typeof e&&e.includes("${")&&e.includes("}")&&/\${[\s\S]+}/.test(e)},t.normalizePropertyTypeList=function(e){if("string"==typeof e&&(e=[e]),Array.isArray(e)){for(var r,n=e,o=new Map,i=E(n);!(r=i()).done;){var a=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&o.set(a,t.propertyTypes[a])}return o}return(0,v.convertPlainObjectToMap)(e)},r.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},r.attachExplicitDefinedOutputEventHandler=function(){var e=this;if(!this.self.eventToPropertyMapping)return!1;for(var t=!1,r=function(){var r=o[n];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,l()(y().mark((function t(){var n,o,i,a,s=arguments;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(n=s.length,o=new Array(n),i=0;i<n;i++)o[i]=s[i];return t.next=1,e.reflectEventToProperties(r,o);case 1:(a=t.sent)&&(o[0]=a),e.forwardEvent(r,o);case 2:case"end":return t.stop()}}),t)})))))},n=0,o=Object.keys(this.self.eventToPropertyMapping);n<o.length;n++)r();return t},r.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=o[n],i=r[0],a=r[1];Object.prototype.hasOwnProperty.call(t.internalProperties,i)||![g.func,"function"].includes(a)||t.self.renderProperties.includes(i)||(t.outputEventNames.add(i),t.setInternalPropertyValue(i,(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e&&t.reflectEventToProperties(i,n),t.forwardEvent(i,n)})))},n=0,o=Object.entries(this.self.propertyTypes);n<o.length;n++)r()},r.triggerOutputEvents=function(){for(var e,t=E(this.outputEventNames);!(e=t()).done;){var r=e.value;this.forwardEvent(r,[this.externalProperties])}},r.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=(0,v.lowerCase)(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.applySlots=function(e,t){for(var r=this,n=0,o=Array.from(e.querySelectorAll("slot"));n<o.length;n++){var i=o[n],a=i.getAttribute("name");if(null===a||"default"===a)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var s,l=E(this.slots.default);!(s=l()).done;){var p=s.value;this.evaluateDomNodeTemplate(p,t)}this.self.replaceDomNodes(i,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(i).map((function(e){return r.grabSlotContent(e)}));else this.slots[a]?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[a],t),this.self.replaceDomNodes(i,this.slots[a])):this.slots[a]=this.grabSlotContent(this.self.unwrapDomNode(i).filter((function(e){return"#text"!==e.nodeName.toLowerCase()}))[0])}},r.grabSlotContent=function(e){var t,r=g.node.firstElementChild?e:null;if(r&&"textarea"===(null==(t=r.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!r.firstElementChild.hasAttribute("data-no-template")||"false"===r.firstElementChild.getAttribute("data-no-template"))){var n=r.firstElementChild.value;r.classList.remove("web-component-template");var o=r.cloneNode();return r.classList.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 n,o=r[t],i=o.parentNode,a=!0;i;){if(i.nodeName.includes("-")){i===this&&(a=!1);break}i=i.parentNode}if(!a){var s=null==(n=o.getAttribute("slot"))?void 0:n.trim();this.slots[null!=s?s:o.nodeName.toLowerCase()]=this.grabSlotContent(o)}}this.slots.default?this.slots.default=[].concat(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;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(this.instance.current.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=d()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],n=r[0],o=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,o)||(this.self._propertyAliasIndex[o]=n)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var n,o=r[t],i=o[0],a=o[1];if(this.setExternalPropertyValue(i,a),this.isConnected){var s=(0,v.camelCaseToDelimited)(i);if(null!=(n=this.self._propertiesToReflectAsAttributes)&&n.has(i))switch(this.self._propertiesToReflectAsAttributes.get(i)){case g.boolean:case"boolean":a?""!==this.getAttribute(s)&&this.setAttribute(s,""):this.hasAttribute(s)&&this.removeAttribute(s);break;case g.func:case"function":break;case"json":if(a){var l=JSON.stringify(a);if(l&&this.getAttribute(s)!==l){this.setAttribute(s,l);break}}this.hasAttribute(s)&&this.removeAttribute(s);break;case g.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(s)&&this.removeAttribute(s);else{var p=String(a);this.getAttribute(s)!==p&&this.setAttribute(s,p)}break;case g.string:case"string":a?this.getAttribute(s)!==a&&this.setAttribute(s,a):this.hasAttribute(s)&&this.removeAttribute(s);break;case g.any:case g.array:case g.arrayOf:case g.element:case g.elementType:case g.instanceOf:case g.node:case g.object:case"object":case g.objectOf:case g.shape:case g.exact:case g.symbol:default:if(a){var u=(0,v.represent)(a);if(u&&this.getAttribute(s)!==u){this.setAttribute(s,u);break}}this.hasAttribute(s)&&this.removeAttribute(s)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,r;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var n,o=E(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(n=o()).done;){var i=n.value;Object.prototype.hasOwnProperty.call(this.internalProperties,i)&&this.setInternalPropertyValue(i,void 0)}null!=(r=this.internalProperties.model)&&r.state&&(delete this.internalProperties.model.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var a,s=E(this.self.controllableProperties);!(a=s()).done;){var l=a.value;Object.prototype.hasOwnProperty.call(e,l)&&this.setInternalPropertyValue(l,e[l])}},r.reflectEventToProperties=function(){var e=l()(y().mark((function e(t,r){var n,o,i,a,s,l,p,u,c,f,_,h,m,b,g,P,A;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.batchUpdates,this.batchUpdates=!1,o=null,i=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&(0,v.isFunction)(this.self.eventToPropertyMapping[t]))){e.next=4;break}if(!((s=(a=this.self.eventToPropertyMapping)[t].apply(a,r.concat([this])))&&"then"in s&&(0,v.isFunction)(s.then))){e.next=2;break}return e.next=1,s;case 1:A=e.sent,e.next=3;break;case 2:A=s;case 3:l=A,i=!0,Array.isArray(l)?(o=l[0],this.reflectProperties(o),(0,v.extend)(!0,this.internalProperties,l[1])):null===l?i=!1:"object"==typeof l&&(o=l,this.reflectProperties(l));case 4:if(!i&&r.length>0&&(0,v.isObject)(r[0])){if(u=r[0],"persist"in r[0]&&(0,v.isFunction)(r[0].persist))for(u={},c=0,f=Object.keys(this.self.propertyTypes);c<f.length;c++)for(_=f[c],h=E([_].concat(null!==(b=this.getPropertyAlias(_))&&void 0!==b?b:[]));!(m=h()).done;)g=m.value,(P=r[0].currentTarget&&Object.prototype.hasOwnProperty.call(r[0].currentTarget,g)?r[0].currentTarget[g]:this.getPropertyValue(g))!==this.externalProperties[g]&&(u[g]=P);else[null,void 0].includes(null==(p=u.detail)?void 0:p.value)||(u=d()({},u.detail));o=u,this.reflectProperties(u)}return this.triggerRender("propertyReflected"),this.batchUpdates=n,e.abrupt("return",o);case 5:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}(),r.evaluateStringOrNullAndSetAsProperty=function(e,t){var r=this,n=e.startsWith("-"),o=n?e.substring(1):e,i=(0,v.delimitedToCamelCase)(o),a=this.getPropertyAlias(i);if(a&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)&&(i=a),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,i)){var s=this.self.propertyTypes[i];if(n){if(t){var l=(0,v.evaluate)(t,d()({},v.UTILITY_SCOPE),!1,!0,this);l.error?(console.warn('Failed to process pre-evaluation attribute "'+e+'": '+l.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(i,void 0)):(this.setInternalPropertyValue(i,l.result),this.setExternalPropertyValue(i,l.result))}}else switch(s){case g.boolean:case"boolean":var p=![null,"false"].includes(t);this.setInternalPropertyValue(i,p),this.setExternalPropertyValue(i,p);break;case g.func:case"function":var u,c=null,f=["data","event","firstArgument","firstParameter","options","scope","parameters"].concat(v.UTILITY_SCOPE_NAMES);if(t){var _=(0,v.compile)(t,f);c=_.error,u=_.templateFunction,c&&console.warn('Failed to compile given handler "'+e+'": '+c+".")}this.setInternalPropertyValue(i,(function(){for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];r.outputEventNames.has(i)&&r.reflectEventToProperties(i,o);var s=void 0;if(!c)try{var l;s=null==(l=u)?void 0:l.call.apply(l,[r,o[0],o[0],o[0],o[0],o[0],o[0],o].concat(v.UTILITY_SCOPE_VALUES))}catch(r){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+f.join('", "')+'" set to "'+(0,v.represent)(o)+'": '+r+'. Set property to "undefined".')}return r.self.renderProperties.includes(i)||r.forwardEvent(i,o),s})),c||this.setExternalPropertyValue(i,u);break;case"json":if(t){var h;try{h=JSON.parse(t)}catch(c){console.warn('Error occurred during parsing given json attribute "'+e+'": '+(0,v.represent)(c));break}this.setInternalPropertyValue(i,h),this.setExternalPropertyValue(i,(0,v.copy)(h,1))}else this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null);break;case g.number:case"number":if(null===t){this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break}var m=parseFloat(t);isNaN(m)&&(m=void 0),this.setInternalPropertyValue(i,m),this.setExternalPropertyValue(i,m);break;case g.string:case"string":this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break;case g.any:case g.array:case g.arrayOf:case g.element:case g.elementType:case g.instanceOf:case g.node:case g.object:case"object":case g.objectOf:case g.oneOf:case g.oneOfType:case g.shape:case g.exact:case g.symbol:default:if(t){var b=(0,v.evaluate)(t,{},!1,!0,this);if(b.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',b.error);break}this.setInternalPropertyValue(i,b.result),this.setExternalPropertyValue(i,(0,v.copy)(b.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(i,!0),this.setExternalPropertyValue(i,!0)):(this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null))}}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,(0,v.timeout)((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},r.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow((0,v.isObject)(this.self.shadowDOM)?this.self.shadowDOM:{mode:"open"}))},r.determineRenderScope=function(e){var t,r;void 0===e&&(e={}),this.scope=d()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((r={parent:this.parent,root:this.rootInstance,self:this})[(0,v.lowerCase)(this.self._name)||"instance"]=this,r),e),this.scope.scope=this.scope},r.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),!this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}})))return Promise.resolve();var t=(0,v.evaluate)("`"+this.self.content+"`",this.scope);if(t.error)return console.warn("Failed to process template: "+t.error),Promise.resolve();this.applyShadowRootIfNotExisting();var r=document.createElement("div");return r.innerHTML=t.result,this.applySlots(r,d()({},this.scope,{parent:this})),this.root.innerHTML=r.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots),Promise.resolve()},t}(w),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:g.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,o=a,i=m()(o.prototype,"isRoot",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),o),T={component:O,register:function(e){void 0===e&&(e=(0,v.camelCaseToDelimited)(O._name)),customElements.define(e,O)}};t.default=O},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=s},function(e){e.exports=a},function(e){e.exports=l},function(e,t,r){r.d(t,{api:function(){return g}});var n=r(0),o=r.n(n),i=r(4),a=r.n(i),s=r(3),l=r.n(s),p=r(5),u=r.n(p),c=r(1),d=r(2),f=r(11),_=r.n(f),h=r(12),m=r(13);function b(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 y(e,t);var r={}.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)?y(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var v=function(e){function t(){for(var r,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(r=e.call.apply(e,[this].concat(o))||this).compiledSlots={},r.preparedSlots={},r.reactRoot=null,r.rootReactInstance=null,r.self=t,r.wrapMemorizingWrapper=null,r.isWrapped=!1,r.reflectInstanceProperties=function(){var e;null!=(e=r.instance)&&e.current&&r.instance.current.properties&&r.reflectProperties(r.instance.current.properties)},r}l()(t,e);var r=t.prototype;return r.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},r.disconnectedCallback=function(){e.prototype.disconnectedCallback.call(this)},r.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},r.render=function(){var e=a()(u().mark((function e(t){var r,n,i,a,s,l=this;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:t,scope:this.scope}}))){e.next=1;break}return e.abrupt("return");case 1:if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(o()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(n=this.firstChild;n;)i=n.nextSibling,this.removeChild(n),n=i;return this.reactRoot||(a=this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name,s="","string"==typeof a&&(s=a),this.reactRoot=(0,m.createRoot)(this.root,{identifierPrefix:s})),e.next=2,new Promise((function(e){(0,h.flushSync)((function(){var t;null==(t=l.reactRoot)||t.render((0,f.createElement)(l.self.content,l.internalProperties)),e()}))}));case 2:if(null==(r=this.instance)||!r.current){e.next=3;break}this.reflectInstanceProperties(),e.next=4;break;case 3:return e.next=4,(0,c.timeout)(this.reflectInstanceProperties);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=(0,c.copy)(t,1),r)),this.setInternalPropertyValue(e,(0,c.copy)(t,1))},r.setInternalPropertyValue=function(t,r){null===r?r=d.NullSymbol:void 0===r&&(r=d.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,r)},r.preCompileDomNodes=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r=!1),1===(e=e.filter((function(e){return e.nodeType!==Node.TEXT_NODE||"string"==typeof e.nodeValue&&""!==e.nodeValue.trim()}))).length)return this.preCompileDomNode(e[0],t,r);for(var n,o=1,i=[],a=b(e);!(n=a()).done;){var s=n.value,l=this.preCompileDomNode(s,t,r,o.toString());i.push(l),o+=1}return r?function(e){return function(){for(var t,r=[],n=b(i);!(t=n()).done;){var o=(0,t.value)(e);"function"==typeof o&&r.push(o.apply(void 0,arguments))}return(0,f.createElement)(f.Fragment,{children:r})}}:i},r.preCompileDomNode=function(e,t,r,n){var i=this;if(void 0===t&&(t={}),void 0===r&&(r=!1),r){var a=this.preCompileDomNode(e,o()({},t,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,n);return function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=r.length>0?r[0]:null;return a(o()({},e,{data:i,firstArgument:i,firstParameter:i,options:i,scope:i,parameters:r}))}}}if(e.nodeType===Node.TEXT_NODE){var s="string"==typeof e.nodeValue?e.nodeValue.trim():"",l=n&&s?(0,f.createElement)(f.Fragment,{children:s,key:n}):s||null;return function(){return l}}if(!e.getAttributeNames)return function(){return null};var p,u={},d=this.self.isReactComponent(e);d?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),n&&!Object.prototype.hasOwnProperty.call(u,"key")&&(u.key=n),p=e.constructor.content):(u.key=n,p=e.tagName.toLowerCase());for(var _,h=Object.keys(t),m={},y=function(){var r,n=_.value,o=e.getAttribute(n);if(null===o)return 0;var a=!1,s="";if(n.startsWith("data-bind-")?s=n.substring(10):n.startsWith("bind-")&&(s=n.substring(5)),s.startsWith("attribute-")||"attributes"===s||s.startsWith("property-")||"properties"===s){var l=(0,c.compile)(o,h),p=l.error,f=l.originalScopeNames,b=l.templateFunction;if(p)return console.warn('Error occurred during compiling given attribute binding "'+n+'" on node:',e,p),0;"attributes"===s||"properties"===s?a=!0:s=s.startsWith("attribute-")?s.substring(10):s.substring(9),o={originalScopeNames:f,templateFunction:b.bind(i)}}else if(s.startsWith("on-")){s=(0,c.delimitedToCamelCase)(s),Object.prototype.hasOwnProperty.call(t,"event")||(h=[].concat(h,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(h=[].concat(h,["parameters"]));var y=(0,c.compile)(o,h,!0),v=y.error,g=y.originalScopeNames,P=y.scopeNames,E=y.templateFunction;if(v)return console.warn('Error occurred during compiling given event binding "'+n+'" on node:',e,v),0;var A=E.bind(i);o=function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];t.event=i[0],t.parameters=i;try{A.apply(void 0,g.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+n+'" on node: ',e,'Given expression "'+o+'" could not be evaluated with given scope names "'+P.join('", "')+'": '+(0,c.represent)(t))}}}else s=n;var w={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(w,s)&&(s=w[s]),s=(0,c.delimitedToCamelCase)(s),null!=(r=o)&&r.originalScopeNames?m[a?"":s]=o:d||(u[s]=o)},v=b(e.getAttributeNames());!(_=v()).done;)y();if(!d){var g=Array.from(e.childNodes);g.length&&(u.children=this.preCompileDomNodes(g,t))}return function(r){(r=o()({},t,r)).scope=r;for(var n=o()({},u),a=0,s=Object.entries(m);a<s.length;a++){var l=s[a],c=l[0],_=l[1],h=_.originalScopeNames,b=_.templateFunction.apply(void 0,h.map((function(e){return r[e]})));""===c?n=o()({},n,b):n[c]=b}return Object.prototype.hasOwnProperty.call(n,"innerHTML")&&(n.dangerouslySetInnerHTML={__html:n.innerHTML},delete n.children,delete n.innerHTML),Object.prototype.hasOwnProperty.call(n,"textContent")?(n.children=n.textContent,delete n.textContent):d?(n=o()({},e.internalProperties,n),r=o()({},n,r,{parent:e}),e.evaluateSlots(r),e.prepareProperties(n)):n.children&&(n.children=i.evaluatePreCompiledDomNodes(n.children,r)),(0,f.createElement)(p,n)}},r.evaluatePreCompiledDomNodes=function(e,t){if(void 0===t&&(t={}),!Array.isArray(e))return e(t);if(1===e.length)return e[0](t);for(var r,n=[],o=b(e);!(r=o()).done;){var i=(0,r.value)(t);i&&n.push(i)}return n},r.preCompileSlots=function(){for(var e in this.slots)this.slots[e]&&"default"!==e&&(this.compiledSlots[e]=this.preCompileDomNode(this.slots[e],o()({},this.scope,{parent:this}),[d.func,"function"].includes(this.self.propertyTypes[e])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,o()({},this.scope,{parent:this}),[d.func,"function"].includes(this.self.propertyTypes.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&&(!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,f.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,f.forwardRef)((function(t,r){return(0,f.useImperativeHandle)(r,(function(){return{properties:t}})),(0,f.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,f.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,f.memo)(this.self.content),this.self.content.wrapped=e)}},r.prepareProperties=function(e){(0,c.extend)(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,f.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var r,n=b(["isRoot","isTrusted","__composed"]);!(r=n()).done;){var o=r.value;Object.prototype.hasOwnProperty.call(t,o)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,o)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,o))&&delete t[o]}},t}(r(7).default);v.attachWebComponentAdapterIfNotExists=!0,v.content="div",v.react=_(),v._name="ReactWebComponent";var g={component:v,register:function(e){void 0===e&&(e=(0,c.camelCaseToDelimited)(v._name)),customElements.define(e,v)}};t.default=v}],f={};function _(e){var t=f[e];if(void 0!==t)return t.exports;var r=f[e]={exports:{}};return d[e](r,r.exports,_),r.exports}_.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return _.d(t,{a:t}),t},_.d=function(e,t){for(var r in t)_.o(t,r)&&!_.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},_.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},_.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var h={};_.r(h),_.d(h,{ReactWeb:function(){return A},Web:function(){return T},reactWebAPI:function(){return w},webAPI:function(){return O},wrapAsWebComponent:function(){return C}});var m=_(0),b=_.n(m),y=_(3),v=_.n(y),g=_(1),P=_(14),E=_(7),A=P.default,w=P.api,O=E.api,T=E.default,C=function(e,t,r){var n,o,i;void 0===t&&(t="NoName"),void 0===r&&(r={});var a=e._name||(null==(n=e.___types)||null==(n=n.name)?void 0:n.name)||t.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");r.propTypes&&(e.propTypes=r.propTypes);var s=e.propTypes||{},l=r.propertyAliases||e.propertyAliases||{},p=(0,g.unique)(Object.keys(s).concat(Object.keys(l)).concat(Object.values(l))),u=r.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(A.propertiesToReflectAsAttributes)if(Array.isArray(u))u=[].concat(A.propertiesToReflectAsAttributes,u);else if(u instanceof Map)for(var c=0,d=A.propertiesToReflectAsAttributes;c<d.length;c++){var f=d[c];u.set(f,A.propertyTypes[f])}else if("object"==typeof u)for(var _=0,h=A.propertiesToReflectAsAttributes;_<h.length;_++){var m=h[_];u[m]=A.propertyTypes[m]}var y=p.map((function(e){return(0,g.camelCaseToDelimited)(e)})),P=function(t){function n(){for(var o,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return(o=t.call.apply(t,[this].concat(a))||this).self=n,o.internalProperties=r.internalProperties?b()({},r.internalProperties):e.internalProperties?b()({},e.internalProperties):{},o}return v()(n,t),n}(A);return P.attachWebComponentAdapterIfNotExists="boolean"!=typeof r.attachWebComponentAdapterIfNotExists||r.attachWebComponentAdapterIfNotExists,P.content=e,P.observedAttributes=A.observedAttributes.concat(y).concat(y.map((function(e){return"-"+e}))),P.controllableProperties=e.controllableProperties||r.controllableProperties||[],P.eventToPropertyMapping=null===r.eventToPropertyMapping?r.eventToPropertyMapping:r.eventToPropertyMapping?b()({},r.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?b()({},e.eventToPropertyMapping):{},P.propertyAliases=b()({},A.propertyAliases,l),P.propertiesToReflectAsAttributes=u,P.propertyTypes=b()({},A.propertyTypes,s),P.renderProperties=null!==(o=null!==(i=r.renderProperties)&&void 0!==i?i:e.renderProperties)&&void 0!==o?o:A.renderProperties,P._name=a,{component:P,register:function(e){void 0===e&&(e=(0,g.camelCaseToDelimited)(a)),customElements.define(e,P)}}};return h.default=C,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(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,n,o,r,a,i,l,u,d;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!=__webpack_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__(7),n=__webpack_require__(59),o=__webpack_require__(8),r=__webpack_require__(9),a=__webpack_require__(4),i=__webpack_require__(0),l=__webpack_require__(3),u=__webpack_require__(10),d=__webpack_require__(11),function(){var s=[function(t){t.exports=e},function(e){e.exports=d},function(e){e.exports=l},function(e){e.exports=i},function(e,t,r){r.d(t,{defaultModel:function(){return c},defaultModelState:function(){return u},defaultProperties:function(){return d},modelStatePropertyTypes:function(){return s},propertyTypes:function(){return p}});var n=r(0),o=r.n(n),i=r(3),a={name:i.string,declaration:i.string,description:i.string,default:i.any,selection:(0,i.oneOfType)([(0,i.arrayOf)((0,i.oneOfType)([i.boolean,i.number,i.string])),(0,i.arrayOf)((0,i.shape)({label:i.string,value:(0,i.oneOfType)([i.boolean,i.number,i.string])})),i.object]),type:i.string,value:i.any},s={dirty:(0,i.oneOfType)([i.boolean,i.symbol]),pristine:(0,i.oneOfType)([i.boolean,i.symbol]),touched:(0,i.oneOfType)([i.boolean,i.symbol]),untouched:(0,i.oneOfType)([i.boolean,i.symbol]),focused:(0,i.oneOfType)([i.boolean,i.symbol]),visited:(0,i.oneOfType)([i.boolean,i.symbol]),invalid:(0,i.oneOfType)([i.boolean,i.symbol]),invalidRequired:(0,i.oneOfType)([i.boolean,i.symbol]),valid:(0,i.oneOfType)([i.boolean,i.symbol])},l=o()({},a,{emptyEqualsNull:i.boolean,trim:i.boolean,invertedPattern:(0,i.oneOfType)([(0,i.arrayOf)((0,i.oneOfType)([i.object,i.string])),i.object,i.string]),pattern:(0,i.oneOfType)([(0,i.arrayOf)((0,i.oneOfType)([i.object,i.string])),i.object,i.string]),maximum:(0,i.oneOfType)([i.number,i.string]),minimum:(0,i.oneOfType)([i.number,i.string]),maximumLength:i.number,minimumLength:i.number,mutable:i.boolean,writable:i.boolean,state:(0,i.shape)(s)}),p=o()({},a,s,{className:(0,i.oneOfType)([(0,i.arrayOf)(i.string),i.string]),styles:i.object,themeConfiguration:i.object,disabled:i.boolean,enforceUncontrolled:i.boolean,initialValue:i.any,model:(0,i.shape)(l),selection:(0,i.oneOfType)([(0,i.arrayOf)((0,i.arrayOf)((0,i.oneOfType)([i.boolean,i.number,i.string]))),(0,i.arrayOf)((0,i.oneOfType)([i.boolean,i.number,i.string])),(0,i.arrayOf)((0,i.shape)({label:i.string,value:(0,i.oneOfType)([i.boolean,i.number,i.string])})),i.object]),onChange:i.func,onChangeValue:i.func,onChangeShowDeclaration:i.func,onChangeState:i.func,onClick:i.func,onFocus:i.func,onTouch:i.func,required:i.boolean,requiredText:i.string,componentProperties:i.object,domNodeProperties:i.object,showDeclaration:(0,i.oneOfType)([i.boolean,i.symbol]),showInitialValidationState:i.boolean,showValidationState:i.boolean,tooltip:i.any}),u={dirty:!1,pristine:!0,focused:!1,visited:!1,invalid:!1,invalidRequired:!1,valid:!0,touched:!1,untouched:!0},c={declaration:"",description:"",name:"NO_NAME_DEFINED",emptyEqualsNull:!0,pattern:void 0,invertedPattern:void 0,maximum:1/0,minimum:-1/0,maximumLength:1/0,minimumLength:0,mutable:!0,writable:!0,nullable:!0,state:o()({},u),trim:!0,type:"string"},d={className:[],styles:{},componentProperties:{},domNodeProperties:{},enforceUncontrolled:!1,model:o()({},c),triggerInitialPropertiesConsolidation:!1,showDeclaration:void 0,showInitialValidationState:!1,showValidationState:!0,requiredText:"Please fill this field."}},function(e){e.exports=o},function(e){e.exports=a},,function(e,t,r){r.d(t,{WrapTooltip:function(){return c}});var n=r(0),o=r.n(n),i=r(16),a=r(13),s=r(2),l=r(1),p=!i.Tooltip||Boolean(i.Tooltip.isDummy),u=(0,s.forwardRef)((function(e,t){return p?(0,l.jsx)("div",{className:"generic-tooltip",ref:t,title:e.value,children:e.children}):(0,l.jsx)(i.Tooltip,o()({overlay:(0,l.jsx)(a.Typography,{use:"caption",children:e.value}),ref:t},e.componentProperties,{children:(0,l.jsx)("div",{className:"generic-tooltip",children:e.children})}))})),c=(!u||Boolean(u.isDummy),function(e){var t=e.children,r=e.value;return"string"==typeof r?(0,l.jsx)(u,{value:r,children:t}):(0,l.jsx)(l.Fragment,{children:t})})},,function(e,t,r){r.d(t,{WrapConfigurations:function(){return s}}),r(0),r(17),r(5),r(2);var n=r(14),o=r(15),i=r(8),a=r(1),s=function(e){var t=e.children,r=e.strict,s=e.themeConfiguration,l=e.tooltip,p=e.wrap;return(0,a.jsx)(n.WrapStrict,{strict:Boolean(r),children:(0,a.jsx)(i.WrapTooltip,{value:l,children:(0,a.jsx)(o.WrapThemeProvider,{configuration:s,wrap:p,children:t})})})}},function(e,t,r){r.d(t,{deriveMissingPropertiesFromState:function(){return p},determineInitialValue:function(){return f},determineValidationState:function(){return _},getConsolidatedProperties:function(){return m},mapPropertiesIntoModel:function(){return h},translateKnownSymbols:function(){return d},triggerCallbackIfExists:function(){return c},wrapStateSetter:function(){return u}});var n=r(0),o=r.n(n),i=r(6),a=r(3);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 l(e,t);var r={}.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)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var p=function(e,t){e.model&&void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=t.value),e.model&&(e.model.state?e.model.state=o()({},e.model.state):e.model.state={});for(var r=0,n=Object.entries(t.modelState);r<n.length;r++){var i,a=n[r],s=a[0],l=a[1];null!=(i=e.model)&&i.state&&void 0===e.model.state[s]&&(e.model.state[s]=l)}return e},u=function(e,t){return function(r){var n="function"==typeof r?r(t):r;(0,i.equals)(null==n?void 0:n.modelState,null==t?void 0:t.modelState)||e(n)}},c=function(e,t,r){void 0===r&&(r=!0);for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++)o[a-3]=arguments[a];t="on"+(0,i.capitalize)(t),e[t]&&(r?e[t].apply(e,o):(0,i.timeout)((function(){e[t].apply(e,o)})))},d=function(e){for(var t={},r=0,n=Object.entries(e);r<n.length;r++){var o=n[r],s=o[0],l=o[1];l===a.UndefinedSymbol?t[s]=void 0:l===a.NullSymbol?t[s]=null:t[s]=(0,i.copy)(e[s])}return t},f=function(e,t,r){var n,o;return void 0!==r?r:void 0!==e.value?e.value:void 0!==(null==(n=e.model)?void 0:n.value)?e.model.value:void 0!==e.initialValue?(0,i.copy)(e.initialValue):void 0!==e.default?(0,i.copy)(e.default):void 0!==(null==(o=e.model)?void 0:o.default)?(0,i.copy)(e.model.default):void 0!==t?t:null},_=function(e,t,r){void 0===r&&(r={});var n=!1;r=o()({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 i=0,a=Object.entries(r);i<a.length;i++){var s=a[i],l=s[0],p=s[1],u=t[l];e.model.state[l]=p(),n=n||u!==t[l]}return n&&(e.model.state.invalid=Object.keys(r).some((function(t){return Boolean(e.model.state&&e.model.state[t])})),e.model.state.valid=!e.model.state.invalid),n},h=function(e,t){var r=(0,i.extend)(!0,{model:(0,i.copy)(t)},e);r.disabled&&(r.model.mutable=!1,delete r.disabled),r.invertedPattern&&(r.model.invertedPattern=r.invertedPattern,delete r.invertedPattern),r.pattern&&(r.model.pattern=r.pattern,delete r.pattern),r.required&&(r.model.nullable=!1,delete r.required),"text"===r.type&&(r.type="string");for(var n,o=s(Object.keys(r.model).concat("value"));!(n=o()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(r,a)&&void 0!==r[a]&&(r.model[a]=r[a])}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=(0,i.copy)(r.model.default)),r},m=function(e){var t=o()({},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}},,function(e){e.exports=r},function(e,t,r){r.d(t,{WrapStrict:function(){return i}});var n=r(2),o=r(1),i=function(e){var t=e.children;return e.strict?(0,o.jsx)(n.StrictMode,{children:t}):(0,o.jsx)(o.Fragment,{children:t})}},function(e,t,r){r.d(t,{WrapThemeProvider:function(){return i}});var n=r(5),o=r(1),i=function(e){var t=e.children,r=e.configuration,i=e.wrap;return r?(0,o.jsx)(n.ThemeProvider,{options:r,wrap:!1!==i,children:t}):t}},function(e){e.exports=u},function(e){e.exports=t},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){var n=r(5),o=r(2),i=r(1),a=(0,o.forwardRef)((function(e,t){var r=e.children,o=e.applyToChildren;return(0,i.jsx)(n.Theme,{ref:t,use:"error",wrap:o,children:r})}));t.A=a},function(e,t,r){r.d(t,{defaultProperties:function(){return p},propertyTypes:function(){return s}});var n=r(0),o=r.n(n),i=r(3),a=r(4),s=o()({},a.propertyTypes,a.modelStatePropertyTypes,{checked:i.boolean,id:i.string}),l=o()({},a.defaultModel,{default:!1,type:"boolean",value:!1}),p=o()({},a.defaultProperties,{default:!1,model:o()({},l),requiredText:"Please check this field."})},,,,,,,function(e){e.exports=n}],p={};function c(e){var t=p[e];if(void 0!==t)return t.exports;var r=p[e]={exports:{}};return s[e](r,r.exports,c),r.exports}c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var f={};c.r(f),c.d(f,{Checkbox:function(){return N},CheckboxInner:function(){return S},default:function(){return R},determineValidationState:function(){return x}});var _=c(0),h=c.n(_),m=c(6),b=c(2),y=c(53),v=c(1),g={checkbox:"checkbox",checkboxInvalid:"checkbox--invalid"},P=(0,b.forwardRef)((function(e,t){var r,n=(0,b.useRef)(null),o=(0,b.useRef)(null),i=(0,b.useRef)(null);return(0,b.useImperativeHandle)(t,(function(){return{base:n,foundation:o,input:i}})),(0,v.jsx)("div",{className:[].concat(null!==(r=e.classNames)&&void 0!==r?r:[]).concat(e.invalid?g.checkboxInvalid:[]).join(" "),style:e.styles,children:(0,v.jsx)(y.Checkbox,h()({checked:e.value,disabled:e.disabled,id:e.name,indeterminate:e.indeterminate,"aria-invalid":!!e.invalid||void 0,name:e.name,onBlur:e.onBlur,onChange:e.onChange,onClick:e.onClick,onFocus:e.onFocus,value:String(e.value),ref:n,inputRef:i,foundationRef:o},e.componentProperties,{children:e.children}))})})),E=c(45),A=c(10),w=c(11),O=c(4),T=c(46),C={checkbox:"checkbox"};function x(e,t){return(0,w.determineValidationState)(e,t,{invalidRequired:function(){return!1===e.model.nullable&&!e.model.value}})}var S=function(e,t){var r,n=function(e){var t=(0,w.mapPropertiesIntoModel)(e,N.defaultProperties.model);return x(t,t.model.state),(t=(0,w.getConsolidatedProperties)(t)).checked=Boolean(t.value),t};(0,b.useEffect)((function(){_.triggerInitialPropertiesConsolidation&&o()}),[]);var o=function(e){(0,m.extend)(!0,_,n(_)),(0,w.triggerCallbackIfExists)(_,"change",f,_,e)},i=function(e){d((function(t){var r=!1;t.modelState.focused||(_.focused=!0,r=!0),t.modelState.untouched&&(_.touched=!0,_.untouched=!1,r=!0);var n=t;return r&&(o(e),n=h()({},t,{modelState:_.model.state}),(0,w.triggerCallbackIfExists)(_,"changeState",f,_.model.state,e,_)),(0,w.triggerCallbackIfExists)(_,"touch",f,e,_),n}))},a=(0,b.useRef)(null),s=(0,w.translateKnownSymbols)(e),l=(0,w.determineInitialValue)(s,N.defaultProperties.model.default,s.checked),p=(0,m.extend)(!0,(0,m.copy)(N.defaultProperties),s),u=(0,b.useState)({modelState:h()({},N.defaultModelState),value:l}),c=u[0],d=u[1],f=!p.enforceUncontrolled&&(void 0!==(null==(r=s.model)?void 0:r.value)||void 0!==s.value)&&Boolean(s.onChange||s.onChangeValue);(0,w.deriveMissingPropertiesFromState)(p,c);var _=n(p),y={modelState:_.model.state,value:_.value};return(f||_.value===c.value)&&(0,m.equals)(_.model.state,c.modelState)||d(y),f&&(d=(0,w.wrapStateSetter)(d,y)),(0,b.useImperativeHandle)(t,(function(){return{properties:_,reference:a,state:h()({modelState:_.model.state},f?{}:{value:_.value})}})),(0,v.jsx)(A.WrapConfigurations,{strict:N.strict,themeConfiguration:_.themeConfiguration,tooltip:_.tooltip,children:(0,v.jsx)(P,{value:Boolean(_.value),disabled:_.disabled,invalid:_.invalid&&_.showValidationState&&(_.showInitialValidationState||_.visited),indeterminate:null===_.value,id:_.id||_.name,name:_.name,ref:a,classNames:[C.checkbox].concat(_.className),styles:_.styles,onBlur:function(e){d((function(t){var r=!1;return t.modelState.focused&&(_.focused=!1,r=!0),t.modelState.visited||(_.visited=!0,r=!0),r&&(o(e),(0,w.triggerCallbackIfExists)(_,"changeState",f,_.model.state,e,_)),(0,w.triggerCallbackIfExists)(_,"blur",f,e,_),r?h()({},t,{modelState:_.model.state}):t}))},onChange:function(e){_.model.mutable&&_.model.writable&&("boolean"==typeof e&&(e={target:{checked:e}}),_.value=Boolean(e.target.checked),d((function(t){if(t.value===_.value)return t;var r=!1,n=h()({},t,{value:_.value});return t.modelState.pristine&&(_.dirty=!0,_.pristine=!1,r=!0),o(e),x(_,t.modelState)&&(r=!0),(0,w.triggerCallbackIfExists)(_,"changeValue",f,_.value,e,_),r&&_.model.state&&(n.modelState=_.model.state,(0,w.triggerCallbackIfExists)(_,"changeState",f,_.model.state,e,_)),n})))},onClick:function(e){(0,w.triggerCallbackIfExists)(_,"click",f,e,_),i(e)},onFocus:function(e){(0,w.triggerCallbackIfExists)(_,"focus",f,e,_),i(e)},componentProperties:_.componentProperties,domNodeProperties:_.domNodeProperties,children:_.invalid&&_.showValidationState&&(_.showInitialValidationState||_.visited)?(0,v.jsx)(E.A,{children:_.description||_.name}):_.description||_.name})})};S.displayName="Checkbox";var N=(0,b.memo)((0,b.forwardRef)(S));N.wrapped=S,N.webComponentAdapterWrapped="react",N.defaultModelState=O.defaultModelState,N.defaultProperties=h()({},T.defaultProperties,{model:h()({},T.defaultProperties.model,{state:void 0,value:void 0}),value:void 0}),N.propTypes=T.propertyTypes,N.strict=!1;var R=N;return f}())},,,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__59__}],__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__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CheckboxInput:function(){return CheckboxInput}});var clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),clientnode_property_types__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__),react_input_material_dist_components_Checkbox__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(45),react_input_material_dist_components_Checkbox__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react_input_material_dist_components_Checkbox__WEBPACK_IMPORTED_MODULE_1__),web_component_wrapper__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),web_component_wrapper__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(web_component_wrapper__WEBPACK_IMPORTED_MODULE_2__),CheckboxInput=web_component_wrapper__WEBPACK_IMPORTED_MODULE_2___default()(react_input_material_dist_components_Checkbox__WEBPACK_IMPORTED_MODULE_1___default(),"CheckboxInput",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,focused:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalid:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidRequired:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,name:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.string,pristine:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,touched:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,untouched:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,valid:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,visited:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean}});return __webpack_exports__.default=CheckboxInput,__webpack_exports__}()}));
1
+ "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@rmwc/checkbox"),require("@rmwc/theme"),require("@rmwc/typography"),require("clientnode"),require("react"),require("react-generic-dummy"),require("react/jsx-runtime"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper"));else if("function"==typeof define&&define.amd)define(["clientnode/property-types","@babel/runtime/helpers/extends","@babel/runtime/helpers/objectWithoutPropertiesLoose","@rmwc/checkbox","@rmwc/theme","@rmwc/typography","clientnode","react","react-generic-dummy","react/jsx-runtime","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/asyncToGenerator","@babel/runtime/regenerator","react-dom","react-dom/client","@babel/runtime/helpers/initializerDefineProperty","@babel/runtime/helpers/applyDecoratedDescriptor","@babel/runtime/helpers/initializerWarningHelper"],t);else{var r="object"==typeof exports?t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@rmwc/checkbox"),require("@rmwc/theme"),require("@rmwc/typography"),require("clientnode"),require("react"),require("react-generic-dummy"),require("react/jsx-runtime"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper")):t(e["clientnode/property-types"],e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@rmwc/checkbox"],e["@rmwc/theme"],e["@rmwc/typography"],e.clientnode,e.react,e["react-generic-dummy"],e["react/jsx-runtime"],e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/regenerator"],e["react-dom"],e["react-dom/client"],e["@babel/runtime/helpers/initializerDefineProperty"],e["@babel/runtime/helpers/applyDecoratedDescriptor"],e["@babel/runtime/helpers/initializerWarningHelper"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(this,function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__59__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,r,n,o,i,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!=__webpack_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__(12),r=__webpack_require__(4),n=__webpack_require__(5),o=__webpack_require__(6),i=__webpack_require__(0),s=__webpack_require__(3),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=i},function(e){e.exports=t},function(e){e.exports=n},function(e){e.exports=o},function(e,t,r){var n=r(0),o=r.n(n),i=r(1),a=r(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:a.string},e),function(t,r){if("string"==typeof r){var n,a=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(a,"observedAttributes")||(a.observedAttributes=a.observedAttributes?[].concat(a.observedAttributes):[]);var s=(0,i.camelCaseToDelimited)(r);a.observedAttributes&&!a.observedAttributes.includes(s)&&a.observedAttributes.push(s)}e.type&&(Object.prototype.hasOwnProperty.call(a,"propertyTypes")||(a.propertyTypes=a.propertyTypes?o()({},a.propertyTypes):{}),!a.propertyTypes||!e.update&&Object.prototype.hasOwnProperty.call(a,r)||(a.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(a,"propertiesToReflectAsAttributes")||(a.propertiesToReflectAsAttributes=a.propertiesToReflectAsAttributes?(0,i.copy)(a.propertiesToReflectAsAttributes):[]),(e.update||a.propertiesToReflectAsAttributes instanceof Map&&!a.propertiesToReflectAsAttributes.has(r)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(r)||"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&a.propertyTypes&&Object.prototype.hasOwnProperty.call(a.propertyTypes,r)&&(n=a.propertyTypes[r]):n=e.writeAttribute,void 0!==n&&(Array.isArray(a.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?a.propertiesToReflectAsAttributes.push(r):a.normalizePropertyTypeList&&(a.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes))),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(r,n),"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[r]=n)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?o()({},a.propertyAliases):{}),!a.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(a,r)||(a.propertyAliases[r]=e.alias))}}}},function(e,t,r){r.d(t,{api:function(){return T}});var n,o,i,a,s=r(4),l=r.n(s),p=r(8),u=r.n(p),c=r(0),d=r.n(c),f=r(3),_=r.n(f),h=r(9),m=r.n(h),b=(r(10),r(5)),v=r.n(b),y=r(1),g=r(2),P=r(6);function E(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 A(e,t);var r={}.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)?A(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var w="undefined"==typeof HTMLElement?function(){}:HTMLElement,O=(n=(0,P.default)({type:g.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=d()({},y.UTILITY_SCOPE),r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,u()(r,"isRoot",i,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=r,r.defineGetterAndSetterInterface(),r}_()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,r){this.ignoreAttributeUpdateObservations||t===r||this.onUpdateAttribute(e,r)},r.onUpdateAttribute=function(e,t){var r=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,(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"):(0,y.timeout)(function(){e.render("connected")})},r.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=E(this.domNodeEventBindings.values());!(e=t()).done;)for(var r,n=E(e.value.values());!(r=n()).done;)(0,r.value)();this.slots={}},r.defineGetterAndSetterInterface=function(){for(var e,t=this,r=function(){var r=e.value;Object.prototype.hasOwnProperty.call(t,r)&&t.setPropertyValue(r,t[r]),Object.defineProperty(t,r,{configurable:!0,get:function(){return t.getPropertyValue(r)},set:function(e){t.setPropertyValue(r,e),t.triggerPropertySpecificRendering(r,e)}})},n=E((0,y.unique)(Object.keys(this.self.propertyTypes).concat(this.self._propertyAliasIndex?Object.keys(this.self._propertyAliasIndex):[])));!(e=n()).done;)r()},r.getPropertyAlias=function(e){return this.self._propertyAliasIndex&&Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},r.getPropertyValue=function(e){var r,n,o=null!=(r=this.instance)&&null!=(r=r.current)&&r.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(n=this.instance)&&null!=(n=n.current)&&n.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:o},r.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.externalProperties[r]=t)},r.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.internalProperties[r]=t)},r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=t,r)),this.setInternalPropertyValue(e,t)},r.triggerPropertySpecificRendering=function(e,t){var r=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,y.timeout)(function(){void 0!==t&&r.isStateProperty(e)?(r.render("preStatePropertyChanged"),(0,y.timeout)(function(){r.setInternalPropertyValue(e,void 0),r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("postStatePropertyChanged"),r.triggerOutputEvents()})):(r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("propertyChanged"),r.triggerOutputEvents())}));else{var n=this.isStateProperty(e);this.render(n?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&n&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},r.applyBinding=function(e,t){var r=this;if(e.getAttributeNames)for(var n,o=function(){var o=n.value,i="";if(o.startsWith("data-bind-")?i=o.substring(10):o.startsWith("bind-")&&(i=o.substring(5)),i){var a=e.getAttribute(o);if(null===a)return 0;if(i.startsWith("attribute-")||i.startsWith("property-")){var s=(0,y.evaluate)(a,t,!1,!0,e);if(s.error)return console.warn('Error occurred during processing given attribute binding "'+o+'" on node:',e,s.error),0;i.startsWith("attribute-")?e.setAttribute(i.substring(10),s.result):e[(0,y.delimitedToCamelCase)(i.substring(9))]=s.result}else if(i.startsWith("on-")){r.domNodeEventBindings.has(e)||r.domNodeEventBindings.set(e,new Map);var l=r.domNodeEventBindings.get(e);if(i=(0,y.delimitedToCamelCase)(i.substring(3)),null!=l&&l.has(i)){var p=l.get(i);p&&p()}t=d()({console:console,event:void 0,parameters:void 0},t);var u=(0,y.compile)(a,t,!0,!0,e);if(u.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,u.error);else{var c=function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.event=n[0],t.parameters=n;try{u.templateFunction.apply(u,u.originalScopeNames.map(function(e){return t[e]}))}catch(t){console.warn('Error occurred during processing given event binding "'+o+'" on node:',e,'Given expression "'+a+'" could not be evaluated with given scope names "'+u.scopeNames.join('", "')+'": '+(0,y.represent)(t))}};e.addEventListener(i,c),null==l||l.set(i,function(){e.removeEventListener(i,c),l.delete(i),0===l.size&&r.domNodeEventBindings.delete(e)})}}}},i=E(e.getAttributeNames());!(n=i()).done;)o()},r.applyBindings=function(e,t,r){for(void 0===r&&(r=!0);e;){var n;null==(n=e.attributes)||!n.length||!r&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},r.compileDomNodeTemplate=function(e,t,r){void 0===t&&(t=[]),void 0===r&&(r={}),r=d()({ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},r);var n=e.nodeName.toLowerCase();if(r.ignoreComponents&&n.includes("-"))return null;if(r.unsafe){var o=e.innerHTML;if(!o&&e.template&&(o=e.template),this.self.hasCode(o)){var i=(0,y.compile)("`"+o+"`",t);return{domNode:e,children:[],error:i.error,scopeNames:i.scopeNames,template:o,templateFunction:i.templateFunction}}return null}var a=null;if("#text"===n){var s=e.textContent;s&&this.self.hasCode(s)&&(a=s.replace(/&nbsp;/g," ").trim())}var l=[],p={children:l,domNode:e};if(a){var u=(0,y.compile)("`"+a+"`",t);p.error=u.error,p.scopeNames=u.scopeNames,p.template=a,p.templateFunction=u.templateFunction}for(var c=e.firstChild;c;){if(!r.filter||r.filter(c)){var f=this.compileDomNodeTemplate(c,t,d()({},r,{ignoreComponents:r.ignoreNestedComponents}));f&&l.push(f)}c=c.nextSibling}return p},r.evaluateCompiledDomNodeTemplate=function(e,t){var r=e.domNode,n=e.error,o=e.templateFunction,i=e.scopeNames;if(!o||!i)return null;if(n)return console.warn("Error occurred during compiling node content:",n),null;var a=null;try{a=o.apply(void 0,i.map(function(e){return t[e]}))}catch(n){console.warn('Error occurred when "'+this.self._name+'" is running','"'+String(o)+'": with bound','names "'+i.join('", "')+'":','"'+n+'". Rendering node:',r)}return a},r.evaluateDomNodeTemplate=function(e,t,r){var n=this;void 0===t&&(t={}),void 0===r&&(r={});var o=(r=d()({domNodeTemplateCache:this.domNodeTemplateCache,ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},r)).domNodeTemplateCache;if(!o.has(e)){var i={filter:r.filter,ignoreComponents:r.ignoreComponents,ignoreNestedComponents:r.ignoreNestedComponents,unsafe:r.unsafe},a=this.compileDomNodeTemplate(e,t,i);a&&o.set(e,a)}if(o.has(e)){var s=o.get(e),l=this.evaluateCompiledDomNodeTemplate(s,t);if(null!==l&&(r.unsafe&&e.innerHTML?e.innerHTML=l:e.textContent=l),s.children.length){var p=function(e){for(var r,o=E(e);!(r=o()).done;){var i=r.value,a=n.evaluateCompiledDomNodeTemplate(i,t);null!==a&&(i.domNode.textContent=a),i.children.length&&p(i.children)}};p(s.children)}}r.applyBindings&&this.applyBindings(e,t)},t.replaceDomNodes=function(e,r){for(var n,o=E([].concat(r).reverse());!(n=o()).done;){var i,a=n.value;t.trimSlots&&a.nodeType===Node.TEXT_NODE&&""===(null==(i=a.nodeValue)?void 0:i.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;)(e instanceof t||e.nodeName.includes("-")||null===e.parentNode&&"[object ShadowRoot]"===e.toString())&&(this.rootInstance===this?(this.parent=e,this.rootInstance=e,this.setPropertyValue("isRoot",!1)):this.rootInstance=e),e=e.parentNode},t.hasCode=function(e){return"string"==typeof e&&e.includes("${")&&e.includes("}")&&/\${[\s\S]+}/.test(e)},t.normalizePropertyTypeList=function(e){if("string"==typeof e&&(e=[e]),Array.isArray(e)){for(var r,n=e,o=new Map,i=E(n);!(r=i()).done;){var a=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&o.set(a,t.propertyTypes[a])}return o}return(0,y.convertPlainObjectToMap)(e)},r.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},r.attachExplicitDefinedOutputEventHandler=function(){var e=this;if(!this.self.eventToPropertyMapping)return!1;for(var t=!1,r=function(){var r=o[n];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,l()(v().mark(function t(){var n,o,i,a,s=arguments;return v().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(n=s.length,o=new Array(n),i=0;i<n;i++)o[i]=s[i];return t.next=1,e.reflectEventToProperties(r,o);case 1:(a=t.sent)&&(o[0]=a),e.forwardEvent(r,o);case 2:case"end":return t.stop()}},t)}))))},n=0,o=Object.keys(this.self.eventToPropertyMapping);n<o.length;n++)r();return t},r.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=o[n],i=r[0],a=r[1];Object.prototype.hasOwnProperty.call(t.internalProperties,i)||![g.func,"function"].includes(a)||t.self.renderProperties.includes(i)||(t.outputEventNames.add(i),t.setInternalPropertyValue(i,function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e&&t.reflectEventToProperties(i,n),t.forwardEvent(i,n)}))},n=0,o=Object.entries(this.self.propertyTypes);n<o.length;n++)r()},r.triggerOutputEvents=function(){for(var e,t=E(this.outputEventNames);!(e=t()).done;){var r=e.value;this.forwardEvent(r,[this.externalProperties])}},r.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=(0,y.lowerCase)(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.applySlots=function(e,t){for(var r=this,n=0,o=Array.from(e.querySelectorAll("slot"));n<o.length;n++){var i=o[n],a=i.getAttribute("name");if(null===a||"default"===a)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var s,l=E(this.slots.default);!(s=l()).done;){var p=s.value;this.evaluateDomNodeTemplate(p,t)}this.self.replaceDomNodes(i,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(i).map(function(e){return r.grabSlotContent(e)});else this.slots[a]?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[a],t),this.self.replaceDomNodes(i,this.slots[a])):this.slots[a]=this.grabSlotContent(this.self.unwrapDomNode(i).filter(function(e){return"#text"!==e.nodeName.toLowerCase()})[0])}},r.grabSlotContent=function(e){var t,r=g.node.firstElementChild?e:null;if(r&&"textarea"===(null==(t=r.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!r.firstElementChild.hasAttribute("data-no-template")||"false"===r.firstElementChild.getAttribute("data-no-template"))){var n=r.firstElementChild.value;r.classList.remove("web-component-template");var o=r.cloneNode();return r.classList.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 n,o=r[t],i=o.parentNode,a=!0;i;){if(i.nodeName.includes("-")){i===this&&(a=!1);break}i=i.parentNode}if(!a){var s=null==(n=o.getAttribute("slot"))?void 0:n.trim();this.slots[null!=s?s:o.nodeName.toLowerCase()]=this.grabSlotContent(o)}}this.slots.default?this.slots.default=[].concat(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;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(this.instance.current.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=d()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],n=r[0],o=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,o)||(this.self._propertyAliasIndex[o]=n)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var n,o=r[t],i=o[0],a=o[1];if(this.setExternalPropertyValue(i,a),this.isConnected){var s=(0,y.camelCaseToDelimited)(i);if(null!=(n=this.self._propertiesToReflectAsAttributes)&&n.has(i))switch(this.self._propertiesToReflectAsAttributes.get(i)){case g.boolean:case"boolean":a?""!==this.getAttribute(s)&&this.setAttribute(s,""):this.hasAttribute(s)&&this.removeAttribute(s);break;case g.func:case"function":break;case"json":if(a){var l=JSON.stringify(a);if(l&&this.getAttribute(s)!==l){this.setAttribute(s,l);break}}this.hasAttribute(s)&&this.removeAttribute(s);break;case g.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(s)&&this.removeAttribute(s);else{var p=String(a);this.getAttribute(s)!==p&&this.setAttribute(s,p)}break;case g.string:case"string":a?this.getAttribute(s)!==a&&this.setAttribute(s,a):this.hasAttribute(s)&&this.removeAttribute(s);break;case g.any:case g.array:case g.arrayOf:case g.element:case g.elementType:case g.instanceOf:case g.node:case g.object:case"object":case g.objectOf:case g.shape:case g.exact:case g.symbol:default:if(a){var u=(0,y.represent)(a);if(u&&this.getAttribute(s)!==u){this.setAttribute(s,u);break}}this.hasAttribute(s)&&this.removeAttribute(s)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,r;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var n,o=E(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(n=o()).done;){var i=n.value;Object.prototype.hasOwnProperty.call(this.internalProperties,i)&&this.setInternalPropertyValue(i,void 0)}null!=(r=this.internalProperties.model)&&r.state&&(delete this.internalProperties.model.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var a,s=E(this.self.controllableProperties);!(a=s()).done;){var l=a.value;Object.prototype.hasOwnProperty.call(e,l)&&this.setInternalPropertyValue(l,e[l])}},r.reflectEventToProperties=function(){var e=l()(v().mark(function e(t,r){var n,o,i,a,s,l,p,u,c,f,_,h,m,b,g,P,A;return v().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.batchUpdates,this.batchUpdates=!1,o=null,i=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&(0,y.isFunction)(this.self.eventToPropertyMapping[t]))){e.next=4;break}if(!((s=(a=this.self.eventToPropertyMapping)[t].apply(a,r.concat([this])))&&"then"in s&&(0,y.isFunction)(s.then))){e.next=2;break}return e.next=1,s;case 1:A=e.sent,e.next=3;break;case 2:A=s;case 3:l=A,i=!0,Array.isArray(l)?(o=l[0],this.reflectProperties(o),(0,y.extend)(!0,this.internalProperties,l[1])):null===l?i=!1:"object"==typeof l&&(o=l,this.reflectProperties(l));case 4:if(!i&&r.length>0&&(0,y.isObject)(r[0])){if(u=r[0],"persist"in r[0]&&(0,y.isFunction)(r[0].persist))for(u={},c=0,f=Object.keys(this.self.propertyTypes);c<f.length;c++)for(_=f[c],h=E([_].concat(null!==(b=this.getPropertyAlias(_))&&void 0!==b?b:[]));!(m=h()).done;)g=m.value,(P=r[0].currentTarget&&Object.prototype.hasOwnProperty.call(r[0].currentTarget,g)?r[0].currentTarget[g]:this.getPropertyValue(g))!==this.externalProperties[g]&&(u[g]=P);else[null,void 0].includes(null==(p=u.detail)?void 0:p.value)||(u=d()({},u.detail));o=u,this.reflectProperties(u)}return this.triggerRender("propertyReflected"),this.batchUpdates=n,e.abrupt("return",o);case 5:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}(),r.evaluateStringOrNullAndSetAsProperty=function(e,t){var r=this,n=e.startsWith("-"),o=n?e.substring(1):e,i=(0,y.delimitedToCamelCase)(o),a=this.getPropertyAlias(i);if(a&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)&&(i=a),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,i)){var s=this.self.propertyTypes[i];if(n){if(t){var l=(0,y.evaluate)(t,d()({},y.UTILITY_SCOPE),!1,!0,this);l.error?(console.warn('Failed to process pre-evaluation attribute "'+e+'": '+l.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(i,void 0)):(this.setInternalPropertyValue(i,l.result),this.setExternalPropertyValue(i,l.result))}}else switch(s){case g.boolean:case"boolean":var p=![null,"false"].includes(t);this.setInternalPropertyValue(i,p),this.setExternalPropertyValue(i,p);break;case g.func:case"function":var u,c=null,f=["data","event","firstArgument","firstParameter","options","scope","parameters"].concat(y.UTILITY_SCOPE_NAMES);if(t){var _=(0,y.compile)(t,f);c=_.error,u=_.templateFunction,c&&console.warn('Failed to compile given handler "'+e+'": '+c+".")}this.setInternalPropertyValue(i,function(){for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];r.outputEventNames.has(i)&&r.reflectEventToProperties(i,o);var s=void 0;if(!c)try{var l;s=null==(l=u)?void 0:l.call.apply(l,[r,o[0],o[0],o[0],o[0],o[0],o[0],o].concat(y.UTILITY_SCOPE_VALUES))}catch(r){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+f.join('", "')+'" set to "'+(0,y.represent)(o)+'": '+r+'. Set property to "undefined".')}return r.self.renderProperties.includes(i)||r.forwardEvent(i,o),s}),c||this.setExternalPropertyValue(i,u);break;case"json":if(t){var h;try{h=JSON.parse(t)}catch(c){console.warn('Error occurred during parsing given json attribute "'+e+'": '+(0,y.represent)(c));break}this.setInternalPropertyValue(i,h),this.setExternalPropertyValue(i,(0,y.copy)(h,1))}else this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null);break;case g.number:case"number":if(null===t){this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break}var m=parseFloat(t);isNaN(m)&&(m=void 0),this.setInternalPropertyValue(i,m),this.setExternalPropertyValue(i,m);break;case g.string:case"string":this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break;case g.any:case g.array:case g.arrayOf:case g.element:case g.elementType:case g.instanceOf:case g.node:case g.object:case"object":case g.objectOf:case g.oneOf:case g.oneOfType:case g.shape:case g.exact:case g.symbol:default:if(t){var b=(0,y.evaluate)(t,{},!1,!0,this);if(b.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',b.error);break}this.setInternalPropertyValue(i,b.result),this.setExternalPropertyValue(i,(0,y.copy)(b.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(i,!0),this.setExternalPropertyValue(i,!0)):(this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null))}}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,(0,y.timeout)(function(){t.batchedUpdateRunning=!1,t.render(e)})):this.render(e)},r.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow((0,y.isObject)(this.self.shadowDOM)?this.self.shadowDOM:{mode:"open"}))},r.determineRenderScope=function(e){var t,r;void 0===e&&(e={}),this.scope=d()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((r={parent:this.parent,root:this.rootInstance,self:this})[(0,y.lowerCase)(this.self._name)||"instance"]=this,r),e),this.scope.scope=this.scope},r.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),!this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}})))return Promise.resolve();var t=(0,y.evaluate)("`"+this.self.content+"`",this.scope);if(t.error)return console.warn("Failed to process template: "+t.error),Promise.resolve();this.applyShadowRootIfNotExisting();var r=document.createElement("div");return r.innerHTML=t.result,this.applySlots(r,d()({},this.scope,{parent:this})),this.root.innerHTML=r.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots),Promise.resolve()},t}(w),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:g.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,o=a,i=m()(o.prototype,"isRoot",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),o),T={component:O,register:function(e){void 0===e&&(e=(0,y.camelCaseToDelimited)(O._name)),customElements.define(e,O)}};t.default=O},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=s},function(e){e.exports=a},function(e){e.exports=l},function(e,t,r){r.d(t,{api:function(){return g}});var n=r(0),o=r.n(n),i=r(4),a=r.n(i),s=r(3),l=r.n(s),p=r(5),u=r.n(p),c=r(1),d=r(2),f=r(11),_=r.n(f),h=r(12),m=r(13);function b(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return v(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var y=function(e){function t(){for(var r,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(r=e.call.apply(e,[this].concat(o))||this).unmountOnDisconnect=!0,r.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}l()(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;this.unmountOnDisconnect&&(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(){var e=a()(u().mark(function e(t){var r,n,i,a,s,l=this;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:t,scope:this.scope}}))){e.next=1;break}return e.abrupt("return");case 1:if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(o()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(n=this.firstChild;n;)i=n.nextSibling,this.removeChild(n),n=i;return this.reactRoot||(a=this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name,s="","string"==typeof a&&(s=a),this.reactRoot=(0,m.createRoot)(this.root,{identifierPrefix:s})),e.next=2,new Promise(function(e){(0,h.flushSync)(function(){var t;null==(t=l.reactRoot)||t.render((0,f.createElement)(l.self.content,l.internalProperties)),e()})});case 2:if(null==(r=this.instance)||!r.current){e.next=3;break}this.reflectInstanceProperties(),e.next=4;break;case 3:return e.next=4,(0,c.timeout)(this.reflectInstanceProperties);case 4:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=(0,c.copy)(t,1),r)),this.setInternalPropertyValue(e,(0,c.copy)(t,1))},r.setInternalPropertyValue=function(t,r){null===r?r=d.NullSymbol:void 0===r&&(r=d.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,r)},r.preCompileDomNodes=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r=!1),1===(e=e.filter(function(e){return e.nodeType!==Node.TEXT_NODE||"string"==typeof e.nodeValue&&""!==e.nodeValue.trim()})).length)return this.preCompileDomNode(e[0],t,r);for(var n,o=1,i=[],a=b(e);!(n=a()).done;){var s=n.value,l=this.preCompileDomNode(s,t,r,o.toString());i.push(l),o+=1}return r?function(e){return function(){for(var t,r=[],n=b(i);!(t=n()).done;){var o=(0,t.value)(e);"function"==typeof o&&r.push(o.apply(void 0,arguments))}return(0,f.createElement)(f.Fragment,{children:r})}}:i},r.preCompileDomNode=function(e,t,r,n){var i=this;if(void 0===t&&(t={}),void 0===r&&(r=!1),r){var a=this.preCompileDomNode(e,o()({},t,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,n);return function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=r.length>0?r[0]:null;return a(o()({},e,{data:i,firstArgument:i,firstParameter:i,options:i,scope:i,parameters:r}))}}}if(e.nodeType===Node.TEXT_NODE){var s="string"==typeof e.nodeValue?e.nodeValue.trim():"",l=n&&s?(0,f.createElement)(f.Fragment,{children:s,key:n}):s||null;return function(){return l}}if(!e.getAttributeNames)return function(){return null};var p,u={},d=this.self.isReactComponent(e);d?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),n&&!Object.prototype.hasOwnProperty.call(u,"key")&&(u.key=n),p=e.constructor.content):(u.key=n,p=e.tagName.toLowerCase());for(var _,h=Object.keys(t),m={},v=function(){var r,n=_.value,o=e.getAttribute(n);if(null===o)return 0;var a=!1,s="";if(n.startsWith("data-bind-")?s=n.substring(10):n.startsWith("bind-")&&(s=n.substring(5)),s.startsWith("attribute-")||"attributes"===s||s.startsWith("property-")||"properties"===s){var l=(0,c.compile)(o,h),p=l.error,f=l.originalScopeNames,b=l.templateFunction;if(p)return console.warn('Error occurred during compiling given attribute binding "'+n+'" on node:',e,p),0;"attributes"===s||"properties"===s?a=!0:s=s.startsWith("attribute-")?s.substring(10):s.substring(9),o={originalScopeNames:f,templateFunction:b.bind(i)}}else if(s.startsWith("on-")){s=(0,c.delimitedToCamelCase)(s),Object.prototype.hasOwnProperty.call(t,"event")||(h=[].concat(h,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(h=[].concat(h,["parameters"]));var v=(0,c.compile)(o,h,!0),y=v.error,g=v.originalScopeNames,P=v.scopeNames,E=v.templateFunction;if(y)return console.warn('Error occurred during compiling given event binding "'+n+'" on node:',e,y),0;var A=E.bind(i);o=function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];t.event=i[0],t.parameters=i;try{A.apply(void 0,g.map(function(e){return t[e]}))}catch(t){console.warn('Error occurred during processing given event binding "'+n+'" on node: ',e,'Given expression "'+o+'" could not be evaluated with given scope names "'+P.join('", "')+'": '+(0,c.represent)(t))}}}else s=n;var w={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(w,s)&&(s=w[s]),s=(0,c.delimitedToCamelCase)(s),null!=(r=o)&&r.originalScopeNames?m[a?"":s]=o:d||(u[s]=o)},y=b(e.getAttributeNames());!(_=y()).done;)v();if(!d){var g=Array.from(e.childNodes);g.length&&(u.children=this.preCompileDomNodes(g,t))}return function(r){(r=o()({},t,r)).scope=r;for(var n=o()({},u),a=0,s=Object.entries(m);a<s.length;a++){var l=s[a],c=l[0],_=l[1],h=_.originalScopeNames,b=_.templateFunction.apply(void 0,h.map(function(e){return r[e]}));""===c?n=o()({},n,b):n[c]=b}return Object.prototype.hasOwnProperty.call(n,"innerHTML")&&(n.dangerouslySetInnerHTML={__html:n.innerHTML},delete n.children,delete n.innerHTML),Object.prototype.hasOwnProperty.call(n,"textContent")?(n.children=n.textContent,delete n.textContent):d?(n=o()({},e.internalProperties,n),r=o()({},n,r,{parent:e}),e.evaluateSlots(r),e.prepareProperties(n)):n.children&&(n.children=i.evaluatePreCompiledDomNodes(n.children,r)),(0,f.createElement)(p,n)}},r.evaluatePreCompiledDomNodes=function(e,t){if(void 0===t&&(t={}),!Array.isArray(e))return e(t);if(1===e.length)return e[0](t);for(var r,n=[],o=b(e);!(r=o()).done;){var i=(0,r.value)(t);i&&n.push(i)}return n},r.preCompileSlots=function(){for(var e in this.slots)this.slots[e]&&"default"!==e&&(this.compiledSlots[e]=this.preCompileDomNode(this.slots[e],o()({},this.scope,{parent:this}),[d.func,"function"].includes(this.self.propertyTypes[e])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,o()({},this.scope,{parent:this}),[d.func,"function"].includes(this.self.propertyTypes.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&&(!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,f.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,f.forwardRef)(function(t,r){return(0,f.useImperativeHandle)(r,function(){return{properties:t}}),(0,f.createElement)(e,t)}),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,f.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,f.memo)(this.self.content),this.self.content.wrapped=e)}},r.prepareProperties=function(e){(0,c.extend)(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,f.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var r,n=b(["isRoot","isTrusted","__composed"]);!(r=n()).done;){var o=r.value;Object.prototype.hasOwnProperty.call(t,o)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,o)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,o))&&delete t[o]}},t}(r(7).default);y.attachWebComponentAdapterIfNotExists=!0,y.content="div",y.react=_(),y._name="ReactWebComponent";var g={component:y,register:function(e){void 0===e&&(e=(0,c.camelCaseToDelimited)(y._name)),customElements.define(e,y)}};t.default=y}],f={};function _(e){var t=f[e];if(void 0!==t)return t.exports;var r=f[e]={exports:{}};return d[e](r,r.exports,_),r.exports}_.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return _.d(t,{a:t}),t},_.d=function(e,t){for(var r in t)_.o(t,r)&&!_.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},_.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},_.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var h={};_.r(h),_.d(h,{ReactWeb:function(){return A},Web:function(){return T},reactWebAPI:function(){return w},webAPI:function(){return O},wrapAsWebComponent:function(){return C}});var m=_(0),b=_.n(m),v=_(3),y=_.n(v),g=_(1),P=_(14),E=_(7),A=P.default,w=P.api,O=E.api,T=E.default,C=function(e,t,r){var n,o,i;void 0===t&&(t="NoName"),void 0===r&&(r={});var a=e._name||(null==(n=e.___types)||null==(n=n.name)?void 0:n.name)||t.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");r.propTypes&&(e.propTypes=r.propTypes);var s=e.propTypes||{},l=r.propertyAliases||e.propertyAliases||{},p=(0,g.unique)(Object.keys(s).concat(Object.keys(l)).concat(Object.values(l))),u=r.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(A.propertiesToReflectAsAttributes)if(Array.isArray(u))u=[].concat(A.propertiesToReflectAsAttributes,u);else if(u instanceof Map)for(var c=0,d=A.propertiesToReflectAsAttributes;c<d.length;c++){var f=d[c];u.set(f,A.propertyTypes[f])}else if("object"==typeof u)for(var _=0,h=A.propertiesToReflectAsAttributes;_<h.length;_++){var m=h[_];u[m]=A.propertyTypes[m]}var v=p.map(function(e){return(0,g.camelCaseToDelimited)(e)}),P=function(t){function n(){for(var o,i,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return(i=t.call.apply(t,[this].concat(s))||this).self=n,i.internalProperties=r.internalProperties?b()({},r.internalProperties):e.internalProperties?b()({},e.internalProperties):{},i.unmountOnDisconnect=null===(o=r.unmountOnDisconnect)||void 0===o||o,i}return y()(n,t),n}(A);return P.attachWebComponentAdapterIfNotExists="boolean"!=typeof r.attachWebComponentAdapterIfNotExists||r.attachWebComponentAdapterIfNotExists,P.content=e,P.observedAttributes=A.observedAttributes.concat(v).concat(v.map(function(e){return"-"+e})),P.controllableProperties=e.controllableProperties||r.controllableProperties||[],P.eventToPropertyMapping=null===r.eventToPropertyMapping?r.eventToPropertyMapping:r.eventToPropertyMapping?b()({},r.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?b()({},e.eventToPropertyMapping):{},P.propertyAliases=b()({},A.propertyAliases,l),P.propertiesToReflectAsAttributes=u,P.propertyTypes=b()({},A.propertyTypes,s),P.renderProperties=null!==(o=null!==(i=r.renderProperties)&&void 0!==i?i:e.renderProperties)&&void 0!==o?o:A.renderProperties,P._name=a,{component:P,register:function(e){void 0===e&&(e=(0,g.camelCaseToDelimited)(a)),customElements.define(e,P)}}};return h.default=C,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(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,n,o,r,a,i,l,u,d;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!=__webpack_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__(7),n=__webpack_require__(59),o=__webpack_require__(8),r=__webpack_require__(9),a=__webpack_require__(4),i=__webpack_require__(0),l=__webpack_require__(3),u=__webpack_require__(10),d=__webpack_require__(11),function(){var s=[function(t){t.exports=e},function(e){e.exports=d},function(e){e.exports=l},function(e){e.exports=i},function(e,t,r){r.d(t,{defaultModel:function(){return c},defaultModelState:function(){return u},defaultProperties:function(){return d},modelStatePropertyTypes:function(){return s},propertyTypes:function(){return p}});var n=r(0),o=r.n(n),i=r(3),a={name:i.string,declaration:i.string,description:i.string,default:i.any,selection:(0,i.oneOfType)([(0,i.arrayOf)((0,i.oneOfType)([i.boolean,i.number,i.string])),(0,i.arrayOf)((0,i.shape)({label:i.string,value:(0,i.oneOfType)([i.boolean,i.number,i.string])})),i.object]),type:i.string,value:i.any},s={dirty:(0,i.oneOfType)([i.boolean,i.symbol]),pristine:(0,i.oneOfType)([i.boolean,i.symbol]),touched:(0,i.oneOfType)([i.boolean,i.symbol]),untouched:(0,i.oneOfType)([i.boolean,i.symbol]),focused:(0,i.oneOfType)([i.boolean,i.symbol]),visited:(0,i.oneOfType)([i.boolean,i.symbol]),invalid:(0,i.oneOfType)([i.boolean,i.symbol]),invalidRequired:(0,i.oneOfType)([i.boolean,i.symbol]),valid:(0,i.oneOfType)([i.boolean,i.symbol])},l=o()({},a,{emptyEqualsNull:i.boolean,trim:i.boolean,invertedPattern:(0,i.oneOfType)([(0,i.arrayOf)((0,i.oneOfType)([i.object,i.string])),i.object,i.string]),pattern:(0,i.oneOfType)([(0,i.arrayOf)((0,i.oneOfType)([i.object,i.string])),i.object,i.string]),maximum:(0,i.oneOfType)([i.number,i.string]),minimum:(0,i.oneOfType)([i.number,i.string]),maximumLength:i.number,minimumLength:i.number,mutable:i.boolean,writable:i.boolean,state:(0,i.shape)(s)}),p=o()({},a,s,{className:(0,i.oneOfType)([(0,i.arrayOf)(i.string),i.string]),styles:i.object,themeConfiguration:i.object,disabled:i.boolean,enforceUncontrolled:i.boolean,initialValue:i.any,model:(0,i.shape)(l),selection:(0,i.oneOfType)([(0,i.arrayOf)((0,i.arrayOf)((0,i.oneOfType)([i.boolean,i.number,i.string]))),(0,i.arrayOf)((0,i.oneOfType)([i.boolean,i.number,i.string])),(0,i.arrayOf)((0,i.shape)({label:i.string,value:(0,i.oneOfType)([i.boolean,i.number,i.string])})),i.object]),onChange:i.func,onChangeValue:i.func,onChangeShowDeclaration:i.func,onChangeState:i.func,onClick:i.func,onFocus:i.func,onTouch:i.func,required:i.boolean,requiredText:i.string,componentProperties:i.object,domNodeProperties:i.object,showDeclaration:(0,i.oneOfType)([i.boolean,i.symbol]),showInitialValidationState:i.boolean,showValidationState:i.boolean,tooltip:i.any}),u={dirty:!1,pristine:!0,focused:!1,visited:!1,invalid:!1,invalidRequired:!1,valid:!0,touched:!1,untouched:!0},c={declaration:"",description:"",name:"NO_NAME_DEFINED",emptyEqualsNull:!0,pattern:void 0,invertedPattern:void 0,maximum:1/0,minimum:-1/0,maximumLength:1/0,minimumLength:0,mutable:!0,writable:!0,nullable:!0,state:o()({},u),trim:!0,type:"string"},d={className:[],styles:{},componentProperties:{},domNodeProperties:{},enforceUncontrolled:!1,model:o()({},c),triggerInitialPropertiesConsolidation:!1,showDeclaration:void 0,showInitialValidationState:!1,showValidationState:!0,requiredText:"Please fill this field."}},function(e){e.exports=a},function(e){e.exports=o},,function(e,t,r){r.d(t,{WrapTooltip:function(){return c}});var n=r(0),o=r.n(n),i=r(16),a=r(13),s=r(2),l=r(1),p=!i.Tooltip||Boolean(i.Tooltip.isDummy),u=(0,s.forwardRef)(function(e,t){return p?(0,l.jsx)("div",{className:"generic-tooltip",ref:t,title:e.value,children:e.children}):(0,l.jsx)(i.Tooltip,o()({overlay:(0,l.jsx)(a.Typography,{use:"caption",children:e.value}),ref:t},e.componentProperties,{children:(0,l.jsx)("div",{className:"generic-tooltip",children:e.children})}))}),c=(!u||Boolean(u.isDummy),function(e){var t=e.children,r=e.value;return"string"==typeof r?(0,l.jsx)(u,{value:r,children:t}):(0,l.jsx)(l.Fragment,{children:t})})},,function(e,t,r){r.d(t,{WrapConfigurations:function(){return s}}),r(0),r(17),r(6),r(2);var n=r(14),o=r(15),i=r(8),a=r(1),s=function(e){var t=e.children,r=e.strict,s=e.themeConfiguration,l=e.tooltip,p=e.wrap;return(0,a.jsx)(n.WrapStrict,{strict:Boolean(r),children:(0,a.jsx)(i.WrapTooltip,{value:l,children:(0,a.jsx)(o.WrapThemeProvider,{configuration:s,wrap:p,children:t})})})}},function(e,t,r){r.d(t,{deriveMissingPropertiesFromState:function(){return p},determineInitialValue:function(){return f},determineValidationState:function(){return _},getConsolidatedProperties:function(){return m},mapPropertiesIntoModel:function(){return h},translateKnownSymbols:function(){return d},triggerCallbackIfExists:function(){return c},wrapStateSetter:function(){return u}});var n=r(0),o=r.n(n),i=r(5),a=r(3);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 l(e,t);var r={}.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)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var p=function(e,t){e.model&&void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=t.value),e.model&&(e.model.state?e.model.state=o()({},e.model.state):e.model.state={});for(var r=0,n=Object.entries(t.modelState);r<n.length;r++){var i,a=n[r],s=a[0],l=a[1];null!=(i=e.model)&&i.state&&void 0===e.model.state[s]&&(e.model.state[s]=l)}return e},u=function(e,t){return function(r){var n="function"==typeof r?r(t):r;(0,i.equals)(null==n?void 0:n.modelState,null==t?void 0:t.modelState)||e(n)}},c=function(e,t,r){void 0===r&&(r=!0);for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++)o[a-3]=arguments[a];t="on"+(0,i.capitalize)(t),e[t]&&(r?e[t].apply(e,o):(0,i.timeout)(function(){e[t].apply(e,o)}))},d=function(e){for(var t={},r=0,n=Object.entries(e);r<n.length;r++){var o=n[r],s=o[0],l=o[1];l===a.UndefinedSymbol?t[s]=void 0:l===a.NullSymbol?t[s]=null:t[s]=(0,i.copy)(e[s])}return t},f=function(e,t,r){var n,o;return void 0!==r?r:void 0!==e.value?e.value:void 0!==(null==(n=e.model)?void 0:n.value)?e.model.value:void 0!==e.initialValue?(0,i.copy)(e.initialValue):void 0!==e.default?(0,i.copy)(e.default):void 0!==(null==(o=e.model)?void 0:o.default)?(0,i.copy)(e.model.default):void 0!==t?t:null},_=function(e,t,r){void 0===r&&(r={});var n=!1;r=o()({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 i=0,a=Object.entries(r);i<a.length;i++){var s=a[i],l=s[0],p=s[1],u=t[l];e.model.state[l]=p(),n=n||u!==t[l]}return n&&(e.model.state.invalid=Object.keys(r).some(function(t){return Boolean(e.model.state&&e.model.state[t])}),e.model.state.valid=!e.model.state.invalid),n},h=function(e,t){var r=(0,i.extend)(!0,{model:(0,i.copy)(t)},e);r.disabled&&(r.model.mutable=!1,delete r.disabled),r.invertedPattern&&(r.model.invertedPattern=r.invertedPattern,delete r.invertedPattern),r.pattern&&(r.model.pattern=r.pattern,delete r.pattern),r.required&&(r.model.nullable=!1,delete r.required),"text"===r.type&&(r.type="string");for(var n,o=s(Object.keys(r.model).concat("value"));!(n=o()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(r,a)&&void 0!==r[a]&&(r.model[a]=r[a])}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=(0,i.copy)(r.model.default)),r},m=function(e){var t=o()({},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}},,function(e){e.exports=r},function(e,t,r){r.d(t,{WrapStrict:function(){return i}});var n=r(2),o=r(1),i=function(e){var t=e.children;return e.strict?(0,o.jsx)(n.StrictMode,{children:t}):(0,o.jsx)(o.Fragment,{children:t})}},function(e,t,r){r.d(t,{WrapThemeProvider:function(){return i}});var n=r(6),o=r(1),i=function(e){var t=e.children,r=e.configuration,i=e.wrap;return r?(0,o.jsx)(n.ThemeProvider,{options:r,wrap:!1!==i,children:t}):t}},function(e){e.exports=u},function(e){e.exports=t},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){var n=r(6),o=r(2),i=r(1),a=(0,o.forwardRef)(function(e,t){var r=e.children,o=e.applyToChildren;return(0,i.jsx)(n.Theme,{ref:t,use:"error",wrap:o,children:r})});t.A=a},function(e,t,r){r.d(t,{defaultProperties:function(){return p},propertyTypes:function(){return s}});var n=r(0),o=r.n(n),i=r(3),a=r(4),s=o()({},a.propertyTypes,a.modelStatePropertyTypes,{checked:i.boolean,id:i.string}),l=o()({},a.defaultModel,{default:!1,type:"boolean",value:!1}),p=o()({},a.defaultProperties,{default:!1,model:o()({},l),requiredText:"Please check this field."})},,,,,,,function(e){e.exports=n}],p={};function c(e){var t=p[e];if(void 0!==t)return t.exports;var r=p[e]={exports:{}};return s[e](r,r.exports,c),r.exports}c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var f={};c.r(f),c.d(f,{Checkbox:function(){return N},CheckboxInner:function(){return S},default:function(){return R},determineValidationState:function(){return x}});var _=c(0),h=c.n(_),m=c(5),b=c(2),v=c(53),y=c(1),g={checkbox:"checkbox",checkboxInvalid:"checkbox--invalid"},P=(0,b.forwardRef)(function(e,t){var r,n=(0,b.useRef)(null),o=(0,b.useRef)(null),i=(0,b.useRef)(null);return(0,b.useImperativeHandle)(t,function(){return{base:n,foundation:o,input:i}}),(0,y.jsx)("div",{className:[].concat(null!==(r=e.classNames)&&void 0!==r?r:[]).concat(e.invalid?g.checkboxInvalid:[]).join(" "),style:e.styles,children:(0,y.jsx)(v.Checkbox,h()({checked:e.value,disabled:e.disabled,id:e.name,indeterminate:e.indeterminate,"aria-invalid":!!e.invalid||void 0,name:e.name,onBlur:e.onBlur,onChange:e.onChange,onClick:e.onClick,onFocus:e.onFocus,value:String(e.value),ref:n,inputRef:i,foundationRef:o},e.componentProperties,{children:e.children}))})}),E=c(45),A=c(10),w=c(11),O=c(4),T=c(46),C={checkbox:"checkbox"};function x(e,t){return(0,w.determineValidationState)(e,t,{invalidRequired:function(){return!1===e.model.nullable&&!e.model.value}})}var S=function(e,t){var r,n=function(e){var t=(0,w.mapPropertiesIntoModel)(e,N.defaultProperties.model);return x(t,t.model.state),(t=(0,w.getConsolidatedProperties)(t)).checked=Boolean(t.value),t};(0,b.useEffect)(function(){_.triggerInitialPropertiesConsolidation&&o()},[]);var o=function(e){(0,m.extend)(!0,_,n(_)),(0,w.triggerCallbackIfExists)(_,"change",f,_,e)},i=function(e){d(function(t){var r=!1;t.modelState.focused||(_.focused=!0,r=!0),t.modelState.untouched&&(_.touched=!0,_.untouched=!1,r=!0);var n=t;return r&&(o(e),n=h()({},t,{modelState:_.model.state}),(0,w.triggerCallbackIfExists)(_,"changeState",f,_.model.state,e,_)),(0,w.triggerCallbackIfExists)(_,"touch",f,e,_),n})},a=(0,b.useRef)(null),s=(0,w.translateKnownSymbols)(e),l=(0,w.determineInitialValue)(s,N.defaultProperties.model.default,s.checked),p=(0,m.extend)(!0,(0,m.copy)(N.defaultProperties),s),u=(0,b.useState)({modelState:h()({},N.defaultModelState),value:l}),c=u[0],d=u[1],f=!p.enforceUncontrolled&&(void 0!==(null==(r=s.model)?void 0:r.value)||void 0!==s.value)&&Boolean(s.onChange||s.onChangeValue);(0,w.deriveMissingPropertiesFromState)(p,c);var _=n(p),v={modelState:_.model.state,value:_.value};return(f||_.value===c.value)&&(0,m.equals)(_.model.state,c.modelState)||d(v),f&&(d=(0,w.wrapStateSetter)(d,v)),(0,b.useImperativeHandle)(t,function(){return{properties:_,reference:a,state:h()({modelState:_.model.state},f?{}:{value:_.value})}}),(0,y.jsx)(A.WrapConfigurations,{strict:N.strict,themeConfiguration:_.themeConfiguration,tooltip:_.tooltip,children:(0,y.jsx)(P,{value:Boolean(_.value),disabled:_.disabled,invalid:_.invalid&&_.showValidationState&&(_.showInitialValidationState||_.visited),indeterminate:null===_.value,id:_.id||_.name,name:_.name,ref:a,classNames:[C.checkbox].concat(_.className),styles:_.styles,onBlur:function(e){d(function(t){var r=!1;return t.modelState.focused&&(_.focused=!1,r=!0),t.modelState.visited||(_.visited=!0,r=!0),r&&(o(e),(0,w.triggerCallbackIfExists)(_,"changeState",f,_.model.state,e,_)),(0,w.triggerCallbackIfExists)(_,"blur",f,e,_),r?h()({},t,{modelState:_.model.state}):t})},onChange:function(e){_.model.mutable&&_.model.writable&&("boolean"==typeof e&&(e={target:{checked:e}}),_.value=Boolean(e.target.checked),d(function(t){if(t.value===_.value)return t;var r=!1,n=h()({},t,{value:_.value});return t.modelState.pristine&&(_.dirty=!0,_.pristine=!1,r=!0),o(e),x(_,t.modelState)&&(r=!0),(0,w.triggerCallbackIfExists)(_,"changeValue",f,_.value,e,_),r&&_.model.state&&(n.modelState=_.model.state,(0,w.triggerCallbackIfExists)(_,"changeState",f,_.model.state,e,_)),n}))},onClick:function(e){(0,w.triggerCallbackIfExists)(_,"click",f,e,_),i(e)},onFocus:function(e){(0,w.triggerCallbackIfExists)(_,"focus",f,e,_),i(e)},componentProperties:_.componentProperties,domNodeProperties:_.domNodeProperties,children:_.invalid&&_.showValidationState&&(_.showInitialValidationState||_.visited)?(0,y.jsx)(E.A,{children:_.description||_.name}):_.description||_.name})})};S.displayName="Checkbox";var N=(0,b.memo)((0,b.forwardRef)(S));N.wrapped=S,N.webComponentAdapterWrapped="react",N.defaultModelState=O.defaultModelState,N.defaultProperties=h()({},T.defaultProperties,{model:h()({},T.defaultProperties.model,{state:void 0,value:void 0}),value:void 0}),N.propTypes=T.propertyTypes,N.strict=!1;var R=N;return f}())},,,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__59__}],__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__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CheckboxInput:function(){return CheckboxInput}});var clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),clientnode_property_types__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__),react_input_material_dist_components_Checkbox__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(45),react_input_material_dist_components_Checkbox__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react_input_material_dist_components_Checkbox__WEBPACK_IMPORTED_MODULE_1__),web_component_wrapper__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),web_component_wrapper__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(web_component_wrapper__WEBPACK_IMPORTED_MODULE_2__),CheckboxInput=web_component_wrapper__WEBPACK_IMPORTED_MODULE_2___default()(react_input_material_dist_components_Checkbox__WEBPACK_IMPORTED_MODULE_1___default(),"CheckboxInput",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,focused:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalid:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidRequired:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,name:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.string,pristine:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,touched:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,untouched:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,valid:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,visited:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean},unmountOnDisconnect:!1});return __webpack_exports__.default=CheckboxInput,__webpack_exports__}()});
@@ -40,7 +40,16 @@ export const CheckboxInput: WebComponentAPI<typeof Checkbox> =
40
40
  untouched: boolean,
41
41
  valid: boolean,
42
42
  visited: boolean
43
- }
43
+ },
44
+ /*
45
+ NOTE: When this configuration is enabled the following error
46
+ occurs:
47
+ installHook.js:1 Warning: Attempted to synchronously unmount a
48
+ root while React was already rendering. React cannot finish
49
+ unmounting the root until the current render has completed,
50
+ which may lead to a race condition.
51
+ */
52
+ unmountOnDisconnect: false
44
53
  }
45
54
  )
46
55