@esri/calcite-components 3.2.0-next.39 → 3.2.0-next.40

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 (655) hide show
  1. package/dist/calcite/{VGUJWIE3.js → 2AURSSBW.js} +2 -2
  2. package/dist/calcite/{3RVJJX2U.js.LEGAL.txt → 2AURSSBW.js.LEGAL.txt} +1 -1
  3. package/dist/calcite/{QJMY6HK4.js → 2BKMHEEV.js} +2 -2
  4. package/dist/calcite/{24OTRUCC.js.LEGAL.txt → 2BKMHEEV.js.LEGAL.txt} +1 -1
  5. package/dist/calcite/{ZMFN7VKF.js → 2O44LJYG.js} +2 -2
  6. package/dist/calcite/{372T7EBW.js.LEGAL.txt → 2O44LJYG.js.LEGAL.txt} +1 -1
  7. package/dist/calcite/{372T7EBW.js → 2OKWW5QW.js} +2 -2
  8. package/dist/calcite/{2DKPKQXG.js.LEGAL.txt → 2OKWW5QW.js.LEGAL.txt} +1 -1
  9. package/dist/calcite/{RN6G4AJW.js → 33VZVMEQ.js} +2 -2
  10. package/dist/calcite/33VZVMEQ.js.LEGAL.txt +3 -0
  11. package/dist/calcite/{G77XQIMX.js → 34H6VHCP.js} +2 -2
  12. package/dist/calcite/34H6VHCP.js.LEGAL.txt +3 -0
  13. package/dist/calcite/{RLN7DR35.js → 3BX3JALR.js} +2 -2
  14. package/dist/calcite/3BX3JALR.js.LEGAL.txt +3 -0
  15. package/dist/calcite/{3RVJJX2U.js → 3KAKFW27.js} +2 -2
  16. package/dist/calcite/3KAKFW27.js.LEGAL.txt +3 -0
  17. package/dist/calcite/{P2XP2NHT.js → 3NKYZGOY.js} +2 -2
  18. package/dist/calcite/3NKYZGOY.js.LEGAL.txt +3 -0
  19. package/dist/calcite/{TYKK4ZDP.js → 3OLDLPGW.js} +2 -2
  20. package/dist/calcite/3OLDLPGW.js.LEGAL.txt +3 -0
  21. package/dist/calcite/{IRUMOVZZ.js → 3ZC35IU6.js} +2 -2
  22. package/dist/calcite/3ZC35IU6.js.LEGAL.txt +3 -0
  23. package/dist/calcite/{GS3X5VRZ.js → 3ZHVUAGO.js} +2 -2
  24. package/dist/calcite/3ZHVUAGO.js.LEGAL.txt +3 -0
  25. package/dist/calcite/{NYCLULH3.js → 3ZI3PBLD.js} +2 -2
  26. package/dist/calcite/3ZI3PBLD.js.LEGAL.txt +3 -0
  27. package/dist/calcite/{MR5UPVPG.js → 47SZGRLH.js} +2 -2
  28. package/dist/calcite/47SZGRLH.js.LEGAL.txt +3 -0
  29. package/dist/calcite/{LLN5DNPL.js → 4JEZM6VX.js} +2 -2
  30. package/dist/calcite/{LLN5DNPL.js.LEGAL.txt → 4JEZM6VX.js.LEGAL.txt} +1 -1
  31. package/dist/calcite/{3VLVDWSS.js → 4KFIUD2B.js} +2 -2
  32. package/dist/calcite/4KFIUD2B.js.LEGAL.txt +3 -0
  33. package/dist/calcite/4MQEUWEH.js +4 -0
  34. package/dist/calcite/4MQEUWEH.js.LEGAL.txt +3 -0
  35. package/dist/calcite/{P6C3W6FL.js → 4PDCFLEI.js} +2 -2
  36. package/dist/calcite/4PDCFLEI.js.LEGAL.txt +3 -0
  37. package/dist/calcite/{NCWK6WJU.js → 4S5MMRKY.js} +2 -2
  38. package/dist/calcite/4S5MMRKY.js.LEGAL.txt +3 -0
  39. package/dist/calcite/{62GP7Q7R.js → 4YKPRILU.js} +2 -2
  40. package/dist/calcite/4YKPRILU.js.LEGAL.txt +3 -0
  41. package/dist/calcite/{I4FISWDK.js → 5K3GZOWW.js} +2 -2
  42. package/dist/calcite/5K3GZOWW.js.LEGAL.txt +3 -0
  43. package/dist/calcite/{W7YWLFKG.js → 5NQUZRDM.js} +2 -2
  44. package/dist/calcite/{5T2FJWUW.js → 5SSKMKFV.js} +2 -2
  45. package/dist/calcite/5SSKMKFV.js.LEGAL.txt +3 -0
  46. package/dist/calcite/{F4S6EXX6.js → 5ZKH6XNV.js} +2 -2
  47. package/dist/calcite/5ZKH6XNV.js.LEGAL.txt +3 -0
  48. package/dist/calcite/{R7U5O4YW.js → 64F6FSTF.js} +2 -2
  49. package/dist/calcite/64F6FSTF.js.LEGAL.txt +3 -0
  50. package/dist/calcite/{PYM6655A.js → 67QAOXDX.js} +1 -1
  51. package/dist/calcite/67QAOXDX.js.LEGAL.txt +3 -0
  52. package/dist/calcite/{CVQXSZEH.js → 6AW4GRQ4.js} +2 -2
  53. package/dist/calcite/6AW4GRQ4.js.LEGAL.txt +3 -0
  54. package/dist/calcite/{R3CUJDU2.js → 6DCGXB5R.js} +1 -1
  55. package/dist/calcite/6DCGXB5R.js.LEGAL.txt +3 -0
  56. package/dist/calcite/{A4XLCDLZ.js → 6GM27GBO.js} +2 -2
  57. package/dist/calcite/{SQNNHAAG.js → 6HPPO7XW.js} +2 -2
  58. package/dist/calcite/6HPPO7XW.js.LEGAL.txt +3 -0
  59. package/dist/calcite/{HBU463EW.js → 6JABLZT7.js} +2 -2
  60. package/dist/calcite/6JABLZT7.js.LEGAL.txt +3 -0
  61. package/dist/calcite/{U2YGN4RT.js → 6P5PSH65.js} +2 -2
  62. package/dist/calcite/{AXBOTO3S.js → 6RISBQOV.js} +2 -2
  63. package/dist/calcite/6RISBQOV.js.LEGAL.txt +3 -0
  64. package/dist/calcite/{XQSZJ5CG.js → 6Z2B5YPT.js} +1 -1
  65. package/dist/calcite/6Z2B5YPT.js.LEGAL.txt +3 -0
  66. package/dist/calcite/{24OTRUCC.js → 7EKOSZOZ.js} +2 -2
  67. package/dist/calcite/7EKOSZOZ.js.LEGAL.txt +3 -0
  68. package/dist/calcite/{Y5A3EQS4.js → A7N7QSFD.js} +2 -2
  69. package/dist/calcite/A7N7QSFD.js.LEGAL.txt +3 -0
  70. package/dist/calcite/{PENLWMB3.js → AB6ORITE.js} +2 -2
  71. package/dist/calcite/AB6ORITE.js.LEGAL.txt +3 -0
  72. package/dist/calcite/{NDM46TRI.js → AECWOUVE.js} +2 -2
  73. package/dist/calcite/AECWOUVE.js.LEGAL.txt +3 -0
  74. package/dist/calcite/{TGV7EMNU.js → AFEKH67J.js} +2 -2
  75. package/dist/calcite/AFEKH67J.js.LEGAL.txt +3 -0
  76. package/dist/calcite/{H3WIGFJO.js → ALA3CMPJ.js} +2 -2
  77. package/dist/calcite/ALA3CMPJ.js.LEGAL.txt +3 -0
  78. package/dist/calcite/{MUFGKP4E.js → AZTNUW5Z.js} +2 -2
  79. package/dist/calcite/AZTNUW5Z.js.LEGAL.txt +3 -0
  80. package/dist/calcite/C5B5QVOZ.js +4 -0
  81. package/dist/calcite/C5B5QVOZ.js.LEGAL.txt +3 -0
  82. package/dist/calcite/{6M254VM3.js → CFP3CIBH.js} +2 -2
  83. package/dist/calcite/CFP3CIBH.js.LEGAL.txt +3 -0
  84. package/dist/calcite/{LWUNC2OP.js → CY4HMEXM.js} +2 -2
  85. package/dist/calcite/CY4HMEXM.js.LEGAL.txt +3 -0
  86. package/dist/calcite/{BXNTEQDG.js → D33THSDQ.js} +2 -2
  87. package/dist/calcite/D33THSDQ.js.LEGAL.txt +3 -0
  88. package/dist/calcite/{4M5YF4UK.js → D5ORTJBP.js} +2 -2
  89. package/dist/calcite/D5ORTJBP.js.LEGAL.txt +3 -0
  90. package/dist/calcite/{BXRLVWOE.js → D5WOJOBP.js} +2 -2
  91. package/dist/calcite/D5WOJOBP.js.LEGAL.txt +3 -0
  92. package/dist/calcite/{4PC2H3SA.js → DCCICHLE.js} +2 -2
  93. package/dist/calcite/DCCICHLE.js.LEGAL.txt +3 -0
  94. package/dist/calcite/{DACMF6M4.js → DJIDW3PH.js} +2 -2
  95. package/dist/calcite/DJIDW3PH.js.LEGAL.txt +3 -0
  96. package/dist/calcite/{2VN3YIDH.js → DNYNDPB5.js} +2 -2
  97. package/dist/calcite/{V6MACRDH.js → DXEUZNXM.js} +2 -2
  98. package/dist/calcite/DXEUZNXM.js.LEGAL.txt +3 -0
  99. package/dist/calcite/{MG5IOFW7.js → DYBMPADA.js} +2 -2
  100. package/dist/calcite/DYBMPADA.js.LEGAL.txt +3 -0
  101. package/dist/calcite/{5UJXO6ER.js → EQDBU7RM.js} +2 -2
  102. package/dist/calcite/EQDBU7RM.js.LEGAL.txt +3 -0
  103. package/dist/calcite/{MZMZSY5A.js → EYWRTO2E.js} +2 -2
  104. package/dist/calcite/{MZMZSY5A.js.LEGAL.txt → EYWRTO2E.js.LEGAL.txt} +1 -1
  105. package/dist/calcite/{JFS56TST.js → FCJNAEP5.js} +2 -2
  106. package/dist/calcite/FCJNAEP5.js.LEGAL.txt +3 -0
  107. package/dist/calcite/{Y2E6XYEE.js → FEMPCZLV.js} +1 -1
  108. package/dist/calcite/FEMPCZLV.js.LEGAL.txt +3 -0
  109. package/dist/calcite/{N63BZNBM.js → FFH3PE7I.js} +2 -2
  110. package/dist/calcite/FFH3PE7I.js.LEGAL.txt +3 -0
  111. package/dist/calcite/{4SZ573RT.js → FNJ5UP55.js} +2 -2
  112. package/dist/calcite/FNJ5UP55.js.LEGAL.txt +3 -0
  113. package/dist/calcite/{7T7MTXSU.js → FR4VAYJC.js} +2 -2
  114. package/dist/calcite/FR4VAYJC.js.LEGAL.txt +3 -0
  115. package/dist/calcite/{QRBR6VUO.js → G2KZHOPC.js} +2 -2
  116. package/dist/calcite/G2KZHOPC.js.LEGAL.txt +3 -0
  117. package/dist/calcite/{6VI66GV4.js → GC3D3FA4.js} +2 -2
  118. package/dist/calcite/GC3D3FA4.js.LEGAL.txt +3 -0
  119. package/dist/calcite/{LZ3V33XC.js → HNVOQW5F.js} +1 -1
  120. package/dist/calcite/HNVOQW5F.js.LEGAL.txt +3 -0
  121. package/dist/calcite/{RFI4KO6W.js → HPNQQK6A.js} +1 -1
  122. package/dist/calcite/{5Z4FPF7F.js → HVDZCSXZ.js} +2 -2
  123. package/dist/calcite/HVDZCSXZ.js.LEGAL.txt +3 -0
  124. package/dist/calcite/{NODTVZ24.js → IFSUY6OL.js} +2 -2
  125. package/dist/calcite/IFSUY6OL.js.LEGAL.txt +3 -0
  126. package/dist/calcite/{SEHADNF3.js → IS2XQRWJ.js} +2 -2
  127. package/dist/calcite/IS2XQRWJ.js.LEGAL.txt +3 -0
  128. package/dist/calcite/{HOEPFXY4.js → IYSVUD2W.js} +2 -2
  129. package/dist/calcite/IYSVUD2W.js.LEGAL.txt +3 -0
  130. package/dist/calcite/{TH2HXM2T.js → J6ZU5TTP.js} +1 -1
  131. package/dist/calcite/J6ZU5TTP.js.LEGAL.txt +3 -0
  132. package/dist/calcite/{XLQJWLJR.js → JGJKOHCP.js} +1 -1
  133. package/dist/calcite/JGJKOHCP.js.LEGAL.txt +3 -0
  134. package/dist/calcite/{JATMHESF.js → JQMONEIC.js} +1 -1
  135. package/dist/calcite/JQMONEIC.js.LEGAL.txt +3 -0
  136. package/dist/calcite/{QFOJGUH4.js → JSKDQQHO.js} +2 -2
  137. package/dist/calcite/JSKDQQHO.js.LEGAL.txt +3 -0
  138. package/dist/calcite/{R5NIHVIX.js → JTSQHJX5.js} +2 -2
  139. package/dist/calcite/JTSQHJX5.js.LEGAL.txt +3 -0
  140. package/dist/calcite/{C2KRQ7VY.js → K3HQETKI.js} +2 -2
  141. package/dist/calcite/K3HQETKI.js.LEGAL.txt +3 -0
  142. package/dist/calcite/{CLRL273B.js → K3RGRXZK.js} +2 -2
  143. package/dist/calcite/{AFFK5WSZ.js → K6GY2Q5E.js} +2 -2
  144. package/dist/calcite/K6GY2Q5E.js.LEGAL.txt +3 -0
  145. package/dist/calcite/{IWDYFFAM.js → KDX22TPR.js} +2 -2
  146. package/dist/calcite/{LAKJK7HL.js → KJQNKFEY.js} +2 -2
  147. package/dist/calcite/KJQNKFEY.js.LEGAL.txt +3 -0
  148. package/dist/calcite/{T3TLDID7.js → KKVVDKZZ.js} +2 -2
  149. package/dist/calcite/KKVVDKZZ.js.LEGAL.txt +3 -0
  150. package/dist/calcite/{4JL2EBN2.js → KMI5ODOO.js} +2 -2
  151. package/dist/calcite/KMI5ODOO.js.LEGAL.txt +3 -0
  152. package/dist/calcite/{DTAEBKT4.js → KOH7CJJ2.js} +2 -2
  153. package/dist/calcite/KOH7CJJ2.js.LEGAL.txt +3 -0
  154. package/dist/calcite/{HZH7HHAH.js → KTZK563F.js} +2 -2
  155. package/dist/calcite/{HZH7HHAH.js.LEGAL.txt → KTZK563F.js.LEGAL.txt} +1 -1
  156. package/dist/calcite/{DIWK757P.js → KV75A5OZ.js} +2 -2
  157. package/dist/calcite/KV75A5OZ.js.LEGAL.txt +3 -0
  158. package/dist/calcite/{ZS2B2AF5.js → LJFEVAGO.js} +2 -2
  159. package/dist/calcite/LJFEVAGO.js.LEGAL.txt +3 -0
  160. package/dist/calcite/{J5XEWZHE.js → LUAE2BNR.js} +2 -2
  161. package/dist/calcite/LUAE2BNR.js.LEGAL.txt +3 -0
  162. package/dist/calcite/{Z646UZFI.js → LWBS4ZDT.js} +1 -1
  163. package/dist/calcite/LWBS4ZDT.js.LEGAL.txt +3 -0
  164. package/dist/calcite/{HJQMJ3O5.js → M34FQPFC.js} +2 -2
  165. package/dist/calcite/M34FQPFC.js.LEGAL.txt +3 -0
  166. package/dist/calcite/{DIYHPDDJ.js → MEJBDF2X.js} +2 -2
  167. package/dist/calcite/MEJBDF2X.js.LEGAL.txt +3 -0
  168. package/dist/calcite/{46GRM4CE.js → MG6JYBW5.js} +2 -2
  169. package/dist/calcite/MG6JYBW5.js.LEGAL.txt +3 -0
  170. package/dist/calcite/{JDWLRXMB.js → MJ3BP4EF.js} +2 -2
  171. package/dist/calcite/MJ3BP4EF.js.LEGAL.txt +3 -0
  172. package/dist/calcite/{P2CTJE5E.js → MTSBROZ4.js} +2 -2
  173. package/dist/calcite/MTSBROZ4.js.LEGAL.txt +3 -0
  174. package/dist/calcite/{7QECW2E2.js → N73L76SJ.js} +2 -2
  175. package/dist/calcite/N73L76SJ.js.LEGAL.txt +3 -0
  176. package/dist/calcite/{D2KGWKKE.js → NA2X3DPJ.js} +2 -2
  177. package/dist/calcite/NA2X3DPJ.js.LEGAL.txt +3 -0
  178. package/dist/calcite/{CK2727PE.js → NAEQOQHY.js} +2 -2
  179. package/dist/calcite/NAEQOQHY.js.LEGAL.txt +3 -0
  180. package/dist/calcite/{UGDRDJPA.js → NNTVWBBP.js} +2 -2
  181. package/dist/calcite/{FQPVAT5F.js → NP2WVDB5.js} +2 -2
  182. package/dist/calcite/NP2WVDB5.js.LEGAL.txt +3 -0
  183. package/dist/calcite/{2DKPKQXG.js → NR2X3T5D.js} +2 -2
  184. package/dist/calcite/NR2X3T5D.js.LEGAL.txt +3 -0
  185. package/dist/calcite/{LIPUTT6N.js → NYF6T3OI.js} +2 -2
  186. package/dist/calcite/NYF6T3OI.js.LEGAL.txt +3 -0
  187. package/dist/calcite/{KFEMDYAO.js → O26R4TSO.js} +2 -2
  188. package/dist/calcite/{GL7DMV4S.js → O55ZI7N2.js} +2 -2
  189. package/dist/calcite/O55ZI7N2.js.LEGAL.txt +3 -0
  190. package/dist/calcite/{NH2FREQY.js → OKGB77L2.js} +2 -2
  191. package/dist/calcite/OKGB77L2.js.LEGAL.txt +3 -0
  192. package/dist/calcite/{Z6VHOIAN.js → ORK223LB.js} +2 -2
  193. package/dist/calcite/ORK223LB.js.LEGAL.txt +3 -0
  194. package/dist/calcite/{QJN3Y7KP.js → PB3OJ43M.js} +2 -2
  195. package/dist/calcite/PB3OJ43M.js.LEGAL.txt +3 -0
  196. package/dist/calcite/{EHEE5FVV.js → PHWXS446.js} +2 -2
  197. package/dist/calcite/PHWXS446.js.LEGAL.txt +3 -0
  198. package/dist/calcite/{MXQCR7YF.js → PIHPNMID.js} +2 -2
  199. package/dist/calcite/PIHPNMID.js.LEGAL.txt +3 -0
  200. package/dist/calcite/{KPX237YH.js → PIMY4FDR.js} +2 -2
  201. package/dist/calcite/PIMY4FDR.js.LEGAL.txt +3 -0
  202. package/dist/calcite/{GZUOSY5I.js → PNGIMH3C.js} +2 -2
  203. package/dist/calcite/{QVKJQIOF.js → PNO3AQXX.js} +1 -1
  204. package/dist/calcite/PNO3AQXX.js.LEGAL.txt +3 -0
  205. package/dist/calcite/{LI2EINF7.js → PP4TWNBJ.js} +2 -2
  206. package/dist/calcite/PP4TWNBJ.js.LEGAL.txt +3 -0
  207. package/dist/calcite/{7QNG2EF7.js → PQCLGIYQ.js} +2 -2
  208. package/dist/calcite/PQCLGIYQ.js.LEGAL.txt +3 -0
  209. package/dist/calcite/{Z7EIB7KP.js → PWPO7D4Y.js} +2 -2
  210. package/dist/calcite/PWPO7D4Y.js.LEGAL.txt +3 -0
  211. package/dist/calcite/{OPWA55SD.js → PXCK2RZB.js} +2 -2
  212. package/dist/calcite/PXCK2RZB.js.LEGAL.txt +3 -0
  213. package/dist/calcite/{HAEAO4QM.js → Q2FGVAYP.js} +2 -2
  214. package/dist/calcite/Q2FGVAYP.js.LEGAL.txt +3 -0
  215. package/dist/calcite/{PLJALAVQ.js → Q732AZTP.js} +2 -2
  216. package/dist/calcite/Q732AZTP.js.LEGAL.txt +3 -0
  217. package/dist/calcite/{WL7KPPYH.js → QB7JK7LO.js} +2 -2
  218. package/dist/calcite/QB7JK7LO.js.LEGAL.txt +3 -0
  219. package/dist/calcite/{FYK4XJBH.js → QCW5FCIU.js} +1 -1
  220. package/dist/calcite/QCW5FCIU.js.LEGAL.txt +3 -0
  221. package/dist/calcite/{GTIGGEIV.js → QH2DDIL6.js} +2 -2
  222. package/dist/calcite/QH2DDIL6.js.LEGAL.txt +3 -0
  223. package/dist/calcite/{GFFE55DG.js → QHBI2BZU.js} +2 -2
  224. package/dist/calcite/QHBI2BZU.js.LEGAL.txt +3 -0
  225. package/dist/calcite/QS2IO2B6.js +4 -0
  226. package/dist/calcite/QS2IO2B6.js.LEGAL.txt +3 -0
  227. package/dist/calcite/{MFXMCYAU.js → QWS3K5HU.js} +2 -2
  228. package/dist/calcite/{NLQEJQ5J.js → QWUSZRIE.js} +2 -2
  229. package/dist/calcite/QWUSZRIE.js.LEGAL.txt +3 -0
  230. package/dist/calcite/{5CFQYPD6.js → R6YNQ2V6.js} +2 -2
  231. package/dist/calcite/R6YNQ2V6.js.LEGAL.txt +3 -0
  232. package/dist/calcite/{76ZLZZXT.js → RCZOIN3S.js} +2 -2
  233. package/dist/calcite/RCZOIN3S.js.LEGAL.txt +3 -0
  234. package/dist/calcite/{WIUS56JI.js → RGO4YDKF.js} +1 -1
  235. package/dist/calcite/{SKKGAAMO.js → RWJNVFXT.js} +2 -2
  236. package/dist/calcite/RWJNVFXT.js.LEGAL.txt +3 -0
  237. package/dist/calcite/{BIXOQRWX.js → RZQCIIVR.js} +1 -1
  238. package/dist/calcite/RZQCIIVR.js.LEGAL.txt +3 -0
  239. package/dist/calcite/{4CRXZ63L.js → SBQ2IBIF.js} +2 -2
  240. package/dist/calcite/SBQ2IBIF.js.LEGAL.txt +3 -0
  241. package/dist/calcite/{IQQJKKQR.js → SFHB45KR.js} +2 -2
  242. package/dist/calcite/SFHB45KR.js.LEGAL.txt +3 -0
  243. package/dist/calcite/{JDNJDXBT.js → SH3BT3E4.js} +2 -2
  244. package/dist/calcite/SH3BT3E4.js.LEGAL.txt +3 -0
  245. package/dist/calcite/{5JJMIROF.js → SLJ7H27X.js} +2 -2
  246. package/dist/calcite/SLJ7H27X.js.LEGAL.txt +3 -0
  247. package/dist/calcite/{MN5ZMGDP.js → SR7MDDWB.js} +2 -2
  248. package/dist/calcite/SR7MDDWB.js.LEGAL.txt +3 -0
  249. package/dist/calcite/{3VMC2CMT.js → SWKCCOCK.js} +1 -1
  250. package/dist/calcite/{3VMC2CMT.js.LEGAL.txt → SWKCCOCK.js.LEGAL.txt} +1 -1
  251. package/dist/calcite/{T4ISGVVX.js → T2IMUI4L.js} +2 -2
  252. package/dist/calcite/T2IMUI4L.js.LEGAL.txt +3 -0
  253. package/dist/calcite/{M3UZ4E5H.js → T6ZWPJ3H.js} +2 -2
  254. package/dist/calcite/T6ZWPJ3H.js.LEGAL.txt +3 -0
  255. package/dist/calcite/{Z2N3ZD66.js → TGPFQVI3.js} +1 -1
  256. package/dist/calcite/TGPFQVI3.js.LEGAL.txt +3 -0
  257. package/dist/calcite/{MBN54URU.js → TIGA7CAS.js} +2 -2
  258. package/dist/calcite/TIGA7CAS.js.LEGAL.txt +3 -0
  259. package/dist/calcite/{MZDX2RGO.js → TK7HEAKQ.js} +2 -2
  260. package/dist/calcite/TK7HEAKQ.js.LEGAL.txt +3 -0
  261. package/dist/calcite/{YPHDMEZE.js → TRCUXJQP.js} +2 -2
  262. package/dist/calcite/TRCUXJQP.js.LEGAL.txt +3 -0
  263. package/dist/calcite/{JBY373VQ.js → TXROGSB2.js} +2 -2
  264. package/dist/calcite/TXROGSB2.js.LEGAL.txt +3 -0
  265. package/dist/calcite/{KO2HPSDS.js → U4AGMMNR.js} +2 -2
  266. package/dist/calcite/U4AGMMNR.js.LEGAL.txt +3 -0
  267. package/dist/calcite/{XCW4TOV5.js → U52EKICH.js} +2 -2
  268. package/dist/calcite/{I7DZAQ33.js → UBPEEJ47.js} +2 -2
  269. package/dist/calcite/UBPEEJ47.js.LEGAL.txt +3 -0
  270. package/dist/calcite/{LEGWZZ3C.js → UCUYESPO.js} +2 -2
  271. package/dist/calcite/UCUYESPO.js.LEGAL.txt +3 -0
  272. package/dist/calcite/{THZPNFDC.js → UJ3DVBBB.js} +2 -2
  273. package/dist/calcite/UJ3DVBBB.js.LEGAL.txt +3 -0
  274. package/dist/calcite/{7JTQUIIG.js → UTHT52HY.js} +1 -1
  275. package/dist/calcite/UTHT52HY.js.LEGAL.txt +3 -0
  276. package/dist/calcite/{GSA4PGT2.js → VAAG5IJE.js} +2 -2
  277. package/dist/calcite/VAAG5IJE.js.LEGAL.txt +3 -0
  278. package/dist/calcite/{55R7FS3U.js → VCIESHSA.js} +2 -2
  279. package/dist/calcite/VCIESHSA.js.LEGAL.txt +3 -0
  280. package/dist/calcite/{GTUVAAAD.js → VIJYQUPS.js} +1 -1
  281. package/dist/calcite/VIJYQUPS.js.LEGAL.txt +3 -0
  282. package/dist/calcite/{JAL66H3J.js → VKH366XK.js} +2 -2
  283. package/dist/calcite/VKH366XK.js.LEGAL.txt +3 -0
  284. package/dist/calcite/{POGNNNSN.js → VOMFC6A5.js} +2 -2
  285. package/dist/calcite/VOMFC6A5.js.LEGAL.txt +3 -0
  286. package/dist/calcite/{YBIDORYE.js → VWXTUWMC.js} +2 -2
  287. package/dist/calcite/VWXTUWMC.js.LEGAL.txt +3 -0
  288. package/dist/calcite/{DX4BEDZ3.js → VYNVOZVL.js} +1 -1
  289. package/dist/calcite/VYNVOZVL.js.LEGAL.txt +3 -0
  290. package/dist/calcite/{VUEY5X5A.js → W6MHPGER.js} +2 -2
  291. package/dist/calcite/W6MHPGER.js.LEGAL.txt +3 -0
  292. package/dist/calcite/{5Q54AMGC.js → WIA2UZRQ.js} +2 -2
  293. package/dist/calcite/WIA2UZRQ.js.LEGAL.txt +3 -0
  294. package/dist/calcite/{OQGS3D3N.js → WLID72PZ.js} +2 -2
  295. package/dist/calcite/WLID72PZ.js.LEGAL.txt +3 -0
  296. package/dist/calcite/{7PKWMEQD.js → WQ2CWXYT.js} +2 -2
  297. package/dist/calcite/WQ2CWXYT.js.LEGAL.txt +3 -0
  298. package/dist/calcite/{M4H4WLVH.js → WVA5MSI4.js} +2 -2
  299. package/dist/calcite/WVA5MSI4.js.LEGAL.txt +3 -0
  300. package/dist/calcite/{VHLIF5DY.js → WXNB4546.js} +2 -2
  301. package/dist/calcite/WXNB4546.js.LEGAL.txt +3 -0
  302. package/dist/calcite/{MSCFVCHB.js → X3Y745O5.js} +2 -2
  303. package/dist/calcite/X3Y745O5.js.LEGAL.txt +3 -0
  304. package/dist/calcite/{PW6UBKVH.js → X5NLUQDA.js} +2 -2
  305. package/dist/calcite/X5NLUQDA.js.LEGAL.txt +3 -0
  306. package/dist/calcite/{XVSPBUCP.js → XJUNWEHJ.js} +1 -1
  307. package/dist/calcite/XJUNWEHJ.js.LEGAL.txt +3 -0
  308. package/dist/calcite/{RI5ZWQGD.js → XUZICRV7.js} +2 -2
  309. package/dist/calcite/XUZICRV7.js.LEGAL.txt +3 -0
  310. package/dist/calcite/{7CQ233AJ.js → XZK2I4C2.js} +2 -2
  311. package/dist/calcite/XZK2I4C2.js.LEGAL.txt +3 -0
  312. package/dist/calcite/{7FB33YBD.js → Y6MVE6DC.js} +2 -2
  313. package/dist/calcite/Y6MVE6DC.js.LEGAL.txt +3 -0
  314. package/dist/calcite/{6NUAVTSM.js → YCAEPRM6.js} +2 -2
  315. package/dist/calcite/YCAEPRM6.js.LEGAL.txt +3 -0
  316. package/dist/calcite/{GRLBXAFF.js → YD2UXF4G.js} +1 -1
  317. package/dist/calcite/{GFONJVVJ.js → YQDHA3IR.js} +2 -2
  318. package/dist/calcite/YQDHA3IR.js.LEGAL.txt +3 -0
  319. package/dist/calcite/{OSZVSWGU.js → Z3OQGPN5.js} +2 -2
  320. package/dist/calcite/Z3OQGPN5.js.LEGAL.txt +3 -0
  321. package/dist/calcite/{TSHHVAZ7.js → Z53Z6H75.js} +2 -2
  322. package/dist/calcite/Z53Z6H75.js.LEGAL.txt +3 -0
  323. package/dist/calcite/{HNERZLDY.js → ZTSRFYI5.js} +2 -2
  324. package/dist/calcite/ZTSRFYI5.js.LEGAL.txt +3 -0
  325. package/dist/calcite/{VYRPNOIH.js → ZXGONEDG.js} +1 -1
  326. package/dist/calcite/ZXGONEDG.js.LEGAL.txt +3 -0
  327. package/dist/calcite/calcite.esm.js +2 -2
  328. package/dist/calcite/calcite.esm.js.LEGAL.txt +1 -1
  329. package/dist/chunks/ExpandToggle.js +1 -1
  330. package/dist/chunks/FloatingArrow.js +1 -1
  331. package/dist/chunks/Heading.js +1 -1
  332. package/dist/chunks/Validation.js +1 -1
  333. package/dist/chunks/XButton.js +1 -1
  334. package/dist/chunks/array.js +1 -1
  335. package/dist/chunks/component.js +1 -1
  336. package/dist/chunks/core.js +1 -1
  337. package/dist/chunks/date.js +1 -1
  338. package/dist/chunks/dom.js +1 -1
  339. package/dist/chunks/dynamicClasses.js +1 -1
  340. package/dist/chunks/filter.js +1 -1
  341. package/dist/chunks/floating-ui.js +1 -1
  342. package/dist/chunks/form.js +1 -1
  343. package/dist/chunks/global.js +1 -1
  344. package/dist/chunks/guid.js +1 -1
  345. package/dist/chunks/input.js +1 -1
  346. package/dist/chunks/interact.min.js +1 -1
  347. package/dist/chunks/interactive.js +1 -1
  348. package/dist/chunks/key.js +1 -1
  349. package/dist/chunks/label.js +1 -1
  350. package/dist/chunks/locale.js +1 -1
  351. package/dist/chunks/logger.js +1 -1
  352. package/dist/chunks/math.js +1 -1
  353. package/dist/chunks/observers.js +1 -1
  354. package/dist/chunks/openCloseComponent.js +1 -1
  355. package/dist/chunks/resources.js +1 -1
  356. package/dist/chunks/resources2.js +1 -1
  357. package/dist/chunks/resources3.js +1 -1
  358. package/dist/chunks/resources4.js +1 -1
  359. package/dist/chunks/resources5.js +1 -1
  360. package/dist/chunks/resources6.js +1 -1
  361. package/dist/chunks/resources7.js +1 -1
  362. package/dist/chunks/responsive.js +1 -1
  363. package/dist/chunks/runtime.js +5 -5
  364. package/dist/chunks/sortableComponent.js +1 -1
  365. package/dist/chunks/text.js +1 -1
  366. package/dist/chunks/time.js +1 -1
  367. package/dist/chunks/useFocusTrap.js +1 -1
  368. package/dist/chunks/usePreventDocumentScroll.js +1 -1
  369. package/dist/chunks/useT9n.js +1 -1
  370. package/dist/chunks/utils.js +1 -1
  371. package/dist/chunks/utils2.js +1 -1
  372. package/dist/chunks/utils3.js +1 -1
  373. package/dist/chunks/utils4.js +1 -1
  374. package/dist/components/calcite-accordion/customElement.js +1 -1
  375. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  376. package/dist/components/calcite-action/customElement.js +1 -1
  377. package/dist/components/calcite-action-bar/customElement.js +1 -1
  378. package/dist/components/calcite-action-group/customElement.js +1 -1
  379. package/dist/components/calcite-action-menu/customElement.js +1 -1
  380. package/dist/components/calcite-action-pad/customElement.js +1 -1
  381. package/dist/components/calcite-alert/customElement.js +1 -1
  382. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  383. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  384. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  385. package/dist/components/calcite-avatar/customElement.js +1 -1
  386. package/dist/components/calcite-block/customElement.js +1 -1
  387. package/dist/components/calcite-block-group/customElement.js +1 -1
  388. package/dist/components/calcite-block-section/customElement.js +1 -1
  389. package/dist/components/calcite-button/customElement.js +1 -1
  390. package/dist/components/calcite-card/customElement.js +1 -1
  391. package/dist/components/calcite-card-group/customElement.js +1 -1
  392. package/dist/components/calcite-carousel/customElement.js +1 -1
  393. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  394. package/dist/components/calcite-checkbox/customElement.js +1 -1
  395. package/dist/components/calcite-chip/customElement.js +1 -1
  396. package/dist/components/calcite-chip-group/customElement.js +1 -1
  397. package/dist/components/calcite-color-picker/customElement.js +1 -1
  398. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  399. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  400. package/dist/components/calcite-combobox/customElement.js +1 -1
  401. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  402. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  403. package/dist/components/calcite-date-picker/customElement.js +1 -1
  404. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  405. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  406. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  407. package/dist/components/calcite-dialog/customElement.js +6 -8
  408. package/dist/components/calcite-dropdown/customElement.js +3 -10
  409. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  410. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  411. package/dist/components/calcite-fab/customElement.js +1 -1
  412. package/dist/components/calcite-filter/customElement.js +1 -1
  413. package/dist/components/calcite-flow/customElement.js +1 -1
  414. package/dist/components/calcite-flow-item/customElement.js +1 -1
  415. package/dist/components/calcite-graph/customElement.js +1 -1
  416. package/dist/components/calcite-handle/customElement.js +1 -1
  417. package/dist/components/calcite-icon/customElement.js +1 -1
  418. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  419. package/dist/components/calcite-input/customElement.js +1 -1
  420. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  421. package/dist/components/calcite-input-message/customElement.js +1 -1
  422. package/dist/components/calcite-input-number/customElement.js +1 -1
  423. package/dist/components/calcite-input-text/customElement.js +1 -1
  424. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  425. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  426. package/dist/components/calcite-label/customElement.js +1 -1
  427. package/dist/components/calcite-link/customElement.js +1 -1
  428. package/dist/components/calcite-list/customElement.js +1 -1
  429. package/dist/components/calcite-list-item/customElement.js +1 -1
  430. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  431. package/dist/components/calcite-loader/customElement.js +1 -1
  432. package/dist/components/calcite-menu/customElement.js +1 -1
  433. package/dist/components/calcite-menu-item/customElement.js +1 -1
  434. package/dist/components/calcite-meter/customElement.js +1 -1
  435. package/dist/components/calcite-modal/customElement.js +5 -7
  436. package/dist/components/calcite-navigation/customElement.js +1 -1
  437. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  438. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  439. package/dist/components/calcite-notice/customElement.js +1 -1
  440. package/dist/components/calcite-option/customElement.js +1 -1
  441. package/dist/components/calcite-option-group/customElement.js +1 -1
  442. package/dist/components/calcite-pagination/customElement.js +1 -1
  443. package/dist/components/calcite-panel/customElement.js +1 -1
  444. package/dist/components/calcite-popover/customElement.js +1 -1
  445. package/dist/components/calcite-progress/customElement.js +1 -1
  446. package/dist/components/calcite-radio-button/customElement.js +1 -1
  447. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  448. package/dist/components/calcite-rating/customElement.js +1 -1
  449. package/dist/components/calcite-scrim/customElement.js +1 -1
  450. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  451. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  452. package/dist/components/calcite-select/customElement.js +1 -1
  453. package/dist/components/calcite-sheet/customElement.js +5 -7
  454. package/dist/components/calcite-shell/customElement.js +1 -1
  455. package/dist/components/calcite-shell-center-row/customElement.js +1 -1
  456. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  457. package/dist/components/calcite-slider/customElement.js +1 -1
  458. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  459. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  460. package/dist/components/calcite-split-button/customElement.js +1 -1
  461. package/dist/components/calcite-stack/customElement.js +1 -1
  462. package/dist/components/calcite-stepper/customElement.js +1 -1
  463. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  464. package/dist/components/calcite-switch/customElement.js +1 -1
  465. package/dist/components/calcite-tab/customElement.js +1 -1
  466. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  467. package/dist/components/calcite-tab-title/customElement.js +1 -1
  468. package/dist/components/calcite-table/customElement.js +1 -1
  469. package/dist/components/calcite-table-cell/customElement.js +1 -1
  470. package/dist/components/calcite-table-header/customElement.js +1 -1
  471. package/dist/components/calcite-table-row/customElement.js +1 -1
  472. package/dist/components/calcite-tabs/customElement.js +1 -1
  473. package/dist/components/calcite-text-area/customElement.js +1 -1
  474. package/dist/components/calcite-tile/customElement.js +1 -1
  475. package/dist/components/calcite-tile-group/customElement.js +1 -1
  476. package/dist/components/calcite-tile-select/customElement.js +1 -1
  477. package/dist/components/calcite-tile-select-group/customElement.js +1 -1
  478. package/dist/components/calcite-time-picker/customElement.js +1 -1
  479. package/dist/components/calcite-tip/customElement.js +1 -1
  480. package/dist/components/calcite-tip-group/customElement.js +1 -1
  481. package/dist/components/calcite-tip-manager/customElement.js +1 -1
  482. package/dist/components/calcite-tooltip/customElement.js +1 -1
  483. package/dist/components/calcite-tree/customElement.js +1 -1
  484. package/dist/components/calcite-tree-item/customElement.js +1 -1
  485. package/dist/docs/api.json +1 -1
  486. package/dist/docs/docs.json +1 -1
  487. package/dist/docs/web-types.json +1 -1
  488. package/dist/index.js +1 -1
  489. package/dist/loader.js +1 -1
  490. package/package.json +2 -2
  491. package/dist/calcite/3VLVDWSS.js.LEGAL.txt +0 -3
  492. package/dist/calcite/46GRM4CE.js.LEGAL.txt +0 -3
  493. package/dist/calcite/4CRXZ63L.js.LEGAL.txt +0 -3
  494. package/dist/calcite/4JL2EBN2.js.LEGAL.txt +0 -3
  495. package/dist/calcite/4M5YF4UK.js.LEGAL.txt +0 -3
  496. package/dist/calcite/4PC2H3SA.js.LEGAL.txt +0 -3
  497. package/dist/calcite/4SZ573RT.js.LEGAL.txt +0 -3
  498. package/dist/calcite/55R7FS3U.js.LEGAL.txt +0 -3
  499. package/dist/calcite/5CFQYPD6.js.LEGAL.txt +0 -3
  500. package/dist/calcite/5JJMIROF.js.LEGAL.txt +0 -3
  501. package/dist/calcite/5Q54AMGC.js.LEGAL.txt +0 -3
  502. package/dist/calcite/5T2FJWUW.js.LEGAL.txt +0 -3
  503. package/dist/calcite/5UJXO6ER.js.LEGAL.txt +0 -3
  504. package/dist/calcite/5Z4FPF7F.js.LEGAL.txt +0 -3
  505. package/dist/calcite/62GP7Q7R.js.LEGAL.txt +0 -3
  506. package/dist/calcite/6M254VM3.js.LEGAL.txt +0 -3
  507. package/dist/calcite/6NUAVTSM.js.LEGAL.txt +0 -3
  508. package/dist/calcite/6VI66GV4.js.LEGAL.txt +0 -3
  509. package/dist/calcite/76ZLZZXT.js.LEGAL.txt +0 -3
  510. package/dist/calcite/7CQ233AJ.js.LEGAL.txt +0 -3
  511. package/dist/calcite/7FB33YBD.js.LEGAL.txt +0 -3
  512. package/dist/calcite/7JTQUIIG.js.LEGAL.txt +0 -3
  513. package/dist/calcite/7PKWMEQD.js.LEGAL.txt +0 -3
  514. package/dist/calcite/7QECW2E2.js.LEGAL.txt +0 -3
  515. package/dist/calcite/7QNG2EF7.js.LEGAL.txt +0 -3
  516. package/dist/calcite/7T7MTXSU.js.LEGAL.txt +0 -3
  517. package/dist/calcite/A2YB5LXN.js +0 -4
  518. package/dist/calcite/A2YB5LXN.js.LEGAL.txt +0 -3
  519. package/dist/calcite/AFFK5WSZ.js.LEGAL.txt +0 -3
  520. package/dist/calcite/AXBOTO3S.js.LEGAL.txt +0 -3
  521. package/dist/calcite/BIXOQRWX.js.LEGAL.txt +0 -3
  522. package/dist/calcite/BXNTEQDG.js.LEGAL.txt +0 -3
  523. package/dist/calcite/BXRLVWOE.js.LEGAL.txt +0 -3
  524. package/dist/calcite/C2KRQ7VY.js.LEGAL.txt +0 -3
  525. package/dist/calcite/CK2727PE.js.LEGAL.txt +0 -3
  526. package/dist/calcite/CVQXSZEH.js.LEGAL.txt +0 -3
  527. package/dist/calcite/D2KGWKKE.js.LEGAL.txt +0 -3
  528. package/dist/calcite/DACMF6M4.js.LEGAL.txt +0 -3
  529. package/dist/calcite/DIWK757P.js.LEGAL.txt +0 -3
  530. package/dist/calcite/DIYHPDDJ.js.LEGAL.txt +0 -3
  531. package/dist/calcite/DTAEBKT4.js.LEGAL.txt +0 -3
  532. package/dist/calcite/DX4BEDZ3.js.LEGAL.txt +0 -3
  533. package/dist/calcite/EHEE5FVV.js.LEGAL.txt +0 -3
  534. package/dist/calcite/F4S6EXX6.js.LEGAL.txt +0 -3
  535. package/dist/calcite/FQPVAT5F.js.LEGAL.txt +0 -3
  536. package/dist/calcite/FYK4XJBH.js.LEGAL.txt +0 -3
  537. package/dist/calcite/G77XQIMX.js.LEGAL.txt +0 -3
  538. package/dist/calcite/GFFE55DG.js.LEGAL.txt +0 -3
  539. package/dist/calcite/GFONJVVJ.js.LEGAL.txt +0 -3
  540. package/dist/calcite/GL7DMV4S.js.LEGAL.txt +0 -3
  541. package/dist/calcite/GS3X5VRZ.js.LEGAL.txt +0 -3
  542. package/dist/calcite/GSA4PGT2.js.LEGAL.txt +0 -3
  543. package/dist/calcite/GTIGGEIV.js.LEGAL.txt +0 -3
  544. package/dist/calcite/GTUVAAAD.js.LEGAL.txt +0 -3
  545. package/dist/calcite/H3WIGFJO.js.LEGAL.txt +0 -3
  546. package/dist/calcite/HAEAO4QM.js.LEGAL.txt +0 -3
  547. package/dist/calcite/HBU463EW.js.LEGAL.txt +0 -3
  548. package/dist/calcite/HJQMJ3O5.js.LEGAL.txt +0 -3
  549. package/dist/calcite/HNERZLDY.js.LEGAL.txt +0 -3
  550. package/dist/calcite/HOEPFXY4.js.LEGAL.txt +0 -3
  551. package/dist/calcite/I4FISWDK.js.LEGAL.txt +0 -3
  552. package/dist/calcite/I7DZAQ33.js.LEGAL.txt +0 -3
  553. package/dist/calcite/IQQJKKQR.js.LEGAL.txt +0 -3
  554. package/dist/calcite/IRUMOVZZ.js.LEGAL.txt +0 -3
  555. package/dist/calcite/J5XEWZHE.js.LEGAL.txt +0 -3
  556. package/dist/calcite/JAL66H3J.js.LEGAL.txt +0 -3
  557. package/dist/calcite/JATMHESF.js.LEGAL.txt +0 -3
  558. package/dist/calcite/JBY373VQ.js.LEGAL.txt +0 -3
  559. package/dist/calcite/JDNJDXBT.js.LEGAL.txt +0 -3
  560. package/dist/calcite/JDWLRXMB.js.LEGAL.txt +0 -3
  561. package/dist/calcite/JFS56TST.js.LEGAL.txt +0 -3
  562. package/dist/calcite/KO2HPSDS.js.LEGAL.txt +0 -3
  563. package/dist/calcite/KPX237YH.js.LEGAL.txt +0 -3
  564. package/dist/calcite/LAKJK7HL.js.LEGAL.txt +0 -3
  565. package/dist/calcite/LEGWZZ3C.js.LEGAL.txt +0 -3
  566. package/dist/calcite/LI2EINF7.js.LEGAL.txt +0 -3
  567. package/dist/calcite/LIPUTT6N.js.LEGAL.txt +0 -3
  568. package/dist/calcite/LWUNC2OP.js.LEGAL.txt +0 -3
  569. package/dist/calcite/LZ3V33XC.js.LEGAL.txt +0 -3
  570. package/dist/calcite/M3UZ4E5H.js.LEGAL.txt +0 -3
  571. package/dist/calcite/M4H4WLVH.js.LEGAL.txt +0 -3
  572. package/dist/calcite/MBN54URU.js.LEGAL.txt +0 -3
  573. package/dist/calcite/MG5IOFW7.js.LEGAL.txt +0 -3
  574. package/dist/calcite/MN5ZMGDP.js.LEGAL.txt +0 -3
  575. package/dist/calcite/MR5UPVPG.js.LEGAL.txt +0 -3
  576. package/dist/calcite/MSCFVCHB.js.LEGAL.txt +0 -3
  577. package/dist/calcite/MUFGKP4E.js.LEGAL.txt +0 -3
  578. package/dist/calcite/MXQCR7YF.js.LEGAL.txt +0 -3
  579. package/dist/calcite/MZDX2RGO.js.LEGAL.txt +0 -3
  580. package/dist/calcite/N63BZNBM.js.LEGAL.txt +0 -3
  581. package/dist/calcite/NCWK6WJU.js.LEGAL.txt +0 -3
  582. package/dist/calcite/NDM46TRI.js.LEGAL.txt +0 -3
  583. package/dist/calcite/NH2FREQY.js.LEGAL.txt +0 -3
  584. package/dist/calcite/NLQEJQ5J.js.LEGAL.txt +0 -3
  585. package/dist/calcite/NODTVZ24.js.LEGAL.txt +0 -3
  586. package/dist/calcite/NYCLULH3.js.LEGAL.txt +0 -3
  587. package/dist/calcite/OPWA55SD.js.LEGAL.txt +0 -3
  588. package/dist/calcite/OQGS3D3N.js.LEGAL.txt +0 -3
  589. package/dist/calcite/OSZVSWGU.js.LEGAL.txt +0 -3
  590. package/dist/calcite/P2CTJE5E.js.LEGAL.txt +0 -3
  591. package/dist/calcite/P2XP2NHT.js.LEGAL.txt +0 -3
  592. package/dist/calcite/P3RLUM2B.js +0 -4
  593. package/dist/calcite/P3RLUM2B.js.LEGAL.txt +0 -3
  594. package/dist/calcite/P6C3W6FL.js.LEGAL.txt +0 -3
  595. package/dist/calcite/PENLWMB3.js.LEGAL.txt +0 -3
  596. package/dist/calcite/PLJALAVQ.js.LEGAL.txt +0 -3
  597. package/dist/calcite/POGNNNSN.js.LEGAL.txt +0 -3
  598. package/dist/calcite/PW6UBKVH.js.LEGAL.txt +0 -3
  599. package/dist/calcite/PYM6655A.js.LEGAL.txt +0 -3
  600. package/dist/calcite/QFOJGUH4.js.LEGAL.txt +0 -3
  601. package/dist/calcite/QJMY6HK4.js.LEGAL.txt +0 -3
  602. package/dist/calcite/QJN3Y7KP.js.LEGAL.txt +0 -3
  603. package/dist/calcite/QRBR6VUO.js.LEGAL.txt +0 -3
  604. package/dist/calcite/QVKJQIOF.js.LEGAL.txt +0 -3
  605. package/dist/calcite/R3CUJDU2.js.LEGAL.txt +0 -3
  606. package/dist/calcite/R5NIHVIX.js.LEGAL.txt +0 -3
  607. package/dist/calcite/R7U5O4YW.js.LEGAL.txt +0 -3
  608. package/dist/calcite/RI5ZWQGD.js.LEGAL.txt +0 -3
  609. package/dist/calcite/RLN7DR35.js.LEGAL.txt +0 -3
  610. package/dist/calcite/RN6G4AJW.js.LEGAL.txt +0 -3
  611. package/dist/calcite/SEHADNF3.js.LEGAL.txt +0 -3
  612. package/dist/calcite/SKKGAAMO.js.LEGAL.txt +0 -3
  613. package/dist/calcite/SQNNHAAG.js.LEGAL.txt +0 -3
  614. package/dist/calcite/T3TLDID7.js.LEGAL.txt +0 -3
  615. package/dist/calcite/T4ISGVVX.js.LEGAL.txt +0 -3
  616. package/dist/calcite/TGV7EMNU.js.LEGAL.txt +0 -3
  617. package/dist/calcite/TH2HXM2T.js.LEGAL.txt +0 -3
  618. package/dist/calcite/THZPNFDC.js.LEGAL.txt +0 -3
  619. package/dist/calcite/TSHHVAZ7.js.LEGAL.txt +0 -3
  620. package/dist/calcite/TYKK4ZDP.js.LEGAL.txt +0 -3
  621. package/dist/calcite/V6MACRDH.js.LEGAL.txt +0 -3
  622. package/dist/calcite/VGUJWIE3.js.LEGAL.txt +0 -3
  623. package/dist/calcite/VHLIF5DY.js.LEGAL.txt +0 -3
  624. package/dist/calcite/VUEY5X5A.js.LEGAL.txt +0 -3
  625. package/dist/calcite/VYRPNOIH.js.LEGAL.txt +0 -3
  626. package/dist/calcite/WL7KPPYH.js.LEGAL.txt +0 -3
  627. package/dist/calcite/WN6CJLMD.js +0 -4
  628. package/dist/calcite/WN6CJLMD.js.LEGAL.txt +0 -3
  629. package/dist/calcite/XLQJWLJR.js.LEGAL.txt +0 -3
  630. package/dist/calcite/XQSZJ5CG.js.LEGAL.txt +0 -3
  631. package/dist/calcite/XVSPBUCP.js.LEGAL.txt +0 -3
  632. package/dist/calcite/Y2E6XYEE.js.LEGAL.txt +0 -3
  633. package/dist/calcite/Y5A3EQS4.js.LEGAL.txt +0 -3
  634. package/dist/calcite/YBIDORYE.js.LEGAL.txt +0 -3
  635. package/dist/calcite/YPHDMEZE.js.LEGAL.txt +0 -3
  636. package/dist/calcite/Z2N3ZD66.js.LEGAL.txt +0 -3
  637. package/dist/calcite/Z646UZFI.js.LEGAL.txt +0 -3
  638. package/dist/calcite/Z6VHOIAN.js.LEGAL.txt +0 -3
  639. package/dist/calcite/Z7EIB7KP.js.LEGAL.txt +0 -3
  640. package/dist/calcite/ZMFN7VKF.js.LEGAL.txt +0 -3
  641. package/dist/calcite/ZS2B2AF5.js.LEGAL.txt +0 -3
  642. /package/dist/calcite/{W7YWLFKG.js.LEGAL.txt → 5NQUZRDM.js.LEGAL.txt} +0 -0
  643. /package/dist/calcite/{A4XLCDLZ.js.LEGAL.txt → 6GM27GBO.js.LEGAL.txt} +0 -0
  644. /package/dist/calcite/{U2YGN4RT.js.LEGAL.txt → 6P5PSH65.js.LEGAL.txt} +0 -0
  645. /package/dist/calcite/{2VN3YIDH.js.LEGAL.txt → DNYNDPB5.js.LEGAL.txt} +0 -0
  646. /package/dist/calcite/{RFI4KO6W.js.LEGAL.txt → HPNQQK6A.js.LEGAL.txt} +0 -0
  647. /package/dist/calcite/{CLRL273B.js.LEGAL.txt → K3RGRXZK.js.LEGAL.txt} +0 -0
  648. /package/dist/calcite/{GRLBXAFF.js.LEGAL.txt → KDX22TPR.js.LEGAL.txt} +0 -0
  649. /package/dist/calcite/{IWDYFFAM.js.LEGAL.txt → NNTVWBBP.js.LEGAL.txt} +0 -0
  650. /package/dist/calcite/{KFEMDYAO.js.LEGAL.txt → O26R4TSO.js.LEGAL.txt} +0 -0
  651. /package/dist/calcite/{GZUOSY5I.js.LEGAL.txt → PNGIMH3C.js.LEGAL.txt} +0 -0
  652. /package/dist/calcite/{MFXMCYAU.js.LEGAL.txt → QWS3K5HU.js.LEGAL.txt} +0 -0
  653. /package/dist/calcite/{UGDRDJPA.js.LEGAL.txt → RGO4YDKF.js.LEGAL.txt} +0 -0
  654. /package/dist/calcite/{WIUS56JI.js.LEGAL.txt → U52EKICH.js.LEGAL.txt} +0 -0
  655. /package/dist/calcite/{XCW4TOV5.js.LEGAL.txt → YD2UXF4G.js.LEGAL.txt} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.0-next.39 */
