web-input-material 0.0.479 → 0.0.481
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CheckboxInput.bundle.js +1 -1
- package/components/CheckboxInput.js +1 -1
- package/components/FileInput.bundle.js +10 -10
- package/components/FileInput.js +1 -1
- package/components/GenericInputs.bundle.js +1 -1
- package/components/GenericInputs.js +1 -1
- package/components/TextInput.bundle.js +1 -1
- package/components/TextInput.js +1 -1
- package/components/TextInput.ts +1 -0
- package/index.bundle.js +1 -1
- package/index.js +1 -1
- package/package.json +20 -20
|
@@ -487,4 +487,4 @@ var r={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar"
|
|
|
487
487
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
488
488
|
* THE SOFTWARE.
|
|
489
489
|
*/
|
|
490
|
-
var r=function(){function e(){this.rafIDs=new Map}return e.prototype.request=function(e,t){var n=this;this.cancel(e);var r=requestAnimationFrame((function(r){n.rafIDs.delete(e),t(r)}));this.rafIDs.set(e,r)},e.prototype.cancel=function(e){var t=this.rafIDs.get(e);t&&(cancelAnimationFrame(t),this.rafIDs.delete(e))},e.prototype.cancelAll=function(){var e=this;this.rafIDs.forEach((function(t,n){e.cancel(n)}))},e.prototype.getQueue=function(){var e=[];return this.rafIDs.forEach((function(t,n){e.push(n)})),e},e}()},function(e,t,n){n.r(t),n.d(t,{MDCCircularProgress:function(){return u},MDCCircularProgressFoundation:function(){return l},cssClasses:function(){return a},strings:function(){return s}});var r=n(2),o=n(5),i=n(4),a={INDETERMINATE_CLASS:"mdc-circular-progress--indeterminate",CLOSED_CLASS:"mdc-circular-progress--closed"},s={ARIA_HIDDEN:"aria-hidden",ARIA_VALUENOW:"aria-valuenow",DETERMINATE_CIRCLE_SELECTOR:".mdc-circular-progress__determinate-circle",RADIUS:"r",STROKE_DASHOFFSET:"stroke-dashoffset"},l=function(e){function t(n){return e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},getDeterminateCircleAttribute:function(){return null},hasClass:function(){return!1},removeClass:function(){},removeAttribute:function(){},setAttribute:function(){},setDeterminateCircleAttribute:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.closed=this.adapter.hasClass(a.CLOSED_CLASS),this.determinate=!this.adapter.hasClass(a.INDETERMINATE_CLASS),this.progress=0,this.determinate&&this.adapter.setAttribute(s.ARIA_VALUENOW,this.progress.toString()),this.radius=Number(this.adapter.getDeterminateCircleAttribute(s.RADIUS))},t.prototype.setDeterminate=function(e){this.determinate=e,this.determinate?(this.adapter.removeClass(a.INDETERMINATE_CLASS),this.setProgress(this.progress)):(this.adapter.addClass(a.INDETERMINATE_CLASS),this.adapter.removeAttribute(s.ARIA_VALUENOW))},t.prototype.isDeterminate=function(){return this.determinate},t.prototype.setProgress=function(e){if(this.progress=e,this.determinate){var t=(1-this.progress)*(2*Math.PI*this.radius);this.adapter.setDeterminateCircleAttribute(s.STROKE_DASHOFFSET,""+t),this.adapter.setAttribute(s.ARIA_VALUENOW,this.progress.toString())}},t.prototype.getProgress=function(){return this.progress},t.prototype.open=function(){this.closed=!1,this.adapter.removeClass(a.CLOSED_CLASS),this.adapter.removeAttribute(s.ARIA_HIDDEN)},t.prototype.close=function(){this.closed=!0,this.adapter.addClass(a.CLOSED_CLASS),this.adapter.setAttribute(s.ARIA_HIDDEN,"true")},t.prototype.isClosed=function(){return this.closed},t}(i.I),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.initialize=function(){this.determinateCircle=this.root.querySelector(l.strings.DETERMINATE_CIRCLE_SELECTOR)},t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"determinate",{set:function(e){this.foundation.setDeterminate(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progress",{set:function(e){this.foundation.setProgress(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isClosed",{get:function(){return this.foundation.isClosed()},enumerable:!1,configurable:!0}),t.prototype.open=function(){this.foundation.open()},t.prototype.close=function(){this.foundation.close()},t.prototype.getDefaultFoundation=function(){var e=this;return new l({addClass:function(t){e.root.classList.add(t)},getDeterminateCircleAttribute:function(t){return e.determinateCircle.getAttribute(t)},hasClass:function(t){return e.root.classList.contains(t)},removeClass:function(t){e.root.classList.remove(t)},removeAttribute:function(t){e.root.removeAttribute(t)},setAttribute:function(t,n){e.root.setAttribute(t,n)},setDeterminateCircleAttribute:function(t,n){e.determinateCircle.setAttribute(t,n)}})},t}(o.O)},function(e,t,n){n.r(t),n.d(t,{MDCRipple:function(){return o.N},MDCRippleFoundation:function(){return a.E},cssClasses:function(){return i.Y7},numbers:function(){return i.nL},strings:function(){return i.P$},util:function(){return r}});var r=n(52),o=n(27),i=n(63),a=n(25)},function(e,t,n){function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.r(t),n.d(t,{CSSTransition:function(){return f},ReplaceTransition:function(){return A},SwitchTransition:function(){return L},Transition:function(){return l.default},TransitionGroup:function(){return b},config:function(){return N.A}});var o=n(78),i=n(79);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=n(0),l=n(77),u=n(81),c=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=a(n.className,r):n.setAttribute("class",a(n.className&&n.className.baseVal||"",r)));var n,r}))},d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}(0,i.A)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&(0,u.F)(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&c(e,r),o&&c(e,o),i&&c(e,i)},n.render=function(){var e=this.props,t=(e.classNames,(0,o.A)(e,["classNames"]));return s.createElement(l.default,r({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(s.Component);d.defaultProps={classNames:""},d.propTypes={};var f=d,p=n(7);var h=n(80);function m(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),n}function _(e,t,n){return null!=n[t]?n[t]:e.props[t]}function v(e,t,n){var r=m(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var u=o[l][r];s[o[l][r]]=n(u)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if((0,s.isValidElement)(a)){var l=i in t,u=i in r,c=t[i],d=(0,s.isValidElement)(c)&&!c.props.in;!u||l&&!d?u||!l||d?u&&l&&(0,s.isValidElement)(c)&&(o[i]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:c.props.in,exit:_(a,"exit",e),enter:_(a,"enter",e)})):o[i]=(0,s.cloneElement)(a,{in:!1}):o[i]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:_(a,"exit",e),enter:_(a,"enter",e)})}})),o}var g=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},y=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,i.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,m(n.children,(function(e){return(0,s.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:_(e,"appear",n),enter:_(e,"enter",n),exit:_(e,"exit",n)})}))):v(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=m(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=r({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,o.A)(e,["component","childFactory"]),i=this.state.contextValue,a=g(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?s.createElement(h.A.Provider,{value:i},a):s.createElement(h.A.Provider,{value:i},s.createElement(t,r,a))},t}(s.Component);y.propTypes={},y.defaultProps={component:"div",childFactory:function(e){return e}};var b=y,E=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}(0,i.A)(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,o=this.props.children,i=s.Children.toArray(o)[t];if(i.props[e]&&(r=i.props)[e].apply(r,n),this.props[e]){var a=i.props.nodeRef?void 0:p.findDOMNode(this);this.props[e](a)}},n.render=function(){var e=this.props,t=e.children,n=e.in,r=(0,o.A)(e,["children","in"]),i=s.Children.toArray(t),a=i[0],l=i[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,s.createElement(b,r,n?s.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):s.cloneElement(l,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(s.Component);E.propTypes={};var C,x,A=E;var I="out-in",O="in-out",S=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},T=((C={})[I]=function(e){var t=e.current,n=e.changeState;return s.cloneElement(t,{in:!1,onExited:S(t,"onExited",(function(){n(l.ENTERING,null)}))})},C[O]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,s.cloneElement(r,{in:!0,onEntered:S(r,"onEntered",(function(){n(l.ENTERING)}))})]},C),w=((x={})[I]=function(e){var t=e.children,n=e.changeState;return s.cloneElement(t,{in:!0,onEntered:S(t,"onEntered",(function(){n(l.ENTERED,s.cloneElement(t,{in:!0}))}))})},x[O]=function(e){var t=e.current,n=e.children,r=e.changeState;return[s.cloneElement(t,{in:!1,onExited:S(t,"onExited",(function(){r(l.ENTERED,s.cloneElement(n,{in:!0}))}))}),s.cloneElement(n,{in:!0})]},x),P=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={status:l.ENTERED,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}(0,i.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===l.ENTERING&&e.mode===O?{status:l.ENTERING}:!t.current||(n=t.current,r=e.children,n===r||s.isValidElement(n)&&s.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:s.cloneElement(e.children,{in:!0})}:{status:l.EXITING};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,o=this.state,i=o.status,a=o.current,u={children:n,current:a,changeState:this.changeState,status:i};switch(i){case l.ENTERING:e=w[r](u);break;case l.EXITING:e=T[r](u);break;case l.ENTERED:e=a}return s.createElement(h.A.Provider,{value:{isMounting:!this.appeared}},e)},t}(s.Component);P.propTypes={},P.defaultProps={mode:I};var L=P,N=n(100)},function(e,t){t.A={disabled:!1}},function(e,t,n){n.r(t),n.d(t,{MDCIconButtonToggle:function(){return d},MDCIconButtonToggleFoundation:function(){return u},cssClasses:function(){return s},strings:function(){return l}});var r=n(2),o=n(5),i=n(27),a=n(4),s={ICON_BUTTON_ON:"mdc-icon-button--on",ROOT:"mdc-icon-button"},l={ARIA_LABEL:"aria-label",ARIA_PRESSED:"aria-pressed",DATA_ARIA_LABEL_OFF:"data-aria-label-off",DATA_ARIA_LABEL_ON:"data-aria-label-on",CHANGE_EVENT:"MDCIconButtonToggle:change"},u=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.hasToggledAriaLabel=!1,o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},hasClass:function(){return!1},notifyChange:function(){},removeClass:function(){},getAttr:function(){return null},setAttr:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this.adapter.getAttr(l.DATA_ARIA_LABEL_ON),t=this.adapter.getAttr(l.DATA_ARIA_LABEL_OFF);if(e&&t){if(null!==this.adapter.getAttr(l.ARIA_PRESSED))throw new Error("MDCIconButtonToggleFoundation: Button should not set `aria-pressed` if it has a toggled aria label.");this.hasToggledAriaLabel=!0}else this.adapter.setAttr(l.ARIA_PRESSED,String(this.isOn()))},t.prototype.handleClick=function(){this.toggle(),this.adapter.notifyChange({isOn:this.isOn()})},t.prototype.isOn=function(){return this.adapter.hasClass(s.ICON_BUTTON_ON)},t.prototype.toggle=function(e){if(void 0===e&&(e=!this.isOn()),e?this.adapter.addClass(s.ICON_BUTTON_ON):this.adapter.removeClass(s.ICON_BUTTON_ON),this.hasToggledAriaLabel){var t=e?this.adapter.getAttr(l.DATA_ARIA_LABEL_ON):this.adapter.getAttr(l.DATA_ARIA_LABEL_OFF);this.adapter.setAttr(l.ARIA_LABEL,t||"")}else this.adapter.setAttr(l.ARIA_PRESSED,""+e)},t}(a.I),c=u.strings,d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rippleComponent=t.createRipple(),t}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialSyncWithDOM=function(){var e=this;this.handleClick=function(){e.foundation.handleClick()},this.listen("click",this.handleClick)},t.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.ripple.destroy(),e.prototype.destroy.call(this)},t.prototype.getDefaultFoundation=function(){var e=this;return new u({addClass:function(t){return e.root.classList.add(t)},hasClass:function(t){return e.root.classList.contains(t)},notifyChange:function(t){e.emit(c.CHANGE_EVENT,t)},removeClass:function(t){return e.root.classList.remove(t)},getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)}})},Object.defineProperty(t.prototype,"ripple",{get:function(){return this.rippleComponent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"on",{get:function(){return this.foundation.isOn()},set:function(e){this.foundation.toggle(e)},enumerable:!1,configurable:!0}),t.prototype.createRipple=function(){var e=new i.N(this.root);return e.unbounded=!0,e},t}(o.O)},function(e,t,n){n.r(t),n.d(t,{MDCList:function(){return r.f},MDCListFoundation:function(){return i.Y},cssClasses:function(){return o.Y7},deprecatedClassNameMap:function(){return o.PY},evolutionAttribute:function(){return o.iP},evolutionClassNameMap:function(){return o.$z},numbers:function(){return o.nL},strings:function(){return o.P$}});var r=n(91),o=n(51),i=n(74)},function(e,t,n){n.r(t),n.d(t,{Corner:function(){return o.OK},CornerBit:function(){return o.Jv},MDCMenuSurface:function(){return r.X},MDCMenuSurfaceFoundation:function(){return i.O},cssClasses:function(){return o.Y7},numbers:function(){return o.nL},strings:function(){return o.P$}});var r=n(92),o=n(50),i=n(54)},function(e,t,n){n.r(t),n.d(t,{AnimationFrame:function(){return o.K},getCorrectEventName:function(){return r.getCorrectEventName},getCorrectPropertyName:function(){return r.getCorrectPropertyName},util:function(){return r}});var r=n(62),o=n(96)},function(e,t,n){n.r(t),n.d(t,{Corner:function(){return r.OK},DefaultFocusState:function(){return i.hf},MDCMenu:function(){return o.C},MDCMenuFoundation:function(){return a.d},cssClasses:function(){return i.Y7},numbers:function(){return i.nL},strings:function(){return i.P$}});var r=n(50),o=n(93),i=n(55),a=n(94)},function(e,t,n){n.r(t),n.d(t,{MDCFloatingLabel:function(){return r.$},MDCFloatingLabelFoundation:function(){return i.K},cssClasses:function(){return o.Y}});var r=n(69),o=n(87),i=n(70)},function(e,t,n){n.r(t),n.d(t,{MDCLineRipple:function(){return r.l},MDCLineRippleFoundation:function(){return i.C},cssClasses:function(){return o.Y}});var r=n(71),o=n(89),i=n(88)},function(e,t,n){n.r(t),n.d(t,{MDCNotchedOutline:function(){return r.i},MDCNotchedOutlineFoundation:function(){return i.z},cssClasses:function(){return o.Y7},numbers:function(){return o.nL},strings:function(){return o.P$}});var r=n(72),o=n(73),i=n(90)},function(e,t,n){n.r(t),n.d(t,{MDCSelect:function(){return S},MDCSelectFoundation:function(){return g},MDCSelectHelperText:function(){return C},MDCSelectHelperTextFoundation:function(){return E},MDCSelectIcon:function(){return O},MDCSelectIconFoundation:function(){return I},cssClasses:function(){return p},helperTextCssClasses:function(){return b},helperTextStrings:function(){return y},iconStrings:function(){return x},numbers:function(){return m},strings:function(){return h}});var r=n(2),o=n(5),i=n(69),a=n(71),s=n(50),l=n(93),u=n(55),c=n(72),d=n(27),f=n(25),p={ACTIVATED:"mdc-select--activated",DISABLED:"mdc-select--disabled",FOCUSED:"mdc-select--focused",INVALID:"mdc-select--invalid",MENU_INVALID:"mdc-select__menu--invalid",OUTLINED:"mdc-select--outlined",REQUIRED:"mdc-select--required",ROOT:"mdc-select",WITH_LEADING_ICON:"mdc-select--with-leading-icon"},h={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_SELECTED_ATTR:"aria-selected",CHANGE_EVENT:"MDCSelect:change",HIDDEN_INPUT_SELECTOR:'input[type="hidden"]',LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-select__icon",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",MENU_SELECTOR:".mdc-select__menu",OUTLINE_SELECTOR:".mdc-notched-outline",SELECTED_TEXT_SELECTOR:".mdc-select__selected-text",SELECT_ANCHOR_SELECTOR:".mdc-select__anchor",VALUE_ATTR:"data-value"},m={LABEL_SCALE:.75,UNSET_INDEX:-1,CLICK_DEBOUNCE_TIMEOUT_MS:330},_=n(4),v=n(95),g=function(e){function t(n,o){void 0===o&&(o={});var i=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return i.disabled=!1,i.isMenuOpen=!1,i.useDefaultValidation=!0,i.customValidity=!0,i.lastSelectedIndex=m.UNSET_INDEX,i.clickDebounceTimeout=0,i.recentlyClicked=!1,i.leadingIcon=o.leadingIcon,i.helperText=o.helperText,i}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return p},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return m},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return h},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},activateBottomLine:function(){},deactivateBottomLine:function(){},getSelectedIndex:function(){return-1},setSelectedIndex:function(){},hasLabel:function(){return!1},floatLabel:function(){},getLabelWidth:function(){return 0},setLabelRequired:function(){},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){},setRippleCenter:function(){},notifyChange:function(){},setSelectedText:function(){},isSelectAnchorFocused:function(){return!1},getSelectAnchorAttr:function(){return""},setSelectAnchorAttr:function(){},removeSelectAnchorAttr:function(){},addMenuClass:function(){},removeMenuClass:function(){},openMenu:function(){},closeMenu:function(){},getAnchorElement:function(){return null},setMenuAnchorElement:function(){},setMenuAnchorCorner:function(){},setMenuWrapFocus:function(){},focusMenuItemAtIndex:function(){},getMenuItemCount:function(){return 0},getMenuItemValues:function(){return[]},getMenuItemTextAtIndex:function(){return""},isTypeaheadInProgress:function(){return!1},typeaheadMatchItem:function(){return-1}}},enumerable:!1,configurable:!0}),t.prototype.getSelectedIndex=function(){return this.adapter.getSelectedIndex()},t.prototype.setSelectedIndex=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),e>=this.adapter.getMenuItemCount()||(e===m.UNSET_INDEX?this.adapter.setSelectedText(""):this.adapter.setSelectedText(this.adapter.getMenuItemTextAtIndex(e).trim()),this.adapter.setSelectedIndex(e),t&&this.adapter.closeMenu(),n||this.lastSelectedIndex===e||this.handleChange(),this.lastSelectedIndex=e)},t.prototype.setValue=function(e,t){void 0===t&&(t=!1);var n=this.adapter.getMenuItemValues().indexOf(e);this.setSelectedIndex(n,!1,t)},t.prototype.getValue=function(){var e=this.adapter.getSelectedIndex(),t=this.adapter.getMenuItemValues();return e!==m.UNSET_INDEX?t[e]:""},t.prototype.getDisabled=function(){return this.disabled},t.prototype.setDisabled=function(e){this.disabled=e,this.disabled?(this.adapter.addClass(p.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(p.DISABLED),this.leadingIcon&&this.leadingIcon.setDisabled(this.disabled),this.disabled?this.adapter.removeSelectAnchorAttr("tabindex"):this.adapter.setSelectAnchorAttr("tabindex","0"),this.adapter.setSelectAnchorAttr("aria-disabled",this.disabled.toString())},t.prototype.openMenu=function(){this.adapter.addClass(p.ACTIVATED),this.adapter.openMenu(),this.isMenuOpen=!0,this.adapter.setSelectAnchorAttr("aria-expanded","true")},t.prototype.setHelperTextContent=function(e){this.helperText&&this.helperText.setContent(e)},t.prototype.layout=function(){if(this.adapter.hasLabel()){var e=this.getValue().length>0,t=this.adapter.hasClass(p.FOCUSED),n=e||t,r=this.adapter.hasClass(p.REQUIRED);this.notchOutline(n),this.adapter.floatLabel(n),this.adapter.setLabelRequired(r)}},t.prototype.layoutOptions=function(){var e=this.adapter.getMenuItemValues().indexOf(this.getValue());this.setSelectedIndex(e,!1,!0)},t.prototype.handleMenuOpened=function(){if(0!==this.adapter.getMenuItemValues().length){var e=this.getSelectedIndex(),t=e>=0?e:0;this.adapter.focusMenuItemAtIndex(t)}},t.prototype.handleMenuClosing=function(){this.adapter.setSelectAnchorAttr("aria-expanded","false")},t.prototype.handleMenuClosed=function(){this.adapter.removeClass(p.ACTIVATED),this.isMenuOpen=!1,this.adapter.isSelectAnchorFocused()||this.blur()},t.prototype.handleChange=function(){this.layout(),this.adapter.notifyChange(this.getValue()),this.adapter.hasClass(p.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},t.prototype.handleMenuItemAction=function(e){this.setSelectedIndex(e,!0)},t.prototype.handleFocus=function(){this.adapter.addClass(p.FOCUSED),this.layout(),this.adapter.activateBottomLine()},t.prototype.handleBlur=function(){this.isMenuOpen||this.blur()},t.prototype.handleClick=function(e){this.disabled||this.recentlyClicked||(this.setClickDebounceTimeout(),this.isMenuOpen?this.adapter.closeMenu():(this.adapter.setRippleCenter(e),this.openMenu()))},t.prototype.handleKeydown=function(e){if(!this.isMenuOpen&&this.adapter.hasClass(p.FOCUSED)){var t=(0,v.l5)(e)===v._.ENTER,n=(0,v.l5)(e)===v._.SPACEBAR,r=(0,v.l5)(e)===v._.ARROW_UP,o=(0,v.l5)(e)===v._.ARROW_DOWN;if(!(e.ctrlKey||e.metaKey)&&(!n&&e.key&&1===e.key.length||n&&this.adapter.isTypeaheadInProgress())){var i=n?" ":e.key,a=this.adapter.typeaheadMatchItem(i,this.getSelectedIndex());return a>=0&&this.setSelectedIndex(a),void e.preventDefault()}(t||n||r||o)&&(this.openMenu(),e.preventDefault())}},t.prototype.notchOutline=function(e){if(this.adapter.hasOutline()){var t=this.adapter.hasClass(p.FOCUSED);if(e){var n=m.LABEL_SCALE,r=this.adapter.getLabelWidth()*n;this.adapter.notchOutline(r)}else t||this.adapter.closeOutline()}},t.prototype.setLeadingIconAriaLabel=function(e){this.leadingIcon&&this.leadingIcon.setAriaLabel(e)},t.prototype.setLeadingIconContent=function(e){this.leadingIcon&&this.leadingIcon.setContent(e)},t.prototype.getUseDefaultValidation=function(){return this.useDefaultValidation},t.prototype.setUseDefaultValidation=function(e){this.useDefaultValidation=e},t.prototype.setValid=function(e){this.useDefaultValidation||(this.customValidity=e),this.adapter.setSelectAnchorAttr("aria-invalid",(!e).toString()),e?(this.adapter.removeClass(p.INVALID),this.adapter.removeMenuClass(p.MENU_INVALID)):(this.adapter.addClass(p.INVALID),this.adapter.addMenuClass(p.MENU_INVALID)),this.syncHelperTextValidity(e)},t.prototype.isValid=function(){return this.useDefaultValidation&&this.adapter.hasClass(p.REQUIRED)&&!this.adapter.hasClass(p.DISABLED)?this.getSelectedIndex()!==m.UNSET_INDEX&&(0!==this.getSelectedIndex()||Boolean(this.getValue())):this.customValidity},t.prototype.setRequired=function(e){e?this.adapter.addClass(p.REQUIRED):this.adapter.removeClass(p.REQUIRED),this.adapter.setSelectAnchorAttr("aria-required",e.toString()),this.adapter.setLabelRequired(e)},t.prototype.getRequired=function(){return"true"===this.adapter.getSelectAnchorAttr("aria-required")},t.prototype.init=function(){var e=this.adapter.getAnchorElement();e&&(this.adapter.setMenuAnchorElement(e),this.adapter.setMenuAnchorCorner(s.OK.BOTTOM_START)),this.adapter.setMenuWrapFocus(!1),this.setDisabled(this.adapter.hasClass(p.DISABLED)),this.syncHelperTextValidity(!this.adapter.hasClass(p.INVALID)),this.layout(),this.layoutOptions()},t.prototype.blur=function(){this.adapter.removeClass(p.FOCUSED),this.layout(),this.adapter.deactivateBottomLine(),this.adapter.hasClass(p.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},t.prototype.syncHelperTextValidity=function(e){if(this.helperText){this.helperText.setValidity(e);var t=this.helperText.isVisible(),n=this.helperText.getId();t&&n?this.adapter.setSelectAnchorAttr(h.ARIA_DESCRIBEDBY,n):this.adapter.removeSelectAnchorAttr(h.ARIA_DESCRIBEDBY)}},t.prototype.setClickDebounceTimeout=function(){var e=this;clearTimeout(this.clickDebounceTimeout),this.clickDebounceTimeout=setTimeout((function(){e.recentlyClicked=!1}),m.CLICK_DEBOUNCE_TIMEOUT_MS),this.recentlyClicked=!0},t}(_.I),y={ARIA_HIDDEN:"aria-hidden",ROLE:"role"},b={HELPER_TEXT_VALIDATION_MSG:"mdc-select-helper-text--validation-msg",HELPER_TEXT_VALIDATION_MSG_PERSISTENT:"mdc-select-helper-text--validation-msg-persistent"},E=function(e){function t(n){return e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return b},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return y},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},getAttr:function(){return null},removeAttr:function(){},setContent:function(){}}},enumerable:!1,configurable:!0}),t.prototype.getId=function(){return this.adapter.getAttr("id")},t.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(y.ARIA_HIDDEN)},t.prototype.setContent=function(e){this.adapter.setContent(e)},t.prototype.setValidation=function(e){e?this.adapter.addClass(b.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(b.HELPER_TEXT_VALIDATION_MSG)},t.prototype.setValidationMsgPersistent=function(e){e?this.adapter.addClass(b.HELPER_TEXT_VALIDATION_MSG_PERSISTENT):this.adapter.removeClass(b.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)},t.prototype.getIsValidation=function(){return this.adapter.hasClass(b.HELPER_TEXT_VALIDATION_MSG)},t.prototype.getIsValidationMsgPersistent=function(){return this.adapter.hasClass(b.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)},t.prototype.setValidity=function(e){if(this.adapter.hasClass(b.HELPER_TEXT_VALIDATION_MSG)){var t=this.adapter.hasClass(b.HELPER_TEXT_VALIDATION_MSG_PERSISTENT);if(!e||t)return this.showToScreenReader(),void(e?this.adapter.removeAttr(y.ROLE):this.adapter.setAttr(y.ROLE,"alert"));this.adapter.removeAttr(y.ROLE),this.hide()}},t.prototype.showToScreenReader=function(){this.adapter.removeAttr(y.ARIA_HIDDEN)},t.prototype.hide=function(){this.adapter.setAttr(y.ARIA_HIDDEN,"true")},t}(_.I),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new E({addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)},removeAttr:function(t){return e.root.removeAttribute(t)},setContent:function(t){e.root.textContent=t}})},t}(o.O),x={ICON_EVENT:"MDCSelect:icon",ICON_ROLE:"button"},A=["click","keydown"],I=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.savedTabIndex=null,o.interactionHandler=function(e){o.handleInteraction(e)},o}return(0,r.C6)(t,e),Object.defineProperty(t,"strings",{get:function(){return x},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e,t;this.savedTabIndex=this.adapter.getAttr("tabindex");try{for(var n=(0,r.Ju)(A),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.registerInteractionHandler(i,this.interactionHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.destroy=function(){var e,t;try{for(var n=(0,r.Ju)(A),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.deregisterInteractionHandler(i,this.interactionHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.setDisabled=function(e){this.savedTabIndex&&(e?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex),this.adapter.setAttr("role",x.ICON_ROLE)))},t.prototype.setAriaLabel=function(e){this.adapter.setAttr("aria-label",e)},t.prototype.setContent=function(e){this.adapter.setContent(e)},t.prototype.handleInteraction=function(e){var t="Enter"===e.key||13===e.keyCode;("click"===e.type||t)&&this.adapter.notifyIconAction()},t}(_.I),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new I({getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)},removeAttr:function(t){return e.root.removeAttribute(t)},setContent:function(t){e.root.textContent=t},registerInteractionHandler:function(t,n){return e.listen(t,n)},deregisterInteractionHandler:function(t,n){return e.unlisten(t,n)},notifyIconAction:function(){return e.emit(I.strings.ICON_EVENT,{},!0)}})},t}(o.O),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialize=function(e,t,n,r,o,s){if(void 0===e&&(e=function(e){return new i.$(e)}),void 0===t&&(t=function(e){return new a.l(e)}),void 0===n&&(n=function(e){return new c.i(e)}),void 0===r&&(r=function(e){return new l.C(e)}),void 0===o&&(o=function(e){return new O(e)}),void 0===s&&(s=function(e){return new C(e)}),this.selectAnchor=this.root.querySelector(h.SELECT_ANCHOR_SELECTOR),this.selectedText=this.root.querySelector(h.SELECTED_TEXT_SELECTOR),this.hiddenInput=this.root.querySelector(h.HIDDEN_INPUT_SELECTOR),!this.selectedText)throw new Error("MDCSelect: Missing required element: The following selector must be present: '"+h.SELECTED_TEXT_SELECTOR+"'");if(this.selectAnchor.hasAttribute(h.ARIA_CONTROLS)){var u=document.getElementById(this.selectAnchor.getAttribute(h.ARIA_CONTROLS));u&&(this.helperText=s(u))}this.menuSetup(r);var d=this.root.querySelector(h.LABEL_SELECTOR);this.label=d?e(d):null;var f=this.root.querySelector(h.LINE_RIPPLE_SELECTOR);this.lineRipple=f?t(f):null;var m=this.root.querySelector(h.OUTLINE_SELECTOR);this.outline=m?n(m):null;var _=this.root.querySelector(h.LEADING_ICON_SELECTOR);_&&(this.leadingIcon=o(_)),this.root.classList.contains(p.OUTLINED)||(this.ripple=this.createRipple())},t.prototype.initialSyncWithDOM=function(){var e=this;if(this.handleFocus=function(){e.foundation.handleFocus()},this.handleBlur=function(){e.foundation.handleBlur()},this.handleClick=function(t){e.selectAnchor.focus(),e.foundation.handleClick(e.getNormalizedXCoordinate(t))},this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.handleMenuItemAction=function(t){e.foundation.handleMenuItemAction(t.detail.index)},this.handleMenuOpened=function(){e.foundation.handleMenuOpened()},this.handleMenuClosed=function(){e.foundation.handleMenuClosed()},this.handleMenuClosing=function(){e.foundation.handleMenuClosing()},this.selectAnchor.addEventListener("focus",this.handleFocus),this.selectAnchor.addEventListener("blur",this.handleBlur),this.selectAnchor.addEventListener("click",this.handleClick),this.selectAnchor.addEventListener("keydown",this.handleKeydown),this.menu.listen(s.P$.CLOSED_EVENT,this.handleMenuClosed),this.menu.listen(s.P$.CLOSING_EVENT,this.handleMenuClosing),this.menu.listen(s.P$.OPENED_EVENT,this.handleMenuOpened),this.menu.listen(u.P$.SELECTED_EVENT,this.handleMenuItemAction),this.hiddenInput){if(this.hiddenInput.value)return this.foundation.setValue(this.hiddenInput.value,!0),void this.foundation.layout();this.hiddenInput.value=this.value}},t.prototype.destroy=function(){this.selectAnchor.removeEventListener("focus",this.handleFocus),this.selectAnchor.removeEventListener("blur",this.handleBlur),this.selectAnchor.removeEventListener("keydown",this.handleKeydown),this.selectAnchor.removeEventListener("click",this.handleClick),this.menu.unlisten(s.P$.CLOSED_EVENT,this.handleMenuClosed),this.menu.unlisten(s.P$.OPENED_EVENT,this.handleMenuOpened),this.menu.unlisten(u.P$.SELECTED_EVENT,this.handleMenuItemAction),this.menu.destroy(),this.ripple&&this.ripple.destroy(),this.outline&&this.outline.destroy(),this.leadingIcon&&this.leadingIcon.destroy(),this.helperText&&this.helperText.destroy(),e.prototype.destroy.call(this)},Object.defineProperty(t.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(e){this.foundation.setValue(e)},enumerable:!1,configurable:!0}),t.prototype.setValue=function(e,t){void 0===t&&(t=!1),this.foundation.setValue(e,t)},Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(e){this.foundation.setSelectedIndex(e,!0)},enumerable:!1,configurable:!0}),t.prototype.setSelectedIndex=function(e,t){void 0===t&&(t=!1),this.foundation.setSelectedIndex(e,!0,t)},Object.defineProperty(t.prototype,"disabled",{get:function(){return this.foundation.getDisabled()},set:function(e){this.foundation.setDisabled(e),this.hiddenInput&&(this.hiddenInput.disabled=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leadingIconAriaLabel",{set:function(e){this.foundation.setLeadingIconAriaLabel(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leadingIconContent",{set:function(e){this.foundation.setLeadingIconContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"helperTextContent",{set:function(e){this.foundation.setHelperTextContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useDefaultValidation",{set:function(e){this.foundation.setUseDefaultValidation(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(e){this.foundation.setValid(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this.foundation.getRequired()},set:function(e){this.foundation.setRequired(e)},enumerable:!1,configurable:!0}),t.prototype.layout=function(){this.foundation.layout()},t.prototype.layoutOptions=function(){this.foundation.layoutOptions(),this.menu.layout(),this.menuItemValues=this.menu.items.map((function(e){return e.getAttribute(h.VALUE_ATTR)||""})),this.hiddenInput&&(this.hiddenInput.value=this.value)},t.prototype.getDefaultFoundation=function(){var e=(0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},this.getSelectAdapterMethods()),this.getCommonAdapterMethods()),this.getOutlineAdapterMethods()),this.getLabelAdapterMethods());return new g(e,this.getFoundationMap())},t.prototype.menuSetup=function(e){this.menuElement=this.root.querySelector(h.MENU_SELECTOR),this.menu=e(this.menuElement),this.menu.hasTypeahead=!0,this.menu.singleSelection=!0,this.menuItemValues=this.menu.items.map((function(e){return e.getAttribute(h.VALUE_ATTR)||""}))},t.prototype.createRipple=function(){var e=this,t=(0,r.Cl)((0,r.Cl)({},d.N.createAdapter({root:this.selectAnchor})),{registerInteractionHandler:function(t,n){e.selectAnchor.addEventListener(t,n)},deregisterInteractionHandler:function(t,n){e.selectAnchor.removeEventListener(t,n)}});return new d.N(this.selectAnchor,new f.E(t))},t.prototype.getSelectAdapterMethods=function(){var e=this;return{getMenuItemAttr:function(e,t){return e.getAttribute(t)},setSelectedText:function(t){e.selectedText.textContent=t},isSelectAnchorFocused:function(){return document.activeElement===e.selectAnchor},getSelectAnchorAttr:function(t){return e.selectAnchor.getAttribute(t)},setSelectAnchorAttr:function(t,n){e.selectAnchor.setAttribute(t,n)},removeSelectAnchorAttr:function(t){e.selectAnchor.removeAttribute(t)},addMenuClass:function(t){e.menuElement.classList.add(t)},removeMenuClass:function(t){e.menuElement.classList.remove(t)},openMenu:function(){e.menu.open=!0},closeMenu:function(){e.menu.open=!1},getAnchorElement:function(){return e.root.querySelector(h.SELECT_ANCHOR_SELECTOR)},setMenuAnchorElement:function(t){e.menu.setAnchorElement(t)},setMenuAnchorCorner:function(t){e.menu.setAnchorCorner(t)},setMenuWrapFocus:function(t){e.menu.wrapFocus=t},getSelectedIndex:function(){var t=e.menu.selectedIndex;return t instanceof Array?t[0]:t},setSelectedIndex:function(t){e.menu.selectedIndex=t},focusMenuItemAtIndex:function(t){e.menu.items[t].focus()},getMenuItemCount:function(){return e.menu.items.length},getMenuItemValues:function(){return e.menuItemValues},getMenuItemTextAtIndex:function(t){return e.menu.getPrimaryTextAtIndex(t)},isTypeaheadInProgress:function(){return e.menu.typeaheadInProgress},typeaheadMatchItem:function(t,n){return e.menu.typeaheadMatchItem(t,n)}}},t.prototype.getCommonAdapterMethods=function(){var e=this;return{addClass:function(t){e.root.classList.add(t)},removeClass:function(t){e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},setRippleCenter:function(t){e.lineRipple&&e.lineRipple.setRippleCenter(t)},activateBottomLine:function(){e.lineRipple&&e.lineRipple.activate()},deactivateBottomLine:function(){e.lineRipple&&e.lineRipple.deactivate()},notifyChange:function(t){e.hiddenInput&&(e.hiddenInput.value=t);var n=e.selectedIndex;e.emit(h.CHANGE_EVENT,{value:t,index:n},!0)}}},t.prototype.getOutlineAdapterMethods=function(){var e=this;return{hasOutline:function(){return Boolean(e.outline)},notchOutline:function(t){e.outline&&e.outline.notch(t)},closeOutline:function(){e.outline&&e.outline.closeNotch()}}},t.prototype.getLabelAdapterMethods=function(){var e=this;return{hasLabel:function(){return!!e.label},floatLabel:function(t){e.label&&e.label.float(t)},getLabelWidth:function(){return e.label?e.label.getWidth():0},setLabelRequired:function(t){e.label&&e.label.setRequired(t)}}},t.prototype.getNormalizedXCoordinate=function(e){var t=e.target.getBoundingClientRect();return(this.isTouchEvent(e)?e.touches[0].clientX:e.clientX)-t.left},t.prototype.isTouchEvent=function(e){return Boolean(e.touches)},t.prototype.getFoundationMap=function(){return{helperText:this.helperText?this.helperText.foundationForSelect:void 0,leadingIcon:this.leadingIcon?this.leadingIcon.foundationForSelect:void 0}},t}(o.O)},,,,,,,,,,,,,,,,,,,,,,function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",t;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;t=function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__21__,__WEBPACK_EXTERNAL_MODULE__22__,__WEBPACK_EXTERNAL_MODULE__23__,__WEBPACK_EXTERNAL_MODULE__24__,__WEBPACK_EXTERNAL_MODULE__25__,__WEBPACK_EXTERNAL_MODULE__26__,__WEBPACK_EXTERNAL_MODULE__27__,__WEBPACK_EXTERNAL_MODULE__28__,__WEBPACK_EXTERNAL_MODULE__29__,__WEBPACK_EXTERNAL_MODULE__30__,__WEBPACK_EXTERNAL_MODULE__19__,__WEBPACK_EXTERNAL_MODULE__31__,__WEBPACK_EXTERNAL_MODULE__32__,__WEBPACK_EXTERNAL_MODULE__33__,__WEBPACK_EXTERNAL_MODULE__34__,__WEBPACK_EXTERNAL_MODULE__35__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__36__,__WEBPACK_EXTERNAL_MODULE__37__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__20__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__38__,__WEBPACK_EXTERNAL_MODULE__39__,__WEBPACK_EXTERNAL_MODULE__40__,__WEBPACK_EXTERNAL_MODULE__41__,__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,__nested_webpack_require_7126__){var __dirname="/",e,t,r,n,o,i,s,a,l,p,c,u;if(module=__nested_webpack_require_7126__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__nested_webpack_require_7126__.g||null===__nested_webpack_require_7126__.g?{}:__nested_webpack_require_7126__.g;module.exports=(e=__nested_webpack_require_7126__(2),t=__nested_webpack_require_7126__(12),r=__nested_webpack_require_7126__(4),n=__nested_webpack_require_7126__(5),o=__nested_webpack_require_7126__(6),i=__nested_webpack_require_7126__(0),s=__nested_webpack_require_7126__(3),a=__nested_webpack_require_7126__(13),l=__nested_webpack_require_7126__(14),p=__nested_webpack_require_7126__(15),c=__nested_webpack_require_7126__(16),u=__nested_webpack_require_7126__(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,n){var r=n(0),o=n.n(r),i=n(1),a=n(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:a.string},e),function(t,n){if("string"==typeof n){var r,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)(n);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,n)||(a.propertyTypes[n]=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(n)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(n)||"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,n))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&a.propertyTypes&&Object.prototype.hasOwnProperty.call(a.propertyTypes,n)&&(r=a.propertyTypes[n]):r=e.writeAttribute,void 0!==r&&(Array.isArray(a.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?a.propertiesToReflectAsAttributes.push(n):a.normalizePropertyTypeList&&(a.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes))),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(n,r),"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[n]=r)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?o()({},a.propertyAliases):{}),!a.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(a,n)||(a.propertyAliases[n]=e.alias))}}}},function(e,t,n){n.d(t,{api:function(){return O}});var r,o,i,a,s=n(4),l=n.n(s),u=n(8),c=n.n(u),d=n(0),f=n.n(d),p=n(3),h=n.n(p),m=n(9),_=n.n(m),v=(n(10),n(5)),g=n.n(v),y=n(1),b=n(2),E=n(6);function C(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return x(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var A="undefined"==typeof HTMLElement?function(){}:HTMLElement,I=(r=(0,E.default)({type:b.boolean,writeAttribute:!0}),a=function(e){function t(){var n;return(n=e.call(this)||this).batchAttributeUpdates=!0,n.batchPropertyUpdates=!0,n.batchUpdates=!0,n.batchedAttributeUpdateRunning=!0,n.batchedPropertyUpdateRunning=!0,n.batchedUpdateRunning=!0,n.parent=null,n.rootInstance=null,n.scope=f()({},y.UTILITY_SCOPE),n.domNodeEventBindings=new Map,n.domNodeTemplateCache=new Map,n.externalProperties={},n.ignoreAttributeUpdateObservations=!1,n.internalProperties={},n.outputEventNames=new Set,n.instance=null,c()(n,"isRoot",i,n),n.root=void 0,n.runDomConnectionAndRenderingInSameEventQueue=!1,n.self=t,n.slots={},n.self=n.constructor,n.self._propertiesToReflectAsAttributes||(n.self._propertiesToReflectAsAttributes=n.self.normalizePropertyTypeList(n.self.propertiesToReflectAsAttributes)),n.generateAliasIndex(),n.root=n,n.defineGetterAndSetterInterface(),n}h()(t,e);var n=t.prototype;return n.attributeChangedCallback=function(e,t,n){this.ignoreAttributeUpdateObservations||t===n||this.onUpdateAttribute(e,n)},n.onUpdateAttribute=function(e,t){var n=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,y.timeout)((function(){n.batchedAttributeUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("attributeChanged")}))):this.render("attributeChanged")},n.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")}))},n.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=C(this.domNodeEventBindings.values());!(e=t()).done;)for(var n,r=C(e.value.values());!(n=r()).done;)(0,n.value)();this.slots={}},n.defineGetterAndSetterInterface=function(){for(var e,t=this,n=function(){var n=e.value;Object.prototype.hasOwnProperty.call(t,n)&&t.setPropertyValue(n,t[n]),Object.defineProperty(t,n,{configurable:!0,get:function(){return t.getPropertyValue(n)},set:function(e){t.setPropertyValue(n,e),t.triggerPropertySpecificRendering(n,e)}})},r=C((0,y.unique)(Object.keys(this.self.propertyTypes).concat(this.self._propertyAliasIndex?Object.keys(this.self._propertyAliasIndex):[])));!(e=r()).done;)n()},n.getPropertyAlias=function(e){return this.self._propertyAliasIndex&&Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},n.getPropertyValue=function(e){var n,r,o=null!=(n=this.instance)&&null!=(n=n.current)&&n.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(r=this.instance)&&null!=(r=r.current)&&r.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:o},n.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.externalProperties[n]=t)},n.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.internalProperties[n]=t)},n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=t,n)),this.setInternalPropertyValue(e,t)},n.triggerPropertySpecificRendering=function(e,t){var n=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,y.timeout)((function(){void 0!==t&&n.isStateProperty(e)?(n.render("preStatePropertyChanged"),(0,y.timeout)((function(){n.setInternalPropertyValue(e,void 0),n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("postStatePropertyChanged"),n.triggerOutputEvents()}))):(n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("propertyChanged"),n.triggerOutputEvents())})));else{var r=this.isStateProperty(e);this.render(r?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&r&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},n.applyBinding=function(e,t){var n=this;if(e.getAttributeNames)for(var r,o=function(){var o=r.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-")){n.domNodeEventBindings.has(e)||n.domNodeEventBindings.set(e,new Map);var l=n.domNodeEventBindings.get(e);if(i=(0,y.delimitedToCamelCase)(i.substring(3)),null!=l&&l.has(i)){var u=l.get(i);u&&u()}t=f()({console:console,event:void 0,parameters:void 0},t);var c=(0,y.compile)(a,t,!0,!0,e);if(c.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,c.error);else{var d=function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.event=r[0],t.parameters=r;try{c.templateFunction.apply(c,c.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 "'+c.scopeNames.join('", "')+'": '+(0,y.represent)(t))}};e.addEventListener(i,d),null==l||l.set(i,(function(){e.removeEventListener(i,d),l.delete(i),0===l.size&&n.domNodeEventBindings.delete(e)}))}}}},i=C(e.getAttributeNames());!(r=i()).done;)o()},n.applyBindings=function(e,t,n){for(void 0===n&&(n=!0);e;){var r;null==(r=e.attributes)||!r.length||!n&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},n.compileDomNodeTemplate=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={}),n=f()({ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},n);var r=e.nodeName.toLowerCase();if(n.ignoreComponents&&r.includes("-"))return null;if(n.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"===r){var s=e.textContent;s&&this.self.hasCode(s)&&(a=s.replace(/ /g," ").trim())}var l=[],u={children:l,domNode:e};if(a){var c=(0,y.compile)("`"+a+"`",t);u.error=c.error,u.scopeNames=c.scopeNames,u.template=a,u.templateFunction=c.templateFunction}for(var d=e.firstChild;d;){if(!n.filter||n.filter(d)){var p=this.compileDomNodeTemplate(d,t,f()({},n,{ignoreComponents:n.ignoreNestedComponents}));p&&l.push(p)}d=d.nextSibling}return u},n.evaluateCompiledDomNodeTemplate=function(e,t){var n=e.domNode,r=e.error,o=e.templateFunction,i=e.scopeNames;if(!o||!i)return null;if(r)return console.warn("Error occurred during compiling node content:",r),null;var a=null;try{a=o.apply(void 0,i.map((function(e){return t[e]})))}catch(r){console.warn('Error occurred when "'+this.self._name+'" is running','"'+String(o)+'": with bound','names "'+i.join('", "')+'":','"'+r+'". Rendering node:',n)}return a},n.evaluateDomNodeTemplate=function(e,t,n){var r=this;void 0===t&&(t={}),void 0===n&&(n={});var o=(n=f()({domNodeTemplateCache:this.domNodeTemplateCache,ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},n)).domNodeTemplateCache;if(!o.has(e)){var i={filter:n.filter,ignoreComponents:n.ignoreComponents,ignoreNestedComponents:n.ignoreNestedComponents,unsafe:n.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&&(n.unsafe&&e.innerHTML?e.innerHTML=l:e.textContent=l),s.children.length){var u=function(e){for(var n,o=C(e);!(n=o()).done;){var i=n.value,a=r.evaluateCompiledDomNodeTemplate(i,t);null!==a&&(i.domNode.textContent=a),i.children.length&&u(i.children)}};u(s.children)}}n.applyBindings&&this.applyBindings(e,t)},t.replaceDomNodes=function(e,n){for(var r,o=C([].concat(n).reverse());!(r=o()).done;){var i,a=r.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,n=[];e.firstChild;)n.push(e.firstChild),t.insertBefore(e.firstChild,e);return t.removeChild(e),n},n.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 n,r=e,o=new Map,i=C(r);!(n=i()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&o.set(a,t.propertyTypes[a])}return o}return(0,y.convertPlainObjectToMap)(e)},n.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},n.attachExplicitDefinedOutputEventHandler=function(){var e=this;if(!this.self.eventToPropertyMapping)return!1;for(var t=!1,n=function(){var n=o[r];Object.prototype.hasOwnProperty.call(e.internalProperties,n)||(t=!0,e.outputEventNames.add(n),e.setInternalPropertyValue(n,l()(g().mark((function t(){var r,o,i,a,s=arguments;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(r=s.length,o=new Array(r),i=0;i<r;i++)o[i]=s[i];return t.next=1,e.reflectEventToProperties(n,o);case 1:(a=t.sent)&&(o[0]=a),e.forwardEvent(n,o);case 2:case"end":return t.stop()}}),t)})))))},r=0,o=Object.keys(this.self.eventToPropertyMapping);r<o.length;r++)n();return t},n.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var n=function(){var n=o[r],i=n[0],a=n[1];Object.prototype.hasOwnProperty.call(t.internalProperties,i)||![b.func,"function"].includes(a)||t.self.renderProperties.includes(i)||(t.outputEventNames.add(i),t.setInternalPropertyValue(i,(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e&&t.reflectEventToProperties(i,r),t.forwardEvent(i,r)})))},r=0,o=Object.entries(this.self.propertyTypes);r<o.length;r++)n()},n.triggerOutputEvents=function(){for(var e,t=C(this.outputEventNames);!(e=t()).done;){var n=e.value;this.forwardEvent(n,[this.externalProperties])}},n.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}}))},n.applySlots=function(e,t){for(var n=this,r=0,o=Array.from(e.querySelectorAll("slot"));r<o.length;r++){var i=o[r],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=C(this.slots.default);!(s=l()).done;){var u=s.value;this.evaluateDomNodeTemplate(u,t)}this.self.replaceDomNodes(i,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(i).map((function(e){return n.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])}},n.grabSlotContent=function(e){var t,n=b.node.firstElementChild?e:null;if(n&&"textarea"===(null==(t=n.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!n.firstElementChild.hasAttribute("data-no-template")||"false"===n.firstElementChild.getAttribute("data-no-template"))){var r=n.firstElementChild.value;n.classList.remove("web-component-template");var o=n.cloneNode();return n.classList.add("web-component-template"),o.innerHTML="",o.template=r,o}return this.self.cloneSlots?e.cloneNode(!0):e},n.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,n=Array.from(this.querySelectorAll("[slot]"));t<n.length;t++){for(var r,o=n[t],i=o.parentNode,a=!0;i;){if(i.nodeName.includes("-")){i===this&&(a=!1);break}i=i.parentNode}if(!a){var s=null==(r=o.getAttribute("slot"))?void 0:r.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=[]},n.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)))},n.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=f()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var n=t[e],r=n[0],o=n[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,o)||(this.self._propertyAliasIndex[o]=r)}}},n.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,n=Object.entries(e);t<n.length;t++){var r,o=n[t],i=o[0],a=o[1];if(this.setExternalPropertyValue(i,a),this.isConnected){var s=(0,y.camelCaseToDelimited)(i);if(null!=(r=this.self._propertiesToReflectAsAttributes)&&r.has(i))switch(this.self._propertiesToReflectAsAttributes.get(i)){case b.boolean:case"boolean":a?""!==this.getAttribute(s)&&this.setAttribute(s,""):this.hasAttribute(s)&&this.removeAttribute(s);break;case b.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 b.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(s)&&this.removeAttribute(s);else{var u=String(a);this.getAttribute(s)!==u&&this.setAttribute(s,u)}break;case b.string:case"string":a?this.getAttribute(s)!==a&&this.setAttribute(s,a):this.hasAttribute(s)&&this.removeAttribute(s);break;case b.any:case b.array:case b.arrayOf:case b.element:case b.elementType:case b.instanceOf:case b.node:case b.object:case"object":case b.objectOf:case b.shape:case b.exact:case b.symbol:default:if(a){var c=(0,y.represent)(a);if(c&&this.getAttribute(s)!==c){this.setAttribute(s,c);break}}this.hasAttribute(s)&&this.removeAttribute(s)}}}this.ignoreAttributeUpdateObservations=!1},n.reflectProperties=function(e){var t,n;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var r,o=C(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(r=o()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(this.internalProperties,i)&&this.setInternalPropertyValue(i,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(delete this.internalProperties.model.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var a,s=C(this.self.controllableProperties);!(a=s()).done;){var l=a.value;Object.prototype.hasOwnProperty.call(e,l)&&this.setInternalPropertyValue(l,e[l])}},n.reflectEventToProperties=function(){var e=l()(g().mark((function e(t,n){var r,o,i,a,s,l,u,c,d,p,h,m,_,v,b,E,x;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=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,n.concat([this])))&&"then"in s&&(0,y.isFunction)(s.then))){e.next=2;break}return e.next=1,s;case 1:x=e.sent,e.next=3;break;case 2:x=s;case 3:l=x,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&&n.length>0&&(0,y.isObject)(n[0])){if(c=n[0],"persist"in n[0]&&(0,y.isFunction)(n[0].persist))for(c={},d=0,p=Object.keys(this.self.propertyTypes);d<p.length;d++)for(h=p[d],m=C([h].concat(null!==(v=this.getPropertyAlias(h))&&void 0!==v?v:[]));!(_=m()).done;)b=_.value,(E=n[0].currentTarget&&Object.prototype.hasOwnProperty.call(n[0].currentTarget,b)?n[0].currentTarget[b]:this.getPropertyValue(b))!==this.externalProperties[b]&&(c[b]=E);else[null,void 0].includes(null==(u=c.detail)?void 0:u.value)||(c=f()({},c.detail));o=c,this.reflectProperties(c)}return this.triggerRender("propertyReflected"),this.batchUpdates=r,e.abrupt("return",o);case 5:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),n.evaluateStringOrNullAndSetAsProperty=function(e,t){var n=this,r=e.startsWith("-"),o=r?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(r){if(t){var l=(0,y.evaluate)(t,f()({},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 b.boolean:case"boolean":var u=![null,"false"].includes(t);this.setInternalPropertyValue(i,u),this.setExternalPropertyValue(i,u);break;case b.func:case"function":var c,d=null,p=["data","event","firstArgument","firstParameter","options","scope","parameters"].concat(y.UTILITY_SCOPE_NAMES);if(t){var h=(0,y.compile)(t,p);d=h.error,c=h.templateFunction,d&&console.warn('Failed to compile given handler "'+e+'": '+d+".")}this.setInternalPropertyValue(i,(function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];n.outputEventNames.has(i)&&n.reflectEventToProperties(i,o);var s=void 0;if(!d)try{var l;s=null==(l=c)?void 0:l.call.apply(l,[n,o[0],o[0],o[0],o[0],o[0],o[0],o].concat(y.UTILITY_SCOPE_VALUES))}catch(n){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+p.join('", "')+'" set to "'+(0,y.represent)(o)+'": '+n+'. Set property to "undefined".')}return n.self.renderProperties.includes(i)||n.forwardEvent(i,o),s})),d||this.setExternalPropertyValue(i,c);break;case"json":if(t){var m;try{m=JSON.parse(t)}catch(d){console.warn('Error occurred during parsing given json attribute "'+e+'": '+(0,y.represent)(d));break}this.setInternalPropertyValue(i,m),this.setExternalPropertyValue(i,(0,y.copy)(m,1))}else this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null);break;case b.number:case"number":if(null===t){this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break}var _=parseFloat(t);isNaN(_)&&(_=void 0),this.setInternalPropertyValue(i,_),this.setExternalPropertyValue(i,_);break;case b.string:case"string":this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break;case b.any:case b.array:case b.arrayOf:case b.element:case b.elementType:case b.instanceOf:case b.node:case b.object:case"object":case b.objectOf:case b.oneOf:case b.oneOfType:case b.shape:case b.exact:case b.symbol:default:if(t){var v=(0,y.evaluate)(t,{},!1,!0,this);if(v.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',v.error);break}this.setInternalPropertyValue(i,v.result),this.setExternalPropertyValue(i,(0,y.copy)(v.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(i,!0),this.setExternalPropertyValue(i,!0)):(this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null))}}},n.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)},n.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"}))},n.determineRenderScope=function(e){var t,n;void 0===e&&(e={}),this.scope=f()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((n={parent:this.parent,root:this.rootInstance,self:this})[(0,y.lowerCase)(this.self._name)||"instance"]=this,n),e),this.scope.scope=this.scope},n.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 n=document.createElement("div");return n.innerHTML=t.result,this.applySlots(n,f()({},this.scope,{parent:this})),this.root.innerHTML=n.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots),Promise.resolve()},t}(A),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:b.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=_()(o.prototype,"isRoot",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),o),O={component:I,register:function(e){void 0===e&&(e=(0,y.camelCaseToDelimited)(I._name)),customElements.define(e,I)}};t.default=I},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,n){n.d(t,{api:function(){return b}});var r=n(0),o=n.n(r),i=n(4),a=n.n(i),s=n(3),l=n.n(s),u=n(5),c=n.n(u),d=n(1),f=n(2),p=n(11),h=n.n(p),m=n(12),_=n(13);function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return g(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var y=function(e){function t(){for(var n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=e.call.apply(e,[this].concat(o))||this).compiledSlots={},n.preparedSlots={},n.reactRoot=null,n.rootReactInstance=null,n.self=t,n.wrapMemorizingWrapper=null,n.isWrapped=!1,n.reflectInstanceProperties=function(){var e;null!=(e=n.instance)&&e.current&&n.instance.current.properties&&n.reflectProperties(n.instance.current.properties)},n}l()(t,e);var n=t.prototype;return n.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},n.disconnectedCallback=function(){e.prototype.disconnectedCallback.call(this)},n.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},n.render=function(){var e=a()(c().mark((function e(t){var n,r,i,a,s,l=this;return c().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(r=this.firstChild;r;)i=r.nextSibling,this.removeChild(r),r=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,_.createRoot)(this.root,{identifierPrefix:s})),e.next=2,new Promise((function(e){(0,m.flushSync)((function(){var t;null==(t=l.reactRoot)||t.render((0,p.createElement)(l.self.content,l.internalProperties)),e()}))}));case 2:if(null==(n=this.instance)||!n.current){e.next=3;break}this.reflectInstanceProperties(),e.next=4;break;case 3:return e.next=4,(0,d.timeout)(this.reflectInstanceProperties);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=(0,d.copy)(t,1),n)),this.setInternalPropertyValue(e,(0,d.copy)(t,1))},n.setInternalPropertyValue=function(t,n){null===n?n=f.NullSymbol:void 0===n&&(n=f.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,n)},n.preCompileDomNodes=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=!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,n);for(var r,o=1,i=[],a=v(e);!(r=a()).done;){var s=r.value,l=this.preCompileDomNode(s,t,n,o.toString());i.push(l),o+=1}return n?function(e){return function(){for(var t,n=[],r=v(i);!(t=r()).done;){var o=(0,t.value)(e);"function"==typeof o&&n.push(o.apply(void 0,arguments))}return(0,p.createElement)(p.Fragment,{children:n})}}:i},n.preCompileDomNode=function(e,t,n,r){var i=this;if(void 0===t&&(t={}),void 0===n&&(n=!1),n){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,r);return function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.length>0?n[0]:null;return a(o()({},e,{data:i,firstArgument:i,firstParameter:i,options:i,scope:i,parameters:n}))}}}if(e.nodeType===Node.TEXT_NODE){var s="string"==typeof e.nodeValue?e.nodeValue.trim():"",l=r&&s?(0,p.createElement)(p.Fragment,{children:s,key:r}):s||null;return function(){return l}}if(!e.getAttributeNames)return function(){return null};var u,c={},f=this.self.isReactComponent(e);f?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),r&&!Object.prototype.hasOwnProperty.call(c,"key")&&(c.key=r),u=e.constructor.content):(c.key=r,u=e.tagName.toLowerCase());for(var h,m=Object.keys(t),_={},g=function(){var n,r=h.value,o=e.getAttribute(r);if(null===o)return 0;var a=!1,s="";if(r.startsWith("data-bind-")?s=r.substring(10):r.startsWith("bind-")&&(s=r.substring(5)),s.startsWith("attribute-")||"attributes"===s||s.startsWith("property-")||"properties"===s){var l=(0,d.compile)(o,m),u=l.error,p=l.originalScopeNames,v=l.templateFunction;if(u)return console.warn('Error occurred during compiling given attribute binding "'+r+'" on node:',e,u),0;"attributes"===s||"properties"===s?a=!0:s=s.startsWith("attribute-")?s.substring(10):s.substring(9),o={originalScopeNames:p,templateFunction:v.bind(i)}}else if(s.startsWith("on-")){s=(0,d.delimitedToCamelCase)(s),Object.prototype.hasOwnProperty.call(t,"event")||(m=[].concat(m,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(m=[].concat(m,["parameters"]));var g=(0,d.compile)(o,m,!0),y=g.error,b=g.originalScopeNames,E=g.scopeNames,C=g.templateFunction;if(y)return console.warn('Error occurred during compiling given event binding "'+r+'" on node:',e,y),0;var x=C.bind(i);o=function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];t.event=i[0],t.parameters=i;try{x.apply(void 0,b.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+r+'" on node: ',e,'Given expression "'+o+'" could not be evaluated with given scope names "'+E.join('", "')+'": '+(0,d.represent)(t))}}}else s=r;var A={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(A,s)&&(s=A[s]),s=(0,d.delimitedToCamelCase)(s),null!=(n=o)&&n.originalScopeNames?_[a?"":s]=o:f||(c[s]=o)},y=v(e.getAttributeNames());!(h=y()).done;)g();if(!f){var b=Array.from(e.childNodes);b.length&&(c.children=this.preCompileDomNodes(b,t))}return function(n){(n=o()({},t,n)).scope=n;for(var r=o()({},c),a=0,s=Object.entries(_);a<s.length;a++){var l=s[a],d=l[0],h=l[1],m=h.originalScopeNames,v=h.templateFunction.apply(void 0,m.map((function(e){return n[e]})));""===d?r=o()({},r,v):r[d]=v}return Object.prototype.hasOwnProperty.call(r,"innerHTML")&&(r.dangerouslySetInnerHTML={__html:r.innerHTML},delete r.children,delete r.innerHTML),Object.prototype.hasOwnProperty.call(r,"textContent")?(r.children=r.textContent,delete r.textContent):f?(r=o()({},e.internalProperties,r),n=o()({},r,n,{parent:e}),e.evaluateSlots(n),e.prepareProperties(r)):r.children&&(r.children=i.evaluatePreCompiledDomNodes(r.children,n)),(0,p.createElement)(u,r)}},n.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 n,r=[],o=v(e);!(n=o()).done;){var i=(0,n.value)(t);i&&r.push(i)}return r},n.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}),[f.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}),[f.func,"function"].includes(this.self.propertyTypes.children)))},n.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)},n.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}},n.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,p.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,p.forwardRef)((function(t,n){return(0,p.useImperativeHandle)(n,(function(){return{properties:t}})),(0,p.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,p.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,p.memo)(this.self.content),this.self.content.wrapped=e)}},n.prepareProperties=function(e){(0,d.extend)(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,p.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var n,r=v(["isRoot","isTrusted","__composed"]);!(n=r()).done;){var o=n.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}(n(7).default);y.attachWebComponentAdapterIfNotExists=!0,y.content="div",y.react=h(),y._name="ReactWebComponent";var b={component:y,register:function(e){void 0===e&&(e=(0,d.camelCaseToDelimited)(y._name)),customElements.define(e,y)}};t.default=y}],f={};function h(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return d[e](n,n.exports,h),n.exports}h.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return h.d(t,{a:t}),t},h.d=function(e,t){for(var n in t)h.o(t,n)&&!h.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},h.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var m={};h.r(m),h.d(m,{ReactWeb:function(){return x},Web:function(){return O},reactWebAPI:function(){return A},webAPI:function(){return I},wrapAsWebComponent:function(){return S}});var _=h(0),v=h.n(_),g=h(3),y=h.n(g),b=h(1),E=h(14),C=h(7),x=E.default,A=E.api,I=C.api,O=C.default,S=function(e,t,n){var r,o,i;void 0===t&&(t="NoName"),void 0===n&&(n={});var a=e._name||(null==(r=e.___types)||null==(r=r.name)?void 0:r.name)||t.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");n.propTypes&&(e.propTypes=n.propTypes);var s=e.propTypes||{},l=n.propertyAliases||e.propertyAliases||{},u=(0,b.unique)(Object.keys(s).concat(Object.keys(l)).concat(Object.values(l))),c=n.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(x.propertiesToReflectAsAttributes)if(Array.isArray(c))c=[].concat(x.propertiesToReflectAsAttributes,c);else if(c instanceof Map)for(var d=0,f=x.propertiesToReflectAsAttributes;d<f.length;d++){var p=f[d];c.set(p,x.propertyTypes[p])}else if("object"==typeof c)for(var h=0,m=x.propertiesToReflectAsAttributes;h<m.length;h++){var _=m[h];c[_]=x.propertyTypes[_]}var g=u.map((function(e){return(0,b.camelCaseToDelimited)(e)})),E=function(t){function r(){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=r,o.internalProperties=n.internalProperties?v()({},n.internalProperties):e.internalProperties?v()({},e.internalProperties):{},o}return y()(r,t),r}(x);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof n.attachWebComponentAdapterIfNotExists||n.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=x.observedAttributes.concat(g).concat(g.map((function(e){return"-"+e}))),E.controllableProperties=e.controllableProperties||n.controllableProperties||[],E.eventToPropertyMapping=null===n.eventToPropertyMapping?n.eventToPropertyMapping:n.eventToPropertyMapping?v()({},n.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?v()({},e.eventToPropertyMapping):{},E.propertyAliases=v()({},x.propertyAliases,l),E.propertiesToReflectAsAttributes=c,E.propertyTypes=v()({},x.propertyTypes,s),E.renderProperties=null!==(o=null!==(i=n.renderProperties)&&void 0!==i?i:e.renderProperties)&&void 0!==o?o:x.renderProperties,E._name=a,{component:E,register:function(e){void 0===e&&(e=(0,b.camelCaseToDelimited)(a)),customElements.define(e,E)}}};return m.default=S,m}())},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__4__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__5__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__6__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__7__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__8__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__10__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__12__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__13__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__14__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__15__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__16__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__17__},,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__19__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__20__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__21__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__22__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__23__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__24__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__25__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__26__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__27__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__28__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__29__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__30__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__31__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__32__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__33__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__34__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__35__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__36__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__37__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__38__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__39__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__40__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__41__},,function(module,__unused_webpack_exports,__nested_webpack_require_50426__){var __dirname="/",e,t,r,n,i,o,a,l,u,s,c,d,m,f,p,v,g,h,y,b,x,w,S,I,j,N,T,C,O,P,q,A;if(module=__nested_webpack_require_50426__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__nested_webpack_require_50426__.g||null===__nested_webpack_require_50426__.g?{}:__nested_webpack_require_50426__.g;module.exports=(e=__nested_webpack_require_50426__(2),t=__nested_webpack_require_50426__(7),r=__nested_webpack_require_50426__(21),n=__nested_webpack_require_50426__(22),i=__nested_webpack_require_50426__(23),o=__nested_webpack_require_50426__(24),a=__nested_webpack_require_50426__(25),l=__nested_webpack_require_50426__(26),u=__nested_webpack_require_50426__(27),s=__nested_webpack_require_50426__(28),c=__nested_webpack_require_50426__(29),d=__nested_webpack_require_50426__(30),m=__nested_webpack_require_50426__(19),f=__nested_webpack_require_50426__(31),p=__nested_webpack_require_50426__(32),v=__nested_webpack_require_50426__(33),g=__nested_webpack_require_50426__(34),h=__nested_webpack_require_50426__(35),y=__nested_webpack_require_50426__(8),b=__nested_webpack_require_50426__(9),x=__nested_webpack_require_50426__(36),w=__nested_webpack_require_50426__(37),S=__nested_webpack_require_50426__(4),I=__nested_webpack_require_50426__(0),j=__nested_webpack_require_50426__(3),N=__nested_webpack_require_50426__(20),T=__nested_webpack_require_50426__(10),C=__nested_webpack_require_50426__(38),O=__nested_webpack_require_50426__(39),P=__nested_webpack_require_50426__(40),q=__nested_webpack_require_50426__(41),A=__nested_webpack_require_50426__(11),function(){var _=[function(t){t.exports=e},function(e){e.exports=A},function(e){e.exports=j},function(e){e.exports=I},function(e,t,n){n.d(t,{defaultModel:function(){return d},defaultModelState:function(){return c},defaultProperties:function(){return f},modelStatePropertyTypes:function(){return s},propertyTypes:function(){return u}});var r=n(0),o=n.n(r),i=n(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])}))]),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)}),u=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]))),i.object,(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])}))]),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}),c={dirty:!1,pristine:!0,focused:!1,visited:!1,invalid:!1,invalidRequired:!1,valid:!0,touched:!1,untouched:!0},d={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()({},c),trim:!0,type:"string"},f={className:[],styles:{},componentProperties:{},domNodeProperties:{},enforceUncontrolled:!1,model:o()({},d),triggerInitialPropertiesConsolidation:!1,showDeclaration:void 0,showInitialValidationState:!1,showValidationState:!0,requiredText:"Please fill this field."}},function(e){e.exports=y},function(e){e.exports=S},function(e,t,n){n.d(t,{defaultModelState:function(){return c},defaultProperties:function(){return f},propertyTypes:function(){return l},renderProperties:function(){return u}});var r=n(0),o=n.n(r),i=n(3),a=n(4),s=o()({},a.modelStatePropertyTypes,{invalidMaximum:(0,i.oneOfType)([i.boolean,i.symbol]),invalidMinimum:(0,i.oneOfType)([i.boolean,i.symbol]),invalidMaximumLength:(0,i.oneOfType)([i.boolean,i.symbol]),invalidMinimumLength:(0,i.oneOfType)([i.boolean,i.symbol]),invalidInvertedPattern:(0,i.oneOfType)([i.boolean,i.symbol]),invalidPattern:(0,i.oneOfType)([i.boolean,i.symbol])}),l=o()({},a.propertyTypes,s,{align:i.string,children:i.func,cursor:(0,i.oneOfType)([(0,i.shape)({end:i.number.isRequired,start:i.number.isRequired}),i.symbol]),editor:i.string,editorIsActive:(0,i.oneOfType)([i.boolean,i.symbol]),editorIsInitiallyActive:i.boolean,hidden:(0,i.oneOfType)([i.boolean,i.symbol]),leadingIcon:(0,i.oneOfType)([i.string,i.object]),trailingIcon:(0,i.oneOfType)([i.string,i.object]),attributes:i.object,invertedPattern:(0,i.oneOfType)([(0,i.arrayOf)((0,i.oneOfType)([i.object,i.string])),i.object,i.string]),invertedPatternText:i.string,labels:(0,i.oneOfType)([(0,i.arrayOf)((0,i.arrayOf)((0,i.oneOfType)([i.any,i.string]))),(0,i.arrayOf)(i.string),i.object]),maximum:(0,i.oneOfType)([i.number,i.string]),maximumLength:i.number,minimum:(0,i.oneOfType)([i.number,i.string]),minimumLength:i.number,maximumLengthText:i.string,minimumLengthText:i.string,maximumText:i.string,minimumText:i.string,onBlur:i.func,onChangeEditorIsActive:i.func,onKeyDown:i.func,onKeyUp:i.func,onSelect:i.func,onSelectionChange:i.func,pattern:(0,i.oneOfType)([(0,i.arrayOf)((0,i.oneOfType)([i.object,i.string])),i.object,i.string]),patternText:i.string,placeholder:i.string,representation:(0,i.oneOfType)([i.string,i.symbol]),rows:i.number,searchSelection:i.boolean,selectableEditor:i.boolean,step:i.number,suggestionCreator:i.func,suggestSelection:i.boolean,transformer:i.object}),u=["children","suggestionCreator"],c=o()({},a.defaultModelState,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),d=o()({},a.defaultModel,{state:c}),f=o()({},a.defaultProperties,{cursor:{end:0,start:0},editor:"plain",selectableEditor:!1,rows:4,invertedPatternText:'Your string should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',maximumLengthText:"Please type less or equal than ${maximumLength} symbols.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:o()({},d),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',searchSelection:!1,suggestSelection:!1,step:1})},function(e,t,n){n.d(t,{WrapTooltip:function(){return d},default:function(){return f}});var r=n(0),o=n.n(r),i=n(16),a=n(13),s=n(2),l=n(1),u=!i.Tooltip||Boolean(i.Tooltip.isDummy),c=(0,s.forwardRef)((function(e,t){return u?(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})}))})),d=(!c||Boolean(c.isDummy),function(e){var t=e.children,n=e.value;return"string"==typeof n?(0,l.jsx)(c,{value:n,children:t}):(0,l.jsx)(l.Fragment,{children:t})}),f=d},function(e){e.exports=C},function(e,t,n){n(0),n(17),n(2),n(5);var r=n(14),o=n(15),i=n(8),a=n(1);t.default=function(e){var t=e.children,n=e.strict,s=e.themeConfiguration,l=e.tooltip,u=e.wrap;return(0,a.jsx)(r.WrapStrict,{strict:Boolean(n),children:(0,a.jsx)(i.WrapTooltip,{value:l,children:(0,a.jsx)(o.WrapThemeProvider,{configuration:s,wrap:u,children:t})})})}},function(e,t,n){n.d(t,{deriveMissingPropertiesFromState:function(){return u},determineInitialRepresentation:function(){return h},determineInitialValue:function(){return m},determineValidationState:function(){return _},formatValue:function(){return x},getConsolidatedProperties:function(){return g},getLabelAndValues:function(){return y},getValueFromSelection:function(){return b},mapPropertiesIntoModel:function(){return v},normalizeSelection:function(){return E},parseValue:function(){return C},renderMessage:function(){return d},translateKnownSymbols:function(){return p},triggerCallbackIfExists:function(){return f},wrapStateSetter:function(){return c}});var r=n(0),o=n.n(r),i=n(6),a=n(3);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var u=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 n=0,r=Object.entries(t.modelState);n<r.length;n++){var i,a=r[n],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},c=function(e,t){return function(n){var r="function"==typeof n?n(t):n;(0,i.equals)(null==r?void 0:r.modelState,null==t?void 0:t.modelState)||e(r)}},d=function(e,t){if("string"!=typeof e)return"";var n=(0,i.evaluate)("`"+e+"`",t);return n.error?(console.warn("Given message template could not be proceed:",n.error),""):n.result},f=function(e,t,n){void 0===n&&(n=!0);for(var r=arguments.length,o=new Array(r>3?r-3:0),a=3;a<r;a++)o[a-3]=arguments[a];t="on"+(0,i.capitalize)(t),e[t]&&(n?e[t].apply(e,o):(0,i.timeout)((function(){e[t].apply(e,o)})))},p=function(e){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=r[n],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};function h(e,t,n,r,a){if("string"==typeof e.representation)return e.representation;if(null!==n){var l,u=function(e,t){if(t)for(var n,r=s(t);!(n=r()).done;){var o=n.value;if((0,i.equals)(null==o?void 0:o.value,e))return o.label||String(e)}return null}(n,a);return"string"==typeof u?u:x(o()({},e,{type:e.type||(null==(l=e.model)?void 0:l.type)||t.model.type}),n,r)}return""}var m=function(e,t,n){var r,o;return void 0!==n?n:void 0!==e.value?e.value:void 0!==(null==(r=e.model)?void 0:r.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,n){void 0===n&&(n={});var r=!1;n=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))}},n),e.model.state||(e.model.state={});for(var i=0,a=Object.entries(n);i<a.length;i++){var s=a[i],l=s[0],u=s[1],c=t[l];e.model.state[l]=u(),r=r||c!==t[l]}return r&&(e.model.state.invalid=Object.keys(n).some((function(t){return Boolean(e.model.state&&e.model.state[t])})),e.model.state.valid=!e.model.state.invalid),r},v=function(e,t){var n=(0,i.extend)(!0,{model:(0,i.copy)(t)},e);n.disabled&&(n.model.mutable=!1,delete n.disabled),n.invertedPattern&&(n.model.invertedPattern=n.invertedPattern,delete n.invertedPattern),n.pattern&&(n.model.pattern=n.pattern,delete n.pattern),n.required&&(n.model.nullable=!1,delete n.required),"text"===n.type&&(n.type="string");for(var r,o=s(Object.keys(n.model).concat("value"));!(r=o()).done;){var a=r.value;Object.prototype.hasOwnProperty.call(n,a)&&void 0!==n[a]&&(n.model[a]=n[a])}for(var l in n.model.state)Object.prototype.hasOwnProperty.call(n,l)&&void 0!==n[l]&&(n.model.state[l]=n[l]);return void 0===n.model.value&&(n.model.value=(0,i.copy)(n.model.default)),n},g=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 y(e){if(Array.isArray(e)){for(var t,n=[],r=[],o=s(e);!(t=o()).done;){var i=t.value;"string"==typeof(null==i?void 0:i.label)&&(n.push(i.label),r.push(i.value))}return[n,r]}return[[],[]]}function b(e,t){if(Array.isArray(t))for(var n,r=s(t);!(n=r()).done;){var o=n.value;if("string"==typeof(null==o?void 0:o.label)&&o.label===e)return o.value;if(["number","string"].includes(typeof(null==o?void 0:o.value))&&String(o.value)===e)return o.value}return null}function E(e,t){if(e||(e=t,t=void 0),!e)return e;var n=(0,i.isObject)(t),r=function(e,r){if(n)if(Array.isArray(t)){if(t.length)if(Array.isArray(t[0]))for(var o=0,i=t;o<i.length;o++){var a=i[o],s=a[0],l=a[1];if(s===e)return l}else if("number"==typeof r&&r<t.length)return t[r]}else{if(!0===e&&t.true)return t.true;if(!1===e&&t.false)return t.false;if("string"==typeof e&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}return null},a=!1;if(Array.isArray(e)){if(a=!0,e.length){var l=[],u=0;if(Array.isArray(e[0]))for(var c=0,d=e;c<d.length;c++){var f,p=d[c],h=p[0],m=p[1];l.push({label:null!==(f=r(h,u))&&void 0!==f?f:m,value:h}),u+=1}else if((0,i.isObject)(e[0]))for(var _,v=s(e);!(_=v()).done;){var g,y=_.value;l.push(o()({},y,{label:null!==(g=r(y.value,u))&&void 0!==g?g:y.label})),u+=1}else for(var b=0,E=e;b<E.length;b++){var C,x=E[b];l.push({label:null!==(C=r(x,u))&&void 0!==C?C:x,value:x}),u+=1}e=l}}else{for(var A=[],I=0,O=Object.keys(e);I<O.length;I++){var S,T=O[I];A.push({label:null!==(S=r(T))&&void 0!==S?S:e[T],value:T})}e=A}if(Array.isArray(t)&&t.length&&Array.isArray(t[0])){for(var w=new Map,P=0,L=0,N=t;L<N.length;L++){var R=N[L][0];w.set(R,P),P+=1}e=e.sort((function(e,t){var n,r,o=e.value,i=t.value;return(null!==(n=w.get(o))&&void 0!==n?n:0)-(null!==(r=w.get(i))&&void 0!==r?r:0)}))}else a||(e=e.sort((function(e,t){var n=e.label,r=t.label;return n.localeCompare(r)})));return e}var C=function(e,t,n,r){var o;if(void 0===r&&(r=!1),r&&"string"==typeof t&&(t=t.trim().replace(/ +\n/g,"\\n")),e.model.emptyEqualsNull&&""===t)return null;var i=t;if(![null,void 0].includes(t)&&null!=(o=n[e.model.type])&&o.parse){var a,s=null==(a=n[e.model.type])?void 0:a.parse;i=s&&t?s(t,n,e):t}return"number"==typeof i&&isNaN(i)?null:i};function x(e,t,n,r){var o;void 0===r&&(r=!0);var i=r?"final":"intermediate";if([null,void 0].includes(t)||"number"==typeof t&&isNaN(t))return"";var a=null==(o=n[e.type||e.model.type])?void 0:o.format;if(a){var s,l=(null==(s=a[i])?void 0:s.transform)||a.final.transform;if(l)return l(t,n,e)}return String(t)}},,function(e){e.exports=b},function(e,t,n){n.d(t,{WrapStrict:function(){return i}});var r=n(2),o=n(1),i=function(e){var t=e.children;return e.strict?(0,o.jsx)(r.StrictMode,{children:t}):(0,o.jsx)(o.Fragment,{children:t})}},function(e,t,n){n.d(t,{WrapThemeProvider:function(){return i}});var r=n(5),o=n(1),i=function(e){var t=e.children,n=e.configuration,i=e.wrap;return n?(0,o.jsx)(r.ThemeProvider,{options:n,wrap:!1!==i,children:t}):t}},function(e){e.exports=T},function(e){e.exports=t},function(e){e.exports=N},function(e,t,n){var r=n(0),o=n.n(r),i=n(22),a=n(2),s=n(1),l=(0,a.forwardRef)((function(e,t){var n=e.componentProperties,r=e.size;return(0,s.jsx)(i.CircularProgress,o()({ref:t,size:null==r?void 0:r.replace("extra-small","xsmall").replace("extra-large","xlarge")},n))}));t.A=l},function(e,t,n){var r=n(0),o=n.n(r),i=n(25),a=n(2),s=n(9),l=n(1),u=(0,a.forwardRef)((function(e,t){var n,r,a,u=(0,s.useMemorizedValue)({});return(0,l.jsx)(i.Icon,o()({className:null==(n=e.classNames)?void 0:n.join(" "),style:e.styles},null!==(r=e.componentProperties)&&void 0!==r?r:u,{onClick:e.onClick,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,onFocus:e.onFocus,onBlur:e.onBlur,icon:(0,s.useMemorizedValue)({icon:e.icon,size:null==(a=e.size)?void 0:a.replace("extra-small","xsmall").replace("extra-large","xlarge"),strategy:e.strategy},e.icon,e.size,e.strategy),ref:t}))}));t.A=u},function(e,t,n){var r=n(0),o=n.n(r),i=n(26),a=n(2),s=n(9),l=n(1),u=(0,a.forwardRef)((function(e,t){var n,r,u,c=(0,a.useRef)(null),d=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,(function(){return{base:c,foundation:d}}));var f=null==(n=e.size)?void 0:n.replace("extra-small","xsmall").replace("extra-large","xlarge"),p=(0,s.useMemorizedValue)({});return(0,l.jsx)(i.IconButton,o()({checked:e.value,disabled:e.disabled,className:null==(r=e.classNames)?void 0:r.join(" "),style:e.styles,icon:(0,s.useMemorizedValue)({icon:e.icon,size:f,strategy:e.strategy},e.icon,f,e.strategy),onIcon:(0,s.useMemorizedValue)({icon:e.onIcon||e.icon,size:f,strategy:e.strategy},e.onIcon,e.icon,f,e.strategy),onClick:e.onClick,onChange:e.onChange,ref:c,foundationRef:d},null!==(u=e.componentProperties)&&void 0!==u?u:p))}));t.A=u},function(e){e.exports=m},function(e){e.exports=o},function(e){e.exports=i},function(e){e.exports=f},function(e){e.exports=p},function(e){e.exports=v},function(e){e.exports=g},function(e){e.exports=h},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=u},function(e){e.exports=s},function(e){e.exports=c},function(e){e.exports=d},function(e){e.exports=x},function(e){e.exports=w},function(e){e.exports=O},function(e){e.exports=P},function(e){e.exports=q},function(e,t,n){var r=n(5),o=n(2),i=n(1),a=(0,o.forwardRef)((function(e,t){var n=e.children,o=e.applyToChildren;return(0,i.jsx)(r.Theme,{ref:t,use:"error",wrap:o,children:n})}));t.A=a}],E={};function L(e){var t=E[e];if(void 0!==t)return t.exports;var n=E[e]={exports:{}};return _[e](n,n.exports,L),n.exports}L.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return L.d(t,{a:t}),t},L.d=function(e,t){for(var n in t)L.o(t,n)&&!L.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},L.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},L.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var R={};L.r(R),L.d(R,{CODE_EDITOR_OPTIONS:function(){return ke},CSS_CLASS_NAMES:function(){return Me},INPUT_TRANSFORMER:function(){return Ge},TIPTAP_DEFAULT_OPTIONS:function(){return Fe},TextInput:function(){return Ye},TextInputInner:function(){return Xe},default:function(){return Qe},determineValidationState:function(){return je},preventEnterKeyPropagation:function(){return Ue},suggestionMatches:function(){return Be}});var D,M,k,F=L(0),U=L.n(F),B=L(23),V=L(24),W=L(6),H=L(2),K=L(18),z=L.n(K),$=L(43),G=L(20),X=L(21),Y=L(27),Q=L(19),J=L(1),Z=(0,H.memo)((0,H.forwardRef)((function(e,t){var n,r,o,i=(0,H.useRef)(null),a=(0,H.useRef)(null),s=(0,H.useRef)(null);return(0,H.useImperativeHandle)(t,(function(){return{surfaceAnchor:i,suggestionMenuAPI:a,suggestionMenuFoundation:s,focusItem:function(e){var t;null==(t=a.current)||t.focusItemAtIndex(e)}}})),(0,J.jsx)(Y.MenuSurfaceAnchor,{ref:i,onKeyDown:e.onKeyDown,children:e.pending?(0,J.jsx)(Y.MenuSurface,{anchorCorner:"bottomLeft",className:(null!==(n=e.classNames)&&void 0!==n?n:[]).concat(null!==(r=e.pendingClassNames)&&void 0!==r?r:[]).join(" "),open:!0,children:(0,J.jsx)(Q.A,{size:"large"})}):(0,J.jsx)(Y.Menu,{anchorCorner:"bottomLeft",apiRef:function(e){a.current=e},className:null==(o=e.classNames)?void 0:o.join(" "),focusOnOpen:!1,foundationRef:s,onFocus:e.onFocus,onSelect:e.onSelect,open:e.open,children:e.options.map((function(t,n){var r;return(0,J.jsx)(Y.MenuItem,{className:null==(r=e.itemClassNames)?void 0:r.join(" "),children:t},n)}))})})}))),ee=L(28),te=L(9),ne=(0,H.memo)((0,H.forwardRef)((function(e,t){var n=(0,H.useRef)(null),r=(0,H.useRef)(null),o=(0,H.useRef)(null);return(0,H.useImperativeHandle)(t,(function(){return{base:n,foundation:r,input:o}})),(0,J.jsx)(ee.Select,U()({disabled:e.disabled,invalid:e.invalid,rootProps:(0,te.useMemorizedValue)(U()({name:e.name,onClick:e.onClick},e.domNodeProperties),e.name,e.onClick,e.domNodeProperties),enhanced:!0,ref:n,foundationRef:r,inputRef:o,onChange:e.onChange,onKeyDown:e.onKeyDown,options:e.options,value:String(e.value),label:e.label},e.componentProperties))}))),re=L(29),oe=(0,H.forwardRef)((function(e,t){var n,r=(0,H.useRef)(null),o=(0,H.useRef)(null),i=(0,H.useRef)(null);(0,H.useImperativeHandle)(t,(function(){return{base:r,foundation:o,input:i}}));var a="number"==typeof e.maximumLength&&!isNaN(e.maximumLength)&&e.maximumLength!==1/0&&e.maximumLength>=0;return(0,J.jsx)("div",{className:null==(n=e.classNames)?void 0:n.join(" "),style:e.styles,children:(0,J.jsx)(re.TextField,U()({characterCount:e.characterCount&&a,disabled:e.disabled,invalid:e.invalid,label:e.label,name:e.name,placeholder:e.placeholder,helpText:e.helpText,maxLength:a?e.maximumLength:void 0,ref:r,foundationRef:o,inputRef:i,onChange:e.onChange,ripple:!0,rootProps:(0,te.useMemorizedValue)(U()({name:e.name,onClick:e.onClick,onKeyUp:e.onKeyUp,"tab-index":e.disabled?"0":"-1"},e.domNodeProperties),e.name,e.onClick,e.onKeyUp,e.domNodeProperties),icon:e.leadingIcon?"string"==typeof e.leadingIcon?e.leadingIcon:(0,J.jsx)(G.A,U()({},e.leadingIcon)):void 0,trailingIcon:e.trailingIcon?"string"==typeof e.trailingIcon?e.trailingIcon:(0,J.jsx)(G.A,U()({},e.trailingIcon)):void 0,type:e.type,value:e.value},e.componentProperties))})})),ie=L(10),ae=L(8),se=L(11),le=L(30),ue=L(31),ce=L(32),de=L(33),fe=L(34),pe=L(35),he=L(36),me=L(37),_e=(0,H.forwardRef)((function(e,t){var n,r,o,i,a,s=(0,H.useId)(),l=null!==(n=e.id)&&void 0!==n?n:s,u=null!==(r=e.classNamePrefix)&&void 0!==r?r:"text-area",c=(0,H.useRef)(null),d=(0,H.useRef)(null),f=(0,H.useRef)(null),p=(0,H.useRef)(null);(0,H.useImperativeHandle)(t,(function(){return{foundation:p,input:c,label:f,materialTextField:d}})),(0,H.useEffect)((function(){if(f.current)return d.current=new me.MDCTextField(f.current),p.current=d.current.getDefaultFoundation(),"string"==typeof e.value&&(p.current.setValue(e.value),d.current.value=e.value),"boolean"==typeof e.disabled&&(p.current.setDisabled(e.disabled),d.current.disabled=e.disabled),"boolean"==typeof e.invalid&&(p.current.setValid(!e.invalid),d.current.valid=!e.invalid),"boolean"==typeof e.required&&(d.current.required=e.required),p.current.setUseNativeValidation(!1),function(){var e;null==(e=d.current)||e.destroy()}}),[f.current,d.current,e.value,e.disabled,e.invalid,e.required,e.minimumLength,e.maximumLength]),(0,H.useEffect)((function(){var t,n,r=e.children?function(){setTimeout((function(){var e;null==(e=p.current)||e.autoCompleteFocus()}))}:W.NOOP;null==(t=c.current)||t.addEventListener("input",r);var o=e.children?function(){setTimeout((function(){var e;null==(e=p.current)||e.activateFocus()}))}:W.NOOP;return null==(n=c.current)||n.addEventListener("focus",o),function(){var e,t;null==(e=c.current)||e.removeEventListener("input",r),null==(t=c.current)||t.removeEventListener("focus",o)}}),[p.current,c.current,e.children]);var h="number"==typeof e.maximumLength&&!isNaN(e.maximumLength)&&e.maximumLength!==1/0&&e.maximumLength>=0,m=(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)("textarea",U()({ref:c,id:l,name:e.name,disabled:e.disabled,className:"mdc-text-field__input",style:e.children?U()({visibility:"hidden",position:"absolute"},e.styles):e.styles,rows:e.rows,"aria-labelledby":l+"-label","aria-controls":l+"-helper","aria-describedby":l+"-helper",readOnly:Boolean(e.children),value:e.value,minLength:e.minimumLength,maxLength:e.maximumLength,onChange:e.onChange,onClick:e.onClick,onBlur:e.onBlur,onFocus:e.onFocus,onKeyUp:e.onKeyUp,onKeyDown:e.onKeyDown},e.domNodeProperties)),e.children,e.barContentSlot?(0,J.jsxs)("div",{className:u+"__bar",children:[e.barContentSlot,e.characterCount&&h?(0,J.jsx)("div",{className:"mdc-text-field-character-counter"}):""]}):e.characterCount&&h?(0,J.jsx)("div",{className:"mdc-text-field-character-counter"}):""]}),_="object"==typeof e.helpText?e.helpText:{children:e.helpText};return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)("label",{ref:f,onClick:function(t){e.onLabelClick&&e.onLabelClick(t)},className:[u,"mdc-text-field","mdc-text-field--textarea"].concat(""===e.value?"mdc-text-field--textarea":u+"--has-content").concat(e.disabled?"mdc-text-field--disabled":[]).concat("mdc-text-field--filled").concat(e.characterCount&&h?"mdc-text-field--with-internal-counter":[]).concat(e.invalid?"mdc-text-field--invalid":[]).join(" "),children:[!1===(null==(o=e.componentProperties)?void 0:o.ripple)||e.children?"":(0,J.jsx)("span",{className:"mdc-text-field__ripple"}),(0,J.jsx)("span",{className:"mdc-floating-label",id:l+"-label",children:e.label}),e.resizeable?(0,J.jsx)("span",{className:"mdc-text-field__resizer",children:m}):m,!1!==(null==(i=e.componentProperties)?void 0:i.ripple)?(0,J.jsx)("span",{className:"mdc-line-ripple"}):""]}),_.children?(0,J.jsx)("div",{className:"mdc-text-field-helper-line",children:(0,J.jsx)("div",{className:["mdc-text-field-helper-text"].concat(_.persistent?"mdc-text-field-helper-text--persistent":[]).join(" "),id:l+"-helper",children:null!=(a=e.helpText)&&a.children?e.helpText.children:e.helpText})}):""]})})),ve=(0,H.forwardRef)((function(e,t){var n=(0,H.useRef)(null);return(0,H.useImperativeHandle)(t,(function(){return{input:n,eventMapper:{blur:function(e){var t;if(null!=(t=n.current)&&t.input.current){var r=new Event("blur");r.detail=e,n.current.input.current.dispatchEvent(r)}},focus:function(e){var t;if(null!=(t=n.current)&&t.input.current){var r=new Event("focus");r.detail=e,n.current.input.current.dispatchEvent(r)}},input:function(e,t){var r;if(null!=(r=n.current)&&r.input.current){var o=new Event("input");o.detail=t,n.current.input.current.value=String(e),n.current.input.current.dispatchEvent(o)}}}}})),(0,J.jsx)(_e,U()({ref:n},e,{children:e.children}))})),ge={textInput:"text-input",codeEditor:"code-editor",cmContent:"cm-content",cmActiveLine:"cm-activeLine",cmGutters:"cm-gutters",cmActiveLineGutter:"cm-activeLineGutter",cmFocused:"cm-focused",codeEditorHasContent:"code-editor--has-content",codeEditorView:"code-editor__view",richtextEditor:"richtext-editor",richtextEditorBar:"richtext-editor__bar",richtextEditorMenuBar:"richtext-editor-menu-bar",richtextEditorView:"richtext-editor__view",tiptap:"tiptap",textInputSuggestions:"text-input__suggestions",textInputSuggestionsPending:"text-input__suggestions--pending",textInputSuggestionsSuggestion:"text-input__suggestions__suggestion",textInputSuggestionsSuggestionMark:"text-input__suggestions__suggestion__mark"},ye=le.autocompletion?[].concat(le.closeBracketsKeymap,ue.defaultKeymap,fe.searchKeymap,ue.historyKeymap,ce.foldKeymap,le.completionKeymap,de.lintKeymap):[],be=he.EditorView?[(0,he.lineNumbers)(),(0,he.highlightActiveLineGutter)(),(0,he.highlightSpecialChars)(),(0,ue.history)(),(0,ce.foldGutter)(),(0,he.drawSelection)(),(0,he.dropCursor)(),pe.EditorState.allowMultipleSelections.of(!0),(0,ce.indentOnInput)(),(0,ce.syntaxHighlighting)(ce.defaultHighlightStyle,{fallback:!0}),(0,ce.bracketMatching)(),(0,le.closeBrackets)(),(0,le.autocompletion)(),(0,he.rectangularSelection)(),(0,he.crosshairCursor)(),(0,he.highlightActiveLine)(),(0,fe.highlightSelectionMatches)(),he.keymap.of(ye)]:[],Ee=ge,Ce=(0,H.forwardRef)((function(e,t){var n,r,o;if(!(le.autocompletion&&ue.history&&ce.syntaxHighlighting&&de.lintKeymap&&fe.searchKeymap&&pe.EditorState&&he.EditorView))throw Error("Missing codemirror dependencies.");var i=null!==(n=e.value)&&void 0!==n?n:"",a=(0,H.useRef)(null),s=(0,H.useRef)(null),l=(0,H.useRef)(null);(0,H.useImperativeHandle)(t,(function(){return{input:a,editorView:s,editorViewReference:l}})),(0,H.useEffect)((function(){var t;if(l.current){var n=pe.EditorState.create({doc:String(i),extensions:[be,he.EditorView.updateListener.of((function(t){t.startState.doc.toString()!==t.state.doc.toString()&&function(t){var n;if(!e.disabled){var r=t.state.doc.toString();null==(n=a.current)||n.eventMapper.input(r,t),e.onChange&&e.onChange(r)}}(t)})),null!=(t=e.editor)&&t.mode?e.editor.mode:[]]});return s.current=new he.EditorView({state:n,parent:l.current}),function(){s.current&&(s.current.destroy(),s.current=null)}}}),[l.current,null==(r=e.editor)||null==(r=r.mode)?void 0:r.language.name]),(0,H.useEffect)((function(){s.current&&e.value!==s.current.state.doc.toString()&&s.current.state.update({changes:{from:0,insert:pe.Text.empty}},{changes:{from:0,insert:String(e.value)}})}),[s.current,e.value]);var u=null==(o=a.current)||null==(o=o.input)||null==(o=o.current)||null==(o=o.input)?void 0:o.current;return(0,H.useEffect)((function(){var e=new ResizeObserver((function(){var e=null==u?void 0:u.clientHeight;if(l.current&&e){var t=l.current.querySelector(".cm-scroller");if(t){var n=String(e)+"px";return l.current.style.height=n,void(t.style.height=n)}}}));return u&&e.observe(u),function(){e.disconnect()}}),[l.current,u]),(0,J.jsx)(ve,U()({},e,{ref:a,value:i,classNamePrefix:Ee.codeEditor,onLabelClick:function(){var e;null==(e=l.current)||e.focus()},children:(0,J.jsx)("div",{ref:l,onBlur:function(t){var n;null==(n=a.current)||n.eventMapper.blur(t),e.onBlur&&e.onBlur(t)},onFocus:function(t){var n;null==(n=a.current)||n.eventMapper.focus(t),e.onFocus&&e.onFocus(t)},className:Ee.codeEditorView+" mdc-text-field__input"})}))})),xe=L(38),Ae=L(39),Ie=L.n(Ae),Oe=(0,H.createContext)(null),Se=function(e){var t,n=e.action,r=e.activeIndicator,o=e.checkedIconName,i=e.enabledIndicator,a=e.iconName,s=e.label,l=(0,H.useContext)(Oe);if(!l)return null;var u=!0;i?u=i(l.can().chain().focus()).run():null!==i&&(u=n(l.can().chain().focus()).run());var c=Boolean(r&&l.isActive(r)),d=null!==(t=null!=s?s:r)&&void 0!==t?t:a;return(0,J.jsx)(ae.default,{value:d,children:(0,J.jsx)(X.A,{value:c,disabled:!u,classNames:c?["mdc-icon-button--checked"]:[],onClick:function(e){e.stopPropagation(),n(l.chain().focus()).run()},size:"extra-small",icon:a,onIcon:null!=o?o:a,domNodeProperties:{"aria-label":d}})})},Te=function(e){var t=e.editor;return t?(0,J.jsx)("span",{className:"richtext-editor-menu-bar",children:(0,J.jsxs)(Oe.Provider,{value:t,children:[(0,J.jsxs)("span",{className:"richtext-editor-menu-bar__history",children:[(0,J.jsx)(Se,{action:function(e){return e.undo()},iconName:"undo"}),(0,J.jsx)(Se,{action:function(e){return e.redo()},iconName:"redo"})]}),(0,J.jsxs)("span",{className:"richtext-editor-menu-bar__marks",children:[(0,J.jsx)(Se,{action:function(e){return e.unsetAllMarks()},enabledIndicator:null,iconName:"format_clear",label:"clear formatting"}),(0,J.jsx)(Se,{action:function(e){return e.toggleBold()},activeIndicator:"bold",iconName:"format_bold"}),(0,J.jsx)(Se,{action:function(e){return e.toggleItalic()},activeIndicator:"italic",iconName:"format_italic"}),(0,J.jsx)(Se,{action:function(e){return e.toggleStrike()},activeIndicator:"strike",iconName:"format_strikethrough",label:"strikethrough"})]}),(0,J.jsxs)("span",{className:"richtext-editor-menu-bar__nodes",children:[(0,J.jsx)(Se,{action:function(e){return e.clearNodes()},enabledIndicator:null,iconName:"layers_clear",label:"clear markup"}),(0,J.jsx)(Se,{action:function(e){return e.toggleHeading({level:2})},enabledIndicator:null,activeIndicator:"heading",iconName:"title",label:"headline"}),(0,J.jsx)(Se,{action:function(e){return e.setParagraph()},enabledIndicator:null,activeIndicator:"paragraph",iconName:"segment"}),(0,J.jsx)(Se,{action:function(e){return e.toggleBulletList()},enabledIndicator:null,activeIndicator:"bulletList",iconName:"format_list_bulleted",label:"Unordered List"}),(0,J.jsx)(Se,{action:function(e){return e.toggleOrderedList()},enabledIndicator:null,activeIndicator:"orderedList",iconName:"format_list_numbered",label:"Ordered List"}),(0,J.jsx)(Se,{action:function(e){return e.setHardBreak()},enabledIndicator:null,iconName:"insert_page_break",label:"Hard break"})]})]})}):null},we=ge,Pe=(0,H.forwardRef)((function(e,t){var n,r,o,i,a;if(!xe.useEditor||Ie().isDummy)throw Error("Missing tiptap dependencies.");var s=null!==(n=e.value)&&void 0!==n?n:"",l=(0,H.useRef)(null),u=(0,H.useRef)(null);(0,H.useImperativeHandle)(t,(function(){return{input:l,editorViewReference:u}}));var c=(null==(r=e.editor)?void 0:r.extensions)||[Ie().configure((null==(o=e.editor)?void 0:o.starterKitOptions)||{})],d=(0,xe.useEditor)(U()({extensions:c,editable:!e.disabled,content:String(s),onBlur:function(t){var n;null==(n=l.current)||n.eventMapper.blur(t),e.onBlur&&e.onBlur(t)},onFocus:function(t){var n;null==(n=l.current)||n.eventMapper.focus(t),e.onFocus&&e.onFocus(t)},onUpdate:function(t){var n,r=t.editor.getHTML();null==(n=l.current)||n.eventMapper.input("<p></p>"===r?"":r,t),e.onChange&&e.onChange(r,{contentTree:t.editor.getJSON()})}},(null==(i=e.editor)?void 0:i.options)||{})),f=d.getHTML(),p=null==(a=l.current)||null==(a=a.input)||null==(a=a.current)||null==(a=a.input)||null==(a=a.current)?void 0:a.clientHeight;return(0,H.useEffect)((function(){u.current&&p&&(u.current.style.height=String(p+8)+"px")}),[u.current,p]),(0,J.jsx)(ve,U()({},e,{ref:l,barContentSlot:(0,J.jsx)(Te,{editor:d}),value:"<p></p>"===f?"":f,classNamePrefix:we.richtextEditor,onLabelClick:function(){d.chain().focus().run()},children:(0,J.jsx)(xe.EditorContent,{className:we.richtextEditorView+" mdc-text-field__input",editor:d,innerRef:u})}))})),Le=!(void 0===window),Ne=Le?null==(D=L(40))?void 0:D.default:null,Re=Le?null==(M=L(41))?void 0:M.default:null,De=Le?null==(k=L(42))?void 0:k.default:null,Me=ge,ke={},Fe={injectCSS:!0,enableContentCheck:!0},je=function(e,t){return(0,se.determineValidationState)(e,t,{invalidMaximum:function(){return"number"==typeof e.model.maximum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.maximum>=0&&e.model.maximum<e.model.value},invalidMinimum:function(){return"number"==typeof e.model.minimum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.value<e.model.minimum},invalidMaximumLength:function(){return"number"==typeof e.model.maximumLength&&"string"==typeof e.model.value&&e.model.maximumLength>=0&&e.model.maximumLength<e.model.value.length},invalidMinimumLength:function(){return"number"==typeof e.model.minimumLength&&"string"==typeof e.model.value&&e.model.value.length<e.model.minimumLength},invalidInvertedPattern:function(){return"string"==typeof e.model.value&&void 0!==e.model.invertedPattern&&Boolean(e.model.invertedPattern)&&[].concat(e.model.invertedPattern).some((function(t){return new RegExp(t).test(e.model.value)}))},invalidPattern:function(){return"string"==typeof e.model.value&&void 0!==e.model.pattern&&Boolean(e.model.pattern)&&[].concat(e.model.pattern).some((function(t){return!new RegExp(t).test(e.model.value)}))}})};function Ue(e){"Enter"===e.code&&e.stopPropagation()}function Be(e,t){return!!t&&(e=e.toLowerCase(),t.replace(/ +/g," ").toLowerCase().split(" ").every((function(t){return e.includes(t)})))}var Ve=L(7),We=function(e){return e===1/0?"Infinitely far in the future":e===-1/0?"Infinitely early in the past":isFinite(e)?null:""},qe=function(e){return new Date(Math.round(1e3*e)).toISOString()},He=function(e){return e instanceof Date?e.getTime()/1e3:e},Ke={boolean:{parse:function(e){var t;return"boolean"==typeof e?e:null===(t=new Map([["false",!1],["true",!0],[0,!1],[1,!0]]).get(e))||void 0===t||t},type:"text"},currency:{format:{final:{options:{currency:"USD"},transform:function(e,t){var n,r,o,i=t.currency.format,a=null!==(n=null==i||null==(r=i.final.options)?void 0:r.currency)&&void 0!==n?n:"USD";return e===1/0?"Infinity "+a:e===-1/0?"- Infinity "+a:isNaN(e)?"unknown":new Intl.NumberFormat(Ye.locales,U()({style:"currency"},null!==(o=null==i?void 0:i.final.options)&&void 0!==o?o:{})).format(e)}}},parse:function(e,t,n){return t.float.parse?t.float.parse(e,t,n):NaN},type:"text"},datetime:{format:{final:{transform:function(e,t,n){if("number"!=typeof e){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Datetime formatting depends on it.");e=t.datetime.parse(e,U()({},t,{date:U()({},t.date,{useISOString:!1})}),n)}var r=We(e);if("string"==typeof r)return r;var o=qe(e);return o.substring(0,o.lastIndexOf("."))}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=He(e))){var r=Date.parse(e+":00.000Z"),o=isNaN(r);o&&(r=Date.parse(e+".000Z"),(o=isNaN(r))&&(r=Date.parse(e),e=isNaN(r)?parseFloat(e):r/1e3)),o||(e=r/1e3)}return isNaN(e)&&(e=0),n?qe(e):e},type:"datetime-local"},"datetime-local":{format:{final:{transform:function(e,t,n){if("number"!=typeof e){if(!t["datetime-local"].parse)throw new Error("Missing datetime local parse transformation configured. Datetime local formatting depends on.");e=t["datetime-local"].parse(e,U()({},t,{date:U()({},t.date,{useISOString:!1})}),n)}var r=We(e);if("string"==typeof r)return r;var o=qe(e-60*new Date(1e3*e).getTimezoneOffset());return o.substring(0,o.lastIndexOf("."))}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=He(e))){var r=Date.parse(e+":00.000Z"),o=isNaN(r);o&&(r=Date.parse(e+".000Z"),(o=isNaN(r))&&(r=Date.parse(e),e=isNaN(r)?parseFloat(e):r/1e3)),o||(e=r/1e3+60*new Date(r).getTimezoneOffset())}return isNaN(e)&&(e=0),n?qe(e):e}},date:{format:{final:{transform:function(e,t,n){var r;if(null==(r=t.datetime.format)||!r.final.transform)throw new Error("Missing datetime final format transformation configured. Date formatting depends on it.");var o=t.datetime.format.final.transform(e,t,n),i=o.indexOf("T");return-1===i?o:o.substring(0,i)}}},parse:function(e,t,n){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Date parsing depends on it.");return t.datetime.parse(e,t,n)},useISOString:!0},"date-local":{format:{final:{transform:function(e,t,n){if("number"!=typeof e){if(!t["datetime-local"].parse)throw new Error("Missing datetime local parse transformation configured. Date local formatting depends on it.");e=t["datetime-local"].parse(e,U()({},t,{date:U()({},t.date,{useISOString:!1})}),n)}var r=We(e);if("string"==typeof r)return r;e-=60*new Date(1e3*e).getTimezoneOffset();var o=qe(e);return o.substring(0,o.lastIndexOf("T"))}}},parse:function(e,t,n){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Date local parsing depends on.");return(e=t.datetime.parse(e,U()({},t,{date:U()({},t.date,{useISOString:!1})}),n))%(24*Math.pow(60,2))==0&&(e+=60*new Date(1e3*e).getTimezoneOffset()),t.date.useISOString?qe(e):e},type:"date"},time:{format:{final:{transform:function(e,t,n){if("number"!=typeof e){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Time formatting depends on it.");e=t.datetime.parse(e,U()({},t,{date:U()({},t.date,{useISOString:!1})}),n)}var r=We(e);if("string"==typeof r)return r;var o=qe(e),i=o.indexOf("T");return-1===i?o:(o=o.substring(i+1,o.length-1),n.step&&n.step>=60&&n.step%60==0?o.substring(0,o.lastIndexOf(":")):o)}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=He(e))){var r=Date.parse(e);if(isNaN(r)){var o=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,(function(e,t,n,r,o){return String(parseInt(t)*Math.pow(60,2)+60*parseInt(n)+(r&&void 0!==o?parseFloat(o):0))})));e=isNaN(o)?0:o}else e=r/1e3}return isNaN(e)&&(e=0),n?qe(e):e}},"time-local":{format:{final:{transform:function(e,t,n){if("number"!=typeof e){if(!t["time-local"].parse)throw new Error("Missing time local parse transformation configured. Time local formatting depends on it.");e=t["time-local"].parse(e,U()({},t,{date:U()({},t.date,{useISOString:!1})}),n)}var r=We(e);if("string"==typeof r)return r;var o=new Date(1e3*e),i=o.getHours(),a=o.getMinutes(),s=(i<10?"0":"")+String(i)+":"+(a<10?"0":"")+String(a);if(!(n.step&&n.step>=60&&n.step%60==0)){var l=o.getSeconds();return s+":"+(l<10?"0":"")+String(l)}return s}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=He(e))){var r=Date.parse(e);if(isNaN(r)){var o=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,(function(e,t,n,r,o){var i=new Date(0);return i.setHours(parseInt(t)),i.setMinutes(parseInt(n)),r&&void 0!==o&&i.setSeconds(parseInt(o)),String(i.getTime()/1e3)})));e=isNaN(o)?0:o}else e=r/1e3}return isNaN(e)&&(e=0),n?qe(e):e},type:"time"},float:{format:{final:{transform:function(e,t){var n=t.float.format;return n?e===1/0?"Infinity":e===-1/0?"- Infinity":new Intl.NumberFormat(Ye.locales,n.final.options||{}).format(e):String(e)}}},parse:function(e,t,n){var r=n.maximum,o=n.minimum;return"string"==typeof e&&(e=parseFloat("de-DE"===Ye.locales[0]?e.replace(/\./g,"").replace(/,/g,"."):e)),("number"==typeof o&&o>=0&&e<0||"number"==typeof r&&r<=0&&e>0)&&(e*=-1),e},type:"text"},integer:{format:{final:{transform:function(e,t){var n,r=t.integer.format;return new Intl.NumberFormat(Ye.locales,U()({maximumFractionDigits:0},null!==(n=null==r?void 0:r.final.options)&&void 0!==n?n:{})).format(e)}}},parse:function(e,t,n){var r=n.maximum,o=n.minimum;return"string"==typeof e&&(e=parseInt("de-DE"===Ye.locales[0]?e.replace(/[,.]/g,""):e)),("number"==typeof o&&o>=0&&e<0||"number"==typeof r&&r<=0&&e>0)&&(e*=-1),e},type:"text"},number:{parse:function(e){return"number"==typeof e?e:parseInt(e)}}};function ze(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return $e(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$e(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Ge=Ke,Xe=function(e,t){var n,r,o,i,a,s,l,u,c=(0,H.useId)(),d=null!==(n=e.id)&&void 0!==n?n:c;(0,H.useEffect)((function(){var e;if(null!=(e=C.current)&&null!=(e=e.input)&&e.current){var t,n,r,o,i=C.current.input.current;if(null!=(t=i.input)&&t.current&&null!=(r=(i=null==(n=i.input)?void 0:n.current).input)&&r.current&&(i=null==(o=i.input)?void 0:o.current),!i)return;var a=i,s={},l=[];Ee.valid?(l.push("ariaErrormessage"),l.push("ariaInvalid")):(s.ariaErrormessage=d+"-error-message",s.ariaInvalid="true"),ke?("search"!==a.getAttribute("type")&&(s.role="searchbox"),s.ariaAutocomplete=Ee.searchSelection?"inline":"list"):(l.push("searchbox"),l.push("ariaAutocomplete")),Ee.showDeclaration?s.ariaDescribedby=d+"-declaration":l.push("ariaDescribedby");for(var u=U()({},s,Ee.attributes||{}),c=0,f=Object.entries(u);c<f.length;c++){var p=f[c],h=p[0],m=p[1],_=(0,W.camelCaseToDelimited)(h);"boolean"==typeof m?m?a.setAttribute(_,""):a.removeAttribute(_):a.setAttribute(_,String(m))}for(var v=0,g=l;v<g.length;v++){var y=g[v],b=(0,W.camelCaseToDelimited)(y);a.hasAttribute(b)&&a.removeAttribute(b)}}})),(0,H.useEffect)((function(){if(Xe){var e,t=null==(e=x.current)?void 0:e.querySelector('[aria-haspopup="listbox"]');if(t){t.hasAttribute("aria-expanded")||t.setAttribute("aria-expanded","false");var n=t.querySelector(".mdc-select__dropdown-icon-active");n&&!n.hasAttribute("aria-hidden")&&n.setAttribute("aria-hidden","true");var r=t.querySelector(".mdc-select__dropdown-icon-inactive");r&&!r.hasAttribute("aria-hidden")&&r.setAttribute("aria-hidden","true")}}})),(0,H.useEffect)((function(){if(Xe){var e,t=null==(e=x.current)?void 0:e.querySelector('[aria-haspopup="listbox"]');if(t){var n=function(e){Ee.disabled&&e.stopPropagation()};return t.addEventListener("keydown",n,!0),function(){t.removeEventListener("keydown",n,!0)}}}})),(0,H.useEffect)((function(){Ee.triggerInitialPropertiesConsolidation&&_(new Event("genericInitialPropertiesConsolidation"))}),[]);var f=function(e){if("clear_preset"===e){var t=function(e){e.code&&!["Enter","Space"].includes(e.code)||(e.preventDefault(),e.stopPropagation(),v((0,se.parseValue)(Ee,Ee.default,Ye.transformer,!ye&&Ee.model.trim)))},n=(0,W.equals)(Ee.value,Ee.default);return{icon:(0,J.jsx)(z(),{in:!n,children:Ne&&!Ne.isDummy&&De?(0,J.jsx)(Ne,{animation:De,reverse:!0}):(0,J.jsx)(G.A,{icon:"clear"})}),componentProperties:{"aria-hidden":n?"true":"false","tab-index":n?-1:0},onClick:t,onKeyDown:t,strategy:"component",tooltip:"Clear input"}}if("password_preset"===e){var r=function(e){e.code&&!["Enter","Space"].includes(e.code)||(e.preventDefault(),e.stopPropagation(),D((function(t){return void 0===t&&(t=Ee.hidden),Ee.hidden=!t,_(e),Ee.hidden})))};return{icon:Ne&&!Ne.isDummy&&Re?(0,J.jsx)(Ne,{animation:Re,reverse:!Ee.hidden}):Ee.hidden?"lock_open":"lock",onClick:r,onKeyDown:r,strategy:"component",tooltip:(Ee.hidden?"Show":"Hide")+" password"}}var o;return e&&("string"==typeof e&&(e={icon:e}),Object.prototype.hasOwnProperty.call(e,"onClick")||(e.domNodeProperties=null!==(o=e.domNodeProperties)&&void 0!==o?o:{},e.domNodeProperties["tab-index"]=-1,e.domNodeProperties["aria-hidden"]=!0)),e},p=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n=!0),"boolean"==typeof t?n?(0,J.jsx)(z(),{in:t,children:e}):t?e:"":n?(0,J.jsx)(z(),U()({},t,{children:e})):t.in?e:""},h=function(e){if("object"==typeof e&&e.tooltip){var t=e.tooltip;delete(e=U()({},e)).tooltip;var n=U()({},e);e.strategy="component",e.icon=(0,J.jsx)(ae.default,{value:t,children:(0,J.jsx)(G.A,U()({},n))})}return e},m=function(e){var t=(0,se.getConsolidatedProperties)(function(e){var t,n=(0,se.mapPropertiesIntoModel)(e,Ye.defaultProperties.model);return n.model.value=(0,se.parseValue)(n,n.model.value,te,!ye&&(null==(t=e.model)?void 0:t.trim)),je(n,n.model.state),n}(e));return["plain","text"].includes(t.editor)&&(t.selectableEditor=!1),t.selectableEditor||"plain"===t.editor||(t.editorIsActive=!0),"string"!=typeof t.representation&&(t.representation=(0,se.formatValue)(t,t.value,te,!t.focused)),t},_=function(e){(0,W.extend)(!0,Ee,m(Ee)),(0,se.triggerCallbackIfExists)(Ee,"change",ye,Ee,e)},v=function(e,t){var n;if(void 0===t&&(t=-1),F(!0),(0,W.isObject)(e)){var r=(n=e).target||n.detail;Ee.value=r?void 0===r.value?null:r.value:e}else Ee.value=e;var o=function(){ge((function(e){if(!be&&e.representation===Ee.representation&&!Ee.suggestionCreator&&-1===t)return e;var r=U()({},e,{representation:Ee.representation});if(!ye&&(0,W.equals)(e.value,Ee.value))return r;r.value=Ee.value;var o=!1;return e.modelState.pristine&&(Ee.dirty=!0,Ee.pristine=!1,o=!0),_(n),je(Ee,e.modelState)&&(o=!0),(0,se.triggerCallbackIfExists)(Ee,"changeValue",ye,Ee.value,n,Ee),o&&Ee.model.state&&(r.modelState=Ee.model.state,(0,se.triggerCallbackIfExists)(Ee,"changeState",ye,Ee.model.state,n,Ee)),(Xe||-1!==t)&&(0,se.triggerCallbackIfExists)(Ee,"select",ye,n,Ee),r}))},i=!ye&&Ee.model.trim;if(Ee.representation=-1!==t?we[t]:"string"==typeof Ee.value?Ee.value:(0,se.formatValue)(Ee,Ee.value,te),ke)if(Ee.suggestionCreator){var a=new AbortController,s=function(e){if(!a.signal.aborted){if(ue((function(t){return t instanceof AbortController&&!t.signal.aborted&&t.abort(),e})),-1===t){var n=(0,se.getValueFromSelection)(Ee.representation,(0,se.normalizeSelection)(e));null!==n||Ee.searchSelection?Ee.value=n:Ee.value=(0,se.parseValue)(Ee,Ee.representation,te,i)}o()}},l=Ee.suggestionCreator({abortController:a,properties:Ee,query:Ee.representation});null!=l&&l.then?(ue((function(e){return e instanceof AbortController&&!e.signal.aborted&&e.abort(),a})),ge((function(e){return U()({},e,{representation:Ee.representation})})),l.then(s,(function(){}))):s(l)}else{if(-1===t){var u=(0,se.getValueFromSelection)(Ee.representation,de);null!==u||Ee.searchSelection?Ee.value=u:Ee.value=(0,se.parseValue)(Ee,Ee.representation,te,i)}o()}else Ee.value=(0,se.parseValue)(Ee,Ee.value,te,i),o()},g=function(e){b(e),(0,se.triggerCallbackIfExists)(Ee,"click",ye,e,Ee),E(e)},y=function(e){(0,se.triggerCallbackIfExists)(Ee,"focus",ye,e,Ee),E(e)},b=function(e){(0,se.triggerCallbackIfExists)(Ee,"selectionChange",ye,e,Ee)},E=function(e){ge((function(t){var n=!1;t.modelState.focused||(Ee.focused=!0,n=!0),t.modelState.untouched&&(Ee.touched=!0,Ee.untouched=!1,n=!0);var r=t;return n&&(_(e),r=U()({},t,{modelState:Ee.model.state}),(0,se.triggerCallbackIfExists)(Ee,"changeState",ye,Ee.model.state,e,Ee)),(0,se.triggerCallbackIfExists)(Ee,"touch",ye,e,Ee),r}))},C=(0,H.useRef)(null),x=(0,H.useRef)(null),A=(0,H.useRef)(null),I=(0,se.translateKnownSymbols)(e),O=(0,H.useState)({end:0,start:0}),S=O[0],T=O[1],w=(0,H.useState)({editorIsActive:I.editorIsInitiallyActive||!1,selectionIsUnstable:!1}),P=w[0],L=w[1],N=(0,H.useState)(),R=N[0],D=N[1],M=(0,H.useState)(!1),k=M[0],F=M[1],j=(0,H.useState)(!1),q=j[0],K=j[1],Y=(0,se.determineInitialValue)(I,Ye.defaultProperties.model.default);Y instanceof Date&&(Y=Y.getTime()/1e3);var Q=(0,W.extend)(!0,(0,W.copy)(Ye.defaultProperties),I),ee=Q.type||(null==(r=Q.model)?void 0:r.type)||"string",te=Q.transformer?U()({},Ye.transformer,((o={})[ee]=(0,W.extend)(!0,(0,W.copy)(Ye.transformer[ee])||{},Q.transformer),o)):Ye.transformer,re=(0,H.useState)(),le=re[0],ue=re[1];(Q.selection||null!=(i=Q.model)&&i.selection)&&(le=Q.selection||(null==(a=Q.model)?void 0:a.selection)),le||"boolean"!==(Q.type||(null==(s=Q.model)?void 0:s.type))||(le=[{label:"No",value:!1},{label:"Yes",value:!0}]);var ce,de=le instanceof AbortController?[]:(0,se.normalizeSelection)(le,Q.labels),fe=le instanceof AbortController?[[],[]]:(0,se.getLabelAndValues)(de),pe=fe[0],he=fe[1],me=(0,H.useState)((function(){return{modelState:U()({},Ye.defaultModelState),representation:(0,se.determineInitialRepresentation)(Q,Ye.defaultProperties,Y,te,de),value:Y}})),ve=me[0],ge=me[1],ye=!Q.enforceUncontrolled&&(void 0!==(null==(l=I.model)?void 0:l.value)||void 0!==I.value)&&Boolean(I.onChange||I.onChangeValue),be=ye&&void 0!==I.representation;null!==Q.cursor&&"object"==typeof Q.cursor||(Q.cursor={}),void 0===Q.cursor.end&&(Q.cursor.end=S.end),void 0===Q.cursor.start&&(Q.cursor.start=S.start),void 0===Q.editorIsActive&&(Q.editorIsActive=P.editorIsActive),void 0===Q.hidden&&(Q.hidden=R),void 0===Q.representation&&(Q.representation=ve.representation),void 0===Q.showDeclaration&&(Q.showDeclaration=q),(0,se.deriveMissingPropertiesFromState)(Q,ve),void 0===Q.value?void 0===Q.representation&&void 0===(null==(ce=Q.model)?void 0:ce.value)&&(Q.representation=ve.representation):be||Q.value===ve.value||(Q.representation=void 0);var Ee=m(Q);void 0===Ee.hidden&&(Ee.hidden=Ee.name.startsWith("password")),Ee.cursor&&!(0,W.equals)(Ee.cursor,S)&&T(Ee.cursor),Ee.editorIsActive!==P.editorIsActive&&L(U()({},P,{editorIsActive:Ee.editorIsActive})),Ee.hidden!==R&&D(Ee.hidden),Ee.showDeclaration!==q&&K(Ee.showDeclaration);var xe={modelState:Ee.model.state,representation:Ee.representation,value:null!==(u=Ee.value)&&void 0!==u?u:null};(ye||(0,W.equals)(Ee.value,ve.value)&&Ee.representation===ve.representation)&&(0,W.equals)(Ee.model.state,ve.modelState)||ge(xe),ye&&(ge=(0,se.wrapStateSetter)(ge,xe)),(0,H.useImperativeHandle)(t,(function(){for(var e,t={modelState:Ee.model.state},n=ze(["cursor","editorIsActive","hidden","showDeclaration"]);!(e=n()).done;){var r,o=e.value;Object.prototype.hasOwnProperty.call(I,o)||(t[o]=null!==(r=Ee[o])&&void 0!==r&&r)}return be||(t.representation=Ee.representation),ye||(t.value=Ee.value),{properties:Ee,references:{input:C,menu:A,wrapper:x},state:t}}));var Ae={ref:C,id:d,componentProperties:Ee.componentProperties,domNodeProperties:Ee.domNodeProperties,onClick:g,onFocus:function(e){F(!0),y(e)},disabled:Ee.disabled,invalid:Ee.invalid&&Ee.showValidationState&&(Ee.showInitialValidationState||Ee.visited),helpText:{children:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(z(),{in:Ee.selectableEditor&&"string"===Ee.type&&"plain"!==Ee.editor,children:(0,J.jsx)(X.A,{domNodeProperties:{"aria-label":Ee.editorIsActive?"plain":Ee.editor.startsWith("code")?"code":"richtext"},icon:Ee.editorIsActive?"subject":Ee.editor.startsWith("code")?"code":"text_format",onClick:function(e){e.preventDefault(),e.stopPropagation(),L((function(t){var n=t.editorIsActive;return Ee.editorIsActive=!n,_(e),(0,se.triggerCallbackIfExists)(Ee,"changeEditorIsActive",ye,Ee.editorIsActive,e,Ee),{editorIsActive:Ee.editorIsActive,selectionIsUnstable:!0}}))}})}),(0,J.jsx)(z(),{in:Boolean(Ee.declaration),children:(0,J.jsx)(X.A,{"aria-expanded":Ee.showDeclaration?"true":"false","aria-label":"declaration",value:Ee.showDeclaration,icon:"more_horiz",onIcon:"more_vert",onChange:function(e){K((function(t){return Ee.showDeclaration=!t,_(e),(0,se.triggerCallbackIfExists)(Ee,"changeShowDeclaration",ye,Ee.showDeclaration,e,Ee),Ee.showDeclaration}))}})}),(0,J.jsx)(z(),{id:d+"-declaration",in:Ee.showDeclaration,children:Ee.declaration}),(0,J.jsx)(z(),{in:!Ee.showDeclaration&&Ee.invalid&&Ee.showValidationState&&(Ee.showInitialValidationState||Ee.visited),children:(0,J.jsx)($.A,{applyToChildren:!0,children:(0,J.jsx)("span",{id:d+"-error-message",children:(0,se.renderMessage)(Ee.invalidMaximum&&Ee.maximumText||Ee.invalidMaximumLength&&Ee.maximumLengthText||Ee.invalidMinimum&&Ee.minimumText||Ee.invalidMinimumLength&&Ee.minimumLengthText||Ee.invalidInvertedPattern&&Ee.invertedPatternText||Ee.invalidPattern&&Ee.patternText||Ee.invalidRequired&&Ee.requiredText,U()({formatValue:function(e){return(0,se.formatValue)(Ee,e,te)}},Ee))})})})]}),persistent:!0},name:Ee.name||Ee.description,label:Ee.description||Ee.name},Ie={placeholder:Ee.placeholder,characterCount:"number"==typeof Ee.maximumLength&&!isNaN(Ee.maximumLength)&&Ee.maximumLength>=0,value:Ee.representation,domNodeProperties:U()({"tab-index":Ee.disabled?"0":"-1"},Ee.domNodeProperties),onKeyUp:function(e){e.code&&(b(e),(0,se.triggerCallbackIfExists)(Ee,"keyUp",ye,e,Ee))}},Oe=!Ee.selection&&"string"===Ee.type&&Ee.editorIsActive&&("code"===Ee.editor||Ee.editor.startsWith("code(")&&Ee.editor.endsWith(")")||"richtext"===Ee.editor||Ee.editor.startsWith("richtext(")&&Ee.editor.endsWith(")")),Se=Oe&&Ee.editor.startsWith("code"),Te=[],we=[],Le=[],ke=Boolean(Ee.suggestionCreator||pe.length&&(Ee.searchSelection||Ee.suggestSelection));if(ke&&pe.length){Ee.suggestSelection=!Ee.searchSelection;for(var Ve,We=0,qe=ze(pe);!(Ve=qe()).done;){var He=Ve.value;if((0,W.isFunction)(Ee.children)){var Ke=Ee.children({index:We,normalizedSelection:de,properties:Ee,query:Ee.representation,suggestion:He,value:he[We]});Ke&&(Te.push(Ke),we.push(He),Le.push(he[We]))}else if(!Ee.representation||Ee.suggestionCreator||Be(He,Ee.representation)){var $e,Ge=(0,W.mark)(He,(null==($e=Ee.representation)?void 0:$e.split(" "))||"",{marker:function(e){return(0,J.jsx)("span",{className:Me.textInputSuggestionsSuggestionMark,children:e})},normalizer:function(e){return String(e).toLowerCase()},skipTagDelimitedParts:null}).map((function(e,t){return(0,J.jsx)("span",{children:e},t)}));Te.push(Ge),we.push(He),Le.push(he[We])}We+=1}}var Xe=(Boolean(de)||Boolean(Ee.labels))&&!ke,Qe={};"number"===Ee.type?(Qe.step=Ee.step,Ee.maximum!==1/0&&(Qe.max=Ee.maximum),Ee.minimum!==-1/0&&(Qe.min=Ee.minimum)):"string"===Ee.type?(Ee.maximumLength>=0&&Ee.maximumLength!==1/0&&(Qe.maximumLength=Ee.maximumLength),Ee.minimumLength>0&&(Qe.minimumLength=Ee.minimumLength),"plain"!==Ee.editor&&(Qe.rows=Ee.rows)):["date","date-local","date","date-local","datetime","datetime-local","time","time-local"].includes(Ee.type)&&(Qe.step=Ee.step,Ee.maximum!==1/0&&(Qe.max=(0,se.formatValue)(Ee,Ee.maximum,te)),Ee.minimum!==-1/0&&(Qe.min=(0,se.formatValue)(Ee,Ee.minimum,te)));var Je={};if(Oe)if(Ee.editor.startsWith("code(")&&Ee.editor.endsWith(")")){var Ze=Ee.editor.substring(5,Ee.editor.length-1);Ze&&(Je.editor={},B.javascript&&["js","jsx","ts","tsx","script","javascript","typescript"].includes(Ze.toLowerCase())?Je.editor.mode=(0,B.javascript)({jsx:!0,typescript:!0}):V.css&&["css","style","styles","cascadingstylesheet","cascadingstylesheets"].includes(Ze.toLowerCase())&&(Je.editor.mode=(0,V.css)()))}else Je.editor=Fe;return(0,J.jsx)(ie.default,{strict:Ye.strict,themeConfiguration:Ee.themeConfiguration,tooltip:Ee.tooltip,children:(0,J.jsxs)("div",U()({ref:x,className:[Me.textInput].concat(Ee.className).join(" "),style:Ee.styles,onBlur:function(e){ge((function(t){var n;if(e.relatedTarget&&null!=(n=x.current)&&n.contains(e.relatedTarget))return t;F(!1);var r=!1,o=!1;if(t.modelState.focused&&(Ee.focused=!1,r=!0,o=!0),t.modelState.visited||(Ee.visited=!0,r=!0,o=!0),!ke||Ee.suggestSelection){var i=(0,se.getValueFromSelection)(Ee.representation,de);null===i?(Ee.value=(0,se.parseValue)(Ee,Ee.value,te,Ee.model.trim),Ee.representation=(0,se.formatValue)(Ee,Ee.value,te)):Ee.value=i}return(0,W.equals)(t.value,Ee.value)&&t.representation===Ee.representation||(r=!0),r&&_(e),(0,W.equals)(t.value,Ee.value)||(0,se.triggerCallbackIfExists)(Ee,"changeValue",ye,Ee.value,e,Ee),o&&(0,se.triggerCallbackIfExists)(Ee,"changeState",ye,Ee.model.state,e,Ee),(0,se.triggerCallbackIfExists)(Ee,"blur",ye,e,Ee),r?{modelState:Ee.model.state,representation:Ee.representation,value:Ee.value}:t}))},onKeyDown:function(e){var t,n;!Ee.disabled&&ke&&"ArrowDown"===e.code&&e.target===(null==(t=C.current)||null==(t=t.input)?void 0:t.current)&&(null==(n=A.current)||n.focusItem(0)),(Xe||"string"===Ee.type&&"plain"!==Ee.editor)&&Ue(e),(0,se.triggerCallbackIfExists)(Ee,"keyDown",ye,e,Ee)}},ke?{role:"search"}:{},{children:[p((0,J.jsx)(ne,U()({},Ae,{name:Ee.name,onChange:v,onClick:g,onKeyDown:function(e){Ee.disabled||"Tab"===e.code||e.preventDefault()},options:de,value:Ee.value})),Xe),Oe?Se?p((0,J.jsx)(Ce,U()({},Ae,Ie,Qe,{onChange:v},Je,{ref:C})),Oe):(0,J.jsx)(Pe,U()({},Ae,Ie,Qe,{onChange:v},Je,{ref:C})):"",p((0,J.jsxs)("div",{children:[ke?(0,J.jsx)(Z,{ref:A,onKeyDown:Ue,pending:le instanceof AbortController,classNames:[Me.textInputSuggestions],itemClassNames:[Me.textInputSuggestionsSuggestion],pendingClassNames:[Me.textInputSuggestionsPending],onFocus:y,onSelect:function(e){v(Le[e.detail.index],e.detail.index),F(!1)},open:Boolean(we.length)&&k&&!(1===we.length&&we[0]===Ee.representation),options:Te}):"","string"===Ee.type&&"plain"!==Ee.editor?(0,J.jsx)(_e,U()({},Ae,Ie,Qe,{ref:C,onChange:v})):(0,J.jsx)(oe,U()({},Ae,Ie,Qe,{onChange:v,leadingIcon:h(f(Ee.leadingIcon)),trailingIcon:h(f(Ee.trailingIcon)),type:function(e){var t,n;return"string"===e.type?e.hidden?"password":ke?"search":"text":null!==(t=null==(n=te[e.type])?void 0:n.type)&&void 0!==t?t:e.type}(Ee)}))]}),!(Oe||Xe),Ee.editor.startsWith("code"))]}))})};Xe.displayName="TextInput";var Ye=(0,H.memo)((0,H.forwardRef)(Xe));Ye.wrapped=Xe,Ye.webComponentAdapterWrapped="react",Ye.defaultModelState=Ve.defaultModelState,Ye.defaultProperties=U()({},Ve.defaultProperties,{cursor:void 0,model:U()({},Ve.defaultProperties.model,{state:void 0,value:void 0}),representation:void 0,value:void 0}),Ye.locales=W.LOCALES,Ye.propTypes=Ve.propertyTypes,Ye.renderProperties=Ve.renderProperties,Ye.strict=!1,Ye.transformer=Ke;var Qe=Ye;return R}())}],__webpack_module_cache__={};function __nested_webpack_require_111933__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__nested_webpack_require_111933__),n.loaded=!0,n.exports}__nested_webpack_require_111933__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_111933__.d(t,{a:t}),t},__nested_webpack_require_111933__.d=function(e,t){for(var n in t)__nested_webpack_require_111933__.o(t,n)&&!__nested_webpack_require_111933__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_111933__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__nested_webpack_require_111933__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_111933__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_111933__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __nested_webpack_exports__={};__nested_webpack_require_111933__.r(__nested_webpack_exports__),__nested_webpack_require_111933__.d(__nested_webpack_exports__,{TextInput:function(){return _TextInput}});var clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__=__nested_webpack_require_111933__(0),clientnode_property_types__WEBPACK_IMPORTED_MODULE_0___default=__nested_webpack_require_111933__.n(clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__),react_input_material_dist_components_TextInput__WEBPACK_IMPORTED_MODULE_1__=__nested_webpack_require_111933__(43),react_input_material_dist_components_TextInput__WEBPACK_IMPORTED_MODULE_1___default=__nested_webpack_require_111933__.n(react_input_material_dist_components_TextInput__WEBPACK_IMPORTED_MODULE_1__),web_component_wrapper__WEBPACK_IMPORTED_MODULE_2__=__nested_webpack_require_111933__(1),web_component_wrapper__WEBPACK_IMPORTED_MODULE_2___default=__nested_webpack_require_111933__.n(web_component_wrapper__WEBPACK_IMPORTED_MODULE_2__),_TextInput=web_component_wrapper__WEBPACK_IMPORTED_MODULE_2___default()(react_input_material_dist_components_TextInput__WEBPACK_IMPORTED_MODULE_1___default(),"TextInput",{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,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,visited:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalid:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMaximum:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMaximumLength:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMinimum:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMinimumLength:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidPattern:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidRequired:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,valid:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,name:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.string}});return __nested_webpack_exports__.default=_TextInput,__nested_webpack_exports__}()},module.exports=t(__webpack_require__(20),__webpack_require__(6),__webpack_require__(26),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(84),__webpack_require__(76),__webpack_require__(24),__webpack_require__(82),__webpack_require__(64),__webpack_require__(85),__webpack_require__(86),__webpack_require__(48),__webpack_require__(49),__webpack_require__(47),__webpack_require__(47),__webpack_require__(11),__webpack_require__(0),__webpack_require__(75),__webpack_require__(47),__webpack_require__(83),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(1),__webpack_require__(10),__webpack_require__(15),__webpack_require__(19),__webpack_require__(7),__webpack_require__(61),__webpack_require__(40),__webpack_require__(41),__webpack_require__(42))}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__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__(131);return __webpack_exports__}()}));
|
|
490
|
+
var r=function(){function e(){this.rafIDs=new Map}return e.prototype.request=function(e,t){var n=this;this.cancel(e);var r=requestAnimationFrame((function(r){n.rafIDs.delete(e),t(r)}));this.rafIDs.set(e,r)},e.prototype.cancel=function(e){var t=this.rafIDs.get(e);t&&(cancelAnimationFrame(t),this.rafIDs.delete(e))},e.prototype.cancelAll=function(){var e=this;this.rafIDs.forEach((function(t,n){e.cancel(n)}))},e.prototype.getQueue=function(){var e=[];return this.rafIDs.forEach((function(t,n){e.push(n)})),e},e}()},function(e,t,n){n.r(t),n.d(t,{MDCCircularProgress:function(){return u},MDCCircularProgressFoundation:function(){return l},cssClasses:function(){return a},strings:function(){return s}});var r=n(2),o=n(5),i=n(4),a={INDETERMINATE_CLASS:"mdc-circular-progress--indeterminate",CLOSED_CLASS:"mdc-circular-progress--closed"},s={ARIA_HIDDEN:"aria-hidden",ARIA_VALUENOW:"aria-valuenow",DETERMINATE_CIRCLE_SELECTOR:".mdc-circular-progress__determinate-circle",RADIUS:"r",STROKE_DASHOFFSET:"stroke-dashoffset"},l=function(e){function t(n){return e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},getDeterminateCircleAttribute:function(){return null},hasClass:function(){return!1},removeClass:function(){},removeAttribute:function(){},setAttribute:function(){},setDeterminateCircleAttribute:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.closed=this.adapter.hasClass(a.CLOSED_CLASS),this.determinate=!this.adapter.hasClass(a.INDETERMINATE_CLASS),this.progress=0,this.determinate&&this.adapter.setAttribute(s.ARIA_VALUENOW,this.progress.toString()),this.radius=Number(this.adapter.getDeterminateCircleAttribute(s.RADIUS))},t.prototype.setDeterminate=function(e){this.determinate=e,this.determinate?(this.adapter.removeClass(a.INDETERMINATE_CLASS),this.setProgress(this.progress)):(this.adapter.addClass(a.INDETERMINATE_CLASS),this.adapter.removeAttribute(s.ARIA_VALUENOW))},t.prototype.isDeterminate=function(){return this.determinate},t.prototype.setProgress=function(e){if(this.progress=e,this.determinate){var t=(1-this.progress)*(2*Math.PI*this.radius);this.adapter.setDeterminateCircleAttribute(s.STROKE_DASHOFFSET,""+t),this.adapter.setAttribute(s.ARIA_VALUENOW,this.progress.toString())}},t.prototype.getProgress=function(){return this.progress},t.prototype.open=function(){this.closed=!1,this.adapter.removeClass(a.CLOSED_CLASS),this.adapter.removeAttribute(s.ARIA_HIDDEN)},t.prototype.close=function(){this.closed=!0,this.adapter.addClass(a.CLOSED_CLASS),this.adapter.setAttribute(s.ARIA_HIDDEN,"true")},t.prototype.isClosed=function(){return this.closed},t}(i.I),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.initialize=function(){this.determinateCircle=this.root.querySelector(l.strings.DETERMINATE_CIRCLE_SELECTOR)},t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"determinate",{set:function(e){this.foundation.setDeterminate(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progress",{set:function(e){this.foundation.setProgress(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isClosed",{get:function(){return this.foundation.isClosed()},enumerable:!1,configurable:!0}),t.prototype.open=function(){this.foundation.open()},t.prototype.close=function(){this.foundation.close()},t.prototype.getDefaultFoundation=function(){var e=this;return new l({addClass:function(t){e.root.classList.add(t)},getDeterminateCircleAttribute:function(t){return e.determinateCircle.getAttribute(t)},hasClass:function(t){return e.root.classList.contains(t)},removeClass:function(t){e.root.classList.remove(t)},removeAttribute:function(t){e.root.removeAttribute(t)},setAttribute:function(t,n){e.root.setAttribute(t,n)},setDeterminateCircleAttribute:function(t,n){e.determinateCircle.setAttribute(t,n)}})},t}(o.O)},function(e,t,n){n.r(t),n.d(t,{MDCRipple:function(){return o.N},MDCRippleFoundation:function(){return a.E},cssClasses:function(){return i.Y7},numbers:function(){return i.nL},strings:function(){return i.P$},util:function(){return r}});var r=n(52),o=n(27),i=n(63),a=n(25)},function(e,t,n){function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.r(t),n.d(t,{CSSTransition:function(){return f},ReplaceTransition:function(){return A},SwitchTransition:function(){return L},Transition:function(){return l.default},TransitionGroup:function(){return b},config:function(){return N.A}});var o=n(78),i=n(79);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=n(0),l=n(77),u=n(81),c=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=a(n.className,r):n.setAttribute("class",a(n.className&&n.className.baseVal||"",r)));var n,r}))},d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}(0,i.A)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&(0,u.F)(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&c(e,r),o&&c(e,o),i&&c(e,i)},n.render=function(){var e=this.props,t=(e.classNames,(0,o.A)(e,["classNames"]));return s.createElement(l.default,r({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(s.Component);d.defaultProps={classNames:""},d.propTypes={};var f=d,p=n(7);var h=n(80);function m(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),n}function _(e,t,n){return null!=n[t]?n[t]:e.props[t]}function v(e,t,n){var r=m(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var u=o[l][r];s[o[l][r]]=n(u)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if((0,s.isValidElement)(a)){var l=i in t,u=i in r,c=t[i],d=(0,s.isValidElement)(c)&&!c.props.in;!u||l&&!d?u||!l||d?u&&l&&(0,s.isValidElement)(c)&&(o[i]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:c.props.in,exit:_(a,"exit",e),enter:_(a,"enter",e)})):o[i]=(0,s.cloneElement)(a,{in:!1}):o[i]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:_(a,"exit",e),enter:_(a,"enter",e)})}})),o}var g=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},y=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,i.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,m(n.children,(function(e){return(0,s.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:_(e,"appear",n),enter:_(e,"enter",n),exit:_(e,"exit",n)})}))):v(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=m(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=r({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,o.A)(e,["component","childFactory"]),i=this.state.contextValue,a=g(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?s.createElement(h.A.Provider,{value:i},a):s.createElement(h.A.Provider,{value:i},s.createElement(t,r,a))},t}(s.Component);y.propTypes={},y.defaultProps={component:"div",childFactory:function(e){return e}};var b=y,E=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}(0,i.A)(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,o=this.props.children,i=s.Children.toArray(o)[t];if(i.props[e]&&(r=i.props)[e].apply(r,n),this.props[e]){var a=i.props.nodeRef?void 0:p.findDOMNode(this);this.props[e](a)}},n.render=function(){var e=this.props,t=e.children,n=e.in,r=(0,o.A)(e,["children","in"]),i=s.Children.toArray(t),a=i[0],l=i[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,s.createElement(b,r,n?s.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):s.cloneElement(l,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(s.Component);E.propTypes={};var C,x,A=E;var I="out-in",O="in-out",S=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},T=((C={})[I]=function(e){var t=e.current,n=e.changeState;return s.cloneElement(t,{in:!1,onExited:S(t,"onExited",(function(){n(l.ENTERING,null)}))})},C[O]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,s.cloneElement(r,{in:!0,onEntered:S(r,"onEntered",(function(){n(l.ENTERING)}))})]},C),w=((x={})[I]=function(e){var t=e.children,n=e.changeState;return s.cloneElement(t,{in:!0,onEntered:S(t,"onEntered",(function(){n(l.ENTERED,s.cloneElement(t,{in:!0}))}))})},x[O]=function(e){var t=e.current,n=e.children,r=e.changeState;return[s.cloneElement(t,{in:!1,onExited:S(t,"onExited",(function(){r(l.ENTERED,s.cloneElement(n,{in:!0}))}))}),s.cloneElement(n,{in:!0})]},x),P=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={status:l.ENTERED,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}(0,i.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===l.ENTERING&&e.mode===O?{status:l.ENTERING}:!t.current||(n=t.current,r=e.children,n===r||s.isValidElement(n)&&s.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:s.cloneElement(e.children,{in:!0})}:{status:l.EXITING};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,o=this.state,i=o.status,a=o.current,u={children:n,current:a,changeState:this.changeState,status:i};switch(i){case l.ENTERING:e=w[r](u);break;case l.EXITING:e=T[r](u);break;case l.ENTERED:e=a}return s.createElement(h.A.Provider,{value:{isMounting:!this.appeared}},e)},t}(s.Component);P.propTypes={},P.defaultProps={mode:I};var L=P,N=n(100)},function(e,t){t.A={disabled:!1}},function(e,t,n){n.r(t),n.d(t,{MDCIconButtonToggle:function(){return d},MDCIconButtonToggleFoundation:function(){return u},cssClasses:function(){return s},strings:function(){return l}});var r=n(2),o=n(5),i=n(27),a=n(4),s={ICON_BUTTON_ON:"mdc-icon-button--on",ROOT:"mdc-icon-button"},l={ARIA_LABEL:"aria-label",ARIA_PRESSED:"aria-pressed",DATA_ARIA_LABEL_OFF:"data-aria-label-off",DATA_ARIA_LABEL_ON:"data-aria-label-on",CHANGE_EVENT:"MDCIconButtonToggle:change"},u=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.hasToggledAriaLabel=!1,o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},hasClass:function(){return!1},notifyChange:function(){},removeClass:function(){},getAttr:function(){return null},setAttr:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this.adapter.getAttr(l.DATA_ARIA_LABEL_ON),t=this.adapter.getAttr(l.DATA_ARIA_LABEL_OFF);if(e&&t){if(null!==this.adapter.getAttr(l.ARIA_PRESSED))throw new Error("MDCIconButtonToggleFoundation: Button should not set `aria-pressed` if it has a toggled aria label.");this.hasToggledAriaLabel=!0}else this.adapter.setAttr(l.ARIA_PRESSED,String(this.isOn()))},t.prototype.handleClick=function(){this.toggle(),this.adapter.notifyChange({isOn:this.isOn()})},t.prototype.isOn=function(){return this.adapter.hasClass(s.ICON_BUTTON_ON)},t.prototype.toggle=function(e){if(void 0===e&&(e=!this.isOn()),e?this.adapter.addClass(s.ICON_BUTTON_ON):this.adapter.removeClass(s.ICON_BUTTON_ON),this.hasToggledAriaLabel){var t=e?this.adapter.getAttr(l.DATA_ARIA_LABEL_ON):this.adapter.getAttr(l.DATA_ARIA_LABEL_OFF);this.adapter.setAttr(l.ARIA_LABEL,t||"")}else this.adapter.setAttr(l.ARIA_PRESSED,""+e)},t}(a.I),c=u.strings,d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rippleComponent=t.createRipple(),t}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialSyncWithDOM=function(){var e=this;this.handleClick=function(){e.foundation.handleClick()},this.listen("click",this.handleClick)},t.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.ripple.destroy(),e.prototype.destroy.call(this)},t.prototype.getDefaultFoundation=function(){var e=this;return new u({addClass:function(t){return e.root.classList.add(t)},hasClass:function(t){return e.root.classList.contains(t)},notifyChange:function(t){e.emit(c.CHANGE_EVENT,t)},removeClass:function(t){return e.root.classList.remove(t)},getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)}})},Object.defineProperty(t.prototype,"ripple",{get:function(){return this.rippleComponent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"on",{get:function(){return this.foundation.isOn()},set:function(e){this.foundation.toggle(e)},enumerable:!1,configurable:!0}),t.prototype.createRipple=function(){var e=new i.N(this.root);return e.unbounded=!0,e},t}(o.O)},function(e,t,n){n.r(t),n.d(t,{MDCList:function(){return r.f},MDCListFoundation:function(){return i.Y},cssClasses:function(){return o.Y7},deprecatedClassNameMap:function(){return o.PY},evolutionAttribute:function(){return o.iP},evolutionClassNameMap:function(){return o.$z},numbers:function(){return o.nL},strings:function(){return o.P$}});var r=n(91),o=n(51),i=n(74)},function(e,t,n){n.r(t),n.d(t,{Corner:function(){return o.OK},CornerBit:function(){return o.Jv},MDCMenuSurface:function(){return r.X},MDCMenuSurfaceFoundation:function(){return i.O},cssClasses:function(){return o.Y7},numbers:function(){return o.nL},strings:function(){return o.P$}});var r=n(92),o=n(50),i=n(54)},function(e,t,n){n.r(t),n.d(t,{AnimationFrame:function(){return o.K},getCorrectEventName:function(){return r.getCorrectEventName},getCorrectPropertyName:function(){return r.getCorrectPropertyName},util:function(){return r}});var r=n(62),o=n(96)},function(e,t,n){n.r(t),n.d(t,{Corner:function(){return r.OK},DefaultFocusState:function(){return i.hf},MDCMenu:function(){return o.C},MDCMenuFoundation:function(){return a.d},cssClasses:function(){return i.Y7},numbers:function(){return i.nL},strings:function(){return i.P$}});var r=n(50),o=n(93),i=n(55),a=n(94)},function(e,t,n){n.r(t),n.d(t,{MDCFloatingLabel:function(){return r.$},MDCFloatingLabelFoundation:function(){return i.K},cssClasses:function(){return o.Y}});var r=n(69),o=n(87),i=n(70)},function(e,t,n){n.r(t),n.d(t,{MDCLineRipple:function(){return r.l},MDCLineRippleFoundation:function(){return i.C},cssClasses:function(){return o.Y}});var r=n(71),o=n(89),i=n(88)},function(e,t,n){n.r(t),n.d(t,{MDCNotchedOutline:function(){return r.i},MDCNotchedOutlineFoundation:function(){return i.z},cssClasses:function(){return o.Y7},numbers:function(){return o.nL},strings:function(){return o.P$}});var r=n(72),o=n(73),i=n(90)},function(e,t,n){n.r(t),n.d(t,{MDCSelect:function(){return S},MDCSelectFoundation:function(){return g},MDCSelectHelperText:function(){return C},MDCSelectHelperTextFoundation:function(){return E},MDCSelectIcon:function(){return O},MDCSelectIconFoundation:function(){return I},cssClasses:function(){return p},helperTextCssClasses:function(){return b},helperTextStrings:function(){return y},iconStrings:function(){return x},numbers:function(){return m},strings:function(){return h}});var r=n(2),o=n(5),i=n(69),a=n(71),s=n(50),l=n(93),u=n(55),c=n(72),d=n(27),f=n(25),p={ACTIVATED:"mdc-select--activated",DISABLED:"mdc-select--disabled",FOCUSED:"mdc-select--focused",INVALID:"mdc-select--invalid",MENU_INVALID:"mdc-select__menu--invalid",OUTLINED:"mdc-select--outlined",REQUIRED:"mdc-select--required",ROOT:"mdc-select",WITH_LEADING_ICON:"mdc-select--with-leading-icon"},h={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_SELECTED_ATTR:"aria-selected",CHANGE_EVENT:"MDCSelect:change",HIDDEN_INPUT_SELECTOR:'input[type="hidden"]',LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-select__icon",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",MENU_SELECTOR:".mdc-select__menu",OUTLINE_SELECTOR:".mdc-notched-outline",SELECTED_TEXT_SELECTOR:".mdc-select__selected-text",SELECT_ANCHOR_SELECTOR:".mdc-select__anchor",VALUE_ATTR:"data-value"},m={LABEL_SCALE:.75,UNSET_INDEX:-1,CLICK_DEBOUNCE_TIMEOUT_MS:330},_=n(4),v=n(95),g=function(e){function t(n,o){void 0===o&&(o={});var i=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return i.disabled=!1,i.isMenuOpen=!1,i.useDefaultValidation=!0,i.customValidity=!0,i.lastSelectedIndex=m.UNSET_INDEX,i.clickDebounceTimeout=0,i.recentlyClicked=!1,i.leadingIcon=o.leadingIcon,i.helperText=o.helperText,i}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return p},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return m},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return h},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},activateBottomLine:function(){},deactivateBottomLine:function(){},getSelectedIndex:function(){return-1},setSelectedIndex:function(){},hasLabel:function(){return!1},floatLabel:function(){},getLabelWidth:function(){return 0},setLabelRequired:function(){},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){},setRippleCenter:function(){},notifyChange:function(){},setSelectedText:function(){},isSelectAnchorFocused:function(){return!1},getSelectAnchorAttr:function(){return""},setSelectAnchorAttr:function(){},removeSelectAnchorAttr:function(){},addMenuClass:function(){},removeMenuClass:function(){},openMenu:function(){},closeMenu:function(){},getAnchorElement:function(){return null},setMenuAnchorElement:function(){},setMenuAnchorCorner:function(){},setMenuWrapFocus:function(){},focusMenuItemAtIndex:function(){},getMenuItemCount:function(){return 0},getMenuItemValues:function(){return[]},getMenuItemTextAtIndex:function(){return""},isTypeaheadInProgress:function(){return!1},typeaheadMatchItem:function(){return-1}}},enumerable:!1,configurable:!0}),t.prototype.getSelectedIndex=function(){return this.adapter.getSelectedIndex()},t.prototype.setSelectedIndex=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),e>=this.adapter.getMenuItemCount()||(e===m.UNSET_INDEX?this.adapter.setSelectedText(""):this.adapter.setSelectedText(this.adapter.getMenuItemTextAtIndex(e).trim()),this.adapter.setSelectedIndex(e),t&&this.adapter.closeMenu(),n||this.lastSelectedIndex===e||this.handleChange(),this.lastSelectedIndex=e)},t.prototype.setValue=function(e,t){void 0===t&&(t=!1);var n=this.adapter.getMenuItemValues().indexOf(e);this.setSelectedIndex(n,!1,t)},t.prototype.getValue=function(){var e=this.adapter.getSelectedIndex(),t=this.adapter.getMenuItemValues();return e!==m.UNSET_INDEX?t[e]:""},t.prototype.getDisabled=function(){return this.disabled},t.prototype.setDisabled=function(e){this.disabled=e,this.disabled?(this.adapter.addClass(p.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(p.DISABLED),this.leadingIcon&&this.leadingIcon.setDisabled(this.disabled),this.disabled?this.adapter.removeSelectAnchorAttr("tabindex"):this.adapter.setSelectAnchorAttr("tabindex","0"),this.adapter.setSelectAnchorAttr("aria-disabled",this.disabled.toString())},t.prototype.openMenu=function(){this.adapter.addClass(p.ACTIVATED),this.adapter.openMenu(),this.isMenuOpen=!0,this.adapter.setSelectAnchorAttr("aria-expanded","true")},t.prototype.setHelperTextContent=function(e){this.helperText&&this.helperText.setContent(e)},t.prototype.layout=function(){if(this.adapter.hasLabel()){var e=this.getValue().length>0,t=this.adapter.hasClass(p.FOCUSED),n=e||t,r=this.adapter.hasClass(p.REQUIRED);this.notchOutline(n),this.adapter.floatLabel(n),this.adapter.setLabelRequired(r)}},t.prototype.layoutOptions=function(){var e=this.adapter.getMenuItemValues().indexOf(this.getValue());this.setSelectedIndex(e,!1,!0)},t.prototype.handleMenuOpened=function(){if(0!==this.adapter.getMenuItemValues().length){var e=this.getSelectedIndex(),t=e>=0?e:0;this.adapter.focusMenuItemAtIndex(t)}},t.prototype.handleMenuClosing=function(){this.adapter.setSelectAnchorAttr("aria-expanded","false")},t.prototype.handleMenuClosed=function(){this.adapter.removeClass(p.ACTIVATED),this.isMenuOpen=!1,this.adapter.isSelectAnchorFocused()||this.blur()},t.prototype.handleChange=function(){this.layout(),this.adapter.notifyChange(this.getValue()),this.adapter.hasClass(p.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},t.prototype.handleMenuItemAction=function(e){this.setSelectedIndex(e,!0)},t.prototype.handleFocus=function(){this.adapter.addClass(p.FOCUSED),this.layout(),this.adapter.activateBottomLine()},t.prototype.handleBlur=function(){this.isMenuOpen||this.blur()},t.prototype.handleClick=function(e){this.disabled||this.recentlyClicked||(this.setClickDebounceTimeout(),this.isMenuOpen?this.adapter.closeMenu():(this.adapter.setRippleCenter(e),this.openMenu()))},t.prototype.handleKeydown=function(e){if(!this.isMenuOpen&&this.adapter.hasClass(p.FOCUSED)){var t=(0,v.l5)(e)===v._.ENTER,n=(0,v.l5)(e)===v._.SPACEBAR,r=(0,v.l5)(e)===v._.ARROW_UP,o=(0,v.l5)(e)===v._.ARROW_DOWN;if(!(e.ctrlKey||e.metaKey)&&(!n&&e.key&&1===e.key.length||n&&this.adapter.isTypeaheadInProgress())){var i=n?" ":e.key,a=this.adapter.typeaheadMatchItem(i,this.getSelectedIndex());return a>=0&&this.setSelectedIndex(a),void e.preventDefault()}(t||n||r||o)&&(this.openMenu(),e.preventDefault())}},t.prototype.notchOutline=function(e){if(this.adapter.hasOutline()){var t=this.adapter.hasClass(p.FOCUSED);if(e){var n=m.LABEL_SCALE,r=this.adapter.getLabelWidth()*n;this.adapter.notchOutline(r)}else t||this.adapter.closeOutline()}},t.prototype.setLeadingIconAriaLabel=function(e){this.leadingIcon&&this.leadingIcon.setAriaLabel(e)},t.prototype.setLeadingIconContent=function(e){this.leadingIcon&&this.leadingIcon.setContent(e)},t.prototype.getUseDefaultValidation=function(){return this.useDefaultValidation},t.prototype.setUseDefaultValidation=function(e){this.useDefaultValidation=e},t.prototype.setValid=function(e){this.useDefaultValidation||(this.customValidity=e),this.adapter.setSelectAnchorAttr("aria-invalid",(!e).toString()),e?(this.adapter.removeClass(p.INVALID),this.adapter.removeMenuClass(p.MENU_INVALID)):(this.adapter.addClass(p.INVALID),this.adapter.addMenuClass(p.MENU_INVALID)),this.syncHelperTextValidity(e)},t.prototype.isValid=function(){return this.useDefaultValidation&&this.adapter.hasClass(p.REQUIRED)&&!this.adapter.hasClass(p.DISABLED)?this.getSelectedIndex()!==m.UNSET_INDEX&&(0!==this.getSelectedIndex()||Boolean(this.getValue())):this.customValidity},t.prototype.setRequired=function(e){e?this.adapter.addClass(p.REQUIRED):this.adapter.removeClass(p.REQUIRED),this.adapter.setSelectAnchorAttr("aria-required",e.toString()),this.adapter.setLabelRequired(e)},t.prototype.getRequired=function(){return"true"===this.adapter.getSelectAnchorAttr("aria-required")},t.prototype.init=function(){var e=this.adapter.getAnchorElement();e&&(this.adapter.setMenuAnchorElement(e),this.adapter.setMenuAnchorCorner(s.OK.BOTTOM_START)),this.adapter.setMenuWrapFocus(!1),this.setDisabled(this.adapter.hasClass(p.DISABLED)),this.syncHelperTextValidity(!this.adapter.hasClass(p.INVALID)),this.layout(),this.layoutOptions()},t.prototype.blur=function(){this.adapter.removeClass(p.FOCUSED),this.layout(),this.adapter.deactivateBottomLine(),this.adapter.hasClass(p.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},t.prototype.syncHelperTextValidity=function(e){if(this.helperText){this.helperText.setValidity(e);var t=this.helperText.isVisible(),n=this.helperText.getId();t&&n?this.adapter.setSelectAnchorAttr(h.ARIA_DESCRIBEDBY,n):this.adapter.removeSelectAnchorAttr(h.ARIA_DESCRIBEDBY)}},t.prototype.setClickDebounceTimeout=function(){var e=this;clearTimeout(this.clickDebounceTimeout),this.clickDebounceTimeout=setTimeout((function(){e.recentlyClicked=!1}),m.CLICK_DEBOUNCE_TIMEOUT_MS),this.recentlyClicked=!0},t}(_.I),y={ARIA_HIDDEN:"aria-hidden",ROLE:"role"},b={HELPER_TEXT_VALIDATION_MSG:"mdc-select-helper-text--validation-msg",HELPER_TEXT_VALIDATION_MSG_PERSISTENT:"mdc-select-helper-text--validation-msg-persistent"},E=function(e){function t(n){return e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return b},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return y},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},getAttr:function(){return null},removeAttr:function(){},setContent:function(){}}},enumerable:!1,configurable:!0}),t.prototype.getId=function(){return this.adapter.getAttr("id")},t.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(y.ARIA_HIDDEN)},t.prototype.setContent=function(e){this.adapter.setContent(e)},t.prototype.setValidation=function(e){e?this.adapter.addClass(b.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(b.HELPER_TEXT_VALIDATION_MSG)},t.prototype.setValidationMsgPersistent=function(e){e?this.adapter.addClass(b.HELPER_TEXT_VALIDATION_MSG_PERSISTENT):this.adapter.removeClass(b.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)},t.prototype.getIsValidation=function(){return this.adapter.hasClass(b.HELPER_TEXT_VALIDATION_MSG)},t.prototype.getIsValidationMsgPersistent=function(){return this.adapter.hasClass(b.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)},t.prototype.setValidity=function(e){if(this.adapter.hasClass(b.HELPER_TEXT_VALIDATION_MSG)){var t=this.adapter.hasClass(b.HELPER_TEXT_VALIDATION_MSG_PERSISTENT);if(!e||t)return this.showToScreenReader(),void(e?this.adapter.removeAttr(y.ROLE):this.adapter.setAttr(y.ROLE,"alert"));this.adapter.removeAttr(y.ROLE),this.hide()}},t.prototype.showToScreenReader=function(){this.adapter.removeAttr(y.ARIA_HIDDEN)},t.prototype.hide=function(){this.adapter.setAttr(y.ARIA_HIDDEN,"true")},t}(_.I),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new E({addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)},removeAttr:function(t){return e.root.removeAttribute(t)},setContent:function(t){e.root.textContent=t}})},t}(o.O),x={ICON_EVENT:"MDCSelect:icon",ICON_ROLE:"button"},A=["click","keydown"],I=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.savedTabIndex=null,o.interactionHandler=function(e){o.handleInteraction(e)},o}return(0,r.C6)(t,e),Object.defineProperty(t,"strings",{get:function(){return x},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e,t;this.savedTabIndex=this.adapter.getAttr("tabindex");try{for(var n=(0,r.Ju)(A),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.registerInteractionHandler(i,this.interactionHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.destroy=function(){var e,t;try{for(var n=(0,r.Ju)(A),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.deregisterInteractionHandler(i,this.interactionHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.setDisabled=function(e){this.savedTabIndex&&(e?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex),this.adapter.setAttr("role",x.ICON_ROLE)))},t.prototype.setAriaLabel=function(e){this.adapter.setAttr("aria-label",e)},t.prototype.setContent=function(e){this.adapter.setContent(e)},t.prototype.handleInteraction=function(e){var t="Enter"===e.key||13===e.keyCode;("click"===e.type||t)&&this.adapter.notifyIconAction()},t}(_.I),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new I({getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)},removeAttr:function(t){return e.root.removeAttribute(t)},setContent:function(t){e.root.textContent=t},registerInteractionHandler:function(t,n){return e.listen(t,n)},deregisterInteractionHandler:function(t,n){return e.unlisten(t,n)},notifyIconAction:function(){return e.emit(I.strings.ICON_EVENT,{},!0)}})},t}(o.O),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialize=function(e,t,n,r,o,s){if(void 0===e&&(e=function(e){return new i.$(e)}),void 0===t&&(t=function(e){return new a.l(e)}),void 0===n&&(n=function(e){return new c.i(e)}),void 0===r&&(r=function(e){return new l.C(e)}),void 0===o&&(o=function(e){return new O(e)}),void 0===s&&(s=function(e){return new C(e)}),this.selectAnchor=this.root.querySelector(h.SELECT_ANCHOR_SELECTOR),this.selectedText=this.root.querySelector(h.SELECTED_TEXT_SELECTOR),this.hiddenInput=this.root.querySelector(h.HIDDEN_INPUT_SELECTOR),!this.selectedText)throw new Error("MDCSelect: Missing required element: The following selector must be present: '"+h.SELECTED_TEXT_SELECTOR+"'");if(this.selectAnchor.hasAttribute(h.ARIA_CONTROLS)){var u=document.getElementById(this.selectAnchor.getAttribute(h.ARIA_CONTROLS));u&&(this.helperText=s(u))}this.menuSetup(r);var d=this.root.querySelector(h.LABEL_SELECTOR);this.label=d?e(d):null;var f=this.root.querySelector(h.LINE_RIPPLE_SELECTOR);this.lineRipple=f?t(f):null;var m=this.root.querySelector(h.OUTLINE_SELECTOR);this.outline=m?n(m):null;var _=this.root.querySelector(h.LEADING_ICON_SELECTOR);_&&(this.leadingIcon=o(_)),this.root.classList.contains(p.OUTLINED)||(this.ripple=this.createRipple())},t.prototype.initialSyncWithDOM=function(){var e=this;if(this.handleFocus=function(){e.foundation.handleFocus()},this.handleBlur=function(){e.foundation.handleBlur()},this.handleClick=function(t){e.selectAnchor.focus(),e.foundation.handleClick(e.getNormalizedXCoordinate(t))},this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.handleMenuItemAction=function(t){e.foundation.handleMenuItemAction(t.detail.index)},this.handleMenuOpened=function(){e.foundation.handleMenuOpened()},this.handleMenuClosed=function(){e.foundation.handleMenuClosed()},this.handleMenuClosing=function(){e.foundation.handleMenuClosing()},this.selectAnchor.addEventListener("focus",this.handleFocus),this.selectAnchor.addEventListener("blur",this.handleBlur),this.selectAnchor.addEventListener("click",this.handleClick),this.selectAnchor.addEventListener("keydown",this.handleKeydown),this.menu.listen(s.P$.CLOSED_EVENT,this.handleMenuClosed),this.menu.listen(s.P$.CLOSING_EVENT,this.handleMenuClosing),this.menu.listen(s.P$.OPENED_EVENT,this.handleMenuOpened),this.menu.listen(u.P$.SELECTED_EVENT,this.handleMenuItemAction),this.hiddenInput){if(this.hiddenInput.value)return this.foundation.setValue(this.hiddenInput.value,!0),void this.foundation.layout();this.hiddenInput.value=this.value}},t.prototype.destroy=function(){this.selectAnchor.removeEventListener("focus",this.handleFocus),this.selectAnchor.removeEventListener("blur",this.handleBlur),this.selectAnchor.removeEventListener("keydown",this.handleKeydown),this.selectAnchor.removeEventListener("click",this.handleClick),this.menu.unlisten(s.P$.CLOSED_EVENT,this.handleMenuClosed),this.menu.unlisten(s.P$.OPENED_EVENT,this.handleMenuOpened),this.menu.unlisten(u.P$.SELECTED_EVENT,this.handleMenuItemAction),this.menu.destroy(),this.ripple&&this.ripple.destroy(),this.outline&&this.outline.destroy(),this.leadingIcon&&this.leadingIcon.destroy(),this.helperText&&this.helperText.destroy(),e.prototype.destroy.call(this)},Object.defineProperty(t.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(e){this.foundation.setValue(e)},enumerable:!1,configurable:!0}),t.prototype.setValue=function(e,t){void 0===t&&(t=!1),this.foundation.setValue(e,t)},Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(e){this.foundation.setSelectedIndex(e,!0)},enumerable:!1,configurable:!0}),t.prototype.setSelectedIndex=function(e,t){void 0===t&&(t=!1),this.foundation.setSelectedIndex(e,!0,t)},Object.defineProperty(t.prototype,"disabled",{get:function(){return this.foundation.getDisabled()},set:function(e){this.foundation.setDisabled(e),this.hiddenInput&&(this.hiddenInput.disabled=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leadingIconAriaLabel",{set:function(e){this.foundation.setLeadingIconAriaLabel(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leadingIconContent",{set:function(e){this.foundation.setLeadingIconContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"helperTextContent",{set:function(e){this.foundation.setHelperTextContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useDefaultValidation",{set:function(e){this.foundation.setUseDefaultValidation(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(e){this.foundation.setValid(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this.foundation.getRequired()},set:function(e){this.foundation.setRequired(e)},enumerable:!1,configurable:!0}),t.prototype.layout=function(){this.foundation.layout()},t.prototype.layoutOptions=function(){this.foundation.layoutOptions(),this.menu.layout(),this.menuItemValues=this.menu.items.map((function(e){return e.getAttribute(h.VALUE_ATTR)||""})),this.hiddenInput&&(this.hiddenInput.value=this.value)},t.prototype.getDefaultFoundation=function(){var e=(0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},this.getSelectAdapterMethods()),this.getCommonAdapterMethods()),this.getOutlineAdapterMethods()),this.getLabelAdapterMethods());return new g(e,this.getFoundationMap())},t.prototype.menuSetup=function(e){this.menuElement=this.root.querySelector(h.MENU_SELECTOR),this.menu=e(this.menuElement),this.menu.hasTypeahead=!0,this.menu.singleSelection=!0,this.menuItemValues=this.menu.items.map((function(e){return e.getAttribute(h.VALUE_ATTR)||""}))},t.prototype.createRipple=function(){var e=this,t=(0,r.Cl)((0,r.Cl)({},d.N.createAdapter({root:this.selectAnchor})),{registerInteractionHandler:function(t,n){e.selectAnchor.addEventListener(t,n)},deregisterInteractionHandler:function(t,n){e.selectAnchor.removeEventListener(t,n)}});return new d.N(this.selectAnchor,new f.E(t))},t.prototype.getSelectAdapterMethods=function(){var e=this;return{getMenuItemAttr:function(e,t){return e.getAttribute(t)},setSelectedText:function(t){e.selectedText.textContent=t},isSelectAnchorFocused:function(){return document.activeElement===e.selectAnchor},getSelectAnchorAttr:function(t){return e.selectAnchor.getAttribute(t)},setSelectAnchorAttr:function(t,n){e.selectAnchor.setAttribute(t,n)},removeSelectAnchorAttr:function(t){e.selectAnchor.removeAttribute(t)},addMenuClass:function(t){e.menuElement.classList.add(t)},removeMenuClass:function(t){e.menuElement.classList.remove(t)},openMenu:function(){e.menu.open=!0},closeMenu:function(){e.menu.open=!1},getAnchorElement:function(){return e.root.querySelector(h.SELECT_ANCHOR_SELECTOR)},setMenuAnchorElement:function(t){e.menu.setAnchorElement(t)},setMenuAnchorCorner:function(t){e.menu.setAnchorCorner(t)},setMenuWrapFocus:function(t){e.menu.wrapFocus=t},getSelectedIndex:function(){var t=e.menu.selectedIndex;return t instanceof Array?t[0]:t},setSelectedIndex:function(t){e.menu.selectedIndex=t},focusMenuItemAtIndex:function(t){e.menu.items[t].focus()},getMenuItemCount:function(){return e.menu.items.length},getMenuItemValues:function(){return e.menuItemValues},getMenuItemTextAtIndex:function(t){return e.menu.getPrimaryTextAtIndex(t)},isTypeaheadInProgress:function(){return e.menu.typeaheadInProgress},typeaheadMatchItem:function(t,n){return e.menu.typeaheadMatchItem(t,n)}}},t.prototype.getCommonAdapterMethods=function(){var e=this;return{addClass:function(t){e.root.classList.add(t)},removeClass:function(t){e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},setRippleCenter:function(t){e.lineRipple&&e.lineRipple.setRippleCenter(t)},activateBottomLine:function(){e.lineRipple&&e.lineRipple.activate()},deactivateBottomLine:function(){e.lineRipple&&e.lineRipple.deactivate()},notifyChange:function(t){e.hiddenInput&&(e.hiddenInput.value=t);var n=e.selectedIndex;e.emit(h.CHANGE_EVENT,{value:t,index:n},!0)}}},t.prototype.getOutlineAdapterMethods=function(){var e=this;return{hasOutline:function(){return Boolean(e.outline)},notchOutline:function(t){e.outline&&e.outline.notch(t)},closeOutline:function(){e.outline&&e.outline.closeNotch()}}},t.prototype.getLabelAdapterMethods=function(){var e=this;return{hasLabel:function(){return!!e.label},floatLabel:function(t){e.label&&e.label.float(t)},getLabelWidth:function(){return e.label?e.label.getWidth():0},setLabelRequired:function(t){e.label&&e.label.setRequired(t)}}},t.prototype.getNormalizedXCoordinate=function(e){var t=e.target.getBoundingClientRect();return(this.isTouchEvent(e)?e.touches[0].clientX:e.clientX)-t.left},t.prototype.isTouchEvent=function(e){return Boolean(e.touches)},t.prototype.getFoundationMap=function(){return{helperText:this.helperText?this.helperText.foundationForSelect:void 0,leadingIcon:this.leadingIcon?this.leadingIcon.foundationForSelect:void 0}},t}(o.O)},,,,,,,,,,,,,,,,,,,,,,function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",t;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;t=function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__21__,__WEBPACK_EXTERNAL_MODULE__22__,__WEBPACK_EXTERNAL_MODULE__23__,__WEBPACK_EXTERNAL_MODULE__24__,__WEBPACK_EXTERNAL_MODULE__25__,__WEBPACK_EXTERNAL_MODULE__26__,__WEBPACK_EXTERNAL_MODULE__27__,__WEBPACK_EXTERNAL_MODULE__28__,__WEBPACK_EXTERNAL_MODULE__29__,__WEBPACK_EXTERNAL_MODULE__30__,__WEBPACK_EXTERNAL_MODULE__19__,__WEBPACK_EXTERNAL_MODULE__31__,__WEBPACK_EXTERNAL_MODULE__32__,__WEBPACK_EXTERNAL_MODULE__33__,__WEBPACK_EXTERNAL_MODULE__34__,__WEBPACK_EXTERNAL_MODULE__35__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__36__,__WEBPACK_EXTERNAL_MODULE__37__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__20__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__38__,__WEBPACK_EXTERNAL_MODULE__39__,__WEBPACK_EXTERNAL_MODULE__40__,__WEBPACK_EXTERNAL_MODULE__41__,__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,__nested_webpack_require_7126__){var __dirname="/",e,t,r,n,o,i,s,a,l,p,c,u;if(module=__nested_webpack_require_7126__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__nested_webpack_require_7126__.g||null===__nested_webpack_require_7126__.g?{}:__nested_webpack_require_7126__.g;module.exports=(e=__nested_webpack_require_7126__(2),t=__nested_webpack_require_7126__(12),r=__nested_webpack_require_7126__(4),n=__nested_webpack_require_7126__(5),o=__nested_webpack_require_7126__(6),i=__nested_webpack_require_7126__(0),s=__nested_webpack_require_7126__(3),a=__nested_webpack_require_7126__(13),l=__nested_webpack_require_7126__(14),p=__nested_webpack_require_7126__(15),c=__nested_webpack_require_7126__(16),u=__nested_webpack_require_7126__(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,n){var r=n(0),o=n.n(r),i=n(1),a=n(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:a.string},e),function(t,n){if("string"==typeof n){var r,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)(n);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,n)||(a.propertyTypes[n]=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(n)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(n)||"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,n))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&a.propertyTypes&&Object.prototype.hasOwnProperty.call(a.propertyTypes,n)&&(r=a.propertyTypes[n]):r=e.writeAttribute,void 0!==r&&(Array.isArray(a.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?a.propertiesToReflectAsAttributes.push(n):a.normalizePropertyTypeList&&(a.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes))),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(n,r),"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[n]=r)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?o()({},a.propertyAliases):{}),!a.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(a,n)||(a.propertyAliases[n]=e.alias))}}}},function(e,t,n){n.d(t,{api:function(){return O}});var r,o,i,a,s=n(4),l=n.n(s),u=n(8),c=n.n(u),d=n(0),f=n.n(d),p=n(3),h=n.n(p),m=n(9),_=n.n(m),v=(n(10),n(5)),g=n.n(v),y=n(1),b=n(2),E=n(6);function C(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return x(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var A="undefined"==typeof HTMLElement?function(){}:HTMLElement,I=(r=(0,E.default)({type:b.boolean,writeAttribute:!0}),a=function(e){function t(){var n;return(n=e.call(this)||this).batchAttributeUpdates=!0,n.batchPropertyUpdates=!0,n.batchUpdates=!0,n.batchedAttributeUpdateRunning=!0,n.batchedPropertyUpdateRunning=!0,n.batchedUpdateRunning=!0,n.parent=null,n.rootInstance=null,n.scope=f()({},y.UTILITY_SCOPE),n.domNodeEventBindings=new Map,n.domNodeTemplateCache=new Map,n.externalProperties={},n.ignoreAttributeUpdateObservations=!1,n.internalProperties={},n.outputEventNames=new Set,n.instance=null,c()(n,"isRoot",i,n),n.root=void 0,n.runDomConnectionAndRenderingInSameEventQueue=!1,n.self=t,n.slots={},n.self=n.constructor,n.self._propertiesToReflectAsAttributes||(n.self._propertiesToReflectAsAttributes=n.self.normalizePropertyTypeList(n.self.propertiesToReflectAsAttributes)),n.generateAliasIndex(),n.root=n,n.defineGetterAndSetterInterface(),n}h()(t,e);var n=t.prototype;return n.attributeChangedCallback=function(e,t,n){this.ignoreAttributeUpdateObservations||t===n||this.onUpdateAttribute(e,n)},n.onUpdateAttribute=function(e,t){var n=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,y.timeout)((function(){n.batchedAttributeUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("attributeChanged")}))):this.render("attributeChanged")},n.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")}))},n.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=C(this.domNodeEventBindings.values());!(e=t()).done;)for(var n,r=C(e.value.values());!(n=r()).done;)(0,n.value)();this.slots={}},n.defineGetterAndSetterInterface=function(){for(var e,t=this,n=function(){var n=e.value;Object.prototype.hasOwnProperty.call(t,n)&&t.setPropertyValue(n,t[n]),Object.defineProperty(t,n,{configurable:!0,get:function(){return t.getPropertyValue(n)},set:function(e){t.setPropertyValue(n,e),t.triggerPropertySpecificRendering(n,e)}})},r=C((0,y.unique)(Object.keys(this.self.propertyTypes).concat(this.self._propertyAliasIndex?Object.keys(this.self._propertyAliasIndex):[])));!(e=r()).done;)n()},n.getPropertyAlias=function(e){return this.self._propertyAliasIndex&&Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},n.getPropertyValue=function(e){var n,r,o=null!=(n=this.instance)&&null!=(n=n.current)&&n.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(r=this.instance)&&null!=(r=r.current)&&r.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:o},n.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.externalProperties[n]=t)},n.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.internalProperties[n]=t)},n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=t,n)),this.setInternalPropertyValue(e,t)},n.triggerPropertySpecificRendering=function(e,t){var n=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,y.timeout)((function(){void 0!==t&&n.isStateProperty(e)?(n.render("preStatePropertyChanged"),(0,y.timeout)((function(){n.setInternalPropertyValue(e,void 0),n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("postStatePropertyChanged"),n.triggerOutputEvents()}))):(n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("propertyChanged"),n.triggerOutputEvents())})));else{var r=this.isStateProperty(e);this.render(r?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&r&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},n.applyBinding=function(e,t){var n=this;if(e.getAttributeNames)for(var r,o=function(){var o=r.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-")){n.domNodeEventBindings.has(e)||n.domNodeEventBindings.set(e,new Map);var l=n.domNodeEventBindings.get(e);if(i=(0,y.delimitedToCamelCase)(i.substring(3)),null!=l&&l.has(i)){var u=l.get(i);u&&u()}t=f()({console:console,event:void 0,parameters:void 0},t);var c=(0,y.compile)(a,t,!0,!0,e);if(c.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,c.error);else{var d=function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.event=r[0],t.parameters=r;try{c.templateFunction.apply(c,c.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 "'+c.scopeNames.join('", "')+'": '+(0,y.represent)(t))}};e.addEventListener(i,d),null==l||l.set(i,(function(){e.removeEventListener(i,d),l.delete(i),0===l.size&&n.domNodeEventBindings.delete(e)}))}}}},i=C(e.getAttributeNames());!(r=i()).done;)o()},n.applyBindings=function(e,t,n){for(void 0===n&&(n=!0);e;){var r;null==(r=e.attributes)||!r.length||!n&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},n.compileDomNodeTemplate=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={}),n=f()({ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},n);var r=e.nodeName.toLowerCase();if(n.ignoreComponents&&r.includes("-"))return null;if(n.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"===r){var s=e.textContent;s&&this.self.hasCode(s)&&(a=s.replace(/ /g," ").trim())}var l=[],u={children:l,domNode:e};if(a){var c=(0,y.compile)("`"+a+"`",t);u.error=c.error,u.scopeNames=c.scopeNames,u.template=a,u.templateFunction=c.templateFunction}for(var d=e.firstChild;d;){if(!n.filter||n.filter(d)){var p=this.compileDomNodeTemplate(d,t,f()({},n,{ignoreComponents:n.ignoreNestedComponents}));p&&l.push(p)}d=d.nextSibling}return u},n.evaluateCompiledDomNodeTemplate=function(e,t){var n=e.domNode,r=e.error,o=e.templateFunction,i=e.scopeNames;if(!o||!i)return null;if(r)return console.warn("Error occurred during compiling node content:",r),null;var a=null;try{a=o.apply(void 0,i.map((function(e){return t[e]})))}catch(r){console.warn('Error occurred when "'+this.self._name+'" is running','"'+String(o)+'": with bound','names "'+i.join('", "')+'":','"'+r+'". Rendering node:',n)}return a},n.evaluateDomNodeTemplate=function(e,t,n){var r=this;void 0===t&&(t={}),void 0===n&&(n={});var o=(n=f()({domNodeTemplateCache:this.domNodeTemplateCache,ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},n)).domNodeTemplateCache;if(!o.has(e)){var i={filter:n.filter,ignoreComponents:n.ignoreComponents,ignoreNestedComponents:n.ignoreNestedComponents,unsafe:n.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&&(n.unsafe&&e.innerHTML?e.innerHTML=l:e.textContent=l),s.children.length){var u=function(e){for(var n,o=C(e);!(n=o()).done;){var i=n.value,a=r.evaluateCompiledDomNodeTemplate(i,t);null!==a&&(i.domNode.textContent=a),i.children.length&&u(i.children)}};u(s.children)}}n.applyBindings&&this.applyBindings(e,t)},t.replaceDomNodes=function(e,n){for(var r,o=C([].concat(n).reverse());!(r=o()).done;){var i,a=r.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,n=[];e.firstChild;)n.push(e.firstChild),t.insertBefore(e.firstChild,e);return t.removeChild(e),n},n.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 n,r=e,o=new Map,i=C(r);!(n=i()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&o.set(a,t.propertyTypes[a])}return o}return(0,y.convertPlainObjectToMap)(e)},n.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},n.attachExplicitDefinedOutputEventHandler=function(){var e=this;if(!this.self.eventToPropertyMapping)return!1;for(var t=!1,n=function(){var n=o[r];Object.prototype.hasOwnProperty.call(e.internalProperties,n)||(t=!0,e.outputEventNames.add(n),e.setInternalPropertyValue(n,l()(g().mark((function t(){var r,o,i,a,s=arguments;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(r=s.length,o=new Array(r),i=0;i<r;i++)o[i]=s[i];return t.next=1,e.reflectEventToProperties(n,o);case 1:(a=t.sent)&&(o[0]=a),e.forwardEvent(n,o);case 2:case"end":return t.stop()}}),t)})))))},r=0,o=Object.keys(this.self.eventToPropertyMapping);r<o.length;r++)n();return t},n.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var n=function(){var n=o[r],i=n[0],a=n[1];Object.prototype.hasOwnProperty.call(t.internalProperties,i)||![b.func,"function"].includes(a)||t.self.renderProperties.includes(i)||(t.outputEventNames.add(i),t.setInternalPropertyValue(i,(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e&&t.reflectEventToProperties(i,r),t.forwardEvent(i,r)})))},r=0,o=Object.entries(this.self.propertyTypes);r<o.length;r++)n()},n.triggerOutputEvents=function(){for(var e,t=C(this.outputEventNames);!(e=t()).done;){var n=e.value;this.forwardEvent(n,[this.externalProperties])}},n.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}}))},n.applySlots=function(e,t){for(var n=this,r=0,o=Array.from(e.querySelectorAll("slot"));r<o.length;r++){var i=o[r],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=C(this.slots.default);!(s=l()).done;){var u=s.value;this.evaluateDomNodeTemplate(u,t)}this.self.replaceDomNodes(i,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(i).map((function(e){return n.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])}},n.grabSlotContent=function(e){var t,n=b.node.firstElementChild?e:null;if(n&&"textarea"===(null==(t=n.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!n.firstElementChild.hasAttribute("data-no-template")||"false"===n.firstElementChild.getAttribute("data-no-template"))){var r=n.firstElementChild.value;n.classList.remove("web-component-template");var o=n.cloneNode();return n.classList.add("web-component-template"),o.innerHTML="",o.template=r,o}return this.self.cloneSlots?e.cloneNode(!0):e},n.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,n=Array.from(this.querySelectorAll("[slot]"));t<n.length;t++){for(var r,o=n[t],i=o.parentNode,a=!0;i;){if(i.nodeName.includes("-")){i===this&&(a=!1);break}i=i.parentNode}if(!a){var s=null==(r=o.getAttribute("slot"))?void 0:r.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=[]},n.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)))},n.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=f()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var n=t[e],r=n[0],o=n[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,o)||(this.self._propertyAliasIndex[o]=r)}}},n.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,n=Object.entries(e);t<n.length;t++){var r,o=n[t],i=o[0],a=o[1];if(this.setExternalPropertyValue(i,a),this.isConnected){var s=(0,y.camelCaseToDelimited)(i);if(null!=(r=this.self._propertiesToReflectAsAttributes)&&r.has(i))switch(this.self._propertiesToReflectAsAttributes.get(i)){case b.boolean:case"boolean":a?""!==this.getAttribute(s)&&this.setAttribute(s,""):this.hasAttribute(s)&&this.removeAttribute(s);break;case b.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 b.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(s)&&this.removeAttribute(s);else{var u=String(a);this.getAttribute(s)!==u&&this.setAttribute(s,u)}break;case b.string:case"string":a?this.getAttribute(s)!==a&&this.setAttribute(s,a):this.hasAttribute(s)&&this.removeAttribute(s);break;case b.any:case b.array:case b.arrayOf:case b.element:case b.elementType:case b.instanceOf:case b.node:case b.object:case"object":case b.objectOf:case b.shape:case b.exact:case b.symbol:default:if(a){var c=(0,y.represent)(a);if(c&&this.getAttribute(s)!==c){this.setAttribute(s,c);break}}this.hasAttribute(s)&&this.removeAttribute(s)}}}this.ignoreAttributeUpdateObservations=!1},n.reflectProperties=function(e){var t,n;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var r,o=C(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(r=o()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(this.internalProperties,i)&&this.setInternalPropertyValue(i,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(delete this.internalProperties.model.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var a,s=C(this.self.controllableProperties);!(a=s()).done;){var l=a.value;Object.prototype.hasOwnProperty.call(e,l)&&this.setInternalPropertyValue(l,e[l])}},n.reflectEventToProperties=function(){var e=l()(g().mark((function e(t,n){var r,o,i,a,s,l,u,c,d,p,h,m,_,v,b,E,x;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=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,n.concat([this])))&&"then"in s&&(0,y.isFunction)(s.then))){e.next=2;break}return e.next=1,s;case 1:x=e.sent,e.next=3;break;case 2:x=s;case 3:l=x,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&&n.length>0&&(0,y.isObject)(n[0])){if(c=n[0],"persist"in n[0]&&(0,y.isFunction)(n[0].persist))for(c={},d=0,p=Object.keys(this.self.propertyTypes);d<p.length;d++)for(h=p[d],m=C([h].concat(null!==(v=this.getPropertyAlias(h))&&void 0!==v?v:[]));!(_=m()).done;)b=_.value,(E=n[0].currentTarget&&Object.prototype.hasOwnProperty.call(n[0].currentTarget,b)?n[0].currentTarget[b]:this.getPropertyValue(b))!==this.externalProperties[b]&&(c[b]=E);else[null,void 0].includes(null==(u=c.detail)?void 0:u.value)||(c=f()({},c.detail));o=c,this.reflectProperties(c)}return this.triggerRender("propertyReflected"),this.batchUpdates=r,e.abrupt("return",o);case 5:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),n.evaluateStringOrNullAndSetAsProperty=function(e,t){var n=this,r=e.startsWith("-"),o=r?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(r){if(t){var l=(0,y.evaluate)(t,f()({},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 b.boolean:case"boolean":var u=![null,"false"].includes(t);this.setInternalPropertyValue(i,u),this.setExternalPropertyValue(i,u);break;case b.func:case"function":var c,d=null,p=["data","event","firstArgument","firstParameter","options","scope","parameters"].concat(y.UTILITY_SCOPE_NAMES);if(t){var h=(0,y.compile)(t,p);d=h.error,c=h.templateFunction,d&&console.warn('Failed to compile given handler "'+e+'": '+d+".")}this.setInternalPropertyValue(i,(function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];n.outputEventNames.has(i)&&n.reflectEventToProperties(i,o);var s=void 0;if(!d)try{var l;s=null==(l=c)?void 0:l.call.apply(l,[n,o[0],o[0],o[0],o[0],o[0],o[0],o].concat(y.UTILITY_SCOPE_VALUES))}catch(n){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+p.join('", "')+'" set to "'+(0,y.represent)(o)+'": '+n+'. Set property to "undefined".')}return n.self.renderProperties.includes(i)||n.forwardEvent(i,o),s})),d||this.setExternalPropertyValue(i,c);break;case"json":if(t){var m;try{m=JSON.parse(t)}catch(d){console.warn('Error occurred during parsing given json attribute "'+e+'": '+(0,y.represent)(d));break}this.setInternalPropertyValue(i,m),this.setExternalPropertyValue(i,(0,y.copy)(m,1))}else this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null);break;case b.number:case"number":if(null===t){this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break}var _=parseFloat(t);isNaN(_)&&(_=void 0),this.setInternalPropertyValue(i,_),this.setExternalPropertyValue(i,_);break;case b.string:case"string":this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break;case b.any:case b.array:case b.arrayOf:case b.element:case b.elementType:case b.instanceOf:case b.node:case b.object:case"object":case b.objectOf:case b.oneOf:case b.oneOfType:case b.shape:case b.exact:case b.symbol:default:if(t){var v=(0,y.evaluate)(t,{},!1,!0,this);if(v.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',v.error);break}this.setInternalPropertyValue(i,v.result),this.setExternalPropertyValue(i,(0,y.copy)(v.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(i,!0),this.setExternalPropertyValue(i,!0)):(this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null))}}},n.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)},n.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"}))},n.determineRenderScope=function(e){var t,n;void 0===e&&(e={}),this.scope=f()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((n={parent:this.parent,root:this.rootInstance,self:this})[(0,y.lowerCase)(this.self._name)||"instance"]=this,n),e),this.scope.scope=this.scope},n.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 n=document.createElement("div");return n.innerHTML=t.result,this.applySlots(n,f()({},this.scope,{parent:this})),this.root.innerHTML=n.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots),Promise.resolve()},t}(A),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:b.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=_()(o.prototype,"isRoot",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),o),O={component:I,register:function(e){void 0===e&&(e=(0,y.camelCaseToDelimited)(I._name)),customElements.define(e,I)}};t.default=I},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,n){n.d(t,{api:function(){return b}});var r=n(0),o=n.n(r),i=n(4),a=n.n(i),s=n(3),l=n.n(s),u=n(5),c=n.n(u),d=n(1),f=n(2),p=n(11),h=n.n(p),m=n(12),_=n(13);function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return g(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var y=function(e){function t(){for(var n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=e.call.apply(e,[this].concat(o))||this).compiledSlots={},n.preparedSlots={},n.reactRoot=null,n.rootReactInstance=null,n.self=t,n.wrapMemorizingWrapper=null,n.isWrapped=!1,n.reflectInstanceProperties=function(){var e;null!=(e=n.instance)&&e.current&&n.instance.current.properties&&n.reflectProperties(n.instance.current.properties)},n}l()(t,e);var n=t.prototype;return n.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},n.disconnectedCallback=function(){e.prototype.disconnectedCallback.call(this)},n.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},n.render=function(){var e=a()(c().mark((function e(t){var n,r,i,a,s,l=this;return c().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(r=this.firstChild;r;)i=r.nextSibling,this.removeChild(r),r=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,_.createRoot)(this.root,{identifierPrefix:s})),e.next=2,new Promise((function(e){(0,m.flushSync)((function(){var t;null==(t=l.reactRoot)||t.render((0,p.createElement)(l.self.content,l.internalProperties)),e()}))}));case 2:if(null==(n=this.instance)||!n.current){e.next=3;break}this.reflectInstanceProperties(),e.next=4;break;case 3:return e.next=4,(0,d.timeout)(this.reflectInstanceProperties);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=(0,d.copy)(t,1),n)),this.setInternalPropertyValue(e,(0,d.copy)(t,1))},n.setInternalPropertyValue=function(t,n){null===n?n=f.NullSymbol:void 0===n&&(n=f.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,n)},n.preCompileDomNodes=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=!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,n);for(var r,o=1,i=[],a=v(e);!(r=a()).done;){var s=r.value,l=this.preCompileDomNode(s,t,n,o.toString());i.push(l),o+=1}return n?function(e){return function(){for(var t,n=[],r=v(i);!(t=r()).done;){var o=(0,t.value)(e);"function"==typeof o&&n.push(o.apply(void 0,arguments))}return(0,p.createElement)(p.Fragment,{children:n})}}:i},n.preCompileDomNode=function(e,t,n,r){var i=this;if(void 0===t&&(t={}),void 0===n&&(n=!1),n){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,r);return function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.length>0?n[0]:null;return a(o()({},e,{data:i,firstArgument:i,firstParameter:i,options:i,scope:i,parameters:n}))}}}if(e.nodeType===Node.TEXT_NODE){var s="string"==typeof e.nodeValue?e.nodeValue.trim():"",l=r&&s?(0,p.createElement)(p.Fragment,{children:s,key:r}):s||null;return function(){return l}}if(!e.getAttributeNames)return function(){return null};var u,c={},f=this.self.isReactComponent(e);f?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),r&&!Object.prototype.hasOwnProperty.call(c,"key")&&(c.key=r),u=e.constructor.content):(c.key=r,u=e.tagName.toLowerCase());for(var h,m=Object.keys(t),_={},g=function(){var n,r=h.value,o=e.getAttribute(r);if(null===o)return 0;var a=!1,s="";if(r.startsWith("data-bind-")?s=r.substring(10):r.startsWith("bind-")&&(s=r.substring(5)),s.startsWith("attribute-")||"attributes"===s||s.startsWith("property-")||"properties"===s){var l=(0,d.compile)(o,m),u=l.error,p=l.originalScopeNames,v=l.templateFunction;if(u)return console.warn('Error occurred during compiling given attribute binding "'+r+'" on node:',e,u),0;"attributes"===s||"properties"===s?a=!0:s=s.startsWith("attribute-")?s.substring(10):s.substring(9),o={originalScopeNames:p,templateFunction:v.bind(i)}}else if(s.startsWith("on-")){s=(0,d.delimitedToCamelCase)(s),Object.prototype.hasOwnProperty.call(t,"event")||(m=[].concat(m,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(m=[].concat(m,["parameters"]));var g=(0,d.compile)(o,m,!0),y=g.error,b=g.originalScopeNames,E=g.scopeNames,C=g.templateFunction;if(y)return console.warn('Error occurred during compiling given event binding "'+r+'" on node:',e,y),0;var x=C.bind(i);o=function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];t.event=i[0],t.parameters=i;try{x.apply(void 0,b.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+r+'" on node: ',e,'Given expression "'+o+'" could not be evaluated with given scope names "'+E.join('", "')+'": '+(0,d.represent)(t))}}}else s=r;var A={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(A,s)&&(s=A[s]),s=(0,d.delimitedToCamelCase)(s),null!=(n=o)&&n.originalScopeNames?_[a?"":s]=o:f||(c[s]=o)},y=v(e.getAttributeNames());!(h=y()).done;)g();if(!f){var b=Array.from(e.childNodes);b.length&&(c.children=this.preCompileDomNodes(b,t))}return function(n){(n=o()({},t,n)).scope=n;for(var r=o()({},c),a=0,s=Object.entries(_);a<s.length;a++){var l=s[a],d=l[0],h=l[1],m=h.originalScopeNames,v=h.templateFunction.apply(void 0,m.map((function(e){return n[e]})));""===d?r=o()({},r,v):r[d]=v}return Object.prototype.hasOwnProperty.call(r,"innerHTML")&&(r.dangerouslySetInnerHTML={__html:r.innerHTML},delete r.children,delete r.innerHTML),Object.prototype.hasOwnProperty.call(r,"textContent")?(r.children=r.textContent,delete r.textContent):f?(r=o()({},e.internalProperties,r),n=o()({},r,n,{parent:e}),e.evaluateSlots(n),e.prepareProperties(r)):r.children&&(r.children=i.evaluatePreCompiledDomNodes(r.children,n)),(0,p.createElement)(u,r)}},n.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 n,r=[],o=v(e);!(n=o()).done;){var i=(0,n.value)(t);i&&r.push(i)}return r},n.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}),[f.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}),[f.func,"function"].includes(this.self.propertyTypes.children)))},n.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)},n.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}},n.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,p.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,p.forwardRef)((function(t,n){return(0,p.useImperativeHandle)(n,(function(){return{properties:t}})),(0,p.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,p.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,p.memo)(this.self.content),this.self.content.wrapped=e)}},n.prepareProperties=function(e){(0,d.extend)(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,p.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var n,r=v(["isRoot","isTrusted","__composed"]);!(n=r()).done;){var o=n.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}(n(7).default);y.attachWebComponentAdapterIfNotExists=!0,y.content="div",y.react=h(),y._name="ReactWebComponent";var b={component:y,register:function(e){void 0===e&&(e=(0,d.camelCaseToDelimited)(y._name)),customElements.define(e,y)}};t.default=y}],f={};function h(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return d[e](n,n.exports,h),n.exports}h.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return h.d(t,{a:t}),t},h.d=function(e,t){for(var n in t)h.o(t,n)&&!h.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},h.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var m={};h.r(m),h.d(m,{ReactWeb:function(){return x},Web:function(){return O},reactWebAPI:function(){return A},webAPI:function(){return I},wrapAsWebComponent:function(){return S}});var _=h(0),v=h.n(_),g=h(3),y=h.n(g),b=h(1),E=h(14),C=h(7),x=E.default,A=E.api,I=C.api,O=C.default,S=function(e,t,n){var r,o,i;void 0===t&&(t="NoName"),void 0===n&&(n={});var a=e._name||(null==(r=e.___types)||null==(r=r.name)?void 0:r.name)||t.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");n.propTypes&&(e.propTypes=n.propTypes);var s=e.propTypes||{},l=n.propertyAliases||e.propertyAliases||{},u=(0,b.unique)(Object.keys(s).concat(Object.keys(l)).concat(Object.values(l))),c=n.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(x.propertiesToReflectAsAttributes)if(Array.isArray(c))c=[].concat(x.propertiesToReflectAsAttributes,c);else if(c instanceof Map)for(var d=0,f=x.propertiesToReflectAsAttributes;d<f.length;d++){var p=f[d];c.set(p,x.propertyTypes[p])}else if("object"==typeof c)for(var h=0,m=x.propertiesToReflectAsAttributes;h<m.length;h++){var _=m[h];c[_]=x.propertyTypes[_]}var g=u.map((function(e){return(0,b.camelCaseToDelimited)(e)})),E=function(t){function r(){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=r,o.internalProperties=n.internalProperties?v()({},n.internalProperties):e.internalProperties?v()({},e.internalProperties):{},o}return y()(r,t),r}(x);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof n.attachWebComponentAdapterIfNotExists||n.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=x.observedAttributes.concat(g).concat(g.map((function(e){return"-"+e}))),E.controllableProperties=e.controllableProperties||n.controllableProperties||[],E.eventToPropertyMapping=null===n.eventToPropertyMapping?n.eventToPropertyMapping:n.eventToPropertyMapping?v()({},n.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?v()({},e.eventToPropertyMapping):{},E.propertyAliases=v()({},x.propertyAliases,l),E.propertiesToReflectAsAttributes=c,E.propertyTypes=v()({},x.propertyTypes,s),E.renderProperties=null!==(o=null!==(i=n.renderProperties)&&void 0!==i?i:e.renderProperties)&&void 0!==o?o:x.renderProperties,E._name=a,{component:E,register:function(e){void 0===e&&(e=(0,b.camelCaseToDelimited)(a)),customElements.define(e,E)}}};return m.default=S,m}())},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__4__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__5__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__6__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__7__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__8__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__10__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__12__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__13__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__14__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__15__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__16__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__17__},,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__19__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__20__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__21__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__22__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__23__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__24__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__25__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__26__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__27__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__28__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__29__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__30__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__31__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__32__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__33__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__34__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__35__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__36__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__37__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__38__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__39__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__40__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__41__},,function(module,__unused_webpack_exports,__nested_webpack_require_50426__){var __dirname="/",e,t,r,n,i,o,a,l,u,s,c,d,m,f,p,v,g,h,y,b,x,S,w,I,j,N,C,T,O,P,A,q;if(module=__nested_webpack_require_50426__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__nested_webpack_require_50426__.g||null===__nested_webpack_require_50426__.g?{}:__nested_webpack_require_50426__.g;module.exports=(e=__nested_webpack_require_50426__(2),t=__nested_webpack_require_50426__(7),r=__nested_webpack_require_50426__(21),n=__nested_webpack_require_50426__(22),i=__nested_webpack_require_50426__(23),o=__nested_webpack_require_50426__(24),a=__nested_webpack_require_50426__(25),l=__nested_webpack_require_50426__(26),u=__nested_webpack_require_50426__(27),s=__nested_webpack_require_50426__(28),c=__nested_webpack_require_50426__(29),d=__nested_webpack_require_50426__(30),m=__nested_webpack_require_50426__(19),f=__nested_webpack_require_50426__(31),p=__nested_webpack_require_50426__(32),v=__nested_webpack_require_50426__(33),g=__nested_webpack_require_50426__(34),h=__nested_webpack_require_50426__(35),y=__nested_webpack_require_50426__(8),b=__nested_webpack_require_50426__(9),x=__nested_webpack_require_50426__(36),S=__nested_webpack_require_50426__(37),w=__nested_webpack_require_50426__(4),I=__nested_webpack_require_50426__(0),j=__nested_webpack_require_50426__(3),N=__nested_webpack_require_50426__(20),C=__nested_webpack_require_50426__(10),T=__nested_webpack_require_50426__(38),O=__nested_webpack_require_50426__(39),P=__nested_webpack_require_50426__(40),A=__nested_webpack_require_50426__(41),q=__nested_webpack_require_50426__(11),function(){var _=[function(t){t.exports=e},function(e){e.exports=q},function(e){e.exports=j},function(e){e.exports=I},function(e,t,n){n.d(t,{defaultModel:function(){return d},defaultModelState:function(){return c},defaultProperties:function(){return f},modelStatePropertyTypes:function(){return s},propertyTypes:function(){return u}});var r=n(0),o=n.n(r),i=n(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)}),u=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}),c={dirty:!1,pristine:!0,focused:!1,visited:!1,invalid:!1,invalidRequired:!1,valid:!0,touched:!1,untouched:!0},d={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()({},c),trim:!0,type:"string"},f={className:[],styles:{},componentProperties:{},domNodeProperties:{},enforceUncontrolled:!1,model:o()({},d),triggerInitialPropertiesConsolidation:!1,showDeclaration:void 0,showInitialValidationState:!1,showValidationState:!0,requiredText:"Please fill this field."}},function(e){e.exports=y},function(e){e.exports=w},function(e,t,n){n.d(t,{defaultModelState:function(){return c},defaultProperties:function(){return f},propertyTypes:function(){return l},renderProperties:function(){return u}});var r=n(0),o=n.n(r),i=n(3),a=n(4),s=o()({},a.modelStatePropertyTypes,{invalidMaximum:(0,i.oneOfType)([i.boolean,i.symbol]),invalidMinimum:(0,i.oneOfType)([i.boolean,i.symbol]),invalidMaximumLength:(0,i.oneOfType)([i.boolean,i.symbol]),invalidMinimumLength:(0,i.oneOfType)([i.boolean,i.symbol]),invalidInvertedPattern:(0,i.oneOfType)([i.boolean,i.symbol]),invalidPattern:(0,i.oneOfType)([i.boolean,i.symbol])}),l=o()({},a.propertyTypes,s,{align:i.string,children:i.func,cursor:(0,i.oneOfType)([(0,i.shape)({end:i.number.isRequired,start:i.number.isRequired}),i.symbol]),editor:i.string,editorIsActive:(0,i.oneOfType)([i.boolean,i.symbol]),editorIsInitiallyActive:i.boolean,hidden:(0,i.oneOfType)([i.boolean,i.symbol]),leadingIcon:(0,i.oneOfType)([i.string,i.object]),trailingIcon:(0,i.oneOfType)([i.string,i.object]),attributes:i.object,invertedPattern:(0,i.oneOfType)([(0,i.arrayOf)((0,i.oneOfType)([i.object,i.string])),i.object,i.string]),invertedPatternText:i.string,labels:(0,i.oneOfType)([(0,i.arrayOf)((0,i.arrayOf)((0,i.oneOfType)([i.any,i.string]))),(0,i.arrayOf)(i.string),i.object]),maximum:(0,i.oneOfType)([i.number,i.string]),maximumLength:i.number,minimum:(0,i.oneOfType)([i.number,i.string]),minimumLength:i.number,maximumLengthText:i.string,minimumLengthText:i.string,maximumText:i.string,minimumText:i.string,onBlur:i.func,onChangeEditorIsActive:i.func,onKeyDown:i.func,onKeyUp:i.func,onSelect:i.func,onSelectionChange:i.func,pattern:(0,i.oneOfType)([(0,i.arrayOf)((0,i.oneOfType)([i.object,i.string])),i.object,i.string]),patternText:i.string,placeholder:i.string,representation:(0,i.oneOfType)([i.string,i.symbol]),rows:i.number,searchSelection:i.boolean,selectableEditor:i.boolean,step:i.number,suggestionCreator:i.func,suggestSelection:i.boolean,transformer:i.object}),u=["children","suggestionCreator"],c=o()({},a.defaultModelState,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),d=o()({},a.defaultModel,{state:c}),f=o()({},a.defaultProperties,{cursor:{end:0,start:0},editor:"plain",selectableEditor:!1,rows:4,invertedPatternText:'Your string should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',maximumLengthText:"Please type less or equal than ${maximumLength} symbols.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:o()({},d),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',searchSelection:!1,suggestSelection:!1,step:1})},function(e,t,n){n.d(t,{WrapTooltip:function(){return d},default:function(){return f}});var r=n(0),o=n.n(r),i=n(16),a=n(13),s=n(2),l=n(1),u=!i.Tooltip||Boolean(i.Tooltip.isDummy),c=(0,s.forwardRef)((function(e,t){return u?(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})}))})),d=(!c||Boolean(c.isDummy),function(e){var t=e.children,n=e.value;return"string"==typeof n?(0,l.jsx)(c,{value:n,children:t}):(0,l.jsx)(l.Fragment,{children:t})}),f=d},function(e){e.exports=T},function(e,t,n){n(0),n(17),n(2),n(5);var r=n(14),o=n(15),i=n(8),a=n(1);t.default=function(e){var t=e.children,n=e.strict,s=e.themeConfiguration,l=e.tooltip,u=e.wrap;return(0,a.jsx)(r.WrapStrict,{strict:Boolean(n),children:(0,a.jsx)(i.WrapTooltip,{value:l,children:(0,a.jsx)(o.WrapThemeProvider,{configuration:s,wrap:u,children:t})})})}},function(e,t,n){n.d(t,{deriveMissingPropertiesFromState:function(){return u},determineInitialRepresentation:function(){return h},determineInitialValue:function(){return m},determineValidationState:function(){return _},formatValue:function(){return x},getConsolidatedProperties:function(){return g},getLabelAndValues:function(){return y},getValueFromSelection:function(){return b},mapPropertiesIntoModel:function(){return v},normalizeSelection:function(){return E},parseValue:function(){return C},renderMessage:function(){return d},translateKnownSymbols:function(){return p},triggerCallbackIfExists:function(){return f},wrapStateSetter:function(){return c}});var r=n(0),o=n.n(r),i=n(6),a=n(3);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var u=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 n=0,r=Object.entries(t.modelState);n<r.length;n++){var i,a=r[n],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},c=function(e,t){return function(n){var r="function"==typeof n?n(t):n;(0,i.equals)(null==r?void 0:r.modelState,null==t?void 0:t.modelState)||e(r)}},d=function(e,t){if("string"!=typeof e)return"";var n=(0,i.evaluate)("`"+e+"`",t);return n.error?(console.warn("Given message template could not be proceed:",n.error),""):n.result},f=function(e,t,n){void 0===n&&(n=!0);for(var r=arguments.length,o=new Array(r>3?r-3:0),a=3;a<r;a++)o[a-3]=arguments[a];t="on"+(0,i.capitalize)(t),e[t]&&(n?e[t].apply(e,o):(0,i.timeout)((function(){e[t].apply(e,o)})))},p=function(e){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=r[n],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};function h(e,t,n,r,a){if("string"==typeof e.representation)return e.representation;if(null!==n){var l,u=function(e,t){if(t)for(var n,r=s(t);!(n=r()).done;){var o=n.value;if((0,i.equals)(null==o?void 0:o.value,e))return o.label||String(e)}return null}(n,a);return"string"==typeof u?u:x(o()({},e,{type:e.type||(null==(l=e.model)?void 0:l.type)||t.model.type}),n,r)}return""}var m=function(e,t,n){var r,o;return void 0!==n?n:void 0!==e.value?e.value:void 0!==(null==(r=e.model)?void 0:r.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,n){void 0===n&&(n={});var r=!1;n=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))}},n),e.model.state||(e.model.state={});for(var i=0,a=Object.entries(n);i<a.length;i++){var s=a[i],l=s[0],u=s[1],c=t[l];e.model.state[l]=u(),r=r||c!==t[l]}return r&&(e.model.state.invalid=Object.keys(n).some((function(t){return Boolean(e.model.state&&e.model.state[t])})),e.model.state.valid=!e.model.state.invalid),r},v=function(e,t){var n=(0,i.extend)(!0,{model:(0,i.copy)(t)},e);n.disabled&&(n.model.mutable=!1,delete n.disabled),n.invertedPattern&&(n.model.invertedPattern=n.invertedPattern,delete n.invertedPattern),n.pattern&&(n.model.pattern=n.pattern,delete n.pattern),n.required&&(n.model.nullable=!1,delete n.required),"text"===n.type&&(n.type="string");for(var r,o=s(Object.keys(n.model).concat("value"));!(r=o()).done;){var a=r.value;Object.prototype.hasOwnProperty.call(n,a)&&void 0!==n[a]&&(n.model[a]=n[a])}for(var l in n.model.state)Object.prototype.hasOwnProperty.call(n,l)&&void 0!==n[l]&&(n.model.state[l]=n[l]);return void 0===n.model.value&&(n.model.value=(0,i.copy)(n.model.default)),n},g=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 y(e){if(Array.isArray(e)){for(var t,n=[],r=[],o=s(e);!(t=o()).done;){var i=t.value;"string"==typeof(null==i?void 0:i.label)&&(n.push(i.label),r.push(i.value))}return[n,r]}return[[],[]]}function b(e,t){if(Array.isArray(t))for(var n,r=s(t);!(n=r()).done;){var o=n.value;if("string"==typeof(null==o?void 0:o.label)&&o.label===e)return o.value;if(["number","string"].includes(typeof(null==o?void 0:o.value))&&String(o.value)===e)return o.value}return null}function E(e,t){if(e||(e=t,t=void 0),!e)return e;var n=(0,i.isObject)(t),r=function(e,r){if(n)if(Array.isArray(t)){if(t.length)if(Array.isArray(t[0]))for(var o=0,i=t;o<i.length;o++){var a=i[o],s=a[0],l=a[1];if(s===e)return l}else if("number"==typeof r&&r<t.length)return t[r]}else{if(!0===e&&t.true)return t.true;if(!1===e&&t.false)return t.false;if("string"==typeof e&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}return null},a=!1;if(Array.isArray(e)){if(a=!0,e.length){var l=[],u=0;if(Array.isArray(e[0]))for(var c=0,d=e;c<d.length;c++){var f,p=d[c],h=p[0],m=p[1];l.push({label:null!==(f=r(h,u))&&void 0!==f?f:m,value:h}),u+=1}else if((0,i.isObject)(e[0]))for(var _,v=s(e);!(_=v()).done;){var g,y=_.value;l.push(o()({},y,{label:null!==(g=r(y.value,u))&&void 0!==g?g:y.label})),u+=1}else for(var b=0,E=e;b<E.length;b++){var C,x=E[b];l.push({label:null!==(C=r(x,u))&&void 0!==C?C:x,value:x}),u+=1}e=l}}else{for(var A=[],I=0,O=Object.keys(e);I<O.length;I++){var S,T=O[I];A.push({label:null!==(S=r(T))&&void 0!==S?S:e[T],value:T})}e=A}if(Array.isArray(t)&&t.length&&Array.isArray(t[0])){for(var w=new Map,P=0,L=0,N=t;L<N.length;L++){var R=N[L][0];w.set(R,P),P+=1}e=e.sort((function(e,t){var n,r,o=e.value,i=t.value;return(null!==(n=w.get(o))&&void 0!==n?n:0)-(null!==(r=w.get(i))&&void 0!==r?r:0)}))}else a||(e=e.sort((function(e,t){var n=e.label,r=t.label;return n.localeCompare(r)})));return e}var C=function(e,t,n,r){var o;if(void 0===r&&(r=!1),r&&"string"==typeof t&&(t=t.trim().replace(/ +\n/g,"\\n")),e.model.emptyEqualsNull&&""===t)return null;var i=t;if(![null,void 0].includes(t)&&null!=(o=n[e.model.type])&&o.parse){var a,s=null==(a=n[e.model.type])?void 0:a.parse;i=s&&t?s(t,n,e):t}return"number"==typeof i&&isNaN(i)?null:i};function x(e,t,n,r){var o;void 0===r&&(r=!0);var i=r?"final":"intermediate";if([null,void 0].includes(t)||"number"==typeof t&&isNaN(t))return"";var a=null==(o=n[e.type||e.model.type])?void 0:o.format;if(a){var s,l=(null==(s=a[i])?void 0:s.transform)||a.final.transform;if(l)return l(t,n,e)}return String(t)}},,function(e){e.exports=b},function(e,t,n){n.d(t,{WrapStrict:function(){return i}});var r=n(2),o=n(1),i=function(e){var t=e.children;return e.strict?(0,o.jsx)(r.StrictMode,{children:t}):(0,o.jsx)(o.Fragment,{children:t})}},function(e,t,n){n.d(t,{WrapThemeProvider:function(){return i}});var r=n(5),o=n(1),i=function(e){var t=e.children,n=e.configuration,i=e.wrap;return n?(0,o.jsx)(r.ThemeProvider,{options:n,wrap:!1!==i,children:t}):t}},function(e){e.exports=C},function(e){e.exports=t},function(e){e.exports=N},function(e,t,n){var r=n(0),o=n.n(r),i=n(22),a=n(2),s=n(1),l=(0,a.forwardRef)((function(e,t){var n=e.componentProperties,r=e.size;return(0,s.jsx)(i.CircularProgress,o()({ref:t,size:null==r?void 0:r.replace("extra-small","xsmall").replace("extra-large","xlarge")},n))}));t.A=l},function(e,t,n){var r=n(0),o=n.n(r),i=n(25),a=n(2),s=n(9),l=n(1),u=(0,a.forwardRef)((function(e,t){var n,r,a,u=(0,s.useMemorizedValue)({});return(0,l.jsx)(i.Icon,o()({className:null==(n=e.classNames)?void 0:n.join(" "),style:e.styles},null!==(r=e.componentProperties)&&void 0!==r?r:u,{onClick:e.onClick,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,onFocus:e.onFocus,onBlur:e.onBlur,icon:(0,s.useMemorizedValue)({icon:e.icon,size:null==(a=e.size)?void 0:a.replace("extra-small","xsmall").replace("extra-large","xlarge"),strategy:e.strategy},e.icon,e.size,e.strategy),ref:t}))}));t.A=u},function(e,t,n){var r=n(0),o=n.n(r),i=n(26),a=n(2),s=n(9),l=n(1),u=(0,a.forwardRef)((function(e,t){var n,r,u,c=(0,a.useRef)(null),d=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,(function(){return{base:c,foundation:d}}));var f=null==(n=e.size)?void 0:n.replace("extra-small","xsmall").replace("extra-large","xlarge"),p=(0,s.useMemorizedValue)({});return(0,l.jsx)(i.IconButton,o()({checked:e.value,disabled:e.disabled,className:null==(r=e.classNames)?void 0:r.join(" "),style:e.styles,icon:(0,s.useMemorizedValue)({icon:e.icon,size:f,strategy:e.strategy},e.icon,f,e.strategy),onIcon:(0,s.useMemorizedValue)({icon:e.onIcon||e.icon,size:f,strategy:e.strategy},e.onIcon,e.icon,f,e.strategy),onClick:e.onClick,onChange:e.onChange,ref:c,foundationRef:d},null!==(u=e.componentProperties)&&void 0!==u?u:p))}));t.A=u},function(e){e.exports=m},function(e){e.exports=o},function(e){e.exports=i},function(e){e.exports=f},function(e){e.exports=p},function(e){e.exports=v},function(e){e.exports=g},function(e){e.exports=h},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=u},function(e){e.exports=s},function(e){e.exports=c},function(e){e.exports=d},function(e){e.exports=x},function(e){e.exports=S},function(e){e.exports=O},function(e){e.exports=P},function(e){e.exports=A},function(e,t,n){var r=n(5),o=n(2),i=n(1),a=(0,o.forwardRef)((function(e,t){var n=e.children,o=e.applyToChildren;return(0,i.jsx)(r.Theme,{ref:t,use:"error",wrap:o,children:n})}));t.A=a}],E={};function L(e){var t=E[e];if(void 0!==t)return t.exports;var n=E[e]={exports:{}};return _[e](n,n.exports,L),n.exports}L.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return L.d(t,{a:t}),t},L.d=function(e,t){for(var n in t)L.o(t,n)&&!L.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},L.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},L.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var R={};L.r(R),L.d(R,{CODE_EDITOR_OPTIONS:function(){return je},CSS_CLASS_NAMES:function(){return Fe},INPUT_TRANSFORMER:function(){return Ye},TIPTAP_DEFAULT_OPTIONS:function(){return Ue},TextInput:function(){return Je},TextInputInner:function(){return Qe},default:function(){return Ze},determineValidationState:function(){return Be},preventEnterKeyPropagation:function(){return Ve},suggestionMatches:function(){return We}});var D=L(0),M=L.n(D),k=L(23),F=L(24),U=L(6),B=L(2),V=L(18),W=L.n(V),H=L(43),K=L(20),z=L(21),$=L(27),G=L(19),X=L(1),Y=(0,B.memo)((0,B.forwardRef)((function(e,t){var n,r,o,i=(0,B.useRef)(null),a=(0,B.useRef)(null),s=(0,B.useRef)(null);return(0,B.useImperativeHandle)(t,(function(){return{surfaceAnchor:i,suggestionMenuAPI:a,suggestionMenuFoundation:s,focusItem:function(e){var t;null==(t=a.current)||t.focusItemAtIndex(e)}}})),(0,X.jsx)($.MenuSurfaceAnchor,{ref:i,onKeyDown:e.onKeyDown,children:e.pending?(0,X.jsx)($.MenuSurface,{anchorCorner:"bottomLeft",className:(null!==(n=e.classNames)&&void 0!==n?n:[]).concat(null!==(r=e.pendingClassNames)&&void 0!==r?r:[]).join(" "),open:!0,children:(0,X.jsx)(G.A,{size:"large"})}):(0,X.jsx)($.Menu,{anchorCorner:"bottomLeft",apiRef:function(e){a.current=e},className:null==(o=e.classNames)?void 0:o.join(" "),focusOnOpen:!1,foundationRef:s,onFocus:e.onFocus,onSelect:e.onSelect,open:e.open,children:e.options.map((function(t,n){var r;return(0,X.jsx)($.MenuItem,{className:null==(r=e.itemClassNames)?void 0:r.join(" "),children:t},n)}))})})}))),Q=L(28),J=L(9),Z=(0,B.memo)((0,B.forwardRef)((function(e,t){var n=(0,B.useRef)(null),r=(0,B.useRef)(null),o=(0,B.useRef)(null);return(0,B.useImperativeHandle)(t,(function(){return{base:n,foundation:r,input:o}})),(0,X.jsx)(Q.Select,M()({disabled:e.disabled,invalid:e.invalid,rootProps:(0,J.useMemorizedValue)(M()({name:e.name,onClick:e.onClick},e.domNodeProperties),e.name,e.onClick,e.domNodeProperties),enhanced:!0,ref:n,foundationRef:r,inputRef:o,onChange:e.onChange,onKeyDown:e.onKeyDown,options:e.options,value:String(e.value),label:e.label},e.componentProperties))}))),ee=L(29),te=(0,B.forwardRef)((function(e,t){var n,r=(0,B.useRef)(null),o=(0,B.useRef)(null),i=(0,B.useRef)(null);(0,B.useImperativeHandle)(t,(function(){return{base:r,foundation:o,input:i}}));var a="number"==typeof e.maximumLength&&!isNaN(e.maximumLength)&&e.maximumLength!==1/0&&e.maximumLength>=0;return(0,X.jsx)("div",{className:null==(n=e.classNames)?void 0:n.join(" "),style:e.styles,children:(0,X.jsx)(ee.TextField,M()({characterCount:e.characterCount&&a,disabled:e.disabled,invalid:e.invalid,label:e.label,name:e.name,placeholder:e.placeholder,helpText:e.helpText,maxLength:a?e.maximumLength:void 0,ref:r,foundationRef:o,inputRef:i,onChange:e.onChange,ripple:!0,rootProps:(0,J.useMemorizedValue)(M()({name:e.name,onClick:e.onClick,onKeyUp:e.onKeyUp,"tab-index":e.disabled?"0":"-1"},e.domNodeProperties),e.name,e.onClick,e.onKeyUp,e.domNodeProperties),icon:e.leadingIcon?"string"==typeof e.leadingIcon?e.leadingIcon:(0,X.jsx)(K.A,M()({},e.leadingIcon)):void 0,trailingIcon:e.trailingIcon?"string"==typeof e.trailingIcon?e.trailingIcon:(0,X.jsx)(K.A,M()({},e.trailingIcon)):void 0,type:e.type,value:e.value},e.componentProperties))})}));te.CSS_CLASS_NAMES={textInputSuggestionsSuggestionMark:"text-input__suggestions__suggestion__mark"};var ne=te,re=L(10),oe=L(8),ie=L(11),ae=L(30),se=L(31),le=L(32),ue=L(33),ce=L(34),de=L(35),fe=L(36),pe=L(37),he=(0,B.forwardRef)((function(e,t){var n,r,o,i,a,s=(0,B.useId)(),l=null!==(n=e.id)&&void 0!==n?n:s,u=null!==(r=e.classNamePrefix)&&void 0!==r?r:"text-area",c=(0,B.useRef)(null),d=(0,B.useRef)(null),f=(0,B.useRef)(null),p=(0,B.useRef)(null);(0,B.useImperativeHandle)(t,(function(){return{foundation:p,input:c,label:f,materialTextField:d}})),(0,B.useEffect)((function(){if(f.current)return d.current=new pe.MDCTextField(f.current),p.current=d.current.getDefaultFoundation(),"string"==typeof e.value&&(p.current.setValue(e.value),d.current.value=e.value),"boolean"==typeof e.disabled&&(p.current.setDisabled(e.disabled),d.current.disabled=e.disabled),"boolean"==typeof e.invalid&&(p.current.setValid(!e.invalid),d.current.valid=!e.invalid),"boolean"==typeof e.required&&(d.current.required=e.required),p.current.setUseNativeValidation(!1),function(){var e;null==(e=d.current)||e.destroy()}}),[f.current,d.current,e.value,e.disabled,e.invalid,e.required,e.minimumLength,e.maximumLength]),(0,B.useEffect)((function(){var t,n,r=e.children?function(){setTimeout((function(){var e;null==(e=p.current)||e.autoCompleteFocus()}))}:U.NOOP;null==(t=c.current)||t.addEventListener("input",r);var o=e.children?function(){setTimeout((function(){var e;null==(e=p.current)||e.activateFocus()}))}:U.NOOP;return null==(n=c.current)||n.addEventListener("focus",o),function(){var e,t;null==(e=c.current)||e.removeEventListener("input",r),null==(t=c.current)||t.removeEventListener("focus",o)}}),[p.current,c.current,e.children]);var h="number"==typeof e.maximumLength&&!isNaN(e.maximumLength)&&e.maximumLength!==1/0&&e.maximumLength>=0,m=(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)("textarea",M()({ref:c,id:l,name:e.name,disabled:e.disabled,className:"mdc-text-field__input",style:e.children?M()({visibility:"hidden",position:"absolute"},e.styles):e.styles,rows:e.rows,"aria-labelledby":l+"-label","aria-controls":l+"-helper","aria-describedby":l+"-helper",readOnly:Boolean(e.children),value:e.value,minLength:e.minimumLength,maxLength:e.maximumLength,onChange:e.onChange,onClick:e.onClick,onBlur:e.onBlur,onFocus:e.onFocus,onKeyUp:e.onKeyUp,onKeyDown:e.onKeyDown},e.domNodeProperties)),e.children,e.barContentSlot?(0,X.jsxs)("div",{className:u+"__bar",children:[e.barContentSlot,e.characterCount&&h?(0,X.jsx)("div",{className:"mdc-text-field-character-counter"}):""]}):e.characterCount&&h?(0,X.jsx)("div",{className:"mdc-text-field-character-counter"}):""]}),_="object"==typeof e.helpText?e.helpText:{children:e.helpText};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)("label",{ref:f,onClick:function(t){e.onLabelClick&&e.onLabelClick(t)},className:[u,"mdc-text-field","mdc-text-field--textarea"].concat(""===e.value?"mdc-text-field--textarea":u+"--has-content").concat(e.disabled?"mdc-text-field--disabled":[]).concat("mdc-text-field--filled").concat(e.characterCount&&h?"mdc-text-field--with-internal-counter":[]).concat(e.invalid?"mdc-text-field--invalid":[]).join(" "),children:[!1===(null==(o=e.componentProperties)?void 0:o.ripple)||e.children?"":(0,X.jsx)("span",{className:"mdc-text-field__ripple"}),(0,X.jsx)("span",{className:"mdc-floating-label",id:l+"-label",children:e.label}),e.resizeable?(0,X.jsx)("span",{className:"mdc-text-field__resizer",children:m}):m,!1!==(null==(i=e.componentProperties)?void 0:i.ripple)?(0,X.jsx)("span",{className:"mdc-line-ripple"}):""]}),_.children?(0,X.jsx)("div",{className:"mdc-text-field-helper-line",children:(0,X.jsx)("div",{className:["mdc-text-field-helper-text"].concat(_.persistent?"mdc-text-field-helper-text--persistent":[]).join(" "),id:l+"-helper",children:null!=(a=e.helpText)&&a.children?e.helpText.children:e.helpText})}):""]})}));he.CSS_CLASS_NAMES={textInput:"text-input",codeEditor:"code-editor",mdcTextFieldDisabled:"mdc-text-field--disabled",cmEditor:"cm-editor",richtextEditor:"richtext-editor",richtextEditorBar:"richtext-editor__bar",richtextEditorMenuBar:"richtext-editor-menu-bar",mdcIconButtonChecked:"mdc-icon-button--checked",mdcTextFieldCharacterCounter:"mdc-text-field-character-counter",mdcTextFieldWithInternalCounter:"mdc-text-field--with-internal-counter"};var me,_e,ve,ge=he,ye=(0,B.forwardRef)((function(e,t){var n=(0,B.useRef)(null);return(0,B.useImperativeHandle)(t,(function(){return{input:n,eventMapper:{blur:function(e){var t;if(null!=(t=n.current)&&t.input.current){var r=new Event("blur");r.detail=e,n.current.input.current.dispatchEvent(r)}},focus:function(e){var t;if(null!=(t=n.current)&&t.input.current){var r=new Event("focus");r.detail=e,n.current.input.current.dispatchEvent(r)}},input:function(e,t){var r;if(null!=(r=n.current)&&r.input.current){var o=new Event("input");o.detail=t,n.current.input.current.value=String(e),n.current.input.current.dispatchEvent(o)}}}}})),(0,X.jsx)(ge,M()({ref:n},e,{children:e.children}))})),be={textInput:"text-input",codeEditor:"code-editor",cmContent:"cm-content",cmActiveLine:"cm-activeLine",cmGutters:"cm-gutters",cmActiveLineGutter:"cm-activeLineGutter",cmFocused:"cm-focused",codeEditorHasContent:"code-editor--has-content",codeEditorView:"code-editor__view",richtextEditor:"richtext-editor",richtextEditorBar:"richtext-editor__bar",richtextEditorMenuBar:"richtext-editor-menu-bar",richtextEditorView:"richtext-editor__view",tiptap:"tiptap",textInputSuggestions:"text-input__suggestions",textInputSuggestionsPending:"text-input__suggestions--pending",textInputSuggestionsSuggestion:"text-input__suggestions__suggestion",textInputSuggestionsSuggestionMark:"text-input__suggestions__suggestion__mark"},Ee=ae.autocompletion?[].concat(ae.closeBracketsKeymap,se.defaultKeymap,ce.searchKeymap,se.historyKeymap,le.foldKeymap,ae.completionKeymap,ue.lintKeymap):[],Ce=fe.EditorView?[(0,fe.lineNumbers)(),(0,fe.highlightActiveLineGutter)(),(0,fe.highlightSpecialChars)(),(0,se.history)(),(0,le.foldGutter)(),(0,fe.drawSelection)(),(0,fe.dropCursor)(),de.EditorState.allowMultipleSelections.of(!0),(0,le.indentOnInput)(),(0,le.syntaxHighlighting)(le.defaultHighlightStyle,{fallback:!0}),(0,le.bracketMatching)(),(0,ae.closeBrackets)(),(0,ae.autocompletion)(),(0,fe.rectangularSelection)(),(0,fe.crosshairCursor)(),(0,fe.highlightActiveLine)(),(0,ce.highlightSelectionMatches)(),fe.keymap.of(Ee)]:[],xe=be,Ae=(0,B.forwardRef)((function(e,t){var n,r,o;if(!(ae.autocompletion&&se.history&&le.syntaxHighlighting&&ue.lintKeymap&&ce.searchKeymap&&de.EditorState&&fe.EditorView))throw Error("Missing codemirror dependencies.");var i=null!==(n=e.value)&&void 0!==n?n:"",a=(0,B.useRef)(null),s=(0,B.useRef)(null),l=(0,B.useRef)(null);(0,B.useImperativeHandle)(t,(function(){return{input:a,editorView:s,editorViewReference:l}})),(0,B.useEffect)((function(){var t;if(l.current){var n=de.EditorState.create({doc:String(i),extensions:[Ce,fe.EditorView.updateListener.of((function(t){t.startState.doc.toString()!==t.state.doc.toString()&&function(t){var n;if(!e.disabled){var r=t.state.doc.toString();null==(n=a.current)||n.eventMapper.input(r,t),e.onChange&&e.onChange(r)}}(t)})),null!=(t=e.editor)&&t.mode?e.editor.mode:[]]});return s.current=new fe.EditorView({state:n,parent:l.current}),function(){s.current&&(s.current.destroy(),s.current=null)}}}),[l.current,null==(r=e.editor)||null==(r=r.mode)?void 0:r.language.name]),(0,B.useEffect)((function(){s.current&&e.value!==s.current.state.doc.toString()&&s.current.state.update({changes:{from:0,insert:de.Text.empty}},{changes:{from:0,insert:String(e.value)}})}),[s.current,e.value]);var u=null==(o=a.current)||null==(o=o.input)||null==(o=o.current)||null==(o=o.input)?void 0:o.current;return(0,B.useEffect)((function(){var e=new ResizeObserver((function(){var e=null==u?void 0:u.clientHeight;if(l.current&&e){var t=l.current.querySelector(".cm-scroller");if(t){var n=String(e)+"px";return l.current.style.height=n,void(t.style.height=n)}}}));return u&&e.observe(u),function(){e.disconnect()}}),[l.current,u]),(0,X.jsx)(ye,M()({},e,{ref:a,value:i,classNamePrefix:xe.codeEditor,onLabelClick:function(){var e;null==(e=l.current)||e.focus()},children:(0,X.jsx)("div",{ref:l,onBlur:function(t){var n;null==(n=a.current)||n.eventMapper.blur(t),e.onBlur&&e.onBlur(t)},onFocus:function(t){var n;null==(n=a.current)||n.eventMapper.focus(t),e.onFocus&&e.onFocus(t)},className:xe.codeEditorView+" mdc-text-field__input"})}))})),Ie=L(38),Oe=L(39),Se=L.n(Oe),Te=(0,B.createContext)(null),we=function(e){var t,n=e.action,r=e.activeIndicator,o=e.checkedIconName,i=e.enabledIndicator,a=e.iconName,s=e.label,l=(0,B.useContext)(Te);if(!l)return null;var u=!0;i?u=i(l.can().chain().focus()).run():null!==i&&(u=n(l.can().chain().focus()).run());var c=Boolean(r&&l.isActive(r)),d=null!==(t=null!=s?s:r)&&void 0!==t?t:a;return(0,X.jsx)(oe.default,{value:d,children:(0,X.jsx)(z.A,{value:c,disabled:!u,classNames:c?["mdc-icon-button--checked"]:[],onClick:function(e){e.stopPropagation(),n(l.chain().focus()).run()},size:"extra-small",icon:a,onIcon:null!=o?o:a,domNodeProperties:{"aria-label":d}})})},Pe=function(e){var t=e.editor;return t?(0,X.jsx)("span",{className:"richtext-editor-menu-bar",children:(0,X.jsxs)(Te.Provider,{value:t,children:[(0,X.jsxs)("span",{className:"richtext-editor-menu-bar__history",children:[(0,X.jsx)(we,{action:function(e){return e.undo()},iconName:"undo"}),(0,X.jsx)(we,{action:function(e){return e.redo()},iconName:"redo"})]}),(0,X.jsxs)("span",{className:"richtext-editor-menu-bar__marks",children:[(0,X.jsx)(we,{action:function(e){return e.unsetAllMarks()},enabledIndicator:null,iconName:"format_clear",label:"clear formatting"}),(0,X.jsx)(we,{action:function(e){return e.toggleBold()},activeIndicator:"bold",iconName:"format_bold"}),(0,X.jsx)(we,{action:function(e){return e.toggleItalic()},activeIndicator:"italic",iconName:"format_italic"}),(0,X.jsx)(we,{action:function(e){return e.toggleStrike()},activeIndicator:"strike",iconName:"format_strikethrough",label:"strikethrough"})]}),(0,X.jsxs)("span",{className:"richtext-editor-menu-bar__nodes",children:[(0,X.jsx)(we,{action:function(e){return e.clearNodes()},enabledIndicator:null,iconName:"layers_clear",label:"clear markup"}),(0,X.jsx)(we,{action:function(e){return e.toggleHeading({level:2})},enabledIndicator:null,activeIndicator:"heading",iconName:"title",label:"headline"}),(0,X.jsx)(we,{action:function(e){return e.setParagraph()},enabledIndicator:null,activeIndicator:"paragraph",iconName:"segment"}),(0,X.jsx)(we,{action:function(e){return e.toggleBulletList()},enabledIndicator:null,activeIndicator:"bulletList",iconName:"format_list_bulleted",label:"Unordered List"}),(0,X.jsx)(we,{action:function(e){return e.toggleOrderedList()},enabledIndicator:null,activeIndicator:"orderedList",iconName:"format_list_numbered",label:"Ordered List"}),(0,X.jsx)(we,{action:function(e){return e.setHardBreak()},enabledIndicator:null,iconName:"insert_page_break",label:"Hard break"})]})]})}):null},Le=be,Ne=(0,B.forwardRef)((function(e,t){var n,r,o,i,a;if(!Ie.useEditor||Se().isDummy)throw Error("Missing tiptap dependencies.");var s=null!==(n=e.value)&&void 0!==n?n:"",l=(0,B.useRef)(null),u=(0,B.useRef)(null);(0,B.useImperativeHandle)(t,(function(){return{input:l,editorViewReference:u}}));var c=(null==(r=e.editor)?void 0:r.extensions)||[Se().configure((null==(o=e.editor)?void 0:o.starterKitOptions)||{})],d=(0,Ie.useEditor)(M()({extensions:c,editable:!e.disabled,content:String(s),onBlur:function(t){var n;null==(n=l.current)||n.eventMapper.blur(t),e.onBlur&&e.onBlur(t)},onFocus:function(t){var n;null==(n=l.current)||n.eventMapper.focus(t),e.onFocus&&e.onFocus(t)},onUpdate:function(t){var n,r=t.editor.getHTML();null==(n=l.current)||n.eventMapper.input("<p></p>"===r?"":r,t),e.onChange&&e.onChange(r,{contentTree:t.editor.getJSON()})}},(null==(i=e.editor)?void 0:i.options)||{})),f=d.getHTML(),p=null==(a=l.current)||null==(a=a.input)||null==(a=a.current)||null==(a=a.input)||null==(a=a.current)?void 0:a.clientHeight;return(0,B.useEffect)((function(){u.current&&p&&(u.current.style.height=String(p+8)+"px")}),[u.current,p]),(0,X.jsx)(ye,M()({},e,{ref:l,barContentSlot:(0,X.jsx)(Pe,{editor:d}),value:"<p></p>"===f?"":f,classNamePrefix:Le.richtextEditor,onLabelClick:function(){d.chain().focus().run()},children:(0,X.jsx)(Ie.EditorContent,{className:Le.richtextEditorView+" mdc-text-field__input",editor:d,innerRef:u})}))})),Re=!(void 0===window),De=Re?null==(me=L(40))?void 0:me.default:null,Me=Re?null==(_e=L(41))?void 0:_e.default:null,ke=Re?null==(ve=L(42))?void 0:ve.default:null,Fe=be,je={},Ue={injectCSS:!0,enableContentCheck:!0},Be=function(e,t){return(0,ie.determineValidationState)(e,t,{invalidMaximum:function(){return"number"==typeof e.model.maximum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.maximum>=0&&e.model.maximum<e.model.value},invalidMinimum:function(){return"number"==typeof e.model.minimum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.value<e.model.minimum},invalidMaximumLength:function(){return"number"==typeof e.model.maximumLength&&"string"==typeof e.model.value&&e.model.maximumLength>=0&&e.model.maximumLength<e.model.value.length},invalidMinimumLength:function(){return"number"==typeof e.model.minimumLength&&"string"==typeof e.model.value&&e.model.value.length<e.model.minimumLength},invalidInvertedPattern:function(){return"string"==typeof e.model.value&&void 0!==e.model.invertedPattern&&Boolean(e.model.invertedPattern)&&[].concat(e.model.invertedPattern).some((function(t){return new RegExp(t).test(e.model.value)}))},invalidPattern:function(){return"string"==typeof e.model.value&&void 0!==e.model.pattern&&Boolean(e.model.pattern)&&[].concat(e.model.pattern).some((function(t){return!new RegExp(t).test(e.model.value)}))}})};function Ve(e){"Enter"===e.code&&e.stopPropagation()}function We(e,t){return!!t&&(e=e.toLowerCase(),t.replace(/ +/g," ").toLowerCase().split(" ").every((function(t){return e.includes(t)})))}var qe=L(7),He=function(e){return e===1/0?"Infinitely far in the future":e===-1/0?"Infinitely early in the past":isFinite(e)?null:""},Ke=function(e){return new Date(Math.round(1e3*e)).toISOString()},ze=function(e){return e instanceof Date?e.getTime()/1e3:e},$e={boolean:{parse:function(e){var t;return"boolean"==typeof e?e:null===(t=new Map([["false",!1],["true",!0],[0,!1],[1,!0]]).get(e))||void 0===t||t},type:"text"},currency:{format:{final:{options:{currency:"USD"},transform:function(e,t){var n,r,o,i=t.currency.format,a=null!==(n=null==i||null==(r=i.final.options)?void 0:r.currency)&&void 0!==n?n:"USD";return e===1/0?"Infinity "+a:e===-1/0?"- Infinity "+a:isNaN(e)?"unknown":new Intl.NumberFormat(Je.locales,M()({style:"currency"},null!==(o=null==i?void 0:i.final.options)&&void 0!==o?o:{})).format(e)}}},parse:function(e,t,n){return t.float.parse?t.float.parse(e,t,n):NaN},type:"text"},datetime:{format:{final:{transform:function(e,t,n){if("number"!=typeof e){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Datetime formatting depends on it.");e=t.datetime.parse(e,M()({},t,{date:M()({},t.date,{useISOString:!1})}),n)}var r=He(e);if("string"==typeof r)return r;var o=Ke(e);return o.substring(0,o.lastIndexOf("."))}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=ze(e))){var r=Date.parse(e+":00.000Z"),o=isNaN(r);o&&(r=Date.parse(e+".000Z"),(o=isNaN(r))&&(r=Date.parse(e),e=isNaN(r)?parseFloat(e):r/1e3)),o||(e=r/1e3)}return isNaN(e)&&(e=0),n?Ke(e):e},type:"datetime-local"},"datetime-local":{format:{final:{transform:function(e,t,n){if("number"!=typeof e){if(!t["datetime-local"].parse)throw new Error("Missing datetime local parse transformation configured. Datetime local formatting depends on.");e=t["datetime-local"].parse(e,M()({},t,{date:M()({},t.date,{useISOString:!1})}),n)}var r=He(e);if("string"==typeof r)return r;var o=Ke(e-60*new Date(1e3*e).getTimezoneOffset());return o.substring(0,o.lastIndexOf("."))}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=ze(e))){var r=Date.parse(e+":00.000Z"),o=isNaN(r);o&&(r=Date.parse(e+".000Z"),(o=isNaN(r))&&(r=Date.parse(e),e=isNaN(r)?parseFloat(e):r/1e3)),o||(e=r/1e3+60*new Date(r).getTimezoneOffset())}return isNaN(e)&&(e=0),n?Ke(e):e}},date:{format:{final:{transform:function(e,t,n){var r;if(null==(r=t.datetime.format)||!r.final.transform)throw new Error("Missing datetime final format transformation configured. Date formatting depends on it.");var o=t.datetime.format.final.transform(e,t,n),i=o.indexOf("T");return-1===i?o:o.substring(0,i)}}},parse:function(e,t,n){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Date parsing depends on it.");return t.datetime.parse(e,t,n)},useISOString:!0},"date-local":{format:{final:{transform:function(e,t,n){if("number"!=typeof e){if(!t["datetime-local"].parse)throw new Error("Missing datetime local parse transformation configured. Date local formatting depends on it.");e=t["datetime-local"].parse(e,M()({},t,{date:M()({},t.date,{useISOString:!1})}),n)}var r=He(e);if("string"==typeof r)return r;e-=60*new Date(1e3*e).getTimezoneOffset();var o=Ke(e);return o.substring(0,o.lastIndexOf("T"))}}},parse:function(e,t,n){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Date local parsing depends on.");return(e=t.datetime.parse(e,M()({},t,{date:M()({},t.date,{useISOString:!1})}),n))%(24*Math.pow(60,2))==0&&(e+=60*new Date(1e3*e).getTimezoneOffset()),t.date.useISOString?Ke(e):e},type:"date"},time:{format:{final:{transform:function(e,t,n){if("number"!=typeof e){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Time formatting depends on it.");e=t.datetime.parse(e,M()({},t,{date:M()({},t.date,{useISOString:!1})}),n)}var r=He(e);if("string"==typeof r)return r;var o=Ke(e),i=o.indexOf("T");return-1===i?o:(o=o.substring(i+1,o.length-1),n.step&&n.step>=60&&n.step%60==0?o.substring(0,o.lastIndexOf(":")):o)}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=ze(e))){var r=Date.parse(e);if(isNaN(r)){var o=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,(function(e,t,n,r,o){return String(parseInt(t)*Math.pow(60,2)+60*parseInt(n)+(r&&void 0!==o?parseFloat(o):0))})));e=isNaN(o)?0:o}else e=r/1e3}return isNaN(e)&&(e=0),n?Ke(e):e}},"time-local":{format:{final:{transform:function(e,t,n){if("number"!=typeof e){if(!t["time-local"].parse)throw new Error("Missing time local parse transformation configured. Time local formatting depends on it.");e=t["time-local"].parse(e,M()({},t,{date:M()({},t.date,{useISOString:!1})}),n)}var r=He(e);if("string"==typeof r)return r;var o=new Date(1e3*e),i=o.getHours(),a=o.getMinutes(),s=(i<10?"0":"")+String(i)+":"+(a<10?"0":"")+String(a);if(!(n.step&&n.step>=60&&n.step%60==0)){var l=o.getSeconds();return s+":"+(l<10?"0":"")+String(l)}return s}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=ze(e))){var r=Date.parse(e);if(isNaN(r)){var o=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,(function(e,t,n,r,o){var i=new Date(0);return i.setHours(parseInt(t)),i.setMinutes(parseInt(n)),r&&void 0!==o&&i.setSeconds(parseInt(o)),String(i.getTime()/1e3)})));e=isNaN(o)?0:o}else e=r/1e3}return isNaN(e)&&(e=0),n?Ke(e):e},type:"time"},float:{format:{final:{transform:function(e,t){var n=t.float.format;return n?e===1/0?"Infinity":e===-1/0?"- Infinity":new Intl.NumberFormat(Je.locales,n.final.options||{}).format(e):String(e)}}},parse:function(e,t,n){var r=n.maximum,o=n.minimum;return"string"==typeof e&&(e=parseFloat("de-DE"===Je.locales[0]?e.replace(/\./g,"").replace(/,/g,"."):e)),("number"==typeof o&&o>=0&&e<0||"number"==typeof r&&r<=0&&e>0)&&(e*=-1),e},type:"text"},integer:{format:{final:{transform:function(e,t){var n,r=t.integer.format;return new Intl.NumberFormat(Je.locales,M()({maximumFractionDigits:0},null!==(n=null==r?void 0:r.final.options)&&void 0!==n?n:{})).format(e)}}},parse:function(e,t,n){var r=n.maximum,o=n.minimum;return"string"==typeof e&&(e=parseInt("de-DE"===Je.locales[0]?e.replace(/[,.]/g,""):e)),("number"==typeof o&&o>=0&&e<0||"number"==typeof r&&r<=0&&e>0)&&(e*=-1),e},type:"text"},number:{parse:function(e){return"number"==typeof e?e:parseInt(e)}}};function Ge(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Xe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xe(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Xe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Ye=$e,Qe=function(e,t){var n,r,o,i,a,s,l,u,c=(0,B.useId)(),d=null!==(n=e.id)&&void 0!==n?n:c;(0,B.useEffect)((function(){var e;if(null!=(e=C.current)&&null!=(e=e.input)&&e.current){var t,n,r,o,i=C.current.input.current;if(null!=(t=i.input)&&t.current&&null!=(r=(i=null==(n=i.input)?void 0:n.current).input)&&r.current&&(i=null==(o=i.input)?void 0:o.current),!i)return;var a=i,s={},l=[];Ee.valid?(l.push("ariaErrormessage"),l.push("ariaInvalid")):(s.ariaErrormessage=d+"-error-message",s.ariaInvalid="true"),Le?("search"!==a.getAttribute("type")&&(s.role="searchbox"),s.ariaAutocomplete=Ee.searchSelection?"inline":"list"):(l.push("searchbox"),l.push("ariaAutocomplete")),Ee.showDeclaration?s.ariaDescribedby=d+"-declaration":l.push("ariaDescribedby");for(var u=M()({},s,Ee.attributes||{}),c=0,f=Object.entries(u);c<f.length;c++){var p=f[c],h=p[0],m=p[1],_=(0,U.camelCaseToDelimited)(h);"boolean"==typeof m?m?a.setAttribute(_,""):a.removeAttribute(_):a.setAttribute(_,String(m))}for(var v=0,g=l;v<g.length;v++){var y=g[v],b=(0,U.camelCaseToDelimited)(y);a.hasAttribute(b)&&a.removeAttribute(b)}}})),(0,B.useEffect)((function(){if(Xe){var e,t=null==(e=x.current)?void 0:e.querySelector('[aria-haspopup="listbox"]');if(t){t.hasAttribute("aria-expanded")||t.setAttribute("aria-expanded","false");var n=t.querySelector(".mdc-select__dropdown-icon-active");n&&!n.hasAttribute("aria-hidden")&&n.setAttribute("aria-hidden","true");var r=t.querySelector(".mdc-select__dropdown-icon-inactive");r&&!r.hasAttribute("aria-hidden")&&r.setAttribute("aria-hidden","true")}}})),(0,B.useEffect)((function(){if(Xe){var e,t=null==(e=x.current)?void 0:e.querySelector('[aria-haspopup="listbox"]');if(t){var n=function(e){Ee.disabled&&e.stopPropagation()};return t.addEventListener("keydown",n,!0),function(){t.removeEventListener("keydown",n,!0)}}}})),(0,B.useEffect)((function(){Ee.triggerInitialPropertiesConsolidation&&_(new Event("genericInitialPropertiesConsolidation"))}),[]);var f=function(e){if("clear_preset"===e){var t=function(e){e.code&&!["Enter","Space"].includes(e.code)||(e.preventDefault(),e.stopPropagation(),v((0,ie.parseValue)(Ee,Ee.default,Je.transformer,!ye&&Ee.model.trim)))},n=(0,U.equals)(Ee.value,Ee.default);return{icon:(0,X.jsx)(W(),{in:!n,children:De&&!De.isDummy&&ke?(0,X.jsx)(De,{animation:ke,reverse:!0}):(0,X.jsx)(K.A,{icon:"clear"})}),componentProperties:{"aria-hidden":n?"true":"false","tab-index":n?-1:0},onClick:t,onKeyDown:t,strategy:"component",tooltip:"Clear input"}}if("password_preset"===e){var r=function(e){e.code&&!["Enter","Space"].includes(e.code)||(e.preventDefault(),e.stopPropagation(),D((function(t){return void 0===t&&(t=Ee.hidden),Ee.hidden=!t,_(e),Ee.hidden})))};return{icon:De&&!De.isDummy&&Me?(0,X.jsx)(De,{animation:Me,reverse:!Ee.hidden}):Ee.hidden?"lock_open":"lock",onClick:r,onKeyDown:r,strategy:"component",tooltip:(Ee.hidden?"Show":"Hide")+" password"}}var o;return e&&("string"==typeof e&&(e={icon:e}),Object.prototype.hasOwnProperty.call(e,"onClick")||(e.domNodeProperties=null!==(o=e.domNodeProperties)&&void 0!==o?o:{},e.domNodeProperties["tab-index"]=-1,e.domNodeProperties["aria-hidden"]=!0)),e},p=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n=!0),"boolean"==typeof t?n?(0,X.jsx)(W(),{in:t,children:e}):t?e:"":n?(0,X.jsx)(W(),M()({},t,{children:e})):t.in?e:""},h=function(e){if("object"==typeof e&&e.tooltip){var t=e.tooltip;delete(e=M()({},e)).tooltip;var n=M()({},e);e.strategy="component",e.icon=(0,X.jsx)(oe.default,{value:t,children:(0,X.jsx)(K.A,M()({},n))})}return e},m=function(e){var t=(0,ie.getConsolidatedProperties)(function(e){var t,n=(0,ie.mapPropertiesIntoModel)(e,Je.defaultProperties.model);return n.model.value=(0,ie.parseValue)(n,n.model.value,ae,!ye&&(null==(t=e.model)?void 0:t.trim)),Be(n,n.model.state),n}(e));return["plain","text"].includes(t.editor)&&(t.selectableEditor=!1),t.selectableEditor||"plain"===t.editor||(t.editorIsActive=!0),"string"!=typeof t.representation&&(t.representation=(0,ie.formatValue)(t,t.value,ae,!t.focused)),t},_=function(e){(0,U.extend)(!0,Ee,m(Ee)),(0,ie.triggerCallbackIfExists)(Ee,"change",ye,Ee,e)},v=function(e,t){var n;if(void 0===t&&(t=-1),q(!0),(0,U.isObject)(e)){var r=(n=e).target||n.detail;Ee.value=r?void 0===r.value?null:r.value:e}else Ee.value=e;var o=function(){ve((function(e){if(!be&&e.representation===Ee.representation&&!Ee.suggestionCreator&&-1===t)return e;var r=M()({},e,{representation:Ee.representation});if(!ye&&(0,U.equals)(e.value,Ee.value))return r;r.value=Ee.value;var o=!1;return e.modelState.pristine&&(Ee.dirty=!0,Ee.pristine=!1,o=!0),_(n),Be(Ee,e.modelState)&&(o=!0),(0,ie.triggerCallbackIfExists)(Ee,"changeValue",ye,Ee.value,n,Ee),o&&Ee.model.state&&(r.modelState=Ee.model.state,(0,ie.triggerCallbackIfExists)(Ee,"changeState",ye,Ee.model.state,n,Ee)),(Xe||-1!==t)&&(0,ie.triggerCallbackIfExists)(Ee,"select",ye,n,Ee),r}))},i=!ye&&Ee.model.trim;if(Ee.representation=-1!==t?we[t]:"string"==typeof Ee.value?Ee.value:(0,ie.formatValue)(Ee,Ee.value,ae),Le)if(Ee.suggestionCreator){var a=new AbortController,s=function(e){if(!a.signal.aborted){if(ue((function(t){return t instanceof AbortController&&!t.signal.aborted&&t.abort(),e})),-1===t){var n=(0,ie.getValueFromSelection)(Ee.representation,(0,ie.normalizeSelection)(e));null!==n||Ee.searchSelection?Ee.value=n:Ee.value=(0,ie.parseValue)(Ee,Ee.representation,ae,i)}o()}},l=Ee.suggestionCreator({abortController:a,properties:Ee,query:Ee.representation});null!=l&&l.then?(ue((function(e){return e instanceof AbortController&&!e.signal.aborted&&e.abort(),a})),ve((function(e){return M()({},e,{representation:Ee.representation})})),l.then(s,(function(){}))):s(l)}else{if(-1===t){var u=(0,ie.getValueFromSelection)(Ee.representation,de);null!==u||Ee.searchSelection?Ee.value=u:Ee.value=(0,ie.parseValue)(Ee,Ee.representation,ae,i)}o()}else Ee.value=(0,ie.parseValue)(Ee,Ee.value,ae,i),o()},g=function(e){b(e),(0,ie.triggerCallbackIfExists)(Ee,"click",ye,e,Ee),E(e)},y=function(e){(0,ie.triggerCallbackIfExists)(Ee,"focus",ye,e,Ee),E(e)},b=function(e){(0,ie.triggerCallbackIfExists)(Ee,"selectionChange",ye,e,Ee)},E=function(e){ve((function(t){var n=!1;t.modelState.focused||(Ee.focused=!0,n=!0),t.modelState.untouched&&(Ee.touched=!0,Ee.untouched=!1,n=!0);var r=t;return n&&(_(e),r=M()({},t,{modelState:Ee.model.state}),(0,ie.triggerCallbackIfExists)(Ee,"changeState",ye,Ee.model.state,e,Ee)),(0,ie.triggerCallbackIfExists)(Ee,"touch",ye,e,Ee),r}))},C=(0,B.useRef)(null),x=(0,B.useRef)(null),A=(0,B.useRef)(null),I=(0,ie.translateKnownSymbols)(e),O=(0,B.useState)({end:0,start:0}),S=O[0],T=O[1],w=(0,B.useState)({editorIsActive:I.editorIsInitiallyActive||!1,selectionIsUnstable:!1}),P=w[0],L=w[1],N=(0,B.useState)(),R=N[0],D=N[1],j=(0,B.useState)(!1),V=j[0],q=j[1],$=(0,B.useState)(!1),G=$[0],Q=$[1],J=(0,ie.determineInitialValue)(I,Je.defaultProperties.model.default);J instanceof Date&&(J=J.getTime()/1e3);var ee=(0,U.extend)(!0,(0,U.copy)(Je.defaultProperties),I),te=ee.type||(null==(r=ee.model)?void 0:r.type)||"string",ae=ee.transformer?M()({},Je.transformer,((o={})[te]=(0,U.extend)(!0,(0,U.copy)(Je.transformer[te])||{},ee.transformer),o)):Je.transformer,se=(0,B.useState)(),le=se[0],ue=se[1];(ee.selection||null!=(i=ee.model)&&i.selection)&&(le=ee.selection||(null==(a=ee.model)?void 0:a.selection)),le||"boolean"!==(ee.type||(null==(s=ee.model)?void 0:s.type))||(le=[{label:"No",value:!1},{label:"Yes",value:!0}]);var ce,de=le instanceof AbortController?[]:(0,ie.normalizeSelection)(le,ee.labels),fe=le instanceof AbortController?[[],[]]:(0,ie.getLabelAndValues)(de),pe=fe[0],he=fe[1],me=(0,B.useState)((function(){return{modelState:M()({},Je.defaultModelState),representation:(0,ie.determineInitialRepresentation)(ee,Je.defaultProperties,J,ae,de),value:J}})),_e=me[0],ve=me[1],ye=!ee.enforceUncontrolled&&(void 0!==(null==(l=I.model)?void 0:l.value)||void 0!==I.value)&&Boolean(I.onChange||I.onChangeValue),be=ye&&void 0!==I.representation;null!==ee.cursor&&"object"==typeof ee.cursor||(ee.cursor={}),void 0===ee.cursor.end&&(ee.cursor.end=S.end),void 0===ee.cursor.start&&(ee.cursor.start=S.start),void 0===ee.editorIsActive&&(ee.editorIsActive=P.editorIsActive),void 0===ee.hidden&&(ee.hidden=R),void 0===ee.representation&&(ee.representation=_e.representation),void 0===ee.showDeclaration&&(ee.showDeclaration=G),(0,ie.deriveMissingPropertiesFromState)(ee,_e),void 0===ee.value?void 0===ee.representation&&void 0===(null==(ce=ee.model)?void 0:ce.value)&&(ee.representation=_e.representation):be||ee.value===_e.value||(ee.representation=void 0);var Ee=m(ee);void 0===Ee.hidden&&(Ee.hidden=Ee.name.startsWith("password")),Ee.cursor&&!(0,U.equals)(Ee.cursor,S)&&T(Ee.cursor),Ee.editorIsActive!==P.editorIsActive&&L(M()({},P,{editorIsActive:Ee.editorIsActive})),Ee.hidden!==R&&D(Ee.hidden),Ee.showDeclaration!==G&&Q(Ee.showDeclaration);var Ce={modelState:Ee.model.state,representation:Ee.representation,value:null!==(u=Ee.value)&&void 0!==u?u:null};(ye||(0,U.equals)(Ee.value,_e.value)&&Ee.representation===_e.representation)&&(0,U.equals)(Ee.model.state,_e.modelState)||ve(Ce),ye&&(ve=(0,ie.wrapStateSetter)(ve,Ce)),(0,B.useImperativeHandle)(t,(function(){for(var e,t={modelState:Ee.model.state},n=Ge(["cursor","editorIsActive","hidden","showDeclaration"]);!(e=n()).done;){var r,o=e.value;Object.prototype.hasOwnProperty.call(I,o)||(t[o]=null!==(r=Ee[o])&&void 0!==r&&r)}return be||(t.representation=Ee.representation),ye||(t.value=Ee.value),{properties:Ee,references:{input:C,menu:A,wrapper:x},state:t}}));var xe={ref:C,id:d,componentProperties:Ee.componentProperties,domNodeProperties:Ee.domNodeProperties,onClick:g,onFocus:function(e){q(!0),y(e)},disabled:Ee.disabled,invalid:Ee.invalid&&Ee.showValidationState&&(Ee.showInitialValidationState||Ee.visited),helpText:{children:(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(W(),{in:Ee.selectableEditor&&"string"===Ee.type&&"plain"!==Ee.editor,children:(0,X.jsx)(z.A,{domNodeProperties:{"aria-label":Ee.editorIsActive?"plain":Ee.editor.startsWith("code")?"code":"richtext"},icon:Ee.editorIsActive?"subject":Ee.editor.startsWith("code")?"code":"text_format",onClick:function(e){e.preventDefault(),e.stopPropagation(),L((function(t){var n=t.editorIsActive;return Ee.editorIsActive=!n,_(e),(0,ie.triggerCallbackIfExists)(Ee,"changeEditorIsActive",ye,Ee.editorIsActive,e,Ee),{editorIsActive:Ee.editorIsActive,selectionIsUnstable:!0}}))}})}),(0,X.jsx)(W(),{in:Boolean(Ee.declaration),children:(0,X.jsx)(z.A,{"aria-expanded":Ee.showDeclaration?"true":"false","aria-label":"declaration",value:Ee.showDeclaration,icon:"more_horiz",onIcon:"more_vert",onChange:function(e){Q((function(t){return Ee.showDeclaration=!t,_(e),(0,ie.triggerCallbackIfExists)(Ee,"changeShowDeclaration",ye,Ee.showDeclaration,e,Ee),Ee.showDeclaration}))}})}),(0,X.jsx)(W(),{id:d+"-declaration",in:Ee.showDeclaration,children:Ee.declaration}),(0,X.jsx)(W(),{in:!Ee.showDeclaration&&Ee.invalid&&Ee.showValidationState&&(Ee.showInitialValidationState||Ee.visited),children:(0,X.jsx)(H.A,{applyToChildren:!0,children:(0,X.jsx)("span",{id:d+"-error-message",children:(0,ie.renderMessage)(Ee.invalidMaximum&&Ee.maximumText||Ee.invalidMaximumLength&&Ee.maximumLengthText||Ee.invalidMinimum&&Ee.minimumText||Ee.invalidMinimumLength&&Ee.minimumLengthText||Ee.invalidInvertedPattern&&Ee.invertedPatternText||Ee.invalidPattern&&Ee.patternText||Ee.invalidRequired&&Ee.requiredText,M()({formatValue:function(e){return(0,ie.formatValue)(Ee,e,ae)}},Ee))})})})]}),persistent:!0},name:Ee.name||Ee.description,label:Ee.description||Ee.name},Ie={placeholder:Ee.placeholder,characterCount:"number"==typeof Ee.maximumLength&&!isNaN(Ee.maximumLength)&&Ee.maximumLength>=0,value:Ee.representation,domNodeProperties:M()({"tab-index":Ee.disabled?"0":"-1"},Ee.domNodeProperties),onKeyUp:function(e){e.code&&(b(e),(0,ie.triggerCallbackIfExists)(Ee,"keyUp",ye,e,Ee))}},Oe=!Ee.selection&&"string"===Ee.type&&Ee.editorIsActive&&("code"===Ee.editor||Ee.editor.startsWith("code(")&&Ee.editor.endsWith(")")||"richtext"===Ee.editor||Ee.editor.startsWith("richtext(")&&Ee.editor.endsWith(")")),Se=Oe&&Ee.editor.startsWith("code"),Te=[],we=[],Pe=[],Le=Boolean(Ee.suggestionCreator||pe.length&&(Ee.searchSelection||Ee.suggestSelection));if(Le&&pe.length){Ee.suggestSelection=!Ee.searchSelection;for(var Re,je=0,qe=Ge(pe);!(Re=qe()).done;){var He=Re.value;if((0,U.isFunction)(Ee.children)){var Ke=Ee.children({index:je,normalizedSelection:de,properties:Ee,query:Ee.representation,suggestion:He,value:he[je]});Ke&&(Te.push(Ke),we.push(He),Pe.push(he[je]))}else if(!Ee.representation||Ee.suggestionCreator||We(He,Ee.representation)){var ze,$e=(0,U.mark)(He,(null==(ze=Ee.representation)?void 0:ze.split(" "))||"",{marker:function(e){return[e]},skipTagDelimitedParts:null}).map((function(e,t){return Array.isArray(e)?(0,X.jsx)("span",{className:Fe.textInputSuggestionsSuggestionMark,children:e[0]},t):(0,X.jsx)("span",{children:e},t)}));Te.push($e),we.push(He),Pe.push(he[je])}je+=1}}var Xe=(Boolean(de)||Boolean(Ee.labels))&&!Le,Ye={};"number"===Ee.type?(Ye.step=Ee.step,Ee.maximum!==1/0&&(Ye.max=Ee.maximum),Ee.minimum!==-1/0&&(Ye.min=Ee.minimum)):"string"===Ee.type?(Ee.maximumLength>=0&&Ee.maximumLength!==1/0&&(Ye.maximumLength=Ee.maximumLength),Ee.minimumLength>0&&(Ye.minimumLength=Ee.minimumLength),"plain"!==Ee.editor&&(Ye.rows=Ee.rows)):["date","date-local","date","date-local","datetime","datetime-local","time","time-local"].includes(Ee.type)&&(Ye.step=Ee.step,Ee.maximum!==1/0&&(Ye.max=(0,ie.formatValue)(Ee,Ee.maximum,ae)),Ee.minimum!==-1/0&&(Ye.min=(0,ie.formatValue)(Ee,Ee.minimum,ae)));var Qe={};if(Oe)if(Ee.editor.startsWith("code(")&&Ee.editor.endsWith(")")){var Ze=Ee.editor.substring(5,Ee.editor.length-1);Ze&&(Qe.editor={},k.javascript&&["js","jsx","ts","tsx","script","javascript","typescript"].includes(Ze.toLowerCase())?Qe.editor.mode=(0,k.javascript)({jsx:!0,typescript:!0}):F.css&&["css","style","styles","cascadingstylesheet","cascadingstylesheets"].includes(Ze.toLowerCase())&&(Qe.editor.mode=(0,F.css)()))}else Qe.editor=Ue;return(0,X.jsx)(re.default,{strict:Je.strict,themeConfiguration:Ee.themeConfiguration,tooltip:Ee.tooltip,children:(0,X.jsxs)("div",M()({ref:x,className:[Fe.textInput].concat(Ee.className).join(" "),style:Ee.styles,onBlur:function(e){ve((function(t){var n;if(e.relatedTarget&&null!=(n=x.current)&&n.contains(e.relatedTarget))return t;q(!1);var r=!1,o=!1;if(t.modelState.focused&&(Ee.focused=!1,r=!0,o=!0),t.modelState.visited||(Ee.visited=!0,r=!0,o=!0),!Le||Ee.suggestSelection){var i=(0,ie.getValueFromSelection)(Ee.representation,de);null===i?(Ee.value=(0,ie.parseValue)(Ee,Ee.value,ae,Ee.model.trim),Ee.representation=(0,ie.formatValue)(Ee,Ee.value,ae)):Ee.value=i}return(0,U.equals)(t.value,Ee.value)&&t.representation===Ee.representation||(r=!0),r&&_(e),(0,U.equals)(t.value,Ee.value)||(0,ie.triggerCallbackIfExists)(Ee,"changeValue",ye,Ee.value,e,Ee),o&&(0,ie.triggerCallbackIfExists)(Ee,"changeState",ye,Ee.model.state,e,Ee),(0,ie.triggerCallbackIfExists)(Ee,"blur",ye,e,Ee),r?{modelState:Ee.model.state,representation:Ee.representation,value:Ee.value}:t}))},onKeyDown:function(e){var t,n;!Ee.disabled&&Le&&"ArrowDown"===e.code&&e.target===(null==(t=C.current)||null==(t=t.input)?void 0:t.current)&&(null==(n=A.current)||n.focusItem(0)),(Xe||"string"===Ee.type&&"plain"!==Ee.editor)&&Ve(e),(0,ie.triggerCallbackIfExists)(Ee,"keyDown",ye,e,Ee)}},Le?{role:"search"}:{},{children:[p((0,X.jsx)(Z,M()({},xe,{name:Ee.name,onChange:v,onClick:g,onKeyDown:function(e){Ee.disabled||"Tab"===e.code||e.preventDefault()},options:de,value:Ee.value})),Xe),Oe?Se?p((0,X.jsx)(Ae,M()({},xe,Ie,Ye,{onChange:v},Qe,{ref:C})),Oe):(0,X.jsx)(Ne,M()({},xe,Ie,Ye,{onChange:v},Qe,{ref:C})):"",p((0,X.jsxs)("div",{children:[Le?(0,X.jsx)(Y,{ref:A,onKeyDown:Ve,pending:le instanceof AbortController,classNames:[Fe.textInputSuggestions],itemClassNames:[Fe.textInputSuggestionsSuggestion],pendingClassNames:[Fe.textInputSuggestionsPending],onFocus:y,onSelect:function(e){v(Pe[e.detail.index],e.detail.index),q(!1)},open:Boolean(we.length)&&V&&!(1===we.length&&we[0]===Ee.representation),options:Te}):"","string"===Ee.type&&"plain"!==Ee.editor?(0,X.jsx)(ge,M()({},xe,Ie,Ye,{ref:C,onChange:v})):(0,X.jsx)(ne,M()({},xe,Ie,Ye,{onChange:v,leadingIcon:h(f(Ee.leadingIcon)),trailingIcon:h(f(Ee.trailingIcon)),type:function(e){var t,n;return"string"===e.type?e.hidden?"password":Le?"search":"text":null!==(t=null==(n=ae[e.type])?void 0:n.type)&&void 0!==t?t:e.type}(Ee)}))]}),!(Oe||Xe),Ee.editor.startsWith("code"))]}))})};Qe.displayName="TextInput";var Je=(0,B.memo)((0,B.forwardRef)(Qe));Je.wrapped=Qe,Je.webComponentAdapterWrapped="react",Je.defaultModelState=qe.defaultModelState,Je.defaultProperties=M()({},qe.defaultProperties,{cursor:void 0,model:M()({},qe.defaultProperties.model,{state:void 0,value:void 0}),representation:void 0,value:void 0}),Je.locales=U.LOCALES,Je.propTypes=qe.propertyTypes,Je.renderProperties=qe.renderProperties,Je.strict=!1,Je.transformer=$e;var Ze=Je;return R}())}],__webpack_module_cache__={};function __nested_webpack_require_112488__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__nested_webpack_require_112488__),n.loaded=!0,n.exports}__nested_webpack_require_112488__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_112488__.d(t,{a:t}),t},__nested_webpack_require_112488__.d=function(e,t){for(var n in t)__nested_webpack_require_112488__.o(t,n)&&!__nested_webpack_require_112488__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_112488__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__nested_webpack_require_112488__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_112488__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_112488__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __nested_webpack_exports__={};__nested_webpack_require_112488__.r(__nested_webpack_exports__),__nested_webpack_require_112488__.d(__nested_webpack_exports__,{TextInput:function(){return _TextInput}});var clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__=__nested_webpack_require_112488__(0),clientnode_property_types__WEBPACK_IMPORTED_MODULE_0___default=__nested_webpack_require_112488__.n(clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__),react_input_material_dist_components_TextInput__WEBPACK_IMPORTED_MODULE_1__=__nested_webpack_require_112488__(43),react_input_material_dist_components_TextInput__WEBPACK_IMPORTED_MODULE_1___default=__nested_webpack_require_112488__.n(react_input_material_dist_components_TextInput__WEBPACK_IMPORTED_MODULE_1__),web_component_wrapper__WEBPACK_IMPORTED_MODULE_2__=__nested_webpack_require_112488__(1),web_component_wrapper__WEBPACK_IMPORTED_MODULE_2___default=__nested_webpack_require_112488__.n(web_component_wrapper__WEBPACK_IMPORTED_MODULE_2__),_TextInput=web_component_wrapper__WEBPACK_IMPORTED_MODULE_2___default()(react_input_material_dist_components_TextInput__WEBPACK_IMPORTED_MODULE_1___default(),"TextInput",{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,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,visited:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalid:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMaximum:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMaximumLength:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMinimum:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMinimumLength:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidPattern:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidRequired:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,valid:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,name:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.string}});return __nested_webpack_exports__.default=_TextInput,__nested_webpack_exports__}()},module.exports=t(__webpack_require__(20),__webpack_require__(6),__webpack_require__(26),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(84),__webpack_require__(76),__webpack_require__(24),__webpack_require__(82),__webpack_require__(64),__webpack_require__(85),__webpack_require__(86),__webpack_require__(48),__webpack_require__(49),__webpack_require__(47),__webpack_require__(47),__webpack_require__(11),__webpack_require__(0),__webpack_require__(75),__webpack_require__(47),__webpack_require__(83),__webpack_require__(47),__webpack_require__(47),__webpack_require__(47),__webpack_require__(1),__webpack_require__(10),__webpack_require__(15),__webpack_require__(19),__webpack_require__(7),__webpack_require__(61),__webpack_require__(40),__webpack_require__(41),__webpack_require__(42))}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__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__(131);return __webpack_exports__}()}));
|