@limetech/lime-elements 39.24.1 → 39.25.0

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.
Files changed (157) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/cjs/{_assignValue-DpsLUlF4.js → _assignValue-DQh76m39.js} +2 -2
  3. package/dist/cjs/{_baseEach-C570gT5Y.js → _baseEach-Bygi-un6.js} +2 -2
  4. package/dist/cjs/{_baseIsEqual-aOPReRWl.js → _baseIsEqual-CQZKiKbe.js} +20 -365
  5. package/dist/cjs/{_baseIteratee-DggA4e7a.js → _baseIteratee-DDklwtn9.js} +6 -4
  6. package/dist/cjs/{_defineProperty-BDFOiqJL.js → _defineProperty-Csu6P9HT.js} +1 -1
  7. package/dist/cjs/{_getAllKeysIn-BQIV8aw7.js → _getAllKeysIn-BJsgUTAt.js} +5 -4
  8. package/dist/cjs/{_getNative-B4n5HX2B.js → _getNative-Cf52giNE.js} +2 -2
  9. package/dist/cjs/_getTag-BC28Za7d.js +355 -0
  10. package/dist/cjs/_isIndex-Bu45fvR7.js +27 -0
  11. package/dist/cjs/{_isIterateeCall-CPWXFS_s.js → _isIterateeCall-BUGt9SrH.js} +4 -3
  12. package/dist/cjs/{cloneDeep-CxFNKF1Y.js → cloneDeep-hE40Q8aw.js} +13 -12
  13. package/dist/cjs/{difference-Bfsq4sXB.js → difference-B543MGsY.js} +5 -4
  14. package/dist/cjs/eq-DFcUoVzv.js +39 -0
  15. package/dist/cjs/file-metadata-BrhOssGG.js +76 -0
  16. package/dist/cjs/{files-Cf615Ytp.js → files-Bt11HLi4.js} +1 -1
  17. package/dist/cjs/{focus-trigger-element-Brw8VubX.js → focus-trigger-element-BfnJmxKO.js} +1 -1
  18. package/dist/{esm/file-metadata-BwF9vTXN.js → cjs/icons-isR5V1X0.js} +4 -69
  19. package/dist/cjs/{isArrayLike-_dR1U5-Y.js → isArrayLike-C2RwZMG4.js} +2 -27
  20. package/dist/cjs/{isEmpty-EBCFxX1S.js → isEmpty-CCxl3bYc.js} +6 -6
  21. package/dist/cjs/{isEqual-bXyw7kXo.js → isEqual-Cd9J8a5-.js} +1 -1
  22. package/dist/cjs/{eq-B1KBAwmK.js → isFunction-RSHwsz1x.js} +0 -37
  23. package/dist/cjs/lime-elements.cjs.js +1 -1
  24. package/dist/cjs/{limel-breadcrumbs_7.cjs.entry.js → limel-breadcrumbs_8.cjs.entry.js} +74 -8
  25. package/dist/cjs/limel-chip-set.cjs.entry.js +588 -0
  26. package/dist/cjs/limel-chip_2.cjs.entry.js +33 -540
  27. package/dist/cjs/limel-dialog.cjs.entry.js +9 -6
  28. package/dist/cjs/limel-email-viewer.cjs.entry.js +15 -10
  29. package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +12 -8
  30. package/dist/cjs/limel-file.cjs.entry.js +2 -1
  31. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +5 -3
  32. package/dist/cjs/limel-form.cjs.entry.js +28 -25
  33. package/dist/cjs/limel-helper-line.cjs.entry.js +42 -0
  34. package/dist/cjs/limel-popover_2.cjs.entry.js +6 -5
  35. package/dist/cjs/limel-profile-picture.cjs.entry.js +3 -2
  36. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +16 -12
  37. package/dist/cjs/limel-tab-bar.cjs.entry.js +11 -8
  38. package/dist/cjs/limel-table.cjs.entry.js +14 -11
  39. package/dist/cjs/loader.cjs.js +1 -1
  40. package/dist/cjs/{pickBy-kLjYLoam.js → pickBy-D-X6S5kg.js} +5 -5
  41. package/dist/collection/components/chip-set/chip-set-input-helpers.js +8 -3
  42. package/dist/collection/components/chip-set/chip-set.js +9 -3
  43. package/dist/collection/components/email-viewer/email-viewer.css +7 -33
  44. package/dist/collection/components/email-viewer/email-viewer.js +16 -9
  45. package/dist/esm/{_assignValue-DOEO9byf.js → _assignValue-CEFvyZxO.js} +2 -2
  46. package/dist/esm/{_baseEach-C4UJIc96.js → _baseEach-lvj-g1Zj.js} +2 -2
  47. package/dist/esm/{_baseIsEqual-DCZXUzsZ.js → _baseIsEqual-B6bIeexY.js} +10 -346
  48. package/dist/esm/{_baseIteratee-CI-QZdpx.js → _baseIteratee-CEZRuq23.js} +4 -2
  49. package/dist/esm/{_defineProperty-yVdnnt__.js → _defineProperty-C69Btzid.js} +1 -1
  50. package/dist/esm/{_getAllKeysIn-v-KlW5r_.js → _getAllKeysIn-kT3KizYN.js} +3 -2
  51. package/dist/esm/{_getNative-aN4R8EiP.js → _getNative-COawFdVX.js} +1 -1
  52. package/dist/esm/_getTag-CMJL-6hk.js +344 -0
  53. package/dist/esm/_isIndex-B--C3qwe.js +25 -0
  54. package/dist/esm/{_isIterateeCall-CTcCv8Mb.js → _isIterateeCall-Bb4gUZLK.js} +3 -2
  55. package/dist/esm/{cloneDeep-V4fB8wfG.js → cloneDeep-CL7UD3mR.js} +4 -3
  56. package/dist/esm/{difference-CWrdq-hd.js → difference-DND5tWiA.js} +4 -3
  57. package/dist/esm/eq-CZ30nDJE.js +37 -0
  58. package/dist/esm/file-metadata-BHzkIH4g.js +71 -0
  59. package/dist/esm/{files-P324wLau.js → files-CZAZotms.js} +1 -1
  60. package/dist/esm/{focus-trigger-element-DubROLkE.js → focus-trigger-element-BOFcjLq3.js} +1 -1
  61. package/dist/{cjs/file-metadata-rQ0WzFlZ.js → esm/icons-Bu_YRgCL.js} +1 -75
  62. package/dist/esm/{isArrayLike-D1QkaJU2.js → isArrayLike-CyVGB489.js} +2 -26
  63. package/dist/esm/{isEmpty-BFxMjh_H.js → isEmpty-DHgukT5k.js} +2 -2
  64. package/dist/esm/{isEqual-CsrptmTU.js → isEqual-4tbMaaf_.js} +1 -1
  65. package/dist/esm/{eq-D7VMHFyO.js → isFunction-9zQTeQI8.js} +1 -37
  66. package/dist/esm/lime-elements.js +1 -1
  67. package/dist/esm/{limel-breadcrumbs_7.entry.js → limel-breadcrumbs_8.entry.js} +71 -6
  68. package/dist/esm/limel-chip-set.entry.js +586 -0
  69. package/dist/esm/limel-chip_2.entry.js +35 -542
  70. package/dist/esm/limel-dialog.entry.js +9 -6
  71. package/dist/esm/limel-email-viewer.entry.js +15 -10
  72. package/dist/esm/limel-file-dropzone_2.entry.js +12 -8
  73. package/dist/esm/limel-file.entry.js +2 -1
  74. package/dist/esm/limel-flatpickr-adapter.entry.js +5 -3
  75. package/dist/esm/limel-form.entry.js +18 -15
  76. package/dist/esm/limel-helper-line.entry.js +40 -0
  77. package/dist/esm/limel-popover_2.entry.js +6 -5
  78. package/dist/esm/limel-profile-picture.entry.js +3 -2
  79. package/dist/esm/limel-prosemirror-adapter.entry.js +16 -12
  80. package/dist/esm/limel-tab-bar.entry.js +11 -8
  81. package/dist/esm/limel-table.entry.js +14 -11
  82. package/dist/esm/loader.js +1 -1
  83. package/dist/esm/{pickBy-D8CUtxE4.js → pickBy-C4C3CM4m.js} +4 -4
  84. package/dist/lime-elements/lime-elements.esm.js +1 -1
  85. package/dist/lime-elements/p-01651634.entry.js +1 -0
  86. package/dist/lime-elements/p-4ecd565b.entry.js +1 -0
  87. package/dist/lime-elements/p-5442e09e.entry.js +13 -0
  88. package/dist/lime-elements/p-56bkn1D-.js +1 -0
  89. package/dist/lime-elements/p-60327283.entry.js +1 -0
  90. package/dist/lime-elements/{p-cfe85e59.entry.js → p-6eaa9776.entry.js} +10 -10
  91. package/dist/lime-elements/p-72b9d03e.entry.js +1 -0
  92. package/dist/lime-elements/p-80162ba0.entry.js +1 -0
  93. package/dist/lime-elements/p-9W8bTt2G.js +1 -0
  94. package/dist/lime-elements/p-B--C3qwe.js +1 -0
  95. package/dist/lime-elements/p-B8yl2MCT.js +1 -0
  96. package/dist/lime-elements/p-BAR6am-7.js +1 -0
  97. package/dist/lime-elements/p-BCq5M9TE.js +1 -0
  98. package/dist/lime-elements/p-BE1Efiuj.js +1 -0
  99. package/dist/lime-elements/p-BYfPV0O4.js +1 -0
  100. package/dist/lime-elements/p-BcJ-TDVt.js +1 -0
  101. package/dist/lime-elements/p-BsX7ma3n.js +1 -0
  102. package/dist/lime-elements/p-Bu_YRgCL.js +1 -0
  103. package/dist/lime-elements/p-ByzvFNMm.js +1 -0
  104. package/dist/lime-elements/{p-CWuGCKo1.js → p-C4caLnTg.js} +1 -1
  105. package/dist/lime-elements/p-CR7u-m0b.js +1 -0
  106. package/dist/lime-elements/p-CVzgpz9P.js +1 -0
  107. package/dist/lime-elements/p-CZ30nDJE.js +1 -0
  108. package/dist/lime-elements/{p-BvDmWgCs.js → p-D0F7gOYG.js} +1 -1
  109. package/dist/lime-elements/p-D4RdItCq.js +1 -0
  110. package/dist/lime-elements/p-D8H5afYg.js +1 -0
  111. package/dist/lime-elements/p-DbBZn7JO.js +1 -0
  112. package/dist/lime-elements/p-DtrvybFR.js +1 -0
  113. package/dist/lime-elements/{p-8139d26a.entry.js → p-a712087a.entry.js} +3 -3
  114. package/dist/lime-elements/p-b1645d2d.entry.js +1 -0
  115. package/dist/lime-elements/p-c8eabc9d.entry.js +1 -0
  116. package/dist/lime-elements/p-cba2dbb6.entry.js +1 -0
  117. package/dist/lime-elements/{p-e720f65c.entry.js → p-d00ec6c2.entry.js} +3 -3
  118. package/dist/lime-elements/{p-a416d439.entry.js → p-e5c7cac0.entry.js} +2 -2
  119. package/dist/lime-elements/p-f6e58e6c.entry.js +1 -0
  120. package/dist/lime-elements/p-f867b424.entry.js +1 -0
  121. package/dist/lime-elements/p-mmkVLOjW.js +1 -0
  122. package/dist/types/components/chip-set/chip-set.d.ts +1 -0
  123. package/dist/types/components/chip-set/chip.types.d.ts +9 -0
  124. package/dist/types/components/email-viewer/email-viewer.d.ts +0 -1
  125. package/dist/types/components.d.ts +4 -0
  126. package/package.json +1 -1
  127. package/dist/cjs/limel-helper-line_2.cjs.entry.js +0 -107
  128. package/dist/cjs/limel-linear-progress.cjs.entry.js +0 -59
  129. package/dist/esm/limel-helper-line_2.entry.js +0 -104
  130. package/dist/esm/limel-linear-progress.entry.js +0 -57
  131. package/dist/lime-elements/p-4118be32.entry.js +0 -13
  132. package/dist/lime-elements/p-48db87d3.entry.js +0 -1
  133. package/dist/lime-elements/p-4e9baf08.entry.js +0 -1
  134. package/dist/lime-elements/p-59f1460d.entry.js +0 -1
  135. package/dist/lime-elements/p-7uuv3HUP.js +0 -1
  136. package/dist/lime-elements/p-811c4820.entry.js +0 -1
  137. package/dist/lime-elements/p-83e084f9.entry.js +0 -1
  138. package/dist/lime-elements/p-9a378cf0.entry.js +0 -1
  139. package/dist/lime-elements/p-BTHqaZIi.js +0 -1
  140. package/dist/lime-elements/p-Bj622DVt.js +0 -1
  141. package/dist/lime-elements/p-Bp0tNo1s.js +0 -1
  142. package/dist/lime-elements/p-C3Myy3mA.js +0 -1
  143. package/dist/lime-elements/p-CXgJVvTe.js +0 -1
  144. package/dist/lime-elements/p-CxfAgSVd.js +0 -1
  145. package/dist/lime-elements/p-DNIqLXTL.js +0 -1
  146. package/dist/lime-elements/p-D_uMnX5g.js +0 -1
  147. package/dist/lime-elements/p-DbC-smVQ.js +0 -1
  148. package/dist/lime-elements/p-DlJXKdhK.js +0 -1
  149. package/dist/lime-elements/p-DtS35Df5.js +0 -1
  150. package/dist/lime-elements/p-SvuA3Boo.js +0 -1
  151. package/dist/lime-elements/p-b306735b.entry.js +0 -1
  152. package/dist/lime-elements/p-c1c635c1.entry.js +0 -1
  153. package/dist/lime-elements/p-cebdd797.entry.js +0 -1
  154. package/dist/lime-elements/p-efBXH4mj.js +0 -1
  155. package/dist/lime-elements/p-f_1nwOC8.js +0 -1
  156. package/dist/lime-elements/p-fd4a4f87.entry.js +0 -1
  157. package/dist/lime-elements/p-v6b303K5.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as e,c as o,h as t,a as r}from"./p-DBTJNfo7.js";import{c as i}from"./p-JbKhhoXs.js";import{E as s}from"./p-rI0IeKpx.js";import{f as a,z as n}from"./p-D0F7gOYG.js";import"./p-ByzvFNMm.js";import"./p-9W8bTt2G.js";import"./p-DbBZn7JO.js";import"./p-BcJ-TDVt.js";import"./p-BJQylLSL.js";import"./p-CZ30nDJE.js";function p(e,o){var t;if(e.contains(o)||(null===(t=e.shadowRoot)||void 0===t?void 0:t.contains(o)))return!0;const r=function(e){const o=e.closest(".limel-portal--container");if(o)return o.portalSource;return e.getRootNode().host}(o);return!!r&&p(e,r)}const c=class{constructor(t){e(this,t),this.close=o(this,"close"),this.open=!1,this.shouldRestoreFocusOnClose=!1,this.handleGlobalKeyPress=e=>{e.key===s&&(e.stopPropagation(),e.preventDefault(),this.requestCloseAndRestoreFocus())},this.requestCloseAndRestoreFocus=()=>{this.shouldRestoreFocusOnClose=!0,this.close.emit()},this.setTriggerRef=e=>{this.triggerSlot=e},this.focusTrigger=()=>{var e,o;const t=null===(o=null===(e=this.triggerSlot)||void 0===e?void 0:e.assignedElements())||void 0===o?void 0:o[0];a(t)},this.setTriggerAttributes=e=>{const o={"aria-haspopup":!0,"aria-expanded":this.open,"aria-controls":this.portalId,role:"button"};for(const[t,r]of Object.entries(o))r?e.setAttribute(t,String(r)):e.removeAttribute(t)},this.portalId=i(),this.globalClickListener=this.globalClickListener.bind(this)}watchOpen(){this.setupGlobalHandlers(),!this.open&&this.shouldRestoreFocusOnClose&&(this.shouldRestoreFocusOnClose=!1,setTimeout(this.focusTrigger,0))}componentWillLoad(){this.setupGlobalHandlers()}componentDidRender(){this.triggerSlot&&this.triggerSlot.assignedElements().forEach(this.setTriggerAttributes)}setupGlobalHandlers(){this.open?(document.addEventListener("click",this.globalClickListener,{capture:!0}),document.addEventListener("keydown",this.handleGlobalKeyPress)):(document.removeEventListener("click",this.globalClickListener),document.removeEventListener("keydown",this.handleGlobalKeyPress))}render(){const e=this.getCssProperties(),o=getComputedStyle(this.host).getPropertyValue("--popover-z-index");return t("div",{key:"7bc94b0e636ab16a04e76947731eb815f9a33e38",class:"trigger-anchor"},t("slot",{key:"e35b20eb6e38755cd50f71ada0413efcc79ce9e0",name:"trigger",ref:this.setTriggerRef}),t("limel-portal",{key:"397107a1f1fa9f796f0801da60df81084a0862ea",visible:this.open,containerId:this.portalId,containerStyle:{"z-index":o},openDirection:this.openDirection},t("limel-popover-surface",{key:"f63f011a8d529a68b535fcbed4685a5bb508dded",contentCollection:this.host.children,style:e})))}globalClickListener(e){const o=p(this.host,e.target);this.open&&!o&&(e.stopPropagation(),e.preventDefault(),this.close.emit())}getCssProperties(){const e=["--popover-surface-width","--popover-body-background-color","--popover-border-radius","--popover-box-shadow"],o=getComputedStyle(this.host),t=e.map((e=>o.getPropertyValue(e)));return n(e,t)}get host(){return r(this)}static get watchers(){return{open:[{watchOpen:0}]}}};c.style=".trigger-anchor{display:inline-block;position:relative}";const l=class{constructor(o){e(this,o)}componentDidLoad(){this.appendElement()}render(){return t("div",{key:"2ade664e817c3559b6721f0567736c8942afd2f1",class:"limel-popover-surface",tabindex:"0"})}appendElement(){const e=this.host.shadowRoot.querySelector(".limel-popover-surface"),o=[...this.contentCollection];for(const t of o)"trigger"!==t.slot&&e.append(t)}get host(){return r(this)}};l.style='@charset "UTF-8";:host(limel-popover-surface){isolation:isolate;position:relative;display:flex;width:var(--popover-surface-width, auto);max-height:inherit;max-width:calc(100vw - 2rem);margin:0 0.25rem}.limel-popover-surface{flex:1;min-width:0;min-height:0;border-radius:var(--popover-border-radius, 0.75rem);box-shadow:var(--popover-box-shadow, var(--shadow-depth-16));backdrop-filter:blur(0.3125rem);-webkit-backdrop-filter:blur(0.3125rem)}.limel-popover-surface:after{transition:opacity 0.4s ease;pointer-events:none;content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;opacity:0.95;border-radius:var(--popover-border-radius, 0.75rem);background-color:var(--popover-body-background-color, var(--lime-elevated-surface-background-color))}.limel-popover-surface:focus{outline:none}.limel-popover-surface:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}.limel-popover-surface:focus:after,.limel-popover-surface:focus-within:after{opacity:1}.limel-popover-surface>*{box-sizing:border-box}';export{c as limel_popover,l as limel_popover_surface}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,H as o}from"./p-DBTJNfo7.js";import{i as r}from"./p-C4caLnTg.js";import{g as s}from"./p-CgNJbSP4.js";import{t as a}from"./p-Dv3YcsA7.js";import{c as n}from"./p-JbKhhoXs.js";import{r as l}from"./p-DPcww8rE.js";import"./p-BCq5M9TE.js";import"./p-Bu_YRgCL.js";const h=class{constructor(o){t(this,o),this.change=e(this,"change"),this.filesRejected=e(this,"filesRejected"),this.language="en",this.icon="user",this.disabled=!1,this.readonly=!1,this.required=!1,this.invalid=!1,this.loading=!1,this.imageFit="cover",this.accept="image/jpeg,image/png,image/heic,.jpg,.jpeg,.png,.heic",this.imageError=!1,this.isErrorMessagePopoverOpen=!1,this.removeButtonId=n(),this.browseButtonId=n(),this.renderHelperText=()=>{if(this.helperText)return i("limel-tooltip",{elementId:this.browseButtonId,label:this.helperText})},this.handleNewFiles=async t=>{var e,i;if(t.stopPropagation(),this.disabled)return;const o=null===(e=t.detail)||void 0===e?void 0:e[0];if(!o)return;if(!r(o,this.accept))return void this.filesRejected.emit([o]);this.revokeObjectUrl(),this.imageError=!1;let s=o;if(this.resize&&o.fileContent instanceof File)try{const t=await l(o.fileContent,Object.assign(Object.assign({},this.resize),{fit:null!==(i=this.resize.fit)&&void 0!==i?i:this.imageFit}));s=Object.assign(Object.assign({},o),{filename:t.name,size:t.size,contentType:t.type,fileContent:t})}catch(t){s=o}!s.href&&s.fileContent instanceof File&&(this.objectUrl=URL.createObjectURL(s.fileContent)),this.change.emit(s)},this.handleRejectedFiles=t=>{t.stopPropagation(),this.filesRejected.emit(t.detail)},this.handleClear=t=>{t.stopPropagation(),this.revokeObjectUrl(),this.imageError=!1,this.change.emit(void 0)},this.onImageError=()=>{this.imageError=!0},this.openPopover=t=>{t.stopPropagation(),this.isErrorMessagePopoverOpen=!0},this.onPopoverClose=t=>{t.stopPropagation(),this.isErrorMessagePopoverOpen=!1},this.getTranslation=t=>a.get(t,this.language)}disconnectedCallback(){this.revokeObjectUrl()}handleValueChange(){this.revokeObjectUrl(),this.imageError=!1;const t=this.value;t&&"string"!=typeof t&&!t.href&&t.fileContent instanceof File&&(this.objectUrl=URL.createObjectURL(t.fileContent))}render(){const t={"has-image-error":this.imageError};return this.readonly?i(o,{class:t},this.renderAvatar()):i(o,{class:t},i("limel-file-dropzone",{disabled:this.disabled,accept:this.accept,onFilesSelected:this.handleNewFiles,onFilesRejected:this.handleRejectedFiles},i("limel-file-input",{accept:this.accept,disabled:this.disabled,"aria-required":this.required?"true":void 0,"aria-invalid":this.invalid?"true":void 0},this.renderBrowseButton())),this.renderClearButton(),this.renderSpinner(),this.renderErrorMessage(),this.renderHelperText())}get hasValue(){return"string"==typeof this.value?!!this.value:!(!this.value||!this.value.href&&!this.value.fileContent)||!!this.objectUrl}renderBrowseButton(){return i("button",{id:this.browseButtonId,type:"button",class:"avatar",disabled:this.disabled,"aria-label":this.label,"aria-busy":this.loading?"true":"false","aria-live":"polite"},this.renderAvatar())}renderAvatar(){const t=this.getImageSrc();return t?i("img",{src:t,alt:"",style:{"--limel-profile-picture-object-fit":this.imageFit},loading:"lazy",onError:this.onImageError}):this.renderIcon()}renderIcon(){var t,e;const o=s(this.icon);return i("limel-icon",{name:o,style:{color:`${null===(t=this.icon)||void 0===t?void 0:t.color}`,"background-color":`${null===(e=this.icon)||void 0===e?void 0:e.backgroundColor}`}})}renderClearButton(){if(this.hasValue&&!this.disabled)return[i("button",{class:"remove",type:"button",id:this.removeButtonId,onClick:this.handleClear}),i("limel-tooltip",{label:this.getTranslation("profile-picture.remove"),elementId:this.removeButtonId})]}renderSpinner(){if(this.loading)return i("limel-spinner",null)}getUnsupportedPreviewContext(){const t=this.value;return{hasNoSrc:!this.getImageSrc(),hasLocalFile:!(!(t&&"string"!=typeof t&&t.fileContent instanceof File)||t.href),isResizeConfigured:!!this.resize}}shouldShowErrorMessage(){const{hasNoSrc:t,hasLocalFile:e,isResizeConfigured:i}=this.getUnsupportedPreviewContext();return(t||this.imageError)&&e&&i}renderErrorMessage(){if(this.shouldShowErrorMessage())return i("limel-popover",{open:this.isErrorMessagePopoverOpen,onClick:this.openPopover,onClose:this.onPopoverClose},i("limel-icon-button",{slot:"trigger",elevated:!0,icon:{name:"error",color:"rgb(var(--color-orange-dark))"},"aria-live":"polite",label:this.getTranslation("profile-picture.unsupported-preview.title")}),i("limel-callout",{type:"warning",style:{maxWidth:"20rem",borderRadius:"0.75rem"},heading:this.getTranslation("profile-picture.unsupported-preview.title")},this.getTranslation("profile-picture.unsupported-preview.description")))}getImageSrc(){return this.value?"string"==typeof this.value?this.value:this.value.href?this.value.href:this.value.fileContent instanceof File?this.objectUrl:void 0:this.objectUrl}revokeObjectUrl(){this.objectUrl&&(URL.revokeObjectURL(this.objectUrl),this.objectUrl=void 0)}static get watchers(){return{value:[{handleValueChange:0}]}}};h.style="@charset \"UTF-8\";:host(limel-profile-picture){position:relative;display:inline-flex;min-width:1.5rem;min-height:1.5rem;border-radius:var(--profile-picture-border-radius, 100vw);background-color:rgb(var(--contrast-400))}*{box-sizing:border-box}limel-file-dropzone,limel-file-input,button.avatar{display:flex;align-items:center;justify-content:center;width:100%;height:100%}button{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;display:block}button:focus{outline:none}button:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.avatar{overflow:hidden;border-radius:var(--profile-picture-border-radius, 100vw)}:host(:not([disabled]):not([disabled=true])) button.avatar{transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:transparent}:host(:not([disabled]):not([disabled=true])) button.avatar:hover,:host(:not([disabled]):not([disabled=true])) button.avatar:focus,:host(:not([disabled]):not([disabled=true])) button.avatar:focus-visible{will-change:color, background-color, box-shadow, transform}:host(:not([disabled]):not([disabled=true])) button.avatar:hover,:host(:not([disabled]):not([disabled=true])) button.avatar:focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}:host(:not([disabled]):not([disabled=true])) button.avatar:hover{box-shadow:var(--button-shadow-hovered)}:host(:not([disabled]):not([disabled=true])) button.avatar:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}:host(:not([disabled]):not([disabled=true])) button.avatar:hover,:host(:not([disabled]):not([disabled=true])) button.avatar:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}:host([invalid]:not([invalid=false])) button.avatar{box-shadow:var(--shadow-error-state)}button.remove{transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:rgb(var(--contrast-900))}button.remove:hover,button.remove:focus,button.remove:focus-visible{will-change:color, background-color, box-shadow, transform}button.remove:hover,button.remove:focus-visible{transform:translate3d(0, 0.01rem, 0);color:rgb(var(--color-white));background-color:rgb(var(--color-red-default))}button.remove:hover{box-shadow:var(--button-shadow-hovered)}button.remove:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button.remove:hover,button.remove:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button.remove{cursor:pointer;height:1.25rem;width:1.25rem;border-radius:50%;background-repeat:no-repeat;background-position:center;background-size:0.75rem;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%3E%3Cdefs/%3E%3Cpath%20fill='rgb(255,255,255)'%20d='M7.219%205.781L5.78%207.22%2014.563%2016%205.78%2024.781%207.22%2026.22%2016%2017.437l8.781%208.782%201.438-1.438L17.437%2016l8.782-8.781L24.78%205.78%2016%2014.563z'/%3E%3C/svg%3E\");position:absolute;top:0;left:0;opacity:0}:host(:hover) button.remove,:host(:focus) button.remove,:host(:focus-visible) button.remove,:host(:focus-within) button.remove,:host(:active) button.remove{animation:show 0.4s ease-in-out forwards}@keyframes show{0%{transform:scale(0.9);opacity:0}100%{transform:scale(1);opacity:1}}button.avatar,img,limel-icon{border-radius:var(--profile-picture-border-radius, 100vw)}limel-icon{width:calc(100% - 1rem);min-width:1rem;max-width:4rem;color:var(--limel-theme-text-secondary-on-background-color);margin:auto}img{object-fit:var(--limel-profile-picture-object-fit);width:100%;height:100%}:host(.has-image-error) img{border:1px dashed rgb(var(--contrast-600));background:url(\"data:image/svg+xml;charset=utf-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' style='fill-rule:evenodd;'><path fill='rgba(186,186,192,0.16)' d='M0 0h4v4H0zM4 4h4v4H4z'/></svg>\");background-size:0.5rem}limel-spinner{position:absolute;inset:0;margin:auto}limel-popover{position:absolute;inset:auto 0 0 auto;display:block;width:2.25rem;height:2.25rem}";export{h as limel_profile_picture}
