import{r as t,c as i,h as n,g as s}from"./p-5a5e7c99.js";import{c as e}from"./p-4a24a607.js";import{_ as o,a as c,M as a,c as r,b as u}from"./p-2b926682.js";import{m as h,c as l}from"./p-c0a20e71.js";import{M as d}from"./p-216a6f85.js";
/**
 * @license
 * Copyright 2016 Google Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
/**
 * @license
 * Copyright 2016 Google Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
var f={CLOSING:"mdc-dialog--closing",OPEN:"mdc-dialog--open",OPENING:"mdc-dialog--opening",SCROLLABLE:"mdc-dialog--scrollable",SCROLL_LOCK:"mdc-dialog-scroll-lock",STACKED:"mdc-dialog--stacked"},m={ACTION_ATTRIBUTE:"data-mdc-dialog-action",BUTTON_SELECTOR:".mdc-dialog__button",CLOSED_EVENT:"MDCDialog:closed",CLOSE_ACTION:"close",CLOSING_EVENT:"MDCDialog:closing",CONTAINER_SELECTOR:".mdc-dialog__container",CONTENT_SELECTOR:".mdc-dialog__content",DEFAULT_BUTTON_SELECTOR:".mdc-dialog__button--default",DESTROY_ACTION:"destroy",OPENED_EVENT:"MDCDialog:opened",OPENING_EVENT:"MDCDialog:opening",SCRIM_SELECTOR:".mdc-dialog__scrim",SUPPRESS_DEFAULT_PRESS_SELECTOR:["textarea",".mdc-menu .mdc-list-item"].join(", "),SURFACE_SELECTOR:".mdc-dialog__surface"},g={DIALOG_ANIMATION_CLOSE_TIME_MS:75,DIALOG_ANIMATION_OPEN_TIME_MS:150},_=function(t){function i(n){var s=t.call(this,c({},i.defaultAdapter,n))||this;return s.isOpen_=!1,s.animationFrame_=0,s.animationTimer_=0,s.layoutFrame_=0,s.escapeKeyAction_=m.CLOSE_ACTION,s.scrimClickAction_=m.CLOSE_ACTION,s.autoStackButtons_=!0,s.areButtonsStacked_=!1,s}return o(i,t),Object.defineProperty(i,"cssClasses",{get:function(){return f},enumerable:!0,configurable:!0}),Object.defineProperty(i,"strings",{get:function(){return m},enumerable:!0,configurable:!0}),Object.defineProperty(i,"numbers",{get:function(){return g},enumerable:!0,configurable:!0}),Object.defineProperty(i,"defaultAdapter",{get:function(){return{addBodyClass:function(){},addClass:function(){},areButtonsStacked:function(){return!1},clickDefaultButton:function(){},eventTargetMatches:function(){return!1},getActionFromEvent:function(){return""},hasClass:function(){return!1},isContentScrollable:function(){return!1},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},releaseFocus:function(){},removeBodyClass:function(){},removeClass:function(){},reverseButtons:function(){},trapFocus:function(){}}},enumerable:!0,configurable:!0}),i.prototype.init=function(){this.adapter_.hasClass(f.STACKED)&&this.setAutoStackButtons(!1)},i.prototype.destroy=function(){this.isOpen_&&this.close(m.DESTROY_ACTION),this.animationTimer_&&(clearTimeout(this.animationTimer_),this.handleAnimationTimerEnd_()),this.layoutFrame_&&(cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=0)},i.prototype.open=function(){var t=this;this.isOpen_=!0,this.adapter_.notifyOpening(),this.adapter_.addClass(f.OPENING),this.runNextAnimationFrame_((function(){t.adapter_.addClass(f.OPEN),t.adapter_.addBodyClass(f.SCROLL_LOCK),t.layout(),t.animationTimer_=setTimeout((function(){t.handleAnimationTimerEnd_(),t.adapter_.trapFocus(),t.adapter_.notifyOpened()}),g.DIALOG_ANIMATION_OPEN_TIME_MS)}))},i.prototype.close=function(t){var i=this;void 0===t&&(t=""),this.isOpen_&&(this.isOpen_=!1,this.adapter_.notifyClosing(t),this.adapter_.addClass(f.CLOSING),this.adapter_.removeClass(f.OPEN),this.adapter_.removeBodyClass(f.SCROLL_LOCK),cancelAnimationFrame(this.animationFrame_),this.animationFrame_=0,clearTimeout(this.animationTimer_),this.animationTimer_=setTimeout((function(){i.adapter_.releaseFocus(),i.handleAnimationTimerEnd_(),i.adapter_.notifyClosed(t)}),g.DIALOG_ANIMATION_CLOSE_TIME_MS))},i.prototype.isOpen=function(){return this.isOpen_},i.prototype.getEscapeKeyAction=function(){return this.escapeKeyAction_},i.prototype.setEscapeKeyAction=function(t){this.escapeKeyAction_=t},i.prototype.getScrimClickAction=function(){return this.scrimClickAction_},i.prototype.setScrimClickAction=function(t){this.scrimClickAction_=t},i.prototype.getAutoStackButtons=function(){return this.autoStackButtons_},i.prototype.setAutoStackButtons=function(t){this.autoStackButtons_=t},i.prototype.layout=function(){var t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame((function(){t.layoutInternal_(),t.layoutFrame_=0}))},i.prototype.handleInteraction=function(t){var i="click"===t.type,n="Enter"===t.key||13===t.keyCode,s="Space"===t.key||32===t.keyCode,e=this.adapter_.eventTargetMatches(t.target,m.SCRIM_SELECTOR),o=!this.adapter_.eventTargetMatches(t.target,m.SUPPRESS_DEFAULT_PRESS_SELECTOR);if(i&&e&&""!==this.scrimClickAction_)this.close(this.scrimClickAction_);else if(i||s||n){var c=this.adapter_.getActionFromEvent(t);c?this.close(c):n&&o&&this.adapter_.clickDefaultButton()}},i.prototype.handleDocumentKeydown=function(t){("Escape"===t.key||27===t.keyCode)&&""!==this.escapeKeyAction_&&this.close(this.escapeKeyAction_)},i.prototype.layoutInternal_=function(){this.autoStackButtons_&&this.detectStackedButtons_(),this.detectScrollableContent_()},i.prototype.handleAnimationTimerEnd_=function(){this.animationTimer_=0,this.adapter_.removeClass(f.OPENING),this.adapter_.removeClass(f.CLOSING)},i.prototype.runNextAnimationFrame_=function(t){var i=this;cancelAnimationFrame(this.animationFrame_),this.animationFrame_=requestAnimationFrame((function(){i.animationFrame_=0,clearTimeout(i.animationTimer_),i.animationTimer_=setTimeout(t,0)}))},i.prototype.detectStackedButtons_=function(){this.adapter_.removeClass(f.STACKED);var t=this.adapter_.areButtonsStacked();t&&this.adapter_.addClass(f.STACKED),t!==this.areButtonsStacked_&&(this.adapter_.reverseButtons(),this.areButtonsStacked_=t)},i.prototype.detectScrollableContent_=function(){this.adapter_.removeClass(f.SCROLLABLE),this.adapter_.isContentScrollable()&&this.adapter_.addClass(f.SCROLLABLE)},i}(a),b=_.strings,E=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return o(i,t),Object.defineProperty(i.prototype,"isOpen",{get:function(){return this.foundation_.isOpen()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"escapeKeyAction",{get:function(){return this.foundation_.getEscapeKeyAction()},set:function(t){this.foundation_.setEscapeKeyAction(t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"scrimClickAction",{get:function(){return this.foundation_.getScrimClickAction()},set:function(t){this.foundation_.setScrimClickAction(t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"autoStackButtons",{get:function(){return this.foundation_.getAutoStackButtons()},set:function(t){this.foundation_.setAutoStackButtons(t)},enumerable:!0,configurable:!0}),i.attachTo=function(t){return new i(t)},i.prototype.initialize=function(t,i){var n,s,e=this.root_.querySelector(b.CONTAINER_SELECTOR);if(!e)throw new Error("Dialog component requires a "+b.CONTAINER_SELECTOR+" container element");this.container_=e,this.content_=this.root_.querySelector(b.CONTENT_SELECTOR),this.buttons_=[].slice.call(this.root_.querySelectorAll(b.BUTTON_SELECTOR)),this.defaultButton_=this.root_.querySelector(b.DEFAULT_BUTTON_SELECTOR),this.focusTrapFactory_=t,this.initialFocusEl_=i,this.buttonRipples_=[];try{for(var o=r(this.buttons_),c=o.next();!c.done;c=o.next())this.buttonRipples_.push(new d(c.value))}catch(a){n={error:a}}finally{try{c&&!c.done&&(s=o.return)&&s.call(o)}finally{if(n)throw n.error}}},i.prototype.initialSyncWithDOM=function(){var t,i=this;this.focusTrap_=(void 0===(t=this.focusTrapFactory_)&&(t=e),t(this.container_,{clickOutsideDeactivates:!0,escapeDeactivates:!1,initialFocus:this.initialFocusEl_})),this.handleInteraction_=this.foundation_.handleInteraction.bind(this.foundation_),this.handleDocumentKeydown_=this.foundation_.handleDocumentKeydown.bind(this.foundation_),this.handleLayout_=this.layout.bind(this);var n=["resize","orientationchange"];this.handleOpening_=function(){n.forEach((function(t){return window.addEventListener(t,i.handleLayout_)})),document.addEventListener("keydown",i.handleDocumentKeydown_)},this.handleClosing_=function(){n.forEach((function(t){return window.removeEventListener(t,i.handleLayout_)})),document.removeEventListener("keydown",i.handleDocumentKeydown_)},this.listen("click",this.handleInteraction_),this.listen("keydown",this.handleInteraction_),this.listen(b.OPENING_EVENT,this.handleOpening_),this.listen(b.CLOSING_EVENT,this.handleClosing_)},i.prototype.destroy=function(){this.unlisten("click",this.handleInteraction_),this.unlisten("keydown",this.handleInteraction_),this.unlisten(b.OPENING_EVENT,this.handleOpening_),this.unlisten(b.CLOSING_EVENT,this.handleClosing_),this.handleClosing_(),this.buttonRipples_.forEach((function(t){return t.destroy()})),t.prototype.destroy.call(this)},i.prototype.layout=function(){this.foundation_.layout()},i.prototype.open=function(){this.foundation_.open()},i.prototype.close=function(t){void 0===t&&(t=""),this.foundation_.close(t)},i.prototype.getDefaultFoundation=function(){var t=this;return new _({addBodyClass:function(t){return document.body.classList.add(t)},addClass:function(i){return t.root_.classList.add(i)},areButtonsStacked:function(){return i=t.buttons_,n=new Set,[].forEach.call(i,(function(t){return n.add(t.offsetTop)})),n.size>1;var i,n},clickDefaultButton:function(){return t.defaultButton_&&t.defaultButton_.click()},eventTargetMatches:function(t,i){return!!t&&h(t,i)},getActionFromEvent:function(t){if(!t.target)return"";var i=l(t.target,"["+b.ACTION_ATTRIBUTE+"]");return i&&i.getAttribute(b.ACTION_ATTRIBUTE)},hasClass:function(i){return t.root_.classList.contains(i)},isContentScrollable:function(){return!!(i=t.content_)&&i.scrollHeight>i.offsetHeight;var i},notifyClosed:function(i){return t.emit(b.CLOSED_EVENT,i?{action:i}:{})},notifyClosing:function(i){return t.emit(b.CLOSING_EVENT,i?{action:i}:{})},notifyOpened:function(){return t.emit(b.OPENED_EVENT,{})},notifyOpening:function(){return t.emit(b.OPENING_EVENT,{})},releaseFocus:function(){return t.focusTrap_.deactivate()},removeBodyClass:function(t){return document.body.classList.remove(t)},removeClass:function(i){return t.root_.classList.remove(i)},reverseButtons:function(){t.buttons_.reverse(),t.buttons_.forEach((function(t){t.parentElement.appendChild(t)}))},trapFocus:function(){return t.focusTrap_.activate()}})},i}(u);const C=class{constructor(n){t(this,n),this.items=[],this.dialogTitle="",this.accept=i(this,"accept",7),this.cancel=i(this,"cancel",7)}componentDidLoad(){this.mdcDialog=new E(this.dialogEl),this.mdcDialog.listen("MDCDialog:closing",t=>{switch(t.detail.action){case"accept":this.accept.emit(!0);break;case"close":default:this.cancel.emit(!1)}}),this.updateBody()}watchBody(){this.updateBody()}updateBody(){this.bodySection&&this.body&&(this.body instanceof HTMLElement?this.bodySection.appendChild(this.body):this.bodySection.innerText=this.body)}async show(){this.toggle()}async toggle(){this.mdcDialog.isOpen?this.close():this.open()}async isOpen(){return this.mdcDialog.isOpen}async open(){this.mdcDialog.open()}async close(){this.mdcDialog.close(),this.cancel.emit(!1)}getSectionClass(){return{"mdc-dialog__content":!0}}render(){return n("aside",{class:"mdc-dialog",role:"alertdialog","aria-modal":"true","aria-labelledby":this.dialogTitle,"aria-describedby":"mdc-dialog-description",ref:t=>this.dialogEl=t},n("div",{class:"mdc-dialog__container"},n("div",{style:{"min-width":this.width+"px",width:this.width+"px"},class:"mdc-dialog__surface"},this.dialogTitle&&n("h2",{id:"mdc-dialog-label",class:"mdc-dialog__title"},this.dialogTitle,"    ",this.closeButton&&n("materials-icon-button",{class:"close-btn",icon:"close",onClick:()=>this.close()})),n("section",{ref:t=>this.bodySection=t,id:"mdc-dialog-content",style:{"min-height":this.height+"px",height:this.height+"px"},class:this.getSectionClass()},n("slot",{name:"body"})),this.actions?n("footer",{class:"mdc-dialog__actions"},this.actions.map(t=>n("button",{type:"button",disabled:"accept"===t.role&&this.disableAcceptButton,class:"mdc-button mdc-dialog__button",title:t.title?t.title:t.label,onClick:()=>{t.action&&t.action()},"data-mdc-dialog-action":"accept"===t.role||"close"===t.role?t.role:null},t.label))):(!!this.acceptButton||!!this.closeButton)&&n("footer",{class:"mdc-dialog__actions"},n("slot",{name:"third-button"}),!!this.cancelButton&&n("button",{type:"button",class:"mdc-button mdc-dialog__button","data-mdc-dialog-action":"close"},this.cancelButton),!!this.acceptButton&&n("button",{type:"button",disabled:this.disableAcceptButton,class:"mdc-button mdc-dialog__button","data-mdc-dialog-action":"accept"},this.acceptButton)))),n("div",{class:"mdc-dialog__scrim"}))}get host(){return s(this)}static get watchers(){return{body:["watchBody"]}}static get style(){return":host{\@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));}}\@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));}}\@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0;}to{opacity:var(--mdc-ripple-fg-opacity,0);}}\@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0;}to{opacity:var(--mdc-ripple-fg-opacity,0);}}\@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity,0);}to{opacity:0;}}\@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity,0);}to{opacity:0;}}}:host .mdc-dialog,:host .mdc-dialog__scrim{position:fixed;top:0;left:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;}:host .mdc-dialog{display:none;z-index:7;}:host .mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface,#fff);}:host .mdc-dialog .mdc-dialog__scrim{background-color:rgba(0,0,0,0.32);}:host .mdc-dialog .mdc-dialog__title{color:rgba(0,0,0,0.87);}:host .mdc-dialog .mdc-dialog__content{color:rgba(0,0,0,0.6);}:host .mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,:host .mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border-color:rgba(0,0,0,0.12);}:host .mdc-dialog .mdc-dialog__surface{min-width:280px;}\@media (max-width:892px){:host .mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px);}}\@media (min-width:892px){:host .mdc-dialog .mdc-dialog__surface{max-width:860px;}}:host .mdc-dialog .mdc-dialog__surface{max-height:calc(100vh - 32px);}:host .mdc-dialog .mdc-dialog__surface{border-radius:4px;}:host .mdc-dialog__scrim{opacity:0;z-index:-1;}:host .mdc-dialog__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transform:scale(0.8);transform:scale(0.8);opacity:0;}:host .mdc-dialog__surface{-webkit-box-shadow:0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12);box-shadow:0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;max-height:100%;}.mdc-dialog[dir=rtl]:host .mdc-dialog__surface,[dir=rtl] .mdc-dialog:host .mdc-dialog__surface{text-align:right;}:host .mdc-dialog__title{display:block;margin-top:0;line-height:normal;font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1.25rem;line-height:2rem;font-weight:500;letter-spacing:0.0125em;text-decoration:inherit;text-transform:inherit;display:block;position:relative;-ms-flex-negative:0;flex-shrink:0;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0 24px 9px;border-bottom:1px solid transparent;}:host .mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:\"\";vertical-align:0;}.mdc-dialog[dir=rtl]:host .mdc-dialog__title,[dir=rtl] .mdc-dialog:host .mdc-dialog__title{text-align:right;}:host .mdc-dialog--scrollable .mdc-dialog__title{padding-bottom:15px;}:host .mdc-dialog__content{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1rem;line-height:1.5rem;font-weight:400;letter-spacing:0.03125em;text-decoration:inherit;text-transform:inherit;-ms-flex-positive:1;flex-grow:1;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:20px 24px;overflow:auto;-webkit-overflow-scrolling:touch;}:host .mdc-dialog__content >:first-child{margin-top:0;}:host .mdc-dialog__content >:last-child{margin-bottom:0;}:host .mdc-dialog__title+.mdc-dialog__content{padding-top:0;}:host .mdc-dialog--scrollable .mdc-dialog__content{padding-top:8px;padding-bottom:8px;}:host .mdc-dialog__content .mdc-list:first-child:last-child{padding:6px 0 0;}:host .mdc-dialog--scrollable .mdc-dialog__content .mdc-list:first-child:last-child{padding:0;}:host .mdc-dialog__actions{display:-ms-flexbox;display:flex;position:relative;-ms-flex-negative:0;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent;}.mdc-dialog--stacked:host .mdc-dialog__actions{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:end;align-items:flex-end;}:host .mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right;}[dir=rtl]:host .mdc-dialog__button,:host .mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px;}:host .mdc-dialog__button:first-child{margin-left:0;margin-right:0;}[dir=rtl]:host .mdc-dialog__button:first-child,:host .mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0;}.mdc-dialog[dir=rtl]:host .mdc-dialog__button,[dir=rtl] .mdc-dialog:host .mdc-dialog__button{text-align:left;}.mdc-dialog--stacked:host .mdc-dialog__button:not(:first-child){margin-top:12px;}:host .mdc-dialog--open,:host .mdc-dialog--opening,:host .mdc-dialog--closing{display:-ms-flexbox;display:flex;}:host .mdc-dialog--opening .mdc-dialog__scrim{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear;}:host .mdc-dialog--opening .mdc-dialog__container{-webkit-transition:opacity 75ms linear,-webkit-transform 150ms 0ms cubic-bezier(0,0,0.2,1);transition:opacity 75ms linear,-webkit-transform 150ms 0ms cubic-bezier(0,0,0.2,1);transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0,0,0.2,1);transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0,0,0.2,1),-webkit-transform 150ms 0ms cubic-bezier(0,0,0.2,1);}:host .mdc-dialog--closing .mdc-dialog__scrim,:host .mdc-dialog--closing .mdc-dialog__container{-webkit-transition:opacity 75ms linear;transition:opacity 75ms linear;}:host .mdc-dialog--closing .mdc-dialog__container{-webkit-transform:scale(1);transform:scale(1);}:host .mdc-dialog--open .mdc-dialog__scrim{opacity:1;}:host .mdc-dialog--open .mdc-dialog__container{-webkit-transform:scale(1);transform:scale(1);opacity:1;}:host .mdc-dialog-scroll-lock{overflow:hidden;}:host .mdc-typography{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}:host .mdc-typography--headline1{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:6rem;line-height:6rem;font-weight:300;letter-spacing:-0.015625em;text-decoration:inherit;text-transform:inherit;}:host .mdc-typography--headline2{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:3.75rem;line-height:3.75rem;font-weight:300;letter-spacing:-0.0083333333em;text-decoration:inherit;text-transform:inherit;}:host .mdc-typography--headline3{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:3rem;line-height:3.125rem;font-weight:400;letter-spacing:normal;text-decoration:inherit;text-transform:inherit;}:host .mdc-typography--headline4{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:2.125rem;line-height:2.5rem;font-weight:400;letter-spacing:0.0073529412em;text-decoration:inherit;text-transform:inherit;}:host .mdc-typography--headline5{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1.5rem;line-height:2rem;font-weight:400;letter-spacing:normal;text-decoration:inherit;text-transform:inherit;}:host .mdc-typography--headline6{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1.25rem;line-height:2rem;font-weight:500;letter-spacing:0.0125em;text-decoration:inherit;text-transform:inherit;}:host .mdc-typography--subtitle1{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1rem;line-height:1.75rem;font-weight:400;letter-spacing:0.009375em;text-decoration:inherit;text-transform:inherit;}:host .mdc-typography--subtitle2{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:0.875rem;line-height:1.375rem;font-weight:500;letter-spacing:0.0071428571em;text-decoration:inherit;text-transform:inherit;}:host .mdc-typography--body1{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1rem;line-height:1.5rem;font-weight:400;letter-spacing:0.03125em;text-decoration:inherit;text-transform:inherit;}:host .mdc-typography--body2{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:0.875rem;line-height:1.25rem;font-weight:400;letter-spacing:0.0178571429em;text-decoration:inherit;text-transform:inherit;}:host .mdc-typography--caption{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:0.75rem;line-height:1.25rem;font-weight:400;letter-spacing:0.0333333333em;text-decoration:inherit;text-transform:inherit;}:host .mdc-typography--button{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:0.875rem;line-height:2.25rem;font-weight:500;letter-spacing:0.0892857143em;text-decoration:none;text-transform:uppercase;}:host .mdc-typography--overline{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:0.75rem;line-height:2rem;font-weight:500;letter-spacing:0.1666666667em;text-decoration:none;text-transform:uppercase;}:host .mdc-button{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:0.875rem;line-height:2.25rem;font-weight:500;letter-spacing:0.0892857143em;text-decoration:none;text-transform:uppercase;padding:0 8px 0 8px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;min-width:64px;height:36px;border:none;outline:none;line-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;overflow:hidden;vertical-align:middle;border-radius:4px;}:host .mdc-button::-moz-focus-inner{padding:0;border:0;}:host .mdc-button:active{outline:none;}:host .mdc-button:hover{cursor:pointer;}:host .mdc-button:disabled{background-color:transparent;color:rgba(0,0,0,0.37);cursor:default;pointer-events:none;}:host .mdc-button.mdc-button--dense{border-radius:4px;}:host .mdc-button:not(:disabled){background-color:transparent;}:host .mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;width:18px;height:18px;font-size:18px;vertical-align:top;}[dir=rtl]:host .mdc-button .mdc-button__icon,:host .mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0;}:host .mdc-button:not(:disabled){color:#6200ee;color:var(--mdc-theme-primary,#6200ee);}:host .mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0;}[dir=rtl]:host .mdc-button__label+.mdc-button__icon,:host .mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px;}:host svg.mdc-button__icon{fill:currentColor;}:host .mdc-button--raised .mdc-button__icon,:host .mdc-button--unelevated .mdc-button__icon,:host .mdc-button--outlined .mdc-button__icon{margin-left:-4px;margin-right:8px;}[dir=rtl]:host .mdc-button--raised .mdc-button__icon,:host .mdc-button--raised .mdc-button__icon[dir=rtl],[dir=rtl]:host .mdc-button--unelevated .mdc-button__icon,:host .mdc-button--unelevated .mdc-button__icon[dir=rtl],[dir=rtl]:host .mdc-button--outlined .mdc-button__icon,:host .mdc-button--outlined .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:-4px;}:host .mdc-button--raised .mdc-button__label+.mdc-button__icon,:host .mdc-button--unelevated .mdc-button__label+.mdc-button__icon,:host .mdc-button--outlined .mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:-4px;}[dir=rtl]:host .mdc-button--raised .mdc-button__label+.mdc-button__icon,:host .mdc-button--raised .mdc-button__label+.mdc-button__icon[dir=rtl],[dir=rtl]:host .mdc-button--unelevated .mdc-button__label+.mdc-button__icon,:host .mdc-button--unelevated .mdc-button__label+.mdc-button__icon[dir=rtl],[dir=rtl]:host .mdc-button--outlined .mdc-button__label+.mdc-button__icon,:host .mdc-button--outlined .mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:-4px;margin-right:8px;}:host .mdc-button--raised,:host .mdc-button--unelevated{padding:0 16px 0 16px;}:host .mdc-button--raised:disabled,:host .mdc-button--unelevated:disabled{background-color:rgba(0,0,0,0.12);color:rgba(0,0,0,0.37);}:host .mdc-button--raised:not(:disabled),:host .mdc-button--unelevated:not(:disabled){background-color:#6200ee;}\@supports not (-ms-ime-align:auto){:host .mdc-button--raised:not(:disabled),:host .mdc-button--unelevated:not(:disabled){background-color:var(--mdc-theme-primary,#6200ee);}}:host .mdc-button--raised:not(:disabled),:host .mdc-button--unelevated:not(:disabled){color:#fff;color:var(--mdc-theme-on-primary,#fff);}:host .mdc-button--raised{-webkit-box-shadow:0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12);box-shadow:0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12);-webkit-transition:-webkit-box-shadow 280ms cubic-bezier(0.4,0,0.2,1);transition:-webkit-box-shadow 280ms cubic-bezier(0.4,0,0.2,1);transition:box-shadow 280ms cubic-bezier(0.4,0,0.2,1);transition:box-shadow 280ms cubic-bezier(0.4,0,0.2,1),-webkit-box-shadow 280ms cubic-bezier(0.4,0,0.2,1);}:host .mdc-button--raised:hover,:host .mdc-button--raised:focus{-webkit-box-shadow:0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);box-shadow:0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);}:host .mdc-button--raised:active{-webkit-box-shadow:0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12);box-shadow:0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12);}:host .mdc-button--raised:disabled{-webkit-box-shadow:0px 0px 0px 0px rgba(0,0,0,0.2),0px 0px 0px 0px rgba(0,0,0,0.14),0px 0px 0px 0px rgba(0,0,0,0.12);box-shadow:0px 0px 0px 0px rgba(0,0,0,0.2),0px 0px 0px 0px rgba(0,0,0,0.14),0px 0px 0px 0px rgba(0,0,0,0.12);}:host .mdc-button--outlined{border-style:solid;padding:0 15px 0 15px;border-width:1px;}:host .mdc-button--outlined:disabled{border-color:rgba(0,0,0,0.37);}:host .mdc-button--outlined:not(:disabled){border-color:#6200ee;border-color:var(--mdc-theme-primary,#6200ee);}:host .mdc-button--dense{height:32px;font-size:0.8125rem;}:host .mdc-ripple-surface--test-edge-var-bug{--mdc-ripple-surface-test-edge-var:1px solid #000;visibility:hidden;}:host .mdc-ripple-surface--test-edge-var-bug::before{border:var(--mdc-ripple-surface-test-edge-var);}:host .mdc-button{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0,0,0,0);}:host .mdc-button::before,:host .mdc-button::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\";}:host .mdc-button::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;}:host .mdc-button.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1));}:host .mdc-button.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center;}:host .mdc-button.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0);}:host .mdc-button.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;}:host .mdc-button.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));}:host .mdc-button::before,:host .mdc-button::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%;}:host .mdc-button.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%);}:host .mdc-button::before,:host .mdc-button::after{background-color:#6200ee;}\@supports not (-ms-ime-align:auto){:host .mdc-button::before,:host .mdc-button::after{background-color:var(--mdc-theme-primary,#6200ee);}}:host .mdc-button:hover::before{opacity:0.04;}:host .mdc-button:not(.mdc-ripple-upgraded):focus::before,:host .mdc-button.mdc-ripple-upgraded--background-focused::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:0.12;}:host .mdc-button:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear;}:host .mdc-button:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:0.12;}:host .mdc-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.12;}:host .mdc-button--raised::before,:host .mdc-button--raised::after,:host .mdc-button--unelevated::before,:host .mdc-button--unelevated::after{background-color:#fff;}\@supports not (-ms-ime-align:auto){:host .mdc-button--raised::before,:host .mdc-button--raised::after,:host .mdc-button--unelevated::before,:host .mdc-button--unelevated::after{background-color:var(--mdc-theme-on-primary,#fff);}}:host .mdc-button--raised:hover::before,:host .mdc-button--unelevated:hover::before{opacity:0.08;}:host .mdc-button--raised:not(.mdc-ripple-upgraded):focus::before,:host .mdc-button--raised.mdc-ripple-upgraded--background-focused::before,:host .mdc-button--unelevated:not(.mdc-ripple-upgraded):focus::before,:host .mdc-button--unelevated.mdc-ripple-upgraded--background-focused::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:0.24;}:host .mdc-button--raised:not(.mdc-ripple-upgraded)::after,:host .mdc-button--unelevated:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear;}:host .mdc-button--raised:not(.mdc-ripple-upgraded):active::after,:host .mdc-button--unelevated:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:0.24;}:host .mdc-button--raised.mdc-ripple-upgraded,:host .mdc-button--unelevated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.24;}:host::-webkit-scrollbar{background:transparent;height:8px;width:8px;}:host::-webkit-scrollbar-thumb{border:none;-webkit-box-shadow:none;box-shadow:none;background:#ddd;min-height:40px;}:host .mdc-dialog{z-index:15;}:host .mdc-dialog .mdc-dialog__title{background-color:var(--mdc-theme-dialog-title-fill-color,--mdc-theme-background);color:var(--mdc-theme-dialog-title-ink-color,--mdc-theme-on-background);}:host .mdc-dialog .mdc-dialog__content{scrollbar-width:thin;}:host .mdc-dialog .close-btn{margin:6px;right:0;position:absolute;}:host .mdc-dialog__footer slot[name=third-button]{margin-right:auto;display:block;}:host .mdc-dialog__title+.mdc-dialog__content{padding-top:var(--mdc-theme-dialog-content-padding-top,0px);}"}};export{C as materials_dialog};