@kenyaemr/esm-version-app 5.4.4-pre.38 → 5.4.4-pre.381

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 (310) hide show
  1. package/.turbo/turbo-build.log +6 -6
  2. package/dist/1074.js +1 -0
  3. package/dist/{8240.js.map → 1074.js.map} +1 -1
  4. package/dist/1311.js +1 -0
  5. package/dist/1311.js.map +1 -0
  6. package/dist/1469.js +1 -0
  7. package/dist/{2534.js.map → 1469.js.map} +1 -1
  8. package/dist/1718.js +1 -0
  9. package/dist/1718.js.map +1 -0
  10. package/dist/1772.js +1 -0
  11. package/dist/1772.js.map +1 -0
  12. package/dist/1889.js +1 -0
  13. package/dist/1889.js.map +1 -0
  14. package/dist/1972.js +1 -0
  15. package/dist/{3509.js.map → 1972.js.map} +1 -1
  16. package/dist/1990.js +1 -0
  17. package/dist/1990.js.map +1 -0
  18. package/dist/2016.js +1 -0
  19. package/dist/{5576.js.map → 2016.js.map} +1 -1
  20. package/dist/2119.js +1 -0
  21. package/dist/2119.js.map +1 -0
  22. package/dist/2153.js +1 -0
  23. package/dist/2153.js.map +1 -0
  24. package/dist/216.js +1 -0
  25. package/dist/216.js.map +1 -0
  26. package/dist/2294.js +1 -0
  27. package/dist/2294.js.map +1 -0
  28. package/dist/2345.js +1 -0
  29. package/dist/2345.js.map +1 -0
  30. package/dist/2500.js +1 -0
  31. package/dist/2500.js.map +1 -0
  32. package/dist/251.js +1 -0
  33. package/dist/251.js.map +1 -0
  34. package/dist/257.js +1 -0
  35. package/dist/257.js.map +1 -0
  36. package/dist/2586.js +1 -0
  37. package/dist/2586.js.map +1 -0
  38. package/dist/2625.js +1 -0
  39. package/dist/{5096.js.map → 2625.js.map} +1 -1
  40. package/dist/2685.js +1 -0
  41. package/dist/2685.js.map +1 -0
  42. package/dist/2948.js +1 -0
  43. package/dist/2948.js.map +1 -0
  44. package/dist/3089.js +1 -0
  45. package/dist/3089.js.map +1 -0
  46. package/dist/3190.js +1 -0
  47. package/dist/3190.js.map +1 -0
  48. package/dist/{1072.js → 3548.js} +1 -1
  49. package/dist/3548.js.map +1 -0
  50. package/dist/3816.js +1 -0
  51. package/dist/3816.js.map +1 -0
  52. package/dist/3906.js +1 -0
  53. package/dist/3906.js.map +1 -0
  54. package/dist/3963.js +1 -0
  55. package/dist/3963.js.map +1 -0
  56. package/dist/405.js +1 -0
  57. package/dist/405.js.map +1 -0
  58. package/dist/4296.js +1 -0
  59. package/dist/4296.js.map +1 -0
  60. package/dist/4368.js +1 -0
  61. package/dist/4368.js.map +1 -0
  62. package/dist/{6661.js → 4537.js} +1 -1
  63. package/dist/{6661.js.map → 4537.js.map} +1 -1
  64. package/dist/4735.js +1 -0
  65. package/dist/4735.js.map +1 -0
  66. package/dist/4744.js +1 -0
  67. package/dist/4744.js.map +1 -0
  68. package/dist/{5809.js → 4858.js} +1 -1
  69. package/dist/4858.js.map +1 -0
  70. package/dist/487.js +1 -0
  71. package/dist/487.js.map +1 -0
  72. package/dist/5128.js +1 -0
  73. package/dist/5128.js.map +1 -0
  74. package/dist/5192.js +17 -0
  75. package/dist/5192.js.map +1 -0
  76. package/dist/5202.js +1 -0
  77. package/dist/{4178.js.map → 5202.js.map} +1 -1
  78. package/dist/5592.js +1 -0
  79. package/dist/5592.js.map +1 -0
  80. package/dist/5669.js +1 -0
  81. package/dist/5669.js.map +1 -0
  82. package/dist/5795.js +1 -0
  83. package/dist/5795.js.map +1 -0
  84. package/dist/5880.js +1 -0
  85. package/dist/5880.js.map +1 -0
  86. package/dist/6178.js +1 -0
  87. package/dist/6178.js.map +1 -0
  88. package/dist/6373.js +13 -0
  89. package/dist/6373.js.map +1 -0
  90. package/dist/{7127.js → 6456.js} +1 -1
  91. package/dist/6492.js +1 -0
  92. package/dist/6492.js.map +1 -0
  93. package/dist/6495.js +1 -0
  94. package/dist/6495.js.map +1 -0
  95. package/dist/6561.js +1 -0
  96. package/dist/6561.js.map +1 -0
  97. package/dist/6800.js +1 -0
  98. package/dist/6800.js.map +1 -0
  99. package/dist/6962.js +1 -0
  100. package/dist/6962.js.map +1 -0
  101. package/dist/7005.js +1 -0
  102. package/dist/7005.js.map +1 -0
  103. package/dist/{2867.js → 7201.js} +1 -1
  104. package/dist/7201.js.map +1 -0
  105. package/dist/7234.js +1 -0
  106. package/dist/7234.js.map +1 -0
  107. package/dist/7261.js +1 -0
  108. package/dist/{2045.js.map → 7261.js.map} +1 -1
  109. package/dist/7326.js +1 -0
  110. package/dist/7463.js +1 -0
  111. package/dist/7463.js.map +1 -0
  112. package/dist/7497.js +1 -0
  113. package/dist/7497.js.map +1 -0
  114. package/dist/{916.js → 7607.js} +1 -1
  115. package/dist/7626.js +1 -0
  116. package/dist/7626.js.map +1 -0
  117. package/dist/7701.js +1 -0
  118. package/dist/{2947.js.map → 7701.js.map} +1 -1
  119. package/dist/7717.js +1 -0
  120. package/dist/7717.js.map +1 -0
  121. package/dist/{4308.js → 7739.js} +1 -1
  122. package/dist/{4308.js.map → 7739.js.map} +1 -1
  123. package/dist/7765.js +1 -0
  124. package/dist/7765.js.map +1 -0
  125. package/dist/7971.js +1 -0
  126. package/dist/7971.js.map +1 -0
  127. package/dist/8159.js +7 -0
  128. package/dist/8159.js.map +1 -0
  129. package/dist/8244.js +1 -0
  130. package/dist/8244.js.map +1 -0
  131. package/dist/8252.js +4 -0
  132. package/dist/8252.js.map +1 -0
  133. package/dist/845.js +1 -0
  134. package/dist/845.js.map +1 -0
  135. package/dist/8570.js +1 -0
  136. package/dist/8570.js.map +1 -0
  137. package/dist/87.js +1 -0
  138. package/dist/87.js.map +1 -0
  139. package/dist/{3040.js → 8727.js} +1 -1
  140. package/dist/9124.js +1 -0
  141. package/dist/9124.js.map +1 -0
  142. package/dist/9182.js +1 -0
  143. package/dist/921.js +1 -0
  144. package/dist/921.js.map +1 -0
  145. package/dist/9404.js +1 -0
  146. package/dist/9404.js.map +1 -0
  147. package/dist/9446.js +1 -0
  148. package/dist/{8502.js.map → 9446.js.map} +1 -1
  149. package/dist/9449.js +1 -0
  150. package/dist/9449.js.map +1 -0
  151. package/dist/9566.js +5 -0
  152. package/dist/9566.js.map +1 -0
  153. package/dist/{3491.js → 9641.js} +1 -1
  154. package/dist/{3491.js.map → 9641.js.map} +1 -1
  155. package/dist/9801.js +1 -0
  156. package/dist/9801.js.map +1 -0
  157. package/dist/9835.js +11 -0
  158. package/dist/9835.js.map +1 -0
  159. package/dist/9900.js +1 -0
  160. package/dist/{9828.js.map → 9900.js.map} +1 -1
  161. package/dist/main.js +5 -5
  162. package/dist/main.js.map +1 -1
  163. package/dist/openmrs-esm-patient-verification-app.js +5 -5
  164. package/dist/openmrs-esm-patient-verification-app.js.buildmanifest.json +542 -541
  165. package/dist/openmrs-esm-patient-verification-app.js.map +1 -1
  166. package/dist/routes.json +1 -1
  167. package/package.json +2 -2
  168. package/src/about/about.component.tsx +2 -1
  169. package/src/frontend-modules/frontend-modules.component.test.tsx +62 -0
  170. package/src/release-version.js +7 -7
  171. package/translations/fr.json +11 -1
  172. package/tsconfig.json +1 -1
  173. package/dist/1072.js.map +0 -1
  174. package/dist/1172.js +0 -1
  175. package/dist/1172.js.map +0 -1
  176. package/dist/132.js +0 -1
  177. package/dist/132.js.map +0 -1
  178. package/dist/1761.js +0 -1
  179. package/dist/1761.js.map +0 -1
  180. package/dist/1809.js +0 -7
  181. package/dist/1809.js.map +0 -1
  182. package/dist/1866.js +0 -1
  183. package/dist/1866.js.map +0 -1
  184. package/dist/1871.js +0 -1
  185. package/dist/1871.js.map +0 -1
  186. package/dist/1962.js +0 -1
  187. package/dist/1962.js.map +0 -1
  188. package/dist/2007.js +0 -1
  189. package/dist/2007.js.map +0 -1
  190. package/dist/2045.js +0 -1
  191. package/dist/2163.js +0 -1
  192. package/dist/2163.js.map +0 -1
  193. package/dist/217.js +0 -17
  194. package/dist/217.js.map +0 -1
  195. package/dist/2267.js +0 -1
  196. package/dist/2267.js.map +0 -1
  197. package/dist/2534.js +0 -1
  198. package/dist/2561.js +0 -1
  199. package/dist/2561.js.map +0 -1
  200. package/dist/2564.js +0 -1
  201. package/dist/2564.js.map +0 -1
  202. package/dist/2867.js.map +0 -1
  203. package/dist/2947.js +0 -1
  204. package/dist/3228.js +0 -1
  205. package/dist/3228.js.map +0 -1
  206. package/dist/3339.js +0 -1
  207. package/dist/3339.js.map +0 -1
  208. package/dist/3509.js +0 -1
  209. package/dist/3576.js +0 -1
  210. package/dist/3576.js.map +0 -1
  211. package/dist/4146.js +0 -1
  212. package/dist/4146.js.map +0 -1
  213. package/dist/4178.js +0 -1
  214. package/dist/422.js +0 -1
  215. package/dist/422.js.map +0 -1
  216. package/dist/4637.js +0 -1
  217. package/dist/4637.js.map +0 -1
  218. package/dist/466.js +0 -1
  219. package/dist/466.js.map +0 -1
  220. package/dist/4724.js +0 -1
  221. package/dist/4724.js.map +0 -1
  222. package/dist/4972.js +0 -1
  223. package/dist/4972.js.map +0 -1
  224. package/dist/5086.js +0 -1
  225. package/dist/5086.js.map +0 -1
  226. package/dist/509.js +0 -1
  227. package/dist/509.js.map +0 -1
  228. package/dist/5096.js +0 -1
  229. package/dist/5119.js +0 -1
  230. package/dist/5119.js.map +0 -1
  231. package/dist/5576.js +0 -1
  232. package/dist/5676.js +0 -1
  233. package/dist/5676.js.map +0 -1
  234. package/dist/5809.js.map +0 -1
  235. package/dist/5882.js +0 -1
  236. package/dist/5939.js +0 -5
  237. package/dist/5939.js.map +0 -1
  238. package/dist/6004.js +0 -1
  239. package/dist/6004.js.map +0 -1
  240. package/dist/6104.js +0 -1
  241. package/dist/6104.js.map +0 -1
  242. package/dist/6129.js +0 -1
  243. package/dist/6129.js.map +0 -1
  244. package/dist/6135.js +0 -13
  245. package/dist/6135.js.map +0 -1
  246. package/dist/6137.js +0 -1
  247. package/dist/6137.js.map +0 -1
  248. package/dist/6232.js +0 -1
  249. package/dist/6232.js.map +0 -1
  250. package/dist/6356.js +0 -1
  251. package/dist/6356.js.map +0 -1
  252. package/dist/6427.js +0 -1
  253. package/dist/6427.js.map +0 -1
  254. package/dist/6548.js +0 -1
  255. package/dist/6548.js.map +0 -1
  256. package/dist/6626.js +0 -1
  257. package/dist/6626.js.map +0 -1
  258. package/dist/6721.js +0 -1
  259. package/dist/6721.js.map +0 -1
  260. package/dist/6868.js +0 -1
  261. package/dist/6868.js.map +0 -1
  262. package/dist/689.js +0 -1
  263. package/dist/689.js.map +0 -1
  264. package/dist/7419.js +0 -1
  265. package/dist/7419.js.map +0 -1
  266. package/dist/7478.js +0 -1
  267. package/dist/7478.js.map +0 -1
  268. package/dist/7544.js +0 -1
  269. package/dist/7544.js.map +0 -1
  270. package/dist/7560.js +0 -1
  271. package/dist/7560.js.map +0 -1
  272. package/dist/781.js +0 -1
  273. package/dist/781.js.map +0 -1
  274. package/dist/8103.js +0 -1
  275. package/dist/8103.js.map +0 -1
  276. package/dist/8179.js +0 -6
  277. package/dist/8179.js.map +0 -1
  278. package/dist/8189.js +0 -1
  279. package/dist/8189.js.map +0 -1
  280. package/dist/8196.js +0 -1
  281. package/dist/8196.js.map +0 -1
  282. package/dist/8240.js +0 -1
  283. package/dist/8249.js +0 -1
  284. package/dist/8249.js.map +0 -1
  285. package/dist/8489.js +0 -1
  286. package/dist/8489.js.map +0 -1
  287. package/dist/8502.js +0 -1
  288. package/dist/8522.js +0 -1
  289. package/dist/8522.js.map +0 -1
  290. package/dist/8775.js +0 -11
  291. package/dist/8775.js.map +0 -1
  292. package/dist/8869.js +0 -1
  293. package/dist/8869.js.map +0 -1
  294. package/dist/887.js +0 -1
  295. package/dist/887.js.map +0 -1
  296. package/dist/8924.js +0 -1
  297. package/dist/8924.js.map +0 -1
  298. package/dist/8990.js +0 -1
  299. package/dist/8990.js.map +0 -1
  300. package/dist/9049.js +0 -1
  301. package/dist/9049.js.map +0 -1
  302. package/dist/9117.js +0 -4
  303. package/dist/9117.js.map +0 -1
  304. package/dist/9425.js +0 -1
  305. package/dist/9520.js +0 -1
  306. package/dist/9520.js.map +0 -1
  307. package/dist/9828.js +0 -1
  308. package/dist/9931.js +0 -1
  309. package/dist/9931.js.map +0 -1
  310. package/jest.config.js +0 -3
