web-input-material 0.0.415 → 0.0.417
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CircularSpinner.bundle.js +3 -3
- package/components/CircularSpinner.js +1 -1
- package/components/FileInput.bundle.js +4 -4
- package/components/FileInput.js +1 -1
- package/components/GenericInputs.bundle.js +4 -4
- package/components/GenericInputs.js +1 -1
- package/components/RequireableCheckbox.bundle.js +3 -3
- package/components/RequireableCheckbox.js +1 -1
- package/components/SliderInput.bundle.js +3 -3
- package/components/SliderInput.js +1 -1
- package/components/Tabs.bundle.js +5 -5
- package/components/Tabs.js +1 -1
- package/components/TextInput.bundle.js +4 -4
- package/components/TextInput.js +1 -1
- package/index.bundle.js +4 -4
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("webInputMaterial",[],t):"object"==typeof exports?exports.webInputMaterial=t():e.webInputMaterial=t()}(this,(function(){return function(){var __webpack_modules__=[function(e,t,n){e.exports=n(50)},function(e,t,n){e.exports=n(49)},function(e,t,n){n.d(t,{CR:function(){return l},XA:function(){return i},ZT:function(){return o},ev:function(){return s},pi:function(){return a}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};Object.create;function i(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function s(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),a=n(10);const i=function(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}(n(38)),l="14.0.
|
|
1
|
+
"use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("webInputMaterial",[],t):"object"==typeof exports?exports.webInputMaterial=t():e.webInputMaterial=t()}(this,(function(){return function(){var __webpack_modules__=[function(e,t,n){e.exports=n(50)},function(e,t,n){e.exports=n(49)},function(e,t,n){n.d(t,{CR:function(){return l},XA:function(){return i},ZT:function(){return o},ev:function(){return s},pi:function(){return a}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};Object.create;function i(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function s(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),a=n(10);const i=function(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}(n(38)),l="14.0.5";var s,u={exports:{}};
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
|
4
4
|
Licensed under the MIT License (MIT), see
|
|
5
5
|
http://jedwatson.github.io/classnames
|
|
6
|
-
*/s=u,function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var a=typeof o;if("string"===a||"number"===a)n.push(o);else if(Array.isArray(o)){if(o.length){var i=t.apply(null,o);i&&n.push(i)}}else if("object"===a){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){n.push(o.toString());continue}for(var l in o)e.call(o,l)&&o[l]&&n.push(l)}}}return n.join(" ")}s.exports?(t.default=t,s.exports=t):window.classNames=t}();const c=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(u.exports),d={portalElement:null,setPortalElement:null},f=o.createContext(d),p=e=>e.replace(/(-[a-z])/g,(e=>e.toUpperCase().replace("-",""))),h=e=>e.replace(/(^[a-z]+|[A-Z][a-z]*|\d+)/g,(e=>"-"+e.toLowerCase())).slice(1),m=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e)).map((e=>`mdc-theme--${h(e)}`)),v=o.forwardRef((function({tag:e="div",theme:t,element:n,...o},a){const i=n?n.props(o):o,l=n?_(a,n.reactRef):a;return r.jsx(e,{...i,ref:l})})),_=(...e)=>t=>{for(const n of e)"function"==typeof n?n(t):n&&"current"in n&&(n.current=t)},y=(e,t)=>{"function"==typeof e?e(t):e&&"current"in e&&(e.current=t)};function b(e){const t=o.forwardRef(e),n=(e,t)=>r.jsx(r.Fragment,{});return n.displayName=e.constructor.name||"RMWCComponent",t.displayName=n.displayName,t}const g={blur:"onBlur",cancel:"onCancel",click:"onClick",close:"onClose",contextmenu:"onContextMenu",copy:"onCopy",cut:"onCut",auxclick:"onAuxClick",doubleclick:"onDoubleClick",dragend:"onDragEnd",dragstart:"onDragStart",drop:"onDrop",focus:"onFocus",input:"onInput",invalid:"onInvalid",keydown:"onKeyDown",keypress:"onKeyPress",keyup:"onKeyUp",mousedown:"onMouseDown",mouseup:"onMouseUp",paste:"onPaste",pause:"onPause",play:"onPlay",pointercancel:"onPointerCancel",pointerdown:"onPointerDown",pointerup:"onPointerUp",ratechange:"onRateChange",reset:"onReset",seeked:"onSeeked",submit:"onSubmit",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchstart:"onTouchStart",volumechange:"onVolumeChange",abort:"onAbort",animationend:"onAnimationEnd",animationiteration:"onAnimationIteration",animationstart:"onAnimationStart",canplay:"onCanPlay",canplaythrough:"onCanPlayThrough",drag:"onDrag",dragenter:"onDragEnter",dragexit:"onDragExit",dragleave:"onDragLeave",dragover:"onDragOver",durationchange:"onDurationChange",emptied:"onEmptied",encrypted:"onEncrypted",ended:"onEnded",error:"onError",gotpointercapture:"onGotPointerCapture",load:"onLoad",loadeddata:"onLoadedData",loadedmetadata:"onLoadedMetadata",loadstart:"onLoadStart",lostpointercapture:"onLostPointerCapture",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseover:"onMouseOver",playing:"onPlaying",pointermove:"onPointerMove",pointerout:"onPointerOut",pointerover:"onPointerOver",progress:"onProgress",scroll:"onScroll",seeking:"onSeeking",stalled:"onStalled",suspend:"onSuspend",timeupdate:"onTimeUpdate",toggle:"onToggle",touchmove:"onTouchMove",transitionend:"onTransitionEnd",waiting:"onWaiting",wheel:"onWheel",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",pointerenter:"onPointerEnter",pointerleave:"onPointerLeave",change:"onChange",select:"onSelect",beforeinput:"onBeforeInput",compositionend:"onCompositionEnd",compositionstart:"onCompositionStart",compositionupdate:"onCompositionUpdate"},w=e=>g[e]||e;class E{constructor(e){this._classes=new Set,this._events={},this._style={},this._props={},this._onChange=null,this.reactRef=o.createRef(),this._onChange=e,this.onChange=this.onChange.bind(this),this.addClass=this.addClass.bind(this),this.removeClass=this.removeClass.bind(this),this.hasClass=this.hasClass.bind(this),this.setProp=this.setProp.bind(this),this.getProp=this.getProp.bind(this),this.removeProp=this.removeProp.bind(this),this.setStyle=this.setStyle.bind(this),this.addEventListener=this.addEventListener.bind(this),this.removeEventListener=this.removeEventListener.bind(this)}onChange(){this._onChange&&this._onChange()}destroy(){this._onChange=null,this._events={},this._style={},this._props={},this._classes=new Set}addClass(e){this._classes.has(e)||(this._classes.add(e),this.onChange())}removeClass(e){this._classes.has(e)&&(this._classes.delete(e),this.onChange())}hasClass(e){return this._classes.has(e)}setProp(e,t,n=!1){this._props[e]!==t&&(this._props[e]=t,!n&&this.onChange())}getProp(e){return this._props[e]}removeProp(e){void 0!==this._props[e]&&(delete this._props[e],this.onChange())}props(e){const{className:t="",style:n={}}=e,r=Object.entries(e).reduce(((e,[t,n])=>{const r=this._events[t];if("function"==typeof n&&"function"==typeof r){const o=e=>(r(e),n(e));e[t]=o}return e}),{...this._events}),o=c(t,[...this._classes]),a={...this._style,...n};return{...e,...this._props,...r,style:a,className:o}}setStyle(e,t){e=e.startsWith("--")?e:p(e),this._style[e]!==t&&(this._style[e]=t,this.onChange())}addEventListener(e,t){const n=w(e);this._events[n]!==t&&(this._events[n]=t,this.onChange())}removeEventListener(e,t){const n=w(e);this._events[n]&&(delete this._events[n],this.onChange())}get ref(){return this.reactRef.current}}const T="rmwcPortal";const x=i.focusTrap.FocusTrap;const k=typeof window<"u"&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect;let C=!1,O=0;function S(){return++O}const P=o["useId".toString()],A=e=>{if(void 0!==P){let t=P();return e??t}let t=e??(C?S():null),[n,r]=o.useState(t);return k((()=>{null===n&&r(S())}),[]),o.useEffect((()=>{!1===C&&(C=!0)}),[]),e??n??void 0},N=(e,t)=>(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t);class R{constructor(){this.events_={}}on(e,t){this.events_=this.events_||{},this.events_[e]=this.events_[e]||[],this.events_[e].push(t)}off(e,t){this.events_=this.events_||{},e in this.events_&&this.events_[e].splice(this.events_[e].indexOf(t),1)}trigger(e,...t){if(this.events_=this.events_||{},e in this.events_)for(var n=0;n<this.events_[e].length;n++)this.events_[e][n].apply(this,Array.prototype.slice.call(arguments,1))}}const I=o.createContext(!1),D=o.createContext(!1),M=(e,t=1,n=1)=>{window.requestAnimationFrame((()=>{n>=t?e():M(e,t,n+1)}))},L=l;t.ArrayEmitter=class extends R{constructor(){super(...arguments),this.array=[]}push(...e){const t=this.array.push(...e);return this.trigger("change"),t}empty(){this.array.length=0,this.trigger("change")}remove(e){const t=this.array.indexOf(e);return t>-1&&(this.array.splice(t,1),this.trigger("change"),!0)}},t.DataTableContext=I,t.DataTableHeadContext=D,t.EventEmitter=R,t.FoundationElement=E,t.Portal=e=>{const t=o.useContext(f),n=null==t?void 0:t.setPortalElement,a=o.useCallback((e=>{null!==e&&n&&n(e)}),[n]);return r.jsx("div",{ref:a,id:T,...e})},t.PortalChild=function({children:e,renderTo:t,menuSurfaceDomPositionRef:n}){const[i,l]=o.useState(),{portalElement:s}=o.useContext(f);return o.useEffect((()=>{let e;!0===t&&s?e=s:!0===t?(e=(null==document?void 0:document.getElementById(T))??void 0,e||console.warn('No default Portal found. Did you forget to include it in the root of your app? `import { Portal } from "@rmwc/base";`')):"string"==typeof t?(e=(null==document?void 0:document.querySelector(t))??void 0,e||console.warn(`The selector you provided for renderToPortal "${t}" didn't find any elements.`)):t instanceof Element&&(e=t),e!==i&&l(e)}),[t,i,s]),t?i?r.jsx("div",{ref:n,children:a.createPortal(e,i)}):null:r.jsx(r.Fragment,{children:e})},t.PortalContext=f,t.PortalProvider=({children:e})=>{const[t,n]=o.useState(null);return r.jsx(f.Provider,{value:{portalElement:t,setPortalElement:n},children:e})},t.RMWC_VERSION=L,t.Tag=v,t.classNames=c,t.closest=(e,t)=>{if(e instanceof Element){if(e&&e.closest)return e.closest(t);{let n=e;for(;n;){if(N(n,t))return n;n=n.parentElement}}}return null},t.createComponent=b,t.createMemoComponent=function(e){const t=b(e);return o.memo(t)},t.debounce=function(e,t){var n;return function(){var r=this,o=arguments;null!==n&&clearTimeout(n),n=setTimeout((function(){n=null,e.apply(r,o)}),t)}},t.deprecationWarning=e=>{},t.emptyClientRect={bottom:0,height:0,left:0,right:0,top:0,width:0},t.eventsMap=g,t.focusTrapFactory=(e,t)=>new x(e,t),t.getDisplayName=e=>{var t,n,r;const o=Array.isArray(e)?e[0]:e;return(null==(t=null==o?void 0:o.type)?void 0:t.displayName)||(null==(n=null==o?void 0:o.constructor)?void 0:n.displayName)||(null==o?void 0:o.displayName)||(null==o?void 0:o.name)||(null==(r=null==o?void 0:o.constructor)?void 0:r.name)||"Unknown"},t.handleDeprecations=(e,t,n)=>{e={...e};for(const n in t){const r=t[n];let o,a=e=>e;Array.isArray(r)?(o=r[0],a=r[1]):o=r,void 0!==e[n]&&(""===o||(e[o]=a(e[n]),e[o]!==e[n]&&(e[n],e[o])),delete e[n])}return e},t.handleRef=y,t.matches=N,t.mergeRefs=_,t.parseThemeOptions=m,t.portalContextDefaultValues=d,t.raf=M,t.randomId=e=>`${e}-${(Math.random()+Math.random()+1).toString(36).substring(2)}`,t.toCamel=p,t.toDashCase=h,t.triggerWindowResize=()=>{window.dispatchEvent(new Event("resize"))},t.useClassNames=(e,t)=>c(e.className,...e.theme?m(e.theme):[],..."function"==typeof t?t(e):t),t.useFoundation=({foundation:e,props:t,elements:n,api:r})=>{const[,a]=o.useState(0),i=o.useRef(t);i.current=t;const l=o.useMemo((()=>Object.keys(n).reduce(((e,t)=>(e[t]=new E((()=>{a((e=>e+1))})),e)),{})),[]),s=o.useMemo((()=>{const t=e({...l,getProps:()=>i.current,emit:(...e)=>(e=>(t,n,r=!1)=>{let o;o=new CustomEvent(t,{detail:n,bubbles:r}),Object.defineProperty(o,"target",{value:n,writable:!1}),Object.defineProperty(o,"currentTarget",{value:n,writable:!1});const a=t;return e[a]&&e[a](o),o})(i.current)(...e)});return r&&y(i.current.apiRef,r({foundation:t,...l})),t}),[]);return o.useEffect((()=>{const e=s;return e.init(),r&&y(i.current.apiRef,r({foundation:e,...l})),y(i.current.foundationRef,e),()=>{e.destroy(),y(i.current.apiRef,null),y(i.current.foundationRef,null),Object.values(l).map((e=>e.destroy())),i.current={}}}),[s,l]),{foundation:s,...l}},t.useId=(e,t)=>{const n=A(t.label);return t.id?t.id:`${e}-${n}`},t.withTheme=e=>{const t=({theme:t,className:n,...o})=>{if(t){const a=c(n,m(t));return r.jsx(e,{className:a,...o})}return r.jsx(e,{className:n,...o})};return t.displayName="withTheme",t},t.wrapChild=e=>{const t=o.Children.only(e.children);return o.cloneElement(t,{...e,...t.props,className:c(e.className,t.props.className),style:{...t.props.style,...e.style}})}},function(e,t,n){n.d(t,{K:function(){return r}});
|
|
6
|
+
*/s=u,function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var a=typeof o;if("string"===a||"number"===a)n.push(o);else if(Array.isArray(o)){if(o.length){var i=t.apply(null,o);i&&n.push(i)}}else if("object"===a){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){n.push(o.toString());continue}for(var l in o)e.call(o,l)&&o[l]&&n.push(l)}}}return n.join(" ")}s.exports?(t.default=t,s.exports=t):window.classNames=t}();const c=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(u.exports),d={portalElement:null,setPortalElement:null},f=o.createContext(d),p=e=>e.replace(/(-[a-z])/g,(e=>e.toUpperCase().replace("-",""))),h=e=>e.replace(/(^[a-z]+|[A-Z][a-z]*|\d+)/g,(e=>"-"+e.toLowerCase())).slice(1),m=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e)).map((e=>`mdc-theme--${h(e)}`)),v=o.forwardRef((function({tag:e="div",theme:t,element:n,...o},a){const i=n?n.props(o):o,l=n?_(a,n.reactRef):a;return r.jsx(e,{...i,ref:l})})),_=(...e)=>t=>{for(const n of e)"function"==typeof n?n(t):n&&"current"in n&&(n.current=t)},y=(e,t)=>{"function"==typeof e?e(t):e&&"current"in e&&(e.current=t)};function b(e){const t=o.forwardRef(e),n=(e,t)=>r.jsx(r.Fragment,{});return n.displayName=e.constructor.name||"RMWCComponent",t.displayName=n.displayName,t}const g={blur:"onBlur",cancel:"onCancel",click:"onClick",close:"onClose",contextmenu:"onContextMenu",copy:"onCopy",cut:"onCut",auxclick:"onAuxClick",doubleclick:"onDoubleClick",dragend:"onDragEnd",dragstart:"onDragStart",drop:"onDrop",focus:"onFocus",input:"onInput",invalid:"onInvalid",keydown:"onKeyDown",keypress:"onKeyPress",keyup:"onKeyUp",mousedown:"onMouseDown",mouseup:"onMouseUp",paste:"onPaste",pause:"onPause",play:"onPlay",pointercancel:"onPointerCancel",pointerdown:"onPointerDown",pointerup:"onPointerUp",ratechange:"onRateChange",reset:"onReset",seeked:"onSeeked",submit:"onSubmit",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchstart:"onTouchStart",volumechange:"onVolumeChange",abort:"onAbort",animationend:"onAnimationEnd",animationiteration:"onAnimationIteration",animationstart:"onAnimationStart",canplay:"onCanPlay",canplaythrough:"onCanPlayThrough",drag:"onDrag",dragenter:"onDragEnter",dragexit:"onDragExit",dragleave:"onDragLeave",dragover:"onDragOver",durationchange:"onDurationChange",emptied:"onEmptied",encrypted:"onEncrypted",ended:"onEnded",error:"onError",gotpointercapture:"onGotPointerCapture",load:"onLoad",loadeddata:"onLoadedData",loadedmetadata:"onLoadedMetadata",loadstart:"onLoadStart",lostpointercapture:"onLostPointerCapture",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseover:"onMouseOver",playing:"onPlaying",pointermove:"onPointerMove",pointerout:"onPointerOut",pointerover:"onPointerOver",progress:"onProgress",scroll:"onScroll",seeking:"onSeeking",stalled:"onStalled",suspend:"onSuspend",timeupdate:"onTimeUpdate",toggle:"onToggle",touchmove:"onTouchMove",transitionend:"onTransitionEnd",waiting:"onWaiting",wheel:"onWheel",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",pointerenter:"onPointerEnter",pointerleave:"onPointerLeave",change:"onChange",select:"onSelect",beforeinput:"onBeforeInput",compositionend:"onCompositionEnd",compositionstart:"onCompositionStart",compositionupdate:"onCompositionUpdate"},w=e=>g[e]||e;class E{constructor(e){this._classes=new Set,this._events={},this._style={},this._props={},this._onChange=null,this.reactRef=o.createRef(),this._onChange=e,this.onChange=this.onChange.bind(this),this.addClass=this.addClass.bind(this),this.removeClass=this.removeClass.bind(this),this.hasClass=this.hasClass.bind(this),this.setProp=this.setProp.bind(this),this.getProp=this.getProp.bind(this),this.removeProp=this.removeProp.bind(this),this.setStyle=this.setStyle.bind(this),this.addEventListener=this.addEventListener.bind(this),this.removeEventListener=this.removeEventListener.bind(this)}onChange(){this._onChange&&this._onChange()}destroy(){this._onChange=null,this._events={},this._style={},this._props={},this._classes=new Set}addClass(e){this._classes.has(e)||(this._classes.add(e),this.onChange())}removeClass(e){this._classes.has(e)&&(this._classes.delete(e),this.onChange())}hasClass(e){return this._classes.has(e)}setProp(e,t,n=!1){this._props[e]!==t&&(this._props[e]=t,!n&&this.onChange())}getProp(e){return this._props[e]}removeProp(e){void 0!==this._props[e]&&(delete this._props[e],this.onChange())}props(e){const{className:t="",style:n={}}=e,r=Object.entries(e).reduce(((e,[t,n])=>{const r=this._events[t];if("function"==typeof n&&"function"==typeof r){const o=e=>(r(e),n(e));e[t]=o}return e}),{...this._events}),o=c(t,[...this._classes]),a={...this._style,...n};return{...e,...this._props,...r,style:a,className:o}}setStyle(e,t){e=e.startsWith("--")?e:p(e),this._style[e]!==t&&(this._style[e]=t,this.onChange())}addEventListener(e,t){const n=w(e);this._events[n]!==t&&(this._events[n]=t,this.onChange())}removeEventListener(e,t){const n=w(e);this._events[n]&&(delete this._events[n],this.onChange())}get ref(){return this.reactRef.current}}const T="rmwcPortal";const x=i.focusTrap.FocusTrap;const k=typeof window<"u"&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect;let C=!1,O=0;function S(){return++O}const P=o["useId".toString()],A=e=>{if(void 0!==P){let t=P();return e??t}let t=e??(C?S():null),[n,r]=o.useState(t);return k((()=>{null===n&&r(S())}),[]),o.useEffect((()=>{!1===C&&(C=!0)}),[]),e??n??void 0},N=(e,t)=>(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t);class R{constructor(){this.events_={}}on(e,t){this.events_=this.events_||{},this.events_[e]=this.events_[e]||[],this.events_[e].push(t)}off(e,t){this.events_=this.events_||{},e in this.events_&&this.events_[e].splice(this.events_[e].indexOf(t),1)}trigger(e,...t){if(this.events_=this.events_||{},e in this.events_)for(var n=0;n<this.events_[e].length;n++)this.events_[e][n].apply(this,Array.prototype.slice.call(arguments,1))}}const I=o.createContext(!1),D=o.createContext(!1),M=(e,t=1,n=1)=>{window.requestAnimationFrame((()=>{n>=t?e():M(e,t,n+1)}))},L=l;t.ArrayEmitter=class extends R{constructor(){super(...arguments),this.array=[]}push(...e){const t=this.array.push(...e);return this.trigger("change"),t}empty(){this.array.length=0,this.trigger("change")}remove(e){const t=this.array.indexOf(e);return t>-1&&(this.array.splice(t,1),this.trigger("change"),!0)}},t.DataTableContext=I,t.DataTableHeadContext=D,t.EventEmitter=R,t.FoundationElement=E,t.Portal=e=>{const t=o.useContext(f),n=null==t?void 0:t.setPortalElement,a=o.useCallback((e=>{null!==e&&n&&n(e)}),[n]);return r.jsx("div",{ref:a,id:T,...e})},t.PortalChild=function({children:e,renderTo:t,menuSurfaceDomPositionRef:n}){const[i,l]=o.useState(),{portalElement:s}=o.useContext(f);return o.useEffect((()=>{let e;!0===t&&s?e=s:!0===t?(e=(null==document?void 0:document.getElementById(T))??void 0,e||console.warn('No default Portal found. Did you forget to include it in the root of your app? `import { Portal } from "@rmwc/base";`')):"string"==typeof t?(e=(null==document?void 0:document.querySelector(t))??void 0,e||console.warn(`The selector you provided for renderToPortal "${t}" didn't find any elements.`)):t instanceof Element&&(e=t),e!==i&&l(e)}),[t,i,s]),t?i?r.jsx("div",{ref:n,children:a.createPortal(e,i)}):null:r.jsx(r.Fragment,{children:e})},t.PortalContext=f,t.PortalProvider=({children:e})=>{const[t,n]=o.useState(null);return r.jsx(f.Provider,{value:{portalElement:t,setPortalElement:n},children:e})},t.RMWC_VERSION=L,t.Tag=v,t.classNames=c,t.closest=(e,t)=>{if(e instanceof Element){if(e&&e.closest)return e.closest(t);{let n=e;for(;n;){if(N(n,t))return n;n=n.parentElement}}}return null},t.createComponent=b,t.createMemoComponent=function(e){const t=b(e);return o.memo(t)},t.debounce=function(e,t){var n;return function(){var r=this,o=arguments;null!==n&&clearTimeout(n),n=setTimeout((function(){n=null,e.apply(r,o)}),t)}},t.deprecationWarning=e=>{},t.emptyClientRect={bottom:0,height:0,left:0,right:0,top:0,width:0},t.eventsMap=g,t.focusTrapFactory=(e,t)=>new x(e,t),t.getDisplayName=e=>{var t,n,r;const o=Array.isArray(e)?e[0]:e;return(null==(t=null==o?void 0:o.type)?void 0:t.displayName)||(null==(n=null==o?void 0:o.constructor)?void 0:n.displayName)||(null==o?void 0:o.displayName)||(null==o?void 0:o.name)||(null==(r=null==o?void 0:o.constructor)?void 0:r.name)||"Unknown"},t.handleDeprecations=(e,t,n)=>{e={...e};for(const n in t){const r=t[n];let o,a=e=>e;Array.isArray(r)?(o=r[0],a=r[1]):o=r,void 0!==e[n]&&(""===o||(e[o]=a(e[n]),e[o]!==e[n]&&(e[n],e[o])),delete e[n])}return e},t.handleRef=y,t.matches=N,t.mergeRefs=_,t.parseThemeOptions=m,t.portalContextDefaultValues=d,t.raf=M,t.randomId=e=>`${e}-${(Math.random()+Math.random()+1).toString(36).substring(2)}`,t.toCamel=p,t.toDashCase=h,t.triggerWindowResize=()=>{window.dispatchEvent(new Event("resize"))},t.useClassNames=(e,t)=>c(e.className,...e.theme?m(e.theme):[],..."function"==typeof t?t(e):t),t.useFoundation=({foundation:e,props:t,elements:n,api:r})=>{const[,a]=o.useReducer((e=>e+1),0),i=o.useRef(t);i.current=t;const l=o.useMemo((()=>Object.keys(n).reduce(((e,t)=>(e[t]=new E((()=>{a()})),e)),{})),[]),s=o.useMemo((()=>{const t=e({...l,getProps:()=>i.current,emit:(...e)=>(e=>(t,n,r=!1)=>{let o;o=new CustomEvent(t,{detail:n,bubbles:r}),Object.defineProperty(o,"target",{value:n,writable:!1}),Object.defineProperty(o,"currentTarget",{value:n,writable:!1});const a=t;return e[a]&&e[a](o),o})(i.current)(...e)});return r&&y(i.current.apiRef,r({foundation:t,...l})),t}),[]);return o.useEffect((()=>{const e=s;return e.init(),r&&y(i.current.apiRef,r({foundation:e,...l})),y(i.current.foundationRef,e),()=>{e.destroy(),y(i.current.apiRef,null),y(i.current.foundationRef,null),Object.values(l).map((e=>e.destroy())),i.current={}}}),[s,l]),{foundation:s,...l}},t.useId=(e,t)=>{const n=A(t.label);return t.id?t.id:`${e}-${n}`},t.withTheme=e=>{const t=({theme:t,className:n,...o})=>{if(t){const a=c(n,m(t));return r.jsx(e,{className:a,...o})}return r.jsx(e,{className:n,...o})};return t.displayName="withTheme",t},t.wrapChild=e=>{const t=o.Children.only(e.children);return o.cloneElement(t,{...e,...t.props,className:c(e.className,t.props.className),style:{...t.props.style,...e.style}})}},function(e,t,n){n.d(t,{K:function(){return r}});
|
|
7
7
|
/**
|
|
8
8
|
* @license
|
|
9
9
|
* Copyright 2016 Google Inc.
|
|
@@ -279,4 +279,4 @@ var r={animationend:{cssProperty:"animation",prefixed:"webkitAnimationEnd",stand
|
|
|
279
279
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
280
280
|
* THE SOFTWARE.
|
|
281
281
|
*/
|
|
282
|
-
var r={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},o={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},a={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300}},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(3),a=n(86),i=o.createComponent((function(e,t){var n;n=e,o.useFoundation({props:n,elements:{},foundation:()=>new a.MDCFormFieldFoundation({registerInteractionHandler:(e,t)=>{},deregisterInteractionHandler:(e,t)=>{},activateInputRipple:()=>{},deactivateInputRipple:()=>{}})});const{alignEnd:i,foundationRef:l,noWrap:s,spaceBetween:u,...c}=e,d=o.useClassNames(e,["mdc-form-field",{"mdc-form-field--align-end":i,"mdc-form-field--nowrap":s,"mdc-form-field--space-between":u}]);return r.jsx(o.Tag,{...c,ref:t,className:d})}));t.FormField=i},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){n.r(t),n.d(t,{MDCRipple:function(){return o.F},MDCRippleFoundation:function(){return i.l},cssClasses:function(){return a.UX},numbers:function(){return a.KT},strings:function(){return a.j2},util:function(){return r}});var r=n(45),o=n(21),a=n(56),i=n(19)},function(e,t,n){n.r(t),n.d(t,{MDCFormField:function(){return u},MDCFormFieldFoundation:function(){return s},cssClasses:function(){return i},strings:function(){return l}});var r=n(2),o=n(5),a=n(4),i={ROOT:"mdc-form-field"},l={LABEL_SELECTOR:".mdc-form-field > label"},s=function(e){function t(n){var o=e.call(this,(0,r.pi)((0,r.pi)({},t.defaultAdapter),n))||this;return o.click=function(){o.handleClick()},o}return(0,r.ZT)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},t.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},t.prototype.handleClick=function(){var e=this;this.adapter.activateInputRipple(),requestAnimationFrame((function(){e.adapter.deactivateInputRipple()}))},t}(a.K),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.labelEl=function(){var e=s.strings.LABEL_SELECTOR;return this.root.querySelector(e)},t.prototype.getDefaultFoundation=function(){var e=this;return new s({activateInputRipple:function(){e.input&&e.input.ripple&&e.input.ripple.activate()},deactivateInputRipple:function(){e.input&&e.input.ripple&&e.input.ripple.deactivate()},deregisterInteractionHandler:function(t,n){var r=e.labelEl();r&&r.removeEventListener(t,n)},registerInteractionHandler:function(t,n){var r=e.labelEl();r&&r.addEventListener(t,n)}})},t}(o.B)},,,,,,,,,,,,,,,function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),a=n(108),i=n(3),l=n(14),s=n(102);a.MDCCheckboxFoundation.prototype.installPropertyChangeHooks_=()=>{};const u=i.createComponent((function(e,t){const{renderToggle:n,id:l,toggleRootProps:u,rootEl:p,checkboxEl:h}=(e=>{const{renderToggle:t,toggleRootProps:n,id:r}=s.useToggleFoundation(e),{foundation:l,...u}=i.useFoundation({props:e,elements:{rootEl:!0,checkboxEl:!0},foundation:({rootEl:e,checkboxEl:t,getProps:n})=>new a.MDCCheckboxFoundation({addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),setNativeControlAttr:(e,n)=>t.setProp(e,n),removeNativeControlAttr:e=>t.removeProp(e),isIndeterminate:()=>!!n().indeterminate,isChecked:()=>{var e;return void 0!==n().checked?!!n().checked:!(null==(e=t.ref)||!e.checked)},hasNativeControl:()=>!!t.ref,setNativeControlDisabled:e=>t.setProp("disabled",e),forceLayout:()=>{var t;return null==(t=e.ref)?void 0:t.offsetWidth},isAttachedToDOM:()=>!0})}),{rootEl:c,checkboxEl:d}=u,f=o.useCallback((()=>{d.ref&&(d.ref.indeterminate=!!e.indeterminate),window.requestAnimationFrame((()=>{l.handleChange()}))}),[e.indeterminate,l,d.ref]);return o.useEffect((()=>{f()}),[f]),c.setProp("onAnimationEnd",(t=>{var n;null==(n=e.onAnimationEnd)||n.call(e,t),l.handleAnimationEnd()}),!0),d.setProp("onChange",(t=>{var n;null==(n=e.onChange)||n.call(e,t),f()}),!0),{foundation:l,renderToggle:t,toggleRootProps:n,id:r,...u}})(e),{children:m,className:v,label:_,style:y,indeterminate:b,inputRef:g,foundationRef:w,...E}=e;return n(r.jsxs(c,{...p.props({checked:E.checked,indeterminate:b,...u}),ref:i.mergeRefs(p.reactRef,t),children:[r.jsx("input",{...h.props({...E,className:"mdc-checkbox__native-control"}),type:"checkbox",ref:i.mergeRefs(h.reactRef,g),id:l}),r.jsx(f,{}),r.jsx(d,{})]}))})),c=l.withRipple({surface:!1,unbounded:!0})(o.forwardRef((function(e,t){const n=o.useContext(i.DataTableContext),a=o.useContext(i.DataTableHeadContext),{disabled:l,checked:s,indeterminate:u,...c}=e,d=i.useClassNames(e,["mdc-checkbox",{"mdc-data-table__row-checkbox":n&&!a,"mdc-data-table__header-row-checkbox":a,"mdc-checkbox--disabled":l,"mdc-checkbox--selected":s||u}]);return r.jsx(i.Tag,{...c,className:d,ref:t})}))),d=o.memo((function(){return r.jsx("div",{className:"mdc-checkbox__ripple"})})),f=o.memo((()=>r.jsxs("div",{className:"mdc-checkbox__background",children:[r.jsx("svg",{className:"mdc-checkbox__checkmark",viewBox:"0 0 24 24",children:r.jsx("path",{className:"mdc-checkbox__checkmark-path",fill:"none",stroke:"white",d:"M1.73,12.91 8.1,19.28 22.79,4.59"})}),r.jsx("div",{className:"mdc-checkbox__mixedmark"})]})));t.Checkbox=u},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(3),a=n(57);t.useToggleFoundation=function(e){const{className:t,style:n,rootProps:i,label:l,children:s,disabled:u}=e,c=e.label||e.children,d=o.useId("toggle-",e),f=c?{disabled:u}:{className:t,style:n,disabled:u,...i};return{id:d,renderToggle:e=>c?r.jsxs(a.FormField,{...i,className:t,style:n,children:[e,r.jsxs("label",{id:d+"label",htmlFor:d,children:[l,s]})]}):e,toggleRootProps:f}}},,,,,,function(e,t,n){n.r(t),n.d(t,{MDCCheckbox:function(){return m},MDCCheckboxFoundation:function(){return p},cssClasses:function(){return c},numbers:function(){return f},strings:function(){return d}});var r=n(2),o=n(55),a=n(5),i=n(46),l=n(17),s=n(21),u=n(19),c={ANIM_CHECKED_INDETERMINATE:"mdc-checkbox--anim-checked-indeterminate",ANIM_CHECKED_UNCHECKED:"mdc-checkbox--anim-checked-unchecked",ANIM_INDETERMINATE_CHECKED:"mdc-checkbox--anim-indeterminate-checked",ANIM_INDETERMINATE_UNCHECKED:"mdc-checkbox--anim-indeterminate-unchecked",ANIM_UNCHECKED_CHECKED:"mdc-checkbox--anim-unchecked-checked",ANIM_UNCHECKED_INDETERMINATE:"mdc-checkbox--anim-unchecked-indeterminate",BACKGROUND:"mdc-checkbox__background",CHECKED:"mdc-checkbox--checked",CHECKMARK:"mdc-checkbox__checkmark",CHECKMARK_PATH:"mdc-checkbox__checkmark-path",DISABLED:"mdc-checkbox--disabled",INDETERMINATE:"mdc-checkbox--indeterminate",MIXEDMARK:"mdc-checkbox__mixedmark",NATIVE_CONTROL:"mdc-checkbox__native-control",ROOT:"mdc-checkbox",SELECTED:"mdc-checkbox--selected",UPGRADED:"mdc-checkbox--upgraded"},d={ARIA_CHECKED_ATTR:"aria-checked",ARIA_CHECKED_INDETERMINATE_VALUE:"mixed",DATA_INDETERMINATE_ATTR:"data-indeterminate",NATIVE_CONTROL_SELECTOR:".mdc-checkbox__native-control",TRANSITION_STATE_CHECKED:"checked",TRANSITION_STATE_INDETERMINATE:"indeterminate",TRANSITION_STATE_INIT:"init",TRANSITION_STATE_UNCHECKED:"unchecked"},f={ANIM_END_LATCH_MS:250},p=function(e){function t(n){var o=e.call(this,(0,r.pi)((0,r.pi)({},t.defaultAdapter),n))||this;return o.currentCheckState=d.TRANSITION_STATE_INIT,o.currentAnimationClass="",o.animEndLatchTimer=0,o.enableAnimationEndHandler=!1,o}return(0,r.ZT)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return c},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return f},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},forceLayout:function(){},hasNativeControl:function(){return!1},isAttachedToDOM:function(){return!1},isChecked:function(){return!1},isIndeterminate:function(){return!1},removeClass:function(){},removeNativeControlAttr:function(){},setNativeControlAttr:function(){},setNativeControlDisabled:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.currentCheckState=this.determineCheckState(),this.updateAriaChecked(),this.adapter.addClass(c.UPGRADED)},t.prototype.destroy=function(){clearTimeout(this.animEndLatchTimer)},t.prototype.setDisabled=function(e){this.adapter.setNativeControlDisabled(e),e?this.adapter.addClass(c.DISABLED):this.adapter.removeClass(c.DISABLED)},t.prototype.handleAnimationEnd=function(){var e=this;this.enableAnimationEndHandler&&(clearTimeout(this.animEndLatchTimer),this.animEndLatchTimer=setTimeout((function(){e.adapter.removeClass(e.currentAnimationClass),e.enableAnimationEndHandler=!1}),f.ANIM_END_LATCH_MS))},t.prototype.handleChange=function(){this.transitionCheckState()},t.prototype.transitionCheckState=function(){if(this.adapter.hasNativeControl()){var e=this.currentCheckState,t=this.determineCheckState();if(e!==t){this.updateAriaChecked();var n=d.TRANSITION_STATE_UNCHECKED,r=c.SELECTED;t===n?this.adapter.removeClass(r):this.adapter.addClass(r),this.currentAnimationClass.length>0&&(clearTimeout(this.animEndLatchTimer),this.adapter.forceLayout(),this.adapter.removeClass(this.currentAnimationClass)),this.currentAnimationClass=this.getTransitionAnimationClass(e,t),this.currentCheckState=t,this.adapter.isAttachedToDOM()&&this.currentAnimationClass.length>0&&(this.adapter.addClass(this.currentAnimationClass),this.enableAnimationEndHandler=!0)}}},t.prototype.determineCheckState=function(){var e=d.TRANSITION_STATE_INDETERMINATE,t=d.TRANSITION_STATE_CHECKED,n=d.TRANSITION_STATE_UNCHECKED;return this.adapter.isIndeterminate()?e:this.adapter.isChecked()?t:n},t.prototype.getTransitionAnimationClass=function(e,n){var r=d.TRANSITION_STATE_INIT,o=d.TRANSITION_STATE_CHECKED,a=d.TRANSITION_STATE_UNCHECKED,i=t.cssClasses,l=i.ANIM_UNCHECKED_CHECKED,s=i.ANIM_UNCHECKED_INDETERMINATE,u=i.ANIM_CHECKED_UNCHECKED,c=i.ANIM_CHECKED_INDETERMINATE,f=i.ANIM_INDETERMINATE_CHECKED,p=i.ANIM_INDETERMINATE_UNCHECKED;switch(e){case r:return n===a?"":n===o?f:p;case a:return n===o?l:s;case o:return n===a?u:c;default:return n===o?f:p}},t.prototype.updateAriaChecked=function(){this.adapter.isIndeterminate()?this.adapter.setNativeControlAttr(d.ARIA_CHECKED_ATTR,d.ARIA_CHECKED_INDETERMINATE_VALUE):this.adapter.removeNativeControlAttr(d.ARIA_CHECKED_ATTR)},t}(n(4).K),h=["checked","indeterminate"],m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rippleSurface=t.createRipple(),t}return(0,r.ZT)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"ripple",{get:function(){return this.rippleSurface},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this.getNativeControl().checked},set:function(e){this.getNativeControl().checked=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"indeterminate",{get:function(){return this.getNativeControl().indeterminate},set:function(e){this.getNativeControl().indeterminate=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.getNativeControl().disabled},set:function(e){this.foundation.setDisabled(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.getNativeControl().value},set:function(e){this.getNativeControl().value=e},enumerable:!1,configurable:!0}),t.prototype.initialize=function(){var e=d.DATA_INDETERMINATE_ATTR;this.getNativeControl().indeterminate="true"===this.getNativeControl().getAttribute(e),this.getNativeControl().removeAttribute(e)},t.prototype.initialSyncWithDOM=function(){var e=this;this.handleChange=function(){e.foundation.handleChange()},this.handleAnimationEnd=function(){e.foundation.handleAnimationEnd()},this.getNativeControl().addEventListener("change",this.handleChange),this.listen((0,o.getCorrectEventName)(window,"animationend"),this.handleAnimationEnd),this.installPropertyChangeHooks()},t.prototype.destroy=function(){this.rippleSurface.destroy(),this.getNativeControl().removeEventListener("change",this.handleChange),this.unlisten((0,o.getCorrectEventName)(window,"animationend"),this.handleAnimationEnd),this.uninstallPropertyChangeHooks(),e.prototype.destroy.call(this)},t.prototype.getDefaultFoundation=function(){var e=this;return new p({addClass:function(t){return e.root.classList.add(t)},forceLayout:function(){return e.root.offsetWidth},hasNativeControl:function(){return!!e.getNativeControl()},isAttachedToDOM:function(){return Boolean(e.root.parentNode)},isChecked:function(){return e.checked},isIndeterminate:function(){return e.indeterminate},removeClass:function(t){e.root.classList.remove(t)},removeNativeControlAttr:function(t){e.getNativeControl().removeAttribute(t)},setNativeControlAttr:function(t,n){e.getNativeControl().setAttribute(t,n)},setNativeControlDisabled:function(t){e.getNativeControl().disabled=t}})},t.prototype.createRipple=function(){var e=this,t=(0,r.pi)((0,r.pi)({},s.F.createAdapter(this)),{deregisterInteractionHandler:function(t,n){e.getNativeControl().removeEventListener(t,n,(0,i.K)())},isSurfaceActive:function(){return(0,l.wB)(e.getNativeControl(),":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(t,n){e.getNativeControl().addEventListener(t,n,(0,i.K)())}});return new s.F(this.root,new u.l(t))},t.prototype.installPropertyChangeHooks=function(){var e,t,n=this,o=this.getNativeControl(),a=Object.getPrototypeOf(o),i=function(e){var t=Object.getOwnPropertyDescriptor(a,e);if(!v(t))return{value:void 0};var r=t.get,i={configurable:t.configurable,enumerable:t.enumerable,get:r,set:function(e){t.set.call(o,e),n.foundation.handleChange()}};Object.defineProperty(o,e,i)};try{for(var l=(0,r.XA)(h),s=l.next();!s.done;s=l.next()){var u=i(s.value);if("object"==typeof u)return u.value}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}},t.prototype.uninstallPropertyChangeHooks=function(){var e,t,n=this.getNativeControl(),o=Object.getPrototypeOf(n);try{for(var a=(0,r.XA)(h),i=a.next();!i.done;i=a.next()){var l=i.value,s=Object.getOwnPropertyDescriptor(o,l);if(!v(s))return;Object.defineProperty(n,l,s)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}},t.prototype.getNativeControl=function(){var e=d.NATIVE_CONTROL_SELECTOR,t=this.root.querySelector(e);if(!t)throw new Error("Checkbox component requires a "+e+" element");return t},t}(a.B);function v(e){return!!e&&"function"==typeof e.set}},,,,,,,,,,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__12__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__,__WEBPACK_EXTERNAL_MODULE__18__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__50__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__11__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__nested_webpack_require_4257__){var __dirname="/",e,t,r,n,i,o,s,a,l,p,c,u,d;if(module=__nested_webpack_require_4257__.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_4257__.g||null===__nested_webpack_require_4257__.g?{}:__nested_webpack_require_4257__.g;module.exports=(e=__nested_webpack_require_4257__(2),t=__nested_webpack_require_4257__(12),r=__nested_webpack_require_4257__(4),n=__nested_webpack_require_4257__(0),i=__nested_webpack_require_4257__(3),o=__nested_webpack_require_4257__(13),s=__nested_webpack_require_4257__(14),a=__nested_webpack_require_4257__(5),l=__nested_webpack_require_4257__(15),p=__nested_webpack_require_4257__(16),c=__nested_webpack_require_4257__(17),u=__nested_webpack_require_4257__(18),d=__nested_webpack_require_4257__(6),function(){var f=[function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=t},function(e,t,n){var r=n(0),o=n.n(r),a=n(1),i=n.n(a),l=n(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:l.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 l=i().stringCamelCaseToDelimited(n);a.observedAttributes.includes(l)||a.observedAttributes.push(l)}e.type&&(Object.prototype.hasOwnProperty.call(a,"propertyTypes")||(a.propertyTypes=a.propertyTypes?o()({},a.propertyTypes):{}),!e.update&&Object.prototype.hasOwnProperty.call(a,n)||(a.propertyTypes[n]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(a,"propertiesToReflectAsAttributes")||(a.propertiesToReflectAsAttributes=a.propertiesToReflectAsAttributes?i().copy(a.propertiesToReflectAsAttributes):[]),(e.update||a.propertiesToReflectAsAttributes instanceof Map&&!a.propertiesToReflectAsAttributes.has(n)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(n)||null!==a.propertiesToReflectAsAttributes&&"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,n))&&("boolean"==typeof e.writeAttribute?!0===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.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes)),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(n,r),null!==a.propertiesToReflectAsAttributes&&"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[n]=r)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?o()({},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 P}});var r,o,a,i,l=n(6),s=n.n(l),u=n(0),c=n.n(u),d=n(7),f=n.n(d),p=n(8),h=n.n(p),m=n(3),v=n.n(m),_=n(9),y=n.n(_),b=(n(10),n(11)),g=n.n(b),w=n(1),E=n.n(w),T=n(2),x=n(4);function k(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 C(e,t);var n=Object.prototype.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)?C(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 C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var O="undefined"==typeof HTMLElement?function(){}:HTMLElement,S=(r=(0,x.default)({type:T.boolean,writeAttribute:!0}),i=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={Tools:E()},n.domNodeEventBindings=new Map,n.domNodeTemplateCache=new Map,n.externalProperties={},n.ignoreAttributeUpdateObservations=!1,n.internalProperties={},n.outputEventNames=new Set,n.instance=null,f()(n,"isRoot",a,h()(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=h()(n),n.defineGetterAndSetterInterface(),n}v()(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,E().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"):E().timeout((function(){return e.render("connected")}))},n.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=k(this.domNodeEventBindings.values());!(e=t()).done;)for(var n,r=k(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=k(E().arrayUnique(Object.keys(this.self.propertyTypes).concat(Object.keys(this.self._propertyAliasIndex))));!(e=r()).done;)n()},n.getPropertyAlias=function(e){return 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,E().timeout((function(){void 0!==t&&n.isStateProperty(e)?(n.render("preStatePropertyChanged"),E().timeout((function(){n.setInternalPropertyValue(e,void 0),n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("postStatePropertyChanged"),n.triggerOutputEvents()})).then(E().noop,E().noop)):(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,a="";if(o.startsWith("data-bind-")?a=o.substring(10):o.startsWith("bind-")&&(a=o.substring(5)),a){var i=e.getAttribute(o);if(null===i)return 0;if(a.startsWith("attribute-")||a.startsWith("property-")){var l=E().stringEvaluate(i,t,!1,e);if(l.error)return console.warn('Error occurred during processing given attribute binding "'+o+'" on node:',e,l.error),0;a.startsWith("attribute-")?e.setAttribute(a.substring(10),l.result):e[E().stringDelimitedToCamelCase(a.substring(9))]=l.result}else if(a.startsWith("on-")){n.domNodeEventBindings.has(e)||n.domNodeEventBindings.set(e,new Map);var s=n.domNodeEventBindings.get(e);a=E().stringDelimitedToCamelCase(a.substring(3)),s.has(a)&&s.get(a)(),t=c()({event:void 0,parameters:void 0},t);var u=E().stringCompile(i,t,!0);if(u.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,u.error);else{var d=u.templateFunction.bind(e),f=function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];t.event=r[0],t.parameters=r;try{d.apply(void 0,u.originalScopeNames.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+o+'" on node:',e,'Given expression "'+i+'" could not be evaluated with given scope names "'+u.scopeNames.join('", "')+'": '+E().represent(t))}};e.addEventListener(a,f),s.set(a,(function(){e.removeEventListener(a,f),s.delete(a),0===s.size&&n.domNodeEventBindings.delete(e)}))}}}},a=k(e.getAttributeNames());!(r=a()).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){var r;if(void 0===t&&(t=[]),void 0===n&&(n={}),(n=c()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).ignoreComponents&&null!=(r=e.nodeName)&&r.toLowerCase().includes("-"))return n.map;if(n.unsafe){var o=e.innerHTML;if(!o&&e.template&&(o=e.template),this.self.hasCode(o)){var a=E().stringCompile("`"+o+"`",t);n.map.set(e,{children:[],error:a.error,scopeNames:a.scopeNames,template:o,templateFunction:a.templateFunction})}}else{var i,l=e.nodeName.toLowerCase();if(["a","#text"].includes(l)){var s="a"===l?e.getAttribute("href"):e.textContent;this.self.hasCode(s)&&(i=s.replace(/ /g," ").trim())}var u=[];if(i){var d=E().stringCompile("`"+i+"`",t);n.map.set(e,{children:u,error:d.error,scopeNames:d.scopeNames,template:i,templateFunction:d.templateFunction})}for(var f=e.firstChild;f;)n.filter&&!n.filter(f)||u.push(this.compileDomNodeTemplate(f,t,c()({},n,{ignoreComponents:n.ignoreNestedComponents}))),f=f.nextSibling}return n.map},n.evaluateDomNodeTemplate=function(e,t,n){var r;if(void 0===t&&(t={}),void 0===n&&(n={}),(n=c()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).map.has(e)||this.compileDomNodeTemplate(e,t,n),n.map.has(e)){var o=n.map.get(e),a=o.error,i=o.scopeNames,l=o.templateFunction;if(a)console.warn("Error occurred during compiling node content: "+a);else{var s=null;try{s=l.apply(void 0,i.map((function(e){return t[e]})))}catch(a){console.warn('Error occurred when "'+this.self._name+'" is running "'+l+'": with bound names "'+i.join('", "')+'": "'+a+'". Rendering node:',e)}null!==s&&(n.unsafe?e.innerHTML=s:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",s):e.textContent=s)}}if(!(n.unsafe||n.ignoreComponents&&null!=(r=e.nodeName)&&r.toLowerCase().includes("-")))for(var u=e.firstChild;u;)n.filter&&!n.filter(u)||this.evaluateDomNodeTemplate(u,t,c()({},n,{applyBindings:!1,ignoreComponents:n.ignoreNestedComponents})),u=u.nextSibling;return n.applyBindings&&this.applyBindings(e,t),n.map},t.replaceDomNodes=function(e,n){for(var r,o=k([].concat(n).reverse());!(r=o()).done;){var a,i=r.value;t.trimSlots&&i.nodeType===Node.TEXT_NODE&&""===(null==(a=i.nodeValue)?void 0:a.trim())||e.after(i)}e.remove()},t.unwrapDomNode=function(e){for(var t=e.parentNode,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;){var n;(e instanceof t||(null==(n=e.nodeName)?void 0:n.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,a=k(r);!(n=a()).done;){var i=n.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,i)&&o.set(i,t.propertyTypes[i])}return o}return E().convertPlainObjectToMap(e)},n.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},n.attachExplicitDefinedOutputEventHandler=function(){for(var e=this,t=!1,n=function(){var n=o[r];Object.prototype.hasOwnProperty.call(e.internalProperties,n)||(t=!0,e.outputEventNames.add(n),e.setInternalPropertyValue(n,s()(g().mark((function t(){var r,o,a,i,l=arguments;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(r=l.length,o=new Array(r),a=0;a<r;a++)o[a]=l[a];return t.next=3,e.reflectEventToProperties(n,o);case 3:(i=t.sent)&&(o[0]=i),e.forwardEvent(n,o);case 6: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],a=n[0],i=n[1];Object.prototype.hasOwnProperty.call(t.internalProperties,a)||![T.func,"function"].includes(i)||t.self.renderProperties.includes(a)||(t.outputEventNames.add(a),t.setInternalPropertyValue(a,(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e&&t.reflectEventToProperties(a,r),t.forwardEvent(a,r)})))},r=0,o=Object.entries(this.self.propertyTypes);r<o.length;r++)n()},n.triggerOutputEvents=function(){for(var e,t=k(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=E().stringLowerCase(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 a=o[r],i=a.getAttribute("name");if(null===i||"default"===i)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var l,s=k(this.slots.default);!(l=s()).done;){var u=l.value;this.evaluateDomNodeTemplate(u,t)}this.self.replaceDomNodes(a,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(a).map((function(e){return n.grabSlotContent(e)}));else Object.prototype.hasOwnProperty.call(this.slots,i)?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[i],t),this.self.replaceDomNodes(a,this.slots[i])):this.slots[i]=this.grabSlotContent(this.self.unwrapDomNode(a).filter((function(e){return"#text"!==e.nodeName.toLowerCase()}))[0])}},n.grabSlotContent=function(e){var t;if("textarea"===(null==(t=e.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!e.firstElementChild.hasAttribute("data-no-template")||"false"===e.firstElementChild.getAttribute("data-no-template"))){var n,r,o=e.firstElementChild.value;null==(n=e.classList)||n.remove("web-component-template");var a=e.cloneNode();return null==(r=e.classList)||r.add("web-component-template"),a.innerHTML="",a.template=o,a}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=n[t],o=r.parentNode,a=!0;o;){if(o.nodeName.includes("-")){o===this&&(a=!1);break}o=o.parentNode}a||(this.slots[r.getAttribute&&r.getAttribute("slot")&&r.getAttribute("slot").trim()?r.getAttribute("slot").trim():r.nodeName.toLowerCase()]=this.grabSlotContent(r))}this.slots.default?this.slots.default=[this.slots.default]:this.childNodes.length>0?this.slots.default=Array.from(this.childNodes).map((function(t){return e.grabSlotContent(t)})):this.slots.default=[]},n.isStateProperty=function(e){var t,n;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(null==(n=this.instance)||null==(n=n.current)?void 0:n.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=c()({},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=n[t],o=r[0],a=r[1];if(this.setExternalPropertyValue(o,a),this.isConnected){var i=E().stringCamelCaseToDelimited(o);if(this.self._propertiesToReflectAsAttributes.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case T.boolean:case"boolean":a?""!==this.getAttribute(i)&&this.setAttribute(i,""):this.hasAttribute(i)&&this.removeAttribute(i);break;case T.func:case"function":break;case"json":if(a){var l=JSON.stringify(a);if(l&&this.getAttribute(i)!==l){this.setAttribute(i,l);break}}this.hasAttribute(i)&&this.removeAttribute(i);break;case T.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(i)&&this.removeAttribute(i);else{var s=""+a;this.getAttribute(i)!==s&&this.setAttribute(i,s)}break;case T.string:case"string":a?this.getAttribute(i)!==a&&this.setAttribute(i,a):this.hasAttribute(i)&&this.removeAttribute(i);break;case T.any:case T.array:case T.arrayOf:case T.element:case T.elementType:case T.instanceOf:case T.node:case T.object:case"object":case T.objectOf:case T.shape:case T.exact:case T.symbol:default:if(a){var u=E().represent(a);if(u&&this.getAttribute(i)!==u){this.setAttribute(i,u);break}}this.hasAttribute(i)&&this.removeAttribute(i)}}}this.ignoreAttributeUpdateObservations=!1},n.reflectProperties=function(e){var t,n,r;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var o,a=k(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(o=a()).done;){var i=o.value;Object.prototype.hasOwnProperty.call(this.internalProperties,i)&&this.setInternalPropertyValue(i,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(null==(r=this.internalProperties.model)||delete r.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var l,s=k(this.self.controllableProperties);!(l=s()).done;){var u=l.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},n.reflectEventToProperties=function(){var e=s()(g().mark((function e(t,n){var r,o,a,i,l,s,u,d,f,p,h,m,v,_,y,b;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.batchUpdates,this.batchUpdates=!1,o=null,a=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&E().isFunction(this.self.eventToPropertyMapping[t]))){e.next=16;break}if(!((l=(i=this.self.eventToPropertyMapping)[t].apply(i,n.concat([this])))&&"then"in l&&E().isFunction(l.then))){e.next=12;break}return e.next=9,l;case 9:e.t0=e.sent,e.next=13;break;case 12:e.t0=l;case 13:s=e.t0,a=!0,Array.isArray(s)?(o=s[0],this.reflectProperties(o),E().extend(!0,this.internalProperties,s[1])):null===s?a=!1:"object"==typeof s&&(o=s,this.reflectProperties(s));case 16:if(!a&&n.length>0&&null!==n[0]&&"object"==typeof n[0]){if(d=n[0],"persist"in n[0]&&E().isFunction(n[0].persist))for(d={},f=0,p=Object.keys(this.self.propertyTypes);f<p.length;f++)for(h=p[f],m=k([h].concat(null!==(_=this.getPropertyAlias(h))&&void 0!==_?_:[]));!(v=m()).done;)y=v.value,(b=n[0].currentTarget&&Object.prototype.hasOwnProperty.call(n[0].currentTarget,y)?n[0].currentTarget[y]:this.getPropertyValue(y))!==this.externalProperties[y]&&(d[y]=b);else[null,void 0].includes(null==(u=d.detail)?void 0:u.value)||(d=c()({},d.detail));o=d,this.reflectProperties(d)}return this.triggerRender("propertyReflected"),this.batchUpdates=r,e.abrupt("return",o);case 20: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,a=E().stringDelimitedToCamelCase(o),i=this.getPropertyAlias(a);if(i&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,i)&&(a=i),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)){var l=this.self.propertyTypes[a];if(r){if(t){var s=E().stringEvaluate(t,{Tools:E()},!1,this);s.error?(console.warn('Failed to process pre-evaluation attribute "'+e+'": '+s.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(a,void 0)):(this.setInternalPropertyValue(a,s.result),this.setExternalPropertyValue(a,s.result))}}else switch(l){case T.boolean:case"boolean":var u=![null,"false"].includes(t);this.setInternalPropertyValue(a,u),this.setExternalPropertyValue(a,u);break;case T.func:case"function":var c,d=null,f=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var p=E().stringCompile(t,f);d=p.error,c=p.templateFunction,d&&console.warn('Failed to compile given handler "'+e+'": '+d+".")}this.setInternalPropertyValue(a,(function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];n.outputEventNames.has(a)&&n.reflectEventToProperties(a,o);var l=void 0;if(!d)try{l=c.call(n,o[0],o[0],o[0],o[0],o[0],o[0],o,E())}catch(n){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+f.join('", "')+'" set to "'+E().represent(o)+'": '+n+'. Set property to "undedefined".')}return n.self.renderProperties.includes(a)||n.forwardEvent(a,o),l})),d||this.setExternalPropertyValue(a,c);break;case"json":if(t){var h;try{h=JSON.parse(t)}catch(d){console.warn('Error occurred during parsing given json attribute "'+e+'": '+E().represent(d));break}this.setInternalPropertyValue(a,h),this.setExternalPropertyValue(a,E().copy(h,1))}else this.setInternalPropertyValue(a,null),this.setExternalPropertyValue(a,null);break;case T.number:case"number":if(null===t){this.setInternalPropertyValue(a,t),this.setExternalPropertyValue(a,t);break}var m=parseFloat(t);isNaN(m)&&(m=void 0),this.setInternalPropertyValue(a,m),this.setExternalPropertyValue(a,m);break;case T.string:case"string":this.setInternalPropertyValue(a,t),this.setExternalPropertyValue(a,t);break;case T.any:case T.array:case T.arrayOf:case T.element:case T.elementType:case T.instanceOf:case T.node:case T.object:case"object":case T.objectOf:case T.oneOf:case T.oneOfType:case T.shape:case T.exact:case T.symbol:default:if(t){var v=E().stringEvaluate(t,{},!1,this);if(v.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',v.error);break}this.setInternalPropertyValue(a,v.result),this.setExternalPropertyValue(a,E().copy(v.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(a,!0),this.setExternalPropertyValue(a,!0)):(this.setInternalPropertyValue(a,null),this.setExternalPropertyValue(a,null))}}},n.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,E().timeout((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},n.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow(null!==this.self.shadowDOM&&"object"==typeof this.self.shadowDOM?this.self.shadowDOM:{mode:"open"}))},n.determineRenderScope=function(e){var t,n;void 0===e&&(e={}),this.scope=c()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((n={parent:this.parent,root:this.rootInstance,self:this})[E().stringLowerCase(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}}))){var t=E().stringEvaluate("`"+this.self.content+"`",this.scope);if(t.error)console.warn("Failed to process template: "+t.error);else{this.applyShadowRootIfNotExisting();var n=document.createElement("div");n.innerHTML=t.result,this.applySlots(n,c()({},this.scope,{parent:this})),this.root.innerHTML=n.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots)}}},t}(O),i.applyRootBinding=!0,i.content="<slot>Please provide a template to transclude.</slot>",i.determineRootBinding=!0,i.shadowDOM=null,i.observedAttributes=[],i.controllableProperties=[],i.eventToPropertyMapping={},i.propertyAliases={},i.propertyTypes={onClick:T.func},i.propertiesToReflectAsAttributes=[],i.renderProperties=["children"],i.cloneSlots=!1,i.evaluateSlots=!1,i.renderSlots=!0,i.trimSlots=!0,i.renderUnsafe=!1,i._name="BaseWeb",i._propertyAliasIndex=void 0,i._propertiesToReflectAsAttributes=void 0,o=i,a=y()(o.prototype,"isRoot",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),o),P={component:S,register:function(e){return void 0===e&&(e=E().stringCamelCaseToDelimited(S._name)),customElements.define(e,S)}};t.default=S},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=d},function(e){e.exports=i},function(e){e.exports=o},function(e){e.exports=s},function(e,t,n){n.d(t,{api:function(){return _}});var r=n(0),o=n.n(r),a=n(3),i=n.n(a),l=n(1),s=n.n(l),u=n(2),c=n(12),d=n.n(c),f=n(13),p=n(14);function h(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 m(e,t);var n=Object.prototype.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)?m(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 m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v=function(e){function t(){for(var n,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];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}i()(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(e){var t,n=this;if(void 0===e&&(e="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(o()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(var r=this.firstChild;r;){var a=r.nextSibling;this.removeChild(r),r=a}this.reactRoot||(this.reactRoot=(0,p.createRoot)(this.root,{identifierPrefix:String(this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name)})),(0,f.flushSync)((function(){return n.reactRoot.render((0,c.createElement)(n.self.content,n.internalProperties))})),null!=(t=this.instance)&&t.current?this.reflectInstanceProperties():s().timeout(this.reflectInstanceProperties)}},n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=s().copy(t,1),n)),this.setInternalPropertyValue(e,s().copy(t,1))},n.setInternalPropertyValue=function(t,n){null===n?n=u.NullSymbol:void 0===n&&(n=u.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,a=[],i=h(e);!(r=i()).done;){var l=r.value,s=this.preCompileDomNode(l,t,n,o.toString());s&&(a.push(s),o+=1)}return n?function(e){return function(){for(var t,n=[],r=h(a);!(t=r()).done;){var o=(0,t.value)(e);"function"==typeof o&&n.push(o.apply(void 0,arguments))}return(0,c.createElement)(c.Fragment,{children:n})}}:a},n.preCompileDomNode=function(e,t,n,r){var a=this;if(void 0===t&&(t={}),void 0===n&&(n=!1),n){var i=this.preCompileDomNode(e,o()({},t,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,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 a=n.length>0?n[0]:null;return i(o()({},e,{data:a,firstArgument:a,firstParameter:a,options:a,scope:a,parameters:n}))}}}if(e.nodeType===Node.TEXT_NODE){var l="string"==typeof e.nodeValue?e.nodeValue.trim():"",u=r&&l?(0,c.createElement)(c.Fragment,{children:l,key:r}):l||null;return function(){return u}}if(!e.getAttributeNames)return function(){return null};var d,f={},p=this.self.isReactComponent(e);p?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),r&&!Object.prototype.hasOwnProperty.call(f,"key")&&(f.key=r),d=e.constructor.content):(f.key=r,d=e.tagName.toLowerCase());for(var m,v=Object.keys(t),_={},y=function(){var n,r=m.value,o=e.getAttribute(r);if(null===o)return 0;var i=!1,l="";if(r.startsWith("data-bind-")?l=r.substring(10):r.startsWith("bind-")&&(l=r.substring(5)),l.startsWith("attribute-")||"attributes"===l||l.startsWith("property-")||"properties"===l){var u=s().stringCompile(o,v),c=u.error,d=u.originalScopeNames,h=u.templateFunction;if(c)return console.warn('Error occurred during compiling given attribute binding "'+r+'" on node:',e,c),0;"attributes"===l||"properties"===l?i=!0:l=l.startsWith("attribute-")?l.substring(10):l.substring(9),o={originalScopeNames:d,templateFunction:h.bind(a)}}else if(l.startsWith("on-")){l=s().stringDelimitedToCamelCase(l),Object.prototype.hasOwnProperty.call(t,"event")||(v=[].concat(v,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(v=[].concat(v,["parameters"]));var y=s().stringCompile(o,v,!0),b=y.error,g=y.originalScopeNames,w=y.scopeNames,E=y.templateFunction;if(b)return console.warn('Error occurred during compiling given event binding "'+r+'" on node:',e,b),0;var T=E.bind(a);o=function(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];t.event=a[0],t.parameters=a;try{T.apply(void 0,g.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 "'+w.join('", "')+'": '+s().represent(t))}}}else l=r;var x={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(x,l)&&(l=x[l]),l=s().stringDelimitedToCamelCase(l),null!=(n=o)&&n.originalScopeNames?_[i?"":l]=o:p||(f[l]=o)},b=h(e.getAttributeNames());!(m=b()).done;)y();if(!p){var g=Array.from(e.childNodes);g.length&&(f.children=this.preCompileDomNodes(g,t))}return function(n){(n=o()({},t,n)).scope=n;for(var r=o()({},f),i=0,l=Object.entries(_);i<l.length;i++){var s=l[i],u=s[0],h=s[1],m=h.originalScopeNames,v=h.templateFunction.apply(void 0,m.map((function(e){return n[e]})));""===u?r=o()({},r,v):r[u]=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):p?(r=o()({},e.internalProperties,r),n=o()({},r,n,{parent:e}),e.evaluateSlots(n),e.prepareProperties(r)):r.children&&(r.children=a.evaluatePreCompiledDomNodes(r.children,n)),(0,c.createElement)(d,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=h(e);!(n=o()).done;){var a=(0,n.value)(t);a&&r.push(a)}return r},n.preCompileSlots=function(){var e;for(var t in this.slots)Object.prototype.hasOwnProperty.call(this.slots,t)&&"default"!==t&&(this.compiledSlots[t]=this.preCompileDomNode(this.slots[t],o()({},this.scope,{parent:this}),[u.func,"function"].includes(this.self.propertyTypes&&this.self.propertyTypes[t])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,o()({},this.scope,{parent:this}),[u.func,"function"].includes(null==(e=this.self.propertyTypes)?void 0:e.children)))},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&&(!1===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,c.memo)(this.self.content),this.self.content.wrapped=e):this.self.attachWebComponentAdapterIfNotExists?(this.self.content.displayName||(this.self.content.displayName=this.self._name),this.self.content=(0,c.forwardRef)((function(t,n){return(0,c.useImperativeHandle)(n,(function(){return{properties:t}})),(0,c.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,c.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,c.memo)(this.self.content),this.self.content.wrapped=e)}},n.prepareProperties=function(e){s().extend(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,c.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var n,r=h(["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(5).default);v.attachWebComponentAdapterIfNotExists=!0,v.content="div",v.react=d(),v._name="ReactWebComponent";var _={component:v,register:function(e){return void 0===e&&(e=s().stringCamelCaseToDelimited(v._name)),customElements.define(e,v)}};t.default=v}],h={};function m(e){var t=h[e];if(void 0!==t)return t.exports;var n=h[e]={exports:{}};return f[e](n,n.exports,m),n.exports}m.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return m.d(t,{a:t}),t},m.d=function(e,t){for(var n in t)m.o(t,n)&&!m.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},m.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},m.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var v={};return function(){m.r(v),m.d(v,{ReactWeb:function(){return s},Web:function(){return d},reactWebAPI:function(){return u},webAPI:function(){return c},wrapAsWebComponent:function(){return f}});var e=m(0),t=m.n(e),n=m(3),r=m.n(n),o=m(1),a=m.n(o),i=m(15),l=m(5),s=i.default,u=i.api,c=l.api,d=l.default,f=function(e,n,o){var i,l,u;void 0===n&&(n="NoName"),void 0===o&&(o={});var c=e._name||(null==(i=e.___types)||null==(i=i.name)?void 0:i.name)||n.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");o.propTypes&&(e.propTypes=o.propTypes);var d=e.propTypes||{},f=o.propertyAliases||e.propertyAliases||{},p=a().arrayUnique(Object.keys(d).concat(Object.keys(f)).concat(Object.values(f))),h=o.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(s.propertiesToReflectAsAttributes)if(Array.isArray(h))h=[].concat(s.propertiesToReflectAsAttributes,h);else if(h instanceof Map)for(var m=0,v=s.propertiesToReflectAsAttributes;m<v.length;m++){var _=v[m];h.set(_,s.propertyTypes[_])}else if(null!==h&&"object"==typeof h)for(var y=0,b=s.propertiesToReflectAsAttributes;y<b.length;y++){var g=b[y];h[g]=s.propertyTypes[g]}var w=p.map((function(e){return a().stringCamelCaseToDelimited(e)})),E=function(n){function a(){for(var r,i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];return(r=n.call.apply(n,[this].concat(l))||this).self=a,r.internalProperties=o.internalProperties?t()({},o.internalProperties):e.internalProperties?t()({},e.internalProperties):{},r}return r()(a,n),a}(s);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof o.attachWebComponentAdapterIfNotExists||o.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=s.observedAttributes.concat(w).concat(w.map((function(e){return"-"+e}))),E.controllableProperties=e.controllableProperties||o.controllableProperties||[],E.eventToPropertyMapping=null===o.eventToPropertyMapping?o.eventToPropertyMapping:o.eventToPropertyMapping?t()({},o.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?t()({},e.eventToPropertyMapping):{},E.propertyAliases=t()({},s.propertyAliases,f),E.propertiesToReflectAsAttributes=h,E.propertyTypes=t()({},s.propertyTypes,d),E.renderProperties=null!==(l=null!==(u=o.renderProperties)&&void 0!==u?u:e.renderProperties)&&void 0!==l?l:s.renderProperties,E._name=c,{component:E,register:function(e){return void 0===e&&(e=a().stringCamelCaseToDelimited(c)),customElements.define(e,E)}}};v.default=f}(),v}())},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__4__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__5__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__6__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__7__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__8__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__10__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__12__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__13__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__14__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__15__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__16__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__17__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__18__},,,,,,,,,,,,,,,,,,,function(module,__unused_webpack_exports,__nested_webpack_require_45999__){var __dirname="/",e,t,n,r,o,i,a,l,u,s;if(module=__nested_webpack_require_45999__.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_45999__.g||null===__nested_webpack_require_45999__.g?{}:__nested_webpack_require_45999__.g;module.exports=(e=__nested_webpack_require_45999__(2),t=__nested_webpack_require_45999__(7),n=__nested_webpack_require_45999__(50),r=__nested_webpack_require_45999__(8),o=__nested_webpack_require_45999__(9),i=__nested_webpack_require_45999__(4),a=__nested_webpack_require_45999__(0),l=__nested_webpack_require_45999__(3),u=__nested_webpack_require_45999__(10),s=__nested_webpack_require_45999__(11),function(){var c=[function(e){e.exports=s},function(t){t.exports=e},function(e){e.exports=i},function(e){e.exports=l},function(e){e.exports=r},function(e){e.exports=a},function(e,t,n){n.d(t,{WrapTooltip:function(){return u}});var r=n(1),o=n.n(r),a=n(11),i=n(8),l=n(0),s=!i.Tooltip||i.Tooltip.isDummy,u=function(e){var t=e.children,n=e.options;if("string"==typeof n)return s?(0,l.jsx)("div",{className:"generic-tooltip",title:n,children:t}):(0,l.jsx)(i.Tooltip,{overlay:(0,l.jsx)(a.Typography,{use:"caption",children:n}),children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})});if(null!==n&&"object"==typeof n){if("string"==typeof n.overlay){if(s)return(0,l.jsx)("div",{className:"generic-tooltip",title:n.overlay,children:t});n=o()({},n,{overlay:(0,l.jsx)(a.Typography,{use:"caption",children:n.overlay})})}return s?(0,l.jsx)("div",{className:"generic-tooltip",children:t}):(0,l.jsx)(i.Tooltip,o()({},n,{children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})}))}return(0,l.jsx)(l.Fragment,{children:t})}},function(e,t,n){n.d(t,{WrapConfigurations:function(){return l}}),n(1),n(14),n(3),n(4);var r=n(13),o=n(12),a=n(6),i=n(0),l=function(e){var t=e.children,n=e.strict,l=e.themeConfiguration,s=e.tooltip,u=e.wrap;return(0,i.jsx)(r.x,{strict:Boolean(n),children:(0,i.jsx)(a.WrapTooltip,{options:s,children:(0,i.jsx)(o.WrapThemeProvider,{configuration:l,wrap:u,children:t})})})}},function(e){e.exports=u},function(e,t,n){n.d(t,{deriveMissingPropertiesFromState:function(){return u},determineInitialValue:function(){return p},determineValidationState:function(){return h},getConsolidatedProperties:function(){return v},mapPropertiesIntoModel:function(){return m},translateKnownSymbols:function(){return f},triggerCallbackIfExists:function(){return d},wrapStateSetter:function(){return c}});var r=n(1),o=n.n(r),a=n(2),i=n.n(a),l=n(5);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u=function(e,t){void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=t.value),e.model.state?e.model.state=o()({},e.model.state):e.model.state={};for(var n=0,r=Object.entries(t.modelState);n<r.length;n++){var a=r[n],i=a[0],l=a[1];void 0===e.model.state[i]&&(e.model.state[i]=l)}return e},c=function(e,t){return function(n){var r="function"==typeof n?n(t):n;i().equals(null==r?void 0:r.modelState,null==t?void 0:t.modelState)||e(r)}},d=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"+i().stringCapitalize(t),e[t]&&(n?e[t].apply(e,o):i().timeout((function(){return e[t].apply(e,o)})))},f=function(e){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=r[n],a=o[0],s=o[1];s===l.UndefinedSymbol?t[a]=void 0:s===l.NullSymbol?t[a]=null:t[a]=i().copy(e[a])}return t},p=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?i().copy(e.initialValue):void 0!==e.default?i().copy(e.default):void 0!==(null==(o=e.model)?void 0:o.default)?i().copy(e.model.default):void 0!==t?t:null},h=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 a=0,i=Object.entries(n);a<i.length;a++){var l=i[a],s=l[0],u=l[1],c=t[s];e.model.state[s]=u(),r=r||c!==t[s]}return r&&(e.model.state.invalid=Object.keys(n).some((function(t){return e.model.state[t]})),e.model.state.valid=!e.model.state.invalid),r},m=function(e,t){var n=i().extend(!0,{model:i().copy(t)},e);n.disabled&&(n.model.mutable=!1,delete n.disabled),n.invertedPattern&&(n.model.invertedRegularExpressionPattern=n.invertedPattern,delete n.invertedPattern),n.pattern&&(n.model.regularExpressionPattern=n.pattern,delete n.pattern),n.required&&(n.model.nullable=!1,delete n.required),"text"===n.type&&(n.type="string");for(var r,o=function(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 s(e,t);var n=Object.prototype.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)?s(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.")}(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=i().copy(n.model.default)),n},v=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.invertedRegularExpressionPattern&&(t.invertedPattern=t.invertedRegularExpressionPattern),delete t.invertedRegularExpressionPattern,t.regularExpressionPattern&&(t.pattern=t.regularExpressionPattern),delete t.regularExpressionPattern,t}},function(e,t,n){n.d(t,{checkboxPropertyTypes:function(){return m},defaultCheckboxProperties:function(){return _},defaultModelState:function(){return f}});var r=n(1),o=n.n(r),a=n(2),i=n.n(a),l=n(5),s={name:l.string,declaration:l.string,description:l.string,default:l.any,selection:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.number,l.string])),l.number,(0,l.objectOf)((0,l.oneOfType)([l.number,l.string])),l.string])),(0,l.objectOf)((0,l.oneOfType)([l.number,l.string]))]),type:l.string,value:l.any},u={dirty:(0,l.oneOfType)([l.boolean,l.symbol]),pristine:(0,l.oneOfType)([l.boolean,l.symbol]),touched:(0,l.oneOfType)([l.boolean,l.symbol]),untouched:(0,l.oneOfType)([l.boolean,l.symbol]),focused:(0,l.oneOfType)([l.boolean,l.symbol]),visited:(0,l.oneOfType)([l.boolean,l.symbol]),invalid:(0,l.oneOfType)([l.boolean,l.symbol]),invalidRequired:(0,l.oneOfType)([l.boolean,l.symbol]),valid:(0,l.oneOfType)([l.boolean,l.symbol])},c=o()({},s,{emptyEqualsNull:l.boolean,trim:l.boolean,invertedRegularExpressionPattern:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),regularExpressionPattern:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),maximum:(0,l.oneOfType)([l.number,l.string]),minimum:(0,l.oneOfType)([l.number,l.string]),maximumLength:l.number,minimumLength:l.number,mutable:l.boolean,writable:l.boolean,state:(0,l.shape)(u)}),d=o()({},s,u,{className:l.string,styles:l.object,themeConfiguration:l.object,disabled:l.boolean,enforceUncontrolled:l.boolean,initialValue:l.any,inputProperties:l.object,model:(0,l.shape)(c),onChange:l.func,onChangeValue:l.func,onChangeShowDeclaration:l.func,onChangeState:l.func,onClick:l.func,onFocus:l.func,onTouch:l.func,required:l.boolean,requiredText:l.string,ripple:(0,l.oneOfType)([l.boolean,l.object]),rootProps:l.object,showDeclaration:(0,l.oneOfType)([l.boolean,l.symbol]),showInitialValidationState:l.boolean,showValidationState:l.boolean,tooltip:l.any}),f={dirty:!1,pristine:!0,focused:!1,visited:!1,invalid:!1,invalidRequired:!1,valid:!0,touched:!1,untouched:!0},p={declaration:"",description:"",name:"NO_NAME_DEFINED",emptyEqualsNull:!0,regularExpressionPattern:void 0,invertedRegularExpressionPattern:void 0,maximum:1/0,minimum:-1/0,maximumLength:-1,minimumLength:0,mutable:!0,writable:!0,nullable:!0,state:o()({},f),trim:!0,type:"string"},h={enforceUncontrolled:!1,model:o()({},p),triggerInitialPropertiesConsolidation:!1,showDeclaration:void 0,showInitialValidationState:!1,showValidationState:!0,requiredText:"Please fill this field."},m=o()({},d,u,{checked:l.boolean,id:l.string}),v=o()({},p,{default:!1,type:"boolean",value:!1}),_=o()({},h,{default:!1,model:o()({},v),requiredText:"Please check this field."}),y=o()({},u,{invalidMaximum:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMinimum:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMaximumLength:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMinimumLength:(0,l.oneOfType)([l.boolean,l.symbol]),invalidInvertedPattern:(0,l.oneOfType)([l.boolean,l.symbol]),invalidPattern:(0,l.oneOfType)([l.boolean,l.symbol])}),b=o()({},d,y,{align:l.string,children:l.func,cursor:(0,l.oneOfType)([(0,l.shape)({end:l.number.isRequired,start:l.number.isRequired}),l.symbol]),editor:l.string,editorIsActive:(0,l.oneOfType)([l.boolean,l.symbol]),hidden:(0,l.oneOfType)([l.boolean,l.symbol]),icon:(0,l.oneOfType)([l.string,l.object]),inputProps:l.object,invertedPattern:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),invertedPatternText:l.string,labels:(0,l.oneOfType)([(0,l.arrayOf)((0,l.arrayOf)(l.string)),(0,l.arrayOf)(l.string),l.object]),maximum:(0,l.oneOfType)([l.number,l.string]),maximumLengthText:l.string,maximumText:l.string,minimum:(0,l.oneOfType)([l.number,l.string]),minimumLengthText:l.string,minimumText:l.string,onBlur:l.func,onChangeEditorIsActive:l.func,onKeyDown:l.func,onKeyUp:l.func,onSelect:l.func,onSelectionChange:l.func,outlined:l.boolean,pattern:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),patternText:l.string,placeholder:l.string,representation:(0,l.oneOfType)([l.string,l.symbol]),rows:l.number,searchSelection:l.boolean,selectableEditor:l.boolean,step:l.number,suggestionCreator:l.func,suggestSelection:l.boolean,trailingIcon:l.any,transformer:l.object}),g=o()({},f,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),w=o()({},p,{state:g}),E=o()({},h,{cursor:{end:0,start:0},editor:"plain",invertedPatternText:'Your string should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',maximumLengthText:"Please type less or equal than ${maximumLength} symbols.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:o()({},w),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',rows:4,searchSelection:!1,selectableEditor:!1,step:1,suggestSelection:!1}),T=o()({},u,{invalidContentTypePattern:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMaximumSize:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMinimumSize:(0,l.oneOfType)([l.boolean,l.symbol]),invalidName:(0,l.oneOfType)([l.boolean,l.symbol])}),x=(o()({},d,T,{children:l.func,contentTypePatternText:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),invertedContentTypePatternText:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),deleteButton:(0,l.oneOfType)([l.object,l.string]),downloadButton:(0,l.oneOfType)([l.object,l.string]),editButton:(0,l.oneOfType)([l.object,l.string]),newButton:(0,l.oneOfType)([l.object,l.string]),encoding:l.string,generateFileNameInputProperties:l.func,maximumSizeText:l.string,minimumSizeText:l.string,onBlur:l.func,outlined:l.boolean}),o()({},f,{invalidContentTypePattern:!1,invalidMaximumSize:!1,invalidMinimumSize:!1,invalidName:!1})),k=o()({},p,{contentTypeRegularExpressionPattern:/^.+\/.+$/,invertedContentTypeRegularExpressionPattern:void 0,fileName:o()({},w,{maximumLength:1024,name:"Name",regularExpressionPattern:/^[^/]+$/}),maximumSize:1/0,minimumSize:0,state:x});delete o()({},E,{emptyEqualsNull:!1,invertedPatternText:'Your file\'s name should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: ""${[].concat(invertedPattern).join("\\", \\"")}".',patternText:'Your file\'s name has to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: ""${[].concat(pattern).join("\\", \\"")}".',required:!0}).model,o()({},h,{contentTypePatternText:'Your file\'s mime-type has to match the regular expression${[].concat(contentTypePattern).length > 1 ? "s" : ""}: ""${[].concat(contentTypePattern).join("\\", \\"")}".',invertedContentTypePatternText:'Your file\'s mime-type should not match the regular expression${[].concat(invertedContentTypePattern).length > 1 ? "s" : ""}: ""${[].concat(invertedContentTypePattern).join("\\", \\"")}".',deleteButton:"delete",downloadButton:"download",editButton:"edit",newButton:"new",encoding:"utf-8",generateFileNameInputProperties:i().identity,maximumSizeText:"Please provide a file with less or equal size than ${maximumSize} byte.",minimumSizeText:"Please provide a file with more or equal size than ${maximumSize} byte.",media:{sixteenByNine:!0},model:o()({},k),sourceToBlobOptions:{endings:"transparent",type:"text/plain"}}),o()({},d,y,{children:l.func,createItem:l.func,createPrototype:l.func,maximumNumber:l.number,minimumNumber:l.number});var C=o()({},p,{state:o()({},p.state,{invalidMaximumNumber:!1,invalidMinimumNumber:!1}),maximumNumber:1/0,minimumNumber:0,type:"string[]"});o()({},h,{addIcon:{icon:"add"},removeIcon:{icon:"clear"},createItem:function(e){return e.item},createPrototype:function(e){return e.item},model:o()({},C)}),o()({},b,{value:(0,l.shape)({end:(0,l.oneOfType)([l.number,l.string,(0,l.shape)(b)]),start:(0,l.oneOfType)([l.number,l.string,(0,l.shape)(b)])})}),o()({},f),o()({},w,{description:"End",name:"end"}),o()({},w,{description:"Start",name:"start"})},function(e){e.exports=o},function(e,t,n){n.d(t,{WrapThemeProvider:function(){return a}});var r=n(4),o=n(0),a=function(e){var t=e.children,n=e.configuration,a=e.wrap;return n?(0,o.jsx)(r.ThemeProvider,{options:n,wrap:!1!==a,children:t}):t}},function(e,t,n){n.d(t,{x:function(){return a}});var r=n(3),o=n(0),a=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){e.exports=t},,,,,,,,,,,,,,,,,,,,,,,,function(e){e.exports=n}],d={};function f(e){var t=d[e];if(void 0!==t)return t.exports;var n=d[e]={exports:{}};return c[e](n,n.exports,f),n.exports}f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,{a:t}),t},f.d=function(e,t){for(var n in t)f.o(t,n)&&!f.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var p={};return function(){f.r(p),f.d(p,{RequireableCheckbox:function(){return v},RequireableCheckboxInner:function(){return m},default:function(){return _},determineValidationState:function(){return h}});var e=f(1),t=f.n(e),n=f(2),r=f.n(n),o=f(3),a=f(38),i=f(4),l=f(7),s=f(9),u=f(10),c=f(0),d={"requireable-checkbox":"requireable-checkbox"};function h(e,t){return(0,s.determineValidationState)(e,t,{invalidRequired:function(){return!1===e.model.nullable&&!e.model.value}})}var m=function(e,n){var u,f,p=function(e){var t=(0,s.mapPropertiesIntoModel)(e,v.defaultProperties.model);return h(t,t.model.state),(t=(0,s.getConsolidatedProperties)(t)).checked=Boolean(t.value),t};(0,o.useEffect)((function(){O.triggerInitialPropertiesConsolidation&&m()}),[]);var m=function(e){r().extend(!0,O,p(O)),(0,s.triggerCallbackIfExists)(O,"change",C,O,e)},_=function(e){return k((function(n){var r=!1;n.modelState.focused||(O.focused=!0,r=!0),n.modelState.untouched&&(O.touched=!0,O.untouched=!1,r=!0);var o=n;return r&&(m(e),o=t()({},n,{modelState:O.model.state}),(0,s.triggerCallbackIfExists)(O,"changeState",C,O.model.state,e,O)),(0,s.triggerCallbackIfExists)(O,"touch",C,e,O),o}))},y=(0,o.useRef)(null),b=(0,o.useRef)(null),g=(0,s.translateKnownSymbols)(e),w=(0,s.determineInitialValue)(g,v.defaultProperties.model.default,g.checked),E=r().extend(!0,r().copy(v.defaultProperties),g),T=(0,o.useState)({modelState:t()({},v.defaultModelState),value:w}),x=T[0],k=T[1],C=!E.enforceUncontrolled&&(void 0!==(null==(u=g.model)?void 0:u.value)||void 0!==g.value)&&Boolean(g.onChange||g.onChangeValue);(0,s.deriveMissingPropertiesFromState)(E,x);var O=p(E),S={modelState:O.model.state,value:O.value};return(C||O.value===x.value)&&r().equals(O.model.state,x.modelState)||k(S),C&&(k=(0,s.wrapStateSetter)(k,S)),(0,o.useImperativeHandle)(n,(function(){return{properties:O,references:{foundationRef:b,inputReference:y},state:t()({modelState:O.model.state},C?{}:{value:O.value})}})),(0,c.jsx)(l.WrapConfigurations,{strict:v.strict,themeConfiguration:O.themeConfiguration,tooltip:O.tooltip,children:(0,c.jsx)("div",{className:[d["requireable-checkbox"]].concat(null!==(f=O.className)&&void 0!==f?f:[]).join(" "),style:O.styles,children:(0,c.jsx)(a.Checkbox,{checked:Boolean(O.value),disabled:O.disabled,foundationRef:b,id:O.id||O.name,indeterminate:null===O.value,inputRef:y,label:O.invalid&&O.showValidationState&&(O.showInitialValidationState||O.visited)?(0,c.jsx)(i.Theme,{use:"error",children:O.description||O.name}):O.description||O.name,name:O.name,onBlur:function(e){return k((function(n){var r=!1;return n.modelState.focused&&(O.focused=!1,r=!0),n.modelState.visited||(O.visited=!0,r=!0),r&&(m(e),(0,s.triggerCallbackIfExists)(O,"changeState",C,O.model.state,e,O)),(0,s.triggerCallbackIfExists)(O,"blur",C,e,O),r?t()({},n,{modelState:O.model.state}):n}))},onChange:function(e){O.model.mutable&&O.model.writable&&(O.value=Boolean(e.target.checked),k((function(n){if(n.value===O.value)return n;var r=!1,o=t()({},n,{value:O.value});return n.modelState.pristine&&(O.dirty=!0,O.pristine=!1,r=!0),m(e),h(O,n.modelState)&&(r=!0),(0,s.triggerCallbackIfExists)(O,"changeValue",C,O.value,e,O),r&&(o.modelState=O.model.state,(0,s.triggerCallbackIfExists)(O,"changeState",C,O.model.state,e,O)),o})))},onClick:function(e){(0,s.triggerCallbackIfExists)(O,"click",C,e,O),_(e)},onFocus:function(e){(0,s.triggerCallbackIfExists)(O,"focus",C,e,O),_(e)},ripple:O.ripple,value:""+O.value})})})};m.displayName="RequireableCheckbox";var v=(0,o.memo)((0,o.forwardRef)(m));v.wrapped=m,v.webComponentAdapterWrapped="react",v.defaultModelState=u.defaultModelState,v.defaultProperties=t()({},u.defaultCheckboxProperties,{model:t()({},u.defaultCheckboxProperties.model,{state:void 0,value:void 0}),value:void 0}),v.propTypes=u.checkboxPropertyTypes,v.strict=!1;var _=v}(),p}())},,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__50__}],__webpack_module_cache__={};function __nested_webpack_require_66458__(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_66458__),n.loaded=!0,n.exports}__nested_webpack_require_66458__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_66458__.d(t,{a:t}),t},__nested_webpack_require_66458__.d=function(e,t){for(var n in t)__nested_webpack_require_66458__.o(t,n)&&!__nested_webpack_require_66458__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_66458__.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_66458__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_66458__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_66458__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __nested_webpack_exports__={};return function(){__nested_webpack_require_66458__.r(__nested_webpack_exports__),__nested_webpack_require_66458__.d(__nested_webpack_exports__,{RequireableCheckbox:function(){return o}});var e=__nested_webpack_require_66458__(0),t=__nested_webpack_require_66458__(37),n=__nested_webpack_require_66458__.n(t),r=__nested_webpack_require_66458__(1),o=__nested_webpack_require_66458__.n(r)()(n(),"RequireableCheckbox",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:e.boolean,focused:e.boolean,invalid:e.boolean,invalidRequired:e.boolean,name:e.string,pristine:e.boolean,touched:e.boolean,untouched:e.boolean,valid:e.boolean,visited:e.boolean}});__nested_webpack_exports__.default=o}(),__nested_webpack_exports__}()},module.exports=t(__webpack_require__(15),__webpack_require__(9),__webpack_require__(8),__webpack_require__(20),__webpack_require__(0),__webpack_require__(10),__webpack_require__(54),__webpack_require__(12),__webpack_require__(31),__webpack_require__(32),__webpack_require__(33),__webpack_require__(34),__webpack_require__(13),__webpack_require__(40),__webpack_require__(101),__webpack_require__(41),__webpack_require__(42),__webpack_require__(39),__webpack_require__(1))}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var 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__(118);return __webpack_exports__}()}));
|
|
282
|
+
var r={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},o={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},a={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300}},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(3),a=n(86),i=o.createComponent((function(e,t){var n;n=e,o.useFoundation({props:n,elements:{},foundation:()=>new a.MDCFormFieldFoundation({registerInteractionHandler:(e,t)=>{},deregisterInteractionHandler:(e,t)=>{},activateInputRipple:()=>{},deactivateInputRipple:()=>{}})});const{alignEnd:i,foundationRef:l,noWrap:s,spaceBetween:u,...c}=e,d=o.useClassNames(e,["mdc-form-field",{"mdc-form-field--align-end":i,"mdc-form-field--nowrap":s,"mdc-form-field--space-between":u}]);return r.jsx(o.Tag,{...c,ref:t,className:d})}));t.FormField=i},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){n.r(t),n.d(t,{MDCRipple:function(){return o.F},MDCRippleFoundation:function(){return i.l},cssClasses:function(){return a.UX},numbers:function(){return a.KT},strings:function(){return a.j2},util:function(){return r}});var r=n(45),o=n(21),a=n(56),i=n(19)},function(e,t,n){n.r(t),n.d(t,{MDCFormField:function(){return u},MDCFormFieldFoundation:function(){return s},cssClasses:function(){return i},strings:function(){return l}});var r=n(2),o=n(5),a=n(4),i={ROOT:"mdc-form-field"},l={LABEL_SELECTOR:".mdc-form-field > label"},s=function(e){function t(n){var o=e.call(this,(0,r.pi)((0,r.pi)({},t.defaultAdapter),n))||this;return o.click=function(){o.handleClick()},o}return(0,r.ZT)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},t.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},t.prototype.handleClick=function(){var e=this;this.adapter.activateInputRipple(),requestAnimationFrame((function(){e.adapter.deactivateInputRipple()}))},t}(a.K),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.labelEl=function(){var e=s.strings.LABEL_SELECTOR;return this.root.querySelector(e)},t.prototype.getDefaultFoundation=function(){var e=this;return new s({activateInputRipple:function(){e.input&&e.input.ripple&&e.input.ripple.activate()},deactivateInputRipple:function(){e.input&&e.input.ripple&&e.input.ripple.deactivate()},deregisterInteractionHandler:function(t,n){var r=e.labelEl();r&&r.removeEventListener(t,n)},registerInteractionHandler:function(t,n){var r=e.labelEl();r&&r.addEventListener(t,n)}})},t}(o.B)},,,,,,,,,,,,,,,function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),a=n(108),i=n(3),l=n(14),s=n(102);a.MDCCheckboxFoundation.prototype.installPropertyChangeHooks_=()=>{};const u=i.createComponent((function(e,t){const{renderToggle:n,id:l,toggleRootProps:u,rootEl:p,checkboxEl:h}=(e=>{const{renderToggle:t,toggleRootProps:n,id:r}=s.useToggleFoundation(e),{foundation:l,...u}=i.useFoundation({props:e,elements:{rootEl:!0,checkboxEl:!0},foundation:({rootEl:e,checkboxEl:t,getProps:n})=>new a.MDCCheckboxFoundation({addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),setNativeControlAttr:(e,n)=>t.setProp(e,n),removeNativeControlAttr:e=>t.removeProp(e),isIndeterminate:()=>!!n().indeterminate,isChecked:()=>{var e;return void 0!==n().checked?!!n().checked:!(null==(e=t.ref)||!e.checked)},hasNativeControl:()=>!!t.ref,setNativeControlDisabled:e=>t.setProp("disabled",e),forceLayout:()=>{var t;return null==(t=e.ref)?void 0:t.offsetWidth},isAttachedToDOM:()=>!0})}),{rootEl:c,checkboxEl:d}=u,f=o.useCallback((()=>{d.ref&&(d.ref.indeterminate=!!e.indeterminate),window.requestAnimationFrame((()=>{l.handleChange()}))}),[e.indeterminate,l,d.ref]);return o.useEffect((()=>{f()}),[f]),c.setProp("onAnimationEnd",(t=>{var n;null==(n=e.onAnimationEnd)||n.call(e,t),l.handleAnimationEnd()}),!0),d.setProp("onChange",(t=>{var n;null==(n=e.onChange)||n.call(e,t),f()}),!0),{foundation:l,renderToggle:t,toggleRootProps:n,id:r,...u}})(e),{children:m,className:v,label:_,style:y,indeterminate:b,inputRef:g,foundationRef:w,...E}=e;return n(r.jsxs(c,{...p.props({checked:E.checked,indeterminate:b,...u}),ref:i.mergeRefs(p.reactRef,t),children:[r.jsx("input",{...h.props({...E,className:"mdc-checkbox__native-control"}),type:"checkbox",ref:i.mergeRefs(h.reactRef,g),id:l}),r.jsx(f,{}),r.jsx(d,{})]}))})),c=l.withRipple({surface:!1,unbounded:!0})(o.forwardRef((function(e,t){const n=o.useContext(i.DataTableContext),a=o.useContext(i.DataTableHeadContext),{disabled:l,checked:s,indeterminate:u,...c}=e,d=i.useClassNames(e,["mdc-checkbox",{"mdc-data-table__row-checkbox":n&&!a,"mdc-data-table__header-row-checkbox":a,"mdc-checkbox--disabled":l,"mdc-checkbox--selected":s||u}]);return r.jsx(i.Tag,{...c,className:d,ref:t})}))),d=o.memo((function(){return r.jsx("div",{className:"mdc-checkbox__ripple"})})),f=o.memo((()=>r.jsxs("div",{className:"mdc-checkbox__background",children:[r.jsx("svg",{className:"mdc-checkbox__checkmark",viewBox:"0 0 24 24",children:r.jsx("path",{className:"mdc-checkbox__checkmark-path",fill:"none",stroke:"white",d:"M1.73,12.91 8.1,19.28 22.79,4.59"})}),r.jsx("div",{className:"mdc-checkbox__mixedmark"})]})));t.Checkbox=u},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(3),a=n(57);t.useToggleFoundation=function(e){const{className:t,style:n,rootProps:i,label:l,children:s,disabled:u}=e,c=e.label||e.children,d=o.useId("toggle-",e),f=c?{disabled:u}:{className:t,style:n,disabled:u,...i};return{id:d,renderToggle:e=>c?r.jsxs(a.FormField,{...i,className:t,style:n,children:[e,r.jsxs("label",{id:d+"label",htmlFor:d,children:[l,s]})]}):e,toggleRootProps:f}}},,,,,,function(e,t,n){n.r(t),n.d(t,{MDCCheckbox:function(){return m},MDCCheckboxFoundation:function(){return p},cssClasses:function(){return c},numbers:function(){return f},strings:function(){return d}});var r=n(2),o=n(55),a=n(5),i=n(46),l=n(17),s=n(21),u=n(19),c={ANIM_CHECKED_INDETERMINATE:"mdc-checkbox--anim-checked-indeterminate",ANIM_CHECKED_UNCHECKED:"mdc-checkbox--anim-checked-unchecked",ANIM_INDETERMINATE_CHECKED:"mdc-checkbox--anim-indeterminate-checked",ANIM_INDETERMINATE_UNCHECKED:"mdc-checkbox--anim-indeterminate-unchecked",ANIM_UNCHECKED_CHECKED:"mdc-checkbox--anim-unchecked-checked",ANIM_UNCHECKED_INDETERMINATE:"mdc-checkbox--anim-unchecked-indeterminate",BACKGROUND:"mdc-checkbox__background",CHECKED:"mdc-checkbox--checked",CHECKMARK:"mdc-checkbox__checkmark",CHECKMARK_PATH:"mdc-checkbox__checkmark-path",DISABLED:"mdc-checkbox--disabled",INDETERMINATE:"mdc-checkbox--indeterminate",MIXEDMARK:"mdc-checkbox__mixedmark",NATIVE_CONTROL:"mdc-checkbox__native-control",ROOT:"mdc-checkbox",SELECTED:"mdc-checkbox--selected",UPGRADED:"mdc-checkbox--upgraded"},d={ARIA_CHECKED_ATTR:"aria-checked",ARIA_CHECKED_INDETERMINATE_VALUE:"mixed",DATA_INDETERMINATE_ATTR:"data-indeterminate",NATIVE_CONTROL_SELECTOR:".mdc-checkbox__native-control",TRANSITION_STATE_CHECKED:"checked",TRANSITION_STATE_INDETERMINATE:"indeterminate",TRANSITION_STATE_INIT:"init",TRANSITION_STATE_UNCHECKED:"unchecked"},f={ANIM_END_LATCH_MS:250},p=function(e){function t(n){var o=e.call(this,(0,r.pi)((0,r.pi)({},t.defaultAdapter),n))||this;return o.currentCheckState=d.TRANSITION_STATE_INIT,o.currentAnimationClass="",o.animEndLatchTimer=0,o.enableAnimationEndHandler=!1,o}return(0,r.ZT)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return c},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return f},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},forceLayout:function(){},hasNativeControl:function(){return!1},isAttachedToDOM:function(){return!1},isChecked:function(){return!1},isIndeterminate:function(){return!1},removeClass:function(){},removeNativeControlAttr:function(){},setNativeControlAttr:function(){},setNativeControlDisabled:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.currentCheckState=this.determineCheckState(),this.updateAriaChecked(),this.adapter.addClass(c.UPGRADED)},t.prototype.destroy=function(){clearTimeout(this.animEndLatchTimer)},t.prototype.setDisabled=function(e){this.adapter.setNativeControlDisabled(e),e?this.adapter.addClass(c.DISABLED):this.adapter.removeClass(c.DISABLED)},t.prototype.handleAnimationEnd=function(){var e=this;this.enableAnimationEndHandler&&(clearTimeout(this.animEndLatchTimer),this.animEndLatchTimer=setTimeout((function(){e.adapter.removeClass(e.currentAnimationClass),e.enableAnimationEndHandler=!1}),f.ANIM_END_LATCH_MS))},t.prototype.handleChange=function(){this.transitionCheckState()},t.prototype.transitionCheckState=function(){if(this.adapter.hasNativeControl()){var e=this.currentCheckState,t=this.determineCheckState();if(e!==t){this.updateAriaChecked();var n=d.TRANSITION_STATE_UNCHECKED,r=c.SELECTED;t===n?this.adapter.removeClass(r):this.adapter.addClass(r),this.currentAnimationClass.length>0&&(clearTimeout(this.animEndLatchTimer),this.adapter.forceLayout(),this.adapter.removeClass(this.currentAnimationClass)),this.currentAnimationClass=this.getTransitionAnimationClass(e,t),this.currentCheckState=t,this.adapter.isAttachedToDOM()&&this.currentAnimationClass.length>0&&(this.adapter.addClass(this.currentAnimationClass),this.enableAnimationEndHandler=!0)}}},t.prototype.determineCheckState=function(){var e=d.TRANSITION_STATE_INDETERMINATE,t=d.TRANSITION_STATE_CHECKED,n=d.TRANSITION_STATE_UNCHECKED;return this.adapter.isIndeterminate()?e:this.adapter.isChecked()?t:n},t.prototype.getTransitionAnimationClass=function(e,n){var r=d.TRANSITION_STATE_INIT,o=d.TRANSITION_STATE_CHECKED,a=d.TRANSITION_STATE_UNCHECKED,i=t.cssClasses,l=i.ANIM_UNCHECKED_CHECKED,s=i.ANIM_UNCHECKED_INDETERMINATE,u=i.ANIM_CHECKED_UNCHECKED,c=i.ANIM_CHECKED_INDETERMINATE,f=i.ANIM_INDETERMINATE_CHECKED,p=i.ANIM_INDETERMINATE_UNCHECKED;switch(e){case r:return n===a?"":n===o?f:p;case a:return n===o?l:s;case o:return n===a?u:c;default:return n===o?f:p}},t.prototype.updateAriaChecked=function(){this.adapter.isIndeterminate()?this.adapter.setNativeControlAttr(d.ARIA_CHECKED_ATTR,d.ARIA_CHECKED_INDETERMINATE_VALUE):this.adapter.removeNativeControlAttr(d.ARIA_CHECKED_ATTR)},t}(n(4).K),h=["checked","indeterminate"],m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rippleSurface=t.createRipple(),t}return(0,r.ZT)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"ripple",{get:function(){return this.rippleSurface},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this.getNativeControl().checked},set:function(e){this.getNativeControl().checked=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"indeterminate",{get:function(){return this.getNativeControl().indeterminate},set:function(e){this.getNativeControl().indeterminate=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.getNativeControl().disabled},set:function(e){this.foundation.setDisabled(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.getNativeControl().value},set:function(e){this.getNativeControl().value=e},enumerable:!1,configurable:!0}),t.prototype.initialize=function(){var e=d.DATA_INDETERMINATE_ATTR;this.getNativeControl().indeterminate="true"===this.getNativeControl().getAttribute(e),this.getNativeControl().removeAttribute(e)},t.prototype.initialSyncWithDOM=function(){var e=this;this.handleChange=function(){e.foundation.handleChange()},this.handleAnimationEnd=function(){e.foundation.handleAnimationEnd()},this.getNativeControl().addEventListener("change",this.handleChange),this.listen((0,o.getCorrectEventName)(window,"animationend"),this.handleAnimationEnd),this.installPropertyChangeHooks()},t.prototype.destroy=function(){this.rippleSurface.destroy(),this.getNativeControl().removeEventListener("change",this.handleChange),this.unlisten((0,o.getCorrectEventName)(window,"animationend"),this.handleAnimationEnd),this.uninstallPropertyChangeHooks(),e.prototype.destroy.call(this)},t.prototype.getDefaultFoundation=function(){var e=this;return new p({addClass:function(t){return e.root.classList.add(t)},forceLayout:function(){return e.root.offsetWidth},hasNativeControl:function(){return!!e.getNativeControl()},isAttachedToDOM:function(){return Boolean(e.root.parentNode)},isChecked:function(){return e.checked},isIndeterminate:function(){return e.indeterminate},removeClass:function(t){e.root.classList.remove(t)},removeNativeControlAttr:function(t){e.getNativeControl().removeAttribute(t)},setNativeControlAttr:function(t,n){e.getNativeControl().setAttribute(t,n)},setNativeControlDisabled:function(t){e.getNativeControl().disabled=t}})},t.prototype.createRipple=function(){var e=this,t=(0,r.pi)((0,r.pi)({},s.F.createAdapter(this)),{deregisterInteractionHandler:function(t,n){e.getNativeControl().removeEventListener(t,n,(0,i.K)())},isSurfaceActive:function(){return(0,l.wB)(e.getNativeControl(),":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(t,n){e.getNativeControl().addEventListener(t,n,(0,i.K)())}});return new s.F(this.root,new u.l(t))},t.prototype.installPropertyChangeHooks=function(){var e,t,n=this,o=this.getNativeControl(),a=Object.getPrototypeOf(o),i=function(e){var t=Object.getOwnPropertyDescriptor(a,e);if(!v(t))return{value:void 0};var r=t.get,i={configurable:t.configurable,enumerable:t.enumerable,get:r,set:function(e){t.set.call(o,e),n.foundation.handleChange()}};Object.defineProperty(o,e,i)};try{for(var l=(0,r.XA)(h),s=l.next();!s.done;s=l.next()){var u=i(s.value);if("object"==typeof u)return u.value}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}},t.prototype.uninstallPropertyChangeHooks=function(){var e,t,n=this.getNativeControl(),o=Object.getPrototypeOf(n);try{for(var a=(0,r.XA)(h),i=a.next();!i.done;i=a.next()){var l=i.value,s=Object.getOwnPropertyDescriptor(o,l);if(!v(s))return;Object.defineProperty(n,l,s)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}},t.prototype.getNativeControl=function(){var e=d.NATIVE_CONTROL_SELECTOR,t=this.root.querySelector(e);if(!t)throw new Error("Checkbox component requires a "+e+" element");return t},t}(a.B);function v(e){return!!e&&"function"==typeof e.set}},,,,,,,,,,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__12__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__,__WEBPACK_EXTERNAL_MODULE__18__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__50__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__11__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__nested_webpack_require_4257__){var __dirname="/",e,t,r,n,i,o,s,a,l,p,c,u,d;if(module=__nested_webpack_require_4257__.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_4257__.g||null===__nested_webpack_require_4257__.g?{}:__nested_webpack_require_4257__.g;module.exports=(e=__nested_webpack_require_4257__(2),t=__nested_webpack_require_4257__(12),r=__nested_webpack_require_4257__(4),n=__nested_webpack_require_4257__(0),i=__nested_webpack_require_4257__(3),o=__nested_webpack_require_4257__(13),s=__nested_webpack_require_4257__(14),a=__nested_webpack_require_4257__(5),l=__nested_webpack_require_4257__(15),p=__nested_webpack_require_4257__(16),c=__nested_webpack_require_4257__(17),u=__nested_webpack_require_4257__(18),d=__nested_webpack_require_4257__(6),function(){var f=[function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=t},function(e,t,n){var r=n(0),o=n.n(r),a=n(1),i=n.n(a),l=n(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:l.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 l=i().stringCamelCaseToDelimited(n);a.observedAttributes.includes(l)||a.observedAttributes.push(l)}e.type&&(Object.prototype.hasOwnProperty.call(a,"propertyTypes")||(a.propertyTypes=a.propertyTypes?o()({},a.propertyTypes):{}),!e.update&&Object.prototype.hasOwnProperty.call(a,n)||(a.propertyTypes[n]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(a,"propertiesToReflectAsAttributes")||(a.propertiesToReflectAsAttributes=a.propertiesToReflectAsAttributes?i().copy(a.propertiesToReflectAsAttributes):[]),(e.update||a.propertiesToReflectAsAttributes instanceof Map&&!a.propertiesToReflectAsAttributes.has(n)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(n)||null!==a.propertiesToReflectAsAttributes&&"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,n))&&("boolean"==typeof e.writeAttribute?!0===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.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes)),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(n,r),null!==a.propertiesToReflectAsAttributes&&"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[n]=r)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?o()({},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 P}});var r,o,a,i,l=n(6),s=n.n(l),u=n(0),c=n.n(u),d=n(7),f=n.n(d),p=n(8),h=n.n(p),m=n(3),v=n.n(m),_=n(9),y=n.n(_),b=(n(10),n(11)),g=n.n(b),w=n(1),E=n.n(w),T=n(2),x=n(4);function k(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 C(e,t);var n=Object.prototype.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)?C(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 C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var O="undefined"==typeof HTMLElement?function(){}:HTMLElement,S=(r=(0,x.default)({type:T.boolean,writeAttribute:!0}),i=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={Tools:E()},n.domNodeEventBindings=new Map,n.domNodeTemplateCache=new Map,n.externalProperties={},n.ignoreAttributeUpdateObservations=!1,n.internalProperties={},n.outputEventNames=new Set,n.instance=null,f()(n,"isRoot",a,h()(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=h()(n),n.defineGetterAndSetterInterface(),n}v()(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,E().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"):E().timeout((function(){return e.render("connected")}))},n.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=k(this.domNodeEventBindings.values());!(e=t()).done;)for(var n,r=k(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=k(E().arrayUnique(Object.keys(this.self.propertyTypes).concat(Object.keys(this.self._propertyAliasIndex))));!(e=r()).done;)n()},n.getPropertyAlias=function(e){return 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,E().timeout((function(){void 0!==t&&n.isStateProperty(e)?(n.render("preStatePropertyChanged"),E().timeout((function(){n.setInternalPropertyValue(e,void 0),n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("postStatePropertyChanged"),n.triggerOutputEvents()})).then(E().noop,E().noop)):(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,a="";if(o.startsWith("data-bind-")?a=o.substring(10):o.startsWith("bind-")&&(a=o.substring(5)),a){var i=e.getAttribute(o);if(null===i)return 0;if(a.startsWith("attribute-")||a.startsWith("property-")){var l=E().stringEvaluate(i,t,!1,e);if(l.error)return console.warn('Error occurred during processing given attribute binding "'+o+'" on node:',e,l.error),0;a.startsWith("attribute-")?e.setAttribute(a.substring(10),l.result):e[E().stringDelimitedToCamelCase(a.substring(9))]=l.result}else if(a.startsWith("on-")){n.domNodeEventBindings.has(e)||n.domNodeEventBindings.set(e,new Map);var s=n.domNodeEventBindings.get(e);a=E().stringDelimitedToCamelCase(a.substring(3)),s.has(a)&&s.get(a)(),t=c()({event:void 0,parameters:void 0},t);var u=E().stringCompile(i,t,!0);if(u.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,u.error);else{var d=u.templateFunction.bind(e),f=function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];t.event=r[0],t.parameters=r;try{d.apply(void 0,u.originalScopeNames.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+o+'" on node:',e,'Given expression "'+i+'" could not be evaluated with given scope names "'+u.scopeNames.join('", "')+'": '+E().represent(t))}};e.addEventListener(a,f),s.set(a,(function(){e.removeEventListener(a,f),s.delete(a),0===s.size&&n.domNodeEventBindings.delete(e)}))}}}},a=k(e.getAttributeNames());!(r=a()).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){var r;if(void 0===t&&(t=[]),void 0===n&&(n={}),(n=c()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).ignoreComponents&&null!=(r=e.nodeName)&&r.toLowerCase().includes("-"))return n.map;if(n.unsafe){var o=e.innerHTML;if(!o&&e.template&&(o=e.template),this.self.hasCode(o)){var a=E().stringCompile("`"+o+"`",t);n.map.set(e,{children:[],error:a.error,scopeNames:a.scopeNames,template:o,templateFunction:a.templateFunction})}}else{var i,l=e.nodeName.toLowerCase();if(["a","#text"].includes(l)){var s="a"===l?e.getAttribute("href"):e.textContent;this.self.hasCode(s)&&(i=s.replace(/ /g," ").trim())}var u=[];if(i){var d=E().stringCompile("`"+i+"`",t);n.map.set(e,{children:u,error:d.error,scopeNames:d.scopeNames,template:i,templateFunction:d.templateFunction})}for(var f=e.firstChild;f;)n.filter&&!n.filter(f)||u.push(this.compileDomNodeTemplate(f,t,c()({},n,{ignoreComponents:n.ignoreNestedComponents}))),f=f.nextSibling}return n.map},n.evaluateDomNodeTemplate=function(e,t,n){var r;if(void 0===t&&(t={}),void 0===n&&(n={}),(n=c()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).map.has(e)||this.compileDomNodeTemplate(e,t,n),n.map.has(e)){var o=n.map.get(e),a=o.error,i=o.scopeNames,l=o.templateFunction;if(a)console.warn("Error occurred during compiling node content: "+a);else{var s=null;try{s=l.apply(void 0,i.map((function(e){return t[e]})))}catch(a){console.warn('Error occurred when "'+this.self._name+'" is running "'+l+'": with bound names "'+i.join('", "')+'": "'+a+'". Rendering node:',e)}null!==s&&(n.unsafe?e.innerHTML=s:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",s):e.textContent=s)}}if(!(n.unsafe||n.ignoreComponents&&null!=(r=e.nodeName)&&r.toLowerCase().includes("-")))for(var u=e.firstChild;u;)n.filter&&!n.filter(u)||this.evaluateDomNodeTemplate(u,t,c()({},n,{applyBindings:!1,ignoreComponents:n.ignoreNestedComponents})),u=u.nextSibling;return n.applyBindings&&this.applyBindings(e,t),n.map},t.replaceDomNodes=function(e,n){for(var r,o=k([].concat(n).reverse());!(r=o()).done;){var a,i=r.value;t.trimSlots&&i.nodeType===Node.TEXT_NODE&&""===(null==(a=i.nodeValue)?void 0:a.trim())||e.after(i)}e.remove()},t.unwrapDomNode=function(e){for(var t=e.parentNode,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;){var n;(e instanceof t||(null==(n=e.nodeName)?void 0:n.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,a=k(r);!(n=a()).done;){var i=n.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,i)&&o.set(i,t.propertyTypes[i])}return o}return E().convertPlainObjectToMap(e)},n.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},n.attachExplicitDefinedOutputEventHandler=function(){for(var e=this,t=!1,n=function(){var n=o[r];Object.prototype.hasOwnProperty.call(e.internalProperties,n)||(t=!0,e.outputEventNames.add(n),e.setInternalPropertyValue(n,s()(g().mark((function t(){var r,o,a,i,l=arguments;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(r=l.length,o=new Array(r),a=0;a<r;a++)o[a]=l[a];return t.next=3,e.reflectEventToProperties(n,o);case 3:(i=t.sent)&&(o[0]=i),e.forwardEvent(n,o);case 6: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],a=n[0],i=n[1];Object.prototype.hasOwnProperty.call(t.internalProperties,a)||![T.func,"function"].includes(i)||t.self.renderProperties.includes(a)||(t.outputEventNames.add(a),t.setInternalPropertyValue(a,(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e&&t.reflectEventToProperties(a,r),t.forwardEvent(a,r)})))},r=0,o=Object.entries(this.self.propertyTypes);r<o.length;r++)n()},n.triggerOutputEvents=function(){for(var e,t=k(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=E().stringLowerCase(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 a=o[r],i=a.getAttribute("name");if(null===i||"default"===i)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var l,s=k(this.slots.default);!(l=s()).done;){var u=l.value;this.evaluateDomNodeTemplate(u,t)}this.self.replaceDomNodes(a,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(a).map((function(e){return n.grabSlotContent(e)}));else Object.prototype.hasOwnProperty.call(this.slots,i)?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[i],t),this.self.replaceDomNodes(a,this.slots[i])):this.slots[i]=this.grabSlotContent(this.self.unwrapDomNode(a).filter((function(e){return"#text"!==e.nodeName.toLowerCase()}))[0])}},n.grabSlotContent=function(e){var t;if("textarea"===(null==(t=e.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!e.firstElementChild.hasAttribute("data-no-template")||"false"===e.firstElementChild.getAttribute("data-no-template"))){var n,r,o=e.firstElementChild.value;null==(n=e.classList)||n.remove("web-component-template");var a=e.cloneNode();return null==(r=e.classList)||r.add("web-component-template"),a.innerHTML="",a.template=o,a}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=n[t],o=r.parentNode,a=!0;o;){if(o.nodeName.includes("-")){o===this&&(a=!1);break}o=o.parentNode}a||(this.slots[r.getAttribute&&r.getAttribute("slot")&&r.getAttribute("slot").trim()?r.getAttribute("slot").trim():r.nodeName.toLowerCase()]=this.grabSlotContent(r))}this.slots.default?this.slots.default=[this.slots.default]:this.childNodes.length>0?this.slots.default=Array.from(this.childNodes).map((function(t){return e.grabSlotContent(t)})):this.slots.default=[]},n.isStateProperty=function(e){var t,n;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(null==(n=this.instance)||null==(n=n.current)?void 0:n.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=c()({},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=n[t],o=r[0],a=r[1];if(this.setExternalPropertyValue(o,a),this.isConnected){var i=E().stringCamelCaseToDelimited(o);if(this.self._propertiesToReflectAsAttributes.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case T.boolean:case"boolean":a?""!==this.getAttribute(i)&&this.setAttribute(i,""):this.hasAttribute(i)&&this.removeAttribute(i);break;case T.func:case"function":break;case"json":if(a){var l=JSON.stringify(a);if(l&&this.getAttribute(i)!==l){this.setAttribute(i,l);break}}this.hasAttribute(i)&&this.removeAttribute(i);break;case T.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(i)&&this.removeAttribute(i);else{var s=""+a;this.getAttribute(i)!==s&&this.setAttribute(i,s)}break;case T.string:case"string":a?this.getAttribute(i)!==a&&this.setAttribute(i,a):this.hasAttribute(i)&&this.removeAttribute(i);break;case T.any:case T.array:case T.arrayOf:case T.element:case T.elementType:case T.instanceOf:case T.node:case T.object:case"object":case T.objectOf:case T.shape:case T.exact:case T.symbol:default:if(a){var u=E().represent(a);if(u&&this.getAttribute(i)!==u){this.setAttribute(i,u);break}}this.hasAttribute(i)&&this.removeAttribute(i)}}}this.ignoreAttributeUpdateObservations=!1},n.reflectProperties=function(e){var t,n,r;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var o,a=k(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(o=a()).done;){var i=o.value;Object.prototype.hasOwnProperty.call(this.internalProperties,i)&&this.setInternalPropertyValue(i,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(null==(r=this.internalProperties.model)||delete r.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var l,s=k(this.self.controllableProperties);!(l=s()).done;){var u=l.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},n.reflectEventToProperties=function(){var e=s()(g().mark((function e(t,n){var r,o,a,i,l,s,u,d,f,p,h,m,v,_,y,b;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.batchUpdates,this.batchUpdates=!1,o=null,a=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&E().isFunction(this.self.eventToPropertyMapping[t]))){e.next=16;break}if(!((l=(i=this.self.eventToPropertyMapping)[t].apply(i,n.concat([this])))&&"then"in l&&E().isFunction(l.then))){e.next=12;break}return e.next=9,l;case 9:e.t0=e.sent,e.next=13;break;case 12:e.t0=l;case 13:s=e.t0,a=!0,Array.isArray(s)?(o=s[0],this.reflectProperties(o),E().extend(!0,this.internalProperties,s[1])):null===s?a=!1:"object"==typeof s&&(o=s,this.reflectProperties(s));case 16:if(!a&&n.length>0&&null!==n[0]&&"object"==typeof n[0]){if(d=n[0],"persist"in n[0]&&E().isFunction(n[0].persist))for(d={},f=0,p=Object.keys(this.self.propertyTypes);f<p.length;f++)for(h=p[f],m=k([h].concat(null!==(_=this.getPropertyAlias(h))&&void 0!==_?_:[]));!(v=m()).done;)y=v.value,(b=n[0].currentTarget&&Object.prototype.hasOwnProperty.call(n[0].currentTarget,y)?n[0].currentTarget[y]:this.getPropertyValue(y))!==this.externalProperties[y]&&(d[y]=b);else[null,void 0].includes(null==(u=d.detail)?void 0:u.value)||(d=c()({},d.detail));o=d,this.reflectProperties(d)}return this.triggerRender("propertyReflected"),this.batchUpdates=r,e.abrupt("return",o);case 20: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,a=E().stringDelimitedToCamelCase(o),i=this.getPropertyAlias(a);if(i&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,i)&&(a=i),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)){var l=this.self.propertyTypes[a];if(r){if(t){var s=E().stringEvaluate(t,{Tools:E()},!1,this);s.error?(console.warn('Failed to process pre-evaluation attribute "'+e+'": '+s.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(a,void 0)):(this.setInternalPropertyValue(a,s.result),this.setExternalPropertyValue(a,s.result))}}else switch(l){case T.boolean:case"boolean":var u=![null,"false"].includes(t);this.setInternalPropertyValue(a,u),this.setExternalPropertyValue(a,u);break;case T.func:case"function":var c,d=null,f=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var p=E().stringCompile(t,f);d=p.error,c=p.templateFunction,d&&console.warn('Failed to compile given handler "'+e+'": '+d+".")}this.setInternalPropertyValue(a,(function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];n.outputEventNames.has(a)&&n.reflectEventToProperties(a,o);var l=void 0;if(!d)try{l=c.call(n,o[0],o[0],o[0],o[0],o[0],o[0],o,E())}catch(n){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+f.join('", "')+'" set to "'+E().represent(o)+'": '+n+'. Set property to "undedefined".')}return n.self.renderProperties.includes(a)||n.forwardEvent(a,o),l})),d||this.setExternalPropertyValue(a,c);break;case"json":if(t){var h;try{h=JSON.parse(t)}catch(d){console.warn('Error occurred during parsing given json attribute "'+e+'": '+E().represent(d));break}this.setInternalPropertyValue(a,h),this.setExternalPropertyValue(a,E().copy(h,1))}else this.setInternalPropertyValue(a,null),this.setExternalPropertyValue(a,null);break;case T.number:case"number":if(null===t){this.setInternalPropertyValue(a,t),this.setExternalPropertyValue(a,t);break}var m=parseFloat(t);isNaN(m)&&(m=void 0),this.setInternalPropertyValue(a,m),this.setExternalPropertyValue(a,m);break;case T.string:case"string":this.setInternalPropertyValue(a,t),this.setExternalPropertyValue(a,t);break;case T.any:case T.array:case T.arrayOf:case T.element:case T.elementType:case T.instanceOf:case T.node:case T.object:case"object":case T.objectOf:case T.oneOf:case T.oneOfType:case T.shape:case T.exact:case T.symbol:default:if(t){var v=E().stringEvaluate(t,{},!1,this);if(v.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',v.error);break}this.setInternalPropertyValue(a,v.result),this.setExternalPropertyValue(a,E().copy(v.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(a,!0),this.setExternalPropertyValue(a,!0)):(this.setInternalPropertyValue(a,null),this.setExternalPropertyValue(a,null))}}},n.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,E().timeout((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},n.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow(null!==this.self.shadowDOM&&"object"==typeof this.self.shadowDOM?this.self.shadowDOM:{mode:"open"}))},n.determineRenderScope=function(e){var t,n;void 0===e&&(e={}),this.scope=c()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((n={parent:this.parent,root:this.rootInstance,self:this})[E().stringLowerCase(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}}))){var t=E().stringEvaluate("`"+this.self.content+"`",this.scope);if(t.error)console.warn("Failed to process template: "+t.error);else{this.applyShadowRootIfNotExisting();var n=document.createElement("div");n.innerHTML=t.result,this.applySlots(n,c()({},this.scope,{parent:this})),this.root.innerHTML=n.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots)}}},t}(O),i.applyRootBinding=!0,i.content="<slot>Please provide a template to transclude.</slot>",i.determineRootBinding=!0,i.shadowDOM=null,i.observedAttributes=[],i.controllableProperties=[],i.eventToPropertyMapping={},i.propertyAliases={},i.propertyTypes={onClick:T.func},i.propertiesToReflectAsAttributes=[],i.renderProperties=["children"],i.cloneSlots=!1,i.evaluateSlots=!1,i.renderSlots=!0,i.trimSlots=!0,i.renderUnsafe=!1,i._name="BaseWeb",i._propertyAliasIndex=void 0,i._propertiesToReflectAsAttributes=void 0,o=i,a=y()(o.prototype,"isRoot",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),o),P={component:S,register:function(e){return void 0===e&&(e=E().stringCamelCaseToDelimited(S._name)),customElements.define(e,S)}};t.default=S},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=d},function(e){e.exports=i},function(e){e.exports=o},function(e){e.exports=s},function(e,t,n){n.d(t,{api:function(){return _}});var r=n(0),o=n.n(r),a=n(3),i=n.n(a),l=n(1),s=n.n(l),u=n(2),c=n(12),d=n.n(c),f=n(13),p=n(14);function h(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 m(e,t);var n=Object.prototype.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)?m(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 m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v=function(e){function t(){for(var n,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];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}i()(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(e){var t,n=this;if(void 0===e&&(e="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(o()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(var r=this.firstChild;r;){var a=r.nextSibling;this.removeChild(r),r=a}this.reactRoot||(this.reactRoot=(0,p.createRoot)(this.root,{identifierPrefix:String(this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name)})),(0,f.flushSync)((function(){return n.reactRoot.render((0,c.createElement)(n.self.content,n.internalProperties))})),null!=(t=this.instance)&&t.current?this.reflectInstanceProperties():s().timeout(this.reflectInstanceProperties)}},n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=s().copy(t,1),n)),this.setInternalPropertyValue(e,s().copy(t,1))},n.setInternalPropertyValue=function(t,n){null===n?n=u.NullSymbol:void 0===n&&(n=u.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,a=[],i=h(e);!(r=i()).done;){var l=r.value,s=this.preCompileDomNode(l,t,n,o.toString());s&&(a.push(s),o+=1)}return n?function(e){return function(){for(var t,n=[],r=h(a);!(t=r()).done;){var o=(0,t.value)(e);"function"==typeof o&&n.push(o.apply(void 0,arguments))}return(0,c.createElement)(c.Fragment,{children:n})}}:a},n.preCompileDomNode=function(e,t,n,r){var a=this;if(void 0===t&&(t={}),void 0===n&&(n=!1),n){var i=this.preCompileDomNode(e,o()({},t,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,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 a=n.length>0?n[0]:null;return i(o()({},e,{data:a,firstArgument:a,firstParameter:a,options:a,scope:a,parameters:n}))}}}if(e.nodeType===Node.TEXT_NODE){var l="string"==typeof e.nodeValue?e.nodeValue.trim():"",u=r&&l?(0,c.createElement)(c.Fragment,{children:l,key:r}):l||null;return function(){return u}}if(!e.getAttributeNames)return function(){return null};var d,f={},p=this.self.isReactComponent(e);p?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),r&&!Object.prototype.hasOwnProperty.call(f,"key")&&(f.key=r),d=e.constructor.content):(f.key=r,d=e.tagName.toLowerCase());for(var m,v=Object.keys(t),_={},y=function(){var n,r=m.value,o=e.getAttribute(r);if(null===o)return 0;var i=!1,l="";if(r.startsWith("data-bind-")?l=r.substring(10):r.startsWith("bind-")&&(l=r.substring(5)),l.startsWith("attribute-")||"attributes"===l||l.startsWith("property-")||"properties"===l){var u=s().stringCompile(o,v),c=u.error,d=u.originalScopeNames,h=u.templateFunction;if(c)return console.warn('Error occurred during compiling given attribute binding "'+r+'" on node:',e,c),0;"attributes"===l||"properties"===l?i=!0:l=l.startsWith("attribute-")?l.substring(10):l.substring(9),o={originalScopeNames:d,templateFunction:h.bind(a)}}else if(l.startsWith("on-")){l=s().stringDelimitedToCamelCase(l),Object.prototype.hasOwnProperty.call(t,"event")||(v=[].concat(v,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(v=[].concat(v,["parameters"]));var y=s().stringCompile(o,v,!0),b=y.error,g=y.originalScopeNames,w=y.scopeNames,E=y.templateFunction;if(b)return console.warn('Error occurred during compiling given event binding "'+r+'" on node:',e,b),0;var T=E.bind(a);o=function(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];t.event=a[0],t.parameters=a;try{T.apply(void 0,g.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 "'+w.join('", "')+'": '+s().represent(t))}}}else l=r;var x={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(x,l)&&(l=x[l]),l=s().stringDelimitedToCamelCase(l),null!=(n=o)&&n.originalScopeNames?_[i?"":l]=o:p||(f[l]=o)},b=h(e.getAttributeNames());!(m=b()).done;)y();if(!p){var g=Array.from(e.childNodes);g.length&&(f.children=this.preCompileDomNodes(g,t))}return function(n){(n=o()({},t,n)).scope=n;for(var r=o()({},f),i=0,l=Object.entries(_);i<l.length;i++){var s=l[i],u=s[0],h=s[1],m=h.originalScopeNames,v=h.templateFunction.apply(void 0,m.map((function(e){return n[e]})));""===u?r=o()({},r,v):r[u]=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):p?(r=o()({},e.internalProperties,r),n=o()({},r,n,{parent:e}),e.evaluateSlots(n),e.prepareProperties(r)):r.children&&(r.children=a.evaluatePreCompiledDomNodes(r.children,n)),(0,c.createElement)(d,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=h(e);!(n=o()).done;){var a=(0,n.value)(t);a&&r.push(a)}return r},n.preCompileSlots=function(){var e;for(var t in this.slots)Object.prototype.hasOwnProperty.call(this.slots,t)&&"default"!==t&&(this.compiledSlots[t]=this.preCompileDomNode(this.slots[t],o()({},this.scope,{parent:this}),[u.func,"function"].includes(this.self.propertyTypes&&this.self.propertyTypes[t])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,o()({},this.scope,{parent:this}),[u.func,"function"].includes(null==(e=this.self.propertyTypes)?void 0:e.children)))},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&&(!1===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,c.memo)(this.self.content),this.self.content.wrapped=e):this.self.attachWebComponentAdapterIfNotExists?(this.self.content.displayName||(this.self.content.displayName=this.self._name),this.self.content=(0,c.forwardRef)((function(t,n){return(0,c.useImperativeHandle)(n,(function(){return{properties:t}})),(0,c.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,c.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,c.memo)(this.self.content),this.self.content.wrapped=e)}},n.prepareProperties=function(e){s().extend(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,c.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var n,r=h(["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(5).default);v.attachWebComponentAdapterIfNotExists=!0,v.content="div",v.react=d(),v._name="ReactWebComponent";var _={component:v,register:function(e){return void 0===e&&(e=s().stringCamelCaseToDelimited(v._name)),customElements.define(e,v)}};t.default=v}],h={};function m(e){var t=h[e];if(void 0!==t)return t.exports;var n=h[e]={exports:{}};return f[e](n,n.exports,m),n.exports}m.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return m.d(t,{a:t}),t},m.d=function(e,t){for(var n in t)m.o(t,n)&&!m.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},m.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},m.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var v={};return function(){m.r(v),m.d(v,{ReactWeb:function(){return s},Web:function(){return d},reactWebAPI:function(){return u},webAPI:function(){return c},wrapAsWebComponent:function(){return f}});var e=m(0),t=m.n(e),n=m(3),r=m.n(n),o=m(1),a=m.n(o),i=m(15),l=m(5),s=i.default,u=i.api,c=l.api,d=l.default,f=function(e,n,o){var i,l,u;void 0===n&&(n="NoName"),void 0===o&&(o={});var c=e._name||(null==(i=e.___types)||null==(i=i.name)?void 0:i.name)||n.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");o.propTypes&&(e.propTypes=o.propTypes);var d=e.propTypes||{},f=o.propertyAliases||e.propertyAliases||{},p=a().arrayUnique(Object.keys(d).concat(Object.keys(f)).concat(Object.values(f))),h=o.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(s.propertiesToReflectAsAttributes)if(Array.isArray(h))h=[].concat(s.propertiesToReflectAsAttributes,h);else if(h instanceof Map)for(var m=0,v=s.propertiesToReflectAsAttributes;m<v.length;m++){var _=v[m];h.set(_,s.propertyTypes[_])}else if(null!==h&&"object"==typeof h)for(var y=0,b=s.propertiesToReflectAsAttributes;y<b.length;y++){var g=b[y];h[g]=s.propertyTypes[g]}var w=p.map((function(e){return a().stringCamelCaseToDelimited(e)})),E=function(n){function a(){for(var r,i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];return(r=n.call.apply(n,[this].concat(l))||this).self=a,r.internalProperties=o.internalProperties?t()({},o.internalProperties):e.internalProperties?t()({},e.internalProperties):{},r}return r()(a,n),a}(s);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof o.attachWebComponentAdapterIfNotExists||o.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=s.observedAttributes.concat(w).concat(w.map((function(e){return"-"+e}))),E.controllableProperties=e.controllableProperties||o.controllableProperties||[],E.eventToPropertyMapping=null===o.eventToPropertyMapping?o.eventToPropertyMapping:o.eventToPropertyMapping?t()({},o.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?t()({},e.eventToPropertyMapping):{},E.propertyAliases=t()({},s.propertyAliases,f),E.propertiesToReflectAsAttributes=h,E.propertyTypes=t()({},s.propertyTypes,d),E.renderProperties=null!==(l=null!==(u=o.renderProperties)&&void 0!==u?u:e.renderProperties)&&void 0!==l?l:s.renderProperties,E._name=c,{component:E,register:function(e){return void 0===e&&(e=a().stringCamelCaseToDelimited(c)),customElements.define(e,E)}}};v.default=f}(),v}())},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__4__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__5__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__6__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__7__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__8__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__10__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__12__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__13__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__14__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__15__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__16__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__17__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__18__},,,,,,,,,,,,,,,,,,,function(module,__unused_webpack_exports,__nested_webpack_require_45999__){var __dirname="/",e,t,n,r,o,i,a,l,u,s;if(module=__nested_webpack_require_45999__.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_45999__.g||null===__nested_webpack_require_45999__.g?{}:__nested_webpack_require_45999__.g;module.exports=(e=__nested_webpack_require_45999__(2),t=__nested_webpack_require_45999__(7),n=__nested_webpack_require_45999__(50),r=__nested_webpack_require_45999__(8),o=__nested_webpack_require_45999__(9),i=__nested_webpack_require_45999__(4),a=__nested_webpack_require_45999__(0),l=__nested_webpack_require_45999__(3),u=__nested_webpack_require_45999__(10),s=__nested_webpack_require_45999__(11),function(){var c=[function(e){e.exports=s},function(t){t.exports=e},function(e){e.exports=l},function(e){e.exports=i},function(e){e.exports=r},function(e,t,n){n.d(t,{WrapTooltip:function(){return u}});var r=n(1),o=n.n(r),a=n(12),i=n(6),l=n(0),s=!i.Tooltip||i.Tooltip.isDummy,u=function(e){var t=e.children,n=e.options;if("string"==typeof n)return s?(0,l.jsx)("div",{className:"generic-tooltip",title:n,children:t}):(0,l.jsx)(i.Tooltip,{overlay:(0,l.jsx)(a.Typography,{use:"caption",children:n}),children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})});if(null!==n&&"object"==typeof n){if("string"==typeof n.overlay){if(s)return(0,l.jsx)("div",{className:"generic-tooltip",title:n.overlay,children:t});n=o()({},n,{overlay:(0,l.jsx)(a.Typography,{use:"caption",children:n.overlay})})}return s?(0,l.jsx)("div",{className:"generic-tooltip",children:t}):(0,l.jsx)(i.Tooltip,o()({},n,{children:(0,l.jsx)("div",{className:"generic-tooltip",children:t})}))}return(0,l.jsx)(l.Fragment,{children:t})}},function(e){e.exports=u},function(e,t,n){n.d(t,{WrapConfigurations:function(){return l}}),n(1),n(15),n(2),n(4);var r=n(14),o=n(13),a=n(5),i=n(0),l=function(e){var t=e.children,n=e.strict,l=e.themeConfiguration,s=e.tooltip,u=e.wrap;return(0,i.jsx)(r.x,{strict:Boolean(n),children:(0,i.jsx)(a.WrapTooltip,{options:s,children:(0,i.jsx)(o.WrapThemeProvider,{configuration:l,wrap:u,children:t})})})}},function(e){e.exports=a},function(e,t,n){n.d(t,{checkboxPropertyTypes:function(){return m},defaultCheckboxProperties:function(){return _},defaultModelState:function(){return f}});var r=n(1),o=n.n(r),a=n(3),i=n.n(a),l=n(8),s={name:l.string,declaration:l.string,description:l.string,default:l.any,selection:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.number,l.string])),l.number,(0,l.objectOf)((0,l.oneOfType)([l.number,l.string])),l.string])),(0,l.objectOf)((0,l.oneOfType)([l.number,l.string]))]),type:l.string,value:l.any},u={dirty:(0,l.oneOfType)([l.boolean,l.symbol]),pristine:(0,l.oneOfType)([l.boolean,l.symbol]),touched:(0,l.oneOfType)([l.boolean,l.symbol]),untouched:(0,l.oneOfType)([l.boolean,l.symbol]),focused:(0,l.oneOfType)([l.boolean,l.symbol]),visited:(0,l.oneOfType)([l.boolean,l.symbol]),invalid:(0,l.oneOfType)([l.boolean,l.symbol]),invalidRequired:(0,l.oneOfType)([l.boolean,l.symbol]),valid:(0,l.oneOfType)([l.boolean,l.symbol])},c=o()({},s,{emptyEqualsNull:l.boolean,trim:l.boolean,invertedRegularExpressionPattern:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),regularExpressionPattern:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),maximum:(0,l.oneOfType)([l.number,l.string]),minimum:(0,l.oneOfType)([l.number,l.string]),maximumLength:l.number,minimumLength:l.number,mutable:l.boolean,writable:l.boolean,state:(0,l.shape)(u)}),d=o()({},s,u,{className:l.string,styles:l.object,themeConfiguration:l.object,disabled:l.boolean,enforceUncontrolled:l.boolean,initialValue:l.any,inputProperties:l.object,model:(0,l.shape)(c),onChange:l.func,onChangeValue:l.func,onChangeShowDeclaration:l.func,onChangeState:l.func,onClick:l.func,onFocus:l.func,onTouch:l.func,required:l.boolean,requiredText:l.string,ripple:(0,l.oneOfType)([l.boolean,l.object]),rootProps:l.object,showDeclaration:(0,l.oneOfType)([l.boolean,l.symbol]),showInitialValidationState:l.boolean,showValidationState:l.boolean,tooltip:l.any}),f={dirty:!1,pristine:!0,focused:!1,visited:!1,invalid:!1,invalidRequired:!1,valid:!0,touched:!1,untouched:!0},p={declaration:"",description:"",name:"NO_NAME_DEFINED",emptyEqualsNull:!0,regularExpressionPattern:void 0,invertedRegularExpressionPattern:void 0,maximum:1/0,minimum:-1/0,maximumLength:-1,minimumLength:0,mutable:!0,writable:!0,nullable:!0,state:o()({},f),trim:!0,type:"string"},h={enforceUncontrolled:!1,model:o()({},p),triggerInitialPropertiesConsolidation:!1,showDeclaration:void 0,showInitialValidationState:!1,showValidationState:!0,requiredText:"Please fill this field."},m=o()({},d,u,{checked:l.boolean,id:l.string}),v=o()({},p,{default:!1,type:"boolean",value:!1}),_=o()({},h,{default:!1,model:o()({},v),requiredText:"Please check this field."}),y=o()({},u,{invalidMaximum:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMinimum:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMaximumLength:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMinimumLength:(0,l.oneOfType)([l.boolean,l.symbol]),invalidInvertedPattern:(0,l.oneOfType)([l.boolean,l.symbol]),invalidPattern:(0,l.oneOfType)([l.boolean,l.symbol])}),b=o()({},d,y,{align:l.string,children:l.func,cursor:(0,l.oneOfType)([(0,l.shape)({end:l.number.isRequired,start:l.number.isRequired}),l.symbol]),editor:l.string,editorIsActive:(0,l.oneOfType)([l.boolean,l.symbol]),hidden:(0,l.oneOfType)([l.boolean,l.symbol]),icon:(0,l.oneOfType)([l.string,l.object]),inputProps:l.object,invertedPattern:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),invertedPatternText:l.string,labels:(0,l.oneOfType)([(0,l.arrayOf)((0,l.arrayOf)(l.string)),(0,l.arrayOf)(l.string),l.object]),maximum:(0,l.oneOfType)([l.number,l.string]),maximumLengthText:l.string,maximumText:l.string,minimum:(0,l.oneOfType)([l.number,l.string]),minimumLengthText:l.string,minimumText:l.string,onBlur:l.func,onChangeEditorIsActive:l.func,onKeyDown:l.func,onKeyUp:l.func,onSelect:l.func,onSelectionChange:l.func,outlined:l.boolean,pattern:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),patternText:l.string,placeholder:l.string,representation:(0,l.oneOfType)([l.string,l.symbol]),rows:l.number,searchSelection:l.boolean,selectableEditor:l.boolean,step:l.number,suggestionCreator:l.func,suggestSelection:l.boolean,trailingIcon:l.any,transformer:l.object}),g=o()({},f,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),w=o()({},p,{state:g}),E=o()({},h,{cursor:{end:0,start:0},editor:"plain",invertedPatternText:'Your string should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',maximumLengthText:"Please type less or equal than ${maximumLength} symbols.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:o()({},w),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',rows:4,searchSelection:!1,selectableEditor:!1,step:1,suggestSelection:!1}),T=o()({},u,{invalidContentTypePattern:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMaximumSize:(0,l.oneOfType)([l.boolean,l.symbol]),invalidMinimumSize:(0,l.oneOfType)([l.boolean,l.symbol]),invalidName:(0,l.oneOfType)([l.boolean,l.symbol])}),x=(o()({},d,T,{children:l.func,contentTypePatternText:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),invertedContentTypePatternText:(0,l.oneOfType)([(0,l.arrayOf)((0,l.oneOfType)([l.object,l.string])),l.object,l.string]),deleteButton:(0,l.oneOfType)([l.object,l.string]),downloadButton:(0,l.oneOfType)([l.object,l.string]),editButton:(0,l.oneOfType)([l.object,l.string]),newButton:(0,l.oneOfType)([l.object,l.string]),encoding:l.string,generateFileNameInputProperties:l.func,maximumSizeText:l.string,minimumSizeText:l.string,onBlur:l.func,outlined:l.boolean}),o()({},f,{invalidContentTypePattern:!1,invalidMaximumSize:!1,invalidMinimumSize:!1,invalidName:!1})),k=o()({},p,{contentTypeRegularExpressionPattern:/^.+\/.+$/,invertedContentTypeRegularExpressionPattern:void 0,fileName:o()({},w,{maximumLength:1024,name:"Name",regularExpressionPattern:/^[^/]+$/}),maximumSize:1/0,minimumSize:0,state:x});delete o()({},E,{emptyEqualsNull:!1,invertedPatternText:'Your file\'s name should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: ""${[].concat(invertedPattern).join("\\", \\"")}".',patternText:'Your file\'s name has to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: ""${[].concat(pattern).join("\\", \\"")}".',required:!0}).model,o()({},h,{contentTypePatternText:'Your file\'s mime-type has to match the regular expression${[].concat(contentTypePattern).length > 1 ? "s" : ""}: ""${[].concat(contentTypePattern).join("\\", \\"")}".',invertedContentTypePatternText:'Your file\'s mime-type should not match the regular expression${[].concat(invertedContentTypePattern).length > 1 ? "s" : ""}: ""${[].concat(invertedContentTypePattern).join("\\", \\"")}".',deleteButton:"delete",downloadButton:"download",editButton:"edit",newButton:"new",encoding:"utf-8",generateFileNameInputProperties:i().identity,maximumSizeText:"Please provide a file with less or equal size than ${maximumSize} byte.",minimumSizeText:"Please provide a file with more or equal size than ${maximumSize} byte.",media:{sixteenByNine:!0},model:o()({},k),sourceToBlobOptions:{endings:"transparent",type:"text/plain"}}),o()({},d,y,{children:l.func,createItem:l.func,createPrototype:l.func,maximumNumber:l.number,minimumNumber:l.number});var C=o()({},p,{state:o()({},p.state,{invalidMaximumNumber:!1,invalidMinimumNumber:!1}),maximumNumber:1/0,minimumNumber:0,type:"string[]"});o()({},h,{addIcon:{icon:"add"},removeIcon:{icon:"clear"},createItem:function(e){return e.item},createPrototype:function(e){return e.item},model:o()({},C)}),o()({},b,{value:(0,l.shape)({end:(0,l.oneOfType)([l.number,l.string,(0,l.shape)(b)]),start:(0,l.oneOfType)([l.number,l.string,(0,l.shape)(b)])})}),o()({},f),o()({},w,{description:"End",name:"end"}),o()({},w,{description:"Start",name:"start"})},function(e,t,n){n.d(t,{deriveMissingPropertiesFromState:function(){return u},determineInitialValue:function(){return p},determineValidationState:function(){return h},getConsolidatedProperties:function(){return v},mapPropertiesIntoModel:function(){return m},translateKnownSymbols:function(){return f},triggerCallbackIfExists:function(){return d},wrapStateSetter:function(){return c}});var r=n(1),o=n.n(r),a=n(3),i=n.n(a),l=n(8);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u=function(e,t){void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=t.value),e.model.state?e.model.state=o()({},e.model.state):e.model.state={};for(var n=0,r=Object.entries(t.modelState);n<r.length;n++){var a=r[n],i=a[0],l=a[1];void 0===e.model.state[i]&&(e.model.state[i]=l)}return e},c=function(e,t){return function(n){var r="function"==typeof n?n(t):n;i().equals(null==r?void 0:r.modelState,null==t?void 0:t.modelState)||e(r)}},d=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"+i().stringCapitalize(t),e[t]&&(n?e[t].apply(e,o):i().timeout((function(){return e[t].apply(e,o)})))},f=function(e){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=r[n],a=o[0],s=o[1];s===l.UndefinedSymbol?t[a]=void 0:s===l.NullSymbol?t[a]=null:t[a]=i().copy(e[a])}return t},p=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?i().copy(e.initialValue):void 0!==e.default?i().copy(e.default):void 0!==(null==(o=e.model)?void 0:o.default)?i().copy(e.model.default):void 0!==t?t:null},h=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 a=0,i=Object.entries(n);a<i.length;a++){var l=i[a],s=l[0],u=l[1],c=t[s];e.model.state[s]=u(),r=r||c!==t[s]}return r&&(e.model.state.invalid=Object.keys(n).some((function(t){return e.model.state[t]})),e.model.state.valid=!e.model.state.invalid),r},m=function(e,t){var n=i().extend(!0,{model:i().copy(t)},e);n.disabled&&(n.model.mutable=!1,delete n.disabled),n.invertedPattern&&(n.model.invertedRegularExpressionPattern=n.invertedPattern,delete n.invertedPattern),n.pattern&&(n.model.regularExpressionPattern=n.pattern,delete n.pattern),n.required&&(n.model.nullable=!1,delete n.required),"text"===n.type&&(n.type="string");for(var r,o=function(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 s(e,t);var n=Object.prototype.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)?s(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.")}(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=i().copy(n.model.default)),n},v=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.invertedRegularExpressionPattern&&(t.invertedPattern=t.invertedRegularExpressionPattern),delete t.invertedRegularExpressionPattern,t.regularExpressionPattern&&(t.pattern=t.regularExpressionPattern),delete t.regularExpressionPattern,t}},,function(e){e.exports=o},function(e,t,n){n.d(t,{WrapThemeProvider:function(){return a}});var r=n(4),o=n(0),a=function(e){var t=e.children,n=e.configuration,a=e.wrap;return n?(0,o.jsx)(r.ThemeProvider,{options:n,wrap:!1!==a,children:t}):t}},function(e,t,n){n.d(t,{x:function(){return a}});var r=n(2),o=n(0),a=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){e.exports=t},,,,,,,,,,,,,,,,,,,,,,,function(e){e.exports=n}],d={};function f(e){var t=d[e];if(void 0!==t)return t.exports;var n=d[e]={exports:{}};return c[e](n,n.exports,f),n.exports}f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,{a:t}),t},f.d=function(e,t){for(var n in t)f.o(t,n)&&!f.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var p={};return function(){f.r(p),f.d(p,{RequireableCheckbox:function(){return v},RequireableCheckboxInner:function(){return m},default:function(){return _},determineValidationState:function(){return h}});var e=f(1),t=f.n(e),n=f(3),r=f.n(n),o=f(2),a=f(38),i=f(4),l=f(7),s=f(10),u=f(9),c=f(0),d={"requireable-checkbox":"requireable-checkbox"};function h(e,t){return(0,s.determineValidationState)(e,t,{invalidRequired:function(){return!1===e.model.nullable&&!e.model.value}})}var m=function(e,n){var u,f,p=function(e){var t=(0,s.mapPropertiesIntoModel)(e,v.defaultProperties.model);return h(t,t.model.state),(t=(0,s.getConsolidatedProperties)(t)).checked=Boolean(t.value),t};(0,o.useEffect)((function(){O.triggerInitialPropertiesConsolidation&&m()}),[]);var m=function(e){r().extend(!0,O,p(O)),(0,s.triggerCallbackIfExists)(O,"change",C,O,e)},_=function(e){return k((function(n){var r=!1;n.modelState.focused||(O.focused=!0,r=!0),n.modelState.untouched&&(O.touched=!0,O.untouched=!1,r=!0);var o=n;return r&&(m(e),o=t()({},n,{modelState:O.model.state}),(0,s.triggerCallbackIfExists)(O,"changeState",C,O.model.state,e,O)),(0,s.triggerCallbackIfExists)(O,"touch",C,e,O),o}))},y=(0,o.useRef)(null),b=(0,o.useRef)(null),g=(0,s.translateKnownSymbols)(e),w=(0,s.determineInitialValue)(g,v.defaultProperties.model.default,g.checked),E=r().extend(!0,r().copy(v.defaultProperties),g),T=(0,o.useState)({modelState:t()({},v.defaultModelState),value:w}),x=T[0],k=T[1],C=!E.enforceUncontrolled&&(void 0!==(null==(u=g.model)?void 0:u.value)||void 0!==g.value)&&Boolean(g.onChange||g.onChangeValue);(0,s.deriveMissingPropertiesFromState)(E,x);var O=p(E),S={modelState:O.model.state,value:O.value};return(C||O.value===x.value)&&r().equals(O.model.state,x.modelState)||k(S),C&&(k=(0,s.wrapStateSetter)(k,S)),(0,o.useImperativeHandle)(n,(function(){return{properties:O,references:{foundationRef:b,inputReference:y},state:t()({modelState:O.model.state},C?{}:{value:O.value})}})),(0,c.jsx)(l.WrapConfigurations,{strict:v.strict,themeConfiguration:O.themeConfiguration,tooltip:O.tooltip,children:(0,c.jsx)("div",{className:[d["requireable-checkbox"]].concat(null!==(f=O.className)&&void 0!==f?f:[]).join(" "),style:O.styles,children:(0,c.jsx)(a.Checkbox,{checked:Boolean(O.value),disabled:O.disabled,foundationRef:b,id:O.id||O.name,indeterminate:null===O.value,inputRef:y,label:O.invalid&&O.showValidationState&&(O.showInitialValidationState||O.visited)?(0,c.jsx)(i.Theme,{use:"error",children:O.description||O.name}):O.description||O.name,name:O.name,onBlur:function(e){return k((function(n){var r=!1;return n.modelState.focused&&(O.focused=!1,r=!0),n.modelState.visited||(O.visited=!0,r=!0),r&&(m(e),(0,s.triggerCallbackIfExists)(O,"changeState",C,O.model.state,e,O)),(0,s.triggerCallbackIfExists)(O,"blur",C,e,O),r?t()({},n,{modelState:O.model.state}):n}))},onChange:function(e){O.model.mutable&&O.model.writable&&(O.value=Boolean(e.target.checked),k((function(n){if(n.value===O.value)return n;var r=!1,o=t()({},n,{value:O.value});return n.modelState.pristine&&(O.dirty=!0,O.pristine=!1,r=!0),m(e),h(O,n.modelState)&&(r=!0),(0,s.triggerCallbackIfExists)(O,"changeValue",C,O.value,e,O),r&&(o.modelState=O.model.state,(0,s.triggerCallbackIfExists)(O,"changeState",C,O.model.state,e,O)),o})))},onClick:function(e){(0,s.triggerCallbackIfExists)(O,"click",C,e,O),_(e)},onFocus:function(e){(0,s.triggerCallbackIfExists)(O,"focus",C,e,O),_(e)},ripple:O.ripple,value:""+O.value})})})};m.displayName="RequireableCheckbox";var v=(0,o.memo)((0,o.forwardRef)(m));v.wrapped=m,v.webComponentAdapterWrapped="react",v.defaultModelState=u.defaultModelState,v.defaultProperties=t()({},u.defaultCheckboxProperties,{model:t()({},u.defaultCheckboxProperties.model,{state:void 0,value:void 0}),value:void 0}),v.propTypes=u.checkboxPropertyTypes,v.strict=!1;var _=v}(),p}())},,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__50__}],__webpack_module_cache__={};function __nested_webpack_require_66458__(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_66458__),n.loaded=!0,n.exports}__nested_webpack_require_66458__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_66458__.d(t,{a:t}),t},__nested_webpack_require_66458__.d=function(e,t){for(var n in t)__nested_webpack_require_66458__.o(t,n)&&!__nested_webpack_require_66458__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_66458__.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_66458__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_66458__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_66458__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __nested_webpack_exports__={};return function(){__nested_webpack_require_66458__.r(__nested_webpack_exports__),__nested_webpack_require_66458__.d(__nested_webpack_exports__,{RequireableCheckbox:function(){return o}});var e=__nested_webpack_require_66458__(0),t=__nested_webpack_require_66458__(37),n=__nested_webpack_require_66458__.n(t),r=__nested_webpack_require_66458__(1),o=__nested_webpack_require_66458__.n(r)()(n(),"RequireableCheckbox",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:e.boolean,focused:e.boolean,invalid:e.boolean,invalidRequired:e.boolean,name:e.string,pristine:e.boolean,touched:e.boolean,untouched:e.boolean,valid:e.boolean,visited:e.boolean}});__nested_webpack_exports__.default=o}(),__nested_webpack_exports__}()},module.exports=t(__webpack_require__(15),__webpack_require__(9),__webpack_require__(8),__webpack_require__(20),__webpack_require__(0),__webpack_require__(10),__webpack_require__(54),__webpack_require__(12),__webpack_require__(31),__webpack_require__(32),__webpack_require__(33),__webpack_require__(34),__webpack_require__(13),__webpack_require__(40),__webpack_require__(101),__webpack_require__(41),__webpack_require__(42),__webpack_require__(39),__webpack_require__(1))}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var 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__(118);return __webpack_exports__}()}));
|