@@ -0,0 +1 @@
1
+ import{g as r}from"./p-DbBZn7JO.js";var t=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(r){}}();export{t as d}
@@ -0,0 +1 @@
1
+ var r=/^(?:0|[1-9]\d*)$/;function n(n,e){var o=typeof n;return!!(e=null==e?9007199254740991:e)&&("number"==o||"symbol"!=o&&r.test(n))&&n>-1&&n%1==0&&n<e}export{n as i}
@@ -0,0 +1 @@
1
+ import{f as r,d as t,e as n,b as o,a,c as u}from"./p-BE1Efiuj.js";import{a as i}from"./p-ByzvFNMm.js";import{i as s}from"./p-B--C3qwe.js";import{i as e}from"./p-BJQylLSL.js";import{a as f}from"./p-BsX7ma3n.js";var c=Object.prototype.hasOwnProperty;function p(r,t){return null!=r&&c.call(r,t)}function m(t,n){return null!=t&&r(t,n,p)}function v(r){if("function"!=typeof r)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!r.call(this);case 1:return!r.call(this,t[0]);case 2:return!r.call(this,t[0],t[1]);case 3:return!r.call(this,t[0],t[1],t[2])}return!r.apply(this,t)}}function l(r,o,a,u){if(!e(r))return r;for(var f=-1,c=(o=t(o,r)).length,p=c-1,m=r;null!=m&&++f<c;){var v=n(o[f]),l=a;if("__proto__"===v||"constructor"===v||"prototype"===v)return r;if(f!=p){var h=m[v];void 0===(l=u?u(h,v,m):void 0)&&(l=e(h)?h:s(o[f+1])?[]:{})}i(m,v,l),m=m[v]}return r}function h(r,n,a){for(var u=-1,i=n.length,s={};++u<i;){var e=n[u],f=o(r,e);a(f,e)&&l(s,t(e,r),f)}return s}function j(r,t){if(null==r)return{};var n=a(f(r),(function(r){return[r]}));return t=u(t),h(r,n,(function(r,n){return t(r,n[0])}))}export{l as a,h as b,m as h,v as n,j as p}
@@ -0,0 +1 @@
1
+ import{f as r,a as n,c as t}from"./p-mmkVLOjW.js";import{S as o}from"./p-BJQylLSL.js";import{b as u}from"./p-D4RdItCq.js";import{i}from"./p-B8VKuhvH.js";import{i as a}from"./p-CK4jS9_E.js";import{d as e}from"./p-9W8bTt2G.js";import{i as f}from"./p-BYfPV0O4.js";import{i as s}from"./p-oiMYqRQ0.js";var c,v,m,p=Date.now,j=e?function(r,n){return e(r,"toString",{configurable:!0,enumerable:!1,value:(t=n,function(){return t}),writable:!0});var t}:a,l=(c=j,v=0,m=0,function(){var r=p(),n=16-(r-m);if(m=r,n>0){if(++v>=800)return arguments[0]}else v=0;return c.apply(void 0,arguments)});function d(r){return r!=r}function b(r,n,t){return n==n?function(r,n,t){for(var o=t-1,u=r.length;++o<u;)if(r[o]===n)return o;return-1}(r,n,t):function(r,n,t){for(var o=r.length,u=t+-1;++u<o;)if(n(r[u],u,r))return u;return-1}(r,d,t)}function h(r,n){return!(null==r||!r.length)&&b(r,n,0)>-1}var S=Math.max;function w(r,n,t){return n=S(void 0===n?r.length-1:n,0),function(){for(var o=arguments,u=-1,i=S(o.length-n,0),a=Array(i);++u<i;)a[u]=o[n+u];u=-1;for(var e=Array(n+1);++u<n;)e[u]=o[u];return e[n]=t(a),function(r,n,t){switch(t.length){case 0:return r.call(n);case 1:return r.call(n,t[0]);case 2:return r.call(n,t[0],t[1]);case 3:return r.call(n,t[0],t[1],t[2])}return r.apply(n,t)}(r,this,e)}}function y(r,n){return l(w(r,n,a),r+"")}var B=o?o.isConcatSpreadable:void 0;function L(r){return i(r)||u(r)||!!(B&&r&&r[B])}function V(n,t,o,u,i){var a=-1,e=n.length;for(o||(o=L),i||(i=[]);++a<e;){var f=n[a];t>0&&o(f)?t>1?V(f,t-1,o,u,i):r(i,f):u||(i[i.length]=f)}return i}function g(r){return s(r)&&f(r)}var q=y((function(r,o){return g(r)?function(r,o){var u=-1,i=h,a=!0,e=r.length,f=[],s=o.length;if(!e)return f;o.length>=200&&(i=t,a=!1,o=new n(o));r:for(;++u<e;){var c=r[u],v=c;if(c=0!==c?c:0,a&&v==v){for(var m=s;m--;)if(o[m]===v)continue r;f.push(c)}else i(o,v,undefined)||f.push(c)}return f}(r,V(o,1,g,!0)):[]}));export{V as a,y as b,b as c,h as d,q as e,g as i,w as o,l as s}
@@ -0,0 +1 @@
1
+ import{g as n,a as t,b as r}from"./p-Bu_YRgCL.js";import{c as o,b as s,g as i}from"./p-CgNJbSP4.js";function u(n){const t=i(n.icon);if(t)return t;const o=e(n);return o?r(o):void 0}function c(n){const r=s(n.icon,n.iconColor);if(r)return r;const o=e(n);return o?t(o):void 0}function a(t){const r=o(t.icon,t.iconBackgroundColor);if(r)return r;const s=e(t);return s?n(s):void 0}function f(n){return i(n.icon)||e(n)}function e(n){if(n)return n.filename.split(".").pop()}export{c as a,f as b,u as c,a as g}
@@ -0,0 +1 @@
1
+ import{M as r,S as n,d as t,k as u}from"./p-mmkVLOjW.js";import{S as i,i as o}from"./p-BJQylLSL.js";import{i as f}from"./p-B8VKuhvH.js";import{i as e}from"./p-BOEi1C7r.js";import{b as a}from"./p-D4RdItCq.js";import{i as c}from"./p-B--C3qwe.js";import{a as s}from"./p-BYfPV0O4.js";import{i as v}from"./p-CK4jS9_E.js";function l(r,n){for(var t=-1,u=null==r?0:r.length,i=Array(u);++t<u;)i[t]=n(r[t],t,r);return i}var p=i?i.prototype:void 0,m=p?p.toString:void 0;function d(r){if("string"==typeof r)return r;if(f(r))return l(r,d)+"";if(e(r))return m?m.call(r):"";var n=r+"";return"0"==n&&1/r==-1/0?"-0":n}var j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,b=/^\w*$/;function y(r,n){if(f(r))return!1;var t=typeof r;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=r&&!e(r))||b.test(r)||!j.test(r)||null!=n&&r in Object(n)}function O(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var u=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=u.cache;if(o.has(i))return o.get(i);var f=n.apply(this,r);return u.cache=o.set(i,f)||o,f};return u.cache=new(O.Cache||r),u}O.Cache=r;var w,g,h,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,C=/\\(\\)?/g,E=(w=function(r){var n=[];return 46===r.charCodeAt(0)&&n.push(""),r.replace(B,(function(r,t,u,i){n.push(u?i.replace(C,"$1"):t||r)})),n},g=O(w,(function(r){return 500===h.size&&h.clear(),r})),h=g.cache,g);function S(r){return null==r?"":d(r)}function k(r,n){return f(r)?r:y(r,n)?[r]:E(S(r))}function L(r){if("string"==typeof r||e(r))return r;var n=r+"";return"0"==n&&1/r==-1/0?"-0":n}function V(r,n){for(var t=0,u=(n=k(n,r)).length;null!=r&&t<u;)r=r[L(n[t++])];return t&&t==u?r:void 0}function $(r,n,t){var u=null==r?void 0:V(r,n);return void 0===u?t:u}function q(r){return r==r&&!o(r)}function x(r,n){return function(t){return null!=t&&t[r]===n&&(void 0!==n||r in Object(t))}}function K(r,n){return null!=r&&n in Object(r)}function A(r,n,t){for(var u=-1,i=(n=k(n,r)).length,o=!1;++u<i;){var e=L(n[u]);if(!(o=null!=r&&t(r,e)))break;r=r[e]}return o||++u!=i?o:!!(i=null==r?0:r.length)&&s(i)&&c(e,i)&&(f(r)||a(r))}function D(r,n){return null!=r&&A(r,n,K)}function H(r){return"function"==typeof r?r:null==r?v:"object"==typeof r?f(r)?(a=r[1],y(e=r[0])&&q(a)?x(L(e),a):function(r){var n=$(r,e);return void 0===n&&n===a?D(r,e):t(a,n,3)}):(o=function(r){for(var n=u(r),t=n.length;t--;){var i=n[t],o=r[i];n[t]=[i,o,q(o)]}return n}(i=r),1==o.length&&o[0][2]?x(o[0][0],o[0][1]):function(r){return r===i||function(r,u,i){var o=i.length,f=o;if(null==r)return!f;for(r=Object(r);o--;){var e=i[o];if(e[2]?e[1]!==r[e[0]]:!(e[0]in r))return!1}for(;++o<f;){var a=(e=i[o])[0],c=r[a],s=e[1];if(e[2]){if(void 0===c&&!(a in r))return!1}else{var v=new n;if(!t(s,c,3,void 0,v))return!1}}return!0}(r,0,o)}):function(r){return y(r)?(n=L(r),function(r){return null==r?void 0:r[n]}):function(r){return function(n){return V(n,r)}}(r);var n}(r);var i,o,e,a}export{l as a,V as b,H as c,k as d,L as e,A as f,$ as g,D as h,E as s,S as t}
@@ -0,0 +1 @@
1
+ import{i as n}from"./p-BcJ-TDVt.js";function r(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991}function t(t){return null!=t&&r(t.length)&&!n(t)}export{r as a,t as i}
@@ -0,0 +1 @@
1
+ import{i as o,b as t}from"./p-BJQylLSL.js";function n(n){if(!o(n))return!1;var r=t(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}export{n as i}
@@ -0,0 +1 @@
1
+ import{h as r,i as t,f as a,g as n,j as o}from"./p-mmkVLOjW.js";import{d as s,o as f}from"./p-D4RdItCq.js";import{i}from"./p-BJQylLSL.js";import{i as u}from"./p-BYfPV0O4.js";var c=Object.prototype.hasOwnProperty;function e(t){return u(t)?r(t,!0):function(r){if(!i(r))return function(r){var t=[];if(null!=r)for(var a in Object(r))t.push(a);return t}(r);var t=s(r),a=[];for(var n in r)("constructor"!=n||!t&&c.call(r,n))&&a.push(n);return a}(t)}var j=f(Object.getPrototypeOf,Object),m=Object.getOwnPropertySymbols?function(r){for(var t=[];r;)a(t,n(r)),r=j(r);return t}:t;function p(r){return o(r,e,m)}export{p as a,m as b,j as g,e as k}
@@ -0,0 +1 @@
1
+ const r="rgba(var(--color-gray-lighter), 0.4)",o="rgba(var(--color-cyan-lighter), 0.4)",a="rgba(var(--color-gray-lighter), 0.4)",l="rgba(var(--color-blue-lighter), 0.4)",e="rgba(var(--color-yellow-lighter), 0.4)",g="rgba(var(--color-green-lighter), 0.4)",t="rgba(var(--color-coral-lighter), 0.4)",p="rgba(var(--color-sky-lighter), 0.4)",c="rgba(var(--color-lime-lighter), 0.4)",d="rgba(var(--color-magenta-lighter), 0.4)",s="rgba(var(--color-blue-lighter), 0.4)",i="rgba(var(--color-orange-lighter), 0.4)",m="rgba(var(--color-indigo-lighter), 0.4)",v="rgba(var(--color-red-lighter), 0.4)",b="rgba(var(--color-orange-lighter), 0.4)",n="rgba(var(--color-glaucous-lighter), 0.4)",h={msg:"rgba(var(--color-yellow-lighter), 0.4)",ics:o,ical:o,icalendar:o,ifb:o,email:a,eml:a,oft:a,ost:a,emlx:a,html:l,xml:l,txt:e,rtf:e,dot:p,doc:p,docx:p,dotx:p,docm:p,dotm:p,odt:i,pages:i,pdf:"rgba(var(--color-red-lighter), 0.4)",ppt:t,pot:t,pps:t,pptx:t,pptm:t,potx:t,potm:t,ppam:t,ppsx:t,ppsm:t,sldx:t,sldm:t,odp:s,key:s,xls:g,xlsx:g,csv:r,numbers:"rgba(var(--color-green-lighter), 0.4)",bmp:c,jpg:c,jpeg:c,heic:c,png:c,gif:c,psd:s,ai:i,svg:d,svgz:d,ep:d,eps:d,sketch:d,mp3:m,wav:m,wma:m,ogg:m,flv:v,h264:v,mov:v,mp4:v,mwv:v,zip:b,"7z":b,rar:b,json:n,yaml:n,sql:n,db:n,dbf:n};function x(o){return h[o.toLowerCase()]||r}const f="rgb(var(--color-gray-dark))",k="rgb(var(--color-cyan-dark))",y="rgb(var(--color-gray-dark))",_="rgb(var(--color-blue-dark))",u="rgb(var(--color-yellow-darker))",w="rgb(var(--color-green-dark))",j="rgb(var(--color-coral-dark))",z="rgb(var(--color-sky-dark))",q="rgb(var(--color-lime-dark))",D="rgb(var(--color-magenta-dark))",F="rgb(var(--color-blue-dark))",P="rgb(var(--color-orange-dark))",A="rgb(var(--color-indigo-dark))",B="rgb(var(--color-red-dark))",C="rgb(var(--color-brown-default))",E="rgb(var(--color-glaucous-dark))",G={msg:"rgb(var(--color-yellow-dark))",ics:k,ical:k,icalendar:k,ifb:k,email:y,eml:y,oft:y,ost:y,emlx:y,html:_,xml:_,txt:u,rtf:u,dot:z,doc:z,docx:z,dotx:z,docm:z,dotm:z,odt:P,pages:P,pdf:"rgb(var(--color-red-dark))",ppt:j,pot:j,pps:j,pptx:j,pptm:j,potx:j,potm:j,ppam:j,ppsx:j,ppsm:j,sldx:j,sldm:j,odp:F,key:F,xls:w,xlsx:w,csv:f,numbers:"rgb(var(--color-green-dark))",bmp:q,jpg:q,jpeg:q,heic:q,png:q,gif:q,psd:F,ai:P,svg:D,svgz:D,ep:D,eps:D,sketch:D,mp3:A,wav:A,wma:A,ogg:A,flv:B,h264:B,mov:B,mp4:B,mwv:B,zip:C,"7z":C,rar:C,json:E,yaml:E,sql:E,db:E,dbf:E};function H(r){return G[r.toLowerCase()]||f}const I="tear_off_calendar",J="email",K="internet",L="text_box",M="ms_excel_copyrighted",N="ms_word_copyrighted",O="ms_powerpoint_copyrighted",Q="picture",R="camera",S="vector",T="presentation_filled",U="overview_pages_2",V="data_sheet",W="audio_wave",X="video_file",Y="condom_package",Z="database",$={msg:"ms_outlook_copyrighted",ics:I,ical:I,icalendar:I,ifb:I,email:J,eml:J,oft:J,ost:J,emlx:J,html:K,xml:K,txt:L,rtf:L,dot:N,doc:N,docx:N,dotx:N,docm:N,dotm:N,odt:U,pages:U,pdf:"PDF_2",ppt:O,pot:O,pps:O,pptx:O,pptm:O,potx:O,potm:O,ppam:O,ppsx:O,ppsm:O,sldx:O,sldm:O,odp:T,key:T,xls:M,xlsx:M,csv:V,numbers:V,jpg:R,jpeg:R,heic:R,bmp:Q,png:Q,gif:Q,psd:"adobe_photoshop_copyrighted",ai:"adobe_illustrator_copyrighted",svg:S,svgz:S,ep:S,eps:S,sketch:S,mp3:W,wav:W,wma:W,ogg:W,avi:X,flv:X,h264:X,mov:X,mp4:X,mwv:X,zip:Y,"7z":Y,rar:Y,json:"json",yaml:Z,sql:Z,db:Z,dbf:Z};function rr(r){return $[r.toLowerCase()]||"file"}export{H as a,rr as b,x as g}
@@ -0,0 +1 @@
1
+ import{d as a}from"./p-9W8bTt2G.js";import{e as o}from"./p-CZ30nDJE.js";function r(o,r,e){"__proto__"==r&&a?a(o,r,{configurable:!0,enumerable:!0,value:e,writable:!0}):o[r]=e}var e=Object.prototype.hasOwnProperty;function t(a,t,i){var n=a[t];e.call(a,t)&&o(n,i)&&(void 0!==i||t in a)||r(a,t,i)}export{t as a,r as b}
@@ -1 +1 @@
1
- import{g as n,a as t,b as o,c as r}from"./p-DlJXKdhK.js";function e(e){const i={id:crypto.randomUUID(),filename:e.name,contentType:e.type,size:e.size,fileContent:e};return i.icon={name:r(i),title:o(i),color:t(i),backgroundColor:n(i)},i}function i(n,t){return void 0===t||"*"===t||t.split(",").map((n=>n.trim())).some((t=>{if(t===n.contentType)return!0;if(t.endsWith("/*")){const o=t.split("/")[0];return n.contentType.startsWith(`${o}/`)}if(t.startsWith(".")){const o=t.split(".")[1];return n.contentType.endsWith(`/${o}`)}}))}export{e as c,i}
1
+ import{g as n,a as t,b as o,c as r}from"./p-BCq5M9TE.js";function e(e){const i={id:crypto.randomUUID(),filename:e.name,contentType:e.type,size:e.size,fileContent:e};return i.icon={name:r(i),title:o(i),color:t(i),backgroundColor:n(i)},i}function i(n,t){return void 0===t||"*"===t||t.split(",").map((n=>n.trim())).some((t=>{if(t===n.contentType)return!0;if(t.endsWith("/*")){const o=t.split("/")[0];return n.contentType.startsWith(`${o}/`)}if(t.startsWith(".")){const o=t.split(".")[1];return n.contentType.endsWith(`/${o}`)}}))}export{e as c,i}
@@ -0,0 +1 @@
1
+ import{t as r}from"./p-D6dCQvwl.js";import{e as t}from"./p-CZ30nDJE.js";import{i}from"./p-BYfPV0O4.js";import{i as o}from"./p-B--C3qwe.js";import{i as s}from"./p-BJQylLSL.js";var p=1/0;function m(t){return t?(t=r(t))===p||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function n(r,p,m){if(!s(m))return!1;var n=typeof p;return!!("number"==n?i(m)&&o(p,m.length):"string"==n&&p in m)&&t(m[p],r)}export{n as i,m as t}
@@ -0,0 +1 @@
1
+ import{d as r}from"./p-mmkVLOjW.js";function m(m,o){return r(m,o)}export{m as i}
@@ -0,0 +1 @@
1
+ function e(e,n){return e===n||e!=e&&n!=n}export{e}
@@ -1 +1 @@
1
- import{a as t}from"./p-v6b303K5.js";function r(r,n){return function(t,r,n){for(var e=-1,a=t.length,i=r.length,o={};++e<a;)n(o,t[e],e<i?r[e]:void 0);return o}(r||[],n||[],t)}const n='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])',e=t=>{var r,e;if(!t||!0===(e=t).disabled||e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled"))return!1;const a=null===(r=t.shadowRoot)||void 0===r?void 0:r.querySelector(n);if(a)return a.focus(),!0;const i=t.querySelector(n);return i?(i.focus(),!0):(t.focus(),!0)};export{e as f,r as z}
1
+ import{a as t}from"./p-ByzvFNMm.js";function r(r,n){return function(t,r,n){for(var e=-1,a=t.length,i=r.length,o={};++e<a;)n(o,t[e],e<i?r[e]:void 0);return o}(r||[],n||[],t)}const n='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])',e=t=>{var r,e;if(!t||!0===(e=t).disabled||e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled"))return!1;const a=null===(r=t.shadowRoot)||void 0===r?void 0:r.querySelector(n);if(a)return a.focus(),!0;const i=t.querySelector(n);return i?(i.focus(),!0):(t.focus(),!0)};export{e as f,r as z}
@@ -0,0 +1 @@
1
+ import{r as e,b as t,f as r}from"./p-BJQylLSL.js";import{i as o}from"./p-oiMYqRQ0.js";import{a as n}from"./p-BYfPV0O4.js";import{g as a,t as u}from"./p-DbBZn7JO.js";var c=a(e,"WeakMap"),s=Object.prototype;function i(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||s)}function f(e){return o(e)&&"[object Arguments]"==t(e)}var p=Object.prototype,j=p.hasOwnProperty,b=p.propertyIsEnumerable,m=f(function(){return arguments}())?f:function(e){return o(e)&&j.call(e,"callee")&&!b.call(e,"callee")},l="object"==typeof exports&&exports&&!exports.nodeType&&exports,d=l&&"object"==typeof module&&module&&!module.nodeType&&module,v=d&&d.exports===l?e.Buffer:void 0,x=(v?v.isBuffer:void 0)||function(){return!1},O={};function w(e){return function(t){return e(t)}}O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object Boolean]"]=O["[object DataView]"]=O["[object Date]"]=O["[object Error]"]=O["[object Function]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object WeakMap]"]=!1;var y="object"==typeof exports&&exports&&!exports.nodeType&&exports,M=y&&"object"==typeof module&&module&&!module.nodeType&&module,B=M&&M.exports===y&&r.process,S=function(){try{return M&&M.require&&M.require("util").types||B&&B.binding&&B.binding("util")}catch(e){}}(),g=S&&S.isTypedArray,D=g?w(g):function(e){return o(e)&&n(e.length)&&!!O[t(e)]};function P(e,t){return function(r){return e(t(r))}}var V=P(Object.keys,Object),h=Object.prototype.hasOwnProperty;function k(e){if(!i(e))return V(e);var t=[];for(var r in Object(e))h.call(e,r)&&"constructor"!=r&&t.push(r);return t}var A=a(e,"Map"),J=a(e,"DataView"),L=a(e,"Promise"),Q=a(e,"Set"),W="[object Map]",Y="[object Promise]",q="[object Set]",R="[object WeakMap]",Z="[object DataView]",z=u(J),C=u(A),E=u(L),F=u(Q),G=u(c),H=t;(J&&H(new J(new ArrayBuffer(1)))!=Z||A&&H(new A)!=W||L&&H(L.resolve())!=Y||Q&&H(new Q)!=q||c&&H(new c)!=R)&&(H=function(e){var r=t(e),o="[object Object]"==r?e.constructor:void 0,n=o?u(o):"";if(n)switch(n){case z:return Z;case C:return W;case E:return Y;case F:return q;case G:return R}return r});export{A as M,Q as S,D as a,m as b,k as c,i as d,w as e,H as g,x as i,S as n,P as o}
@@ -0,0 +1 @@
1
+ import{i as r,a as t,b as i,g as a,d as f,c as o}from"./p-D4RdItCq.js";import{i as e}from"./p-B8VKuhvH.js";import{i as n}from"./p-BYfPV0O4.js";var s=Object.prototype.hasOwnProperty;function p(p){if(null==p)return!0;if(n(p)&&(e(p)||"string"==typeof p||"function"==typeof p.splice||r(p)||t(p)||i(p)))return!p.length;var u=a(p);if("[object Map]"==u||"[object Set]"==u)return!p.size;if(f(p))return!o(p).length;for(var c in p)if(s.call(p,c))return!1;return!0}export{p as i}
@@ -0,0 +1 @@
1
+ import{i as r}from"./p-BcJ-TDVt.js";import{r as t,i as n}from"./p-BJQylLSL.js";var o,c=t["__core-js_shared__"],u=(o=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"",i=Function.prototype.toString;function a(r){if(null!=r){try{return i.call(r)}catch(r){}try{return r+""}catch(r){}}return""}var e=/^\[object .+?Constructor\]$/,s=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(t,o){var c=function(r,t){return null==r?void 0:r[t]}(t,o);return function(t){return!(!n(t)||(o=t,u&&u in o))&&(r(t)?s:e).test(a(t));var o}(c)?c:void 0}export{f as g,a as t}
@@ -0,0 +1 @@
1
+ import{k as r}from"./p-mmkVLOjW.js";import{i as t}from"./p-BYfPV0O4.js";var a=function(r,t,a){for(var n=-1,f=Object(r),o=a(r),e=o.length;e--;){var i=o[++n];if(!1===t(f[i],i,f))break}return r};function n(t,n){return t&&a(t,n,r)}var f,o=(f=n,function(r,a){if(null==r)return r;if(!t(r))return f(r,a);for(var n=r.length,o=-1,e=Object(r);++o<n&&!1!==a(e[o],o,e););return r});export{o as a,a as b,n as c}
@@ -1,4 +1,4 @@
1
- import{r as i,c as t,h as o,a as e}from"./p-DBTJNfo7.js";import{d as a}from"./p-z_E3sq3p.js";import{c as d}from"./p-JbKhhoXs.js";import{_ as n,a as c,M as r,b as l,c as s,d as m,m as g}from"./p-ChRGk668.js";import{M as h}from"./p-BN1-aIOw.js";import{i as u}from"./p-SvuA3Boo.js";import"./p-DNIqLXTL.js";import"./p-DtS35Df5.js";import"./p-BJQylLSL.js";import"./p-efBXH4mj.js";import"./p-B8VKuhvH.js";import"./p-oiMYqRQ0.js";import"./p-D_uMnX5g.js";
1
+ import{r as i,c as t,h as o,a as e}from"./p-DBTJNfo7.js";import{d as a}from"./p-z_E3sq3p.js";import{c as d}from"./p-JbKhhoXs.js";import{_ as n,a as c,M as r,b as l,c as s,d as m,m as g}from"./p-ChRGk668.js";import{M as h}from"./p-BN1-aIOw.js";import{i as u}from"./p-CVzgpz9P.js";import"./p-mmkVLOjW.js";import"./p-CZ30nDJE.js";import"./p-D4RdItCq.js";import"./p-BJQylLSL.js";import"./p-oiMYqRQ0.js";import"./p-BYfPV0O4.js";import"./p-BcJ-TDVt.js";import"./p-DbBZn7JO.js";import"./p-B8VKuhvH.js";import"./p-B--C3qwe.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2016 Google Inc.
@@ -43,7 +43,7 @@ import{r as i,c as t,h as o,a as e}from"./p-DBTJNfo7.js";import{d as a}from"./p-
43
43
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
44
44
  * THE SOFTWARE.
45
45
  */
46
- var f,p="mdc-dom-focus-sentinel",_=function(){function i(i,t){void 0===t&&(t={}),this.root=i,this.options=t,this.elFocusedBeforeTrapFocus=null}return i.prototype.trapFocus=function(){var i=this.getFocusableElements(this.root);if(0===i.length)throw new Error("FocusTrap: Element must have at least one focusable child.");this.elFocusedBeforeTrapFocus=document.activeElement instanceof HTMLElement?document.activeElement:null,this.wrapTabFocus(this.root),this.options.skipInitialFocus||this.focusInitialElement(i,this.options.initialFocusEl)},i.prototype.releaseFocus=function(){[].slice.call(this.root.querySelectorAll("."+p)).forEach((function(i){i.parentElement.removeChild(i)})),!this.options.skipRestoreFocus&&this.elFocusedBeforeTrapFocus&&this.elFocusedBeforeTrapFocus.focus()},i.prototype.wrapTabFocus=function(i){var t=this,o=this.createSentinel(),e=this.createSentinel();o.addEventListener("focus",(function(){var o=t.getFocusableElements(i);o.length>0&&o[o.length-1].focus()})),e.addEventListener("focus",(function(){var o=t.getFocusableElements(i);o.length>0&&o[0].focus()})),i.insertBefore(o,i.children[0]),i.appendChild(e)},i.prototype.focusInitialElement=function(i,t){var o=0;t&&(o=Math.max(i.indexOf(t),0)),i[o].focus()},i.prototype.getFocusableElements=function(i){return[].slice.call(i.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter((function(i){var t="true"===i.getAttribute("aria-disabled")||null!=i.getAttribute("disabled")||null!=i.getAttribute("hidden")||"true"===i.getAttribute("aria-hidden"),o=i.tabIndex>=0&&i.getBoundingClientRect().width>0&&!i.classList.contains(p)&&!t,e=!1;if(o){var a=getComputedStyle(i);e="none"===a.display||"hidden"===a.visibility}return o&&!e}))},i.prototype.createSentinel=function(){var i=document.createElement("div");return i.setAttribute("tabindex","0"),i.setAttribute("aria-hidden","true"),i.classList.add(p),i},i}(),b=function(){function i(){this.rafIDs=new Map}return i.prototype.request=function(i,t){var o=this;this.cancel(i);var e=requestAnimationFrame((function(e){o.rafIDs.delete(i),t(e)}));this.rafIDs.set(i,e)},i.prototype.cancel=function(i){var t=this.rafIDs.get(i);t&&(cancelAnimationFrame(t),this.rafIDs.delete(i))},i.prototype.cancelAll=function(){var i=this;this.rafIDs.forEach((function(t,o){i.cancel(o)}))},i.prototype.getQueue=function(){var i=[];return this.rafIDs.forEach((function(t,o){i.push(o)})),i},i}(),x={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",FULLSCREEN:"mdc-dialog--fullscreen",SCROLL_DIVIDER_HEADER:"mdc-dialog-scroll-divider-header",SCROLL_DIVIDER_FOOTER:"mdc-dialog-scroll-divider-footer",SURFACE_SCRIM_SHOWN:"mdc-dialog__surface-scrim--shown",SURFACE_SCRIM_SHOWING:"mdc-dialog__surface-scrim--showing",SURFACE_SCRIM_HIDING:"mdc-dialog__surface-scrim--hiding",SCRIM_HIDDEN:"mdc-dialog__scrim--hidden"},v={ACTION_ATTRIBUTE:"data-mdc-dialog-action",BUTTON_DEFAULT_ATTRIBUTE:"data-mdc-dialog-button-default",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",DESTROY_ACTION:"destroy",INITIAL_FOCUS_ATTRIBUTE:"data-mdc-dialog-initial-focus",OPENED_EVENT:"MDCDialog:opened",OPENING_EVENT:"MDCDialog:opening",SCRIM_SELECTOR:".mdc-dialog__scrim",SUPPRESS_DEFAULT_PRESS_SELECTOR:["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),SURFACE_SELECTOR:".mdc-dialog__surface"},y={DIALOG_ANIMATION_CLOSE_TIME_MS:75,DIALOG_ANIMATION_OPEN_TIME_MS:150};!function(i){i.POLL_SCROLL_POS="poll_scroll_position",i.POLL_LAYOUT_CHANGE="poll_layout_change"}(f||(f={}));var w=function(i){function t(o){var e=i.call(this,c(c({},t.defaultAdapter),o))||this;return e.dialogOpen=!1,e.isFullscreen=!1,e.animationFrame=0,e.animationTimer=0,e.escapeKeyAction=v.CLOSE_ACTION,e.scrimClickAction=v.CLOSE_ACTION,e.autoStackButtons=!0,e.areButtonsStacked=!1,e.suppressDefaultPressSelector=v.SUPPRESS_DEFAULT_PRESS_SELECTOR,e.animFrame=new b,e.contentScrollHandler=function(){e.handleScrollEvent()},e.windowResizeHandler=function(){e.layout()},e.windowOrientationChangeHandler=function(){e.layout()},e}return n(t,i),Object.defineProperty(t,"cssClasses",{get:function(){return x},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return v},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return y},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addBodyClass:function(){},addClass:function(){},areButtonsStacked:function(){return!1},clickDefaultButton:function(){},eventTargetMatches:function(){return!1},getActionFromEvent:function(){return""},getInitialFocusEl:function(){return null},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(){},registerContentEventHandler:function(){},deregisterContentEventHandler:function(){},isScrollableContentAtTop:function(){return!1},isScrollableContentAtBottom:function(){return!1},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.hasClass(x.STACKED)&&this.setAutoStackButtons(!1),this.isFullscreen=this.adapter.hasClass(x.FULLSCREEN)},t.prototype.destroy=function(){this.animationTimer&&(clearTimeout(this.animationTimer),this.handleAnimationTimerEnd()),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.animFrame.cancelAll(),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler)},t.prototype.open=function(i){var t=this;this.dialogOpen=!0,this.adapter.notifyOpening(),this.adapter.addClass(x.OPENING),this.isFullscreen&&this.adapter.registerContentEventHandler("scroll",this.contentScrollHandler),i&&i.isAboveFullscreenDialog&&this.adapter.addClass(x.SCRIM_HIDDEN),this.adapter.registerWindowEventHandler("resize",this.windowResizeHandler),this.adapter.registerWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),this.runNextAnimationFrame((function(){t.adapter.addClass(x.OPEN),t.adapter.addBodyClass(x.SCROLL_LOCK),t.layout(),t.animationTimer=setTimeout((function(){t.handleAnimationTimerEnd(),t.adapter.trapFocus(t.adapter.getInitialFocusEl()),t.adapter.notifyOpened()}),y.DIALOG_ANIMATION_OPEN_TIME_MS)}))},t.prototype.close=function(i){var t=this;void 0===i&&(i=""),this.dialogOpen&&(this.dialogOpen=!1,this.adapter.notifyClosing(i),this.adapter.addClass(x.CLOSING),this.adapter.removeClass(x.OPEN),this.adapter.removeBodyClass(x.SCROLL_LOCK),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=setTimeout((function(){t.adapter.releaseFocus(),t.handleAnimationTimerEnd(),t.adapter.notifyClosed(i)}),y.DIALOG_ANIMATION_CLOSE_TIME_MS))},t.prototype.showSurfaceScrim=function(){var i=this;this.adapter.addClass(x.SURFACE_SCRIM_SHOWING),this.runNextAnimationFrame((function(){i.adapter.addClass(x.SURFACE_SCRIM_SHOWN)}))},t.prototype.hideSurfaceScrim=function(){this.adapter.removeClass(x.SURFACE_SCRIM_SHOWN),this.adapter.addClass(x.SURFACE_SCRIM_HIDING)},t.prototype.handleSurfaceScrimTransitionEnd=function(){this.adapter.removeClass(x.SURFACE_SCRIM_HIDING),this.adapter.removeClass(x.SURFACE_SCRIM_SHOWING)},t.prototype.isOpen=function(){return this.dialogOpen},t.prototype.getEscapeKeyAction=function(){return this.escapeKeyAction},t.prototype.setEscapeKeyAction=function(i){this.escapeKeyAction=i},t.prototype.getScrimClickAction=function(){return this.scrimClickAction},t.prototype.setScrimClickAction=function(i){this.scrimClickAction=i},t.prototype.getAutoStackButtons=function(){return this.autoStackButtons},t.prototype.setAutoStackButtons=function(i){this.autoStackButtons=i},t.prototype.getSuppressDefaultPressSelector=function(){return this.suppressDefaultPressSelector},t.prototype.setSuppressDefaultPressSelector=function(i){this.suppressDefaultPressSelector=i},t.prototype.layout=function(){var i=this;this.animFrame.request(f.POLL_LAYOUT_CHANGE,(function(){i.layoutInternal()}))},t.prototype.handleClick=function(i){if(this.adapter.eventTargetMatches(i.target,v.SCRIM_SELECTOR)&&""!==this.scrimClickAction)this.close(this.scrimClickAction);else{var t=this.adapter.getActionFromEvent(i);t&&this.close(t)}},t.prototype.handleKeydown=function(i){var t="Enter"===i.key||13===i.keyCode;if(t&&!this.adapter.getActionFromEvent(i)){var o=i.composedPath?i.composedPath()[0]:i.target,e=!this.suppressDefaultPressSelector||!this.adapter.eventTargetMatches(o,this.suppressDefaultPressSelector);t&&e&&this.adapter.clickDefaultButton()}},t.prototype.handleDocumentKeydown=function(i){("Escape"===i.key||27===i.keyCode)&&""!==this.escapeKeyAction&&this.close(this.escapeKeyAction)},t.prototype.handleScrollEvent=function(){var i=this;this.animFrame.request(f.POLL_SCROLL_POS,(function(){i.toggleScrollDividerHeader(),i.toggleScrollDividerFooter()}))},t.prototype.layoutInternal=function(){this.autoStackButtons&&this.detectStackedButtons(),this.toggleScrollableClasses()},t.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(x.OPENING),this.adapter.removeClass(x.CLOSING)},t.prototype.runNextAnimationFrame=function(i){var t=this;cancelAnimationFrame(this.animationFrame),this.animationFrame=requestAnimationFrame((function(){t.animationFrame=0,clearTimeout(t.animationTimer),t.animationTimer=setTimeout(i,0)}))},t.prototype.detectStackedButtons=function(){this.adapter.removeClass(x.STACKED);var i=this.adapter.areButtonsStacked();i&&this.adapter.addClass(x.STACKED),i!==this.areButtonsStacked&&(this.adapter.reverseButtons(),this.areButtonsStacked=i)},t.prototype.toggleScrollableClasses=function(){this.adapter.removeClass(x.SCROLLABLE),this.adapter.isContentScrollable()&&(this.adapter.addClass(x.SCROLLABLE),this.isFullscreen&&(this.toggleScrollDividerHeader(),this.toggleScrollDividerFooter()))},t.prototype.toggleScrollDividerHeader=function(){this.adapter.isScrollableContentAtTop()?this.adapter.hasClass(x.SCROLL_DIVIDER_HEADER)&&this.adapter.removeClass(x.SCROLL_DIVIDER_HEADER):this.adapter.addClass(x.SCROLL_DIVIDER_HEADER)},t.prototype.toggleScrollDividerFooter=function(){this.adapter.isScrollableContentAtBottom()?this.adapter.hasClass(x.SCROLL_DIVIDER_FOOTER)&&this.adapter.removeClass(x.SCROLL_DIVIDER_FOOTER):this.adapter.addClass(x.SCROLL_DIVIDER_FOOTER)},t}(r),E=w.strings,C=function(i){function t(){return null!==i&&i.apply(this,arguments)||this}return n(t,i),Object.defineProperty(t.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"escapeKeyAction",{get:function(){return this.foundation.getEscapeKeyAction()},set:function(i){this.foundation.setEscapeKeyAction(i)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrimClickAction",{get:function(){return this.foundation.getScrimClickAction()},set:function(i){this.foundation.setScrimClickAction(i)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autoStackButtons",{get:function(){return this.foundation.getAutoStackButtons()},set:function(i){this.foundation.setAutoStackButtons(i)},enumerable:!1,configurable:!0}),t.attachTo=function(i){return new t(i)},t.prototype.initialize=function(i){var t,o;void 0===i&&(i=function(i,t){return new _(i,t)});var e=this.root.querySelector(E.CONTAINER_SELECTOR);if(!e)throw new Error("Dialog component requires a "+E.CONTAINER_SELECTOR+" container element");this.container=e,this.content=this.root.querySelector(E.CONTENT_SELECTOR),this.buttons=[].slice.call(this.root.querySelectorAll(E.BUTTON_SELECTOR)),this.defaultButton=this.root.querySelector("["+E.BUTTON_DEFAULT_ATTRIBUTE+"]"),this.focusTrapFactory=i,this.buttonRipples=[];try{for(var a=l(this.buttons),d=a.next();!d.done;d=a.next())this.buttonRipples.push(new h(d.value))}catch(i){t={error:i}}finally{try{d&&!d.done&&(o=a.return)&&o.call(a)}finally{if(t)throw t.error}}},t.prototype.initialSyncWithDOM=function(){var i=this;this.focusTrap=(0,this.focusTrapFactory)(this.container,{initialFocusEl:this.getInitialFocusEl()||void 0}),this.handleClick=this.foundation.handleClick.bind(this.foundation),this.handleKeydown=this.foundation.handleKeydown.bind(this.foundation),this.handleDocumentKeydown=this.foundation.handleDocumentKeydown.bind(this.foundation),this.handleOpening=function(){document.addEventListener("keydown",i.handleDocumentKeydown)},this.handleClosing=function(){document.removeEventListener("keydown",i.handleDocumentKeydown)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown),this.listen(E.OPENING_EVENT,this.handleOpening),this.listen(E.CLOSING_EVENT,this.handleClosing)},t.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),this.unlisten(E.OPENING_EVENT,this.handleOpening),this.unlisten(E.CLOSING_EVENT,this.handleClosing),this.handleClosing(),this.buttonRipples.forEach((function(i){i.destroy()})),i.prototype.destroy.call(this)},t.prototype.layout=function(){this.foundation.layout()},t.prototype.open=function(){this.foundation.open()},t.prototype.close=function(i){void 0===i&&(i=""),this.foundation.close(i)},t.prototype.getDefaultFoundation=function(){var i=this;return new w({addBodyClass:function(i){return document.body.classList.add(i)},addClass:function(t){return i.root.classList.add(t)},areButtonsStacked:function(){return t=i.buttons,o=new Set,[].forEach.call(t,(function(i){return o.add(i.offsetTop)})),o.size>1;var t,o},clickDefaultButton:function(){i.defaultButton&&!i.defaultButton.disabled&&i.defaultButton.click()},eventTargetMatches:function(i,t){return!!i&&g(i,t)},getActionFromEvent:function(i){if(!i.target)return"";var t=m(i.target,"["+E.ACTION_ATTRIBUTE+"]");return t&&t.getAttribute(E.ACTION_ATTRIBUTE)},getInitialFocusEl:function(){return i.getInitialFocusEl()},hasClass:function(t){return i.root.classList.contains(t)},isContentScrollable:function(){return!!(t=i.content)&&t.scrollHeight>t.offsetHeight;var t},notifyClosed:function(t){return i.emit(E.CLOSED_EVENT,t?{action:t}:{})},notifyClosing:function(t){return i.emit(E.CLOSING_EVENT,t?{action:t}:{})},notifyOpened:function(){return i.emit(E.OPENED_EVENT,{})},notifyOpening:function(){return i.emit(E.OPENING_EVENT,{})},releaseFocus:function(){i.focusTrap.releaseFocus()},removeBodyClass:function(i){return document.body.classList.remove(i)},removeClass:function(t){return i.root.classList.remove(t)},reverseButtons:function(){i.buttons.reverse(),i.buttons.forEach((function(i){i.parentElement.appendChild(i)}))},trapFocus:function(){i.focusTrap.trapFocus()},registerContentEventHandler:function(t,o){i.content instanceof HTMLElement&&i.content.addEventListener(t,o)},deregisterContentEventHandler:function(t,o){i.content instanceof HTMLElement&&i.content.removeEventListener(t,o)},isScrollableContentAtTop:function(){return!!(t=i.content)&&0===t.scrollTop;var t},isScrollableContentAtBottom:function(){return!!(t=i.content)&&Math.ceil(t.scrollHeight-t.scrollTop)===t.clientHeight;var t},registerWindowEventHandler:function(i,t){window.addEventListener(i,t)},deregisterWindowEventHandler:function(i,t){window.removeEventListener(i,t)}})},t.prototype.getInitialFocusEl=function(){return this.root.querySelector("["+E.INITIAL_FOCUS_ATTRIBUTE+"]")},t}(s);
46
+ var f,p="mdc-dom-focus-sentinel",_=function(){function i(i,t){void 0===t&&(t={}),this.root=i,this.options=t,this.elFocusedBeforeTrapFocus=null}return i.prototype.trapFocus=function(){var i=this.getFocusableElements(this.root);if(0===i.length)throw new Error("FocusTrap: Element must have at least one focusable child.");this.elFocusedBeforeTrapFocus=document.activeElement instanceof HTMLElement?document.activeElement:null,this.wrapTabFocus(this.root),this.options.skipInitialFocus||this.focusInitialElement(i,this.options.initialFocusEl)},i.prototype.releaseFocus=function(){[].slice.call(this.root.querySelectorAll("."+p)).forEach((function(i){i.parentElement.removeChild(i)})),!this.options.skipRestoreFocus&&this.elFocusedBeforeTrapFocus&&this.elFocusedBeforeTrapFocus.focus()},i.prototype.wrapTabFocus=function(i){var t=this,o=this.createSentinel(),e=this.createSentinel();o.addEventListener("focus",(function(){var o=t.getFocusableElements(i);o.length>0&&o[o.length-1].focus()})),e.addEventListener("focus",(function(){var o=t.getFocusableElements(i);o.length>0&&o[0].focus()})),i.insertBefore(o,i.children[0]),i.appendChild(e)},i.prototype.focusInitialElement=function(i,t){var o=0;t&&(o=Math.max(i.indexOf(t),0)),i[o].focus()},i.prototype.getFocusableElements=function(i){return[].slice.call(i.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter((function(i){var t="true"===i.getAttribute("aria-disabled")||null!=i.getAttribute("disabled")||null!=i.getAttribute("hidden")||"true"===i.getAttribute("aria-hidden"),o=i.tabIndex>=0&&i.getBoundingClientRect().width>0&&!i.classList.contains(p)&&!t,e=!1;if(o){var a=getComputedStyle(i);e="none"===a.display||"hidden"===a.visibility}return o&&!e}))},i.prototype.createSentinel=function(){var i=document.createElement("div");return i.setAttribute("tabindex","0"),i.setAttribute("aria-hidden","true"),i.classList.add(p),i},i}(),b=function(){function i(){this.rafIDs=new Map}return i.prototype.request=function(i,t){var o=this;this.cancel(i);var e=requestAnimationFrame((function(e){o.rafIDs.delete(i),t(e)}));this.rafIDs.set(i,e)},i.prototype.cancel=function(i){var t=this.rafIDs.get(i);t&&(cancelAnimationFrame(t),this.rafIDs.delete(i))},i.prototype.cancelAll=function(){var i=this;this.rafIDs.forEach((function(t,o){i.cancel(o)}))},i.prototype.getQueue=function(){var i=[];return this.rafIDs.forEach((function(t,o){i.push(o)})),i},i}(),x={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",FULLSCREEN:"mdc-dialog--fullscreen",SCROLL_DIVIDER_HEADER:"mdc-dialog-scroll-divider-header",SCROLL_DIVIDER_FOOTER:"mdc-dialog-scroll-divider-footer",SURFACE_SCRIM_SHOWN:"mdc-dialog__surface-scrim--shown",SURFACE_SCRIM_SHOWING:"mdc-dialog__surface-scrim--showing",SURFACE_SCRIM_HIDING:"mdc-dialog__surface-scrim--hiding",SCRIM_HIDDEN:"mdc-dialog__scrim--hidden"},v={ACTION_ATTRIBUTE:"data-mdc-dialog-action",BUTTON_DEFAULT_ATTRIBUTE:"data-mdc-dialog-button-default",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",DESTROY_ACTION:"destroy",INITIAL_FOCUS_ATTRIBUTE:"data-mdc-dialog-initial-focus",OPENED_EVENT:"MDCDialog:opened",OPENING_EVENT:"MDCDialog:opening",SCRIM_SELECTOR:".mdc-dialog__scrim",SUPPRESS_DEFAULT_PRESS_SELECTOR:["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),SURFACE_SELECTOR:".mdc-dialog__surface"},y={DIALOG_ANIMATION_CLOSE_TIME_MS:75,DIALOG_ANIMATION_OPEN_TIME_MS:150};!function(i){i.POLL_SCROLL_POS="poll_scroll_position",i.POLL_LAYOUT_CHANGE="poll_layout_change"}(f||(f={}));var w=function(i){function t(o){var e=i.call(this,c(c({},t.defaultAdapter),o))||this;return e.dialogOpen=!1,e.isFullscreen=!1,e.animationFrame=0,e.animationTimer=0,e.escapeKeyAction=v.CLOSE_ACTION,e.scrimClickAction=v.CLOSE_ACTION,e.autoStackButtons=!0,e.areButtonsStacked=!1,e.suppressDefaultPressSelector=v.SUPPRESS_DEFAULT_PRESS_SELECTOR,e.animFrame=new b,e.contentScrollHandler=function(){e.handleScrollEvent()},e.windowResizeHandler=function(){e.layout()},e.windowOrientationChangeHandler=function(){e.layout()},e}return n(t,i),Object.defineProperty(t,"cssClasses",{get:function(){return x},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return v},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return y},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addBodyClass:function(){},addClass:function(){},areButtonsStacked:function(){return!1},clickDefaultButton:function(){},eventTargetMatches:function(){return!1},getActionFromEvent:function(){return""},getInitialFocusEl:function(){return null},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(){},registerContentEventHandler:function(){},deregisterContentEventHandler:function(){},isScrollableContentAtTop:function(){return!1},isScrollableContentAtBottom:function(){return!1},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.hasClass(x.STACKED)&&this.setAutoStackButtons(!1),this.isFullscreen=this.adapter.hasClass(x.FULLSCREEN)},t.prototype.destroy=function(){this.animationTimer&&(clearTimeout(this.animationTimer),this.handleAnimationTimerEnd()),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.animFrame.cancelAll(),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler)},t.prototype.open=function(i){var t=this;this.dialogOpen=!0,this.adapter.notifyOpening(),this.adapter.addClass(x.OPENING),this.isFullscreen&&this.adapter.registerContentEventHandler("scroll",this.contentScrollHandler),i&&i.isAboveFullscreenDialog&&this.adapter.addClass(x.SCRIM_HIDDEN),this.adapter.registerWindowEventHandler("resize",this.windowResizeHandler),this.adapter.registerWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),this.runNextAnimationFrame((function(){t.adapter.addClass(x.OPEN),t.adapter.addBodyClass(x.SCROLL_LOCK),t.layout(),t.animationTimer=setTimeout((function(){t.handleAnimationTimerEnd(),t.adapter.trapFocus(t.adapter.getInitialFocusEl()),t.adapter.notifyOpened()}),y.DIALOG_ANIMATION_OPEN_TIME_MS)}))},t.prototype.close=function(i){var t=this;void 0===i&&(i=""),this.dialogOpen&&(this.dialogOpen=!1,this.adapter.notifyClosing(i),this.adapter.addClass(x.CLOSING),this.adapter.removeClass(x.OPEN),this.adapter.removeBodyClass(x.SCROLL_LOCK),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=setTimeout((function(){t.adapter.releaseFocus(),t.handleAnimationTimerEnd(),t.adapter.notifyClosed(i)}),y.DIALOG_ANIMATION_CLOSE_TIME_MS))},t.prototype.showSurfaceScrim=function(){var i=this;this.adapter.addClass(x.SURFACE_SCRIM_SHOWING),this.runNextAnimationFrame((function(){i.adapter.addClass(x.SURFACE_SCRIM_SHOWN)}))},t.prototype.hideSurfaceScrim=function(){this.adapter.removeClass(x.SURFACE_SCRIM_SHOWN),this.adapter.addClass(x.SURFACE_SCRIM_HIDING)},t.prototype.handleSurfaceScrimTransitionEnd=function(){this.adapter.removeClass(x.SURFACE_SCRIM_HIDING),this.adapter.removeClass(x.SURFACE_SCRIM_SHOWING)},t.prototype.isOpen=function(){return this.dialogOpen},t.prototype.getEscapeKeyAction=function(){return this.escapeKeyAction},t.prototype.setEscapeKeyAction=function(i){this.escapeKeyAction=i},t.prototype.getScrimClickAction=function(){return this.scrimClickAction},t.prototype.setScrimClickAction=function(i){this.scrimClickAction=i},t.prototype.getAutoStackButtons=function(){return this.autoStackButtons},t.prototype.setAutoStackButtons=function(i){this.autoStackButtons=i},t.prototype.getSuppressDefaultPressSelector=function(){return this.suppressDefaultPressSelector},t.prototype.setSuppressDefaultPressSelector=function(i){this.suppressDefaultPressSelector=i},t.prototype.layout=function(){var i=this;this.animFrame.request(f.POLL_LAYOUT_CHANGE,(function(){i.layoutInternal()}))},t.prototype.handleClick=function(i){if(this.adapter.eventTargetMatches(i.target,v.SCRIM_SELECTOR)&&""!==this.scrimClickAction)this.close(this.scrimClickAction);else{var t=this.adapter.getActionFromEvent(i);t&&this.close(t)}},t.prototype.handleKeydown=function(i){var t="Enter"===i.key||13===i.keyCode;if(t&&!this.adapter.getActionFromEvent(i)){var o=i.composedPath?i.composedPath()[0]:i.target,e=!this.suppressDefaultPressSelector||!this.adapter.eventTargetMatches(o,this.suppressDefaultPressSelector);t&&e&&this.adapter.clickDefaultButton()}},t.prototype.handleDocumentKeydown=function(i){("Escape"===i.key||27===i.keyCode)&&""!==this.escapeKeyAction&&this.close(this.escapeKeyAction)},t.prototype.handleScrollEvent=function(){var i=this;this.animFrame.request(f.POLL_SCROLL_POS,(function(){i.toggleScrollDividerHeader(),i.toggleScrollDividerFooter()}))},t.prototype.layoutInternal=function(){this.autoStackButtons&&this.detectStackedButtons(),this.toggleScrollableClasses()},t.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(x.OPENING),this.adapter.removeClass(x.CLOSING)},t.prototype.runNextAnimationFrame=function(i){var t=this;cancelAnimationFrame(this.animationFrame),this.animationFrame=requestAnimationFrame((function(){t.animationFrame=0,clearTimeout(t.animationTimer),t.animationTimer=setTimeout(i,0)}))},t.prototype.detectStackedButtons=function(){this.adapter.removeClass(x.STACKED);var i=this.adapter.areButtonsStacked();i&&this.adapter.addClass(x.STACKED),i!==this.areButtonsStacked&&(this.adapter.reverseButtons(),this.areButtonsStacked=i)},t.prototype.toggleScrollableClasses=function(){this.adapter.removeClass(x.SCROLLABLE),this.adapter.isContentScrollable()&&(this.adapter.addClass(x.SCROLLABLE),this.isFullscreen&&(this.toggleScrollDividerHeader(),this.toggleScrollDividerFooter()))},t.prototype.toggleScrollDividerHeader=function(){this.adapter.isScrollableContentAtTop()?this.adapter.hasClass(x.SCROLL_DIVIDER_HEADER)&&this.adapter.removeClass(x.SCROLL_DIVIDER_HEADER):this.adapter.addClass(x.SCROLL_DIVIDER_HEADER)},t.prototype.toggleScrollDividerFooter=function(){this.adapter.isScrollableContentAtBottom()?this.adapter.hasClass(x.SCROLL_DIVIDER_FOOTER)&&this.adapter.removeClass(x.SCROLL_DIVIDER_FOOTER):this.adapter.addClass(x.SCROLL_DIVIDER_FOOTER)},t}(r),C=w.strings,E=function(i){function t(){return null!==i&&i.apply(this,arguments)||this}return n(t,i),Object.defineProperty(t.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"escapeKeyAction",{get:function(){return this.foundation.getEscapeKeyAction()},set:function(i){this.foundation.setEscapeKeyAction(i)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrimClickAction",{get:function(){return this.foundation.getScrimClickAction()},set:function(i){this.foundation.setScrimClickAction(i)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autoStackButtons",{get:function(){return this.foundation.getAutoStackButtons()},set:function(i){this.foundation.setAutoStackButtons(i)},enumerable:!1,configurable:!0}),t.attachTo=function(i){return new t(i)},t.prototype.initialize=function(i){var t,o;void 0===i&&(i=function(i,t){return new _(i,t)});var e=this.root.querySelector(C.CONTAINER_SELECTOR);if(!e)throw new Error("Dialog component requires a "+C.CONTAINER_SELECTOR+" container element");this.container=e,this.content=this.root.querySelector(C.CONTENT_SELECTOR),this.buttons=[].slice.call(this.root.querySelectorAll(C.BUTTON_SELECTOR)),this.defaultButton=this.root.querySelector("["+C.BUTTON_DEFAULT_ATTRIBUTE+"]"),this.focusTrapFactory=i,this.buttonRipples=[];try{for(var a=l(this.buttons),d=a.next();!d.done;d=a.next())this.buttonRipples.push(new h(d.value))}catch(i){t={error:i}}finally{try{d&&!d.done&&(o=a.return)&&o.call(a)}finally{if(t)throw t.error}}},t.prototype.initialSyncWithDOM=function(){var i=this;this.focusTrap=(0,this.focusTrapFactory)(this.container,{initialFocusEl:this.getInitialFocusEl()||void 0}),this.handleClick=this.foundation.handleClick.bind(this.foundation),this.handleKeydown=this.foundation.handleKeydown.bind(this.foundation),this.handleDocumentKeydown=this.foundation.handleDocumentKeydown.bind(this.foundation),this.handleOpening=function(){document.addEventListener("keydown",i.handleDocumentKeydown)},this.handleClosing=function(){document.removeEventListener("keydown",i.handleDocumentKeydown)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown),this.listen(C.OPENING_EVENT,this.handleOpening),this.listen(C.CLOSING_EVENT,this.handleClosing)},t.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),this.unlisten(C.OPENING_EVENT,this.handleOpening),this.unlisten(C.CLOSING_EVENT,this.handleClosing),this.handleClosing(),this.buttonRipples.forEach((function(i){i.destroy()})),i.prototype.destroy.call(this)},t.prototype.layout=function(){this.foundation.layout()},t.prototype.open=function(){this.foundation.open()},t.prototype.close=function(i){void 0===i&&(i=""),this.foundation.close(i)},t.prototype.getDefaultFoundation=function(){var i=this;return new w({addBodyClass:function(i){return document.body.classList.add(i)},addClass:function(t){return i.root.classList.add(t)},areButtonsStacked:function(){return t=i.buttons,o=new Set,[].forEach.call(t,(function(i){return o.add(i.offsetTop)})),o.size>1;var t,o},clickDefaultButton:function(){i.defaultButton&&!i.defaultButton.disabled&&i.defaultButton.click()},eventTargetMatches:function(i,t){return!!i&&g(i,t)},getActionFromEvent:function(i){if(!i.target)return"";var t=m(i.target,"["+C.ACTION_ATTRIBUTE+"]");return t&&t.getAttribute(C.ACTION_ATTRIBUTE)},getInitialFocusEl:function(){return i.getInitialFocusEl()},hasClass:function(t){return i.root.classList.contains(t)},isContentScrollable:function(){return!!(t=i.content)&&t.scrollHeight>t.offsetHeight;var t},notifyClosed:function(t){return i.emit(C.CLOSED_EVENT,t?{action:t}:{})},notifyClosing:function(t){return i.emit(C.CLOSING_EVENT,t?{action:t}:{})},notifyOpened:function(){return i.emit(C.OPENED_EVENT,{})},notifyOpening:function(){return i.emit(C.OPENING_EVENT,{})},releaseFocus:function(){i.focusTrap.releaseFocus()},removeBodyClass:function(i){return document.body.classList.remove(i)},removeClass:function(t){return i.root.classList.remove(t)},reverseButtons:function(){i.buttons.reverse(),i.buttons.forEach((function(i){i.parentElement.appendChild(i)}))},trapFocus:function(){i.focusTrap.trapFocus()},registerContentEventHandler:function(t,o){i.content instanceof HTMLElement&&i.content.addEventListener(t,o)},deregisterContentEventHandler:function(t,o){i.content instanceof HTMLElement&&i.content.removeEventListener(t,o)},isScrollableContentAtTop:function(){return!!(t=i.content)&&0===t.scrollTop;var t},isScrollableContentAtBottom:function(){return!!(t=i.content)&&Math.ceil(t.scrollHeight-t.scrollTop)===t.clientHeight;var t},registerWindowEventHandler:function(i,t){window.addEventListener(i,t)},deregisterWindowEventHandler:function(i,t){window.removeEventListener(i,t)}})},t.prototype.getInitialFocusEl=function(){return this.root.querySelector("["+C.INITIAL_FOCUS_ATTRIBUTE+"]")},t}(s);
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google Inc.
@@ -65,4 +65,4 @@ var f,p="mdc-dom-focus-sentinel",_=function(){function i(i,t){void 0===t&&(t={})
65
65
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
66
66
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
67
67
  * THE SOFTWARE.
68
- */const k=class{constructor(o){i(this,o),this.close=t(this,"close"),this.closing=t(this,"closing"),this.fullscreen=!1,this.open=!1,this.closingActions={escapeKey:!0,scrimClick:!0},this.handleMdcOpened=this.handleMdcOpened.bind(this),this.handleMdcClosed=this.handleMdcClosed.bind(this),this.handleMdcClosing=this.handleMdcClosing.bind(this)}connectedCallback(){this.initialize()}componentWillLoad(){this.id=d()}componentDidLoad(){this.initialize()}initialize(){const i=this.host.shadowRoot.querySelector(".mdc-dialog");i&&(this.mdcDialog=new C(i),this.open&&this.mdcDialog.open(),this.mdcDialog.listen("MDCDialog:opened",this.handleMdcOpened),this.mdcDialog.listen("MDCDialog:closed",this.handleMdcClosed),this.mdcDialog.listen("MDCDialog:closing",this.handleMdcClosing),this.setClosingActions())}disconnectedCallback(){this.mdcDialog.unlisten("MDCDialog:opened",this.handleMdcOpened),this.mdcDialog.unlisten("MDCDialog:closed",this.handleMdcClosed),this.mdcDialog.unlisten("MDCDialog:closing",this.handleMdcClosing),this.mdcDialog.destroy()}render(){return o("div",{key:"748566bd65db98ee75a743a7deedc7d0c9f80a90",class:{"mdc-dialog":!0,"full-screen":!!this.fullscreen},role:"alertdialog","aria-modal":"true","aria-labelledby":"limel-dialog-title-"+this.id,"aria-describedby":"limel-dialog-content-"+this.id},o("input",{key:"15d2c40108a2348f54066eab22d507c6a9b3eda9",hidden:!0,id:"initialFocusEl"}),o("div",{key:"f46ee440d02b257bde93273936ce1dfe8dc324ea",class:"mdc-dialog__container"},o("div",{key:"9ba9919b2b880039ede217c0608d9f780d6ca770",class:"mdc-dialog__surface"},o("input",{key:"07bb68ae4c7b8d91cb7f0fd02105738160bd9e8f",type:"button",id:"initialFocusElement"}),this.renderHeading(),o("div",{key:"1729cb0f7f442b3ee56272387de42b462926275c",class:"mdc-dialog__content",id:"limel-dialog-content-"+this.id},o("slot",{key:"a5554b316a4e57700a2902ae4499f594045f267d"})),this.renderFooter())),o("div",{key:"85ecb0922ece938a5de20b804b6a2590f98032df",class:"mdc-dialog__scrim"}))}watchHandler(i,t){t!==i&&this.mdcDialog&&(i?this.mdcDialog.open():this.mdcDialog.close())}closingActionsChanged(i,t){u(i,t)||this.setClosingActions()}handleMdcOpened(){setTimeout(a,100)}handleMdcClosed(){this.open&&this.close.emit(),this.open=!1}handleMdcClosing(){this.closing.emit()}isDialogHeadingObject(i){return"object"==typeof i&&!!i.title}renderHeading(){if(this.isDialogHeadingObject(this.heading)){const{title:i,subtitle:t,supportingText:e,icon:a}=this.heading;return o("limel-header",{icon:a,heading:i,subheading:t,supportingText:e},o("slot",{name:"header-actions",slot:"actions"}))}return"string"==typeof this.heading?o("limel-header",{heading:this.heading},o("slot",{name:"header-actions",slot:"actions"})):null}renderFooter(){return o("footer",{class:"mdc-dialog__actions"},o("slot",{name:"button"}))}setClosingActions(){this.mdcDialog.scrimClickAction="",this.closingActions.scrimClick&&(this.mdcDialog.scrimClickAction="close"),this.mdcDialog.escapeKeyAction="",this.closingActions.escapeKey&&(this.mdcDialog.escapeKeyAction="close")}get host(){return e(this)}static get watchers(){return{open:[{watchHandler:0}],closingActions:[{closingActionsChanged:0}]}}};k.style='@charset "UTF-8";:host{--dialog-background-color:var(--lime-elevated-surface-background-color);--header-heading-color:var(--dialog-heading-title-color);--header-subheading-color:var(--dialog-heading-subtitle-color);--header-supporting-text-color:var(--dialog-heading-supporting-text-color);--header-icon-color:var(--dialog-heading-icon-color);--header-icon-background-color:var(--dialog-heading-icon-background-color)}.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0, 0, 0, 0.32)}.mdc-dialog .mdc-dialog__surface-scrim{background-color:rgba(0, 0, 0, 0.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0, 0, 0, 0.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0, 0, 0, 0.6)}.mdc-dialog .mdc-dialog__close{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-dialog .mdc-dialog__close:hover .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions,.mdc-dialog.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:rgba(0, 0, 0, 0.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:1px solid rgba(0, 0, 0, 0.12);margin-bottom:0}.mdc-dialog.mdc-dialog-scroll-divider-header.mdc-dialog--fullscreen .mdc-dialog__header{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)}.mdc-dialog .mdc-dialog__surface{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-dialog__surface{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)}.mdc-dialog__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-dialog__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-dialog__title-icon{}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media (max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media (min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.mdc-dialog .mdc-dialog__container{}}.mdc-dialog{display:none;z-index:7;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media (max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media (max-width: 720px) and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media (max-width: 720px) and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media (max-width: 720px) and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media (max-width: 720px) and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media (max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media (max-width: 720px) and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{border-radius:0}}@media (max-width: 600px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{border-radius:0}}@media (min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-dialog__surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right;}@media screen and (forced-colors: active), (-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-dialog__title{margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right;}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid transparent;display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid transparent}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;-webkit-overflow-scrolling:touch}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px;}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0;}.mdc-dialog__button{max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left;}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear, transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1;z-index:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog__content{font-family:inherit;font-size:var(--limel-theme-default-font-size)}@media (max-width: 16032px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media (min-width: 16032px){.mdc-dialog .mdc-dialog__surface{max-width:16000px}}.mdc-dialog{z-index:var(--dialog-z-index, 7);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}@media (max-height: 16032px){.mdc-dialog.full-screen .mdc-dialog__surface{max-height:calc(100% - 32px)}}@media (min-height: 16032px){.mdc-dialog.full-screen .mdc-dialog__surface{max-height:16000px}}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.mdc-dialog.full-screen .mdc-dialog__container{}}@media (-ms-high-contrast: none) and (min-height: 16032px), (-ms-high-contrast: active) and (min-height: 16032px){.mdc-dialog.full-screen .mdc-dialog__container{align-items:stretch;height:auto}}.mdc-dialog.full-screen .mdc-dialog__container{height:100%;width:100%}.mdc-dialog.full-screen .mdc-dialog__container .mdc-dialog__surface{height:100%;width:100%}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(var(--color-black), 0.4)}.mdc-dialog .mdc-dialog__container{height:100%;width:var(--dialog-width, auto)}.mdc-dialog .mdc-dialog__surface{width:var(--dialog-width, auto);height:var(--dialog-height, auto);background-color:var(--dialog-background-color);box-shadow:var(--shadow-depth-64);max-width:var(--dialog-max-width, calc(100vw - 2rem));max-height:var(--dialog-max-height, calc(100% - 2rem));border-radius:0.75rem}.mdc-dialog .mdc-dialog__content{--limel-top-edge-fade-height:var(--dialog-padding-top-bottom, 1.5rem);--limel-bottom-edge-fade-height:var( --dialog-padding-top-bottom, 1.5rem );--limel-overflow-mask-vertical:linear-gradient( to bottom, transparent 0%, black calc(0% + var(--limel-top-edge-fade-height, 1rem)), black calc(100% - var(--limel-bottom-edge-fade-height, 1rem)), transparent 100% );-webkit-mask-image:var(--limel-overflow-mask-vertical);mask-image:var(--limel-overflow-mask-vertical);padding-top:var(--limel-top-edge-fade-height, 1rem);padding-bottom:var(--limel-bottom-edge-fade-height, 1rem);color:var(--limel-theme-on-surface-color);padding-left:var(--dialog-padding-left-right, min(1.25rem, 3vw));padding-right:var(--dialog-padding-left-right, min(1.25rem, 3vw))}#initialFocusElement{position:absolute;opacity:0;pointer-events:none;z-index:-1}slot[name=header]{display:none}slot[name=button]{display:flex;gap:0.5rem;width:100%;justify-content:flex-end}footer.mdc-dialog__actions{min-height:unset;padding:0.375rem}@media screen and (max-width: 760px){slot[name=button]{flex-direction:column-reverse}.mdc-dialog__actions{padding:min(1.5rem, 3vw);padding-top:1rem}}';export{k as limel_dialog}
68
+ */const k=class{constructor(o){i(this,o),this.close=t(this,"close"),this.closing=t(this,"closing"),this.fullscreen=!1,this.open=!1,this.closingActions={escapeKey:!0,scrimClick:!0},this.handleMdcOpened=this.handleMdcOpened.bind(this),this.handleMdcClosed=this.handleMdcClosed.bind(this),this.handleMdcClosing=this.handleMdcClosing.bind(this)}connectedCallback(){this.initialize()}componentWillLoad(){this.id=d()}componentDidLoad(){this.initialize()}initialize(){const i=this.host.shadowRoot.querySelector(".mdc-dialog");i&&(this.mdcDialog=new E(i),this.open&&this.mdcDialog.open(),this.mdcDialog.listen("MDCDialog:opened",this.handleMdcOpened),this.mdcDialog.listen("MDCDialog:closed",this.handleMdcClosed),this.mdcDialog.listen("MDCDialog:closing",this.handleMdcClosing),this.setClosingActions())}disconnectedCallback(){this.mdcDialog.unlisten("MDCDialog:opened",this.handleMdcOpened),this.mdcDialog.unlisten("MDCDialog:closed",this.handleMdcClosed),this.mdcDialog.unlisten("MDCDialog:closing",this.handleMdcClosing),this.mdcDialog.destroy()}render(){return o("div",{key:"748566bd65db98ee75a743a7deedc7d0c9f80a90",class:{"mdc-dialog":!0,"full-screen":!!this.fullscreen},role:"alertdialog","aria-modal":"true","aria-labelledby":"limel-dialog-title-"+this.id,"aria-describedby":"limel-dialog-content-"+this.id},o("input",{key:"15d2c40108a2348f54066eab22d507c6a9b3eda9",hidden:!0,id:"initialFocusEl"}),o("div",{key:"f46ee440d02b257bde93273936ce1dfe8dc324ea",class:"mdc-dialog__container"},o("div",{key:"9ba9919b2b880039ede217c0608d9f780d6ca770",class:"mdc-dialog__surface"},o("input",{key:"07bb68ae4c7b8d91cb7f0fd02105738160bd9e8f",type:"button",id:"initialFocusElement"}),this.renderHeading(),o("div",{key:"1729cb0f7f442b3ee56272387de42b462926275c",class:"mdc-dialog__content",id:"limel-dialog-content-"+this.id},o("slot",{key:"a5554b316a4e57700a2902ae4499f594045f267d"})),this.renderFooter())),o("div",{key:"85ecb0922ece938a5de20b804b6a2590f98032df",class:"mdc-dialog__scrim"}))}watchHandler(i,t){t!==i&&this.mdcDialog&&(i?this.mdcDialog.open():this.mdcDialog.close())}closingActionsChanged(i,t){u(i,t)||this.setClosingActions()}handleMdcOpened(){setTimeout(a,100)}handleMdcClosed(){this.open&&this.close.emit(),this.open=!1}handleMdcClosing(){this.closing.emit()}isDialogHeadingObject(i){return"object"==typeof i&&!!i.title}renderHeading(){if(this.isDialogHeadingObject(this.heading)){const{title:i,subtitle:t,supportingText:e,icon:a}=this.heading;return o("limel-header",{icon:a,heading:i,subheading:t,supportingText:e},o("slot",{name:"header-actions",slot:"actions"}))}return"string"==typeof this.heading?o("limel-header",{heading:this.heading},o("slot",{name:"header-actions",slot:"actions"})):null}renderFooter(){return o("footer",{class:"mdc-dialog__actions"},o("slot",{name:"button"}))}setClosingActions(){this.mdcDialog.scrimClickAction="",this.closingActions.scrimClick&&(this.mdcDialog.scrimClickAction="close"),this.mdcDialog.escapeKeyAction="",this.closingActions.escapeKey&&(this.mdcDialog.escapeKeyAction="close")}get host(){return e(this)}static get watchers(){return{open:[{watchHandler:0}],closingActions:[{closingActionsChanged:0}]}}};k.style='@charset "UTF-8";:host{--dialog-background-color:var(--lime-elevated-surface-background-color);--header-heading-color:var(--dialog-heading-title-color);--header-subheading-color:var(--dialog-heading-subtitle-color);--header-supporting-text-color:var(--dialog-heading-supporting-text-color);--header-icon-color:var(--dialog-heading-icon-color);--header-icon-background-color:var(--dialog-heading-icon-background-color)}.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0, 0, 0, 0.32)}.mdc-dialog .mdc-dialog__surface-scrim{background-color:rgba(0, 0, 0, 0.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0, 0, 0, 0.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0, 0, 0, 0.6)}.mdc-dialog .mdc-dialog__close{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-dialog .mdc-dialog__close:hover .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions,.mdc-dialog.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:rgba(0, 0, 0, 0.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:1px solid rgba(0, 0, 0, 0.12);margin-bottom:0}.mdc-dialog.mdc-dialog-scroll-divider-header.mdc-dialog--fullscreen .mdc-dialog__header{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)}.mdc-dialog .mdc-dialog__surface{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-dialog__surface{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)}.mdc-dialog__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-dialog__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-dialog__title-icon{}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media (max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media (min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.mdc-dialog .mdc-dialog__container{}}.mdc-dialog{display:none;z-index:7;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media (max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media (max-width: 720px) and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media (max-width: 720px) and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media (max-width: 720px) and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media (max-width: 720px) and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media (max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media (max-width: 720px) and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{border-radius:0}}@media (max-width: 600px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{border-radius:0}}@media (min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-dialog__surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right;}@media screen and (forced-colors: active), (-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-dialog__title{margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right;}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid transparent;display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid transparent}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;-webkit-overflow-scrolling:touch}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px;}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0;}.mdc-dialog__button{max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left;}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear, transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1;z-index:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog__content{font-family:inherit;font-size:var(--limel-theme-default-font-size)}@media (max-width: 16032px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media (min-width: 16032px){.mdc-dialog .mdc-dialog__surface{max-width:16000px}}.mdc-dialog{z-index:var(--dialog-z-index, 7);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}@media (max-height: 16032px){.mdc-dialog.full-screen .mdc-dialog__surface{max-height:calc(100% - 32px)}}@media (min-height: 16032px){.mdc-dialog.full-screen .mdc-dialog__surface{max-height:16000px}}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.mdc-dialog.full-screen .mdc-dialog__container{}}@media (-ms-high-contrast: none) and (min-height: 16032px), (-ms-high-contrast: active) and (min-height: 16032px){.mdc-dialog.full-screen .mdc-dialog__container{align-items:stretch;height:auto}}.mdc-dialog.full-screen .mdc-dialog__container{height:100%;width:100%}.mdc-dialog.full-screen .mdc-dialog__container .mdc-dialog__surface{height:100%;width:100%}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(var(--color-black), 0.4)}.mdc-dialog .mdc-dialog__container{height:100%;width:var(--dialog-width, auto)}.mdc-dialog .mdc-dialog__surface{width:var(--dialog-width, auto);height:var(--dialog-height, auto);background-color:var(--dialog-background-color);box-shadow:var(--shadow-depth-64);max-width:var(--dialog-max-width, calc(100vw - 2rem));max-height:var(--dialog-max-height, calc(100% - 2rem));border-radius:0.75rem}.mdc-dialog .mdc-dialog__content{--limel-top-edge-fade-height:var(--dialog-padding-top-bottom, 1.5rem);--limel-bottom-edge-fade-height:var( --dialog-padding-top-bottom, 1.5rem );--limel-overflow-mask-vertical:linear-gradient( to bottom, transparent 0%, black calc(0% + var(--limel-top-edge-fade-height, 1rem)), black calc(100% - var(--limel-bottom-edge-fade-height, 1rem)), transparent 100% );-webkit-mask-image:var(--limel-overflow-mask-vertical);mask-image:var(--limel-overflow-mask-vertical);padding-top:var(--limel-top-edge-fade-height, 1rem);padding-bottom:var(--limel-bottom-edge-fade-height, 1rem);color:var(--limel-theme-on-surface-color);padding-left:var(--dialog-padding-left-right, min(1.25rem, 3vw));padding-right:var(--dialog-padding-left-right, min(1.25rem, 3vw))}#initialFocusElement{position:absolute;opacity:0;pointer-events:none;z-index:-1}slot[name=header]{display:none}slot[name=button]{display:flex;gap:0.5rem;width:100%;justify-content:flex-end}footer.mdc-dialog__actions{min-height:unset;padding:0.375rem}@media screen and (max-width: 760px){slot[name=button]{flex-direction:column-reverse}.mdc-dialog__actions{padding:min(1.5rem, 3vw);padding-top:1rem}}';export{k as limel_dialog}