@openmrs/esm-home-app 9.2.1-pre.7405 → 9.2.1-pre.7412

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 (150) hide show
  1. package/.turbo/turbo-build.log +9 -40
  2. package/dist/126.js +1 -0
  3. package/dist/15.js +1 -0
  4. package/dist/1564.js +1 -0
  5. package/dist/1567.js +1 -0
  6. package/dist/1845.js +1 -0
  7. package/dist/1953.js +1 -0
  8. package/dist/215.js +1 -0
  9. package/dist/2178.js +1 -0
  10. package/dist/2566.js +1 -0
  11. package/dist/2586.js +1 -0
  12. package/dist/2586.js.map +1 -0
  13. package/dist/2759.js +1 -0
  14. package/dist/3089.js +1 -0
  15. package/dist/3089.js.map +1 -0
  16. package/dist/3230.js +1 -0
  17. package/dist/3441.js +1 -0
  18. package/dist/3565.js +1 -0
  19. package/dist/3571.js +1 -0
  20. package/dist/3571.js.map +1 -0
  21. package/dist/3746.js +1 -0
  22. package/dist/3819.js +1 -0
  23. package/dist/3819.js.map +1 -0
  24. package/dist/3925.js +1 -0
  25. package/dist/3946.js +1 -0
  26. package/dist/4744.js +1 -0
  27. package/dist/4744.js.map +1 -0
  28. package/dist/4809.js +1 -0
  29. package/dist/4894.js +1 -0
  30. package/dist/4970.js +1 -0
  31. package/dist/4970.js.map +1 -0
  32. package/dist/5130.js +1 -0
  33. package/dist/5187.js +1 -0
  34. package/dist/5491.js +1 -0
  35. package/dist/5491.js.map +1 -0
  36. package/dist/5595.js +1 -0
  37. package/dist/5961.js +1 -0
  38. package/dist/6133.js +1 -0
  39. package/dist/634.js +1 -0
  40. package/dist/634.js.map +1 -0
  41. package/dist/6456.js +1 -0
  42. package/dist/6466.js +1 -0
  43. package/dist/6613.js +1 -0
  44. package/dist/6783.js +1 -0
  45. package/dist/68.js +38 -0
  46. package/dist/68.js.map +1 -0
  47. package/dist/7348.js +1 -0
  48. package/dist/74.js +6 -0
  49. package/dist/74.js.map +1 -0
  50. package/dist/7543.js +1 -0
  51. package/dist/7607.js +1 -0
  52. package/dist/772.js +1 -0
  53. package/dist/8599.js +1 -0
  54. package/dist/8727.js +1 -0
  55. package/dist/8847.js +1 -0
  56. package/dist/9015.js +1 -0
  57. package/dist/906.js +1 -0
  58. package/dist/9065.js +1 -0
  59. package/dist/9182.js +1 -0
  60. package/dist/9339.js +1 -0
  61. package/dist/9453.js +1 -0
  62. package/dist/9833.js +1 -0
  63. package/dist/9833.js.map +1 -0
  64. package/dist/9920.js +1 -0
  65. package/dist/9938.js +1 -0
  66. package/dist/9943.js +1 -0
  67. package/dist/9943.js.map +1 -0
  68. package/dist/main.js +10 -2
  69. package/dist/main.js.map +1 -1
  70. package/dist/openmrs-esm-home-app.js +5 -1
  71. package/dist/openmrs-esm-home-app.js.buildmanifest.json +424 -416
  72. package/dist/openmrs-esm-home-app.js.map +1 -1
  73. package/dist/routes.json +1 -1
  74. package/package.json +6 -4
  75. package/rspack.config.js +1 -0
  76. package/dist/1119.js +0 -1
  77. package/dist/1197.js +0 -1
  78. package/dist/2146.js +0 -1
  79. package/dist/2372.js +0 -1
  80. package/dist/2372.js.map +0 -1
  81. package/dist/2470.js +0 -1
  82. package/dist/2470.js.map +0 -1
  83. package/dist/2690.js +0 -1
  84. package/dist/2913.js +0 -2
  85. package/dist/2913.js.LICENSE.txt +0 -32
  86. package/dist/2913.js.map +0 -1
  87. package/dist/3099.js +0 -1
  88. package/dist/3144.js +0 -2
  89. package/dist/3144.js.LICENSE.txt +0 -19
  90. package/dist/3144.js.map +0 -1
  91. package/dist/3584.js +0 -1
  92. package/dist/4041.js +0 -2
  93. package/dist/4041.js.LICENSE.txt +0 -9
  94. package/dist/4041.js.map +0 -1
  95. package/dist/4055.js +0 -1
  96. package/dist/4132.js +0 -1
  97. package/dist/4300.js +0 -1
  98. package/dist/4335.js +0 -1
  99. package/dist/439.js +0 -1
  100. package/dist/4618.js +0 -1
  101. package/dist/4652.js +0 -1
  102. package/dist/4944.js +0 -1
  103. package/dist/5173.js +0 -1
  104. package/dist/5241.js +0 -1
  105. package/dist/5302.js +0 -2
  106. package/dist/5302.js.LICENSE.txt +0 -39
  107. package/dist/5302.js.map +0 -1
  108. package/dist/5442.js +0 -1
  109. package/dist/5661.js +0 -1
  110. package/dist/6022.js +0 -1
  111. package/dist/6336.js +0 -1
  112. package/dist/6336.js.map +0 -1
  113. package/dist/6468.js +0 -1
  114. package/dist/6589.js +0 -1
  115. package/dist/6679.js +0 -1
  116. package/dist/6840.js +0 -1
  117. package/dist/6859.js +0 -1
  118. package/dist/7097.js +0 -1
  119. package/dist/7159.js +0 -1
  120. package/dist/723.js +0 -1
  121. package/dist/7495.js +0 -2
  122. package/dist/7495.js.LICENSE.txt +0 -9
  123. package/dist/7495.js.map +0 -1
  124. package/dist/7617.js +0 -1
  125. package/dist/795.js +0 -1
  126. package/dist/8163.js +0 -1
  127. package/dist/8349.js +0 -1
  128. package/dist/8371.js +0 -1
  129. package/dist/8618.js +0 -1
  130. package/dist/89.js +0 -2
  131. package/dist/89.js.LICENSE.txt +0 -9
  132. package/dist/89.js.map +0 -1
  133. package/dist/890.js +0 -1
  134. package/dist/8966.js +0 -2
  135. package/dist/8966.js.LICENSE.txt +0 -29
  136. package/dist/8966.js.map +0 -1
  137. package/dist/9074.js +0 -1
  138. package/dist/9074.js.map +0 -1
  139. package/dist/9214.js +0 -1
  140. package/dist/9538.js +0 -1
  141. package/dist/9569.js +0 -1
  142. package/dist/986.js +0 -1
  143. package/dist/9876.js +0 -1
  144. package/dist/9876.js.map +0 -1
  145. package/dist/9879.js +0 -1
  146. package/dist/9895.js +0 -1
  147. package/dist/9900.js +0 -1
  148. package/dist/9913.js +0 -1
  149. package/dist/main.js.LICENSE.txt +0 -49
  150. package/webpack.config.js +0 -1