package/dist/3576.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[]).push([["3576"],{71065:function(e,n,t){t.d(n,{A:()=>s});var a=t(71452),i=t.n(a),o=t(34567),r=t.n(o)()(i());r.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-version__error-state-module__errorMessage___U10\\+K{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);margin-top:2.25rem;margin-bottom:.5rem}.-esm-version__error-state-module__errorCopy___waNKR{margin-bottom:.5rem;font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px);color:#525252}.-esm-version__error-state-module__desktopHeading___kTj\\+C h4{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252}.-esm-version__error-state-module__tabletHeading___MM4PW h4{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0);color:#525252}.-esm-version__error-state-module__desktopHeading___kTj\\+C,.-esm-version__error-state-module__tabletHeading___MM4PW{text-align:left;text-transform:capitalize;margin-bottom:1rem}.-esm-version__error-state-module__desktopHeading___kTj\\+C h4:after,.-esm-version__error-state-module__tabletHeading___MM4PW h4:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-version__error-state-module__tile___LPikX{text-align:center;border:1px solid #e0e0e0}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./../../node_modules/@openmrs/esm-styleguide/src/error-state/error-state.module.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,yDC81BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CD31BF,kBAAA,CACA,mBEaW,CFVb,qDACE,mBESW,CD60BT,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CDp1BF,aDPQ,CCWR,8DCg1BE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CD90BA,aDbM,CCkBR,4DCy0BE,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CDv0BA,aDpBM,CCwBV,oHAEE,eAAA,CACA,yBAAA,CACA,kBEJW,CFMX,sIACE,UAAA,CACA,aAAA,CACA,UECS,CAAA,mBAAA,CFCT,2CAAA,CAIJ,gDACE,iBAAA,CACA,wBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '../vars' as *;\n\n.errorMessage {\n @include type.type-style('heading-compact-02');\n\n margin-top: 2.25rem;\n margin-bottom: layout.$spacing-03;\n}\n\n.errorCopy {\n margin-bottom: layout.$spacing-03;\n @include type.type-style('body-01');\n color: $text-02;\n}\n\n.desktopHeading {\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n }\n}\n\n.tabletHeading {\n h4 {\n @include type.type-style('heading-03');\n color: $text-02;\n }\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n margin-bottom: layout.$spacing-05;\n\n h4:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n }\n}\n\n.tile {\n text-align: center;\n border: 1px solid $ui-03;\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),r.locals={errorMessage:"-esm-version__error-state-module__errorMessage___U10+K",errorCopy:"-esm-version__error-state-module__errorCopy___waNKR",desktopHeading:"-esm-version__error-state-module__desktopHeading___kTj+C",tabletHeading:"-esm-version__error-state-module__tabletHeading___MM4PW",tile:"-esm-version__error-state-module__tile___LPikX"};let s=r},48753:function(e,n,t){t.d(n,{A:()=>s});var a=t(71452),i=t.n(a),o=t(34567),r=t.n(o)()(i());r.push([e.id,'[dir="rtl"] .-esm-version__icons-module__icon___GCeSO{transform:scaleX(-1)}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/icons/icons.module.scss"],names:[],mappings:"AACE,sDACE,oBAAA",sourcesContent:[":global([dir='rtl']) {\n .icon {\n transform: scaleX(-1);\n }\n}\n"],sourceRoot:""}]),r.locals={icon:"-esm-version__icons-module__icon___GCeSO"};let s=r},71981:function(e,n,t){t.d(n,{A:()=>s});var a=t(71452),i=t.n(a),o=t(34567),r=t.n(o)()(i());r.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-version__left-nav-module__leftNav___jg8FZ{border-right:1px solid #e0e0e0;padding-top:1rem}.-esm-version__left-nav-module__leftNav___jg8FZ .cds--side-nav__link{color:#525252;font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);padding:0 1rem}.-esm-version__left-nav-module__leftNav___jg8FZ .cds--side-nav__link:focus,.-esm-version__left-nav-module__leftNav___jg8FZ .cds--side-nav__link:hover{background-color:#f4f4f4}.-esm-version__left-nav-module__leftNav___jg8FZ .cds--side-nav__link.active-left-nav-link{color:#161616;border-left:.25rem solid var(--brand-01);background-color:#e0e0e0;outline:none;padding:0 .75rem}.omrs-breakpoint-gt-tablet .cds--side-nav__link{height:2rem}.omrs-breakpoint-lt-desktop .cds--side-nav__link{height:3rem}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./../../node_modules/@openmrs/esm-styleguide/src/left-nav/left-nav.module.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,gDACE,8BAAA,CACA,gBCyBW,CDtBX,qEACE,aDHM,CG21BN,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CFt1BA,cAAA,CAEA,sJAEE,wBDdE,CCkBJ,0FACE,aDfE,CCgBF,wCAAA,CACA,wBDnBE,CCoBF,YAAA,CACA,gBAAA,CAOJ,gDACE,WCQS,CDFX,iDACE,WCWS",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/type';\n@use '@carbon/layout';\n@use '../vars' as *;\n\n.leftNav {\n border-right: 1px solid $ui-03;\n padding-top: layout.$spacing-05;\n\n // Left nav menu item\n :global(.cds--side-nav__link) {\n color: $text-02;\n @include type.type-style('heading-compact-01');\n padding: 0 1rem;\n\n &:focus,\n &:hover {\n background-color: $ui-01;\n }\n\n // Active menu item\n &:global(.active-left-nav-link) {\n color: $ui-05;\n border-left: layout.$spacing-02 solid var(--brand-01);\n background-color: $ui-03;\n outline: none;\n padding: 0 layout.$spacing-04;\n }\n }\n}\n\n/* Desktop */\n:global(.omrs-breakpoint-gt-tablet) {\n :global(.cds--side-nav__link) {\n height: layout.$spacing-07;\n }\n}\n\n/* Tablet */\n:global(.omrs-breakpoint-lt-desktop) {\n :global(.cds--side-nav__link) {\n height: layout.$spacing-09;\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),r.locals={leftNav:"-esm-version__left-nav-module__leftNav___jg8FZ"};let s=r},65309:function(e,n,t){t.d(n,{A:()=>s});var a=t(71452),i=t.n(a),o=t(34567),r=t.n(o)()(i());r.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-version__location-picker-module__bodyCompact01___jC2fp,.-esm-version__location-picker-module__locationRadioButton___-NH1f,.-esm-version__location-picker-module__resultsCount___UZVWF{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-version__location-picker-module__searchResults___AyRJD{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0);max-height:100%;overflow-y:auto;padding:0 1.5rem;background-color:#f4f4f4;height:25.5rem}.-esm-version__location-picker-module__resultsCount___UZVWF{color:#525252}.-esm-version__location-picker-module__locationResultsContainer___APVhZ{display:flex;overflow-y:auto;padding:.5rem .125rem 0}.-esm-version__location-picker-module__locationRadioButton___-NH1f{display:flex;height:3rem;align-items:center}.-esm-version__location-picker-module__locationNotFound___ATfF8{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);color:#525252;margin-bottom:1rem}.-esm-version__location-picker-module__confirmButton___ZAJUa{padding:1.5rem}.-esm-version__location-picker-module__confirmButton___ZAJUa .-esm-version__location-picker-module__savePreferenceCheckbox___vRCK3{padding-bottom:1rem !important}.-esm-version__location-picker-module__confirmButton___ZAJUa button{width:100%}.-esm-version__location-picker-module__radioButtonSkeleton___PmKDL{margin-right:0 !important;margin-bottom:2rem}.-esm-version__location-picker-module__radioButtonSkeleton___PmKDL span{width:100% !important}.-esm-version__location-picker-module__loadingIcon___\\+JZuN{display:flex;justify-content:center;align-items:center;max-width:50%;margin:1rem auto}.-esm-version__location-picker-module__loadingIcon___\\+JZuN .cds--loading__stroke{stroke:#007d79;stroke:var(--brand-03)}.-esm-version__location-picker-module__loadingContainer___2piVC{margin-top:1.5rem}.-esm-version__location-picker-module__emptyState___Qe70R{display:flex;flex-direction:column;justify-content:center;margin:1.5rem auto 0}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./../../node_modules/@openmrs/esm-styleguide/src/location-picker/location-picker.module.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,4LC81BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CD11BJ,6DC01BI,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CDx1BF,eAAA,CACA,eAAA,CACA,gBAAA,CACA,wBDXM,CCYN,cAAA,CAGF,4DAEE,aDRc,CCWhB,wEACE,YAAA,CACA,eAAA,CACA,uBAAA,CAGF,mEACE,YAAA,CACA,WEqBW,CFpBX,kBAAA,CAIF,gEC+zBI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD7zBF,aD9BQ,CC+BR,kBEPW,CFUb,6DACE,cENW,CFQX,mIACE,8BAAA,CAGF,oEACE,UAAA,CAIJ,mEACE,yBAAA,CACA,kBEdW,CFiBb,wEACE,qBAAA,CAGF,4DACE,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,aAAA,CACA,gBAAA,CAEA,kFDnBA,cAAA,CACA,sBAAA,CCuBF,gEACE,iBEvCW,CF0Cb,0DACE,YAAA,CACA,qBAAA,CACA,sBAAA,CACA,oBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '../vars' as *;\n\n.bodyCompact01 {\n @include type.type-style('body-compact-01');\n}\n\n.searchResults {\n @include type.type-style('body-compact-02');\n max-height: 100%;\n overflow-y: auto;\n padding: 0 layout.$spacing-06;\n background-color: $ui-01;\n height: 25.5rem;\n}\n\n.resultsCount {\n @extend .bodyCompact01;\n color: $color-gray-70;\n}\n\n.locationResultsContainer {\n display: flex;\n overflow-y: auto;\n padding: layout.$spacing-03 layout.$spacing-01 0;\n}\n\n.locationRadioButton {\n display: flex;\n height: layout.$spacing-09;\n align-items: center;\n @extend .bodyCompact01;\n}\n\n.locationNotFound {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-bottom: layout.$spacing-05;\n}\n\n.confirmButton {\n padding: layout.$spacing-06;\n\n .savePreferenceCheckbox {\n padding-bottom: layout.$spacing-05 !important;\n }\n\n button {\n width: 100%;\n }\n}\n\n.radioButtonSkeleton {\n margin-right: 0 !important;\n margin-bottom: layout.$spacing-07;\n}\n\n.radioButtonSkeleton span {\n width: 100% !important;\n}\n\n.loadingIcon {\n display: flex;\n justify-content: center;\n align-items: center;\n max-width: 50%;\n margin: layout.$spacing-05 auto;\n\n :global(.cds--loading__stroke) {\n @include brand-03(stroke);\n }\n}\n\n.loadingContainer {\n margin-top: layout.$spacing-06;\n}\n\n.emptyState {\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin: layout.$spacing-06 auto 0;\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),r.locals={bodyCompact01:"-esm-version__location-picker-module__bodyCompact01___jC2fp",locationRadioButton:"-esm-version__location-picker-module__locationRadioButton___-NH1f",resultsCount:"-esm-version__location-picker-module__resultsCount___UZVWF",searchResults:"-esm-version__location-picker-module__searchResults___AyRJD",locationResultsContainer:"-esm-version__location-picker-module__locationResultsContainer___APVhZ",locationNotFound:"-esm-version__location-picker-module__locationNotFound___ATfF8",confirmButton:"-esm-version__location-picker-module__confirmButton___ZAJUa",savePreferenceCheckbox:"-esm-version__location-picker-module__savePreferenceCheckbox___vRCK3",radioButtonSkeleton:"-esm-version__location-picker-module__radioButtonSkeleton___PmKDL",loadingIcon:"-esm-version__location-picker-module__loadingIcon___+JZuN",loadingContainer:"-esm-version__location-picker-module__loadingContainer___2piVC",emptyState:"-esm-version__location-picker-module__emptyState___Qe70R"};let s=r},72596:function(e,n,t){t.d(n,{F:()=>s});var a=t(70438),i=t(12910),o=t(35400),r=t.n(o),s=function(e){var n=e.diagnoses,t=(0,i.UK)({externalModuleName:"@openmrs/esm-styleguide"}).diagnosisTags;return r().createElement(r().Fragment,null,n.map(function(e){var n=e.rank,i=e.uuid,o=e.display,s=t[1===n?"primaryColor":"secondaryColor"];return r().createElement(a.Tag,{key:i,type:s},o)}))}},78437:function(e,n,t){t.d(n,{W:()=>A});var a=t(35400),i=t.n(a),o=t(70438),r=t(54520),s=t(12910),l=t(72591),c=t.n(l),p=t(1740),u=t.n(p),d=t(88128),f=t.n(d),g=t(30855),m=t.n(g),h=t(93051),y=t.n(h),b=t(73656),$=t.n(b),v=t(71065),w={};w.styleTagTransform=$(),w.setAttributes=m(),w.insert=f().bind(null,"head"),w.domAPI=u(),w.insertStyleElement=y(),c()(v.A,w);let k=v.A&&v.A.locals?v.A.locals:void 0;var A=function(e){var n,t,a=e.error,l=e.headerTitle,c="tablet"===(0,s.qv)();return i().createElement(o.Layer,null,i().createElement(o.Tile,{className:k.tile},i().createElement("div",{className:c?k.tabletHeading:k.desktopHeading},i().createElement("h4",null,l)),i().createElement("p",{className:k.errorMessage},(0,r.V)("error","Error")," ","".concat(null==a||null==(n=a.response)?void 0:n.status,": "),null==a||null==(t=a.response)?void 0:t.statusText),i().createElement("p",{className:k.errorCopy},(0,r.V)("errorCopy"))))}},50298:function(e,n,t){t.d(n,{eC:()=>N,vK:()=>L,zZ:()=>ey,OC:()=>eL,hi:()=>eg,JT:()=>eN,dw:()=>eX,rv:()=>e_,Oi:()=>e2,jM:()=>el,np:()=>x,Ug:()=>e4,US:()=>Z,ww:()=>eP,id:()=>e5,ny:()=>e1,Ft:()=>I,PP:()=>eE,oC:()=>J,sz:()=>et,nF:()=>er,H0:()=>eR,WI:()=>eI,s3:()=>G,X:()=>V,n:()=>eo,Rn:()=>ez,D3:()=>j,RF:()=>eq,hZ:()=>eU,YJ:()=>W,Pt:()=>e6,u4:()=>ew,pm:()=>O,Wd:()=>H,Mt:()=>U,hX:()=>ea,_e:()=>eu,XB:()=>en,mm:()=>R,In:()=>nn,uF:()=>ev,ci:()=>e7,oy:()=>ne,uQ:()=>ep,Fn:()=>e$,Ce:()=>K,rZ:()=>eM,bD:()=>S,ly:()=>ex,BT:()=>eh,SA:()=>e8,pY:()=>eZ,_X:()=>eb,ZL:()=>z,JJ:()=>D,Py:()=>es,fe:()=>e0,Zr:()=>ed,Sw:()=>T,cQ:()=>eD,BG:()=>eC,Kb:()=>eJ,qY:()=>P,A6:()=>C,MZ:()=>e3,ZH:()=>F,fl:()=>E,vF:()=>ef,uq:()=>Y,py:()=>X,XE:()=>eA,tC:()=>eS,W4:()=>q,Jc:()=>ee,NA:()=>eT,CT:()=>B,Ze:()=>eO,Uv:()=>e9,Lf:()=>eW,RE:()=>_,z$:()=>eK,MO:()=>eY,aJ:()=>ej,yD:()=>eQ,LP:()=>eF,os:()=>eV,qU:()=>Q,Ix:()=>ec,yB:()=>ek,lq:()=>eB,kE:()=>A,Kp:()=>M,x1:()=>ei,b1:()=>eH,EJ:()=>eG,Rt:()=>em});var a=t(35400),i=t.n(a),o=t(77113),r=t.n(o),s=t(12910),l=t(72591),c=t.n(l),p=t(1740),u=t.n(p),d=t(88128),f=t.n(d),g=t(30855),m=t.n(g),h=t(93051),y=t.n(h),b=t(73656),$=t.n(b),v=t(48753),w={};w.styleTagTransform=$(),w.setAttributes=m(),w.insert=f().bind(null,"head"),w.domAPI=u(),w.insertStyleElement=y(),c()(v.A,w);let k=v.A&&v.A.locals?v.A.locals:void 0;var A=["omrs-icon-activity","omrs-icon-add","omrs-icon-arrow-down","omrs-icon-arrow-left","omrs-icon-arrow-right","omrs-icon-arrow-up","omrs-icon-baby","omrs-icon-calendar-heat-map","omrs-icon-calendar","omrs-icon-caret-down","omrs-icon-caret-left","omrs-icon-caret-right","omrs-icon-caret-up","omrs-icon-chart-average","omrs-icon-checkmark-filled","omrs-icon-checkmark-outline","omrs-icon-chemistry","omrs-icon-chevron-down","omrs-icon-chevron-left","omrs-icon-chevron-right","omrs-icon-chevron-up","omrs-icon-close","omrs-icon-close-filled","omrs-icon-close-outline","omrs-icon-document","omrs-icon-document-attachment","omrs-icon-download","omrs-icon-drug-order","omrs-icon-edit","omrs-icon-event-schedule","omrs-icon-events","omrs-icon-gender-female","omrs-icon-gender-male","omrs-icon-gender-other","omrs-icon-gender-unknown","omrs-icon-generic-order-type","omrs-icon-group","omrs-icon-group-access","omrs-icon-hospital-bed","omrs-icon-image-medical","omrs-icon-information","omrs-icon-information-filled","omrs-icon-information-square","omrs-icon-inventory-management","omrs-icon-lab-order","omrs-icon-list-checked","omrs-icon-location","omrs-icon-material-order","omrs-icon-maximize","omrs-icon-medication","omrs-icon-message-queue","omrs-icon-microscope","omrs-icon-money","omrs-icon-mother","omrs-icon-movement","omrs-icon-overflow-menu--horizontal","omrs-icon-overflow-menu--vertical","omrs-icon-password","omrs-icon-pedestrian-family","omrs-icon-pen","omrs-icon-printer","omrs-icon-procedure-order","omrs-icon-programs","omrs-icon-renew","omrs-icon-referral-order","omrs-icon-report","omrs-icon-reset","omrs-icon-save","omrs-icon-search","omrs-icon-settings","omrs-icon-shopping-cart","omrs-icon-shopping-cart--arrow-down","omrs-icon-sticky-note-add","omrs-icon-switcher","omrs-icon-syringe","omrs-icon-table-of-contents","omrs-icon-table","omrs-icon-time","omrs-icon-tools","omrs-icon-translate","omrs-icon-trash-can","omrs-icon-tree-view--alt","omrs-icon-user-avatar","omrs-icon-user-follow","omrs-icon-user-xray","omrs-icon-user","omrs-icon-view-off","omrs-icon-view","omrs-icon-warning"],x=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-activity",iconProps:e})})),_=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-add",iconProps:e})})),z=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-arrow-down",iconProps:e})})),C=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-arrow-left",iconProps:e})})),E=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-arrow-right",iconProps:e})})),M=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-arrow-up",iconProps:e})})),P=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-baby",iconProps:e})})),R=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-calendar-heat-map",iconProps:e})})),B=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-calendar",iconProps:e})})),S=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-caret-down",iconProps:e})})),N=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-caret-left",iconProps:e})})),D=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-caret-right",iconProps:e})})),T=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-caret-up",iconProps:e})})),F=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-chart-average",iconProps:e})})),I=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-checkmark-filled",iconProps:e})})),O=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-checkmark-outline",iconProps:e})})),q=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-chemistry",iconProps:e})})),j=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-chevron-down",iconProps:e})})),W=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-chevron-left",iconProps:e})})),L=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-chevron-right",iconProps:e})})),U=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-chevron-up",iconProps:e})})),Z=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-close",iconProps:e})})),J=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-close-filled",iconProps:e})})),H=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-close-outline",iconProps:e})})),X=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-document",iconProps:e})})),K=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-document-attachment",iconProps:e})})),G=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-download",iconProps:e})})),Y=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-drug-order",iconProps:e})})),Q=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-edit",iconProps:e})})),V=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-event-schedule",iconProps:e})})),ee=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-events",iconProps:e})})),en=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-gender-female",iconProps:e})})),et=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-gender-male",iconProps:e})})),ea=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-gender-other",iconProps:e})})),ei=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-gender-unknown",iconProps:e})})),eo=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-generic-order-type",iconProps:e})})),er=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-group",iconProps:e})})),es=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-group-access",iconProps:e})})),el=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-hospital-bed",iconProps:e})})),ec=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-image-medical",iconProps:e})})),ep=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-information",iconProps:e})})),eu=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-information-filled",iconProps:e})})),ed=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-information-square",iconProps:e})})),ef=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-inventory-management",iconProps:e})})),eg=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-lab-order",iconProps:e})})),em=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-list-checked",iconProps:e})})),eh=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-location",iconProps:e})})),ey=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-material-order",iconProps:e})})),eb=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-maximize",iconProps:e})})),e$=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-medication",iconProps:e})})),ev=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-message-queue",iconProps:e})})),ew=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-microscope",iconProps:e})})),ek=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-money",iconProps:e})})),eA=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-mother",iconProps:e})})),ex=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-movement",iconProps:e})})),e_=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-overflow-menu--horizontal",iconProps:e})})),ez=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-overflow-menu--horizontal",iconProps:e})})),eC=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-password",iconProps:e})})),eE=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-pedestrian-family",iconProps:e})})),eM=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-pen",iconProps:e})})),eP=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-printer",iconProps:e})})),eR=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-procedure-order",iconProps:e})})),eB=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-programs",iconProps:e})})),eS=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-referral-order",iconProps:e})})),eN=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-renew",iconProps:e})})),eD=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-report",iconProps:e})})),eT=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-reset",iconProps:e})})),eF=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-save",iconProps:e})})),eI=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-search",iconProps:e})})),eO=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-settings",iconProps:e})})),eq=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-switcher",iconProps:e})})),ej=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-shopping-cart",iconProps:e})})),eW=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-shopping-cart--arrow-down",iconProps:e})})),eL=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-sticky-note-add",iconProps:e})})),eU=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-syringe",iconProps:e})})),eZ=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-table-of-contents",iconProps:e})})),eJ=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-table",iconProps:e})})),eH=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-time",iconProps:e})})),eX=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-tools",iconProps:e})})),eK=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-translate",iconProps:e})})),eG=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-trash-can",iconProps:e})})),eY=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-tree-view--alt",iconProps:e})})),eQ=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-user-avatar",iconProps:e})})),eV=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-user-follow",iconProps:e})})),e0=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-user-xray",iconProps:e})})),e1=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-user",iconProps:e})})),e2=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-view-off",iconProps:e})})),e3=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-view",iconProps:e})})),e5=(0,a.memo)((0,a.forwardRef)(function(e,n){return i().createElement(nn,{ref:n,icon:"omrs-icon-warning",iconProps:e})})),e4=e5,e6=K,e7=em,e8=ec,e9=eW,ne=(0,a.memo)((0,a.forwardRef)(function(e,n){var t=e.icon,o=e.fallback,r=function(e,n){if(null==e)return{};var t,a,i=function(e,n){if(null==e)return{};var t,a,i={},o=Object.keys(e);for(a=0;a<o.length;a++)t=o[a],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)t=o[a],!(n.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["icon","fallback"]),l=(0,a.useRef)(document.getElementById(t));return(0,a.useEffect)(function(){var e=document.getElementById("omrs-svgs-container"),n=new MutationObserver(function(e){var n=!0,a=!1,i=void 0;try{for(var o,r=e[Symbol.iterator]();!(n=(o=r.next()).done);n=!0){var s=o.value;"childList"===s.type&&(l.current=document.getElementById(t))}}catch(e){a=!0,i=e}finally{try{n||null==r.return||r.return()}finally{if(a)throw i}}});return e&&n.observe(e,{childList:!0}),function(){return n.disconnect()}},[t]),i().createElement(s.fS,{value:l.current,fallback:o},i().createElement(nn,{ref:n,icon:t,iconProps:r}))})),nn=(0,a.memo)((0,a.forwardRef)(function(e,n){var t=e.icon,o=Object.assign({},{fill:"currentColor",size:20},e.iconProps),s=o.className,l=o.fill,c=o.size;(c<=0||c>72)&&(console.error("Invalid size '".concat(c,"' specified for ").concat(t,". Defaulting to 20.")),c=20);var p=(0,a.useRef)(null);return(0,a.useImperativeHandle)(n,function(){return p.current}),(0,a.useEffect)(function(){p.current&&"currentColor"!==l&&p.current.style.setProperty("--omrs-icon-fill",l)},[]),i().createElement("svg",{ref:p,className:r()("omrs-icon",k.icon,s),height:c,width:c,viewBox:"0 0 16 16"},i().createElement("use",{href:"#".concat(t)}))}))},96290:function(e,n,t){t.d(n,{A6:()=>a.A6,CT:()=>a.CT,Sw:()=>a.Sw,US:()=>a.US,XB:()=>a.XB,YJ:()=>a.YJ,bD:()=>a.bD,fl:()=>a.fl,hX:()=>a.hX,id:()=>a.id,sz:()=>a.sz,vK:()=>a.vK,x1:()=>a.x1});var a=t(50298)},22794:function(e,n,t){t.d(n,{$2H:()=>v.$2,$iy:()=>v.$i,A60:()=>p.A6,AkA:()=>E.Ak,B1u:()=>v.B1,B2u:()=>v.B2,BGy:()=>p.BG,BT6:()=>p.BT,Bk2:()=>v.Bk,CH0:()=>C.CH,CTc:()=>p.CT,CU$:()=>g.CU,Ce6:()=>p.Ce,D3D:()=>p.D3,DeE:()=>v.De,Dsh:()=>g.Ds,EA:()=>a.E,ECF:()=>v.EC,EDM:()=>C.ED,EJV:()=>p.EJ,EPe:()=>f.E,Eg0:()=>h.E,F3N:()=>C.F3,Fmw:()=>C.Fm,Fnj:()=>p.Fn,FtQ:()=>p.Ft,Fzf:()=>l.F,GYk:()=>E.GY,G_3:()=>C.G_,H0x:()=>p.H0,IHy:()=>v.IH,Int:()=>p.In,Ix5:()=>p.Ix,JJd:()=>p.JJ,JKc:()=>C.JK,JTN:()=>p.JT,Jc:()=>p.Jc,KFv:()=>w.K,KKH:()=>v.KK,KbA:()=>p.Kb,Kpk:()=>p.Kp,LPu:()=>p.LP,Lfm:()=>p.Lf,MJ8:()=>C.MJ,MO4:()=>p.MO,MTs:()=>d.M,MnZ:()=>v.Mn,Mtm:()=>p.Mt,NAP:()=>p.NA,OC$:()=>p.OC,OeE:()=>C.Oe,Oi_:()=>p.Oi,Ojh:()=>u.O,P0c:()=>_.P,PPo:()=>p.PP,PtA:()=>p.Pt,Pyy:()=>p.Py,Q92:()=>v.Q9,Q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nvs:()=>v.nv,nys:()=>p.ny,oCk:()=>p.oC,osL:()=>p.os,owH:()=>v.ow,oy0:()=>p.oy,ozP:()=>E.oz,pTx:()=>E.pT,pYV:()=>p.pY,pm$:()=>p.pm,pyG:()=>p.py,qUP:()=>p.qU,qYP:()=>p.qY,q__:()=>v.q_,qb_:()=>A.q,rZj:()=>p.rZ,rnR:()=>s.r,rpF:()=>v.rp,rv3:()=>p.rv,s3U:()=>p.s3,sgv:()=>v.sg,szA:()=>p.sz,tCH:()=>p.tC,tCQ:()=>p.MZ,tMf:()=>C.tM,tdF:()=>k.t,thS:()=>v.th,toY:()=>f.t,u4h:()=>p.u4,uFu:()=>p.uF,uQD:()=>i.u,uQc:()=>p.uQ,uU$:()=>v.uU,uWG:()=>x.u,uqj:()=>p.uq,vFG:()=>p.vF,vJW:()=>v.vJ,vKP:()=>p.vK,w21:()=>v.w2,wwY:()=>p.ww,x1U:()=>p.x1,x9q:()=>C.x9,y8:()=>z.y,yBj:()=>p.yB,yDT:()=>p.yD,yV:()=>$.y,zYs:()=>y.z,zZ0:()=>p.zZ,zfR:()=>g.zf,zlb:()=>C.zl,zvf:()=>b.zv});var a=t(20072),i=t(34001),o=t(67392),r=t(11922),s=t(93901),l=t(72596),c=t(78437),p=t(50298),u=t(95724),d=t(14106),f=t(81570),g=t(96829),m=t(24141),h=t(40208),y=t(91140),b=t(74472),$=t(92478),v=t(6788),w=t(17844),k=t(10644),A=t(61772),x=t(7653),_=t(86834),z=t(17734),C=t(80190),E=t(90514),M=t(93636)},95724:function(e,n,t){t.d(n,{O:()=>k});var a=t(35400),i=t.n(a),o=t(70438),r=t(12910),s=t(72591),l=t.n(s),c=t(1740),p=t.n(c),u=t(88128),d=t.n(u),f=t(30855),g=t.n(f),m=t(93051),h=t.n(m),y=t(73656),b=t.n(y),$=t(71981),v={};v.styleTagTransform=b(),v.setAttributes=g(),v.insert=d().bind(null,"head"),v.domAPI=p(),v.insertStyleElement=h(),l()($.A,v);let w=$.A&&$.A.locals?$.A.locals:void 0;var k=i().forwardRef(function(e,n){var t,a=(0,r.TA)(),s=a.slotName,l=a.basePath,c=a.componentContext,p=null!=(t=window.location)?t:{pathname:""},u=(0,r.CX)(null!=s?s:"");return e.isChildOfHeader&&s&&u.length>0?i().createElement(o.SideNav,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){var a;a=t[n],n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a})}return e}({ref:n,expanded:!0,"aria-label":"Left navigation",className:w.leftNav},e),i().createElement(r.W3,{name:"global-nav-menu-slot"}),s?i().createElement(r.fS,{value:c,fallback:i().createElement(r.W3,{name:s,state:{basePath:l,currentPath:p}})},i().createElement(r.zq.Provider,{value:c},i().createElement(r.W3,{name:s,state:{basePath:l,currentPath:p}}))):null):i().createElement(i().Fragment,null)})},14106:function(e,n,t){t.d(n,{M:()=>P});var a=t(35400),i=t.n(a),o=t(42722),r=t(58088),s=t(70438),l=t(44924),c=t(82910),p=t(24295),u=t(12910),d=t(96829),f=t(72591),g=t.n(f),m=t(1740),h=t.n(m),y=t(88128),b=t.n(y),$=t(30855),v=t.n($),w=t(93051),k=t.n(w),A=t(73656),x=t.n(A),_=t(65309),z={};z.styleTagTransform=x(),z.setAttributes=v(),z.insert=b().bind(null,"head"),z.domAPI=h(),z.insertStyleElement=k(),g()(_.A,z);let C=_.A&&_.A.locals?_.A.locals:void 0;function E(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function M(e,n){if(e){if("string"==typeof e)return E(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return E(e,n)}}var P=function(e){var n,t,f,g,m,h,y=e.selectedLocationUuid,b=e.defaultLocationUuid,$=e.locationTag,v=e.locationsPerRequest,w=void 0===v?50:v,k=e.onChange,A=(0,r.useTranslation)().t,x=(n=(0,a.useState)(""),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,a,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],r=!0,s=!1;try{for(i=i.call(e);!(r=(t=i.next()).done)&&(o.push(t.value),2!==o.length);r=!0);}catch(e){s=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(s)throw a}}return o}}(n,2)||M(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),_=x[0],z=x[1],P=(t=b?"/ws/fhir2/R4/Location?_id=".concat(b):null,g=(f=(0,l.A)(t,p.lo,{shouldRetryOnError:function(e){var n;return null!=e&&null!=(n=e.response)&&!!n.status&&e.response.status>=500}})).data,m=f.error,h=f.isLoading,(0,a.useMemo)(function(){var e;return{location:(null==g||null==(e=g.data)?void 0:e.entry)?g.data.entry[0]:null,error:t?m:null,isLoading:!!t&&h}},[g,h,m,t])).location,R=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=(0,r.useTranslation)().t,o=(0,u.d7)(t),s=(0,c.Ay)(function(t,a){if(a){var i,r,s=null==(r=a.data)||null==(i=r.link)?void 0:i.find(function(e){return"next"===e.relation});if(!s)return null;var l=new URL(s.url);return l.origin===window.location.origin?s.url:new URL("".concat(l.pathname).concat(l.search?"?".concat(l.search):""),window.location.origin).toString()}var c="".concat(p.IU,"/Location?"),u=new URLSearchParams;return u.append("_summary","data"),n&&u.append("_count",""+n),t&&u.append("_getpagesoffset",""+t*n),e&&u.append("_tag",e),"string"==typeof o&&""!=o&&u.append("name:contains",o),c+u.toString()},p.lo),l=s.data,f=s.isLoading,g=s.isValidating,m=s.setSize,h=s.error;return h&&(0,d.Ds)({title:i("errorLoadingLoginLocations","Error loading login locations"),kind:"error",critical:!0,description:null==h?void 0:h.message}),(0,a.useMemo)(function(){var e,n,t,a,i;return{locations:(null==l?void 0:l.length)?null==l?void 0:l.flatMap(function(e){var n,t;return null!=(t=null==e||null==(n=e.data)?void 0:n.entry)?t:[]}):[],isLoading:f,totalResults:null==l||null==(n=l[0])||null==(e=n.data)?void 0:e.total,hasMore:null!=l&&!!l.length&&(null==l||null==(i=l[l.length-1])||null==(a=i.data)||null==(t=a.link)?void 0:t.some(function(e){return"next"===e.relation})),loadingNewData:g,setPage:m}},[f,l,g,m])}($,w,_),B=R.locations,S=R.isLoading,N=R.hasMore,D=R.loadingNewData,T=R.setPage,F=(0,a.useMemo)(function(){if(P&&!_){var e;return[P].concat(function(e){if(Array.isArray(e))return E(e)}(e=null==B?void 0:B.filter(function(e){return e.resource.id!==b}))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||M(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}return B},[P,B]),I=function(e){k(),z(e)},O=(0,a.useCallback)(function(){D||!N||T(function(e){return e+1})},[D,N,T]),q=(0,o.useOnVisible)(O),j=N?F.length-w/2:-1;return i().createElement("div",null,i().createElement(s.Search,{labelText:A("searchForLocation","Search for a location"),id:"search-1",placeholder:A("searchForLocation","Search for a location"),onChange:function(e){return I(e.target.value)},size:"lg"}),i().createElement("div",{className:C.searchResults},S?i().createElement("div",{className:C.loadingContainer},i().createElement(s.RadioButtonSkeleton,{className:C.radioButtonSkeleton,role:"progressbar"}),i().createElement(s.RadioButtonSkeleton,{className:C.radioButtonSkeleton,role:"progressbar"}),i().createElement(s.RadioButtonSkeleton,{className:C.radioButtonSkeleton,role:"progressbar"}),i().createElement(s.RadioButtonSkeleton,{className:C.radioButtonSkeleton,role:"progressbar"}),i().createElement(s.RadioButtonSkeleton,{className:C.radioButtonSkeleton,role:"progressbar"})):i().createElement(i().Fragment,null,i().createElement("div",{className:C.locationResultsContainer},(null==F?void 0:F.length)>0?i().createElement(s.RadioButtonGroup,{name:"loginLocations",onChange:function(e){k(null==e?void 0:e.toString())},orientation:"vertical",valueSelected:y},F.map(function(e,n){return i().createElement(s.RadioButton,{className:C.locationRadioButton,key:e.resource.id,id:e.resource.id,name:e.resource.name,labelText:i().createElement("span",{ref:n==j?q:null},e.resource.name),value:e.resource.id})})):i().createElement("div",{className:C.emptyState},i().createElement("p",{className:C.locationNotFound},A("noResultsToDisplay","No results to display")))),D&&i().createElement("div",{className:C.loadingIcon},i().createElement(s.InlineLoading,{description:A("loading","Loading")})))))}},81570:function(e,n,t){t.d(n,{E:()=>$,t:()=>v});var a=t(22956),i=t(467),o=t(97600),r=t(64201);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function l(e,n,t,a,i,o,r){try{var s=e[o](r),l=s.value}catch(e){t(e);return}s.done?n(l):Promise.resolve(l).then(a,i)}function c(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){var a;a=t[n],n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a})}return e}function p(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t.push.apply(t,a)}return t})(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function u(e,n){if(e){if("string"==typeof e)return s(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(e,n)}}var d=(0,i.Zd)("modalState",{modalContainer:null,modalStack:[]}),f=0;function g(){var e;return e=function(e,n){var t,i,s,l,u,d=arguments;return function(e,n){var t,a,i,o,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){var l=[o,s];if(t)throw TypeError("Generator is already executing.");for(;r;)try{if(t=1,a&&(i=2&l[0]?a.return:l[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;switch(a=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(!(i=(i=r.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){r=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(6===l[0]&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=n.call(e,r)}catch(e){l=[6,e],a=0}finally{t=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}(this,function(g){switch(g.label){case 0:if(t=d.length>2&&void 0!==d[2]?d[2]:{},i=(0,o.Fg)(n),s=null,!e)return[3,2];if(!i)throw Error("No modal named '".concat(n,"' has been registered."));return[4,(0,i.load)()];case 1:return l=g.sent(),u=f++,s=(0,a.xL)(p(c({},l),{name:"".concat(n,"-").concat(u)}),p(c({},t),{domElement:e})),[3,3];case 2:(0,r.N)("Failed to launch modal. Please notify your administrator. Modal name: ".concat(n)),g.label=3;case 3:return[2,s]}})},(g=function(){var n=this,t=arguments;return new Promise(function(a,i){var o=e.apply(n,t);function r(e){l(o,a,i,r,s,"next",e)}function s(e){l(o,a,i,r,s,"throw",e)}r(void 0)})}).apply(this,arguments)}var m=window.getComputedStyle(document.body).overflow;function h(e){var n=e.modalStack,t=e.modalContainer;t&&(n.length?(t.style.visibility||(addEventListener("keydown",b),document.body.style.overflow="hidden",t.style.visibility="unset"),n.forEach(function(e,a){switch(e.state){case"NEW":var i,o,r,s,l,c,p,u=(i=({size:null!=(p=null==(c=e.props)?void 0:c.size)?p:"md"}).size,(o=document.createElement("div")).className="cds--modal-container cds--modal-container--".concat(i),o.setAttribute("role","dialog"),o.setAttribute("tabindex","-1"),o.setAttribute("aria-modal","true"),o);e.container=u,(function(e,n){return g.apply(this,arguments)})(u,e.modalName,e.props).then(function(n){e.parcel=n,e.state="MOUNTED",t.prepend(u),u.style.visibility="unset"});break;case"MOUNTED":e.container&&(e.container.style.visibility=a?"hidden":"unset");break;case"TO_BE_DELETED":e.onClose(),null==(s=e.parcel)||null==(r=s.unmount)||r.call(s),null==(l=e.container)||l.remove(),setTimeout(function(){d.setState({modalContainer:t,modalStack:n.filter(function(n){return n!==e})})},0)}})):(t.style.removeProperty("visibility"),document.body.style.overflow=m,removeEventListener("keydown",b)))}function y(e){var n=d.getState(),t=n.modalStack.map(function(n){return n===e?p(c({},n),{state:"TO_BE_DELETED"}):n});d.setState(p(c({},n),{modalStack:t}))}function b(e){var n,t;"Escape"===e.key&&(t=(n=d.getState().modalStack,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,a,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],r=!0,s=!1;try{for(i=i.call(e);!(r=(t=i.next()).done)&&(o.push(t.value),1!==o.length);r=!0);}catch(e){s=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(s)throw a}}return o}}(n,1)||u(n,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0])&&y(t)}function $(e){d.subscribe(h),d.setState(p(c({},d.getState()),{modalContainer:e}))}function v(e){var n,t,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},f=function(){var e=d.getState().modalStack.find(function(e){return e.onClose===l});e&&y(e)};return(0,o.Fg)(e)?(a=[{state:"NEW",onClose:l,modalName:e,props:c({close:f},i)}].concat(function(e){if(Array.isArray(e))return s(e)}(t=(n=d.getState()).modalStack)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||u(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d.setState(p(c({},n),{modalStack:a}))):(0,r.N)('Failed to launch modal. Please notify your administrator. Modal name: "'.concat(e,'"')),f}}}]);
package/dist/3576.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"3576.js","sources":["webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/error-state/error-state.module.scss","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/icons/icons.module.scss","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/left-nav/left-nav.module.scss","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/location-picker/location-picker.module.scss","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/diagnosis-tags/diagnosis-tags.component.tsx","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/error-state/error-state.module.scss?60fe","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/error-state/error-state.component.tsx","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/icons/icons.module.scss?a1da","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/icons/icons.tsx","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/left-nav/left-nav.module.scss?ba81","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/left-nav/index.tsx","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/location-picker/location-picker.module.scss?dce1","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/location-picker/location-picker.component.tsx","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/location-picker/location-picker.resource.ts","webpack://@kenyaemr/esm-version-app/../../node_modules/@openmrs/esm-styleguide/src/modals/index.tsx"],"names":["DiagnosisTags","diagnoses","diagnosisTags","useConfig","externalModuleName","map","diagnosis","rank","uuid","display","color","Tag","key","type","ErrorState","error","headerTitle","isTablet","useLayoutType","Layer","Tile","className","styles","div","h4","p","getCoreTranslation","response","status","statusText","iconIds","ActivityIcon","memo","forwardRef","props","ref","Icon","icon","iconProps","AddIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowUpIcon","BabyIcon","CalendarHeatMapIcon","CalendarIcon","CaretDownIcon","CaretLeftIcon","CaretRightIcon","CaretUpIcon","ChartAverageIcon","CheckmarkFilledIcon","CheckmarkOutlineIcon","ChemistryIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronUpIcon","CloseIcon","CloseFilledIcon","CloseOutlineIcon","DocumentIcon","DocumentAttachmentIcon","DownloadIcon","DrugOrderIcon","EditIcon","EventScheduleIcon","EventsIcon","GenderFemaleIcon","GenderMaleIcon","GenderOtherIcon","GenderUnknownIcon","GenericOrderTypeIcon","GroupIcon","GroupAccessIcon","HospitalBedIcon","ImageMedicalIcon","InformationIcon","InformationFilledIcon","InformationSquareIcon","InventoryManagementIcon","LabOrderIcon","ListCheckedIcon","LocationIcon","MaterialOrderIcon","MaximizeIcon","MedicationIcon","MessageQueueIcon","MicroscopeIcon","MoneyIcon","MotherIcon","MovementIcon","OverflowMenuHorizontalIcon","OverflowMenuVerticalIcon","PasswordIcon","PedestrianFamilyIcon","PenIcon","PrinterIcon","ProcedureOrderIcon","ProgramsIcon","ReferralOrderIcon","RenewIcon","ReportIcon","ResetIcon","SaveIcon","SearchIcon","SettingsIcon","SwitcherIcon","ShoppingCartIcon","ShoppingCartArrowDownIcon","StickyNoteAddIcon","SyringeIcon","TableOfContentsIcon","TableIcon","TimeIcon","ToolsIcon","TranslateIcon","TrashCanIcon","TreeViewAltIcon","UserAvatarIcon","UserFollowIcon","UserXrayIcon","UserIcon","ViewOffIcon","ViewIcon","WarningIcon","AllergiesIcon","AttachmentIcon","ConditionsIcon","RadiologyIcon","ShoppingCartAddItemIcon","MaybeIcon","fallback","iconRef","useRef","document","getElementById","useEffect","container","observer","MutationObserver","mutationList","mutation","current","observe","childList","disconnect","RenderIfValueIsTruthy","value","Object","assign","fill","size","console","useImperativeHandle","style","setProperty","svg","classNames","height","width","viewBox","use","href","LeftNavMenu","React","window","useLeftNavStore","slotName","basePath","componentContext","currentPath","location","pathname","navMenuItems","useAssignedExtensions","isChildOfHeader","length","SideNav","expanded","aria-label","ExtensionSlot","name","state","ComponentContext","LocationPicker","url","useSwrImmutable","data","isLoading","selectedLocationUuid","defaultLocationUuid","locationTag","locationsPerRequest","onChange","t","useTranslation","useState","searchTerm","setSearchTerm","defaultLocation","useLocationByUuid","locationUuid","openmrsFetch","shouldRetryOnError","err","useMemo","entry","useLocations","count","searchQuery","debouncedSearchQuery","useDebounce","useSwrInfinite","page","prevPageData","nextLink","link","find","relation","nextUrl","URL","origin","search","toString","fhirBaseUrl","urlSearchParameters","URLSearchParams","append","isValidating","setSize","showNotification","title","kind","critical","description","message","locations","flatMap","entries","totalResults","total","hasMore","some","loadingNewData","setPage","fetchedLocations","filter","resource","id","loadMore","useCallback","loadingIconRef","useOnVisible","reloadIndex","Search","labelText","placeholder","event","target","RadioButtonSkeleton","role","RadioButtonGroup","ev","orientation","valueSelected","i","RadioButton","span","InlineLoading","modalStore","createGlobalStore","modalContainer","modalStack","parcelCount","renderModalIntoDOM","domElement","modalName","additionalProps","modalRegistration","parcel","lifecycle","getModalRegistration","Error","load","mountRootParcel","reportError","original","getComputedStyle","body","overflow","handleModalStateUpdate","visibility","addEventListener","handleEscKey","forEach","instance","index","modalFrame","createElement","setAttribute","then","prepend","onClose","unmount","remove","setTimeout","setState","x","removeProperty","removeEventListener","closeInstance","getState","e","top","setupModals","subscribe","showModal","close","item","m"],"mappings":"+MAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,mhEAAshE,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,iGAAiG,gEAAgE,6EAA6E,CAAC,MAAQ,EAAE,CAAC,SAAW,4eAA4e,eAAiB,CAAC,g/DAAg/D,64BAA64B,u8uBAAu8uB,05DAA05D,CAAC,WAAa,EAAE,EAAE,EAErp+B,EAAwB,MAAM,CAAG,CAChC,aAAgB,yDAChB,UAAa,sDACb,eAAkB,2DAClB,cAAiB,0DACjB,KAAQ,gDACT,EACA,MAAe,C,4ECXX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,8EAAiF,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,qFAAqF,CAAC,MAAQ,EAAE,CAAC,SAAW,mBAAmB,eAAiB,CAAC,0EAA0E,CAAC,WAAa,EAAE,EAAE,EAElY,EAAwB,MAAM,CAAG,CAChC,KAAQ,0CACT,EACA,MAAe,C,4ECPX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,4vCAA6vC,GAAG,CAAC,QAAU,EAAE,Q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AQ,KACtBxC,eAAAA,C,GAEJ,CAeO,SAAS6C,EAAUxC,CAAiB,E,IA7DnC9F,E,EACA0F,EA4DqChP,EAAAA,UAAAA,MAAAA,CAAAA,GAAAA,AAAAA,KAAAA,IAAAA,SAAAA,CAAAA,EAAAA,CAAAA,SAAAA,CAAAA,EAAAA,CAAoB,CAAC,EAAG8Q,EAAAA,UAAAA,MAAAA,CAAAA,GAAAA,AAAAA,KAAAA,IAAAA,SAAAA,CAAAA,EAAAA,CAAAA,SAAAA,CAAAA,EAAAA,CAAsB,WAAO,EAC1Fe,EAAQ,WAEZ,IAAMC,EAAOxI,AADCuF,EAAW0C,QAAQ,GACdvC,UAAU,CAACvD,IAAI,CAAC,SAACsG,CAAC,E,OAAKA,EAAEjB,OAAO,GAAKA,C,EAEpDgB,CAAAA,GACFR,EAAcQ,EAElB,EAiBA,MAf0BrC,AAAAA,GAAAA,EAAAA,EAAAA,AAAAA,EAAqBL,IAtEzCJ,EAAa,CA0EJ,CACX1F,MAAO,MACPwH,QAAAA,EACA1B,UAAAA,EACApP,MAAO,GACL6R,MAAAA,C,EACG7R,EAEP,EAlFgD,CAA/B,O,+CAAcsJ,CAD3BA,EAAQuF,EAAW0C,QAAQ,IACMvC,UAAU,G,mSAEjDH,EAAWqC,QAAQ,CAAC,OACf5H,GAAAA,CACH0F,WAAAA,C,KAoEAa,AAAAA,GAAAA,EAAAA,CAAAA,AAAAA,EAAa,0EAAmF,OAAVT,EAAU,MAa3FyC,CACT,C"}
package/dist/4146.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[]).push([["4146"],{40200:function(e,t,n){var i=n(71761),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,r,u,s,a,l,d,c,p=!1;t||(t={}),u=t.debug||!1;try{if(a=i(),l=document.createRange(),d=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(c),l.selectNodeContents(c),d.addRange(l),!document.execCommand("copy"))throw Error("copy command was unsuccessful");p=!0}catch(i){u&&console.error("unable to copy using execCommand: ",i),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(i){u&&console.error("unable to copy using clipboardData: ",i),u&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",r=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",s=n.replace(/#{\s*key\s*}/g,r),window.prompt(s,e)}}finally{d&&("function"==typeof d.removeRange?d.removeRange(l):d.removeAllRanges()),c&&document.body.removeChild(c),a()}return p}},17122:function(e,t,n){n.d(t,{Ay:()=>F,Bp:()=>eM,WM:()=>eb,mH:()=>eL});var i,o=n(34985),r=n(25391),u=n(67228),s=n(39067),a=n.n(s),l=n(35400),d=n.n(l);n(54828);var c=n(63648),p=n(51280),g=0;function h(e){return"function"==typeof e?e:f}function f(){}function m(e,t){e&&(0,c.O)(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach(function(e){var t=e.el,n=e.top,i=e.left;t.scrollTop=n,t.scrollLeft=i})}function I(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function v(e,t){var n;function i(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,r=Array(o),u=0;u<o;u++)r[u]=arguments[u];i(),n=setTimeout(function(){n=null,e.apply(void 0,r)},t)}return o.cancel=i,o}function y(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return t.some(function(t){return t&&t.apply(void 0,[e].concat(i)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault})}}function b(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}}function x(){return String(g++)}function w(e,t){return(e=Array.isArray(e)?e[0]:e)||!t?e:t}var D=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function C(e){void 0===e&&(e={});var t={};return D.forEach(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}function k(e,t){return e&&t?Object.keys(e).reduce(function(n,i){return n[i]=S(t,i)?t[i]:e[i],n},{}):e}function S(e,t){return void 0!==e[t]}function O(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function A(e,t,n,i,o){void 0===o&&(o=!1);var r=n.length;if(0===r)return -1;var u=r-1;("number"!=typeof e||e<0||e>u)&&(e=t>0?-1:u+1);var s=e+t;s<0?s=o?u:0:s>u&&(s=o?0:u);var a=M(s,t<0,n,i,o);return -1===a?e>=r?-1:e:a}function M(e,t,n,i,o){void 0===o&&(o=!1);var r=n.length;if(t){for(var u=e;u>=0;u--)if(!i(n[u],u))return u}else for(var s=e;s<r;s++)if(!i(n[s],s))return s;return o?M(t?r-1:0,t,n,i):-1}function E(e,t,n,i){return void 0===i&&(i=!0),n&&t.some(function(t){return t&&(I(t,e,n)||i&&I(t,n.document.activeElement,n))})}var K=v(function(e){P(e).textContent=""},500);function P(e){var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t)),t}function T(e,t){e&&t&&(P(t).textContent=e,K(t))}var R=Object.freeze({__proto__:null,blurButton:14,blurInput:10,changeInput:11,clickButton:13,clickItem:9,controlledPropUpdatedSelectedItem:15,itemMouseEnter:2,keyDownArrowDown:4,keyDownArrowUp:3,keyDownEnd:8,keyDownEnter:6,keyDownEscape:5,keyDownHome:7,keyDownSpaceButton:12,mouseUp:1,touchEnd:16,unknown:0}),H=["refKey","ref"],V=["onClick","onPress","onKeyDown","onKeyUp","onBlur"],B=["onKeyDown","onBlur","onChange","onInput","onChangeText"],_=["refKey","ref"],L=["onMouseMove","onMouseDown","onClick","onPress","index","item"],F=((i=function(e){function t(t){(n=e.call(this,t)||this).id=n.props.id||"downshift-"+x(),n.menuId=n.props.menuId||n.id+"-menu",n.labelId=n.props.labelId||n.id+"-label",n.inputId=n.props.inputId||n.id+"-input",n.getItemId=n.props.getItemId||function(e){return n.id+"-item-"+e},n.items=[],n.itemCount=null,n.previousResultCount=0,n.timeoutIds=[],n.internalSetTimeout=function(e,t){var i=setTimeout(function(){n.timeoutIds=n.timeoutIds.filter(function(e){return e!==i}),e()},t);n.timeoutIds.push(i)},n.setItemCount=function(e){n.itemCount=e},n.unsetItemCount=function(){n.itemCount=null},n.isItemDisabled=function(e,t){var i=n.getItemNodeFromIndex(t);return i&&i.hasAttribute("disabled")},n.setHighlightedIndex=function(e,t){void 0===e&&(e=n.props.defaultHighlightedIndex),void 0===t&&(t={}),t=C(t),n.internalSetState((0,r.A)({highlightedIndex:e},t))},n.clearSelection=function(e){n.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:n.props.defaultHighlightedIndex,isOpen:n.props.defaultIsOpen},e)},n.selectItem=function(e,t,i){t=C(t),n.internalSetState((0,r.A)({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,selectedItem:e,inputValue:n.props.itemToString(e)},t),i)},n.selectItemAtIndex=function(e,t,i){var o=n.items[e];null!=o&&n.selectItem(o,t,i)},n.selectHighlightedItem=function(e,t){return n.selectItemAtIndex(n.getState().highlightedIndex,e,t)},n.internalSetState=function(e,t){var i,o,u={},s="function"==typeof e;return!s&&e.hasOwnProperty("inputValue")&&n.props.onInputValueChange(e.inputValue,(0,r.A)({},n.getStateAndHelpers(),e)),n.setState(function(t){t=n.getState(t);var a,l=s?e(t):e;i=(l=n.props.stateReducer(t,l)).hasOwnProperty("selectedItem");var d={};return i&&l.selectedItem!==t.selectedItem&&(o=l.selectedItem),(a=l).type||(a.type=0),Object.keys(l).forEach(function(e){t[e]!==l[e]&&(u[e]=l[e]),"type"!==e&&(l[e],S(n.props,e)||(d[e]=l[e]))}),s&&l.hasOwnProperty("inputValue")&&n.props.onInputValueChange(l.inputValue,(0,r.A)({},n.getStateAndHelpers(),l)),d},function(){h(t)(),Object.keys(u).length>1&&n.props.onStateChange(u,n.getStateAndHelpers()),i&&n.props.onSelect(e.selectedItem,n.getStateAndHelpers()),void 0!==o&&n.props.onChange(o,n.getStateAndHelpers()),n.props.onUserAction(u,n.getStateAndHelpers())})},n.rootRef=function(e){return n._rootNode=e},n.getRootProps=function(e,t){var i,u=void 0===e?{}:e,s=u.refKey,a=void 0===s?"ref":s,l=u.ref,d=(0,o.A)(u,H),c=(void 0===t?{}:t).suppressRefError;n.getRootProps.called=!0,n.getRootProps.refKey=a,n.getRootProps.suppressRefError=void 0!==c&&c;var p=n.getState().isOpen;return(0,r.A)(((i={})[a]=b(l,n.rootRef),i.role="combobox",i["aria-expanded"]=p,i["aria-haspopup"]="listbox",i["aria-owns"]=p?n.menuId:void 0,i["aria-labelledby"]=n.labelId,i),d)},n.keyDownHandlers={ArrowDown:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?5:1;this.moveHighlightedIndex(n,{type:4})}else this.internalSetState({isOpen:!0,type:4},function(){var e=t.getItemCount();if(e>0){var n=A(t.getState().highlightedIndex,1,{length:e},t.isItemDisabled,!0);t.setHighlightedIndex(n,{type:4})}})},ArrowUp:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?-5:-1;this.moveHighlightedIndex(n,{type:3})}else this.internalSetState({isOpen:!0,type:3},function(){var e=t.getItemCount();if(e>0){var n=A(t.getState().highlightedIndex,-1,{length:e},t.isItemDisabled,!0);t.setHighlightedIndex(n,{type:3})}})},Enter:function(e){if(229!==e.which){var t=this.getState(),n=t.isOpen,i=t.highlightedIndex;if(n&&null!=i){e.preventDefault();var o=this.items[i],r=this.getItemNodeFromIndex(i);if(null==o||r&&r.hasAttribute("disabled"))return;this.selectHighlightedItem({type:6})}}},Escape:function(e){e.preventDefault(),this.reset((0,r.A)({type:5},!this.state.isOpen&&{selectedItem:null,inputValue:""}))}},n.buttonKeyDownHandlers=(0,r.A)({},n.keyDownHandlers,{" ":function(e){e.preventDefault(),this.toggleMenu({type:12})}}),n.inputKeyDownHandlers=(0,r.A)({},n.keyDownHandlers,{Home:function(e){var t=this.getState().isOpen;if(t){e.preventDefault();var n=this.getItemCount();if(!(n<=0)&&t){var i=M(0,!1,{length:n},this.isItemDisabled);this.setHighlightedIndex(i,{type:7})}}},End:function(e){var t=this.getState().isOpen;if(t){e.preventDefault();var n=this.getItemCount();if(!(n<=0)&&t){var i=M(n-1,!0,{length:n},this.isItemDisabled);this.setHighlightedIndex(i,{type:8})}}}}),n.getToggleButtonProps=function(e){var t=void 0===e?{}:e,i=t.onClick;t.onPress;var u=t.onKeyDown,s=t.onKeyUp,a=t.onBlur,l=(0,o.A)(t,V),d=n.getState().isOpen,c={onClick:y(i,n.buttonHandleClick),onKeyDown:y(u,n.buttonHandleKeyDown),onKeyUp:y(s,n.buttonHandleKeyUp),onBlur:y(a,n.buttonHandleBlur)},p=l.disabled?{}:c;return(0,r.A)({type:"button",role:"button","aria-label":d?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0},p,l)},n.buttonHandleKeyUp=function(e){e.preventDefault()},n.buttonHandleKeyDown=function(e){var t=O(e);n.buttonKeyDownHandlers[t]&&n.buttonKeyDownHandlers[t].call(n,e)},n.buttonHandleClick=function(e){if(e.preventDefault(),n.props.environment){var t=n.props.environment.document,i=t.body,o=t.activeElement;i&&i===o&&e.target.focus()}n.internalSetTimeout(function(){return n.toggleMenu({type:13})})},n.buttonHandleBlur=function(e){var t=e.target;n.internalSetTimeout(function(){if(!n.isMouseDown&&n.props.environment){var e=n.props.environment.document.activeElement;(null==e||e.id!==n.inputId)&&e!==t&&n.reset({type:14})}})},n.getLabelProps=function(e){return(0,r.A)({htmlFor:n.inputId,id:n.labelId},e)},n.getInputProps=function(e){var t,i=void 0===e?{}:e,u=i.onKeyDown,s=i.onBlur,a=i.onChange,l=i.onInput;i.onChangeText;var d=(0,o.A)(i,B),c={},p=n.getState(),g=p.inputValue,h=p.isOpen,f=p.highlightedIndex;return d.disabled||((t={}).onChange=y(a,l,n.inputHandleChange),t.onKeyDown=y(u,n.inputHandleKeyDown),t.onBlur=y(s,n.inputHandleBlur),c=t),(0,r.A)({"aria-autocomplete":"list","aria-activedescendant":h&&"number"==typeof f&&f>=0?n.getItemId(f):void 0,"aria-controls":h?n.menuId:void 0,"aria-labelledby":d&&d["aria-label"]?void 0:n.labelId,autoComplete:"off",value:g,id:n.inputId},c,d)},n.inputHandleKeyDown=function(e){var t=O(e);t&&n.inputKeyDownHandlers[t]&&n.inputKeyDownHandlers[t].call(n,e)},n.inputHandleChange=function(e){n.internalSetState({type:11,isOpen:!0,inputValue:e.target.value,highlightedIndex:n.props.defaultHighlightedIndex})},n.inputHandleBlur=function(){n.internalSetTimeout(function(){if(!n.isMouseDown&&n.props.environment){var e,t=n.props.environment.document.activeElement;(null==t||null==(e=t.dataset)?void 0:e.toggle)&&n._rootNode&&n._rootNode.contains(t)||n.reset({type:10})}})},n.menuRef=function(e){n._menuNode=e},n.getMenuProps=function(e,t){var i,u=void 0===e?{}:e,s=u.refKey,a=void 0===s?"ref":s,l=u.ref,d=(0,o.A)(u,_),c=(void 0===t?{}:t).suppressRefError;return n.getMenuProps.called=!0,n.getMenuProps.refKey=a,n.getMenuProps.suppressRefError=void 0!==c&&c,(0,r.A)(((i={})[a]=b(l,n.menuRef),i.role="listbox",i["aria-labelledby"]=d&&d["aria-label"]?void 0:n.labelId,i.id=n.menuId,i),d)},n.getItemProps=function(e){var t,i=void 0===e?{}:e,u=i.onMouseMove,s=i.onMouseDown,a=i.onClick;i.onPress;var l=i.index,d=i.item,c=void 0===d?void 0:d,p=(0,o.A)(i,L);void 0===l?(n.items.push(c),l=n.items.indexOf(c)):n.items[l]=c;var g=((t={onMouseMove:y(u,function(){l!==n.getState().highlightedIndex&&(n.setHighlightedIndex(l,{type:2}),n.avoidScrolling=!0,n.internalSetTimeout(function(){return n.avoidScrolling=!1},250))}),onMouseDown:y(s,function(e){e.preventDefault()})}).onClick=y(a,function(){n.selectItemAtIndex(l,{type:9})}),t),h=p.disabled?{onMouseDown:g.onMouseDown}:g;return(0,r.A)({id:n.getItemId(l),role:"option","aria-selected":n.getState().highlightedIndex===l},h,p)},n.clearItems=function(){n.items=[]},n.reset=function(e,t){void 0===e&&(e={}),e=C(e),n.internalSetState(function(t){var i=t.selectedItem;return(0,r.A)({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,inputValue:n.props.itemToString(i)},e)},t)},n.toggleMenu=function(e,t){void 0===e&&(e={}),e=C(e),n.internalSetState(function(t){var i=t.isOpen;return(0,r.A)({isOpen:!i},i&&{highlightedIndex:n.props.defaultHighlightedIndex},e)},function(){var i=n.getState(),o=i.isOpen,r=i.highlightedIndex;o&&n.getItemCount()>0&&"number"==typeof r&&n.setHighlightedIndex(r,e),h(t)()})},n.openMenu=function(e){n.internalSetState({isOpen:!0},e)},n.closeMenu=function(e){n.internalSetState({isOpen:!1},e)},n.updateStatus=v(function(){if(null!=(e=n.props)&&null!=(e=e.environment)&&e.document){var e,t=n.getState(),i=n.items[t.highlightedIndex],o=n.getItemCount(),u=n.props.getA11yStatusMessage((0,r.A)({itemToString:n.props.itemToString,previousResultCount:n.previousResultCount,resultCount:o,highlightedItem:i},t));n.previousResultCount=o,T(u,n.props.environment.document)}},200);var n,i=n.props,u=i.defaultHighlightedIndex,s=i.initialHighlightedIndex,a=i.defaultIsOpen,l=i.initialIsOpen,d=i.initialInputValue,c=i.initialSelectedItem,p=n.getState({highlightedIndex:void 0===s?u:s,isOpen:void 0===l?a:l,inputValue:void 0===d?"":d,selectedItem:void 0===c?null:c});return null!=p.selectedItem&&void 0===n.props.initialInputValue&&(p.inputValue=n.props.itemToString(p.selectedItem)),n.state=p,n}(0,u.A)(t,e);var n=t.prototype;return n.internalClearTimeouts=function(){this.timeoutIds.forEach(function(e){clearTimeout(e)}),this.timeoutIds=[]},n.getState=function(e){return void 0===e&&(e=this.state),k(e,this.props)},n.getItemCount=function(){var e=this.items.length;return null!=this.itemCount?e=this.itemCount:void 0!==this.props.itemCount&&(e=this.props.itemCount),e},n.getItemNodeFromIndex=function(e){return this.props.environment?this.props.environment.document.getElementById(this.getItemId(e)):null},n.scrollHighlightedItemIntoView=function(){var e=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(e,this._menuNode)},n.moveHighlightedIndex=function(e,t){var n=this.getItemCount(),i=this.getState().highlightedIndex;if(n>0){var o=A(i,e,{length:n},this.isItemDisabled,!0);this.setHighlightedIndex(o,t)}},n.getStateAndHelpers=function(){var e=this.getState(),t=e.highlightedIndex,n=e.inputValue,i=e.selectedItem,o=e.isOpen,r=this.props.itemToString,u=this.id,s=this.getRootProps,a=this.getToggleButtonProps,l=this.getLabelProps,d=this.getMenuProps,c=this.getInputProps,p=this.getItemProps,g=this.openMenu,h=this.closeMenu,f=this.toggleMenu,m=this.selectItem,I=this.selectItemAtIndex,v=this.selectHighlightedItem,y=this.setHighlightedIndex,b=this.clearSelection,x=this.clearItems;return{getRootProps:s,getToggleButtonProps:a,getLabelProps:l,getMenuProps:d,getInputProps:c,getItemProps:p,reset:this.reset,openMenu:g,closeMenu:h,toggleMenu:f,selectItem:m,selectItemAtIndex:I,selectHighlightedItem:v,setHighlightedIndex:y,clearSelection:b,clearItems:x,setItemCount:this.setItemCount,unsetItemCount:this.unsetItemCount,setState:this.internalSetState,itemToString:r,id:u,highlightedIndex:t,inputValue:n,isOpen:o,selectedItem:i}},n.componentDidMount=function(){var e=this;if(this.props.environment){var t=function(){e.isMouseDown=!0},n=function(t){e.isMouseDown=!1,!E(t.target,[e._rootNode,e._menuNode],e.props.environment)&&e.getState().isOpen&&e.reset({type:1},function(){return e.props.onOuterClick(e.getStateAndHelpers())})},i=function(){e.isTouchMove=!1},o=function(){e.isTouchMove=!0},r=function(t){var n=E(t.target,[e._rootNode,e._menuNode],e.props.environment,!1);e.isTouchMove||n||!e.getState().isOpen||e.reset({type:16},function(){return e.props.onOuterClick(e.getStateAndHelpers())})},u=this.props.environment;u.addEventListener("mousedown",t),u.addEventListener("mouseup",n),u.addEventListener("touchstart",i),u.addEventListener("touchmove",o),u.addEventListener("touchend",r),this.cleanup=function(){e.internalClearTimeouts(),e.updateStatus.cancel(),u.removeEventListener("mousedown",t),u.removeEventListener("mouseup",n),u.removeEventListener("touchstart",i),u.removeEventListener("touchmove",o),u.removeEventListener("touchend",r)}}else this.cleanup=function(){e.internalClearTimeouts()}},n.shouldScroll=function(e,t){var n=(void 0===this.props.highlightedIndex?this.getState():this.props).highlightedIndex,i=(void 0===t.highlightedIndex?e:t).highlightedIndex;return n&&this.getState().isOpen&&!e.isOpen||n!==i},n.componentDidUpdate=function(e,t){S(this.props,"selectedItem")&&this.props.selectedItemChanged(e.selectedItem,this.props.selectedItem)&&this.internalSetState({type:15,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(t,e)&&this.scrollHighlightedItemIntoView(),this.updateStatus()},n.componentWillUnmount=function(){this.cleanup()},n.render=function(){var e=w(this.props.children,f);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;var t=w(e(this.getStateAndHelpers()));return t?this.getRootProps.called||this.props.suppressRefError?t:"string"==typeof t.type?(0,l.cloneElement)(t,this.getRootProps(t.props)):void 0:null},t}(l.Component)).defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,i=e.previousResultCount;return t?n?n!==i?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""},itemToString:function(e){return null==e?"":String(e)},onStateChange:f,onInputValueChange:f,onUserAction:f,onChange:f,onSelect:f,onOuterClick:f,selectedItemChanged:function(e,t){return e!==t},environment:"undefined"==typeof window?void 0:window,stateReducer:function(e,t){return t},suppressRefError:!1,scrollIntoView:m},i.stateChangeTypes=R,i),N={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""},U=v(function(e,t){T(e,t)},200),j="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l.useLayoutEffect:l.useEffect,q="useId"in d()?function(e){var t=e.id,n=e.labelId,i=e.menuId,o=e.getItemId,r=e.toggleButtonId,u=e.inputId,s="downshift-"+d().useId();return t||(t=s),(0,l.useRef)({labelId:n||t+"-label",menuId:i||t+"-menu",getItemId:o||function(e){return t+"-item-"+e},toggleButtonId:r||t+"-toggle-button",inputId:u||t+"-input"}).current}:function(e){var t=e.id,n=void 0===t?"downshift-"+x():t,i=e.labelId,o=e.menuId,r=e.getItemId,u=e.toggleButtonId,s=e.inputId;return(0,l.useRef)({labelId:i||n+"-label",menuId:o||n+"-menu",getItemId:r||function(e){return n+"-item-"+e},toggleButtonId:u||n+"-toggle-button",inputId:s||n+"-input"}).current};function z(e,t,n,i){var o,r;if(void 0===e){if(void 0===t)throw Error(i);o=n[t],r=t}else r=void 0===t?n.indexOf(e):t,o=e;return[o,r]}function W(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function $(e){var t=(0,l.useRef)(e);return t.current=e,t}function G(e,t,n,i){var o=(0,l.useRef)(),u=(0,l.useRef)(),s=(0,l.useCallback)(function(t,n){u.current=n;var i=e(t=k(t,n.props),n);return n.props.stateReducer(t,(0,r.A)({},n,{changes:i}))},[e]),a=(0,l.useReducer)(s,t,n),d=a[0],c=a[1],p=$(t),g=(0,l.useCallback)(function(e){return c((0,r.A)({props:p.current},e))},[p]),h=u.current;return(0,l.useEffect)(function(){var e,t,n,u=k(o.current,null==h?void 0:h.props);h&&o.current&&!i(u,d)&&(e=h.props,t=h.type,n={},Object.keys(u).forEach(function(e){var t,i,o,s,a,l,c;t=e,i=h,o=u,s=d,a=i.props,l=i.type,a[c="on"+W(t)+"Change"]&&void 0!==s[t]&&s[t]!==o[t]&&a[c]((0,r.A)({type:l},s)),d[e]!==u[e]&&(n[e]=d[e])}),e.onStateChange&&Object.keys(n).length&&e.onStateChange((0,r.A)({type:t},n))),o.current=d},[d,h,i]),[d,g]}function J(e,t,n,i){var o=G(e,t,n,i),r=o[0],u=o[1];return[k(r,t),u]}var Q={itemToString:function(e){return e?String(e):""},itemToKey:function(e){return e},stateReducer:function(e,t){return t.changes},scrollIntoView:m,environment:"undefined"==typeof window?void 0:window};function X(e,t,n){void 0===n&&(n=N);var i=e["default"+W(t)];return void 0!==i?i:n[t]}function Y(e,t,n){void 0===n&&(n=N);var i=e[t];if(void 0!==i)return i;var o=e["initial"+W(t)];return void 0!==o?o:X(e,t,n)}function Z(e){var t,n,i=Y(e,"selectedItem"),o=Y(e,"isOpen"),r=(n=Y(t=e,"highlightedIndex"))>-1&&t.isItemDisabled(t.items[n],n)?-1:n,u=Y(e,"inputValue");return{highlightedIndex:r<0&&i&&o?e.items.findIndex(function(t){return e.itemToKey(t)===e.itemToKey(i)}):r,isOpen:o,selectedItem:i,inputValue:u}}function ee(e,t,n){var i=e.items,o=e.initialHighlightedIndex,r=e.defaultHighlightedIndex,u=e.isItemDisabled,s=e.itemToKey,a=t.selectedItem,l=t.highlightedIndex;return 0===i.length?-1:void 0===o||l!==o||u(i[o],o)?void 0===r||u(i[r],r)?a?i.findIndex(function(e){return s(a)===s(e)}):n<0&&!u(i[i.length-1],i.length-1)?i.length-1:n>0&&!u(i[0],0)?0:-1:r:o}function et(e,t,n){var i=(0,l.useRef)({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return(0,l.useEffect)(function(){if(!e)return f;var o=n.map(function(e){return e.current});function r(){i.current.isTouchEnd=!1,i.current.isMouseDown=!0}function u(n){i.current.isMouseDown=!1,E(n.target,o,e)||t()}function s(){i.current.isTouchEnd=!1,i.current.isTouchMove=!1}function a(){i.current.isTouchMove=!0}function l(n){i.current.isTouchEnd=!0,i.current.isTouchMove||E(n.target,o,e,!1)||t()}return e.addEventListener("mousedown",r),e.addEventListener("mouseup",u),e.addEventListener("touchstart",s),e.addEventListener("touchmove",a),e.addEventListener("touchend",l),function(){e.removeEventListener("mousedown",r),e.removeEventListener("mouseup",u),e.removeEventListener("touchstart",s),e.removeEventListener("touchmove",a),e.removeEventListener("touchend",l)}},[n,e,t]),i.current}var en=function(){return f};function ei(e,t,n,i){void 0===i&&(i={});var o=i.document,r=ea();(0,l.useEffect)(function(){e&&!r&&o&&U(e(t),o)},n),(0,l.useEffect)(function(){return function(){var e;U.cancel(),(e=null==o?void 0:o.getElementById("a11y-status-message"))&&e.remove()}},[o])}function eo(e){var t=e.highlightedIndex,n=e.isOpen,i=e.itemRefs,o=e.getItemNodeFromIndex,r=e.menuElement,u=e.scrollIntoView,s=(0,l.useRef)(!0);return j(function(){!(t<0)&&n&&Object.keys(i.current).length&&(!1===s.current?s.current=!0:u(o(t),r))},[t]),s}var er=f;function eu(e,t,n){void 0===n&&(n=!0);var i,o=(null==(i=e.items)?void 0:i.length)&&t>=0;return(0,r.A)({isOpen:!1,highlightedIndex:-1},o&&(0,r.A)({selectedItem:e.items[t],isOpen:X(e,"isOpen"),highlightedIndex:X(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function es(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function ea(){var e=d().useRef(!0);return d().useEffect(function(){return e.current=!1,function(){e.current=!0}},[]),e.current}function el(e){var t=X(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}var ed={environment:a().shape({addEventListener:a().func.isRequired,removeEventListener:a().func.isRequired,document:a().shape({createElement:a().func.isRequired,getElementById:a().func.isRequired,activeElement:a().any.isRequired,body:a().any.isRequired}).isRequired,Node:a().func.isRequired}),itemToString:a().func,itemToKey:a().func,stateReducer:a().func},ec=(0,r.A)({},ed,{getA11yStatusMessage:a().func,highlightedIndex:a().number,defaultHighlightedIndex:a().number,initialHighlightedIndex:a().number,isOpen:a().bool,defaultIsOpen:a().bool,initialIsOpen:a().bool,selectedItem:a().any,initialSelectedItem:a().any,defaultSelectedItem:a().any,id:a().string,labelId:a().string,menuId:a().string,getItemId:a().func,toggleButtonId:a().string,onSelectedItemChange:a().func,onHighlightedIndexChange:a().func,onStateChange:a().func,onIsOpenChange:a().func,scrollIntoView:a().func});function ep(e,t,n){var i,o=t.type,u=t.props;switch(o){case n.ItemMouseMove:i={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:i={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:i={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:ee(u,e,0)};break;case n.FunctionOpenMenu:i={isOpen:!0,highlightedIndex:ee(u,e,0)};break;case n.FunctionCloseMenu:i={isOpen:!1};break;case n.FunctionSetHighlightedIndex:i={highlightedIndex:u.isItemDisabled(u.items[t.highlightedIndex],t.highlightedIndex)?-1:t.highlightedIndex};break;case n.FunctionSetInputValue:i={inputValue:t.inputValue};break;case n.FunctionReset:i={highlightedIndex:el(u),isOpen:X(u,"isOpen"),selectedItem:X(u,"selectedItem"),inputValue:X(u,"inputValue")};break;default:throw Error("Reducer called without proper action type.")}return(0,r.A)({},e,i)}(0,p.__assign)((0,p.__assign)({},ec),{items:a().array.isRequired,isItemDisabled:a().func});var eg=(0,p.__assign)((0,p.__assign)({},Q),{isItemDisabled:function(){return!1}}),eh=Object.freeze({__proto__:null,FunctionCloseMenu:17,FunctionOpenMenu:16,FunctionReset:21,FunctionSelectItem:19,FunctionSetHighlightedIndex:18,FunctionSetInputValue:20,FunctionToggleMenu:15,ItemClick:14,ItemMouseMove:13,MenuMouseLeave:12,ToggleButtonBlur:11,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:1,ToggleButtonKeyDownArrowUp:2,ToggleButtonKeyDownCharacter:3,ToggleButtonKeyDownEnd:6,ToggleButtonKeyDownEnter:7,ToggleButtonKeyDownEscape:4,ToggleButtonKeyDownHome:5,ToggleButtonKeyDownPageDown:10,ToggleButtonKeyDownPageUp:9,ToggleButtonKeyDownSpaceButton:8});function ef(e,t){var n,i,o=t.type,u=t.props,s=t.altKey;switch(o){case 14:i={isOpen:X(u,"isOpen"),highlightedIndex:el(u),selectedItem:u.items[t.index]};break;case 3:var a=t.key,l=""+e.inputValue+a,d=function(e){for(var t=e.keysSoFar,n=e.highlightedIndex,i=e.items,o=e.itemToString,r=e.isItemDisabled,u=t.toLowerCase(),s=0;s<i.length;s++){var a=(s+n+ +(t.length<2))%i.length,l=i[a];if(void 0!==l&&o(l).toLowerCase().startsWith(u)&&!r(l,a))return a}return n}({keysSoFar:l,highlightedIndex:!e.isOpen&&e.selectedItem?u.items.findIndex(function(t){return u.itemToKey(t)===u.itemToKey(e.selectedItem)}):e.highlightedIndex,items:u.items,itemToString:u.itemToString,isItemDisabled:u.isItemDisabled});i={inputValue:l,highlightedIndex:d,isOpen:!0};break;case 1:i={highlightedIndex:e.isOpen?A(e.highlightedIndex,1,u.items,u.isItemDisabled):s&&null==e.selectedItem?-1:ee(u,e,1),isOpen:!0};break;case 2:i=e.isOpen&&s?eu(u,e.highlightedIndex,!1):{highlightedIndex:e.isOpen?A(e.highlightedIndex,-1,u.items,u.isItemDisabled):ee(u,e,-1),isOpen:!0};break;case 7:case 8:i=eu(u,e.highlightedIndex,!1);break;case 5:i={highlightedIndex:M(0,!1,u.items,u.isItemDisabled),isOpen:!0};break;case 6:i={highlightedIndex:M(u.items.length-1,!0,u.items,u.isItemDisabled),isOpen:!0};break;case 9:i={highlightedIndex:A(e.highlightedIndex,-10,u.items,u.isItemDisabled)};break;case 10:i={highlightedIndex:A(e.highlightedIndex,10,u.items,u.isItemDisabled)};break;case 4:i={isOpen:!1,highlightedIndex:-1};break;case 11:i=(0,r.A)({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=u.items)?void 0:n.length)&&{selectedItem:u.items[e.highlightedIndex]});break;case 19:i={selectedItem:t.selectedItem};break;default:return ep(e,t,eh)}return(0,r.A)({},e,i)}var em=["onClick"],eI=["onMouseLeave","refKey","ref"],ev=["onBlur","onClick","onPress","onKeyDown","refKey","ref"],ey=["item","index","onMouseMove","onClick","onMouseDown","onPress","refKey","disabled","ref"];function eb(e){void 0===e&&(e={});var t=(0,r.A)({},eg,e),n=t.scrollIntoView,i=t.environment,u=t.getA11yStatusMessage,s=J(ef,t,Z,es),a=s[0],d=s[1],c=a.isOpen,p=a.highlightedIndex,g=a.selectedItem,h=a.inputValue,f=(0,l.useRef)(null),m=(0,l.useRef)(null),I=(0,l.useRef)({}),x=(0,l.useRef)(null),w=q(t),D=$({state:a,props:t}),C=(0,l.useCallback)(function(e){return I.current[w.getItemId(e)]},[w]);ei(u,a,[c,p,g,h],i);var k=eo({menuElement:m.current,highlightedIndex:p,isOpen:c,itemRefs:I,scrollIntoView:n,getItemNodeFromIndex:C});(0,l.useEffect)(function(){return x.current=v(function(e){e({type:20,inputValue:""})},500),function(){x.current.cancel()}},[]),(0,l.useEffect)(function(){h&&x.current(d)},[d,h]),er({props:t,state:a}),(0,l.useEffect)(function(){Y(t,"isOpen")&&f.current&&f.current.focus()},[]);var S=et(i,(0,l.useCallback)(function(){D.current.state.isOpen&&d({type:11})},[d,D]),(0,l.useMemo)(function(){return[m,f]},[m.current,f.current])),A=en("getMenuProps","getToggleButtonProps");(0,l.useEffect)(function(){c||(I.current={})},[c]);var M=(0,l.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),d({type:1,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),d({type:2,altKey:e.altKey})},Home:function(e){e.preventDefault(),d({type:5})},End:function(e){e.preventDefault(),d({type:6})},Escape:function(){D.current.state.isOpen&&d({type:4})},Enter:function(e){e.preventDefault(),d({type:7*!!D.current.state.isOpen})},PageUp:function(e){D.current.state.isOpen&&(e.preventDefault(),d({type:9}))},PageDown:function(e){D.current.state.isOpen&&(e.preventDefault(),d({type:10}))}," ":function(e){e.preventDefault();var t=D.current.state;t.isOpen?t.inputValue?d({type:3,key:" "}):d({type:8}):d({type:0})}}},[d,D]),E=(0,l.useCallback)(function(){d({type:15})},[d]),K=(0,l.useCallback)(function(){d({type:17})},[d]),P=(0,l.useCallback)(function(){d({type:16})},[d]),T=(0,l.useCallback)(function(e){d({type:18,highlightedIndex:e})},[d]),R=(0,l.useCallback)(function(e){d({type:19,selectedItem:e})},[d]),H=(0,l.useCallback)(function(){d({type:21})},[d]),V=(0,l.useCallback)(function(e){d({type:20,inputValue:e})},[d]),B=(0,l.useCallback)(function(e){var t=void 0===e?{}:e,n=t.onClick,i=(0,o.A)(t,em);return(0,r.A)({id:w.labelId,htmlFor:w.toggleButtonId,onClick:y(n,function(){var e;null==(e=f.current)||e.focus()})},i)},[w]),_=(0,l.useCallback)(function(e,t){var n,i=void 0===e?{}:e,u=i.onMouseLeave,s=i.refKey,a=void 0===s?"ref":s,l=i.ref,c=(0,o.A)(i,eI),p=(void 0===t?{}:t).suppressRefError;return A("getMenuProps",void 0!==p&&p,a,m),(0,r.A)(((n={})[a]=b(l,function(e){m.current=e}),n.id=w.menuId,n.role="listbox",n["aria-labelledby"]=c&&c["aria-label"]?void 0:""+w.labelId,n.onMouseLeave=y(u,function(){d({type:12})}),n),c)},[d,A,w]);return{getToggleButtonProps:(0,l.useCallback)(function(e,t){var n,i=void 0===e?{}:e,u=i.onBlur,s=i.onClick;i.onPress;var a=i.onKeyDown,l=i.refKey,c=void 0===l?"ref":l,p=i.ref,g=(0,o.A)(i,ev),h=(void 0===t?{}:t).suppressRefError,m=D.current.state,I=(0,r.A)(((n={})[c]=b(p,function(e){f.current=e}),n["aria-activedescendant"]=m.isOpen&&m.highlightedIndex>-1?w.getItemId(m.highlightedIndex):"",n["aria-controls"]=w.menuId,n["aria-expanded"]=D.current.state.isOpen,n["aria-haspopup"]="listbox",n["aria-labelledby"]=g&&g["aria-label"]?void 0:""+w.labelId,n.id=w.toggleButtonId,n.role="combobox",n.tabIndex=0,n.onBlur=y(u,function(){m.isOpen&&!S.isMouseDown&&d({type:11})}),n),g);return g.disabled||(I.onClick=y(s,function(){d({type:0})}),I.onKeyDown=y(a,function(e){var t=O(e);t&&M[t]?M[t](e):/^\S{1}$/.test(t)&&d({type:3,key:t})})),A("getToggleButtonProps",void 0!==h&&h,c,f),I},[d,w,D,S,A,M]),getLabelProps:B,getMenuProps:_,getItemProps:(0,l.useCallback)(function(e){var t,n=void 0===e?{}:e,i=n.item,u=n.index,s=n.onMouseMove,a=n.onClick,l=n.onMouseDown;n.onPress;var c=n.refKey,p=n.disabled,g=n.ref,h=(0,o.A)(n,ey);void 0!==p&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.');var f=D.current,m=f.state,v=f.props,x=z(i,u,v.items,"Pass either item or index to getItemProps!"),C=x[0],O=x[1],A=v.isItemDisabled(C,O),M=(0,r.A)(((t={})[void 0===c?"ref":c]=b(g,function(e){e&&(I.current[w.getItemId(O)]=e)}),t["aria-disabled"]=A,t["aria-selected"]=C===m.selectedItem,t.id=w.getItemId(O),t.role="option",t),h);return A||(M.onClick=y(a,function(){d({type:14,index:O})})),M.onMouseMove=y(s,function(){S.isTouchEnd||O===m.highlightedIndex||(k.current=!1,d({type:13,index:O,disabled:A}))}),M.onMouseDown=y(l,function(e){return e.preventDefault()}),M},[D,w,S,k,d]),toggleMenu:E,openMenu:P,closeMenu:K,setHighlightedIndex:T,selectItem:R,reset:H,setInputValue:V,highlightedIndex:p,isOpen:c,selectedItem:g,inputValue:h}}eb.stateChangeTypes=eh;var ex=Object.freeze({__proto__:null,ControlledPropUpdatedSelectedItem:22,FunctionCloseMenu:17,FunctionOpenMenu:16,FunctionReset:21,FunctionSelectItem:19,FunctionSetHighlightedIndex:18,FunctionSetInputValue:20,FunctionToggleMenu:15,InputBlur:9,InputChange:8,InputClick:10,InputKeyDownArrowDown:0,InputKeyDownArrowUp:1,InputKeyDownEnd:4,InputKeyDownEnter:7,InputKeyDownEscape:2,InputKeyDownHome:3,InputKeyDownPageDown:6,InputKeyDownPageUp:5,ItemClick:13,ItemMouseMove:12,MenuMouseLeave:11,ToggleButtonClick:14});function ew(e){var t=Z(e),n=t.selectedItem,i=t.inputValue;return""===i&&n&&void 0===e.defaultInputValue&&void 0===e.initialInputValue&&void 0===e.inputValue&&(i=e.itemToString(n)),(0,r.A)({},t,{inputValue:i})}(0,r.A)({},ec,{items:a().array.isRequired,isItemDisabled:a().func,inputValue:a().string,defaultInputValue:a().string,initialInputValue:a().string,inputId:a().string,onInputValueChange:a().func});var eD=(0,r.A)({},Q,{isItemDisabled:function(){return!1}});function eC(e,t){var n,i,o=t.type,u=t.props,s=t.altKey;switch(o){case 13:i={isOpen:X(u,"isOpen"),highlightedIndex:el(u),selectedItem:u.items[t.index],inputValue:u.itemToString(u.items[t.index])};break;case 0:i=e.isOpen?{highlightedIndex:A(e.highlightedIndex,1,u.items,u.isItemDisabled,!0)}:{highlightedIndex:s&&null==e.selectedItem?-1:ee(u,e,1),isOpen:u.items.length>=0};break;case 1:i=e.isOpen?s?eu(u,e.highlightedIndex):{highlightedIndex:A(e.highlightedIndex,-1,u.items,u.isItemDisabled,!0)}:{highlightedIndex:ee(u,e,-1),isOpen:u.items.length>=0};break;case 7:i=eu(u,e.highlightedIndex);break;case 2:i=(0,r.A)({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case 5:i={highlightedIndex:A(e.highlightedIndex,-10,u.items,u.isItemDisabled,!0)};break;case 6:i={highlightedIndex:A(e.highlightedIndex,10,u.items,u.isItemDisabled,!0)};break;case 3:i={highlightedIndex:M(0,!1,u.items,u.isItemDisabled)};break;case 4:i={highlightedIndex:M(u.items.length-1,!0,u.items,u.isItemDisabled)};break;case 9:i=(0,r.A)({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=u.items)?void 0:n.length)&&t.selectItem&&{selectedItem:u.items[e.highlightedIndex],inputValue:u.itemToString(u.items[e.highlightedIndex])});break;case 8:i={isOpen:!0,highlightedIndex:el(u),inputValue:t.inputValue};break;case 10:i={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:ee(u,e,0)};break;case 19:i={selectedItem:t.selectedItem,inputValue:u.itemToString(t.selectedItem)};break;case 22:i={inputValue:t.inputValue};break;default:return ep(e,t,ex)}return(0,r.A)({},e,i)}var ek=["onMouseLeave","refKey","ref"],eS=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],eO=["onClick","onPress","refKey","ref"],eA=["onKeyDown","onChange","onInput","onBlur","onChangeText","onClick","refKey","ref"];function eM(e){void 0===e&&(e={});var t,n,i,u,s,a=(0,r.A)({},eD,e),d=a.items,c=a.scrollIntoView,p=a.environment,g=a.getA11yStatusMessage,h=(t=(0,l.useRef)(),i=(n=G(eC,a,ew,es))[0],u=n[1],s=ea(),(0,l.useEffect)(function(){S(a,"selectedItem")&&(s||a.itemToKey(a.selectedItem)!==a.itemToKey(t.current)&&u({type:22,inputValue:a.itemToString(a.selectedItem)}),t.current=i.selectedItem===t.current?a.selectedItem:i.selectedItem)},[i.selectedItem,a.selectedItem]),[k(i,a),u]),f=h[0],m=h[1],I=f.isOpen,v=f.highlightedIndex,x=f.selectedItem,w=f.inputValue,D=(0,l.useRef)(null),C=(0,l.useRef)({}),A=(0,l.useRef)(null),M=(0,l.useRef)(null),E=ea(),K=q(a),P=(0,l.useRef)(),T=$({state:f,props:a}),R=(0,l.useCallback)(function(e){return C.current[K.getItemId(e)]},[K]);ei(g,f,[I,v,x,w],p);var H=eo({menuElement:D.current,highlightedIndex:v,isOpen:I,itemRefs:C,scrollIntoView:c,getItemNodeFromIndex:R});er({props:a,state:f}),(0,l.useEffect)(function(){Y(a,"isOpen")&&A.current&&A.current.focus()},[]),(0,l.useEffect)(function(){E||(P.current=d.length)});var V=et(p,(0,l.useCallback)(function(){T.current.state.isOpen&&m({type:9,selectItem:!1})},[m,T]),(0,l.useMemo)(function(){return[D,M,A]},[D.current,M.current,A.current])),B=en("getInputProps","getMenuProps");(0,l.useEffect)(function(){I||(C.current={})},[I]),(0,l.useEffect)(function(){var e;I&&null!=p&&p.document&&null!=A&&null!=(e=A.current)&&e.focus&&p.document.activeElement!==A.current&&A.current.focus()},[I,p]);var _=(0,l.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),m({type:0,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),m({type:1,altKey:e.altKey})},Home:function(e){T.current.state.isOpen&&(e.preventDefault(),m({type:3}))},End:function(e){T.current.state.isOpen&&(e.preventDefault(),m({type:4}))},Escape:function(e){var t=T.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),m({type:2}))},Enter:function(e){T.current.state.isOpen&&229!==e.which&&(e.preventDefault(),m({type:7}))},PageUp:function(e){T.current.state.isOpen&&(e.preventDefault(),m({type:5}))},PageDown:function(e){T.current.state.isOpen&&(e.preventDefault(),m({type:6}))}}},[m,T]),L=(0,l.useCallback)(function(e){return(0,r.A)({id:K.labelId,htmlFor:K.inputId},e)},[K]),F=(0,l.useCallback)(function(e,t){var n,i=void 0===e?{}:e,u=i.onMouseLeave,s=i.refKey,a=void 0===s?"ref":s,l=i.ref,d=(0,o.A)(i,ek),c=(void 0===t?{}:t).suppressRefError;return B("getMenuProps",void 0!==c&&c,a,D),(0,r.A)(((n={})[a]=b(l,function(e){D.current=e}),n.id=K.menuId,n.role="listbox",n["aria-labelledby"]=d&&d["aria-label"]?void 0:""+K.labelId,n.onMouseLeave=y(u,function(){m({type:11})}),n),d)},[m,B,K]),N=(0,l.useCallback)(function(e){var t,n,i=void 0===e?{}:e,u=i.item,s=i.index,a=i.refKey,l=i.ref,d=i.onMouseMove,c=i.onMouseDown,p=i.onClick;i.onPress;var g=i.disabled,h=(0,o.A)(i,eS);void 0!==g&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');var f=T.current,I=f.props,v=f.state,x=z(u,s,I.items,"Pass either item or index to getItemProps!"),w=x[0],D=x[1],k=I.isItemDisabled(w,D);return(0,r.A)(((t={})[void 0===a?"ref":a]=b(l,function(e){e&&(C.current[K.getItemId(D)]=e)}),t["aria-disabled"]=k,t["aria-selected"]=D===v.highlightedIndex,t.id=K.getItemId(D),t.role="option",t),!k&&((n={}).onClick=y(p,function(){m({type:13,index:D})}),n),{onMouseMove:y(d,function(){V.isTouchEnd||D===v.highlightedIndex||(H.current=!1,m({type:12,index:D,disabled:k}))}),onMouseDown:y(c,function(e){return e.preventDefault()})},h)},[m,K,T,V,H]),U=(0,l.useCallback)(function(e){var t,n=void 0===e?{}:e,i=n.onClick;n.onPress;var u=n.refKey,s=n.ref,a=(0,o.A)(n,eO),l=T.current.state;return(0,r.A)(((t={})[void 0===u?"ref":u]=b(s,function(e){M.current=e}),t["aria-controls"]=K.menuId,t["aria-expanded"]=l.isOpen,t.id=K.toggleButtonId,t.tabIndex=-1,t),!a.disabled&&(0,r.A)({},{onClick:y(i,function(){m({type:14})})}),a)},[m,T,K]),j=(0,l.useCallback)(function(e,t){var n,i,u=void 0===e?{}:e,s=u.onKeyDown,a=u.onChange,l=u.onInput,d=u.onBlur;u.onChangeText;var c=u.onClick,g=u.refKey,h=void 0===g?"ref":g,f=u.ref,I=(0,o.A)(u,eA),v=(void 0===t?{}:t).suppressRefError;B("getInputProps",void 0!==v&&v,h,A);var x=T.current.state,w={};return I.disabled||((i={}).onChange=y(a,l,function(e){m({type:8,inputValue:e.target.value})}),i.onKeyDown=y(s,function(e){var t=O(e);t&&_[t]&&_[t](e)}),i.onBlur=y(d,function(e){null!=p&&p.document&&x.isOpen&&!V.isMouseDown&&m({type:9,selectItem:null!==e.relatedTarget||p.document.activeElement===p.document.body})}),i.onClick=y(c,function(){m({type:10})}),w=i),(0,r.A)(((n={})[h]=b(f,function(e){A.current=e}),n["aria-activedescendant"]=x.isOpen&&x.highlightedIndex>-1?K.getItemId(x.highlightedIndex):"",n["aria-autocomplete"]="list",n["aria-controls"]=K.menuId,n["aria-expanded"]=x.isOpen,n["aria-labelledby"]=I&&I["aria-label"]?void 0:K.labelId,n.autoComplete="off",n.id=K.inputId,n.role="combobox",n.value=x.inputValue,n),w,I)},[m,K,p,_,T,V,B]),W=(0,l.useCallback)(function(){m({type:15})},[m]),J=(0,l.useCallback)(function(){m({type:17})},[m]),Q=(0,l.useCallback)(function(){m({type:16})},[m]),X=(0,l.useCallback)(function(e){m({type:18,highlightedIndex:e})},[m]),Z=(0,l.useCallback)(function(e){m({type:19,selectedItem:e})},[m]);return{getItemProps:N,getLabelProps:L,getMenuProps:F,getInputProps:j,getToggleButtonProps:U,toggleMenu:W,openMenu:Q,closeMenu:J,setHighlightedIndex:X,setInputValue:(0,l.useCallback)(function(e){m({type:20,inputValue:e})},[m]),selectItem:Z,reset:(0,l.useCallback)(function(){m({type:21})},[m]),highlightedIndex:v,isOpen:I,selectedItem:x,inputValue:w}}eM.stateChangeTypes=ex;var eE={activeIndex:-1,selectedItems:[]};function eK(e){return{activeIndex:Y(e,"activeIndex",eE),selectedItems:Y(e,"selectedItems",eE)}}function eP(e){if(e.shiftKey||e.metaKey||e.ctrlKey||e.altKey)return!1;var t=e.target;return!(t instanceof HTMLInputElement)||""===t.value||0===t.selectionStart&&0===t.selectionEnd}function eT(e,t){return e.selectedItems===t.selectedItems&&e.activeIndex===t.activeIndex}ed.stateReducer,ed.itemToKey,ed.environment,a().array,a().array,a().array,a().func,a().number,a().number,a().number,a().func,a().func,a().string,a().string;var eR={itemToKey:Q.itemToKey,stateReducer:Q.stateReducer,environment:Q.environment,keyNavigationNext:"ArrowRight",keyNavigationPrevious:"ArrowLeft"},eH=Object.freeze({__proto__:null,DropdownClick:7,DropdownKeyDownBackspace:6,DropdownKeyDownNavigationPrevious:5,FunctionAddSelectedItem:8,FunctionRemoveSelectedItem:9,FunctionReset:12,FunctionSetActiveIndex:11,FunctionSetSelectedItems:10,SelectedItemClick:0,SelectedItemKeyDownBackspace:2,SelectedItemKeyDownDelete:1,SelectedItemKeyDownNavigationNext:3,SelectedItemKeyDownNavigationPrevious:4});function eV(e,t){var n,i=t.type,o=t.index,u=t.props,s=t.selectedItem,a=e.activeIndex,l=e.selectedItems;switch(i){case 0:n={activeIndex:o};break;case 4:n={activeIndex:a-1<0?0:a-1};break;case 3:n={activeIndex:a+1>=l.length?-1:a+1};break;case 2:case 1:if(a<0)break;var d=a;1===l.length?d=-1:a===l.length-1&&(d=l.length-2),n=(0,r.A)({selectedItems:[].concat(l.slice(0,a),l.slice(a+1))},{activeIndex:d});break;case 5:n={activeIndex:l.length-1};break;case 6:n={selectedItems:l.slice(0,l.length-1)};break;case 8:n={selectedItems:[].concat(l,[s])};break;case 7:n={activeIndex:-1};break;case 9:var c=a,p=l.findIndex(function(e){return u.itemToKey(e)===u.itemToKey(s)});if(p<0)break;1===l.length?c=-1:p===l.length-1&&(c=l.length-2),n={selectedItems:[].concat(l.slice(0,p),l.slice(p+1)),activeIndex:c};break;case 10:n={selectedItems:t.selectedItems};break;case 11:n={activeIndex:t.activeIndex};break;case 12:n={activeIndex:X(u,"activeIndex",eE),selectedItems:X(u,"selectedItems",eE)};break;default:throw Error("Reducer called without proper action type.")}return(0,r.A)({},e,n)}var eB=["refKey","ref","onClick","onKeyDown","selectedItem","index"],e_=["refKey","ref","onKeyDown","onClick","preventKeyAction"];function eL(e){void 0===e&&(e={});var t=(0,r.A)({},eR,e),n=t.getA11yStatusMessage,i=t.environment,u=t.keyNavigationNext,s=t.keyNavigationPrevious,a=J(eV,t,eK,eT),d=a[0],c=a[1],p=d.activeIndex,g=d.selectedItems,h=ea(),f=(0,l.useRef)(null),m=(0,l.useRef)();m.current=[];var I=$({state:d,props:t});ei(n,d,[p,g],i),(0,l.useEffect)(function(){!h&&(-1===p&&f.current?f.current.focus():m.current[p]&&m.current[p].focus())},[p]),er({props:t,state:d});var v=en("getDropdownProps"),x=(0,l.useMemo)(function(){var e;return(e={})[s]=function(){c({type:4})},e[u]=function(){c({type:3})},e.Delete=function(){c({type:1})},e.Backspace=function(){c({type:2})},e},[c,u,s]),w=(0,l.useMemo)(function(){var e;return(e={})[s]=function(e){eP(e)&&c({type:5})},e.Backspace=function(e){eP(e)&&c({type:6})},e},[c,s]);return{getSelectedItemProps:(0,l.useCallback)(function(e){var t,n=void 0===e?{}:e,i=n.refKey,u=n.ref,s=n.onClick,a=n.onKeyDown,l=n.selectedItem,d=n.index,p=(0,o.A)(n,eB),g=I.current.state,h=z(l,d,g.selectedItems,"Pass either item or index to getSelectedItemProps!")[1],f=h>-1&&h===g.activeIndex;return(0,r.A)(((t={})[void 0===i?"ref":i]=b(u,function(e){e&&m.current.push(e)}),t.tabIndex=f?0:-1,t.onClick=y(s,function(){c({type:0,index:h})}),t.onKeyDown=y(a,function(e){var t=O(e);t&&x[t]&&x[t](e)}),t),p)},[c,I,x]),getDropdownProps:(0,l.useCallback)(function(e,t){var n,i=void 0===e?{}:e,u=i.refKey,s=void 0===u?"ref":u,a=i.ref,l=i.onKeyDown,d=i.onClick,p=i.preventKeyAction,g=(0,o.A)(i,e_),h=(void 0===t?{}:t).suppressRefError;return v("getDropdownProps",void 0!==h&&h,s,f),(0,r.A)(((n={})[s]=b(a,function(e){e&&(f.current=e)}),n),!(void 0!==p&&p)&&{onKeyDown:y(l,function(e){var t=O(e);t&&w[t]&&w[t](e)}),onClick:y(d,function(){c({type:7})})},g)},[c,w,v]),addSelectedItem:(0,l.useCallback)(function(e){c({type:8,selectedItem:e})},[c]),removeSelectedItem:(0,l.useCallback)(function(e){c({type:9,selectedItem:e})},[c]),setSelectedItems:(0,l.useCallback)(function(e){c({type:10,selectedItems:e})},[c]),setActiveIndex:(0,l.useCallback)(function(e){c({type:11,activeIndex:e})},[c]),reset:(0,l.useCallback)(function(){c({type:12})},[c]),selectedItems:g,activeIndex:p}}eL.stateChangeTypes=eH},47120:function(e,t){Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference")},54828:function(e,t,n){n(47120)}}]);