feffery_utils_components 0.2.0-rc24 → 0.2.0-rc25

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 (86) hide show
  1. package/DESCRIPTION +1 -1
  2. package/MANIFEST.in +1 -1
  3. package/Project.toml +1 -1
  4. package/README.md +1 -1
  5. package/feffery_utils_components/FefferyDiv.py +12 -3
  6. package/feffery_utils_components/FefferyMotion.py +9 -3
  7. package/feffery_utils_components/__init__.py +23 -1
  8. package/feffery_utils_components/async-feffery_animated_3d_background_p5.js +3 -1
  9. package/feffery_utils_components/async-feffery_animated_3d_background_p5.js.map +1 -0
  10. package/feffery_utils_components/async-feffery_animated_3d_background_three.js +3 -1
  11. package/feffery_utils_components/async-feffery_animated_3d_background_three.js.map +1 -0
  12. package/feffery_utils_components/async-feffery_animated_image.js +4 -1
  13. package/feffery_utils_components/async-feffery_animated_image.js.map +1 -0
  14. package/feffery_utils_components/async-feffery_aplayer.js +3 -1
  15. package/feffery_utils_components/async-feffery_aplayer.js.map +1 -0
  16. package/feffery_utils_components/async-feffery_auto_animate.js +3 -1
  17. package/feffery_utils_components/async-feffery_auto_animate.js.map +1 -0
  18. package/feffery_utils_components/async-feffery_auto_fit.js +3 -1
  19. package/feffery_utils_components/async-feffery_auto_fit.js.map +1 -0
  20. package/feffery_utils_components/async-feffery_burger.js +3 -1
  21. package/feffery_utils_components/async-feffery_burger.js.map +1 -0
  22. package/feffery_utils_components/async-feffery_captcha.js +3 -1
  23. package/feffery_utils_components/async-feffery_captcha.js.map +1 -0
  24. package/feffery_utils_components/async-feffery_color_pickers.js +4 -1
  25. package/feffery_utils_components/async-feffery_color_pickers.js.map +1 -0
  26. package/feffery_utils_components/async-feffery_dom2image.js +4 -4
  27. package/feffery_utils_components/async-feffery_dom2image.js.map +1 -0
  28. package/feffery_utils_components/async-feffery_dplayer.js +4 -1
  29. package/feffery_utils_components/async-feffery_dplayer.js.map +1 -0
  30. package/feffery_utils_components/async-feffery_emoji_picker.js +4 -1
  31. package/feffery_utils_components/async-feffery_emoji_picker.js.map +1 -0
  32. package/feffery_utils_components/async-feffery_excel_preview.js +4 -1
  33. package/feffery_utils_components/async-feffery_excel_preview.js.map +1 -0
  34. package/feffery_utils_components/async-feffery_extra_spinner.js +4 -1
  35. package/feffery_utils_components/async-feffery_extra_spinner.js.map +1 -0
  36. package/feffery_utils_components/async-feffery_fancy_button.js +3 -1
  37. package/feffery_utils_components/async-feffery_fancy_button.js.map +1 -0
  38. package/feffery_utils_components/async-feffery_grid.js +3 -1
  39. package/feffery_utils_components/async-feffery_grid.js.map +1 -0
  40. package/feffery_utils_components/async-feffery_http_requests.js +4 -1
  41. package/feffery_utils_components/async-feffery_http_requests.js.map +1 -0
  42. package/feffery_utils_components/async-feffery_image_cropper.js +4 -1
  43. package/feffery_utils_components/async-feffery_image_cropper.js.map +1 -0
  44. package/feffery_utils_components/async-feffery_json_viewer.js +3 -1
  45. package/feffery_utils_components/async-feffery_json_viewer.js.map +1 -0
  46. package/feffery_utils_components/async-feffery_local_large_storage.js +4 -1
  47. package/feffery_utils_components/async-feffery_local_large_storage.js.map +1 -0
  48. package/feffery_utils_components/async-feffery_markdown_editor.js +3 -3
  49. package/feffery_utils_components/async-feffery_markdown_editor.js.map +1 -0
  50. package/feffery_utils_components/async-feffery_motion.js +3 -1
  51. package/feffery_utils_components/async-feffery_motion.js.map +1 -0
  52. package/feffery_utils_components/async-feffery_music_player.js +4 -1
  53. package/feffery_utils_components/async-feffery_music_player.js.map +1 -0
  54. package/feffery_utils_components/async-feffery_photo_sphere_viewer.js +4 -1
  55. package/feffery_utils_components/async-feffery_photo_sphere_viewer.js.map +1 -0
  56. package/feffery_utils_components/async-feffery_resizable.js +3 -1
  57. package/feffery_utils_components/async-feffery_resizable.js.map +1 -0
  58. package/feffery_utils_components/async-feffery_rich_text_editor.js +4 -4
  59. package/feffery_utils_components/async-feffery_rich_text_editor.js.map +1 -0
  60. package/feffery_utils_components/async-feffery_rnd.js +3 -1
  61. package/feffery_utils_components/async-feffery_rnd.js.map +1 -0
  62. package/feffery_utils_components/async-feffery_seamless_scroll.js +3 -1
  63. package/feffery_utils_components/async-feffery_seamless_scroll.js.map +1 -0
  64. package/feffery_utils_components/async-feffery_shortcut_panel.js +32 -29
  65. package/feffery_utils_components/async-feffery_shortcut_panel.js.map +1 -0
  66. package/feffery_utils_components/async-feffery_slider_captcha.js +4 -1
  67. package/feffery_utils_components/async-feffery_slider_captcha.js.map +1 -0
  68. package/feffery_utils_components/async-feffery_sortable.js +3 -1
  69. package/feffery_utils_components/async-feffery_sortable.js.map +1 -0
  70. package/feffery_utils_components/async-feffery_vditor.js +4 -1
  71. package/feffery_utils_components/async-feffery_vditor.js.map +1 -0
  72. package/feffery_utils_components/async-feffery_word_preview.js +4 -1
  73. package/feffery_utils_components/async-feffery_word_preview.js.map +1 -0
  74. package/feffery_utils_components/async-fuc-shared.js +4 -135
  75. package/feffery_utils_components/async-fuc-shared.js.map +1 -0
  76. package/feffery_utils_components/feffery_utils_components.min.js +27 -30
  77. package/feffery_utils_components/feffery_utils_components.min.js.map +1 -0
  78. package/feffery_utils_components/metadata.json +85 -0
  79. package/feffery_utils_components/package-info.json +1 -1
  80. package/package.json +1 -1
  81. package/src/lib/components/animations/FefferyMotion.react.js +12 -0
  82. package/src/lib/components/container/FefferyDiv.react.js +115 -55
  83. package/src/lib/fragments/animations/FefferyMotion.react.js +30 -23
  84. package/tests/MotionTest/app.py +50 -0
  85. package/usage.py +25 -25
  86. package/webpack.config.js +3 -11
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"async-feffery_animated_3d_background_three.js","sourceRoot":""}
@@ -1 +1,4 @@
1
- (window.webpackJsonpfeffery_utils_components=window.webpackJsonpfeffery_utils_components||[]).push([[3],{527:function(R,I,t){t.r(I);var U=t(1),N=t.n(U);function H(t){return(t=>{if(Array.isArray(t))return B(t)})(t)||(()=>{if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)})()||(t=>{var e;if(t)return"string"==typeof t?B(t,void 0):"Map"===(e="Object"===(e={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?B(t,void 0):void 0})(t)||(()=>{throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}function B(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var D="";function F(t){D=t}var G={caret:'\n <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <polyline points="6 9 12 15 18 9"></polyline>\n </svg>\n ',check:'\n <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor">\n <g transform="translate(3.428571, 3.428571)">\n <path d="M0,5.71428571 L3.42857143,9.14285714"></path>\n <path d="M9.14285714,0 L3.42857143,9.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"chevron-down":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',"chevron-left":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>\n </svg>\n ',"chevron-right":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',copy:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-copy" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"/>\n </svg>\n ',eye:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">\n <path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/>\n <path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>\n </svg>\n ',"eye-slash":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16">\n <path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/>\n <path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/>\n <path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/>\n </svg>\n ',eyedropper:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eyedropper" viewBox="0 0 16 16">\n <path d="M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"></path>\n </svg>\n ',"grip-vertical":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grip-vertical" viewBox="0 0 16 16">\n <path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>\n </svg>\n ',indeterminate:'\n <svg part="indeterminate-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor" stroke-width="2">\n <g transform="translate(2.285714, 6.857143)">\n <path d="M10.2857143,1.14285714 L1.14285714,1.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"person-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">\n <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>\n </svg>\n ',"play-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">\n <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path>\n </svg>\n ',"pause-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">\n <path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"></path>\n </svg>\n ',radio:'\n <svg part="checked-icon" class="radio__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g fill="currentColor">\n <circle cx="8" cy="8" r="3.42857143"></circle>\n </g>\n </g>\n </svg>\n ',"star-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">\n <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>\n </svg>\n ',"x-lg":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">\n <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>\n </svg>\n ',"x-circle-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">\n <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>\n </svg>\n '},V=[{name:"default",resolver:function(t){return function(t){var e,r,t=0<arguments.length&&void 0!==t?t:"";return D||((r=(e=H(document.getElementsByTagName("script"))).find(function(t){return t.hasAttribute("data-shoelace")}))?F(r.getAttribute("data-shoelace")):(r="",F((r=(e=e.find(function(t){return/shoelace(\.min)?\.js($|\?)/.test(t.src)||/shoelace-autoloader(\.min)?\.js($|\?)/.test(t.src)}))?e.getAttribute("src"):r).split("/").slice(0,-1).join("/")))),D.replace(/\/$/,"")+(t?"/".concat(t.replace(/^\//,"")):"")}("assets/icons/".concat(t,".svg"))}},{name:"system",resolver:function(t){return t in G?"data:image/svg+xml,".concat(encodeURIComponent(G[t])):""}}],W=[];function q(e){return V.find(function(t){return t.name===e})}function Z(t,e){var r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return o=!(n=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return n=t.done,t},e:function(t){o=!0,r=t},f:function(){try{n||null==a.return||a.return()}finally{if(o)throw r}}};if(Array.isArray(t)||(a=(t=>{var e;if(t)return"string"==typeof t?J(t,void 0):"Map"===(e="Object"===(e={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?J(t,void 0):void 0})(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),i=0,{s:e=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function J(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Y(t){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function K(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(t=>(t=(t=>{if("object"!=Y(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!=Y(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")})(t),"symbol"==Y(t)?t:t+""))(n.key),n)}}function Q(n){for(var t=arguments.length,e=new Array(1<t?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];var o=1===n.length?n[0]:e.reduce(function(t,e,r){return t+(()=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})()+n[r+1]},n[0]);return new nt(o,n,et)}var X=globalThis,tt=X.ShadowRoot&&(void 0===X.ShadyCSS||X.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,et=Symbol(),rt=new WeakMap,nt=(K((e=function t(e,r,n){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");if(this._$cssResult$=!0,n!==et)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}).prototype,[{key:"styleSheet",get:function(){var t,e=this.o,r=this.t;return tt&&void 0===e&&void 0===(e=(t=void 0!==r&&1===r.length)?rt.get(r):e)&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t)&&rt.set(r,e),e}},{key:"toString",value:function(){return this.cssText}}]),Object.defineProperty(e,"prototype",{writable:!1}),e),ot=tt?function(t){return t}:function(t){if(t instanceof CSSStyleSheet){var e,r="",n=Z(t.cssRules);try{for(n.s();!(e=n.n()).done;)r+=e.value.cssText}catch(t){n.e(t)}finally{n.f()}return new nt("string"==typeof r?r:r+"",void 0,et)}return t};function $(t){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function it(t){return(t=>{if(Array.isArray(t))return st(t)})(t)||(()=>{if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)})()||ct(t)||(()=>{throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}function at(t,e){return(t=>{if(Array.isArray(t))return t})(t)||((t,e)=>{var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],u=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}})(t,e)||ct(t,e)||(()=>{throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}function lt(){lt=function(){return a};var u,a={},t=Object.prototype,c=t.hasOwnProperty,s=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(u){i=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o,i,a,l,e=e&&e.prototype instanceof v?e:v,e=Object.create(e.prototype),n=new A(n||[]);return s(e,"_invoke",{value:(o=t,i=r,a=n,l=h,function(t,e){if(l===p)throw Error("Generator is already running");if(l===y){if("throw"===t)throw e;return{value:u,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===u)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=u,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;n=f(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,d;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=u),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}(r,a);if(r){if(r===d)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(l===h)throw l=y,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);l=p;r=f(o,i,a);if("normal"===r.type){if(l=a.done?y:"suspendedYield",r.arg===d)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(l=y,a.method="throw",a.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=l;var h="suspendedStart",p="executing",y="completed",d={};function v(){}function b(){}function m(){}var e={},g=(i(e,n,function(){return this}),Object.getPrototypeOf),g=g&&g(g(E([]))),w=(g&&g!==t&&c.call(g,n)&&(e=g),m.prototype=v.prototype=Object.create(e));function _(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function O(a,l){var e;s(this,"_invoke",{value:function(r,n){function t(){return new l(function(t,e){!function e(t,r,n,o){var i,t=f(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==$(r)&&c.call(r,"__await")?l.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):l.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function E(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(c.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=u,t.done=!0,t}).next=t}throw new TypeError($(e)+" is not iterable")}return s(w,"constructor",{value:b.prototype=m,configurable:!0}),s(m,"constructor",{value:b,configurable:!0}),b.displayName=i(m,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,i(t,o,"GeneratorFunction")),t.prototype=Object.create(w),t},a.awrap=function(t){return{__await:t}},_(O.prototype),i(O.prototype,r,function(){return this}),a.AsyncIterator=O,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new O(l(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},_(w),i(w,o,"Generator"),i(w,n,function(){return this}),i(w,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=E,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&c.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=c.call(o,"catchLoc"),l=c.call(o,"finallyLoc");if(a&&l){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&c.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,j(o)),n}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=u),d}},a}function ut(t,e,r,n,o,i,a){try{var l=t[i](a),u=l.value}catch(t){return r(t)}l.done?e(u):Promise.resolve(u).then(n,o)}function v(t,e){var r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return o=!(n=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return n=t.done,t},e:function(t){o=!0,r=t},f:function(){try{n||null==a.return||a.return()}finally{if(o)throw r}}};if(Array.isArray(t)||(a=ct(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),i=0,{s:e=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ct(t,e){var r;if(t)return"string"==typeof t?st(t,e):"Map"===(r="Object"===(r={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?st(t,e):void 0}function st(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ft(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(t=>(t=(t=>{if("object"!=$(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!=$(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")})(t),"symbol"==$(t)?t:t+""))(n.key),n)}}function ht(t){var r="function"==typeof Map?new Map:void 0;return function(t){if(null===t||!(e=>{try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}})(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,e)}function e(){return function(t,e,r){var n;return pt()?Reflect.construct.apply(null,arguments):((n=[null]).push.apply(n,e),e=new(t.bind.apply(t,n)),r&&yt(e,r.prototype),e)}(t,arguments,dt(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),yt(e,t)}(t)}function pt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pt=function(){return!!t})()}function yt(t,e){return(yt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function dt(t){return(dt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var vt=Object.is,bt=Object.defineProperty,mt=Object.getOwnPropertyDescriptor,gt=Object.getOwnPropertyNames,wt=Object.getOwnPropertySymbols,_t=Object.getPrototypeOf,e=globalThis,r=e.trustedTypes,Ot=r?r.emptyScript:"",r=e.reactiveElementPolyfillSupport,St={toAttribute:function(t,e){switch(e){case Boolean:t=t?Ot:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){var r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},jt=function(t,e){return!vt(t,e)},At={attribute:!0,type:String,converter:St,reflect:!1,hasChanged:jt};null==Symbol.metadata&&(Symbol.metadata=Symbol("metadata")),null==e.litPropertyMetadata&&(e.litPropertyMetadata=new WeakMap);var n=(t=>{function e(){var t;if(this instanceof e)return(t=((t,e,r)=>{e=dt(e);var n=t;if(!(e=pt()?Reflect.construct(e,r||[],dt(t).constructor):e.apply(t,r))||"object"!=$(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e})(this,e))._$Ep=void 0,t.isUpdatePending=!1,t.hasUpdated=!1,t._$Em=null,t._$Ev(),t;throw new TypeError("Cannot call a class as a function")}var r,l,n,o=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&yt(o,t),o=e,t=[{key:"_$Ev",value:function(){var t,e=this;this._$ES=new Promise(function(t){return e.enableUpdating=t}),this._$AL=new Map,this._$E_(),this.requestUpdate(),null!=(t=this.constructor.l)&&t.forEach(function(t){return t(e)})}},{key:"addController",value:function(t){var e;(null!=(e=this._$EO)?e:this._$EO=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&null!=(e=t.hostConnected)&&e.call(t)}},{key:"removeController",value:function(t){var e;null!=(e=this._$EO)&&e.delete(t)}},{key:"_$E_",value:function(){var t,e=new Map,r=v(this.constructor.elementProperties.keys());try{for(r.s();!(t=r.n()).done;){var n=t.value;this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n])}}catch(t){r.e(t)}finally{r.f()}0<e.size&&(this._$Ep=e)}},{key:"createRenderRoot",value:function(){var t=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions),e=t,r=this.constructor.elementStyles;if(tt)e.adoptedStyleSheets=r.map(function(t){return t instanceof CSSStyleSheet?t:t.styleSheet});else{var n,o=Z(r);try{for(o.s();!(n=o.n()).done;){var i=n.value,a=document.createElement("style"),l=X.litNonce;void 0!==l&&a.setAttribute("nonce",l),a.textContent=i.cssText,e.appendChild(a)}}catch(e){o.e(e)}finally{o.f()}}return t}},{key:"connectedCallback",value:function(){var t;null==this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null!=(t=this._$EO)&&t.forEach(function(t){var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}},{key:"enableUpdating",value:function(t){}},{key:"disconnectedCallback",value:function(){var t;null!=(t=this._$EO)&&t.forEach(function(t){var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}},{key:"attributeChangedCallback",value:function(t,e,r){this._$AK(t,r)}},{key:"_$EC",value:function(t,e){var r,n=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,n);void 0!==o&&!0===n.reflect&&(r=(void 0!==(null==(r=n.converter)?void 0:r.toAttribute)?n.converter:St).toAttribute(e,n.type),this._$Em=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$Em=null)}},{key:"_$AK",value:function(t,e){var r,n=this.constructor,t=n._$Eh.get(t);void 0!==t&&this._$Em!==t&&(r="function"==typeof(n=n.getPropertyOptions(t)).converter?{fromAttribute:n.converter}:void 0!==(null==(r=n.converter)?void 0:r.fromAttribute)?n.converter:St,this._$Em=t,this[t]=r.fromAttribute(e,n.type),this._$Em=null)}},{key:"requestUpdate",value:function(t,e,r){if(void 0!==t){var n;if(!(null!=(n=(r=null==r?this.constructor.getPropertyOptions(t):r).hasChanged)?n:jt)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}},{key:"P",value:function(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(null!=(e=this._$Ej)?e:this._$Ej=new Set).add(t)}},{key:"_$ET",value:(l=lt().mark(function t(){var e;return lt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.isUpdatePending=!0,t.prev=1,t.next=4,this._$ES;case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),Promise.reject(t.t0);case 9:if(e=this.scheduleUpdate(),t.t1=null!=e,t.t1)return t.next=14,e;t.next=14;break;case 14:return t.abrupt("return",!this.isUpdatePending);case 15:case"end":return t.stop()}},t,this,[[1,6]])}),n=function(){var t=this,a=arguments;return new Promise(function(e,r){var n=l.apply(t,a);function o(t){ut(n,e,r,o,i,"next",t)}function i(t){ut(n,e,r,o,i,"throw",t)}o(void 0)})},function(){return n.apply(this,arguments)})},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){if(this.isUpdatePending){if(!this.hasUpdated){if(null==this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this._$Ep){var t,e=v(this._$Ep);try{for(e.s();!(t=e.n()).done;){var r=at(t.value,2),n=r[0],o=r[1];this[n]=o}}catch(t){e.e(t)}finally{e.f()}this._$Ep=void 0}var i=this.constructor.elementProperties;if(0<i.size){var a,l=v(i);try{for(l.s();!(a=l.n()).done;){var u=at(a.value,2),c=u[0],s=u[1];!0!==s.wrapped||this._$AL.has(c)||void 0===this[c]||this.P(c,this[c],s)}}catch(t){l.e(t)}finally{l.f()}}}var f,i=!1,h=this._$AL;try{(i=this.shouldUpdate(h))?(this.willUpdate(h),null!=(f=this._$EO)&&f.forEach(function(t){var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(h)):this._$EU()}catch(h){throw i=!1,this._$EU(),h}i&&this._$AE(h)}}},{key:"willUpdate",value:function(t){}},{key:"_$AE",value:function(t){var e;null!=(e=this._$EO)&&e.forEach(function(t){var e;return null==(e=t.hostUpdated)?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}},{key:"_$EU",value:function(){this._$AL=new Map,this.isUpdatePending=!1}},{key:"updateComplete",get:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._$ES}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;this._$Ej&&(this._$Ej=this._$Ej.forEach(function(t){return e._$EC(t,e[t])})),this._$EU()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],r=[{key:"addInitializer",value:function(t){var e;this._$Ei(),(null!=(e=this.l)?e:this.l=[]).push(t)}},{key:"observedAttributes",get:function(){return this.finalize(),this._$Eh&&it(this._$Eh.keys())}},{key:"createProperty",value:function(t){var e,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:At;r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),r.noAccessor||(e=Symbol(),void 0!==(e=this.getPropertyDescriptor(t,e,r))&&bt(this.prototype,t,e))}},{key:"getPropertyDescriptor",value:function(r,e,n){var t=null!=(t=mt(this.prototype,r))?t:{get:function(){return this[e]},set:function(t){this[e]=t}},o=t.get,i=t.set;return{get:function(){return null==o?void 0:o.call(this)},set:function(t){var e=null==o?void 0:o.call(this);i.call(this,t),this.requestUpdate(r,e,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return null!=(t=this.elementProperties.get(t))?t:At}},{key:"_$Ei",value:function(){var t;this.hasOwnProperty("elementProperties")||((t=_t(this)).finalize(),void 0!==t.l&&(this.l=it(t.l)),this.elementProperties=new Map(t.elementProperties))}},{key:"finalize",value:function(){if(!this.hasOwnProperty("finalized")){if(this.finalized=!0,this._$Ei(),this.hasOwnProperty("properties")){var t,e=this.properties,r=v([].concat(it(gt(e)),it(wt(e))));try{for(r.s();!(t=r.n()).done;){var n=t.value;this.createProperty(n,e[n])}}catch(t){r.e(t)}finally{r.f()}}var o=this[Symbol.metadata];if(null!==o){o=litPropertyMetadata.get(o);if(void 0!==o){var i,a=v(o);try{for(a.s();!(i=a.n()).done;){var l=at(i.value,2),u=l[0],c=l[1];this.elementProperties.set(u,c)}}catch(t){a.e(t)}finally{a.f()}}}this._$Eh=new Map;var s,f=v(this.elementProperties);try{for(f.s();!(s=f.n()).done;){var h=at(s.value,2),p=h[0],y=h[1],d=this._$Eu(p,y);void 0!==d&&this._$Eh.set(d,p)}}catch(t){f.e(t)}finally{f.f()}this.elementStyles=this.finalizeStyles(this.styles)}}},{key:"finalizeStyles",value:function(t){var e=[];if(Array.isArray(t)){var r,n=v(new Set(t.flat(1/0).reverse()));try{for(n.s();!(r=n.n()).done;)e.unshift(ot(r.value))}catch(t){n.e(t)}finally{n.f()}}else void 0!==t&&e.push(ot(t));return e}},{key:"_$Eu",value:function(t,e){e=e.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}}],ft(o.prototype,t),ft(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o})(ht(HTMLElement));function Et(t,e,r){e=$t(e);var n=t,e=(()=>{try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t})()?Reflect.construct(e,r||[],$t(t).constructor):e.apply(t,r);if(!e||"object"!=i(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function $t(t){return($t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Pt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&kt(t,e)}function kt(t,e){return(kt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function xt(t,e){var r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return o=!(n=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return n=t.done,t},e:function(t){o=!0,r=t},f:function(){try{n||null==a.return||a.return()}finally{if(o)throw r}}};if(Array.isArray(t)||(a=Tt(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),i=0,{s:e=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Lt(t){return(t=>{if(Array.isArray(t))return Mt(t)})(t)||(()=>{if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)})()||Tt(t)||(()=>{throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}function Ct(t,e){return(t=>{if(Array.isArray(t))return t})(t)||((t,e)=>{var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],u=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}})(t,e)||Tt(t,e)||(()=>{throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}function Tt(t,e){var r;if(t)return"string"==typeof t?Mt(t,e):"Map"===(r="Object"===(r={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Mt(t,e):void 0}function Mt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(t=>(t=(t=>{if("object"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!=i(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")})(t),"symbol"==i(t)?t:t+""))(n.key),n)}}function o(t,e,r){return e&&zt(t.prototype,e),r&&zt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.elementStyles=[],n.shadowRootOptions={mode:"open"},n.elementProperties=new Map,n.finalized=new Map,null!=r&&r({ReactiveElement:n}),(null!=(r=e.reactiveElementVersions)?r:e.reactiveElementVersions=[]).push("2.0.4");function O(){return c.createComment("")}function s(t){return null===t||"object"!=i(t)&&"function"!=typeof t}function Rt(o){return function(t){for(var e=arguments.length,r=new Array(1<e?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{_$litType$:o,strings:t,values:r}}}var r=globalThis,It=r.trustedTypes,Ut=It?It.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,S="lit$".concat(Math.random().toFixed(9).slice(2),"$"),Nt="?"+S,Ht="<".concat(Nt,">"),c=document,Bt=Array.isArray,e="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ft=/>/g,A=RegExp(">|".concat(e,"(?:([^\\s\"'>=/]+)(").concat(e,"*=").concat(e,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),Gt=/'/g,Vt=/"/g,Wt=/^(?:script|style|textarea|title)$/i,qt=Rt(1),f=(Rt(2),Rt(3),Symbol.for("lit-noChange")),h=Symbol.for("lit-nothing"),Zt=new WeakMap,E=c.createTreeWalker(c,129);function Jt(t,e){if(Bt(t)&&t.hasOwnProperty("raw"))return void 0!==Ut?Ut.createHTML(e):e;throw Error("invalid template strings array")}var Yt=o(function t(e,r){var n,o=e.strings,e=e._$litType$,i=(_(this,t),this.parts=[],0),a=0,l=o.length-1,u=this.parts,o=Ct(((t,e)=>{for(var r,n=t.length-1,o=[],i=2===e?"<svg>":3===e?"<math>":"",a=j,l=0;l<n;l++){for(var u=t[l],c=void 0,s=void 0,f=-1,h=0;h<u.length&&(a.lastIndex=h,null!==(s=a.exec(u)));){var p,h=a.lastIndex;a===j?"!--"===s[1]?a=Dt:void 0!==s[1]?a=Ft:void 0!==s[2]?(Wt.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=A):void 0!==s[3]&&(a=A):a===A?">"===s[0]?(a=null!=(p=r)?p:j,f=-1):void 0===s[1]?f=-2:(f=a.lastIndex-s[2].length,c=s[1],a=void 0===s[3]?A:'"'===s[3]?Vt:Gt):a===Vt||a===Gt?a=A:a===Dt||a===Ft?a=j:(a=A,r=void 0)}var y=a===A&&t[l+1].startsWith("/>")?" ":"";i+=a===j?u+Ht:0<=f?(o.push(c),u.slice(0,f)+"$lit$"+u.slice(f)+S+y):u+S+(-2===f?l:y)}return[Jt(t,i+(t[n]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),o]})(o,e),2),c=o[0],s=o[1];for(this.el=t.createElement(c,r),E.currentNode=this.el.content,2!==e&&3!==e||(o=this.el.content.firstChild).replaceWith.apply(o,Lt(o.childNodes));null!==(n=E.nextNode())&&u.length<l;){if(1===n.nodeType){if(n.hasAttributes()){var f,h=xt(n.getAttributeNames());try{for(h.s();!(f=h.n()).done;){var p,y,d,v=f.value;v.endsWith("$lit$")?(p=s[a++],y=n.getAttribute(v).split(S),d=/([.?@])?(.*)/.exec(p),u.push({type:1,index:i,name:d[2],strings:y,ctor:"."===d[1]?te:"?"===d[1]?ee:"@"===d[1]?re:Xt}),n.removeAttribute(v)):v.startsWith(S)&&(u.push({type:6,index:i}),n.removeAttribute(v))}}catch(t){h.e(t)}finally{h.f()}}if(Wt.test(n.tagName)){var b=n.textContent.split(S),m=b.length-1;if(0<m){n.textContent=It?It.emptyScript:"";for(var g=0;g<m;g++)n.append(b[g],O()),E.nextNode(),u.push({type:2,index:++i});n.append(b[m],O())}}}else if(8===n.nodeType)if(n.data===Nt)u.push({type:2,index:i});else for(var w=-1;-1!==(w=n.data.indexOf(S,w+1));)u.push({type:7,index:i}),w+=S.length-1;i++}},null,[{key:"createElement",value:function(t,e){var r=c.createElement("template");return r.innerHTML=t,r}}]);function p(t,e,r,n){var o,i,a,l,r=2<arguments.length&&void 0!==r?r:t,n=3<arguments.length?n:void 0;return e=e!==f&&(a=void 0!==n?null==(a=r.o)?void 0:a[n]:r.l,l=s(e)?void 0:e._$litDirective$,(null==(o=a)?void 0:o.constructor)!==l&&(null!=(o=a)&&null!=(i=o._$AO)&&i.call(o,!1),void 0===l?a=void 0:(a=new l(t))._$AT(t,r,n),void 0!==n?(null!=(i=r.o)?i:r.o=[])[n]=a:r.l=a),void 0!==a)?p(t,a._$AS(t,e.values),a,n):e}var Kt=o(function t(e,r){_(this,t),this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r},[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"u",value:function(t){var e=this._$AD,r=e.el.content,n=e.parts,e=(null!=(e=null==t?void 0:t.creationScope)?e:c).importNode(r,!0);E.currentNode=e;for(var o,i=E.nextNode(),a=0,l=0,u=n[0];void 0!==u;)a===u.index&&(o=void 0,2===u.type?o=new Qt(i,i.nextSibling,this,t):1===u.type?o=new u.ctor(i,u.name,u.strings,this,t):6===u.type&&(o=new ne(i,this,t)),this._$AV.push(o),u=n[++l]),a!==(null==(o=u)?void 0:o.index)&&(i=E.nextNode(),a++);return E.currentNode=c,e}},{key:"p",value:function(t){var e,r=0,n=xt(this._$AV);try{for(n.s();!(e=n.n()).done;){var o=e.value;void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}}catch(t){n.e(t)}finally{n.f()}}}]),Qt=o(le,[{key:"_$AU",get:function(){var t;return null!=(t=null==(t=this._$AM)?void 0:t._$AU)?t:this.v}},{key:"parentNode",get:function(){var t,e=this._$AA.parentNode,r=this._$AM;return e=void 0!==r&&11===(null==(t=e)?void 0:t.nodeType)?r.parentNode:e}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(t){var e;t=p(this,t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:this),s(t)?t===h||null==t||""===t?(this._$AH!==h&&this._$AR(),this._$AH=h):t!==this._$AH&&t!==f&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):Bt(e=t)||"function"==typeof(null==e?void 0:e[Symbol.iterator])?this.k(t):this._(t)}},{key:"O",value:function(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}},{key:"T",value:function(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}},{key:"_",value:function(t){this._$AH!==h&&s(this._$AH)?this._$AA.nextSibling.data=t:this.T(c.createTextNode(t)),this._$AH=t}},{key:"$",value:function(t){var e=t.values,r=t._$litType$,t="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=Yt.createElement(Jt(r.h,r.h[0]),this.options)),r);(null==(r=this._$AH)?void 0:r._$AD)===t?this._$AH.p(e):(t=(r=new Kt(t,this)).u(this.options),r.p(e),this.T(t),this._$AH=r)}},{key:"_$AC",value:function(t){var e=Zt.get(t.strings);return void 0===e&&Zt.set(t.strings,e=new Yt(t)),e}},{key:"k",value:function(t){Bt(this._$AH)||(this._$AH=[],this._$AR());var e,r,n=this._$AH,o=0,i=xt(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;o===n.length?n.push(e=new le(this.O(O()),this.O(O()),this,this.options)):e=n[o],e._$AI(a),o++}}catch(t){i.e(t)}finally{i.f()}o<n.length&&(this._$AR(e&&e._$AB.nextSibling,o),n.length=o)}},{key:"_$AR",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling;for(null!=(e=this._$AP)&&e.call(this,!1,!0,1<arguments.length?arguments[1]:void 0);t&&t!==this._$AB;){var e,r=t.nextSibling;t.remove(),t=r}}},{key:"setConnected",value:function(t){var e;void 0===this._$AM&&(this.v=t,null!=(e=this._$AP))&&e.call(this,t)}}]),Xt=o(function t(e,r,n,o,i){_(this,t),this.type=1,this._$AH=h,this._$AN=void 0,this.element=e,this.name=r,this._$AM=o,this.options=i,2<n.length||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=h},[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this,r=2<arguments.length?arguments[2]:void 0,n=3<arguments.length?arguments[3]:void 0,o=this.strings,i=!1;if(void 0===o)t=p(this,t,e,0),(i=!s(t)||t!==this._$AH&&t!==f)&&(this._$AH=t);else{var a,l,u,c=t;for(t=o[0],a=0;a<o.length-1;a++)(l=p(this,c[r+a],e,a))===f&&(l=this._$AH[a]),i=i||!s(l)||l!==this._$AH[a],l===h?t=h:t!==h&&(t+=(null!=(u=l)?u:"")+o[a+1]),this._$AH[a]=l}i&&!n&&this.j(t)}},{key:"j",value:function(t){t===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}]),te=(Pt(ae,Xt),o(ae,[{key:"j",value:function(t){this.element[this.name]=t===h?void 0:t}}])),ee=(Pt(ie,Xt),o(ie,[{key:"j",value:function(t){this.element.toggleAttribute(this.name,!!t&&t!==h)}}])),re=(Pt(oe,Xt),o(oe,[{key:"_$AI",value:function(t){var e,r,n;(t=null!=(e=p(this,t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:this,0))?e:h)!==f&&(e=this._$AH,r=t===h&&e!==h||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==h&&(e===h||r),r&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t)}},{key:"handleEvent",value:function(t){var e;"function"==typeof this._$AH?this._$AH.call(null!=(e=null==(e=this.options)?void 0:e.host)?e:this.element,t):this._$AH.handleEvent(t)}}])),ne=o(function t(e,r,n){_(this,t),this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n},[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){p(this,t)}}]),e=r.litHtmlPolyfillSupport;function oe(t,e,r,n,o){return _(this,oe),(t=Et(this,oe,[t,e,r,n,o])).type=5,t}function ie(){var t;return _(this,ie),(t=Et(this,ie,arguments)).type=4,t}function ae(){var t;return _(this,ae),(t=Et(this,ae,arguments)).type=3,t}function le(t,e,r,n){_(this,le),this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=n,this.v=null==(t=null==n?void 0:n.isConnected)||t}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ue(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(t=>(t=(t=>{if("object"!=a(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!=a(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")})(t),"symbol"==a(t)?t:t+""))(n.key),n)}}function ce(t,e,r){e=l(e);var n=t,e=(()=>{try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t})()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(e&&("object"==a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return se(n)}function se(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fe(t,e,r,n){var o=he(l(1&n?t.prototype:t),e,r);return 2&n?function(t){return o.apply(r,t)}:o}function he(){return(he="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=((t,e)=>{for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=l(t)););return t})(t,e);if(n)return(n=Object.getOwnPropertyDescriptor(n,e)).get?n.get.call(arguments.length<3?t:r):n.value}).apply(null,arguments)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function pe(t,e){return(pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}null!=e&&e(Yt,Qt),(null!=(e=r.litHtmlVersions)?e:r.litHtmlVersions=[]).push("3.2.0");e=(()=>{function a(){var t=this,e=a;if(t instanceof e)return(t=ce(this,a,arguments)).renderOptions={host:se(t)},t.o=void 0,t;throw new TypeError("Cannot call a class as a function")}var t=a,e=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&pe(t,e),ue((t=a).prototype,[{key:"createRenderRoot",value:function(){var t,e=fe(a,"createRenderRoot",this,3)([]);return null==(t=this.renderOptions).renderBefore&&(t.renderBefore=e.firstChild),e}},{key:"update",value:function(t){var e,r,n,o,i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),fe(a,"update",this,3)([t]),this.o=(t=i,i=this.renderRoot,e=this.renderOptions,n=null!=(n=null==e?void 0:e.renderBefore)?n:i,void 0===(o=n._$litPart$)&&(r=null!=(r=null==e?void 0:e.renderBefore)?r:null,n._$litPart$=o=new Qt(i.insertBefore(O(),r),r,void 0,null!=e?e:{})),o._$AI(t),o)}},{key:"connectedCallback",value:function(){var t;fe(a,"connectedCallback",this,3)([]),null!=(t=this.o)&&t.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var t;fe(a,"disconnectedCallback",this,3)([]),null!=(t=this.o)&&t.setConnected(!1)}},{key:"render",value:function(){return f}}]),Object.defineProperty(t,"prototype",{writable:!1}),t})(),e._$litElement$=!0,e.finalized=!0,null!=(r=globalThis.litElementHydrateSupport)&&r.call(globalThis,{LitElement:e}),r=globalThis.litElementPolyfillSupport;null!=r&&r({LitElement:e}),(null!=(r=globalThis.litElementVersions)?r:globalThis.litElementVersions=[]).push("4.1.0");r=Q((r=["\n :host {\n display: inline-block;\n width: 1em;\n height: 1em;\n box-sizing: content-box !important;\n }\n\n svg {\n display: block;\n height: 100%;\n width: 100%;\n }\n"],y=y||r.slice(0),Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(y)}}))));function ye(t,e){var r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return o=!(n=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return n=t.done,t},e:function(t){o=!0,r=t},f:function(){try{n||null==a.return||a.return()}finally{if(o)throw r}}};if(Array.isArray(t)||(a=(t=>{var e;if(t)return"string"==typeof t?de(t,void 0):"Map"===(e="Object"===(e={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?de(t,void 0):void 0})(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),i=0,{s:e=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function de(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ve(t,e,r){e in t?me(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r}function be(t,e){for(var r in e=e||{})_e.call(e,r)&&ve(t,r,e[r]);if(we){var n,o=ye(we(e));try{for(o.s();!(n=o.n()).done;)r=n.value,Oe.call(e,r)&&ve(t,r,e[r])}catch(t){o.e(t)}finally{o.f()}}return t}function u(t,e,r,n){for(var o,i=1<n?void 0:n?ge(e,r):e,a=t.length-1;0<=a;a--)(o=t[a])&&(i=(n?o(e,r,i):o(i))||i);n&&i&&me(e,r,i)}var me=Object.defineProperty,ge=Object.getOwnPropertyDescriptor,we=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable;function Se(r,t){var a=be({waitUntilFirstUpdate:!1},t);return function(t,o){var e=t.update,i=Array.isArray(r)?r:[r];t.update=function(r){var n=this;i.forEach(function(t){var e;!r.has(t)||(e=r.get(t))===(t=n[t])||a.waitUntilFirstUpdate&&!n.hasUpdated||n[o](e,t)}),e.call(this,r)}}}var y=Q((y=["\n :host {\n box-sizing: border-box;\n }\n\n :host *,\n :host *::before,\n :host *::after {\n box-sizing: inherit;\n }\n\n [hidden] {\n display: none !important;\n }\n"],L=L||y.slice(0),Object.freeze(Object.defineProperties(y,{raw:{value:Object.freeze(L)}}))));function je(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function Ae(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?je(Object(o),!0).forEach(function(t){var e,r;e=n,t=o[r=t],(r=(()=>{var t=(t=>{if("object"!=d(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!=d(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")})(r);return"symbol"==d(t)?t:t+""})())in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):je(Object(o)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(o,t))})}return n}function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Ee={attribute:!0,type:String,converter:St,reflect:!1,hasChanged:jt};function b(o){return function(t,e){return"object"==d(e)?function(t,e,r){var n,o,i=0<arguments.length&&void 0!==t?t:Ee,a=1<arguments.length?e:void 0,t=2<arguments.length?r:void 0,e=t.kind,r=t.metadata,l=globalThis.litPropertyMetadata.get(r);if(void 0===l&&globalThis.litPropertyMetadata.set(r,l=new Map),l.set(t.name,i),"accessor"===e)return n=t.name,{set:function(t){var e=a.get.call(this);a.set.call(this,t),this.requestUpdate(n,e,i)},init:function(t){return void 0!==t&&this.P(n,void 0,i),t}};if("setter"===e)return o=t.name,function(t){var e=this[o];a.call(this,t),this.requestUpdate(o,e,i)};throw Error("Unsupported decorator location: "+e)}(o,t,e):(r=o,e=e,n=(t=t).hasOwnProperty(e),t.constructor.createProperty(e,n?Ae(Ae({},r),{},{wrapped:!0}):r),n?Object.getOwnPropertyDescriptor(t,e):void 0);var r,n}}function $e(t){return($e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Pe(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function ke(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(o),!0).forEach(function(t){var e,r;e=n,t=o[r=t],(r=(()=>{var t=(t=>{if("object"!=$e(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!=$e(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")})(r);return"symbol"==$e(t)?t:t+""})())in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):Pe(Object(o)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(o,t))})}return n}function xe(t){return b(ke(ke({},t),{},{state:!0,attribute:!1}))}function Le(t){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ce(t,e,r){return r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=Le(e)&&Object.defineProperty(t,e,r),r}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Te(t,e){return(t=>{if(Array.isArray(t))return t})(t)||((t,e)=>{var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],u=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}})(t,e)||((t,e)=>{var r;if(t)return"string"==typeof t?Me(t,e):"Map"===(r="Object"===(r={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Me(t,e):void 0})(t,e)||(()=>{throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}function Me(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ze(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Re(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(t=>(t=(t=>{if("object"!=m(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!=m(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")})(t),"symbol"==m(t)?t:t+""))(n.key),n)}}function Ie(t,e,r){return e&&Re(t.prototype,e),r&&Re(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Ue(t,e,r){e=Ne(e);var n=t,e=(()=>{try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t})()?Reflect.construct(e,r||[],Ne(t).constructor):e.apply(t,r);if(!e||"object"!=m(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function Ne(t){return(Ne=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function He(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Be(t,e)}function Be(t,e){return(Be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}He(De,e);var g=Ie(De,[{key:"emit",value:function(t,e){t=new CustomEvent(t,be({bubbles:!0,cancelable:!1,composed:!0,detail:{}},e));return this.dispatchEvent(t),t}}],[{key:"define",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},n=customElements.get(t);if(n){var o=" (unknown version)",i=o;"version"in e&&e.version&&(o=" v"+e.version),"version"in n&&n.version&&(i=" v"+n.version),o&&i&&o===i||console.warn("Attempted to register <".concat(t,">").concat(o,", but <").concat(t,">").concat(i," has already been registered."))}else try{customElements.define(t,e,r)}catch(n){customElements.define(t,(He(a,e),Ie(a)),r)}function a(){return ze(this,a),Ue(this,a,arguments)}}}]);function De(){var r;return ze(this,De),r=Ue(this,De),Object.entries(r.constructor.dependencies).forEach(function(t){var t=Te(t,2),e=t[0];r.constructor.define(e,t[1])}),r}g.version="2.16.0",g.dependencies={},u([b()],g.prototype,"dir",2),u([b()],g.prototype,"lang",2);var Fe;function P(t){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(){k=function(){return a};var u,a={},t=Object.prototype,c=t.hasOwnProperty,s=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(u){i=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o,i,a,l,e=e&&e.prototype instanceof v?e:v,e=Object.create(e.prototype),n=new A(n||[]);return s(e,"_invoke",{value:(o=t,i=r,a=n,l=h,function(t,e){if(l===p)throw Error("Generator is already running");if(l===y){if("throw"===t)throw e;return{value:u,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===u)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=u,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;n=f(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,d;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=u),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}(r,a);if(r){if(r===d)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(l===h)throw l=y,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);l=p;r=f(o,i,a);if("normal"===r.type){if(l=a.done?y:"suspendedYield",r.arg===d)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(l=y,a.method="throw",a.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=l;var h="suspendedStart",p="executing",y="completed",d={};function v(){}function b(){}function m(){}var e={},g=(i(e,n,function(){return this}),Object.getPrototypeOf),g=g&&g(g(E([]))),w=(g&&g!==t&&c.call(g,n)&&(e=g),m.prototype=v.prototype=Object.create(e));function _(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function O(a,l){var e;s(this,"_invoke",{value:function(r,n){function t(){return new l(function(t,e){!function e(t,r,n,o){var i,t=f(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==P(r)&&c.call(r,"__await")?l.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):l.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function E(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(c.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=u,t.done=!0,t}).next=t}throw new TypeError(P(e)+" is not iterable")}return s(w,"constructor",{value:b.prototype=m,configurable:!0}),s(m,"constructor",{value:b,configurable:!0}),b.displayName=i(m,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,i(t,o,"GeneratorFunction")),t.prototype=Object.create(w),t},a.awrap=function(t){return{__await:t}},_(O.prototype),i(O.prototype,r,function(){return this}),a.AsyncIterator=O,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new O(l(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},_(w),i(w,o,"Generator"),i(w,n,function(){return this}),i(w,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=E,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&c.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=c.call(o,"catchLoc"),l=c.call(o,"finallyLoc");if(a&&l){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&c.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,j(o)),n}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=u),d}},a}function Ge(t,e,r,n,o,i,a){try{var l=t[i](a),u=l.value}catch(t){return r(t)}l.done?e(u):Promise.resolve(u).then(n,o)}function Ve(l){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=l.apply(t,a);function o(t){Ge(n,e,r,o,i,"next",t)}function i(t){Ge(n,e,r,o,i,"throw",t)}o(void 0)})}}function We(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(t=>(t=(t=>{if("object"!=P(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!=P(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")})(t),"symbol"==P(t)?t:t+""))(n.key),n)}}function qe(t,e,r){e=w(e);var n=t,e=(()=>{try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t})()?Reflect.construct(e,r||[],w(t).constructor):e.apply(t,r);if(!e||"object"!=P(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function Ze(t,e,r,n){var o=Je(w(1&n?t.prototype:t),e,r);return 2&n?function(t){return o.apply(r,t)}:o}function Je(){return(Je="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=((t,e)=>{for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=w(t)););return t})(t,e);if(n)return(n=Object.getOwnPropertyDescriptor(n,e)).get?n.get.call(arguments.length<3?t:r):n.value}).apply(null,arguments)}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ye(t,e){return(Ye=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Ke,x=Symbol(),Qe=Symbol(),Xe=new Map,L=(()=>{function r(){var t=this,e=r;if(t instanceof e)return(t=qe(this,r,arguments)).initialRender=!1,t.svg=null,t.label="",t.library="default",t;throw new TypeError("Cannot call a class as a function")}var t,n,e=r,o=g;if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");return e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),o&&Ye(e,o),e=r,o=[{key:"resolveIcon",value:(n=Ve(k().mark(function t(n,o){var i,a,l,u,c;return k().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=o&&o.spriteSheet)return this.svg=qt(Fe||(e=['<svg part="svg">\n <use part="use" href="','"></use>\n </svg>'],r=(r=void 0)||e.slice(0),Fe=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))),n),t.next=4,this.updateComplete;t.next=7;break;case 4:return a=this.shadowRoot.querySelector("[part='svg']"),"function"==typeof o.mutator&&o.mutator(a),t.abrupt("return",this.svg);case 7:return t.prev=7,t.next=10,fetch(n,{mode:"cors"});case 10:if((i=t.sent).ok){t.next=13;break}return t.abrupt("return",410===i.status?x:Qe);case 13:t.next=18;break;case 15:return t.prev=15,t.t0=t.catch(7),t.abrupt("return",Qe);case 18:return t.prev=18,l=document.createElement("div"),t.next=22,i.text();case 22:if(l.innerHTML=t.sent,u=l.firstElementChild,"svg"!==(null==(a=null==u?void 0:u.tagName)?void 0:a.toLowerCase()))return t.abrupt("return",x);t.next=26;break;case 26:if(Ke=Ke||new DOMParser,c=Ke.parseFromString(u.outerHTML,"text/html"),c=c.body.querySelector("svg")){t.next=31;break}return t.abrupt("return",x);case 31:return c.part.add("svg"),t.abrupt("return",document.adoptNode(c));case 35:return t.prev=35,t.t1=t.catch(18),t.abrupt("return",x);case 38:case"end":return t.stop()}var e,r},t,this,[[7,15],[18,35]])})),function(t,e){return n.apply(this,arguments)})},{key:"connectedCallback",value:function(){Ze(r,"connectedCallback",this,3)([]),W.push(this)}},{key:"firstUpdated",value:function(){this.initialRender=!0,this.setIcon()}},{key:"disconnectedCallback",value:function(){var e;Ze(r,"disconnectedCallback",this,3)([]),e=this,W=W.filter(function(t){return t!==e})}},{key:"getIconSource",value:function(){var t=q(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}},{key:"handleLabelChange",value:function(){"string"==typeof this.label&&0<this.label.length?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}},{key:"setIcon",value:(t=Ve(k().mark(function t(){var n,o,i,a,l;return k().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i=this.getIconSource(),o=i.url,i=i.fromLibrary?q(this.library):void 0,o){t.next=5;break}return this.svg=null,t.abrupt("return");case 5:if((a=Xe.get(o))||(a=this.resolveIcon(o,i),Xe.set(o,a)),this.initialRender){t.next=9;break}return t.abrupt("return");case 9:return t.next=11,a;case 11:if((l=t.sent)===Qe&&Xe.delete(o),o!==this.getIconSource().url)return t.abrupt("return");t.next=15;break;case 15:if(e=l,(r=void 0)===r?void 0!==(null==e?void 0:e._$litType$):(null==e?void 0:e._$litType$)===r)return this.svg=l,t.abrupt("return");t.next=18;break;case 18:t.t0=l,t.next=t.t0===Qe||t.t0===x?21:24;break;case 21:return this.svg=null,this.emit("sl-error"),t.abrupt("break",27);case 24:this.svg=l.cloneNode(!0),null!=(n=null==i?void 0:i.mutator)&&n.call(i,this.svg),this.emit("sl-load");case 27:case"end":return t.stop()}var e,r},t,this)})),function(){return t.apply(this,arguments)})},{key:"render",value:function(){return this.svg}}],We(e.prototype,o),Object.defineProperty(e,"prototype",{writable:!1}),e})();L.styles=[y,r],u([xe()],L.prototype,"svg",2),u([b({reflect:!0})],L.prototype,"name",2),u([b()],L.prototype,"src",2),u([b()],L.prototype,"label",2),u([b({reflect:!0})],L.prototype,"library",2),u([Se("label")],L.prototype,"handleLabelChange",1),u([Se(["name","src","library"])],L.prototype,"setIcon",1);var tr,er,r=Q((e=["\n :host {\n --control-box-size: 3rem;\n --icon-size: calc(var(--control-box-size) * 0.625);\n\n display: inline-flex;\n position: relative;\n cursor: pointer;\n }\n\n img {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n img[aria-hidden='true'] {\n display: none;\n }\n\n .animated-image__control-box {\n display: flex;\n position: absolute;\n align-items: center;\n justify-content: center;\n top: calc(50% - var(--control-box-size) / 2);\n right: calc(50% - var(--control-box-size) / 2);\n width: var(--control-box-size);\n height: var(--control-box-size);\n font-size: var(--icon-size);\n background: none;\n border: solid 2px currentColor;\n background-color: rgb(0 0 0 /50%);\n border-radius: var(--sl-border-radius-circle);\n color: white;\n pointer-events: none;\n transition: var(--sl-transition-fast) opacity;\n }\n\n :host([play]:hover) .animated-image__control-box {\n opacity: 1;\n }\n\n :host([play]:not(:hover)) .animated-image__control-box {\n opacity: 0;\n }\n\n :host([play]) slot[name='play-icon'],\n :host(:not([play])) slot[name='pause-icon'] {\n display: none;\n }\n"],T=T||e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(T)}}))));function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rr(t,e){return e=e||t.slice(0),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function nr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(t=>(t=(t=>{if("object"!=C(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!=C(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")})(t),"symbol"==C(t)?t:t+""))(n.key),n)}}function or(t,e,r){e=ir(e);var n=t,e=(()=>{try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t})()?Reflect.construct(e,r||[],ir(t).constructor):e.apply(t,r);if(!e||"object"!=C(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function ir(t){return(ir=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ar(t,e){return(ar=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}e=(()=>{function r(){var t=this,e=r;if(t instanceof e)return(t=or(this,r,arguments)).isLoaded=!1,t;throw new TypeError("Cannot call a class as a function")}var t=r,e=g;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ar(t,e),nr((t=r).prototype,[{key:"handleClick",value:function(){this.play=!this.play}},{key:"handleLoad",value:function(){var t=document.createElement("canvas"),e=this.animatedImage,r=e.width,e=e.height;t.width=r,t.height=e,t.getContext("2d").drawImage(this.animatedImage,0,0,r,e),this.frozenFrame=t.toDataURL("image/gif"),this.isLoaded||(this.emit("sl-load"),this.isLoaded=!0)}},{key:"handleError",value:function(){this.emit("sl-error")}},{key:"handlePlayChange",value:function(){this.play&&(this.animatedImage.src="",this.animatedImage.src=this.src)}},{key:"handleSrcChange",value:function(){this.isLoaded=!1}},{key:"render",value:function(){return qt(tr=tr||rr(['\n <div class="animated-image">\n <img\n class="animated-image__animated"\n src=',"\n alt=",'\n crossorigin="anonymous"\n aria-hidden=',"\n @click=","\n @load=","\n @error=","\n />\n\n ","\n </div>\n "]),this.src,this.alt,this.play?"false":"true",this.handleClick,this.handleLoad,this.handleError,this.isLoaded?qt(er=er||rr(['\n <img\n class="animated-image__frozen"\n src=',"\n alt=","\n aria-hidden=","\n @click=",'\n />\n\n <div part="control-box" class="animated-image__control-box">\n <slot name="play-icon"><sl-icon name="play-fill" library="system"></sl-icon></slot>\n <slot name="pause-icon"><sl-icon name="pause-fill" library="system"></sl-icon></slot>\n </div>\n ']),this.frozenFrame,this.alt,this.play?"true":"false",this.handleClick):"")}}]),Object.defineProperty(t,"prototype",{writable:!1}),t})();function lr(t){return(lr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ur(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function cr(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ur(Object(o),!0).forEach(function(t){var e,r;e=n,t=o[r=t],(r=(()=>{var t=(t=>{if("object"!=lr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!=lr(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")})(r);return"symbol"==lr(t)?t:t+""})())in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):ur(Object(o)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(o,t))})}return n}function sr(t,e){return(t=>{if(Array.isArray(t))return t})(t)||((t,e)=>{var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],u=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}})(t,e)||fr(t,e)||(()=>{throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}function fr(t,e){var r;if(t)return"string"==typeof t?hr(t,e):"Map"===(r="Object"===(r={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?hr(t,e):void 0}function hr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}e.styles=[y,r],e.dependencies={"sl-icon":L},u([function(t,e,r){function n(t){return null!=(t=null==(t=t.renderRoot)?void 0:t.querySelector(".animated-image__animated"))?t:null}return Ce(t,e,{get:function(){return n(this)}})}],e.prototype,"animatedImage",2),u([xe()],e.prototype,"frozenFrame",2),u([xe()],e.prototype,"isLoaded",2),u([b()],e.prototype,"src",2),u([b()],e.prototype,"alt",2),u([b({type:Boolean,reflect:!0})],e.prototype,"play",2),u([Se("play",{waitUntilFirstUpdate:!0})],e.prototype,"handlePlayChange",1),u([Se("src")],e.prototype,"handleSrcChange",1);function pr(t,e,r,n,o){void 0===(o=null==o?void 0:o[e])?null==(t[e]=r)&&e in HTMLElement.prototype&&t.removeAttribute(e):r!==n&&(e=t,n=o,t=r,void 0===(o=gr.get(e))&&gr.set(e,o=new Map),r=o.get(n),void 0!==t?void 0===r?(o.set(n,r={handleEvent:t}),e.addEventListener(n,r)):r.handleEvent=t:void 0!==r&&(o.delete(n),e.removeEventListener(n,r)))}function yr(t){var e=t.id,r=t.loading_state;return N.a.createElement(wr,{id:e,className:t.className,style:t.style,src:t.src,alt:t.alt,play:t.play,"data-dash-is-loading":r&&r.is_loading||void 0})}var T,M,dr,vr,z,br,mr=new Set(["children","localName","ref","style","className"]),gr=new WeakMap,wr=(e.define("sl-animated-image"),M=(T={tagName:"sl-animated-image",elementClass:e,react:U,events:{onSlLoad:"sl-load",onSlError:"sl-error"},displayName:"SlAnimatedImage"}).react,dr=T.tagName,vr=T.elementClass,z=T.events,T=T.displayName,br=new Set(Object.keys(null!=z?z:{})),(y=M.forwardRef(function(l,e){for(var u=M.useRef(new Map),c=M.useRef(null),t={},s={},r=0,n=Object.entries(l);r<n.length;r++){var o=sr(n[r],2),i=o[0],o=o[1];mr.has(i)?t["className"===i?"class":i]=o:br.has(i)||i in vr.prototype?s[i]=o:t[i]=o}return M.useLayoutEffect(function(){if(null!==c.current){var t,e=new Map;for(t in s)pr(c.current,t,l[t],u.current.get(t),z),u.current.delete(t),e.set(t,l[t]);var r,n=(t=>{var e,r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return n=!(r=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return r=t.done,t},e:function(t){n=!0,e=t},f:function(){try{r||null==a.return||a.return()}finally{if(n)throw e}}};if(Array.isArray(t)||(a=fr(t)))return a&&(t=a),o=0,{s:i=function(){},n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})(u.current);try{for(n.s();!(r=n.n()).done;){var o=sr(r.value,2),i=o[0],a=o[1];pr(c.current,i,void 0,a,z)}}catch(t){n.e(t)}finally{n.f()}u.current=e}}),M.useLayoutEffect(function(){var t;null!=(t=c.current)&&t.removeAttribute("defer-hydration")},[]),t.suppressHydrationWarning=!0,M.createElement(dr,cr(cr({},t),{},{ref:M.useCallback(function(t){c.current=t,"function"==typeof e?e(t):null!==e&&(e.current=t)},[e])}))})).displayName=null!=T?T:vr.name,y),r=t(220);(I.default=yr).defaultProps=r.b,yr.propTypes=r.c}}]);
1
+ /*! For license information please see async-feffery_animated_image.js.LICENSE.txt */
2
+ (window.webpackJsonpfeffery_utils_components=window.webpackJsonpfeffery_utils_components||[]).push([[3],{527:function(t,e,r){"use strict";r.r(e);var n=r(1),o=r.n(n);function i(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var u="";function l(t){u=t}var c={caret:'\n <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <polyline points="6 9 12 15 18 9"></polyline>\n </svg>\n ',check:'\n <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor">\n <g transform="translate(3.428571, 3.428571)">\n <path d="M0,5.71428571 L3.42857143,9.14285714"></path>\n <path d="M9.14285714,0 L3.42857143,9.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"chevron-down":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',"chevron-left":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>\n </svg>\n ',"chevron-right":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',copy:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-copy" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"/>\n </svg>\n ',eye:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">\n <path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/>\n <path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>\n </svg>\n ',"eye-slash":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16">\n <path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/>\n <path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/>\n <path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/>\n </svg>\n ',eyedropper:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eyedropper" viewBox="0 0 16 16">\n <path d="M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"></path>\n </svg>\n ',"grip-vertical":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grip-vertical" viewBox="0 0 16 16">\n <path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>\n </svg>\n ',indeterminate:'\n <svg part="indeterminate-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor" stroke-width="2">\n <g transform="translate(2.285714, 6.857143)">\n <path d="M10.2857143,1.14285714 L1.14285714,1.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"person-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">\n <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>\n </svg>\n ',"play-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">\n <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path>\n </svg>\n ',"pause-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">\n <path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"></path>\n </svg>\n ',radio:'\n <svg part="checked-icon" class="radio__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g fill="currentColor">\n <circle cx="8" cy="8" r="3.42857143"></circle>\n </g>\n </g>\n </svg>\n ',"star-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">\n <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>\n </svg>\n ',"x-lg":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">\n <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>\n </svg>\n ',"x-circle-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">\n <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>\n </svg>\n '},s=[{name:"default",resolver:function(t){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!u){var e=i(document.getElementsByTagName("script")),r=e.find((function(t){return t.hasAttribute("data-shoelace")}));if(r)l(r.getAttribute("data-shoelace"));else{var n=e.find((function(t){return/shoelace(\.min)?\.js($|\?)/.test(t.src)||/shoelace-autoloader(\.min)?\.js($|\?)/.test(t.src)})),o="";n&&(o=n.getAttribute("src")),l(o.split("/").slice(0,-1).join("/"))}}return u.replace(/\/$/,"")+(t?"/".concat(t.replace(/^\//,"")):"")}("assets/icons/".concat(t,".svg"))}},{name:"system",resolver:function(t){return t in c?"data:image/svg+xml,".concat(encodeURIComponent(c[t])):""}}],f=[];function h(t){return s.find((function(e){return e.name===t}))}function p(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return y(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,b(n.key),n)}}function b(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=v(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:e+""}var m,g,w,O=globalThis,_=O.ShadowRoot&&(void 0===O.ShadyCSS||O.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,S=Symbol(),j=new WeakMap,A=function(){return function(t,e,r){return e&&d(t.prototype,e),r&&d(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e,r,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._$cssResult$=!0,n!==S)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}),[{key:"styleSheet",get:function(){var t=this.o,e=this.t;if(_&&void 0===t){var r=void 0!==e&&1===e.length;r&&(t=j.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&j.set(e,t))}return t}},{key:"toString",value:function(){return this.cssText}}])}(),E=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var o=1===t.length?t[0]:r.reduce((function(e,r,n){return e+function(t){if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")}(r)+t[n+1]}),t[0]);return new A(o,t,S)},$=_?function(t){return t}:function(t){return t instanceof CSSStyleSheet?function(t){var e,r="",n=p(t.cssRules);try{for(n.s();!(e=n.n()).done;){r+=e.value.cssText}}catch(t){n.e(t)}finally{n.f()}return function(t){return new A("string"==typeof t?t:t+"",void 0,S)}(r)}(t):t};function P(t){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t){return function(t){if(Array.isArray(t))return z(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||M(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,e)||M(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(){L=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof d?e:d,a=Object.create(i.prototype),u=new x(n||[]);return o(a,"_invoke",{value:A(t,r,u)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="executing",y="completed",v={};function d(){}function b(){}function m(){}var g={};c(g,a,(function(){return this}));var w=Object.getPrototypeOf,O=w&&w(w(C([])));O&&O!==r&&n.call(O,a)&&(g=O);var _=m.prototype=d.prototype=Object.create(g);function S(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,u){var l=f(t[o],t,i);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==P(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(s).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function A(e,r,n){var o=h;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var l=E(u,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var c=f(e,r,n);if("normal"===c.type){if(o=n.done?y:"suspendedYield",c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function E(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function $(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach($,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(P(e)+" is not iterable")}return b.prototype=m,o(_,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:b,configurable:!0}),b.displayName=c(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,c(t,l,"GeneratorFunction")),t.prototype=Object.create(_),t},e.awrap=function(t){return{__await:t}},S(j.prototype),c(j.prototype,u,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new j(s(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(_),c(_,l,"Generator"),c(_,a,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function C(t,e,r,n,o,i,a){try{var u=t[i](a),l=u.value}catch(t){return void r(t)}u.done?e(l):Promise.resolve(l).then(n,o)}function T(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=M(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function M(t,e){if(t){if("string"==typeof t)return z(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?z(t,e):void 0}}function z(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function N(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,R(n.key),n)}}function R(t){var e=function(t,e){if("object"!=P(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=P(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==P(e)?e:e+""}function I(t,e,r){return e=F(e),function(t,e){if(e&&("object"==P(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,B()?Reflect.construct(e,r||[],F(t).constructor):e.apply(t,r))}function U(t){var e="function"==typeof Map?new Map:void 0;return(U=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return H(t,arguments,F(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),D(r,t)})(t)}function H(t,e,r){if(B())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&D(o,r.prototype),o}function B(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(B=function(){return!!t})()}function D(t,e){return(D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var G=Object.is,V=Object.defineProperty,W=Object.getOwnPropertyDescriptor,q=Object.getOwnPropertyNames,Z=Object.getOwnPropertySymbols,J=Object.getPrototypeOf,Y=globalThis,K=Y.trustedTypes,Q=K?K.emptyScript:"",X=Y.reactiveElementPolyfillSupport,tt=function(t,e){return t},et={toAttribute:function(t,e){switch(e){case Boolean:t=t?Q:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){var r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},rt=function(t,e){return!G(t,e)},nt={attribute:!0,type:String,converter:et,reflect:!1,hasChanged:rt};null!==(m=Symbol.metadata)&&void 0!==m||(Symbol.metadata=Symbol("metadata")),null!==(g=Y.litPropertyMetadata)&&void 0!==g||(Y.litPropertyMetadata=new WeakMap);var ot,it=function(t){function e(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(t=I(this,e))._$Ep=void 0,t.isUpdatePending=!1,t.hasUpdated=!1,t._$Em=null,t._$Ev(),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&D(t,e)}(e,t),function(t,e,r){return e&&N(t.prototype,e),r&&N(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"_$Ev",value:function(){var t,e=this;this._$ES=new Promise((function(t){return e.enableUpdating=t})),this._$AL=new Map,this._$E_(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((function(t){return t(e)}))}},{key:"addController",value:function(t){var e,r;(null!==(e=this._$EO)&&void 0!==e?e:this._$EO=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&(null===(r=t.hostConnected)||void 0===r||r.call(t))}},{key:"removeController",value:function(t){var e;null===(e=this._$EO)||void 0===e||e.delete(t)}},{key:"_$E_",value:function(){var t,e=new Map,r=T(this.constructor.elementProperties.keys());try{for(r.s();!(t=r.n()).done;){var n=t.value;this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n])}}catch(t){r.e(t)}finally{r.f()}e.size>0&&(this._$Ep=e)}},{key:"createRenderRoot",value:function(){var t,e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return function(t,e){if(_)t.adoptedStyleSheets=e.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet}));else{var r,n=p(e);try{for(n.s();!(r=n.n()).done;){var o=r.value,i=document.createElement("style"),a=O.litNonce;void 0!==a&&i.setAttribute("nonce",a),i.textContent=o.cssText,t.appendChild(i)}}catch(t){n.e(t)}finally{n.f()}}}(e,this.constructor.elementStyles),e}},{key:"connectedCallback",value:function(){var t,e;null!==(t=this.renderRoot)&&void 0!==t||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$EO)||void 0===e||e.forEach((function(t){var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}},{key:"enableUpdating",value:function(t){}},{key:"disconnectedCallback",value:function(){var t;null===(t=this._$EO)||void 0===t||t.forEach((function(t){var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}},{key:"attributeChangedCallback",value:function(t,e,r){this._$AK(t,r)}},{key:"_$EC",value:function(t,e){var r=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,r);if(void 0!==n&&!0===r.reflect){var o,i=(void 0!==(null===(o=r.converter)||void 0===o?void 0:o.toAttribute)?r.converter:et).toAttribute(e,r.type);this._$Em=t,null==i?this.removeAttribute(n):this.setAttribute(n,i),this._$Em=null}}},{key:"_$AK",value:function(t,e){var r=this.constructor,n=r._$Eh.get(t);if(void 0!==n&&this._$Em!==n){var o,i=r.getPropertyOptions(n),a="function"==typeof i.converter?{fromAttribute:i.converter}:void 0!==(null===(o=i.converter)||void 0===o?void 0:o.fromAttribute)?i.converter:et;this._$Em=n,this[n]=a.fromAttribute(e,i.type),this._$Em=null}}},{key:"requestUpdate",value:function(t,e,r){if(void 0!==t){var n,o;if(null!==(n=r)&&void 0!==n||(r=this.constructor.getPropertyOptions(t)),!(null!==(o=r.hasChanged)&&void 0!==o?o:rt)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}},{key:"P",value:function(t,e,r){var n;this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(null!==(n=this._$Ej)&&void 0!==n?n:this._$Ej=new Set).add(t)}},{key:"_$ET",value:(r=L().mark((function t(){var e;return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.isUpdatePending=!0,t.prev=1,t.next=4,this._$ES;case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),Promise.reject(t.t0);case 9:if(e=this.scheduleUpdate(),t.t1=null!=e,!t.t1){t.next=14;break}return t.next=14,e;case 14:return t.abrupt("return",!this.isUpdatePending);case 15:case"end":return t.stop()}}),t,this,[[1,6]])})),n=function(){var t=this,e=arguments;return new Promise((function(n,o){var i=r.apply(t,e);function a(t){C(i,n,o,a,u,"next",t)}function u(t){C(i,n,o,a,u,"throw",t)}a(void 0)}))},function(){return n.apply(this,arguments)})},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){if(this.isUpdatePending){if(!this.hasUpdated){var t;if(null!==(t=this.renderRoot)&&void 0!==t||(this.renderRoot=this.createRenderRoot()),this._$Ep){var e,r=T(this._$Ep);try{for(r.s();!(e=r.n()).done;){var n=x(e.value,2),o=n[0],i=n[1];this[o]=i}}catch(t){r.e(t)}finally{r.f()}this._$Ep=void 0}var a=this.constructor.elementProperties;if(a.size>0){var u,l=T(a);try{for(l.s();!(u=l.n()).done;){var c=x(u.value,2),s=c[0],f=c[1];!0!==f.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],f)}}catch(t){l.e(t)}finally{l.f()}}}var h=!1,p=this._$AL;try{var y;(h=this.shouldUpdate(p))?(this.willUpdate(p),null!==(y=this._$EO)&&void 0!==y&&y.forEach((function(t){var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(p)):this._$EU()}catch(p){throw h=!1,this._$EU(),p}h&&this._$AE(p)}}},{key:"willUpdate",value:function(t){}},{key:"_$AE",value:function(t){var e;null!==(e=this._$EO)&&void 0!==e&&e.forEach((function(t){var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}},{key:"_$EU",value:function(){this._$AL=new Map,this.isUpdatePending=!1}},{key:"updateComplete",get:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._$ES}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;this._$Ej&&(this._$Ej=this._$Ej.forEach((function(t){return e._$EC(t,e[t])}))),this._$EU()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],[{key:"addInitializer",value:function(t){var e;this._$Ei(),(null!==(e=this.l)&&void 0!==e?e:this.l=[]).push(t)}},{key:"observedAttributes",get:function(){return this.finalize(),this._$Eh&&k(this._$Eh.keys())}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nt;if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){var r=Symbol(),n=this.getPropertyDescriptor(t,r,e);void 0!==n&&V(this.prototype,t,n)}}},{key:"getPropertyDescriptor",value:function(t,e,r){var n,o=null!==(n=W(this.prototype,t))&&void 0!==n?n:{get:function(){return this[e]},set:function(t){this[e]=t}},i=o.get,a=o.set;return{get:function(){return null==i?void 0:i.call(this)},set:function(e){var n=null==i?void 0:i.call(this);a.call(this,e),this.requestUpdate(t,n,r)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){var e;return null!==(e=this.elementProperties.get(t))&&void 0!==e?e:nt}},{key:"_$Ei",value:function(){if(!this.hasOwnProperty(tt("elementProperties"))){var t=J(this);t.finalize(),void 0!==t.l&&(this.l=k(t.l)),this.elementProperties=new Map(t.elementProperties)}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(tt("finalized"))){if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(tt("properties"))){var t,e=this.properties,r=T([].concat(k(q(e)),k(Z(e))));try{for(r.s();!(t=r.n()).done;){var n=t.value;this.createProperty(n,e[n])}}catch(t){r.e(t)}finally{r.f()}}var o=this[Symbol.metadata];if(null!==o){var i=litPropertyMetadata.get(o);if(void 0!==i){var a,u=T(i);try{for(u.s();!(a=u.n()).done;){var l=x(a.value,2),c=l[0],s=l[1];this.elementProperties.set(c,s)}}catch(t){u.e(t)}finally{u.f()}}}this._$Eh=new Map;var f,h=T(this.elementProperties);try{for(h.s();!(f=h.n()).done;){var p=x(f.value,2),y=p[0],v=p[1],d=this._$Eu(y,v);void 0!==d&&this._$Eh.set(d,y)}}catch(t){h.e(t)}finally{h.f()}this.elementStyles=this.finalizeStyles(this.styles)}}},{key:"finalizeStyles",value:function(t){var e=[];if(Array.isArray(t)){var r,n=T(new Set(t.flat(1/0).reverse()));try{for(n.s();!(r=n.n()).done;){var o=r.value;e.unshift($(o))}}catch(t){n.e(t)}finally{n.f()}}else void 0!==t&&e.push($(t));return e}},{key:"_$Eu",value:function(t,e){var r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}}]);var r,n}(U(HTMLElement));function at(t,e,r){return e=ut(e),function(t,e){if(e&&("object"==gt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],ut(t).constructor):e.apply(t,r))}function ut(t){return(ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function lt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ct(t,e)}function ct(t,e){return(ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function st(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=pt(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function ft(t){return function(t){if(Array.isArray(t))return yt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||pt(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ht(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,e)||pt(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pt(t,e){if(t){if("string"==typeof t)return yt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yt(t,e):void 0}}function yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function vt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,mt(n.key),n)}}function bt(t,e,r){return e&&dt(t.prototype,e),r&&dt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function mt(t){var e=function(t,e){if("object"!=gt(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=gt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==gt(e)?e:e+""}function gt(t){return(gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}it.elementStyles=[],it.shadowRootOptions={mode:"open"},it[tt("elementProperties")]=new Map,it[tt("finalized")]=new Map,null!=X&&X({ReactiveElement:it}),(null!==(w=Y.reactiveElementVersions)&&void 0!==w?w:Y.reactiveElementVersions=[]).push("2.0.4");var wt=globalThis,Ot=wt.trustedTypes,_t=Ot?Ot.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,St="lit$".concat(Math.random().toFixed(9).slice(2),"$"),jt="?"+St,At="<".concat(jt,">"),Et=document,$t=function(){return Et.createComment("")},Pt=function(t){return null===t||"object"!=gt(t)&&"function"!=typeof t},kt=Array.isArray,xt=function(t){return kt(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator])},Lt="[ \t\n\f\r]",Ct=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Tt=/-->/g,Mt=/>/g,zt=RegExp(">|".concat(Lt,"(?:([^\\s\"'>=/]+)(").concat(Lt,"*=").concat(Lt,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),Nt=/'/g,Rt=/"/g,It=/^(?:script|style|textarea|title)$/i,Ut=function(t){return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return{_$litType$:t,strings:e,values:n}}},Ht=Ut(1),Bt=(Ut(2),Ut(3),Symbol.for("lit-noChange")),Dt=Symbol.for("lit-nothing"),Ft=new WeakMap,Gt=Et.createTreeWalker(Et,129);function Vt(t,e){if(!kt(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==_t?_t.createHTML(e):e}var Wt=function(t,e){for(var r,n=t.length-1,o=[],i=2===e?"<svg>":3===e?"<math>":"",a=Ct,u=0;u<n;u++){for(var l=t[u],c=void 0,s=void 0,f=-1,h=0;h<l.length&&(a.lastIndex=h,null!==(s=a.exec(l)));){var p;h=a.lastIndex,a===Ct?"!--"===s[1]?a=Tt:void 0!==s[1]?a=Mt:void 0!==s[2]?(It.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=zt):void 0!==s[3]&&(a=zt):a===zt?">"===s[0]?(a=null!==(p=r)&&void 0!==p?p:Ct,f=-1):void 0===s[1]?f=-2:(f=a.lastIndex-s[2].length,c=s[1],a=void 0===s[3]?zt:'"'===s[3]?Rt:Nt):a===Rt||a===Nt?a=zt:a===Tt||a===Mt?a=Ct:(a=zt,r=void 0)}var y=a===zt&&t[u+1].startsWith("/>")?" ":"";i+=a===Ct?l+At:f>=0?(o.push(c),l.slice(0,f)+"$lit$"+l.slice(f)+St+y):l+St+(-2===f?u:y)}return[Vt(t,i+(t[n]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),o]},qt=function(){return bt((function t(e,r){var n,o=e.strings,i=e._$litType$;vt(this,t),this.parts=[];var a=0,u=0,l=o.length-1,c=this.parts,s=ht(Wt(o,i),2),f=s[0],h=s[1];if(this.el=t.createElement(f,r),Gt.currentNode=this.el.content,2===i||3===i){var p=this.el.content.firstChild;p.replaceWith.apply(p,ft(p.childNodes))}for(;null!==(n=Gt.nextNode())&&c.length<l;){if(1===n.nodeType){if(n.hasAttributes()){var y,v=st(n.getAttributeNames());try{for(v.s();!(y=v.n()).done;){var d=y.value;if(d.endsWith("$lit$")){var b=h[u++],m=n.getAttribute(d).split(St),g=/([.?@])?(.*)/.exec(b);c.push({type:1,index:a,name:g[2],strings:m,ctor:"."===g[1]?Qt:"?"===g[1]?Xt:"@"===g[1]?te:Kt}),n.removeAttribute(d)}else d.startsWith(St)&&(c.push({type:6,index:a}),n.removeAttribute(d))}}catch(t){v.e(t)}finally{v.f()}}if(It.test(n.tagName)){var w=n.textContent.split(St),O=w.length-1;if(O>0){n.textContent=Ot?Ot.emptyScript:"";for(var _=0;_<O;_++)n.append(w[_],$t()),Gt.nextNode(),c.push({type:2,index:++a});n.append(w[O],$t())}}}else if(8===n.nodeType)if(n.data===jt)c.push({type:2,index:a});else for(var S=-1;-1!==(S=n.data.indexOf(St,S+1));)c.push({type:7,index:a}),S+=St.length-1;a++}}),null,[{key:"createElement",value:function(t,e){var r=Et.createElement("template");return r.innerHTML=t,r}}])}();function Zt(t,e){var r,n,o,i,a,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,l=arguments.length>3?arguments[3]:void 0;if(e===Bt)return e;var c=void 0!==l?null===(r=u.o)||void 0===r?void 0:r[l]:u.l,s=Pt(e)?void 0:e._$litDirective$;return(null===(n=c)||void 0===n?void 0:n.constructor)!==s&&(null!==(o=c)&&void 0!==o&&null!==(i=o._$AO)&&void 0!==i&&i.call(o,!1),void 0===s?c=void 0:(c=new s(t))._$AT(t,u,l),void 0!==l?(null!==(a=u.o)&&void 0!==a?a:u.o=[])[l]=c:u.l=c),void 0!==c&&(e=Zt(t,c._$AS(t,e.values),c,l)),e}var Jt=function(){return bt((function t(e,r){vt(this,t),this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}),[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"u",value:function(t){var e,r=this._$AD,n=r.el.content,o=r.parts,i=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:Et).importNode(n,!0);Gt.currentNode=i;for(var a=Gt.nextNode(),u=0,l=0,c=o[0];void 0!==c;){var s;if(u===c.index){var f=void 0;2===c.type?f=new Yt(a,a.nextSibling,this,t):1===c.type?f=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(f=new ee(a,this,t)),this._$AV.push(f),c=o[++l]}u!==(null===(s=c)||void 0===s?void 0:s.index)&&(a=Gt.nextNode(),u++)}return Gt.currentNode=Et,i}},{key:"p",value:function(t){var e,r=0,n=st(this._$AV);try{for(n.s();!(e=n.n()).done;){var o=e.value;void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}}catch(t){n.e(t)}finally{n.f()}}}])}(),Yt=function(){function t(e,r,n,o){var i;vt(this,t),this.type=2,this._$AH=Dt,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=o,this.v=null===(i=null==o?void 0:o.isConnected)||void 0===i||i}return bt(t,[{key:"_$AU",get:function(){var t,e;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this.v}},{key:"parentNode",get:function(){var t,e=this._$AA.parentNode,r=this._$AM;return void 0!==r&&11===(null===(t=e)||void 0===t?void 0:t.nodeType)&&(e=r.parentNode),e}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;t=Zt(this,t,e),Pt(t)?t===Dt||null==t||""===t?(this._$AH!==Dt&&this._$AR(),this._$AH=Dt):t!==this._$AH&&t!==Bt&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):xt(t)?this.k(t):this._(t)}},{key:"O",value:function(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}},{key:"T",value:function(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}},{key:"_",value:function(t){this._$AH!==Dt&&Pt(this._$AH)?this._$AA.nextSibling.data=t:this.T(Et.createTextNode(t)),this._$AH=t}},{key:"$",value:function(t){var e,r=t.values,n=t._$litType$,o="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=qt.createElement(Vt(n.h,n.h[0]),this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.p(r);else{var i=new Jt(o,this),a=i.u(this.options);i.p(r),this.T(a),this._$AH=i}}},{key:"_$AC",value:function(t){var e=Ft.get(t.strings);return void 0===e&&Ft.set(t.strings,e=new qt(t)),e}},{key:"k",value:function(e){kt(this._$AH)||(this._$AH=[],this._$AR());var r,n,o=this._$AH,i=0,a=st(e);try{for(a.s();!(n=a.n()).done;){var u=n.value;i===o.length?o.push(r=new t(this.O($t()),this.O($t()),this,this.options)):r=o[i],r._$AI(u),i++}}catch(t){a.e(t)}finally{a.f()}i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}},{key:"_$AR",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,e=arguments.length>1?arguments[1]:void 0;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,e);t&&t!==this._$AB;){var r,n=t.nextSibling;t.remove(),t=n}}},{key:"setConnected",value:function(t){var e;void 0===this._$AM&&(this.v=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}])}(),Kt=function(){return bt((function t(e,r,n,o,i){vt(this,t),this.type=1,this._$AH=Dt,this._$AN=void 0,this.element=e,this.name=r,this._$AM=o,this.options=i,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Dt}),[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,o=this.strings,i=!1;if(void 0===o)t=Zt(this,t,e,0),(i=!Pt(t)||t!==this._$AH&&t!==Bt)&&(this._$AH=t);else{var a,u,l=t;for(t=o[0],a=0;a<o.length-1;a++){var c;(u=Zt(this,l[r+a],e,a))===Bt&&(u=this._$AH[a]),i||(i=!Pt(u)||u!==this._$AH[a]),u===Dt?t=Dt:t!==Dt&&(t+=(null!==(c=u)&&void 0!==c?c:"")+o[a+1]),this._$AH[a]=u}}i&&!n&&this.j(t)}},{key:"j",value:function(t){t===Dt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}])}(),Qt=function(t){function e(){var t;return vt(this,e),(t=at(this,e,arguments)).type=3,t}return lt(e,t),bt(e,[{key:"j",value:function(t){this.element[this.name]=t===Dt?void 0:t}}])}(Kt),Xt=function(t){function e(){var t;return vt(this,e),(t=at(this,e,arguments)).type=4,t}return lt(e,t),bt(e,[{key:"j",value:function(t){this.element.toggleAttribute(this.name,!!t&&t!==Dt)}}])}(Kt),te=function(t){function e(t,r,n,o,i){var a;return vt(this,e),(a=at(this,e,[t,r,n,o,i])).type=5,a}return lt(e,t),bt(e,[{key:"_$AI",value:function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;if((t=null!==(e=Zt(this,t,r,0))&&void 0!==e?e:Dt)!==Bt){var n=this._$AH,o=t===Dt&&n!==Dt||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==Dt&&(n===Dt||o);o&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}}},{key:"handleEvent",value:function(t){var e,r;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(r=this.options)||void 0===r?void 0:r.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}])}(Kt),ee=function(){return bt((function t(e,r,n){vt(this,t),this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}),[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){Zt(this,t)}}])}(),re=wt.litHtmlPolyfillSupport;null!=re&&re(qt,Yt),(null!==(ot=wt.litHtmlVersions)&&void 0!==ot?ot:wt.litHtmlVersions=[]).push("3.2.0");var ne,oe;function ie(t){return(ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ae(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ue(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,le(n.key),n)}}function le(t){var e=function(t,e){if("object"!=ie(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ie(e)?e:e+""}function ce(t,e,r){return e=ye(e),function(t,e){if(e&&("object"==ie(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return se(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],ye(t).constructor):e.apply(t,r))}function se(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fe(t,e,r,n){var o=he(ye(1&n?t.prototype:t),e,r);return 2&n?function(t){return o.apply(r,t)}:o}function he(){return(he="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=pe(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}}).apply(null,arguments)}function pe(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=ye(t)););return t}function ye(t){return(ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ve(t,e){return(ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var de=function(t){function e(){var t;return ae(this,e),(t=ce(this,e,arguments)).renderOptions={host:se(t)},t.o=void 0,t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ve(t,e)}(e,t),function(t,e,r){return e&&ue(t.prototype,e),r&&ue(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"createRenderRoot",value:function(){var t,r,n=fe(e,"createRenderRoot",this,3)([]);return null!==(r=(t=this.renderOptions).renderBefore)&&void 0!==r||(t.renderBefore=n.firstChild),n}},{key:"update",value:function(t){var r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),fe(e,"update",this,3)([t]),this.o=function(t,e,r){var n,o=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:e,i=o._$litPart$;if(void 0===i){var a,u=null!==(a=null==r?void 0:r.renderBefore)&&void 0!==a?a:null;o._$litPart$=i=new Yt(e.insertBefore($t(),u),u,void 0,null!=r?r:{})}return i._$AI(t),i}(r,this.renderRoot,this.renderOptions)}},{key:"connectedCallback",value:function(){var t;fe(e,"connectedCallback",this,3)([]),null===(t=this.o)||void 0===t||t.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var t;fe(e,"disconnectedCallback",this,3)([]),null===(t=this.o)||void 0===t||t.setConnected(!1)}},{key:"render",value:function(){return Bt}}])}(it);de._$litElement$=!0,de.finalized=!0,null===(ne=globalThis.litElementHydrateSupport)||void 0===ne||ne.call(globalThis,{LitElement:de});var be=globalThis.litElementPolyfillSupport;null==be||be({LitElement:de});(null!==(oe=globalThis.litElementVersions)&&void 0!==oe?oe:globalThis.litElementVersions=[]).push("4.1.0");var me;var ge,we,Oe=E(me||(ge=["\n :host {\n display: inline-block;\n width: 1em;\n height: 1em;\n box-sizing: content-box !important;\n }\n\n svg {\n display: block;\n height: 100%;\n width: 100%;\n }\n"],we||(we=ge.slice(0)),me=Object.freeze(Object.defineProperties(ge,{raw:{value:Object.freeze(we)}}))));function _e(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Se(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Se(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function Se(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var je,Ae=Object.defineProperty,Ee=(Object.defineProperties,Object.getOwnPropertyDescriptor),$e=(Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),Pe=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,xe=function(t,e,r){return e in t?Ae(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Le=function(t,e){for(var r in e||(e={}))Pe.call(e,r)&&xe(t,r,e[r]);if($e){var n,o=_e($e(e));try{for(o.s();!(n=o.n()).done;){r=n.value;ke.call(e,r)&&xe(t,r,e[r])}}catch(t){o.e(t)}finally{o.f()}}return t},Ce=function(t,e,r,n){for(var o,i=n>1?void 0:n?Ee(e,r):e,a=t.length-1;a>=0;a--)(o=t[a])&&(i=(n?o(e,r,i):o(i))||i);return n&&i&&Ae(e,r,i),i};function Te(t,e){var r=Le({waitUntilFirstUpdate:!1},e);return function(e,n){var o=e.update,i=Array.isArray(t)?t:[t];e.update=function(t){var e=this;i.forEach((function(o){var i=o;if(t.has(i)){var a=t.get(i),u=e[i];a!==u&&(r.waitUntilFirstUpdate&&!e.hasUpdated||e[n](a,u))}})),o.call(this,t)}}}var Me=E(je||(je=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n :host {\n box-sizing: border-box;\n }\n\n :host *,\n :host *::before,\n :host *::after {\n box-sizing: inherit;\n }\n\n [hidden] {\n display: none !important;\n }\n"])));function ze(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ne(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ze(Object(r),!0).forEach((function(e){Re(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ze(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Re(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=Ie(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ie(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ie(t){return(Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Ue={attribute:!0,type:String,converter:et,reflect:!1,hasChanged:rt};function He(t){return function(e,r){return"object"==Ie(r)?function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ue,e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=r.kind,o=r.metadata,i=globalThis.litPropertyMetadata.get(o);if(void 0===i&&globalThis.litPropertyMetadata.set(o,i=new Map),i.set(r.name,t),"accessor"===n){var a=r.name;return{set:function(r){var n=e.get.call(this);e.set.call(this,r),this.requestUpdate(a,n,t)},init:function(e){return void 0!==e&&this.P(a,void 0,t),e}}}if("setter"===n){var u=r.name;return function(r){var n=this[u];e.call(this,r),this.requestUpdate(u,n,t)}}throw Error("Unsupported decorator location: "+n)}(t,e,r):function(t,e,r){var n=e.hasOwnProperty(r);return e.constructor.createProperty(r,n?Ne(Ne({},t),{},{wrapped:!0}):t),n?Object.getOwnPropertyDescriptor(e,r):void 0}(t,e,r)}}function Be(t){return(Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function De(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Fe(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?De(Object(r),!0).forEach((function(e){Ge(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):De(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ge(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=Be(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Be(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Be(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ve(t){return He(Fe(Fe({},t),{},{state:!0,attribute:!1}))}function We(t){return(We="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var qe=function(t,e,r){return r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=We(e)&&Object.defineProperty(t,e,r),r};function Ze(t){return(Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Je(t){return(Je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ye(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ke(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ke(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ke(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Qe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xe(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,er(n.key),n)}}function tr(t,e,r){return e&&Xe(t.prototype,e),r&&Xe(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function er(t){var e=function(t,e){if("object"!=Je(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Je(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Je(e)?e:e+""}function rr(t,e,r){return e=nr(e),function(t,e){if(e&&("object"==Je(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],nr(t).constructor):e.apply(t,r))}function nr(t){return(nr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function or(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ir(t,e)}function ir(t,e){return(ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var ar=function(t){function e(){var t;return Qe(this,e),t=rr(this,e),Object.entries(t.constructor.dependencies).forEach((function(e){var r=Ye(e,2),n=r[0],o=r[1];t.constructor.define(n,o)})),t}return or(e,t),tr(e,[{key:"emit",value:function(t,e){var r=new CustomEvent(t,Le({bubbles:!0,cancelable:!1,composed:!0,detail:{}},e));return this.dispatchEvent(r),r}}],[{key:"define",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=customElements.get(t);if(n){var o=" (unknown version)",i=o;"version"in e&&e.version&&(o=" v"+e.version),"version"in n&&n.version&&(i=" v"+n.version),o&&i&&o===i||console.warn("Attempted to register <".concat(t,">").concat(o,", but <").concat(t,">").concat(i," has already been registered."))}else try{customElements.define(t,e,r)}catch(n){customElements.define(t,function(t){function e(){return Qe(this,e),rr(this,e,arguments)}return or(e,t),tr(e)}(e),r)}}}])}(de);ar.version="2.16.0",ar.dependencies={},Ce([He()],ar.prototype,"dir",2),Ce([He()],ar.prototype,"lang",2);var ur,lr=function(t,e){return void 0===e?void 0!==(null==t?void 0:t._$litType$):(null==t?void 0:t._$litType$)===e};function cr(t){return(cr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function sr(){sr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof d?e:d,a=Object.create(i.prototype),u=new k(n||[]);return o(a,"_invoke",{value:A(t,r,u)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="executing",y="completed",v={};function d(){}function b(){}function m(){}var g={};c(g,a,(function(){return this}));var w=Object.getPrototypeOf,O=w&&w(w(x([])));O&&O!==r&&n.call(O,a)&&(g=O);var _=m.prototype=d.prototype=Object.create(g);function S(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,u){var l=f(t[o],t,i);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==cr(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(s).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function A(e,r,n){var o=h;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var l=E(u,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var c=f(e,r,n);if("normal"===c.type){if(o=n.done?y:"suspendedYield",c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function E(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function $(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach($,this),this.reset(!0)}function x(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(cr(e)+" is not iterable")}return b.prototype=m,o(_,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:b,configurable:!0}),b.displayName=c(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,c(t,l,"GeneratorFunction")),t.prototype=Object.create(_),t},e.awrap=function(t){return{__await:t}},S(j.prototype),c(j.prototype,u,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new j(s(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(_),c(_,l,"Generator"),c(_,a,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=x,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:x(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function fr(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function hr(t,e,r,n,o,i,a){try{var u=t[i](a),l=u.value}catch(t){return void r(t)}u.done?e(l):Promise.resolve(l).then(n,o)}function pr(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){hr(i,n,o,a,u,"next",t)}function u(t){hr(i,n,o,a,u,"throw",t)}a(void 0)}))}}function yr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,dr(n.key),n)}}function dr(t){var e=function(t,e){if("object"!=cr(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=cr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==cr(e)?e:e+""}function br(t,e,r){return e=Or(e),function(t,e){if(e&&("object"==cr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Or(t).constructor):e.apply(t,r))}function mr(t,e,r,n){var o=gr(Or(1&n?t.prototype:t),e,r);return 2&n?function(t){return o.apply(r,t)}:o}function gr(){return(gr="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=wr(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}}).apply(null,arguments)}function wr(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=Or(t)););return t}function Or(t){return(Or=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _r(t,e){return(_r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Sr,jr,Ar=Symbol(),Er=Symbol(),$r=new Map,Pr=function(t){function e(){var t;return yr(this,e),(t=br(this,e,arguments)).initialRender=!1,t.svg=null,t.label="",t.library="default",t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_r(t,e)}(e,t),function(t,e,r){return e&&vr(t.prototype,e),r&&vr(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"resolveIcon",value:(n=pr(sr().mark((function t(e,r){var n,o,i,a,u,l,c;return sr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(null==r?void 0:r.spriteSheet)){t.next=7;break}return this.svg=Ht(ur||(ur=fr(['<svg part="svg">\n <use part="use" href="','"></use>\n </svg>'])),e),t.next=4,this.updateComplete;case 4:return i=this.shadowRoot.querySelector("[part='svg']"),"function"==typeof r.mutator&&r.mutator(i),t.abrupt("return",this.svg);case 7:return t.prev=7,t.next=10,fetch(e,{mode:"cors"});case 10:if((o=t.sent).ok){t.next=13;break}return t.abrupt("return",410===o.status?Ar:Er);case 13:t.next=18;break;case 15:return t.prev=15,t.t0=t.catch(7),t.abrupt("return",Er);case 18:return t.prev=18,a=document.createElement("div"),t.next=22,o.text();case 22:if(a.innerHTML=t.sent,u=a.firstElementChild,"svg"===(null==(n=null==u?void 0:u.tagName)?void 0:n.toLowerCase())){t.next=26;break}return t.abrupt("return",Ar);case 26:if(Sr||(Sr=new DOMParser),l=Sr.parseFromString(u.outerHTML,"text/html"),c=l.body.querySelector("svg")){t.next=31;break}return t.abrupt("return",Ar);case 31:return c.part.add("svg"),t.abrupt("return",document.adoptNode(c));case 35:return t.prev=35,t.t1=t.catch(18),t.abrupt("return",Ar);case 38:case"end":return t.stop()}}),t,this,[[7,15],[18,35]])}))),function(t,e){return n.apply(this,arguments)})},{key:"connectedCallback",value:function(){var t;mr(e,"connectedCallback",this,3)([]),t=this,f.push(t)}},{key:"firstUpdated",value:function(){this.initialRender=!0,this.setIcon()}},{key:"disconnectedCallback",value:function(){var t;mr(e,"disconnectedCallback",this,3)([]),t=this,f=f.filter((function(e){return e!==t}))}},{key:"getIconSource",value:function(){var t=h(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}},{key:"handleLabelChange",value:function(){"string"==typeof this.label&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}},{key:"setIcon",value:(r=pr(sr().mark((function t(){var e,r,n,o,i,a,u;return sr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=this.getIconSource(),n=r.url,o=r.fromLibrary,i=o?h(this.library):void 0,n){t.next=5;break}return this.svg=null,t.abrupt("return");case 5:if((a=$r.get(n))||(a=this.resolveIcon(n,i),$r.set(n,a)),this.initialRender){t.next=9;break}return t.abrupt("return");case 9:return t.next=11,a;case 11:if((u=t.sent)===Er&&$r.delete(n),n===this.getIconSource().url){t.next=15;break}return t.abrupt("return");case 15:if(!lr(u)){t.next=18;break}return this.svg=u,t.abrupt("return");case 18:t.t0=u,t.next=t.t0===Er||t.t0===Ar?21:24;break;case 21:return this.svg=null,this.emit("sl-error"),t.abrupt("break",27);case 24:this.svg=u.cloneNode(!0),null==(e=null==i?void 0:i.mutator)||e.call(i,this.svg),this.emit("sl-load");case 27:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"render",value:function(){return this.svg}}]);var r,n}(ar);Pr.styles=[Me,Oe],Ce([Ve()],Pr.prototype,"svg",2),Ce([He({reflect:!0})],Pr.prototype,"name",2),Ce([He()],Pr.prototype,"src",2),Ce([He()],Pr.prototype,"label",2),Ce([He({reflect:!0})],Pr.prototype,"library",2),Ce([Te("label")],Pr.prototype,"handleLabelChange",1),Ce([Te(["name","src","library"])],Pr.prototype,"setIcon",1);var kr,xr,Lr=E(jr||(jr=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n :host {\n --control-box-size: 3rem;\n --icon-size: calc(var(--control-box-size) * 0.625);\n\n display: inline-flex;\n position: relative;\n cursor: pointer;\n }\n\n img {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n img[aria-hidden='true'] {\n display: none;\n }\n\n .animated-image__control-box {\n display: flex;\n position: absolute;\n align-items: center;\n justify-content: center;\n top: calc(50% - var(--control-box-size) / 2);\n right: calc(50% - var(--control-box-size) / 2);\n width: var(--control-box-size);\n height: var(--control-box-size);\n font-size: var(--icon-size);\n background: none;\n border: solid 2px currentColor;\n background-color: rgb(0 0 0 /50%);\n border-radius: var(--sl-border-radius-circle);\n color: white;\n pointer-events: none;\n transition: var(--sl-transition-fast) opacity;\n }\n\n :host([play]:hover) .animated-image__control-box {\n opacity: 1;\n }\n\n :host([play]:not(:hover)) .animated-image__control-box {\n opacity: 0;\n }\n\n :host([play]) slot[name='play-icon'],\n :host(:not([play])) slot[name='pause-icon'] {\n display: none;\n }\n"])));function Cr(t){return(Cr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Tr(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function Mr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Nr(n.key),n)}}function Nr(t){var e=function(t,e){if("object"!=Cr(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Cr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Cr(e)?e:e+""}function Rr(t,e,r){return e=Ir(e),function(t,e){if(e&&("object"==Cr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Ir(t).constructor):e.apply(t,r))}function Ir(t){return(Ir=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ur(t,e){return(Ur=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Hr=function(t){function e(){var t;return Mr(this,e),(t=Rr(this,e,arguments)).isLoaded=!1,t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ur(t,e)}(e,t),function(t,e,r){return e&&zr(t.prototype,e),r&&zr(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"handleClick",value:function(){this.play=!this.play}},{key:"handleLoad",value:function(){var t=document.createElement("canvas"),e=this.animatedImage,r=e.width,n=e.height;t.width=r,t.height=n,t.getContext("2d").drawImage(this.animatedImage,0,0,r,n),this.frozenFrame=t.toDataURL("image/gif"),this.isLoaded||(this.emit("sl-load"),this.isLoaded=!0)}},{key:"handleError",value:function(){this.emit("sl-error")}},{key:"handlePlayChange",value:function(){this.play&&(this.animatedImage.src="",this.animatedImage.src=this.src)}},{key:"handleSrcChange",value:function(){this.isLoaded=!1}},{key:"render",value:function(){return Ht(kr||(kr=Tr(['\n <div class="animated-image">\n <img\n class="animated-image__animated"\n src=',"\n alt=",'\n crossorigin="anonymous"\n aria-hidden=',"\n @click=","\n @load=","\n @error=","\n />\n\n ","\n </div>\n "])),this.src,this.alt,this.play?"false":"true",this.handleClick,this.handleLoad,this.handleError,this.isLoaded?Ht(xr||(xr=Tr(['\n <img\n class="animated-image__frozen"\n src=',"\n alt=","\n aria-hidden=","\n @click=",'\n />\n\n <div part="control-box" class="animated-image__control-box">\n <slot name="play-icon"><sl-icon name="play-fill" library="system"></sl-icon></slot>\n <slot name="pause-icon"><sl-icon name="pause-fill" library="system"></sl-icon></slot>\n </div>\n '])),this.frozenFrame,this.alt,this.play?"true":"false",this.handleClick):"")}}])}(ar);function Br(t){return(Br="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Dr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Fr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Dr(Object(r),!0).forEach((function(e){Gr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Dr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Gr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=Br(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Br(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Br(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Vr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,e)||Wr(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wr(t,e){if(t){if("string"==typeof t)return qr(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qr(t,e):void 0}}function qr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}Hr.styles=[Me,Lr],Hr.dependencies={"sl-icon":Pr},Ce([function(t,e){return function(r,n,o){var i=function(e){var r,n;return null!==(r=null===(n=e.renderRoot)||void 0===n?void 0:n.querySelector(t))&&void 0!==r?r:null};if(e){var a="object"==Ze(n)?r:null!=o?o:function(){var t=Symbol();return{get:function(){return this[t]},set:function(e){this[t]=e}}}(),u=a.get,l=a.set;return qe(r,n,{get:function(){var t=u.call(this);return void 0===t&&((null!==(t=i(this))||this.hasUpdated)&&l.call(this,t)),t}})}return qe(r,n,{get:function(){return i(this)}})}}(".animated-image__animated")],Hr.prototype,"animatedImage",2),Ce([Ve()],Hr.prototype,"frozenFrame",2),Ce([Ve()],Hr.prototype,"isLoaded",2),Ce([He()],Hr.prototype,"src",2),Ce([He()],Hr.prototype,"alt",2),Ce([He({type:Boolean,reflect:!0})],Hr.prototype,"play",2),Ce([Te("play",{waitUntilFirstUpdate:!0})],Hr.prototype,"handlePlayChange",1),Ce([Te("src")],Hr.prototype,"handleSrcChange",1);var Zr=new Set(["children","localName","ref","style","className"]),Jr=new WeakMap,Yr=function(t,e,r,n,o){var i=null==o?void 0:o[e];void 0===i?(t[e]=r,null==r&&e in HTMLElement.prototype&&t.removeAttribute(e)):r!==n&&function(t,e,r){var n=Jr.get(t);void 0===n&&Jr.set(t,n=new Map);var o=n.get(e);void 0!==r?void 0===o?(n.set(e,o={handleEvent:r}),t.addEventListener(e,o)):o.handleEvent=r:void 0!==o&&(n.delete(e),t.removeEventListener(e,o))}(t,i,r)};Hr.define("sl-animated-image");var Kr=function(t){var e=t.react,r=t.tagName,n=t.elementClass,o=t.events,i=t.displayName,a=new Set(Object.keys(null!=o?o:{})),u=e.forwardRef((function(t,i){for(var u=e.useRef(new Map),l=e.useRef(null),c={},s={},f=0,h=Object.entries(t);f<h.length;f++){var p=Vr(h[f],2),y=p[0],v=p[1];Zr.has(y)?c["className"===y?"class":y]=v:a.has(y)||y in n.prototype?s[y]=v:c[y]=v}return e.useLayoutEffect((function(){if(null!==l.current){var e=new Map;for(var r in s)Yr(l.current,r,t[r],u.current.get(r),o),u.current.delete(r),e.set(r,t[r]);var n,i=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Wr(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(u.current);try{for(i.s();!(n=i.n()).done;){var a=Vr(n.value,2),c=a[0],f=a[1];Yr(l.current,c,void 0,f,o)}}catch(t){i.e(t)}finally{i.f()}u.current=e}})),e.useLayoutEffect((function(){var t;null===(t=l.current)||void 0===t||t.removeAttribute("defer-hydration")}),[]),c.suppressHydrationWarning=!0,e.createElement(r,Fr(Fr({},c),{},{ref:e.useCallback((function(t){l.current=t,"function"==typeof i?i(t):null!==i&&(i.current=t)}),[i])}))}));return u.displayName=null!=i?i:n.name,u}({tagName:"sl-animated-image",elementClass:Hr,react:n,events:{onSlLoad:"sl-load",onSlError:"sl-error"},displayName:"SlAnimatedImage"}),Qr=r(220),Xr=function(t){var e=t.id,r=t.className,n=t.style,i=t.src,a=t.alt,u=t.play,l=(t.setProps,t.loading_state);return o.a.createElement(Kr,{id:e,className:r,style:n,src:i,alt:a,play:u,"data-dash-is-loading":l&&l.is_loading||void 0})};e.default=Xr;Xr.defaultProps=Qr.b,Xr.propTypes=Qr.c}}]);
3
+ //# sourceMappingURL=async-feffery_animated_image.js.map
4
+ //# sourceMappingURL=async-feffery_animated_image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"async-feffery_animated_image.js","sourceRoot":""}