package/dist/8966.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 8966.js.LICENSE.txt */
2
- (globalThis.webpackChunk_openmrs_esm_home_app=globalThis.webpackChunk_openmrs_esm_home_app||[]).push([[8966],{524:(e,t,n)=>{"use strict";e.exports=n(90320)},1740:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9247:(e,t,n)=>{"use strict";function r(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{A:()=>m});var l=["width","height","viewBox"],s=["tabindex"],c={focusable:"false",preserveAspectRatio:"xMidYMid meet"};var u=n(39067),d=n.n(u),f=n(1343),p=n.n(f);const m=p().forwardRef(function({className:e,children:t,tabIndex:n,xmlns:r="http://www.w3.org/2000/svg",preserveAspectRatio:o="xMidYMid meet",...u},d){const{tabindex:f,...m}=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,n=e.height,r=e.viewBox,o=void 0===r?"0 0 ".concat(t," ").concat(n):r,u=i(e,l),d=u.tabindex,f=i(u,s),p=a(a(a({},c),f),{},{width:t,height:n,viewBox:o});return p["aria-label"]||p["aria-labelledby"]||p.title?(p.role="img",null!=d&&(p.focusable="true",p.tabindex=d)):p["aria-hidden"]=!0,p}({...u,tabindex:n}),h=m;return e&&(h.className=e),null!=f&&(h.tabIndex="number"==typeof f?f:Number(n)),d&&(h.ref=d),r&&(h.xmlns=r),o&&(h.preserveAspectRatio=o),p().createElement("svg",h,t)});m.displayName="Icon",m.propTypes={"aria-hidden":d().oneOfType([d().bool,d().oneOf(["true","false"])]),"aria-label":d().string,"aria-labelledby":d().string,children:d().node,className:d().string,height:d().oneOfType([d().number,d().string]),preserveAspectRatio:d().string,tabIndex:d().oneOfType([d().number,d().string]),viewBox:d().string,width:d().oneOfType([d().number,d().string]),xmlns:d().string}},30855:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},30977:e=>{"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=function(e){var n,r,o=(r=4,function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}}(n,r)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(n,r)||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.")}()),a=o[1],i=o[3];if(!i)return a;if("function"==typeof btoa){var l=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),c="/*# ".concat(s," */"),u=i.sources.map(function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")});return[a].concat(u).concat([c]).join("\n")}return[a].join("\n")}},31085:(e,t,n)=>{"use strict";n(73335)},36848:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},36999:(e,t,n)=>{"use strict";var r=n(36848);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},39067:(e,t,n)=>{e.exports=n(36999)()},53373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,a(n)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=i(t,n));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},54240:(e,t,n)=>{"use strict";n.d(t,{GK:()=>h,Xj:()=>g,hz:()=>m});var r,o,a,i,l,s,c,u,d=n(1343),f=n.n(d),p=n(9247);const m=f().forwardRef(function({children:e,size:t=16,...n},a){return 16===t||"16"===t||"16px"===t?f().createElement(p.A,{width:t,height:t,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...n},r||(r=f().createElement("path",{d:"M6 15L6 14 2.7 14 7 9.7 6.3 9 2 13.3 2 10 1 10 1 15zM10 1L10 2 13.3 2 9 6.3 9.7 7 14 2.7 14 6 15 6 15 1z"})),e):f().createElement(p.A,{width:t,height:t,ref:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},o||(o=f().createElement("path",{d:"M20 2L20 4 26.586 4 18 12.582 19.414 14 28 5.414 28 12 30 12 30 2 20 2zM14 19.416L12.592 18 4 26.586 4 20 2 20 2 30 12 30 12 28 5.414 28 14 19.416z"})),e)}),h=f().forwardRef(function({children:e,size:t=16,...n},r){return 16===t||"16"===t||"16px"===t?f().createElement(p.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...n},a||(a=f().createElement("path",{d:"M2 12H14V13H2zM2 9H14V10H2zM2 6H14V7H2zM2 3H14V4H2z"})),e):20===t||"20"===t||"20px"===t?f().createElement(p.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...n},i||(i=f().createElement("path",{d:"M2 14.8H18V16H2zM2 11.2H18V12.399999999999999H2zM2 7.6H18V8.799999999999999H2zM2 4H18V5.2H2z"})),e):24===t||"24"===t||"24px"===t?f().createElement(p.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...n},l||(l=f().createElement("path",{d:"M3 18H21V19.5H3zM3 13.5H21V15H3zM3 9H21V10.5H3zM3 4.5H21V6H3z"})),e):f().createElement(p.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},s||(s=f().createElement("path",{d:"M4 6H28V8H4zM4 24H28V26H4zM4 12H28V14H4zM4 18H28V20H4z"})),e)}),g=f().forwardRef(function({children:e,size:t=16,...n},r){return 16===t||"16"===t||"16px"===t?f().createElement(p.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...n},c||(c=f().createElement("path",{d:"M2 9L2 10 5.3 10 1 14.3 1.7 15 6 10.7 6 14 7 14 7 9zM14 7L14 6 10.7 6 15 1.7 14.3 1 10 5.3 10 2 9 2 9 7z"})),e):f().createElement(p.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},u||(u=f().createElement("path",{d:"M4 18L4 20 10.586 20 2 28.582 3.414 30 12 21.414 12 28 14 28 14 18 4 18zM30 3.416L28.592 2 20 10.586 20 4 18 4 18 14 28 14 28 12 21.414 12 30 3.416z"})),e)})},68622:(e,t,n)=>{"use strict";n.d(t,{$D:()=>b,d3:()=>g,x:()=>y});var r,o,a,i,l,s,c,u,d,f,p=n(1343),m=n.n(p),h=n(9247);const g=m().forwardRef(function({children:e,size:t=16,...n},o){return m().createElement(h.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},r||(r=m().createElement("path",{d:"M16 18L6 8 7.4 6.6 16 15.2 24.6 6.6 26 8zM4 22H28V24H4z"})),e)}),b=m().forwardRef(function({children:e,size:t=16,...n},r){return m().createElement(h.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},o||(o=m().createElement("path",{d:"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z"})),e)}),y=m().forwardRef(function({children:e,size:t=16,...n},r){return 16===t||"16"===t||"16px"===t?m().createElement(h.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...n},a||(a=m().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"})),i||(i=m().createElement("path",{fill:"none",d:"M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z","data-icon-path":"inner-path",opacity:"0"})),e):20===t||"20"===t||"20px"===t?m().createElement(h.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...n},l||(l=m().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z"})),s||(s=m().createElement("path",{d:"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z","data-icon-path":"inner-path",opacity:"0"})),e):24===t||"24"===t||"24px"===t?m().createElement(h.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...n},c||(c=m().createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11S18.1,1,12,1z M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z"})),u||(u=m().createElement("path",{fill:"none",d:"M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z","data-icon-path":"inner-path",opacity:"0"})),e):m().createElement(h.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},d||(d=m().createElement("path",{fill:"none",d:"M14.9 7.2H17.1V24.799H14.9z","data-icon-path":"inner-path",transform:"rotate(-45 16 16)"})),f||(f=m().createElement("path",{d:"M16,2A13.914,13.914,0,0,0,2,16,13.914,13.914,0,0,0,16,30,13.914,13.914,0,0,0,30,16,13.914,13.914,0,0,0,16,2Zm5.4449,21L9,10.5557,10.5557,9,23,21.4448Z"})),e)})},72591:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},i=[],l=0;l<e.length;l++){var s=e[l],c=r.base?s[0]+r.base:s[0],u=a[c]||0,d="".concat(c," ").concat(u);a[c]=u+1;var f=n(d),p={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var m=o(p,r);r.byIndex=l,t.splice(l,0,{identifier:d,updater:m,references:1})}i.push(d)}return i}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var l=n(a[i]);t[l].references--}for(var s=r(e,o),c=0;c<a.length;c++){var u=n(a[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=s}}},73335:(e,t,n)=>{"use strict";var r=n(1343);Symbol.for("react.element"),Symbol.for("react.fragment"),Object.prototype.hasOwnProperty,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner},73656:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},88128:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},89434:(e,t,n)=>{"use strict";n.d(t,{kZS:()=>go,$nd:()=>tn,KXP:()=>Fr,lRv:()=>qr,Y9Y:()=>Qo,V8d:()=>ta,wdv:()=>na,dJ2:()=>ia,bCw:()=>ua,K0:()=>Qt,OuH:()=>In,jeF:()=>ho,Wdr:()=>cn,cwr:()=>Hr,jlY:()=>Pn,rQ0:()=>On,aaP:()=>yo,zWQ:()=>Eo,Psq:()=>vo,vji:()=>Ro,f8J:()=>ba,ryE:()=>So,vwO:()=>Mo,FAs:()=>Go});var r={};try{process.env.CARBON_ENABLE_CSS_CUSTOM_PROPERTIES&&"true"===process.env.CARBON_ENABLE_CSS_CUSTOM_PROPERTIES?r.enableCssCustomProperties=!0:r.enableCssCustomProperties=!1,process.env.CARBON_ENABLE_CSS_GRID&&"true"===process.env.CARBON_ENABLE_CSS_GRID?r.enableCssGrid=!0:r.enableCssGrid=!1,process.env.CARBON_ENABLE_V11_RELEASE?"true"===process.env.CARBON_ENABLE_V11_RELEASE?r.enableV11Release=!0:r.enableV11Release=!1:r.enableV11Release=!0,process.env.CARBON_ENABLE_EXPERIMENTAL_TILE_CONTRAST&&"true"===process.env.CARBON_ENABLE_EXPERIMENTAL_TILE_CONTRAST?r.enableExperimentalTileContrast=!0:r.enableExperimentalTileContrast=!1,process.env.CARBON_ENABLE_V12_TILE_DEFAULT_ICONS&&"true"===process.env.CARBON_ENABLE_V12_TILE_DEFAULT_ICONS?r.enableV12TileDefaultIcons=!0:r.enableV12TileDefaultIcons=!1,process.env.CARBON_ENABLE_V12_TILE_RADIO_ICONS&&"true"===process.env.CARBON_ENABLE_V12_TILE_RADIO_ICONS?r.enableV12TileRadioIcons=!0:r.enableV12TileRadioIcons=!1,process.env.CARBON_ENABLE_V12_OVERFLOWMENU&&"true"===process.env.CARBON_ENABLE_V12_OVERFLOWMENU?r.enableV12Overflowmenu=!0:r.enableV12Overflowmenu=!1,process.env.CARBON_ENABLE_TREEVIEW_CONTROLLABLE&&"true"===process.env.CARBON_ENABLE_TREEVIEW_CONTROLLABLE?r.enableTreeviewControllable=!0:r.enableTreeviewControllable=!1,process.env.CARBON_ENABLE_V12_STRUCTURED_LIST_VISIBLE_ICONS&&"true"===process.env.CARBON_ENABLE_V12_STRUCTURED_LIST_VISIBLE_ICONS?r.enableV12StructuredListVisibleIcons=!0:r.enableV12StructuredListVisibleIcons=!1,process.env.CARBON_ENABLE_EXPERIMENTAL_FOCUS_WRAP_WITHOUT_SENTINELS&&"true"===process.env.CARBON_ENABLE_EXPERIMENTAL_FOCUS_WRAP_WITHOUT_SENTINELS?r.enableExperimentalFocusWrapWithoutSentinels=!0:r.enableExperimentalFocusWrapWithoutSentinels=!1,process.env.CARBON_ENABLE_DIALOG_ELEMENT&&"true"===process.env.CARBON_ENABLE_DIALOG_ELEMENT?r.enableDialogElement=!0:r.enableDialogElement=!1,process.env.CARBON_ENABLE_V12_DYNAMIC_FLOATING_STYLES&&"true"===process.env.CARBON_ENABLE_V12_DYNAMIC_FLOATING_STYLES?r.enableV12DynamicFloatingStyles=!0:r.enableV12DynamicFloatingStyles=!1,process.env.CARBON_ENABLE_V12_TOGGLE_REDUCED_LABEL_SPACING&&"true"===process.env.CARBON_ENABLE_V12_TOGGLE_REDUCED_LABEL_SPACING?r.enableV12ToggleReducedLabelSpacing=!0:r.enableV12ToggleReducedLabelSpacing=!1,process.env.CARBON_ENABLE_ENHANCED_FILE_UPLOADER&&"true"===process.env.CARBON_ENABLE_ENHANCED_FILE_UPLOADER?r.enableEnhancedFileUploader=!0:r.enableEnhancedFileUploader=!1,process.env.CARBON_ENABLE_PRESENCE&&"true"===process.env.CARBON_ENABLE_PRESENCE?r.enablePresence=!0:r.enablePresence=!1}catch(e){r.enableCssCustomProperties=!1,r.enableCssGrid=!1,r.enableV11Release=!0,r.enableExperimentalTileContrast=!1,r.enableV12TileDefaultIcons=!1,r.enableV12TileRadioIcons=!1,r.enableV12Overflowmenu=!1,r.enableTreeviewControllable=!1,r.enableV12StructuredListVisibleIcons=!1,r.enableExperimentalFocusWrapWithoutSentinels=!1,r.enableDialogElement=!1,r.enableV12DynamicFloatingStyles=!1,r.enableV12ToggleReducedLabelSpacing=!1,r.enableEnhancedFileUploader=!1,r.enablePresence=!1}var o=[{name:"enable-css-custom-properties",description:"Describe what the flag does",enabled:r.enableCssCustomProperties},{name:"enable-css-grid",description:"Enable CSS Grid Layout in the Grid and Column React components\n",enabled:r.enableCssGrid},{name:"enable-v11-release",description:"Enable the features and functionality for the v11 Release\n",enabled:r.enableV11Release},{name:"enable-experimental-tile-contrast",description:"Enable the experimental tile improved contrast styles\n",enabled:r.enableExperimentalTileContrast},{name:"enable-v12-tile-default-icons",description:"Enable rendering of default icons in the tile components\n",enabled:r.enableV12TileDefaultIcons},{name:"enable-v12-tile-radio-icons",description:"Enable rendering of radio icons in the RadioTile component\n",enabled:r.enableV12TileRadioIcons},{name:"enable-v12-overflowmenu",description:"Enable the use of the v12 OverflowMenu leveraging the Menu subcomponents\n",enabled:r.enableV12Overflowmenu},{name:"enable-treeview-controllable",description:"Enable the new TreeView controllable API\n",enabled:r.enableTreeviewControllable},{name:"enable-v12-structured-list-visible-icons",description:"Enable rendering of radio icons in the StructuredList component\n",enabled:r.enableV12StructuredListVisibleIcons},{name:"enable-experimental-focus-wrap-without-sentinels",description:"Enable the new focus wrap behavior that doesn't use sentinel nodes\n",enabled:r.enableExperimentalFocusWrapWithoutSentinels},{name:"enable-dialog-element",description:"Enable components to utilize the native dialog element\n",enabled:r.enableDialogElement},{name:"enable-v12-dynamic-floating-styles",description:"Enable dynamic setting of floating styles for components like Popover, Tooltip, etc.\n",enabled:r.enableV12DynamicFloatingStyles},{name:"enable-v12-toggle-reduced-label-spacing",description:"Enable a reduced spacing between the toggle control and its label\n",enabled:r.enableV12ToggleReducedLabelSpacing},{name:"enable-enhanced-file-uploader",description:"Enable enhanced functionality for the FileUploader component, including richer callback data and expanded trigger events for onChange and onDelete.\n",enabled:r.enableEnhancedFileUploader},{name:"enable-presence",description:"Enable components to remain unmounted in closed state and mount in open state.\n",enabled:r.enablePresence}];function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t);else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||s(e,t)||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(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function s(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}for(var c=function(){return e=function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.flags=new Map,t&&Object.keys(t).forEach(function(e){n.flags.set(e,t[e])})},(t=[{key:"checkForFlag",value:function(e){if(!this.flags.has(e))throw new Error("Unable to find a feature flag with the name: `".concat(e,"`"))}},{key:"add",value:function(e,t){if(this.flags.has(e))throw new Error("The feature flag: ".concat(e," already exists"));this.flags.set(e,t)}},{key:"enable",value:function(e){this.checkForFlag(e),this.flags.set(e,!0)}},{key:"disable",value:function(e){this.checkForFlag(e),this.flags.set(e,!1)}},{key:"merge",value:function(e){var t=this;Object.keys(e).forEach(function(n){t.flags.set(n,e[n])})}},{key:"mergeWithScope",value:function(e){var t,n=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=s(e))){t&&(e=t);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,i=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){i=!0,o=e},f:function(){try{a||null==t.return||t.return()}finally{if(i)throw o}}}}(e.flags);try{for(n.s();!(t=n.n()).done;){var r=i(t.value,2),o=r[0],a=r[1];this.flags.has(o)||this.flags.set(o,a)}}catch(e){n.e(e)}finally{n.f()}}},{key:"enabled",value:function(e){return this.checkForFlag(e),this.flags.get(e)}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),u=new c(void 0),d=0;d<o.length;d++){var f=o[d];u.add(f.name,f.enabled)}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(null,arguments)}!function(){u.merge.apply(u,arguments)}({"enable-css-custom-properties":!0,"enable-css-grid":!0,"enable-v11-release":!0,"enable-experimental-tile-contrast":!1,"enable-v12-tile-radio-icons":!1,"enable-v12-structured-list-visible-icons":!1,"enable-v12-dynamic-floating-styles":!1});var m=n(39067),h=n.n(m),g=n(1343),b=n.t(g,2),y=n.n(g),v=n(53373),w=n.n(v);const E={},N=(e,t,n)=>(r,o,a,...i)=>{if(void 0===r[o])return null;if(!E[a]||!E[a][o]){E[a]={...E[a],[o]:!0};const e=r[o];n&&n(e);t&&!t.includes(e)&&(n||t.join(", "))}return e(r,o,a,...i)},x="undefined"!=typeof window?g.useLayoutEffect:g.useEffect,C=e=>{const t=(0,g.useMemo)(()=>e,e);return(0,g.useCallback)(e=>{t.forEach(t=>{"function"==typeof t?t(e):t&&(t.current=e)})},[t])},$=y().createContext("cds");function T(){return y().useContext($)}const R=(e,t)=>{const n=(0,g.useRef)(null);(0,g.useEffect)(()=>{n.current=t},[t]),(0,g.useEffect)(()=>{const t=e=>{n.current&&n.current(e)};return window.addEventListener(e,t),()=>{window.removeEventListener(e,t)}},[e])},_={"top-left":"top-start","top-right":"top-end","bottom-left":"bottom-start","bottom-right":"bottom-end","left-bottom":"left-end","left-top":"left-start","right-bottom":"right-end","right-top":"right-start"},S=e=>_[e]??e;var A="undefined"!=typeof document?g.useLayoutEffect:function(){};const O={...b}.useInsertionEffect||(e=>e());function L(){return"undefined"!=typeof window}function k(e){return I(e)?(e.nodeName||"").toLowerCase():"#document"}function M(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function B(e){var t;return null==(t=(I(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function I(e){return!!L()&&(e instanceof Node||e instanceof M(e).Node)}function D(e){return!!L()&&(e instanceof Element||e instanceof M(e).Element)}function P(e){return!!L()&&(e instanceof HTMLElement||e instanceof M(e).HTMLElement)}function z(e){return!(!L()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof M(e).ShadowRoot)}n(31085);const H=new Set(["inline","contents"]);function V(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Q(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!H.has(o)}const F=new Set(["table","td","th"]);function j(e){return F.has(k(e))}const q=[":popover-open",":modal"];function U(e){return q.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const W=["transform","translate","scale","rotate","perspective"],Z=["transform","translate","scale","rotate","perspective","filter"],G=["paint","layout","strict","content"];function K(e){const t=Y(),n=D(e)?Q(e):e;return W.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||Z.some(e=>(n.willChange||"").includes(e))||G.some(e=>(n.contain||"").includes(e))}function Y(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const X=new Set(["html","body","#document"]);function J(e){return X.has(k(e))}function Q(e){return M(e).getComputedStyle(e)}function ee(e){return D(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function te(e){if("html"===k(e))return e;const t=e.assignedSlot||e.parentNode||z(e)&&e.host||B(e);return z(t)?t.host:t}function ne(e){const t=te(e);return J(t)?e.ownerDocument?e.ownerDocument.body:e.body:P(t)&&V(t)?t:ne(t)}function re(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=ne(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=M(o);if(a){const e=oe(i);return t.concat(i,i.visualViewport||[],V(o)?o:[],e&&n?re(e):[])}return t.concat(o,re(o,[],n))}function oe(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var ae=n(43144);const ie=["top","right","bottom","left"],le=Math.min,se=Math.max,ce=Math.round,ue=Math.floor,de=e=>({x:e,y:e}),fe={left:"right",right:"left",bottom:"top",top:"bottom"},pe={start:"end",end:"start"};function me(e,t){return"function"==typeof e?e(t):e}function he(e){return e.split("-")[0]}function ge(e){return e.split("-")[1]}function be(e){return"y"===e?"height":"width"}const ye=new Set(["top","bottom"]);function ve(e){return ye.has(he(e))?"y":"x"}function we(e){return"x"===ve(e)?"y":"x"}function Ee(e){return e.replace(/start|end/g,e=>pe[e])}const Ne=["left","right"],xe=["right","left"],Ce=["top","bottom"],$e=["bottom","top"];function Te(e){return e.replace(/left|right|bottom|top/g,e=>fe[e])}function Re(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function _e(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Se(e,t,n){let{reference:r,floating:o}=e;const a=ve(t),i=we(t),l=be(i),s=he(t),c="y"===a,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[l]/2-o[l]/2;let p;switch(s){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(ge(t)){case"start":p[i]-=f*(n&&c?-1:1);break;case"end":p[i]+=f*(n&&c?-1:1)}return p}async function Ae(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:a,rects:i,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=me(t,e),m=Re(p),h=l[f?"floating"===d?"reference":"floating":d],g=_e(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(h)))||n?h:h.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),b="floating"===d?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,y=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),v=await(null==a.isElement?void 0:a.isElement(y))&&await(null==a.getScale?void 0:a.getScale(y))||{x:1,y:1},w=_e(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:y,strategy:s}):b);return{top:(g.top-w.top+m.top)/v.y,bottom:(w.bottom-g.bottom+m.bottom)/v.y,left:(g.left-w.left+m.left)/v.x,right:(w.right-g.right+m.right)/v.x}}function Oe(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Le(e){return ie.some(t=>e[t]>=0)}const ke=new Set(["left","top"]);function Me(e){const t=Q(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=P(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=ce(n)!==a||ce(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function Be(e){return D(e)?e:e.contextElement}function Ie(e){const t=Be(e);if(!P(t))return de(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=Me(t);let i=(a?ce(n.width):n.width)/r,l=(a?ce(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const De=de(0);function Pe(e){const t=M(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:De}function ze(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),a=Be(e);let i=de(1);t&&(r?D(r)&&(i=Ie(r)):i=Ie(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==M(e))&&t}(a,n,r)?Pe(a):de(0);let s=(o.left+l.x)/i.x,c=(o.top+l.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(a){const e=M(a),t=r&&D(r)?M(r):r;let n=e,o=oe(n);for(;o&&r&&t!==n;){const e=Ie(o),t=o.getBoundingClientRect(),r=Q(o),a=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=a,c+=i,n=M(o),o=oe(n)}}return _e({width:u,height:d,x:s,y:c})}function He(e,t){const n=ee(e).scrollLeft;return t?t.left+n:ze(B(e)).left+n}function Ve(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:He(e,r)),y:r.top+t.scrollTop}}const Fe=new Set(["absolute","fixed"]);function je(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=M(e),r=B(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;const e=Y();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l,y:s}}(e,n);else if("document"===t)r=function(e){const t=B(e),n=ee(e),r=e.ownerDocument.body,o=se(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=se(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+He(e);const l=-n.scrollTop;return"rtl"===Q(r).direction&&(i+=se(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:l}}(B(e));else if(D(t))r=function(e,t){const n=ze(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=P(e)?Ie(e):de(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:r*a.y}}(t,n);else{const n=Pe(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return _e(r)}function qe(e,t){const n=te(e);return!(n===t||!D(n)||J(n))&&("fixed"===Q(n).position||qe(n,t))}function Ue(e,t,n){const r=P(t),o=B(t),a="fixed"===n,i=ze(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=de(0);function c(){s.x=He(o)}if(r||!r&&!a)if(("body"!==k(t)||V(o))&&(l=ee(t)),r){const e=ze(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&c();a&&!r&&o&&c();const u=!o||r||a?de(0):Ve(o,l);return{x:i.left+l.scrollLeft-s.x-u.x,y:i.top+l.scrollTop-s.y-u.y,width:i.width,height:i.height}}function We(e){return"static"===Q(e).position}function Ze(e,t){if(!P(e)||"fixed"===Q(e).position)return null;if(t)return t(e);let n=e.offsetParent;return B(e)===n&&(n=n.ownerDocument.body),n}function Ge(e,t){const n=M(e);if(U(e))return n;if(!P(e)){let t=te(e);for(;t&&!J(t);){if(D(t)&&!We(t))return t;t=te(t)}return n}let r=Ze(e,t);for(;r&&j(r)&&We(r);)r=Ze(r,t);return r&&J(r)&&We(r)&&!K(r)?n:r||function(e){let t=te(e);for(;P(t)&&!J(t);){if(K(t))return t;if(U(t))return null;t=te(t)}return null}(e)||n}const Ke={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a="fixed"===o,i=B(r),l=!!t&&U(t.floating);if(r===i||l&&a)return n;let s={scrollLeft:0,scrollTop:0},c=de(1);const u=de(0),d=P(r);if((d||!d&&!a)&&(("body"!==k(r)||V(i))&&(s=ee(r)),P(r))){const e=ze(r);c=Ie(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!i||d||a?de(0):Ve(i,s,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-s.scrollTop*c.y+u.y+f.y}},getDocumentElement:B,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[..."clippingAncestors"===n?U(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=re(e,[],!1).filter(e=>D(e)&&"body"!==k(e)),o=null;const a="fixed"===Q(e).position;let i=a?te(e):e;for(;D(i)&&!J(i);){const t=Q(i),n=K(i);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&o&&Fe.has(o.position)||V(i)&&!n&&qe(e,i))?r=r.filter(e=>e!==i):o=t,i=te(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],i=a[0],l=a.reduce((e,n)=>{const r=je(t,n,o);return e.top=se(r.top,e.top),e.right=le(r.right,e.right),e.bottom=le(r.bottom,e.bottom),e.left=se(r.left,e.left),e},je(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ge,getElementRects:async function(e){const t=this.getOffsetParent||Ge,n=this.getDimensions,r=await n(e.floating);return{reference:Ue(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Me(e);return{width:t,height:n}},getScale:Ie,isElement:D,isRTL:function(e){return"rtl"===Q(e).direction}};function Ye(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Xe(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,c=Be(e),u=o||a?[...c?re(c):[],...re(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});const d=c&&l?function(e,t){let n,r=null;const o=B(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function i(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),a();const c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=c;if(l||t(),!f||!p)return;const m={rootMargin:-ue(d)+"px "+-ue(o.clientWidth-(u+f))+"px "+-ue(o.clientHeight-(d+p))+"px "+-ue(u)+"px",threshold:se(0,le(1,s))||1};let h=!0;function g(t){const r=t[0].intersectionRatio;if(r!==s){if(!h)return i();r?i(!1,r):n=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==r||Ye(c,e.getBoundingClientRect())||i(),h=!1}try{r=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),a}(c,n):null;let f,p=-1,m=null;i&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!s&&m.observe(c),m.observe(t));let h=s?ze(e):null;return s&&function t(){const r=ze(e);h&&!Ye(h,r)&&n(),h=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=m)||e.disconnect(),m=null,s&&cancelAnimationFrame(f)}}const Je=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:a,placement:i,middlewareData:l}=t,s=await async function(e,t){const{placement:n,platform:r,elements:o}=e,a=await(null==r.isRTL?void 0:r.isRTL(o.floating)),i=he(n),l=ge(n),s="y"===ve(n),c=ke.has(i)?-1:1,u=a&&s?-1:1,d=me(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof m&&(p="end"===l?-1*m:m),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return i===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:a+s.y,data:{...s,placement:i}}}}},Qe=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:a,rects:i,initialPlacement:l,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...g}=me(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};const b=he(o),y=ve(l),v=he(l)===l,w=await(null==s.isRTL?void 0:s.isRTL(c.floating)),E=f||(v||!h?[Te(l)]:function(e){const t=Te(e);return[Ee(e),t,Ee(t)]}(l)),N="none"!==m;!f&&N&&E.push(...function(e,t,n,r){const o=ge(e);let a=function(e,t,n){switch(e){case"top":case"bottom":return n?t?xe:Ne:t?Ne:xe;case"left":case"right":return t?Ce:$e;default:return[]}}(he(e),"start"===n,r);return o&&(a=a.map(e=>e+"-"+o),t&&(a=a.concat(a.map(Ee)))),a}(l,h,m,w));const x=[l,...E],C=await Ae(t,g),$=[];let T=(null==(r=a.flip)?void 0:r.overflows)||[];if(u&&$.push(C[b]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=ge(e),o=we(e),a=be(o);let i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Te(i)),[i,Te(i)]}(o,i,w);$.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:o,overflows:$}],!$.every(e=>e<=0)){var R,_;const e=((null==(R=a.flip)?void 0:R.index)||0)+1,t=x[e];if(t&&("alignment"!==d||y===ve(t)||T.every(e=>e.overflows[0]>0&&ve(e.placement)===y)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=null==(_=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:_.placement;if(!n)switch(p){case"bestFit":{var S;const e=null==(S=T.filter(e=>{if(N){const t=ve(e.placement);return t===y||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}},et=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=me(e,t);switch(r){case"referenceHidden":{const e=Oe(await Ae(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Le(e)}}}case"escaped":{const e=Oe(await Ae(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Le(e)}}}default:return{}}}}},tt=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:i,elements:l,middlewareData:s}=t,{element:c,padding:u=0}=me(e,t)||{};if(null==c)return{};const d=Re(u),f={x:n,y:r},p=we(o),m=be(p),h=await i.getDimensions(c),g="y"===p,b=g?"top":"left",y=g?"bottom":"right",v=g?"clientHeight":"clientWidth",w=a.reference[m]+a.reference[p]-f[p]-a.floating[m],E=f[p]-a.reference[p],N=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let x=N?N[v]:0;x&&await(null==i.isElement?void 0:i.isElement(N))||(x=l.floating[v]||a.floating[m]);const C=w/2-E/2,$=x/2-h[m]/2-1,T=le(d[b],$),R=le(d[y],$),_=T,S=x-h[m]-R,A=x/2-h[m]/2+C,O=se(_,le(A,S)),L=!s.arrow&&null!=ge(o)&&A!==O&&a.reference[m]/2-(A<_?T:R)-h[m]/2<0,k=L?A<_?A-_:A-S:0;return{[p]:f[p]+k,data:{[p]:O,centerOffset:A-O-k,...L&&{alignmentOffset:k}},reset:L}}}),nt=(e,t,n)=>{const r=new Map,o={platform:Ke,...n},a={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),s=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Se(c,r,s),f=r,p={},m=0;for(let n=0;n<l.length;n++){const{name:a,fn:h}=l[n],{x:g,y:b,data:y,reset:v}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=b?b:d,p={...p,[a]:{...p[a],...y}},v&&m<=50&&(m++,"object"==typeof v&&(v.placement&&(f=v.placement),v.rects&&(c=!0===v.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:u,y:d}=Se(c,f,s))),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}})(e,t,{...o,platform:a})};var rt="undefined"!=typeof document?g.useLayoutEffect:function(){};function ot(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!ot(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||ot(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function at(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function it(e,t){const n=at(e);return Math.round(t*n)/n}function lt(e){const t=g.useRef(e);return rt(()=>{t.current=e}),t}const st=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?tt({element:n.current,padding:r}).fn(t):{}:n?tt({element:n,padding:r}).fn(t):{};var o}}),ct=(e,t)=>({...Qe(e),options:[e,t]}),ut=(e,t)=>({...et(e),options:[e,t]}),dt=(e,t)=>({...st(e),options:[e,t]});const ft={...b};let pt=!1,mt=0;const ht=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+mt++,gt=ft.useId||function(){const[e,t]=g.useState(()=>pt?ht():void 0);return A(()=>{null==e&&t(ht())},[]),g.useEffect(()=>{pt=!0},[]),e};const bt=g.createContext(null),yt=g.createContext(null);function vt(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=gt(),a=g.useRef({}),[i]=g.useState(()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;null==(r=e.get(t))||r.delete(n)}}}()),l=null!=((null==(s=g.useContext(bt))?void 0:s.id)||null);var s;const[c,u]=g.useState(r.reference),d=function(e){const t=g.useRef(()=>{});return O(()=>{t.current=e}),g.useCallback(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}((e,t,r)=>{a.current.openEvent=e?t:void 0,i.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)}),f=g.useMemo(()=>({setPositionReference:u}),[]),p=g.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return g.useMemo(()=>({dataRef:a,open:t,onOpenChange:d,elements:p,events:i,floatingId:o,refs:f}),[t,d,p,i,o,f])}function wt(e){void 0===e&&(e={});const{nodeId:t}=e,n=vt({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[a,i]=g.useState(null),[l,s]=g.useState(null),c=(null==o?void 0:o.domReference)||a,u=g.useRef(null),d=g.useContext(yt);A(()=>{c&&(u.current=c)},[c]);const f=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:l=!0,whileElementsMounted:s,open:c}=e,[u,d]=g.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=g.useState(r);ot(f,r)||p(r);const[m,h]=g.useState(null),[b,y]=g.useState(null),v=g.useCallback(e=>{e!==x.current&&(x.current=e,h(e))},[]),w=g.useCallback(e=>{e!==C.current&&(C.current=e,y(e))},[]),E=a||m,N=i||b,x=g.useRef(null),C=g.useRef(null),$=g.useRef(u),T=null!=s,R=lt(s),_=lt(o),S=lt(c),A=g.useCallback(()=>{if(!x.current||!C.current)return;const e={placement:t,strategy:n,middleware:f};_.current&&(e.platform=_.current),nt(x.current,C.current,e).then(e=>{const t={...e,isPositioned:!1!==S.current};O.current&&!ot($.current,t)&&($.current=t,ae.flushSync(()=>{d(t)}))})},[f,t,n,_,S]);rt(()=>{!1===c&&$.current.isPositioned&&($.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);const O=g.useRef(!1);rt(()=>(O.current=!0,()=>{O.current=!1}),[]),rt(()=>{if(E&&(x.current=E),N&&(C.current=N),E&&N){if(R.current)return R.current(E,N,A);A()}},[E,N,A,R,T]);const L=g.useMemo(()=>({reference:x,floating:C,setReference:v,setFloating:w}),[v,w]),k=g.useMemo(()=>({reference:E,floating:N}),[E,N]),M=g.useMemo(()=>{const e={position:n,left:0,top:0};if(!k.floating)return e;const t=it(k.floating,u.x),r=it(k.floating,u.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...at(k.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,k.floating,u.x,u.y]);return g.useMemo(()=>({...u,update:A,refs:L,elements:k,floatingStyles:M}),[u,A,L,k,M])}({...e,elements:{...o,...l&&{reference:l}}}),p=g.useCallback(e=>{const t=D(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;s(t),f.refs.setReference(t)},[f.refs]),m=g.useCallback(e=>{(D(e)||null===e)&&(u.current=e,i(e)),(D(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!D(e))&&f.refs.setReference(e)},[f.refs]),h=g.useMemo(()=>({...f.refs,setReference:m,setPositionReference:p,domReference:u}),[f.refs,m,p]),b=g.useMemo(()=>({...f.elements,domReference:c}),[f.elements,c]),y=g.useMemo(()=>({...f,...r,refs:h,elements:b,nodeId:t}),[f,h,b,t,r]);return A(()=>{r.dataRef.current.floatingContext=y;const e=null==d?void 0:d.nodesRef.current.find(e=>e.id===t);e&&(e.context=y)}),g.useMemo(()=>({...f,context:y,refs:h,elements:b}),[f,h,b,y])}const Et=new Map,Nt=(e,t)=>(t,n,r,...o)=>{if(void 0===t[n])return;Et.has(r)||Et.set(r,new Set);const a=Et.get(r);return a&&!a.has(n)&&a.add(n),e(t,n,r,...o)},xt=(0,g.createContext)(u);function Ct(e){return(0,g.useContext)(xt).enabled(e)}h().node,Nt(h().objectOf(h().bool)),h().bool,h().bool,h().bool,h().bool,h().bool,h().bool,h().bool,h().bool;const $t=y().createContext({setFloating:{current:null},caretRef:{current:null},autoAlign:null}),Tt=y().forwardRef(function({isTabTip:e,align:t=(e?"bottom-start":"bottom"),as:n="span",autoAlign:r=!1,autoAlignBoundary:o,caret:a=!e,className:i,children:l,dropShadow:s=!0,highContrast:c=!1,onRequestClose:u,open:d,alignmentAxisOffset:f,...m},h){const b=T(),v=(0,g.useRef)(null),E=(0,g.useRef)(null),N=(0,g.useRef)(null),$=Ct("enable-v12-dynamic-floating-styles")||r;let _=S(t);((e,t,n)=>{const r=(0,g.useRef)(null);(0,g.useEffect)(()=>{r.current=n},[n]),(0,g.useEffect)(()=>{const n="current"in e?e.current:e;if(!n)return;const o=e=>{r.current&&r.current(e)};return n.addEventListener(t,o),()=>{n.removeEventListener(t,o)}},[e,t])})(N,"focusout",t=>{const n=t.relatedTarget;if(e)return void(n&&!N.current?.contains(n)&&u?.());if(!n)return void u?.();const r=!N.current?.contains(n),o=!$||!L.floating.current||!L.floating.current.contains(n);r&&o&&u?.()}),R("click",({target:e})=>{d&&e instanceof Node&&!N.current?.contains(e)&&u?.()});const A=y().Children.toArray(l).some(e=>e?.props?.className?.includes("slug")||e?.props?.className?.includes("ai-label"))?7:6,O=(0,g.useRef)({offset:10,caretHeight:A});x(()=>{if(a&&N.current){const e=window.getComputedStyle(N.current,null),t=e.getPropertyValue("--cds-popover-offset"),n=e.getPropertyValue("--cds-popover-caret-height");t&&(O.current.offset=t.includes("px")?1*Number(t.split("px",1)[0]):16*Number(t.split("rem",1)[0])),n&&(O.current.caretHeight=n.includes("px")?1*Number(n.split("px",1)[0]):16*Number(n.split("rem",1)[0]))}});const{refs:L,floatingStyles:k,placement:M,middlewareData:B}=wt($?{placement:_,strategy:"fixed",middleware:[(I=e?0:{alignmentAxis:f,mainAxis:O?.current?.offset},{...Je(I),options:[I,undefined]}),r&&ct({fallbackPlacements:e?_.includes("bottom")?["bottom-start","bottom-end","top-start","top-end"]:["top-start","top-end","bottom-start","bottom-end"]:_.includes("bottom")?["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"]:["top","top-start","top-end","left","left-start","left-end","right","right-start","right-end","bottom","bottom-start","bottom-end"],fallbackStrategy:"initialPlacement",fallbackAxisSideDirection:"start",boundary:o}),dt({element:E}),r&&ut()],whileElementsMounted:Xe}:{});var I;const D=(0,g.useMemo)(()=>({floating:v,setFloating:L.setFloating,caretRef:E,autoAlign:r}),[L.setFloating,r]);e&&(["bottom-start","bottom-end"].includes(_)||(_="bottom-start")),(0,g.useEffect)(()=>{if($){const e={...k,visibility:B.hide?.referenceHidden?"hidden":"visible"};if(Object.keys(e).forEach(t=>{L.floating.current&&(L.floating.current.style[t]=e[t])}),a&&B&&B.arrow&&E?.current){const{x:e,y:t}=B.arrow,n={top:"bottom",right:"left",bottom:"top",left:"right"}[M.split("-")[0]];E.current.style.left=null!=e?`${e}px`:"",E.current.style.top=null!=t?`${t}px`:"",E.current.style.right="",E.current.style.bottom="",n&&(E.current.style[n]=-O?.current?.caretHeight+"px")}}},[k,L.floating,$,B,M,a]);const P=C([h,N]),z=r&&M!==_?M:_,H=w()({[`${b}--popover-container`]:!0,[`${b}--popover--caret`]:a,[`${b}--popover--drop-shadow`]:s,[`${b}--popover--high-contrast`]:c,[`${b}--popover--open`]:d,[`${b}--popover--auto-align ${b}--autoalign`]:$,[`${b}--popover--${z}`]:!0,[`${b}--popover--tab-tip`]:e},i),V=y().Children.map(l,t=>{const n=t,r=n?.type?.displayName,o="button"===n?.type,a=$&&r&&["ToggletipButton"].includes(r),i=$&&!["ToggletipContent","PopoverContent"].includes(r);if(y().isValidElement(n)&&(o||a||i)){const t=n?.props?.className,r=(n?.props).ref,o=w()(`${b}--popover--tab-tip__button`,t);return y().cloneElement(n,{className:e&&"button"===n?.type?o:t||"",ref:e=>{($&&n?.type!==_t||$&&"ToggletipButton"===n?.type.displayName)&&L.setReference(e),"function"==typeof r?r(e):null!=r&&(r.current=e)}})}return n}),F=n;return y().createElement($t.Provider,{value:D},y().createElement(F,p({},m,{className:H,ref:P}),$||e?V:l))});function Rt({className:e,children:t,...n},r){const o=T(),{setFloating:a,caretRef:i,autoAlign:l}=y().useContext($t),s=C([a,r]),c=Ct("enable-v12-dynamic-floating-styles")||l;return y().createElement("span",p({},n,{className:`${o}--popover`}),y().createElement("span",{className:w()(`${o}--popover-content`,e),ref:s},t,c&&y().createElement("span",{className:w()({[`${o}--popover-caret`]:!0,[`${o}--popover--auto-align`]:!0}),ref:i})),!c&&y().createElement("span",{className:w()({[`${o}--popover-caret`]:!0}),ref:i}))}Tt.propTypes={align:N(h().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top","top-start","top-end","bottom-start","bottom-end","left-end","left-start","right-end","right-start"]),["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"],S),alignmentAxisOffset:h().number,as:h().oneOfType([h().string,h().elementType]),autoAlign:h().bool,autoAlignBoundary:h().oneOfType([h().oneOf(["clippingAncestors"]),h().elementType,h().arrayOf(h().elementType),h().exact({x:h().number.isRequired,y:h().number.isRequired,width:h().number.isRequired,height:h().number.isRequired})]),caret:h().bool,children:h().node,className:h().string,dropShadow:h().bool,highContrast:h().bool,isTabTip:h().bool,onRequestClose:h().func,open:h().bool.isRequired};const _t=y().forwardRef(Rt);_t.displayName="PopoverContent",_t.propTypes={children:h().node,className:h().string};const St={key:"Tab",which:9,keyCode:9,code:"Tab"},At={key:"Enter",which:13,keyCode:13,code:"Enter"},Ot={key:["Escape","Esc"],which:27,keyCode:27,code:"Esc"},Lt={key:" ",which:32,keyCode:32,code:"Space"},kt=(e,t)=>{for(let n=0;n<t.length;n++)if(Mt(e,t[n]))return!0;return!1},Mt=(e,{key:t,which:n,keyCode:r,code:o})=>"string"==typeof e?e===t:"number"==typeof e?e===n||e===r:e.key&&Array.isArray(t)?t.includes(e.key):e.key===t||e.which===n||e.keyCode===r||e.code===o;function Bt(e){const[t,n]=(0,g.useState)(e),r=(0,g.useRef)(null),o=(0,g.useCallback)((e,t=0)=>{window.clearTimeout(r.current??void 0),r.current=null,0!==t?r.current=window.setTimeout(()=>{n(e),r.current=null},t):n(e)},[]);return(0,g.useEffect)(()=>()=>{window.clearTimeout(r.current??void 0)},[]),[t,o]}const It=!("undefined"==typeof window||!window.document||!window.document.createElement),Dt=y().createContext(null);function Pt(){return y().useContext(Dt)}const zt={...y()},Ht=(()=>{let e=0;return()=>++e})(),Vt=It?g.useLayoutEffect:g.useEffect;let Ft=!1;const jt=zt.useId?function(e="id"){const t=Pt();return`${t?`${t}-`:""}${e}-${zt.useId()}`}:function(e="id"){const t=Pt(),[n,r]=(0,g.useState)(()=>Ft?`${t?`${t}-`:""}${e}-${Ht()}`:null);return Vt(()=>{null===n&&r(`${t?`${t}-`:""}${e}-${Ht()}`)},[Ht]),(0,g.useEffect)(()=>{!1===Ft&&(Ft=!0)},[]),n},qt=(e,t="component should have no interactive child nodes")=>{},Ut=e=>{if(!e||!e.childNodes)return null;if(Zt(e))return e;for(const t of e.childNodes)if(t instanceof HTMLElement){const e=Ut(t);if(e)return e}return null},Wt=e=>{if(!e||!e.childNodes)return null;if(e.getAttribute("role")&&""!==e.getAttribute("role"))return e;for(const t of e.childNodes)if(t instanceof HTMLElement){const e=Wt(t);if(e)return e}return null},Zt=e=>{if(void 0===e.tabIndex||e.tabIndex<0)return!1;if((e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement)&&e.disabled)return!1;switch(e.nodeName){case"A":return e instanceof HTMLAnchorElement&&!!e.href&&"ignore"!==e.rel;case"INPUT":return e instanceof HTMLInputElement&&"hidden"!==e.type;default:return!0}},Gt=new Set(["mouseup","touchend","touchcancel"]),Kt=y().forwardRef(({as:e,align:t="top",className:n,children:r,label:o,description:a,enterDelayMs:i=100,leaveDelayMs:l=300,defaultOpen:s=!1,closeOnActivation:c=!1,dropShadow:u=!1,highContrast:d=!0,...f},m)=>{const h=(0,g.useRef)(null),[b,v]=Bt(s),[E,N]=(0,g.useState)(!1),[C,$]=(0,g.useState)(!1),[R,_]=(0,g.useState)(!1),S=jt("tooltip"),A=T(),O=y().Children.only(r),{"aria-labelledby":L,"aria-describedby":k}=O?.props??{},M=!!o,B={onFocus:()=>!C&&v(!0),onBlur:()=>{v(!1),$(!1)},onClick:()=>c&&v(!1),onMouseEnter:D,onMouseLeave:P,onMouseDown:function(){$(!0),z()},onMouseMove:function(e){1===e.buttons?N(!0):N(!1)},onTouchStart:z,"aria-labelledby":L??(M?S:void 0),"aria-describedby":k??(M?void 0:S)},I=(0,g.useCallback)(e=>{b&&Mt(e,Ot)&&(e.stopPropagation(),v(!1)),b&&c&&(Mt(e,At)||Mt(e,Lt))&&v(!1)},[c,b,v]);function D(){f?.onMouseEnter||(_(!0),v(!0,i))}function P(){_(!1),E||v(!1,l)}function z(){N(!0)}x(()=>{if(b)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){Mt(e,Ot)&&I(e)}},[b,I]);const H=(0,g.useCallback)(()=>{N(!1),R||v(!1,l)},[R,l,v]);return qt(h,"The Tooltip component must have no interactive content rendered by the`label` or `description` prop"),(0,g.useEffect)(()=>(E&&Gt.forEach(e=>{document.addEventListener(e,H)}),()=>{Gt.forEach(e=>{document.removeEventListener(e,H)})}),[E,H]),y().createElement(Tt,p({as:e,ref:m},f,{align:t,className:w()(`${A}--tooltip`,n),dropShadow:u,highContrast:d,onKeyDown:I,onMouseLeave:P,open:b}),y().createElement("div",{className:`${A}--tooltip-trigger__wrapper`},void 0!==O?y().cloneElement(O,{...B,...function(e){const t=Object.keys(B).filter(e=>e.startsWith("on")),n={};return t.forEach(t=>{n[t]=n=>{B[t](n),e?.[t]&&e?.[t](n)}}),n}(O.props)}):null),y().createElement(_t,{"aria-hidden":b?"false":"true",className:`${A}--tooltip-content`,id:S,onMouseEnter:D,role:"tooltip"},o||a))});Kt.propTypes={align:h().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top","top-start","top-end","bottom-start","bottom-end","left-end","left-start","right-end","right-start"]),children:h().node,className:h().string,closeOnActivation:h().bool,defaultOpen:h().bool,description:h().node,dropShadow:h().bool,enterDelayMs:h().number,highContrast:h().bool,label:h().node,leaveDelayMs:h().number};const Yt=y().forwardRef(function({as:e,children:t,className:n,dangerDescription:r="danger",disabled:o=!1,hasIconOnly:a=!1,href:i,iconDescription:l,isExpressive:s=!1,isSelected:c,kind:u="primary",onBlur:d,onClick:f,onFocus:p,onMouseEnter:m,onMouseLeave:h,renderIcon:g,size:b,tabIndex:v,type:E="button",...N},x){const C=T(),$={tabIndex:v,className:w()(n,{[`${C}--btn`]:!0,[`${C}--btn--xs`]:"xs"===b&&!s,[`${C}--btn--sm`]:"sm"===b&&!s,[`${C}--btn--md`]:"md"===b&&!s,[`${C}--btn--lg`]:"lg"===b&&!s,[`${C}--btn--xl`]:"xl"===b,[`${C}--btn--2xl`]:"2xl"===b,[`${C}--layout--size-${b}`]:b,[`${C}--btn--${u}`]:u,[`${C}--btn--disabled`]:o,[`${C}--btn--expressive`]:s,[`${C}--btn--icon-only`]:a,[`${C}--btn--selected`]:a&&c&&"ghost"===u}),ref:x},R=g?y().createElement(g,{"aria-label":l,className:`${C}--btn__icon`,"aria-hidden":"true"}):null,_=["danger","danger--tertiary","danger--ghost"];let S="button";const A=jt("danger-description"),{"aria-pressed":O,"aria-describedby":L}=N;let k={disabled:o,type:E,"aria-describedby":_.includes(u)?A:L||void 0,"aria-pressed":O??(a&&"ghost"===u?c:void 0)};const M={href:i};let B=null;return _.includes(u)&&(B=y().createElement("span",{id:A,className:`${C}--visually-hidden`},r)),e?(S=e,k={...k,...M}):i&&!o&&(S="a",k=M),y().createElement(S,{onMouseEnter:m,onMouseLeave:h,onFocus:p,onBlur:d,onClick:f,...N,...$,...k},B,t,R)}),Xt=y().forwardRef(function({className:e,count:t,...n},r){const o=T(),a=w()(`${o}--badge-indicator`,e,{[`${o}--badge-indicator--count`]:t}),i=t&&t>999?"999+":t;return y().createElement("div",p({className:a,ref:r},n),i)});Xt.propTypes={className:h().string,count:h().number,id:h().string};const Jt=["primary","secondary","ghost","tertiary"],Qt=y().forwardRef(({align:e,autoAlign:t=!1,badgeCount:n,children:r,className:o,closeOnActivation:a=!0,defaultOpen:i=!1,disabled:l,dropShadow:s=!1,enterDelayMs:c=100,highContrast:u=!0,kind:d,label:f,leaveDelayMs:m=100,wrapperClasses:h,size:g,isSelected:b,...v},E)=>{const N=T(),x=w()(h,`${N}--icon-tooltip`,{[`${N}--icon-tooltip--disabled`]:l});!n||"ghost"===d&&"lg"===g||console.warn("The prop BadgeCount must be used with hasIconOnly=true, kind='ghost' and size='lg'");const C=jt("badge-indicator");return y().createElement(Kt,{align:e,autoAlign:t,closeOnActivation:a,className:x,defaultOpen:i,dropShadow:s,enterDelayMs:c,highContrast:u,label:f,leaveDelayMs:m},y().createElement(Yt,p({},v,{disabled:l,kind:d,ref:E,size:g,isSelected:b,hasIconOnly:!0,className:o,"aria-describedby":v["aria-describedby"]||n&&C}),r,!l&&void 0!==n&&y().createElement(Xt,{id:C,count:n>0?n:void 0})))});Qt.propTypes={align:N(h().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top","top-start","top-end","bottom-start","bottom-end","left-end","left-start","right-end","right-start"]),["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"],S),autoAlign:h().bool,badgeCount:h().number,href:h().string,children:h().node,className:h().string,closeOnActivation:h().bool,defaultOpen:h().bool,dropShadow:h().bool,disabled:h().bool,enterDelayMs:h().number,isSelected:h().bool,highContrast:h().bool,kind:h().oneOf(Jt),label:h().node.isRequired,leaveDelayMs:h().number,rel:h().string,size:h().oneOf(["sm","md","lg"]),target:h().string,wrapperClasses:h().string};const en=["primary","secondary","danger","ghost","danger--primary","danger--ghost","danger--tertiary","tertiary"],tn=y().forwardRef((e,t)=>{const{as:n,autoAlign:r=!1,children:o,hasIconOnly:a=!1,tooltipHighContrast:i=!0,tooltipDropShadow:l=!1,iconDescription:s,kind:c="primary",onBlur:u,onClick:d,onFocus:f,onMouseEnter:m,onMouseLeave:h,renderIcon:g,size:b,tooltipAlignment:v="center",tooltipPosition:w="top",...E}=e;!g||o||s||console.error("Button: renderIcon property specified without also providing an iconDescription property. This may impact accessibility for screen reader users.");const N=g?y().createElement(g,null):null;if(function(e){return!0===e}(a)){let e;return"top"!==w&&"bottom"!==w||("center"===v&&(e=w),"end"===v&&(e=`${w}-end`),"start"===v&&(e=`${w}-start`)),"right"!==w&&"left"!==w||(e=w),y().createElement(Qt,p({},E,{ref:t,as:n,align:e,label:s,kind:c,size:b,highContrast:i,dropShadow:l,onMouseEnter:m,onMouseLeave:h,onFocus:f,onBlur:u,autoAlign:r,onClick:d,renderIcon:N?null:g}),N??o)}{const{tooltipAlignment:n,...r}=e;return y().createElement(Yt,p({ref:t},r))}});tn.displayName="Button",tn.propTypes={as:h().oneOfType([h().func,h().string,h().elementType]),autoAlign:h().bool,children:h().node,className:h().string,dangerDescription:h().string,disabled:h().bool,hasIconOnly:h().bool,href:h().string,iconDescription:e=>!e.renderIcon||e.children||e.iconDescription?null:new Error("renderIcon property specified without also providing an iconDescription property."),isExpressive:h().bool,isSelected:h().bool,kind:(e,t,n)=>{const{hasIconOnly:r}=e,o=r?Jt:en;return void 0===e[t]||o.includes(e[t])?null:new Error(`Invalid prop \`${t}\` supplied to \`${n}\`. Expected one of ${o.join(", ")}.`)},onBlur:h().func,onClick:h().func,onFocus:h().func,onMouseEnter:h().func,onMouseLeave:h().func,rel:h().string,renderIcon:h().oneOfType([h().func,h().object]),role:h().string,size:h().oneOf(["xs","sm","md","lg","xl","2xl"]),tabIndex:h().number,target:h().string,tooltipAlignment:h().oneOf(["start","center","end"]),tooltipDropShadow:h().bool,tooltipHighContrast:h().bool,tooltipPosition:h().oneOf(["top","right","bottom","left"]),type:h().oneOf(["button","reset","submit"])};var nn=n(524);const rn=y().createContext(1),on=["one","two","three"],an=[0,1,2],ln=an[0],sn=an[an.length-1],cn=y().forwardRef((e,t)=>{const{as:n,className:r,children:o,level:a,withBackground:i=!1,...l}=e,s=y().useContext(rn),c=a??s,u=T(),d=w()(`${u}--layer-${on[c]}`,{[`${u}--layer__with-background`]:i},r),f=(h=c+1,g=ln,b=sn,Math.min(b,Math.max(g,h))),m=n||"div";var h,g,b;return y().createElement(rn.Provider,{value:f},y().createElement(m,p({ref:t},l,{className:d}),o))});cn.displayName="Layer",cn.propTypes={as:h().oneOfType([h().func,h().string,h().elementType]),children:h().node,className:h().string,level:h().oneOf([0,1,2]),withBackground:h().bool};var un,dn,fn,pn,mn,hn,gn,bn,yn,vn,wn,En,Nn,xn,Cn,$n=n(9247);const Tn=y().forwardRef(function({children:e,size:t=16,...n},r){return y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},un||(un=y().createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z"})),e)}),Rn=y().forwardRef(function({children:e,size:t=16,...n},r){return y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},dn||(dn=y().createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z"})),fn||(fn=y().createElement("path",{fill:"none",d:"M14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z","data-icon-path":"inner-path"})),e)}),_n=y().forwardRef(function({children:e,size:t=16,...n},r){return 16===t||"16"===t||"16px"===t?y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...n},pn||(pn=y().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z"})),mn||(mn=y().createElement("path",{d:"M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z","data-icon-path":"inner-path",opacity:"0"})),e):20===t||"20"===t||"20px"===t?y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...n},hn||(hn=y().createElement("path",{d:"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z"})),gn||(gn=y().createElement("path",{fill:"none",d:"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z","data-icon-path":"inner-path",opacity:"0"})),e):24===t||"24"===t||"24px"===t?y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...n},bn||(bn=y().createElement("path",{d:"M12,1C6,1,1,6,1,12s5,11,11,11s11-4.9,11-11S18.1,1,12,1z M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z"})),yn||(yn=y().createElement("path",{fill:"none",d:"M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z","data-icon-path":"inner-path",opacity:"0"})),e):y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},vn||(vn=y().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z"})),wn||(wn=y().createElement("path",{fill:"none",d:"M14 21.591L9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z","data-icon-path":"inner-path"})),e)}),Sn=y().forwardRef(function({children:e,size:t=16,...n},r){return"glyph"===t||"glyph"===t||"glyphpx"===t?y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 6",fill:"currentColor",...n},En||(En=y().createElement("path",{d:"M5 6L0 1 0.7 0.3 5 4.6 9.3 0.3 10 1z"})),e):16===t||"16"===t||"16px"===t?y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...n},Nn||(Nn=y().createElement("path",{d:"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z"})),e):y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},xn||(xn=y().createElement("path",{d:"M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z"})),e)}),An=y().forwardRef(function({children:e,size:t=16,...n},r){return y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},Cn||(Cn=y().createElement("path",{d:"M17.4141 16L24 9.4141 22.5859 8 16 14.5859 9.4143 8 8 9.4141 14.5859 16 8 22.5859 9.4143 24 16 17.4141 22.5859 24 24 22.5859 17.4141 16z"})),e)}),On=y().forwardRef(function({buttonOnClick:e,children:t,className:n,closeClassName:r,closeIconClassName:o,closeModal:a,iconDescription:i="Close",label:l,labelClassName:s,title:c,titleClassName:u,...d},f){const m=T(),h=w()(`${m}--modal-header`,n),g=w()(`${m}--modal-header__label ${m}--type-delta`,s),b=w()(`${m}--modal-header__heading ${m}--type-beta`,u),v=w()(`${m}--modal-close`,r),E=w()(`${m}--modal-close__icon`,o);return y().createElement("div",p({className:h},d,{ref:f}),l&&y().createElement("h2",{className:g},l),c&&y().createElement("h2",{className:b},c),t,y().createElement("div",{className:`${m}--modal-close-button`},y().createElement(Qt,{className:v,label:i,onClick:function(t){a?.(t),e?.(t)},"aria-label":i,align:"left"},y().createElement(An,{size:20,"aria-hidden":"true",tabIndex:"-1",className:E}))))});On.propTypes={buttonOnClick:h().func,children:h().node,className:h().string,closeClassName:h().string,closeIconClassName:h().string,closeModal:h().func,iconDescription:h().string,label:h().node,labelClassName:h().string,title:h().node,titleClassName:h().string};const Ln=(0,g.forwardRef)((e,t)=>{const{children:n,className:r,stacked:o,...a}=e,i=T(),l=w()(r,`${i}--btn-set`,{[`${i}--btn-set--stacked`]:o});return y().createElement("div",p({},a,{className:l,ref:t}),n)});Ln.displayName="ButtonSet",Ln.propTypes={children:h().node,className:h().string,stacked:h().bool};const kn=()=>{};var Mn=n(68622);function Bn({active:e=!0,className:t,withOverlay:n=!0,small:r=!1,description:o="loading",...a}){const i=T(),l=w()(t,{[`${i}--loading`]:!0,[`${i}--loading--small`]:r,[`${i}--loading--stop`]:!e}),s=w()({[`${i}--loading-overlay`]:!0,[`${i}--loading-overlay--stop`]:!e}),c=y().createElement("div",p({},a,{"aria-atomic":"true","aria-live":e?"assertive":"off",className:l}),y().createElement("svg",{className:`${i}--loading__svg`,viewBox:"0 0 100 100"},y().createElement("title",null,o),r?y().createElement("circle",{className:`${i}--loading__background`,cx:"50%",cy:"50%",r:"42"}):null,y().createElement("circle",{className:`${i}--loading__stroke`,cx:"50%",cy:"50%",r:r?"42":"44"})));return n?y().createElement("div",{className:s},c):c}Bn.propTypes={active:h().bool,className:h().string,description:h().string,id:Nt(h().string),small:h().bool,withOverlay:h().bool};const In=({className:e,status:t="active",iconDescription:n,description:r,onSuccess:o,successDelay:a=1500,...i})=>{const l=T(),s=w()(`${l}--inline-loading`,e),c=(0,g.useRef)(null);(0,g.useEffect)(()=>("finished"===t&&(c.current=setTimeout(()=>{o&&o()},a)),()=>{c.current&&(clearTimeout(c.current),c.current=null)}),[t,o,a]);const u=r&&y().createElement("div",{className:`${l}--inline-loading__text`},r),d=(()=>{let e=n||t;return"error"===t?y().createElement(Mn.x,{className:`${l}--inline-loading--error`},y().createElement("title",null,e)):"finished"===t?y().createElement(_n,{className:`${l}--inline-loading__checkmark-container`},y().createElement("title",null,e)):"active"===t?(n||(e="loading"),y().createElement(Bn,{small:!0,description:e,withOverlay:!1,active:"active"===t})):"inactive"===t?(n||(e="not loading"),y().createElement("title",{className:`${l}--inline-loading__inactive-status`},e)):void 0})(),f=d&&y().createElement("div",{className:`${l}--inline-loading__animation`},d);return y().createElement("div",p({className:s},i,{"aria-live":i["aria-live"]??"assertive"}),f,u)};function Dn({secondaryButtons:e,secondaryButtonText:t,secondaryClassName:n,closeModal:r,onRequestClose:o,disabled:a}){function i(e){r(e),o(e)}return Array.isArray(e)&&e.length<=2?y().createElement(y().Fragment,null,e.map(({buttonText:e,onClick:t},r)=>y().createElement(tn,{key:`${e}-${r}`,className:n,kind:"secondary",onClick:t||i},e))):t?y().createElement(tn,{disabled:a,className:n,onClick:i,kind:"secondary"},t):null}In.propTypes={className:h().string,description:h().node,iconDescription:h().string,onSuccess:h().func,status:h().oneOf(["inactive","active","finished","error"]),successDelay:h().number},Dn.propTypes={closeModal:h().func,disabled:h().bool,onRequestClose:h().func,secondaryButtonText:h().string,secondaryButtons:(e,t,n)=>{if(e.secondaryButtons){if(!Array.isArray(e.secondaryButtons)||2!==e.secondaryButtons.length)return new Error(`${t} needs to be an array of two button config objects`);const r={buttonText:h().node,onClick:h().func};e[t].forEach(e=>{h().checkPropTypes(r,e,t,n)})}return null},secondaryClassName:h().string};const Pn=y().forwardRef(function({children:e,className:t,closeModal:n=kn,danger:r,inputref:o,onRequestClose:a=kn,onRequestSubmit:i=kn,primaryButtonDisabled:l,primaryButtonText:s,primaryClassName:c,secondaryButtonText:u,secondaryButtons:d,secondaryClassName:f,loadingStatus:m="inactive",loadingDescription:h,loadingIconDescription:g,onLoadingSuccess:b=kn,...v},E){const N=T(),x=w()(`${N}--modal-footer`,t,Array.isArray(d)&&2===d.length?`${N}--modal-footer--three-button`:null),C=w()(c,"inactive"!==m?`${N}--btn--loading`:null),$="inactive"!==m,R={closeModal:n,secondaryButtons:d,secondaryButtonText:u,secondaryClassName:f,onRequestClose:a,disabled:$};return y().createElement(Ln,p({className:x},v,{ref:E,"aria-busy":$}),y().createElement(Dn,R),s&&y().createElement(tn,{onClick:i,className:C,disabled:$||l,kind:r?"danger":"primary",ref:o},"inactive"===m?s:y().createElement(In,{status:m,description:h,iconDescription:g,className:`${N}--inline-loading--btn`,onSuccess:b})),e)});Pn.propTypes={children:h().node,className:h().string,closeModal:h().func,danger:h().bool,inputref:h().oneOfType([h().func,h().shape({current:h().any})]),loadingDescription:h().string,loadingIconDescription:h().string,loadingStatus:h().oneOf(["inactive","active","finished","error"]),onLoadingSuccess:h().func,onRequestClose:h().func,onRequestSubmit:h().func,primaryButtonDisabled:h().bool,primaryButtonText:h().string,primaryClassName:h().string,secondaryButtonText:h().string,secondaryButtons:(e,t,n)=>{if(e.secondaryButtons){if(!Array.isArray(e.secondaryButtons)||2!==e.secondaryButtons.length)return new Error(`${t} needs to be an array of two button config objects`);const r={buttonText:h().node,onClick:h().func};e[t].forEach(e=>{h().checkPropTypes(r,e,t,n)})}return null},secondaryClassName:h().string};const zn=(...e)=>t=>{e.forEach(e=>{e&&("function"==typeof e?e(t):"object"==typeof e&&"current"in e&&(e.current=t))})},Hn=(e,t,n)=>{e.classList.toggle(t,n)};var Vn=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),Fn="undefined"==typeof Element,jn=Fn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,qn=!Fn&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Un=function e(t,n){var r;void 0===n&&(n=!0);var o=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},Wn=function e(t,n,r){for(var o=[],a=Array.from(t);a.length;){var i=a.shift();if(!Un(i,!1))if("SLOT"===i.tagName){var l=i.assignedElements(),s=e(l.length?l:i.children,!0,r);r.flatten?o.push.apply(o,s):o.push({scopeParent:i,candidates:s})}else{jn.call(i,Vn)&&r.filter(i)&&(n||!t.includes(i))&&o.push(i);var c=i.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(i),u=!Un(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(c&&u){var d=e(!0===c?i.children:c.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:i,candidates:d})}else a.unshift.apply(a,i.children)}}return o},Zn=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Gn=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!Zn(e)?0:e.tabIndex},Kn=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Yn=function(e){return"INPUT"===e.tagName},Xn=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},Jn=function(e,t){return!(t.disabled||Un(t)||function(e){return Yn(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=jn.call(e,"details>summary:first-of-type")?e.parentElement:e;if(jn.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return Xn(e)}else{if("function"==typeof r){for(var a=e;e;){var i=e.parentElement,l=qn(e);if(i&&!i.shadowRoot&&!0===r(i))return Xn(e);e=e.assignedSlot?e.assignedSlot:i||l===e.ownerDocument?i:l.host}e=a}if(function(e){var t,n,r,o,a=e&&qn(e),i=null===(t=a)||void 0===t?void 0:t.host,l=!1;if(a&&a!==e)for(l=!!(null!==(n=i)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(i)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!l&&i;){var s,c,u;l=!(null===(c=i=null===(s=a=qn(i))||void 0===s?void 0:s.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(i))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!jn.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},Qn=function(e,t){return!(function(e){return function(e){return Yn(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||qn(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){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",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)}(t)||Gn(t)<0||!Jn(e,t))},er=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},tr=function e(t){var n=[],r=[];return t.forEach(function(t,o){var a=!!t.scopeParent,i=a?t.scopeParent:t,l=function(e,t){var n=Gn(e);return n<0&&t&&!Zn(e)?0:n}(i,a),s=a?e(t.candidates):i;0===l?a?n.push.apply(n,s):n.push(i):r.push({documentOrder:o,tabIndex:l,item:t,isScope:a,content:s})}),r.sort(Kn).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)};const nr="\n a[href], area[href], input:not([disabled]):not([tabindex='-1']),\n button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),\n textarea:not([disabled]):not([tabindex='-1']),\n iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true]\n",rr="undefined"!=typeof Node?Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINS:0,or="undefined"!=typeof Node?Node.DOCUMENT_POSITION_FOLLOWING|Node.DOCUMENT_POSITION_CONTAINED_BY:0,ar=(e,t=[])=>e instanceof Element&&"function"==typeof e.closest&&[".cds--overflow-menu-options",".cds--tooltip",".flatpickr-calendar",...t].some(t=>!!e.closest(t)),ir=({bodyNode:e,startTrapNode:t,endTrapNode:n,currentActiveNode:r,oldActiveNode:o,selectorsFloatingMenus:a})=>{if(e&&r&&o&&!e.contains(r)&&!ar(r,a)){const a=o.compareDocumentPosition(r);if(r===t||a&rr){const t=Array.from(e.querySelectorAll(nr)).reverse().find(({offsetParent:e})=>Boolean(e));t?t.focus():e!==o&&e.focus()}else if(r===n||a&or){const t=Array.from(e.querySelectorAll(nr)).find(({offsetParent:e})=>Boolean(e));t?t.focus():e!==o&&e.focus()}}},lr=({containerNode:e,currentActiveNode:t,event:n})=>{if(!e)return;["blur","focusout","focusin","focus"].includes(n.type);const r=(i=e,s=(l=l||{}).getShadowRoot?Wn([i],l.includeContainer,{filter:Qn.bind(null,l),flatten:!1,getShadowRoot:l.getShadowRoot,shadowRootFilter:er}):function(e,t,n){if(Un(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(Vn));return t&&jn.call(e,Vn)&&r.unshift(e),r.filter(n)}(i,l.includeContainer,Qn.bind(null,l)),tr(s)),o=r[0],a=r[r.length-1];var i,l,s;t!==a||n.shiftKey||(n.preventDefault(),o.focus()),t===o&&n.shiftKey&&(n.preventDefault(),a.focus())},sr=e=>(t,...n)=>{for(const r of e){if(t.defaultPrevented)break;"function"==typeof r&&r(t,...n)}},cr=(0,g.createContext)({direction:"auto",getTextDirection:{current:void 0}}),ur=y().forwardRef(({as:e,children:t,dir:n="auto",...r},o)=>{const a=(0,g.useContext)(cr),i={},l=e??"span",s={...a};if(a){const{direction:e,getTextDirection:r}=a;if(r&&r.current){const n=dr(t),o=r.current(n);e!==o?(i.dir=o,s.direction=o):"auto"===e&&(i.dir=o)}else e!==n?(i.dir=n,s.direction=n):"auto"===e&&(i.dir=n)}else i.dir=n,s.direction=n;return y().createElement(cr.Provider,{value:s},y().createElement(l,p({ref:o},r,i),t))});ur.propTypes={as:h().oneOfType([h().func,h().string,h().elementType]),children:h().node.isRequired,dir:h().oneOf(["ltr","rtl","auto"])};const dr=e=>{if("string"==typeof e)return e;const t=g.Children.map(e,e=>"string"==typeof e?e:null)?.filter(e=>null!==e);return 1===t?.length?t[0]:t};function fr(e,t=0,n={}){"object"!=typeof n&&(n={});const{signal:r,leading:o=!1,trailing:a=!0,maxWait:i}=n,l=Array(2);let s;o&&(l[0]="leading"),a&&(l[1]="trailing");let c=null;const u=function(e,t,{signal:n,edges:r}={}){let o,a=null;const i=null!=r&&r.includes("leading"),l=null==r||r.includes("trailing"),s=()=>{null!==a&&(e.apply(o,a),o=void 0,a=null)};let c=null;const u=()=>{null!=c&&clearTimeout(c),c=setTimeout(()=>{c=null,l&&s(),f()},t)},d=()=>{null!==c&&(clearTimeout(c),c=null)},f=()=>{d(),o=void 0,a=null},p=function(...e){if(n?.aborted)return;o=this,a=e;const t=null==c;u(),i&&t&&s()};return p.schedule=u,p.cancel=f,p.flush=()=>{d(),s()},n?.addEventListener("abort",f,{once:!0}),p}(function(...t){s=e.apply(this,t),c=null},t,{signal:r,edges:l}),d=function(...t){if(null!=i)if(null===c)c=Date.now();else if(Date.now()-c>=i)return s=e.apply(this,t),c=Date.now(),u.cancel(),u.schedule(),s;return u.apply(this,t),s};return d.cancel=u.cancel,d.flush=()=>(u.flush(),s),d}const pr=(0,g.createContext)({}),mr=y().forwardRef(({children:e,className:t,focusAfterCloseRef:n,modal:r,onCancel:o=kn,onClick:a=kn,onClose:i=kn,onRequestClose:l=kn,open:s=!1,role:c,ariaLabel:u,ariaLabelledBy:d,ariaDescribedBy:f,...m},h)=>{const b=T(),v=jt(),E=`${b}--dialog-header__heading--${v}`,N=`${b}--dialog-header__label--${v}`,x=(0,g.useRef)(null),C=h??x;(0,g.useEffect)(()=>{C.current&&(s?r?C.current.showModal():C.current.show():C.current.close())},[r,s]),(0,g.useEffect)(()=>{if(!s&&n){const e=setTimeout(()=>{n.current?.focus()});return()=>{clearTimeout(e)}}},[s,n]);const $=w()(`${b}--dialog-container`),R={dialogId:v,titleId:E,subtitleId:N,isOpen:s};return(0,g.useEffect)(()=>{if(C.current&&s&&!u&&!d){const e=C.current.querySelector(`.${b}--dialog-header__heading`);e&&e.id&&C.current.setAttribute("aria-labelledby",e.id)}},[s,u,d,b]),y().createElement(pr.Provider,{value:R},y().createElement("dialog",p({},m,{className:w()(`${b}--dialog`,{[`${b}--dialog--modal`]:r},t),ref:C,onCancel:o,onClick:function(e){!function(e){s&&r&&e.target===C.current&&l(e)}(e),a(e)},onClose:i,role:c,"aria-label":u,"aria-labelledby":u?void 0:d||E,"aria-describedby":f}),y().createElement("div",{className:$},e)))});mr.displayName="Dialog",mr.propTypes={children:h().node,className:h().string,focusAfterCloseRef:h().oneOfType([h().func,h().shape({current:h().any})]),modal:h().bool,onRequestClose:h().func,open:h().bool,role:h().oneOf(["dialog","alertdialog"]),"aria-label":h().string,"aria-labelledby":h().string,ariaDescribedBy:h().string};const hr=y().forwardRef(({children:e,...t},n)=>{const r=T();return y().createElement("div",p({className:`${r}--dialog__header`,ref:n},t),e)});hr.displayName="DialogHeader",hr.propTypes={children:h().node};const gr=y().forwardRef(({children:e,...t},n)=>{const r=T();return y().createElement("div",p({className:`${r}--dialog__header-controls`,ref:n},t),e)});gr.displayName="DialogControls",gr.propTypes={children:h().node};const br=y().forwardRef(({onClick:e,...t},n)=>{const r=T();return y().createElement(Qt,p({kind:"ghost",className:`${r}--dialog__close`,label:"Close",title:"Close","aria-label":"Close",align:"left",onClick:e,ref:n},t),y().createElement(An,{size:20,"aria-hidden":"true",tabIndex:-1,className:`${r}--icon__close`}))});br.displayName="DialogCloseButton",br.propTypes={onClick:h().func};const yr=y().forwardRef(({children:e,className:t,id:n,...r},o)=>{const a=T(),{titleId:i}=(0,g.useContext)(pr),l=n||i;return y().createElement(ur,p({as:"h2",id:l,className:w()(`${a}--dialog-header__heading`,t),ref:o},r),e)});yr.displayName="DialogTitle",yr.propTypes={children:h().node,className:h().string,id:h().string};const vr=y().forwardRef(({children:e,className:t,id:n,...r},o)=>{const a=T(),{subtitleId:i}=(0,g.useContext)(pr),l=n||i;return y().createElement(ur,p({as:"h2",id:l,className:w()(`${a}--dialog-header__label`,t),ref:o},r),e)});vr.displayName="DialogSubtitle",vr.propTypes={children:h().node,className:h().string,id:h().string};const wr=y().forwardRef(({children:e,className:t,hasScrollingContent:n,...r},o)=>{const a=T(),i=(0,g.useRef)(null),[l,s]=(0,g.useState)(!1),c=`${a}--dialog-body--${jt()}`;x(()=>{i.current&&s(i.current.scrollHeight>i.current.clientHeight);const e=fr(function(){i.current&&s(i.current.scrollHeight>i.current.clientHeight)},200);return window.addEventListener("resize",e),()=>{e.cancel(),window.removeEventListener("resize",e)}},[]);const u=w()(`${a}--dialog-content`,{[`${a}--dialog-scroll-content`]:n||l},t),d=n||l?{tabIndex:0,role:"region"}:{};return y().createElement(cn,p({ref:e=>{"function"==typeof o?o(e):o&&(o.current=e),i.current=e},id:c,className:u},d,r),e)});wr.displayName="DialogBody",wr.propTypes={children:h().node,className:h().string,hasScrollingContent:h().bool};const Er=y().forwardRef(({children:e,className:t,onRequestClose:n=kn,onSecondarySubmit:r,onRequestSubmit:o=kn,primaryButtonText:a="Save",primaryButtonDisabled:i=!1,secondaryButtonText:l="Cancel",secondaryButtons:s,loadingStatus:c="inactive",loadingDescription:u,loadingIconDescription:d,onLoadingSuccess:f=kn,danger:m=!1,...h},b)=>{const v=T(),E=(0,g.useRef)(null),{isOpen:N}=(0,g.useContext)(pr),[x,C]=(0,g.useState)(null);(0,g.useEffect)(()=>{if(m&&x){const e=requestAnimationFrame(()=>{x.focus()});return()=>cancelAnimationFrame(e)}},[m,x,N]);const $=w()(`${v}--dialog-footer`,t,{[`${v}--dialog-footer--three-button`]:Array.isArray(s)&&2===s.length}),R="inactive"!==c,_=w()({[`${v}--btn--loading`]:"inactive"!==c}),S=r||n;return e?y().createElement(Ln,p({className:$,ref:b},h),e):y().createElement(Ln,p({className:$,"aria-busy":R,ref:b},h),Array.isArray(s)&&s.length<=2?s.map(({buttonText:e,onClick:t},n)=>y().createElement(tn,{key:`${e}-${n}`,autoFocus:m,kind:"secondary",ref:0===n&&m?C:void 0,onClick:t},e)):l&&y().createElement(tn,{ref:m?C:void 0,disabled:R,kind:"secondary",autoFocus:m,onClick:S},l),y().createElement(tn,{className:_,kind:m?"danger":"primary",disabled:R||i,onClick:o,ref:E},"inactive"===c?a:y().createElement(In,{status:c,description:u,iconDescription:d,className:`${v}--inline-loading--btn`,onSuccess:f})))});Er.displayName="DialogFooter",Er.propTypes={children:h().node,className:h().string,onRequestClose:h().func,onSecondarySubmit:h().func,onRequestSubmit:h().func,primaryButtonText:h().node,primaryButtonDisabled:h().bool,secondaryButtonText:h().node,secondaryButtons:(e,t,n)=>{if(e.secondaryButtons){if(!Array.isArray(e.secondaryButtons)||2!==e.secondaryButtons.length)return new Error(`${t} needs to be an array of two button config objects`);const r={buttonText:h().node,onClick:h().func};e[t].forEach(e=>{h().checkPropTypes(r,e,t,n)})}return null},danger:h().bool,loadingStatus:h().oneOf(["inactive","active","finished","error"]),loadingDescription:h().string,loadingIconDescription:h().string,onLoadingSuccess:h().func},h().elementType,h().node,h().string;const Nr=y().createContext(void 0);function xr(){return(0,g.useContext)(Nr)}function Cr({align:e,as:t,autoAlign:n,className:r,children:o,defaultOpen:a=!1,...i}){const l=(0,g.useRef)(null),[s,c]=(0,g.useState)(a),u=T(),d=jt(),f=w()(`${u}--toggletip`,r,{[`${u}--toggletip--open`]:s,[`${u}--autoalign`]:n}),m={toggle:()=>{c(!s)},close:()=>{c(!1)}},h={buttonProps:{"aria-expanded":s,"aria-controls":d,"aria-describedby":s?d:void 0,onClick:m.toggle},contentProps:{id:d},onClick:{onClick:m.toggle}};return R("blur",()=>{s&&m.close()}),(0,g.useEffect)(()=>{if(!l.current)return;const e=l.current.ownerDocument||document,t="PointerEvent"in window?"pointerdown":"mousedown",n=e=>{const t=e.target;s&&t&&!l.current.contains(t)&&c(!1)},r={capture:!0};return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}},[s]),y().createElement(Nr.Provider,{value:h},y().createElement(Tt,p({align:e,as:t,caret:!0,className:f,dropShadow:!1,highContrast:!0,open:s,onKeyDown:e=>{if(s&&Mt(e,Ot)){e.stopPropagation(),m.close();const t=l.current?.children[0];t instanceof HTMLButtonElement&&t.focus()}},onBlur:e=>{s&&null===e.relatedTarget||e.currentTarget.contains(e.relatedTarget)||m.close()},ref:l,autoAlign:n},i),o))}const{open:$r,...Tr}=Tt.propTypes??{};Cr.propTypes={...Tr,defaultOpen:h().bool};const Rr=y().forwardRef(function({children:e,className:t,label:n="Show information",as:r,...o},a){const i=xr(),l=T(),s=w()(`${l}--toggletip-button`,t),c=r??"button";return"button"!==c?y().createElement(c,p({},i?.onClick,{className:s},o),e):y().createElement("button",p({},i?.buttonProps,{"aria-label":n,type:"button",className:s,ref:a},o),e)});Rr.propTypes={children:h().node,className:h().string,label:h().string},Rr.displayName="ToggletipButton";const _r=y().forwardRef(function({children:e,className:t},n){const r=xr(),o=T();return y().createElement(_t,p({className:t},r?.contentProps,{ref:n}),y().createElement("div",{className:`${o}--toggletip-content`},e))});function Sr({children:e,className:t}){const n=T(),r=w()(`${n}--toggletip-actions`,t);return y().createElement("div",{className:r},e)}var Ar;_r.propTypes={children:h().node,className:h().string},_r.displayName="ToggletipContent",Sr.propTypes={children:h().node,className:h().string};const Or=y().forwardRef(function({children:e,size:t=16,...n},r){return y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},Ar||(Ar=y().createElement("path",{d:"M20,10H7.8149l3.5874-3.5859L10,5,4,11,10,17l1.4023-1.4146L7.8179,12H20a6,6,0,0,1,0,12H12v2h8a8,8,0,0,0,0-16Z"})),e)});var Lr;const kr=y().forwardRef(function({className:e,children:t},n){const r=T(),o=y().Children.toArray(t).some(e=>{e.type}),a=w()(e,{[`${r}--ai-label-content`]:!0,[`${r}--ai-label-content--with-actions`]:o});return y().createElement(_r,{className:a},t)});kr.displayName="AILabelContent",kr.propTypes={children:h().node,className:h().string};const Mr=y().forwardRef(function({className:e,children:t},n){const r=T(),o=w()(e,{[`${r}--ai-label-actions`]:!0});return y().createElement(Sr,{className:o},t)});Mr.displayName="AILabelActions",Mr.propTypes={children:h().node,className:h().string};const Br=y().forwardRef(function({aiText:e="AI",aiTextLabel:t,textLabel:n,align:r,autoAlign:o=!0,children:a,className:i,kind:l="default",onRevertClick:s,revertActive:c,revertLabel:u="Revert to AI input",slugLabel:d="Show information","aria-label":f="Show information",size:m="xs",...h},g){const b=T(),v=jt("AILabel"),E=w()(i,{[`${b}--ai-label`]:!0,[`${b}--ai-label--revert`]:c}),N=w()({[`${b}--ai-label__button`]:!0,[`${b}--ai-label__button--${m}`]:m,[`${b}--ai-label__button--${l}`]:l,[`${b}--ai-label__button--inline-with-content`]:"inline"===l&&(t||n)}),x=t||n?`${e} ${t||n}`:`${e} ${d||f}`,C=["xs","2xs","mini"].includes(m);return y().createElement("div",{className:E,ref:g,id:v},c?y().createElement(Qt,p({onClick:e=>{s&&s(e)},kind:"ghost",size:"sm",label:u},h),Lr||(Lr=y().createElement(Or,null))):y().createElement(Cr,p({align:r,autoAlign:o,alignmentAxisOffset:C?-24:0},h),y().createElement(Rr,{className:N,label:"inline"===l?"":x},y().createElement("span",{className:`${b}--ai-label__text`},e),"inline"===l&&(t||n)&&y().createElement("span",{className:`${b}--ai-label__additional-text`},t||n)),a))});Br.displayName="AILabel",Br.propTypes={...Cr.propTypes,AILabelContent:h().node,aiText:h().string,aiTextLabel:Nt(h().string),"aria-label":h().string,kind:h().oneOf(["default","inline"]),onRevertClick:h().func,revertActive:h().bool,revertLabel:h().string,size:h().oneOf(["mini","2xs","xs","sm","md","lg","xl"]),slugLabel:Nt(h().string),textLabel:h().string};const Ir=(e,t)=>(0,g.isValidElement)(e)&&e.type===t,Dr=e=>{const[t,n]=(0,g.useState)(!!e),[r,o]=(0,g.useState)(!!e);return(0,g.useEffect)(()=>{e!==r&&(n(!!e),o(!!e))},[e,r]),(0,g.useMemo)(()=>[t,n],[t])},Pr=({open:e,_presenceId:t,_autoEnablePresence:n=!0,children:r})=>{const o=Dr(e),[a]=o,[i,l]=((e,t)=>{const n=(0,g.useRef)(t),r=(0,g.useRef)(null),o=(0,g.useRef)(null);t||!o.current||r.current||(n.current=null),o.current=r.current;const{isPresent:a,isExiting:i}=((e,t)=>{const n=T(),[r,o]=(0,g.useState)(t?"idle":"finished"),a="active"===r;t||"idle"!==r||o("active"),t&&"idle"!==r&&o("idle");const i=(0,g.useCallback)(()=>{o("finished")},[]);return(0,g.useLayoutEffect)(()=>{if(!e.current||!a)return;if(!("getAnimations"in e.current))return void i();const t=e.current.getAnimations({subtree:!0}).filter(e=>e instanceof CSSAnimation&&e.animationName.startsWith(`${n}--presence`));if(!t.length)return void i();let r=!1;return Promise.all(t.map(e=>e.finished)).finally(()=>{r||i()}),()=>{r=!0}},[e,a,n,i]),{isPresent:t||"finished"!==r,isExiting:a}})(r,e),l=(0,g.useCallback)(e=>!(!e||n.current&&n.current!==e||(n.current=e,0)),[]);return[a,(0,g.useMemo)(()=>({presenceRef:r,isPresenceExclusive:l,isExiting:i}),[r,l,i])]})(a,t),s=(0,g.useMemo)(()=>({modalState:o,autoEnablePresence:n,...l}),[o,n,l]);return i?y().createElement(zr,{value:s},r):null},zr=(0,g.createContext)(void 0),Hr=y().forwardRef(function({className:e,children:t,hasForm:n,hasScrollingContent:r,...o},a){const i=T(),l=(0,g.useRef)(null),[s,c]=(0,g.useState)(!1),u=w()({[`${i}--modal-content`]:!0,[`${i}--modal-content--with-form`]:n,[`${i}--modal-scroll-content`]:r||s},e);x(()=>{l.current&&c(l.current.scrollHeight>l.current.clientHeight);const e=fr(function(){l.current&&c(l.current.scrollHeight>l.current.clientHeight)},200);return window.addEventListener("resize",e),()=>{e.cancel(),window.removeEventListener("resize",e)}},[]);const d=r||s?{tabIndex:0,role:"region"}:{};return y().createElement(cn,p({className:u},d,o,{ref:zn(l,a)}),t)});var Vr;Hr.propTypes={"aria-label":(Vr=h().string,(e,t,n,...r)=>Vr(e,t,n,...r)),children:h().node,className:h().string,hasForm:h().bool,hasScrollingContent:h().bool};const Fr=y().forwardRef(function({open:e,...t},n){const r=jt(),o=Ct("enable-presence"),a=Boolean((0,g.useContext)(zr)),i=o||a,l=(e=>{const t=(0,g.useContext)(zr);return t?.isPresenceExclusive(e)?t:void 0})(r);return i&&!l?y().createElement(Pr,{open:e??!1,_presenceId:r,_autoEnablePresence:a},y().createElement(jr,p({open:!0,ref:n},t))):y().createElement(jr,p({ref:n,open:e},t))}),jr=y().forwardRef(function({"aria-labelledby":e,"aria-label":t,children:n,className:r,containerClassName:o,danger:a,decorator:i,isFullWidth:l,onClose:s,onKeyDown:c,open:u,preventCloseOnClickOutside:d,selectorPrimaryFocus:f="[data-modal-primary-focus]",selectorsFloatingMenus:m,size:h,launcherButtonRef:b,slug:v,...E},N){const x=T(),C=(0,g.useRef)(null),$=(0,g.useRef)(null),R=(0,g.useRef)(null),_=(0,g.useRef)(null),S=(0,g.useRef)(null),A=(0,g.useContext)(zr),O=function(e){const t=g.useRef(void 0),n=g.useCallback(t=>{const n=e.map(e=>{if(null!=e){if("function"==typeof e){const n=e,r=n(t);return"function"==typeof r?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}}});return()=>{n.forEach(e=>null==e?void 0:e())}},e);return g.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))},e)}([N,A?.presenceRef]),L=Ct("enable-presence")||A?.autoEnablePresence,k=u||L,M=Dr(k),[B,I]=A?.modalState??M,D=Ct("enable-dialog-element"),P=Ct("enable-experimental-focus-wrap-without-sentinels");function z(e){s&&!1===s(e)||I(!1)}(0,g.useEffect)(()=>{D||Hn(document.body,`${x}--body--with-modal-open`,!!k)},[k,x]),(0,g.useEffect)(()=>{if(!D)return()=>{Hn(document.body,`${x}--body--with-modal-open`,!1)}},[]);const H=w()(`${x}--modal`,{"is-visible":L||B,[`${x}--modal--enable-presence`]:A?.autoEnablePresence,[`${x}--modal--danger`]:a,[`${x}--modal--slug`]:v,[`${x}--modal--decorator`]:i},r),V=w()(`${x}--modal-container`,h&&`${x}--modal-container--${h}`,l&&`${x}--modal-container--full-width`,o);let F;const j=y().Children.toArray(n).map(e=>{switch(!0){case(0,nn.isElement)(e)&&e.type===y().createElement(On).type:{const t=e;return F=t.props.label,y().cloneElement(t,{closeModal:z})}case(0,nn.isElement)(e)&&e.type===y().createElement(Pn).type:{const t=e;return y().cloneElement(t,{closeModal:z,inputref:$,danger:a})}default:return e}}),q=!g.Children.toArray(j).some(e=>Ir(e,Pn));(0,g.useEffect)(()=>{if(!k)return;const e=e=>{Mt(e,Ot)&&(e.preventDefault(),e.stopPropagation(),z(e))};return document.addEventListener("keydown",e,!0),()=>{document.removeEventListener("keydown",e,!0)}},[k]),(0,g.useEffect)(()=>{D||L||k||!b||setTimeout(()=>{b.current?.focus()})},[D,L,k,b]),(0,g.useEffect)(()=>{const e=b?.current;return()=>{L&&e&&setTimeout(()=>{e.focus()})}},[L,b]),(0,g.useEffect)(()=>{if(!D){const e=e=>{const t=e||C.current;return(t?t.querySelector(a?`.${x}--btn--secondary`:f):null)||$&&$.current};k&&B&&(t=>{const n=e(t),r=t.querySelector(`.${x}--modal-close`);n?n.focus():!n&&r&&r?.focus()})(C.current)}},[k,f,B]);const U=v??i,W=Ir(U,Br)?(0,g.cloneElement)(U,{size:"sm"}):null,Z=D?y().createElement(mr,{open:k,focusAfterCloseRef:b,modal:!0,className:V,"aria-label":t||F,"aria-labelledby":e,"data-exiting":A?.isExiting||void 0},y().createElement("div",{ref:C,className:`${x}--modal-container-body`},v?W:i?y().createElement("div",{className:`${x}--modal--inner__decorator`},W):"",j)):y().createElement("div",{className:V,role:"dialog","aria-modal":"true","aria-label":t||F,"aria-labelledby":e},!P&&y().createElement("button",{type:"button",ref:R,className:`${x}--visually-hidden`},"Focus sentinel"),y().createElement("div",{ref:C,className:`${x}--modal-container-body`},v?W:i?y().createElement("div",{className:`${x}--modal--inner__decorator`},W):"",j),!P&&y().createElement("button",{type:"button",ref:_,className:`${x}--visually-hidden`},"Focus sentinel"));return y().createElement(cn,p({},E,{level:0,role:"presentation",ref:O,"aria-hidden":!k,onBlur:function({target:e,relatedTarget:t}){if(!D&&!P&&k&&t&&e&&C.current){const{current:n}=C,{current:r}=R,{current:o}=_;ir({bodyNode:n,startTrapNode:r,endTrapNode:o,currentActiveNode:t,oldActiveNode:e,selectorsFloatingMenus:m?.filter(Boolean)})}const n=document.querySelector(`.${x}--modal-content`);n&&n.classList.contains(`${x}--modal-scroll-content`)&&t&&n.contains(t)&&t.scrollIntoView({block:"center"})},onClick:sr([E?.onClick,function(e){const{target:t}=e,n=S.current;e.stopPropagation(),(q&&!d||!q&&!1===d)&&t instanceof Node&&!ar(t,m)&&C.current&&!C.current.contains(t)&&!C.current.contains(n)&&z(e)}]),onMouseDown:sr([E?.onMouseDown,function(e){const t=e.target;S.current=t}]),onKeyDown:function(e){D||P&&k&&Mt(e,St)&&C.current&&lr({containerNode:C.current,currentActiveNode:e.target,event:e}),c?.(e)},className:H,"data-exiting":A?.isExiting||void 0}),Z)});function qr({className:e,children:t,id:n,...r}){const o=T(),a=w()(`${o}--label`,`${o}--label--no-margin`,e);return y().createElement(ur,p({as:"label",htmlFor:n,className:a},r),t)}var Ur,Wr,Zr,Gr,Kr,Yr,Xr,Jr,Qr,eo,to;Fr.propTypes={"aria-label":h().string,"aria-labelledby":h().string,children:h().node,className:h().string,containerClassName:h().string,danger:h().bool,decorator:h().node,isFullWidth:h().bool,launcherButtonRef:h().oneOfType([h().func,h().shape({current:h().any})]),onClose:h().func,onKeyDown:h().func,open:h().bool,preventCloseOnClickOutside:h().bool,selectorPrimaryFocus:h().string,selectorsFloatingMenus:h().arrayOf(h().string.isRequired),size:h().oneOf(["xs","sm","md","lg"]),slug:Nt(h().node)},qr.propTypes={children:h().node,className:h().string,id:h().string};const no=y().forwardRef(function({children:e,size:t=16,...n},r){return y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},Ur||(Ur=y().createElement("path",{fill:"none",d:"M16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Zm-1.125-5h2.25V12h-2.25Z","data-icon-path":"inner-path"})),Wr||(Wr=y().createElement("path",{d:"M16.002,6.1714h-.004L4.6487,27.9966,4.6506,28H27.3494l.0019-.0034ZM14.875,12h2.25v9h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z"})),Zr||(Zr=y().createElement("path",{d:"M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z"})),e)}),ro=y().forwardRef(function({children:e,size:t=16,...n},r){return 16===t||"16"===t||"16px"===t?y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...n},Gr||(Gr=y().createElement("path",{d:"M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2 c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z"})),Kr||(Kr=y().createElement("path",{d:"M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8 c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z","data-icon-path":"inner-path",opacity:"0"})),e):20===t||"20"===t||"20px"===t?y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...n},Yr||(Yr=y().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1 s1,0.4,1,1S10.6,16,10,16z"})),Xr||(Xr=y().createElement("path",{d:"M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1s1,0.4,1,1S10.6,16,10,16z","data-icon-path":"inner-path",opacity:"0"})),e):24===t||"24"===t||"24px"===t?y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...n},Jr||(Jr=y().createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11C23,5.9,18.1,1,12,1z M11.1,6h1.8v8h-1.8V6z M12,19.2 c-0.7,0-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2s1.2,0.6,1.2,1.2S12.7,19.2,12,19.2z"})),Qr||(Qr=y().createElement("path",{fill:"none",d:"M13.2,18c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2S13.2,17.3,13.2,18z M12.9,6 h-1.8v8h1.8V6z","data-icon-path":"inner-path",opacity:"0"})),e):y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},eo||(eo=y().createElement("path",{d:"M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14C30,8.3,23.7,2,16,2z M14.9,8h2.2v11h-2.2V8z M16,25 c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22c0.8,0,1.5,0.7,1.5,1.5S16.8,25,16,25z"})),to||(to=y().createElement("path",{fill:"none",d:"M17.5,23.5c0,0.8-0.7,1.5-1.5,1.5c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22 C16.8,22,17.5,22.7,17.5,23.5z M17.1,8h-2.2v11h2.2V8z","data-icon-path":"inner-path",opacity:"0"})),e)});var oo,ao,io,lo;const so=y().forwardRef(function({children:e,size:t=16,...n},r){return y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},oo||(oo=y().createElement("path",{fill:"none",d:"M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z","data-icon-path":"inner-path"})),ao||(ao=y().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,6a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"})),e)}),co=y().forwardRef(function({children:e,size:t=16,...n},r){return y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},io||(io=y().createElement("path",{fill:"none",d:"M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z","data-icon-path":"inner-path"})),lo||(lo=y().createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"})),e)});function uo({children:e,className:t,onClick:n,inline:r,...o}){const a=T(),i=w()(t,{[`${a}--actionable-notification__action-button`]:!0});return y().createElement(tn,p({className:i,kind:r?"ghost":"tertiary",onClick:n,size:"sm"},o),e)}function fo({"aria-label":e="close notification",ariaLabel:t,className:n,type:r="button",renderIcon:o=An,name:a,notificationType:i="toast",...l}){const s=T(),c=w()(n,{[`${s}--${i}-notification__close-button`]:i}),u=w()({[`${s}--${i}-notification__close-icon`]:i});return y().createElement("button",p({},l,{type:r,"aria-label":t||e,title:t||e,className:c}),o&&y().createElement(o,{className:u,name:a}))}uo.propTypes={children:h().node,className:h().string,inline:h().bool,onClick:h().func},fo.propTypes={"aria-label":h().string,ariaLabel:Nt(h().string),className:h().string,name:h().string,notificationType:h().oneOf(["toast","inline","actionable"]),renderIcon:h().oneOfType([h().func,h().object]),type:h().string};const po={error:Mn.x,success:_n,warning:ro,"warning-alt":no,info:so,"info-square":co};function mo({iconDescription:e,kind:t,notificationType:n}){const r=T(),o=po[t];return o?y().createElement(o,{className:`${r}--${n}-notification__icon`,size:20},y().createElement("title",null,e)):null}function ho({"aria-label":e,children:t,title:n,subtitle:r,role:o="status",onClose:a,onCloseButtonClick:i=kn,statusIconDescription:l,className:s,kind:c="error",lowContrast:u,hideCloseButton:d=!1,...f}){const[m,h]=(0,g.useState)(!0),b=T(),v=w()(s,{[`${b}--inline-notification`]:!0,[`${b}--inline-notification--low-contrast`]:u,[`${b}--inline-notification--${c}`]:c,[`${b}--inline-notification--hide-close-button`]:d}),E=(0,g.useRef)(null);qt(E);const N=(0,g.useRef)(null);return m?y().createElement("div",p({ref:N},f,{role:o,className:v}),y().createElement("div",{className:`${b}--inline-notification__details`},y().createElement(mo,{notificationType:"inline",kind:c,iconDescription:l||`${c} icon`}),y().createElement("div",{ref:E,className:`${b}--inline-notification__text-wrapper`},n&&y().createElement(ur,{as:"div",className:`${b}--inline-notification__title`},n),r&&y().createElement(ur,{as:"div",className:`${b}--inline-notification__subtitle`},r),t)),!d&&y().createElement(fo,{notificationType:"inline",onClick:function(e){i(e),a&&!1===a(e)||h(!1)},"aria-label":e})):null}function go({actionButtonLabel:e,"aria-label":t,ariaLabel:n,caption:r,children:o,role:a="alertdialog",onActionButtonClick:i,onClose:l,onCloseButtonClick:s=kn,statusIconDescription:c,className:u,inline:d=!1,kind:f="error",lowContrast:m,hideCloseButton:h=!1,hasFocus:b=!0,closeOnEscape:v=!0,title:E,subtitle:N,...C}){const[$,R]=(0,g.useState)(!0),_=T(),S=jt("actionable-notification"),A=jt("actionable-notification-subtitle"),O=w()(u,{[`${_}--actionable-notification`]:!0,[`${_}--actionable-notification--toast`]:!d,[`${_}--actionable-notification--low-contrast`]:m,[`${_}--actionable-notification--${f}`]:f,[`${_}--actionable-notification--hide-close-button`]:h}),L=(0,g.useRef)(null),k=(0,g.useRef)(null),M=(0,g.useRef)(null),B=(0,g.useRef)(null),I=Ct("enable-experimental-focus-wrap-without-sentinels");function D(e){s(e),l&&!1===l(e)||R(!1)}return x(()=>{if(b&&"alertdialog"===a){const e=document.querySelector("button.cds--actionable-notification__action-button");e?.focus()}}),function(e,t,n=!0){const r=r=>{const o=e.current&&document.activeElement===e.current||e.current?.contains(document.activeElement);kt(r,[Ot])&&n&&o&&t(r)};x(()=>(null!==e.current&&document.addEventListener("keydown",r,!1),()=>document.removeEventListener("keydown",r,!1)))}(B,D,v),$?y().createElement("div",p({},C,{ref:B,role:a,className:O,"aria-labelledby":E?S:A,onBlur:I?()=>{}:function({target:e,relatedTarget:t}){if($&&t&&e&&"alertdialog"===a){const{current:n}=L,{current:r}=k,{current:o}=M;ir({bodyNode:n,startTrapNode:r,endTrapNode:o,currentActiveNode:t,oldActiveNode:e})}},onKeyDown:I?function(e){$&&Mt(e,St)&&B.current&&"alertdialog"===a&&lr({containerNode:B.current,currentActiveNode:e.target,event:e})}:()=>{}}),!I&&y().createElement("span",{ref:k,tabIndex:0,role:"link",className:`${_}--visually-hidden`},"Focus sentinel"),y().createElement("div",{className:`${_}--actionable-notification__details`},y().createElement(mo,{notificationType:d?"inline":"toast",kind:f,iconDescription:c||`${f} icon`}),y().createElement("div",{className:`${_}--actionable-notification__text-wrapper`},y().createElement("div",{className:`${_}--actionable-notification__content`},E&&y().createElement(ur,{as:"div",className:`${_}--actionable-notification__title`,id:S},E),N&&y().createElement(ur,{as:"div",className:`${_}--actionable-notification__subtitle`,id:A},N),r&&y().createElement(ur,{as:"div",className:`${_}--actionable-notification__caption`},r),o))),y().createElement("div",{className:`${_}--actionable-notification__button-wrapper`,ref:L},e&&y().createElement(uo,{onClick:i,inline:d},e),!h&&y().createElement(fo,{"aria-label":n||t,notificationType:"actionable",onClick:D})),!I&&y().createElement("span",{ref:M,tabIndex:0,role:"link",className:`${_}--visually-hidden`},"Focus sentinel")):null}mo.propTypes={iconDescription:h().string.isRequired,kind:h().oneOf(["error","success","warning","warning-alt","info","info-square"]).isRequired,notificationType:h().oneOf(["inline","toast"]).isRequired},h().string,Nt(h().string),h().string,h().node,h().string,h().bool,h().oneOf(["error","info","info-square","success","warning","warning-alt"]),h().bool,h().func,h().func,h().oneOf(["alert","log","status"]),h().string,h().string,h().number,h().string,ho.propTypes={"aria-label":h().string,children:h().node,className:h().string,hideCloseButton:h().bool,kind:h().oneOf(["error","info","info-square","success","warning","warning-alt"]),lowContrast:h().bool,onClose:h().func,onCloseButtonClick:h().func,role:h().oneOf(["alert","log","status"]),statusIconDescription:h().string,subtitle:h().string,title:h().string},go.propTypes={actionButtonLabel:h().string,"aria-label":h().string,ariaLabel:Nt(h().string),caption:h().string,children:h().node,className:h().string,closeOnEscape:h().bool,hasFocus:Nt(h().bool),hideCloseButton:h().bool,inline:h().bool,kind:h().oneOf(["error","info","info-square","success","warning","warning-alt"]),lowContrast:h().bool,onActionButtonClick:h().func,onClose:h().func,onCloseButtonClick:h().func,role:h().string,statusIconDescription:h().string,subtitle:h().node,title:h().string};const bo={error:"warning",success:"info"};h().string,h().node,h().string,N(h().oneOf(["error","info","info-square","success","warning","warning-alt"]),["warning","info"],e=>bo[e]),h().bool,h().func,h().string,h().node,h().string,h().string;const yo=y().forwardRef((e,t)=>{const{className:n,decorator:r,disabled:o,hideLabel:a,id:i,labelPosition:l="right",labelText:s="",name:c,onChange:u=()=>{},value:d="",slug:f,required:m,...h}=e,b=T(),v=jt("radio-button"),E=i||v,N=w()(`${b}--radio-button__label-text`,{[`${b}--visually-hidden`]:a}),x=w()(n,`${b}--radio-button-wrapper`,{[`${b}--radio-button-wrapper--label-${l}`]:"right"!==l,[`${b}--radio-button-wrapper--slug`]:f,[`${b}--radio-button-wrapper--decorator`]:r}),C=(0,g.useRef)(null),$=f??r,R=Ir($,Br)?(0,g.cloneElement)($,{size:"inline"===$.props?.kind?"md":"mini"}):null;return y().createElement("div",{className:x},y().createElement("input",p({},h,{type:"radio",className:`${b}--radio-button`,onChange:function(e){u(d,c,e)},id:E,ref:zn(C,t),disabled:o,value:d,name:c,required:m})),y().createElement("label",{htmlFor:E,className:`${b}--radio-button__label`},y().createElement("span",{className:`${b}--radio-button__appearance`}),s&&y().createElement(ur,{className:N},s,f?R:r?y().createElement("div",{className:`${b}--radio-button-wrapper-inner--decorator`},R):"")))});function vo(e){const{className:t,...n}=e,r=T();return y().createElement("div",p({className:w()(`${r}--radio-button-wrapper`,t)},n),y().createElement("div",{className:`${r}--radio-button ${r}--skeleton`}),y().createElement("span",{className:`${r}--radio-button__label ${r}--skeleton`}))}yo.displayName="RadioButton",yo.propTypes={checked:h().bool,className:h().string,decorator:h().node,defaultChecked:h().bool,disabled:h().bool,hideLabel:h().bool,id:h().string,labelPosition:h().oneOf(["right","left"]),labelText:h().node.isRequired,name:h().string,onChange:h().func,onClick:h().func,required:h().bool,slug:Nt(h().node),value:h().oneOfType([h().string,h().number])},vo.propTypes={className:h().string};const wo=e=>y().createElement(ur,p({as:"legend"},e));const Eo=y().forwardRef((e,t)=>{const{children:n,className:r,decorator:o,defaultSelected:a,disabled:i,helperText:l,invalid:s=!1,invalidText:c,labelPosition:u="right",legendText:d,name:f,onChange:m=()=>{},orientation:h="horizontal",readOnly:b,valueSelected:v,warn:E=!1,warnText:N,slug:x,required:C,...$}=e,R=T(),[_,S]=(0,g.useState)(v??a),[A,O]=(0,g.useState)(v),L=jt();function k(e,t,n){b||e!==_&&(S(e),m(e,f,n))}v!==A&&(S(v),O(v));const M=!b&&!s&&E,B=!s&&!i&&!E,I=w()(`${R}--form-item`,r),D=w()(`${R}--radio-button-group`,{[`${R}--radio-button-group--${h}`]:"vertical"===h,[`${R}--radio-button-group--label-${u}`]:u,[`${R}--radio-button-group--readonly`]:b,[`${R}--radio-button-group--invalid`]:!b&&s,[`${R}--radio-button-group--warning`]:M,[`${R}--radio-button-group--slug`]:x,[`${R}--radio-button-group--decorator`]:o}),P=w()(`${R}--form__helper-text`,{[`${R}--form__helper-text--disabled`]:i}),z=l?`radio-button-group-helper-text-${L}`:void 0,H=l?y().createElement("div",{id:z,className:P},l):null,V=(0,g.useRef)(null),F=x??o,j=Ir(F,Br)?(0,g.cloneElement)(F,{size:"mini",kind:"default"}):null;return y().createElement("div",{className:I,ref:zn(V,t)},y().createElement("fieldset",p({className:D,disabled:i,"data-invalid":!!s||void 0,"aria-describedby":B&&l?z:void 0},$),d&&y().createElement(wo,{className:`${R}--label`},d,x?j:o?y().createElement("div",{className:`${R}--radio-button-group-inner--decorator`},j):""),y().Children.map(n,e=>{if(!e)return;const t={name:f,key:e.props.value,value:e.props.value,onChange:k,checked:e.props.value===_,required:C};return!_&&e.props.checked&&(t.checked=!0),y().cloneElement(e,t)})),y().createElement("div",{className:`${R}--radio-button__validation-msg`},!b&&s&&y().createElement(y().Fragment,null,y().createElement(ro,{className:`${R}--radio-button__invalid-icon`}),y().createElement("div",{className:`${R}--form-requirement`},c)),M&&y().createElement(y().Fragment,null,y().createElement(no,{className:`${R}--radio-button__invalid-icon ${R}--radio-button__invalid-icon--warning`}),y().createElement("div",{className:`${R}--form-requirement`},N))),B&&H)});var No,xo;Eo.propTypes={children:h().node,className:h().string,decorator:h().node,defaultSelected:h().oneOfType([h().string,h().number]),disabled:h().bool,helperText:h().node,invalid:h().bool,invalidText:h().node,labelPosition:h().oneOf(["left","right"]),legendText:h().node,name:h().string.isRequired,onChange:h().func,orientation:h().oneOf(["horizontal","vertical"]),readOnly:h().bool,required:h().bool,slug:Nt(h().node),valueSelected:h().oneOfType([h().string,h().number]),warn:h().bool,warnText:h().node},Eo.displayName="RadioButtonGroup";const Co=y().forwardRef(function({children:e,size:t=16,...n},r){return 16===t||"16"===t||"16px"===t?y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...n},No||(No=y().createElement("path",{d:"M15,14.3L10.7,10c1.9-2.3,1.6-5.8-0.7-7.7S4.2,0.7,2.3,3S0.7,8.8,3,10.7c2,1.7,5,1.7,7,0l4.3,4.3L15,14.3z M2,6.5 C2,4,4,2,6.5,2S11,4,11,6.5S9,11,6.5,11S2,9,2,6.5z"})),e):y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},xo||(xo=y().createElement("path",{d:"M29,27.5859l-7.5521-7.5521a11.0177,11.0177,0,1,0-1.4141,1.4141L27.5859,29ZM4,13a9,9,0,1,1,9,9A9.01,9.01,0,0,1,4,13Z"})),e)}),$o=(0,g.createContext)({isFluid:!1});var To;const Ro=y().forwardRef(({autoComplete:e="off",className:t,closeButtonLabelText:n="Clear search input",defaultValue:r,disabled:o,isExpanded:a=!0,id:i,labelText:l,light:s,onChange:c=()=>{},onClear:u=()=>{},onKeyDown:d,onExpand:f,placeholder:m="Search",renderIcon:h,role:b,size:v="md",type:E="search",value:N,...x},$)=>{const R=!(!N&&!r),_=T(),{isFluid:S}=(0,g.useContext)($o),A=(0,g.useRef)(null),O=C([$,A]),L=(0,g.useRef)(null),k=jt("search-input"),M=i||k,B=`${M}-search`,[I,D]=(0,g.useState)(R||!1),[P,z]=(0,g.useState)(N),H=w()({[`${_}--search`]:!0,[`${_}--search--sm`]:"sm"===v,[`${_}--search--md`]:"md"===v,[`${_}--search--lg`]:"lg"===v,[`${_}--search--light`]:s,[`${_}--search--disabled`]:o,[`${_}--search--fluid`]:S},t),V=w()({[`${_}--search-close`]:!0,[`${_}--search-close--hidden`]:!I||!a});function F(){if(!N&&A.current&&(A.current.value=""),A.current){const e=Object.assign({},A.current,{value:""}),t={bubbles:!1,cancelable:!1,currentTarget:A.current,defaultPrevented:!1,eventPhase:0,isDefaultPrevented:()=>!1,isPropagationStopped:()=>!1,isTrusted:!1,nativeEvent:new Event("change"),persist:kn,preventDefault:kn,stopPropagation:kn,target:e,timeStamp:0,type:"change"};c(t)}u(),D(!1),A.current?.focus()}return N!==P&&(D(!!N),z(N)),y().createElement("div",{role:"search","aria-label":m,className:H},y().createElement("div",{"aria-labelledby":f?B:void 0,role:f?"button":void 0,className:`${_}--search-magnifier`,onClick:f,onKeyDown:function(e){(Mt(e,At)||Mt(e,Lt))&&(e.stopPropagation(),f&&f(e))},tabIndex:f&&!a?0:-1,ref:L,"aria-expanded":!(!f||!a)||!(f&&!a)&&void 0,"aria-controls":f?M:void 0},y().createElement(_o,{icon:h})),y().createElement("label",{id:B,htmlFor:M,className:`${_}--label`},l),y().createElement("input",p({autoComplete:e,className:`${_}--search-input`,defaultValue:r,disabled:o,role:b,ref:O,id:M,onChange:sr([c,function(e){D(""!==e.target.value)}]),onKeyDown:sr([d,function(e){Mt(e,Ot)&&(e.stopPropagation(),A.current?.value?F():f&&a&&L.current?.focus())}]),placeholder:m,type:E,value:N,tabIndex:f&&!a?-1:void 0},x)),y().createElement("button",{"aria-label":n,className:V,disabled:o,onClick:F,title:n,type:"button"},To||(To=y().createElement(An,null))))});function _o({icon:e}){const t=T();return e?y().createElement(e,{className:`${t}--search-magnifier-icon`}):y().createElement(Co,{className:`${t}--search-magnifier-icon`})}Ro.displayName="Search",Ro.propTypes={autoComplete:h().string,className:h().string,closeButtonLabelText:h().string,defaultValue:h().oneOfType([h().string,h().number]),disabled:h().bool,id:h().string,isExpanded:h().bool,labelText:h().node.isRequired,light:Nt(h().bool),onChange:h().func,onClear:h().func,onExpand:h().func,onKeyDown:h().func,placeholder:h().string,renderIcon:h().oneOfType([h().func,h().object]),role:Nt(h().string),size:h().oneOf(["sm","md","lg"]),type:h().string,value:h().oneOfType([h().string,h().number])},_o.propTypes={icon:h().oneOfType([h().func,h().object])};const So=({className:e,...t})=>{const n=T(),r=w()(e,{[`${n}--icon--skeleton`]:!0});return y().createElement("div",p({className:r},t))};So.propTypes={className:h().string};const Ao=({align:e="bottom",autoAlign:t,className:n,children:r,definition:o,defaultOpen:a=!1,id:i,openOnHover:l,tooltipText:s,triggerClassName:c,...u})=>{const[d,f]=(0,g.useState)(a),m=T(),h=function(e){const t=jt();return e??t}(i);return y().createElement(Tt,{align:e,className:n,autoAlign:t,dropShadow:!1,highContrast:!0,onMouseLeave:()=>{f(!1)},onMouseEnter:()=>{l&&f(!0)},onFocus:()=>{f(!0)},open:d},y().createElement("button",p({},u,{className:w()(`${m}--definition-term`,c),"aria-controls":h,"aria-describedby":h,"aria-expanded":d,onBlur:()=>{f(!1)},onMouseDown:e=>{0===e.button&&f(!d)},onKeyDown:function(e){d&&Mt(e,Ot)&&(e.stopPropagation(),f(!1))},type:"button"}),r),y().createElement(_t,{className:`${m}--definition-tooltip`,id:h},s??o))};var Oo;Ao.propTypes={align:h().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top","top-start","top-end","bottom-start","bottom-end","left-end","left-start","right-end","right-start"]),autoAlign:h().bool,children:h().node.isRequired,className:h().string,defaultOpen:h().bool,definition:h().node.isRequired,id:h().string,openOnHover:h().bool,tooltipText:Nt(h().node),triggerClassName:h().string};const Lo={red:"Red",magenta:"Magenta",purple:"Purple",blue:"Blue",cyan:"Cyan",teal:"Teal",green:"Green",gray:"Gray","cool-gray":"Cool-Gray","warm-gray":"Warm-Gray","high-contrast":"High-Contrast",outline:"Outline"},ko=y().forwardRef(({children:e,className:t,decorator:n,id:r,type:o,filter:a,renderIcon:i,title:l="Clear filter",disabled:s,onClose:c,size:u,as:d,slug:f,...m},h)=>{const b=T(),v=(0,g.useRef)(null);a&&console.warn("The `filter` prop for Tag has been deprecated and will be removed in the next major version. Use DismissibleTag instead."),c&&console.warn("The `onClose` prop for Tag has been deprecated and will be removed in the next major version. Use DismissibleTag instead.");const E=C([h,v]),N=r||`tag-${jt()}`,[x,$]=(0,g.useState)(!1);(0,g.useLayoutEffect)(()=>{const e=v.current?.getElementsByClassName(`${b}--tag__label`)[0];$((e=>!!e&&e?.offsetWidth<e?.scrollWidth)(e))},[b,v]);const R=[`${b}--tag--selectable`,`${b}--tag--filter`,`${b}--tag--operational`].some(e=>t?.includes(e)),_=w()(`${b}--tag`,t,{[`${b}--tag--disabled`]:s,[`${b}--tag--filter`]:a,[`${b}--tag--${u}`]:u,[`${b}--layout--size-${u}`]:u,[`${b}--tag--${o}`]:o,[`${b}--tag--interactive`]:m.onClick&&!R&&x}),S=void 0!==o&&o in Object.keys(Lo)?Lo[o]:"",A=e=>{c&&(e.stopPropagation(),c(e))},O=f??n,L=Ir(O,Br)&&!R?(0,g.cloneElement)(O,{size:"sm",kind:"inline"}):null;if(a){const t=d??"div";return y().createElement(t,p({className:_,id:N},m),i&&"sm"!==u?y().createElement("div",{className:`${b}--tag__custom-icon`},y().createElement(i,null)):"",y().createElement(ur,{title:"string"==typeof e?e:void 0,className:`${b}--tag__label`},null!=e?e:S),L,y().createElement("button",{type:"button",className:`${b}--tag__close-icon`,onClick:A,disabled:s,"aria-label":l,title:l},Oo||(Oo=y().createElement(An,null))))}const k=d??(m.onClick||t?.includes(`${b}--tag--operational`)?"button":"div"),M=w()({[`${b}--tag__label`]:!R});return y().createElement(k,p({ref:E,disabled:s,className:_,id:N,type:"button"===k?"button":void 0},m),i&&"sm"!==u?y().createElement("div",{className:`${b}--tag__custom-icon`},y().createElement(i,null)):"",x&&!R?y().createElement(Ao,{openOnHover:!1,definition:null!=e?e:S,className:`${b}--definition--tooltip--tag`},y().createElement(ur,{title:null!=e&&"string"==typeof e?e:S,className:M},null!=e?e:S)):y().createElement(ur,{title:null!=e&&"string"==typeof e?e:S,className:M},null!=e?e:S),f?L:n?y().createElement("div",{className:`${b}--tag__decorator`},L):"")}),Mo=ko;var Bo,Io,Do,Po,zo,Ho;Mo.propTypes={as:h().elementType,children:h().node,className:h().string,decorator:h().node,disabled:h().bool,filter:Nt(h().bool),id:h().string,onClose:Nt(h().func),renderIcon:h().oneOfType([h().func,h().object]),size:h().oneOf(Object.keys({sm:"sm",md:"md",lg:"lg"})),slug:Nt(h().node),title:Nt(h().string),type:h().oneOf(Object.keys(Lo))};const Vo=y().forwardRef(function({children:e,size:t=16,...n},r){return y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},Bo||(Bo=y().createElement("path",{d:"M19 21v-2h1v-7h-1v-2h4v2h-1v7h1v2h-4zM15.5005 21h2l-3.5005-11h-3l-3.4966 11h1.9988l.6018-2h4.7781l.6184 2zM10.7058 17l1.6284-5.4111.2559-.0024 1.6736 5.4136h-3.5579z"})),Io||(Io=y().createElement("path",{d:"M32,32H0V0h32v32ZM2,30h28V2H2v28Z"})),e)}),Fo=y().forwardRef(function({children:e,size:t=16,...n},r){return 16===t||"16"===t||"16px"===t?y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...n},Do||(Do=y().createElement("path",{d:"M9.3 3.7L13.1 7.5 1 7.5 1 8.5 13.1 8.5 9.3 12.3 10 13 15 8 10 3z"})),e):20===t||"20"===t||"20px"===t?y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...n},Po||(Po=y().createElement("path",{d:"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z"})),e):24===t||"24"===t||"24px"===t?y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...n},zo||(zo=y().createElement("path",{d:"M14 4L12.9 5.1 18.9 11.2 2 11.2 2 12.8 18.9 12.8 12.9 18.9 14 20 22 12z"})),e):y().createElement($n.A,{width:t,height:t,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},Ho||(Ho=y().createElement("path",{d:"M18 6L16.57 7.393 24.15 15 4 15 4 17 24.15 17 16.57 24.573 18 26 28 16 18 6z"})),e)}),jo=y().forwardRef(({as:e,children:t,className:n,href:r,disabled:o=!1,inline:a=!1,visited:i=!1,renderIcon:l,size:s,target:c,...u},d)=>{const f=T(),m={className:w()(`${f}--link`,n,{[`${f}--link--disabled`]:o,[`${f}--link--inline`]:a,[`${f}--link--visited`]:i,[`${f}--link--${s}`]:s}),rel:"_blank"===c?"noopener":void 0,target:c};o?(m.role="link",m["aria-disabled"]=!0):m.href=r;const h=e??"a";return y().createElement(h,p({ref:d},m,u,{onClick:e=>{o?(e.preventDefault(),e.stopPropagation()):u.onClick&&u.onClick(e)}}),t,!a&&l&&y().createElement("div",{className:`${f}--link__icon`},y().createElement(l,null)))});var qo,Uo,Wo,Zo;jo.displayName="Link",jo.propTypes={as:h().elementType,children:h().node,className:h().string,disabled:h().bool,href:h().string,inline:h().bool,renderIcon:h().oneOfType([h().func,h().object]),size:h().oneOf(["sm","md","lg"]),visited:h().bool};const Go=y().forwardRef(({children:e,className:t,decorator:n,light:r=!1,slug:o,hasRoundedCorners:a=!1,...i},l)=>{const s=T(),c=w()(`${s}--tile`,{[`${s}--tile--light`]:r,[`${s}--tile--slug`]:o,[`${s}--tile--slug-rounded`]:o&&a,[`${s}--tile--decorator`]:n,[`${s}--tile--decorator-rounded`]:n&&a},t);return y().createElement("div",p({className:c,ref:l},i),e,o,n&&y().createElement("div",{className:`${s}--tile--inner-decorator`},n))});Go.displayName="Tile",Go.propTypes={children:h().node,className:h().string,decorator:h().node,hasRoundedCorners:h().bool,light:Nt(h().bool),slug:Nt(h().node)};const Ko=y().forwardRef(({children:e,className:t,clicked:n=!1,decorator:r,disabled:o,href:a,light:i,onClick:l=()=>{},onKeyDown:s=()=>{},renderIcon:c,hasRoundedCorners:u,slug:d,...f},m)=>{const h=T(),b=w()(`${h}--tile`,`${h}--tile--clickable`,{[`${h}--tile--is-clicked`]:n,[`${h}--tile--light`]:i,[`${h}--tile--slug`]:d,[`${h}--tile--slug-rounded`]:d&&u,[`${h}--tile--decorator`]:r,[`${h}--tile--decorator-rounded`]:r&&u},t),[v,E]=(0,g.useState)(n),N=Ct("enable-v12-tile-default-icons");N&&(c||(c=Fo),o&&(c=Mn.$D));const x=w()({[`${h}--tile--icon`]:!N||N&&!o,[`${h}--tile--disabled-icon`]:N&&o});return y().createElement(jo,p({className:b,href:a,tabIndex:a||o?void 0:0,onClick:o?void 0:function(e){e?.persist?.(),E(!v),l(e)},onKeyDown:function(e){e?.persist?.(),kt(e,[At,Lt])&&E(!v),s(e)},ref:m,disabled:o},f),d||r?y().createElement("div",{className:`${h}--tile-content`},e):e,(!0===d||!0===r)&&y().createElement(Vo,{size:"24",className:`${h}--tile--ai-label-icon`}),y().isValidElement(r)&&y().createElement("div",{className:`${h}--tile--inner-decorator`},r),c&&y().createElement(c,{className:x,"aria-hidden":"true"}))});Ko.displayName="ClickableTile",Ko.propTypes={children:h().node,className:h().string,clicked:h().bool,decorator:h().oneOfType([h().bool,h().node]),disabled:h().bool,hasRoundedCorners:h().bool,href:h().string,light:Nt(h().bool),onClick:h().func,onKeyDown:h().func,rel:h().string,renderIcon:h().oneOfType([h().func,h().object])},y().forwardRef(({children:e,className:t,decorator:n,disabled:r,id:o,light:a,onClick:i=()=>{},onChange:l=()=>{},onKeyDown:s=()=>{},selected:c=!1,tabIndex:u=0,title:d="title",slug:f,hasRoundedCorners:m,...h},b)=>{const v=T(),E=i,N=s,[x,C]=(0,g.useState)(c);(0,g.useEffect)(()=>{C(c)},[c]);const $=w()(`${v}--tile`,`${v}--tile--selectable`,{[`${v}--tile--is-selected`]:x,[`${v}--tile--light`]:a,[`${v}--tile--disabled`]:r,[`${v}--tile--slug`]:f,[`${v}--tile--slug-rounded`]:f&&m,[`${v}--tile--decorator`]:n,[`${v}--tile--decorator-rounded`]:n&&m},t),R=(0,g.useCallback)((e,t)=>{C(t),l(e,t,o)},[l,o]),_=(0,g.useRef)(null),S=f??n,A=Ir(S,Br)?(0,g.cloneElement)(S,{size:"xs",ref:_}):null;return y().createElement("div",p({className:$,onClick:r?void 0:function(e){e.preventDefault(),e?.persist?.(),A&&_.current&&e.target instanceof Node&&_.current.contains(e.target)||(R(e,!x),E(e))},role:"checkbox","aria-checked":x,onKeyDown:r?void 0:function(e){e?.persist?.(),kt(e,[At,Lt])&&(e.preventDefault(),R(e,!x)),N(e)},tabIndex:r?void 0:u,ref:b,id:o,title:d},h),y().createElement("span",{className:`${v}--tile__checkmark ${v}--tile__checkmark--persistent`},x?qo||(qo=y().createElement(Rn,null)):Uo||(Uo=y().createElement(Tn,null))),y().createElement(ur,{as:"label",htmlFor:o,className:`${v}--tile-content`},e),f?A:n?y().createElement("div",{className:`${v}--tile--inner-decorator`},A):"")}).propTypes={children:h().node,className:h().string,decorator:h().node,disabled:h().bool,hasRoundedCorners:h().bool,id:h().string,light:Nt(h().bool),name:Nt(h().string),onChange:h().func,onClick:h().func,onKeyDown:h().func,selected:h().bool,slug:Nt(h().node),tabIndex:h().number,title:h().string,value:Nt(h().oneOfType([h().string,h().number]))};const Yo=y().forwardRef(({tabIndex:e=0,className:t,children:n,decorator:r,expanded:o=!1,tileMaxHeight:a=0,tilePadding:i=0,onClick:l,onKeyUp:s,tileCollapsedIconText:c="Interact to expand Tile",tileExpandedIconText:u="Interact to collapse Tile",tileCollapsedLabel:d,tileExpandedLabel:f,light:m,slug:h,hasRoundedCorners:b,...v},E)=>{const[N,$]=(0,g.useState)(a),[R,_]=(0,g.useState)(i),[S,A]=(0,g.useState)(o),[O,L]=(0,g.useState)(a),[k,M]=(0,g.useState)(i),[B,I]=(0,g.useState)(o),[D,P]=(0,g.useState)(!0),z=(0,g.useRef)(null),H=(0,g.useRef)(null),V=(0,g.useRef)(null),F=(0,g.useRef)(null),j=(0,g.useRef)(null),q=C([E,j]),U=T();function W(){B&&F.current&&$(F.current.getBoundingClientRect()?.height),z.current&&$(z.current.getBoundingClientRect().height)}function Z(e){e?.persist?.(),I(!B),W()}function G(e){e.target!==j.current&&e.target!==V.current&&kt(e,[At,Lt])&&e.preventDefault()}o!==S&&(I(o),A(o),W()),a!==O&&($(a),L(a)),i!==k&&(_(i),M(i));const K=w()(`${U}--tile`,`${U}--tile--expandable`,{[`${U}--tile--is-expanded`]:B,[`${U}--tile--light`]:m},t),Y=w()(`${U}--tile`,`${U}--tile--expandable`,`${U}--tile--expandable--interactive`,{[`${U}--tile--is-expanded`]:B,[`${U}--tile--light`]:m,[`${U}--tile--slug`]:h,[`${U}--tile--slug-rounded`]:h&&b,[`${U}--tile--decorator`]:r,[`${U}--tile--decorator-rounded`]:r&&b},t),X=w()(`${U}--tile__chevron`,`${U}--tile__chevron--interactive`),J=y().Children.toArray(n);x(()=>{if(!j.current||!z.current)return;const e=window.getComputedStyle(j.current,null),{current:t}=z,{height:n}=t.getBoundingClientRect(),r=parseInt(e.getPropertyValue("padding-top"),10),o=parseInt(e.getPropertyValue("padding-bottom"),10);$(n),_(r+o)},[N]),x(()=>{z.current&&H.current&&(Ut(H.current)||Wt(H.current)||Ut(z.current)||Wt(z.current)||h||r||P(!1))},[h,r]),x(()=>{j.current&&(j.current.style.maxHeight=B?"":N+R+"px")},[B,N,R]),(0,g.useEffect)(()=>{if(!z.current)return;const e=new ResizeObserver(e=>{const[t]=e;$(t.contentRect.height)});return e.observe(z.current),()=>e.disconnect()},[]);const Q=jt("expandable-tile-interactive"),ee=h??r,te=Ir(ee,Br)?(0,g.cloneElement)(ee,{size:"xs"}):null;return D?y().createElement("div",p({ref:q,className:Y},v),y().createElement("div",{ref:F},h?te:r?y().createElement("div",{className:`${U}--tile--inner-decorator`},te):"",y().createElement("div",{ref:z,className:`${U}--tile-content`},J[0]),y().createElement("button",{type:"button","aria-expanded":B,"aria-controls":Q,onKeyUp:sr([s,G]),onClick:sr([l,Z]),"aria-label":B?u:c,ref:V,className:X},Wo||(Wo=y().createElement(Sn,null))),y().createElement("div",{ref:H,className:`${U}--tile-content`,id:Q},J[1]))):y().createElement("button",p({type:"button",ref:q,className:K,"aria-expanded":B,title:B?u:c},v,{onKeyUp:sr([s,G]),onClick:sr([l,Z]),tabIndex:e}),y().createElement("div",{ref:F},y().createElement("div",{ref:z,className:`${U}--tile-content`},J[0]),y().createElement("div",{className:`${U}--tile__chevron`},y().createElement("span",null,B?f:d),Zo||(Zo=y().createElement(Sn,null))),y().createElement("div",{ref:H,className:`${U}--tile-content`},J[1])))});Yo.propTypes={children:h().node,className:h().string,decorator:h().node,expanded:h().bool,hasRoundedCorners:h().bool,id:h().string,light:Nt(h().bool),onClick:h().func,onKeyUp:h().func,slug:Nt(h().node),tabIndex:h().number,tileCollapsedIconText:h().string,tileCollapsedLabel:h().string,tileExpandedIconText:h().string,tileExpandedLabel:h().string},Yo.displayName="ExpandableTile";const Xo=y().forwardRef(({children:e},t)=>{const n=T();return y().createElement("div",{ref:t,className:`${n}--tile-content__above-the-fold`},e)});Xo.propTypes={children:h().node},Xo.displayName="TileAboveTheFoldContent";const Jo=y().forwardRef(({children:e},t)=>{const n=T();return y().createElement("div",{ref:t,className:`${n}--tile-content__below-the-fold`},e)});Jo.propTypes={children:h().node},Jo.displayName="TileBelowTheFoldContent";const Qo=({className:e,children:t,...n})=>{const r=T(),o=w()(`${r}--header`,e);return y().createElement("header",p({},n,{className:o}),t)};Qo.propTypes={"aria-label":h().string,"aria-labelledby":h().string,className:h().string};const ea=(e=>{const t=Object.keys(e),n=e=>(t,n,r,...o)=>e(t,n,r,...o);return t.reduce((t,r)=>({...t,[r]:n(e[r])}),{})})({"aria-label":h().string,"aria-labelledby":h().string}),ta=y().forwardRef(({"aria-label":e,"aria-labelledby":t,children:n,className:r,onClick:o,tooltipHighContrast:a=!0,tooltipDropShadow:i,isActive:l,tooltipAlignment:s,...c},u)=>{const d=T(),f=w()({[r]:!!r,[`${d}--header__action`]:!0,[`${d}--header__action--active`]:l}),m={"aria-label":e,"aria-labelledby":t};return y().createElement(tn,p({},c,m,{className:f,onClick:o,type:"button",hasIconOnly:!0,size:"lg",kind:"ghost",iconDescription:e,tooltipPosition:"bottom",tooltipAlignment:s,tooltipDropShadow:i,tooltipHighContrast:a,ref:u}),n)});ta.propTypes={...ea,children:h().node.isRequired,className:h().string,isActive:h().bool,onClick:h().func,tooltipAlignment:h().oneOf(["start","center","end"]),tooltipDropShadow:h().bool,tooltipHighContrast:h().bool},ta.displayName="HeaderGlobalAction";const na=(({name:e,className:t,type:n})=>{function r({className:e,...r}){const o=T(),a=w()("function"==typeof t?t(o):t,e);return y().createElement(n,{...r,className:a||void 0})}return r.displayName=e,r.propTypes={className:h().string},r})({name:"HeaderGlobalBar",className:e=>`${e}--header__global`,type:"div"});var ra,oa,aa=n(54240);function ia({"aria-label":e,"aria-labelledby":t,className:n,renderMenuIcon:r,renderCloseIcon:o,isActive:a,isCollapsible:i,...l}){const s=T(),c=w()({..."string"==typeof n&&{[n]:!!n},[`${s}--header__action`]:!0,[`${s}--header__menu-trigger`]:!0,[`${s}--header__action--active`]:a,[`${s}--header__menu-toggle`]:!0,[`${s}--header__menu-toggle__hidden`]:!i}),u=r||ra||(ra=y().createElement(aa.GK,{size:20})),d=o||oa||(oa=y().createElement(An,{size:20}));return y().createElement("button",p({},l,{"aria-label":e,"aria-labelledby":t,className:c,title:e,type:"button"}),a?d:u)}ia.propTypes={...ea,className:h().string,isActive:h().bool,isCollapsible:h().bool,onClick:h().func};const la=({element:e,as:t,isSideNavExpanded:n,...r},o)=>{const a=t??e??"a";return y().createElement(a,p({ref:o},r))},sa=y().forwardRef(la),ca={as:h().elementType,element:Nt(h().elementType),isSideNavExpanded:h().bool};function ua({children:e,className:t,prefix:n="IBM",...r}){const o=T(),a=w()(`${o}--header__name`,t);return y().createElement(sa,p({},r,{className:a}),n&&y().createElement(y().Fragment,null,y().createElement("span",{className:`${o}--header__name--prefix`},n)," "),e)}sa.displayName="Link",sa.propTypes=ca,ua.propTypes={...ca,children:h().node.isRequired,className:h().string,href:h().string,prefix:h().string};const da=["SideNavFooter","SideNavHeader","SideNavItems","SideNavMenu","SideNavLink"];function fa(e){return"".concat(e/16,"rem")}fa(320),fa(672),fa(16);var pa={width:fa(1056),columns:16,margin:fa(16)};fa(1312),fa(16),fa(1584),fa(24);function ma(e){return fa(8*e)}ma(.25),ma(.5),ma(1),ma(1.5),ma(2),ma(3),ma(4),ma(5),ma(6),ma(8),ma(10),ma(12),ma(20),ma(2),ma(3),ma(4),ma(6),ma(8),ma(12),ma(20),ma(3),ma(4),ma(5),ma(6),ma(8),fa(24),fa(32),fa(40),fa(48),fa(64),fa(80);const ha=(0,g.createContext)({});function ga({expanded:e,defaultExpanded:t=!1,isChildOfHeader:n=!0,"aria-label":r,"aria-labelledby":o,children:a,onToggle:i,className:l,href:s,isFixedNav:c=!1,isRail:u,isPersistent:d=!0,addFocusListeners:f=!0,addMouseListeners:m=!0,onOverlayClick:h,onSideNavBlur:b,enterDelayMs:v=100,...E},N){const x=T(),{current:$}=(0,g.useRef)(void 0!==e),[_,S]=Bt(t),[A,O]=Bt(t),L=$?e:_,k=(0,g.useRef)(null),M=C([k,N]),B=(e,t=!L)=>{$||S(t,v),i&&i(e,t),($||u)&&O(t,v)},I={"aria-label":r,"aria-labelledby":o},D=w()(l,{[`${x}--side-nav`]:!0,[`${x}--side-nav--expanded`]:L||A,[`${x}--side-nav--collapsed`]:!L&&c,[`${x}--side-nav--rail`]:u,[`${x}--side-nav--ux`]:n,[`${x}--side-nav--hidden`]:!d}),P=w()({[`${x}--side-nav__overlay`]:!0,[`${x}--side-nav__overlay-active`]:L||A});let z=a;z=y().Children.map(a,e=>{const t=$&&A||L;if((0,g.isValidElement)(e)){const n=e;return y().cloneElement(n,{...da.includes(n.type?.displayName??n.type?.name)?{isSideNavExpanded:t}:{}})}return e});const H={};f&&(H.onFocus=e=>{!e.currentTarget.contains(e.relatedTarget)&&u&&B(e,!0)},H.onBlur=e=>{e.currentTarget.contains(e.relatedTarget)||B(e,!1),e.currentTarget.contains(e.relatedTarget)||!L||c||b&&b()},H.onKeyDown=e=>{Mt(e,Ot)&&(B(e,!1),s&&(window.location.href=s))}),m&&u&&(H.onMouseEnter=()=>{B(!0,!0)},H.onMouseLeave=()=>{S(!1),O(!1),B(!1,!1)},H.onClick=()=>{S(!0),O(!0),B(!0,!0)}),R("keydown",e=>{const t=document.activeElement;Mt(e,St)&&L&&!c&&k.current&&t?.classList.contains(`${x}--header__menu-toggle`)&&!t.closest("nav")&&k.current.focus()});const V=((e,t=!1)=>{const[n,r]=(0,g.useState)(t);return(0,g.useEffect)(()=>{const t=e=>{r(e.matches)},n=window.matchMedia(e);return n.addEventListener("change",t),r(n.matches),()=>{n.removeEventListener("change",t)}},[e]),n})(`(min-width: ${pa.width})`);return y().createElement(ha.Provider,{value:{isRail:u}},c?null:y().createElement("div",{className:P,onClick:h}),y().createElement("nav",p({tabIndex:-1,ref:M,className:`${x}--side-nav__navigation ${D}`,inert:u?void 0:!(L||V)},I,H,E),z))}const ba=y().forwardRef(ga);ba.displayName="SideNav",ba.propTypes={...ea,addFocusListeners:h().bool,addMouseListeners:h().bool,className:h().string,defaultExpanded:h().bool,enterDelayMs:h().number,expanded:h().bool,href:h().string,isChildOfHeader:h().bool,isFixedNav:h().bool,isPersistent:h().bool,isRail:h().bool,onOverlayClick:h().func,onSideNavBlur:h().func,onToggle:h().func}},90320:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103;n&&Symbol.for("react.portal"),n&&Symbol.for("react.fragment"),n&&Symbol.for("react.strict_mode"),n&&Symbol.for("react.profiler"),n&&Symbol.for("react.provider"),n&&Symbol.for("react.context"),n&&Symbol.for("react.async_mode"),n&&Symbol.for("react.concurrent_mode"),n&&Symbol.for("react.forward_ref"),n&&Symbol.for("react.suspense"),n&&Symbol.for("react.suspense_list"),n&&Symbol.for("react.memo"),n&&Symbol.for("react.lazy"),n&&Symbol.for("react.block"),n&&Symbol.for("react.fundamental"),n&&Symbol.for("react.responder"),n&&Symbol.for("react.scope");t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}},93051:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},95924:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n}).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);r&&o[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}}}]);
@@ -1,29 +0,0 @@
1
- /*!
2
- Copyright (c) 2018 Jed Watson.
3
- Licensed under the MIT License (MIT), see
4
- http://jedwatson.github.io/classnames
5
- */
6
-
7
- /*!
8
- * tabbable 6.2.0
9
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
10
- */
11
-
12
- /**
13
- * @license React
14
- * react-jsx-runtime.production.min.js
15
- *
16
- * Copyright (c) Facebook, Inc. and its affiliates.
17
- *
18
- * This source code is licensed under the MIT license found in the
19
- * LICENSE file in the root directory of this source tree.
20
- */
21
-
22
- /** @license React v16.13.1
23
- * react-is.production.min.js
24
- *
25
- * Copyright (c) Facebook, Inc. and its affiliates.
26
- *
27
- * This source code is licensed under the MIT license found in the
28
- * LICENSE file in the root directory of this source tree.
29
- */