web-input-material 0.0.507 → 0.0.508

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.
@@ -51,7 +51,7 @@ var t,n,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.toS
51
51
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
52
52
  * THE SOFTWARE.
53
53
  */
54
- function r(e,t){if(e.closest)return e.closest(t);for(var n=e;n;){if(i(n,t))return n;n=n.parentElement}return null}function i(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}function o(e){var t=e;if(null!==t.offsetParent)return t.scrollWidth;var n=t.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);var r=n.scrollWidth;return document.documentElement.removeChild(n),r}n.d(t,{cK:function(){return i},et:function(){return o},kp:function(){return r}})},function(e,t,n){var r=function(e,t){return function(n){"function"==typeof e?e(n):e&&"current"in e&&(e.current=n),"function"==typeof t?t(n):t&&"current"in t&&(t.current=n)}};Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const i=n(1),o=n(0),a=n(3),s=n(22),l=n(96),u=o.createContext({});function c(e){const{children:t,className:n,primary:c,accent:d,unbounded:f,surface:p,foundationRef:h,...m}=e,{rootEl:v,surfaceEl:g}=(e=>{const t=o.useRef(!1),{foundation:n,...r}=a.useFoundation({props:e,elements:{rootEl:!0,surfaceEl:!0},foundation:({rootEl:e,surfaceEl:t,getProps:n})=>new l.MDCRippleFoundation({addClass:e=>{t.addClass(e)},browserSupportsCssVars:()=>l.util.supportsCssVariables(window),computeBoundingRect:()=>e.ref?e.ref.getBoundingClientRect():a.emptyClientRect,containsEventTarget:t=>!!e.ref&&e.ref.contains(t),deregisterDocumentInteractionHandler:(e,t)=>document.documentElement.removeEventListener(e,t),deregisterInteractionHandler:(e,t)=>{},deregisterResizeHandler:e=>window.removeEventListener("resize",e),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset}),isSurfaceActive:()=>!!e.ref&&a.matches(e.ref,":active"),isSurfaceDisabled:()=>!!n().disabled,removeClass:e=>{t.removeClass(e)},isUnbounded:()=>!!n().unbounded,registerDocumentInteractionHandler:(e,t)=>document.documentElement.addEventListener(e,t,{passive:!0}),registerInteractionHandler:(e,t)=>{},registerResizeHandler:e=>window.addEventListener("resize",e),updateCssVariable:(e,n)=>t.setStyle(e,n)})}),{rootEl:i}=r,s=o.useCallback(e=>{e.persist(),n.activate(e)},[n]),u=o.useCallback(e=>{e.persist(),n.deactivate()},[n]),{onFocus:c}=e,d=o.useCallback(e=>{null==c||c(e),n.handleFocus()},[n,c]),{onBlur:f}=e,p=o.useCallback(e=>{null==f||f(e),n.handleBlur()},[n,f]),{onMouseDown:h}=e,m=o.useCallback(e=>{null==h||h(e),t.current||s(e),t.current=!1},[h,s]),{onMouseUp:v}=e,g=o.useCallback(e=>{null==v||v(e),u(e)},[v,u]),{onTouchStart:y}=e,_=o.useCallback(e=>{t.current=!0,null==y||y(e),s(e)},[y,s]),{onTouchEnd:b}=e,E=o.useCallback(e=>{null==b||b(e),u(e)},[b,u]),{onKeyDown:x}=e,C=o.useCallback(e=>{null==x||x(e),s(e)},[x,s]),{onKeyUp:I}=e,S=o.useCallback(e=>{null==I||I(e),u(e)},[I,u]);return i.setProp("onFocus",d,!0),i.setProp("onBlur",p,!0),i.setProp("onMouseDown",m,!0),i.setProp("onMouseUp",g,!0),i.setProp("onTouchStart",_,!0),i.setProp("onTouchEnd",E,!0),i.setProp("onKeyDown",C,!0),i.setProp("onKeyUp",S,!0),o.useEffect(()=>{n.setUnbounded(!!e.unbounded)},[e.unbounded,n]),o.useEffect(()=>{e.disabled&&n.handleBlur()},[e.disabled,n]),{...r}})(e),y=s.useProviderContext(),_=o.Children.only(t);if(!y.ripple)return i.jsx(i.Fragment,{children:t});if(!o.isValidElement(_))return null;const b=f?{"data-mdc-ripple-is-unbounded":!0}:{},E=!p||!f?g.props({style:_.props.style}):{};let x=a.classNames(n!==_.props.className&&n,E.className,_.props.className,{"mdc-ripple-surface":"boolean"==typeof p?p:void 0===p,"mdc-ripple-surface--primary":c,"rmwc-ripple-surface--primary":c,"mdc-ripple-surface--accent":d,"rmwc-ripple-surface--accent":d});m.disabled&&(x=x.replace("mdc-ripple-upgraded--background-focused",""));const C=o.cloneElement(_,{ref:r(_.ref,v.reactRef),..._.props,...b,...v.props({...m,style:_.props.style,...E,className:x})});return i.jsx(u.Provider,{value:g.props({style:_.props.style}),children:C})}t.Ripple=c,t.RippleSurface=({className:e,...t})=>i.jsx(u.Consumer,{children:n=>i.jsx("div",{...t,...n,className:`${e} ${n.className||""}`})}),t.withRipple=({unbounded:e,accent:t,surface:n}={})=>r=>{const a=o.forwardRef(({ripple:o,...a},l)=>{const u=s.useProviderContext(),d="object"!=typeof(o=o??u.ripple)?{}:o;return o?i.jsx(c,{...a,accent:d.accent||t,unbounded:d.unbounded||e,surface:d.surface||n,children:i.jsx(r,{...a,ref:l})}):i.jsx(r,{...a,ref:l})});return a.displayName=`withRipple(${r.displayName||r.constructor.name||"Unknown"})`,a}},function(e,t,n){n.d(t,{E:function(){return c}});var r=n(2),i=n(4),o=n(65),a=n(50),s=["touchstart","pointerdown","mousedown","keydown"],l=["touchend","pointerup","mouseup","contextmenu"],u=[],c=function(e){function t(n){var i=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return i.activationAnimationHasEnded=!1,i.activationTimer=0,i.fgDeactivationRemovalTimer=0,i.fgScale="0",i.frame={width:0,height:0},i.initialSize=0,i.layoutFrame=0,i.maxRadius=0,i.unboundedCoords={left:0,top:0},i.activationState=i.defaultActivationState(),i.activationTimerCallback=function(){i.activationAnimationHasEnded=!0,i.runDeactivationUXLogicIfReady()},i.activateHandler=function(e){i.activateImpl(e)},i.deactivateHandler=function(){i.deactivateImpl()},i.focusHandler=function(){i.handleFocus()},i.blurHandler=function(){i.handleBlur()},i.resizeHandler=function(){i.layout()},i}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return o.Y7},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return o.P$},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return o.nL},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,n=this.supportsPressRipple();if(this.registerRootHandlers(n),n){var r=t.cssClasses,i=r.ROOT,o=r.UNBOUNDED;requestAnimationFrame(function(){e.adapter.addClass(i),e.adapter.isUnbounded()&&(e.adapter.addClass(o),e.layoutInternal())})}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var n=t.cssClasses,r=n.ROOT,i=n.UNBOUNDED;requestAnimationFrame(function(){e.adapter.removeClass(r),e.adapter.removeClass(i),e.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},t.prototype.activate=function(e){this.activateImpl(e)},t.prototype.deactivate=function(){this.deactivateImpl()},t.prototype.layout=function(){var e=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){e.layoutInternal(),e.layoutFrame=0})},t.prototype.setUnbounded=function(e){var n=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame(function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)})},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame(function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)})},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var t,n;if(e){try{for(var i=(0,r.Ju)(s),o=i.next();!o.done;o=i.next()){var a=o.value;this.adapter.registerInteractionHandler(a,this.activateHandler)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},t.prototype.registerDeactivationHandlers=function(e){var t,n;if("keydown"===e.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var i=(0,r.Ju)(l),o=i.next();!o.done;o=i.next()){var a=o.value;this.adapter.registerDocumentInteractionHandler(a,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},t.prototype.deregisterRootHandlers=function(){var e,t;try{for(var n=(0,r.Ju)(s),i=n.next();!i.done;i=n.next()){var o=i.value;this.adapter.deregisterInteractionHandler(o,this.activateHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,t;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var n=(0,r.Ju)(l),i=n.next();!i.done;i=n.next()){var o=i.value;this.adapter.deregisterDocumentInteractionHandler(o,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,n=t.strings;Object.keys(n).forEach(function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(n[t],null)})},t.prototype.activateImpl=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState;if(!n.isActivated){var r=this.previousActivationEvent;if(!(r&&void 0!==e&&r.type!==e.type))n.isActivated=!0,n.isProgrammatic=void 0===e,n.activationEvent=e,n.wasActivatedByPointer=!n.isProgrammatic&&(void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type)),void 0!==e&&u.length>0&&u.some(function(e){return t.adapter.containsEventTarget(e)})?this.resetActivationState():(void 0!==e&&(u.push(e.target),this.registerDeactivationHandlers(e)),n.wasElementMadeActive=this.checkElementMadeActive(e),n.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){u=[],n.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(n.wasElementMadeActive=t.checkElementMadeActive(e),n.wasElementMadeActive&&t.animateActivation()),n.wasElementMadeActive||(t.activationState=t.defaultActivationState())}))}}},t.prototype.checkElementMadeActive=function(e){return void 0===e||"keydown"!==e.type||this.adapter.isSurfaceActive()},t.prototype.animateActivation=function(){var e=this,n=t.strings,r=n.VAR_FG_TRANSLATE_START,i=n.VAR_FG_TRANSLATE_END,o=t.cssClasses,a=o.FG_DEACTIVATION,s=o.FG_ACTIVATION,l=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var u="",c="";if(!this.adapter.isUnbounded()){var d=this.getFgTranslationCoordinates(),f=d.startPoint,p=d.endPoint;u=f.x+"px, "+f.y+"px",c=p.x+"px, "+p.y+"px"}this.adapter.updateCssVariable(r,u),this.adapter.updateCssVariable(i,c),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer=setTimeout(function(){e.activationTimerCallback()},l)},t.prototype.getFgTranslationCoordinates=function(){var e,t=this.activationState,n=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?(0,a.getNormalizedEventCoords)(n,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:e.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,n=t.cssClasses.FG_DEACTIVATION,r=this.activationState,i=r.hasDeactivationUXRun,a=r.isActivated;(i||!a)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer=setTimeout(function(){e.adapter.removeClass(n)},o.nL.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return e.previousActivationEvent=void 0},t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,t=this.activationState;if(t.isActivated){var n=(0,r.Cl)({},t);t.isProgrammatic?(requestAnimationFrame(function(){e.animateDeactivation(n)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(n),e.resetActivationState()}))}},t.prototype.animateDeactivation=function(e){var t=e.wasActivatedByPointer,n=e.wasElementMadeActive;(t||n)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=this;this.frame=this.adapter.computeBoundingRect();var n=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?n:Math.sqrt(Math.pow(e.frame.width,2)+Math.pow(e.frame.height,2))+t.numbers.PADDING;var r=Math.floor(n*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize=r-1:this.initialSize=r,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,n=e.VAR_FG_SIZE,r=e.VAR_LEFT,i=e.VAR_TOP,o=e.VAR_FG_SCALE;this.adapter.updateCssVariable(n,this.initialSize+"px"),this.adapter.updateCssVariable(o,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(i,this.unboundedCoords.top+"px"))},t}(i.I)},function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,r;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__webpack_dirname__&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(0),r=__webpack_require__(1),function(){var t=[,function(t){t.exports=e},function(e){e.exports=r}],n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,i),o.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{Dummy:function(){return u},reference:function(){return l}});var a=i(1),s=i(2),l={current:null},u=(0,a.forwardRef)(function(e,t){var n;return l.current=t,(0,s.jsx)("div",{children:null!==(n=e.children)&&void 0!==n?n:null})});return u.isDummy=!0,o.default=u,o}())},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),i=n(0),o=n(3),a={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",transparent:"#ffffff",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},s=e=>a[e]||e,l=e=>{4===e.length&&(e+=e.slice(1));const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:{r:0,g:0,b:0}},u=(e,t,n)=>{let r=[e,t,n].map(function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return.2126*r[0]+.7152*r[1]+.0722*r[2]},c=(e,t)=>(u(e[0],e[1],e[2])+.05)/(u(t[0],t[1],t[2])+.05),d=e=>(e=s(e),l(e)),f=e=>{const{r:t,g:n,b:r}=d(e);return!(c([255,255,255],[t,n,r])>3)},p={"--mdc-theme-primary":[["--mdc-theme-on-primary",0]],"--mdc-theme-surface":[["--mdc-theme-on-surface",0]],"--mdc-theme-secondary":[["--mdc-theme-on-secondary",0]],"--mdc-theme-background":[["--mdc-theme-text-primary-on-background",0],["--mdc-theme-text-secondary-on-background",1],["--mdc-theme-text-hint-on-background",2],["--mdc-theme-text-disabled-on-background",2],["--mdc-theme-text-icon-on-background",2]]},h=["rgba(0, 0, 0, 0.87)","rgba(0, 0, 0, 0.54)","rgba(0, 0, 0, 0.38)"],m=["rgba(255, 255, 255, 1)","rgba(255, 255, 255, 0.7)","rgba(255, 255, 255, 0.5)"],v=e=>({...Object.keys(p).reduce((t,n)=>{if(e[n]){const r=f(e[n])?h:m;p[n].forEach(e=>{t[e[0]]=r[e[1]]})}return t},{}),...e}),g=o.createComponent(function(e,t){const{use:n,wrap:i,...a}=e,s=o.useClassNames(e,[o.parseThemeOptions(n).join(" ")]);return i?o.wrapChild({...a,ref:t,className:s}):r.jsx(o.Tag,{tag:"span",theme:n,...a,ref:t,className:s})}),y=o.createComponent(function(e,t){var n,a;const s=JSON.stringify(e.options),l=i.useMemo(()=>{const t=Object.keys(e.options).reduce((t,n)=>{const r=e.options[n];return t[n=n.startsWith("--")?n:`--mdc-theme-${o.toDashCase(n)}`]=r,t},{});return v(t)},[s]),{options:u,style:c={},wrap:d,...f}=e,p=o.useClassNames(e,[d&&"object"==typeof f.children&&(null==(a=null==(n=f.children)?void 0:n.props)?void 0:a.className)]),h={...c,...l};return d&&f.children?o.wrapChild({...f,style:h,ref:t}):r.jsx(o.Tag,{...f,style:h,className:p,ref:t})});t.Theme=g,t.ThemeProvider=y,t.contrast=c,t.getAutoColorsForTheme=v,t.getRgb=d,t.hexToRgb=l,t.isLight=f,t.luminance=u,t.nameToHex=s},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),i=n(3),o=n(22),a={headline1:"h1",headline2:"h2",headline3:"h3",headline4:"h4",headline5:"h5",headline6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",caption:"span",button:"span",overline:"span"},s=i.createComponent(function(e,t){const{use:n,...s}=e,l=o.useProviderContext().typography,u=(null==l?void 0:l[n])||(null==l?void 0:l.defaultTag)||a[n],c=i.useClassNames(e,[{[`mdc-typography--${e.use}`]:e.use}]);return r.jsx(i.Tag,{tag:u,...s,ref:t,className:c})});t.Typography=s},function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,r,n,i,o,s,a,l,p,c,u;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__webpack_dirname__&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(6),t=__webpack_require__(15),r=__webpack_require__(8),n=__webpack_require__(7),i=__webpack_require__(11),o=__webpack_require__(12),s=__webpack_require__(0),a=__webpack_require__(9),l=__webpack_require__(62),p=__webpack_require__(41),c=__webpack_require__(42),u=__webpack_require__(43),function(){var d=[function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=t},function(e,t,n){var r=n(0),i=n.n(r),o=n(1),a=n(2);t.default=function(e){return void 0===e&&(e={}),e=i()({readAttribute:!0,type:a.string},e),function(t,n){if("string"==typeof n){var r,a=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(a,"observedAttributes")||(a.observedAttributes=a.observedAttributes?[].concat(a.observedAttributes):[]);var s=(0,o.camelCaseToDelimited)(n);a.observedAttributes&&!a.observedAttributes.includes(s)&&a.observedAttributes.push(s)}e.type&&(Object.prototype.hasOwnProperty.call(a,"propertyTypes")||(a.propertyTypes=a.propertyTypes?i()({},a.propertyTypes):{}),!a.propertyTypes||!e.update&&Object.prototype.hasOwnProperty.call(a,n)||(a.propertyTypes[n]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(a,"propertiesToReflectAsAttributes")||(a.propertiesToReflectAsAttributes=a.propertiesToReflectAsAttributes?(0,o.copy)(a.propertiesToReflectAsAttributes):[]),(e.update||a.propertiesToReflectAsAttributes instanceof Map&&!a.propertiesToReflectAsAttributes.has(n)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(n)||"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,n))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&a.propertyTypes&&Object.prototype.hasOwnProperty.call(a.propertyTypes,n)&&(r=a.propertyTypes[n]):r=e.writeAttribute,void 0!==r&&(Array.isArray(a.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?a.propertiesToReflectAsAttributes.push(n):a.normalizePropertyTypeList&&(a.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes))),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(n,r),"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[n]=r)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?i()({},a.propertyAliases):{}),!a.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(a,n)||(a.propertyAliases[n]=e.alias))}}}},function(e){e.exports=i},function(e){e.exports=o},function(e,t,n){n.d(t,{api:function(){return A}});var r,i,o,a,s=n(5),l=n.n(s),u=n(8),c=n.n(u),d=n(0),f=n.n(d),p=n(3),h=n.n(p),m=n(9),v=n.n(m),g=(n(10),n(6)),y=n.n(g),_=n(1),b=n(2),E=n(4);function x(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={}.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=Array(t);n<t;n++)r[n]=e[n];return r}var I=new _.Logger({name:"web-component-wrapper-web"}),S="undefined"==typeof HTMLElement?function(){}:HTMLElement,O=(r=(0,E.default)({type:b.boolean,writeAttribute:!0}),a=function(e){function t(){var n;return(n=e.call(this)||this).renderState={promise:Promise.resolve(""),pending:!1,resolve:_.NOOP},n.childComponentInstances=[],n.batchAttributeUpdates=!0,n.batchPropertyUpdates=!0,n.batchUpdates=!0,n.batchedAttributeUpdateRunning=!0,n.batchedPropertyUpdateRunning=!0,n.batchedUpdateRunning=!0,n.parentInstance=null,n.rootInstance=void 0,n.hostDomNode=void 0,n.scope=f()({},_.UTILITY_SCOPE),n.domNodeEventBindings=new Map,n.domNodeTemplateCache=new Map,n.externalProperties={},n.ignoreAttributeUpdateObservations=!1,n.internalProperties={},n.outputEventNames=new Set,n.instance=null,c()(n,"isRoot",o,n),n.runDomConnectionAndRenderingInSameEventQueue=!1,n.self=t,n.slots={},n.prepareNewRenderingPromise(),n.self=n.constructor,n.self._propertiesToReflectAsAttributes||(n.self._propertiesToReflectAsAttributes=n.self.normalizePropertyTypeList(n.self.propertiesToReflectAsAttributes)),n.generateAliasIndex(),n.hostDomNode=n,n.rootInstance=n,n.defineGetterAndSetterInterface(),n}h()(t,e);var n=t.prototype;return n.attributeChangedCallback=function(e,t,n){this.ignoreAttributeUpdateObservations||t===n||this.onUpdateAttribute(e,n)},n.onUpdateAttribute=function(e,t){var n=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,_.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.parentInstance=this,this.rootInstance=this,this.attachEventHandler(),this.self.determineRootBinding&&(this.determineRootBinding(),this.parentInstance!==this&&this.parentInstance.childComponentInstances&&this.parentInstance.childComponentInstances.push(this)),this.self.applyRootBinding&&this.isRoot&&(this.determineRenderScope(),this.applyBinding(this,this.scope)),this.batchedAttributeUpdateRunning=!1,this.batchedPropertyUpdateRunning=!1,this.batchedUpdateRunning=!1,this.grabGivenSlots(),this.reflectExternalProperties(this.externalProperties),this.runDomConnectionAndRenderingInSameEventQueue?this.render("connected"):(0,_.timeout)(function(){e.render("connected")})},n.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=x(this.domNodeEventBindings.values());!(e=t()).done;)for(var n,r=x(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=x((0,_.unique)(Object.keys(this.self.propertyTypes).concat(this.self._propertyAliasIndex?Object.keys(this.self._propertyAliasIndex):[])));!(e=r()).done;)n()},n.getPropertyAlias=function(e){return this.self._propertyAliasIndex&&Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},n.getPropertyValue=function(e){var n,r,i=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]:i},n.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.externalProperties[n]=t)},n.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.internalProperties[n]=t)},n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=t,n)),this.setInternalPropertyValue(e,t)},n.triggerPropertySpecificRendering=function(e,t){var n=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,_.timeout)(function(){void 0!==t&&n.isStateProperty(e)?(n.render("preStatePropertyChanged"),(0,_.timeout)(function(){n.setInternalPropertyValue(e,void 0),n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("postStatePropertyChanged"),n.triggerOutputEvents()})):(n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("propertyChanged"),n.triggerOutputEvents())}));else{var r=this.isStateProperty(e);this.render(r?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&r&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},n.applyBinding=function(e,t){var n=this;if(e.getAttributeNames)for(var r,i=function(){var i,o=r.value;if(o.startsWith("data-bind-")?i=o.substring(10):o.startsWith("bind-")&&(i=o.substring(5)),i){var a=e.getAttribute(o);if(null===a)return 0;if(i.startsWith("attribute-")||i.startsWith("property-")){var s=(0,_.evaluate)(a,t,!1,!0,e);if(s.error)return I.warn("Error occurred during processing given",'attribute binding "'+o+'" on node:',e,s.error),0;i.startsWith("attribute-")?e.setAttribute(i.substring(10),s.result):e[(0,_.delimitedToCamelCase)(i.substring(9))]=s.result}else if(i.startsWith("on-")){i=(0,_.delimitedToCamelCase)(i.substring(3)),t=f()({log:I,event:void 0,parameters:void 0},t);var l=(0,_.compile)(a,t,!0,!0,e);l.error?I.warn("Error occurred during compiling given event",'binding "'+o+'" on node:',e,l.error):n.addSecureEventListener(e,i,function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.event=r[0],t.parameters=r;try{l.templateFunction.apply(l,l.originalScopeNames.map(function(e){return t[e]}))}catch(t){I.warn("Error occurred during processing","given event binding",'"'+o+'" on node:',e,'Given expression "'+a+'" could',"not be evaluated with given scope",'names "'+l.scopeNames.join('", "')+'": '+(0,_.represent)(t))}})}}},o=x(e.getAttributeNames());!(r=o()).done;)i()},n.applyBindings=function(e,t,n){for(void 0===n&&(n=!0);e;){var r;null==(r=e.attributes)||!r.length||!n&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},n.compileDomNodeTemplate=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={}),n=f()({ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},n);var r=e.nodeName.toLowerCase();if(n.ignoreComponents&&r.includes("-"))return null;if(n.unsafe){var i=e.innerHTML;if(!i&&e.template&&(i=e.template),this.self.hasCode(i)){var o=(0,_.compile)("`"+i+"`",t);return{domNode:e,children:[],error:o.error,scopeNames:o.scopeNames,template:i,templateFunction:o.templateFunction}}return null}var a=null;if("#text"===r){var s=e.textContent;s&&this.self.hasCode(s)&&(a=s.replace(/&nbsp;/g," ").trim())}var l=[],u={children:l,domNode:e};if(a){var c=(0,_.compile)("`"+a+"`",t);u.error=c.error,u.scopeNames=c.scopeNames,u.template=a,u.templateFunction=c.templateFunction}for(var d=e.firstChild;d;){if(!n.filter||n.filter(d)){var p=this.compileDomNodeTemplate(d,t,f()({},n,{ignoreComponents:n.ignoreNestedComponents}));p&&l.push(p)}d=d.nextSibling}return u},n.evaluateCompiledDomNodeTemplate=function(e,t){var n=e.domNode,r=e.error,i=e.templateFunction,o=e.scopeNames;if(!i||!o)return null;if(r)return I.warn("Error occurred during compiling node content:",r),null;var a=null;try{a=i.apply(void 0,o.map(function(e){return t[e]}))}catch(r){I.warn('Error occurred when "'+this.self._name+'" is running','"'+String(i)+'": with bound','names "'+o.join('", "')+'":','"'+r+'". Rendering node:',n)}return a},n.evaluateDomNodeTemplate=function(e,t,n){var r=this;void 0===t&&(t={}),void 0===n&&(n={});var i=(n=f()({domNodeTemplateCache:this.domNodeTemplateCache,ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},n)).domNodeTemplateCache;if(!i.has(e)){var o={filter:n.filter,ignoreComponents:n.ignoreComponents,ignoreNestedComponents:n.ignoreNestedComponents,unsafe:n.unsafe},a=this.compileDomNodeTemplate(e,t,o);a&&i.set(e,a)}if(i.has(e)){var s=i.get(e),l=this.evaluateCompiledDomNodeTemplate(s,t);if(null!==l&&(n.unsafe&&e.innerHTML?e.innerHTML=l:e.textContent=l),s.children.length){var u=function(e){for(var n,i=x(e);!(n=i()).done;){var o=n.value,a=r.evaluateCompiledDomNodeTemplate(o,t);null!==a&&(o.domNode.textContent=a),o.children.length&&u(o.children)}};u(s.children)}}n.applyBindings&&this.applyBindings(e,t)},n.addSecureEventListener=function(e,t,n,r,i){var o=this;this.domNodeEventBindings.has(e)||this.domNodeEventBindings.set(e,new Map);var a=this.domNodeEventBindings.get(e),s=null==a?void 0:a.get(t);s&&s!==n&&s(),null==a||a.set(t,function(){e.removeEventListener(t,n,i),a.delete(t),0===a.size&&o.domNodeEventBindings.delete(e)}),e.addEventListener(t,n,r)},n.determineRootBinding=function(){for(var e=this.parentNode;e;){var n=e instanceof t||e.nodeName.includes("-")&&"#document-fragment"!==e.nodeName,r=null===e.parentNode&&"[object ShadowRoot]"===e.toString();n?(this.rootInstance===this&&(this.parentInstance=e,this.setPropertyValue("isRoot",!1)),this.rootInstance=e):r&&this.setPropertyValue("isRoot",!1),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,i=new Map,o=x(r);!(n=o()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&i.set(a,t.propertyTypes[a])}return i}return(0,_.convertPlainObjectToMap)(e)},n.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},n.attachExplicitDefinedOutputEventHandler=function(){var e=this;if(!this.self.eventToPropertyMapping)return!1;for(var t=!1,n=function(){var n=i[r];Object.prototype.hasOwnProperty.call(e.internalProperties,n)||(t=!0,e.outputEventNames.add(n),e.setInternalPropertyValue(n,l()(y().mark(function t(){var r,i,o,a,s=arguments;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(r=s.length,i=new Array(r),o=0;o<r;o++)i[o]=s[o];return t.next=1,e.reflectEventToProperties(n,i);case 1:(a=t.sent)&&(i[0]=a),e.forwardEvent(n,i);case 2:case"end":return t.stop()}},t)}))))},r=0,i=Object.keys(this.self.eventToPropertyMapping);r<i.length;r++)n();return t},n.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var n=function(){var n=i[r],o=n[0],a=n[1];Object.prototype.hasOwnProperty.call(t.internalProperties,o)||![b.func,"function"].includes(a)||t.self.renderProperties.includes(o)||(t.outputEventNames.add(o),t.setInternalPropertyValue(o,function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e&&t.reflectEventToProperties(o,r),t.forwardEvent(o,r)}))},r=0,i=Object.entries(this.self.propertyTypes);r<i.length;r++)n()},n.triggerOutputEvents=function(){for(var e,t=x(this.outputEventNames);!(e=t()).done;){var n=e.value;this.forwardEvent(n,[this.externalProperties])}},n.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=(0,_.lowerCase)(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},n.applySlots=function(e,n){for(var r=this,i=0,o=Array.from(e.querySelectorAll("slot"));i<o.length;i++){var a=o[i],s=a.getAttribute("name");if(null===s||"default"===s)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var l,u=x(this.slots.default);!(l=u()).done;){var c=l.value;this.evaluateDomNodeTemplate(c,n)}(0,_.replace)(a,this.slots.default,t.trimSlots)}}else this.slots.default=(0,_.unwrap)(a).map(function(e){return r.grabSlotContent(e)});else this.slots[s]?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[s],n),(0,_.replace)(a,this.slots[s],t.trimSlots)):this.slots[s]=this.grabSlotContent((0,_.unwrap)(a).filter(function(e){return"#text"!==e.nodeName.toLowerCase()})[0])}},n.grabSlotContent=function(e){var t,n=b.node.firstElementChild?e:null;if(n&&"textarea"===(null==(t=n.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!n.firstElementChild.hasAttribute("data-no-template")||"false"===n.firstElementChild.getAttribute("data-no-template"))){var r=n.firstElementChild.value;n.classList.remove("web-component-template");var i=n.cloneNode();return n.classList.add("web-component-template"),i.innerHTML="",i.template=r,i}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,i=n[t],o=i.parentNode,a=!0;o;){if(o.nodeName.includes("-")){o===this&&(a=!1);break}o=o.parentNode}if(!a){var s=null==(r=i.getAttribute("slot"))?void 0:r.trim();this.slots[null!=s?s:i.nodeName.toLowerCase()]=this.grabSlotContent(i)}}this.slots.default?this.slots.default=[].concat(this.slots.default):this.childNodes.length>0?this.slots.default=Array.from(this.childNodes).map(function(t){return e.grabSlotContent(t)}):this.slots.default=[]},n.isStateProperty=function(e){var t;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(this.instance.current.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},n.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=f()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var n=t[e],r=n[0],i=n[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,i)||(this.self._propertyAliasIndex[i]=r)}}},n.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,n=Object.entries(e);t<n.length;t++){var r,i=n[t],o=i[0],a=i[1];if(this.setExternalPropertyValue(o,a),this.isConnected){var s=(0,_.camelCaseToDelimited)(o);if(null!=(r=this.self._propertiesToReflectAsAttributes)&&r.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case b.boolean:case"boolean":a?""!==this.getAttribute(s)&&this.setAttribute(s,""):this.hasAttribute(s)&&this.removeAttribute(s);break;case b.func:case"function":break;case"json":if(a){var l=JSON.stringify(a);if(l&&this.getAttribute(s)!==l){this.setAttribute(s,l);break}}this.hasAttribute(s)&&this.removeAttribute(s);break;case b.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(s)&&this.removeAttribute(s);else{var u=String(a);this.getAttribute(s)!==u&&this.setAttribute(s,u)}break;case b.string:case"string":a?this.getAttribute(s)!==a&&this.setAttribute(s,a):this.hasAttribute(s)&&this.removeAttribute(s);break;case b.any:case b.array:case b.arrayOf:case b.element:case b.elementType:case b.instanceOf:case b.node:case b.object:case"object":case b.objectOf:case b.shape:case b.exact:case b.symbol:default:if(a){var c=(0,_.represent)(a);if(c&&this.getAttribute(s)!==c){this.setAttribute(s,c);break}}this.hasAttribute(s)&&this.removeAttribute(s)}}}this.ignoreAttributeUpdateObservations=!1},n.reflectProperties=function(e){var t,n;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var r,i=x(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(r=i()).done;){var o=r.value;Object.prototype.hasOwnProperty.call(this.internalProperties,o)&&this.setInternalPropertyValue(o,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(delete this.internalProperties.model.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var a,s=x(this.self.controllableProperties);!(a=s()).done;){var l=a.value;Object.prototype.hasOwnProperty.call(e,l)&&this.setInternalPropertyValue(l,e[l])}},n.reflectEventToProperties=function(){var e=l()(y().mark(function e(t,n){var r,i,o,a,s,l,u,c,d,p,h,m,v,g,b,E,C;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.batchUpdates,this.batchUpdates=!1,i=null,o=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&(0,_.isFunction)(this.self.eventToPropertyMapping[t]))){e.next=4;break}if(!((s=(a=this.self.eventToPropertyMapping)[t].apply(a,n.concat([this])))&&"then"in s&&(0,_.isFunction)(s.then))){e.next=2;break}return e.next=1,s;case 1:C=e.sent,e.next=3;break;case 2:C=s;case 3:l=C,o=!0,Array.isArray(l)?(i=l[0],this.reflectProperties(i),(0,_.extend)(!0,this.internalProperties,l[1])):null===l?o=!1:"object"==typeof l&&(i=l,this.reflectProperties(l));case 4:if(!o&&n.length>0&&(0,_.isObject)(n[0])){if(c=n[0],"persist"in n[0]&&(0,_.isFunction)(n[0].persist))for(c={},d=0,p=Object.keys(this.self.propertyTypes);d<p.length;d++)for(h=p[d],m=x([h].concat(null!==(g=this.getPropertyAlias(h))&&void 0!==g?g:[]));!(v=m()).done;)b=v.value,(E=n[0].currentTarget&&Object.prototype.hasOwnProperty.call(n[0].currentTarget,b)?n[0].currentTarget[b]:this.getPropertyValue(b))!==this.externalProperties[b]&&(c[b]=E);else[null,void 0].includes(null==(u=c.detail)?void 0:u.value)||(c=f()({},c.detail));i=c,this.reflectProperties(c)}return this.triggerRender("propertyReflected"),this.batchUpdates=r,e.abrupt("return",i);case 5:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}(),n.evaluateStringOrNullAndSetAsProperty=function(e,t){var n=this,r=e.startsWith("-"),i=r?e.substring(1):e,o=(0,_.delimitedToCamelCase)(i),a=this.getPropertyAlias(o);if(a&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)&&(o=a),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,o)){var s=this.self.propertyTypes[o];if(r){if(t){var l=(0,_.evaluate)(t,f()({},_.UTILITY_SCOPE),!1,!0,this);l.error?(I.warn("Failed to process pre-evaluation attribute",'"'+e+'": '+l.error+". Will be",'set to "undefined".'),this.setInternalPropertyValue(o,void 0)):(this.setInternalPropertyValue(o,l.result),this.setExternalPropertyValue(o,l.result))}}else switch(s){case b.boolean:case"boolean":var u=![null,"false"].includes(t);this.setInternalPropertyValue(o,u),this.setExternalPropertyValue(o,u);break;case b.func:case"function":var c,d=null,p=["data","event","firstArgument","firstParameter","options","scope","parameters"].concat(_.UTILITY_SCOPE_NAMES);if(t){var h=(0,_.compile)(t,p);d=h.error,c=h.templateFunction,d&&I.warn("Failed to compile given handler",'"'+e+'": '+d+".")}this.setInternalPropertyValue(o,function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];n.outputEventNames.has(o)&&n.reflectEventToProperties(o,i);var s=void 0;if(!d)try{var l;s=null==(l=c)?void 0:l.call.apply(l,[n,i[0],i[0],i[0],i[0],i[0],i[0],i].concat(_.UTILITY_SCOPE_VALUES))}catch(n){I.warn("Failed to evaluate function",'"'+e+'" with expression','"'+t+'" and scope',"variables",'"'+p.join('", "')+'" set to','"'+(0,_.represent)(i)+'":',n+". Set property",'to "undefined".')}return n.self.renderProperties.includes(o)||n.forwardEvent(o,i),s}),d||this.setExternalPropertyValue(o,c);break;case"json":if(t){var m;try{m=JSON.parse(t)}catch(d){I.warn("Error occurred during parsing given json",'attribute "'+e+'":',(0,_.represent)(d));break}this.setInternalPropertyValue(o,m),this.setExternalPropertyValue(o,(0,_.copy)(m,!1,1))}else this.setInternalPropertyValue(o,null),this.setExternalPropertyValue(o,null);break;case b.number:case"number":if(null===t){this.setInternalPropertyValue(o,t),this.setExternalPropertyValue(o,t);break}var v=parseFloat(t);isNaN(v)&&(v=void 0),this.setInternalPropertyValue(o,v),this.setExternalPropertyValue(o,v);break;case b.string:case"string":this.setInternalPropertyValue(o,t),this.setExternalPropertyValue(o,t);break;case b.any:case b.array:case b.arrayOf:case b.element:case b.elementType:case b.instanceOf:case b.node:case b.object:case"object":case b.objectOf:case b.oneOf:case b.oneOfType:case b.shape:case b.exact:case b.symbol:default:if(t){var g=(0,_.evaluate)(t,{},!1,!0,this);if(g.error){I.warn("Error occurred during processing given",'attribute configuration "'+e+'":',g.error);break}this.setInternalPropertyValue(o,g.result),this.setExternalPropertyValue(o,(0,_.copy)(g.result,!1,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(o,!0),this.setExternalPropertyValue(o,!0)):(this.setInternalPropertyValue(o,null),this.setExternalPropertyValue(o,null))}}},n.waitForNestedComponentRendering=function(){var e=l()(y().mark(function e(){return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.childComponentInstances){e.next=1;break}return e.abrupt("return");case 1:return e.next=2,Promise.all(this.childComponentInstances.map(function(e){return e.renderState.pending?e.renderState.promise:Promise.resolve()}));case 2:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),n.resolveRenderingPromiseIfSet=function(){var e=l()(y().mark(function e(t,n){return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=2;break}return e.next=1,this.waitForNestedComponentRendering();case 1:this.renderState.pending=!1,this.renderState.resolve(t),this.prepareNewRenderingPromise();case 2:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}(),n.prepareNewRenderingPromise=function(){var e=this;this.renderState.pending||(this.renderState.promise=new Promise(function(t){e.renderState.resolve=function(n){e.renderState.pending=!1,t(n)}}))},n.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,(0,_.timeout)(function(){t.batchedUpdateRunning=!1,t.render(e)})):this.render(e)},n.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.hostDomNode===this&&(this.hostDomNode=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow((0,_.isObject)(this.self.shadowDOM)?this.self.shadowDOM:{mode:"open"}))},n.determineRenderScope=function(e){var t,n;void 0===e&&(e={}),this.scope=f()({},(null==(t=this.parentInstance)?void 0:t.scope)||{},this.scope,this.internalProperties,((n={parentInstance:this.parentInstance,rootInstance:this.rootInstance,self:this})[(0,_.lowerCase)(this.self._name)||"instance"]=this,n),e),this.scope.scope=this.scope},n.render=function(){var e=l()(y().mark(function e(t,n){var r,i,o=this;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t="unknown"),void 0===n&&(n=!0),this.childComponentInstances=[],this.renderState.pending=!0,!this.isRoot){e.next=3;break}return e.next=1,this.resolveRenderingPromiseIfSet(t,n);case 1:if(!n){e.next=3;break}return e.next=2,Promise.all(this.self.pendingRenderPromises);case 2:this.self.pendingRenderPromises=[];case 3:if(this.self.pendingRenderPromises.push(this.renderState.promise),this.determineRenderScope(),this.self.doRender&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:t,scope:this.scope}}))){e.next=5;break}return e.next=4,this.resolveRenderingPromiseIfSet(t,n);case 4:return e.abrupt("return");case 5:if(!(r=(0,_.evaluate)("`"+this.self.content+"`",this.scope)).error){e.next=7;break}return I.warn("Failed to process template: "+r.error),this.renderState.resolve(t),e.next=6,Promise.all(this.self.pendingRenderPromises);case 6:return e.abrupt("return");case 7:return this.applyShadowRootIfNotExisting(),(i=document.createElement("div")).innerHTML=r.result,this.applySlots(i,f()({},this.scope,{parentInstance:this})),this.hostDomNode.innerHTML=i.innerHTML,e.next=8,(0,_.timeout)();case 8:return this.waitForNestedComponentRendering().then(function(){o.applyBindings(o.hostDomNode.firstChild,o.scope,o.self.renderSlots)}),e.next=9,this.resolveRenderingPromiseIfSet(t,n);case 9:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}(),t}(S),a.applyRootBinding=!0,a.pendingRenderPromises=[],a.content="<slot>Please provide a template to transclude.</slot>",a.determineRootBinding=!0,a.shadowDOM=null,a.observedAttributes=[],a.controllableProperties=[],a.eventToPropertyMapping={},a.propertyAliases={},a.propertyTypes={onClick:b.func},a.propertiesToReflectAsAttributes=[],a.renderProperties=["children"],a.doRender=!1,a.cloneSlots=!1,a.evaluateSlots=!1,a.renderSlots=!0,a.trimSlots=!0,a.renderUnsafe=!1,a._name="BaseWeb",a._propertyAliasIndex=void 0,a._propertiesToReflectAsAttributes=void 0,i=a,o=v()(i.prototype,"isRoot",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),i),A={component:O,register:function(e){void 0===e&&(e=(0,_.camelCaseToDelimited)(O._name)),customElements.define(e,O)}};t.default=O},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=s},function(e){e.exports=a},function(e){e.exports=l},function(e,t,n){n.d(t,{api:function(){return x}});var r=n(0),i=n.n(r),o=n(5),a=n.n(o),s=n(3),l=n.n(s),u=n(6),c=n.n(u),d=n(1),f=n(2),p=n(11),h=n.n(p),m=n(12),v=n(13),g=n(7);function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return _(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var b=new d.Logger({name:"web-component-wrapper-web"}),E=function(e){function t(){for(var n,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(n=e.call.apply(e,[this].concat(i))||this).unmountOnDisconnect=!0,n.compiledSlots={},n.preparedSlots={},n.reactRoot=null,n.rootReactInstance=null,n.self=t,n.wrapMemorizingWrapper=null,n.isWrapped=!1,n.reflectInstanceProperties=function(){var e;null!=(e=n.instance)&&e.current&&n.instance.current.properties&&n.reflectProperties(n.instance.current.properties)},n}l()(t,e);var n=t.prototype;return n.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},n.disconnectedCallback=function(){var t;this.unmountOnDisconnect&&(null==(t=this.reactRoot)||t.unmount()),e.prototype.disconnectedCallback.call(this)},n.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},n.render=function(){var e=a()(c().mark(function e(t,n){var r,o,a,s,l=this;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t="unknown"),void 0===n&&(n=!0),this.childComponentInstances=[],this.renderState.pending=!0,this.isRoot&&(this.self.pendingRenderPromises=[]),this.self.pendingRenderPromises.push(this.renderState.promise),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:t,scope:this.scope}}))){e.next=1;break}return e.abrupt("return",this.resolveRenderingPromiseIfSet(t,n));case 1:if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(i()({},this.scope,{parentInstance:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.rootInstance!==this)for(r=this.firstChild;r;)o=r.nextSibling,this.removeChild(r),r=o;if(this.reactRoot||(a=this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name,s="","string"==typeof a&&(s=a),this.reactRoot=(0,v.createRoot)(this.hostDomNode,{identifierPrefix:s})),(0,m.flushSync)(function(){var e;null==(e=l.reactRoot)||e.render((0,p.createElement)(l.self.content,l.internalProperties)),l.resolveRenderingPromiseIfSet(t,n)}),!n){e.next=2;break}return e.next=2,this.renderState.promise;case 2:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}(),n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=(0,d.copy)(t,!1,1),n)),this.setInternalPropertyValue(e,(0,d.copy)(t,!1,1))},n.setInternalPropertyValue=function(t,n){null===n?n=f.NullSymbol:void 0===n&&(n=f.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,n)},n.preCompileDomNodes=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=!1),1===(e=e.filter(function(e){return e.nodeType!==Node.TEXT_NODE||"string"==typeof e.nodeValue&&""!==e.nodeValue.trim()})).length)return this.preCompileDomNode(e[0],t,n);for(var r,i=1,o=[],a=y(e);!(r=a()).done;){var s=r.value,l=this.preCompileDomNode(s,t,n,i.toString());o.push(l),i+=1}return n?function(e){return function(){for(var t,n=[],r=y(o);!(t=r()).done;){var i=(0,t.value)(e);"function"==typeof i&&n.push(i.apply(void 0,arguments))}return(0,p.createElement)(p.Fragment,{children:n})}}:o},n.preCompileDomNode=function(e,t,n,r){var o=this;if(void 0===t&&(t={}),void 0===n&&(n=!1),n){var a=this.preCompileDomNode(e,i()({},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 o=n.length>0?n[0]:null;return a(i()({},e,{data:o,firstArgument:o,firstParameter:o,options:o,scope:o,parameters:n}))}}}if(e.nodeType===Node.TEXT_NODE){var s="string"==typeof e.nodeValue?e.nodeValue.trim():"",l=r&&s?(0,p.createElement)(p.Fragment,{children:s,key:r}):s||null;return function(){return l}}if(!e.getAttributeNames)return function(){return null};var u,c={},f=this.self.isReactComponent(e);f?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),r&&!Object.prototype.hasOwnProperty.call(c,"key")&&(c.key=r),u=e.constructor.content):(c.key=r,u=e.tagName.toLowerCase());for(var h,m=Object.keys(t),v={},g=function(){var n,r=h.value,i=e.getAttribute(r);if(null===i)return 0;var a=!1,s="";if(r.startsWith("data-bind-")?s=r.substring(10):r.startsWith("bind-")&&(s=r.substring(5)),s.startsWith("attribute-")||"attributes"===s||s.startsWith("property-")||"properties"===s){var l=(0,d.compile)(i,m),u=l.error,p=l.originalScopeNames,g=l.templateFunction;if(u)return b.warn("Error occurred during compiling given attribute",'binding "'+r+'" on node:',e,u),0;"attributes"===s||"properties"===s?a=!0:s=s.startsWith("attribute-")?s.substring(10):s.substring(9),i={originalScopeNames:p,templateFunction:g.bind(o)}}else if(s.startsWith("on-")){s=(0,d.delimitedToCamelCase)(s),Object.prototype.hasOwnProperty.call(t,"event")||(m=[].concat(m,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(m=[].concat(m,["parameters"]));var y=(0,d.compile)(i,m,!0),_=y.error,E=y.originalScopeNames,x=y.scopeNames,C=y.templateFunction;if(_)return b.warn("Error occurred during compiling given event",'binding "'+r+'" on node:',e,_),0;var I=C.bind(o);i=function(){for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];t.event=o[0],t.parameters=o;try{I.apply(void 0,E.map(function(e){return t[e]}))}catch(t){b.warn("Error occurred during processing given",'event binding "'+r+'" on node: ',e,'Given expression "'+i+'" could',"not be evaluated with given scope names",'"'+x.join('", "')+'":',(0,d.represent)(t))}}}else s=r;var S={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(S,s)&&(s=S[s]),s=(0,d.delimitedToCamelCase)(s),null!=(n=i)&&n.originalScopeNames?v[a?"":s]=i:f||(c[s]=i)},_=y(e.getAttributeNames());!(h=_()).done;)g();if(!f){var E=Array.from(e.childNodes);E.length&&(c.children=this.preCompileDomNodes(E,t))}return function(n){(n=i()({},t,n)).scope=n;for(var r=i()({},c),a=0,s=Object.entries(v);a<s.length;a++){var l=s[a],d=l[0],h=l[1],m=h.originalScopeNames,g=h.templateFunction.apply(void 0,m.map(function(e){return n[e]}));""===d?r=i()({},r,g):r[d]=g}return Object.prototype.hasOwnProperty.call(r,"innerHTML")&&(r.dangerouslySetInnerHTML={__html:r.innerHTML},delete r.children,delete r.innerHTML),Object.prototype.hasOwnProperty.call(r,"textContent")?(r.children=r.textContent,delete r.textContent):f?(r=i()({},e.internalProperties,r),n=i()({},r,n,{parentInstance:e}),e.evaluateSlots(n),e.prepareProperties(r)):r.children&&(r.children=o.evaluatePreCompiledDomNodes(r.children,n)),(0,p.createElement)(u,r)}},n.evaluatePreCompiledDomNodes=function(e,t){if(void 0===t&&(t={}),!Array.isArray(e))return e(t);if(1===e.length)return e[0](t);for(var n,r=[],i=y(e);!(n=i()).done;){var o=(0,n.value)(t);o&&r.push(o)}return r},n.preCompileSlots=function(){for(var e in this.slots)this.slots[e]&&"default"!==e&&(this.compiledSlots[e]=this.preCompileDomNode(this.slots[e],i()({},this.scope,{parentInstance:this}),[f.func,"function"].includes(this.self.propertyTypes[e])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,i()({},this.scope,{parentInstance:this}),[f.func,"function"].includes(this.self.propertyTypes.children)))},n.evaluateSlots=function(e){for(var t in this.preparedSlots={},this.compiledSlots)Object.prototype.hasOwnProperty.call(this.compiledSlots,t)&&("children"===t?this.preparedSlots.children=this.evaluatePreCompiledDomNodes(this.compiledSlots[t],e):this.preparedSlots[t]=this.compiledSlots[t](e))},t.isReactComponent=function(e){var t=e.constructor;return"object"==typeof t.content&&(!t.attachWebComponentAdapterIfNotExists||"react"===t.content.webComponentAdapterWrapped)},n.determineRootBinding=function(){e.prototype.determineRootBinding.call(this);for(var t=this.parentNode;t;){if(this.self.isReactComponent(t)){this.rootReactInstance=t;break}t=t.parentNode}},n.applyComponentWrapper=function(){if("string"!=typeof this.self.content&&!this.isWrapped){this.isWrapped=!0;var e=this.self.content.wrapped||this.self.content;this.self.content.webComponentAdapterWrapped?this.wrapMemorizingWrapper&&(this.self.content=(0,p.memo)(this.self.content),this.self.content.wrapped=e):this.self.attachWebComponentAdapterIfNotExists?(this.self.content.displayName||(this.self.content.displayName=this.self._name),this.self.content=(0,p.forwardRef)(function(t,n){return(0,p.useImperativeHandle)(n,function(){return{properties:t}},[t]),(0,p.createElement)(e,t)}),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,p.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,p.memo)(this.self.content),this.self.content.wrapped=e)}},n.prepareProperties=function(e){var t=this;(0,d.extend)(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,p.createRef)(),e.ref=function(e){t.instance?t.instance.current=e:t.instance={current:e},t.reflectInstanceProperties()})},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var n,r=y(["isRoot","isTrusted","__composed"]);!(n=r()).done;){var i=n.value;Object.prototype.hasOwnProperty.call(t,i)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,i)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,i))&&delete t[i]}},t}(g.default);E.attachWebComponentAdapterIfNotExists=!0,E.content="div",E.react=h(),E._name="ReactWebComponent";var x={component:E,register:function(e){void 0===e&&(e=(0,d.camelCaseToDelimited)(E._name)),customElements.define(e,E)}};t.default=E}],f={};function h(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return d[e](n,n.exports,h),n.exports}h.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return h.d(t,{a:t}),t},h.d=function(e,t){for(var n in t)h.o(t,n)&&!h.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},h.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var m={};h.r(m),h.d(m,{ReactWeb:function(){return S},Web:function(){return T},property:function(){return I},reactWebAPI:function(){return O},webAPI:function(){return A},wrapAsWebComponent:function(){return w}});var v=h(0),g=h.n(v),y=h(3),_=h.n(y),b=h(1),E=h(4),x=h(14),C=h(7),I=E.default,S=x.default,O=x.api,A=C.api,T=C.default,w=function(e,t,n){var r,i,o;void 0===t&&(t="NoName"),void 0===n&&(n={});var a=e._name||(null==(r=e.___types)||null==(r=r.name)?void 0:r.name)||t.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");n.propTypes&&(e.propTypes=n.propTypes);var s=e.propTypes||{},l=n.propertyAliases||e.propertyAliases||{},u=(0,b.unique)(Object.keys(s).concat(Object.keys(l)).concat(Object.values(l))),c=n.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(S.propertiesToReflectAsAttributes)if(Array.isArray(c))c=[].concat(S.propertiesToReflectAsAttributes,c);else if(c instanceof Map)for(var d=0,f=S.propertiesToReflectAsAttributes;d<f.length;d++){var p=f[d];c.set(p,S.propertyTypes[p])}else if("object"==typeof c)for(var h=0,m=S.propertiesToReflectAsAttributes;h<m.length;h++){var v=m[h];c[v]=S.propertyTypes[v]}var y=u.map(function(e){return(0,b.camelCaseToDelimited)(e)}),E=function(t){function r(){for(var i,o,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return(o=t.call.apply(t,[this].concat(s))||this).self=r,o.internalProperties=n.internalProperties?g()({},n.internalProperties):e.internalProperties?g()({},e.internalProperties):{},o.unmountOnDisconnect=null===(i=n.unmountOnDisconnect)||void 0===i||i,o}return _()(r,t),r}(S);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof n.attachWebComponentAdapterIfNotExists||n.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=S.observedAttributes.concat(y).concat(y.map(function(e){return"-"+e})),E.controllableProperties=e.controllableProperties||n.controllableProperties||[],E.eventToPropertyMapping=null===n.eventToPropertyMapping?n.eventToPropertyMapping:n.eventToPropertyMapping?g()({},n.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?g()({},e.eventToPropertyMapping):{},E.propertyAliases=g()({},S.propertyAliases,l),E.propertiesToReflectAsAttributes=c,E.propertyTypes=g()({},S.propertyTypes,s),E.renderProperties=null!==(i=null!==(o=n.renderProperties)&&void 0!==o?o:e.renderProperties)&&void 0!==i?i:S.renderProperties,E._name=a,{component:E,register:function(e){void 0===e&&(e=(0,b.camelCaseToDelimited)(a)),customElements.define(e,E)}}};return m.default=w,m}())},function(e,t,n){n.d(t,{N:function(){return u}});var r=n(2),i=n(5),o=n(51),a=n(23),s=n(25),l=n(50),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.disabled=!1,t}return(0,r.C6)(t,e),t.attachTo=function(e,n){void 0===n&&(n={isUnbounded:void 0});var r=new t(e);return void 0!==n.isUnbounded&&(r.unbounded=n.isUnbounded),r},t.createAdapter=function(e){return{addClass:function(t){return e.root.classList.add(t)},browserSupportsCssVars:function(){return l.supportsCssVariables(window)},computeBoundingRect:function(){return e.root.getBoundingClientRect()},containsEventTarget:function(t){return e.root.contains(t)},deregisterDocumentInteractionHandler:function(e,t){return document.documentElement.removeEventListener(e,t,(0,o.E)())},deregisterInteractionHandler:function(t,n){return e.root.removeEventListener(t,n,(0,o.E)())},deregisterResizeHandler:function(e){return window.removeEventListener("resize",e)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return(0,a.cK)(e.root,":active")},isSurfaceDisabled:function(){return Boolean(e.disabled)},isUnbounded:function(){return Boolean(e.unbounded)},registerDocumentInteractionHandler:function(e,t){return document.documentElement.addEventListener(e,t,(0,o.E)())},registerInteractionHandler:function(t,n){return e.root.addEventListener(t,n,(0,o.E)())},registerResizeHandler:function(e){return window.addEventListener("resize",e)},removeClass:function(t){return e.root.classList.remove(t)},updateCssVariable:function(t,n){return e.root.style.setProperty(t,n)}}},Object.defineProperty(t.prototype,"unbounded",{get:function(){return Boolean(this.isUnbounded)},set:function(e){this.isUnbounded=Boolean(e),this.setUnbounded()},enumerable:!1,configurable:!0}),t.prototype.activate=function(){this.foundation.activate()},t.prototype.deactivate=function(){this.foundation.deactivate()},t.prototype.layout=function(){this.foundation.layout()},t.prototype.getDefaultFoundation=function(){return new s.E(t.createAdapter(this))},t.prototype.initialSyncWithDOM=function(){var e=this.root;this.isUnbounded="mdcRippleIsUnbounded"in e.dataset},t.prototype.setUnbounded=function(){this.foundation.setUnbounded(Boolean(this.isUnbounded))},t}(i.O)},function(e,t){
54
+ function r(e,t){if(e.closest)return e.closest(t);for(var n=e;n;){if(i(n,t))return n;n=n.parentElement}return null}function i(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}function o(e){var t=e;if(null!==t.offsetParent)return t.scrollWidth;var n=t.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);var r=n.scrollWidth;return document.documentElement.removeChild(n),r}n.d(t,{cK:function(){return i},et:function(){return o},kp:function(){return r}})},function(e,t,n){var r=function(e,t){return function(n){"function"==typeof e?e(n):e&&"current"in e&&(e.current=n),"function"==typeof t?t(n):t&&"current"in t&&(t.current=n)}};Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const i=n(1),o=n(0),a=n(3),s=n(22),l=n(96),u=o.createContext({});function c(e){const{children:t,className:n,primary:c,accent:d,unbounded:f,surface:p,foundationRef:h,...m}=e,{rootEl:v,surfaceEl:g}=(e=>{const t=o.useRef(!1),{foundation:n,...r}=a.useFoundation({props:e,elements:{rootEl:!0,surfaceEl:!0},foundation:({rootEl:e,surfaceEl:t,getProps:n})=>new l.MDCRippleFoundation({addClass:e=>{t.addClass(e)},browserSupportsCssVars:()=>l.util.supportsCssVariables(window),computeBoundingRect:()=>e.ref?e.ref.getBoundingClientRect():a.emptyClientRect,containsEventTarget:t=>!!e.ref&&e.ref.contains(t),deregisterDocumentInteractionHandler:(e,t)=>document.documentElement.removeEventListener(e,t),deregisterInteractionHandler:(e,t)=>{},deregisterResizeHandler:e=>window.removeEventListener("resize",e),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset}),isSurfaceActive:()=>!!e.ref&&a.matches(e.ref,":active"),isSurfaceDisabled:()=>!!n().disabled,removeClass:e=>{t.removeClass(e)},isUnbounded:()=>!!n().unbounded,registerDocumentInteractionHandler:(e,t)=>document.documentElement.addEventListener(e,t,{passive:!0}),registerInteractionHandler:(e,t)=>{},registerResizeHandler:e=>window.addEventListener("resize",e),updateCssVariable:(e,n)=>t.setStyle(e,n)})}),{rootEl:i}=r,s=o.useCallback(e=>{e.persist(),n.activate(e)},[n]),u=o.useCallback(e=>{e.persist(),n.deactivate()},[n]),{onFocus:c}=e,d=o.useCallback(e=>{null==c||c(e),n.handleFocus()},[n,c]),{onBlur:f}=e,p=o.useCallback(e=>{null==f||f(e),n.handleBlur()},[n,f]),{onMouseDown:h}=e,m=o.useCallback(e=>{null==h||h(e),t.current||s(e),t.current=!1},[h,s]),{onMouseUp:v}=e,g=o.useCallback(e=>{null==v||v(e),u(e)},[v,u]),{onTouchStart:y}=e,_=o.useCallback(e=>{t.current=!0,null==y||y(e),s(e)},[y,s]),{onTouchEnd:b}=e,E=o.useCallback(e=>{null==b||b(e),u(e)},[b,u]),{onKeyDown:x}=e,C=o.useCallback(e=>{null==x||x(e),s(e)},[x,s]),{onKeyUp:I}=e,S=o.useCallback(e=>{null==I||I(e),u(e)},[I,u]);return i.setProp("onFocus",d,!0),i.setProp("onBlur",p,!0),i.setProp("onMouseDown",m,!0),i.setProp("onMouseUp",g,!0),i.setProp("onTouchStart",_,!0),i.setProp("onTouchEnd",E,!0),i.setProp("onKeyDown",C,!0),i.setProp("onKeyUp",S,!0),o.useEffect(()=>{n.setUnbounded(!!e.unbounded)},[e.unbounded,n]),o.useEffect(()=>{e.disabled&&n.handleBlur()},[e.disabled,n]),{...r}})(e),y=s.useProviderContext(),_=o.Children.only(t);if(!y.ripple)return i.jsx(i.Fragment,{children:t});if(!o.isValidElement(_))return null;const b=f?{"data-mdc-ripple-is-unbounded":!0}:{},E=!p||!f?g.props({style:_.props.style}):{};let x=a.classNames(n!==_.props.className&&n,E.className,_.props.className,{"mdc-ripple-surface":"boolean"==typeof p?p:void 0===p,"mdc-ripple-surface--primary":c,"rmwc-ripple-surface--primary":c,"mdc-ripple-surface--accent":d,"rmwc-ripple-surface--accent":d});m.disabled&&(x=x.replace("mdc-ripple-upgraded--background-focused",""));const C=o.cloneElement(_,{ref:r(_.ref,v.reactRef),..._.props,...b,...v.props({...m,style:_.props.style,...E,className:x})});return i.jsx(u.Provider,{value:g.props({style:_.props.style}),children:C})}t.Ripple=c,t.RippleSurface=({className:e,...t})=>i.jsx(u.Consumer,{children:n=>i.jsx("div",{...t,...n,className:`${e} ${n.className||""}`})}),t.withRipple=({unbounded:e,accent:t,surface:n}={})=>r=>{const a=o.forwardRef(({ripple:o,...a},l)=>{const u=s.useProviderContext(),d="object"!=typeof(o=o??u.ripple)?{}:o;return o?i.jsx(c,{...a,accent:d.accent||t,unbounded:d.unbounded||e,surface:d.surface||n,children:i.jsx(r,{...a,ref:l})}):i.jsx(r,{...a,ref:l})});return a.displayName=`withRipple(${r.displayName||r.constructor.name||"Unknown"})`,a}},function(e,t,n){n.d(t,{E:function(){return c}});var r=n(2),i=n(4),o=n(65),a=n(50),s=["touchstart","pointerdown","mousedown","keydown"],l=["touchend","pointerup","mouseup","contextmenu"],u=[],c=function(e){function t(n){var i=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return i.activationAnimationHasEnded=!1,i.activationTimer=0,i.fgDeactivationRemovalTimer=0,i.fgScale="0",i.frame={width:0,height:0},i.initialSize=0,i.layoutFrame=0,i.maxRadius=0,i.unboundedCoords={left:0,top:0},i.activationState=i.defaultActivationState(),i.activationTimerCallback=function(){i.activationAnimationHasEnded=!0,i.runDeactivationUXLogicIfReady()},i.activateHandler=function(e){i.activateImpl(e)},i.deactivateHandler=function(){i.deactivateImpl()},i.focusHandler=function(){i.handleFocus()},i.blurHandler=function(){i.handleBlur()},i.resizeHandler=function(){i.layout()},i}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return o.Y7},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return o.P$},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return o.nL},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,n=this.supportsPressRipple();if(this.registerRootHandlers(n),n){var r=t.cssClasses,i=r.ROOT,o=r.UNBOUNDED;requestAnimationFrame(function(){e.adapter.addClass(i),e.adapter.isUnbounded()&&(e.adapter.addClass(o),e.layoutInternal())})}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var n=t.cssClasses,r=n.ROOT,i=n.UNBOUNDED;requestAnimationFrame(function(){e.adapter.removeClass(r),e.adapter.removeClass(i),e.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},t.prototype.activate=function(e){this.activateImpl(e)},t.prototype.deactivate=function(){this.deactivateImpl()},t.prototype.layout=function(){var e=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){e.layoutInternal(),e.layoutFrame=0})},t.prototype.setUnbounded=function(e){var n=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame(function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)})},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame(function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)})},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var t,n;if(e){try{for(var i=(0,r.Ju)(s),o=i.next();!o.done;o=i.next()){var a=o.value;this.adapter.registerInteractionHandler(a,this.activateHandler)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},t.prototype.registerDeactivationHandlers=function(e){var t,n;if("keydown"===e.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var i=(0,r.Ju)(l),o=i.next();!o.done;o=i.next()){var a=o.value;this.adapter.registerDocumentInteractionHandler(a,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},t.prototype.deregisterRootHandlers=function(){var e,t;try{for(var n=(0,r.Ju)(s),i=n.next();!i.done;i=n.next()){var o=i.value;this.adapter.deregisterInteractionHandler(o,this.activateHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,t;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var n=(0,r.Ju)(l),i=n.next();!i.done;i=n.next()){var o=i.value;this.adapter.deregisterDocumentInteractionHandler(o,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,n=t.strings;Object.keys(n).forEach(function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(n[t],null)})},t.prototype.activateImpl=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState;if(!n.isActivated){var r=this.previousActivationEvent;if(!(r&&void 0!==e&&r.type!==e.type))n.isActivated=!0,n.isProgrammatic=void 0===e,n.activationEvent=e,n.wasActivatedByPointer=!n.isProgrammatic&&(void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type)),void 0!==e&&u.length>0&&u.some(function(e){return t.adapter.containsEventTarget(e)})?this.resetActivationState():(void 0!==e&&(u.push(e.target),this.registerDeactivationHandlers(e)),n.wasElementMadeActive=this.checkElementMadeActive(e),n.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){u=[],n.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(n.wasElementMadeActive=t.checkElementMadeActive(e),n.wasElementMadeActive&&t.animateActivation()),n.wasElementMadeActive||(t.activationState=t.defaultActivationState())}))}}},t.prototype.checkElementMadeActive=function(e){return void 0===e||"keydown"!==e.type||this.adapter.isSurfaceActive()},t.prototype.animateActivation=function(){var e=this,n=t.strings,r=n.VAR_FG_TRANSLATE_START,i=n.VAR_FG_TRANSLATE_END,o=t.cssClasses,a=o.FG_DEACTIVATION,s=o.FG_ACTIVATION,l=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var u="",c="";if(!this.adapter.isUnbounded()){var d=this.getFgTranslationCoordinates(),f=d.startPoint,p=d.endPoint;u=f.x+"px, "+f.y+"px",c=p.x+"px, "+p.y+"px"}this.adapter.updateCssVariable(r,u),this.adapter.updateCssVariable(i,c),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer=setTimeout(function(){e.activationTimerCallback()},l)},t.prototype.getFgTranslationCoordinates=function(){var e,t=this.activationState,n=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?(0,a.getNormalizedEventCoords)(n,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:e.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,n=t.cssClasses.FG_DEACTIVATION,r=this.activationState,i=r.hasDeactivationUXRun,a=r.isActivated;(i||!a)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer=setTimeout(function(){e.adapter.removeClass(n)},o.nL.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return e.previousActivationEvent=void 0},t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,t=this.activationState;if(t.isActivated){var n=(0,r.Cl)({},t);t.isProgrammatic?(requestAnimationFrame(function(){e.animateDeactivation(n)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(n),e.resetActivationState()}))}},t.prototype.animateDeactivation=function(e){var t=e.wasActivatedByPointer,n=e.wasElementMadeActive;(t||n)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=this;this.frame=this.adapter.computeBoundingRect();var n=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?n:Math.sqrt(Math.pow(e.frame.width,2)+Math.pow(e.frame.height,2))+t.numbers.PADDING;var r=Math.floor(n*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize=r-1:this.initialSize=r,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,n=e.VAR_FG_SIZE,r=e.VAR_LEFT,i=e.VAR_TOP,o=e.VAR_FG_SCALE;this.adapter.updateCssVariable(n,this.initialSize+"px"),this.adapter.updateCssVariable(o,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(i,this.unboundedCoords.top+"px"))},t}(i.I)},function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,r;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__webpack_dirname__&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(0),r=__webpack_require__(1),function(){var t=[,function(t){t.exports=e},function(e){e.exports=r}],n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,i),o.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{Dummy:function(){return u},reference:function(){return l}});var a=i(1),s=i(2),l={current:null},u=(0,a.forwardRef)(function(e,t){var n;return l.current=t,(0,s.jsx)("div",{children:null!==(n=e.children)&&void 0!==n?n:null})});return u.isDummy=!0,o.default=u,o}())},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),i=n(0),o=n(3),a={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",transparent:"#ffffff",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},s=e=>a[e]||e,l=e=>{4===e.length&&(e+=e.slice(1));const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:{r:0,g:0,b:0}},u=(e,t,n)=>{let r=[e,t,n].map(function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return.2126*r[0]+.7152*r[1]+.0722*r[2]},c=(e,t)=>(u(e[0],e[1],e[2])+.05)/(u(t[0],t[1],t[2])+.05),d=e=>(e=s(e),l(e)),f=e=>{const{r:t,g:n,b:r}=d(e);return!(c([255,255,255],[t,n,r])>3)},p={"--mdc-theme-primary":[["--mdc-theme-on-primary",0]],"--mdc-theme-surface":[["--mdc-theme-on-surface",0]],"--mdc-theme-secondary":[["--mdc-theme-on-secondary",0]],"--mdc-theme-background":[["--mdc-theme-text-primary-on-background",0],["--mdc-theme-text-secondary-on-background",1],["--mdc-theme-text-hint-on-background",2],["--mdc-theme-text-disabled-on-background",2],["--mdc-theme-text-icon-on-background",2]]},h=["rgba(0, 0, 0, 0.87)","rgba(0, 0, 0, 0.54)","rgba(0, 0, 0, 0.38)"],m=["rgba(255, 255, 255, 1)","rgba(255, 255, 255, 0.7)","rgba(255, 255, 255, 0.5)"],v=e=>({...Object.keys(p).reduce((t,n)=>{if(e[n]){const r=f(e[n])?h:m;p[n].forEach(e=>{t[e[0]]=r[e[1]]})}return t},{}),...e}),g=o.createComponent(function(e,t){const{use:n,wrap:i,...a}=e,s=o.useClassNames(e,[o.parseThemeOptions(n).join(" ")]);return i?o.wrapChild({...a,ref:t,className:s}):r.jsx(o.Tag,{tag:"span",theme:n,...a,ref:t,className:s})}),y=o.createComponent(function(e,t){var n,a;const s=JSON.stringify(e.options),l=i.useMemo(()=>{const t=Object.keys(e.options).reduce((t,n)=>{const r=e.options[n];return t[n=n.startsWith("--")?n:`--mdc-theme-${o.toDashCase(n)}`]=r,t},{});return v(t)},[s]),{options:u,style:c={},wrap:d,...f}=e,p=o.useClassNames(e,[d&&"object"==typeof f.children&&(null==(a=null==(n=f.children)?void 0:n.props)?void 0:a.className)]),h={...c,...l};return d&&f.children?o.wrapChild({...f,style:h,ref:t}):r.jsx(o.Tag,{...f,style:h,className:p,ref:t})});t.Theme=g,t.ThemeProvider=y,t.contrast=c,t.getAutoColorsForTheme=v,t.getRgb=d,t.hexToRgb=l,t.isLight=f,t.luminance=u,t.nameToHex=s},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),i=n(3),o=n(22),a={headline1:"h1",headline2:"h2",headline3:"h3",headline4:"h4",headline5:"h5",headline6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",caption:"span",button:"span",overline:"span"},s=i.createComponent(function(e,t){const{use:n,...s}=e,l=o.useProviderContext().typography,u=(null==l?void 0:l[n])||(null==l?void 0:l.defaultTag)||a[n],c=i.useClassNames(e,[{[`mdc-typography--${e.use}`]:e.use}]);return r.jsx(i.Tag,{tag:u,...s,ref:t,className:c})});t.Typography=s},function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,r,n,i,o,s,a,l,p,c,u;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__webpack_dirname__&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(6),t=__webpack_require__(15),r=__webpack_require__(8),n=__webpack_require__(7),i=__webpack_require__(11),o=__webpack_require__(12),s=__webpack_require__(0),a=__webpack_require__(9),l=__webpack_require__(62),p=__webpack_require__(41),c=__webpack_require__(42),u=__webpack_require__(43),function(){var d=[function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=t},function(e,t,n){var r=n(0),i=n.n(r),o=n(1),a=n(2);t.default=function(e){return void 0===e&&(e={}),e=i()({readAttribute:!0,type:a.string},e),function(t,n){if("string"==typeof n){var r,a=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(a,"observedAttributes")||(a.observedAttributes=a.observedAttributes?[].concat(a.observedAttributes):[]);var s=(0,o.camelCaseToDelimited)(n);a.observedAttributes&&!a.observedAttributes.includes(s)&&a.observedAttributes.push(s)}e.type&&(Object.prototype.hasOwnProperty.call(a,"propertyTypes")||(a.propertyTypes=a.propertyTypes?i()({},a.propertyTypes):{}),!a.propertyTypes||!e.update&&Object.prototype.hasOwnProperty.call(a,n)||(a.propertyTypes[n]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(a,"propertiesToReflectAsAttributes")||(a.propertiesToReflectAsAttributes=a.propertiesToReflectAsAttributes?(0,o.copy)(a.propertiesToReflectAsAttributes):[]),(e.update||a.propertiesToReflectAsAttributes instanceof Map&&!a.propertiesToReflectAsAttributes.has(n)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(n)||"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,n))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&a.propertyTypes&&Object.prototype.hasOwnProperty.call(a.propertyTypes,n)&&(r=a.propertyTypes[n]):r=e.writeAttribute,void 0!==r&&(Array.isArray(a.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?a.propertiesToReflectAsAttributes.push(n):a.normalizePropertyTypeList&&(a.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes))),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(n,r),"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[n]=r)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?i()({},a.propertyAliases):{}),!a.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(a,n)||(a.propertyAliases[n]=e.alias))}}}},function(e){e.exports=i},function(e){e.exports=o},function(e,t,n){n.d(t,{api:function(){return A}});var r,i,o,a,s=n(5),l=n.n(s),u=n(8),c=n.n(u),d=n(0),f=n.n(d),p=n(3),h=n.n(p),m=n(9),v=n.n(m),g=(n(10),n(6)),y=n.n(g),_=n(1),b=n(2),E=n(4);function x(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={}.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=Array(t);n<t;n++)r[n]=e[n];return r}var I=new _.Logger({name:"web-component-wrapper-web"}),S="undefined"==typeof HTMLElement?function(){}:HTMLElement,O=(r=(0,E.default)({type:b.boolean,writeAttribute:!0}),a=function(e){function t(){var n;return(n=e.call(this)||this).renderState={promise:Promise.resolve(""),pending:!1,resolve:_.NOOP},n.childComponentInstances=[],n.batchAttributeUpdates=!0,n.batchPropertyUpdates=!0,n.batchUpdates=!0,n.batchedAttributeUpdateRunning=!0,n.batchedPropertyUpdateRunning=!0,n.batchedUpdateRunning=!0,n.parentInstance=null,n.rootInstance=void 0,n.hostDomNode=void 0,n.scope=f()({},_.UTILITY_SCOPE),n.domNodeEventBindings=new Map,n.domNodeTemplateCache=new Map,n.externalProperties={},n.ignoreAttributeUpdateObservations=!1,n.internalProperties={},n.outputEventNames=new Set,n.instance=null,c()(n,"isRoot",o,n),n.runDomConnectionAndRenderingInSameEventQueue=!1,n.self=t,n.slots={},n.prepareNewRenderingPromise(),n.self=n.constructor,n.self._propertiesToReflectAsAttributes||(n.self._propertiesToReflectAsAttributes=n.self.normalizePropertyTypeList(n.self.propertiesToReflectAsAttributes)),n.generateAliasIndex(),n.hostDomNode=n,n.rootInstance=n,n.defineGetterAndSetterInterface(),n}h()(t,e);var n=t.prototype;return n.attributeChangedCallback=function(e,t,n){this.ignoreAttributeUpdateObservations||t===n||this.onUpdateAttribute(e,n)},n.onUpdateAttribute=function(e,t){var n=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,_.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.parentInstance=this,this.rootInstance=this,this.attachEventHandler(),this.self.determineRootBinding&&(this.determineRootBinding(),this.parentInstance!==this&&this.parentInstance.childComponentInstances&&this.parentInstance.childComponentInstances.push(this)),this.self.applyRootBinding&&this.isRoot&&(this.determineRenderScope(),this.applyBinding(this,this.scope)),this.batchedAttributeUpdateRunning=!1,this.batchedPropertyUpdateRunning=!1,this.batchedUpdateRunning=!1,this.grabGivenSlots(),this.reflectExternalProperties(this.externalProperties),this.runDomConnectionAndRenderingInSameEventQueue?this.render("connected"):(0,_.timeout)(function(){e.render("connected")})},n.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=x(this.domNodeEventBindings.values());!(e=t()).done;)for(var n,r=x(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=x((0,_.unique)(Object.keys(this.self.propertyTypes).concat(this.self._propertyAliasIndex?Object.keys(this.self._propertyAliasIndex):[])));!(e=r()).done;)n()},n.getPropertyAlias=function(e){return this.self._propertyAliasIndex&&Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},n.getPropertyValue=function(e){var n,r,i=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]:i},n.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.externalProperties[n]=t)},n.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.internalProperties[n]=t)},n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=t,n)),this.setInternalPropertyValue(e,t)},n.triggerPropertySpecificRendering=function(e,t){var n=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,_.timeout)(function(){void 0!==t&&n.isStateProperty(e)?(n.render("preStatePropertyChanged"),(0,_.timeout)(function(){n.setInternalPropertyValue(e,void 0),n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("postStatePropertyChanged"),n.triggerOutputEvents()})):(n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("propertyChanged"),n.triggerOutputEvents())}));else{var r=this.isStateProperty(e);this.render(r?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&r&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},n.applyBinding=function(e,t){var n=this;if(e.getAttributeNames)for(var r,i=function(){var i,o=r.value;if(o.startsWith("data-bind-")?i=o.substring(10):o.startsWith("bind-")&&(i=o.substring(5)),i){var a=e.getAttribute(o);if(null===a)return 0;if(i.startsWith("attribute-")||i.startsWith("property-")){var s=(0,_.evaluate)(a,t,!1,!0,e);if(s.error)return I.warn("Error occurred during processing given",'attribute binding "'+o+'" on node:',e,s.error),0;i.startsWith("attribute-")?e.setAttribute(i.substring(10),s.result):e[(0,_.delimitedToCamelCase)(i.substring(9))]=s.result}else if(i.startsWith("on-")){i=(0,_.delimitedToCamelCase)(i.substring(3)),t=f()({log:I,event:void 0,parameters:void 0},t);var l=(0,_.compile)(a,t,!0,!0,e);l.error?I.warn("Error occurred during compiling given event",'binding "'+o+'" on node:',e,l.error):n.addSecureEventListener(e,i,function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.event=r[0],t.parameters=r;try{l.templateFunction.apply(l,l.originalScopeNames.map(function(e){return t[e]}))}catch(t){I.warn("Error occurred during processing","given event binding",'"'+o+'" on node:',e,'Given expression "'+a+'" could',"not be evaluated with given scope",'names "'+l.scopeNames.join('", "')+'": '+(0,_.represent)(t))}})}}},o=x(e.getAttributeNames());!(r=o()).done;)i()},n.applyBindings=function(e,t,n){for(void 0===n&&(n=!0);e;){var r;null==(r=e.attributes)||!r.length||!n&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},n.compileDomNodeTemplate=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={}),n=f()({ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},n);var r=e.nodeName.toLowerCase();if(n.ignoreComponents&&r.includes("-"))return null;if(n.unsafe){var i=e.innerHTML;if(!i&&e.template&&(i=e.template),this.self.hasCode(i)){var o=(0,_.compile)("`"+i+"`",t);return{domNode:e,children:[],error:o.error,scopeNames:o.scopeNames,template:i,templateFunction:o.templateFunction}}return null}var a=null;if("#text"===r){var s=e.textContent;s&&this.self.hasCode(s)&&(a=s.replace(/&nbsp;/g," ").trim())}var l=[],u={children:l,domNode:e};if(a){var c=(0,_.compile)("`"+a+"`",t);u.error=c.error,u.scopeNames=c.scopeNames,u.template=a,u.templateFunction=c.templateFunction}for(var d=e.firstChild;d;){if(!n.filter||n.filter(d)){var p=this.compileDomNodeTemplate(d,t,f()({},n,{ignoreComponents:n.ignoreNestedComponents}));p&&l.push(p)}d=d.nextSibling}return u},n.evaluateCompiledDomNodeTemplate=function(e,t){var n=e.domNode,r=e.error,i=e.templateFunction,o=e.scopeNames;if(!i||!o)return null;if(r)return I.warn("Error occurred during compiling node content:",r),null;var a=null;try{a=i.apply(void 0,o.map(function(e){return t[e]}))}catch(r){I.warn('Error occurred when "'+this.self._name+'" is running','"'+String(i)+'": with bound','names "'+o.join('", "')+'":','"'+r+'". Rendering node:',n)}return a},n.evaluateDomNodeTemplate=function(e,t,n){var r=this;void 0===t&&(t={}),void 0===n&&(n={});var i=(n=f()({domNodeTemplateCache:this.domNodeTemplateCache,ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},n)).domNodeTemplateCache;if(!i.has(e)){var o={filter:n.filter,ignoreComponents:n.ignoreComponents,ignoreNestedComponents:n.ignoreNestedComponents,unsafe:n.unsafe},a=this.compileDomNodeTemplate(e,t,o);a&&i.set(e,a)}if(i.has(e)){var s=i.get(e),l=this.evaluateCompiledDomNodeTemplate(s,t);if(null!==l&&(n.unsafe&&e.innerHTML?e.innerHTML=l:e.textContent=l),s.children.length){var u=function(e){for(var n,i=x(e);!(n=i()).done;){var o=n.value,a=r.evaluateCompiledDomNodeTemplate(o,t);null!==a&&(o.domNode.textContent=a),o.children.length&&u(o.children)}};u(s.children)}}n.applyBindings&&this.applyBindings(e,t)},n.addSecureEventListener=function(e,t,n,r,i){var o=this;this.domNodeEventBindings.has(e)||this.domNodeEventBindings.set(e,new Map);var a=this.domNodeEventBindings.get(e),s=null==a?void 0:a.get(t);s&&s!==n&&s(),null==a||a.set(t,function(){e.removeEventListener(t,n,i),a.delete(t),0===a.size&&o.domNodeEventBindings.delete(e)}),e.addEventListener(t,n,r)},n.determineRootBinding=function(){for(var e=this.parentNode;e;){var n=e instanceof t||e.nodeName.includes("-")&&"#document-fragment"!==e.nodeName,r=null===e.parentNode&&"[object ShadowRoot]"===e.toString();n?(this.rootInstance===this&&(this.parentInstance=e,this.setPropertyValue("isRoot",!1)),this.rootInstance=e):r&&this.setPropertyValue("isRoot",!1),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,i=new Map,o=x(r);!(n=o()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&i.set(a,t.propertyTypes[a])}return i}return(0,_.convertPlainObjectToMap)(e)},n.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},n.attachExplicitDefinedOutputEventHandler=function(){var e=this;if(!this.self.eventToPropertyMapping)return!1;for(var t=!1,n=function(){var n=i[r];Object.prototype.hasOwnProperty.call(e.internalProperties,n)||(t=!0,e.outputEventNames.add(n),e.setInternalPropertyValue(n,l()(y().mark(function t(){var r,i,o,a,s=arguments;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(r=s.length,i=new Array(r),o=0;o<r;o++)i[o]=s[o];return t.next=1,e.reflectEventToProperties(n,i);case 1:(a=t.sent)&&(i[0]=a),e.forwardEvent(n,i);case 2:case"end":return t.stop()}},t)}))))},r=0,i=Object.keys(this.self.eventToPropertyMapping);r<i.length;r++)n();return t},n.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var n=function(){var n=i[r],o=n[0],a=n[1];Object.prototype.hasOwnProperty.call(t.internalProperties,o)||![b.func,"function"].includes(a)||t.self.renderProperties.includes(o)||(t.outputEventNames.add(o),t.setInternalPropertyValue(o,function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e&&t.reflectEventToProperties(o,r),t.forwardEvent(o,r)}))},r=0,i=Object.entries(this.self.propertyTypes);r<i.length;r++)n()},n.triggerOutputEvents=function(){for(var e,t=x(this.outputEventNames);!(e=t()).done;){var n=e.value;this.forwardEvent(n,[this.externalProperties])}},n.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=(0,_.lowerCase)(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},n.applySlots=function(e,n){for(var r=this,i=0,o=Array.from(e.querySelectorAll("slot"));i<o.length;i++){var a=o[i],s=a.getAttribute("name");if(null===s||"default"===s)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var l,u=x(this.slots.default);!(l=u()).done;){var c=l.value;this.evaluateDomNodeTemplate(c,n)}(0,_.replace)(a,this.slots.default,t.trimSlots)}}else this.slots.default=(0,_.unwrap)(a).map(function(e){return r.grabSlotContent(e)});else this.slots[s]?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[s],n),(0,_.replace)(a,this.slots[s],t.trimSlots)):this.slots[s]=this.grabSlotContent((0,_.unwrap)(a).filter(function(e){return"#text"!==e.nodeName.toLowerCase()})[0])}},n.grabSlotContent=function(e){var t,n=b.node.firstElementChild?e:null;if(n&&"textarea"===(null==(t=n.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!n.firstElementChild.hasAttribute("data-no-template")||"false"===n.firstElementChild.getAttribute("data-no-template"))){var r=n.firstElementChild.value;n.classList.remove("web-component-template");var i=n.cloneNode();return n.classList.add("web-component-template"),i.innerHTML="",i.template=r,i}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,i=n[t],o=i.parentNode,a=!0;o;){if(o.nodeName.includes("-")){o===this&&(a=!1);break}o=o.parentNode}if(!a){var s=null==(r=i.getAttribute("slot"))?void 0:r.trim();this.slots[null!=s?s:i.nodeName.toLowerCase()]=this.grabSlotContent(i)}}this.slots.default?this.slots.default=[].concat(this.slots.default):this.childNodes.length>0?this.slots.default=Array.from(this.childNodes).map(function(t){return e.grabSlotContent(t)}):this.slots.default=[]},n.isStateProperty=function(e){var t;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(this.instance.current.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},n.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=f()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var n=t[e],r=n[0],i=n[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,i)||(this.self._propertyAliasIndex[i]=r)}}},n.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,n=Object.entries(e);t<n.length;t++){var r,i=n[t],o=i[0],a=i[1];if(this.setExternalPropertyValue(o,a),this.isConnected){var s=(0,_.camelCaseToDelimited)(o);if(null!=(r=this.self._propertiesToReflectAsAttributes)&&r.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case b.boolean:case"boolean":a?""!==this.getAttribute(s)&&this.setAttribute(s,""):this.hasAttribute(s)&&this.removeAttribute(s);break;case b.func:case"function":break;case"json":if(a){var l=JSON.stringify(a);if(l&&this.getAttribute(s)!==l){this.setAttribute(s,l);break}}this.hasAttribute(s)&&this.removeAttribute(s);break;case b.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(s)&&this.removeAttribute(s);else{var u=String(a);this.getAttribute(s)!==u&&this.setAttribute(s,u)}break;case b.string:case"string":a?this.getAttribute(s)!==a&&this.setAttribute(s,a):this.hasAttribute(s)&&this.removeAttribute(s);break;case b.any:case b.array:case b.arrayOf:case b.element:case b.elementType:case b.instanceOf:case b.node:case b.object:case"object":case b.objectOf:case b.shape:case b.exact:case b.symbol:default:if(a){var c=(0,_.represent)(a);if(c&&this.getAttribute(s)!==c){this.setAttribute(s,c);break}}this.hasAttribute(s)&&this.removeAttribute(s)}}}this.ignoreAttributeUpdateObservations=!1},n.reflectProperties=function(e){var t,n;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var r,i=x(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(r=i()).done;){var o=r.value;Object.prototype.hasOwnProperty.call(this.internalProperties,o)&&this.setInternalPropertyValue(o,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(delete this.internalProperties.model.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var a,s=x(this.self.controllableProperties);!(a=s()).done;){var l=a.value;Object.prototype.hasOwnProperty.call(e,l)&&this.setInternalPropertyValue(l,e[l])}},n.reflectEventToProperties=function(){var e=l()(y().mark(function e(t,n){var r,i,o,a,s,l,u,c,d,p,h,m,v,g,b,E,C;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.batchUpdates,this.batchUpdates=!1,i=null,o=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&(0,_.isFunction)(this.self.eventToPropertyMapping[t]))){e.next=4;break}if(!((s=(a=this.self.eventToPropertyMapping)[t].apply(a,n.concat([this])))&&"then"in s&&(0,_.isFunction)(s.then))){e.next=2;break}return e.next=1,s;case 1:C=e.sent,e.next=3;break;case 2:C=s;case 3:l=C,o=!0,Array.isArray(l)?(i=l[0],this.reflectProperties(i),(0,_.extend)(!0,this.internalProperties,l[1])):null===l?o=!1:"object"==typeof l&&(i=l,this.reflectProperties(l));case 4:if(!o&&n.length>0&&(0,_.isObject)(n[0])){if(c=n[0],"persist"in n[0]&&(0,_.isFunction)(n[0].persist))for(c={},d=0,p=Object.keys(this.self.propertyTypes);d<p.length;d++)for(h=p[d],m=x([h].concat(null!==(g=this.getPropertyAlias(h))&&void 0!==g?g:[]));!(v=m()).done;)b=v.value,(E=n[0].currentTarget&&Object.prototype.hasOwnProperty.call(n[0].currentTarget,b)?n[0].currentTarget[b]:this.getPropertyValue(b))!==this.externalProperties[b]&&(c[b]=E);else[null,void 0].includes(null==(u=c.detail)?void 0:u.value)||(c=f()({},c.detail));i=c,this.reflectProperties(c)}return this.triggerRender("propertyReflected"),this.batchUpdates=r,e.abrupt("return",i);case 5:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}(),n.evaluateStringOrNullAndSetAsProperty=function(e,t){var n=this,r=e.startsWith("-"),i=r?e.substring(1):e,o=(0,_.delimitedToCamelCase)(i),a=this.getPropertyAlias(o);if(a&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)&&(o=a),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,o)){var s=this.self.propertyTypes[o];if(r){if(t){var l=(0,_.evaluate)(t,f()({},_.UTILITY_SCOPE),!1,!0,this);l.error?(I.warn("Failed to process pre-evaluation attribute",'"'+e+'": '+l.error+". Will be",'set to "undefined".'),this.setInternalPropertyValue(o,void 0)):(this.setInternalPropertyValue(o,l.result),this.setExternalPropertyValue(o,l.result))}}else switch(s){case b.boolean:case"boolean":var u=![null,"false"].includes(t);this.setInternalPropertyValue(o,u),this.setExternalPropertyValue(o,u);break;case b.func:case"function":var c,d=null,p=["data","event","firstArgument","firstParameter","options","scope","parameters"].concat(_.UTILITY_SCOPE_NAMES);if(t){var h=(0,_.compile)(t,p);d=h.error,c=h.templateFunction,d&&I.warn("Failed to compile given handler",'"'+e+'": '+d+".")}this.setInternalPropertyValue(o,function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];n.outputEventNames.has(o)&&n.reflectEventToProperties(o,i);var s=void 0;if(!d)try{var l;s=null==(l=c)?void 0:l.call.apply(l,[n,i[0],i[0],i[0],i[0],i[0],i[0],i].concat(_.UTILITY_SCOPE_VALUES))}catch(n){I.warn("Failed to evaluate function",'"'+e+'" with expression','"'+t+'" and scope',"variables",'"'+p.join('", "')+'" set to','"'+(0,_.represent)(i)+'":',n+". Set property",'to "undefined".')}return n.self.renderProperties.includes(o)||n.forwardEvent(o,i),s}),d||this.setExternalPropertyValue(o,c);break;case"json":if(t){var m;try{m=JSON.parse(t)}catch(d){I.warn("Error occurred during parsing given json",'attribute "'+e+'":',(0,_.represent)(d));break}this.setInternalPropertyValue(o,m),this.setExternalPropertyValue(o,(0,_.copy)(m,!1,1))}else this.setInternalPropertyValue(o,null),this.setExternalPropertyValue(o,null);break;case b.number:case"number":if(null===t){this.setInternalPropertyValue(o,t),this.setExternalPropertyValue(o,t);break}var v=parseFloat(t);isNaN(v)&&(v=void 0),this.setInternalPropertyValue(o,v),this.setExternalPropertyValue(o,v);break;case b.string:case"string":this.setInternalPropertyValue(o,t),this.setExternalPropertyValue(o,t);break;case b.any:case b.array:case b.arrayOf:case b.element:case b.elementType:case b.instanceOf:case b.node:case b.object:case"object":case b.objectOf:case b.oneOf:case b.oneOfType:case b.shape:case b.exact:case b.symbol:default:if(t){var g=(0,_.evaluate)(t,{},!1,!0,this);if(g.error){I.warn("Error occurred during processing given",'attribute configuration "'+e+'":',g.error);break}this.setInternalPropertyValue(o,g.result),this.setExternalPropertyValue(o,(0,_.copy)(g.result,!1,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(o,!0),this.setExternalPropertyValue(o,!0)):(this.setInternalPropertyValue(o,null),this.setExternalPropertyValue(o,null))}}},n.waitForNestedComponentRendering=function(){var e=l()(y().mark(function e(){return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.childComponentInstances){e.next=1;break}return e.abrupt("return");case 1:return e.next=2,Promise.all(this.childComponentInstances.map(function(e){return e.renderState.pending?e.renderState.promise:Promise.resolve()}));case 2:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),n.resolveRenderingPromiseIfSet=function(){var e=l()(y().mark(function e(t,n){return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=2;break}return e.next=1,this.waitForNestedComponentRendering();case 1:this.renderState.pending=!1,this.renderState.resolve(t),this.prepareNewRenderingPromise();case 2:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}(),n.prepareNewRenderingPromise=function(){var e=this;this.renderState.pending||(this.renderState.promise=new Promise(function(t){e.renderState.resolve=function(n){e.renderState.pending=!1,t(n)}}))},n.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,(0,_.timeout)(function(){t.batchedUpdateRunning=!1,t.render(e)})):this.render(e)},n.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.hostDomNode===this&&(this.hostDomNode=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow((0,_.isObject)(this.self.shadowDOM)?this.self.shadowDOM:{mode:"open"}))},n.determineRenderScope=function(e){var t,n;void 0===e&&(e={}),this.scope=f()({},(null==(t=this.parentInstance)?void 0:t.scope)||{},this.scope,this.internalProperties,((n={parentInstance:this.parentInstance,rootInstance:this.rootInstance,self:this})[(0,_.lowerCase)(this.self._name)||"instance"]=this,n),e),this.scope.scope=this.scope},n.render=function(){var e=l()(y().mark(function e(t,n){var r,i,o=this;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t="unknown"),void 0===n&&(n=!0),this.childComponentInstances=[],this.renderState.pending=!0,!this.isRoot){e.next=3;break}return e.next=1,this.resolveRenderingPromiseIfSet(t,n);case 1:if(!n){e.next=3;break}return e.next=2,Promise.all(this.self.pendingRenderPromises);case 2:this.self.pendingRenderPromises=[];case 3:if(this.self.pendingRenderPromises.push(this.renderState.promise),this.determineRenderScope(),this.self.doRender&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:t,scope:this.scope}}))){e.next=5;break}return e.next=4,this.resolveRenderingPromiseIfSet(t,n);case 4:return e.abrupt("return");case 5:if(!(r=(0,_.evaluate)("`"+this.self.content+"`",this.scope)).error){e.next=7;break}return I.warn("Failed to process template: "+r.error),this.renderState.resolve(t),e.next=6,Promise.all(this.self.pendingRenderPromises);case 6:return e.abrupt("return");case 7:return this.applyShadowRootIfNotExisting(),(i=document.createElement("div")).innerHTML=r.result,this.applySlots(i,f()({},this.scope,{parentInstance:this})),this.hostDomNode.innerHTML=i.innerHTML,e.next=8,(0,_.timeout)();case 8:return this.waitForNestedComponentRendering().then(function(){o.applyBindings(o.hostDomNode.firstChild,o.scope,o.self.renderSlots)}),e.next=9,this.resolveRenderingPromiseIfSet(t,n);case 9:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}(),t}(S),a.applyRootBinding=!0,a.pendingRenderPromises=[],a.content="<slot>Please provide a template to transclude.</slot>",a.determineRootBinding=!0,a.shadowDOM=null,a.observedAttributes=[],a.controllableProperties=[],a.eventToPropertyMapping={},a.propertyAliases={},a.propertyTypes={onClick:b.func},a.propertiesToReflectAsAttributes=[],a.renderProperties=["children"],a.doRender=!1,a.cloneSlots=!1,a.evaluateSlots=!1,a.renderSlots=!0,a.trimSlots=!0,a.renderUnsafe=!1,a._name="BaseWeb",a._propertyAliasIndex=void 0,a._propertiesToReflectAsAttributes=void 0,i=a,o=v()(i.prototype,"isRoot",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),i),A={component:O,register:function(e){void 0===e&&(e=(0,_.camelCaseToDelimited)(O._name)),customElements.define(e,O)}};t.default=O},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=s},function(e){e.exports=a},function(e){e.exports=l},function(e,t,n){n.d(t,{api:function(){return x}});var r=n(0),i=n.n(r),o=n(5),a=n.n(o),s=n(3),l=n.n(s),u=n(6),c=n.n(u),d=n(1),f=n(2),p=n(11),h=n.n(p),m=n(12),v=n(13),g=n(7);function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return _(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var b=new d.Logger({name:"web-component-wrapper-web"}),E=function(e){function t(){for(var n,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(n=e.call.apply(e,[this].concat(i))||this).unmountOnDisconnect=!0,n.compiledSlots={},n.preparedSlots={},n.reactRoot=null,n.rootReactInstance=null,n.self=t,n.wrapMemorizingWrapper=null,n.isWrapped=!1,n.reflectInstanceProperties=function(){var e;null!=(e=n.instance)&&e.current&&n.instance.current.properties&&n.reflectProperties(n.instance.current.properties)},n}l()(t,e);var n=t.prototype;return n.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},n.disconnectedCallback=function(){var t;this.unmountOnDisconnect&&(null==(t=this.reactRoot)||t.unmount()),e.prototype.disconnectedCallback.call(this)},n.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},n.render=function(){var e=a()(c().mark(function e(t,n){var r,o,a,s,l=this;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t="unknown"),void 0===n&&(n=!0),this.childComponentInstances=[],this.renderState.pending=!0,this.isRoot&&(this.self.pendingRenderPromises=[]),this.self.pendingRenderPromises.push(this.renderState.promise),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:t,scope:this.scope}}))){e.next=1;break}return e.abrupt("return",this.resolveRenderingPromiseIfSet(t,n));case 1:if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(i()({},this.scope,{parentInstance:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.rootInstance!==this&&!this.reactRoot)for(r=this.firstChild;r;)o=r.nextSibling,this.removeChild(r),r=o;if(this.reactRoot||(a=this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name,s="","string"==typeof a&&(s=a),this.reactRoot=(0,v.createRoot)(this.hostDomNode,{identifierPrefix:s})),(0,m.flushSync)(function(){var e;null==(e=l.reactRoot)||e.render((0,p.createElement)(l.self.content,l.internalProperties)),l.resolveRenderingPromiseIfSet(t,n)}),!n){e.next=2;break}return e.next=2,this.renderState.promise;case 2:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}(),n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=(0,d.copy)(t,!1,1),n)),this.setInternalPropertyValue(e,(0,d.copy)(t,!1,1))},n.setInternalPropertyValue=function(t,n){null===n?n=f.NullSymbol:void 0===n&&(n=f.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,n)},n.preCompileDomNodes=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=!1),1===(e=e.filter(function(e){return e.nodeType!==Node.TEXT_NODE||"string"==typeof e.nodeValue&&""!==e.nodeValue.trim()})).length)return this.preCompileDomNode(e[0],t,n);for(var r,i=1,o=[],a=y(e);!(r=a()).done;){var s=r.value,l=this.preCompileDomNode(s,t,n,i.toString());o.push(l),i+=1}return n?function(e){return function(){for(var t,n=[],r=y(o);!(t=r()).done;){var i=(0,t.value)(e);"function"==typeof i&&n.push(i.apply(void 0,arguments))}return(0,p.createElement)(p.Fragment,{children:n})}}:o},n.preCompileDomNode=function(e,t,n,r){var o=this;if(void 0===t&&(t={}),void 0===n&&(n=!1),n){var a=this.preCompileDomNode(e,i()({},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 o=n.length>0?n[0]:null;return a(i()({},e,{data:o,firstArgument:o,firstParameter:o,options:o,scope:o,parameters:n}))}}}if(e.nodeType===Node.TEXT_NODE){var s="string"==typeof e.nodeValue?e.nodeValue.trim():"",l=r&&s?(0,p.createElement)(p.Fragment,{children:s,key:r}):s||null;return function(){return l}}if(!e.getAttributeNames)return function(){return null};var u,c={},f=this.self.isReactComponent(e);f?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),r&&!Object.prototype.hasOwnProperty.call(c,"key")&&(c.key=r),u=e.constructor.content):(c.key=r,u=e.tagName.toLowerCase());for(var h,m=Object.keys(t),v={},g=function(){var n,r=h.value,i=e.getAttribute(r);if(null===i)return 0;var a=!1,s="";if(r.startsWith("data-bind-")?s=r.substring(10):r.startsWith("bind-")&&(s=r.substring(5)),s.startsWith("attribute-")||"attributes"===s||s.startsWith("property-")||"properties"===s){var l=(0,d.compile)(i,m),u=l.error,p=l.originalScopeNames,g=l.templateFunction;if(u)return b.warn("Error occurred during compiling given attribute",'binding "'+r+'" on node:',e,u),0;"attributes"===s||"properties"===s?a=!0:s=s.startsWith("attribute-")?s.substring(10):s.substring(9),i={originalScopeNames:p,templateFunction:g.bind(o)}}else if(s.startsWith("on-")){s=(0,d.delimitedToCamelCase)(s),Object.prototype.hasOwnProperty.call(t,"event")||(m=[].concat(m,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(m=[].concat(m,["parameters"]));var y=(0,d.compile)(i,m,!0),_=y.error,E=y.originalScopeNames,x=y.scopeNames,C=y.templateFunction;if(_)return b.warn("Error occurred during compiling given event",'binding "'+r+'" on node:',e,_),0;var I=C.bind(o);i=function(){for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];t.event=o[0],t.parameters=o;try{I.apply(void 0,E.map(function(e){return t[e]}))}catch(t){b.warn("Error occurred during processing given",'event binding "'+r+'" on node: ',e,'Given expression "'+i+'" could',"not be evaluated with given scope names",'"'+x.join('", "')+'":',(0,d.represent)(t))}}}else s=r;var S={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(S,s)&&(s=S[s]),s=(0,d.delimitedToCamelCase)(s),null!=(n=i)&&n.originalScopeNames?v[a?"":s]=i:f||(c[s]=i)},_=y(e.getAttributeNames());!(h=_()).done;)g();if(!f){var E=Array.from(e.childNodes);E.length&&(c.children=this.preCompileDomNodes(E,t))}return function(n){(n=i()({},t,n)).scope=n;for(var r=i()({},c),a=0,s=Object.entries(v);a<s.length;a++){var l=s[a],d=l[0],h=l[1],m=h.originalScopeNames,g=h.templateFunction.apply(void 0,m.map(function(e){return n[e]}));""===d?r=i()({},r,g):r[d]=g}return Object.prototype.hasOwnProperty.call(r,"innerHTML")&&(r.dangerouslySetInnerHTML={__html:r.innerHTML},delete r.children,delete r.innerHTML),Object.prototype.hasOwnProperty.call(r,"textContent")?(r.children=r.textContent,delete r.textContent):f?(r=i()({},e.internalProperties,r),n=i()({},r,n,{parentInstance:e}),e.evaluateSlots(n),e.prepareProperties(r)):r.children&&(r.children=o.evaluatePreCompiledDomNodes(r.children,n)),(0,p.createElement)(u,r)}},n.evaluatePreCompiledDomNodes=function(e,t){if(void 0===t&&(t={}),!Array.isArray(e))return e(t);if(1===e.length)return e[0](t);for(var n,r=[],i=y(e);!(n=i()).done;){var o=(0,n.value)(t);o&&r.push(o)}return r},n.preCompileSlots=function(){for(var e in this.slots)this.slots[e]&&"default"!==e&&(this.compiledSlots[e]=this.preCompileDomNode(this.slots[e],i()({},this.scope,{parentInstance:this}),[f.func,"function"].includes(this.self.propertyTypes[e])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,i()({},this.scope,{parentInstance:this}),[f.func,"function"].includes(this.self.propertyTypes.children)))},n.evaluateSlots=function(e){for(var t in this.preparedSlots={},this.compiledSlots)Object.prototype.hasOwnProperty.call(this.compiledSlots,t)&&("children"===t?this.preparedSlots.children=this.evaluatePreCompiledDomNodes(this.compiledSlots[t],e):this.preparedSlots[t]=this.compiledSlots[t](e))},t.isReactComponent=function(e){var t=e.constructor;return"object"==typeof t.content&&(!t.attachWebComponentAdapterIfNotExists||"react"===t.content.webComponentAdapterWrapped)},n.determineRootBinding=function(){e.prototype.determineRootBinding.call(this);for(var t=this.parentNode;t;){if(this.self.isReactComponent(t)){this.rootReactInstance=t;break}t=t.parentNode}},n.applyComponentWrapper=function(){if("string"!=typeof this.self.content&&!this.isWrapped){this.isWrapped=!0;var e=this.self.content.wrapped||this.self.content;this.self.content.webComponentAdapterWrapped?this.wrapMemorizingWrapper&&(this.self.content=(0,p.memo)(this.self.content),this.self.content.wrapped=e):this.self.attachWebComponentAdapterIfNotExists?(this.self.content.displayName||(this.self.content.displayName=this.self._name),this.self.content=(0,p.forwardRef)(function(t,n){return(0,p.useImperativeHandle)(n,function(){return{properties:t}},[t]),(0,p.createElement)(e,t)}),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,p.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,p.memo)(this.self.content),this.self.content.wrapped=e)}},n.prepareProperties=function(e){var t=this;(0,d.extend)(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,p.createRef)(),e.ref=function(e){t.instance?t.instance.current=e:t.instance={current:e},t.reflectInstanceProperties()})},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var n,r=y(["isRoot","isTrusted","__composed"]);!(n=r()).done;){var i=n.value;Object.prototype.hasOwnProperty.call(t,i)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,i)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,i))&&delete t[i]}},t}(g.default);E.attachWebComponentAdapterIfNotExists=!0,E.content="div",E.react=h(),E._name="ReactWebComponent";var x={component:E,register:function(e){void 0===e&&(e=(0,d.camelCaseToDelimited)(E._name)),customElements.define(e,E)}};t.default=E}],f={};function h(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return d[e](n,n.exports,h),n.exports}h.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return h.d(t,{a:t}),t},h.d=function(e,t){for(var n in t)h.o(t,n)&&!h.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},h.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var m={};h.r(m),h.d(m,{ReactWeb:function(){return S},Web:function(){return T},property:function(){return I},reactWebAPI:function(){return O},webAPI:function(){return A},wrapAsWebComponent:function(){return w}});var v=h(0),g=h.n(v),y=h(3),_=h.n(y),b=h(1),E=h(4),x=h(14),C=h(7),I=E.default,S=x.default,O=x.api,A=C.api,T=C.default,w=function(e,t,n){var r,i,o;void 0===t&&(t="NoName"),void 0===n&&(n={});var a=e._name||(null==(r=e.___types)||null==(r=r.name)?void 0:r.name)||t.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");n.propTypes&&(e.propTypes=n.propTypes);var s=e.propTypes||{},l=n.propertyAliases||e.propertyAliases||{},u=(0,b.unique)(Object.keys(s).concat(Object.keys(l)).concat(Object.values(l))),c=n.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(S.propertiesToReflectAsAttributes)if(Array.isArray(c))c=[].concat(S.propertiesToReflectAsAttributes,c);else if(c instanceof Map)for(var d=0,f=S.propertiesToReflectAsAttributes;d<f.length;d++){var p=f[d];c.set(p,S.propertyTypes[p])}else if("object"==typeof c)for(var h=0,m=S.propertiesToReflectAsAttributes;h<m.length;h++){var v=m[h];c[v]=S.propertyTypes[v]}var y=u.map(function(e){return(0,b.camelCaseToDelimited)(e)}),E=function(t){function r(){for(var i,o,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return(o=t.call.apply(t,[this].concat(s))||this).self=r,o.internalProperties=n.internalProperties?g()({},n.internalProperties):e.internalProperties?g()({},e.internalProperties):{},o.unmountOnDisconnect=null===(i=n.unmountOnDisconnect)||void 0===i||i,o}return _()(r,t),r}(S);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof n.attachWebComponentAdapterIfNotExists||n.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=S.observedAttributes.concat(y).concat(y.map(function(e){return"-"+e})),E.controllableProperties=e.controllableProperties||n.controllableProperties||[],E.eventToPropertyMapping=null===n.eventToPropertyMapping?n.eventToPropertyMapping:n.eventToPropertyMapping?g()({},n.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?g()({},e.eventToPropertyMapping):{},E.propertyAliases=g()({},S.propertyAliases,l),E.propertiesToReflectAsAttributes=c,E.propertyTypes=g()({},S.propertyTypes,s),E.renderProperties=null!==(i=null!==(o=n.renderProperties)&&void 0!==o?o:e.renderProperties)&&void 0!==i?i:S.renderProperties,E._name=a,{component:E,register:function(e){void 0===e&&(e=(0,b.camelCaseToDelimited)(a)),customElements.define(e,E)}}};return m.default=w,m}())},function(e,t,n){n.d(t,{N:function(){return u}});var r=n(2),i=n(5),o=n(51),a=n(23),s=n(25),l=n(50),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.disabled=!1,t}return(0,r.C6)(t,e),t.attachTo=function(e,n){void 0===n&&(n={isUnbounded:void 0});var r=new t(e);return void 0!==n.isUnbounded&&(r.unbounded=n.isUnbounded),r},t.createAdapter=function(e){return{addClass:function(t){return e.root.classList.add(t)},browserSupportsCssVars:function(){return l.supportsCssVariables(window)},computeBoundingRect:function(){return e.root.getBoundingClientRect()},containsEventTarget:function(t){return e.root.contains(t)},deregisterDocumentInteractionHandler:function(e,t){return document.documentElement.removeEventListener(e,t,(0,o.E)())},deregisterInteractionHandler:function(t,n){return e.root.removeEventListener(t,n,(0,o.E)())},deregisterResizeHandler:function(e){return window.removeEventListener("resize",e)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return(0,a.cK)(e.root,":active")},isSurfaceDisabled:function(){return Boolean(e.disabled)},isUnbounded:function(){return Boolean(e.unbounded)},registerDocumentInteractionHandler:function(e,t){return document.documentElement.addEventListener(e,t,(0,o.E)())},registerInteractionHandler:function(t,n){return e.root.addEventListener(t,n,(0,o.E)())},registerResizeHandler:function(e){return window.addEventListener("resize",e)},removeClass:function(t){return e.root.classList.remove(t)},updateCssVariable:function(t,n){return e.root.style.setProperty(t,n)}}},Object.defineProperty(t.prototype,"unbounded",{get:function(){return Boolean(this.isUnbounded)},set:function(e){this.isUnbounded=Boolean(e),this.setUnbounded()},enumerable:!1,configurable:!0}),t.prototype.activate=function(){this.foundation.activate()},t.prototype.deactivate=function(){this.foundation.deactivate()},t.prototype.layout=function(){this.foundation.layout()},t.prototype.getDefaultFoundation=function(){return new s.E(t.createAdapter(this))},t.prototype.initialSyncWithDOM=function(){var e=this.root;this.isUnbounded="mdcRippleIsUnbounded"in e.dataset},t.prototype.setUnbounded=function(){this.foundation.setUnbounded(Boolean(this.isUnbounded))},t}(i.O)},function(e,t){
55
55
  /**
56
56
  * @license React
57
57
  * scheduler.production.min.js