@kakadu/components 3.15.5 → 4.0.1

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 (72) hide show
  1. package/build/components/button-tooltip.d.ts +2 -4
  2. package/build/components/button-tooltip.js +1 -1
  3. package/build/components/button-tooltip.mjs +11 -11
  4. package/build/components/button.d.ts +2 -6
  5. package/build/components/button.js +1 -1
  6. package/build/components/button.mjs +51 -51
  7. package/build/components/card.js +1 -1
  8. package/build/components/card.mjs +22 -22
  9. package/build/components/combobox.d.ts +25 -0
  10. package/build/components/combobox.js +1 -0
  11. package/build/components/combobox.mjs +322 -0
  12. package/build/components/copy-icon-button.js +1 -1
  13. package/build/components/copy-icon-button.mjs +20 -21
  14. package/build/components/datum.js +1 -1
  15. package/build/components/datum.mjs +12 -12
  16. package/build/components/flex.d.ts +13 -9
  17. package/build/components/flex.js +1 -1
  18. package/build/components/flex.mjs +25 -15
  19. package/build/components/footer.d.ts +3 -6
  20. package/build/components/footer.js +1 -1
  21. package/build/components/footer.mjs +33 -33
  22. package/build/components/header.js +1 -1
  23. package/build/components/header.mjs +4 -5
  24. package/build/components/icon-button.d.ts +2 -6
  25. package/build/components/icon-button.js +1 -1
  26. package/build/components/icon-button.mjs +41 -41
  27. package/build/components/input.d.ts +12 -19
  28. package/build/components/input.js +2 -2
  29. package/build/components/input.mjs +122 -147
  30. package/build/components/kakadu-guide-logo.d.ts +2 -4
  31. package/build/components/kakadu-guide-logo.js +1 -1
  32. package/build/components/kakadu-guide-logo.mjs +13 -13
  33. package/build/components/modal.js +1 -1
  34. package/build/components/modal.mjs +65 -66
  35. package/build/components/notice.d.ts +2 -7
  36. package/build/components/notice.js +1 -1
  37. package/build/components/notice.mjs +16 -16
  38. package/build/components/notification.d.ts +2 -1
  39. package/build/components/notification.js +1 -1
  40. package/build/components/notification.mjs +9 -9
  41. package/build/components/popover-menu.js +1 -1
  42. package/build/components/popover-menu.mjs +98 -106
  43. package/build/components/popover.js +1 -1
  44. package/build/components/popover.mjs +1 -1
  45. package/build/components/select.d.ts +12 -0
  46. package/build/components/select.js +1 -0
  47. package/build/components/select.mjs +36 -0
  48. package/build/components/separator.js +1 -1
  49. package/build/components/separator.mjs +25 -25
  50. package/build/components/text-button.d.ts +2 -4
  51. package/build/components/text-button.js +1 -1
  52. package/build/components/text-button.mjs +26 -27
  53. package/build/components/text.d.ts +1 -1
  54. package/build/components/text.js +1 -1
  55. package/build/components/text.mjs +29 -30
  56. package/build/components/theme-setter.d.ts +1 -1
  57. package/build/components/wrapper.d.ts +3 -6
  58. package/build/components/wrapper.js +1 -1
  59. package/build/components/wrapper.mjs +25 -23
  60. package/build/components.css +1 -1
  61. package/build/{focus-trap-react-CcpTuiJi.js → focus-trap-react-CkKg4ubd.js} +5 -5
  62. package/build/{focus-trap-react-DYXrtbDH.mjs → focus-trap-react-DATIi_Ob.mjs} +34 -29
  63. package/build/hooks/use-synchronized-value.d.ts +4 -0
  64. package/build/icons/icon.d.ts +4 -42
  65. package/build/icons/icon.js +1 -1
  66. package/build/icons/icon.mjs +76 -76
  67. package/build/index.d.ts +4 -0
  68. package/build/index.js +1 -1
  69. package/build/index.mjs +248 -241
  70. package/build/use-synchronized-value-D0_rS5Wp.js +1 -0
  71. package/build/use-synchronized-value-XnIpeq1s.mjs +28 -0
  72. package/package.json +3 -1