4
- import{a as C,b as S,d as T}from"./3VLVDWSS.js";import{c as z,d as $,e as E}from"./7T7MTXSU.js";import{b as i,c as O}from"./2VN3YIDH.js";import{a as x,b as w}from"./DTAEBKT4.js";import{a as r}from"./DX4BEDZ3.js";import{a as y}from"./24OTRUCC.js";import{a as f,b as c}from"./U2YGN4RT.js";import{t as k}from"./LLN5DNPL.js";import{a as l,d as m}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{C as v,K as g,c as b,e as p,g as o,k as a,x as h,y as n}from"./MZMZSY5A.js";var e={buttonLoader:"calcite-button--loader",content:"content",contentSlotted:"content--slotted",icon:"icon",iconStart:"icon--start",iconEnd:"icon--end",loadingIn:"loading-in",loadingOut:"loading-out",iconStartEmpty:"icon-start-empty",iconEndEmpty:"icon-end-empty",buttonPadding:"button-padding",buttonPaddingShrunk:"button-padding--shrunk"},H=p`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;inline-size:auto;vertical-align:middle;border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0))}:host a,:host button{--calcite-internal-button-content-margin: .5rem;--calcite-internal-button-padding-x: 7px;--calcite-internal-button-padding-y: 3px;position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;outline-color:transparent;background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color, var(--calcite-color-transparent)));border-block-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-block-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-style:solid;border-width:var(--calcite-border-width-sm);box-shadow:inset 0 0 0 0 var(--calcite-button-shadow-color, var(--calcite-internal-button-shadow-color, var(--calcite-color-transparent)));border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0));color:var(--calcite-button-text-color, var(--calcite-internal-button-text-color, currentColor));padding-block:var(--calcite-internal-button-padding-y);padding-inline:var(--calcite-internal-button-padding-x);transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host a:hover,:host button:hover{text-decoration-line:none}:host a:focus,:host button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host a span,:host button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host a calcite-loader,:host button calcite-loader{color:var(--calcite-button-loader-color, var(--calcite-internal-button-loader-color, var(--calcite-button-text-color, var(--calcite-internal-button-text-color))))}:host([round]){--calcite-internal-button-corner-radius: 50px}.content{margin-inline:var(--calcite-internal-button-content-margin)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-content-margin: .75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-internal-button-content-margin: 1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-internal-button-content-margin)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(.5)}to{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}to{inline-size:0;opacity:0;transform:scale(.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-internal-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{--calcite-internal-button-border-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([kind=brand]) button,:host([kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=brand]) button:hover,:host([kind=brand]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-brand-hover)}:host([kind=brand]) button:active,:host([kind=brand]) a:active{--calcite-internal-button-background-color: var(--calcite-color-brand-press)}:host([kind=danger]) button,:host([kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=danger]) button:hover,:host([kind=danger]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-status-danger-hover)}:host([kind=danger]) button:active,:host([kind=danger]) a:active{--calcite-internal-button-background-color: var(--calcite-color-status-danger-press)}:host([kind=neutral]) button,:host([kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-background-color: var(--calcite-color-foreground-3);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([kind=neutral]) button:hover,:host([kind=neutral]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-foreground-2)}:host([kind=neutral]) button:active,:host([kind=neutral]) a:active{--calcite-internal-button-background-color: var(--calcite-color-foreground-1)}:host([kind=inverse]) button,:host([kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=inverse]) button:hover,:host([kind=inverse]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-inverse-hover)}:host([kind=inverse]) button:active,:host([kind=inverse]) a:active{--calcite-internal-button-background-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{--calcite-internal-button-background-color: var(--calcite-color-foreground-1);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline-fill]) button:hover,:host([appearance=outline-fill]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-foreground-2)}:host([appearance=outline-fill]) button:active,:host([appearance=outline-fill]) a:active{--calcite-internal-button-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover);--calcite-internal-button-shadow-color: var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-shadow-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press);--calcite-internal-button-shadow-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=solid][kind=neutral]) button:hover,:host([appearance=solid][kind=neutral]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-border-3)}:host([appearance=solid][kind=neutral]) button:active,:host([appearance=solid][kind=neutral]) a:active{--calcite-internal-button-background-color: var(--calcite-color-border-2)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-shadow-color: var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-press)}:host([appearance=outline]) button,:host([appearance=outline]) a{--calcite-internal-button-background-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline]) button:hover,:host([appearance=outline]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-transparent-hover)}:host([appearance=outline]) button:active,:host([appearance=outline]) a:active{--calcite-internal-button-background-color: var(--calcite-color-transparent-press)}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover);--calcite-internal-button-shadow-color: var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-shadow-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press);--calcite-internal-button-shadow-color: var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-shadow-color: var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button,:host([appearance=outline-fill][split-child=primary]) a,:host([appearance=outline][split-child=primary]) a{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button,:host([appearance=outline-fill][split-child=secondary]) a,:host([appearance=outline][split-child=secondary]) a{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]) button,:host([appearance=transparent]) a{--calcite-internal-button-background-color: var(--calcite-color-transparent)}:host([appearance=transparent]) button:hover,:host([appearance=transparent]) button:focus,:host([appearance=transparent]) a:hover,:host([appearance=transparent]) a:focus{--calcite-internal-button-background-color: var(--calcite-color-transparent-hover)}:host([appearance=transparent]) button:active,:host([appearance=transparent]) a:active{--calcite-internal-button-background-color: var(--calcite-color-transparent-press)}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:var(--calcite-color-transparent)}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:hover{background-color:var(--calcite-color-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{--calcite-internal-button-text-color: var(--calcite-color-text-3)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-padding-y: 0}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]) button:hover,:host([appearance=transparent][kind=inverse]) a:hover{background-color:var(--calcite-color-transparent-inverse-hover)}:host([appearance=transparent][kind=inverse]) button:active,:host([appearance=transparent][kind=inverse]) a:active{background-color:var(--calcite-color-transparent-inverse-press)}:host([appearance=transparent][kind=inverse]) button calcite-loader,:host([appearance=transparent][kind=inverse]) a calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-internal-button-padding-y: 3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-internal-button-padding-x: 11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-padding-y: 7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-internal-button-padding-x: 15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button-padding{--calcite-internal-button-padding-x: 1rem;--calcite-internal-button-padding-y: 11px}:host([scale=l]) .button-padding--shrunk{--calcite-internal-button-padding-y: 9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host(:is([scale=s],[scale=m],[scale=l])[width=full]) a:not(.content--slotted),:host(:is([scale=s],[scale=m],[scale=l])[width=full]) button:not(.content--slotted){inline-size:var(--calcite-container-size-content-fluid)}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-y: .625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2.75rem}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends h{constructor(){super(...arguments),this.attributeWatch=b(["aria-expanded"],this.handleGlobalAttributesChanged),this.contentEl=f(),this.mutationObserver=r("mutation",()=>this.updateHasContent()),this.resizeObserver=r("resize",()=>this.setTooltipText()),this.hasContent=!1,this.alignment="center",this.appearance="solid",this.disabled=!1,this.download=!1,this.kind="brand",this.loading=!1,this.messages=y(),this.round=!1,this.scale="m",this.splitChild=!1,this.type="button",this.width="auto"}static{this.properties={hasContent:[16,{state:!0}],tooltipText:[16,{state:!0}],alignment:[3,{reflect:!0}],appearance:[3,{reflect:!0}],disabled:[7,{reflect:!0,type:Boolean}],download:[3,{reflect:!0,converter:v}],form:[3,{reflect:!0}],href:[3,{reflect:!0}],iconEnd:[3,{reflect:!0}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],kind:[3,{reflect:!0}],label:1,loading:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}],name:[3,{reflect:!0}],rel:[3,{reflect:!0}],round:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],splitChild:[3,{reflect:!0}],target:[3,{reflect:!0}],type:[3,{reflect:!0}],width:[3,{reflect:!0}]}}static{this.styles=H}async setFocus(){await m(this),this.childEl?.focus()}connectedCallback(){super.connectedCallback(),this.setupTextContentObserver(),z(this),this.formEl=T(this)}async load(){this.updateHasContent()}updated(){x(this)}loaded(){this.setTooltipText()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),$(this),this.resizeObserver?.disconnect(),this.formEl=null}handleGlobalAttributesChanged(){this.requestUpdate()}updateHasContent(){this.hasContent=k(this.el)}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}onLabelClick(){this.handleClick(),this.setFocus()}handleClick(){let{type:t}=this;this.href||(t==="submit"?C(this):t==="reset"&&S(this))}setTooltipText(){let{contentEl:{value:t}}=this;t&&(this.tooltipText=t.offsetWidth<t.scrollWidth&&this.el.innerText||null)}setChildEl(t){this.childEl=t,t&&this.resizeObserver?.observe(t)}render(){let t=this.href?"a":"button",d=this.href?i`a`:i`button`,F=this.loading?o`<div class=${n(e.buttonLoader)}><calcite-loader class=${n(this.loading?e.loadingIn:e.loadingOut)} inline .label=${this.messages.loading} .scale=${this.scale==="l"?"m":"s"}></calcite-loader></div>`:null,u=!this.iconStart&&!this.iconEnd,L=o`<calcite-icon class=${n({[e.icon]:!0,[e.iconStart]:!0})} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} .scale=${l(this.scale)}></calcite-icon>`,R=o`<calcite-icon class=${n({[e.icon]:!0,[e.iconEnd]:!0})} .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} .scale=${l(this.scale)}></calcite-icon>`,I=o`<span class=${n(e.content)} ${c(this.contentEl)}><slot></slot></span>`;return w({disabled:this.disabled,children:O`<${d} .ariaBusy=${this.loading} .ariaExpanded=${this.el.ariaExpanded?this.el.ariaExpanded:null} .ariaLabel=${this.loading?this.messages.loading:E(this)} aria-live=polite class=${n({[e.buttonPadding]:u,[e.buttonPaddingShrunk]:!u,[e.contentSlotted]:this.hasContent,[e.iconStartEmpty]:!this.iconStart,[e.iconEndEmpty]:!this.iconEnd})} .disabled=${t==="button"?this.disabled:null} download=${(t==="a"?this.download===!0||this.download===""?"":this.download||null:null)??a} href=${(t==="a"&&this.href)??a} name=${(t==="button"&&this.name)??a} @click=${this.handleClick} rel=${(t==="a"&&this.rel)??a} tabindex=${(this.disabled?-1:null)??a} target=${(t==="a"&&this.target)??a} title=${this.tooltipText??a} type=${(t==="button"?this.type:null)??a} ${c(this.setChildEl)}>${F}${this.iconStart?L:null}${this.hasContent?I:null}${this.iconEnd?R:null}</${d}>`})}};g("calcite-button",s);export{s as Button};
3
+ v3.2.0-next.40 */
4
+ import{a as C,b as S,d as T}from"./4KFIUD2B.js";import{c as z,d as $,e as E}from"./FR4VAYJC.js";import{b as i,c as O}from"./DNYNDPB5.js";import{a as x,b as w}from"./KOH7CJJ2.js";import{a as r}from"./VYNVOZVL.js";import{a as y}from"./7EKOSZOZ.js";import{a as f,b as c}from"./6P5PSH65.js";import{t as k}from"./4JEZM6VX.js";import{a as l,d as m}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{C as v,K as g,c as b,e as p,g as o,k as a,x as h,y as n}from"./EYWRTO2E.js";var e={buttonLoader:"calcite-button--loader",content:"content",contentSlotted:"content--slotted",icon:"icon",iconStart:"icon--start",iconEnd:"icon--end",loadingIn:"loading-in",loadingOut:"loading-out",iconStartEmpty:"icon-start-empty",iconEndEmpty:"icon-end-empty",buttonPadding:"button-padding",buttonPaddingShrunk:"button-padding--shrunk"},H=p`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;inline-size:auto;vertical-align:middle;border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0))}:host a,:host button{--calcite-internal-button-content-margin: .5rem;--calcite-internal-button-padding-x: 7px;--calcite-internal-button-padding-y: 3px;position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;outline-color:transparent;background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color, var(--calcite-color-transparent)));border-block-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-block-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-style:solid;border-width:var(--calcite-border-width-sm);box-shadow:inset 0 0 0 0 var(--calcite-button-shadow-color, var(--calcite-internal-button-shadow-color, var(--calcite-color-transparent)));border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0));color:var(--calcite-button-text-color, var(--calcite-internal-button-text-color, currentColor));padding-block:var(--calcite-internal-button-padding-y);padding-inline:var(--calcite-internal-button-padding-x);transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host a:hover,:host button:hover{text-decoration-line:none}:host a:focus,:host button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host a span,:host button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host a calcite-loader,:host button calcite-loader{color:var(--calcite-button-loader-color, var(--calcite-internal-button-loader-color, var(--calcite-button-text-color, var(--calcite-internal-button-text-color))))}:host([round]){--calcite-internal-button-corner-radius: 50px}.content{margin-inline:var(--calcite-internal-button-content-margin)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-content-margin: .75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-internal-button-content-margin: 1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-internal-button-content-margin)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(.5)}to{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}to{inline-size:0;opacity:0;transform:scale(.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-internal-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{--calcite-internal-button-border-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([kind=brand]) button,:host([kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=brand]) button:hover,:host([kind=brand]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-brand-hover)}:host([kind=brand]) button:active,:host([kind=brand]) a:active{--calcite-internal-button-background-color: var(--calcite-color-brand-press)}:host([kind=danger]) button,:host([kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=danger]) button:hover,:host([kind=danger]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-status-danger-hover)}:host([kind=danger]) button:active,:host([kind=danger]) a:active{--calcite-internal-button-background-color: var(--calcite-color-status-danger-press)}:host([kind=neutral]) button,:host([kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-background-color: var(--calcite-color-foreground-3);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([kind=neutral]) button:hover,:host([kind=neutral]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-foreground-2)}:host([kind=neutral]) button:active,:host([kind=neutral]) a:active{--calcite-internal-button-background-color: var(--calcite-color-foreground-1)}:host([kind=inverse]) button,:host([kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=inverse]) button:hover,:host([kind=inverse]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-inverse-hover)}:host([kind=inverse]) button:active,:host([kind=inverse]) a:active{--calcite-internal-button-background-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{--calcite-internal-button-background-color: var(--calcite-color-foreground-1);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline-fill]) button:hover,:host([appearance=outline-fill]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-foreground-2)}:host([appearance=outline-fill]) button:active,:host([appearance=outline-fill]) a:active{--calcite-internal-button-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover);--calcite-internal-button-shadow-color: var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-shadow-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press);--calcite-internal-button-shadow-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=solid][kind=neutral]) button:hover,:host([appearance=solid][kind=neutral]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-border-3)}:host([appearance=solid][kind=neutral]) button:active,:host([appearance=solid][kind=neutral]) a:active{--calcite-internal-button-background-color: var(--calcite-color-border-2)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-shadow-color: var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-press)}:host([appearance=outline]) button,:host([appearance=outline]) a{--calcite-internal-button-background-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline]) button:hover,:host([appearance=outline]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-transparent-hover)}:host([appearance=outline]) button:active,:host([appearance=outline]) a:active{--calcite-internal-button-background-color: var(--calcite-color-transparent-press)}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover);--calcite-internal-button-shadow-color: var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-shadow-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press);--calcite-internal-button-shadow-color: var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-shadow-color: var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button,:host([appearance=outline-fill][split-child=primary]) a,:host([appearance=outline][split-child=primary]) a{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button,:host([appearance=outline-fill][split-child=secondary]) a,:host([appearance=outline][split-child=secondary]) a{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]) button,:host([appearance=transparent]) a{--calcite-internal-button-background-color: var(--calcite-color-transparent)}:host([appearance=transparent]) button:hover,:host([appearance=transparent]) button:focus,:host([appearance=transparent]) a:hover,:host([appearance=transparent]) a:focus{--calcite-internal-button-background-color: var(--calcite-color-transparent-hover)}:host([appearance=transparent]) button:active,:host([appearance=transparent]) a:active{--calcite-internal-button-background-color: var(--calcite-color-transparent-press)}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:var(--calcite-color-transparent)}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:hover{background-color:var(--calcite-color-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{--calcite-internal-button-text-color: var(--calcite-color-text-3)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-padding-y: 0}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]) button:hover,:host([appearance=transparent][kind=inverse]) a:hover{background-color:var(--calcite-color-transparent-inverse-hover)}:host([appearance=transparent][kind=inverse]) button:active,:host([appearance=transparent][kind=inverse]) a:active{background-color:var(--calcite-color-transparent-inverse-press)}:host([appearance=transparent][kind=inverse]) button calcite-loader,:host([appearance=transparent][kind=inverse]) a calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-internal-button-padding-y: 3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-internal-button-padding-x: 11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-padding-y: 7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-internal-button-padding-x: 15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button-padding{--calcite-internal-button-padding-x: 1rem;--calcite-internal-button-padding-y: 11px}:host([scale=l]) .button-padding--shrunk{--calcite-internal-button-padding-y: 9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host(:is([scale=s],[scale=m],[scale=l])[width=full]) a:not(.content--slotted),:host(:is([scale=s],[scale=m],[scale=l])[width=full]) button:not(.content--slotted){inline-size:var(--calcite-container-size-content-fluid)}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-y: .625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2.75rem}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends h{constructor(){super(...arguments),this.attributeWatch=b(["aria-expanded"],this.handleGlobalAttributesChanged),this.contentEl=f(),this.mutationObserver=r("mutation",()=>this.updateHasContent()),this.resizeObserver=r("resize",()=>this.setTooltipText()),this.hasContent=!1,this.alignment="center",this.appearance="solid",this.disabled=!1,this.download=!1,this.kind="brand",this.loading=!1,this.messages=y(),this.round=!1,this.scale="m",this.splitChild=!1,this.type="button",this.width="auto"}static{this.properties={hasContent:[16,{state:!0}],tooltipText:[16,{state:!0}],alignment:[3,{reflect:!0}],appearance:[3,{reflect:!0}],disabled:[7,{reflect:!0,type:Boolean}],download:[3,{reflect:!0,converter:v}],form:[3,{reflect:!0}],href:[3,{reflect:!0}],iconEnd:[3,{reflect:!0}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],kind:[3,{reflect:!0}],label:1,loading:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}],name:[3,{reflect:!0}],rel:[3,{reflect:!0}],round:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],splitChild:[3,{reflect:!0}],target:[3,{reflect:!0}],type:[3,{reflect:!0}],width:[3,{reflect:!0}]}}static{this.styles=H}async setFocus(){await m(this),this.childEl?.focus()}connectedCallback(){super.connectedCallback(),this.setupTextContentObserver(),z(this),this.formEl=T(this)}async load(){this.updateHasContent()}updated(){x(this)}loaded(){this.setTooltipText()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),$(this),this.resizeObserver?.disconnect(),this.formEl=null}handleGlobalAttributesChanged(){this.requestUpdate()}updateHasContent(){this.hasContent=k(this.el)}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}onLabelClick(){this.handleClick(),this.setFocus()}handleClick(){let{type:t}=this;this.href||(t==="submit"?C(this):t==="reset"&&S(this))}setTooltipText(){let{contentEl:{value:t}}=this;t&&(this.tooltipText=t.offsetWidth<t.scrollWidth&&this.el.innerText||null)}setChildEl(t){this.childEl=t,t&&this.resizeObserver?.observe(t)}render(){let t=this.href?"a":"button",d=this.href?i`a`:i`button`,F=this.loading?o`<div class=${n(e.buttonLoader)}><calcite-loader class=${n(this.loading?e.loadingIn:e.loadingOut)} inline .label=${this.messages.loading} .scale=${this.scale==="l"?"m":"s"}></calcite-loader></div>`:null,u=!this.iconStart&&!this.iconEnd,L=o`<calcite-icon class=${n({[e.icon]:!0,[e.iconStart]:!0})} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} .scale=${l(this.scale)}></calcite-icon>`,R=o`<calcite-icon class=${n({[e.icon]:!0,[e.iconEnd]:!0})} .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} .scale=${l(this.scale)}></calcite-icon>`,I=o`<span class=${n(e.content)} ${c(this.contentEl)}><slot></slot></span>`;return w({disabled:this.disabled,children:O`<${d} .ariaBusy=${this.loading} .ariaExpanded=${this.el.ariaExpanded?this.el.ariaExpanded:null} .ariaLabel=${this.loading?this.messages.loading:E(this)} aria-live=polite class=${n({[e.buttonPadding]:u,[e.buttonPaddingShrunk]:!u,[e.contentSlotted]:this.hasContent,[e.iconStartEmpty]:!this.iconStart,[e.iconEndEmpty]:!this.iconEnd})} .disabled=${t==="button"?this.disabled:null} download=${(t==="a"?this.download===!0||this.download===""?"":this.download||null:null)??a} href=${(t==="a"&&this.href)??a} name=${(t==="button"&&this.name)??a} @click=${this.handleClick} rel=${(t==="a"&&this.rel)??a} tabindex=${(this.disabled?-1:null)??a} target=${(t==="a"&&this.target)??a} title=${this.tooltipText??a} type=${(t==="button"?this.type:null)??a} ${c(this.setChildEl)}>${F}${this.iconStart?L:null}${this.hasContent?I:null}${this.iconEnd?R:null}</${d}>`})}};g("calcite-button",s);export{s as Button};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.0-next.39 */
3
+ v3.2.0-next.40 */
4
4
  function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,o)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fe(Object(n),!0).forEach(function(o){Xe(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Mt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Mt=function(t){return typeof t}:Mt=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(e)}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $(){return $=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},$.apply(this,arguments)}function Ye(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,r;for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Be(e,t){if(e==null)return{};var n=Ye(e,t),o,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var Ge="1.15.6";function U(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var q=U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ot=U(/Edge/i),ce=U(/firefox/i),Et=U(/safari/i)&&!U(/chrome/i)&&!U(/android/i),ie=U(/iP(ad|od|hone)/i),we=U(/chrome/i)&&U(/android/i),ye={capture:!1,passive:!1};function v(e,t,n){e.addEventListener(t,n,!q&&ye)}function m(e,t,n){e.removeEventListener(t,n,!q&&ye)}function Yt(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function Ee(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function H(e,t,n,o){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Yt(e,t):Yt(e,t))||o&&e===n)return e;if(e===n)break}while(e=Ee(e))}return null}var de=/\s+/g;function R(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(de," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(de," ")}}function h(e,t,n){var o=e&&e.style;if(o){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=n+(typeof n=="string"?"":"px")}}function ct(e,t){var n="";if(typeof e=="string")n=e;else do{var o=h(e,"transform");o&&o!=="none"&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function De(e,t,n){if(e){var o=e.getElementsByTagName(t),i=0,r=o.length;if(n)for(;i<r;i++)n(o[i],i);return o}return[]}function K(){var e=document.scrollingElement;return e||document.documentElement}function O(e,t,n,o,i){if(!(!e.getBoundingClientRect&&e!==window)){var r,a,l,s,u,d,c;if(e!==window&&e.parentNode&&e!==K()?(r=e.getBoundingClientRect(),a=r.top,l=r.left,s=r.bottom,u=r.right,d=r.height,c=r.width):(a=0,l=0,s=window.innerHeight,u=window.innerWidth,d=window.innerHeight,c=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!q))do if(i&&i.getBoundingClientRect&&(h(i,"transform")!=="none"||n&&h(i,"position")!=="static")){var b=i.getBoundingClientRect();a-=b.top+parseInt(h(i,"border-top-width")),l-=b.left+parseInt(h(i,"border-left-width")),s=a+r.height,u=l+r.width;break}while(i=i.parentNode);if(o&&e!==window){var E=ct(i||e),w=E&&E.a,y=E&&E.d;E&&(a/=y,l/=w,c/=w,d/=y,s=a+d,u=l+c)}return{top:a,left:l,bottom:s,right:u,width:c,height:d}}}function he(e,t,n){for(var o=tt(e,!0),i=O(e)[t];o;){var r=O(o)[n],a=void 0;if(n==="top"||n==="left"?a=i>=r:a=i<=r,!a)return o;if(o===K())break;o=tt(o,!1)}return!1}function dt(e,t,n,o){for(var i=0,r=0,a=e.children;r<a.length;){if(a[r].style.display!=="none"&&a[r]!==p.ghost&&(o||a[r]!==p.dragged)&&H(a[r],n.draggable,e,!1)){if(i===t)return a[r];i++}r++}return null}function re(e,t){for(var n=e.lastElementChild;n&&(n===p.ghost||h(n,"display")==="none"||t&&!Yt(n,t));)n=n.previousElementSibling;return n||null}function X(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==p.clone&&(!t||Yt(e,t))&&n++;return n}function pe(e){var t=0,n=0,o=K();if(e)do{var i=ct(e),r=i.a,a=i.d;t+=e.scrollLeft*r,n+=e.scrollTop*a}while(e!==o&&(e=e.parentNode));return[t,n]}function He(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n)}return-1}function tt(e,t){if(!e||!e.getBoundingClientRect)return K();var n=e,o=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=h(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return K();if(o||t)return n;o=!0}}while(n=n.parentNode);return K()}function We(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function jt(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var Dt;function Se(e,t){return function(){if(!Dt){var n=arguments,o=this;n.length===1?e.call(o,n[0]):e.apply(o,n),Dt=setTimeout(function(){Dt=void 0},t)}}}function Ke(){clearTimeout(Dt),Dt=void 0}function _e(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Ce(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function Oe(e,t,n){var o={};return Array.from(e.children).forEach(function(i){var r,a,l,s;if(!(!H(i,t.draggable,e,!1)||i.animated||i===n)){var u=O(i);o.left=Math.min((r=o.left)!==null&&r!==void 0?r:1/0,u.left),o.top=Math.min((a=o.top)!==null&&a!==void 0?a:1/0,u.top),o.right=Math.max((l=o.right)!==null&&l!==void 0?l:-1/0,u.right),o.bottom=Math.max((s=o.bottom)!==null&&s!==void 0?s:-1/0,u.bottom)}}),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var P="Sortable"+new Date().getTime();function Le(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var o=[].slice.call(this.el.children);o.forEach(function(i){if(!(h(i,"display")==="none"||i===p.ghost)){e.push({target:i,rect:O(i)});var r=L({},e[e.length-1].rect);if(i.thisAnimationDuration){var a=ct(i,!0);a&&(r.top-=a.f,r.left-=a.e)}i.fromRect=r}})}},addAnimationState:function(o){e.push(o)},removeAnimationState:function(o){e.splice(He(e,{target:o}),1)},animateAll:function(o){var i=this;if(!this.options.animation){clearTimeout(t),typeof o=="function"&&o();return}var r=!1,a=0;e.forEach(function(l){var s=0,u=l.target,d=u.fromRect,c=O(u),b=u.prevFromRect,E=u.prevToRect,w=l.rect,y=ct(u,!0);y&&(c.top-=y.f,c.left-=y.e),u.toRect=c,u.thisAnimationDuration&&jt(b,c)&&!jt(d,c)&&(w.top-c.top)/(w.left-c.left)===(d.top-c.top)/(d.left-c.left)&&(s=ze(w,b,E,i.options)),jt(c,d)||(u.prevFromRect=d,u.prevToRect=c,s||(s=i.options.animation),i.animate(u,w,c,s)),s&&(r=!0,a=Math.max(a,s),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},s),u.thisAnimationDuration=s)}),clearTimeout(t),r?t=setTimeout(function(){typeof o=="function"&&o()},a):typeof o=="function"&&o(),e=[]},animate:function(o,i,r,a){if(a){h(o,"transition",""),h(o,"transform","");var l=ct(this.el),s=l&&l.a,u=l&&l.d,d=(i.left-r.left)/(s||1),c=(i.top-r.top)/(u||1);o.animatingX=!!d,o.animatingY=!!c,h(o,"transform","translate3d("+d+"px,"+c+"px,0)"),this.forRepaintDummy=je(o),h(o,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),h(o,"transform","translate3d(0,0,0)"),typeof o.animated=="number"&&clearTimeout(o.animated),o.animated=setTimeout(function(){h(o,"transition",""),h(o,"transform",""),o.animated=!1,o.animatingX=!1,o.animatingY=!1},a)}}}}function je(e){return e.offsetWidth}function ze(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}var lt=[],zt={initializeByDefault:!0},Tt={mount:function(t){for(var n in zt)zt.hasOwnProperty(n)&&!(n in t)&&(t[n]=zt[n]);lt.forEach(function(o){if(o.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),lt.push(t)},pluginEvent:function(t,n,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var r=t+"Global";lt.forEach(function(a){n[a.pluginName]&&(n[a.pluginName][r]&&n[a.pluginName][r](L({sortable:n},o)),n.options[a.pluginName]&&n[a.pluginName][t]&&n[a.pluginName][t](L({sortable:n},o)))})},initializePlugins:function(t,n,o,i){lt.forEach(function(l){var s=l.pluginName;if(!(!t.options[s]&&!l.initializeByDefault)){var u=new l(t,n,t.options);u.sortable=t,u.options=t.options,t[s]=u,$(o,u.defaults)}});for(var r in t.options)if(t.options.hasOwnProperty(r)){var a=this.modifyOption(t,r,t.options[r]);typeof a<"u"&&(t.options[r]=a)}},getEventProperties:function(t,n){var o={};return lt.forEach(function(i){typeof i.eventProperties=="function"&&$(o,i.eventProperties.call(n[i.pluginName],t))}),o},modifyOption:function(t,n,o){var i;return lt.forEach(function(r){t[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[n]=="function"&&(i=r.optionListeners[n].call(t[r.pluginName],o))}),i}};function Ue(e){var t=e.sortable,n=e.rootEl,o=e.name,i=e.targetEl,r=e.cloneEl,a=e.toEl,l=e.fromEl,s=e.oldIndex,u=e.newIndex,d=e.oldDraggableIndex,c=e.newDraggableIndex,b=e.originalEvent,E=e.putSortable,w=e.extraEventProperties;if(t=t||n&&n[P],!!t){var y,Y=t.options,j="on"+o.charAt(0).toUpperCase()+o.substr(1);window.CustomEvent&&!q&&!Ot?y=new CustomEvent(o,{bubbles:!0,cancelable:!0}):(y=document.createEvent("Event"),y.initEvent(o,!0,!0)),y.to=a||n,y.from=l||n,y.item=i||n,y.clone=r,y.oldIndex=s,y.newIndex=u,y.oldDraggableIndex=d,y.newDraggableIndex=c,y.originalEvent=b,y.pullMode=E?E.lastPutMode:void 0;var I=L(L({},w),Tt.getEventProperties(o,t));for(var B in I)y[B]=I[B];n&&n.dispatchEvent(y),Y[j]&&Y[j].call(t,y)}}var $e=["evt"],N=function(t,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=o.evt,r=Be(o,$e);Tt.pluginEvent.bind(p)(t,n,L({dragEl:f,parentEl:_,ghostEl:g,rootEl:D,nextEl:at,lastDownEl:Ft,cloneEl:S,cloneHidden:J,dragStarted:bt,putSortable:T,activeSortable:p.active,originalEvent:i,oldIndex:ft,oldDraggableIndex:St,newIndex:k,newDraggableIndex:Q,hideGhostForTarget:xe,unhideGhostForTarget:Ne,cloneNowHidden:function(){J=!0},cloneNowShown:function(){J=!1},dispatchSortableEvent:function(l){x({sortable:n,name:l,originalEvent:i})}},r))};function x(e){Ue(L({putSortable:T,cloneEl:S,targetEl:f,rootEl:D,oldIndex:ft,oldDraggableIndex:St,newIndex:k,newDraggableIndex:Q},e))}var f,_,g,D,at,Ft,S,J,ft,k,St,Q,It,T,ut=!1,Bt=!1,Gt=[],it,G,Ut,$t,ge,me,bt,st,_t,Ct=!1,xt=!1,Rt,A,qt=[],te=!1,Ht=[],Kt=typeof document<"u",Nt=ie,ve=Ot||q?"cssFloat":"float",qe=Kt&&!we&&!ie&&"draggable"in document.createElement("div"),Te=function(){if(Kt){if(q)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Ae=function(t,n){var o=h(t),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),r=dt(t,0,n),a=dt(t,1,n),l=r&&h(r),s=a&&h(a),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+O(r).width,d=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+O(a).width;if(o.display==="flex")return o.flexDirection==="column"||o.flexDirection==="column-reverse"?"vertical":"horizontal";if(o.display==="grid")return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&l.float&&l.float!=="none"){var c=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===c)?"vertical":"horizontal"}return r&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=i&&o[ve]==="none"||a&&o[ve]==="none"&&u+d>i)?"vertical":"horizontal"},Ve=function(t,n,o){var i=o?t.left:t.top,r=o?t.right:t.bottom,a=o?t.width:t.height,l=o?n.left:n.top,s=o?n.right:n.bottom,u=o?n.width:n.height;return i===l||r===s||i+a/2===l+u/2},Ze=function(t,n){var o;return Gt.some(function(i){var r=i[P].options.emptyInsertThreshold;if(!(!r||re(i))){var a=O(i),l=t>=a.left-r&&t<=a.right+r,s=n>=a.top-r&&n<=a.bottom+r;if(l&&s)return o=i}}),o},Ie=function(t){function n(r,a){return function(l,s,u,d){var c=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(r==null&&(a||c))return!0;if(r==null||r===!1)return!1;if(a&&r==="clone")return r;if(typeof r=="function")return n(r(l,s,u,d),a)(l,s,u,d);var b=(a?l:s).options.group.name;return r===!0||typeof r=="string"&&r===b||r.join&&r.indexOf(b)>-1}}var o={},i=t.group;(!i||Mt(i)!="object")&&(i={name:i}),o.name=i.name,o.checkPull=n(i.pull,!0),o.checkPut=n(i.put),o.revertClone=i.revertClone,t.group=o},xe=function(){!Te&&g&&h(g,"display","none")},Ne=function(){!Te&&g&&h(g,"display","")};Kt&&!we&&document.addEventListener("click",function(e){if(Bt)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Bt=!1,!1},!0);var rt=function(t){if(f){t=t.touches?t.touches[0]:t;var n=Ze(t.clientX,t.clientY);if(n){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]=t[i]);o.target=o.rootEl=n,o.preventDefault=void 0,o.stopPropagation=void 0,n[P]._onDragOver(o)}}},Qe=function(t){f&&f.parentNode[P]._isOutsideThisEl(t.target)};function p(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=$({},t),e[P]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ae(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:p.supportPointer!==!1&&"PointerEvent"in window&&(!Et||ie),emptyInsertThreshold:5};Tt.initializePlugins(this,e,n);for(var o in n)!(o in t)&&(t[o]=n[o]);Ie(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:qe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Gt.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),$(this,Le())}p.prototype={constructor:p,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(st=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,f):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,o=this.el,i=this.options,r=i.preventOnFilter,a=t.type,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(l||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,d=i.filter;if(ln(o),!f&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&Et&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=H(s,i.draggable,o,!1),!(s&&s.animated)&&Ft!==s)){if(ft=X(s),St=X(s,i.draggable),typeof d=="function"){if(d.call(this,t,s,this)){x({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:o,fromEl:o}),N("filter",n,{evt:t}),r&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(c){if(c=H(u,c.trim(),o,!1),c)return x({sortable:n,rootEl:c,name:"filter",targetEl:s,fromEl:o,toEl:o}),N("filter",n,{evt:t}),!0}),d)){r&&t.preventDefault();return}i.handle&&!H(u,i.handle,o,!1)||this._prepareDragStart(t,l,s)}}},_prepareDragStart:function(t,n,o){var i=this,r=i.el,a=i.options,l=r.ownerDocument,s;if(o&&!f&&o.parentNode===r){var u=O(o);if(D=r,f=o,_=f.parentNode,at=f.nextSibling,Ft=o,It=a.group,p.dragged=f,it={target:f,clientX:(n||t).clientX,clientY:(n||t).clientY},ge=it.clientX-u.left,me=it.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,f.style["will-change"]="all",s=function(){if(N("delayEnded",i,{evt:t}),p.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!ce&&i.nativeDraggable&&(f.draggable=!0),i._triggerDragStart(t,n),x({sortable:i,name:"choose",originalEvent:t}),R(f,a.chosenClass,!0)},a.ignore.split(",").forEach(function(d){De(f,d.trim(),Vt)}),v(l,"dragover",rt),v(l,"mousemove",rt),v(l,"touchmove",rt),a.supportPointer?(v(l,"pointerup",i._onDrop),!this.nativeDraggable&&v(l,"pointercancel",i._onDrop)):(v(l,"mouseup",i._onDrop),v(l,"touchend",i._onDrop),v(l,"touchcancel",i._onDrop)),ce&&this.nativeDraggable&&(this.options.touchStartThreshold=4,f.draggable=!0),N("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ot||q))){if(p.eventCanceled){this._onDrop();return}a.supportPointer?(v(l,"pointerup",i._disableDelayedDrag),v(l,"pointercancel",i._disableDelayedDrag)):(v(l,"mouseup",i._disableDelayedDrag),v(l,"touchend",i._disableDelayedDrag),v(l,"touchcancel",i._disableDelayedDrag)),v(l,"mousemove",i._delayedDragTouchMoveHandler),v(l,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&v(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){f&&Vt(f),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._disableDelayedDrag),m(t,"touchend",this._disableDelayedDrag),m(t,"touchcancel",this._disableDelayedDrag),m(t,"pointerup",this._disableDelayedDrag),m(t,"pointercancel",this._disableDelayedDrag),m(t,"mousemove",this._delayedDragTouchMoveHandler),m(t,"touchmove",this._delayedDragTouchMoveHandler),m(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):n?v(document,"touchmove",this._onTouchMove):v(document,"mousemove",this._onTouchMove):(v(f,"dragend",this),v(D,"dragstart",this._onDragStart));try{document.selection?kt(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(ut=!1,D&&f){N("dragStarted",this,{evt:n}),this.nativeDraggable&&v(document,"dragover",Qe);var o=this.options;!t&&R(f,o.dragClass,!1),R(f,o.ghostClass,!0),p.active=this,t&&this._appendGhost(),x({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(G){this._lastX=G.clientX,this._lastY=G.clientY,xe();for(var t=document.elementFromPoint(G.clientX,G.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(G.clientX,G.clientY),t!==n);)n=t;if(f.parentNode[P]._isOutsideThisEl(t),n)do{if(n[P]){var o=void 0;if(o=n[P]._onDragOver({clientX:G.clientX,clientY:G.clientY,target:t,rootEl:n}),o&&!this.options.dragoverBubble)break}t=n}while(n=Ee(n));Ne()}},_onTouchMove:function(t){if(it){var n=this.options,o=n.fallbackTolerance,i=n.fallbackOffset,r=t.touches?t.touches[0]:t,a=g&&ct(g,!0),l=g&&a&&a.a,s=g&&a&&a.d,u=Nt&&A&&pe(A),d=(r.clientX-it.clientX+i.x)/(l||1)+(u?u[0]-qt[0]:0)/(l||1),c=(r.clientY-it.clientY+i.y)/(s||1)+(u?u[1]-qt[1]:0)/(s||1);if(!p.active&&!ut){if(o&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<o)return;this._onDragStart(t,!0)}if(g){a?(a.e+=d-(Ut||0),a.f+=c-($t||0)):a={a:1,b:0,c:0,d:1,e:d,f:c};var b="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");h(g,"webkitTransform",b),h(g,"mozTransform",b),h(g,"msTransform",b),h(g,"transform",b),Ut=d,$t=c,G=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!g){var t=this.options.fallbackOnBody?document.body:D,n=O(f,!0,Nt,!0,t),o=this.options;if(Nt){for(A=t;h(A,"position")==="static"&&h(A,"transform")==="none"&&A!==document;)A=A.parentNode;A!==document.body&&A!==document.documentElement?(A===document&&(A=K()),n.top+=A.scrollTop,n.left+=A.scrollLeft):A=K(),qt=pe(A)}g=f.cloneNode(!0),R(g,o.ghostClass,!1),R(g,o.fallbackClass,!0),R(g,o.dragClass,!0),h(g,"transition",""),h(g,"transform",""),h(g,"box-sizing","border-box"),h(g,"margin",0),h(g,"top",n.top),h(g,"left",n.left),h(g,"width",n.width),h(g,"height",n.height),h(g,"opacity","0.8"),h(g,"position",Nt?"absolute":"fixed"),h(g,"zIndex","100000"),h(g,"pointerEvents","none"),p.ghost=g,t.appendChild(g),h(g,"transform-origin",ge/parseInt(g.style.width)*100+"% "+me/parseInt(g.style.height)*100+"%")}},_onDragStart:function(t,n){var o=this,i=t.dataTransfer,r=o.options;if(N("dragStart",this,{evt:t}),p.eventCanceled){this._onDrop();return}N("setupClone",this),p.eventCanceled||(S=Ce(f),S.removeAttribute("id"),S.draggable=!1,S.style["will-change"]="",this._hideClone(),R(S,this.options.chosenClass,!1),p.clone=S),o.cloneId=kt(function(){N("clone",o),!p.eventCanceled&&(o.options.removeCloneOnHide||D.insertBefore(S,f),o._hideClone(),x({sortable:o,name:"clone"}))}),!n&&R(f,r.dragClass,!0),n?(Bt=!0,o._loopId=setInterval(o._emulateDragOver,50)):(m(document,"mouseup",o._onDrop),m(document,"touchend",o._onDrop),m(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(o,i,f)),v(document,"drop",o),h(f,"transform","translateZ(0)")),ut=!0,o._dragStartId=kt(o._dragStarted.bind(o,n,t)),v(document,"selectstart",o),bt=!0,window.getSelection().removeAllRanges(),Et&&h(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,o=t.target,i,r,a,l=this.options,s=l.group,u=p.active,d=It===s,c=l.sort,b=T||u,E,w=this,y=!1;if(te)return;function Y(vt,Re){N(vt,w,L({evt:t,isOwner:d,axis:E?"vertical":"horizontal",revert:a,dragRect:i,targetRect:r,canSort:c,fromSortable:b,target:o,completed:I,onMove:function(ue,ke){return Pt(D,n,f,i,ue,O(ue),t,ke)},changed:B},Re))}function j(){Y("dragOverAnimationCapture"),w.captureAnimationState(),w!==b&&b.captureAnimationState()}function I(vt){return Y("dragOverCompleted",{insertion:vt}),vt&&(d?u._hideClone():u._showClone(w),w!==b&&(R(f,T?T.options.ghostClass:u.options.ghostClass,!1),R(f,l.ghostClass,!0)),T!==w&&w!==p.active?T=w:w===p.active&&T&&(T=null),b===w&&(w._ignoreWhileAnimating=o),w.animateAll(function(){Y("dragOverAnimationComplete"),w._ignoreWhileAnimating=null}),w!==b&&(b.animateAll(),b._ignoreWhileAnimating=null)),(o===f&&!f.animated||o===n&&!o.animated)&&(st=null),!l.dragoverBubble&&!t.rootEl&&o!==document&&(f.parentNode[P]._isOutsideThisEl(t.target),!vt&&rt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),y=!0}function B(){k=X(f),Q=X(f,l.draggable),x({sortable:w,name:"change",toEl:n,newIndex:k,newDraggableIndex:Q,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),o=H(o,l.draggable,n,!0),Y("dragOver"),p.eventCanceled)return y;if(f.contains(t.target)||o.animated&&o.animatingX&&o.animatingY||w._ignoreWhileAnimating===o)return I(!1);if(Bt=!1,u&&!l.disabled&&(d?c||(a=_!==D):T===this||(this.lastPutMode=It.checkPull(this,u,f,t))&&s.checkPut(this,u,f,t))){if(E=this._getDirection(t,o)==="vertical",i=O(f),Y("dragOverValid"),p.eventCanceled)return y;if(a)return _=D,j(),this._hideClone(),Y("revert"),p.eventCanceled||(at?D.insertBefore(f,at):D.appendChild(f)),I(!0);var M=re(n,l.draggable);if(!M||nn(t,E,this)&&!M.animated){if(M===f)return I(!1);if(M&&n===t.target&&(o=M),o&&(r=O(o)),Pt(D,n,f,i,o,r,t,!!o)!==!1)return j(),M&&M.nextSibling?n.insertBefore(f,M.nextSibling):n.appendChild(f),_=n,B(),I(!0)}else if(M&&en(t,E,this)){var et=dt(n,0,l,!0);if(et===f)return I(!1);if(o=et,r=O(o),Pt(D,n,f,i,o,r,t,!1)!==!1)return j(),n.insertBefore(f,et),_=n,B(),I(!0)}else if(o.parentNode===n){r=O(o);var W=0,nt,ht=f.parentNode!==n,F=!Ve(f.animated&&f.toRect||i,o.animated&&o.toRect||r,E),pt=E?"top":"left",V=he(o,"top","top")||he(f,"top","top"),gt=V?V.scrollTop:void 0;st!==o&&(nt=r[pt],Ct=!1,xt=!F&&l.invertSwap||ht),W=on(t,o,r,E,F?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,xt,st===o);var z;if(W!==0){var ot=X(f);do ot-=W,z=_.children[ot];while(z&&(h(z,"display")==="none"||z===g))}if(W===0||z===o)return I(!1);st=o,_t=W;var mt=o.nextElementSibling,Z=!1;Z=W===1;var At=Pt(D,n,f,i,o,r,t,Z);if(At!==!1)return(At===1||At===-1)&&(Z=At===1),te=!0,setTimeout(tn,30),j(),Z&&!mt?n.appendChild(f):o.parentNode.insertBefore(f,Z?mt:o),V&&_e(V,0,gt-V.scrollTop),_=f.parentNode,nt!==void 0&&!xt&&(Rt=Math.abs(nt-O(o)[pt])),B(),I(!0)}if(n.contains(f))return I(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){m(document,"mousemove",this._onTouchMove),m(document,"touchmove",this._onTouchMove),m(document,"pointermove",this._onTouchMove),m(document,"dragover",rt),m(document,"mousemove",rt),m(document,"touchmove",rt)},_offUpEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._onDrop),m(t,"touchend",this._onDrop),m(t,"pointerup",this._onDrop),m(t,"pointercancel",this._onDrop),m(t,"touchcancel",this._onDrop),m(document,"selectstart",this)},_onDrop:function(t){var n=this.el,o=this.options;if(k=X(f),Q=X(f,o.draggable),N("drop",this,{evt:t}),_=f&&f.parentNode,k=X(f),Q=X(f,o.draggable),p.eventCanceled){this._nulling();return}ut=!1,xt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ee(this.cloneId),ee(this._dragStartId),this.nativeDraggable&&(m(document,"drop",this),m(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Et&&h(document.body,"user-select",""),h(f,"transform",""),t&&(bt&&(t.cancelable&&t.preventDefault(),!o.dropBubble&&t.stopPropagation()),g&&g.parentNode&&g.parentNode.removeChild(g),(D===_||T&&T.lastPutMode!=="clone")&&S&&S.parentNode&&S.parentNode.removeChild(S),f&&(this.nativeDraggable&&m(f,"dragend",this),Vt(f),f.style["will-change"]="",bt&&!ut&&R(f,T?T.options.ghostClass:this.options.ghostClass,!1),R(f,this.options.chosenClass,!1),x({sortable:this,name:"unchoose",toEl:_,newIndex:null,newDraggableIndex:null,originalEvent:t}),D!==_?(k>=0&&(x({rootEl:_,name:"add",toEl:_,fromEl:D,originalEvent:t}),x({sortable:this,name:"remove",toEl:_,originalEvent:t}),x({rootEl:_,name:"sort",toEl:_,fromEl:D,originalEvent:t}),x({sortable:this,name:"sort",toEl:_,originalEvent:t})),T&&T.save()):k!==ft&&k>=0&&(x({sortable:this,name:"update",toEl:_,originalEvent:t}),x({sortable:this,name:"sort",toEl:_,originalEvent:t})),p.active&&((k==null||k===-1)&&(k=ft,Q=St),x({sortable:this,name:"end",toEl:_,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){N("nulling",this),D=f=_=g=at=S=Ft=J=it=G=bt=k=Q=ft=St=st=_t=T=It=p.dragged=p.ghost=p.clone=p.active=null,Ht.forEach(function(t){t.checked=!0}),Ht.length=Ut=$t=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":f&&(this._onDragOver(t),Je(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,o=this.el.children,i=0,r=o.length,a=this.options;i<r;i++)n=o[i],H(n,a.draggable,this.el,!1)&&t.push(n.getAttribute(a.dataIdAttr)||an(n));return t},sort:function(t,n){var o={},i=this.el;this.toArray().forEach(function(r,a){var l=i.children[a];H(l,this.options.draggable,i,!1)&&(o[r]=l)},this),n&&this.captureAnimationState(),t.forEach(function(r){o[r]&&(i.removeChild(o[r]),i.appendChild(o[r]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return H(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var o=this.options;if(n===void 0)return o[t];var i=Tt.modifyOption(this,t,n);typeof i<"u"?o[t]=i:o[t]=n,t==="group"&&Ie(o)},destroy:function(){N("destroy",this);var t=this.el;t[P]=null,m(t,"mousedown",this._onTapStart),m(t,"touchstart",this._onTapStart),m(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(m(t,"dragover",this),m(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Gt.splice(Gt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!J){if(N("hideClone",this),p.eventCanceled)return;h(S,"display","none"),this.options.removeCloneOnHide&&S.parentNode&&S.parentNode.removeChild(S),J=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(J){if(N("showClone",this),p.eventCanceled)return;f.parentNode==D&&!this.options.group.revertClone?D.insertBefore(S,f):at?D.insertBefore(S,at):D.appendChild(S),this.options.group.revertClone&&this.animate(f,S),h(S,"display",""),J=!1}}};function Je(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Pt(e,t,n,o,i,r,a,l){var s,u=e[P],d=u.options.onMove,c;return window.CustomEvent&&!q&&!Ot?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=i||t,s.relatedRect=r||O(t),s.willInsertAfter=l,s.originalEvent=a,e.dispatchEvent(s),d&&(c=d.call(u,s,a)),c}function Vt(e){e.draggable=!1}function tn(){te=!1}function en(e,t,n){var o=O(dt(n.el,0,n.options,!0)),i=Oe(n.el,n.options,g),r=10;return t?e.clientX<i.left-r||e.clientY<o.top&&e.clientX<o.right:e.clientY<i.top-r||e.clientY<o.bottom&&e.clientX<o.left}function nn(e,t,n){var o=O(re(n.el,n.options.draggable)),i=Oe(n.el,n.options,g),r=10;return t?e.clientX>i.right+r||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>i.bottom+r||e.clientX>o.right&&e.clientY>o.top}function on(e,t,n,o,i,r,a,l){var s=o?e.clientY:e.clientX,u=o?n.height:n.width,d=o?n.top:n.left,c=o?n.bottom:n.right,b=!1;if(!a){if(l&&Rt<u*i){if(!Ct&&(_t===1?s>d+u*r/2:s<c-u*r/2)&&(Ct=!0),Ct)b=!0;else if(_t===1?s<d+Rt:s>c-Rt)return-_t}else if(s>d+u*(1-i)/2&&s<c-u*(1-i)/2)return rn(t)}return b=b||a,b&&(s<d+u*r/2||s>c-u*r/2)?s>d+u/2?1:-1:0}function rn(e){return X(f)<X(e)?1:-1}function an(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function ln(e){Ht.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var o=t[n];o.checked&&Ht.push(o)}}function kt(e){return setTimeout(e,0)}function ee(e){return clearTimeout(e)}Kt&&v(document,"touchmove",function(e){(p.active||ut)&&e.cancelable&&e.preventDefault()});p.utils={on:v,off:m,css:h,find:De,is:function(t,n){return!!H(t,n,t,!1)},extend:We,throttle:Se,closest:H,toggleClass:R,clone:Ce,index:X,nextTick:kt,cancelNextTick:ee,detectDirection:Ae,getChild:dt,expando:P};p.get=function(e){return e[P]};p.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(o){if(!o.prototype||!o.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));o.utils&&(p.utils=L(L({},p.utils),o.utils)),Tt.mount(o)})};p.create=function(e,t){return new p(e,t)};p.version=Ge;var C=[],wt,ne,oe=!1,Zt,Qt,Wt,yt;function sn(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var o=n.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):o.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var o=n.originalEvent;!this.options.dragOverBubble&&!o.rootEl&&this._handleAutoScroll(o)},drop:function(){this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):(m(document,"pointermove",this._handleFallbackAutoScroll),m(document,"touchmove",this._handleFallbackAutoScroll),m(document,"mousemove",this._handleFallbackAutoScroll)),be(),Xt(),Ke()},nulling:function(){Wt=ne=wt=oe=yt=Zt=Qt=null,C.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,o){var i=this,r=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,l=document.elementFromPoint(r,a);if(Wt=n,o||this.options.forceAutoScrollFallback||Ot||q||Et){Jt(n,this.options,l,o);var s=tt(l,!0);oe&&(!yt||r!==Zt||a!==Qt)&&(yt&&be(),yt=setInterval(function(){var u=tt(document.elementFromPoint(r,a),!0);u!==s&&(s=u,Xt()),Jt(n,i.options,u,o)},10),Zt=r,Qt=a)}else{if(!this.options.bubbleScroll||tt(l,!0)===K()){Xt();return}Jt(n,this.options,tt(l,!1),!1)}}},$(e,{pluginName:"scroll",initializeByDefault:!0})}function Xt(){C.forEach(function(e){clearInterval(e.pid)}),C=[]}function be(){clearInterval(yt)}var Jt=Se(function(e,t,n,o){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,l=t.scrollSpeed,s=K(),u=!1,d;ne!==n&&(ne=n,Xt(),wt=t.scroll,d=t.scrollFn,wt===!0&&(wt=tt(n,!0)));var c=0,b=wt;do{var E=b,w=O(E),y=w.top,Y=w.bottom,j=w.left,I=w.right,B=w.width,M=w.height,et=void 0,W=void 0,nt=E.scrollWidth,ht=E.scrollHeight,F=h(E),pt=E.scrollLeft,V=E.scrollTop;E===s?(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"||F.overflowX==="visible"),W=M<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"||F.overflowY==="visible")):(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"),W=M<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"));var gt=et&&(Math.abs(I-i)<=a&&pt+B<nt)-(Math.abs(j-i)<=a&&!!pt),z=W&&(Math.abs(Y-r)<=a&&V+M<ht)-(Math.abs(y-r)<=a&&!!V);if(!C[c])for(var ot=0;ot<=c;ot++)C[ot]||(C[ot]={});(C[c].vx!=gt||C[c].vy!=z||C[c].el!==E)&&(C[c].el=E,C[c].vx=gt,C[c].vy=z,clearInterval(C[c].pid),(gt!=0||z!=0)&&(u=!0,C[c].pid=setInterval(function(){o&&this.layer===0&&p.active._onTouchMove(Wt);var mt=C[this.layer].vy?C[this.layer].vy*l:0,Z=C[this.layer].vx?C[this.layer].vx*l:0;typeof d=="function"&&d.call(p.dragged.parentNode[P],Z,mt,e,Wt,C[this.layer].el)!=="continue"||_e(C[this.layer].el,Z,mt)}.bind({layer:c}),24))),c++}while(t.bubbleScroll&&b!==s&&(b=tt(b,!1)));oe=u}},30),Pe=function(t){var n=t.originalEvent,o=t.putSortable,i=t.dragEl,r=t.activeSortable,a=t.dispatchSortableEvent,l=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(n){var u=o||r;l();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,c=document.elementFromPoint(d.clientX,d.clientY);s(),u&&!u.el.contains(c)&&(a("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function ae(){}ae.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,o=t.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=dt(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(n,i):this.sortable.el.appendChild(n),this.sortable.animateAll(),o&&o.animateAll()},drop:Pe};$(ae,{pluginName:"revertOnSpill"});function le(){}le.prototype={onSpill:function(t){var n=t.dragEl,o=t.putSortable,i=o||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:Pe};$(le,{pluginName:"removeOnSpill"});p.mount(new sn);p.mount(le,ae);var Me=p;var Lt=new Set,un={ghostClass:"calcite-sortable--ghost",chosenClass:"calcite-sortable--chosen",dragClass:"calcite-sortable--drag",fallbackClass:"calcite-sortable--fallback"};function mn(e){if(Fe(e))return;fn(e),Lt.add(e);let t="id",{group:n,handleSelector:o,dragSelector:i}=e;e.sortable=Me.create(e.el,{dataIdAttr:t,...un,...!!i&&{draggable:i},...!!n&&{group:{name:n,...!!e.canPull&&{pull:(r,a,l,{newDraggableIndex:s,oldDraggableIndex:u})=>e.canPull({toEl:r.el,fromEl:a.el,dragEl:l,newIndex:s,oldIndex:u})},...!!e.canPut&&{put:(r,a,l,{newDraggableIndex:s,oldDraggableIndex:u})=>e.canPut({toEl:r.el,fromEl:a.el,dragEl:l,newIndex:s,oldIndex:u})}}},onMove:({from:r,dragged:a,to:l,related:s})=>{e.onDragMove&&e.onDragMove({fromEl:r,dragEl:a,toEl:l,relatedEl:s})},handle:o,filter:`${o}[disabled]`,onStart:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{se.active=!0,cn(),e.onDragStart({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})},onEnd:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{se.active=!1,dn(),e.onDragEnd({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})},onSort:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{e.onDragSort({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})}})}function fn(e){Fe(e)||(Lt.delete(e),e.sortable?.destroy(),e.sortable=null)}var se={active:!1};function Fe(e){return e.dragEnabled&&se.active}function cn(){Array.from(Lt).forEach(e=>e.onGlobalDragStart())}function dn(){Array.from(Lt).forEach(e=>e.onGlobalDragEnd())}export{mn as a,fn as b};
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.0-next.39 */
3
+ v3.2.0-next.40 */
4
4
 
5
5
  Bundled license information:
6
6
 
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.0-next.39 */
4
- import{e as m,i as d}from"./J5XEWZHE.js";import"./LLN5DNPL.js";import{a as n}from"./R3CUJDU2.js";import{A as t,K as r,e as l,g as a,x as s,y as e,z as c}from"./MZMZSY5A.js";var i={list:"list",label:"label",title:"title"},g=l`.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit: .5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit: .75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit: 1rem}:host,.list{margin:0;display:flex;flex-direction:column;padding:0}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%}.title{--calcite-combobox-item-indent-value: calc( var(--calcite-combobox-item-spacing-unit) * var(--calcite-combobox-item-spacing-indent-multiplier) );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);word-wrap:break-word;word-break:break-word;padding:var(--calcite-combobox-item-spacing-unit);margin-inline-start:var(--calcite-combobox-item-indent-value);color:var(--calcite-combobox-item-group-text-color, var(--calcite-color-text-2));border-block-end-color:var(--calcite-combobox-item-group-border-color, var(--calcite-color-border-3))}::slotted(calcite-combobox-item-group:not([after-empty-group])){padding-block-start:var(--calcite-combobox-item-spacing-unit)}:host([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`,o=class extends s{constructor(){super(...arguments),this.guid=n(),this.afterEmptyGroup=!1,this.scale="m",this.itemHidden=!1}static{this.properties={afterEmptyGroup:[7,{reflect:!0,type:Boolean}],ancestors:[0,{attribute:!1}],label:1,scale:1,itemHidden:[7,{reflect:!0,type:Boolean}]}}static{this.styles=g}connectedCallback(){super.connectedCallback(),this.ancestors=m(this.el)}render(){let{el:p,scale:b}=this,u=d(p);return a`<ul aria-labelledby=${this.guid??t} class=${e({[i.list]:!0,[`scale--${b}`]:!0})} role=group><li class=${e({[i.label]:!0})} id=${this.guid??t} role=presentation style=${c({"--calcite-combobox-item-spacing-indent-multiplier":`${u}`})}><span class=${e(i.title)}>${this.label}</span></li><slot></slot></ul>`}};r("calcite-combobox-item-group",o);export{o as ComboboxItemGroup};
3
+ v3.2.0-next.40 */
4
+ import{e as m,i as d}from"./LUAE2BNR.js";import"./4JEZM6VX.js";import{a as n}from"./6DCGXB5R.js";import{A as t,K as r,e as l,g as a,x as s,y as e,z as c}from"./EYWRTO2E.js";var i={list:"list",label:"label",title:"title"},g=l`.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit: .5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit: .75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit: 1rem}:host,.list{margin:0;display:flex;flex-direction:column;padding:0}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%}.title{--calcite-combobox-item-indent-value: calc( var(--calcite-combobox-item-spacing-unit) * var(--calcite-combobox-item-spacing-indent-multiplier) );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);word-wrap:break-word;word-break:break-word;padding:var(--calcite-combobox-item-spacing-unit);margin-inline-start:var(--calcite-combobox-item-indent-value);color:var(--calcite-combobox-item-group-text-color, var(--calcite-color-text-2));border-block-end-color:var(--calcite-combobox-item-group-border-color, var(--calcite-color-border-3))}::slotted(calcite-combobox-item-group:not([after-empty-group])){padding-block-start:var(--calcite-combobox-item-spacing-unit)}:host([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`,o=class extends s{constructor(){super(...arguments),this.guid=n(),this.afterEmptyGroup=!1,this.scale="m",this.itemHidden=!1}static{this.properties={afterEmptyGroup:[7,{reflect:!0,type:Boolean}],ancestors:[0,{attribute:!1}],label:1,scale:1,itemHidden:[7,{reflect:!0,type:Boolean}]}}static{this.styles=g}connectedCallback(){super.connectedCallback(),this.ancestors=m(this.el)}render(){let{el:p,scale:b}=this,u=d(p);return a`<ul aria-labelledby=${this.guid??t} class=${e({[i.list]:!0,[`scale--${b}`]:!0})} role=group><li class=${e({[i.label]:!0})} id=${this.guid??t} role=presentation style=${c({"--calcite-combobox-item-spacing-indent-multiplier":`${u}`})}><span class=${e(i.title)}>${this.label}</span></li><slot></slot></ul>`}};r("calcite-combobox-item-group",o);export{o as ComboboxItemGroup};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.0-next.39 */
4
- import{a as l}from"./GZUOSY5I.js";import{v as d}from"./LLN5DNPL.js";import{a as h}from"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{K as c,e as n,g as o,x as s,y as a}from"./MZMZSY5A.js";var p={actionBarContainer:"action-bar-container",content:"content"},m={actionBar:"action-bar"},f=n`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{z-index:var(--calcite-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:.5rem;margin-block:.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:.25rem;border-width:0px;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}`,i=class extends s{constructor(){super(...arguments),this.detached=!1,this.heightScale="s",this.position="end"}static{this.properties={actionBar:[16,{state:!0}],detached:[7,{reflect:!0,type:Boolean}],heightScale:[3,{reflect:!0}],position:[3,{reflect:!0}]}}static{this.styles=f}load(){h.deprecated("component",{name:"shell-center-row",removalVersion:4,suggested:"shell-panel"})}loaded(){this.actionBar?.position==="end"&&this.requestUpdate()}handleActionBarSlotChange(t){this.actionBar=d(t).filter(e=>e.matches("calcite-action-bar"))[0]}render(){let{actionBar:t}=this,e=o`<div class=${a(p.content)}><slot></slot></div>`,r=[l("action-bar",o`<div class=${a(p.actionBarContainer)} .hidden=${!this.actionBar}><slot name=${m.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`),e];return t?.position==="end"&&r.reverse(),r}};c("calcite-shell-center-row",i);export{i as ShellCenterRow};
3
+ v3.2.0-next.40 */
4
+ import{a as l}from"./PNGIMH3C.js";import{v as d}from"./4JEZM6VX.js";import{a as h}from"./PB3OJ43M.js";import"./6DCGXB5R.js";import{K as c,e as n,g as o,x as s,y as a}from"./EYWRTO2E.js";var p={actionBarContainer:"action-bar-container",content:"content"},m={actionBar:"action-bar"},f=n`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{z-index:var(--calcite-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:.5rem;margin-block:.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:.25rem;border-width:0px;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}`,i=class extends s{constructor(){super(...arguments),this.detached=!1,this.heightScale="s",this.position="end"}static{this.properties={actionBar:[16,{state:!0}],detached:[7,{reflect:!0,type:Boolean}],heightScale:[3,{reflect:!0}],position:[3,{reflect:!0}]}}static{this.styles=f}load(){h.deprecated("component",{name:"shell-center-row",removalVersion:4,suggested:"shell-panel"})}loaded(){this.actionBar?.position==="end"&&this.requestUpdate()}handleActionBarSlotChange(t){this.actionBar=d(t).filter(e=>e.matches("calcite-action-bar"))[0]}render(){let{actionBar:t}=this,e=o`<div class=${a(p.content)}><slot></slot></div>`,r=[l("action-bar",o`<div class=${a(p.actionBarContainer)} .hidden=${!this.actionBar}><slot name=${m.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`),e];return t?.position==="end"&&r.reverse(),r}};c("calcite-shell-center-row",i);export{i as ShellCenterRow};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.0-next.39 */
3
+ v3.2.0-next.40 */
4
4
  var Cr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Rr(F){return F&&F.__esModule&&Object.prototype.hasOwnProperty.call(F,"default")?F.default:F}var Xe={exports:{}};Xe.exports;(function(F,Fr){(function(Ye,ie){F.exports=ie()})(Cr,function(){function Ye(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function ie(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Ye(Object(n),!0).forEach(function(r){xn(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ye(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function ee(t){return ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(t)}function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ht(r.key),r)}}function D(t,e,n){return e&&bn(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function xn(t,e,n){return(e=ht(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Le(t,e)}function H(t){return H=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},H(t)}function Le(t,e){return Le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Le(t,e)}function be(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ae(t){var e=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var n,r=H(t);if(e){var i=H(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(o,a){if(a&&(typeof a=="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return be(o)}(this,n)}}function xe(){return xe=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(o,a){for(;!Object.prototype.hasOwnProperty.call(o,a)&&(o=H(o))!==null;);return o}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}},xe.apply(this,arguments)}function ht(t){var e=function(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var o=i.call(n,r);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(t,"string");return typeof e=="symbol"?e:e+""}var gt=function(t){return!(!t||!t.Window)&&t instanceof t.Window},mt=void 0,K=void 0;function yt(t){mt=t;var e=t.document.createTextNode("");e.ownerDocument!==t.document&&typeof t.wrap=="function"&&t.wrap(e)===e&&(t=t.wrap(t)),K=t}function X(t){return gt(t)?t:(t.ownerDocument||t).defaultView||K.window}typeof window<"u"&&window&&yt(window);var we=function(t){return!!t&&ee(t)==="object"},bt=function(t){return typeof t=="function"},d={window:function(t){return t===K||gt(t)},docFrag:function(t){return we(t)&&t.nodeType===11},object:we,func:bt,number:function(t){return typeof t=="number"},bool:function(t){return typeof t=="boolean"},string:function(t){return typeof t=="string"},element:function(t){if(!t||ee(t)!=="object")return!1;var e=X(t)||K;return/object|function/.test(typeof Element>"u"?"undefined":ee(Element))?t instanceof Element||t instanceof e.Element:t.nodeType===1&&typeof t.nodeName=="string"},plainObject:function(t){return we(t)&&!!t.constructor&&/function Object\b/.test(t.constructor.toString())},array:function(t){return we(t)&&t.length!==void 0&&bt(t.splice)}};function qe(t){var e=t.interaction;if(e.prepared.name==="drag"){var n=e.prepared.axis;n==="x"?(e.coords.cur.page.y=e.coords.start.page.y,e.coords.cur.client.y=e.coords.start.client.y,e.coords.velocity.client.y=0,e.coords.velocity.page.y=0):n==="y"&&(e.coords.cur.page.x=e.coords.start.page.x,e.coords.cur.client.x=e.coords.start.client.x,e.coords.velocity.client.x=0,e.coords.velocity.page.x=0)}}function xt(t){var e=t.iEvent,n=t.interaction;if(n.prepared.name==="drag"){var r=n.prepared.axis;if(r==="x"||r==="y"){var i=r==="x"?"y":"x";e.page[i]=n.coords.start.page[i],e.client[i]=n.coords.start.client[i],e.delta[i]=0}}}var Ee={id:"actions/drag",install:function(t){var e=t.actions,n=t.Interactable,r=t.defaults;n.prototype.draggable=Ee.draggable,e.map.drag=Ee,e.methodDict.drag="draggable",r.actions.drag=Ee.defaults},listeners:{"interactions:before-action-move":qe,"interactions:action-resume":qe,"interactions:action-move":xt,"auto-start:check":function(t){var e=t.interaction,n=t.interactable,r=t.buttons,i=n.options.drag;if(i&&i.enabled&&(!e.pointerIsDown||!/mouse|pointer/.test(e.pointerType)||r&n.options.drag.mouseButtons))return t.action={name:"drag",axis:i.lockAxis==="start"?i.startAxis:i.lockAxis},!1}},draggable:function(t){return d.object(t)?(this.options.drag.enabled=t.enabled!==!1,this.setPerAction("drag",t),this.setOnEvents("drag",t),/^(xy|x|y|start)$/.test(t.lockAxis)&&(this.options.drag.lockAxis=t.lockAxis),/^(xy|x|y)$/.test(t.startAxis)&&(this.options.drag.startAxis=t.startAxis),this):d.bool(t)?(this.options.drag.enabled=t,this):this.options.drag},beforeMove:qe,move:xt,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(t){return t.search("drag")===0}},wt=Ee,A={init:function(t){var e=t;A.document=e.document,A.DocumentFragment=e.DocumentFragment||te,A.SVGElement=e.SVGElement||te,A.SVGSVGElement=e.SVGSVGElement||te,A.SVGElementInstance=e.SVGElementInstance||te,A.Element=e.Element||te,A.HTMLElement=e.HTMLElement||A.Element,A.Event=e.Event,A.Touch=e.Touch||te,A.PointerEvent=e.PointerEvent||e.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function te(){}var O=A,C={init:function(t){var e=O.Element,n=t.navigator||{};C.supportsTouch="ontouchstart"in t||d.func(t.DocumentTouch)&&O.document instanceof t.DocumentTouch,C.supportsPointerEvent=n.pointerEnabled!==!1&&!!O.PointerEvent,C.isIOS=/iP(hone|od|ad)/.test(n.platform),C.isIOS7=/iP(hone|od|ad)/.test(n.platform)&&/OS 7[^\d]/.test(n.appVersion),C.isIe9=/MSIE 9/.test(n.userAgent),C.isOperaMobile=n.appName==="Opera"&&C.supportsTouch&&/Presto/.test(n.userAgent),C.prefixedMatchesSelector="matches"in e.prototype?"matches":"webkitMatchesSelector"in e.prototype?"webkitMatchesSelector":"mozMatchesSelector"in e.prototype?"mozMatchesSelector":"oMatchesSelector"in e.prototype?"oMatchesSelector":"msMatchesSelector",C.pEventTypes=C.supportsPointerEvent?O.PointerEvent===t.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,C.wheelEvent=O.document&&"onmousewheel"in O.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},R=C;function $(t,e){if(t.contains)return t.contains(e);for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function Et(t,e){for(;d.element(t);){if(V(t,e))return t;t=Y(t)}return null}function Y(t){var e=t.parentNode;if(d.docFrag(e)){for(;(e=e.host)&&d.docFrag(e););return e}return e}function V(t,e){return K!==mt&&(e=e.replace(/\/deep\//g," ")),t[R.prefixedMatchesSelector](e)}var Be=function(t){return t.parentNode||t.host};function Tt(t,e){for(var n,r=[],i=t;(n=Be(i))&&i!==e&&n!==i.ownerDocument;)r.unshift(i),i=n;return r}function Ve(t,e,n){for(;d.element(t);){if(V(t,e))return!0;if((t=Y(t))===n)return V(t,e)}return!1}function St(t){return t.correspondingUseElement||t}function We(t){var e=t instanceof O.SVGElement?t.getBoundingClientRect():t.getClientRects()[0];return e&&{left:e.left,right:e.right,top:e.top,bottom:e.bottom,width:e.width||e.right-e.left,height:e.height||e.bottom-e.top}}function Ge(t){var e,n=We(t);if(!R.isIOS7&&n){var r={x:(e=(e=X(t))||K).scrollX||e.document.documentElement.scrollLeft,y:e.scrollY||e.document.documentElement.scrollTop};n.left+=r.x,n.right+=r.x,n.top+=r.y,n.bottom+=r.y}return n}function _t(t){for(var e=[];t;)e.push(t),t=Y(t);return e}function Pt(t){return!!d.string(t)&&(O.document.querySelector(t),!0)}function x(t,e){for(var n in e)t[n]=e[n];return t}function Ot(t,e,n){return t==="parent"?Y(n):t==="self"?e.getRect(n):Et(n,t)}function se(t,e,n,r){var i=t;return d.string(i)?i=Ot(i,e,n):d.func(i)&&(i=i.apply(void 0,r)),d.element(i)&&(i=Ge(i)),i}function Te(t){return t&&{x:"x"in t?t.x:t.left,y:"y"in t?t.y:t.top}}function Ne(t){return!t||"x"in t&&"y"in t||((t=x({},t)).x=t.left||0,t.y=t.top||0,t.width=t.width||(t.right||0)-t.x,t.height=t.height||(t.bottom||0)-t.y),t}function Se(t,e,n){t.left&&(e.left+=n.x),t.right&&(e.right+=n.x),t.top&&(e.top+=n.y),t.bottom&&(e.bottom+=n.y),e.width=e.right-e.left,e.height=e.bottom-e.top}function ce(t,e,n){var r=n&&t.options[n];return Te(se(r&&r.origin||t.options.origin,t,e,[t&&e]))||{x:0,y:0}}function J(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(c){return!0},r=arguments.length>3?arguments[3]:void 0;if(r=r||{},d.string(t)&&t.search(" ")!==-1&&(t=kt(t)),d.array(t))return t.forEach(function(c){return J(c,e,n,r)}),r;if(d.object(t)&&(e=t,t=""),d.func(e)&&n(t))r[t]=r[t]||[],r[t].push(e);else if(d.array(e))for(var i=0,o=e;i<o.length;i++){var a=o[i];J(t,a,n,r)}else if(d.object(e))for(var s in e)J(kt(s).map(function(c){return"".concat(t).concat(c)}),e[s],n,r);return r}function kt(t){return t.trim().split(/ +/)}var le=function(t,e){return Math.sqrt(t*t+e*e)},wn=["webkit","moz"];function _e(t,e){t.__set||(t.__set={});var n=function(i){if(wn.some(function(o){return i.indexOf(o)===0}))return 1;typeof t[i]!="function"&&i!=="__set"&&Object.defineProperty(t,i,{get:function(){return i in t.__set?t.__set[i]:t.__set[i]=e[i]},set:function(o){t.__set[i]=o},configurable:!0})};for(var r in e)n(r);return t}function Pe(t,e){t.page=t.page||{},t.page.x=e.page.x,t.page.y=e.page.y,t.client=t.client||{},t.client.x=e.client.x,t.client.y=e.client.y,t.timeStamp=e.timeStamp}function Dt(t){t.page.x=0,t.page.y=0,t.client.x=0,t.client.y=0}function It(t){return t instanceof O.Event||t instanceof O.Touch}function Oe(t,e,n){return t=t||"page",(n=n||{}).x=e[t+"X"],n.y=e[t+"Y"],n}function Mt(t,e){return e=e||{x:0,y:0},R.isOperaMobile&&It(t)?(Oe("screen",t,e),e.x+=window.scrollX,e.y+=window.scrollY):Oe("page",t,e),e}function ue(t){return d.number(t.pointerId)?t.pointerId:t.identifier}function En(t,e,n){var r=e.length>1?zt(e):e[0];Mt(r,t.page),function(i,o){o=o||{},R.isOperaMobile&&It(i)?Oe("screen",i,o):Oe("client",i,o)}(r,t.client),t.timeStamp=n}function Ue(t){var e=[];return d.array(t)?(e[0]=t[0],e[1]=t[1]):t.type==="touchend"?t.touches.length===1?(e[0]=t.touches[0],e[1]=t.changedTouches[0]):t.touches.length===0&&(e[0]=t.changedTouches[0],e[1]=t.changedTouches[1]):(e[0]=t.touches[0],e[1]=t.touches[1]),e}function zt(t){for(var e={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},n=0;n<t.length;n++){var r=t[n];for(var i in e)e[i]+=r[i]}for(var o in e)e[o]/=t.length;return e}function He(t){if(!t.length)return null;var e=Ue(t),n=Math.min(e[0].pageX,e[1].pageX),r=Math.min(e[0].pageY,e[1].pageY),i=Math.max(e[0].pageX,e[1].pageX),o=Math.max(e[0].pageY,e[1].pageY);return{x:n,y:r,left:n,top:r,right:i,bottom:o,width:i-n,height:o-r}}function Ke(t,e){var n=e+"X",r=e+"Y",i=Ue(t),o=i[0][n]-i[1][n],a=i[0][r]-i[1][r];return le(o,a)}function $e(t,e){var n=e+"X",r=e+"Y",i=Ue(t),o=i[1][n]-i[0][n],a=i[1][r]-i[0][r];return 180*Math.atan2(a,o)/Math.PI}function At(t){return d.string(t.pointerType)?t.pointerType:d.number(t.pointerType)?[void 0,void 0,"touch","pen","mouse"][t.pointerType]:/touch/.test(t.type||"")||t instanceof O.Touch?"touch":"mouse"}function Ct(t){var e=d.func(t.composedPath)?t.composedPath():t.path;return[St(e?e[0]:t.target),St(t.currentTarget)]}var ke=function(){function t(e){k(this,t),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=e}return D(t,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),t}();Object.defineProperty(ke.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var Rt=function(t,e){for(var n=0;n<e.length;n++){var r=e[n];t.push(r)}return t},jt=function(t){return Rt([],t)},pe=function(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n,t))return n;return-1},fe=function(t,e){return t[pe(t,e)]},ne=function(t){oe(n,t);var e=ae(n);function n(r,i,o){var a;k(this,n),(a=e.call(this,i._interaction)).dropzone=void 0,a.dragEvent=void 0,a.relatedTarget=void 0,a.draggable=void 0,a.propagationStopped=!1,a.immediatePropagationStopped=!1;var s=o==="dragleave"?r.prev:r.cur,c=s.element,u=s.dropzone;return a.type=o,a.target=c,a.currentTarget=c,a.dropzone=u,a.dragEvent=i,a.relatedTarget=i.target,a.draggable=i.interactable,a.timeStamp=i.timeStamp,a}return D(n,[{key:"reject",value:function(){var r=this,i=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&i.cur.dropzone===this.dropzone&&i.cur.element===this.target)if(i.prev.dropzone=this.dropzone,i.prev.element=this.target,i.rejected=!0,i.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var o=i.activeDrops,a=pe(o,function(c){var u=c.dropzone,l=c.element;return u===r.dropzone&&l===r.target});i.activeDrops.splice(a,1);var s=new n(i,this.dragEvent,"dropdeactivate");s.dropzone=this.dropzone,s.target=this.target,this.dropzone.fire(s)}else this.dropzone.fire(new n(i,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),n}(ke);function Ft(t,e){for(var n=0,r=t.slice();n<r.length;n++){var i=r[n],o=i.dropzone,a=i.element;e.dropzone=o,e.target=a,o.fire(e),e.propagationStopped=e.immediatePropagationStopped=!1}}function Je(t,e){for(var n=function(o,a){for(var s=[],c=0,u=o.interactables.list;c<u.length;c++){var l=u[c];if(l.options.drop.enabled){var p=l.options.drop.accept;if(!(d.element(p)&&p!==a||d.string(p)&&!V(a,p)||d.func(p)&&!p({dropzone:l,draggableElement:a})))for(var f=0,h=l.getAllElements();f<h.length;f++){var v=h[f];v!==a&&s.push({dropzone:l,element:v,rect:l.getRect(v)})}}}return s}(t,e),r=0;r<n.length;r++){var i=n[r];i.rect=i.dropzone.getRect(i.element)}return n}function Xt(t,e,n){for(var r=t.dropState,i=t.interactable,o=t.element,a=[],s=0,c=r.activeDrops;s<c.length;s++){var u=c[s],l=u.dropzone,p=u.element,f=u.rect,h=l.dropCheck(e,n,i,o,p,f);a.push(h?p:null)}var v=function(g){for(var y,m,b,T=[],_=0;_<g.length;_++){var w=g[_],S=g[y];if(w&&_!==y)if(S){var M=Be(w),P=Be(S);if(M!==w.ownerDocument)if(P!==w.ownerDocument)if(M!==P){T=T.length?T:Tt(S);var z=void 0;if(S instanceof O.HTMLElement&&w instanceof O.SVGElement&&!(w instanceof O.SVGSVGElement)){if(w===P)continue;z=w.ownerSVGElement}else z=w;for(var j=Tt(z,S.ownerDocument),B=0;j[B]&&j[B]===T[B];)B++;var Fe=[j[B-1],j[B],T[B]];if(Fe[0])for(var ye=Fe[0].lastChild;ye;){if(ye===Fe[1]){y=_,T=j;break}if(ye===Fe[2])break;ye=ye.previousSibling}}else b=S,(parseInt(X(m=w).getComputedStyle(m).zIndex,10)||0)>=(parseInt(X(b).getComputedStyle(b).zIndex,10)||0)&&(y=_);else y=_}else y=_}return y}(a);return r.activeDrops[v]||null}function Qe(t,e,n){var r=t.dropState,i={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return n.type==="dragstart"&&(i.activate=new ne(r,n,"dropactivate"),i.activate.target=null,i.activate.dropzone=null),n.type==="dragend"&&(i.deactivate=new ne(r,n,"dropdeactivate"),i.deactivate.target=null,i.deactivate.dropzone=null),r.rejected||(r.cur.element!==r.prev.element&&(r.prev.dropzone&&(i.leave=new ne(r,n,"dragleave"),n.dragLeave=i.leave.target=r.prev.element,n.prevDropzone=i.leave.dropzone=r.prev.dropzone),r.cur.dropzone&&(i.enter=new ne(r,n,"dragenter"),n.dragEnter=r.cur.element,n.dropzone=r.cur.dropzone)),n.type==="dragend"&&r.cur.dropzone&&(i.drop=new ne(r,n,"drop"),n.dropzone=r.cur.dropzone,n.relatedTarget=r.cur.element),n.type==="dragmove"&&r.cur.dropzone&&(i.move=new ne(r,n,"dropmove"),n.dropzone=r.cur.dropzone)),i}function Ze(t,e){var n=t.dropState,r=n.activeDrops,i=n.cur,o=n.prev;e.leave&&o.dropzone.fire(e.leave),e.enter&&i.dropzone.fire(e.enter),e.move&&i.dropzone.fire(e.move),e.drop&&i.dropzone.fire(e.drop),e.deactivate&&Ft(r,e.deactivate),n.prev.dropzone=i.dropzone,n.prev.element=i.element}function Yt(t,e){var n=t.interaction,r=t.iEvent,i=t.event;if(r.type==="dragmove"||r.type==="dragend"){var o=n.dropState;e.dynamicDrop&&(o.activeDrops=Je(e,n.element));var a=r,s=Xt(n,a,i);o.rejected=o.rejected&&!!s&&s.dropzone===o.cur.dropzone&&s.element===o.cur.element,o.cur.dropzone=s&&s.dropzone,o.cur.element=s&&s.element,o.events=Qe(n,0,a)}}var Lt={id:"actions/drop",install:function(t){var e=t.actions,n=t.interactStatic,r=t.Interactable,i=t.defaults;t.usePlugin(wt),r.prototype.dropzone=function(o){return function(a,s){if(d.object(s)){if(a.options.drop.enabled=s.enabled!==!1,s.listeners){var c=J(s.listeners),u=Object.keys(c).reduce(function(p,f){return p[/^(enter|leave)/.test(f)?"drag".concat(f):/^(activate|deactivate|move)/.test(f)?"drop".concat(f):f]=c[f],p},{}),l=a.options.drop.listeners;l&&a.off(l),a.on(u),a.options.drop.listeners=u}return d.func(s.ondrop)&&a.on("drop",s.ondrop),d.func(s.ondropactivate)&&a.on("dropactivate",s.ondropactivate),d.func(s.ondropdeactivate)&&a.on("dropdeactivate",s.ondropdeactivate),d.func(s.ondragenter)&&a.on("dragenter",s.ondragenter),d.func(s.ondragleave)&&a.on("dragleave",s.ondragleave),d.func(s.ondropmove)&&a.on("dropmove",s.ondropmove),/^(pointer|center)$/.test(s.overlap)?a.options.drop.overlap=s.overlap:d.number(s.overlap)&&(a.options.drop.overlap=Math.max(Math.min(1,s.overlap),0)),"accept"in s&&(a.options.drop.accept=s.accept),"checker"in s&&(a.options.drop.checker=s.checker),a}return d.bool(s)?(a.options.drop.enabled=s,a):a.options.drop}(this,o)},r.prototype.dropCheck=function(o,a,s,c,u,l){return function(p,f,h,v,g,y,m){var b=!1;if(!(m=m||p.getRect(y)))return!!p.options.drop.checker&&p.options.drop.checker(f,h,b,p,y,v,g);var T=p.options.drop.overlap;if(T==="pointer"){var _=ce(v,g,"drag"),w=Mt(f);w.x+=_.x,w.y+=_.y;var S=w.x>m.left&&w.x<m.right,M=w.y>m.top&&w.y<m.bottom;b=S&&M}var P=v.getRect(g);if(P&&T==="center"){var z=P.left+P.width/2,j=P.top+P.height/2;b=z>=m.left&&z<=m.right&&j>=m.top&&j<=m.bottom}return P&&d.number(T)&&(b=Math.max(0,Math.min(m.right,P.right)-Math.max(m.left,P.left))*Math.max(0,Math.min(m.bottom,P.bottom)-Math.max(m.top,P.top))/(P.width*P.height)>=T),p.options.drop.checker&&(b=p.options.drop.checker(f,h,b,p,y,v,g)),b}(this,o,a,s,c,u,l)},n.dynamicDrop=function(o){return d.bool(o)?(t.dynamicDrop=o,n):t.dynamicDrop},x(e.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),e.methodDict.drop="dropzone",t.dynamicDrop=!1,i.actions.drop=Lt.defaults},listeners:{"interactions:before-action-start":function(t){var e=t.interaction;e.prepared.name==="drag"&&(e.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(t,e){var n=t.interaction,r=(t.event,t.iEvent);if(n.prepared.name==="drag"){var i=n.dropState;i.activeDrops=[],i.events={},i.activeDrops=Je(e,n.element),i.events=Qe(n,0,r),i.events.activate&&(Ft(i.activeDrops,i.events.activate),e.fire("actions/drop:start",{interaction:n,dragEvent:r}))}},"interactions:action-move":Yt,"interactions:after-action-move":function(t,e){var n=t.interaction,r=t.iEvent;if(n.prepared.name==="drag"){var i=n.dropState;Ze(n,i.events),e.fire("actions/drop:move",{interaction:n,dragEvent:r}),i.events={}}},"interactions:action-end":function(t,e){if(t.interaction.prepared.name==="drag"){var n=t.interaction,r=t.iEvent;Yt(t,e),Ze(n,n.dropState.events),e.fire("actions/drop:end",{interaction:n,dragEvent:r})}},"interactions:stop":function(t){var e=t.interaction;if(e.prepared.name==="drag"){var n=e.dropState;n&&(n.activeDrops=null,n.events=null,n.cur.dropzone=null,n.cur.element=null,n.prev.dropzone=null,n.prev.element=null,n.rejected=!1)}}},getActiveDrops:Je,getDrop:Xt,getDropEvents:Qe,fireDropEvents:Ze,filterEventType:function(t){return t.search("drag")===0||t.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},Tn=Lt;function et(t){var e=t.interaction,n=t.iEvent,r=t.phase;if(e.prepared.name==="gesture"){var i=e.pointers.map(function(u){return u.pointer}),o=r==="start",a=r==="end",s=e.interactable.options.deltaSource;if(n.touches=[i[0],i[1]],o)n.distance=Ke(i,s),n.box=He(i),n.scale=1,n.ds=0,n.angle=$e(i,s),n.da=0,e.gesture.startDistance=n.distance,e.gesture.startAngle=n.angle;else if(a||e.pointers.length<2){var c=e.prevEvent;n.distance=c.distance,n.box=c.box,n.scale=c.scale,n.ds=0,n.angle=c.angle,n.da=0}else n.distance=Ke(i,s),n.box=He(i),n.scale=n.distance/e.gesture.startDistance,n.angle=$e(i,s),n.ds=n.scale-e.gesture.scale,n.da=n.angle-e.gesture.angle;e.gesture.distance=n.distance,e.gesture.angle=n.angle,d.number(n.scale)&&n.scale!==1/0&&!isNaN(n.scale)&&(e.gesture.scale=n.scale)}}var tt={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(t){var e=t.actions,n=t.Interactable,r=t.defaults;n.prototype.gesturable=function(i){return d.object(i)?(this.options.gesture.enabled=i.enabled!==!1,this.setPerAction("gesture",i),this.setOnEvents("gesture",i),this):d.bool(i)?(this.options.gesture.enabled=i,this):this.options.gesture},e.map.gesture=tt,e.methodDict.gesture="gesturable",r.actions.gesture=tt.defaults},listeners:{"interactions:action-start":et,"interactions:action-move":et,"interactions:action-end":et,"interactions:new":function(t){t.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(t){if(!(t.interaction.pointers.length<2)){var e=t.interactable.options.gesture;if(e&&e.enabled)return t.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(t){return t.search("gesture")===0}},Sn=tt;function _n(t,e,n,r,i,o,a){if(!e)return!1;if(e===!0){var s=d.number(o.width)?o.width:o.right-o.left,c=d.number(o.height)?o.height:o.bottom-o.top;if(a=Math.min(a,Math.abs((t==="left"||t==="right"?s:c)/2)),s<0&&(t==="left"?t="right":t==="right"&&(t="left")),c<0&&(t==="top"?t="bottom":t==="bottom"&&(t="top")),t==="left"){var u=s>=0?o.left:o.right;return n.x<u+a}if(t==="top"){var l=c>=0?o.top:o.bottom;return n.y<l+a}if(t==="right")return n.x>(s>=0?o.right:o.left)-a;if(t==="bottom")return n.y>(c>=0?o.bottom:o.top)-a}return!!d.element(r)&&(d.element(e)?e===r:Ve(r,e,i))}function qt(t){var e=t.iEvent,n=t.interaction;if(n.prepared.name==="resize"&&n.resizeAxes){var r=e;n.interactable.options.resize.square?(n.resizeAxes==="y"?r.delta.x=r.delta.y:r.delta.y=r.delta.x,r.axes="xy"):(r.axes=n.resizeAxes,n.resizeAxes==="x"?r.delta.y=0:n.resizeAxes==="y"&&(r.delta.x=0))}}var L,Q,q={id:"actions/resize",before:["actions/drag"],install:function(t){var e=t.actions,n=t.browser,r=t.Interactable,i=t.defaults;q.cursors=function(o){return o.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(n),q.defaultMargin=n.supportsTouch||n.supportsPointerEvent?20:10,r.prototype.resizable=function(o){return function(a,s,c){return d.object(s)?(a.options.resize.enabled=s.enabled!==!1,a.setPerAction("resize",s),a.setOnEvents("resize",s),d.string(s.axis)&&/^x$|^y$|^xy$/.test(s.axis)?a.options.resize.axis=s.axis:s.axis===null&&(a.options.resize.axis=c.defaults.actions.resize.axis),d.bool(s.preserveAspectRatio)?a.options.resize.preserveAspectRatio=s.preserveAspectRatio:d.bool(s.square)&&(a.options.resize.square=s.square),a):d.bool(s)?(a.options.resize.enabled=s,a):a.options.resize}(this,o,t)},e.map.resize=q,e.methodDict.resize="resizable",i.actions.resize=q.defaults},listeners:{"interactions:new":function(t){t.interaction.resizeAxes="xy"},"interactions:action-start":function(t){(function(e){var n=e.iEvent,r=e.interaction;if(r.prepared.name==="resize"&&r.prepared.edges){var i=n,o=r.rect;r._rects={start:x({},o),corrected:x({},o),previous:x({},o),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},i.edges=r.prepared.edges,i.rect=r._rects.corrected,i.deltaRect=r._rects.delta}})(t),qt(t)},"interactions:action-move":function(t){(function(e){var n=e.iEvent,r=e.interaction;if(r.prepared.name==="resize"&&r.prepared.edges){var i=n,o=r.interactable.options.resize.invert,a=o==="reposition"||o==="negate",s=r.rect,c=r._rects,u=c.start,l=c.corrected,p=c.delta,f=c.previous;if(x(f,l),a){if(x(l,s),o==="reposition"){if(l.top>l.bottom){var h=l.top;l.top=l.bottom,l.bottom=h}if(l.left>l.right){var v=l.left;l.left=l.right,l.right=v}}}else l.top=Math.min(s.top,u.bottom),l.bottom=Math.max(s.bottom,u.top),l.left=Math.min(s.left,u.right),l.right=Math.max(s.right,u.left);for(var g in l.width=l.right-l.left,l.height=l.bottom-l.top,l)p[g]=l[g]-f[g];i.edges=r.prepared.edges,i.rect=l,i.deltaRect=p}})(t),qt(t)},"interactions:action-end":function(t){var e=t.iEvent,n=t.interaction;if(n.prepared.name==="resize"&&n.prepared.edges){var r=e;r.edges=n.prepared.edges,r.rect=n._rects.corrected,r.deltaRect=n._rects.delta}},"auto-start:check":function(t){var e=t.interaction,n=t.interactable,r=t.element,i=t.rect,o=t.buttons;if(i){var a=x({},e.coords.cur.page),s=n.options.resize;if(s&&s.enabled&&(!e.pointerIsDown||!/mouse|pointer/.test(e.pointerType)||o&s.mouseButtons)){if(d.object(s.edges)){var c={left:!1,right:!1,top:!1,bottom:!1};for(var u in c)c[u]=_n(u,s.edges[u],a,e._latestPointer.eventTarget,r,i,s.margin||q.defaultMargin);c.left=c.left&&!c.right,c.top=c.top&&!c.bottom,(c.left||c.right||c.top||c.bottom)&&(t.action={name:"resize",edges:c})}else{var l=s.axis!=="y"&&a.x>i.right-q.defaultMargin,p=s.axis!=="x"&&a.y>i.bottom-q.defaultMargin;(l||p)&&(t.action={name:"resize",axes:(l?"x":"")+(p?"y":"")})}return!t.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(t){var e=t.edges,n=t.axis,r=t.name,i=q.cursors,o=null;if(n)o=i[r+n];else if(e){for(var a="",s=0,c=["top","bottom","left","right"];s<c.length;s++){var u=c[s];e[u]&&(a+=u)}o=i[a]}return o},filterEventType:function(t){return t.search("resize")===0},defaultMargin:null},Pn=q,On={id:"actions",install:function(t){t.usePlugin(Sn),t.usePlugin(Pn),t.usePlugin(wt),t.usePlugin(Tn)}},Bt=0,W={request:function(t){return L(t)},cancel:function(t){return Q(t)},init:function(t){if(L=t.requestAnimationFrame,Q=t.cancelAnimationFrame,!L)for(var e=["ms","moz","webkit","o"],n=0;n<e.length;n++){var r=e[n];L=t["".concat(r,"RequestAnimationFrame")],Q=t["".concat(r,"CancelAnimationFrame")]||t["".concat(r,"CancelRequestAnimationFrame")]}L=L&&L.bind(t),Q=Q&&Q.bind(t),L||(L=function(i){var o=Date.now(),a=Math.max(0,16-(o-Bt)),s=t.setTimeout(function(){i(o+a)},a);return Bt=o+a,s},Q=function(i){return clearTimeout(i)})}},E={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(t){E.isScrolling=!0,W.cancel(E.i),t.autoScroll=E,E.interaction=t,E.prevTime=E.now(),E.i=W.request(E.scroll)},stop:function(){E.isScrolling=!1,E.interaction&&(E.interaction.autoScroll=null),W.cancel(E.i)},scroll:function(){var t=E.interaction,e=t.interactable,n=t.element,r=t.prepared.name,i=e.options[r].autoScroll,o=Vt(i.container,e,n),a=E.now(),s=(a-E.prevTime)/1e3,c=i.speed*s;if(c>=1){var u={x:E.x*c,y:E.y*c};if(u.x||u.y){var l=Wt(o);d.window(o)?o.scrollBy(u.x,u.y):o&&(o.scrollLeft+=u.x,o.scrollTop+=u.y);var p=Wt(o),f={x:p.x-l.x,y:p.y-l.y};(f.x||f.y)&&e.fire({type:"autoscroll",target:n,interactable:e,delta:f,interaction:t,container:o})}E.prevTime=a}E.isScrolling&&(W.cancel(E.i),E.i=W.request(E.scroll))},check:function(t,e){var n;return(n=t.options[e].autoScroll)==null?void 0:n.enabled},onInteractionMove:function(t){var e=t.interaction,n=t.pointer;if(e.interacting()&&E.check(e.interactable,e.prepared.name))if(e.simulation)E.x=E.y=0;else{var r,i,o,a,s=e.interactable,c=e.element,u=e.prepared.name,l=s.options[u].autoScroll,p=Vt(l.container,s,c);if(d.window(p))a=n.clientX<E.margin,r=n.clientY<E.margin,i=n.clientX>p.innerWidth-E.margin,o=n.clientY>p.innerHeight-E.margin;else{var f=We(p);a=n.clientX<f.left+E.margin,r=n.clientY<f.top+E.margin,i=n.clientX>f.right-E.margin,o=n.clientY>f.bottom-E.margin}E.x=i?1:a?-1:0,E.y=o?1:r?-1:0,E.isScrolling||(E.margin=l.margin,E.speed=l.speed,E.start(e))}}};function Vt(t,e,n){return(d.string(t)?Ot(t,e,n):t)||X(n)}function Wt(t){return d.window(t)&&(t=window.document.body),{x:t.scrollLeft,y:t.scrollTop}}var kn={id:"auto-scroll",install:function(t){var e=t.defaults,n=t.actions;t.autoScroll=E,E.now=function(){return t.now()},n.phaselessTypes.autoscroll=!0,e.perAction.autoScroll=E.defaults},listeners:{"interactions:new":function(t){t.interaction.autoScroll=null},"interactions:destroy":function(t){t.interaction.autoScroll=null,E.stop(),E.interaction&&(E.interaction=null)},"interactions:stop":E.stop,"interactions:action-move":function(t){return E.onInteractionMove(t)}}},Dn=kn;function de(t,e){var n=!1;return function(){return n||(K.console.warn(e),n=!0),t.apply(this,arguments)}}function nt(t,e){return t.name=e.name,t.axis=e.axis,t.edges=e.edges,t}function In(t){return d.bool(t)?(this.options.styleCursor=t,this):t===null?(delete this.options.styleCursor,this):this.options.styleCursor}function Mn(t){return d.func(t)?(this.options.actionChecker=t,this):t===null?(delete this.options.actionChecker,this):this.options.actionChecker}var zn={id:"auto-start/interactableMethods",install:function(t){var e=t.Interactable;e.prototype.getAction=function(n,r,i,o){var a=function(s,c,u,l,p){var f=s.getRect(l),h=c.buttons||{0:1,1:4,3:8,4:16}[c.button],v={action:null,interactable:s,interaction:u,element:l,rect:f,buttons:h};return p.fire("auto-start:check",v),v.action}(this,r,i,o,t);return this.options.actionChecker?this.options.actionChecker(n,r,a,this,o,i):a},e.prototype.ignoreFrom=de(function(n){return this._backCompatOption("ignoreFrom",n)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),e.prototype.allowFrom=de(function(n){return this._backCompatOption("allowFrom",n)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),e.prototype.actionChecker=Mn,e.prototype.styleCursor=In}};function Gt(t,e,n,r,i){return e.testIgnoreAllow(e.options[t.name],n,r)&&e.options[t.name].enabled&&De(e,n,t,i)?t:null}function An(t,e,n,r,i,o,a){for(var s=0,c=r.length;s<c;s++){var u=r[s],l=i[s],p=u.getAction(e,n,t,l);if(p){var f=Gt(p,u,l,o,a);if(f)return{action:f,interactable:u,element:l}}}return{action:null,interactable:null,element:null}}function Nt(t,e,n,r,i){var o=[],a=[],s=r;function c(l){o.push(l),a.push(s)}for(;d.element(s);){o=[],a=[],i.interactables.forEachMatch(s,c);var u=An(t,e,n,o,a,r,i);if(u.action&&!u.interactable.options[u.action.name].manualStart)return u;s=Y(s)}return{action:null,interactable:null,element:null}}function Ut(t,e,n){var r=e.action,i=e.interactable,o=e.element;r=r||{name:null},t.interactable=i,t.element=o,nt(t.prepared,r),t.rect=i&&r.name?i.getRect(o):null,Kt(t,n),n.fire("autoStart:prepared",{interaction:t})}function De(t,e,n,r){var i=t.options,o=i[n.name].max,a=i[n.name].maxPerElement,s=r.autoStart.maxInteractions,c=0,u=0,l=0;if(!(o&&a&&s))return!1;for(var p=0,f=r.interactions.list;p<f.length;p++){var h=f[p],v=h.prepared.name;if(h.interacting()&&(++c>=s||h.interactable===t&&((u+=v===n.name?1:0)>=o||h.element===e&&(l++,v===n.name&&l>=a))))return!1}return s>0}function Ht(t,e){return d.number(t)?(e.autoStart.maxInteractions=t,this):e.autoStart.maxInteractions}function rt(t,e,n){var r=n.autoStart.cursorElement;r&&r!==t&&(r.style.cursor=""),t.ownerDocument.documentElement.style.cursor=e,t.style.cursor=e,n.autoStart.cursorElement=e?t:null}function Kt(t,e){var n=t.interactable,r=t.element,i=t.prepared;if(t.pointerType==="mouse"&&n&&n.options.styleCursor){var o="";if(i.name){var a=n.options[i.name].cursorChecker;o=d.func(a)?a(i,n,r,t._interacting):e.actions.map[i.name].getCursor(i)}rt(t.element,o||"",e)}else e.autoStart.cursorElement&&rt(e.autoStart.cursorElement,"",e)}var Cn={id:"auto-start/base",before:["actions"],install:function(t){var e=t.interactStatic,n=t.defaults;t.usePlugin(zn),n.base.actionChecker=null,n.base.styleCursor=!0,x(n.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),e.maxInteractions=function(r){return Ht(r,t)},t.autoStart={maxInteractions:1/0,withinInteractionLimit:De,cursorElement:null}},listeners:{"interactions:down":function(t,e){var n=t.interaction,r=t.pointer,i=t.event,o=t.eventTarget;n.interacting()||Ut(n,Nt(n,r,i,o,e),e)},"interactions:move":function(t,e){(function(n,r){var i=n.interaction,o=n.pointer,a=n.event,s=n.eventTarget;i.pointerType!=="mouse"||i.pointerIsDown||i.interacting()||Ut(i,Nt(i,o,a,s,r),r)})(t,e),function(n,r){var i=n.interaction;if(i.pointerIsDown&&!i.interacting()&&i.pointerWasMoved&&i.prepared.name){r.fire("autoStart:before-start",n);var o=i.interactable,a=i.prepared.name;a&&o&&(o.options[a].manualStart||!De(o,i.element,i.prepared,r)?i.stop():(i.start(i.prepared,o,i.element),Kt(i,r)))}}(t,e)},"interactions:stop":function(t,e){var n=t.interaction,r=n.interactable;r&&r.options.styleCursor&&rt(n.element,"",e)}},maxInteractions:Ht,withinInteractionLimit:De,validateAction:Gt},it=Cn,Rn={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(t,e){var n=t.interaction,r=t.eventTarget,i=t.dx,o=t.dy;if(n.prepared.name==="drag"){var a=Math.abs(i),s=Math.abs(o),c=n.interactable.options.drag,u=c.startAxis,l=a>s?"x":a<s?"y":"xy";if(n.prepared.axis=c.lockAxis==="start"?l[0]:c.lockAxis,l!=="xy"&&u!=="xy"&&u!==l){n.prepared.name=null;for(var p=r,f=function(v){if(v!==n.interactable){var g=n.interactable.options.drag;if(!g.manualStart&&v.testIgnoreAllow(g,p,r)){var y=v.getAction(n.downPointer,n.downEvent,n,p);if(y&&y.name==="drag"&&function(m,b){if(!b)return!1;var T=b.options.drag.startAxis;return m==="xy"||T==="xy"||T===m}(l,v)&&it.validateAction(y,v,p,r,e))return v}}};d.element(p);){var h=e.interactables.forEachMatch(p,f);if(h){n.prepared.name="drag",n.interactable=h,n.element=p;break}p=Y(p)}}}}}};function ot(t){var e=t.prepared&&t.prepared.name;if(!e)return null;var n=t.interactable.options;return n[e].hold||n[e].delay}var jn={id:"auto-start/hold",install:function(t){var e=t.defaults;t.usePlugin(it),e.perAction.hold=0,e.perAction.delay=0},listeners:{"interactions:new":function(t){t.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(t){var e=t.interaction,n=ot(e);n>0&&(e.autoStartHoldTimer=setTimeout(function(){e.start(e.prepared,e.interactable,e.element)},n))},"interactions:move":function(t){var e=t.interaction,n=t.duplicate;e.autoStartHoldTimer&&e.pointerWasMoved&&!n&&(clearTimeout(e.autoStartHoldTimer),e.autoStartHoldTimer=null)},"autoStart:before-start":function(t){var e=t.interaction;ot(e)>0&&(e.prepared.name=null)}},getHoldDuration:ot},Fn=jn,Xn={id:"auto-start",install:function(t){t.usePlugin(it),t.usePlugin(Fn),t.usePlugin(Rn)}},Yn=function(t){return/^(always|never|auto)$/.test(t)?(this.options.preventDefault=t,this):d.bool(t)?(this.options.preventDefault=t?"always":"never",this):this.options.preventDefault};function Ln(t){var e=t.interaction,n=t.event;e.interactable&&e.interactable.checkAndPreventDefault(n)}var $t={id:"core/interactablePreventDefault",install:function(t){var e=t.Interactable;e.prototype.preventDefault=Yn,e.prototype.checkAndPreventDefault=function(n){return function(r,i,o){var a=r.options.preventDefault;if(a!=="never")if(a!=="always"){if(i.events.supportsPassive&&/^touch(start|move)$/.test(o.type)){var s=X(o.target).document,c=i.getDocOptions(s);if(!c||!c.events||c.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(o.type)||d.element(o.target)&&V(o.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||o.preventDefault()}else o.preventDefault()}(this,t,n)},t.interactions.docEvents.push({type:"dragstart",listener:function(n){for(var r=0,i=t.interactions.list;r<i.length;r++){var o=i[r];if(o.element&&(o.element===n.target||$(o.element,n.target)))return void o.interactable.checkAndPreventDefault(n)}}})},listeners:["down","move","up","cancel"].reduce(function(t,e){return t["interactions:".concat(e)]=Ln,t},{})};function Ie(t,e){if(e.phaselessTypes[t])return!0;for(var n in e.map)if(t.indexOf(n)===0&&t.substr(n.length)in e.phases)return!0;return!1}function re(t){var e={};for(var n in t){var r=t[n];d.plainObject(r)?e[n]=re(r):d.array(r)?e[n]=jt(r):e[n]=r}return e}var at=function(){function t(e){k(this,t),this.states=[],this.startOffset={left:0,right:0,top:0,bottom:0},this.startDelta=void 0,this.result=void 0,this.endResult=void 0,this.startEdges=void 0,this.edges=void 0,this.interaction=void 0,this.interaction=e,this.result=Me(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return D(t,[{key:"start",value:function(e,n){var r,i,o=e.phase,a=this.interaction,s=function(u){var l=u.interactable.options[u.prepared.name],p=l.modifiers;return p&&p.length?p:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(f){var h=l[f];return h&&h.enabled&&{options:h,methods:h._methods}}).filter(function(f){return!!f})}(a);this.prepareStates(s),this.startEdges=x({},a.edges),this.edges=x({},this.startEdges),this.startOffset=(r=a.rect,i=n,r?{left:i.x-r.left,top:i.y-r.top,right:r.right-i.x,bottom:r.bottom-i.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var c=this.fillArg({phase:o,pageCoords:n,preEnd:!1});return this.result=Me(),this.startAll(c),this.result=this.setAll(c)}},{key:"fillArg",value:function(e){var n=this.interaction;return e.interaction=n,e.interactable=n.interactable,e.element=n.element,e.rect||(e.rect=n.rect),e.edges||(e.edges=this.startEdges),e.startOffset=this.startOffset,e}},{key:"startAll",value:function(e){for(var n=0,r=this.states;n<r.length;n++){var i=r[n];i.methods.start&&(e.state=i,i.methods.start(e))}}},{key:"setAll",value:function(e){var n=e.phase,r=e.preEnd,i=e.skipModifiers,o=e.rect,a=e.edges;e.coords=x({},e.pageCoords),e.rect=x({},o),e.edges=x({},a);for(var s=i?this.states.slice(i):this.states,c=Me(e.coords,e.rect),u=0;u<s.length;u++){var l,p=s[u],f=p.options,h=x({},e.coords),v=null;(l=p.methods)!=null&&l.set&&this.shouldDo(f,r,n)&&(e.state=p,v=p.methods.set(e),Se(e.edges,e.rect,{x:e.coords.x-h.x,y:e.coords.y-h.y})),c.eventProps.push(v)}x(this.edges,e.edges),c.delta.x=e.coords.x-e.pageCoords.x,c.delta.y=e.coords.y-e.pageCoords.y,c.rectDelta.left=e.rect.left-o.left,c.rectDelta.right=e.rect.right-o.right,c.rectDelta.top=e.rect.top-o.top,c.rectDelta.bottom=e.rect.bottom-o.bottom;var g=this.result.coords,y=this.result.rect;if(g&&y){var m=c.rect.left!==y.left||c.rect.right!==y.right||c.rect.top!==y.top||c.rect.bottom!==y.bottom;c.changed=m||g.x!==c.coords.x||g.y!==c.coords.y}return c}},{key:"applyToInteraction",value:function(e){var n=this.interaction,r=e.phase,i=n.coords.cur,o=n.coords.start,a=this.result,s=this.startDelta,c=a.delta;r==="start"&&x(this.startDelta,a.delta);for(var u=0,l=[[o,s],[i,c]];u<l.length;u++){var p=l[u],f=p[0],h=p[1];f.page.x+=h.x,f.page.y+=h.y,f.client.x+=h.x,f.client.y+=h.y}var v=this.result.rectDelta,g=e.rect||n.rect;g.left+=v.left,g.right+=v.right,g.top+=v.top,g.bottom+=v.bottom,g.width=g.right-g.left,g.height=g.bottom-g.top}},{key:"setAndApply",value:function(e){var n=this.interaction,r=e.phase,i=e.preEnd,o=e.skipModifiers,a=this.setAll(this.fillArg({preEnd:i,phase:r,pageCoords:e.modifiedCoords||n.coords.cur.page}));if(this.result=a,!a.changed&&(!o||o<this.states.length)&&n.interacting())return!1;if(e.modifiedCoords){var s=n.coords.cur.page,c={x:e.modifiedCoords.x-s.x,y:e.modifiedCoords.y-s.y};a.coords.x+=c.x,a.coords.y+=c.y,a.delta.x+=c.x,a.delta.y+=c.y}this.applyToInteraction(e)}},{key:"beforeEnd",value:function(e){var n=e.interaction,r=e.event,i=this.states;if(i&&i.length){for(var o=!1,a=0;a<i.length;a++){var s=i[a];e.state=s;var c=s.options,u=s.methods,l=u.beforeEnd&&u.beforeEnd(e);if(l)return this.endResult=l,!1;o=o||!o&&this.shouldDo(c,!0,e.phase,!0)}o&&n.move({event:r,preEnd:!0})}}},{key:"stop",value:function(e){var n=e.interaction;if(this.states&&this.states.length){var r=x({states:this.states,interactable:n.interactable,element:n.element,rect:null},e);this.fillArg(r);for(var i=0,o=this.states;i<o.length;i++){var a=o[i];r.state=a,a.methods.stop&&a.methods.stop(r)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(e){this.states=[];for(var n=0;n<e.length;n++){var r=e[n],i=r.options,o=r.methods,a=r.name;this.states.push({options:i,methods:o,index:n,name:a})}return this.states}},{key:"restoreInteractionCoords",value:function(e){var n=e.interaction,r=n.coords,i=n.rect,o=n.modification;if(o.result){for(var a=o.startDelta,s=o.result,c=s.delta,u=s.rectDelta,l=0,p=[[r.start,a],[r.cur,c]];l<p.length;l++){var f=p[l],h=f[0],v=f[1];h.page.x-=v.x,h.page.y-=v.y,h.client.x-=v.x,h.client.y-=v.y}i.left-=u.left,i.right-=u.right,i.top-=u.top,i.bottom-=u.bottom}}},{key:"shouldDo",value:function(e,n,r,i){return!(!e||e.enabled===!1||i&&!e.endOnly||e.endOnly&&!n||r==="start"&&!e.setStart)}},{key:"copyFrom",value:function(e){this.startOffset=e.startOffset,this.startDelta=e.startDelta,this.startEdges=e.startEdges,this.edges=e.edges,this.states=e.states.map(function(n){return re(n)}),this.result=Me(x({},e.result.coords),x({},e.result.rect))}},{key:"destroy",value:function(){for(var e in this)this[e]=null}}]),t}();function Me(t,e){return{rect:e,coords:t,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function G(t,e){var n=t.defaults,r={start:t.start,set:t.set,beforeEnd:t.beforeEnd,stop:t.stop},i=function(o){var a=o||{};for(var s in a.enabled=a.enabled!==!1,n)s in a||(a[s]=n[s]);var c={options:a,methods:r,name:e,enable:function(){return a.enabled=!0,c},disable:function(){return a.enabled=!1,c}};return c};return e&&typeof e=="string"&&(i._defaults=n,i._methods=r),i}function ve(t){var e=t.iEvent,n=t.interaction.modification.result;n&&(e.modifiers=n.eventProps)}var qn={id:"modifiers/base",before:["actions"],install:function(t){t.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(t){var e=t.interaction;e.modification=new at(e)},"interactions:before-action-start":function(t){var e=t.interaction,n=t.interaction.modification;n.start(t,e.coords.start.page),e.edges=n.edges,n.applyToInteraction(t)},"interactions:before-action-move":function(t){var e=t.interaction,n=e.modification,r=n.setAndApply(t);return e.edges=n.edges,r},"interactions:before-action-end":function(t){var e=t.interaction,n=e.modification,r=n.beforeEnd(t);return e.edges=n.startEdges,r},"interactions:action-start":ve,"interactions:action-move":ve,"interactions:action-end":ve,"interactions:after-action-start":function(t){return t.interaction.modification.restoreInteractionCoords(t)},"interactions:after-action-move":function(t){return t.interaction.modification.restoreInteractionCoords(t)},"interactions:stop":function(t){return t.interaction.modification.stop(t)}}},Jt=qn,Qt={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},st=function(t){oe(n,t);var e=ae(n);function n(r,i,o,a,s,c,u){var l;k(this,n),(l=e.call(this,r)).relatedTarget=null,l.screenX=void 0,l.screenY=void 0,l.button=void 0,l.buttons=void 0,l.ctrlKey=void 0,l.shiftKey=void 0,l.altKey=void 0,l.metaKey=void 0,l.page=void 0,l.client=void 0,l.delta=void 0,l.rect=void 0,l.x0=void 0,l.y0=void 0,l.t0=void 0,l.dt=void 0,l.duration=void 0,l.clientX0=void 0,l.clientY0=void 0,l.velocity=void 0,l.speed=void 0,l.swipe=void 0,l.axes=void 0,l.preEnd=void 0,s=s||r.element;var p=r.interactable,f=(p&&p.options||Qt).deltaSource,h=ce(p,s,o),v=a==="start",g=a==="end",y=v?be(l):r.prevEvent,m=v?r.coords.start:g?{page:y.page,client:y.client,timeStamp:r.coords.cur.timeStamp}:r.coords.cur;return l.page=x({},m.page),l.client=x({},m.client),l.rect=x({},r.rect),l.timeStamp=m.timeStamp,g||(l.page.x-=h.x,l.page.y-=h.y,l.client.x-=h.x,l.client.y-=h.y),l.ctrlKey=i.ctrlKey,l.altKey=i.altKey,l.shiftKey=i.shiftKey,l.metaKey=i.metaKey,l.button=i.button,l.buttons=i.buttons,l.target=s,l.currentTarget=s,l.preEnd=c,l.type=u||o+(a||""),l.interactable=p,l.t0=v?r.pointers[r.pointers.length-1].downTime:y.t0,l.x0=r.coords.start.page.x-h.x,l.y0=r.coords.start.page.y-h.y,l.clientX0=r.coords.start.client.x-h.x,l.clientY0=r.coords.start.client.y-h.y,l.delta=v||g?{x:0,y:0}:{x:l[f].x-y[f].x,y:l[f].y-y[f].y},l.dt=r.coords.delta.timeStamp,l.duration=l.timeStamp-l.t0,l.velocity=x({},r.coords.velocity[f]),l.speed=le(l.velocity.x,l.velocity.y),l.swipe=g||a==="inertiastart"?l.getSwipe():null,l}return D(n,[{key:"getSwipe",value:function(){var r=this._interaction;if(r.prevEvent.speed<600||this.timeStamp-r.prevEvent.timeStamp>150)return null;var i=180*Math.atan2(r.prevEvent.velocityY,r.prevEvent.velocityX)/Math.PI;i<0&&(i+=360);var o=112.5<=i&&i<247.5,a=202.5<=i&&i<337.5;return{up:a,down:!a&&22.5<=i&&i<157.5,left:o,right:!o&&(292.5<=i||i<67.5),angle:i,speed:r.prevEvent.speed,velocity:{x:r.prevEvent.velocityX,y:r.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),n}(ke);Object.defineProperties(st.prototype,{pageX:{get:function(){return this.page.x},set:function(t){this.page.x=t}},pageY:{get:function(){return this.page.y},set:function(t){this.page.y=t}},clientX:{get:function(){return this.client.x},set:function(t){this.client.x=t}},clientY:{get:function(){return this.client.y},set:function(t){this.client.y=t}},dx:{get:function(){return this.delta.x},set:function(t){this.delta.x=t}},dy:{get:function(){return this.delta.y},set:function(t){this.delta.y=t}},velocityX:{get:function(){return this.velocity.x},set:function(t){this.velocity.x=t}},velocityY:{get:function(){return this.velocity.y},set:function(t){this.velocity.y=t}}});var Bn=D(function t(e,n,r,i,o){k(this,t),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=e,this.pointer=n,this.event=r,this.downTime=i,this.downTarget=o}),Vn=function(t){return t.interactable="",t.element="",t.prepared="",t.pointerIsDown="",t.pointerWasMoved="",t._proxy="",t}({}),Zt=function(t){return t.start="",t.move="",t.end="",t.stop="",t.interacting="",t}({}),Wn=0,Gn=function(){function t(e){var n=this,r=e.pointerType,i=e.scopeFire;k(this,t),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=de(function(l){this.move(l)},"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=Wn++,this._scopeFire=i,this.pointerType=r;var o=this;this._proxy={};var a=function(l){Object.defineProperty(n._proxy,l,{get:function(){return o[l]}})};for(var s in Vn)a(s);var c=function(l){Object.defineProperty(n._proxy,l,{value:function(){return o[l].apply(o,arguments)}})};for(var u in Zt)c(u);this._scopeFire("interactions:new",{interaction:this})}return D(t,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(e,n,r){var i=this.updatePointer(e,n,r,!0),o=this.pointers[i];this._scopeFire("interactions:down",{pointer:e,event:n,eventTarget:r,pointerIndex:i,pointerInfo:o,type:"down",interaction:this})}},{key:"start",value:function(e,n,r){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(e.name==="gesture"?2:1)||!n.options[e.name].enabled)&&(nt(this.prepared,e),this.interactable=n,this.element=r,this.rect=n.getRect(r),this.edges=this.prepared.edges?x({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(e,n,r){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(e,n,r,!1);var i,o,a=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(i=this.coords.cur.client.x-this.coords.start.client.x,o=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=le(i,o)>this.pointerMoveTolerance);var s,c,u,l=this.getPointerIndex(e),p={pointer:e,pointerIndex:l,pointerInfo:this.pointers[l],event:n,type:"move",eventTarget:r,dx:i,dy:o,duplicate:a,interaction:this};a||(s=this.coords.velocity,c=this.coords.delta,u=Math.max(c.timeStamp/1e3,.001),s.page.x=c.page.x/u,s.page.y=c.page.y/u,s.client.x=c.client.x/u,s.client.y=c.client.y/u,s.timeStamp=u),this._scopeFire("interactions:move",p),a||this.simulation||(this.interacting()&&(p.type=null,this.move(p)),this.pointerWasMoved&&Pe(this.coords.prev,this.coords.cur))}},{key:"move",value:function(e){e&&e.event||Dt(this.coords.delta),(e=x({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},e||{})).phase="move",this._doPhase(e)}},{key:"pointerUp",value:function(e,n,r,i){var o=this.getPointerIndex(e);o===-1&&(o=this.updatePointer(e,n,r,!1));var a=/cancel$/i.test(n.type)?"cancel":"up";this._scopeFire("interactions:".concat(a),{pointer:e,pointerIndex:o,pointerInfo:this.pointers[o],event:n,eventTarget:r,type:a,curEventTarget:i,interaction:this}),this.simulation||this.end(n),this.removePointer(e,n)}},{key:"documentBlur",value:function(e){this.end(e),this._scopeFire("interactions:blur",{event:e,type:"blur",interaction:this})}},{key:"end",value:function(e){var n;this._ending=!0,e=e||this._latestPointer.event,this.interacting()&&(n=this._doPhase({event:e,interaction:this,phase:"end"})),this._ending=!1,n===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(e){var n=ue(e);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:pe(this.pointers,function(r){return r.id===n})}},{key:"getPointerInfo",value:function(e){return this.pointers[this.getPointerIndex(e)]}},{key:"updatePointer",value:function(e,n,r,i){var o,a,s,c=ue(e),u=this.getPointerIndex(e),l=this.pointers[u];return i=i!==!1&&(i||/(down|start)$/i.test(n.type)),l?l.pointer=e:(l=new Bn(c,e,n,null,null),u=this.pointers.length,this.pointers.push(l)),En(this.coords.cur,this.pointers.map(function(p){return p.pointer}),this._now()),o=this.coords.delta,a=this.coords.prev,s=this.coords.cur,o.page.x=s.page.x-a.page.x,o.page.y=s.page.y-a.page.y,o.client.x=s.client.x-a.client.x,o.client.y=s.client.y-a.client.y,o.timeStamp=s.timeStamp-a.timeStamp,i&&(this.pointerIsDown=!0,l.downTime=this.coords.cur.timeStamp,l.downTarget=r,_e(this.downPointer,e),this.interacting()||(Pe(this.coords.start,this.coords.cur),Pe(this.coords.prev,this.coords.cur),this.downEvent=n,this.pointerWasMoved=!1)),this._updateLatestPointer(e,n,r),this._scopeFire("interactions:update-pointer",{pointer:e,event:n,eventTarget:r,down:i,pointerInfo:l,pointerIndex:u,interaction:this}),u}},{key:"removePointer",value:function(e,n){var r=this.getPointerIndex(e);if(r!==-1){var i=this.pointers[r];this._scopeFire("interactions:remove-pointer",{pointer:e,event:n,eventTarget:null,pointerIndex:r,pointerInfo:i,interaction:this}),this.pointers.splice(r,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(e,n,r){this._latestPointer.pointer=e,this._latestPointer.event=n,this._latestPointer.eventTarget=r}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(e,n,r,i){return new st(this,e,this.prepared.name,n,this.element,r,i)}},{key:"_fireEvent",value:function(e){var n;(n=this.interactable)==null||n.fire(e),(!this.prevEvent||e.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=e)}},{key:"_doPhase",value:function(e){var n=e.event,r=e.phase,i=e.preEnd,o=e.type,a=this.rect;if(a&&r==="move"&&(Se(this.edges,a,this.coords.delta[this.interactable.options.deltaSource]),a.width=a.right-a.left,a.height=a.bottom-a.top),this._scopeFire("interactions:before-action-".concat(r),e)===!1)return!1;var s=e.iEvent=this._createPreparedEvent(n,r,i,o);return this._scopeFire("interactions:action-".concat(r),e),r==="start"&&(this.prevEvent=s),this._fireEvent(s),this._scopeFire("interactions:after-action-".concat(r),e),!0}},{key:"_now",value:function(){return Date.now()}}]),t}();function en(t){tn(t.interaction)}function tn(t){if(!function(n){return!(!n.offset.pending.x&&!n.offset.pending.y)}(t))return!1;var e=t.offset.pending;return ct(t.coords.cur,e),ct(t.coords.delta,e),Se(t.edges,t.rect,e),e.x=0,e.y=0,!0}function Nn(t){var e=t.x,n=t.y;this.offset.pending.x+=e,this.offset.pending.y+=n,this.offset.total.x+=e,this.offset.total.y+=n}function ct(t,e){var n=t.page,r=t.client,i=e.x,o=e.y;n.x+=i,n.y+=o,r.x+=i,r.y+=o}Zt.offsetBy="";var Un={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(t){t.Interaction.prototype.offsetBy=Nn},listeners:{"interactions:new":function(t){t.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(t){return function(e){e.pointerIsDown&&(ct(e.coords.cur,e.offset.total),e.offset.pending.x=0,e.offset.pending.y=0)}(t.interaction)},"interactions:before-action-start":en,"interactions:before-action-move":en,"interactions:before-action-end":function(t){var e=t.interaction;if(tn(e))return e.move({offset:!0}),e.end(),!1},"interactions:stop":function(t){var e=t.interaction;e.offset.total.x=0,e.offset.total.y=0,e.offset.pending.x=0,e.offset.pending.y=0}}},nn=Un,Hn=function(){function t(e){k(this,t),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=e}return D(t,[{key:"start",value:function(e){var n=this.interaction,r=ze(n);if(!r||!r.enabled)return!1;var i=n.coords.velocity.client,o=le(i.x,i.y),a=this.modification||(this.modification=new at(n));if(a.copyFrom(n.modification),this.t0=n._now(),this.allowResume=r.allowResume,this.v0=o,this.currentOffset={x:0,y:0},this.startCoords=n.coords.cur.page,this.modifierArg=a.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-n.coords.cur.timeStamp<50&&o>r.minSpeed&&o>r.endSpeed)this.startInertia();else{if(a.result=a.setAll(this.modifierArg),!a.result.changed)return!1;this.startSmoothEnd()}return n.modification.result.rect=null,n.offsetBy(this.targetOffset),n._doPhase({interaction:n,event:e,phase:"inertiastart"}),n.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),n.modification.result.rect=null,this.active=!0,n.simulation=this,!0}},{key:"startInertia",value:function(){var e=this,n=this.interaction.coords.velocity.client,r=ze(this.interaction),i=r.resistance,o=-Math.log(r.endSpeed/this.v0)/i;this.targetOffset={x:(n.x-o)/i,y:(n.y-o)/i},this.te=o,this.lambda_v0=i/this.v0,this.one_ve_v0=1-r.endSpeed/this.v0;var a=this.modification,s=this.modifierArg;s.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},a.result=a.setAll(s),a.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+a.result.delta.x,y:this.targetOffset.y+a.result.delta.y}),this.onNextFrame(function(){return e.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var e=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return e.smoothEndTick()})}},{key:"onNextFrame",value:function(e){var n=this;this.timeout=W.request(function(){n.active&&e()})}},{key:"inertiaTick",value:function(){var e,n,r,i,o,a,s,c=this,u=this.interaction,l=ze(u).resistance,p=(u._now()-this.t0)/1e3;if(p<this.te){var f,h=1-(Math.exp(-l*p)-this.lambda_v0)/this.one_ve_v0;this.isModified?(e=0,n=0,r=this.targetOffset.x,i=this.targetOffset.y,o=this.modifiedOffset.x,a=this.modifiedOffset.y,f={x:rn(s=h,e,r,o),y:rn(s,n,i,a)}):f={x:this.targetOffset.x*h,y:this.targetOffset.y*h};var v={x:f.x-this.currentOffset.x,y:f.y-this.currentOffset.y};this.currentOffset.x+=v.x,this.currentOffset.y+=v.y,u.offsetBy(v),u.move(),this.onNextFrame(function(){return c.inertiaTick()})}else u.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var e=this,n=this.interaction,r=n._now()-this.t0,i=ze(n).smoothEndDuration;if(r<i){var o={x:on(r,0,this.targetOffset.x,i),y:on(r,0,this.targetOffset.y,i)},a={x:o.x-this.currentOffset.x,y:o.y-this.currentOffset.y};this.currentOffset.x+=a.x,this.currentOffset.y+=a.y,n.offsetBy(a),n.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return e.smoothEndTick()})}else n.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(e){var n=e.pointer,r=e.event,i=e.eventTarget,o=this.interaction;o.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),o.updatePointer(n,r,i,!0),o._doPhase({interaction:o,event:r,phase:"resume"}),Pe(o.coords.prev,o.coords.cur),this.stop()}},{key:"end",value:function(){this.interaction.move(),this.interaction.end(),this.stop()}},{key:"stop",value:function(){this.active=this.smoothEnd=!1,this.interaction.simulation=null,W.cancel(this.timeout)}}]),t}();function ze(t){var e=t.interactable,n=t.prepared;return e&&e.options&&n.name&&e.options[n.name].inertia}var Kn={id:"inertia",before:["modifiers","actions"],install:function(t){var e=t.defaults;t.usePlugin(nn),t.usePlugin(Jt),t.actions.phases.inertiastart=!0,t.actions.phases.resume=!0,e.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(t){var e=t.interaction;e.inertia=new Hn(e)},"interactions:before-action-end":function(t){var e=t.interaction,n=t.event;return(!e._interacting||e.simulation||!e.inertia.start(n))&&null},"interactions:down":function(t){var e=t.interaction,n=t.eventTarget,r=e.inertia;if(r.active)for(var i=n;d.element(i);){if(i===e.element){r.resume(t);break}i=Y(i)}},"interactions:stop":function(t){var e=t.interaction.inertia;e.active&&e.stop()},"interactions:before-action-resume":function(t){var e=t.interaction.modification;e.stop(t),e.start(t,t.interaction.coords.cur.page),e.applyToInteraction(t)},"interactions:before-action-inertiastart":function(t){return t.interaction.modification.setAndApply(t)},"interactions:action-resume":ve,"interactions:action-inertiastart":ve,"interactions:after-action-inertiastart":function(t){return t.interaction.modification.restoreInteractionCoords(t)},"interactions:after-action-resume":function(t){return t.interaction.modification.restoreInteractionCoords(t)}}};function rn(t,e,n,r){var i=1-t;return i*i*e+2*i*t*n+t*t*r}function on(t,e,n,r){return-n*(t/=r)*(t-2)+e}var $n=Kn;function an(t,e){for(var n=0;n<e.length;n++){var r=e[n];if(t.immediatePropagationStopped)break;r(t)}}var sn=function(){function t(e){k(this,t),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=x({},e||{})}return D(t,[{key:"fire",value:function(e){var n,r=this.global;(n=this.types[e.type])&&an(e,n),!e.propagationStopped&&r&&(n=r[e.type])&&an(e,n)}},{key:"on",value:function(e,n){var r=J(e,n);for(e in r)this.types[e]=Rt(this.types[e]||[],r[e])}},{key:"off",value:function(e,n){var r=J(e,n);for(e in r){var i=this.types[e];if(i&&i.length)for(var o=0,a=r[e];o<a.length;o++){var s=a[o],c=i.indexOf(s);c!==-1&&i.splice(c,1)}}}},{key:"getRect",value:function(e){return null}}]),t}(),Jn=function(){function t(e){k(this,t),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=e,_e(this,e)}return D(t,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),t}();function he(t){return d.object(t)?{capture:!!t.capture,passive:!!t.passive}:{capture:!!t,passive:!1}}function Ae(t,e){return t===e||(typeof t=="boolean"?!!e.capture===t&&!e.passive:!!t.capture==!!e.capture&&!!t.passive==!!e.passive)}var Qn={id:"events",install:function(t){var e,n=[],r={},i=[],o={add:a,remove:s,addDelegate:function(l,p,f,h,v){var g=he(v);if(!r[f]){r[f]=[];for(var y=0;y<i.length;y++){var m=i[y];a(m,f,c),a(m,f,u,!0)}}var b=r[f],T=fe(b,function(_){return _.selector===l&&_.context===p});T||(T={selector:l,context:p,listeners:[]},b.push(T)),T.listeners.push({func:h,options:g})},removeDelegate:function(l,p,f,h,v){var g,y=he(v),m=r[f],b=!1;if(m)for(g=m.length-1;g>=0;g--){var T=m[g];if(T.selector===l&&T.context===p){for(var _=T.listeners,w=_.length-1;w>=0;w--){var S=_[w];if(S.func===h&&Ae(S.options,y)){_.splice(w,1),_.length||(m.splice(g,1),s(p,f,c),s(p,f,u,!0)),b=!0;break}}if(b)break}}},delegateListener:c,delegateUseCapture:u,delegatedEvents:r,documents:i,targets:n,supportsOptions:!1,supportsPassive:!1};function a(l,p,f,h){if(l.addEventListener){var v=he(h),g=fe(n,function(y){return y.eventTarget===l});g||(g={eventTarget:l,events:{}},n.push(g)),g.events[p]||(g.events[p]=[]),fe(g.events[p],function(y){return y.func===f&&Ae(y.options,v)})||(l.addEventListener(p,f,o.supportsOptions?v:v.capture),g.events[p].push({func:f,options:v}))}}function s(l,p,f,h){if(l.addEventListener&&l.removeEventListener){var v=pe(n,function(M){return M.eventTarget===l}),g=n[v];if(g&&g.events)if(p!=="all"){var y=!1,m=g.events[p];if(m){if(f==="all"){for(var b=m.length-1;b>=0;b--){var T=m[b];s(l,p,T.func,T.options)}return}for(var _=he(h),w=0;w<m.length;w++){var S=m[w];if(S.func===f&&Ae(S.options,_)){l.removeEventListener(p,f,o.supportsOptions?_:_.capture),m.splice(w,1),m.length===0&&(delete g.events[p],y=!0);break}}}y&&!Object.keys(g.events).length&&n.splice(v,1)}else for(p in g.events)g.events.hasOwnProperty(p)&&s(l,p,"all")}}function c(l,p){for(var f=he(p),h=new Jn(l),v=r[l.type],g=Ct(l)[0],y=g;d.element(y);){for(var m=0;m<v.length;m++){var b=v[m],T=b.selector,_=b.context;if(V(y,T)&&$(_,g)&&$(_,y)){var w=b.listeners;h.currentTarget=y;for(var S=0;S<w.length;S++){var M=w[S];Ae(M.options,f)&&M.func(h)}}}y=Y(y)}}function u(l){return c(l,!0)}return(e=t.document)==null||e.createElement("div").addEventListener("test",null,{get capture(){return o.supportsOptions=!0},get passive(){return o.supportsPassive=!0}}),t.events=o,o}},lt={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(t){for(var e=0,n=lt.methodOrder;e<n.length;e++){var r=n[e],i=lt[r](t);if(i)return i}return null},simulationResume:function(t){var e=t.pointerType,n=t.eventType,r=t.eventTarget,i=t.scope;if(!/down|start/i.test(n))return null;for(var o=0,a=i.interactions.list;o<a.length;o++){var s=a[o],c=r;if(s.simulation&&s.simulation.allowResume&&s.pointerType===e)for(;c;){if(c===s.element)return s;c=Y(c)}}return null},mouseOrPen:function(t){var e,n=t.pointerId,r=t.pointerType,i=t.eventType,o=t.scope;if(r!=="mouse"&&r!=="pen")return null;for(var a=0,s=o.interactions.list;a<s.length;a++){var c=s[a];if(c.pointerType===r){if(c.simulation&&!cn(c,n))continue;if(c.interacting())return c;e||(e=c)}}if(e)return e;for(var u=0,l=o.interactions.list;u<l.length;u++){var p=l[u];if(!(p.pointerType!==r||/down/i.test(i)&&p.simulation))return p}return null},hasPointer:function(t){for(var e=t.pointerId,n=0,r=t.scope.interactions.list;n<r.length;n++){var i=r[n];if(cn(i,e))return i}return null},idle:function(t){for(var e=t.pointerType,n=0,r=t.scope.interactions.list;n<r.length;n++){var i=r[n];if(i.pointers.length===1){var o=i.interactable;if(o&&(!o.options.gesture||!o.options.gesture.enabled))continue}else if(i.pointers.length>=2)continue;if(!i.interacting()&&e===i.pointerType)return i}return null}};function cn(t,e){return t.pointers.some(function(n){return n.id===e})}var Zn=lt,ut=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function ln(t,e){return function(n){var r=e.interactions.list,i=At(n),o=Ct(n),a=o[0],s=o[1],c=[];if(/^touch/.test(n.type)){e.prevTouchTime=e.now();for(var u=0,l=n.changedTouches;u<l.length;u++){var p=l[u],f={pointer:p,pointerId:ue(p),pointerType:i,eventType:n.type,eventTarget:a,curEventTarget:s,scope:e},h=un(f);c.push([f.pointer,f.eventTarget,f.curEventTarget,h])}}else{var v=!1;if(!R.supportsPointerEvent&&/mouse/.test(n.type)){for(var g=0;g<r.length&&!v;g++)v=r[g].pointerType!=="mouse"&&r[g].pointerIsDown;v=v||e.now()-e.prevTouchTime<500||n.timeStamp===0}if(!v){var y={pointer:n,pointerId:ue(n),pointerType:i,eventType:n.type,curEventTarget:s,eventTarget:a,scope:e},m=un(y);c.push([y.pointer,y.eventTarget,y.curEventTarget,m])}}for(var b=0;b<c.length;b++){var T=c[b],_=T[0],w=T[1],S=T[2];T[3][t](_,n,w,S)}}}function un(t){var e=t.pointerType,n=t.scope,r={interaction:Zn.search(t),searchDetails:t};return n.fire("interactions:find",r),r.interaction||n.interactions.new({pointerType:e})}function pt(t,e){var n=t.doc,r=t.scope,i=t.options,o=r.interactions.docEvents,a=r.events,s=a[e];for(var c in r.browser.isIOS&&!i.events&&(i.events={passive:!1}),a.delegatedEvents)s(n,c,a.delegateListener),s(n,c,a.delegateUseCapture,!0);for(var u=i&&i.events,l=0;l<o.length;l++){var p=o[l];s(n,p.type,p.listener,u)}}var er={id:"core/interactions",install:function(t){for(var e={},n=0;n<ut.length;n++){var r=ut[n];e[r]=ln(r,t)}var i,o=R.pEventTypes;function a(){for(var s=0,c=t.interactions.list;s<c.length;s++){var u=c[s];if(u.pointerIsDown&&u.pointerType==="touch"&&!u._interacting)for(var l=function(){var h=f[p];t.documents.some(function(v){return $(v.doc,h.downTarget)})||u.removePointer(h.pointer,h.event)},p=0,f=u.pointers;p<f.length;p++)l()}}(i=O.PointerEvent?[{type:o.down,listener:a},{type:o.down,listener:e.pointerDown},{type:o.move,listener:e.pointerMove},{type:o.up,listener:e.pointerUp},{type:o.cancel,listener:e.pointerUp}]:[{type:"mousedown",listener:e.pointerDown},{type:"mousemove",listener:e.pointerMove},{type:"mouseup",listener:e.pointerUp},{type:"touchstart",listener:a},{type:"touchstart",listener:e.pointerDown},{type:"touchmove",listener:e.pointerMove},{type:"touchend",listener:e.pointerUp},{type:"touchcancel",listener:e.pointerUp}]).push({type:"blur",listener:function(s){for(var c=0,u=t.interactions.list;c<u.length;c++)u[c].documentBlur(s)}}),t.prevTouchTime=0,t.Interaction=function(s){oe(u,s);var c=ae(u);function u(){return k(this,u),c.apply(this,arguments)}return D(u,[{key:"pointerMoveTolerance",get:function(){return t.interactions.pointerMoveTolerance},set:function(l){t.interactions.pointerMoveTolerance=l}},{key:"_now",value:function(){return t.now()}}]),u}(Gn),t.interactions={list:[],new:function(s){s.scopeFire=function(u,l){return t.fire(u,l)};var c=new t.Interaction(s);return t.interactions.list.push(c),c},listeners:e,docEvents:i,pointerMoveTolerance:1},t.usePlugin($t)},listeners:{"scope:add-document":function(t){return pt(t,"add")},"scope:remove-document":function(t){return pt(t,"remove")},"interactable:unset":function(t,e){for(var n=t.interactable,r=e.interactions.list.length-1;r>=0;r--){var i=e.interactions.list[r];i.interactable===n&&(i.stop(),e.fire("interactions:destroy",{interaction:i}),i.destroy(),e.interactions.list.length>2&&e.interactions.list.splice(r,1))}}},onDocSignal:pt,doOnInteractions:ln,methodNames:ut},tr=er,N=function(t){return t[t.On=0]="On",t[t.Off=1]="Off",t}(N||{}),nr=function(){function t(e,n,r,i){k(this,t),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new sn,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=n.actions,this.target=e,this._context=n.context||r,this._win=X(Pt(e)?this._context:e),this._doc=this._win.document,this._scopeEvents=i,this.set(n)}return D(t,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(e,n){return d.func(n.onstart)&&this.on("".concat(e,"start"),n.onstart),d.func(n.onmove)&&this.on("".concat(e,"move"),n.onmove),d.func(n.onend)&&this.on("".concat(e,"end"),n.onend),d.func(n.oninertiastart)&&this.on("".concat(e,"inertiastart"),n.oninertiastart),this}},{key:"updatePerActionListeners",value:function(e,n,r){var i,o=this,a=(i=this._actions.map[e])==null?void 0:i.filterEventType,s=function(c){return(a==null||a(c))&&Ie(c,o._actions)};(d.array(n)||d.object(n))&&this._onOff(N.Off,e,n,void 0,s),(d.array(r)||d.object(r))&&this._onOff(N.On,e,r,void 0,s)}},{key:"setPerAction",value:function(e,n){var r=this._defaults;for(var i in n){var o=i,a=this.options[e],s=n[o];o==="listeners"&&this.updatePerActionListeners(e,a.listeners,s),d.array(s)?a[o]=jt(s):d.plainObject(s)?(a[o]=x(a[o]||{},re(s)),d.object(r.perAction[o])&&"enabled"in r.perAction[o]&&(a[o].enabled=s.enabled!==!1)):d.bool(s)&&d.object(r.perAction[o])?a[o].enabled=s:a[o]=s}}},{key:"getRect",value:function(e){return e=e||(d.element(this.target)?this.target:null),d.string(this.target)&&(e=e||this._context.querySelector(this.target)),Ge(e)}},{key:"rectChecker",value:function(e){var n=this;return d.func(e)?(this.getRect=function(r){var i=x({},e.apply(n,r));return"width"in i||(i.width=i.right-i.left,i.height=i.bottom-i.top),i},this):e===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(e,n){if(Pt(n)||d.object(n)){for(var r in this.options[e]=n,this._actions.map)this.options[r][e]=n;return this}return this.options[e]}},{key:"origin",value:function(e){return this._backCompatOption("origin",e)}},{key:"deltaSource",value:function(e){return e==="page"||e==="client"?(this.options.deltaSource=e,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var e=this.target;return d.string(e)?Array.from(this._context.querySelectorAll(e)):d.func(e)&&e.getAllElements?e.getAllElements():d.element(e)?[e]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(e){return this._context===e.ownerDocument||$(this._context,e)}},{key:"testIgnoreAllow",value:function(e,n,r){return!this.testIgnore(e.ignoreFrom,n,r)&&this.testAllow(e.allowFrom,n,r)}},{key:"testAllow",value:function(e,n,r){return!e||!!d.element(r)&&(d.string(e)?Ve(r,e,n):!!d.element(e)&&$(e,r))}},{key:"testIgnore",value:function(e,n,r){return!(!e||!d.element(r))&&(d.string(e)?Ve(r,e,n):!!d.element(e)&&$(e,r))}},{key:"fire",value:function(e){return this.events.fire(e),this}},{key:"_onOff",value:function(e,n,r,i,o){d.object(n)&&!d.array(n)&&(i=r,r=null);var a=J(n,r,o);for(var s in a){s==="wheel"&&(s=R.wheelEvent);for(var c=0,u=a[s];c<u.length;c++){var l=u[c];Ie(s,this._actions)?this.events[e===N.On?"on":"off"](s,l):d.string(this.target)?this._scopeEvents[e===N.On?"addDelegate":"removeDelegate"](this.target,this._context,s,l,i):this._scopeEvents[e===N.On?"add":"remove"](this.target,s,l,i)}}return this}},{key:"on",value:function(e,n,r){return this._onOff(N.On,e,n,r)}},{key:"off",value:function(e,n,r){return this._onOff(N.Off,e,n,r)}},{key:"set",value:function(e){var n=this._defaults;for(var r in d.object(e)||(e={}),this.options=re(n.base),this._actions.methodDict){var i=r,o=this._actions.methodDict[i];this.options[i]={},this.setPerAction(i,x(x({},n.perAction),n.actions[i])),this[o](e[i])}for(var a in e)a!=="getRect"?d.func(this[a])&&this[a](e[a]):this.rectChecker(e.getRect);return this}},{key:"unset",value:function(){if(d.string(this.target))for(var e in this._scopeEvents.delegatedEvents)for(var n=this._scopeEvents.delegatedEvents[e],r=n.length-1;r>=0;r--){var i=n[r],o=i.selector,a=i.context,s=i.listeners;o===this.target&&a===this._context&&n.splice(r,1);for(var c=s.length-1;c>=0;c--)this._scopeEvents.removeDelegate(this.target,this._context,e,s[c][0],s[c][1])}else this._scopeEvents.remove(this.target,"all")}}]),t}(),rr=function(){function t(e){var n=this;k(this,t),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=e,e.addListeners({"interactable:unset":function(r){var i=r.interactable,o=i.target,a=d.string(o)?n.selectorMap[o]:o[n.scope.id],s=pe(a,function(c){return c===i});a.splice(s,1)}})}return D(t,[{key:"new",value:function(e,n){n=x(n||{},{actions:this.scope.actions});var r=new this.scope.Interactable(e,n,this.scope.document,this.scope.events);return this.scope.addDocument(r._doc),this.list.push(r),d.string(e)?(this.selectorMap[e]||(this.selectorMap[e]=[]),this.selectorMap[e].push(r)):(r.target[this.scope.id]||Object.defineProperty(e,this.scope.id,{value:[],configurable:!0}),e[this.scope.id].push(r)),this.scope.fire("interactable:new",{target:e,options:n,interactable:r,win:this.scope._win}),r}},{key:"getExisting",value:function(e,n){var r=n&&n.context||this.scope.document,i=d.string(e),o=i?this.selectorMap[e]:e[this.scope.id];if(o)return fe(o,function(a){return a._context===r&&(i||a.inContext(e))})}},{key:"forEachMatch",value:function(e,n){for(var r=0,i=this.list;r<i.length;r++){var o=i[r],a=void 0;if((d.string(o.target)?d.element(e)&&V(e,o.target):e===o.target)&&o.inContext(e)&&(a=n(o)),a!==void 0)return a}}}]),t}(),ir=function(){function t(){var e=this;k(this,t),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=R,this.defaults=re(Qt),this.Eventable=sn,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(r){var i=function o(a,s){var c=r.interactables.getExisting(a,s);return c||((c=r.interactables.new(a,s)).events.global=o.globalEvents),c};return i.getPointerAverage=zt,i.getTouchBBox=He,i.getTouchDistance=Ke,i.getTouchAngle=$e,i.getElementRect=Ge,i.getElementClientRect=We,i.matchesSelector=V,i.closest=Et,i.globalEvents={},i.version="1.10.27",i.scope=r,i.use=function(o,a){return this.scope.usePlugin(o,a),this},i.isSet=function(o,a){return!!this.scope.interactables.get(o,a&&a.context)},i.on=de(function(o,a,s){if(d.string(o)&&o.search(" ")!==-1&&(o=o.trim().split(/ +/)),d.array(o)){for(var c=0,u=o;c<u.length;c++){var l=u[c];this.on(l,a,s)}return this}if(d.object(o)){for(var p in o)this.on(p,o[p],a);return this}return Ie(o,this.scope.actions)?this.globalEvents[o]?this.globalEvents[o].push(a):this.globalEvents[o]=[a]:this.scope.events.add(this.scope.document,o,a,{options:s}),this},"The interact.on() method is being deprecated"),i.off=de(function(o,a,s){if(d.string(o)&&o.search(" ")!==-1&&(o=o.trim().split(/ +/)),d.array(o)){for(var c=0,u=o;c<u.length;c++){var l=u[c];this.off(l,a,s)}return this}if(d.object(o)){for(var p in o)this.off(p,o[p],a);return this}var f;return Ie(o,this.scope.actions)?o in this.globalEvents&&(f=this.globalEvents[o].indexOf(a))!==-1&&this.globalEvents[o].splice(f,1):this.scope.events.remove(this.scope.document,o,a,s),this},"The interact.off() method is being deprecated"),i.debug=function(){return this.scope},i.supportsTouch=function(){return R.supportsTouch},i.supportsPointerEvent=function(){return R.supportsPointerEvent},i.stop=function(){for(var o=0,a=this.scope.interactions.list;o<a.length;o++)a[o].stop();return this},i.pointerMoveTolerance=function(o){return d.number(o)?(this.scope.interactions.pointerMoveTolerance=o,this):this.scope.interactions.pointerMoveTolerance},i.addDocument=function(o,a){this.scope.addDocument(o,a)},i.removeDocument=function(o){this.scope.removeDocument(o)},i}(this),this.InteractEvent=st,this.Interactable=void 0,this.interactables=new rr(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(r){return e.removeDocument(r.target)};var n=this;this.Interactable=function(r){oe(o,r);var i=ae(o);function o(){return k(this,o),i.apply(this,arguments)}return D(o,[{key:"_defaults",get:function(){return n.defaults}},{key:"set",value:function(a){return xe(H(o.prototype),"set",this).call(this,a),n.fire("interactable:set",{options:a,interactable:this}),this}},{key:"unset",value:function(){xe(H(o.prototype),"unset",this).call(this);var a=n.interactables.list.indexOf(this);a<0||(n.interactables.list.splice(a,1),n.fire("interactable:unset",{interactable:this}))}}]),o}(nr)}return D(t,[{key:"addListeners",value:function(e,n){this.listenerMaps.push({id:n,map:e})}},{key:"fire",value:function(e,n){for(var r=0,i=this.listenerMaps;r<i.length;r++){var o=i[r].map[e];if(o&&o(n,this,e)===!1)return!1}}},{key:"init",value:function(e){return this.isInitialized?this:function(n,r){return n.isInitialized=!0,d.window(r)&&yt(r),O.init(r),R.init(r),W.init(r),n.window=r,n.document=r.document,n.usePlugin(tr),n.usePlugin(Qn),n}(this,e)}},{key:"pluginIsInstalled",value:function(e){var n=e.id;return n?!!this._plugins.map[n]:this._plugins.list.indexOf(e)!==-1}},{key:"usePlugin",value:function(e,n){if(!this.isInitialized)return this;if(this.pluginIsInstalled(e))return this;if(e.id&&(this._plugins.map[e.id]=e),this._plugins.list.push(e),e.install&&e.install(this,n),e.listeners&&e.before){for(var r=0,i=this.listenerMaps.length,o=e.before.reduce(function(s,c){return s[c]=!0,s[pn(c)]=!0,s},{});r<i;r++){var a=this.listenerMaps[r].id;if(a&&(o[a]||o[pn(a)]))break}this.listenerMaps.splice(r,0,{id:e.id,map:e.listeners})}else e.listeners&&this.listenerMaps.push({id:e.id,map:e.listeners});return this}},{key:"addDocument",value:function(e,n){if(this.getDocIndex(e)!==-1)return!1;var r=X(e);n=n?x({},n):{},this.documents.push({doc:e,options:n}),this.events.documents.push(e),e!==this.document&&this.events.add(r,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:e,window:r,scope:this,options:n})}},{key:"removeDocument",value:function(e){var n=this.getDocIndex(e),r=X(e),i=this.documents[n].options;this.events.remove(r,"unload",this.onWindowUnload),this.documents.splice(n,1),this.events.documents.splice(n,1),this.fire("scope:remove-document",{doc:e,window:r,scope:this,options:i})}},{key:"getDocIndex",value:function(e){for(var n=0;n<this.documents.length;n++)if(this.documents[n].doc===e)return n;return-1}},{key:"getDocOptions",value:function(e){var n=this.getDocIndex(e);return n===-1?null:this.documents[n].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),t}();function pn(t){return t&&t.replace(/\/.*$/,"")}var fn=new ir,I=fn.interactStatic,or=typeof globalThis<"u"?globalThis:window;fn.init(or);var ar=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(t){var e=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(r){var i=r[0],o=r[1];return i in t||o in t}),n=function(r,i){for(var o=t.range,a=t.limits,s=a===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:a,c=t.offset,u=c===void 0?{x:0,y:0}:c,l={range:o,grid:t,x:null,y:null},p=0;p<e.length;p++){var f=e[p],h=f[0],v=f[1],g=Math.round((r-u.x)/t[h]),y=Math.round((i-u.y)/t[v]);l[h]=Math.max(s.left,Math.min(s.right,g*t[h]+u.x)),l[v]=Math.max(s.top,Math.min(s.bottom,y*t[v]+u.y))}return l};return n.grid=t,n.coordFields=e,n}}),sr={id:"snappers",install:function(t){var e=t.interactStatic;e.snappers=x(e.snappers||{},ar),e.createSnapGrid=e.snappers.grid}},cr=sr,lr={start:function(t){var e=t.state,n=t.rect,r=t.edges,i=t.pageCoords,o=e.options,a=o.ratio,s=o.enabled,c=e.options,u=c.equalDelta,l=c.modifiers;a==="preserve"&&(a=n.width/n.height),e.startCoords=x({},i),e.startRect=x({},n),e.ratio=a,e.equalDelta=u;var p=e.linkedEdges={top:r.top||r.left&&!r.bottom,left:r.left||r.top&&!r.right,bottom:r.bottom||r.right&&!r.top,right:r.right||r.bottom&&!r.left};if(e.xIsPrimaryAxis=!(!r.left&&!r.right),e.equalDelta){var f=(p.left?1:-1)*(p.top?1:-1);e.edgeSign={x:f,y:f}}else e.edgeSign={x:p.left?-1:1,y:p.top?-1:1};if(s!==!1&&x(r,p),l!=null&&l.length){var h=new at(t.interaction);h.copyFrom(t.interaction.modification),h.prepareStates(l),e.subModification=h,h.startAll(ie({},t))}},set:function(t){var e=t.state,n=t.rect,r=t.coords,i=e.linkedEdges,o=x({},r),a=e.equalDelta?ur:pr;if(x(t.edges,i),a(e,e.xIsPrimaryAxis,r,n),!e.subModification)return null;var s=x({},n);Se(i,s,{x:r.x-o.x,y:r.y-o.y});var c=e.subModification.setAll(ie(ie({},t),{},{rect:s,edges:i,pageCoords:r,prevCoords:r,prevRect:s})),u=c.delta;return c.changed&&(a(e,Math.abs(u.x)>Math.abs(u.y),c.coords,c.rect),x(r,c.coords)),c.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function ur(t,e,n){var r=t.startCoords,i=t.edgeSign;e?n.y=r.y+(n.x-r.x)*i.y:n.x=r.x+(n.y-r.y)*i.x}function pr(t,e,n,r){var i=t.startRect,o=t.startCoords,a=t.ratio,s=t.edgeSign;if(e){var c=r.width/a;n.y=o.y+(c-i.height)*s.y}else{var u=r.height*a;n.x=o.x+(u-i.width)*s.x}}var fr=G(lr,"aspectRatio"),dn=function(){};dn._defaults={};var Ce=dn;function Z(t,e,n){return d.func(t)?se(t,e.interactable,e.element,[n.x,n.y,e]):se(t,e.interactable,e.element)}var Re={start:function(t){var e=t.rect,n=t.startOffset,r=t.state,i=t.interaction,o=t.pageCoords,a=r.options,s=a.elementRect,c=x({left:0,top:0,right:0,bottom:0},a.offset||{});if(e&&s){var u=Z(a.restriction,i,o);if(u){var l=u.right-u.left-e.width,p=u.bottom-u.top-e.height;l<0&&(c.left+=l,c.right+=l),p<0&&(c.top+=p,c.bottom+=p)}c.left+=n.left-e.width*s.left,c.top+=n.top-e.height*s.top,c.right+=n.right-e.width*(1-s.right),c.bottom+=n.bottom-e.height*(1-s.bottom)}r.offset=c},set:function(t){var e=t.coords,n=t.interaction,r=t.state,i=r.options,o=r.offset,a=Z(i.restriction,n,e);if(a){var s=function(c){return!c||"left"in c&&"top"in c||((c=x({},c)).left=c.x||0,c.top=c.y||0,c.right=c.right||c.left+c.width,c.bottom=c.bottom||c.top+c.height),c}(a);e.x=Math.max(Math.min(s.right-o.right,e.x),s.left+o.left),e.y=Math.max(Math.min(s.bottom-o.bottom,e.y),s.top+o.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},dr=G(Re,"restrict"),vn={top:1/0,left:1/0,bottom:-1/0,right:-1/0},hn={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function gn(t,e){for(var n=0,r=["top","left","bottom","right"];n<r.length;n++){var i=r[n];i in t||(t[i]=e[i])}return t}var ge={noInner:vn,noOuter:hn,start:function(t){var e,n=t.interaction,r=t.startOffset,i=t.state,o=i.options;o&&(e=Te(Z(o.offset,n,n.coords.start.page))),e=e||{x:0,y:0},i.offset={top:e.y+r.top,left:e.x+r.left,bottom:e.y-r.bottom,right:e.x-r.right}},set:function(t){var e=t.coords,n=t.edges,r=t.interaction,i=t.state,o=i.offset,a=i.options;if(n){var s=x({},e),c=Z(a.inner,r,s)||{},u=Z(a.outer,r,s)||{};gn(c,vn),gn(u,hn),n.top?e.y=Math.min(Math.max(u.top+o.top,s.y),c.top+o.top):n.bottom&&(e.y=Math.max(Math.min(u.bottom+o.bottom,s.y),c.bottom+o.bottom)),n.left?e.x=Math.min(Math.max(u.left+o.left,s.x),c.left+o.left):n.right&&(e.x=Math.max(Math.min(u.right+o.right,s.x),c.right+o.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},vr=G(ge,"restrictEdges"),hr=x({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(t){}},Re.defaults),gr=G({start:Re.start,set:Re.set,defaults:hr},"restrictRect"),mr={width:-1/0,height:-1/0},yr={width:1/0,height:1/0},br=G({start:function(t){return ge.start(t)},set:function(t){var e=t.interaction,n=t.state,r=t.rect,i=t.edges,o=n.options;if(i){var a=Ne(Z(o.min,e,t.coords))||mr,s=Ne(Z(o.max,e,t.coords))||yr;n.options={endOnly:o.endOnly,inner:x({},ge.noInner),outer:x({},ge.noOuter)},i.top?(n.options.inner.top=r.bottom-a.height,n.options.outer.top=r.bottom-s.height):i.bottom&&(n.options.inner.bottom=r.top+a.height,n.options.outer.bottom=r.top+s.height),i.left?(n.options.inner.left=r.right-a.width,n.options.outer.left=r.right-s.width):i.right&&(n.options.inner.right=r.left+a.width,n.options.outer.right=r.left+s.width),ge.set(t),n.options=o}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),ft={start:function(t){var e,n=t.interaction,r=t.interactable,i=t.element,o=t.rect,a=t.state,s=t.startOffset,c=a.options,u=c.offsetWithOrigin?function(f){var h=f.interaction.element,v=Te(se(f.state.options.origin,null,null,[h])),g=v||ce(f.interactable,h,f.interaction.prepared.name);return g}(t):{x:0,y:0};if(c.offset==="startCoords")e={x:n.coords.start.page.x,y:n.coords.start.page.y};else{var l=se(c.offset,r,i,[n]);(e=Te(l)||{x:0,y:0}).x+=u.x,e.y+=u.y}var p=c.relativePoints;a.offsets=o&&p&&p.length?p.map(function(f,h){return{index:h,relativePoint:f,x:s.left-o.width*f.x+e.x,y:s.top-o.height*f.y+e.y}}):[{index:0,relativePoint:null,x:e.x,y:e.y}]},set:function(t){var e=t.interaction,n=t.coords,r=t.state,i=r.options,o=r.offsets,a=ce(e.interactable,e.element,e.prepared.name),s=x({},n),c=[];i.offsetWithOrigin||(s.x-=a.x,s.y-=a.y);for(var u=0,l=o;u<l.length;u++)for(var p=l[u],f=s.x-p.x,h=s.y-p.y,v=0,g=i.targets.length;v<g;v++){var y=i.targets[v],m=void 0;(m=d.func(y)?y(f,h,e._proxy,p,v):y)&&c.push({x:(d.number(m.x)?m.x:f)+p.x,y:(d.number(m.y)?m.y:h)+p.y,range:d.number(m.range)?m.range:i.range,source:y,index:v,offset:p})}for(var b={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},T=0;T<c.length;T++){var _=c[T],w=_.range,S=_.x-s.x,M=_.y-s.y,P=le(S,M),z=P<=w;w===1/0&&b.inRange&&b.range!==1/0&&(z=!1),b.target&&!(z?b.inRange&&w!==1/0?P/w<b.distance/b.range:w===1/0&&b.range!==1/0||P<b.distance:!b.inRange&&P<b.distance)||(b.target=_,b.distance=P,b.range=w,b.inRange=z,b.delta.x=S,b.delta.y=M)}return b.inRange&&(n.x=b.target.x,n.y=b.target.y),r.closest=b,b},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},xr=G(ft,"snap"),je={start:function(t){var e=t.state,n=t.edges,r=e.options;if(!n)return null;t.state={options:{targets:null,relativePoints:[{x:n.left?0:1,y:n.top?0:1}],offset:r.offset||"self",origin:{x:0,y:0},range:r.range}},e.targetFields=e.targetFields||[["width","height"],["x","y"]],ft.start(t),e.offsets=t.state.offsets,t.state=e},set:function(t){var e=t.interaction,n=t.state,r=t.coords,i=n.options,o=n.offsets,a={x:r.x-o[0].x,y:r.y-o[0].y};n.options=x({},i),n.options.targets=[];for(var s=0,c=i.targets||[];s<c.length;s++){var u=c[s],l=void 0;if(l=d.func(u)?u(a.x,a.y,e):u){for(var p=0,f=n.targetFields;p<f.length;p++){var h=f[p],v=h[0],g=h[1];if(v in l||g in l){l.x=l[v],l.y=l[g];break}}n.options.targets.push(l)}}var y=ft.set(t);return n.options=i,y},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},wr=G(je,"snapSize"),dt={aspectRatio:fr,restrictEdges:vr,restrict:dr,restrictRect:gr,restrictSize:br,snapEdges:G({start:function(t){var e=t.edges;return e?(t.state.targetFields=t.state.targetFields||[[e.left?"left":"right",e.top?"top":"bottom"]],je.start(t)):null},set:je.set,defaults:x(re(je.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:xr,snapSize:wr,spring:Ce,avoid:Ce,transform:Ce,rubberband:Ce},Er={id:"modifiers",install:function(t){var e=t.interactStatic;for(var n in t.usePlugin(Jt),t.usePlugin(cr),e.modifiers=dt,dt){var r=dt[n],i=r._defaults,o=r._methods;i._methods=o,t.defaults.perAction[n]=i}}},Tr=Er,mn=function(t){oe(n,t);var e=ae(n);function n(r,i,o,a,s,c){var u;if(k(this,n),_e(be(u=e.call(this,s)),o),o!==i&&_e(be(u),i),u.timeStamp=c,u.originalEvent=o,u.type=r,u.pointerId=ue(i),u.pointerType=At(i),u.target=a,u.currentTarget=null,r==="tap"){var l=s.getPointerIndex(i);u.dt=u.timeStamp-s.pointers[l].downTime;var p=u.timeStamp-s.tapTime;u.double=!!s.prevTap&&s.prevTap.type!=="doubletap"&&s.prevTap.target===u.target&&p<500}else r==="doubletap"&&(u.dt=i.timeStamp-s.tapTime,u.double=!0);return u}return D(n,[{key:"_subtractOrigin",value:function(r){var i=r.x,o=r.y;return this.pageX-=i,this.pageY-=o,this.clientX-=i,this.clientY-=o,this}},{key:"_addOrigin",value:function(r){var i=r.x,o=r.y;return this.pageX+=i,this.pageY+=o,this.clientX+=i,this.clientY+=o,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),n}(ke),me={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(t){t.pointerEvents=me,t.defaults.actions.pointerEvents=me.defaults,x(t.actions.phaselessTypes,me.types)},listeners:{"interactions:new":function(t){var e=t.interaction;e.prevTap=null,e.tapTime=0},"interactions:update-pointer":function(t){var e=t.down,n=t.pointerInfo;!e&&n.hold||(n.hold={duration:1/0,timeout:null})},"interactions:move":function(t,e){var n=t.interaction,r=t.pointer,i=t.event,o=t.eventTarget;t.duplicate||n.pointerIsDown&&!n.pointerWasMoved||(n.pointerIsDown&&vt(t),U({interaction:n,pointer:r,event:i,eventTarget:o,type:"move"},e))},"interactions:down":function(t,e){(function(n,r){for(var i=n.interaction,o=n.pointer,a=n.event,s=n.eventTarget,c=n.pointerIndex,u=i.pointers[c].hold,l=_t(s),p={interaction:i,pointer:o,event:a,eventTarget:s,type:"hold",targets:[],path:l,node:null},f=0;f<l.length;f++){var h=l[f];p.node=h,r.fire("pointerEvents:collect-targets",p)}if(p.targets.length){for(var v=1/0,g=0,y=p.targets;g<y.length;g++){var m=y[g].eventable.options.holdDuration;m<v&&(v=m)}u.duration=v,u.timeout=setTimeout(function(){U({interaction:i,eventTarget:s,pointer:o,event:a,type:"hold"},r)},v)}})(t,e),U(t,e)},"interactions:up":function(t,e){vt(t),U(t,e),function(n,r){var i=n.interaction,o=n.pointer,a=n.event,s=n.eventTarget;i.pointerWasMoved||U({interaction:i,eventTarget:s,pointer:o,event:a,type:"tap"},r)}(t,e)},"interactions:cancel":function(t,e){vt(t),U(t,e)}},PointerEvent:mn,fire:U,collectEventTargets:yn,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:!0,move:!0,up:!0,cancel:!0,tap:!0,doubletap:!0,hold:!0}};function U(t,e){var n=t.interaction,r=t.pointer,i=t.event,o=t.eventTarget,a=t.type,s=t.targets,c=s===void 0?yn(t,e):s,u=new mn(a,r,i,o,n,e.now());e.fire("pointerEvents:new",{pointerEvent:u});for(var l={interaction:n,pointer:r,event:i,eventTarget:o,targets:c,type:a,pointerEvent:u},p=0;p<c.length;p++){var f=c[p];for(var h in f.props||{})u[h]=f.props[h];var v=ce(f.eventable,f.node);if(u._subtractOrigin(v),u.eventable=f.eventable,u.currentTarget=f.node,f.eventable.fire(u),u._addOrigin(v),u.immediatePropagationStopped||u.propagationStopped&&p+1<c.length&&c[p+1].node!==u.currentTarget)break}if(e.fire("pointerEvents:fired",l),a==="tap"){var g=u.double?U({interaction:n,pointer:r,event:i,eventTarget:o,type:"doubletap"},e):u;n.prevTap=g,n.tapTime=g.timeStamp}return u}function yn(t,e){var n=t.interaction,r=t.pointer,i=t.event,o=t.eventTarget,a=t.type,s=n.getPointerIndex(r),c=n.pointers[s];if(a==="tap"&&(n.pointerWasMoved||!c||c.downTarget!==o))return[];for(var u=_t(o),l={interaction:n,pointer:r,event:i,eventTarget:o,type:a,path:u,targets:[],node:null},p=0;p<u.length;p++){var f=u[p];l.node=f,e.fire("pointerEvents:collect-targets",l)}return a==="hold"&&(l.targets=l.targets.filter(function(h){var v,g;return h.eventable.options.holdDuration===((v=n.pointers[s])==null||(g=v.hold)==null?void 0:g.duration)})),l.targets}function vt(t){var e=t.interaction,n=t.pointerIndex,r=e.pointers[n].hold;r&&r.timeout&&(clearTimeout(r.timeout),r.timeout=null)}var Sr=Object.freeze({__proto__:null,default:me});function _r(t){var e=t.interaction;e.holdIntervalHandle&&(clearInterval(e.holdIntervalHandle),e.holdIntervalHandle=null)}var Pr={id:"pointer-events/holdRepeat",install:function(t){t.usePlugin(me);var e=t.pointerEvents;e.defaults.holdRepeatInterval=0,e.types.holdrepeat=t.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(t,e){return t["pointerEvents:".concat(e)]=_r,t},{"pointerEvents:new":function(t){var e=t.pointerEvent;e.type==="hold"&&(e.count=(e.count||0)+1)},"pointerEvents:fired":function(t,e){var n=t.interaction,r=t.pointerEvent,i=t.eventTarget,o=t.targets;if(r.type==="hold"&&o.length){var a=o[0].eventable.options.holdRepeatInterval;a<=0||(n.holdIntervalHandle=setTimeout(function(){e.pointerEvents.fire({interaction:n,eventTarget:i,type:"hold",pointer:r,event:r},e)},a))}}})},Or=Pr,kr={id:"pointer-events/interactableTargets",install:function(t){var e=t.Interactable;e.prototype.pointerEvents=function(r){return x(this.events.options,r),this};var n=e.prototype._backCompatOption;e.prototype._backCompatOption=function(r,i){var o=n.call(this,r,i);return o===this&&(this.events.options[r]=i),o}},listeners:{"pointerEvents:collect-targets":function(t,e){var n=t.targets,r=t.node,i=t.type,o=t.eventTarget;e.interactables.forEachMatch(r,function(a){var s=a.events,c=s.options;s.types[i]&&s.types[i].length&&a.testIgnoreAllow(c,r,o)&&n.push({node:r,eventable:s,props:{interactable:a}})})},"interactable:new":function(t){var e=t.interactable;e.events.getRect=function(n){return e.getRect(n)}},"interactable:set":function(t,e){var n=t.interactable,r=t.options;x(n.events.options,e.pointerEvents.defaults),x(n.events.options,r.pointerEvents||{})}}},Dr=kr,Ir={id:"pointer-events",install:function(t){t.usePlugin(Sr),t.usePlugin(Or),t.usePlugin(Dr)}},Mr=Ir,zr={id:"reflow",install:function(t){var e=t.Interactable;t.actions.phases.reflow=!0,e.prototype.reflow=function(n){return function(r,i,o){for(var a=r.getAllElements(),s=o.window.Promise,c=s?[]:null,u=function(){var p=a[l],f=r.getRect(p);if(!f)return 1;var h,v=fe(o.interactions.list,function(m){return m.interacting()&&m.interactable===r&&m.element===p&&m.prepared.name===i.name});if(v)v.move(),c&&(h=v._reflowPromise||new s(function(m){v._reflowResolve=m}));else{var g=Ne(f),y=function(m){return{coords:m,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}}({page:{x:g.x,y:g.y},client:{x:g.x,y:g.y},timeStamp:o.now()});h=function(m,b,T,_,w){var S=m.interactions.new({pointerType:"reflow"}),M={interaction:S,event:w,pointer:w,eventTarget:T,phase:"reflow"};S.interactable=b,S.element=T,S.prevEvent=w,S.updatePointer(w,w,T,!0),Dt(S.coords.delta),nt(S.prepared,_),S._doPhase(M);var P=m.window,z=P.Promise,j=z?new z(function(B){S._reflowResolve=B}):void 0;return S._reflowPromise=j,S.start(_,b,T),S._interacting?(S.move(M),S.end(w)):(S.stop(),S._reflowResolve()),S.removePointer(w,w),j}(o,r,p,i,y)}c&&c.push(h)},l=0;l<a.length&&!u();l++);return c&&s.all(c).then(function(){return r})}(this,n,t)}},listeners:{"interactions:stop":function(t,e){var n=t.interaction;n.pointerType==="reflow"&&(n._reflowResolve&&n._reflowResolve(),function(r,i){r.splice(r.indexOf(i),1)}(e.interactions.list,n))}}},Ar=zr;if(I.use($t),I.use(nn),I.use(Mr),I.use($n),I.use(Tr),I.use(Xn),I.use(On),I.use(Dn),I.use(Ar),I.default=I,ee(F)==="object"&&F)try{F.exports=I}catch{}return I.default=I,I})})(Xe,Xe.exports);var jr=Xe.exports,Xr=Rr(jr);export{Xr as a};