@@ -1,9 +1,9 @@
1
- "use strict";const Ee=require("react");function pe(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var e=r.default;if(typeof e=="function"){var t=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var u=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:function(){return r[n]}})}),t}var H={exports:{}};/*!
1
+ "use strict";const Fe=require("react");function Se(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function se(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var e=r.default;if(typeof e=="function"){var t=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var u=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:function(){return r[n]}})}),t}var H={exports:{}};/*!
2
2
  * tabbable 6.4.0
3
3
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4
- */var be=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],J=be.join(","),he=typeof Element>"u",M=he?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Q=!he&&Element.prototype.getRootNode?function(r){var e;return r==null||(e=r.getRootNode)===null||e===void 0?void 0:e.call(r)}:function(r){return r==null?void 0:r.ownerDocument},ee=function(e,t){var n;t===void 0&&(t=!0);var u=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"inert"),l=u===""||u==="true",i=l||t&&e&&(typeof e.closest=="function"?e.closest("[inert]"):ee(e.parentNode));return i},Fe=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},ye=function(e,t,n){if(ee(e))return[];var u=Array.prototype.slice.apply(e.querySelectorAll(J));return t&&M.call(e,J)&&u.unshift(e),u=u.filter(n),u},te=function(e,t,n){for(var u=[],l=Array.from(e);l.length;){var i=l.shift();if(!ee(i,!1))if(i.tagName==="SLOT"){var y=i.assignedElements(),w=y.length?y:i.children,E=te(w,!0,n);n.flatten?u.push.apply(u,E):u.push({scopeParent:i,candidates:E})}else{var k=M.call(i,J);k&&n.filter(i)&&(t||!e.includes(i))&&u.push(i);var D=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),R=!ee(D,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(D&&R){var j=te(D===!0?i.children:D.children,!0,n);n.flatten?u.push.apply(u,j):u.push({scopeParent:i,candidates:j})}else l.unshift.apply(l,i.children)}}return u},me=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},L=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Fe(e))&&!me(e)?0:e.tabIndex},ke=function(e,t){var n=L(e);return n<0&&t&&!me(e)?0:n},De=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},ge=function(e){return e.tagName==="INPUT"},Ne=function(e){return ge(e)&&e.type==="hidden"},Re=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},Pe=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},Ce=function(e){if(!e.name)return!0;var t=e.form||Q(e),n=function(y){return t.querySelectorAll('input[type="radio"][name="'+y+'"]')},u;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")u=n(window.CSS.escape(e.name));else try{u=n(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var l=Pe(u,e.form);return!l||l===e},Ae=function(e){return ge(e)&&e.type==="radio"},Ie=function(e){return Ae(e)&&!Ce(e)},je=function(e){var t,n=e&&Q(e),u=(t=n)===null||t===void 0?void 0:t.host,l=!1;if(n&&n!==e){var i,y,w;for(l=!!((i=u)!==null&&i!==void 0&&(y=i.ownerDocument)!==null&&y!==void 0&&y.contains(u)||e!=null&&(w=e.ownerDocument)!==null&&w!==void 0&&w.contains(e));!l&&u;){var E,k,D;n=Q(u),u=(E=n)===null||E===void 0?void 0:E.host,l=!!((k=u)!==null&&k!==void 0&&(D=k.ownerDocument)!==null&&D!==void 0&&D.contains(u))}}return l},se=function(e){var t=e.getBoundingClientRect(),n=t.width,u=t.height;return n===0&&u===0},_e=function(e,t){var n=t.displayCheck,u=t.getShadowRoot;if(n==="full-native"&&"checkVisibility"in e){var l=e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!l}if(getComputedStyle(e).visibility==="hidden")return!0;var i=M.call(e,"details>summary:first-of-type"),y=i?e.parentElement:e;if(M.call(y,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof u=="function"){for(var w=e;e;){var E=e.parentElement,k=Q(e);if(E&&!E.shadowRoot&&u(E)===!0)return se(e);e.assignedSlot?e=e.assignedSlot:!E&&k!==e.ownerDocument?e=k.host:e=E}e=w}if(je(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return se(e);return!1},xe=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n<t.children.length;n++){var u=t.children.item(n);if(u.tagName==="LEGEND")return M.call(t,"fieldset[disabled] *")?!0:!u.contains(e)}return!0}t=t.parentElement}return!1},re=function(e,t){return!(t.disabled||Ne(t)||_e(t,e)||Re(t)||xe(t))},oe=function(e,t){return!(Ie(t)||L(t)<0||!re(e,t))},Le=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Te=function(e){var t=[],n=[];return e.forEach(function(u,l){var i=!!u.scopeParent,y=i?u.scopeParent:u,w=ke(y,i),E=i?Te(u.candidates):y;w===0?i?t.push.apply(t,E):t.push(y):n.push({documentOrder:l,tabIndex:w,item:u,isScope:i,content:E})}),n.sort(De).reduce(function(u,l){return l.isScope?u.push.apply(u,l.content):u.push(l.content),u},[]).concat(t)},we=function(e,t){t=t||{};var n;return t.getShadowRoot?n=te([e],t.includeContainer,{filter:oe.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Le}):n=ye(e,t.includeContainer,oe.bind(null,t)),Te(n)},Oe=function(e,t){t=t||{};var n;return t.getShadowRoot?n=te([e],t.includeContainer,{filter:re.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=ye(e,t.includeContainer,re.bind(null,t)),n},K=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return M.call(e,J)===!1?!1:oe(t,e)},Be=be.concat("iframe:not([inert]):not([inert] *)").join(","),X=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return M.call(e,Be)===!1?!1:re(t,e)};const Ke=Object.freeze(Object.defineProperty({__proto__:null,focusable:Oe,getTabIndex:L,isFocusable:X,isTabbable:K,tabbable:we},Symbol.toStringTag,{value:"Module"}));/*!
4
+ */var be=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],J=be.join(","),he=typeof Element>"u",M=he?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Q=!he&&Element.prototype.getRootNode?function(r){var e;return r==null||(e=r.getRootNode)===null||e===void 0?void 0:e.call(r)}:function(r){return r==null?void 0:r.ownerDocument},ee=function(e,t){var n;t===void 0&&(t=!0);var u=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"inert"),l=u===""||u==="true",i=l||t&&e&&(typeof e.closest=="function"?e.closest("[inert]"):ee(e.parentNode));return i},ke=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},ye=function(e,t,n){if(ee(e))return[];var u=Array.prototype.slice.apply(e.querySelectorAll(J));return t&&M.call(e,J)&&u.unshift(e),u=u.filter(n),u},te=function(e,t,n){for(var u=[],l=Array.from(e);l.length;){var i=l.shift();if(!ee(i,!1))if(i.tagName==="SLOT"){var y=i.assignedElements(),w=y.length?y:i.children,F=te(w,!0,n);n.flatten?u.push.apply(u,F):u.push({scopeParent:i,candidates:F})}else{var k=M.call(i,J);k&&n.filter(i)&&(t||!e.includes(i))&&u.push(i);var D=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),R=!ee(D,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(D&&R){var j=te(D===!0?i.children:D.children,!0,n);n.flatten?u.push.apply(u,j):u.push({scopeParent:i,candidates:j})}else l.unshift.apply(l,i.children)}}return u},me=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},L=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||ke(e))&&!me(e)?0:e.tabIndex},De=function(e,t){var n=L(e);return n<0&&t&&!me(e)?0:n},Ne=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},ge=function(e){return e.tagName==="INPUT"},Re=function(e){return ge(e)&&e.type==="hidden"},Pe=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},Ce=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},Ae=function(e){if(!e.name)return!0;var t=e.form||Q(e),n=function(y){return t.querySelectorAll('input[type="radio"][name="'+y+'"]')},u;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")u=n(window.CSS.escape(e.name));else try{u=n(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var l=Ce(u,e.form);return!l||l===e},Ie=function(e){return ge(e)&&e.type==="radio"},je=function(e){return Ie(e)&&!Ae(e)},_e=function(e){var t,n=e&&Q(e),u=(t=n)===null||t===void 0?void 0:t.host,l=!1;if(n&&n!==e){var i,y,w;for(l=!!((i=u)!==null&&i!==void 0&&(y=i.ownerDocument)!==null&&y!==void 0&&y.contains(u)||e!=null&&(w=e.ownerDocument)!==null&&w!==void 0&&w.contains(e));!l&&u;){var F,k,D;n=Q(u),u=(F=n)===null||F===void 0?void 0:F.host,l=!!((k=u)!==null&&k!==void 0&&(D=k.ownerDocument)!==null&&D!==void 0&&D.contains(u))}}return l},ce=function(e){var t=e.getBoundingClientRect(),n=t.width,u=t.height;return n===0&&u===0},xe=function(e,t){var n=t.displayCheck,u=t.getShadowRoot;if(n==="full-native"&&"checkVisibility"in e){var l=e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!l}if(getComputedStyle(e).visibility==="hidden")return!0;var i=M.call(e,"details>summary:first-of-type"),y=i?e.parentElement:e;if(M.call(y,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof u=="function"){for(var w=e;e;){var F=e.parentElement,k=Q(e);if(F&&!F.shadowRoot&&u(F)===!0)return ce(e);e.assignedSlot?e=e.assignedSlot:!F&&k!==e.ownerDocument?e=k.host:e=F}e=w}if(_e(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return ce(e);return!1},Le=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n<t.children.length;n++){var u=t.children.item(n);if(u.tagName==="LEGEND")return M.call(t,"fieldset[disabled] *")?!0:!u.contains(e)}return!0}t=t.parentElement}return!1},re=function(e,t){return!(t.disabled||Re(t)||xe(t,e)||Pe(t)||Le(t))},oe=function(e,t){return!(je(t)||L(t)<0||!re(e,t))},Be=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Te=function(e){var t=[],n=[];return e.forEach(function(u,l){var i=!!u.scopeParent,y=i?u.scopeParent:u,w=De(y,i),F=i?Te(u.candidates):y;w===0?i?t.push.apply(t,F):t.push(y):n.push({documentOrder:l,tabIndex:w,item:u,isScope:i,content:F})}),n.sort(Ne).reduce(function(u,l){return l.isScope?u.push.apply(u,l.content):u.push(l.content),u},[]).concat(t)},we=function(e,t){t=t||{};var n;return t.getShadowRoot?n=te([e],t.includeContainer,{filter:oe.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Be}):n=ye(e,t.includeContainer,oe.bind(null,t)),Te(n)},Oe=function(e,t){t=t||{};var n;return t.getShadowRoot?n=te([e],t.includeContainer,{filter:re.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=ye(e,t.includeContainer,re.bind(null,t)),n},K=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return M.call(e,J)===!1?!1:oe(t,e)},Ke=be.concat("iframe:not([inert]):not([inert] *)").join(","),X=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return M.call(e,Ke)===!1?!1:re(t,e)};const Me=Object.freeze(Object.defineProperty({__proto__:null,focusable:Oe,getTabIndex:L,isFocusable:X,isTabbable:K,tabbable:we},Symbol.toStringTag,{value:"Module"}));/*!
5
5
  * focus-trap 7.8.0
6
6
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
7
- */function ue(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=Array(e);t<e;t++)n[t]=r[t];return n}function Me(r){if(Array.isArray(r))return ue(r)}function ce(r,e){var t=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=Se(r))||e){t&&(r=t);var n=0,u=function(){};return{s:u,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(w){throw w},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
8
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var l,i=!0,y=!1;return{s:function(){t=t.call(r)},n:function(){var w=t.next();return i=w.done,w},e:function(w){y=!0,l=w},f:function(){try{i||t.return==null||t.return()}finally{if(y)throw l}}}}function qe(r,e,t){return(e=We(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Ve(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Ge(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
9
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function le(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable})),t.push.apply(t,n)}return t}function fe(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?le(Object(t),!0).forEach(function(n){qe(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):le(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function $e(r){return Me(r)||Ve(r)||Se(r)||Ge()}function Ue(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function We(r){var e=Ue(r,"string");return typeof e=="symbol"?e:e+""}function Se(r,e){if(r){if(typeof r=="string")return ue(r,e);var t={}.toString.call(r).slice(8,-1);return t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set"?Array.from(r):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ue(r,e):void 0}}var I={getActiveTrap:function(e){return(e==null?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,t){var n=I.getActiveTrap(e);t!==n&&I.pauseTrap(e);var u=e.indexOf(t);u===-1||e.splice(u,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),I.unpauseTrap(e)},pauseTrap:function(e){var t=I.getActiveTrap(e);t==null||t._setPausedState(!0)},unpauseTrap:function(e){var t=I.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},ze=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ye=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},$=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},He=function(e){return $(e)&&!e.shiftKey},Ze=function(e){return $(e)&&e.shiftKey},de=function(e){return setTimeout(e,0)},G=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),u=1;u<t;u++)n[u-1]=arguments[u];return typeof e=="function"?e.apply(void 0,n):e},Z=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Xe=[],Je=function(e,t){var n=(t==null?void 0:t.document)||document,u=(t==null?void 0:t.trapStack)||Xe,l=fe({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:He,isKeyBackward:Ze},t),i={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},y,w=function(o,a,c){return o&&o[a]!==void 0?o[a]:l[c||a]},E=function(o,a){var c=typeof(a==null?void 0:a.composedPath)=="function"?a.composedPath():void 0;return i.containerGroups.findIndex(function(h){var b=h.container,g=h.tabbableNodes;return b.contains(o)||(c==null?void 0:c.includes(b))||g.find(function(v){return v===o})})},k=function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=a.hasFallback,h=c===void 0?!1:c,b=a.params,g=b===void 0?[]:b,v=l[o];if(typeof v=="function"&&(v=v.apply(void 0,$e(g))),v===!0&&(v=void 0),!v){if(v===void 0||v===!1)return v;throw new Error("`".concat(o,"` was specified but was not a node, or did not return a node"))}var O=v;if(typeof v=="string"){try{O=n.querySelector(v)}catch(S){throw new Error("`".concat(o,'` appears to be an invalid selector; error="').concat(S.message,'"'))}if(!O&&!h)throw new Error("`".concat(o,"` as selector refers to no known node"))}return O},D=function(){var o=k("initialFocus",{hasFallback:!0});if(o===!1)return!1;if(o===void 0||o&&!X(o,l.tabbableOptions))if(E(n.activeElement)>=0)o=n.activeElement;else{var a=i.tabbableGroups[0],c=a&&a.firstTabbableNode;o=c||k("fallbackFocus")}else o===null&&(o=k("fallbackFocus"));if(!o)throw new Error("Your focus-trap needs to have at least one focusable element");return o},R=function(){if(i.containerGroups=i.containers.map(function(o){var a=we(o,l.tabbableOptions),c=Oe(o,l.tabbableOptions),h=a.length>0?a[0]:void 0,b=a.length>0?a[a.length-1]:void 0,g=c.find(function(S){return K(S)}),v=c.slice().reverse().find(function(S){return K(S)}),O=!!a.find(function(S){return L(S)>0});return{container:o,tabbableNodes:a,focusableNodes:c,posTabIndexesFound:O,firstTabbableNode:h,lastTabbableNode:b,firstDomTabbableNode:g,lastDomTabbableNode:v,nextTabbableNode:function(N){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,C=a.indexOf(N);return C<0?A?c.slice(c.indexOf(N)+1).find(function(B){return K(B)}):c.slice(0,c.indexOf(N)).reverse().find(function(B){return K(B)}):a[C+(A?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(o){return o.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!k("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(o){return o.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},j=function(o){var a=o.activeElement;if(a)return a.shadowRoot&&a.shadowRoot.activeElement!==null?j(a.shadowRoot):a},P=function(o){if(o!==!1&&o!==j(document)){if(!o||!o.focus){P(D());return}o.focus({preventScroll:!!l.preventScroll}),i.mostRecentlyFocusedNode=o,ze(o)&&o.select()}},U=function(o){var a=k("setReturnFocus",{params:[o]});return a||(a===!1?!1:o)},_=function(o){var a=o.target,c=o.event,h=o.isBackward,b=h===void 0?!1:h;a=a||Z(c),R();var g=null;if(i.tabbableGroups.length>0){var v=E(a,c),O=v>=0?i.containerGroups[v]:void 0;if(v<0)b?g=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:g=i.tabbableGroups[0].firstTabbableNode;else if(b){var S=i.tabbableGroups.findIndex(function(ne){var ie=ne.firstTabbableNode;return a===ie});if(S<0&&(O.container===a||X(a,l.tabbableOptions)&&!K(a,l.tabbableOptions)&&!O.nextTabbableNode(a,!1))&&(S=v),S>=0){var N=S===0?i.tabbableGroups.length-1:S-1,A=i.tabbableGroups[N];g=L(a)>=0?A.lastTabbableNode:A.lastDomTabbableNode}else $(c)||(g=O.nextTabbableNode(a,!1))}else{var C=i.tabbableGroups.findIndex(function(ne){var ie=ne.lastTabbableNode;return a===ie});if(C<0&&(O.container===a||X(a,l.tabbableOptions)&&!K(a,l.tabbableOptions)&&!O.nextTabbableNode(a))&&(C=v),C>=0){var B=C===i.tabbableGroups.length-1?0:C+1,x=i.tabbableGroups[B];g=L(a)>=0?x.firstTabbableNode:x.firstDomTabbableNode}else $(c)||(g=O.nextTabbableNode(a))}}else g=k("fallbackFocus");return g},q=function(o){var a=Z(o);if(!(E(a,o)>=0)){if(G(l.clickOutsideDeactivates,o)){y.deactivate({returnFocus:l.returnFocusOnDeactivate});return}G(l.allowOutsideClick,o)||o.preventDefault()}},W=function(o){var a=Z(o),c=E(a,o)>=0;if(c||a instanceof Document)c&&(i.mostRecentlyFocusedNode=a);else{o.stopImmediatePropagation();var h,b=!0;if(i.mostRecentlyFocusedNode)if(L(i.mostRecentlyFocusedNode)>0){var g=E(i.mostRecentlyFocusedNode),v=i.containerGroups[g].tabbableNodes;if(v.length>0){var O=v.findIndex(function(S){return S===i.mostRecentlyFocusedNode});O>=0&&(l.isKeyForward(i.recentNavEvent)?O+1<v.length&&(h=v[O+1],b=!1):O-1>=0&&(h=v[O-1],b=!1))}}else i.containerGroups.some(function(S){return S.tabbableNodes.some(function(N){return L(N)>0})})||(b=!1);else b=!1;b&&(h=_({target:i.mostRecentlyFocusedNode,isBackward:l.isKeyBackward(i.recentNavEvent)})),P(h||i.mostRecentlyFocusedNode||D())}i.recentNavEvent=void 0},ae=function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=o;var c=_({event:o,isBackward:a});c&&($(o)&&o.preventDefault(),P(c))},z=function(o){(l.isKeyForward(o)||l.isKeyBackward(o))&&ae(o,l.isKeyBackward(o))},Y=function(o){Ye(o)&&G(l.escapeDeactivates,o)!==!1&&(o.preventDefault(),y.deactivate())},V=function(o){var a=Z(o);E(a,o)>=0||G(l.clickOutsideDeactivates,o)||G(l.allowOutsideClick,o)||(o.preventDefault(),o.stopImmediatePropagation())},d=function(){if(i.active)return I.activateTrap(u,y),i.delayInitialFocusTimer=l.delayInitialFocus?de(function(){P(D())}):P(D()),n.addEventListener("focusin",W,!0),n.addEventListener("mousedown",q,{capture:!0,passive:!1}),n.addEventListener("touchstart",q,{capture:!0,passive:!1}),n.addEventListener("click",V,{capture:!0,passive:!1}),n.addEventListener("keydown",z,{capture:!0,passive:!1}),n.addEventListener("keydown",Y),y},f=function(o){i.active&&!i.paused&&y._setSubtreeIsolation(!1),i.adjacentElements.clear(),i.alreadySilent.clear();var a=new Set,c=new Set,h=ce(o),b;try{for(h.s();!(b=h.n()).done;){var g=b.value;a.add(g);for(var v=typeof ShadowRoot<"u"&&g.getRootNode()instanceof ShadowRoot,O=g;O;){a.add(O);var S=O.parentElement,N=[];S?N=S.children:!S&&v&&(N=O.getRootNode().children,S=O.getRootNode().host,v=typeof ShadowRoot<"u"&&S.getRootNode()instanceof ShadowRoot);var A=ce(N),C;try{for(A.s();!(C=A.n()).done;){var B=C.value;c.add(B)}}catch(x){A.e(x)}finally{A.f()}O=S}}}catch(x){h.e(x)}finally{h.f()}a.forEach(function(x){c.delete(x)}),i.adjacentElements=c},m=function(){if(i.active)return n.removeEventListener("focusin",W,!0),n.removeEventListener("mousedown",q,!0),n.removeEventListener("touchstart",q,!0),n.removeEventListener("click",V,!0),n.removeEventListener("keydown",z,!0),n.removeEventListener("keydown",Y),y},s=function(o){var a=o.some(function(c){var h=Array.from(c.removedNodes);return h.some(function(b){return b===i.mostRecentlyFocusedNode})});a&&P(D())},T=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(s):void 0,F=function(){T&&(T.disconnect(),i.active&&!i.paused&&i.containers.map(function(o){T.observe(o,{subtree:!0,childList:!0})}))};return y={get active(){return i.active},get paused(){return i.paused},activate:function(o){if(i.active)return this;var a=w(o,"onActivate"),c=w(o,"onPostActivate"),h=w(o,"checkCanFocusTrap"),b=I.getActiveTrap(u),g=!1;if(b&&!b.paused){var v;(v=b._setSubtreeIsolation)===null||v===void 0||v.call(b,!1),g=!0}try{h||R(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=j(n),a==null||a();var O=function(){h&&R(),d(),F(),l.isolateSubtrees&&y._setSubtreeIsolation(!0),c==null||c()};if(h)return h(i.containers.concat()).then(O,O),this;O()}catch(N){if(b===I.getActiveTrap(u)&&g){var S;(S=b._setSubtreeIsolation)===null||S===void 0||S.call(b,!0)}throw N}return this},deactivate:function(o){if(!i.active)return this;var a=fe({onDeactivate:l.onDeactivate,onPostDeactivate:l.onPostDeactivate,checkCanReturnFocus:l.checkCanReturnFocus},o);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,i.paused||y._setSubtreeIsolation(!1),i.alreadySilent.clear(),m(),i.active=!1,i.paused=!1,F(),I.deactivateTrap(u,y);var c=w(a,"onDeactivate"),h=w(a,"onPostDeactivate"),b=w(a,"checkCanReturnFocus"),g=w(a,"returnFocus","returnFocusOnDeactivate");c==null||c();var v=function(){de(function(){g&&P(U(i.nodeFocusedBeforeActivation)),h==null||h()})};return g&&b?(b(U(i.nodeFocusedBeforeActivation)).then(v,v),this):(v(),this)},pause:function(o){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,o)):this},unpause:function(o){return i.active?(i.manuallyPaused=!1,u[u.length-1]!==this?this:this._setPausedState(!1,o)):this},updateContainerElements:function(o){var a=[].concat(o).filter(Boolean);return i.containers=a.map(function(c){return typeof c=="string"?n.querySelector(c):c}),l.isolateSubtrees&&f(i.containers),i.active&&(R(),l.isolateSubtrees&&!i.paused&&y._setSubtreeIsolation(!0)),F(),this}},Object.defineProperties(y,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(o,a){if(i.paused===o)return this;if(i.paused=o,o){var c=w(a,"onPause"),h=w(a,"onPostPause");c==null||c(),m(),F(),y._setSubtreeIsolation(!1),h==null||h()}else{var b=w(a,"onUnpause"),g=w(a,"onPostUnpause");b==null||b(),y._setSubtreeIsolation(!0),R(),d(),F(),g==null||g()}return this}},_setSubtreeIsolation:{value:function(o){l.isolateSubtrees&&i.adjacentElements.forEach(function(a){var c;if(o)switch(l.isolateSubtrees){case"aria-hidden":(a.ariaHidden==="true"||((c=a.getAttribute("aria-hidden"))===null||c===void 0?void 0:c.toLowerCase())==="true")&&i.alreadySilent.add(a),a.setAttribute("aria-hidden","true");break;default:(a.inert||a.hasAttribute("inert"))&&i.alreadySilent.add(a),a.setAttribute("inert",!0);break}else if(!i.alreadySilent.has(a))switch(l.isolateSubtrees){case"aria-hidden":a.removeAttribute("aria-hidden");break;default:a.removeAttribute("inert");break}})}}}),y.updateContainerElements(e),y};const Qe=Object.freeze(Object.defineProperty({__proto__:null,createFocusTrap:Je},Symbol.toStringTag,{value:"Module"})),et=pe(Qe),tt=pe(Ke);var ve;function rt(){if(ve)return H.exports;ve=1;function r(d){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(f){return typeof f}:function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},r(d)}var e,t;function n(d,f){if(!(d instanceof f))throw new TypeError("Cannot call a class as a function")}function u(d,f){for(var m=0;m<f.length;m++){var s=f[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(d,P(s.key),s)}}function l(d,f,m){return f&&u(d.prototype,f),Object.defineProperty(d,"prototype",{writable:!1}),d}function i(d,f,m){return f=k(f),y(d,E()?Reflect.construct(f,m||[],k(d).constructor):f.apply(d,m))}function y(d,f){if(f&&(r(f)=="object"||typeof f=="function"))return f;if(f!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return w(d)}function w(d){if(d===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}function E(){try{var d=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(E=function(){return!!d})()}function k(d){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(f){return f.__proto__||Object.getPrototypeOf(f)},k(d)}function D(d,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(f&&f.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),f&&R(d,f)}function R(d,f){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},R(d,f)}function j(d,f,m){return(f=P(f))in d?Object.defineProperty(d,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):d[f]=m,d}function P(d){var f=U(d,"string");return r(f)=="symbol"?f:f+""}function U(d,f){if(r(d)!="object"||!d)return d;var m=d[Symbol.toPrimitive];if(m!==void 0){var s=m.call(d,f);if(r(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(d)}var _=Ee,q=et,W=q.createFocusTrap,ae=tt,z=ae.isFocusable,Y=parseInt((e=(t=/^(\d+)\./.exec(_.version))===null||t===void 0?void 0:t[1])!==null&&e!==void 0?e:0,10),V=(function(d){function f(m){var s;n(this,f),s=i(this,f,[m]),j(s,"getNodeForOption",function(p){var o,a=(o=this.internalOptions[p])!==null&&o!==void 0?o:this.originalOptions[p];if(typeof a=="function"){for(var c=arguments.length,h=new Array(c>1?c-1:0),b=1;b<c;b++)h[b-1]=arguments[b];a=a.apply(void 0,h)}if(a===!0&&(a=void 0),!a){if(a===void 0||a===!1)return a;throw new Error("`".concat(p,"` was specified but was not a node, or did not return a node"))}var g=a;if(typeof a=="string"){var v;if(g=(v=this.getDocument())===null||v===void 0?void 0:v.querySelector(a),!g)throw new Error("`".concat(p,"` as selector refers to no known node"))}return g}),s.handleDeactivate=s.handleDeactivate.bind(s),s.handlePostDeactivate=s.handlePostDeactivate.bind(s),s.handleClickOutsideDeactivates=s.handleClickOutsideDeactivates.bind(s),s.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:s.handleDeactivate,onPostDeactivate:s.handlePostDeactivate,clickOutsideDeactivates:s.handleClickOutsideDeactivates},s.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var T=m.focusTrapOptions;for(var F in T)if(Object.prototype.hasOwnProperty.call(T,F)){if(F==="returnFocusOnDeactivate"||F==="onDeactivate"||F==="onPostDeactivate"||F==="checkCanReturnFocus"||F==="clickOutsideDeactivates"){s.originalOptions[F]=T[F];continue}s.internalOptions[F]=T[F]}return s.outsideClick=null,s.focusTrapElements=m.containerElements||[],s.updatePreviousElement(),s}return D(f,d),l(f,[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||(typeof document<"u"?document:void 0)}},{key:"getReturnFocusNode",value:function(){var s=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return s||(s===!1?!1:this.previouslyFocusedElement)}},{key:"updatePreviousElement",value:function(){var s=this.getDocument();s&&(this.previouslyFocusedElement=s.activeElement)}},{key:"deactivateTrap",value:function(){!this.focusTrap||!this.focusTrap.active||this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(s){var T=typeof this.originalOptions.clickOutsideDeactivates=="function"?this.originalOptions.clickOutsideDeactivates.call(null,s):this.originalOptions.clickOutsideDeactivates;return T&&(this.outsideClick={target:s.target,allowDeactivation:T}),T}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var s=this,T=function(){var p=s.getReturnFocusNode(),o=!!(s.originalOptions.returnFocusOnDeactivate&&p!==null&&p!==void 0&&p.focus&&(!s.outsideClick||s.outsideClick.allowDeactivation&&!z(s.outsideClick.target,s.internalOptions.tabbableOptions))),a=s.internalOptions.preventScroll,c=a===void 0?!1:a;o&&p.focus({preventScroll:c}),s.originalOptions.onPostDeactivate&&s.originalOptions.onPostDeactivate.call(null),s.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(T,T):T()}},{key:"setupFocusTrap",value:function(){if(this.focusTrap)this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause());else{var s=this.focusTrapElements.some(Boolean);s&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(s){if(this.focusTrap){s.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var T=!s.active&&this.props.active,F=s.active&&!this.props.active,p=!s.paused&&this.props.paused,o=s.paused&&!this.props.paused;if(T&&(this.updatePreviousElement(),this.focusTrap.activate()),F){this.deactivateTrap();return}p&&this.focusTrap.pause(),o&&this.focusTrap.unpause()}else s.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var s=this,T=this.props.children?_.Children.only(this.props.children):void 0;if(T){if(T.type&&T.type===_.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");var F=function(a){var c=s.props.containerElements;T&&(Y>=19?typeof T.props.ref=="function"?T.props.ref(a):T.props.ref&&(T.props.ref.current=a):typeof T.ref=="function"?T.ref(a):T.ref&&(T.ref.current=a)),s.focusTrapElements=c||[a]},p=_.cloneElement(T,{ref:F});return p}return null}}])})(_.Component);return V.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:W},H.exports=V,H.exports.FocusTrap=V,H.exports}var at=rt();exports.focusTrapReactExports=at;
7
+ */function ue(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=Array(e);t<e;t++)n[t]=r[t];return n}function qe(r){if(Array.isArray(r))return ue(r)}function le(r,e){var t=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=Ee(r))||e){t&&(r=t);var n=0,u=function(){};return{s:u,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(w){throw w},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var l,i=!0,y=!1;return{s:function(){t=t.call(r)},n:function(){var w=t.next();return i=w.done,w},e:function(w){y=!0,l=w},f:function(){try{i||t.return==null||t.return()}finally{if(y)throw l}}}}function Ve(r,e,t){return(e=ze(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Ge(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function $e(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
9
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fe(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable})),t.push.apply(t,n)}return t}function de(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(t),!0).forEach(function(n){Ve(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):fe(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function Ue(r){return qe(r)||Ge(r)||Ee(r)||$e()}function We(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function ze(r){var e=We(r,"string");return typeof e=="symbol"?e:e+""}function Ee(r,e){if(r){if(typeof r=="string")return ue(r,e);var t={}.toString.call(r).slice(8,-1);return t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set"?Array.from(r):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ue(r,e):void 0}}var I={getActiveTrap:function(e){return(e==null?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,t){var n=I.getActiveTrap(e);t!==n&&I.pauseTrap(e);var u=e.indexOf(t);u===-1||e.splice(u,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),I.unpauseTrap(e)},pauseTrap:function(e){var t=I.getActiveTrap(e);t==null||t._setPausedState(!0)},unpauseTrap:function(e){var t=I.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},Ye=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},He=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},$=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Ze=function(e){return $(e)&&!e.shiftKey},Xe=function(e){return $(e)&&e.shiftKey},ve=function(e){return setTimeout(e,0)},G=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),u=1;u<t;u++)n[u-1]=arguments[u];return typeof e=="function"?e.apply(void 0,n):e},Z=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Je=[],Qe=function(e,t){var n=(t==null?void 0:t.document)||document,u=(t==null?void 0:t.trapStack)||Je,l=de({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:Ze,isKeyBackward:Xe},t),i={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},y,w=function(o,a,c){return o&&o[a]!==void 0?o[a]:l[c||a]},F=function(o,a){var c=typeof(a==null?void 0:a.composedPath)=="function"?a.composedPath():void 0;return i.containerGroups.findIndex(function(h){var b=h.container,g=h.tabbableNodes;return b.contains(o)||(c==null?void 0:c.includes(b))||g.find(function(v){return v===o})})},k=function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=a.hasFallback,h=c===void 0?!1:c,b=a.params,g=b===void 0?[]:b,v=l[o];if(typeof v=="function"&&(v=v.apply(void 0,Ue(g))),v===!0&&(v=void 0),!v){if(v===void 0||v===!1)return v;throw new Error("`".concat(o,"` was specified but was not a node, or did not return a node"))}var O=v;if(typeof v=="string"){try{O=n.querySelector(v)}catch(E){throw new Error("`".concat(o,'` appears to be an invalid selector; error="').concat(E.message,'"'))}if(!O&&!h)throw new Error("`".concat(o,"` as selector refers to no known node"))}return O},D=function(){var o=k("initialFocus",{hasFallback:!0});if(o===!1)return!1;if(o===void 0||o&&!X(o,l.tabbableOptions))if(F(n.activeElement)>=0)o=n.activeElement;else{var a=i.tabbableGroups[0],c=a&&a.firstTabbableNode;o=c||k("fallbackFocus")}else o===null&&(o=k("fallbackFocus"));if(!o)throw new Error("Your focus-trap needs to have at least one focusable element");return o},R=function(){if(i.containerGroups=i.containers.map(function(o){var a=we(o,l.tabbableOptions),c=Oe(o,l.tabbableOptions),h=a.length>0?a[0]:void 0,b=a.length>0?a[a.length-1]:void 0,g=c.find(function(E){return K(E)}),v=c.slice().reverse().find(function(E){return K(E)}),O=!!a.find(function(E){return L(E)>0});return{container:o,tabbableNodes:a,focusableNodes:c,posTabIndexesFound:O,firstTabbableNode:h,lastTabbableNode:b,firstDomTabbableNode:g,lastDomTabbableNode:v,nextTabbableNode:function(N){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,C=a.indexOf(N);return C<0?A?c.slice(c.indexOf(N)+1).find(function(B){return K(B)}):c.slice(0,c.indexOf(N)).reverse().find(function(B){return K(B)}):a[C+(A?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(o){return o.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!k("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(o){return o.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},j=function(o){var a=o.activeElement;if(a)return a.shadowRoot&&a.shadowRoot.activeElement!==null?j(a.shadowRoot):a},P=function(o){if(o!==!1&&o!==j(document)){if(!o||!o.focus){P(D());return}o.focus({preventScroll:!!l.preventScroll}),i.mostRecentlyFocusedNode=o,Ye(o)&&o.select()}},U=function(o){var a=k("setReturnFocus",{params:[o]});return a||(a===!1?!1:o)},_=function(o){var a=o.target,c=o.event,h=o.isBackward,b=h===void 0?!1:h;a=a||Z(c),R();var g=null;if(i.tabbableGroups.length>0){var v=F(a,c),O=v>=0?i.containerGroups[v]:void 0;if(v<0)b?g=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:g=i.tabbableGroups[0].firstTabbableNode;else if(b){var E=i.tabbableGroups.findIndex(function(ne){var ie=ne.firstTabbableNode;return a===ie});if(E<0&&(O.container===a||X(a,l.tabbableOptions)&&!K(a,l.tabbableOptions)&&!O.nextTabbableNode(a,!1))&&(E=v),E>=0){var N=E===0?i.tabbableGroups.length-1:E-1,A=i.tabbableGroups[N];g=L(a)>=0?A.lastTabbableNode:A.lastDomTabbableNode}else $(c)||(g=O.nextTabbableNode(a,!1))}else{var C=i.tabbableGroups.findIndex(function(ne){var ie=ne.lastTabbableNode;return a===ie});if(C<0&&(O.container===a||X(a,l.tabbableOptions)&&!K(a,l.tabbableOptions)&&!O.nextTabbableNode(a))&&(C=v),C>=0){var B=C===i.tabbableGroups.length-1?0:C+1,x=i.tabbableGroups[B];g=L(a)>=0?x.firstTabbableNode:x.firstDomTabbableNode}else $(c)||(g=O.nextTabbableNode(a))}}else g=k("fallbackFocus");return g},q=function(o){var a=Z(o);if(!(F(a,o)>=0)){if(G(l.clickOutsideDeactivates,o)){y.deactivate({returnFocus:l.returnFocusOnDeactivate});return}G(l.allowOutsideClick,o)||o.preventDefault()}},W=function(o){var a=Z(o),c=F(a,o)>=0;if(c||a instanceof Document)c&&(i.mostRecentlyFocusedNode=a);else{o.stopImmediatePropagation();var h,b=!0;if(i.mostRecentlyFocusedNode)if(L(i.mostRecentlyFocusedNode)>0){var g=F(i.mostRecentlyFocusedNode),v=i.containerGroups[g].tabbableNodes;if(v.length>0){var O=v.findIndex(function(E){return E===i.mostRecentlyFocusedNode});O>=0&&(l.isKeyForward(i.recentNavEvent)?O+1<v.length&&(h=v[O+1],b=!1):O-1>=0&&(h=v[O-1],b=!1))}}else i.containerGroups.some(function(E){return E.tabbableNodes.some(function(N){return L(N)>0})})||(b=!1);else b=!1;b&&(h=_({target:i.mostRecentlyFocusedNode,isBackward:l.isKeyBackward(i.recentNavEvent)})),P(h||i.mostRecentlyFocusedNode||D())}i.recentNavEvent=void 0},ae=function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=o;var c=_({event:o,isBackward:a});c&&($(o)&&o.preventDefault(),P(c))},z=function(o){(l.isKeyForward(o)||l.isKeyBackward(o))&&ae(o,l.isKeyBackward(o))},Y=function(o){He(o)&&G(l.escapeDeactivates,o)!==!1&&(o.preventDefault(),y.deactivate())},V=function(o){var a=Z(o);F(a,o)>=0||G(l.clickOutsideDeactivates,o)||G(l.allowOutsideClick,o)||(o.preventDefault(),o.stopImmediatePropagation())},d=function(){if(i.active)return I.activateTrap(u,y),i.delayInitialFocusTimer=l.delayInitialFocus?ve(function(){P(D())}):P(D()),n.addEventListener("focusin",W,!0),n.addEventListener("mousedown",q,{capture:!0,passive:!1}),n.addEventListener("touchstart",q,{capture:!0,passive:!1}),n.addEventListener("click",V,{capture:!0,passive:!1}),n.addEventListener("keydown",z,{capture:!0,passive:!1}),n.addEventListener("keydown",Y),y},f=function(o){i.active&&!i.paused&&y._setSubtreeIsolation(!1),i.adjacentElements.clear(),i.alreadySilent.clear();var a=new Set,c=new Set,h=le(o),b;try{for(h.s();!(b=h.n()).done;){var g=b.value;a.add(g);for(var v=typeof ShadowRoot<"u"&&g.getRootNode()instanceof ShadowRoot,O=g;O;){a.add(O);var E=O.parentElement,N=[];E?N=E.children:!E&&v&&(N=O.getRootNode().children,E=O.getRootNode().host,v=typeof ShadowRoot<"u"&&E.getRootNode()instanceof ShadowRoot);var A=le(N),C;try{for(A.s();!(C=A.n()).done;){var B=C.value;c.add(B)}}catch(x){A.e(x)}finally{A.f()}O=E}}}catch(x){h.e(x)}finally{h.f()}a.forEach(function(x){c.delete(x)}),i.adjacentElements=c},m=function(){if(i.active)return n.removeEventListener("focusin",W,!0),n.removeEventListener("mousedown",q,!0),n.removeEventListener("touchstart",q,!0),n.removeEventListener("click",V,!0),n.removeEventListener("keydown",z,!0),n.removeEventListener("keydown",Y),y},s=function(o){var a=o.some(function(c){var h=Array.from(c.removedNodes);return h.some(function(b){return b===i.mostRecentlyFocusedNode})});a&&P(D())},T=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(s):void 0,S=function(){T&&(T.disconnect(),i.active&&!i.paused&&i.containers.map(function(o){T.observe(o,{subtree:!0,childList:!0})}))};return y={get active(){return i.active},get paused(){return i.paused},activate:function(o){if(i.active)return this;var a=w(o,"onActivate"),c=w(o,"onPostActivate"),h=w(o,"checkCanFocusTrap"),b=I.getActiveTrap(u),g=!1;if(b&&!b.paused){var v;(v=b._setSubtreeIsolation)===null||v===void 0||v.call(b,!1),g=!0}try{h||R(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=j(n),a==null||a();var O=function(){h&&R(),d(),S(),l.isolateSubtrees&&y._setSubtreeIsolation(!0),c==null||c()};if(h)return h(i.containers.concat()).then(O,O),this;O()}catch(N){if(b===I.getActiveTrap(u)&&g){var E;(E=b._setSubtreeIsolation)===null||E===void 0||E.call(b,!0)}throw N}return this},deactivate:function(o){if(!i.active)return this;var a=de({onDeactivate:l.onDeactivate,onPostDeactivate:l.onPostDeactivate,checkCanReturnFocus:l.checkCanReturnFocus},o);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,i.paused||y._setSubtreeIsolation(!1),i.alreadySilent.clear(),m(),i.active=!1,i.paused=!1,S(),I.deactivateTrap(u,y);var c=w(a,"onDeactivate"),h=w(a,"onPostDeactivate"),b=w(a,"checkCanReturnFocus"),g=w(a,"returnFocus","returnFocusOnDeactivate");c==null||c();var v=function(){ve(function(){g&&P(U(i.nodeFocusedBeforeActivation)),h==null||h()})};return g&&b?(b(U(i.nodeFocusedBeforeActivation)).then(v,v),this):(v(),this)},pause:function(o){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,o)):this},unpause:function(o){return i.active?(i.manuallyPaused=!1,u[u.length-1]!==this?this:this._setPausedState(!1,o)):this},updateContainerElements:function(o){var a=[].concat(o).filter(Boolean);return i.containers=a.map(function(c){return typeof c=="string"?n.querySelector(c):c}),l.isolateSubtrees&&f(i.containers),i.active&&(R(),l.isolateSubtrees&&!i.paused&&y._setSubtreeIsolation(!0)),S(),this}},Object.defineProperties(y,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(o,a){if(i.paused===o)return this;if(i.paused=o,o){var c=w(a,"onPause"),h=w(a,"onPostPause");c==null||c(),m(),S(),y._setSubtreeIsolation(!1),h==null||h()}else{var b=w(a,"onUnpause"),g=w(a,"onPostUnpause");b==null||b(),y._setSubtreeIsolation(!0),R(),d(),S(),g==null||g()}return this}},_setSubtreeIsolation:{value:function(o){l.isolateSubtrees&&i.adjacentElements.forEach(function(a){var c;if(o)switch(l.isolateSubtrees){case"aria-hidden":(a.ariaHidden==="true"||((c=a.getAttribute("aria-hidden"))===null||c===void 0?void 0:c.toLowerCase())==="true")&&i.alreadySilent.add(a),a.setAttribute("aria-hidden","true");break;default:(a.inert||a.hasAttribute("inert"))&&i.alreadySilent.add(a),a.setAttribute("inert",!0);break}else if(!i.alreadySilent.has(a))switch(l.isolateSubtrees){case"aria-hidden":a.removeAttribute("aria-hidden");break;default:a.removeAttribute("inert");break}})}}}),y.updateContainerElements(e),y};const et=Object.freeze(Object.defineProperty({__proto__:null,createFocusTrap:Qe},Symbol.toStringTag,{value:"Module"})),tt=se(et),rt=se(Me);var pe;function at(){if(pe)return H.exports;pe=1;function r(d){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(f){return typeof f}:function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},r(d)}var e,t;function n(d,f){if(!(d instanceof f))throw new TypeError("Cannot call a class as a function")}function u(d,f){for(var m=0;m<f.length;m++){var s=f[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(d,P(s.key),s)}}function l(d,f,m){return f&&u(d.prototype,f),Object.defineProperty(d,"prototype",{writable:!1}),d}function i(d,f,m){return f=k(f),y(d,F()?Reflect.construct(f,m||[],k(d).constructor):f.apply(d,m))}function y(d,f){if(f&&(r(f)=="object"||typeof f=="function"))return f;if(f!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return w(d)}function w(d){if(d===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}function F(){try{var d=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(F=function(){return!!d})()}function k(d){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(f){return f.__proto__||Object.getPrototypeOf(f)},k(d)}function D(d,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(f&&f.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),f&&R(d,f)}function R(d,f){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},R(d,f)}function j(d,f,m){return(f=P(f))in d?Object.defineProperty(d,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):d[f]=m,d}function P(d){var f=U(d,"string");return r(f)=="symbol"?f:f+""}function U(d,f){if(r(d)!="object"||!d)return d;var m=d[Symbol.toPrimitive];if(m!==void 0){var s=m.call(d,f);if(r(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(d)}var _=Fe,q=tt,W=q.createFocusTrap,ae=rt,z=ae.isFocusable,Y=parseInt((e=(t=/^(\d+)\./.exec(_.version))===null||t===void 0?void 0:t[1])!==null&&e!==void 0?e:0,10),V=(function(d){function f(m){var s;n(this,f),s=i(this,f,[m]),j(s,"getNodeForOption",function(p){var o,a=(o=this.internalOptions[p])!==null&&o!==void 0?o:this.originalOptions[p];if(typeof a=="function"){for(var c=arguments.length,h=new Array(c>1?c-1:0),b=1;b<c;b++)h[b-1]=arguments[b];a=a.apply(void 0,h)}if(a===!0&&(a=void 0),!a){if(a===void 0||a===!1)return a;throw new Error("`".concat(p,"` was specified but was not a node, or did not return a node"))}var g=a;if(typeof a=="string"){var v;if(g=(v=this.getDocument())===null||v===void 0?void 0:v.querySelector(a),!g)throw new Error("`".concat(p,"` as selector refers to no known node"))}return g}),s.handleDeactivate=s.handleDeactivate.bind(s),s.handlePostDeactivate=s.handlePostDeactivate.bind(s),s.handleClickOutsideDeactivates=s.handleClickOutsideDeactivates.bind(s),s.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:s.handleDeactivate,onPostDeactivate:s.handlePostDeactivate,clickOutsideDeactivates:s.handleClickOutsideDeactivates},s.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var T=m.focusTrapOptions;for(var S in T)if(Object.prototype.hasOwnProperty.call(T,S)){if(S==="returnFocusOnDeactivate"||S==="onDeactivate"||S==="onPostDeactivate"||S==="checkCanReturnFocus"||S==="clickOutsideDeactivates"){s.originalOptions[S]=T[S];continue}s.internalOptions[S]=T[S]}return s.outsideClick=null,s.focusTrapElements=m.containerElements||[],s.updatePreviousElement(),s}return D(f,d),l(f,[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||(typeof document<"u"?document:void 0)}},{key:"getReturnFocusNode",value:function(){var s=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return s||(s===!1?!1:this.previouslyFocusedElement)}},{key:"updatePreviousElement",value:function(){var s=this.getDocument();s&&(this.previouslyFocusedElement=s.activeElement)}},{key:"deactivateTrap",value:function(){!this.focusTrap||!this.focusTrap.active||this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(s){var T=typeof this.originalOptions.clickOutsideDeactivates=="function"?this.originalOptions.clickOutsideDeactivates.call(null,s):this.originalOptions.clickOutsideDeactivates;return T&&(this.outsideClick={target:s.target,allowDeactivation:T}),T}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var s=this,T=function(){var p=s.getReturnFocusNode(),o=!!(s.originalOptions.returnFocusOnDeactivate&&p!==null&&p!==void 0&&p.focus&&(!s.outsideClick||s.outsideClick.allowDeactivation&&!z(s.outsideClick.target,s.internalOptions.tabbableOptions))),a=s.internalOptions.preventScroll,c=a===void 0?!1:a;o&&p.focus({preventScroll:c}),s.originalOptions.onPostDeactivate&&s.originalOptions.onPostDeactivate.call(null),s.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(T,T):T()}},{key:"setupFocusTrap",value:function(){if(this.focusTrap)this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause());else{var s=this.focusTrapElements.some(Boolean);s&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(s){if(this.focusTrap){s.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var T=!s.active&&this.props.active,S=s.active&&!this.props.active,p=!s.paused&&this.props.paused,o=s.paused&&!this.props.paused;if(T&&(this.updatePreviousElement(),this.focusTrap.activate()),S){this.deactivateTrap();return}p&&this.focusTrap.pause(),o&&this.focusTrap.unpause()}else s.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var s=this,T=this.props.children?_.Children.only(this.props.children):void 0;if(T){if(T.type&&T.type===_.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");var S=function(a){var c=s.props.containerElements;T&&(Y>=19?typeof T.props.ref=="function"?T.props.ref(a):T.props.ref&&(T.props.ref.current=a):typeof T.ref=="function"?T.ref(a):T.ref&&(T.ref.current=a)),s.focusTrapElements=c||[a]},p=_.cloneElement(T,{ref:S});return p}return null}}])})(_.Component);return V.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:W},H.exports=V,H.exports.FocusTrap=V,H.exports}var nt=at();exports.focusTrapReactExports=nt;exports.getAugmentedNamespace=se;exports.getDefaultExportFromCjs=Se;
@@ -1,4 +1,7 @@
1
1
  import Ee from "react";
2
+ function nt(r) {
3
+ return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
4
+ }
2
5
  function pe(r) {
3
6
  if (Object.prototype.hasOwnProperty.call(r, "__esModule")) return r;
4
7
  var e = r.default;
@@ -58,8 +61,8 @@ var be = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert]
58
61
  var k = M.call(i, J);
59
62
  k && n.filter(i) && (t || !e.includes(i)) && u.push(i);
60
63
  var D = i.shadowRoot || // check for an undisclosed shadow
61
- typeof n.getShadowRoot == "function" && n.getShadowRoot(i), R = !ee(D, !1) && (!n.shadowRootFilter || n.shadowRootFilter(i));
62
- if (D && R) {
64
+ typeof n.getShadowRoot == "function" && n.getShadowRoot(i), P = !ee(D, !1) && (!n.shadowRootFilter || n.shadowRootFilter(i));
65
+ if (D && P) {
63
66
  var j = te(D === !0 ? i.children : D.children, !0, n);
64
67
  n.flatten ? u.push.apply(u, j) : u.push({
65
68
  scopeParent: i,
@@ -85,12 +88,12 @@ var be = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert]
85
88
  return e.tagName === "INPUT";
86
89
  }, Ne = function(e) {
87
90
  return ge(e) && e.type === "hidden";
88
- }, Re = function(e) {
91
+ }, Pe = function(e) {
89
92
  var t = e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(n) {
90
93
  return n.tagName === "SUMMARY";
91
94
  });
92
95
  return t;
93
- }, Pe = function(e, t) {
96
+ }, Re = function(e, t) {
94
97
  for (var n = 0; n < e.length; n++)
95
98
  if (e[n].checked && e[n].form === t)
96
99
  return e[n];
@@ -108,7 +111,7 @@ var be = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert]
108
111
  } catch (i) {
109
112
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", i.message), !1;
110
113
  }
111
- var l = Pe(u, e.form);
114
+ var l = Re(u, e.form);
112
115
  return !l || l === e;
113
116
  }, Ae = function(e) {
114
117
  return ge(e) && e.type === "radio";
@@ -185,7 +188,7 @@ var be = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert]
185
188
  return !1;
186
189
  }, re = function(e, t) {
187
190
  return !(t.disabled || Ne(t) || _e(t, e) || // For a details element with a summary, the summary element gets the focus
188
- Re(t) || xe(t));
191
+ Pe(t) || xe(t));
189
192
  }, oe = function(e, t) {
190
193
  return !(Ie(t) || L(t) < 0 || !re(e, t));
191
194
  }, Le = function(e) {
@@ -504,7 +507,7 @@ var I = {
504
507
  if (!o)
505
508
  throw new Error("Your focus-trap needs to have at least one focusable element");
506
509
  return o;
507
- }, R = function() {
510
+ }, P = function() {
508
511
  if (i.containerGroups = i.containers.map(function(o) {
509
512
  var a = we(o, l.tabbableOptions), c = Oe(o, l.tabbableOptions), h = a.length > 0 ? a[0] : void 0, b = a.length > 0 ? a[a.length - 1] : void 0, g = c.find(function(S) {
510
513
  return K(S);
@@ -563,10 +566,10 @@ var I = {
563
566
  var a = o.activeElement;
564
567
  if (a)
565
568
  return a.shadowRoot && a.shadowRoot.activeElement !== null ? j(a.shadowRoot) : a;
566
- }, P = function(o) {
569
+ }, R = function(o) {
567
570
  if (o !== !1 && o !== j(document)) {
568
571
  if (!o || !o.focus) {
569
- P(D());
572
+ R(D());
570
573
  return;
571
574
  }
572
575
  o.focus({
@@ -580,7 +583,7 @@ var I = {
580
583
  return a || (a === !1 ? !1 : o);
581
584
  }, _ = function(o) {
582
585
  var a = o.target, c = o.event, h = o.isBackward, b = h === void 0 ? !1 : h;
583
- a = a || Z(c), R();
586
+ a = a || Z(c), P();
584
587
  var g = null;
585
588
  if (i.tabbableGroups.length > 0) {
586
589
  var v = E(a, c), O = v >= 0 ? i.containerGroups[v] : void 0;
@@ -654,7 +657,7 @@ var I = {
654
657
  // outside the trap causing the focus escape we're trying to fix)
655
658
  target: i.mostRecentlyFocusedNode,
656
659
  isBackward: l.isKeyBackward(i.recentNavEvent)
657
- })), P(h || i.mostRecentlyFocusedNode || D());
660
+ })), R(h || i.mostRecentlyFocusedNode || D());
658
661
  }
659
662
  i.recentNavEvent = void 0;
660
663
  }, ae = function(o) {
@@ -664,7 +667,7 @@ var I = {
664
667
  event: o,
665
668
  isBackward: a
666
669
  });
667
- c && ($(o) && o.preventDefault(), P(c));
670
+ c && ($(o) && o.preventDefault(), R(c));
668
671
  }, z = function(o) {
669
672
  (l.isKeyForward(o) || l.isKeyBackward(o)) && ae(o, l.isKeyBackward(o));
670
673
  }, Y = function(o) {
@@ -675,8 +678,8 @@ var I = {
675
678
  }, d = function() {
676
679
  if (i.active)
677
680
  return I.activateTrap(u, y), i.delayInitialFocusTimer = l.delayInitialFocus ? de(function() {
678
- P(D());
679
- }) : P(D()), n.addEventListener("focusin", W, !0), n.addEventListener("mousedown", q, {
681
+ R(D());
682
+ }) : R(D()), n.addEventListener("focusin", W, !0), n.addEventListener("mousedown", q, {
680
683
  capture: !0,
681
684
  passive: !1
682
685
  }), n.addEventListener("touchstart", q, {
@@ -732,7 +735,7 @@ var I = {
732
735
  return b === i.mostRecentlyFocusedNode;
733
736
  });
734
737
  });
735
- a && P(D());
738
+ a && R(D());
736
739
  }, T = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(s) : void 0, F = function() {
737
740
  T && (T.disconnect(), i.active && !i.paused && i.containers.map(function(o) {
738
741
  T.observe(o, {
@@ -757,9 +760,9 @@ var I = {
757
760
  (v = b._setSubtreeIsolation) === null || v === void 0 || v.call(b, !1), g = !0;
758
761
  }
759
762
  try {
760
- h || R(), i.active = !0, i.paused = !1, i.nodeFocusedBeforeActivation = j(n), a == null || a();
763
+ h || P(), i.active = !0, i.paused = !1, i.nodeFocusedBeforeActivation = j(n), a == null || a();
761
764
  var O = function() {
762
- h && R(), d(), F(), l.isolateSubtrees && y._setSubtreeIsolation(!0), c == null || c();
765
+ h && P(), d(), F(), l.isolateSubtrees && y._setSubtreeIsolation(!0), c == null || c();
763
766
  };
764
767
  if (h)
765
768
  return h(i.containers.concat()).then(O, O), this;
@@ -786,7 +789,7 @@ var I = {
786
789
  c == null || c();
787
790
  var v = function() {
788
791
  de(function() {
789
- g && P(U(i.nodeFocusedBeforeActivation)), h == null || h();
792
+ g && R(U(i.nodeFocusedBeforeActivation)), h == null || h();
790
793
  });
791
794
  };
792
795
  return g && b ? (b(U(i.nodeFocusedBeforeActivation)).then(v, v), this) : (v(), this);
@@ -801,7 +804,7 @@ var I = {
801
804
  var a = [].concat(o).filter(Boolean);
802
805
  return i.containers = a.map(function(c) {
803
806
  return typeof c == "string" ? n.querySelector(c) : c;
804
- }), l.isolateSubtrees && f(i.containers), i.active && (R(), l.isolateSubtrees && !i.paused && y._setSubtreeIsolation(!0)), F(), this;
807
+ }), l.isolateSubtrees && f(i.containers), i.active && (P(), l.isolateSubtrees && !i.paused && y._setSubtreeIsolation(!0)), F(), this;
805
808
  }
806
809
  }, Object.defineProperties(y, {
807
810
  _isManuallyPaused: {
@@ -818,7 +821,7 @@ var I = {
818
821
  c == null || c(), m(), F(), y._setSubtreeIsolation(!1), h == null || h();
819
822
  } else {
820
823
  var b = w(a, "onUnpause"), g = w(a, "onPostUnpause");
821
- b == null || b(), y._setSubtreeIsolation(!0), R(), d(), F(), g == null || g();
824
+ b == null || b(), y._setSubtreeIsolation(!0), P(), d(), F(), g == null || g();
822
825
  }
823
826
  return this;
824
827
  }
@@ -872,7 +875,7 @@ function rt() {
872
875
  function u(d, f) {
873
876
  for (var m = 0; m < f.length; m++) {
874
877
  var s = f[m];
875
- s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(d, P(s.key), s);
878
+ s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(d, R(s.key), s);
876
879
  }
877
880
  }
878
881
  function l(d, f, m) {
@@ -907,17 +910,17 @@ function rt() {
907
910
  }
908
911
  function D(d, f) {
909
912
  if (typeof f != "function" && f !== null) throw new TypeError("Super expression must either be null or a function");
910
- d.prototype = Object.create(f && f.prototype, { constructor: { value: d, writable: !0, configurable: !0 } }), Object.defineProperty(d, "prototype", { writable: !1 }), f && R(d, f);
913
+ d.prototype = Object.create(f && f.prototype, { constructor: { value: d, writable: !0, configurable: !0 } }), Object.defineProperty(d, "prototype", { writable: !1 }), f && P(d, f);
911
914
  }
912
- function R(d, f) {
913
- return R = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(m, s) {
915
+ function P(d, f) {
916
+ return P = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(m, s) {
914
917
  return m.__proto__ = s, m;
915
- }, R(d, f);
918
+ }, P(d, f);
916
919
  }
917
920
  function j(d, f, m) {
918
- return (f = P(f)) in d ? Object.defineProperty(d, f, { value: m, enumerable: !0, configurable: !0, writable: !0 }) : d[f] = m, d;
921
+ return (f = R(f)) in d ? Object.defineProperty(d, f, { value: m, enumerable: !0, configurable: !0, writable: !0 }) : d[f] = m, d;
919
922
  }
920
- function P(d) {
923
+ function R(d) {
921
924
  var f = U(d, "string");
922
925
  return r(f) == "symbol" ? f : f + "";
923
926
  }
@@ -1124,7 +1127,9 @@ function rt() {
1124
1127
  _createFocusTrap: W
1125
1128
  }, H.exports = V, H.exports.FocusTrap = V, H.exports;
1126
1129
  }
1127
- var nt = rt();
1130
+ var it = rt();
1128
1131
  export {
1129
- nt as f
1132
+ nt as a,
1133
+ it as f,
1134
+ pe as g
1130
1135
  };
@@ -0,0 +1,4 @@
1
+ export default function useSynchronizedValue<Type>(id: string): {
2
+ value: Type;
3
+ setValue: (value: Type) => void;
4
+ };
@@ -1,47 +1,9 @@
1
1
  import { type ComponentPropsWithoutRef } from 'react';
2
- export declare enum IconType {
3
- anchorDown = "anchorDown",
4
- anchorUp = "anchorUp",
5
- arrowDown = "arrowDown",
6
- arrowLeft = "arrowLeft",
7
- arrowRight = "arrowRight",
8
- arrowUp = "arrowUp",
9
- caretDown = "caretDown",
10
- caretLeft = "caretLeft",
11
- caretRight = "caretRight",
12
- caretUp = "caretUp",
13
- check = "check",
14
- chevronDown = "chevronDown",
15
- chevronLeft = "chevronLeft",
16
- chevronRight = "chevronRight",
17
- chevronUp = "chevronUp",
18
- cog = "cog",
19
- copy = "copy",
20
- document = "document",
21
- dots = "dots",
22
- drag = "drag",
23
- edit = "edit",
24
- external = "external",
25
- exclamationTriangle = "exclamationTriangle",
26
- eye = "eye",
27
- information = "information",
28
- kakaduGuideGlyph = "kakaduGuideGlyph",
29
- kakaduGuide = "kakaduGuide",
30
- menu = "menu",
31
- package = "package",
32
- plus = "plus",
33
- select = "select",
34
- share = "share",
35
- sparkle = "sparkle",
36
- test = "test",
37
- times = "times",
38
- trash = "trash",
39
- trendUp = "trendUp",
40
- chromeBrowserLogo = "chromeBrowserLogo",
41
- edgeBrowserLogo = "edgeBrowserLogo"
42
- }
2
+ export declare const iconTypes: readonly ["anchorDown", "anchorUp", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "caretDown", "caretLeft", "caretRight", "caretUp", "check", "chevronDown", "chevronLeft", "chevronRight", "chevronUp", "cog", "copy", "document", "dots", "drag", "edit", "external", "exclamationTriangle", "eye", "information", "kakaduGuideGlyph", "kakaduGuide", "menu", "package", "plus", "select", "share", "sparkle", "test", "times", "trash", "trendUp", "chromeBrowserLogo", "edgeBrowserLogo"];
3
+ export type IconType = (typeof iconTypes)[number];
43
4
  export type IconProperties = ComponentPropsWithoutRef<'svg'> & {
44
5
  readonly type: IconType;
6
+ readonly size?: number;
45
7
  };
46
8
  export declare const iconShadowStyles: string;
47
- export default function Icon({ type, ...properties }: IconProperties): import("react/jsx-runtime").JSX.Element | null;
9
+ export default function Icon({ type, size, ...properties }: IconProperties): import("react/jsx-runtime").JSX.Element | null;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../jsx-runtime-BB_1_6y_.js"),n=require("./anchor-down.js"),i=require("./anchor-up.js"),s=require("./arrow-down.js"),c=require("./arrow-left.js"),u=require("./arrow-right.js"),d=require("./arrow-up.js"),l=require("./caret-down.js"),h=require("./caret-left.js"),f=require("./caret-right.js"),g=require("./caret-up.js"),w=require("./check.js"),_=require("./chevron-down.js"),q=require("./chevron-left.js"),k=require("./chevron-right.js"),m=require("./chevron-up.js"),L=require("./cog.js"),U=require("./copy.js"),v=require("./document.js"),D=require("./dots.js"),R=require("./drag.js"),x=require("./edit.js"),G=require("./external.js"),B=require("./exclamation-triangle.js"),p=require("./eye.js"),S=require("./information.js"),j=require("./kakadu-guide-glyph.js"),b=require("./kakadu-guide-icon.js"),M=require("./menu.js"),C=require("./package.js"),E=require("./plus.js"),O=require("./select.js"),P=require("./share.js"),z=require("./sparkle.js"),A=require("./test.js"),F=require("./times.js"),H=require("./trash.js"),J=require("./trend-up.js"),K=require("./chrome-browser-logo.js"),N=require("./edge-browser-logo.js");var t=(e=>(e.anchorDown="anchorDown",e.anchorUp="anchorUp",e.arrowDown="arrowDown",e.arrowLeft="arrowLeft",e.arrowRight="arrowRight",e.arrowUp="arrowUp",e.caretDown="caretDown",e.caretLeft="caretLeft",e.caretRight="caretRight",e.caretUp="caretUp",e.check="check",e.chevronDown="chevronDown",e.chevronLeft="chevronLeft",e.chevronRight="chevronRight",e.chevronUp="chevronUp",e.cog="cog",e.copy="copy",e.document="document",e.dots="dots",e.drag="drag",e.edit="edit",e.external="external",e.exclamationTriangle="exclamationTriangle",e.eye="eye",e.information="information",e.kakaduGuideGlyph="kakaduGuideGlyph",e.kakaduGuide="kakaduGuide",e.menu="menu",e.package="package",e.plus="plus",e.select="select",e.share="share",e.sparkle="sparkle",e.test="test",e.times="times",e.trash="trash",e.trendUp="trendUp",e.chromeBrowserLogo="chromeBrowserLogo",e.edgeBrowserLogo="edgeBrowserLogo",e))(t||{});const Q={anchorDown:n.default,anchorUp:i.default,arrowDown:s.default,arrowLeft:c.default,arrowRight:u.default,arrowUp:d.default,caretDown:l.default,caretLeft:h.default,caretRight:f.default,caretUp:g.default,check:w.default,chevronDown:_.default,chevronLeft:q.default,chevronRight:k.default,chevronUp:m.default,cog:L.default,copy:U.default,document:v.default,dots:D.default,drag:R.default,edit:x.default,external:G.default,exclamationTriangle:B.default,eye:p.default,information:S.default,kakaduGuideGlyph:j.default,kakaduGuide:b.default,menu:M.default,package:C.default,plus:E.default,select:O.default,share:P.default,sparkle:z.default,test:A.default,times:F.default,trash:H.default,trendUp:J.default,chromeBrowserLogo:K.default,edgeBrowserLogo:N.default},V="kakadu-components-2395643287";function W({type:e,...o}){const r=Q[e];return r?a.jsxRuntimeExports.jsx(r,{...o,"aria-hidden":"true"}):null}exports.IconType=t;exports.default=W;exports.iconShadowStyles=V;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../jsx-runtime-BB_1_6y_.js"),c=require("./anchor-down.js"),i=require("./anchor-up.js"),s=require("./arrow-down.js"),a=require("./arrow-left.js"),u=require("./arrow-right.js"),d=require("./arrow-up.js"),l=require("./caret-down.js"),f=require("./caret-left.js"),h=require("./caret-right.js"),_=require("./caret-up.js"),q=require("./check.js"),p=require("./chevron-down.js"),g=require("./chevron-left.js"),w=require("./chevron-right.js"),k=require("./chevron-up.js"),m=require("./cog.js"),L=require("./copy.js"),U=require("./document.js"),v=require("./dots.js"),y=require("./drag.js"),D=require("./edit.js"),R=require("./external.js"),x=require("./exclamation-triangle.js"),G=require("./eye.js"),B=require("./information.js"),S=require("./kakadu-guide-glyph.js"),T=require("./kakadu-guide-icon.js"),j=require("./menu.js"),I=require("./package.js"),b=require("./plus.js"),M=require("./select.js"),C=require("./share.js"),E=require("./sparkle.js"),O=require("./test.js"),P=require("./times.js"),A=require("./trash.js"),F=require("./trend-up.js"),H=require("./chrome-browser-logo.js"),J=require("./edge-browser-logo.js"),K=["anchorDown","anchorUp","arrowDown","arrowLeft","arrowRight","arrowUp","caretDown","caretLeft","caretRight","caretUp","check","chevronDown","chevronLeft","chevronRight","chevronUp","cog","copy","document","dots","drag","edit","external","exclamationTriangle","eye","information","kakaduGuideGlyph","kakaduGuide","menu","package","plus","select","share","sparkle","test","times","trash","trendUp","chromeBrowserLogo","edgeBrowserLogo"],N={anchorDown:c.default,anchorUp:i.default,arrowDown:s.default,arrowLeft:a.default,arrowRight:u.default,arrowUp:d.default,caretDown:l.default,caretLeft:f.default,caretRight:h.default,caretUp:_.default,check:q.default,chevronDown:p.default,chevronLeft:g.default,chevronRight:w.default,chevronUp:k.default,cog:m.default,copy:L.default,document:U.default,dots:v.default,drag:y.default,edit:D.default,external:R.default,exclamationTriangle:x.default,eye:G.default,information:B.default,kakaduGuideGlyph:S.default,kakaduGuide:T.default,menu:j.default,package:I.default,plus:b.default,select:M.default,share:C.default,sparkle:E.default,test:O.default,times:P.default,trash:A.default,trendUp:F.default,chromeBrowserLogo:H.default,edgeBrowserLogo:J.default},Q="kakadu-components-2395643287";function V({type:r,size:e,...t}){const o=N[r];return o?n.jsxRuntimeExports.jsx(o,{"aria-hidden":!0,width:e,height:e,...t}):null}exports.default=V;exports.iconShadowStyles=Q;exports.iconTypes=K;
@@ -1,94 +1,94 @@
1
- import { j as e } from "../jsx-runtime-B4hRZ52C.mjs";
2
- import m from "./anchor-down.mjs";
1
+ import { j as m } from "../jsx-runtime-B4hRZ52C.mjs";
2
+ import i from "./anchor-down.mjs";
3
3
  import a from "./anchor-up.mjs";
4
- import i from "./arrow-down.mjs";
5
- import g from "./arrow-left.mjs";
6
- import f from "./arrow-right.mjs";
7
- import h from "./arrow-up.mjs";
8
- import v from "./caret-down.mjs";
9
- import n from "./caret-left.mjs";
10
- import s from "./caret-right.mjs";
11
- import p from "./caret-up.mjs";
12
- import S from "./check.mjs";
4
+ import n from "./arrow-down.mjs";
5
+ import p from "./arrow-left.mjs";
6
+ import g from "./arrow-right.mjs";
7
+ import c from "./arrow-up.mjs";
8
+ import f from "./caret-down.mjs";
9
+ import v from "./caret-left.mjs";
10
+ import h from "./caret-right.mjs";
11
+ import S from "./caret-up.mjs";
12
+ import s from "./check.mjs";
13
13
  import d from "./chevron-down.mjs";
14
14
  import w from "./chevron-left.mjs";
15
- import c from "./chevron-right.mjs";
16
- import u from "./chevron-up.mjs";
17
- import l from "./cog.mjs";
18
- import k from "./copy.mjs";
15
+ import u from "./chevron-right.mjs";
16
+ import l from "./chevron-up.mjs";
17
+ import k from "./cog.mjs";
18
+ import D from "./copy.mjs";
19
19
  import L from "./document.mjs";
20
20
  import U from "./dots.mjs";
21
- import D from "./drag.mjs";
22
- import C from "./edit.mjs";
23
- import R from "./external.mjs";
24
- import x from "./exclamation-triangle.mjs";
21
+ import C from "./drag.mjs";
22
+ import y from "./edit.mjs";
23
+ import x from "./external.mjs";
24
+ import R from "./exclamation-triangle.mjs";
25
25
  import G from "./eye.mjs";
26
- import B from "./information.mjs";
26
+ import T from "./information.mjs";
27
27
  import A from "./kakadu-guide-glyph.mjs";
28
- import E from "./kakadu-guide-icon.mjs";
29
- import j from "./menu.mjs";
30
- import K from "./package.mjs";
31
- import P from "./plus.mjs";
32
- import M from "./select.mjs";
33
- import b from "./share.mjs";
34
- import q from "./sparkle.mjs";
35
- import z from "./test.mjs";
36
- import F from "./times.mjs";
37
- import H from "./trash.mjs";
38
- import J from "./trend-up.mjs";
39
- import N from "./chrome-browser-logo.mjs";
40
- import O from "./edge-browser-logo.mjs";
41
- var Q = /* @__PURE__ */ ((r) => (r.anchorDown = "anchorDown", r.anchorUp = "anchorUp", r.arrowDown = "arrowDown", r.arrowLeft = "arrowLeft", r.arrowRight = "arrowRight", r.arrowUp = "arrowUp", r.caretDown = "caretDown", r.caretLeft = "caretLeft", r.caretRight = "caretRight", r.caretUp = "caretUp", r.check = "check", r.chevronDown = "chevronDown", r.chevronLeft = "chevronLeft", r.chevronRight = "chevronRight", r.chevronUp = "chevronUp", r.cog = "cog", r.copy = "copy", r.document = "document", r.dots = "dots", r.drag = "drag", r.edit = "edit", r.external = "external", r.exclamationTriangle = "exclamationTriangle", r.eye = "eye", r.information = "information", r.kakaduGuideGlyph = "kakaduGuideGlyph", r.kakaduGuide = "kakaduGuide", r.menu = "menu", r.package = "package", r.plus = "plus", r.select = "select", r.share = "share", r.sparkle = "sparkle", r.test = "test", r.times = "times", r.trash = "trash", r.trendUp = "trendUp", r.chromeBrowserLogo = "chromeBrowserLogo", r.edgeBrowserLogo = "edgeBrowserLogo", r))(Q || {});
42
- const V = {
43
- anchorDown: m,
28
+ import B from "./kakadu-guide-icon.mjs";
29
+ import E from "./menu.mjs";
30
+ import I from "./package.mjs";
31
+ import j from "./plus.mjs";
32
+ import K from "./select.mjs";
33
+ import P from "./share.mjs";
34
+ import M from "./sparkle.mjs";
35
+ import b from "./test.mjs";
36
+ import q from "./times.mjs";
37
+ import F from "./trash.mjs";
38
+ import H from "./trend-up.mjs";
39
+ import J from "./chrome-browser-logo.mjs";
40
+ import N from "./edge-browser-logo.mjs";
41
+ const Eo = ["anchorDown", "anchorUp", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "caretDown", "caretLeft", "caretRight", "caretUp", "check", "chevronDown", "chevronLeft", "chevronRight", "chevronUp", "cog", "copy", "document", "dots", "drag", "edit", "external", "exclamationTriangle", "eye", "information", "kakaduGuideGlyph", "kakaduGuide", "menu", "package", "plus", "select", "share", "sparkle", "test", "times", "trash", "trendUp", "chromeBrowserLogo", "edgeBrowserLogo"], O = {
42
+ anchorDown: i,
44
43
  anchorUp: a,
45
- arrowDown: i,
46
- arrowLeft: g,
47
- arrowRight: f,
48
- arrowUp: h,
49
- caretDown: v,
50
- caretLeft: n,
51
- caretRight: s,
52
- caretUp: p,
53
- check: S,
44
+ arrowDown: n,
45
+ arrowLeft: p,
46
+ arrowRight: g,
47
+ arrowUp: c,
48
+ caretDown: f,
49
+ caretLeft: v,
50
+ caretRight: h,
51
+ caretUp: S,
52
+ check: s,
54
53
  chevronDown: d,
55
54
  chevronLeft: w,
56
- chevronRight: c,
57
- chevronUp: u,
58
- cog: l,
59
- copy: k,
55
+ chevronRight: u,
56
+ chevronUp: l,
57
+ cog: k,
58
+ copy: D,
60
59
  document: L,
61
60
  dots: U,
62
- drag: D,
63
- edit: C,
64
- external: R,
65
- exclamationTriangle: x,
61
+ drag: C,
62
+ edit: y,
63
+ external: x,
64
+ exclamationTriangle: R,
66
65
  eye: G,
67
- information: B,
66
+ information: T,
68
67
  kakaduGuideGlyph: A,
69
- kakaduGuide: E,
70
- menu: j,
71
- package: K,
72
- plus: P,
73
- select: M,
74
- share: b,
75
- sparkle: q,
76
- test: z,
77
- times: F,
78
- trash: H,
79
- trendUp: J,
80
- chromeBrowserLogo: N,
81
- edgeBrowserLogo: O
82
- }, jr = "kakadu-components-2395643287";
83
- function Kr({
84
- type: r,
85
- ...t
68
+ kakaduGuide: B,
69
+ menu: E,
70
+ package: I,
71
+ plus: j,
72
+ select: K,
73
+ share: P,
74
+ sparkle: M,
75
+ test: b,
76
+ times: q,
77
+ trash: F,
78
+ trendUp: H,
79
+ chromeBrowserLogo: J,
80
+ edgeBrowserLogo: N
81
+ }, Io = "kakadu-components-2395643287";
82
+ function jo({
83
+ type: t,
84
+ size: o,
85
+ ...e
86
86
  }) {
87
- const o = V[r];
88
- return o ? /* @__PURE__ */ e.jsx(o, { ...t, "aria-hidden": "true" }) : null;
87
+ const r = O[t];
88
+ return r ? /* @__PURE__ */ m.jsx(r, { "aria-hidden": !0, width: o, height: o, ...e }) : null;
89
89
  }
90
90
  export {
91
- Q as IconType,
92
- Kr as default,
93
- jr as iconShadowStyles
91
+ jo as default,
92
+ Io as iconShadowStyles,
93
+ Eo as iconTypes
94
94
  };