@directus/app 13.3.1 → 13.3.2

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 (218) hide show
  1. package/dist/assets/{active-line-DOkqS8nR.js → active-line-D5lMcXO0.js} +1 -1
  2. package/dist/assets/{af-QK0Z7vM8.js → af-CtAxPgLs.js} +1 -1
  3. package/dist/assets/{apl-BOZwXlQK.js → apl-CmK4mYtR.js} +1 -1
  4. package/dist/assets/{ar-DZ-CqJ9MAAs.js → ar-DZ--db2Rti9.js} +1 -1
  5. package/dist/assets/{ar-MA-GMVh8tmv.js → ar-MA-BotDlsv6.js} +1 -1
  6. package/dist/assets/{ar-SA-CTZ83deX.js → ar-SA-vkpM3c3R.js} +1 -1
  7. package/dist/assets/{asciiarmor-DfARq0s9.js → asciiarmor-CATh25hE.js} +1 -1
  8. package/dist/assets/{asn.1-DJPyVNs4.js → asn.1-HU2bL2uv.js} +1 -1
  9. package/dist/assets/{asterisk-vhKDLdJ_.js → asterisk-QKiFQwfb.js} +1 -1
  10. package/dist/assets/{autorefresh-DgBBza0B.js → autorefresh-C4M5U0dD.js} +1 -1
  11. package/dist/assets/{az-x85zLuTS.js → az-DAjqINie.js} +1 -1
  12. package/dist/assets/{be-u-5DKcCC.js → be-BlfzlxYm.js} +1 -1
  13. package/dist/assets/{bg-DfE9eXcf.js → bg-CupPYu6G.js} +1 -1
  14. package/dist/assets/{bn-DkWPy0tr.js → bn-B5WcKd0N.js} +1 -1
  15. package/dist/assets/{brainfuck-B6G65tiu.js → brainfuck-DJkmNzqT.js} +1 -1
  16. package/dist/assets/{ca-B9po9kjw.js → ca-DsaQHIIi.js} +1 -1
  17. package/dist/assets/{clike-DnNES1Uc.js → clike-yQn4YGNp.js} +1 -1
  18. package/dist/assets/{clojure-BuVzAgfD.js → clojure-DrPtdRMD.js} +1 -1
  19. package/dist/assets/{cmake-D7Dz1HYt.js → cmake-3QuWc96X.js} +1 -1
  20. package/dist/assets/{cobol-ZUV592oj.js → cobol-D09Ee2iw.js} +1 -1
  21. package/dist/assets/{coffeescript-Byicj1_Q.js → coffeescript-DhRR1fYE.js} +1 -1
  22. package/dist/assets/{commonlisp-DwtzyTCj.js → commonlisp-DsqJK56W.js} +1 -1
  23. package/dist/assets/{crystal-DK4zEXnq.js → crystal--Oguxjyf.js} +1 -1
  24. package/dist/assets/{cs-B7HefZe4.js → cs-CDN-35Ms.js} +1 -1
  25. package/dist/assets/{css-B86Yjkyn.js → css-gD_FmLMr.js} +1 -1
  26. package/dist/assets/{cy-DwX4opP5.js → cy-Ch-wFNP-.js} +1 -1
  27. package/dist/assets/{cypher-BYmb07Ni.js → cypher-8lO1KeUb.js} +1 -1
  28. package/dist/assets/{d-yr6VIhf3.js → d-DzEm-Dtt.js} +1 -1
  29. package/dist/assets/{da-BbbQQ2P7.js → da-BXuEQQOW.js} +1 -1
  30. package/dist/assets/{dart-BMkrkerv.js → dart-aXYAPtjA.js} +1 -1
  31. package/dist/assets/{de-AT-Byz70Dx1.js → de-AT-BB-OnqrK.js} +1 -1
  32. package/dist/assets/{de-B4yCi-Rz.js → de-BQoX2jkD.js} +1 -1
  33. package/dist/assets/{diff-CC8nTawL.js → diff-CmCylBh0.js} +1 -1
  34. package/dist/assets/{django-CMew5yyh.js → django-CEwjGFJ2.js} +1 -1
  35. package/dist/assets/{dockerfile-p0xBZGfz.js → dockerfile-7_Hvq9kc.js} +1 -1
  36. package/dist/assets/{dtd-BXZMdSsM.js → dtd-D2K58Tq9.js} +1 -1
  37. package/dist/assets/{dylan-DDMDEd63.js → dylan-BUsdSKAd.js} +1 -1
  38. package/dist/assets/{ebnf-DqIr-68D.js → ebnf-NHDLjTtl.js} +1 -1
  39. package/dist/assets/{ecl-E1q1jdpM.js → ecl-a34c7aOV.js} +1 -1
  40. package/dist/assets/{eiffel-CbSaVBJo.js → eiffel-DQUgLHm9.js} +1 -1
  41. package/dist/assets/{el-DRChZNFR.js → el-CSIeMapt.js} +1 -1
  42. package/dist/assets/{elm-XTvWaSkL.js → elm-DoDyZjNr.js} +1 -1
  43. package/dist/assets/{en-AU-DiHNqn_I.js → en-AU-BthBzRDm.js} +1 -1
  44. package/dist/assets/{en-CA-uQvd_Z72.js → en-CA-uQFwtN_-.js} +1 -1
  45. package/dist/assets/{en-GB-CHwE3v10.js → en-GB-B2opPwu3.js} +1 -1
  46. package/dist/assets/{en-IN-BN8sT3UW.js → en-IN-yg-zgk66.js} +1 -1
  47. package/dist/assets/{en-NZ-JCl0ez5w.js → en-NZ-0fKgn0Eb.js} +1 -1
  48. package/dist/assets/{en-ZA-BIZvzceU.js → en-ZA-CJIDRBbI.js} +1 -1
  49. package/dist/assets/{eo-DE2bwszs.js → eo-CJONJlD2.js} +1 -1
  50. package/dist/assets/{erlang-BqKR--I0.js → erlang-BqEY3OxW.js} +1 -1
  51. package/dist/assets/{es-DLVqxyYT.js → es-C19LaWl9.js} +1 -1
  52. package/dist/assets/{et-Bxa449JP.js → et-Dfq-4YKT.js} +1 -1
  53. package/dist/assets/{eu-v_oyuzlV.js → eu-B7YhTU0-.js} +1 -1
  54. package/dist/assets/{fa-IR-CpuUgfGx.js → fa-IR-WYq-J512.js} +1 -1
  55. package/dist/assets/{factor-CIYnTw_d.js → factor-sldlz2kU.js} +1 -1
  56. package/dist/assets/{fcl-DedB-k9Z.js → fcl-WLMku7d9.js} +1 -1
  57. package/dist/assets/{fi-Bo2yPDkx.js → fi-DfjvY2f9.js} +1 -1
  58. package/dist/assets/{forth-BvXdgHSM.js → forth-DvK9XmRq.js} +1 -1
  59. package/dist/assets/{fortran-DLW2Fl6q.js → fortran-DHkJYWi-.js} +1 -1
  60. package/dist/assets/{fr-CA-Dyg0KC_Y.js → fr-CA-B6j5tMiD.js} +1 -1
  61. package/dist/assets/{fr-CH-CnrHkYdv.js → fr-CH-DWsYXfiO.js} +1 -1
  62. package/dist/assets/{fr-BB2WSolI.js → fr-DKzp-UcX.js} +1 -1
  63. package/dist/assets/{gas-C69D2BFc.js → gas-D7tW0YtI.js} +1 -1
  64. package/dist/assets/{gd-LnPSIIFs.js → gd-D0oRYN1o.js} +1 -1
  65. package/dist/assets/{gfm-DgJBfiPv.js → gfm-CG5nsbD5.js} +1 -1
  66. package/dist/assets/{gherkin-CSnZY3FL.js → gherkin-DhIZ11OR.js} +1 -1
  67. package/dist/assets/{gl-CQvfpp_q.js → gl-BcLF-llx.js} +1 -1
  68. package/dist/assets/{go-FA1XqtDL.js → go-DEfxCHVZ.js} +1 -1
  69. package/dist/assets/{groovy-Cq4Mu1AO.js → groovy-B6LbkuNf.js} +1 -1
  70. package/dist/assets/{gu-BCMsXV3S.js → gu-B2hictcv.js} +1 -1
  71. package/dist/assets/{haml-CAnD9esH.js → haml-De_eT33B.js} +1 -1
  72. package/dist/assets/{handlebars-Bu5AmR8W.js → handlebars-B1GLfAAU.js} +1 -1
  73. package/dist/assets/{haskell-CjkhsdfP.js → haskell-DVSxAo3V.js} +1 -1
  74. package/dist/assets/{haskell-literate-D_WcFUrI.js → haskell-literate-CpYkzu7L.js} +1 -1
  75. package/dist/assets/{haxe-D0nSX28o.js → haxe-Dlu5ufsD.js} +1 -1
  76. package/dist/assets/{he-DUIRMeXA.js → he-28dyPClB.js} +1 -1
  77. package/dist/assets/{hi-CJVSNsIg.js → hi-Bwa9TeTD.js} +1 -1
  78. package/dist/assets/{hr-C2_UUAXn.js → hr-DAx6QxoD.js} +1 -1
  79. package/dist/assets/{ht-ChjtZP4M.js → ht-CLkZIayx.js} +1 -1
  80. package/dist/assets/{htmlembedded-cN6VpJMM.js → htmlembedded-ChYRKSp1.js} +1 -1
  81. package/dist/assets/{htmlmixed-B1IRsN6M.js → htmlmixed-BfUQC08i.js} +1 -1
  82. package/dist/assets/{htmlmixed-BfwkJpJa.js → htmlmixed-gaxxSKy8.js} +1 -1
  83. package/dist/assets/{http-Pv26tGJP.js → http-RQdHHT0V.js} +1 -1
  84. package/dist/assets/{hu-BU4WBEGS.js → hu-DH6ERHzM.js} +1 -1
  85. package/dist/assets/{hy-DZRyZj0J.js → hy-Cqkb8MqA.js} +1 -1
  86. package/dist/assets/{id-CnA0EDCP.js → id-C2xfcADp.js} +1 -1
  87. package/dist/assets/{idl-akBRK2ER.js → idl-BbQ_gSVF.js} +1 -1
  88. package/dist/assets/{index-DmU_0VAv.js → index-B7sDy_2R.js} +1 -1
  89. package/dist/assets/{index.D06-wa2x.entry.js → index.CkaPYycP.entry.js} +7 -7
  90. package/dist/assets/{input-rich-text-html-BL5rCZEl.js → input-rich-text-html-DIRD-70w.js} +1 -1
  91. package/dist/assets/{is-C0yLMAh7.js → is-BCbQ5PrX.js} +1 -1
  92. package/dist/assets/{isSameWeek--l8B1GmV.js → isSameWeek-BeH9lWV5.js} +1 -1
  93. package/dist/assets/{it-DwrcbY3n.js → it-CjghylfI.js} +1 -1
  94. package/dist/assets/{ja-L34MvzD6.js → ja-CZwJ2ssJ.js} +1 -1
  95. package/dist/assets/{javascript-hint-CuhISqdN.js → javascript-hint-C3vfck60.js} +1 -1
  96. package/dist/assets/{jinja2-f0IE2sKB.js → jinja2-Dj5U8XJE.js} +1 -1
  97. package/dist/assets/{jsx-CrYfbAK7.js → jsx-BwUrY5A-.js} +1 -1
  98. package/dist/assets/{julia-CCun02GJ.js → julia-BdOz7tyP.js} +1 -1
  99. package/dist/assets/{ka-C-4Clrnq.js → ka-CsIzm67V.js} +1 -1
  100. package/dist/assets/{kk-Cw0mtmiI.js → kk-Cjl9LYJo.js} +1 -1
  101. package/dist/assets/{kn-DLtLtKd6.js → kn-BOZ_GkKc.js} +1 -1
  102. package/dist/assets/{ko-DSFplP45.js → ko-D6pypTz6.js} +1 -1
  103. package/dist/assets/{lb-CW-ZayZr.js → lb-BfTrdFo4.js} +1 -1
  104. package/dist/assets/{livescript-BqAMTrvJ.js → livescript-DUO8XhIc.js} +1 -1
  105. package/dist/assets/{lt-CfzYSki3.js → lt-zcxfLljC.js} +1 -1
  106. package/dist/assets/{lua-D_csBpXh.js → lua-C-evgwTS.js} +1 -1
  107. package/dist/assets/{lv-Ch68MSPr.js → lv-C-0iUfnA.js} +1 -1
  108. package/dist/assets/{mark-selection-Bll8Wjwy.js → mark-selection-pmXp25bK.js} +1 -1
  109. package/dist/assets/{match-BBbWrTnb.js → match-BX3e4UHe.js} +1 -1
  110. package/dist/assets/{match-AR0hMtQd.js → match-DvbgZMXA.js} +1 -1
  111. package/dist/assets/{match-highlighter-BrdwdwLE.js → match-highlighter-CbyCOBrm.js} +1 -1
  112. package/dist/assets/{matchbrackets-DGPgZS9c.js → matchbrackets-Dw8OW5lo.js} +1 -1
  113. package/dist/assets/{mathematica-DC9r6wQh.js → mathematica-CWDn1mJG.js} +1 -1
  114. package/dist/assets/{mbox-DlFG5fDe.js → mbox-C-KWtko_.js} +1 -1
  115. package/dist/assets/{mirc-Cbat_185.js → mirc-O_U6z1Ze.js} +1 -1
  116. package/dist/assets/{mk-Bv0mpADb.js → mk-BlkbuoX2.js} +1 -1
  117. package/dist/assets/{mllike-CHDl2CVl.js → mllike-GuF4Hbco.js} +1 -1
  118. package/dist/assets/{mn-CgB9TrWs.js → mn-WB-bCCWD.js} +1 -1
  119. package/dist/assets/{modelica-C4fnr1AC.js → modelica-C6OOOzs4.js} +1 -1
  120. package/dist/assets/{ms-WZP6C0HT.js → ms-DyirGbcf.js} +1 -1
  121. package/dist/assets/{mscgen-cVCWk6hv.js → mscgen-BSvtX6w7.js} +1 -1
  122. package/dist/assets/{mt-ku5bKG93.js → mt-BJLbS-mR.js} +1 -1
  123. package/dist/assets/{multiplex-B2xeGc-A.js → multiplex-DYH-olvE.js} +1 -1
  124. package/dist/assets/{mumps-BMz_10cZ.js → mumps-DpG4pzCr.js} +1 -1
  125. package/dist/assets/{nb-CarjpQDO.js → nb-B6ghxJvv.js} +1 -1
  126. package/dist/assets/{nginx-DySuAa1c.js → nginx-bmgEwgug.js} +1 -1
  127. package/dist/assets/{nl-BE-CHwnGI5r.js → nl-BE-BK2IxS_6.js} +1 -1
  128. package/dist/assets/{nl-DkQM1viM.js → nl-BuZ2HIDe.js} +1 -1
  129. package/dist/assets/{nn-B600Q4aJ.js → nn-DxbDclyk.js} +1 -1
  130. package/dist/assets/{nsis-BgBW1c4r.js → nsis-Btuj81ca.js} +1 -1
  131. package/dist/assets/{ntriples-2rCZ9sll.js → ntriples-ChsUjdhA.js} +1 -1
  132. package/dist/assets/{octave-CWYio5nq.js → octave-WXc4FmLK.js} +1 -1
  133. package/dist/assets/{overlay-B3JeY1ml.js → overlay-BcKTqBUH.js} +1 -1
  134. package/dist/assets/{oz-qWFjNZZc.js → oz-C4bDyBA_.js} +1 -1
  135. package/dist/assets/{pascal-hQ2X9lcE.js → pascal-CGPZOXQ7.js} +1 -1
  136. package/dist/assets/{pegjs-BmueN3-i.js → pegjs-D7VdTJ4q.js} +1 -1
  137. package/dist/assets/{perl-BFHvd9S4.js → perl-Cwk0cuP4.js} +1 -1
  138. package/dist/assets/{php-sCc_Igrx.js → php-CLwoLBZL.js} +1 -1
  139. package/dist/assets/{pig-Ds-E2pYI.js → pig-DxoFc39L.js} +1 -1
  140. package/dist/assets/{pl-omMMspXs.js → pl-Dwe1q59H.js} +1 -1
  141. package/dist/assets/{powershell-CSzpOoCN.js → powershell-DU-Jx5im.js} +1 -1
  142. package/dist/assets/{properties-DAas1YN1.js → properties-CSMtZhhW.js} +1 -1
  143. package/dist/assets/{protobuf-D4NYoUEf.js → protobuf-u2oGq1Hf.js} +1 -1
  144. package/dist/assets/{pt-BR-Bh4XNiPP.js → pt-BR-CiLBfB72.js} +1 -1
  145. package/dist/assets/{pt-D7PmYjxG.js → pt-gnvsLlzK.js} +1 -1
  146. package/dist/assets/{pug-AP_6CGbd.js → pug-D4pU9kBN.js} +1 -1
  147. package/dist/assets/{puppet-BfyzjF_D.js → puppet-DTQdmefr.js} +1 -1
  148. package/dist/assets/{python-CcaEo5-w.js → python-DMlhfknp.js} +1 -1
  149. package/dist/assets/{q-BOC-3JAZ.js → q-o5dqtt7i.js} +1 -1
  150. package/dist/assets/{r-Ct64ZBee.js → r-CEksNeRX.js} +1 -1
  151. package/dist/assets/{ro-BQNnXPok.js → ro-D9zq-ZM4.js} +1 -1
  152. package/dist/assets/{rpm-B6CnC0W6.js → rpm-Dhotm2bl.js} +1 -1
  153. package/dist/assets/{rst-B6OAa1gi.js → rst-BK3-ns20.js} +1 -1
  154. package/dist/assets/{ru-BXgAL020.js → ru-Cc34PMzk.js} +1 -1
  155. package/dist/assets/{ruby-CiOyCwZP.js → ruby-BUO6bgwJ.js} +1 -1
  156. package/dist/assets/{ruby-CXdgbze5.js → ruby-D8xz1hHO.js} +1 -1
  157. package/dist/assets/{rust-DrYoPmzv.js → rust-CJc53FRo.js} +1 -1
  158. package/dist/assets/{sas-Cof1lTyf.js → sas-DCopKMef.js} +1 -1
  159. package/dist/assets/{sass-CjKImnd5.js → sass-pjAHbO8Y.js} +1 -1
  160. package/dist/assets/{scheme-Dsyhwkz4.js → scheme-BjB1hYjj.js} +1 -1
  161. package/dist/assets/{shell-6r7OAAHI.js → shell-meGWBvg2.js} +1 -1
  162. package/dist/assets/{show-hint-BbEm1NXP.js → show-hint-DXJH1t3T.js} +1 -1
  163. package/dist/assets/{sieve-B5uaGTXk.js → sieve-BtARcF9e.js} +1 -1
  164. package/dist/assets/{sk-FUlsbCzb.js → sk-aSuc1Dmp.js} +1 -1
  165. package/dist/assets/{sl-ZJ8cFFq-.js → sl-DlYUV_v7.js} +1 -1
  166. package/dist/assets/{slim-B-OKOsz-.js → slim-C9HoCfHw.js} +1 -1
  167. package/dist/assets/{smalltalk-DZrASCyN.js → smalltalk-Rjd4UfLc.js} +1 -1
  168. package/dist/assets/{smarty-Bx9WuSpi.js → smarty-CXbefUoN.js} +1 -1
  169. package/dist/assets/{solr-DyiTyO_f.js → solr-BMBbyxnz.js} +1 -1
  170. package/dist/assets/{soy-D5Q8uFUv.js → soy-BBeK__ag.js} +1 -1
  171. package/dist/assets/{sparql-BvbgIuZ-.js → sparql-BLgj8dOj.js} +1 -1
  172. package/dist/assets/{spreadsheet-BulguwxI.js → spreadsheet-Bx82A7Jn.js} +1 -1
  173. package/dist/assets/{sq-DC0NmclO.js → sq-Dpi_vkwh.js} +1 -1
  174. package/dist/assets/{sql-C7t-s4HO.js → sql-CR9XFSPH.js} +1 -1
  175. package/dist/assets/{sr-DGAo52ug.js → sr-B3kdOGuh.js} +1 -1
  176. package/dist/assets/{sr-Latn-4M9Dd3Ie.js → sr-Latn-DfXEA-NP.js} +1 -1
  177. package/dist/assets/{stex-DbZ7uLc9.js → stex-BBMrmz6j.js} +1 -1
  178. package/dist/assets/{stex-DNkpHLHK.js → stex-BuxSbX0V.js} +1 -1
  179. package/dist/assets/{stylus-CNd4wduW.js → stylus-BC0t7lM8.js} +1 -1
  180. package/dist/assets/{sv-BEpWOPin.js → sv-Cu33eT0T.js} +1 -1
  181. package/dist/assets/{swift-D9tFM_kr.js → swift-B5l1SXg-.js} +1 -1
  182. package/dist/assets/{ta-Bd2wp5w0.js → ta-DtpunFf6.js} +1 -1
  183. package/dist/assets/{tcl-BRnt_0ON.js → tcl-CA18lTOx.js} +1 -1
  184. package/dist/assets/{te-DCiJYG6O.js → te-C3DlHMTv.js} +1 -1
  185. package/dist/assets/{textile-B2m4MN4a.js → textile-c4vxSLTi.js} +1 -1
  186. package/dist/assets/{th-B-3gi1J2.js → th-8rnMvqb6.js} +1 -1
  187. package/dist/assets/{tiddlywiki-D74mVJHy.js → tiddlywiki-BkbmYwuQ.js} +1 -1
  188. package/dist/assets/{tiki-Dw2ZJRt-.js → tiki-BVTpAbH7.js} +1 -1
  189. package/dist/assets/{toml-Arl6Hvia.js → toml-B4C1ZkMu.js} +1 -1
  190. package/dist/assets/{tornado-D7upWyv5.js → tornado-B_w0RtKR.js} +1 -1
  191. package/dist/assets/{tr-lVDI6aE2.js → tr-Dt-z6LwF.js} +1 -1
  192. package/dist/assets/{troff-B0eKKWOO.js → troff-CR1kkxrN.js} +1 -1
  193. package/dist/assets/{ttcn-B23biCB1.js → ttcn-DAKYr4hx.js} +1 -1
  194. package/dist/assets/{ttcn-cfg-CTotLm1l.js → ttcn-cfg-Cv04FI1h.js} +1 -1
  195. package/dist/assets/{turtle-Cr0ct551.js → turtle-Bym0JfLs.js} +1 -1
  196. package/dist/assets/{twig-BMONwLHq.js → twig-3nXglmHb.js} +1 -1
  197. package/dist/assets/{ug-If3q_h-y.js → ug-SNxlKk-E.js} +1 -1
  198. package/dist/assets/{uk-xY5unVEG.js → uk-Caf8NU7j.js} +1 -1
  199. package/dist/assets/{uz-DDQKSBte.js → uz-CNddf2EJ.js} +1 -1
  200. package/dist/assets/{vb-DET2PI8T.js → vb-Cs81_I9S.js} +1 -1
  201. package/dist/assets/{vbscript-D1-T0p7_.js → vbscript-BDIq1EMB.js} +1 -1
  202. package/dist/assets/{velocity-FUHturnq.js → velocity-uI8mK2mc.js} +1 -1
  203. package/dist/assets/{verilog-CWR9C7Ga.js → verilog-CvlyXet6.js} +1 -1
  204. package/dist/assets/{vhdl-t41L5VoP.js → vhdl-C2J3CSdm.js} +1 -1
  205. package/dist/assets/{vi-BZyIj-rq.js → vi-CugaggVo.js} +1 -1
  206. package/dist/assets/{vue-D3vX0qz9.js → vue-BYXaNPR-.js} +1 -1
  207. package/dist/assets/{wast-BYJyix8o.js → wast-D9nW4KfC.js} +1 -1
  208. package/dist/assets/{webidl-Bsmkcsuu.js → webidl-0Ol_z4Jh.js} +1 -1
  209. package/dist/assets/{xml-COmIoMfi.js → xml-Dhz5NEpG.js} +1 -1
  210. package/dist/assets/{xquery-C2iwD4VG.js → xquery-FbxXa6W-.js} +1 -1
  211. package/dist/assets/{yacas-DZoKujGh.js → yacas-Dl0oVICc.js} +1 -1
  212. package/dist/assets/{yaml-DPRsqiNt.js → yaml-CGKst7N5.js} +1 -1
  213. package/dist/assets/{yaml-frontmatter-CzW-Ds7P.js → yaml-frontmatter-DrDC7Fdo.js} +1 -1
  214. package/dist/assets/{z80-DD9sSNtS.js → z80-BruEuo1V.js} +1 -1
  215. package/dist/assets/{zh-CN-ChvkWdbF.js → zh-CN-D2Hb3n0g.js} +1 -1
  216. package/dist/assets/{zh-TW-kfb6BcHI.js → zh-TW-DkAcCRNE.js} +1 -1
  217. package/dist/index.html +1 -1
  218. package/package.json +9 -9
@@ -1,4 +1,4 @@
1
- const __vite__fileDeps=["./af-QK0Z7vM8.js","./vue.runtime.esm-bundler-CQgeFuBy.js","./runtime-core.esm-bundler-BIDPbtkS.js","./index-DQ2f5FNW.js","./pinia.U-iWqNCJ.entry.js","./vue-i18n.CbdUlhRS.entry.js","./vue-router.C8ykGufy.entry.js","./ar-DZ-CqJ9MAAs.js","./ar-MA-GMVh8tmv.js","./ar-SA-CTZ83deX.js","./az-x85zLuTS.js","./be-u-5DKcCC.js","./isSameWeek--l8B1GmV.js","./bg-DfE9eXcf.js","./bn-DkWPy0tr.js","./ca-B9po9kjw.js","./cs-B7HefZe4.js","./cy-DwX4opP5.js","./da-BbbQQ2P7.js","./de-B4yCi-Rz.js","./match-BBbWrTnb.js","./de-AT-Byz70Dx1.js","./el-DRChZNFR.js","./en-AU-DiHNqn_I.js","./en-CA-uQvd_Z72.js","./en-GB-CHwE3v10.js","./en-IN-BN8sT3UW.js","./en-NZ-JCl0ez5w.js","./en-ZA-BIZvzceU.js","./eo-DE2bwszs.js","./es-DLVqxyYT.js","./et-Bxa449JP.js","./eu-v_oyuzlV.js","./fa-IR-CpuUgfGx.js","./fi-Bo2yPDkx.js","./fr-BB2WSolI.js","./match-AR0hMtQd.js","./formatRelative-Dv7OIDgt.js","./fr-CA-Dyg0KC_Y.js","./fr-CH-CnrHkYdv.js","./gd-LnPSIIFs.js","./gl-CQvfpp_q.js","./gu-BCMsXV3S.js","./he-DUIRMeXA.js","./hi-CJVSNsIg.js","./hr-C2_UUAXn.js","./ht-ChjtZP4M.js","./hu-BU4WBEGS.js","./hy-DZRyZj0J.js","./id-CnA0EDCP.js","./is-C0yLMAh7.js","./it-DwrcbY3n.js","./ja-L34MvzD6.js","./ka-C-4Clrnq.js","./kk-Cw0mtmiI.js","./kn-DLtLtKd6.js","./ko-DSFplP45.js","./lb-CW-ZayZr.js","./lt-CfzYSki3.js","./lv-Ch68MSPr.js","./mk-Bv0mpADb.js","./mn-CgB9TrWs.js","./ms-WZP6C0HT.js","./mt-ku5bKG93.js","./nb-CarjpQDO.js","./nl-DkQM1viM.js","./nl-BE-CHwnGI5r.js","./nn-B600Q4aJ.js","./pl-omMMspXs.js","./pt-D7PmYjxG.js","./pt-BR-Bh4XNiPP.js","./ro-BQNnXPok.js","./ru-BXgAL020.js","./sk-FUlsbCzb.js","./sl-ZJ8cFFq-.js","./sq-DC0NmclO.js","./sr-DGAo52ug.js","./sr-Latn-4M9Dd3Ie.js","./sv-BEpWOPin.js","./ta-Bd2wp5w0.js","./te-DCiJYG6O.js","./th-B-3gi1J2.js","./tr-lVDI6aE2.js","./ug-If3q_h-y.js","./uk-xY5unVEG.js","./uz-DDQKSBte.js","./vi-BZyIj-rq.js","./zh-CN-ChvkWdbF.js","./zh-TW-kfb6BcHI.js","./apl-BOZwXlQK.js","./asciiarmor-DfARq0s9.js","./asn.1-DJPyVNs4.js","./asterisk-vhKDLdJ_.js","./brainfuck-B6G65tiu.js","./clike-DnNES1Uc.js","./clojure-BuVzAgfD.js","./cmake-D7Dz1HYt.js","./cobol-ZUV592oj.js","./coffeescript-Byicj1_Q.js","./commonlisp-DwtzyTCj.js","./crystal-DK4zEXnq.js","./css-B86Yjkyn.js","./cypher-BYmb07Ni.js","./d-yr6VIhf3.js","./dart-BMkrkerv.js","./diff-CC8nTawL.js","./django-CMew5yyh.js","./htmlmixed-BfwkJpJa.js","./overlay-B3JeY1ml.js","./dockerfile-p0xBZGfz.js","./dtd-BXZMdSsM.js","./dylan-DDMDEd63.js","./ebnf-DqIr-68D.js","./ecl-E1q1jdpM.js","./eiffel-CbSaVBJo.js","./elm-XTvWaSkL.js","./erlang-BqKR--I0.js","./factor-CIYnTw_d.js","./fcl-DedB-k9Z.js","./forth-BvXdgHSM.js","./fortran-DLW2Fl6q.js","./gas-C69D2BFc.js","./gfm-DgJBfiPv.js","./gherkin-CSnZY3FL.js","./go-FA1XqtDL.js","./groovy-Cq4Mu1AO.js","./haml-CAnD9esH.js","./ruby-CiOyCwZP.js","./handlebars-Bu5AmR8W.js","./multiplex-B2xeGc-A.js","./haskell-CjkhsdfP.js","./haskell-literate-D_WcFUrI.js","./haxe-D0nSX28o.js","./htmlembedded-cN6VpJMM.js","./htmlmixed-B1IRsN6M.js","./http-Pv26tGJP.js","./idl-akBRK2ER.js","./jinja2-f0IE2sKB.js","./jsx-CrYfbAK7.js","./julia-CCun02GJ.js","./livescript-BqAMTrvJ.js","./lua-D_csBpXh.js","./mathematica-DC9r6wQh.js","./mbox-DlFG5fDe.js","./mirc-Cbat_185.js","./mllike-CHDl2CVl.js","./modelica-C4fnr1AC.js","./mscgen-cVCWk6hv.js","./mumps-BMz_10cZ.js","./nginx-DySuAa1c.js","./nsis-BgBW1c4r.js","./ntriples-2rCZ9sll.js","./octave-CWYio5nq.js","./oz-qWFjNZZc.js","./pascal-hQ2X9lcE.js","./pegjs-BmueN3-i.js","./perl-BFHvd9S4.js","./php-sCc_Igrx.js","./pig-Ds-E2pYI.js","./powershell-CSzpOoCN.js","./properties-DAas1YN1.js","./protobuf-D4NYoUEf.js","./pug-AP_6CGbd.js","./puppet-BfyzjF_D.js","./python-CcaEo5-w.js","./q-BOC-3JAZ.js","./r-Ct64ZBee.js","./rpm-B6CnC0W6.js","./rst-B6OAa1gi.js","./stex-DbZ7uLc9.js","./ruby-CXdgbze5.js","./rust-DrYoPmzv.js","./sas-Cof1lTyf.js","./sass-CjKImnd5.js","./scheme-Dsyhwkz4.js","./shell-6r7OAAHI.js","./sieve-B5uaGTXk.js","./slim-B-OKOsz-.js","./smalltalk-DZrASCyN.js","./smarty-Bx9WuSpi.js","./solr-DyiTyO_f.js","./soy-D5Q8uFUv.js","./sparql-BvbgIuZ-.js","./spreadsheet-BulguwxI.js","./sql-C7t-s4HO.js","./stex-DNkpHLHK.js","./stylus-CNd4wduW.js","./swift-D9tFM_kr.js","./tcl-BRnt_0ON.js","./textile-B2m4MN4a.js","./tiddlywiki-D74mVJHy.js","./tiki-Dw2ZJRt-.js","./toml-Arl6Hvia.js","./tornado-D7upWyv5.js","./troff-B0eKKWOO.js","./ttcn-B23biCB1.js","./ttcn-cfg-CTotLm1l.js","./turtle-Cr0ct551.js","./twig-BMONwLHq.js","./vb-DET2PI8T.js","./vbscript-D1-T0p7_.js","./velocity-FUHturnq.js","./verilog-CWR9C7Ga.js","./vhdl-t41L5VoP.js","./vue-D3vX0qz9.js","./wast-BYJyix8o.js","./webidl-Bsmkcsuu.js","./xml-COmIoMfi.js","./xquery-C2iwD4VG.js","./yacas-DZoKujGh.js","./yaml-DPRsqiNt.js","./yaml-frontmatter-CzW-Ds7P.js","./z80-DD9sSNtS.js","./jsonlint-C5dhOWx1.js","./active-line-DOkqS8nR.js","./mark-selection-Bll8Wjwy.js","./match-highlighter-BrdwdwLE.js","./autorefresh-DgBBza0B.js","./matchbrackets-DGPgZS9c.js","./show-hint-BbEm1NXP.js","./show-hint-BulL-OVZ.css","./javascript-hint-CuhISqdN.js","./input-rich-text-html-BL5rCZEl.js","./input-rich-text-html-D3fwtX_8.css","./index-DmU_0VAv.js","./index-DGK8ARCM.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
1
+ const __vite__fileDeps=["./af-CtAxPgLs.js","./vue.runtime.esm-bundler-CQgeFuBy.js","./runtime-core.esm-bundler-BIDPbtkS.js","./index-DQ2f5FNW.js","./pinia.U-iWqNCJ.entry.js","./vue-i18n.CbdUlhRS.entry.js","./vue-router.C8ykGufy.entry.js","./ar-DZ--db2Rti9.js","./ar-MA-BotDlsv6.js","./ar-SA-vkpM3c3R.js","./az-DAjqINie.js","./be-BlfzlxYm.js","./isSameWeek-BeH9lWV5.js","./bg-CupPYu6G.js","./bn-B5WcKd0N.js","./ca-DsaQHIIi.js","./cs-CDN-35Ms.js","./cy-Ch-wFNP-.js","./da-BXuEQQOW.js","./de-BQoX2jkD.js","./match-BX3e4UHe.js","./de-AT-BB-OnqrK.js","./el-CSIeMapt.js","./en-AU-BthBzRDm.js","./en-CA-uQFwtN_-.js","./en-GB-B2opPwu3.js","./en-IN-yg-zgk66.js","./en-NZ-0fKgn0Eb.js","./en-ZA-CJIDRBbI.js","./eo-CJONJlD2.js","./es-C19LaWl9.js","./et-Dfq-4YKT.js","./eu-B7YhTU0-.js","./fa-IR-WYq-J512.js","./fi-DfjvY2f9.js","./fr-DKzp-UcX.js","./match-DvbgZMXA.js","./formatRelative-Dv7OIDgt.js","./fr-CA-B6j5tMiD.js","./fr-CH-DWsYXfiO.js","./gd-D0oRYN1o.js","./gl-BcLF-llx.js","./gu-B2hictcv.js","./he-28dyPClB.js","./hi-Bwa9TeTD.js","./hr-DAx6QxoD.js","./ht-CLkZIayx.js","./hu-DH6ERHzM.js","./hy-Cqkb8MqA.js","./id-C2xfcADp.js","./is-BCbQ5PrX.js","./it-CjghylfI.js","./ja-CZwJ2ssJ.js","./ka-CsIzm67V.js","./kk-Cjl9LYJo.js","./kn-BOZ_GkKc.js","./ko-D6pypTz6.js","./lb-BfTrdFo4.js","./lt-zcxfLljC.js","./lv-C-0iUfnA.js","./mk-BlkbuoX2.js","./mn-WB-bCCWD.js","./ms-DyirGbcf.js","./mt-BJLbS-mR.js","./nb-B6ghxJvv.js","./nl-BuZ2HIDe.js","./nl-BE-BK2IxS_6.js","./nn-DxbDclyk.js","./pl-Dwe1q59H.js","./pt-gnvsLlzK.js","./pt-BR-CiLBfB72.js","./ro-D9zq-ZM4.js","./ru-Cc34PMzk.js","./sk-aSuc1Dmp.js","./sl-DlYUV_v7.js","./sq-Dpi_vkwh.js","./sr-B3kdOGuh.js","./sr-Latn-DfXEA-NP.js","./sv-Cu33eT0T.js","./ta-DtpunFf6.js","./te-C3DlHMTv.js","./th-8rnMvqb6.js","./tr-Dt-z6LwF.js","./ug-SNxlKk-E.js","./uk-Caf8NU7j.js","./uz-CNddf2EJ.js","./vi-CugaggVo.js","./zh-CN-D2Hb3n0g.js","./zh-TW-DkAcCRNE.js","./apl-CmK4mYtR.js","./asciiarmor-CATh25hE.js","./asn.1-HU2bL2uv.js","./asterisk-QKiFQwfb.js","./brainfuck-DJkmNzqT.js","./clike-yQn4YGNp.js","./clojure-DrPtdRMD.js","./cmake-3QuWc96X.js","./cobol-D09Ee2iw.js","./coffeescript-DhRR1fYE.js","./commonlisp-DsqJK56W.js","./crystal--Oguxjyf.js","./css-gD_FmLMr.js","./cypher-8lO1KeUb.js","./d-DzEm-Dtt.js","./dart-aXYAPtjA.js","./diff-CmCylBh0.js","./django-CEwjGFJ2.js","./htmlmixed-gaxxSKy8.js","./overlay-BcKTqBUH.js","./dockerfile-7_Hvq9kc.js","./dtd-D2K58Tq9.js","./dylan-BUsdSKAd.js","./ebnf-NHDLjTtl.js","./ecl-a34c7aOV.js","./eiffel-DQUgLHm9.js","./elm-DoDyZjNr.js","./erlang-BqEY3OxW.js","./factor-sldlz2kU.js","./fcl-WLMku7d9.js","./forth-DvK9XmRq.js","./fortran-DHkJYWi-.js","./gas-D7tW0YtI.js","./gfm-CG5nsbD5.js","./gherkin-DhIZ11OR.js","./go-DEfxCHVZ.js","./groovy-B6LbkuNf.js","./haml-De_eT33B.js","./ruby-BUO6bgwJ.js","./handlebars-B1GLfAAU.js","./multiplex-DYH-olvE.js","./haskell-DVSxAo3V.js","./haskell-literate-CpYkzu7L.js","./haxe-Dlu5ufsD.js","./htmlembedded-ChYRKSp1.js","./htmlmixed-BfUQC08i.js","./http-RQdHHT0V.js","./idl-BbQ_gSVF.js","./jinja2-Dj5U8XJE.js","./jsx-BwUrY5A-.js","./julia-BdOz7tyP.js","./livescript-DUO8XhIc.js","./lua-C-evgwTS.js","./mathematica-CWDn1mJG.js","./mbox-C-KWtko_.js","./mirc-O_U6z1Ze.js","./mllike-GuF4Hbco.js","./modelica-C6OOOzs4.js","./mscgen-BSvtX6w7.js","./mumps-DpG4pzCr.js","./nginx-bmgEwgug.js","./nsis-Btuj81ca.js","./ntriples-ChsUjdhA.js","./octave-WXc4FmLK.js","./oz-C4bDyBA_.js","./pascal-CGPZOXQ7.js","./pegjs-D7VdTJ4q.js","./perl-Cwk0cuP4.js","./php-CLwoLBZL.js","./pig-DxoFc39L.js","./powershell-DU-Jx5im.js","./properties-CSMtZhhW.js","./protobuf-u2oGq1Hf.js","./pug-D4pU9kBN.js","./puppet-DTQdmefr.js","./python-DMlhfknp.js","./q-o5dqtt7i.js","./r-CEksNeRX.js","./rpm-Dhotm2bl.js","./rst-BK3-ns20.js","./stex-BBMrmz6j.js","./ruby-D8xz1hHO.js","./rust-CJc53FRo.js","./sas-DCopKMef.js","./sass-pjAHbO8Y.js","./scheme-BjB1hYjj.js","./shell-meGWBvg2.js","./sieve-BtARcF9e.js","./slim-C9HoCfHw.js","./smalltalk-Rjd4UfLc.js","./smarty-CXbefUoN.js","./solr-BMBbyxnz.js","./soy-BBeK__ag.js","./sparql-BLgj8dOj.js","./spreadsheet-Bx82A7Jn.js","./sql-CR9XFSPH.js","./stex-BuxSbX0V.js","./stylus-BC0t7lM8.js","./swift-B5l1SXg-.js","./tcl-CA18lTOx.js","./textile-c4vxSLTi.js","./tiddlywiki-BkbmYwuQ.js","./tiki-BVTpAbH7.js","./toml-B4C1ZkMu.js","./tornado-B_w0RtKR.js","./troff-CR1kkxrN.js","./ttcn-DAKYr4hx.js","./ttcn-cfg-Cv04FI1h.js","./turtle-Bym0JfLs.js","./twig-3nXglmHb.js","./vb-Cs81_I9S.js","./vbscript-BDIq1EMB.js","./velocity-uI8mK2mc.js","./verilog-CvlyXet6.js","./vhdl-C2J3CSdm.js","./vue-BYXaNPR-.js","./wast-D9nW4KfC.js","./webidl-0Ol_z4Jh.js","./xml-Dhz5NEpG.js","./xquery-FbxXa6W-.js","./yacas-Dl0oVICc.js","./yaml-CGKst7N5.js","./yaml-frontmatter-DrDC7Fdo.js","./z80-BruEuo1V.js","./jsonlint-C5dhOWx1.js","./active-line-D5lMcXO0.js","./mark-selection-pmXp25bK.js","./match-highlighter-CbyCOBrm.js","./autorefresh-C4M5U0dD.js","./matchbrackets-Dw8OW5lo.js","./show-hint-DXJH1t3T.js","./show-hint-BulL-OVZ.css","./javascript-hint-C3vfck60.js","./input-rich-text-html-DIRD-70w.js","./input-rich-text-html-D3fwtX_8.css","./index-B7sDy_2R.js","./index-DGK8ARCM.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
2
  var gX=Object.defineProperty;var yX=(n,e,t)=>e in n?gX(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Di=(n,e,t)=>(yX(n,typeof e!="symbol"?e+"":e,t),t),gx=(n,e,t)=>{if(!e.has(n))throw TypeError("Cannot "+t)};var dr=(n,e,t)=>(gx(n,e,"read from private field"),t?t.call(n):e.get(n)),zs=(n,e,t)=>{if(e.has(n))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(n):e.set(n,t)},tc=(n,e,t,i)=>(gx(n,e,"write to private field"),i?i.call(n,t):e.set(n,t),t);var Db=(n,e,t,i)=>({set _(o){tc(n,e,o,t)},get _(){return dr(n,e,i)}}),nd=(n,e,t)=>(gx(n,e,"access private method"),t);import{u as cm,w as Ji,b as _X,c as g1,d as Ty,v as sd,T as Md,a as nE,e as bX}from"./vue.runtime.esm-bundler-CQgeFuBy.js";import{e as jr,n as Mv,g as Fd,f as iE,h as Du,t as Ts,i as xX,j as oE,k as Cc,s as Y3,l as wX,o as kX,p as xR,q as wR,v as f5,w as y8,x as m3,y as oL,z as xk,A as CX,B as SX,C as kR,D as Bs,E as _8,F as Ks,G as EX,c as Zr,H as T7,r as Qh,I as Xc,T as AX,L as TX,J as CR,K as Gl,M as DX,N as i_,O as Xo,P as D7,Q as rE,R as LX,S as IX,a as Go,U as SR,V as ER,W as ug,X as MX,Y as FX,Z as p5,_ as ds,$ as PX,a0 as AR,m as ah,a1 as wk,a2 as h5,a3 as rL,a4 as aE,b as X0,a5 as g2,a6 as TR,a7 as OX,a8 as DR,a9 as LR,aa as RX,ab as sE,ac as IR,ad as MR,ae as FR,af as m5,u as X3,ag as zX,ah as Dy,ai as wp,aj as gv,ak as kk,d as dh,al as i3,am as $X,an as NX,ao as BX,ap as Mf,aq as fh,ar as jX,as as VX,at as HX,au as UX,av as qX,aw as WX,ax as GX,ay as YX,az as lE,aA as XX}from"./index-DQ2f5FNW.js";import{defineStore as dd,storeToRefs as Tl,createPinia as KX}from"./pinia.U-iWqNCJ.entry.js";import{f as Oe,e as Pt,c as Ce,be as G,b5 as j,aj as Re,ah as ye,J as hn,ai as We,bo as me,aY as hr,bs as vo,u as h,ao as ze,ak as ke,aW as yn,w as Wn,l as Yr,o as Dl,bd as gi,bH as I,aX as cr,aC as Cr,h as K0,y as T,bc as Si,bf as hi,bJ as Qt,r as If,i as Sc,bg as Uo,aV as Fr,Q as cE,aA as PR,b2 as ZX,n as ad,ba as JX,g as OR,aO as In,s as $h,bE as Z0,br as QX,am as Jr,j as RR,an as uE,bq as pv,bt as eK,aq as zR,a_ as tK,p as iv,aU as L7,by as hv,ap as nK,aZ as Ly,b8 as iK,b6 as oK,bL as rK,aS as aK,a as sK,a9 as dE,bw as $R,bA as NR,a$ as lK}from"./runtime-core.esm-bundler-BIDPbtkS.js";import{createI18n as cK,useI18n as un}from"./vue-i18n.CbdUlhRS.entry.js";import{onBeforeRouteUpdate as fE,onBeforeRouteLeave as I7,useRoute as ph,useRouter as Pr,RouterView as uK,createRouter as dK,createWebHistory as fK,useLink as BR}from"./vue-router.C8ykGufy.entry.js";function jR(n,e){for(var t=0;t<e.length;t++){const i=e[t];if(typeof i!="string"&&!Array.isArray(i)){for(const o in i)if(o!=="default"&&!(o in n)){const a=Object.getOwnPropertyDescriptor(i,o);a&&Object.defineProperty(n,o,a.get?a:{enumerable:!0,get:()=>i[o]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const r of a.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&i(r)}).observe(document,{childList:!0,subtree:!0});function t(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(o){if(o.ep)return;o.ep=!0;const a=t(o);fetch(o.href,a)}})();var b8={exports:{}};/**
3
3
  * @license
4
4
  * Lodash <https://lodash.com/>
@@ -49,7 +49,7 @@ function print() { __p += __j.call(arguments, '') }
49
49
 
50
50
  Please use **Flows** with the [Webhook / Request URL operation](https://docs.directus.io/app/flows/operations.html#webhook-request-url) instead.
51
51
  `,no_webhooks_copy:"No webhooks have been configured yet. Get started by creating one below.",no_notifications:"No Notifications",no_notifications_copy:"You're all caught up!",activity_log:"Activity Log",all_items:"All Items",any:"Any",csv:"CSV",no_collections:"No Collections",create_collection:"Create Collection",no_collections_copy_admin:"You don’t have any Collections yet. Click the button below to get started.",no_collections_copy:"You don’t have any Collections yet. Please contact your system administrator.",relationship_not_setup:"The relationship hasn't been configured correctly",no_singleton_relations:"Relationships to Singletons are not supported",display_template_not_setup:"The display template option is misconfigured",collection_field_not_setup:"The collection field option is misconfigured",select_a_collection:"Select a Collection",select_a_field:"Select a Field",active:"Active",move_to:"Move To...",copy:"Copy",copy_to:"Copy To...",no_other_dashboards_copy:"You don't have any other Dashboards yet.",inactive:"Inactive",users:"Users",roles:"Roles",activity:"Activity",activity_item:"Activity Item",action:"Action",ip_address:"IP Address",user_agent:"User Agent",origin:"Origin",webhooks:"Webhooks",decimals:"Decimals",value_decimals:"Value Decimals",min_value:"Min Value",max_value:"Max Value",automatic:"Automatic",field_width:"Field Width",add_filter:"Add Filter",upper_limit:"Upper limit...",lower_limit:"Lower limit...",user_directory:"User Directory",documentation:"Documentation",sidebar:"Sidebar",duration:"Duration",charset:"Charset",second:"second",file_moved:"File Moved",collection_created:"Collection Created",modified_on:"Modified On",card_size:"Card Size",sort_field:"Sort Field",add_sort_field:"Add Sort Field",sort:"Sort",status:"Status",remove:"Remove",toggle_manual_sorting:"Toggle Manual Sorting",bookmark_doesnt_exist:"Bookmark Doesn't Exist",bookmark_doesnt_exist_copy:"The bookmark you're trying to open couldn't be found.",bookmark_doesnt_exist_cta:"Return to collection",select_an_item:"Select an item...",edit:"Edit",edit_item:"Edit Item",enabled:"Enabled",partially_enabled:"Partially Enabled",enable_all:"Enable All",disable_all:"Disable All",enabled_dev_tooltip:"App extensions are always enabled in dev mode",disable_tfa:"Disable 2FA",admin_disable_tfa_text:"Are you sure you want to disable 2FA for this user?",tfa_setup:"Setup 2FA",tfa_scan_code:"Scan the code in your authenticator app to finish setting up 2FA",enter_otp_to_disable_tfa:"Enter the OTP to disable 2FA",create_account:"Create Account",account_created_successfully:"Account Created Successfully",auto_fill:"Auto Fill",corresponding_field:"Corresponding Field",errors:{COLLECTION_NOT_FOUND:"Collection doesn't exist",CONTAINS_NULL_VALUES:"Field contains null values",CONTENT_TOO_LARGE:"Submitted item/file is too large",FIELD_NOT_FOUND:"Field not found",FORBIDDEN:"Forbidden",GRAPHQL_VALIDATION:"GraphQL Validation",ILLEGAL_ASSET_TRANSFORMATION:"Image source too large to preview",INTERNAL_SERVER_ERROR:"Unexpected Error",INVALID_CONFIG:"Invalid config",INVALID_CREDENTIALS:"Wrong username or password",INVALID_FOREIGN_KEY:"Invalid foreign key",INVALID_IP:"IP Address not allowed",INVALID_OTP:"Wrong one-time password",INVALID_PAYLOAD:"Invalid payload",INVALID_PROVIDER:"User belongs to a different auth provider",INVALID_QUERY:"Invalid query",INVALID_TOKEN:"Invalid token",INVALID_USER:"Failed to authenticate user",ITEM_LIMIT_REACHED:"Item limit reached",ITEM_NOT_FOUND:"Item not found",LIMIT_EXCEEDED:"Limit exceeded",METHOD_NOT_ALLOWED:"Method not allowed",NOT_NULL_VIOLATION:"Value can't be null",RANGE_NOT_SATISFIABLE:"Invalid range",RECORD_NOT_UNIQUE:"Duplicate value detected",REQUESTS_EXCEEDED:"Requests limit reached",ROUTE_NOT_FOUND:"Not found",SERVICE_UNAVAILABLE:"Service Unavailable",TOKEN_EXPIRED:"Token expired",UNEXPECTED_RESPONSE:"Unexpected response",UNKNOWN:"Unexpected Error",UNPROCESSABLE_CONTENT:"Unprocessable Content",UNSUPPORTED_MEDIA_TYPE:"Unsupported media type",USER_SUSPENDED:"User Suspended",VALUE_OUT_OF_RANGE:"Value is out of range",VALUE_TOO_LONG:"Value is too long"},security:"Security",value_hashed:"Value Securely Hashed",bookmark_name:"Bookmark name...",create_bookmark:"Create Bookmark",edit_bookmark:"Edit Bookmark",edit_personal_bookmark:"Edit Personal Bookmark",edit_role_bookmark:"Edit Role Bookmark",edit_global_bookmark:"Edit Global Bookmark",cannot_edit_role_bookmarks:"Can't Edit Role Bookmarks",cannot_edit_global_bookmarks:"Can't Edit Global Bookmarks",bookmarks:"Bookmarks",presets:"Presets",unexpected_error:"Unexpected Error",unexpected_error_copy:"An unexpected error has occurred. Please try again.",copy_details:"Copy Details",no_app_access:"No App Access",no_app_access_copy:"This user isn't allowed to use the admin app.",password_reset_sent:"If you have an account, we've sent you a secure link to reset your password",password_reset_successful:"Password successfully reset",back:"Back",filter:"Filter",edit_image:"Edit Image",editing_image:"Editing Image",square:"Square",free:"Free",flip_horizontal:"Flip Horizontal",flip_vertical:"Flip Vertical",aspect_ratio:"Aspect Ratio",rotate:"Rotate",all_users:"All Users",delete_collection:"Delete Collection",update_collection_success:"Updated Collection",delete_collection_success:"Deleted Collection",make_collection_visible:"Make Collection Visible",make_collection_hidden:"Make Collection Hidden",make_folder_visible:"Make Folder Visible",make_folder_hidden:"Make Folder Hidden",goto_collection_content:"View Content",count_of_total_items:"{count} of {total} Items",start_end_of_count_items:"{start}-{end} of {count} Items",start_end_of_count_filtered_items:"{start}-{end} of {count} Filtered Items",delete_collection_are_you_sure:'Are you sure you want to delete the collection "{collection}"? This will delete the collection and all items in it. This action is permanent.',delete_folder_are_you_sure:'Are you sure you want to delete the folder "{folder}"? Nested folders and collections will be moved to the top most level.',delete_collection_peer_dependencies:"The following fields will be deleted as well, as they are related to the current collection.",collections_shown:"Collections Shown",visible_collections:"Visible Collections",hidden_collections:"Hidden Collections",show_hidden_collections:"Show Hidden Collections",hide_hidden_collections:"Hide Hidden Collections",show_header:"Show Header",unmanaged_collections:"Unconfigured Collections",system_collections:"System Collections",placeholder:"Placeholder",icon_left:"Icon Left",icon_right:"Icon Right",count_other_revisions:"{count} Other Revisions",font:"Font",sans_serif:"Sans Serif",serif:"Serif",monospace:"Monospace",divider:"Divider",color:"Color",circle:"Circle",empty_item:"Empty Item",log_in_with:"Log In with {provider}",conditional_styles:"Conditional Styles",advanced_settings:"Advanced Settings",advanced_filter:"Advanced Filter",delete_advanced_filter:"Delete Filter",change_advanced_filter_operator:"Change Operator",advanced:"Advanced",operators:{eq:"Equals",neq:"Doesn't equal",lt:"Less than",gt:"Greater than",lte:"Less than or equal to",gte:"Greater than or equal to",in:"Is one of",nin:"Is not one of",null:"Is null",nnull:"Isn't null",contains:"Contains",ncontains:"Doesn't contain",icontains:"Contains (insensitive)",starts_with:"Starts with",nstarts_with:"Doesn't start with",istarts_with:"Starts with (insensitive)",nistarts_with:"Doesn't start with (insensitive)",ends_with:"Ends with",nends_with:"Doesn't end with",iends_with:"Ends with (insensitive)",niends_with:"Doesn't end with (insensitive)",between:"Is between",nbetween:"Isn't between",empty:"Is empty",nempty:"Isn't empty",all:"Contains these keys",has:"Contains some of these keys",intersects:"Intersects",nintersects:"Doesn't intersect",intersects_bbox:"Intersects bounding box",nintersects_bbox:"Doesn't intersect bounding box",regex:"Matches RegExp"},custom_validation_message:"Custom Validation Message",loading:"Loading...",extension_readme_missing:"This extension does not have a README file.",drop_to_upload:"Drop to Upload",item:"Item",items:"Items",upload_file:"Upload File",upload_file_indeterminate:"Uploading File...",upload_file_success:"File Uploaded",upload_files_indeterminate:"Uploading files {done}/{total}",upload_files_success:"{count} Files Uploaded",upload_pending:"Upload Pending",drag_file_here:"Drag & Drop a File Here",click_to_browse:"Click to Browse",interface_options:"Interface Options",display_options:"Display Options",layout_options:"Layout Options",rows:"Rows",columns:"Columns",collection_setup:"Collection Setup",optional_system_fields:"Optional Fields",value_unique:"Value has to be unique",value_index:"Field is indexed",all_activity:"All Activity",create_item:"Create Item",display_template:"Display Template",language_display_template:"Language Display Template",translations_display_template:"Translations Display Template",n_items_selected:"No Items Selected | One Item Selected | {n} Items Selected",per_page:"Per Page",all_files:"All Files",my_files:"My Files",recent_files:"Recent Files",create_folder:"Create Folder",edit_folder:"Edit Folder",folder_name:"Folder Name...",folder_key:"Folder Key...",add_file:"Add File",replace_file:"Replace File",no_results:"No Results",no_results_copy:"Adjust or clear search filters to see results.",no_visible_fields:"Empty Form",no_visible_fields_copy:"This form has no visible fields.",clear_filters:"Clear Filters",saves_automatically:"Saves Automatically",role:"Role",edit_role:"Edit Role",rule:"Rule",user:"User",no_presets:"No Presets",no_presets_copy:"No presets or bookmarks have been saved yet.",no_presets_cta:"Add Preset",presets_only:"Presets Only",create:"Create",on_create:"On Create",on_update:"On Update",read:"Read",update:"Update",delete:"Delete",select_fields:"Select Fields",format_text:"Format Text",format_value:"Format Value",abbreviate_value:"Abbreviate Value",operator:"Operator",bold:"Bold",toggle:"Toggle",icon_on:"Icon On",icon_off:"Icon Off",label:"Label",flows:"Flows",flow:"Flow",select_a_flow:"Select a Flow",run_flow_confirm:"Are you sure you want to execute this flow?",run_flow_on_current_collection:"Run Flow on Current Collection",run_flow_on_current:"Run Flow on Current Item",run_flow_on_current_edited_confirm:"This item may be updated by this flow, are you sure you want to execute it?",run_flow_on_selected:"Select One or More Items First | Run Flow on 1 Selected Item | Run Flow on {n} Selected Items",run_flow:"Run Flow",run_flow_success:'Flow "{flow}" ran successfully',field_name_placeholder:"Enter field name...",field_key_placeholder:"Enter field key...",trigger:"Trigger",trigger_options:"Trigger Options",view_trigger:"View Trigger",create_trigger:"Create Trigger",trigger_setup:"Trigger Setup",change_trigger:"Change Trigger",flow_delete_confirm:'Are you sure you want to delete Flow "{flow}"? This action can not be undone.',set_flow_active:"Set Flow to Active",set_flow_inactive:"Set Flow to Inactive",edit_flow:"Edit Flow",delete_flow:"Delete Flow",no_other_flows_copy:"You don't have any other Flows yet.",no_flows:"No Flows",no_flows_copy:"You don't have any Flows yet.",create_flow:"Create Flow",creating_new_flow:"Creating New Flow",updating_flow:"Updating Flow",flow_setup:"Flow Setup",flow_name:"Name",flow_tracking:"Activity & Logs Tracking",flow_tracking_all:"Track Activity & Logs",flow_tracking_activity:"Only Track Activity",flow_tracking_null:"Do Not Track Anything",start_flow:"Start Flow",stop_flow:"Stop Flow",create_operation:"Create Operation",edit_operation:"Edit Operation",code:"Code",operation_options:"Operation Options",operation_name:"Name of operation...",operation_key:"Identifier for reference...",operation_key_unique_error:"Operation keys must be unique in a Flow",operation_handle_resolve:"Resolve: Click to Add or Drag to Reroute",operation_handle_reject:"Reject: Click to Add or Drag to Reroute",insights:"Insights",dashboard:"Dashboard",panel:"Panel",panel_options:"Panel Options",panel_header:"Panel Header",panel_name_placeholder:"Name this panel...",panel_note_placeholder:"Optional details about this panel...",panel_delete_confirm:"Are you sure you want to delete this panel? This action can not be undone.",list_panel_allow_edit:"Allow Inline Editing",dashboard_delete_confirm:"Are you sure you want to delete this dashboard? This action can not be undone.",edit_dashboard:"Edit Dashboard",delete_dashboard:"Delete Dashboard",visible:"Visible",prefix_placeholder:"Text before value...",suffix_placeholder:"Text after value...",decimals_placeholder:"Number of decimal places...",no_dashboards:"No Dashboards",no_dashboards_copy:"You don’t have any Dashboards yet.",create_dashboard:"Create Dashboard",dashboard_name:"Dashboard Name",no_data:"No Data",no_data_in_flow:"No data was produced or accessed within this Flow",accountability:"Accountability",payload:"Payload",details:"Details",resume_streaming_logs:"Resume Streaming Logs",pause_streaming_logs:"Pause Streaming Logs",logs_session_resumed:"Logs session resumed...",logs_session_paused:"Logs session paused...",logs_stream_disconnected:"Logs stream disconnected...",log_detail_filter_paths:"Filter Paths (eg: req.method, res.statusCode)",logs_beginning:"This is the beginning of your logs session...",logs_waiting:"Awaiting more logs...",logs_unread_count:"{count} unread",clear_logs:"Clear Logs",search_logs:"Search Logs...",all_instances:"All Instances",instance_count:"No Instance | One Instance | {count} Instances",all_log_levels:"All Log Levels",log_level_count:"No Log Level | One Log Level | {count} Log Levels",soft_wrap_lines:"Soft Wrap Lines",full_screen:"Full Screen",full_text_search:"Full-Text Search",edit_panels:"Edit Panels",center_align:"Center Align",left_align:"Left Align",right_align:"Right Align",fit_to_screen:"Fit to Screen",image_url:"Image Url",alt_text:"Alternative Text",media:"Media",quality:"Quality",width:"Width",height:"Height",transformation_preset_key:"Transformation Preset Key",source:"Source",url_placeholder:"Enter an url...",display_text:"Display Text",display_text_placeholder:"Enter a display text...",interface_group_text_and_numbers:"Text & Numbers",interface_group_selection:"Selection",interface_group_relational:"Relational",interface_group_presentation:"Presentation",interface_group_groups:"Groups",interface_group_other:"Other",tooltip:"Tooltip",tooltip_placeholder:"Enter a tooltip...",unlimited:"Unlimited",open_link_in:"Open link in",new_tab:"New Tab",save_image:"Save Image",save_media:"Save Media",wysiwyg_options:{aligncenter:"Align Center",alignjustify:"Align Justify",alignleft:"Align Left",alignnone:"Align None",alignright:"Align Right",forecolor:"Foreground Color",backcolor:"Background Color",bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript",codeblock:"Code",blockquote:"Blockquote",bullist:"Bullet List",numlist:"Numbered List",hr:"Horizontal Rule",link:"Add/Edit Link",unlink:"Remove Link",media:"Add/Edit Media",image:"Add/Edit Image",copy:"Copy",cut:"Cut",paste:"Paste",heading:"Heading",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",h6:"Heading 6",fontselect:"Select Font",fontsizeselect:"Select Font Size",indent:"Indent",outdent:"Outdent",undo:"Undo",redo:"Redo",remove:"Remove",removeformat:"Remove Format",selectall:"Select All",table:"Table",visualaid:"View invisible elements",source_code:"Edit Source Code",fullscreen:"Full Screen",directionality:"Directionality",lazy_loading:"Lazy Load Image",lazy_loading_label:"Enable Lazy Loading"},dropdown:"Dropdown",choices:"Choices",choices_option_configured_incorrectly:"Choices configured incorrectly",deselect:"Deselect",deselect_all:"Deselect All",theme:"Theme",select_a_theme:"Select a Theme",default_sync_with_project:"Default (Sync with Project)",appearance_auto:"Automatic (Sync with System)",appearance_light:"Light",appearance_dark:"Dark",other:"Other...",adding_user:"Adding User",unknown_user:"Unknown User",creating_in:"Creating Item in {collection}",editing_in:"Editing Item in {collection}",viewing_in:"Viewing Item in {collection}",creating_unit:"Creating {unit}",editing_unit:"Editing {unit}",editing_in_batch:"Batch Editing {count} Items",no_options_available:"No options available",settings_data_model:"Data Model",settings_roles:"User Roles",settings_permissions:"Access Policies",settings_project:"Settings",settings_appearance:"Appearance",settings_webhooks:"Webhooks",settings_flows:"Flows",settings_system_logs:"System Logs",settings_presets:"Bookmarks",settings_translations:"Translations",one_or_more_options_are_missing:"One or more options are missing",configure_field_key_to_continue:"Configure field key to continue",scope:"Scope",actions:"Actions",select:"Select...",layout:"Layout",tree_view:"Tree View",changes_are_permanent:"Changes are permanent",preset_name_placeholder:"Serves as default when empty...",preset_search_placeholder:"Search query...",editing_preset:"Editing Preset",layout_preview:"Layout Preview",layout_setup:"Layout Setup",data:"Data","theme-overrides":"Theme Overrides",unsaved_changes:"Unsaved Changes",unsaved_changes_copy:"Are you sure you want to leave this page?",discard_changes:"Discard Changes",discard_all_changes:"Discard All Changes",discard_changes_copy:"Are you sure you want to discard all the changes made?",show_x_axis:"Show X Axis",show_y_axis:"Show Y Axis",keep_editing:"Keep Editing",page_help_collections_overview:"**Collections Overview** — List of all collections you have access to.",page_help_collections_collection:"**Browse Items** — Lists all {collection} items you have access to. Customize layout, filters, and sorting to tailor your view, and even save bookmarks of these different configurations for quick access.",page_help_collections_item:"**Item Detail** — A form for viewing and managing this item. This sidebar also contains a full history of revisions, and embedded comments.",page_help_activity_collection:"**Browse Activity** — A comprehensive listing of all your user's system and content activity.",page_help_docs_global:"**Documentation Overview** — Docs tailored specifically to this project's version and schema.",page_help_files_collection:"**File Library** — Lists all file assets uploaded to this project. Customize layout, filters, and sorting to tailor your view, and even save bookmarks of these different configurations for quick access.",page_help_files_item:"**File Detail** — A form for managing file metadata, editing the original asset, and updating access settings.",page_help_settings_project:"**Settings** — Your project's global configuration options.",page_help_settings_appearance:"**Appearance** — Your project's appearance and theming options.",page_help_settings_extensions:"**Extensions** — The extensions installed in your project.",page_help_settings_datamodel_collections:"**Data Model: Collections** — Lists all collections available. This includes visible, hidden, and system collections, as well as unmanaged database tables that can be added.",page_help_settings_datamodel_fields:"**Data Model: Collection** — A form for managing this collection and its fields.",page_help_settings_system_logs:"**System Logs** — Access a live stream of the system logs.",page_help_settings_policies_collection:"**Browse Policies** — Lists all policies within the project.",page_help_settings_policies_item:"**Policy Detail** — Manage a policy's permissions and other settings.",page_help_settings_roles_collection:"**Browse Roles** — Lists the all user roles within the project.",page_help_settings_roles_item:"**Role Detail** — Manage a role's permissions and other settings.",page_help_settings_presets_collection:"**Browse Presets** — Lists all presets in the project, including: user, role, and global bookmarks, as well as default views.",page_help_settings_presets_item:"**Preset Detail** — A form for managing bookmarks and default collection presets.",page_help_settings_webhooks_collection:"**Browse Webhooks** — Lists all webhooks within the project.",page_help_settings_webhooks_item:"**Webhook Detail** — A form for creating and managing project webhooks.",page_help_settings_flows_collection:"**Browse Flows** — Lists all Flows within the project.",page_help_settings_flows_item:"**Flow Detail** — Workspace for managing one or more operations.",page_help_settings_translations_collection:"**Browse Custom Translations** — Lists all custom translations within the project.",page_help_settings_translations_item:"**Custom Translations Detail** — A form for viewing and managing this item.",page_help_users_collection:"**User Directory** — Lists all system users within this project.",page_help_users_item:"**User Detail** — Manage your account information, or view the details of other users.",page_help_insights_overview:"**Insights** — List of dashboards you have access to.",page_help_insights_dashboard:"**Dashboard** — Workspace for managing one or more panels",page_help_marketplace_account:"**Account** — Publisher or maintainer of a published extension.",page_help_marketplace_registry:"**Registry** — Extensions available in the Directus Marketplace.",page_help_marketplace_extension:"**Extension** — Extension in the Directus Marketplace.",activity_feed:"Activity Feed",add_new:"Add New",create_new:"Create New",all:"All",none:"None",no_layout_collection_selected_yet:"No layout/collection selected yet",batch_delete_confirm:"No items have been selected | Are you sure you want to delete this item? This action can not be undone. | Are you sure you want to delete these {count} items? This action can not be undone.",cancel:"Cancel",no_upscale:"Don't upscale images",no_extensions:"No Extensions",no_extensions_copy:"No extensions have been installed yet.",install_extension:"Install Extension",uninstall_locked:"Cannot uninstall extensions that weren't installed through the Marketplace",uninstall:"Uninstall",installed:"Installed",reinstall:"Reinstall",open_in_marketplace:"Open in Marketplace",source_registry:"Marketplace",source_local:"Local",source_module:"Node Module",collection:"Collection",collections:"Collections",content:"Content",singleton:"Singleton",singleton_label:"Treat as single object",system_fields_locked:"System fields are locked and can't be edited",directus_collection:{directus_access:"Policy attachments",directus_activity:"Accountability logs for all events",directus_collections:"Additional collection configuration and metadata",directus_comments:"Comments for items",directus_dashboards:"Dashboards within the Insights module",directus_fields:"Additional field configuration and metadata",directus_files:"Metadata for all managed file assets",directus_flows:"Automation flows",directus_folders:"Provides virtual directories for files",directus_migrations:"What version of the database you're using",directus_notifications:"Notifications sent to users",directus_operations:"Operations that run in Flows",directus_panels:"Individual panels within Insights dashboards",directus_permissions:"Access permissions for each policy",directus_policies:"Access control policies",directus_presets:"Presets for collection defaults and bookmarks",directus_relations:"Relationship configuration and metadata",directus_revisions:"Data snapshots for all activity",directus_roles:"Permission groups for system users",directus_sessions:"User session information",directus_settings:"Project configuration options",directus_shares:"Tracks externally shared items",directus_users:"System users for the platform",directus_webhooks:"Configuration for event-based HTTP requests",directus_translations:"Custom translations",directus_versions:"Content Versions for items",directus_extensions:"Configuration of extensions"},fields:{directus_activity:{item:"Item Primary Key",action:"Action",collection:"Collection",timestamp:"Action On",user:"Action By",comment:"Comment",user_agent:"User Agent",origin:"Origin",ip:"IP Address",revisions:"Revisions"},directus_collections:{collection:"Collection",icon:"Icon",note:"Note",color:"Color",display_template:"Display Template",hidden:"Hidden",singleton:"Singleton",translations:"Collection Naming Translations",archive_app_filter:"Archive App Filter",archive_value:"Archive Value",unarchive_value:"Unarchive Value",sort_field:"Sort Field",accountability:"Activity & Revision Tracking",versioning:"Versioning",archive_field:"Archive Field",item_duplication_fields:"Item Duplication Fields"},directus_files:{$thumbnail:"Thumbnail",title:"Title",description:"Description",tags:"Tags",location:"Location",storage:"Storage",filename_disk:"Filename (Disk)",filename_download:"Filename (Download)",metadata:"Metadata",type:"Mime Type",filesize:"Filesize",modified_by:"Modified By",modified_on:"Modified On",created_on:"Created On",created_by:"Created By",embed:"Embed",uploaded_by:"Uploaded By",folder:"Folder",width:"Width",uploaded_on:"Uploaded On",height:"Height",charset:"Charset",duration:"Duration",focal_point_x:"X-Coordinate",focal_point_y:"Y-Coordinate"},directus_users:{first_name:"First Name",last_name:"Last Name",email:"Email",password:"Password",avatar:"Avatar",location:"Location",title:"Title",description:"Description",tags:"Tags",user_preferences:"User Preferences",language:"Language",tfa_secret:"Two-Factor Authentication",admin_options:"Admin Options",status:"Status",status_draft:"Draft",status_invited:"Invited",status_unverified:"Unverified",status_active:"Active",status_suspended:"Suspended",status_archived:"Archived",role:"Role",token:"Token",provider:"Provider",external_identifier:"External Identifier",last_page:"Last Page",last_access:"Last Access",email_notifications:"Email Notifications",appearance:"Appearance",theme_light:"Theme Light",theme_dark:"Theme Dark",theme_light_overrides:"Light Theme Customization",theme_dark_overrides:"Dark Theme Customization"},directus_settings:{jpg:"JPEG",png:"PNG",webP:"WebP",tiff:"Tiff",avif:"AVIF",reporting:"Reporting",mapping:"Mapping",basemaps:"Basemaps",basemaps_raster:"Raster",basemaps_tile:"Raster TileJSON",basemaps_style:"Mapbox Style",mapbox_key:"Mapbox Access Token",mapbox_placeholder:"pk.eyJ1Ijo.....",attribution:"Attribution",attribution_placeholder:"© OpenStreetMap contributors",transforms_note:"The Sharp method name and its arguments. See https://sharp.pixelplumbing.com/api-constructor for more information.",additional_transforms:"Additional Transformations",project_name:"Project Name",project_descriptor:"Project Descriptor",project_url:"Project URL",project_color:"Project Color",project_logo:"Project Logo",default_language:"Default Language",branding:"Branding",public_foreground:"Public Foreground",public_background:"Public Background",public_note:"Public Note",theming:"Theming Defaults",default_appearance:"Default Appearance",default_theme_light:"Default Theme Light",default_theme_dark:"Default Theme Dark",auth_password_policy:"Auth Password Policy",auth_login_attempts:"Auth Login Attempts",files_and_thumbnails:"Files & Storage",storage_default_folder:"Default Folder",storage_asset_presets:"Transformation Presets",storage_asset_transform:"Allowed Transformations",overrides:"App Overrides",custom_css:"Custom CSS",module_bar:"Module Bar",transformations_all:"Allow all transformations",transformations_none:"Disable transformations",transformations_presets:"Limit transformations to presets below",image_editor:"Image Editor",custom_aspect_ratios:"Custom Aspect Ratios",theme_light_overrides:"Light Theme Customization",theme_dark_overrides:"Dark Theme Customization",public_registration:"User Registration",public_registration_note:"Allows users to register via the [registration route](/admin/register).",public_registration_role:"User Role",public_registration_role_note:"This role is assigned to users who register using this method. Does not affect already registered users.",public_registration_email_filter:"Email Address Filter",public_registration_email_filter_note:"Only email addresses matching this filter can register.",public_registration_verify_email:"Verify Email",public_registration_verify_email_note:"Sends an email to the registering user asking them to click on a verification link before they can sign in."},directus_shares:{name:"Name",role:"Role",password:"Password",date_start:"Date Start",date_end:"Date End",max_uses:"Max Uses",times_used:"Times Used"},directus_fields:{collection:"Collection Name",icon:"Collection Icon",note:"Note",hidden:"Hidden",singleton:"Singleton",translation:"Field Name Translations",display_template:"Template"},directus_roles:{name:"Role Name",icon:"Role Icon",description:"Description",users:"Users in Role",parent:"Parent Role",children:"Child Roles"},directus_policies:{name:"Policy Name",description:"Description",app_access:"App Access",admin_access:"Admin Access",ip_access:"IP Access",enforce_tfa:"Require 2FA"},directus_webhooks:{name:"Name",method:"Method",status:"Status",data:"Data",header:"Header",value:"Value",headers:"Request Headers",data_label:"Send Event Data",triggers:"Triggers",actions:"Actions",collections:"Collections"}},field_options:{directus_settings:{project_name_placeholder:"My project...",project_color_note:"Login & Logo Background",project_logo_note:"White 40×40 SVG/PNG",project_favicon_note:"32×32 ICO",public_note_placeholder:"A short, public message that supports markdown formatting...",security_divider_title:"Security",auth_password_policy:{none_text:"None – Not Recommended",weak_text:"Weak – Minimum 8 Characters",strong_text:"Strong – Upper / Lowercase / Numbers / Special"},storage_asset_presets:{fit_label:"Fit",upscaling:"Upscaling",fit:{contain_text:"Contain (preserve aspect ratio)",cover_text:"Cover (forces exact size)",fit_text:"Fit inside",outside_text:"Fit outside"}},additional_transforms:"Additional Transformations",transforms_note:"The Sharp method name and its arguments. See https://sharp.pixelplumbing.com/api-constructor for more information.",mapbox_key:"Mapbox Access Token",mapbox_placeholder:"pk.eyJ1Ijo.....",basemaps:"Basemaps",basemaps_name_placeholder:"Enter the basemap name...",basemaps_raster:"Raster",basemaps_tile:"Raster TileJSON",basemaps_style:"Mapbox Style",files_divider_title:"Files & Thumbnails",overrides_divider_title:"App Overrides"},directus_activity:{login:"Login",create:"Create",update:"Update",delete:"Delete"},directus_collections:{track_activity_revisions:"Track Activity & Revisions",only_track_activity:"Only Track Activity",do_not_track_anything:"Do Not Track Anything",collection_setup:"Collection Setup",note_placeholder:"A description of this collection...",hidden_label:"Hide within the App",singleton:"Treat as single object",language:"Language",translation:"Translation",translation_placeholder:"Enter a translation...",collection_name:"Collection Name",singular_unit:"Singular Unit",plural_unit:"Plural Unit",archive_divider:"Archive",archive_field_placeholder:"Choose a field...",archive_app_filter:"Enable App Archive Filter",archive_value:"Value set when archiving...",unarchive_value:"Value set when unarchiving...",sort_divider:"Sort",sort_field:"Choose a field...",accountability_divider:"Accountability",duplication_divider:"Duplication",preview_divider:"Preview",content_versioning_divider:"Content Versioning",enable_versioning:"Enable Versioning"},directus_files:{title:"A unique title...",description:"An optional description...",location:"An optional location...",storage_divider:"File Naming",focal_point_divider:"Focal Point",filename_disk:"Name on disk storage...",filename_download:"Name when downloading..."},directus_policies:{name:"A unique name for this policy...",description:"A description of this policy...",ip_access:"Add allowed IP addresses, IP ranges and CIDR blocks. Leave empty to allow all...",enforce_tfa:"Enforce Two-Factor Authentication",assigned_to:"Assigned To"},directus_roles:{name:"The unique name for this role...",description:"A description of this role...",fields:{icon_name:"Icon",name_name:"Name",name_placeholder:"Enter a title...",link_name:"Link",link_placeholder:"Relative or absolute URL..."},parent_note:"Optional parent role that this role inherits permissions from",children_note:"Nested child roles that inherit this roles permissions",collections_name:"Collections",collections_addLabel:"Add Collection..."},directus_users:{preferences_divider:"User Preferences",dropdown_auto:"Automatic (Based on System)",dropdown_light:"Light Mode",dropdown_dark:"Dark Mode",admin_divider:"Admin Options",status_dropdown_draft:"Draft",status_dropdown_invited:"Invited",status_dropdown_active:"Active",status_dropdown_suspended:"Suspended",status_dropdown_archived:"Archived",token:"Enter a secure access token..."},directus_webhooks:{status_options_active:"Active",status_options_inactive:"Inactive",data_label:"Send Event Data",triggers_divider:"Triggers",actions_create:"Create",actions_update:"Update",actions_delete:"Delete",actions_login:"Login",headers:{header:"Header",value:"Value",add:"Add Header"}}},no_fields_in_collection:'There are no fields in "{collection}" yet',no_value:"No value",do_nothing:"Do Nothing",generate_and_save_uuid:"Generate and Save UUID",save_current_user_id:"Save Current User ID",save_current_user_role:"Save Current User Role",save_current_datetime:"Save Current Date/Time",always_open:"Always Open",start_open:"Start Open",start_collapsed:"Start Collapsed",block:"Block",inline:"Inline",comment:"Comment",live_preview:{enable:"Enable Preview",disable:"Disable Preview",change_size:"Change Display Dimensions",refresh:"Refresh Preview",new_window:"Open in New Window",close_window:"Open in Split View",toggle_3d:"Toggle 3D"},shares:"Shares",unlimited_usage:"Unlimited usage",uses_left:"No uses left | One use left | {n} uses left",no_shares:"No shares to show",new_share:"New Share",expired:"Expired",upcoming:"Upcoming",share:"Share",share_item:"Share Item",shared_with_you:"An item has been shared with you",shared_enter_passcode:"Enter your passcode to continue...",shared_leave_blank_for_passwordless_access:"Leave blank for passwordless access",shared_leave_blank_for_unlimited:"Leave blank for unlimited",shared_times_remaining:"This link can only be used {n} times",shared_last_remaining:"This link can only be used once",shared_uses_left:"For added security, this shared page has been configured with a limited number of views. There are currently {n} views remaining, after which, the page will no longer be accessible.",share_access_page:"Access Shared Page",share_access_not_found:"This shared page either does not exist or has already exceeded the maximum number of allowed uses.",share_access_not_found_desc:"Please contact an authorized user of this project to request access.",share_access_not_found_title:"Unknown Share Page",share_copy_link:"Copy Link",share_copy_link_success:"Link Copied",share_copy_link_error:"Unable to Copy Link",share_send_link:"Send Link",relational_triggers:"Relational Triggers",referential_action_field_label_m2o:"On Delete of {collection}...",referential_action_field_label_o2m:"On Deselect of {collection}...",referential_action_no_action:"Prevent the deletion",referential_action_cascade:"Delete the {collection} item (cascade)",referential_action_set_null:"Nullify the {field} field",referential_action_set_default:"Set {field} to its default value",choose_action:"Choose Action",continue_label:"Continue",continue_as:"{name} is currently authenticated. If you recognize this account, press continue.",editing_role:"{role} Role",editing_policy:"{policy} Policy",no_permissions:"No Permissions",permission_add_collection:"Add Collection",creating_webhook:"Creating Webhook",default_label:"Default",delete_label:"Delete",delete_are_you_sure:"This action is permanent and can not be undone. Are you sure you would like to proceed?",delete_field_are_you_sure:'Are you sure you want to delete the field "{field}"? This action can not be undone.',description:"Description",done:"Done",duplicate:"Duplicate",limit:"Limit",email:"Email",embed:"Embed",fallback_icon:"Fallback Icon",field:"Field | Fields",file:"File",file_library:"File Library",forgot_password:"Forgot Password",hidden:"Hidden",hidden_in_group:"Hidden in {group}",icon:"Icon",info:"Info",normal:"Normal",success:"Success",warning:"Warning",danger:"Danger",colors:{purple:"Purple",blue:"Blue",green:"Green",yellow:"Yellow",orange:"Orange",red:"Red",black:"Black",gray:"Gray",white:"White"},junction_collection:"Junction Collection",latency:"Latency",login:"Log in",my_activity:"My Activity",not_authenticated:"Not Authenticated",authenticated:"Authenticated",options:"Options",otp:"One-Time Password",password:"Password",confirm_password:"Confirm Password",permissions:"Permissions",relationship:"Relationship",reset:"Reset",reset_password:"Reset Password",revisions:"Revisions",no_revisions:"No Revisions Yet",no_logs:"No Logs Yet",revert:"Revert",save:"Save",schema:"Schema",search:"Search",select_existing:"Select Existing",select_field_type:"Select a field type",select_interface:"Select an interface",select_display:"Select a display",settings:"Settings",register:"Register",registration_successful_headline:"Success!",registration_successful_note:"You may now proceed to the sign in page.",registration_successful_check_email_note:`Please note that before you can sign in, you'll need to verify your email address by clicking on the verification link sent to you.
52
- `,dont_have_an_account:"Don't have an account?",already_have_an_account:"Already have an account?",sign_up_now:"Sign up now",sign_in:"Sign In",sign_out:"Sign Out",sign_out_confirm:"Are you sure you want to sign out?",something_went_wrong:"Something went wrong.",sort_direction:"Sort Direction",export_location:"Export Location",export_started:"Export Started",export_started_copy:"Your export has started. You'll be notified when it's ready to download.",sort_asc:"Sort Ascending",sort_desc:"Sort Descending",disable_sort:"Disable Sorting",template:"Template",require_value_to_be_set:"Require value to be set on creation",translation:"Translation",translation_placeholder:"Enter a translation...",value:"Value",view_project:"View Project",report_error:"Report Error",start:"Start",table:"Table",list:"List",search_filter:"Search & Filter",enable_search_filter:"Enable searching & filtering",item_link:"Item link",show_link_to_item:"Show a link to the item",navigate_to_item:"Navigate to Item",undo_removed_item:"Undo Removed Item",remove_item:"Remove Item",delete_item:"Delete Item",pause:"Pause",resume:"Resume",interfaces:{"list-m2a":{prefix_note:"Uses the related item's collection name by default.",sorting_disabled:"Sorting is disabled because there are more items than can fit on one page."},filter:{name:"Filter",description:"Configure a filter object.",add_filter:"Add Filter",add_group:"And / Or group",add_value:"Add Value",logic_type_and:"AND",logic_type_or:"OR",all:"All",any:"Any",and:"and",of_the_following:"of the following",no_rules:"No configured rules",change_value:"Click to change value",placeholder:"Drag rules here",add_key_placeholder:"Add a key and press enter..."},fields:{name:"Fields"},"group-accordion":{name:"Accordion",description:"Display fields or groups as accordion sections",start:"Start",all_closed:"All Closed",first_opened:"First Opened",all_opened:"All Opened",accordion_mode:"Accordion Mode",max_one_section_open:"Max 1 Section Open"},"presentation-links":{"presentation-links":"Button Links",links:"Links",description:"Configurable link buttons for launching dynamic URLs",style:"Style",primary:"Primary",link:"Links",button:"Buttons",error:"Cannot perform action"},"select-multiple-checkbox":{checkboxes:"Checkboxes",description:"Choose between multiple options via checkboxes",allow_other:"Allow Other",show_more:"Show {count} more",items_shown:"Items Shown"},"select-multiple-checkbox-tree":{name:"Checkboxes (Tree)",description:"Choose between multiple options via nested checkboxes",value_combining:"Value Combining",value_combining_note:"Controls what value is stored when nested selections are made.",show_all:"Show All",show_selected:"Show Selected"},"input-code":{code:"Code",description:"Write or share code snippets",line_number:"Line Number",line_wrapping:"Line Wrapping",placeholder:"Enter code here..."},"system-collection":{collection:"Collection",description:"Select between existing collections",include_system_collections:"Include System Collections"},"system-collections":{collections:"Collections",description:"Select between existing collections",include_system_collections:"Include System Collections"},"select-color":{color:"Color",description:"Enter or select a color value",placeholder:"Choose a color...",preset_colors:"Preset Colors",opacity:"Opacity",preset_colors_add_label:"Add new color...",name_placeholder:"Enter color name..."},datetime:{datetime:"Datetime",description:"Enter dates and times",include_seconds:"Include Seconds",set_to_now:"Set to Now",use_24:"Use 24-Hour Format",placeholder:"Choose a datetime..."},"system-fields":{select_a_collection:"Select a Collection",no_fields:"No fields"},"system-display-template":{"display-template":"Display Template",description:"Mix static text and dynamic field values",collection_field:"Collection field",collection_field_not_setup:"The collection field option is misconfigured",select_a_collection:"Select a Collection"},"presentation-divider":{divider:"Divider",description:"Label and divide fields into sections",title_placeholder:"Enter a title, or leave blank to only show a line...",inline_title:"Inline Title",inline_title_label:"Show title inside line",margin_top:"Margin Top",margin_top_label:"Increase Top Margin"},"select-dropdown":{description:"Select a value from a dropdown",choices_placeholder:"Add a new choice",allow_other:"Allow Other",allow_other_label:"Allow Other Values",allow_none:"Allow None",allow_none_label:"Allow No Selection",choices_name_placeholder:"Enter a name...",choices_value_placeholder:"Enter a value...",preview_threshold:"Preview Threshold"},"select-multiple-dropdown":{"select-multiple-dropdown":"Dropdown (Multiple)",description:"Select multiple values from a dropdown"},file:{file:"File",description:"Select or upload a file"},files:{files:"Files",description:"Select or upload multiple files"},"input-hash":{hash:"Hash",description:"Enter a value to be hashed",masked:"Masked",masked_label:"Hide the true values"},"select-icon":{icon:"Icon",description:"Select an icon from a dropdown",search_for_icon:"Search for icon..."},"file-image":{image:"Image",description:"Select or upload an image",crop:"Crop to Fit",crop_label:"Crop image as needed",letterbox:"Letterbox",letterbox_label:"Add padding to image preview"},"system-interface":{interface:"Interface",description:"Select an existing interface",placeholder:"Select an interface..."},"system-interface-options":{"interface-options":"Interface Options",description:"A modal for selecting options of an interface"},"system-display":{display:"Display",description:"Select an existing display",placeholder:"Select an display..."},"system-display-options":{"display-options":"Display Options",description:"A modal for selecting options of a display"},"list-m2m":{"many-to-many":"Many to Many",description:"Select multiple related junction items",columns_configure_notice:"You can configure the columns after creating this field.",display_template_configure_notice:"You can configure the display template after creating this field."},"select-dropdown-m2o":{"many-to-one":"Many to One",description:"Select a single related item",display_template:"Display Template"},"collection-item-dropdown":{"collection-item-dropdown":"Collection Item Dropdown",description:"Select an item from a collection in JSON format"},"input-rich-text-md":{markdown:"Markdown",description:"Enter and preview markdown",edit:"Edit",preview:"Preview",editorFont:"Editor Font",previewFont:"Preview Font",default_view:"Default View",default_view_editor:"Editor",default_view_preview:"Preview",customSyntax:"Custom Blocks",customSyntax_label:"Add custom syntax types",customSyntax_add:"Add custom syntax",box:"Block / Inline",imageToken:"Static Access Token",imageToken_label:"Static access token is appended to the assets' URL"},map:{map:"Map",description:"Select a location on a map",zoom:"Zoom",geometry_type:"Geometry Type",geometry_format:"Geometry Format",default_view:"Default View",invalid_options:"Invalid options",invalid_format:"Invalid format ({format})",unexpected_geometry:"Expected {expected}, got {got}.",fit_bounds:"Fit view to data",native:"Native",geojson:"GeoJSON",lnglat:"Longitude, Latitude",wkt:"WKT",wkb:"WKB",click_to_select:"Click to select {geometry}"},"presentation-notice":{notice:"Notice",description:"Display a short notice",text:"Enter notice content here...",no_text:"No text configured..."},"list-o2m":{"one-to-many":"One to Many",description:"Select multiple related items",no_collection:"The collection could not be found"},"system-folder":{folder:"Root Folder",description:"Select a folder",field_hint:"Default folder for uploaded files without a folder specified. Does not affect existing files.",root_name:"File Library Root",system_default:"System Defaults"},"select-radio":{"radio-buttons":"Radio Buttons",description:"Select one of multiple choices"},list:{repeater:"Repeater",description:"Create multiple entries of the same structure",edit_fields:"Edit Fields",add_label:'"Create New" Label',sort:"Sort",sort_placeholder:"Manual",field_note_placeholder:"Enter field note...",incompatible_data:"The current data is not compatible with the repeater interface and will be overridden when adding items to the repeater",interface_group:"Interface Options",display_group:"Display Options"},slider:{slider:"Slider",description:"Select a number using a slider",always_show_value:"Always show value"},tags:{tags:"Tags",description:"Select or add tags",whitespace:"Whitespace",hyphen:"Replace with hyphen",underscore:"Replace with underscore",remove:"Remove whitespace",capitalization:"Capitalization",uppercase:"Convert Uppercase",lowercase:"Convert Lowercase",auto_formatter:"Use Title Auto-Formatter",alphabetize:"Alphabetize",alphabetize_label:"Force Alphabetical Order",add_tags:"Add a tag and press Enter..."},input:{input:"Input",description:"Manually enter a value",trim:"Trim",trim_label:"Trim the start and end",mask:"Masked",mask_label:"Hide the real value",clear:"Cleared Value",clear_label:"Save as empty string",minimum_value:"Minimum Value",maximum_value:"Maximum Value",step_interval:"Step Interval",slug:"Slugify",slug_label:"Make entered value URL safe"},"input-multiline":{textarea:"Textarea",description:"Enter multiline plain-text"},"input-translated-string":{"input-translated-string":"Translated Strings",description:"Select or add custom translation",search_placeholder:"Search...",new_custom_translation:"New Custom Translation"},boolean:{toggle:"Toggle",description:"Switch between on and off",color_on:"Color On",color_off:"Color Off",label_placeholder:"Enter a label...",label_default:"Enabled"},translations:{display_template:"Display Template",no_collection:"No Collection",toggle_split_view:"Toggle Split View",enable:"Enable",default_split_view_state:"Default Split View State",user_language:"Use Current User Language",default_language:"Default Language",language_field:"Language Indicator Field",language_direction_field:"Language Direction Field"},"list-o2m-tree-view":{description:"Tree view for nested recursive one-to-many items",recursive_only:"The tree view interface only works for recursive relationships."},user:{user:"User",description:"Select an existing directus user",select_mode:"Select Mode",modes:{auto:"Auto",dropdown:"Dropdown",modal:"Modal"}},"input-rich-text-html":{wysiwyg:"WYSIWYG",description:"A rich-text editor writing HTML content",toolbar:"Toolbar",custom_formats:"Custom Formats",custom_formats_note:"List of TinyMCE Content Formats. See the TinyMCE documentation about [Content Formatting](https://www.tiny.cloud/docs/tinymce/latest/content-formatting/) for more information.",options_override:"Options Override",options_override_note:"The TinyMCE User Formatting keys and their values. See the TinyMCE documentation about [User Formatting](https://www.tiny.cloud/docs/tinymce/latest/user-formatting-options/) for more information.",folder_note:"Folder for uploaded files. Does not affect existing files.",imageToken:"Static Access Token",imageToken_label:"Static access token is appended to the assets' URL"},"input-block-editor":{"input-block-editor":"Block Editor",description:"Block-styled editor for rich media stories, outputs clean data in JSON using Editor.js",tools:"Toolbar",tools_options:{header:"Header",nestedlist:"List",embed:"Embed",paragraph:"Paragraph",code:"Code",image:"Image",attaches:"Attaches",table:"Table",quote:"Quote",underline:"Underline",inlinecode:"Inline Code",delimiter:"Delimiter",checklist:"Checklist",toggle:"Toggle Block",alignment:"Alignment",raw:"Raw HTML"}},"input-autocomplete-api":{"input-autocomplete-api":"Autocomplete Input (API)",description:"A search typeahead for external API values.",results_path:"Results Path",value_path:"Value Path",text_path:"Text Path",trigger:"Trigger",rate:"Rate"},"group-raw":{name:"Raw Group",description:"Render the fields as-is"},"group-detail":{name:"Detail Group",description:"Render the fields as a collapsable section",show_header:"Show Group Header",header_icon:"Header Icon",header_color:"Header Color",start_open:"Start Open",start_closed:"Start Closed"},"system-token":{"system-token":"Token",description:"Manage static access token",placeholder:'Click "Generate Token" to create a new static access token',value_securely_saved:"Value Securely Saved",generate:"Generate Token",regenerate:"Regenerate Token",generate_success_copy:"Make sure to backup and copy the token above. For security reasons, you will not be able to view the token again after saving and navigate off this page.",remove_token:"Remove Token"},"system-raw-editor":{"system-raw-editor":"Raw Editor",description:"Allow entering of raw or mustache templating values"},"input-password":{"input-password":"Input Password",description:"Password input with toggle to hide value"}},displays:{translations:{translations:"Translations",description:"Preview translations",enable:"Enable",user_language:"Use Current User Language",default_language:"Default Language",language_field:"Language Indicator Field"},boolean:{boolean:"Boolean",description:"Display on and off states",label_on:"Label On",label_on_placeholder:"Enter an on label...",label_off:"Label Off",label_off_placeholder:"Enter an off label...",icon_on:"Icon On",icon_off:"Icon Off",color_on:"Color On",color_off:"Color Off"},collection:{collection:"Collection",description:"Display a collection",icon_label:"Show the collection's icon"},color:{color:"Color",description:"Display a colored dot",default_color:"Default Color"},datetime:{datetime:"Datetime",description:"Display values related to time",format:"Format",format_note:"The custom format accepts the __[Date Field Symbol Table](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table)__",long:"Long",short:"Short",relative:"Relative",relative_label:"Show relative time, eg: 5 minutes ago",suffix:"Suffix",suffix_label:"Show relative indicator",suffix_note:"Uses words like 'in' and 'ago'",strict:"Strict",strict_label:"Use strict units",strict_note:"Removes words like 'almost', 'over', 'less than'",round:"Round",round_note:"Choose a rounding function to use",down:"Down",nearest:"Nearest",up:"Up"},file:{file:"File",description:"Display files"},filesize:{filesize:"File Size",description:"Display the size of a file"},"formatted-value":{"formatted-value":"Formatted Value",description:"Display a formatted version of the text",format:"Format",format_label:"Auto format",font:"Font",font_sans_serif:"Sans serif",font_serif:"Serif",font_monospace:"Monospace",bold:"Bold",bold_label:"Use bold style",italic:"Italic",italic_label:"Use italic style",prefix:"Prefix",prefix_label:"Prepend text",suffix:"Suffix",suffix_label:"Appended Text",color:"Color",background:"Background",icon:"Icon",border:"Border",border_label:"Show border",mask:"Masked",mask_label:"Hide the real value",text:"Text",text_placeholder:"Optional value override..."},"formatted-json-value":{"formatted-json-value":"Formatted JSON value",description:"Display a formatted version of the object"},hash:{hash:"Hash",description:"Display a redacted version of the value"},icon:{icon:"Icon",description:"Display an icon",filled:"Filled",filled_label:"Use the filled variant"},image:{image:"Image",description:"Display a tiny image preview",circle:"Circle",circle_label:"Display as a circle"},labels:{labels:"Labels",description:"Display either a single or a list of labels",default_foreground:"Default Foreground",default_background:"Default Background",format_label:"Format each label",show_as_dot:"Show As Dot",choices_value_placeholder:"Enter a value...",choices_text_placeholder:"Enter a text..."},"mime-type":{"mime-type":"MIME Type",description:"Show the MIME-Type of a file",extension_only:"Extension Only",extension_only_label:"Only show the file extension"},rating:{rating:"Rating",description:"Visualize a number as stars relative to the max-value",simple:"Simple",simple_label:"Show stars in a simple format"},raw:{raw:"Raw Value"},"related-values":{"related-values":"Related Values",description:"Display relative values",display_template_configure_notice:"You can configure the display template after creating this field."},user:{user:"User",description:"Display a directus user",avatar:"Avatar",name:"Name",both:"Both",circle_label:"Show user in a circle"}},layouts:{cards:{cards:"Cards",image_source:"Image Source",image_fit:"Image Fit",crop:"Crop",contain:"Contain",title:"Title",subtitle:"Subtitle"},tabular:{tabular:"Table",spacing:"Spacing",comfortable:"Comfortable",compact:"Compact",cozy:"Cozy"},calendar:{calendar:"Calendar",start_date_field:"Start Date Field",end_date_field:"End Date Field",optional:"Optional",first_day:"First Day of the Week"},map:{map:"Map",basemap:"Basemap",layers:"Layers",cluster_options:"Clustering options",cluster:"Cluster Nearby Data",cluster_radius:"Cluster radius",cluster_minpoints:"Cluster minimum size",cluster_maxzoom:"Maximum zoom for clustering",field:"Geospatial Field",invalid_geometry:"Invalid geometry",find_location:"Find location...",default_template:"Using Collection Default...",no_compatible_fields:"No compatible fields"},kanban:{name:"Kanban",group_field:"Group By",group_field_placeholder:"Field to group by...",group_title:"Group Title",group_title_placeholder:"Field for group titles...",title:"Card Title",title_placeholder:"Optional title field...",text:"Card Text",text_placeholder:"Optional text field...",date:"Card Date",date_placeholder:"Optional date field...",tags:"Card Tags",tags_placeholder:"Optional tags field...",user:"Card User",user_placeholder:"Optional user field...",image:"Card Image",image_placeholder:"Optional image field...",image_fit:"Card Image Fit",crop:"Crop",advanced:"Advanced",edit_group:"Edit Group",delete_group:"Delete Group",add_group:"Add Group",add_group_placeholder:"Enter a new group title...",show_ungrouped:"Show Ungrouped",show:"Show",no_group:"No Group"}},horizontal:"Horizontal",vertical:"Vertical",axis:"Axis",x_axis:"X-Axis",y_axis:"Y-Axis",y_axis_function:"Y-Axis Function",show_x_only:"Show X-Axis Only",show_y_only:"Show Y-Axis Only",show_data_label:"Show Data Label",both:"Both",show_axis_labels:"Show Axis Labels",function:"Function",half_circle:"Half Circle",full_circle:"Full Circle",stroke_width:"Stroke Width",rounded_stroke:"Rounded Stroke",thin:"Thin",medium:"Medium",broad:"Broad",show_labels:"Show Labels",show_legend:"Show Legend",right:"Right",left:"Left",donut:"Donut",panels:{metric:{name:"Metric",description:"Show a single value based on a query",field:"Field"},metric_list:{name:"Metric List",description:"List and visualize aggregate metrics from a collection"},time_series:{name:"Time Series",description:"Render a line chart based on values over time",date_field:"Date Field",value_field:"Value Field",fill_type:"Fill Type",curve_type:"Curve Type"},label:{name:"Label",description:"Show some text"},list:{name:"List",description:"Filter and list fields from a collection"},barchart:{name:"Bar Chart",description:"Bar or column charts for comparing groups of values",horizontal:"Horizontal",select_collection:"You must select a collection."},linechart:{name:"Line Chart",description:"Line chart for comparing change of a field",disabled_grouping:"Disabled when grouping is selected.",disabled_no_grouping:"Disabled when no grouping is selected.",show_marker:"Show Tooltip Marker",curve_type:"Curve Type",smooth:"Smooth",straight:"Straight",step_line:"Step Line",show_legend:"Show Legend"},meter:{name:"Meter",description:"Meter for tracking values"},piechart:{name:"Pie or Donut Chart",description:"Circular chart showing the ratios of groups on a column"},variable:{name:"Global Variable",description:"Set a global value for use in other Panels' filters",variable_key:"Variable Key"},"relational-variable":{name:"Global Relational Variable",description:"Set a global relational value for use in other Panels' filters",variable_key:"Variable Key",multiple:"Multiple","multiple-label":"Select multiple items"}},triggers:{common:{response_body:"Response Body",response_body_all:"All Data",response_body_last:"Data of Last Operation"},event:{name:"Event Hook",description:"Triggers on platform or data events",action:"Action (Non-Blocking)",filter:"Filter (Blocking)"},webhook:{name:"Webhook",description:"Triggers on an incoming HTTP request",method:"Method",async:"Asynchronous"},operation:{name:"Another Flow",description:"Triggered by another Flow, for chaining",preview:"Triggered by an operation in a different Flow"},schedule:{name:"Schedule (CRON)",description:"Triggers at regular points in time",cron:"Interval"},manual:{name:"Manual",description:"Triggers on manual run within selected collection(s)",collection_and_item:"Collection & Item Pages",collection_only:"Collection Page Only",item_only:"Item Page Only",collection_page:"Collection Page",require_selection:"Requires Selection"}},a_flow_uuid:"Select a Flow to trigger...",any_string_or_json:"Any string or JSON...",item_payload_placeholder:"This is the JSON used to update the item's field values...",operation_variables_note:"You can access flow data with variables such as **{'{'}{'{'}$last{'}'}{'}'}**, **{'{'}{'{'}$trigger{'}'}{'}'}** and **{'{'}{'{'}$accountability{'}'}{'}'}**, or reference previous operations using **{'{'}{'{'}operation_key{'}'}{'}'}**.'",operations:{condition:{name:"Condition",description:"Route a flow based on If / Else logic"},exec:{name:"Run Script",description:"Execute arbitrary code to modify the payload",modules:"The following **Node modules** can be used:"},"item-create":{name:"Create Data",description:"Create items in the database",payload:"Payload",emit_events:"Emit Events"},"item-delete":{name:"Delete Data",description:"Delete items in the database",emit_events:"Emit Events",key:"IDs",query:"Query"},"item-read":{name:"Read Data",description:"Read items from the database",key:"IDs",query:"Query",emit_events:"Emit Events"},"item-update":{name:"Update Data",description:"Update items in the database",emit_events:"Emit Events",key:"IDs",payload:"Payload",query:"Query"},"json-web-token":{name:"JSON Web Token (JWT)",description:"Sign and verify JSON Web Tokens",operation:"Operation",secret:"Secret",secret_placeholder:"Enter a secret...",payload:"Payload",token:"Token",token_placeholder:"eyJhbGciOi......",options:"Options",options_placeholder:"Refer to https://www.npmjs.com/package/jsonwebtoken#usage for the available options",sign:"Sign Token",verify:"Verify Token",decode:"Decode Token"},log:{name:"Log to Console",description:"Output something to the console",message:"Message",message_placeholder:"Enter a message to show in the console..."},mail:{name:"Send Email",description:"Send an email to one or more people",to:"To",to_placeholder:"Add e-mail addresses and press enter...",body:"Body",template:"Template",data:"Data"},notification:{name:"Send Notification",description:"Send an in-app notification to one or more users",recipient:"User",recipient_placeholder:"Enter a UUID...",recipient_note:"Add user UUID and press enter...",item_note:"Item Key or Relative URL",message:"Message",subject:"Subject"},request:{name:"Webhook / Request URL",description:"Make a request to a URL",url:"URL",url_placeholder:"https://example.com/example",method:"Method",data:"Data",headers:"Headers",header:"Header",header_placeholder:"Authorization...",value_placeholder:"Bearer eyJhbGciOi..."},sleep:{name:"Sleep",description:"Wait a given number of milliseconds",milliseconds:"Milliseconds"},transform:{name:"Transform Payload",description:"Alter the Flow's JSON payload"},trigger:{name:"Trigger Flow",description:"Pass this data to another flow",flows:"Flows",flow:"Flow",data:"Data",iteration_mode:"Iteration Mode",iteration_mode_note:"Mode for iterating over arrays.",serial:"Serial",parallel:"Parallel",batch:"Batch",batch_size:"Batch Size",cache:"Cache"}},unit:"Unit",standard:"Standard",scientific:"Scientific",engineering:"Engineering",compact:"Compact",currency:"Currency",notation:"Notation",style:"Style",fonts:{thin:"Thin",extra_light:"Extra Light",light:"Light",normal:"Normal",medium:"Medium",semi_bold:"Semi Bold",bold:"Bold",extra_bold:"Extra Bold",black:"Black",italic:"Italic",oblique:"Oblique",small:"Small",large:"Large",auto:"Auto"},text_wrap:"Text Wrap",center:"Center",justify:"Justify",text_align:"Text Align",font_weight:"Font Weight",font_style:"Font Style",font_size:"Font Size",minimum_fraction_digits:"Minimum Decimals",maximum_fraction_digits:"Maximum Decimals",show_percentage:"Show Percentage",aggregation:"Aggregation",series_grouping:"Series Grouping",date_precision:"Date Precision",export_dashboard:"Export Dashboard",duplicate_dashboard:"Duplicate Dashboard",search_dashboard:"Search Dashboard...",search_flow:"Search Flow...",percent:"Percent",show_password:"Show password",hide_password:"Hide password"};const xz=pe;var tee=pe.about,nee=pe.identifier,iee=pe.avatar,oee=pe.application,ree=pe.default_provider,aee=pe.method,see=pe.published,lee=pe.draft,cee=pe.archived,uee=pe.marketplace,dee=pe.extensions,fee=pe.modules,pee=pe.module_bar,hee=pe.logs,mee=pe.unknown,vee=pe.reset_width,gee=pe.tile_size,yee=pe.edit_field,_ee=pe.conditions,bee=pe.location,xee=pe.collection_names_are_case_sensitive,wee=pe.condition_rules,kee=pe.input,Cee=pe.maps,See=pe.switch_user,Eee=pe.item_creation,Aee=pe.item_revision,Tee=pe.enter_a_name,Dee=pe.duplicate_field,Lee=pe.half_width,Iee=pe.full_width,Mee=pe.group,Fee=pe.popular,Pee=pe.recent,Oee=pe.export_items,Ree=pe.and,zee=pe.or,$ee=pe.init,Nee=pe.dataset_too_large_currently_showing_n_items,Bee=pe.modifier,jee=pe.extension_interface,Vee=pe.extension_display,Hee=pe.extension_layout,Uee=pe.extension_module,qee=pe.extension_panel,Wee=pe.extension_theme,Gee=pe.extension_hook,Yee=pe.extension_endpoint,Xee=pe.extension_operation,Kee=pe.extension_bundle,Zee=pe.extension_interfaces,Jee=pe.extension_displays,Qee=pe.extension_layouts,ete=pe.extension_modules,tte=pe.extension_panels,nte=pe.extension_themes,ite=pe.extension_hooks,ote=pe.extension_endpoints,rte=pe.extension_operations,ate=pe.extension_bundles,ste=pe.extension_missing,lte=pe.extension_reload_required,cte=pe.extension_reload_required_copy,ute=pe.extension_reload_now,dte=pe.published_relative,fte=pe.compatible_with_your_project,pte=pe.compatible_with_your_project_copy,hte=pe.last_updated_relative,mte=pe.n_files,vte=pe.verified,gte=pe.homepage,yte=pe.repository,_te=pe.reload_page,bte=pe.reload_required,xte=pe.report_an_issue,wte=pe.website,kte=pe.github,Cte=pe.beta,Ste=pe.n_downloads,Ete=pe.downloads,Ate=pe.compatibility_not_guaranteed,Tte=pe.compatibility_not_guaranteed_copy,Dte=pe.enable,Lte=pe.disable,Ite=pe.custom,Mte=pe.hook,Fte=pe.fill_width,Pte=pe.field_name_translations,Ote=pe.enter_password_to_enable_tfa,Rte=pe.add_field,zte=pe.role_name,$te=pe.policy_name,Nte=pe.branch,Bte=pe.leaf,jte=pe.indeterminate,Vte=pe.edit_collection,Hte=pe.exclusive,Ute=pe.children,qte=pe.db_only_click_to_configure,Wte=pe.show_active_items,Gte=pe.show_archived_items,Yte=pe.show_all_items,Xte=pe.edited,Kte=pe.required,Zte=pe.required_for_app_access,Jte=pe.requires_value,Qte=pe.create_preset,ene=pe.create_panel,tne=pe.create_role,nne=pe.create_policy,ine=pe.create_user,one=pe.message,rne=pe.delete_panel,ane=pe.create_webhook,sne=pe.create_custom_translation,lne=pe.edit_custom_translation,cne=pe.no_custom_translations,une=pe.no_custom_translations_copy,dne=pe.invite_users,fne=pe.invite,pne=pe.email_already_invited,hne=pe.subject,mne=pe.inbox,vne=pe.emails,gne=pe.connection_excellent,yne=pe.connection_good,_ne=pe.connection_fair,bne=pe.connection_poor,xne=pe.primary,wne=pe.rename_folder,kne=pe.delete_folder,Cne=pe.prefix,Sne=pe.suffix,Ene=pe.keep,Ane=pe.version,Tne=pe.version_key,Dne=pe.version_name,Lne=pe.main_version,Ine=pe.switch_version,Mne=pe.switch_version_copy,Fne=pe.create_version,Pne=pe.rename_version,One=pe.compare_version,Rne=pe.save_version,zne=pe.promote_version,$ne=pe.promote_version_disabled,Nne=pe.promote_version_drawer_title,Bne=pe.promote_version_changes,jne=pe.promote_version_preview,Vne=pe.outdated_notice,Hne=pe.promote_notice,Une=pe.delete_version,qne=pe.delete_version_copy,Wne=pe.delete_on_promote_copy,Gne=pe.reset_bookmark,Yne=pe.update_bookmark,Xne=pe.delete_bookmark,Kne=pe.delete_bookmark_copy,Zne=pe.delete_personal_bookmark,Jne=pe.delete_role_bookmark,Qne=pe.delete_global_bookmark,eie=pe.logoutReason,tie=pe.public_label,nie=pe.public_description,iie=pe.public_role_info,oie=pe.admin_description,rie=pe.admin_policy_description,aie=pe.no_description,sie=pe.reached_maximum_number_of_extensions,lie=pe.not_allowed,cie=pe.archive,uie=pe.archive_confirm,die=pe.archive_confirm_count,fie=pe.reset_system_permissions_to,pie=pe.reset_system_permissions_copy,hie=pe.the_following_are_minimum_permissions,mie=pe.app_access_minimum,vie=pe.recommended_defaults,gie=pe.unarchive,yie=pe.unarchive_confirm,_ie=pe.nested_files_folders_will_be_moved,bie=pe.validation_errors_notice,xie=pe.validationError,wie=pe.all_access,kie=pe.no_access,Cie=pe.use_custom,Sie=pe.nullable,Eie=pe.allow_null_value,Aie=pe.allow_multiple,Tie=pe.allow_multiple_to_be_open,Die=pe.enter_value_to_replace_nulls,Lie=pe.field_standard,Iie=pe.field_presentation,Mie=pe.field_file,Fie=pe.field_files,Pie=pe.field_m2o,Oie=pe.field_m2a,Rie=pe.field_o2m,zie=pe.field_m2m,$ie=pe.field_translations,Nie=pe.field_group,Bie=pe.item_permissions,jie=pe.field_permissions,Vie=pe.field_validation,Hie=pe.field_presets,Uie=pe.permissions_for_role,qie=pe.permissions_for_policy,Wie=pe.fields_for_role,Gie=pe.fields_for_policy,Yie=pe.validation_for_role,Xie=pe.validation_for_policy,Kie=pe.presets_for_role,Zie=pe.presets_for_policy,Jie=pe.presets_field_warning,Qie=pe.presentation_and_aliases,eoe=pe.revision_post_create,toe=pe.revision_post_update,noe=pe.changes_made,ioe=pe.no_relational_data,ooe=pe.junction_field_location,roe=pe.top,aoe=pe.bottom,soe=pe.hide_field,loe=pe.hide_field_on_detail,coe=pe.show_field_on_detail,uoe=pe.delete_field,doe=pe.fields_and_layout,foe=pe.field_create_success,poe=pe.field_update_success,hoe=pe.duplicate_where_to,moe=pe.language,voe=pe.language_placeholder,goe=pe.aggregate_function,yoe=pe.aggregate_precision,_oe=pe.group_aggregation,boe=pe.group_precision,xoe=pe.global,woe=pe.admins_have_all_permissions,koe=pe.camera,Coe=pe.show_zero,Soe=pe.create_in_advanced_field_creation_mode,Eoe=pe.continue_in_advanced_field_creation_mode,Aoe=pe.validation,Toe=pe.sum,Doe=pe.sum_distinct,Loe=pe.avg,Ioe=pe.avg_distinct,Moe=pe.count,Foe=pe.count_distinct,Poe=pe.min,Ooe=pe.max,Roe=pe.exposure,zoe=pe.shutter,$oe=pe.iso,Noe=pe.focal_length,Boe=pe.schema_setup_key,joe=pe.create_field,Voe=pe.creating_new_field,Hoe=pe.field_in_collection,Uoe=pe.reset_page_preferences,qoe=pe.hidden_field,Woe=pe.hidden_on_detail,Goe=pe.disabled_editing_value,Yoe=pe.key,Xoe=pe.alias,Koe=pe.bigInteger,Zoe=pe.boolean,Joe=pe.date,Qoe=pe.date_range,ere=pe.translation_key_placeholder,tre=pe.datetime,nre=pe.dateTime,ire=pe.precision,ore=pe.decimal,rre=pe.float,are=pe.integer,sre=pe.json,lre=pe.xml,cre=pe.yaml,ure=pe.string,dre=pe.text,fre=pe.time,pre=pe.timestamp,hre=pe.uuid,mre=pe.hash,vre=pe.geometry,gre=pe.theme_auto,yre=pe.theme_light,_re=pe.theme_dark,bre=pe.theme_directus_default,xre=pe.theme_directus_minimal,wre=pe.theme_directus_colormatch,kre=pe.not_available_for_type,Cre=pe.create_translations,Sre=pe.auto_refresh,Ere=pe.refresh_interval,Are=pe.no_refresh,Tre=pe.refresh_interval_seconds,Dre=pe.refresh_interval_minutes,Lre=pe.auto_generate,Ire=pe.this_will_auto_setup_fields_relations,Mre=pe.click_here,Fre=pe.to_manually_setup_translations,Pre=pe.manage,Ore=pe.click_to_manage_translated_fields,Rre=pe.fields_group,zre=pe.no_collections_found,$re=pe.new_data_alert,Nre=pe.search_collection,Bre=pe.search_role,jre=pe.search_policy,Vre=pe.search_field,Hre=pe.new_field,Ure=pe.new_collection,qre=pe.add_m2o_to_collection,Wre=pe.add_o2m_to_collection,Gre=pe.add_m2m_to_collection,Yre=pe.choose_a_type,Xre=pe.determined_by_relationship,Kre=pe.add_note,Zre=pe.add_link,Jre=pe.custom_link,Qre=pe.default_value,eae=pe.standard_field,tae=pe.single_file,nae=pe.multiple_files,iae=pe.m2o_relationship,oae=pe.o2m_relationship,rae=pe.m2m_relationship,aae=pe.m2a_relationship,sae=pe.invalid_item,lae=pe.require_confirmation,cae=pe.dialog,uae=pe.modal,dae=pe.confirmation_dialog,fae=pe.confirmation_description,pae=pe.confirmation_input_fields,hae=pe.next,mae=pe.field_name,vae=pe.translations,gae=pe.no_translations,yae=pe.left_to_right,_ae=pe.right_to_left,bae=pe.note,xae=pe.enter_a_value,wae=pe.enter_a_placeholder,kae=pe.length,Cae=pe.soft_length,Sae=pe.precision_scale,Eae=pe.readonly,Aae=pe.unique,Tae=pe.index,Dae=pe.updated_on,Lae=pe.updated_by,Iae=pe.primary_key,Mae=pe.foreign_key,Fae=pe.field_key,Pae=pe.finish_setup,Oae=pe.dismiss,Rae=pe.toggle_raw_editor,zae=pe.raw_editor_placeholder,$ae=pe.raw_value,Nae=pe.copy_raw_value,Bae=pe.copy_raw_value_success,jae=pe.copy_raw_value_fail,Vae=pe.paste_raw_value,Hae=pe.paste_raw_value_success,Uae=pe.paste_raw_value_fail,qae=pe.view_raw_value,Wae=pe.edit_raw_value,Gae=pe.enter_raw_value,Yae=pe.clear_value,Xae=pe.clear_changes,Kae=pe.clear_items,Zae=pe.reset_to_default,Jae=pe.undo_changes,Qae=pe.notifications,ese=pe.archive_all,tse=pe.show_all_activity,nse=pe.page_not_found,ise=pe.page_not_found_body,ose=pe.confirm_revert,rse=pe.confirm_revert_body,ase=pe.display,sse=pe.settings_update_success,lse=pe.title,cse=pe.revision_delta_created,use=pe.revision_delta_created_externally,dse=pe.revision_delta_updated,fse=pe.revision_delta_deleted,pse=pe.revision_delta_version_saved,hse=pe.revision_delta_reverted,mse=pe.revision_delta_update_message,vse=pe.revision_delta_other,gse=pe.revision_delta_by,yse=pe.presentation_text_values_cannot_be_reimported,_se=pe.download_page_as_csv,bse=pe.download_page_as_csv_unsupported,xse=pe.private_user,wse=pe.creation_preview,kse=pe.revision_preview,Cse=pe.updates_made,Sse=pe.leave_comment,Ese=pe.post_comment_success,Ase=pe.post_comment_updated,Tse=pe.item_create_success,Dse=pe.item_update_success,Lse=pe.item_delete_success,Ise=pe.this_collection,Mse=pe.related_collection,Fse=pe.related_collections,Pse=pe.translations_collection,Ose=pe.languages_collection,Rse=pe.import_data_input_placeholder,zse=pe.import_data_button,$se=pe.import_data_indeterminate,Nse=pe.import_data_success,Bse=pe.import_data_error,jse=pe.label_import,Vse=pe.label_export,Hse=pe.import_export,Use=pe.format,qse=pe.last_page,Wse=pe.last_access,Gse=pe.fill_template,Yse=pe.a_unique_table_name,Xse=pe.a_unique_column_name,Kse=pe.enable_custom_values,Zse=pe.submit,Jse=pe.move_to_folder,Qse=pe.move,ele=pe.system,tle=pe.add_field_related,nle=pe.interface_label,ile=pe.display_label,ole=pe.today,rle=pe.yesterday,ale=pe.delete_comment,sle=pe.delete_share,lle=pe.functions,cle=pe.minutes,ule=pe.hours,dle=pe.month,fle=pe.year,ple=pe.select_all,hle=pe.permissionsLevel,mle=pe.months,vle=pe.drag_mode,gle=pe.move_tool,yle=pe.crop_tool,_le=pe.focal_point_tool,ble=pe.cancel_crop,xle=pe.cancel_selection,wle=pe.original,kle=pe.url,Cle=pe.import_label,Sle=pe.file_details,Ele=pe.dimensions,Ale=pe.size,Tle=pe.created,Dle=pe.uploaded,Lle=pe.modified,Ile=pe.owner,Mle=pe.edited_by,Fle=pe.folder,Ple=pe.folders,Ole=pe.zoom,Rle=pe.download,zle=pe.open,$le=pe.open_in_new_window,Nle=pe.open_folder,Ble=pe.foreground_color,jle=pe.background_color,Vle=pe.upload_from_device,Hle=pe.choose_from_library,Ule=pe.import_from_url,qle=pe.replace_from_device,Wle=pe.replace_from_library,Gle=pe.replace_from_url,Yle=pe.no_image_selected,Xle=pe.no_file_selected,Kle=pe.download_file,Zle=pe.open_file_in_tab,Jle=pe.start_export,Qle=pe.not_available_for_local_downloads,ece=pe.exporting_all_items_in_collection,tce=pe.exporting_limited_items_in_collection,nce=pe.exporting_no_items_to_export,ice=pe.exporting_download_hint,oce=pe.exporting_library_hint,rce=pe.exporting_library_hint_forced,ace=pe.collection_key,sce=pe.name,lce=pe.primary_key_field,cce=pe.type,uce=pe.creating_new_collection,dce=pe.created_by,fce=pe.created_on,pce=pe.creating_collection_info,hce=pe.creating_collection_system,mce=pe.auto_increment_integer,vce=pe.auto_increment_big_integer,gce=pe.generated_uuid,yce=pe.manual_string,_ce=pe.save_and_create_new,bce=pe.save_and_stay,xce=pe.save_and_quit,wce=pe.save_as_copy,kce=pe.add_existing,Cce=pe.creating_items,Sce=pe.enable_create_button,Ece=pe.selecting_items,Ace=pe.enable_select_button,Tce=pe.allow_duplicates,Dce=pe.comments,Lce=pe.no_comments,Ice=pe.expand,Mce=pe.expand_all,Fce=pe.expand_none,Pce=pe.collapse,Oce=pe.collapse_all,Rce=pe.select_item,zce=pe.no_items,$ce=pe.search_items,Nce=pe.search_extensions,Bce=pe.disabled,jce=pe.information,Vce=pe.report_bug,Hce=pe.request_feature,Uce=pe.request_body,qce=pe.interface_not_found,Wce=pe.operation_not_found,Gce=pe.reset_interface,Yce=pe.display_not_found,Xce=pe.reset_display,Kce=pe.item_count,Zce=pe.filtered_item_count,Jce=pe.no_items_copy,Qce=pe.file_count,eue=pe.no_files_copy,tue=pe.user_count,nue=pe.no_users_copy,iue=pe.webhooks_count,oue=pe.webhooks_deprecation_notice,rue=pe.no_webhooks_copy,aue=pe.no_notifications,sue=pe.no_notifications_copy,lue=pe.activity_log,cue=pe.all_items,uue=pe.any,due=pe.csv,fue=pe.no_collections,pue=pe.create_collection,hue=pe.no_collections_copy_admin,mue=pe.no_collections_copy,vue=pe.relationship_not_setup,gue=pe.no_singleton_relations,yue=pe.display_template_not_setup,_ue=pe.collection_field_not_setup,bue=pe.select_a_collection,xue=pe.select_a_field,wue=pe.active,kue=pe.move_to,Cue=pe.copy,Sue=pe.copy_to,Eue=pe.no_other_dashboards_copy,Aue=pe.inactive,Tue=pe.users,Due=pe.roles,Lue=pe.activity,Iue=pe.activity_item,Mue=pe.action,Fue=pe.ip_address,Pue=pe.user_agent,Oue=pe.origin,Rue=pe.webhooks,zue=pe.decimals,$ue=pe.value_decimals,Nue=pe.min_value,Bue=pe.max_value,jue=pe.automatic,Vue=pe.field_width,Hue=pe.add_filter,Uue=pe.upper_limit,que=pe.lower_limit,Wue=pe.user_directory,Gue=pe.documentation,Yue=pe.sidebar,Xue=pe.duration,Kue=pe.charset,Zue=pe.second,Jue=pe.file_moved,Que=pe.collection_created,ede=pe.modified_on,tde=pe.card_size,nde=pe.sort_field,ide=pe.add_sort_field,ode=pe.sort,rde=pe.status,ade=pe.remove,sde=pe.toggle_manual_sorting,lde=pe.bookmark_doesnt_exist,cde=pe.bookmark_doesnt_exist_copy,ude=pe.bookmark_doesnt_exist_cta,dde=pe.select_an_item,fde=pe.edit,pde=pe.edit_item,hde=pe.enabled,mde=pe.partially_enabled,vde=pe.enable_all,gde=pe.disable_all,yde=pe.enabled_dev_tooltip,_de=pe.disable_tfa,bde=pe.admin_disable_tfa_text,xde=pe.tfa_setup,wde=pe.tfa_scan_code,kde=pe.enter_otp_to_disable_tfa,Cde=pe.create_account,Sde=pe.account_created_successfully,Ede=pe.auto_fill,Ade=pe.corresponding_field,Tde=pe.errors,Dde=pe.security,Lde=pe.value_hashed,Ide=pe.bookmark_name,Mde=pe.create_bookmark,Fde=pe.edit_bookmark,Pde=pe.edit_personal_bookmark,Ode=pe.edit_role_bookmark,Rde=pe.edit_global_bookmark,zde=pe.cannot_edit_role_bookmarks,$de=pe.cannot_edit_global_bookmarks,Nde=pe.bookmarks,Bde=pe.presets,jde=pe.unexpected_error,Vde=pe.unexpected_error_copy,Hde=pe.copy_details,Ude=pe.no_app_access,qde=pe.no_app_access_copy,Wde=pe.password_reset_sent,Gde=pe.password_reset_successful,Yde=pe.back,Xde=pe.filter,Kde=pe.edit_image,Zde=pe.editing_image,Jde=pe.square,Qde=pe.free,efe=pe.flip_horizontal,tfe=pe.flip_vertical,nfe=pe.aspect_ratio,ife=pe.rotate,ofe=pe.all_users,rfe=pe.delete_collection,afe=pe.update_collection_success,sfe=pe.delete_collection_success,lfe=pe.make_collection_visible,cfe=pe.make_collection_hidden,ufe=pe.make_folder_visible,dfe=pe.make_folder_hidden,ffe=pe.goto_collection_content,pfe=pe.count_of_total_items,hfe=pe.start_end_of_count_items,mfe=pe.start_end_of_count_filtered_items,vfe=pe.delete_collection_are_you_sure,gfe=pe.delete_folder_are_you_sure,yfe=pe.delete_collection_peer_dependencies,_fe=pe.collections_shown,bfe=pe.visible_collections,xfe=pe.hidden_collections,wfe=pe.show_hidden_collections,kfe=pe.hide_hidden_collections,Cfe=pe.show_header,Sfe=pe.unmanaged_collections,Efe=pe.system_collections,Afe=pe.placeholder,Tfe=pe.icon_left,Dfe=pe.icon_right,Lfe=pe.count_other_revisions,Ife=pe.font,Mfe=pe.sans_serif,Ffe=pe.serif,Pfe=pe.monospace,Ofe=pe.divider,Rfe=pe.color,zfe=pe.circle,$fe=pe.empty_item,Nfe=pe.log_in_with,Bfe=pe.conditional_styles,jfe=pe.advanced_settings,Vfe=pe.advanced_filter,Hfe=pe.delete_advanced_filter,Ufe=pe.change_advanced_filter_operator,qfe=pe.advanced,Wfe=pe.operators,Gfe=pe.custom_validation_message,Yfe=pe.loading,Xfe=pe.extension_readme_missing,Kfe=pe.drop_to_upload,Zfe=pe.item,Jfe=pe.items,Qfe=pe.upload_file,e1e=pe.upload_file_indeterminate,t1e=pe.upload_file_success,n1e=pe.upload_files_indeterminate,i1e=pe.upload_files_success,o1e=pe.upload_pending,r1e=pe.drag_file_here,a1e=pe.click_to_browse,s1e=pe.interface_options,l1e=pe.display_options,c1e=pe.layout_options,u1e=pe.rows,d1e=pe.columns,f1e=pe.collection_setup,p1e=pe.optional_system_fields,h1e=pe.value_unique,m1e=pe.value_index,v1e=pe.all_activity,g1e=pe.create_item,y1e=pe.display_template,_1e=pe.language_display_template,b1e=pe.translations_display_template,x1e=pe.n_items_selected,w1e=pe.per_page,k1e=pe.all_files,C1e=pe.my_files,S1e=pe.recent_files,E1e=pe.create_folder,A1e=pe.edit_folder,T1e=pe.folder_name,D1e=pe.folder_key,L1e=pe.add_file,I1e=pe.replace_file,M1e=pe.no_results,F1e=pe.no_results_copy,P1e=pe.no_visible_fields,O1e=pe.no_visible_fields_copy,R1e=pe.clear_filters,z1e=pe.saves_automatically,$1e=pe.role,N1e=pe.edit_role,B1e=pe.rule,j1e=pe.user,V1e=pe.no_presets,H1e=pe.no_presets_copy,U1e=pe.no_presets_cta,q1e=pe.presets_only,W1e=pe.create,G1e=pe.on_create,Y1e=pe.on_update,X1e=pe.read,K1e=pe.update,Z1e=pe.select_fields,J1e=pe.format_text,Q1e=pe.format_value,epe=pe.abbreviate_value,tpe=pe.operator,npe=pe.bold,ipe=pe.toggle,ope=pe.icon_on,rpe=pe.icon_off,ape=pe.label,spe=pe.flows,lpe=pe.flow,cpe=pe.select_a_flow,upe=pe.run_flow_confirm,dpe=pe.run_flow_on_current_collection,fpe=pe.run_flow_on_current,ppe=pe.run_flow_on_current_edited_confirm,hpe=pe.run_flow_on_selected,mpe=pe.run_flow,vpe=pe.run_flow_success,gpe=pe.field_name_placeholder,ype=pe.field_key_placeholder,_pe=pe.trigger,bpe=pe.trigger_options,xpe=pe.view_trigger,wpe=pe.create_trigger,kpe=pe.trigger_setup,Cpe=pe.change_trigger,Spe=pe.flow_delete_confirm,Epe=pe.set_flow_active,Ape=pe.set_flow_inactive,Tpe=pe.edit_flow,Dpe=pe.delete_flow,Lpe=pe.no_other_flows_copy,Ipe=pe.no_flows,Mpe=pe.no_flows_copy,Fpe=pe.create_flow,Ppe=pe.creating_new_flow,Ope=pe.updating_flow,Rpe=pe.flow_setup,zpe=pe.flow_name,$pe=pe.flow_tracking,Npe=pe.flow_tracking_all,Bpe=pe.flow_tracking_activity,jpe=pe.flow_tracking_null,Vpe=pe.start_flow,Hpe=pe.stop_flow,Upe=pe.create_operation,qpe=pe.edit_operation,Wpe=pe.code,Gpe=pe.operation_options,Ype=pe.operation_name,Xpe=pe.operation_key,Kpe=pe.operation_key_unique_error,Zpe=pe.operation_handle_resolve,Jpe=pe.operation_handle_reject,Qpe=pe.insights,ehe=pe.dashboard,the=pe.panel,nhe=pe.panel_options,ihe=pe.panel_header,ohe=pe.panel_name_placeholder,rhe=pe.panel_note_placeholder,ahe=pe.panel_delete_confirm,she=pe.list_panel_allow_edit,lhe=pe.dashboard_delete_confirm,che=pe.edit_dashboard,uhe=pe.delete_dashboard,dhe=pe.visible,fhe=pe.prefix_placeholder,phe=pe.suffix_placeholder,hhe=pe.decimals_placeholder,mhe=pe.no_dashboards,vhe=pe.no_dashboards_copy,ghe=pe.create_dashboard,yhe=pe.dashboard_name,_he=pe.no_data,bhe=pe.no_data_in_flow,xhe=pe.accountability,whe=pe.payload,khe=pe.details,Che=pe.resume_streaming_logs,She=pe.pause_streaming_logs,Ehe=pe.logs_session_resumed,Ahe=pe.logs_session_paused,The=pe.logs_stream_disconnected,Dhe=pe.log_detail_filter_paths,Lhe=pe.logs_beginning,Ihe=pe.logs_waiting,Mhe=pe.logs_unread_count,Fhe=pe.clear_logs,Phe=pe.search_logs,Ohe=pe.all_instances,Rhe=pe.instance_count,zhe=pe.all_log_levels,$he=pe.log_level_count,Nhe=pe.soft_wrap_lines,Bhe=pe.full_screen,jhe=pe.full_text_search,Vhe=pe.edit_panels,Hhe=pe.center_align,Uhe=pe.left_align,qhe=pe.right_align,Whe=pe.fit_to_screen,Ghe=pe.image_url,Yhe=pe.alt_text,Xhe=pe.media,Khe=pe.quality,Zhe=pe.width,Jhe=pe.height,Qhe=pe.transformation_preset_key,eme=pe.source,tme=pe.url_placeholder,nme=pe.display_text,ime=pe.display_text_placeholder,ome=pe.interface_group_text_and_numbers,rme=pe.interface_group_selection,ame=pe.interface_group_relational,sme=pe.interface_group_presentation,lme=pe.interface_group_groups,cme=pe.interface_group_other,ume=pe.tooltip,dme=pe.tooltip_placeholder,fme=pe.unlimited,pme=pe.open_link_in,hme=pe.new_tab,mme=pe.save_image,vme=pe.save_media,gme=pe.wysiwyg_options,yme=pe.dropdown,_me=pe.choices,bme=pe.choices_option_configured_incorrectly,xme=pe.deselect,wme=pe.deselect_all,kme=pe.theme,Cme=pe.select_a_theme,Sme=pe.default_sync_with_project,Eme=pe.appearance_auto,Ame=pe.appearance_light,Tme=pe.appearance_dark,Dme=pe.other,Lme=pe.adding_user,Ime=pe.unknown_user,Mme=pe.creating_in,Fme=pe.editing_in,Pme=pe.viewing_in,Ome=pe.creating_unit,Rme=pe.editing_unit,zme=pe.editing_in_batch,$me=pe.no_options_available,Nme=pe.settings_data_model,Bme=pe.settings_roles,jme=pe.settings_permissions,Vme=pe.settings_project,Hme=pe.settings_appearance,Ume=pe.settings_webhooks,qme=pe.settings_flows,Wme=pe.settings_system_logs,Gme=pe.settings_presets,Yme=pe.settings_translations,Xme=pe.one_or_more_options_are_missing,Kme=pe.configure_field_key_to_continue,Zme=pe.scope,Jme=pe.actions,Qme=pe.select,e2e=pe.layout,t2e=pe.tree_view,n2e=pe.changes_are_permanent,i2e=pe.preset_name_placeholder,o2e=pe.preset_search_placeholder,r2e=pe.editing_preset,a2e=pe.layout_preview,s2e=pe.layout_setup,pe=pe.data,l2e=pe.unsaved_changes,c2e=pe.unsaved_changes_copy,u2e=pe.discard_changes,d2e=pe.discard_all_changes,f2e=pe.discard_changes_copy,p2e=pe.show_x_axis,h2e=pe.show_y_axis,m2e=pe.keep_editing,v2e=pe.page_help_collections_overview,g2e=pe.page_help_collections_collection,y2e=pe.page_help_collections_item,_2e=pe.page_help_activity_collection,b2e=pe.page_help_docs_global,x2e=pe.page_help_files_collection,w2e=pe.page_help_files_item,k2e=pe.page_help_settings_project,C2e=pe.page_help_settings_appearance,S2e=pe.page_help_settings_extensions,E2e=pe.page_help_settings_datamodel_collections,A2e=pe.page_help_settings_datamodel_fields,T2e=pe.page_help_settings_system_logs,D2e=pe.page_help_settings_policies_collection,L2e=pe.page_help_settings_policies_item,I2e=pe.page_help_settings_roles_collection,M2e=pe.page_help_settings_roles_item,F2e=pe.page_help_settings_presets_collection,P2e=pe.page_help_settings_presets_item,O2e=pe.page_help_settings_webhooks_collection,R2e=pe.page_help_settings_webhooks_item,z2e=pe.page_help_settings_flows_collection,$2e=pe.page_help_settings_flows_item,N2e=pe.page_help_settings_translations_collection,B2e=pe.page_help_settings_translations_item,j2e=pe.page_help_users_collection,V2e=pe.page_help_users_item,H2e=pe.page_help_insights_overview,U2e=pe.page_help_insights_dashboard,q2e=pe.page_help_marketplace_account,W2e=pe.page_help_marketplace_registry,G2e=pe.page_help_marketplace_extension,Y2e=pe.activity_feed,X2e=pe.add_new,K2e=pe.create_new,Z2e=pe.all,J2e=pe.none,Q2e=pe.no_layout_collection_selected_yet,eve=pe.batch_delete_confirm,tve=pe.cancel,nve=pe.no_upscale,ive=pe.no_extensions,ove=pe.no_extensions_copy,rve=pe.install_extension,ave=pe.uninstall_locked,sve=pe.uninstall,lve=pe.installed,cve=pe.reinstall,uve=pe.open_in_marketplace,dve=pe.source_registry,fve=pe.source_local,pve=pe.source_module,hve=pe.collection,mve=pe.collections,vve=pe.content,gve=pe.singleton,yve=pe.singleton_label,_ve=pe.system_fields_locked,bve=pe.directus_collection,xve=pe.fields,wve=pe.field_options,kve=pe.no_fields_in_collection,Cve=pe.no_value,Sve=pe.do_nothing,Eve=pe.generate_and_save_uuid,Ave=pe.save_current_user_id,Tve=pe.save_current_user_role,Dve=pe.save_current_datetime,Lve=pe.always_open,Ive=pe.start_open,Mve=pe.start_collapsed,Fve=pe.block,Pve=pe.inline,Ove=pe.comment,Rve=pe.live_preview,zve=pe.shares,$ve=pe.unlimited_usage,Nve=pe.uses_left,Bve=pe.no_shares,jve=pe.new_share,Vve=pe.expired,Hve=pe.upcoming,Uve=pe.share,qve=pe.share_item,Wve=pe.shared_with_you,Gve=pe.shared_enter_passcode,Yve=pe.shared_leave_blank_for_passwordless_access,Xve=pe.shared_leave_blank_for_unlimited,Kve=pe.shared_times_remaining,Zve=pe.shared_last_remaining,Jve=pe.shared_uses_left,Qve=pe.share_access_page,e0e=pe.share_access_not_found,t0e=pe.share_access_not_found_desc,n0e=pe.share_access_not_found_title,i0e=pe.share_copy_link,o0e=pe.share_copy_link_success,r0e=pe.share_copy_link_error,a0e=pe.share_send_link,s0e=pe.relational_triggers,l0e=pe.referential_action_field_label_m2o,c0e=pe.referential_action_field_label_o2m,u0e=pe.referential_action_no_action,d0e=pe.referential_action_cascade,f0e=pe.referential_action_set_null,p0e=pe.referential_action_set_default,h0e=pe.choose_action,m0e=pe.continue_label,v0e=pe.continue_as,g0e=pe.editing_role,y0e=pe.editing_policy,_0e=pe.no_permissions,b0e=pe.permission_add_collection,x0e=pe.creating_webhook,w0e=pe.default_label,k0e=pe.delete_label,C0e=pe.delete_are_you_sure,S0e=pe.delete_field_are_you_sure,E0e=pe.description,A0e=pe.done,T0e=pe.duplicate,D0e=pe.limit,L0e=pe.email,I0e=pe.embed,M0e=pe.fallback_icon,F0e=pe.field,P0e=pe.file,O0e=pe.file_library,R0e=pe.forgot_password,z0e=pe.hidden,$0e=pe.hidden_in_group,N0e=pe.icon,B0e=pe.info,j0e=pe.normal,V0e=pe.success,H0e=pe.warning,U0e=pe.danger,q0e=pe.colors,W0e=pe.junction_collection,G0e=pe.latency,Y0e=pe.login,X0e=pe.my_activity,K0e=pe.not_authenticated,Z0e=pe.authenticated,J0e=pe.options,Q0e=pe.otp,ege=pe.password,tge=pe.confirm_password,nge=pe.permissions,ige=pe.relationship,oge=pe.reset,rge=pe.reset_password,age=pe.revisions,sge=pe.no_revisions,lge=pe.no_logs,cge=pe.revert,uge=pe.save,dge=pe.schema,fge=pe.search,pge=pe.select_existing,hge=pe.select_field_type,mge=pe.select_interface,vge=pe.select_display,gge=pe.settings,yge=pe.register,_ge=pe.registration_successful_headline,bge=pe.registration_successful_note,xge=pe.registration_successful_check_email_note,wge=pe.dont_have_an_account,kge=pe.already_have_an_account,Cge=pe.sign_up_now,Sge=pe.sign_in,Ege=pe.sign_out,Age=pe.sign_out_confirm,Tge=pe.something_went_wrong,Dge=pe.sort_direction,Lge=pe.export_location,Ige=pe.export_started,Mge=pe.export_started_copy,Fge=pe.sort_asc,Pge=pe.sort_desc,Oge=pe.disable_sort,Rge=pe.template,zge=pe.require_value_to_be_set,$ge=pe.translation,Nge=pe.translation_placeholder,Bge=pe.value,jge=pe.view_project,Vge=pe.report_error,Hge=pe.start,Uge=pe.table,qge=pe.list,Wge=pe.search_filter,Gge=pe.enable_search_filter,Yge=pe.item_link,Xge=pe.show_link_to_item,Kge=pe.navigate_to_item,Zge=pe.undo_removed_item,Jge=pe.remove_item,Qge=pe.delete_item,e3e=pe.pause,t3e=pe.resume,n3e=pe.interfaces,i3e=pe.displays,o3e=pe.layouts,r3e=pe.horizontal,a3e=pe.vertical,s3e=pe.axis,l3e=pe.x_axis,c3e=pe.y_axis,u3e=pe.y_axis_function,d3e=pe.show_x_only,f3e=pe.show_y_only,p3e=pe.show_data_label,h3e=pe.both,m3e=pe.show_axis_labels,v3e=pe.half_circle,g3e=pe.full_circle,y3e=pe.stroke_width,_3e=pe.rounded_stroke,b3e=pe.thin,x3e=pe.medium,w3e=pe.broad,k3e=pe.show_labels,C3e=pe.show_legend,S3e=pe.right,E3e=pe.left,A3e=pe.donut,T3e=pe.panels,D3e=pe.triggers,L3e=pe.a_flow_uuid,I3e=pe.any_string_or_json,M3e=pe.item_payload_placeholder,F3e=pe.operation_variables_note,P3e=pe.operations,O3e=pe.unit,R3e=pe.standard,z3e=pe.scientific,$3e=pe.engineering,N3e=pe.compact,B3e=pe.currency,j3e=pe.notation,V3e=pe.style,H3e=pe.fonts,U3e=pe.text_wrap,q3e=pe.center,W3e=pe.justify,G3e=pe.text_align,Y3e=pe.font_weight,X3e=pe.font_style,K3e=pe.font_size,Z3e=pe.minimum_fraction_digits,J3e=pe.maximum_fraction_digits,Q3e=pe.show_percentage,eye=pe.aggregation,tye=pe.series_grouping,nye=pe.date_precision,iye=pe.export_dashboard,oye=pe.duplicate_dashboard,rye=pe.search_dashboard,aye=pe.search_flow,sye=pe.percent,lye=pe.show_password,cye=pe.hide_password;const uye=Object.freeze(Object.defineProperty({__proto__:null,a_flow_uuid:L3e,a_unique_column_name:Xse,a_unique_table_name:Yse,abbreviate_value:epe,about:tee,account_created_successfully:Sde,accountability:xhe,action:Mue,actions:Jme,active:wue,activity:Lue,activity_feed:Y2e,activity_item:Iue,activity_log:lue,add_existing:kce,add_field:Rte,add_field_related:tle,add_file:L1e,add_filter:Hue,add_link:Zre,add_m2m_to_collection:Gre,add_m2o_to_collection:qre,add_new:X2e,add_note:Kre,add_o2m_to_collection:Wre,add_sort_field:ide,adding_user:Lme,admin_description:oie,admin_disable_tfa_text:bde,admin_policy_description:rie,admins_have_all_permissions:woe,advanced:qfe,advanced_filter:Vfe,advanced_settings:jfe,aggregate_function:goe,aggregate_precision:yoe,aggregation:eye,alias:Xoe,all:Z2e,all_access:wie,all_activity:v1e,all_files:k1e,all_instances:Ohe,all_items:cue,all_log_levels:zhe,all_users:ofe,allow_duplicates:Tce,allow_multiple:Aie,allow_multiple_to_be_open:Tie,allow_null_value:Eie,already_have_an_account:kge,alt_text:Yhe,always_open:Lve,and:Ree,any:uue,any_string_or_json:I3e,app_access_minimum:mie,appearance_auto:Eme,appearance_dark:Tme,appearance_light:Ame,application:oee,archive:cie,archive_all:ese,archive_confirm:uie,archive_confirm_count:die,archived:cee,aspect_ratio:nfe,authenticated:Z0e,auto_fill:Ede,auto_generate:Lre,auto_increment_big_integer:vce,auto_increment_integer:mce,auto_refresh:Sre,automatic:jue,avatar:iee,avg:Loe,avg_distinct:Ioe,axis:s3e,back:Yde,background_color:jle,batch_delete_confirm:eve,beta:Cte,bigInteger:Koe,block:Fve,bold:npe,bookmark_doesnt_exist:lde,bookmark_doesnt_exist_copy:cde,bookmark_doesnt_exist_cta:ude,bookmark_name:Ide,bookmarks:Nde,boolean:Zoe,both:h3e,bottom:aoe,branch:Nte,broad:w3e,camera:koe,cancel:tve,cancel_crop:ble,cancel_selection:xle,cannot_edit_global_bookmarks:$de,cannot_edit_role_bookmarks:zde,card_size:tde,center:q3e,center_align:Hhe,change_advanced_filter_operator:Ufe,change_trigger:Cpe,changes_are_permanent:n2e,changes_made:noe,charset:Kue,children:Ute,choices:_me,choices_option_configured_incorrectly:bme,choose_a_type:Yre,choose_action:h0e,choose_from_library:Hle,circle:zfe,clear_changes:Xae,clear_filters:R1e,clear_items:Kae,clear_logs:Fhe,clear_value:Yae,click_here:Mre,click_to_browse:a1e,click_to_manage_translated_fields:Ore,code:Wpe,collapse:Pce,collapse_all:Oce,collection:hve,collection_created:Que,collection_field_not_setup:_ue,collection_key:ace,collection_names_are_case_sensitive:xee,collection_setup:f1e,collections:mve,collections_shown:_fe,color:Rfe,colors:q0e,columns:d1e,comment:Ove,comments:Dce,compact:N3e,compare_version:One,compatibility_not_guaranteed:Ate,compatibility_not_guaranteed_copy:Tte,compatible_with_your_project:fte,compatible_with_your_project_copy:pte,condition_rules:wee,conditional_styles:Bfe,conditions:_ee,configure_field_key_to_continue:Kme,confirm_password:tge,confirm_revert:ose,confirm_revert_body:rse,confirmation_description:fae,confirmation_dialog:dae,confirmation_input_fields:pae,connection_excellent:gne,connection_fair:_ne,connection_good:yne,connection_poor:bne,content:vve,continue_as:v0e,continue_in_advanced_field_creation_mode:Eoe,continue_label:m0e,copy:Cue,copy_details:Hde,copy_raw_value:Nae,copy_raw_value_fail:jae,copy_raw_value_success:Bae,copy_to:Sue,corresponding_field:Ade,count:Moe,count_distinct:Foe,count_of_total_items:pfe,count_other_revisions:Lfe,create:W1e,create_account:Cde,create_bookmark:Mde,create_collection:pue,create_custom_translation:sne,create_dashboard:ghe,create_field:joe,create_flow:Fpe,create_folder:E1e,create_in_advanced_field_creation_mode:Soe,create_item:g1e,create_new:K2e,create_operation:Upe,create_panel:ene,create_policy:nne,create_preset:Qte,create_role:tne,create_translations:Cre,create_trigger:wpe,create_user:ine,create_version:Fne,create_webhook:ane,created:Tle,created_by:dce,created_on:fce,creating_collection_info:pce,creating_collection_system:hce,creating_in:Mme,creating_items:Cce,creating_new_collection:uce,creating_new_field:Voe,creating_new_flow:Ppe,creating_unit:Ome,creating_webhook:x0e,creation_preview:wse,crop_tool:yle,csv:due,currency:B3e,custom:Ite,custom_link:Jre,custom_validation_message:Gfe,danger:U0e,dashboard:ehe,dashboard_delete_confirm:lhe,dashboard_name:yhe,get data(){return pe},dataset_too_large_currently_showing_n_items:Nee,date:Joe,dateTime:nre,date_precision:nye,date_range:Qoe,datetime:tre,db_only_click_to_configure:qte,decimal:ore,decimals:zue,decimals_placeholder:hhe,default:xz,default_label:w0e,default_provider:ree,default_sync_with_project:Sme,default_value:Qre,delete_advanced_filter:Hfe,delete_are_you_sure:C0e,delete_bookmark:Xne,delete_bookmark_copy:Kne,delete_collection:rfe,delete_collection_are_you_sure:vfe,delete_collection_peer_dependencies:yfe,delete_collection_success:sfe,delete_comment:ale,delete_dashboard:uhe,delete_field:uoe,delete_field_are_you_sure:S0e,delete_flow:Dpe,delete_folder:kne,delete_folder_are_you_sure:gfe,delete_global_bookmark:Qne,delete_item:Qge,delete_label:k0e,delete_on_promote_copy:Wne,delete_panel:rne,delete_personal_bookmark:Zne,delete_role_bookmark:Jne,delete_share:sle,delete_version:Une,delete_version_copy:qne,description:E0e,deselect:xme,deselect_all:wme,details:khe,determined_by_relationship:Xre,dialog:cae,dimensions:Ele,directus_collection:bve,disable:Lte,disable_all:gde,disable_sort:Oge,disable_tfa:_de,disabled:Bce,disabled_editing_value:Goe,discard_all_changes:d2e,discard_changes:u2e,discard_changes_copy:f2e,dismiss:Oae,display:ase,display_label:ile,display_not_found:Yce,display_options:l1e,display_template:y1e,display_template_not_setup:yue,display_text:nme,display_text_placeholder:ime,displays:i3e,divider:Ofe,do_nothing:Sve,documentation:Gue,done:A0e,dont_have_an_account:wge,donut:A3e,download:Rle,download_file:Kle,download_page_as_csv:_se,download_page_as_csv_unsupported:bse,downloads:Ete,draft:lee,drag_file_here:r1e,drag_mode:vle,drop_to_upload:Kfe,dropdown:yme,duplicate:T0e,duplicate_dashboard:oye,duplicate_field:Dee,duplicate_where_to:hoe,duration:Xue,edit:fde,edit_bookmark:Fde,edit_collection:Vte,edit_custom_translation:lne,edit_dashboard:che,edit_field:yee,edit_flow:Tpe,edit_folder:A1e,edit_global_bookmark:Rde,edit_image:Kde,edit_item:pde,edit_operation:qpe,edit_panels:Vhe,edit_personal_bookmark:Pde,edit_raw_value:Wae,edit_role:N1e,edit_role_bookmark:Ode,edited:Xte,edited_by:Mle,editing_image:Zde,editing_in:Fme,editing_in_batch:zme,editing_policy:y0e,editing_preset:r2e,editing_role:g0e,editing_unit:Rme,email:L0e,email_already_invited:pne,emails:vne,embed:I0e,empty_item:$fe,enable:Dte,enable_all:vde,enable_create_button:Sce,enable_custom_values:Kse,enable_search_filter:Gge,enable_select_button:Ace,enabled:hde,enabled_dev_tooltip:yde,engineering:$3e,enter_a_name:Tee,enter_a_placeholder:wae,enter_a_value:xae,enter_otp_to_disable_tfa:kde,enter_password_to_enable_tfa:Ote,enter_raw_value:Gae,enter_value_to_replace_nulls:Die,errors:Tde,exclusive:Hte,expand:Ice,expand_all:Mce,expand_none:Fce,expired:Vve,export_dashboard:iye,export_items:Oee,export_location:Lge,export_started:Ige,export_started_copy:Mge,exporting_all_items_in_collection:ece,exporting_download_hint:ice,exporting_library_hint:oce,exporting_library_hint_forced:rce,exporting_limited_items_in_collection:tce,exporting_no_items_to_export:nce,exposure:Roe,extension_bundle:Kee,extension_bundles:ate,extension_display:Vee,extension_displays:Jee,extension_endpoint:Yee,extension_endpoints:ote,extension_hook:Gee,extension_hooks:ite,extension_interface:jee,extension_interfaces:Zee,extension_layout:Hee,extension_layouts:Qee,extension_missing:ste,extension_module:Uee,extension_modules:ete,extension_operation:Xee,extension_operations:rte,extension_panel:qee,extension_panels:tte,extension_readme_missing:Xfe,extension_reload_now:ute,extension_reload_required:lte,extension_reload_required_copy:cte,extension_theme:Wee,extension_themes:nte,extensions:dee,fallback_icon:M0e,field:F0e,field_create_success:foe,field_file:Mie,field_files:Fie,field_group:Nie,field_in_collection:Hoe,field_key:Fae,field_key_placeholder:ype,field_m2a:Oie,field_m2m:zie,field_m2o:Pie,field_name:mae,field_name_placeholder:gpe,field_name_translations:Pte,field_o2m:Rie,field_options:wve,field_permissions:jie,field_presentation:Iie,field_presets:Hie,field_standard:Lie,field_translations:$ie,field_update_success:poe,field_validation:Vie,field_width:Vue,fields:xve,fields_and_layout:doe,fields_for_policy:Gie,fields_for_role:Wie,fields_group:Rre,file:P0e,file_count:Qce,file_details:Sle,file_library:O0e,file_moved:Jue,fill_template:Gse,fill_width:Fte,filter:Xde,filtered_item_count:Zce,finish_setup:Pae,fit_to_screen:Whe,flip_horizontal:efe,flip_vertical:tfe,float:rre,flow:lpe,flow_delete_confirm:Spe,flow_name:zpe,flow_setup:Rpe,flow_tracking:$pe,flow_tracking_activity:Bpe,flow_tracking_all:Npe,flow_tracking_null:jpe,flows:spe,focal_length:Noe,focal_point_tool:_le,folder:Fle,folder_key:D1e,folder_name:T1e,folders:Ple,font:Ife,font_size:K3e,font_style:X3e,font_weight:Y3e,fonts:H3e,foreground_color:Ble,foreign_key:Mae,forgot_password:R0e,format:Use,format_text:J1e,format_value:Q1e,free:Qde,full_circle:g3e,full_screen:Bhe,full_text_search:jhe,full_width:Iee,functions:lle,generate_and_save_uuid:Eve,generated_uuid:gce,geometry:vre,github:kte,global:xoe,goto_collection_content:ffe,group:Mee,group_aggregation:_oe,group_precision:boe,half_circle:v3e,half_width:Lee,hash:mre,height:Jhe,hidden:z0e,hidden_collections:xfe,hidden_field:qoe,hidden_in_group:$0e,hidden_on_detail:Woe,hide_field:soe,hide_field_on_detail:loe,hide_hidden_collections:kfe,hide_password:cye,homepage:gte,hook:Mte,horizontal:r3e,hours:ule,icon:N0e,icon_left:Tfe,icon_off:rpe,icon_on:ope,icon_right:Dfe,identifier:nee,image_url:Ghe,import_data_button:zse,import_data_error:Bse,import_data_indeterminate:$se,import_data_input_placeholder:Rse,import_data_success:Nse,import_export:Hse,import_from_url:Ule,import_label:Cle,inactive:Aue,inbox:mne,indeterminate:jte,index:Tae,info:B0e,information:jce,init:$ee,inline:Pve,input:kee,insights:Qpe,install_extension:rve,installed:lve,instance_count:Rhe,integer:are,interface_group_groups:lme,interface_group_other:cme,interface_group_presentation:sme,interface_group_relational:ame,interface_group_selection:rme,interface_group_text_and_numbers:ome,interface_label:nle,interface_not_found:qce,interface_options:s1e,interfaces:n3e,invalid_item:sae,invite:fne,invite_users:dne,ip_address:Fue,iso:$oe,item:Zfe,item_count:Kce,item_create_success:Tse,item_creation:Eee,item_delete_success:Lse,item_link:Yge,item_payload_placeholder:M3e,item_permissions:Bie,item_revision:Aee,item_update_success:Dse,items:Jfe,json:sre,junction_collection:W0e,junction_field_location:ooe,justify:W3e,keep:Ene,keep_editing:m2e,key:Yoe,label:ape,label_export:Vse,label_import:jse,language:moe,language_display_template:_1e,language_placeholder:voe,languages_collection:Ose,last_access:Wse,last_page:qse,last_updated_relative:hte,latency:G0e,layout:e2e,layout_options:c1e,layout_preview:a2e,layout_setup:s2e,layouts:o3e,leaf:Bte,leave_comment:Sse,left:E3e,left_align:Uhe,left_to_right:yae,length:kae,limit:D0e,list:qge,list_panel_allow_edit:she,live_preview:Rve,loading:Yfe,location:bee,log_detail_filter_paths:Dhe,log_in_with:Nfe,log_level_count:$he,login:Y0e,logoutReason:eie,logs:hee,logs_beginning:Lhe,logs_session_paused:Ahe,logs_session_resumed:Ehe,logs_stream_disconnected:The,logs_unread_count:Mhe,logs_waiting:Ihe,lower_limit:que,m2a_relationship:aae,m2m_relationship:rae,m2o_relationship:iae,main_version:Lne,make_collection_hidden:cfe,make_collection_visible:lfe,make_folder_hidden:dfe,make_folder_visible:ufe,manage:Pre,manual_string:yce,maps:Cee,marketplace:uee,max:Ooe,max_value:Bue,maximum_fraction_digits:J3e,media:Xhe,medium:x3e,message:one,method:aee,min:Poe,min_value:Nue,minimum_fraction_digits:Z3e,minutes:cle,modal:uae,modified:Lle,modified_on:ede,modifier:Bee,module_bar:pee,modules:fee,monospace:Pfe,month:dle,months:mle,move:Qse,move_to:kue,move_to_folder:Jse,move_tool:gle,multiple_files:nae,my_activity:X0e,my_files:C1e,n_downloads:Ste,n_files:mte,n_items_selected:x1e,name:sce,navigate_to_item:Kge,nested_files_folders_will_be_moved:_ie,new_collection:Ure,new_data_alert:$re,new_field:Hre,new_share:jve,new_tab:hme,next:hae,no_access:kie,no_app_access:Ude,no_app_access_copy:qde,no_collections:fue,no_collections_copy:mue,no_collections_copy_admin:hue,no_collections_found:zre,no_comments:Lce,no_custom_translations:cne,no_custom_translations_copy:une,no_dashboards:mhe,no_dashboards_copy:vhe,no_data:_he,no_data_in_flow:bhe,no_description:aie,no_extensions:ive,no_extensions_copy:ove,no_fields_in_collection:kve,no_file_selected:Xle,no_files_copy:eue,no_flows:Ipe,no_flows_copy:Mpe,no_image_selected:Yle,no_items:zce,no_items_copy:Jce,no_layout_collection_selected_yet:Q2e,no_logs:lge,no_notifications:aue,no_notifications_copy:sue,no_options_available:$me,no_other_dashboards_copy:Eue,no_other_flows_copy:Lpe,no_permissions:_0e,no_presets:V1e,no_presets_copy:H1e,no_presets_cta:U1e,no_refresh:Are,no_relational_data:ioe,no_results:M1e,no_results_copy:F1e,no_revisions:sge,no_shares:Bve,no_singleton_relations:gue,no_translations:gae,no_upscale:nve,no_users_copy:nue,no_value:Cve,no_visible_fields:P1e,no_visible_fields_copy:O1e,no_webhooks_copy:rue,none:J2e,normal:j0e,not_allowed:lie,not_authenticated:K0e,not_available_for_local_downloads:Qle,not_available_for_type:kre,notation:j3e,note:bae,notifications:Qae,nullable:Sie,o2m_relationship:oae,on_create:G1e,on_update:Y1e,one_or_more_options_are_missing:Xme,open:zle,open_file_in_tab:Zle,open_folder:Nle,open_in_marketplace:uve,open_in_new_window:$le,open_link_in:pme,operation_handle_reject:Jpe,operation_handle_resolve:Zpe,operation_key:Xpe,operation_key_unique_error:Kpe,operation_name:Ype,operation_not_found:Wce,operation_options:Gpe,operation_variables_note:F3e,operations:P3e,operator:tpe,operators:Wfe,optional_system_fields:p1e,options:J0e,or:zee,origin:Oue,original:wle,other:Dme,otp:Q0e,outdated_notice:Vne,owner:Ile,page_help_activity_collection:_2e,page_help_collections_collection:g2e,page_help_collections_item:y2e,page_help_collections_overview:v2e,page_help_docs_global:b2e,page_help_files_collection:x2e,page_help_files_item:w2e,page_help_insights_dashboard:U2e,page_help_insights_overview:H2e,page_help_marketplace_account:q2e,page_help_marketplace_extension:G2e,page_help_marketplace_registry:W2e,page_help_settings_appearance:C2e,page_help_settings_datamodel_collections:E2e,page_help_settings_datamodel_fields:A2e,page_help_settings_extensions:S2e,page_help_settings_flows_collection:z2e,page_help_settings_flows_item:$2e,page_help_settings_policies_collection:D2e,page_help_settings_policies_item:L2e,page_help_settings_presets_collection:F2e,page_help_settings_presets_item:P2e,page_help_settings_project:k2e,page_help_settings_roles_collection:I2e,page_help_settings_roles_item:M2e,page_help_settings_system_logs:T2e,page_help_settings_translations_collection:N2e,page_help_settings_translations_item:B2e,page_help_settings_webhooks_collection:O2e,page_help_settings_webhooks_item:R2e,page_help_users_collection:j2e,page_help_users_item:V2e,page_not_found:nse,page_not_found_body:ise,panel:the,panel_delete_confirm:ahe,panel_header:ihe,panel_name_placeholder:ohe,panel_note_placeholder:rhe,panel_options:nhe,panels:T3e,partially_enabled:mde,password:ege,password_reset_sent:Wde,password_reset_successful:Gde,paste_raw_value:Vae,paste_raw_value_fail:Uae,paste_raw_value_success:Hae,pause:e3e,pause_streaming_logs:She,payload:whe,per_page:w1e,percent:sye,permission_add_collection:b0e,permissions:nge,permissionsLevel:hle,permissions_for_policy:qie,permissions_for_role:Uie,placeholder:Afe,policy_name:$te,popular:Fee,post_comment_success:Ese,post_comment_updated:Ase,precision:ire,precision_scale:Sae,prefix:Cne,prefix_placeholder:fhe,presentation_and_aliases:Qie,presentation_text_values_cannot_be_reimported:yse,preset_name_placeholder:i2e,preset_search_placeholder:o2e,presets:Bde,presets_field_warning:Jie,presets_for_policy:Zie,presets_for_role:Kie,presets_only:q1e,primary:xne,primary_key:Iae,primary_key_field:lce,private_user:xse,promote_notice:Hne,promote_version:zne,promote_version_changes:Bne,promote_version_disabled:$ne,promote_version_drawer_title:Nne,promote_version_preview:jne,public_description:nie,public_label:tie,public_role_info:iie,published:see,published_relative:dte,quality:Khe,raw_editor_placeholder:zae,raw_value:$ae,reached_maximum_number_of_extensions:sie,read:X1e,readonly:Eae,recent:Pee,recent_files:S1e,recommended_defaults:vie,referential_action_cascade:d0e,referential_action_field_label_m2o:l0e,referential_action_field_label_o2m:c0e,referential_action_no_action:u0e,referential_action_set_default:p0e,referential_action_set_null:f0e,refresh_interval:Ere,refresh_interval_minutes:Dre,refresh_interval_seconds:Tre,register:yge,registration_successful_check_email_note:xge,registration_successful_headline:_ge,registration_successful_note:bge,reinstall:cve,related_collection:Mse,related_collections:Fse,relational_triggers:s0e,relationship:ige,relationship_not_setup:vue,reload_page:_te,reload_required:bte,remove:ade,remove_item:Jge,rename_folder:wne,rename_version:Pne,replace_file:I1e,replace_from_device:qle,replace_from_library:Wle,replace_from_url:Gle,report_an_issue:xte,report_bug:Vce,report_error:Vge,repository:yte,request_body:Uce,request_feature:Hce,require_confirmation:lae,require_value_to_be_set:zge,required:Kte,required_for_app_access:Zte,requires_value:Jte,reset:oge,reset_bookmark:Gne,reset_display:Xce,reset_interface:Gce,reset_page_preferences:Uoe,reset_password:rge,reset_system_permissions_copy:pie,reset_system_permissions_to:fie,reset_to_default:Zae,reset_width:vee,resume:t3e,resume_streaming_logs:Che,revert:cge,revision_delta_by:gse,revision_delta_created:cse,revision_delta_created_externally:use,revision_delta_deleted:fse,revision_delta_other:vse,revision_delta_reverted:hse,revision_delta_update_message:mse,revision_delta_updated:dse,revision_delta_version_saved:pse,revision_post_create:eoe,revision_post_update:toe,revision_preview:kse,revisions:age,right:S3e,right_align:qhe,right_to_left:_ae,role:$1e,role_name:zte,roles:Due,rotate:ife,rounded_stroke:_3e,rows:u1e,rule:B1e,run_flow:mpe,run_flow_confirm:upe,run_flow_on_current:fpe,run_flow_on_current_collection:dpe,run_flow_on_current_edited_confirm:ppe,run_flow_on_selected:hpe,run_flow_success:vpe,sans_serif:Mfe,save:uge,save_and_create_new:_ce,save_and_quit:xce,save_and_stay:bce,save_as_copy:wce,save_current_datetime:Dve,save_current_user_id:Ave,save_current_user_role:Tve,save_image:mme,save_media:vme,save_version:Rne,saves_automatically:z1e,schema:dge,schema_setup_key:Boe,scientific:z3e,scope:Zme,search:fge,search_collection:Nre,search_dashboard:rye,search_extensions:Nce,search_field:Vre,search_filter:Wge,search_flow:aye,search_items:$ce,search_logs:Phe,search_policy:jre,search_role:Bre,second:Zue,security:Dde,select:Qme,select_a_collection:bue,select_a_field:xue,select_a_flow:cpe,select_a_theme:Cme,select_all:ple,select_an_item:dde,select_display:vge,select_existing:pge,select_field_type:hge,select_fields:Z1e,select_interface:mge,select_item:Rce,selecting_items:Ece,series_grouping:tye,serif:Ffe,set_flow_active:Epe,set_flow_inactive:Ape,settings:gge,settings_appearance:Hme,settings_data_model:Nme,settings_flows:qme,settings_permissions:jme,settings_presets:Gme,settings_project:Vme,settings_roles:Bme,settings_system_logs:Wme,settings_translations:Yme,settings_update_success:sse,settings_webhooks:Ume,share:Uve,share_access_not_found:e0e,share_access_not_found_desc:t0e,share_access_not_found_title:n0e,share_access_page:Qve,share_copy_link:i0e,share_copy_link_error:r0e,share_copy_link_success:o0e,share_item:qve,share_send_link:a0e,shared_enter_passcode:Gve,shared_last_remaining:Zve,shared_leave_blank_for_passwordless_access:Yve,shared_leave_blank_for_unlimited:Xve,shared_times_remaining:Kve,shared_uses_left:Jve,shared_with_you:Wve,shares:zve,show_active_items:Wte,show_all_activity:tse,show_all_items:Yte,show_archived_items:Gte,show_axis_labels:m3e,show_data_label:p3e,show_field_on_detail:coe,show_header:Cfe,show_hidden_collections:wfe,show_labels:k3e,show_legend:C3e,show_link_to_item:Xge,show_password:lye,show_percentage:Q3e,show_x_axis:p2e,show_x_only:d3e,show_y_axis:h2e,show_y_only:f3e,show_zero:Coe,shutter:zoe,sidebar:Yue,sign_in:Sge,sign_out:Ege,sign_out_confirm:Age,sign_up_now:Cge,single_file:tae,singleton:gve,singleton_label:yve,size:Ale,soft_length:Cae,soft_wrap_lines:Nhe,something_went_wrong:Tge,sort:ode,sort_asc:Fge,sort_desc:Pge,sort_direction:Dge,sort_field:nde,source:eme,source_local:fve,source_module:pve,source_registry:dve,square:Jde,standard:R3e,standard_field:eae,start:Hge,start_collapsed:Mve,start_end_of_count_filtered_items:mfe,start_end_of_count_items:hfe,start_export:Jle,start_flow:Vpe,start_open:Ive,status:rde,stop_flow:Hpe,string:ure,stroke_width:y3e,style:V3e,subject:hne,submit:Zse,success:V0e,suffix:Sne,suffix_placeholder:phe,sum:Toe,sum_distinct:Doe,switch_user:See,switch_version:Ine,switch_version_copy:Mne,system:ele,system_collections:Efe,system_fields_locked:_ve,table:Uge,template:Rge,text:dre,text_align:G3e,text_wrap:U3e,tfa_scan_code:wde,tfa_setup:xde,the_following_are_minimum_permissions:hie,theme:kme,theme_auto:gre,theme_dark:_re,theme_directus_colormatch:wre,theme_directus_default:bre,theme_directus_minimal:xre,theme_light:yre,thin:b3e,this_collection:Ise,this_will_auto_setup_fields_relations:Ire,tile_size:gee,time:fre,timestamp:pre,title:lse,to_manually_setup_translations:Fre,today:ole,toggle:ipe,toggle_manual_sorting:sde,toggle_raw_editor:Rae,tooltip:ume,tooltip_placeholder:dme,top:roe,transformation_preset_key:Qhe,translation:$ge,translation_key_placeholder:ere,translation_placeholder:Nge,translations:vae,translations_collection:Pse,translations_display_template:b1e,tree_view:t2e,trigger:_pe,trigger_options:bpe,trigger_setup:kpe,triggers:D3e,type:cce,unarchive:gie,unarchive_confirm:yie,undo_changes:Jae,undo_removed_item:Zge,unexpected_error:jde,unexpected_error_copy:Vde,uninstall:sve,uninstall_locked:ave,unique:Aae,unit:O3e,unknown:mee,unknown_user:Ime,unlimited:fme,unlimited_usage:$ve,unmanaged_collections:Sfe,unsaved_changes:l2e,unsaved_changes_copy:c2e,upcoming:Hve,update:K1e,update_bookmark:Yne,update_collection_success:afe,updated_by:Lae,updated_on:Dae,updates_made:Cse,updating_flow:Ope,upload_file:Qfe,upload_file_indeterminate:e1e,upload_file_success:t1e,upload_files_indeterminate:n1e,upload_files_success:i1e,upload_from_device:Vle,upload_pending:o1e,uploaded:Dle,upper_limit:Uue,url:kle,url_placeholder:tme,use_custom:Cie,user:j1e,user_agent:Pue,user_count:tue,user_directory:Wue,users:Tue,uses_left:Nve,uuid:hre,validation:Aoe,validationError:xie,validation_errors_notice:bie,validation_for_policy:Xie,validation_for_role:Yie,value:Bge,value_decimals:$ue,value_hashed:Lde,value_index:m1e,value_unique:h1e,verified:vte,version:Ane,version_key:Tne,version_name:Dne,vertical:a3e,view_project:jge,view_raw_value:qae,view_trigger:xpe,viewing_in:Pme,visible:dhe,visible_collections:bfe,warning:H0e,webhooks:Rue,webhooks_count:iue,webhooks_deprecation_notice:oue,website:wte,width:Zhe,wysiwyg_options:gme,x_axis:l3e,xml:lre,y_axis:c3e,y_axis_function:u3e,yaml:cre,year:fle,yesterday:rle,zoom:Ole},Symbol.toStringTag,{value:"Module"})),wo=cK({legacy:!1,locale:"en-US",fallbackLocale:"en-US",messages:{"en-US":xz},silentTranslationWarn:!0,datetimeFormats:QQ,numberFormats:eee}),_L=["en-US"];function em(n){var a,r,l,s,u;const e=wo.global.t("unexpected_error");let t=n;if(typeof n=="object"&&(t=(u=(s=(l=(r=(a=n==null?void 0:n.response)==null?void 0:a.data)==null?void 0:r.errors)==null?void 0:l[0])==null?void 0:s.extensions)==null?void 0:u.code),!n||!t)return e;const i=`errors.${t}`;return wo.global.te(i)===!1?e:wo.global.t(i)}function r_(n,e=!1){const t=e?"@$|":"{}@$|";return n.replace(new RegExp(`([${t}])`,"g"),"{'$1'}")}function Kc(n){return n?n.first_name&&n.last_name?`${n.first_name} ${n.last_name}`:n.first_name?n.first_name:n.email?n.email:wo.global.t("unknown_user"):wo.global.t("unknown_user")}const Gr=dd({id:"userStore",state:()=>({currentUser:null,loading:!1,error:null}),getters:{fullName(){return this.currentUser===null||"share"in this.currentUser?null:Kc(this.currentUser)},isAdmin(){var n;return((n=this.currentUser)==null?void 0:n.admin_access)===!0||!1}},actions:{async hydrate(){var n,e;this.loading=!0;try{const t=["*","role.id"],[{data:i},{data:o},{data:a}]=await Promise.all([Yn.get("/users/me",{params:{fields:t}}),Yn.get("/policies/me/globals"),Yn.get("/roles/me",{params:{fields:["id"]}})]);this.currentUser={...i.data,...((n=i.data)==null?void 0:n.avatar)!=null?{avatar:{id:(e=i.data)==null?void 0:e.avatar}}:{},...o.data,roles:a.data}}catch(t){this.error=t}finally{this.loading=!1}},async dehydrate(){this.$reset()},async hydrateAdditionalFields(n){try{const{data:e}=await Yn.get("/users/me",{params:{fields:n}});this.currentUser=et.merge({},this.currentUser,e.data)}catch{}},async trackPage(n){n.path.endsWith("/preview")||(await Yn.patch("/users/me/track/page",{last_page:n.fullPath},{measureLatency:!0}),this.currentUser&&!("share"in this.currentUser)&&(this.currentUser.last_page=n.fullPath))}}}),fg=dd({id:"notificationsStore",state:()=>({dialogs:[],queue:[],previous:[],notifications:[],unread:0}),actions:{async hydrate(){const n=Gr();n.currentUser&&!("share"in n.currentUser)&&await this.refreshUnreadCount()},async refreshUnreadCount(){const n=Gr();if(!n.currentUser||!("id"in n.currentUser))return;const e=await Yn.get("/notifications",{params:{filter:{_and:[{recipient:{_eq:n.currentUser.id}},{status:{_eq:"inbox"}}]},aggregate:{count:"id"}}});this.unread=e.data.data[0].count.id},setUnreadCount(n){this.unread=n<0?0:n},add(n){const e=Mv(),t=Date.now();return n.dialog===!0?(n.persist=!0,this.dialogs=[...this.dialogs,{...n,id:e,timestamp:t}]):this.queue=[...this.queue,{...n,id:e,timestamp:t}],n.persist!==!0&&setTimeout(()=>{this.remove(e)},3e3),e},hide(n){const t=[...this.queue,...this.dialogs].find(i=>i.id===n);t&&(t.dialog===!0?this.dialogs=this.dialogs.filter(i=>i.id!==n):this.queue=this.queue.filter(i=>i.id!==n),this.previous=[...this.previous,t])},remove(n){const t=[...this.queue,...this.dialogs].find(i=>i.id===n);t&&(t.dialog===!0?this.dialogs=this.dialogs.filter(i=>i.id!==n):this.queue=this.queue.filter(i=>i.id!==n))},update(n,e){this.queue=this.queue.map(t),this.dialogs=this.dialogs.map(t),this.previous=this.queue.map(t);function t(i){return i.id===n?{...i,...e}:i}}},getters:{lastFour(){const n=[...this.queue,...this.previous.filter(i=>i.dialog!==!0)],t=et.reverse(et.sortBy(n,["timestamp"])).slice(0,4);return et.reverse(t)}}});let xx;function sl(n){xx||(xx=fg()),xx.add(n)}let wx;function Vi(n){var t,i,o,a,r,l;wx||(wx=fg());const e=((r=(a=(o=(i=(t=n.response)==null?void 0:t.data)==null?void 0:i.errors)==null?void 0:o[0])==null?void 0:a.extensions)==null?void 0:r.code)||((l=n==null?void 0:n.extensions)==null?void 0:l.code)||"UNKNOWN";console.warn(n),wx.add({title:wo.global.t(`errors.${e}`),type:"error",code:e,dialog:!0,error:n})}function dye(n){return n.replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1_$2").toLowerCase()}function fye(n){return n.charAt(0).toUpperCase()+n.substring(1)}var pye=["2D","3D","4WD","A2O","AI","API","BIOS","CC","CCTV","CCV","CD","CD-ROM","CIA","CMS","COBOL","CSS","CSV","CV","DB","DIY","DNA","DVD","E3","EIN","ESPN","FAQ","FAQs","FBI","FORTRAN","FPS","FTP","HTML","HTTP","HTTPS","ID","IP","ISO","JS","JSON","LASER","M2A","M2M","M2MM","M2O","MMORPG","NAFTA","NASA","NDA","O2A","O2M","PDF","PHP","POP","RAM","RNGR","ROM","RPG","RTFM","RTS","SCUBA","SDK","SITCOM","SKU","SMTP","SQL","SSL","SSN","SWAT","TBS","TLS","TNA","TS","TTL","TV","UI","URL","USB","UWP","VIP","W3C","WWE","WWF","WWW","WYSIWYG"],hye=["a","an","the"],mye=["and","that","but","or","as","if","when","than","because","while","where","after","so","though","since","until","whether","before","although","nor","like","once","unless","now","except"],vye=["about","above","across","after","against","along","among","around","at","because of","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","despite","down","during","except","excepting","for","from","in","in front of","inside","in spite of","instead of","into","like","near","of","off","on","onto","out","outside","over","past","regarding","since","through","throughout","to","toward","under","underneath","until","up","upon","up to","with","within","without","with regard to","with respect to"],gye=["2FA","4K","5K","8K","AGI","BI","ChatGPT","CTA","DateTime","FMS","GitHub","GPT","HD","IBMid","IDs","iMac","IMAX","iOS","iPad","iPhone","iPod","LDAP","LinkedIn","LLM","macOS","McDonalds","ML","MySQL","NLG","NLP","NLU","OpenAI","PDFs","PIM","PEFT","pH","PostgreSQL","SEO","TTS","UHD","UUID","XSS","YouTube"];function yye(n,e,t){const i=n.toLowerCase(),o=n.toUpperCase();for(const a of gye)if(a.toLowerCase()===i)return a;return pye.includes(o)?o:e===0||e===t.length-1||n.length>=4?n:vye.includes(i)||mye.includes(i)||hye.includes(i)?i:n}function _ye(n,e){return`${n} ${e}`}function bye(n,e=new RegExp("\\s|-|_","g")){return dye(n).split(e).map(fye).map(yye).reduce(_ye)}var ac=bye;function sh(n){let e=n;return typeof n=="string"&&n.startsWith("$t:")&&(e=wo.global.t(n.replace("$t:",""))),e}function Cl(n){if(typeof n=="string")return n.replaceAll(/(\$t:[a-zA-Z0-9.-]*)/gm,e=>sh(e));{const e=et.cloneDeep(n);return Object.entries(e).forEach(([t,i])=>{i&&typeof i=="object"&&(e[t]=Cl(i)),i&&typeof i=="string"&&(e[t]=sh(i))}),e}}const xye={collection:"directus_files",field:"$thumbnail",schema:null,name:"$thumbnail",type:"integer",meta:{id:-1,collection:"directus_files",field:"$thumbnail",sort:null,special:null,interface:null,options:null,display:"file",display_options:null,hidden:!1,translations:null,readonly:!0,width:"full",group:null,note:null,required:!1,conditions:null,validation:null,validation_message:null}};let bL;const so=dd("fieldsStore",()=>{const n=Oe([]);return{fields:n,hydrate:e,dehydrate:t,parseField:i,translateFields:o,upsertField:a,createField:r,updateField:l,updateFields:s,deleteField:u,getPrimaryKeyFieldForCollection:d,getFieldsForCollection:g,getFieldsForCollectionAlphabetical:m,getFieldsForCollectionSorted:_,getField:x,getFieldGroupChildren:S};async function e(F){const L=(await Yn.get("/fields")).data.data;n.value=[...L.map(i),xye],(F==null?void 0:F.skipTranslation)!==!0&&o()}async function t(){n.value=[]}function i(F){var w;let C=ac(F.field);const L=F.meta&&!et.isNil(F.meta.translations)&&Array.isArray(F.meta.translations)?F.meta.translations.map($=>$.language):[];for(const $ of wo.global.availableLocales)wo.global.te(`fields.${F.collection}.${F.field}`,$)&&!L.includes($)&&!((w=F.meta)!=null&&w.system)&&wo.global.mergeLocaleMessage($,{fields:{[F.collection]:{[F.field]:void 0}}});if(F.meta&&Array.isArray(F.meta.translations))for(const{language:$,translation:B}of F.meta.translations)wo.global.mergeLocaleMessage($,{...B?{fields:{[F.collection]:{[F.field]:r_(B)}}}:{}});return wo.global.te(`fields.${F.collection}.${F.field}`)&&(C=wo.global.t(`fields.${F.collection}.${F.field}`)),{...F,name:C}}function o(){n.value=n.value.map(F=>{var L,w,$,B;const C={};return wo.global.te(`fields.${F.collection}.${F.field}`)&&(C.name=wo.global.t(`fields.${F.collection}.${F.field}`)),F.meta&&(C.meta={}),(L=F.meta)!=null&&L.note&&(C.meta.note=sh(F.meta.note)),(w=F.meta)!=null&&w.options&&(C.meta.options=Cl(F.meta.options)),($=F.meta)!=null&&$.display_options&&(C.meta.display_options=Cl(F.meta.display_options)),(B=F.meta)!=null&&B.validation_message&&(C.meta.validation_message=sh(F.meta.validation_message)),et.isEmpty(C)?F:et.merge({},F,C)})}async function a(F,C,L){const w=x(F,C),$=et.omit(L,["name"]);return w?et.isEqual(L,w)?void 0:await l(F,C,$):await r(F,$)}async function r(F,C){const L=[...n.value];try{const w=await Yn.post(`/fields/${F}`,C),$=i(w.data.data);return n.value=[...n.value,$],$}catch(w){n.value=L,Vi(w)}}async function l(F,C,L){const w=[...n.value];n.value=n.value.map($=>$.collection===F&&$.field===C?et.merge({},$,L):$);try{const $=await Yn.patch(`/fields/${F}/${C}`,L);n.value=n.value.map(B=>B.collection===F&&B.field===C?i($.data.data):B)}catch($){n.value=w,Vi($)}}async function s(F,C){const L=Mv(),w=[...n.value];bL=L,n.value=n.value.map($=>{if($.collection===F){const B=C.find(V=>V.field===$.field);if(B)return et.merge({},$,B)}return $});try{const $=await Yn.patch(`/fields/${F}`,C);bL===L&&(n.value=n.value.map(B=>{if(B.collection===F){const V=$.data.data.find(W=>W.field===B.field);if(V)return i(V)}return B}),o())}catch($){n.value=w,Vi($)}}async function u(F,C){const L=Ha(),w=Ir(),$=[...n.value],B=[...L.relations];n.value=n.value.filter(V=>!(V.field===C&&V.collection===F)),L.relations=L.relations.filter(V=>{var W;return!(V.collection===F&&V.field===C||V.related_collection===F&&((W=V.meta)==null?void 0:W.one_field)===C)});try{await Yn.delete(`/fields/${F}/${C}`),await w.hydrate()}catch(V){n.value=$,L.relations=B,Vi(V)}}function d(F){return n.value.find(L=>{var w;return L.collection===F&&((w=L.schema)==null?void 0:w.is_primary_key)===!0})??null}function g(F){return et.orderBy(n.value.filter(C=>C.collection===F),[C=>{var L;return((L=C.meta)==null?void 0:L.system)===!0},C=>{var L,w;return(L=C.meta)!=null&&L.sort?Number((w=C.meta)==null?void 0:w.sort):null}],["desc","asc"])}function m(F){return g(F).sort((C,L)=>C.field<L.field?-1:(C.field>L.field,1))}function _(F){const C=et.orderBy(n.value.filter(w=>w.collection===F),"meta.sort"),L=C.filter(w=>{var $;return!(($=w.meta)!=null&&$.group)});for(const[w,$]of L.entries()){const B=C.filter(V=>{var W;return((W=V.meta)==null?void 0:W.group)===$.field});B.length&&L.splice(w+1,0,...et.orderBy(B,"meta.sort"))}return L}function x(F,C){return C.includes(".")?A(F,C)||null:n.value.find(L=>L.collection===F&&L.field===C)||null}function S(F,C){return n.value.filter(L=>{var w;return L.collection===F&&((w=L.meta)==null?void 0:w.group)===C})||null}function A(F,C){const L=Ha(),[w,...$]=C.split(".");if(w.includes(":")){const[oe,ue]=w.split(":");return x(ue,$.join("."))}const B=L.getRelationsForField(F,w),V=B==null?void 0:B.find(oe=>{var ue;return oe.field===w||((ue=oe.meta)==null?void 0:ue.one_field)===w});if(V===void 0)return!1;const W=V.field===w?V.related_collection:V.collection;if(W===null)return!1;const J=$.join(".");return x(W,J)}}),Ha=dd({id:"relationsStore",state:()=>({relations:[]}),actions:{async hydrate(){const n=await Yn.get("/relations");this.relations=n.data.data},async dehydrate(){this.$reset()},getRelationsForCollection(n){return this.relations.filter(e=>e.collection===n||e.related_collection===n)},async upsertRelation(n,e,t){const i=this.getRelationForField(n,e);try{if(i){if(et.isEqual(i,t))return;const o=await Yn.patch(`/relations/${n}/${e}`,t);this.relations=this.relations.map(a=>a.collection===n&&a.field===e?o.data.data:a)}else{const o=await Yn.post("/relations",t);this.relations=[...this.relations,o.data.data]}}catch(o){Vi(o)}},getRelationsForField(n,e){var a;if(!so().getField(n,e))return[];const o=this.getRelationsForCollection(n).filter(r=>{var l;return r.collection===n&&r.field===e||r.related_collection===n&&((l=r.meta)==null?void 0:l.one_field)===e});if(o.length>0){const r=o[0];if(((a=r.meta)==null?void 0:a.junction_field)!==null){const s=this.relations.find(u=>{var d,g;return u.collection===r.collection&&u.field===((d=r.meta)==null?void 0:d.junction_field)&&((g=u.meta)==null?void 0:g.junction_field)===r.field});s&&o.push(s)}}return o},getRelationForField(n,e){return so().getField(n,e)&&this.getRelationsForCollection(n).filter(a=>{var r;return a.collection===n&&a.field===e||a.related_collection===n&&((r=a.meta)==null?void 0:r.one_field)===e}).find(a=>a.collection===n&&a.field===e)||null},getRelationTypes(n,e){var r;if(!e.includes("."))return[];const t=e.split("."),i=t[0].includes(":")?t[0].split(":")[0]:t[0],o=this.getRelationsForField(n,i).find(l=>l.collection===n||l.related_collection===n);if(!o)return[];switch(_8({collection:n,field:i,relation:o})){case"o2m":return["o2m",...this.getRelationTypes(o.collection,t.slice(1).join("."))];case"m2o":return o.related_collection?["m2o",...this.getRelationTypes(o.related_collection,t.slice(1).join("."))]:[];case"m2a":return(r=o.meta)!=null&&r.one_allowed_collections?["m2a",...this.getRelationTypes(t[0].split(":")[1],t.slice(1).join("."))]:["m2a"]}return[]}}}),Ir=dd("collectionsStore",()=>{const n=Oe([]),e=Ce(()=>n.value.filter(({collection:_})=>Ks(_)===!1).filter(_=>{var x;return _.meta&&((x=_.meta)==null?void 0:x.hidden)!==!0})),t=Ce(()=>n.value.filter(({collection:_})=>Ks(_)===!1)),i=Ce(()=>t.value.filter(_=>_.schema)),o=Ce(()=>et.orderBy(n.value.filter(_=>Ks(_.collection)),"collection").filter(_=>MZ.includes(_.collection)===!1));return{collections:n,visibleCollections:e,allCollections:t,databaseCollections:i,crudSafeSystemCollections:o,hydrate:a,dehydrate:r,prepareCollectionForApp:l,translateCollections:s,upsertCollection:u,updateCollection:d,deleteCollection:g,getCollection:m};async function a(){const x=(await Yn.get("/collections")).data.data;n.value=x.map(l)}async function r(){n.value=[]}function l(_){var L,w;const x=((L=_.meta)==null?void 0:L.icon)||"database",S=(w=_.meta)==null?void 0:w.color;let A=ac(_.collection);const F=EX(_),C=_.meta&&!et.isNil(_.meta.translations)&&Array.isArray(_.meta.translations)?_.meta.translations.map($=>$.language):[];for(const $ of wo.global.availableLocales)wo.global.te(`collection_names.${_.collection}`,$)&&!C.includes($)&&wo.global.mergeLocaleMessage($,{collection_names:{[_.collection]:void 0}});if(_.meta&&Array.isArray(_.meta.translations))for(const{language:$,translation:B,singular:V,plural:W}of _.meta.translations)wo.global.mergeLocaleMessage($,{...B?{collection_names:{[_.collection]:r_(B)}}:{},...V?{collection_names_singular:{[_.collection]:r_(V)}}:{},...W?{collection_names_plural:{[_.collection]:r_(W)}}:{}});return wo.global.te(`collection_names.${_.collection}`)&&(A=wo.global.t(`collection_names.${_.collection}`)),{..._,name:A,type:F,icon:x,color:S}}function s(){n.value=n.value.map(_=>(wo.global.te(`collection_names.${_.collection}`)&&(_.name=wo.global.t(`collection_names.${_.collection}`)),_))}async function u(_,x){const S=m(_),A=et.omit(x,["name","type","icon","color"]);try{if(S){if(et.isEqual(S,x))return;const F=await Yn.patch(`/collections/${_}`,A);n.value=n.value.map(C=>C.collection===_?l(F.data.data):C)}else{const F=await Yn.post("/collections",A);n.value=[...n.value,l(F.data.data)]}}catch(F){Vi(F)}}async function d(_,x){try{await Yn.patch(`/collections/${_}`,x),await a(),sl({title:wo.global.t("update_collection_success")})}catch(S){Vi(S)}}async function g(_){const x=Ha();try{await Yn.delete(`/collections/${_}`),await Promise.all([a(),x.hydrate()]),sl({title:wo.global.t("delete_collection_success")})}catch(S){Vi(S)}}function m(_){return n.value.find(x=>x.collection===_)||null}}),wye=Du({id:"collection",name:"$t:displays.collection.collection",description:"$t:displays.collection.description",types:["string"],icon:"label",component:JQ,handler:n=>{var t;return((t=Ir().getCollection(n))==null?void 0:t.name)??n},options:[{field:"icon",name:"$t:icon",type:"boolean",meta:{interface:"boolean",options:{label:"$t:displays.collection.icon_label"}},schema:{default_value:!1}}]});function xE(n){return/^#(([a-f\d]{3,4}))$/i.test(n)||/^#(([a-f\d]{2}){3,4})$/i.test(n)}var wz={exports:{}},kz={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Cz={exports:{}},kye=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},Cye=kye,Sye=Array.prototype.concat,Eye=Array.prototype.slice,xL=Cz.exports=function(e){for(var t=[],i=0,o=e.length;i<o;i++){var a=e[i];Cye(a)?t=Sye.call(t,Eye.call(a)):t.push(a)}return t};xL.wrap=function(n){return function(){return n(xL(arguments))}};var Aye=Cz.exports,a_=kz,g5=Aye,Sz=Object.hasOwnProperty,Ez=Object.create(null);for(var kx in a_)Sz.call(a_,kx)&&(Ez[a_[kx]]=kx);var y1=wz.exports={to:{},get:{}};y1.get=function(n){var e=n.substring(0,3).toLowerCase(),t,i;switch(e){case"hsl":t=y1.get.hsl(n),i="hsl";break;case"hwb":t=y1.get.hwb(n),i="hwb";break;default:t=y1.get.rgb(n),i="rgb";break}return t?{model:i,value:t}:null};y1.get.rgb=function(n){if(!n)return null;var e=/^#([a-f0-9]{3,4})$/i,t=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,i=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,o=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,a=/^(\w+)$/,r=[0,0,0,1],l,s,u;if(l=n.match(t)){for(u=l[2],l=l[1],s=0;s<3;s++){var d=s*2;r[s]=parseInt(l.slice(d,d+2),16)}u&&(r[3]=parseInt(u,16)/255)}else if(l=n.match(e)){for(l=l[1],u=l[3],s=0;s<3;s++)r[s]=parseInt(l[s]+l[s],16);u&&(r[3]=parseInt(u+u,16)/255)}else if(l=n.match(i)){for(s=0;s<3;s++)r[s]=parseInt(l[s+1],0);l[4]&&(l[5]?r[3]=parseFloat(l[4])*.01:r[3]=parseFloat(l[4]))}else if(l=n.match(o)){for(s=0;s<3;s++)r[s]=Math.round(parseFloat(l[s+1])*2.55);l[4]&&(l[5]?r[3]=parseFloat(l[4])*.01:r[3]=parseFloat(l[4]))}else return(l=n.match(a))?l[1]==="transparent"?[0,0,0,0]:Sz.call(a_,l[1])?(r=a_[l[1]],r[3]=1,r):null:null;for(s=0;s<3;s++)r[s]=mv(r[s],0,255);return r[3]=mv(r[3],0,1),r};y1.get.hsl=function(n){if(!n)return null;var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,t=n.match(e);if(t){var i=parseFloat(t[4]),o=(parseFloat(t[1])%360+360)%360,a=mv(parseFloat(t[2]),0,100),r=mv(parseFloat(t[3]),0,100),l=mv(isNaN(i)?1:i,0,1);return[o,a,r,l]}return null};y1.get.hwb=function(n){if(!n)return null;var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,t=n.match(e);if(t){var i=parseFloat(t[4]),o=(parseFloat(t[1])%360+360)%360,a=mv(parseFloat(t[2]),0,100),r=mv(parseFloat(t[3]),0,100),l=mv(isNaN(i)?1:i,0,1);return[o,a,r,l]}return null};y1.to.hex=function(){var n=g5(arguments);return"#"+Mb(n[0])+Mb(n[1])+Mb(n[2])+(n[3]<1?Mb(Math.round(n[3]*255)):"")};y1.to.rgb=function(){var n=g5(arguments);return n.length<4||n[3]===1?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"};y1.to.rgb.percent=function(){var n=g5(arguments),e=Math.round(n[0]/255*100),t=Math.round(n[1]/255*100),i=Math.round(n[2]/255*100);return n.length<4||n[3]===1?"rgb("+e+"%, "+t+"%, "+i+"%)":"rgba("+e+"%, "+t+"%, "+i+"%, "+n[3]+")"};y1.to.hsl=function(){var n=g5(arguments);return n.length<4||n[3]===1?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"};y1.to.hwb=function(){var n=g5(arguments),e="";return n.length>=4&&n[3]!==1&&(e=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+e+")"};y1.to.keyword=function(n){return Ez[n.slice(0,3)]};function mv(n,e,t){return Math.min(Math.max(e,n),t)}function Mb(n){var e=Math.round(n).toString(16).toUpperCase();return e.length<2?"0"+e:e}var Tye=wz.exports;const D_=kz,Az={};for(const n of Object.keys(D_))Az[D_[n]]=n;const Yo={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Tz=Yo;for(const n of Object.keys(Yo)){if(!("channels"in Yo[n]))throw new Error("missing channels property: "+n);if(!("labels"in Yo[n]))throw new Error("missing channel labels property: "+n);if(Yo[n].labels.length!==Yo[n].channels)throw new Error("channel and label counts mismatch: "+n);const{channels:e,labels:t}=Yo[n];delete Yo[n].channels,delete Yo[n].labels,Object.defineProperty(Yo[n],"channels",{value:e}),Object.defineProperty(Yo[n],"labels",{value:t})}Yo.rgb.hsl=function(n){const e=n[0]/255,t=n[1]/255,i=n[2]/255,o=Math.min(e,t,i),a=Math.max(e,t,i),r=a-o;let l,s;a===o?l=0:e===a?l=(t-i)/r:t===a?l=2+(i-e)/r:i===a&&(l=4+(e-t)/r),l=Math.min(l*60,360),l<0&&(l+=360);const u=(o+a)/2;return a===o?s=0:u<=.5?s=r/(a+o):s=r/(2-a-o),[l,s*100,u*100]};Yo.rgb.hsv=function(n){let e,t,i,o,a;const r=n[0]/255,l=n[1]/255,s=n[2]/255,u=Math.max(r,l,s),d=u-Math.min(r,l,s),g=function(m){return(u-m)/6/d+1/2};return d===0?(o=0,a=0):(a=d/u,e=g(r),t=g(l),i=g(s),r===u?o=i-t:l===u?o=1/3+e-i:s===u&&(o=2/3+t-e),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,u*100]};Yo.rgb.hwb=function(n){const e=n[0],t=n[1];let i=n[2];const o=Yo.rgb.hsl(n)[0],a=1/255*Math.min(e,Math.min(t,i));return i=1-1/255*Math.max(e,Math.max(t,i)),[o,a*100,i*100]};Yo.rgb.cmyk=function(n){const e=n[0]/255,t=n[1]/255,i=n[2]/255,o=Math.min(1-e,1-t,1-i),a=(1-e-o)/(1-o)||0,r=(1-t-o)/(1-o)||0,l=(1-i-o)/(1-o)||0;return[a*100,r*100,l*100,o*100]};function Dye(n,e){return(n[0]-e[0])**2+(n[1]-e[1])**2+(n[2]-e[2])**2}Yo.rgb.keyword=function(n){const e=Az[n];if(e)return e;let t=1/0,i;for(const o of Object.keys(D_)){const a=D_[o],r=Dye(n,a);r<t&&(t=r,i=o)}return i};Yo.keyword.rgb=function(n){return D_[n]};Yo.rgb.xyz=function(n){let e=n[0]/255,t=n[1]/255,i=n[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92;const o=e*.4124+t*.3576+i*.1805,a=e*.2126+t*.7152+i*.0722,r=e*.0193+t*.1192+i*.9505;return[o*100,a*100,r*100]};Yo.rgb.lab=function(n){const e=Yo.rgb.xyz(n);let t=e[0],i=e[1],o=e[2];t/=95.047,i/=100,o/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*i-16,r=500*(t-i),l=200*(i-o);return[a,r,l]};Yo.hsl.rgb=function(n){const e=n[0]/360,t=n[1]/100,i=n[2]/100;let o,a,r;if(t===0)return r=i*255,[r,r,r];i<.5?o=i*(1+t):o=i+t-i*t;const l=2*i-o,s=[0,0,0];for(let u=0;u<3;u++)a=e+1/3*-(u-1),a<0&&a++,a>1&&a--,6*a<1?r=l+(o-l)*6*a:2*a<1?r=o:3*a<2?r=l+(o-l)*(2/3-a)*6:r=l,s[u]=r*255;return s};Yo.hsl.hsv=function(n){const e=n[0];let t=n[1]/100,i=n[2]/100,o=t;const a=Math.max(i,.01);i*=2,t*=i<=1?i:2-i,o*=a<=1?a:2-a;const r=(i+t)/2,l=i===0?2*o/(a+o):2*t/(i+t);return[e,l*100,r*100]};Yo.hsv.rgb=function(n){const e=n[0]/60,t=n[1]/100;let i=n[2]/100;const o=Math.floor(e)%6,a=e-Math.floor(e),r=255*i*(1-t),l=255*i*(1-t*a),s=255*i*(1-t*(1-a));switch(i*=255,o){case 0:return[i,s,r];case 1:return[l,i,r];case 2:return[r,i,s];case 3:return[r,l,i];case 4:return[s,r,i];case 5:return[i,r,l]}};Yo.hsv.hsl=function(n){const e=n[0],t=n[1]/100,i=n[2]/100,o=Math.max(i,.01);let a,r;r=(2-t)*i;const l=(2-t)*o;return a=t*o,a/=l<=1?l:2-l,a=a||0,r/=2,[e,a*100,r*100]};Yo.hwb.rgb=function(n){const e=n[0]/360;let t=n[1]/100,i=n[2]/100;const o=t+i;let a;o>1&&(t/=o,i/=o);const r=Math.floor(6*e),l=1-i;a=6*e-r,r&1&&(a=1-a);const s=t+a*(l-t);let u,d,g;switch(r){default:case 6:case 0:u=l,d=s,g=t;break;case 1:u=s,d=l,g=t;break;case 2:u=t,d=l,g=s;break;case 3:u=t,d=s,g=l;break;case 4:u=s,d=t,g=l;break;case 5:u=l,d=t,g=s;break}return[u*255,d*255,g*255]};Yo.cmyk.rgb=function(n){const e=n[0]/100,t=n[1]/100,i=n[2]/100,o=n[3]/100,a=1-Math.min(1,e*(1-o)+o),r=1-Math.min(1,t*(1-o)+o),l=1-Math.min(1,i*(1-o)+o);return[a*255,r*255,l*255]};Yo.xyz.rgb=function(n){const e=n[0]/100,t=n[1]/100,i=n[2]/100;let o,a,r;return o=e*3.2406+t*-1.5372+i*-.4986,a=e*-.9689+t*1.8758+i*.0415,r=e*.0557+t*-.204+i*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),r=Math.min(Math.max(0,r),1),[o*255,a*255,r*255]};Yo.xyz.lab=function(n){let e=n[0],t=n[1],i=n[2];e/=95.047,t/=100,i/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const o=116*t-16,a=500*(e-t),r=200*(t-i);return[o,a,r]};Yo.lab.xyz=function(n){const e=n[0],t=n[1],i=n[2];let o,a,r;a=(e+16)/116,o=t/500+a,r=a-i/200;const l=a**3,s=o**3,u=r**3;return a=l>.008856?l:(a-16/116)/7.787,o=s>.008856?s:(o-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,o*=95.047,a*=100,r*=108.883,[o,a,r]};Yo.lab.lch=function(n){const e=n[0],t=n[1],i=n[2];let o;o=Math.atan2(i,t)*360/2/Math.PI,o<0&&(o+=360);const r=Math.sqrt(t*t+i*i);return[e,r,o]};Yo.lch.lab=function(n){const e=n[0],t=n[1],o=n[2]/360*2*Math.PI,a=t*Math.cos(o),r=t*Math.sin(o);return[e,a,r]};Yo.rgb.ansi16=function(n,e=null){const[t,i,o]=n;let a=e===null?Yo.rgb.hsv(n)[2]:e;if(a=Math.round(a/50),a===0)return 30;let r=30+(Math.round(o/255)<<2|Math.round(i/255)<<1|Math.round(t/255));return a===2&&(r+=60),r};Yo.hsv.ansi16=function(n){return Yo.rgb.ansi16(Yo.hsv.rgb(n),n[2])};Yo.rgb.ansi256=function(n){const e=n[0],t=n[1],i=n[2];return e===t&&t===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(i/255*5)};Yo.ansi16.rgb=function(n){let e=n%10;if(e===0||e===7)return n>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const t=(~~(n>50)+1)*.5,i=(e&1)*t*255,o=(e>>1&1)*t*255,a=(e>>2&1)*t*255;return[i,o,a]};Yo.ansi256.rgb=function(n){if(n>=232){const a=(n-232)*10+8;return[a,a,a]}n-=16;let e;const t=Math.floor(n/36)/5*255,i=Math.floor((e=n%36)/6)/5*255,o=e%6/5*255;return[t,i,o]};Yo.rgb.hex=function(n){const t=(((Math.round(n[0])&255)<<16)+((Math.round(n[1])&255)<<8)+(Math.round(n[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t};Yo.hex.rgb=function(n){const e=n.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let t=e[0];e[0].length===3&&(t=t.split("").map(l=>l+l).join(""));const i=parseInt(t,16),o=i>>16&255,a=i>>8&255,r=i&255;return[o,a,r]};Yo.rgb.hcg=function(n){const e=n[0]/255,t=n[1]/255,i=n[2]/255,o=Math.max(Math.max(e,t),i),a=Math.min(Math.min(e,t),i),r=o-a;let l,s;return r<1?l=a/(1-r):l=0,r<=0?s=0:o===e?s=(t-i)/r%6:o===t?s=2+(i-e)/r:s=4+(e-t)/r,s/=6,s%=1,[s*360,r*100,l*100]};Yo.hsl.hcg=function(n){const e=n[1]/100,t=n[2]/100,i=t<.5?2*e*t:2*e*(1-t);let o=0;return i<1&&(o=(t-.5*i)/(1-i)),[n[0],i*100,o*100]};Yo.hsv.hcg=function(n){const e=n[1]/100,t=n[2]/100,i=e*t;let o=0;return i<1&&(o=(t-i)/(1-i)),[n[0],i*100,o*100]};Yo.hcg.rgb=function(n){const e=n[0]/360,t=n[1]/100,i=n[2]/100;if(t===0)return[i*255,i*255,i*255];const o=[0,0,0],a=e%1*6,r=a%1,l=1-r;let s=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=r,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=r;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=r,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return s=(1-t)*i,[(t*o[0]+s)*255,(t*o[1]+s)*255,(t*o[2]+s)*255]};Yo.hcg.hsv=function(n){const e=n[1]/100,t=n[2]/100,i=e+t*(1-e);let o=0;return i>0&&(o=e/i),[n[0],o*100,i*100]};Yo.hcg.hsl=function(n){const e=n[1]/100,i=n[2]/100*(1-e)+.5*e;let o=0;return i>0&&i<.5?o=e/(2*i):i>=.5&&i<1&&(o=e/(2*(1-i))),[n[0],o*100,i*100]};Yo.hcg.hwb=function(n){const e=n[1]/100,t=n[2]/100,i=e+t*(1-e);return[n[0],(i-e)*100,(1-i)*100]};Yo.hwb.hcg=function(n){const e=n[1]/100,i=1-n[2]/100,o=i-e;let a=0;return o<1&&(a=(i-o)/(1-o)),[n[0],o*100,a*100]};Yo.apple.rgb=function(n){return[n[0]/65535*255,n[1]/65535*255,n[2]/65535*255]};Yo.rgb.apple=function(n){return[n[0]/255*65535,n[1]/255*65535,n[2]/255*65535]};Yo.gray.rgb=function(n){return[n[0]/100*255,n[0]/100*255,n[0]/100*255]};Yo.gray.hsl=function(n){return[0,0,n[0]]};Yo.gray.hsv=Yo.gray.hsl;Yo.gray.hwb=function(n){return[0,100,n[0]]};Yo.gray.cmyk=function(n){return[0,0,0,n[0]]};Yo.gray.lab=function(n){return[n[0],0,0]};Yo.gray.hex=function(n){const e=Math.round(n[0]/100*255)&255,i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i};Yo.rgb.gray=function(n){return[(n[0]+n[1]+n[2])/3/255*100]};const S8=Tz;function Lye(){const n={},e=Object.keys(S8);for(let t=e.length,i=0;i<t;i++)n[e[i]]={distance:-1,parent:null};return n}function Iye(n){const e=Lye(),t=[n];for(e[n].distance=0;t.length;){const i=t.pop(),o=Object.keys(S8[i]);for(let a=o.length,r=0;r<a;r++){const l=o[r],s=e[l];s.distance===-1&&(s.distance=e[i].distance+1,s.parent=i,t.unshift(l))}}return e}function Mye(n,e){return function(t){return e(n(t))}}function Fye(n,e){const t=[e[n].parent,n];let i=S8[e[n].parent][n],o=e[n].parent;for(;e[o].parent;)t.unshift(e[o].parent),i=Mye(S8[e[o].parent][o],i),o=e[o].parent;return i.conversion=t,i}var Pye=function(n){const e=Iye(n),t={},i=Object.keys(e);for(let o=i.length,a=0;a<o;a++){const r=i[a];e[r].parent!==null&&(t[r]=Fye(r,e))}return t};const Lk=Tz,Oye=Pye,o3={},Rye=Object.keys(Lk);function zye(n){const e=function(...t){const i=t[0];return i==null?i:(i.length>1&&(t=i),n(t))};return"conversion"in n&&(e.conversion=n.conversion),e}function $ye(n){const e=function(...t){const i=t[0];if(i==null)return i;i.length>1&&(t=i);const o=n(t);if(typeof o=="object")for(let a=o.length,r=0;r<a;r++)o[r]=Math.round(o[r]);return o};return"conversion"in n&&(e.conversion=n.conversion),e}Rye.forEach(n=>{o3[n]={},Object.defineProperty(o3[n],"channels",{value:Lk[n].channels}),Object.defineProperty(o3[n],"labels",{value:Lk[n].labels});const e=Oye(n);Object.keys(e).forEach(i=>{const o=e[i];o3[n][i]=$ye(o),o3[n][i].raw=zye(o)})});var Nye=o3;const r3=Tye,v1=Nye,Dz=["keyword","gray","hex"],Ik={};for(const n of Object.keys(v1))Ik[[...v1[n].labels].sort().join("")]=n;const E8={};function Su(n,e){if(!(this instanceof Su))return new Su(n,e);if(e&&e in Dz&&(e=null),e&&!(e in v1))throw new Error("Unknown model: "+e);let t,i;if(n==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(n instanceof Su)this.model=n.model,this.color=[...n.color],this.valpha=n.valpha;else if(typeof n=="string"){const o=r3.get(n);if(o===null)throw new Error("Unable to parse color from string: "+n);this.model=o.model,i=v1[this.model].channels,this.color=o.value.slice(0,i),this.valpha=typeof o.value[i]=="number"?o.value[i]:1}else if(n.length>0){this.model=e||"rgb",i=v1[this.model].channels;const o=Array.prototype.slice.call(n,0,i);this.color=Mk(o,i),this.valpha=typeof n[i]=="number"?n[i]:1}else if(typeof n=="number")this.model="rgb",this.color=[n>>16&255,n>>8&255,n&255],this.valpha=1;else{this.valpha=1;const o=Object.keys(n);"alpha"in n&&(o.splice(o.indexOf("alpha"),1),this.valpha=typeof n.alpha=="number"?n.alpha:0);const a=o.sort().join("");if(!(a in Ik))throw new Error("Unable to parse color from object: "+JSON.stringify(n));this.model=Ik[a];const{labels:r}=v1[this.model],l=[];for(t=0;t<r.length;t++)l.push(n[r[t]]);this.color=Mk(l)}if(E8[this.model])for(i=v1[this.model].channels,t=0;t<i;t++){const o=E8[this.model][t];o&&(this.color[t]=o(this.color[t]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}Su.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(n){let e=this.model in r3.to?this:this.rgb();e=e.round(typeof n=="number"?n:1);const t=e.valpha===1?e.color:[...e.color,this.valpha];return r3.to[e.model](t)},percentString(n){const e=this.rgb().round(typeof n=="number"?n:1),t=e.valpha===1?e.color:[...e.color,this.valpha];return r3.to.rgb.percent(t)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const n={},{channels:e}=v1[this.model],{labels:t}=v1[this.model];for(let i=0;i<e;i++)n[t[i]]=this.color[i];return this.valpha!==1&&(n.alpha=this.valpha),n},unitArray(){const n=this.rgb().color;return n[0]/=255,n[1]/=255,n[2]/=255,this.valpha!==1&&n.push(this.valpha),n},unitObject(){const n=this.rgb().object();return n.r/=255,n.g/=255,n.b/=255,this.valpha!==1&&(n.alpha=this.valpha),n},round(n){return n=Math.max(n||0,0),new Su([...this.color.map(jye(n)),this.valpha],this.model)},alpha(n){return n!==void 0?new Su([...this.color,Math.max(0,Math.min(1,n))],this.model):this.valpha},red:nc("rgb",0,su(255)),green:nc("rgb",1,su(255)),blue:nc("rgb",2,su(255)),hue:nc(["hsl","hsv","hsl","hwb","hcg"],0,n=>(n%360+360)%360),saturationl:nc("hsl",1,su(100)),lightness:nc("hsl",2,su(100)),saturationv:nc("hsv",1,su(100)),value:nc("hsv",2,su(100)),chroma:nc("hcg",1,su(100)),gray:nc("hcg",2,su(100)),white:nc("hwb",1,su(100)),wblack:nc("hwb",2,su(100)),cyan:nc("cmyk",0,su(100)),magenta:nc("cmyk",1,su(100)),yellow:nc("cmyk",2,su(100)),black:nc("cmyk",3,su(100)),x:nc("xyz",0,su(95.047)),y:nc("xyz",1,su(100)),z:nc("xyz",2,su(108.833)),l:nc("lab",0,su(100)),a:nc("lab",1),b:nc("lab",2),keyword(n){return n!==void 0?new Su(n):v1[this.model].keyword(this.color)},hex(n){return n!==void 0?new Su(n):r3.to.hex(this.rgb().round().color)},hexa(n){if(n!==void 0)return new Su(n);const e=this.rgb().round().color;let t=Math.round(this.valpha*255).toString(16).toUpperCase();return t.length===1&&(t="0"+t),r3.to.hex(e)+t},rgbNumber(){const n=this.rgb().color;return(n[0]&255)<<16|(n[1]&255)<<8|n[2]&255},luminosity(){const n=this.rgb().color,e=[];for(const[t,i]of n.entries()){const o=i/255;e[t]=o<=.04045?o/12.92:((o+.055)/1.055)**2.4}return .2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(n){const e=this.luminosity(),t=n.luminosity();return e>t?(e+.05)/(t+.05):(t+.05)/(e+.05)},level(n){const e=this.contrast(n);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const n=this.rgb().color;return(n[0]*2126+n[1]*7152+n[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const n=this.rgb();for(let e=0;e<3;e++)n.color[e]=255-n.color[e];return n},lighten(n){const e=this.hsl();return e.color[2]+=e.color[2]*n,e},darken(n){const e=this.hsl();return e.color[2]-=e.color[2]*n,e},saturate(n){const e=this.hsl();return e.color[1]+=e.color[1]*n,e},desaturate(n){const e=this.hsl();return e.color[1]-=e.color[1]*n,e},whiten(n){const e=this.hwb();return e.color[1]+=e.color[1]*n,e},blacken(n){const e=this.hwb();return e.color[2]+=e.color[2]*n,e},grayscale(){const n=this.rgb().color,e=n[0]*.3+n[1]*.59+n[2]*.11;return Su.rgb(e,e,e)},fade(n){return this.alpha(this.valpha-this.valpha*n)},opaquer(n){return this.alpha(this.valpha+this.valpha*n)},rotate(n){const e=this.hsl();let t=e.color[0];return t=(t+n)%360,t=t<0?360+t:t,e.color[0]=t,e},mix(n,e){if(!n||!n.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof n);const t=n.rgb(),i=this.rgb(),o=e===void 0?.5:e,a=2*o-1,r=t.alpha()-i.alpha(),l=((a*r===-1?a:(a+r)/(1+a*r))+1)/2,s=1-l;return Su.rgb(l*t.red()+s*i.red(),l*t.green()+s*i.green(),l*t.blue()+s*i.blue(),t.alpha()*o+i.alpha()*(1-o))}};for(const n of Object.keys(v1)){if(Dz.includes(n))continue;const{channels:e}=v1[n];Su.prototype[n]=function(...t){return this.model===n?new Su(this):t.length>0?new Su(t,n):new Su([...Vye(v1[this.model][n].raw(this.color)),this.valpha],n)},Su[n]=function(...t){let i=t[0];return typeof i=="number"&&(i=Mk(t,e)),new Su(i,n)}}function Bye(n,e){return Number(n.toFixed(e))}function jye(n){return function(e){return Bye(e,n)}}function nc(n,e,t){n=Array.isArray(n)?n:[n];for(const i of n)(E8[i]||(E8[i]=[]))[e]=t;return n=n[0],function(i){let o;return i!==void 0?(t&&(i=t(i)),o=this[n](),o.color[e]=i,o):(o=this[n]().color[e],t&&(o=t(o)),o)}}function su(n){return function(e){return Math.max(0,Math.min(n,e))}}function Vye(n){return Array.isArray(n)?n:[n]}function Mk(n,e){for(let t=0;t<e;t++)typeof n[t]!="number"&&(n[t]=0);return n}var Hye=Su;const f1=Fd(Hye),Uye={class:"color-dot"},qye=Pt({__name:"color",props:{value:{type:String,default:null},defaultColor:{type:String,default:"#B0BEC5",validator:n=>n===null||xE(n)||n.startsWith("var(--")}},setup(n){cm(o=>({"44192b22":t.value}));const e=n,t=Ce(()=>e.value??e.defaultColor),i=Ce(()=>{try{const o=f1(t.value),a=f1(Zr("--theme--background"));return o.contrast(a)<1.1}catch{return!1}});return(o,a)=>{const r=G("value-null");return j(),Re("div",Uye,[n.value===null&&n.defaultColor===null?(j(),ye(r,{key:0})):We("",!0),ke("div",{class:yn(["dot",{"with-border":i.value}])},null,2)])}}}),Wye=Wt(qye,[["__scopeId","data-v-982cc817"]]),Gye=Du({id:"color",name:"$t:displays.color.color",description:"$t:displays.color.description",types:["string"],icon:"flag",component:Wye,options:[{field:"defaultColor",name:"$t:displays.color.default_color",type:"string",meta:{interface:"select-color",width:"half"},schema:{default_value:"#B0BEC5"}}]}),Lz=[];function wE(){var e;const n=wo.global.locale.value;return(e=Lz.find(({lang:t})=>n===t))==null?void 0:e.locale}async function Yye(n){const e=[n,n.split("-")[0],"en-US"];let t;for(const i of e)try{t=(await Xye(i)).default,Lz.push({lang:n,locale:t});break}catch{continue}return t}function Xye(n){switch(n){case"af":return Ut(()=>import("./af-QK0Z7vM8.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);case"ar-DZ":return Ut(()=>import("./ar-DZ-CqJ9MAAs.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url);case"ar-MA":return Ut(()=>import("./ar-MA-GMVh8tmv.js"),__vite__mapDeps([8,1,2,3,4,5,6]),import.meta.url);case"ar-SA":return Ut(()=>import("./ar-SA-CTZ83deX.js"),__vite__mapDeps([9,1,2,3,4,5,6]),import.meta.url);case"az":return Ut(()=>import("./az-x85zLuTS.js"),__vite__mapDeps([10,1,2,3,4,5,6]),import.meta.url);case"be":return Ut(()=>import("./be-u-5DKcCC.js"),__vite__mapDeps([11,12,3,2,4,1,5,6]),import.meta.url);case"bg":return Ut(()=>import("./bg-DfE9eXcf.js"),__vite__mapDeps([13,12,3,2,4,1,5,6]),import.meta.url);case"bn":return Ut(()=>import("./bn-DkWPy0tr.js"),__vite__mapDeps([14,1,2,3,4,5,6]),import.meta.url);case"ca":return Ut(()=>import("./ca-B9po9kjw.js"),__vite__mapDeps([15,1,2,3,4,5,6]),import.meta.url);case"cs":return Ut(()=>import("./cs-B7HefZe4.js"),__vite__mapDeps([16,1,2,3,4,5,6]),import.meta.url);case"cy":return Ut(()=>import("./cy-DwX4opP5.js"),__vite__mapDeps([17,1,2,3,4,5,6]),import.meta.url);case"da":return Ut(()=>import("./da-BbbQQ2P7.js"),__vite__mapDeps([18,1,2,3,4,5,6]),import.meta.url);case"de":return Ut(()=>import("./de-B4yCi-Rz.js"),__vite__mapDeps([19,20,1,2,3,4,5,6]),import.meta.url);case"de-AT":return Ut(()=>import("./de-AT-Byz70Dx1.js"),__vite__mapDeps([21,20,1,2,3,4,5,6]),import.meta.url);case"el":return Ut(()=>import("./el-DRChZNFR.js"),__vite__mapDeps([22,1,2,3,4,5,6]),import.meta.url);case"en-AU":return Ut(()=>import("./en-AU-DiHNqn_I.js"),__vite__mapDeps([23,1,2,3,4,5,6]),import.meta.url);case"en-CA":return Ut(()=>import("./en-CA-uQvd_Z72.js"),__vite__mapDeps([24,1,2,3,4,5,6]),import.meta.url);case"en-GB":return Ut(()=>import("./en-GB-CHwE3v10.js"),__vite__mapDeps([25,1,2,3,4,5,6]),import.meta.url);case"en-IN":return Ut(()=>import("./en-IN-BN8sT3UW.js"),__vite__mapDeps([26,1,2,3,4,5,6]),import.meta.url);case"en-NZ":return Ut(()=>import("./en-NZ-JCl0ez5w.js"),__vite__mapDeps([27,1,2,3,4,5,6]),import.meta.url);case"en-US":return Ut(()=>Promise.resolve().then(()=>RJ),void 0,import.meta.url);case"en-ZA":return Ut(()=>import("./en-ZA-BIZvzceU.js"),__vite__mapDeps([28,1,2,3,4,5,6]),import.meta.url);case"eo":return Ut(()=>import("./eo-DE2bwszs.js"),__vite__mapDeps([29,1,2,3,4,5,6]),import.meta.url);case"es":return Ut(()=>import("./es-DLVqxyYT.js"),__vite__mapDeps([30,1,2,3,4,5,6]),import.meta.url);case"et":return Ut(()=>import("./et-Bxa449JP.js"),__vite__mapDeps([31,1,2,3,4,5,6]),import.meta.url);case"eu":return Ut(()=>import("./eu-v_oyuzlV.js"),__vite__mapDeps([32,1,2,3,4,5,6]),import.meta.url);case"fa-IR":return Ut(()=>import("./fa-IR-CpuUgfGx.js"),__vite__mapDeps([33,1,2,3,4,5,6]),import.meta.url);case"fi":return Ut(()=>import("./fi-Bo2yPDkx.js"),__vite__mapDeps([34,1,2,3,4,5,6]),import.meta.url);case"fr":return Ut(()=>import("./fr-BB2WSolI.js"),__vite__mapDeps([35,36,37,1,2,3,4,5,6]),import.meta.url);case"fr-CA":return Ut(()=>import("./fr-CA-Dyg0KC_Y.js"),__vite__mapDeps([38,36,37,1,2,3,4,5,6]),import.meta.url);case"fr-CH":return Ut(()=>import("./fr-CH-CnrHkYdv.js"),__vite__mapDeps([39,36,1,2,3,4,5,6]),import.meta.url);case"gd":return Ut(()=>import("./gd-LnPSIIFs.js"),__vite__mapDeps([40,1,2,3,4,5,6]),import.meta.url);case"gl":return Ut(()=>import("./gl-CQvfpp_q.js"),__vite__mapDeps([41,1,2,3,4,5,6]),import.meta.url);case"gu":return Ut(()=>import("./gu-BCMsXV3S.js"),__vite__mapDeps([42,1,2,3,4,5,6]),import.meta.url);case"he":return Ut(()=>import("./he-DUIRMeXA.js"),__vite__mapDeps([43,1,2,3,4,5,6]),import.meta.url);case"hi":return Ut(()=>import("./hi-CJVSNsIg.js"),__vite__mapDeps([44,1,2,3,4,5,6]),import.meta.url);case"hr":return Ut(()=>import("./hr-C2_UUAXn.js"),__vite__mapDeps([45,1,2,3,4,5,6]),import.meta.url);case"ht":return Ut(()=>import("./ht-ChjtZP4M.js"),__vite__mapDeps([46,1,2,3,4,5,6]),import.meta.url);case"hu":return Ut(()=>import("./hu-BU4WBEGS.js"),__vite__mapDeps([47,1,2,3,4,5,6]),import.meta.url);case"hy":return Ut(()=>import("./hy-DZRyZj0J.js"),__vite__mapDeps([48,1,2,3,4,5,6]),import.meta.url);case"id":return Ut(()=>import("./id-CnA0EDCP.js"),__vite__mapDeps([49,1,2,3,4,5,6]),import.meta.url);case"is":return Ut(()=>import("./is-C0yLMAh7.js"),__vite__mapDeps([50,1,2,3,4,5,6]),import.meta.url);case"it":return Ut(()=>import("./it-DwrcbY3n.js"),__vite__mapDeps([51,12,3,2,4,1,5,6]),import.meta.url);case"ja":return Ut(()=>import("./ja-L34MvzD6.js"),__vite__mapDeps([52,1,2,3,4,5,6]),import.meta.url);case"ka":return Ut(()=>import("./ka-C-4Clrnq.js"),__vite__mapDeps([53,1,2,3,4,5,6]),import.meta.url);case"kk":return Ut(()=>import("./kk-Cw0mtmiI.js"),__vite__mapDeps([54,12,3,2,4,1,5,6]),import.meta.url);case"kn":return Ut(()=>import("./kn-DLtLtKd6.js"),__vite__mapDeps([55,1,2,3,4,5,6]),import.meta.url);case"ko":return Ut(()=>import("./ko-DSFplP45.js"),__vite__mapDeps([56,1,2,3,4,5,6]),import.meta.url);case"lb":return Ut(()=>import("./lb-CW-ZayZr.js"),__vite__mapDeps([57,1,2,3,4,5,6]),import.meta.url);case"lt":return Ut(()=>import("./lt-CfzYSki3.js"),__vite__mapDeps([58,1,2,3,4,5,6]),import.meta.url);case"lv":return Ut(()=>import("./lv-Ch68MSPr.js"),__vite__mapDeps([59,12,3,2,4,1,5,6]),import.meta.url);case"mk":return Ut(()=>import("./mk-Bv0mpADb.js"),__vite__mapDeps([60,12,3,2,4,1,5,6]),import.meta.url);case"mn":return Ut(()=>import("./mn-CgB9TrWs.js"),__vite__mapDeps([61,1,2,3,4,5,6]),import.meta.url);case"ms":return Ut(()=>import("./ms-WZP6C0HT.js"),__vite__mapDeps([62,1,2,3,4,5,6]),import.meta.url);case"mt":return Ut(()=>import("./mt-ku5bKG93.js"),__vite__mapDeps([63,1,2,3,4,5,6]),import.meta.url);case"nb":return Ut(()=>import("./nb-CarjpQDO.js"),__vite__mapDeps([64,1,2,3,4,5,6]),import.meta.url);case"nl":return Ut(()=>import("./nl-DkQM1viM.js"),__vite__mapDeps([65,1,2,3,4,5,6]),import.meta.url);case"nl-BE":return Ut(()=>import("./nl-BE-CHwnGI5r.js"),__vite__mapDeps([66,1,2,3,4,5,6]),import.meta.url);case"nn":return Ut(()=>import("./nn-B600Q4aJ.js"),__vite__mapDeps([67,1,2,3,4,5,6]),import.meta.url);case"pl":return Ut(()=>import("./pl-omMMspXs.js"),__vite__mapDeps([68,12,3,2,4,1,5,6]),import.meta.url);case"pt":return Ut(()=>import("./pt-D7PmYjxG.js"),__vite__mapDeps([69,1,2,3,4,5,6]),import.meta.url);case"pt-BR":return Ut(()=>import("./pt-BR-Bh4XNiPP.js"),__vite__mapDeps([70,1,2,3,4,5,6]),import.meta.url);case"ro":return Ut(()=>import("./ro-BQNnXPok.js"),__vite__mapDeps([71,1,2,3,4,5,6]),import.meta.url);case"ru":return Ut(()=>import("./ru-BXgAL020.js"),__vite__mapDeps([72,12,3,2,4,1,5,6]),import.meta.url);case"sk":return Ut(()=>import("./sk-FUlsbCzb.js"),__vite__mapDeps([73,12,3,2,4,1,5,6]),import.meta.url);case"sl":return Ut(()=>import("./sl-ZJ8cFFq-.js"),__vite__mapDeps([74,1,2,3,4,5,6]),import.meta.url);case"sq":return Ut(()=>import("./sq-DC0NmclO.js"),__vite__mapDeps([75,1,2,3,4,5,6]),import.meta.url);case"sr":return Ut(()=>import("./sr-DGAo52ug.js"),__vite__mapDeps([76,1,2,3,4,5,6]),import.meta.url);case"sr-Latn":return Ut(()=>import("./sr-Latn-4M9Dd3Ie.js"),__vite__mapDeps([77,1,2,3,4,5,6]),import.meta.url);case"sv":return Ut(()=>import("./sv-BEpWOPin.js"),__vite__mapDeps([78,1,2,3,4,5,6]),import.meta.url);case"ta":return Ut(()=>import("./ta-Bd2wp5w0.js"),__vite__mapDeps([79,1,2,3,4,5,6]),import.meta.url);case"te":return Ut(()=>import("./te-DCiJYG6O.js"),__vite__mapDeps([80,1,2,3,4,5,6]),import.meta.url);case"th":return Ut(()=>import("./th-B-3gi1J2.js"),__vite__mapDeps([81,1,2,3,4,5,6]),import.meta.url);case"tr":return Ut(()=>import("./tr-lVDI6aE2.js"),__vite__mapDeps([82,1,2,3,4,5,6]),import.meta.url);case"ug":return Ut(()=>import("./ug-If3q_h-y.js"),__vite__mapDeps([83,1,2,3,4,5,6]),import.meta.url);case"uk":return Ut(()=>import("./uk-xY5unVEG.js"),__vite__mapDeps([84,12,3,2,4,1,5,6]),import.meta.url);case"uz":return Ut(()=>import("./uz-DDQKSBte.js"),__vite__mapDeps([85,1,2,3,4,5,6]),import.meta.url);case"vi":return Ut(()=>import("./vi-BZyIj-rq.js"),__vite__mapDeps([86,1,2,3,4,5,6]),import.meta.url);case"zh-CN":return Ut(()=>import("./zh-CN-ChvkWdbF.js"),__vite__mapDeps([87,12,3,2,4,1,5,6]),import.meta.url);case"zh-TW":return Ut(()=>import("./zh-TW-kfb6BcHI.js"),__vite__mapDeps([88,1,2,3,4,5,6]),import.meta.url);default:return Promise.resolve()}}const ql=(n,e,t)=>Wh(n,e,{...t,locale:wE()}),kE=(n,e,t)=>XJ(n,e,{...t,locale:wE()}),M7=(n,e,t)=>KJ(n,e,{...t,locale:wE()}),Kye=Pt({inheritAttrs:!1,__name:"use-datetime",props:{value:{},type:{},format:{default:"long"},relative:{type:Boolean,default:!1},strict:{type:Boolean,default:!1},round:{default:"round"},suffix:{type:Boolean,default:!0}},setup(n){const e=n,{t}=un(),i=Oe(null),o=Ce(()=>e.value?e.type==="timestamp"?T7(e.value):e.type==="dateTime"?Gh(e.value,"yyyy-MM-dd'T'HH:mm:ss",new Date):e.type==="date"?Gh(e.value,"yyyy-MM-dd",new Date):e.type==="time"?Gh(e.value,"HH:mm:ss",new Date):null:null),a=l=>e.strict?M7(l,new Date,{addSuffix:e.suffix,roundingMethod:e.round}):kE(l,new Date,{addSuffix:e.suffix});Wn(o,l=>{if(l===null){i.value=null;return}if(e.relative)i.value=a(l);else{let s;e.format==="long"?(s=`${t("date-fns_date")} ${t("date-fns_time")}`,e.type==="date"&&(s=String(t("date-fns_date"))),e.type==="time"&&(s=String(t("date-fns_time")))):e.format==="short"?(s=`${t("date-fns_date_short")} ${t("date-fns_time_short")}`,e.type==="date"&&(s=String(t("date-fns_date_short"))),e.type==="time"&&(s=String(t("date-fns_time_short")))):s=e.format,i.value=ql(l,s)}},{immediate:!0});let r=null;return Yr(()=>{e.relative&&(r=window.setInterval(()=>{o.value&&(i.value=a(o.value))},6e4))}),Dl(()=>{r&&clearInterval(r)}),(l,s)=>gi(l.$slots,"default",{datetime:i.value})}}),Zye={class:"datetime"},Jye=Pt({__name:"datetime",props:{value:{},type:{},format:{default:"long"},relative:{type:Boolean,default:!1},strict:{type:Boolean,default:!1},round:{default:"round"},suffix:{type:Boolean,default:!0}},setup(n){return(e,t)=>(j(),ye(Kye,cr(Cr(e.$props)),{default:I(({datetime:i})=>[ke("span",Zye,me(i),1)]),_:1},16))}}),Qye=Wt(Jye,[["__scopeId","data-v-a2edaeb7"]]),e4e=Du({id:"datetime",name:"$t:displays.datetime.datetime",description:"$t:displays.datetime.description",icon:"query_builder",component:Qye,handler:(n,e,{field:t})=>{if(!n)return n;const i=o=>kE(o,new Date,{addSuffix:!0});if((t==null?void 0:t.type)==="timestamp"?n=T7(n):(t==null?void 0:t.type)==="dateTime"?n=Gh(n,"yyyy-MM-dd'T'HH:mm:ss",new Date):(t==null?void 0:t.type)==="date"?n=Gh(n,"yyyy-MM-dd",new Date):(t==null?void 0:t.type)==="time"&&(n=Gh(n,"HH:mm:ss",new Date)),e.relative)return i(n);{let o;return(e==null?void 0:e.format)===void 0||e.format==="long"?(o=`${wo.global.t("date-fns_date")} ${wo.global.t("date-fns_time")}`,(t==null?void 0:t.type)==="date"&&(o=String(wo.global.t("date-fns_date"))),(t==null?void 0:t.type)==="time"&&(o=String(wo.global.t("date-fns_time")))):e.format==="short"?(o=`${wo.global.t("date-fns_date_short")} ${wo.global.t("date-fns_time_short")}`,(t==null?void 0:t.type)==="date"&&(o=String(wo.global.t("date-fns_date_short"))),(t==null?void 0:t.type)==="time"&&(o=String(wo.global.t("date-fns_time_short")))):o=e.format,ql(n,o)}},options:({field:n})=>{var i;const e=((i=n.meta)==null?void 0:i.display_options)||{},t=[{field:"relative",name:"$t:displays.datetime.relative",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.datetime.relative_label"}},schema:{default_value:!1}}];return e.relative?t.push({field:"suffix",name:"$t:displays.datetime.suffix",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.datetime.suffix_label"},note:"$t:displays.datetime.suffix_note"},schema:{default_value:!0}},{field:"strict",name:"$t:displays.datetime.strict",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.datetime.strict_label"},note:"$t:displays.datetime.strict_note"},schema:{default_value:!1}},{field:"round",name:"$t:displays.datetime.round",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:displays.datetime.down",value:"floor"},{text:"$t:displays.datetime.nearest",value:"round"},{text:"$t:displays.datetime.up",value:"ceil"}]},note:"$t:displays.datetime.round_note"},schema:{default_value:"round"}}):t.push({field:"format",name:"$t:displays.datetime.format",type:"string",meta:{interface:"select-dropdown",width:"half",options:{choices:[{text:"$t:displays.datetime.long",value:"long"},{text:"$t:displays.datetime.short",value:"short"}],allowOther:!0},note:"$t:displays.datetime.format_note"},schema:{default_value:"long"}}),t},types:["dateTime","date","time","timestamp"]}),t4e={"audio/aac":"aac","application/x-abiword":"abw","application/x-freearc":"arc","video/x-msvideo":"avi","image/avif":"avif","application/vnd.amazon.ebook":"azw","application/octet-stream":"file","image/bmp":"bmp","application/x-bzip":"bz","application/x-bzip2":"bz2","application/x-csh":"csh","text/css":"css","text/csv":"csv","application/msword":"doc","application/sql":"sql","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","application/vnd.ms-fontobject":"eot","application/epub+zip":"epub","application/gzip":"gz","image/gif":"gif","text/html":"html","image/vnd.microsoft.icon":"ico","text/calendar":"ics","application/java-archive":"jar","image/jpeg":"jpg","text/javascript":"js","application/json":"json","application/ld+json":"jsonld","audio/midi audio/x-midi":"midi","audio/mpeg":"mp3","video/mpeg":"mpeg","audio/mp4":"mp4","video/mp4":"mp4","application/mp4":"mp4","application/vnd.apple.installer+xml":"mpkg","application/vnd.oasis.opendocument.presentation":"odp","application/vnd.oasis.opendocument.spreadsheet":"ods","application/vnd.oasis.opendocument.text":"odt","audio/ogg":"oga","video/ogg":"ogv","application/ogg":"ogx","audio/opus":"opus","font/otf":"otf","image/png":"png","application/pdf":"pdf","application/x-httpd-php":"php","application/vnd.ms-powerpoint":"ppt","application/vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","application/vnd.rar":"rar","application/rtf":"rtf","application/x-sh":"sh","image/svg+xml":"svg","application/x-shockwave-flash":"swf","application/x-tar":"tar","image/tiff":"tiff","video/mp2t":"ts","font/ttf":"ttf","text/plain":"txt","application/vnd.visio":"vsd","audio/wav":"wav","audio/webm":"weba","video/webm":"webm","image/webp":"webp","font/woff":"woff","font/woff2":"woff2","application/xhtml+xml":"xhtml","application/vnd.ms-excel":"xls","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","application/xml":"xml","application/vnd.mozilla.xul+xml":"xul","application/zip":"zip","video/3gpp":"3gp","video/3gpp2":"3g2","audio/3gpp":"3gp","audio/3gpp2":"3g2","application/x-7z-compressed":"7z","image/heic":"heic","image/heif":"heif"},n4e={"application/vnd.hzn-3d-crossword":"3D Crossword Plugin","video/3gpp":"3GP","video/3gpp2":"3GP2","application/vnd.mseq":"3GPP MSEQ File","application/vnd.3m.post-it-notes":"3M Post It Notes","application/vnd.3gpp.pic-bw-large":"3rd Generation Partnership Project - Pic Large","application/vnd.3gpp.pic-bw-small":"3rd Generation Partnership Project - Pic Small","application/vnd.3gpp.pic-bw-var":"3rd Generation Partnership Project - Pic Var","application/vnd.3gpp2.tcap":"3rd Generation Partnership Project - Transaction Capabilities Application Part","application/x-7z-compressed":"7-Zip","application/x-abiword":"AbiWord","application/x-ace-compressed":"Ace Archive","application/vnd.americandynamics.acc":"Active Content Compression","application/vnd.acucobol":"ACU Cobol","application/vnd.acucorp":"ACU Cobol","audio/adpcm":"Adaptive differential pulse-code modulation","application/x-authorware-bin":"Adobe (Macropedia) Authorware - Binary File","application/x-authorware-map":"Adobe (Macropedia) Authorware - Map","application/x-authorware-seg":"Adobe (Macropedia) Authorware - Segment File","application/vnd.adobe.air-application-installer-package+zip":"Adobe AIR Application","application/x-shockwave-flash":"Adobe Flash","application/vnd.adobe.fxp":"Adobe Flex Project","application/pdf":"PDF","application/sql":"SQL","application/vnd.cups-ppd":"Adobe PostScript Printer Description File Format","application/x-director":"Adobe Shockwave Player","application/vnd.adobe.xdp+xml":"Adobe XML Data Package","application/vnd.adobe.xfdf":"Adobe XML Forms Data Format","audio/x-aac":"Advanced Audio Coding (AAC)","application/vnd.ahead.space":"Ahead AIR Application","application/vnd.airzip.filesecure.azf":"AirZip FileSECURE","application/vnd.airzip.filesecure.azs":"AirZip FileSECURE","application/vnd.amazon.ebook":"Amazon Kindle eBook format","application/vnd.amiga.ami":"AmigaDE","application/andrew-inset":"Andrew Toolkit","application/vnd.android.package-archive":"Android Package Archive","application/vnd.anser-web-certificate-issue-initiation":"ANSER-WEB Terminal Client - Certificate Issue","application/vnd.anser-web-funds-transfer-initiation":"ANSER-WEB Terminal Client - Web Funds Transfer","application/vnd.antix.game-component":"Antix Game Player","application/x-apple-diskimage":"Apple Disk Image","application/vnd.apple.installer+xml":"Apple Installer Package","application/applixware":"Applixware","application/vnd.hhe.lesson-player":"Archipelago Lesson Player","application/vnd.aristanetworks.swi":"Arista Networks Software Image","text/x-asm":"Assembler Source File","application/atomcat+xml":"Atom Publishing Protocol","application/atomsvc+xml":"Atom Publishing Protocol Service Document","application/atom+xml":"Atom Syndication Format","application/pkix-attr-cert":"Attribute Certificate","audio/x-aiff":"AIFF","video/x-msvideo":"AVI","image/avif":"AVIF","application/vnd.audiograph":"Audiograph","image/vnd.dxf":"AutoCAD DXF","model/vnd.dwf":"Autodesk Design Web Format (DWF)","text/plain-bas":"BAS Partitur Format","application/x-bcpio":"Binary CPIO Archive","application/octet-stream":"Binary Data","image/bmp":"Bitmap Image","application/x-bittorrent":"BitTorrent","application/vnd.rim.cod":"Blackberry COD File","application/vnd.blueice.multipass":"Blueice Research Multipass","application/vnd.bmi":"BMI Drawing Data Interchange","application/x-sh":"Bourne Shell Script","image/prs.btif":"BTIF","application/vnd.businessobjects":"BusinessObjects","application/x-bzip":"Bzip Archive","application/x-bzip2":"Bzip2 Archive","application/x-csh":"C Shell Script","text/x-c":"C Source File","application/vnd.chemdraw+xml":"CambridgeSoft Chem Draw","text/css":"Cascading Style Sheets (CSS)","chemical/x-cdx":"ChemDraw eXchange file","chemical/x-cml":"Chemical Markup Language","chemical/x-csml":"Chemical Style Markup Language","application/vnd.contact.cmsg":"CIM Database","application/vnd.claymore":"Claymore Data Files","application/vnd.clonk.c4group":"Clonk Game","image/vnd.dvb.subtitle":"Close Captioning - Subtitle","application/cdmi-capability":"Cloud Data Management Interface (CDMI) - Capability","application/cdmi-container":"Cloud Data Management Interface (CDMI) - Container","application/cdmi-domain":"Cloud Data Management Interface (CDMI) - Domain","application/cdmi-object":"Cloud Data Management Interface (CDMI) - Object","application/cdmi-queue":"Cloud Data Management Interface (CDMI) - Queue","application/vnd.cluetrust.cartomobile-config":"ClueTrust CartoMobile - Config","application/vnd.cluetrust.cartomobile-config-pkg":"ClueTrust CartoMobile - Config Package","image/x-cmu-raster":"CMU Image","model/vnd.collada+xml":"COLLADA","text/csv":"CSV","application/mac-compactpro":"Compact Pro","application/vnd.wap.wmlc":"Compiled Wireless Markup Language (WMLC)","image/cgm":"Computer Graphics Metafile","x-conference/x-cooltalk":"CoolTalk","image/x-cmx":"Corel Metafile Exchange (CMX)","application/vnd.xara":"CorelXARA","application/vnd.cosmocaller":"CosmoCaller","application/x-cpio":"CPIO Archive","application/vnd.crick.clicker":"CrickSoftware - Clicker","application/vnd.crick.clicker.keyboard":"CrickSoftware - Clicker - Keyboard","application/vnd.crick.clicker.palette":"CrickSoftware - Clicker - Palette","application/vnd.crick.clicker.template":"CrickSoftware - Clicker - Template","application/vnd.crick.clicker.wordbank":"CrickSoftware - Clicker - Wordbank","application/vnd.criticaltools.wbs+xml":"Critical Tools - PERT Chart EXPERT","application/vnd.rig.cryptonote":"CryptoNote","chemical/x-cif":"Crystallographic Interchange Format","chemical/x-cmdf":"CrystalMaker Data Format","application/cu-seeme":"CU-SeeMe","application/prs.cww":"CU-Writer","text/vnd.curl":"Curl - Applet","text/vnd.curl.dcurl":"Curl - Detached Applet","text/vnd.curl.mcurl":"Curl - Manifest File","text/vnd.curl.scurl":"Curl - Source Code","application/vnd.curl.car":"CURL Applet","application/vnd.curl.pcurl":"CURL Applet","application/vnd.yellowriver-custom-menu":"CustomMenu","application/dssc+der":"Data Structure for the Security Suitability of Cryptographic Algorithms","application/dssc+xml":"Data Structure for the Security Suitability of Cryptographic Algorithms","application/x-debian-package":"Debian Package","audio/vnd.dece.audio":"DECE Audio","image/vnd.dece.graphic":"DECE Graphic","video/vnd.dece.hd":"DECE High Definition Video","video/vnd.dece.mobile":"DECE Mobile Video","video/vnd.uvvu.mp4":"DECE MP4","video/vnd.dece.pd":"DECE PD Video","video/vnd.dece.sd":"DECE SD Video","video/vnd.dece.video":"DECE Video","application/x-dvi":"DVI","application/vnd.fdsn.seed":"Digital Seismograph Networks - SEED Datafiles","application/x-dtbook+xml":"Digital Talking Book","application/x-dtbresource+xml":"Digital Talking Book - Resource File","application/vnd.dvb.ait":"Digital Video Broadcasting","application/vnd.dvb.service":"Digital Video Broadcasting","audio/vnd.digital-winds":"Digital Winds Music","image/vnd.djvu":"DjVu","application/xml-dtd":"Document Type Definition","application/vnd.dolby.mlp":"Dolby Meridian Lossless Packing","application/x-doom":"Doom Video Game","application/vnd.dpgraph":"DPGraph","audio/vnd.dra":"DRA Audio","application/vnd.dreamfactory":"DreamFactory","audio/vnd.dts":"DTS Audio","audio/vnd.dts.hd":"DTS High Definition Audio","image/vnd.dwg":"DWG Drawing","application/vnd.dynageo":"DynaGeo","application/ecmascript":"ECMAScript","application/vnd.ecowin.chart":"EcoWin Chart","image/vnd.fujixerox.edmics-mmr":"EDMICS 2000","image/vnd.fujixerox.edmics-rlc":"EDMICS 2000","application/exi":"Efficient XML Interchange","application/vnd.proteus.magazine":"EFI Proteus","application/epub+zip":"Electronic Publication","message/rfc822":"Email Message","application/vnd.enliven":"Enliven Viewer","application/vnd.is-xpr":"Express by Infoseek","image/vnd.xiff":"eXtended Image File Format (XIFF)","application/vnd.xfdl":"Extensible Forms Description Language","application/emma+xml":"Extensible MultiModal Annotation","application/vnd.ezpix-album":"EZPix Secure Photo Album","application/vnd.ezpix-package":"EZPix Secure Photo Album","image/vnd.fst":"FAST Search & Transfer ASA","video/vnd.fvt":"FAST Search & Transfer ASA","image/vnd.fastbidsheet":"FastBid Sheet","application/vnd.denovo.fcselayout-link":"FCS Express Layout Link","video/x-f4v":"Flash Video","video/x-flv":"Flash Video","image/vnd.fpx":"FlashPix","image/vnd.net-fpx":"FlashPix","text/vnd.fmi.flexstor":"FLEXSTOR","video/x-fli":"FLI/FLC Animation Format","application/vnd.fluxtime.clip":"FluxTime Clip","application/vnd.fdf":"Forms Data Format","text/x-fortran":"Fortran Source File","application/vnd.mif":"FrameMaker Interchange Format","application/vnd.framemaker":"FrameMaker Normal Format","image/x-freehand":"FreeHand MX","application/vnd.fsc.weblaunch":"Friendly Software Corporation","application/vnd.frogans.fnc":"Frogans Player","application/vnd.frogans.ltf":"Frogans Player","application/vnd.fujixerox.ddd":"Fujitsu - Xerox 2D CAD Data","application/vnd.fujixerox.docuworks":"Fujitsu - Xerox DocuWorks","application/vnd.fujixerox.docuworks.binder":"Fujitsu - Xerox DocuWorks Binder","application/vnd.fujitsu.oasys":"Fujitsu Oasys","application/vnd.fujitsu.oasys2":"Fujitsu Oasys","application/vnd.fujitsu.oasys3":"Fujitsu Oasys","application/vnd.fujitsu.oasysgp":"Fujitsu Oasys","application/vnd.fujitsu.oasysprs":"Fujitsu Oasys","application/x-futuresplash":"FutureSplash Animator","application/vnd.fuzzysheet":"FuzzySheet","image/g3fax":"G3 Fax Image","application/vnd.gmx":"GameMaker ActiveX","model/vnd.gtw":"Gen-Trix Studio","application/vnd.genomatix.tuxedo":"Genomatix Tuxedo Framework","application/vnd.geogebra.file":"GeoGebra","application/vnd.geogebra.tool":"GeoGebra","model/vnd.gdl":"Geometric Description Language (GDL)","application/vnd.geometry-explorer":"GeoMetry Explorer","application/vnd.geonext":"GEONExT and JSXGraph","application/vnd.geoplan":"GeoplanW","application/vnd.geospace":"GeospacW","application/x-font-ghostscript":"Ghostscript Font","application/x-font-bdf":"Glyph Bitmap Distribution Format","application/x-gtar":"GNU Tar Files","application/x-texinfo":"GNU Texinfo Document","application/x-gnumeric":"Gnumeric","application/vnd.google-earth.kml+xml":"Google Earth - KML","application/vnd.google-earth.kmz":"Google Earth - Zipped KML","application/vnd.grafeq":"GrafEq","image/gif":"GIF","text/vnd.graphviz":"Graphviz","application/vnd.groove-account":"Groove - Account","application/vnd.groove-help":"Groove - Help","application/vnd.groove-identity-message":"Groove - Identity Message","application/vnd.groove-injector":"Groove - Injector","application/vnd.groove-tool-message":"Groove - Tool Message","application/vnd.groove-tool-template":"Groove - Tool Template","application/vnd.groove-vcard":"Groove - Vcard","video/h261":"H.261","video/h263":"H.263","video/h264":"H.264","application/vnd.hp-hpid":"Hewlett Packard Instant Delivery","application/vnd.hp-hps":"Hewlett-Packard's WebPrintSmart","application/x-hdf":"Hierarchical Data Format","audio/vnd.rip":"Hit'n'Mix","application/vnd.hbci":"Homebanking Computer Interface (HBCI)","application/vnd.hp-jlyt":"HP Indigo Digital Press - Job Layout Language","application/vnd.hp-pcl":"HP Printer Command Language","application/vnd.hp-hpgl":"HP-GL/2 and HP RTL","application/vnd.yamaha.hv-script":"HV Script","application/vnd.yamaha.hv-dic":"HV Voice Dictionary","application/vnd.yamaha.hv-voice":"HV Voice Parameter","application/vnd.hydrostatix.sof-data":"Hydrostatix Master Suite","application/hyperstudio":"Hyperstudio","application/vnd.hal+xml":"Hypertext Application Language","text/html":"HTML","application/vnd.ibm.rights-management":"IBM DB2 Rights Manager","application/vnd.ibm.secure-container":"IBM Electronic Media Management System - Secure Container","text/calendar":"iCalendar","application/vnd.iccprofile":"ICC profile","image/x-icon":"Icon Image","application/vnd.igloader":"igLoader","image/ief":"Image Exchange Format","application/vnd.immervision-ivp":"ImmerVision PURE Players","application/vnd.immervision-ivu":"ImmerVision PURE Players","application/reginfo+xml":"IMS Networks","text/vnd.in3d.3dml":"In3D - 3DML","text/vnd.in3d.spot":"In3D - 3DML","model/iges":"Initial Graphics Exchange Specification (IGES)","application/vnd.intergeo":"Interactive Geometry Software","application/vnd.cinderella":"Interactive Geometry Software Cinderella","application/vnd.intercon.formnet":"Intercon FormNet","application/vnd.isac.fcs":"International Society for Advancement of Cytometry","application/ipfix":"Internet Protocol Flow Information Export","application/pkix-cert":"Internet Public Key Infrastructure - Certificate","application/pkixcmp":"Internet Public Key Infrastructure - Certificate Management Protocole","application/pkix-crl":"Internet Public Key Infrastructure - Certificate Revocation Lists","application/pkix-pkipath":"Internet Public Key Infrastructure - Certification Path","application/vnd.insors.igm":"IOCOM Visimeet","application/vnd.ipunplugged.rcprofile":"IP Unplugged Roaming Client","application/vnd.irepository.package+xml":"iRepository / Lucidoc Editor","text/vnd.sun.j2me.app-descriptor":"J2ME App Descriptor","application/java-archive":"Java Archive","application/java-vm":"Java Bytecode File","application/x-java-jnlp-file":"Java Network Launching Protocol","application/java-serialized-object":"Java Serialized Object","text/x-java-source,java":"Java Source File","application/javascript":"JavaScript","text/javascript":"JavaScript","application/json":"JSON","application/vnd.joost.joda-archive":"Joda Archive","video/jpm":"JPG","image/jpeg":"JPG","image/x-citrix-jpeg":"JPG","image/pjpeg":"JPG","video/jpeg":"JPGVideo","application/vnd.kahootz":"Kahootz","application/vnd.chipnuts.karaoke-mmd":"Karaoke on Chipnuts Chipsets","application/vnd.kde.karbon":"KDE KOffice Office Suite - Karbon","application/vnd.kde.kchart":"KDE KOffice Office Suite - KChart","application/vnd.kde.kformula":"KDE KOffice Office Suite - Kformula","application/vnd.kde.kivio":"KDE KOffice Office Suite - Kivio","application/vnd.kde.kontour":"KDE KOffice Office Suite - Kontour","application/vnd.kde.kpresenter":"KDE KOffice Office Suite - Kpresenter","application/vnd.kde.kspread":"KDE KOffice Office Suite - Kspread","application/vnd.kde.kword":"KDE KOffice Office Suite - Kword","application/vnd.kenameaapp":"Kenamea App","application/vnd.kidspiration":"Kidspiration","application/vnd.kinar":"Kinar Applications","application/vnd.kodak-descriptor":"Kodak Storyshare","application/vnd.las.las+xml":"Laser App Enterprise","application/x-latex":"LaTeX","application/vnd.llamagraphics.life-balance.desktop":"Life Balance - Desktop Edition","application/vnd.llamagraphics.life-balance.exchange+xml":"Life Balance - Exchange Format","application/vnd.jam":"Lightspeed Audio Lab","application/vnd.lotus-1-2-3":"Lotus 1-2-3","application/vnd.lotus-approach":"Lotus Approach","application/vnd.lotus-freelance":"Lotus Freelance","application/vnd.lotus-notes":"Lotus Notes","application/vnd.lotus-organizer":"Lotus Organizer","application/vnd.lotus-screencam":"Lotus Screencam","application/vnd.lotus-wordpro":"Lotus Wordpro","audio/vnd.lucent.voice":"Lucent Voice","audio/x-mpegurl":"M3U (Multimedia Playlist)","video/x-m4v":"M4v","application/mac-binhex40":"Macintosh BinHex 4.0","application/vnd.macports.portpkg":"MacPorts Port System","application/vnd.osgeo.mapguide.package":"MapGuide DBXML","application/marc":"MARC Formats","application/marcxml+xml":"MARC21 XML Schema","application/mxf":"Material Exchange Format","application/vnd.wolfram.player":"Mathematica Notebook Player","application/mathematica":"Mathematica Notebooks","application/mathml+xml":"Mathematical Markup Language","application/mbox":"Mbox database files","application/vnd.medcalcdata":"MedCalc","application/mediaservercontrol+xml":"Media Server Control Markup Language","application/vnd.mediastation.cdkey":"MediaRemote","application/vnd.mfer":"Medical Waveform Encoding Format","application/vnd.mfmp":"Melody Format for Mobile Platform","model/mesh":"Mesh Data Type","application/mads+xml":"Metadata Authority Description Schema","application/mets+xml":"Metadata Encoding and Transmission Standard","application/mods+xml":"Metadata Object Description Schema","application/metalink4+xml":"Metalink","application/vnd.mcd":"Micro CADAM Helix D&D","application/vnd.micrografx.flo":"Micrografx","application/vnd.micrografx.igx":"Micrografx iGrafx Professional","application/vnd.eszigno3+xml":"MICROSEC e-Szign¢","application/x-msaccess":"Access","video/x-ms-asf":"MS ASF","application/x-msdownload":"MS App","application/vnd.ms-artgalry":"MS Artgalry","application/vnd.ms-cab-compressed":"MS Cabinet File","application/vnd.ms-ims":"MS Class Server","application/x-ms-application":"MS ClickOnce","application/x-msclip":"MS Clipboard Clip","image/vnd.ms-modi":"MS Document Imaging Format","application/vnd.ms-fontobject":"MS Embedded OpenType","application/vnd.ms-excel":"Excel","application/vnd.ms-excel.addin.macroenabled.12":"MS Excel - Add-In File","application/vnd.ms-excel.sheet.binary.macroenabled.12":"MS Excel - Binary Workbook","application/vnd.ms-excel.template.macroenabled.12":"MS Excel - Macro-Enabled Template File","application/vnd.ms-excel.sheet.macroenabled.12":"MS Excel - Macro-Enabled Workbook","application/vnd.ms-htmlhelp":"MS Html Help File","application/x-mscardfile":"MS Information Card","application/vnd.ms-lrm":"MS Learning Resource Module","application/x-msmediaview":"MS MediaView","application/x-msmoney":"MS Money","application/vnd.openxmlformats-officedocument.presentationml.presentation":"MS Office - OOXML - Presentation","application/vnd.openxmlformats-officedocument.presentationml.slide":"MS Office - OOXML - Presentation (Slide)","application/vnd.openxmlformats-officedocument.presentationml.slideshow":"MS Office - OOXML - Presentation (Slideshow)","application/vnd.openxmlformats-officedocument.presentationml.template":"MS Office - OOXML - Presentation Template","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"MS Office - OOXML - Spreadsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template":"MS Office - OOXML - Spreadsheet Template","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"MS Office - OOXML - Word Document","application/vnd.openxmlformats-officedocument.wordprocessingml.template":"MS Office - OOXML - Word Document Template","application/x-msbinder":"MS Office Binder","application/vnd.ms-officetheme":"MS Office System Release Theme","application/onenote":"OneNote","audio/vnd.ms-playready.media.pya":"MS PlayReady Ecosystem","video/vnd.ms-playready.media.pyv":"MS PlayReady Ecosystem Video","application/vnd.ms-powerpoint":"PowerPoint","application/vnd.ms-powerpoint.addin.macroenabled.12":"PowerPoint - Add-in file","application/vnd.ms-powerpoint.slide.macroenabled.12":"PowerPoint - Macro-Enabled Open XML Slide","application/vnd.ms-powerpoint.presentation.macroenabled.12":"PowerPoint - Macro-Enabled Presentation File","application/vnd.ms-powerpoint.slideshow.macroenabled.12":"PowerPoint - Macro-Enabled Slide Show File","application/vnd.ms-powerpoint.template.macroenabled.12":"PowerPoint - Macro-Enabled Template File","application/vnd.ms-project":"MS Project","application/x-mspublisher":"MS Publisher","application/x-msschedule":"MS Schedule+","application/x-silverlight-app":"MS Silverlight","application/vnd.ms-pki.stl":"MS Trust UI Provider - Certificate Trust Link","application/vnd.ms-pki.seccat":"MS Trust UI Provider - Security Catalog","application/vnd.visio":"Visio","application/vnd.visio2013":"Visio 2013","video/x-ms-wm":"MS Windows Media","audio/x-ms-wma":"WMA","audio/x-ms-wax":"MS Windows Media Audio Redirector","video/x-ms-wmx":"MS Windows Media Audio/Video Playlist","application/x-ms-wmd":"MS Windows Media Player Download Package","application/vnd.ms-wpl":"MS Windows Media Player Playlist","application/x-ms-wmz":"MS Windows Media Player Skin Package","video/x-ms-wmv":"WMV","video/x-ms-wvx":"MS Windows Media Video Playlist","application/x-msmetafile":"MS Windows Metafile","application/x-msterminal":"MS Windows Terminal Services","application/msword":"Word","application/vnd.ms-word.document.macroenabled.12":"MS Word - Macro-Enabled Document","application/vnd.ms-word.template.macroenabled.12":"MS Word - Macro-Enabled Template","application/x-mswrite":"MS Wordpad","application/vnd.ms-works":"MS Works","application/x-ms-xbap":"MS XAML Browser Application","application/vnd.ms-xpsdocument":"MS XML Paper Specification","audio/midi":"MIDI","application/vnd.ibm.minipay":"MiniPay","application/vnd.ibm.modcap":"MO:DCA-P","application/vnd.jcp.javame.midlet-rms":"Mobile Information Device Profile","application/vnd.tmobile-livetv":"MobileTV","application/x-mobipocket-ebook":"Mobipocket","application/vnd.mobius.mbk":"Mobius Management Systems - Basket file","application/vnd.mobius.dis":"Mobius Management Systems - Distribution Database","application/vnd.mobius.plc":"Mobius Management Systems - Policy Definition Language File","application/vnd.mobius.mqy":"Mobius Management Systems - Query File","application/vnd.mobius.msl":"Mobius Management Systems - Script Language","application/vnd.mobius.txf":"Mobius Management Systems - Topic Index File","application/vnd.mobius.daf":"Mobius Management Systems - UniversalArchive","text/vnd.fly":"mod_fly / fly.cgi","application/vnd.mophun.certificate":"Mophun Certificate","application/vnd.mophun.application":"Mophun VM","video/mj2":"Motion JPEG 2000","audio/mpeg":"MPEG Audio","video/vnd.mpegurl":"MPEG Url","video/mpeg":"MPEG","application/mp21":"MPEG-21","audio/mp4":"MP4 Audio","video/mp4":"MP4 Video","application/mp4":"MP4","application/vnd.apple.mpegurl":"Multimedia Playlist Unicode","application/vnd.musician":"MUsical Score Interpreted Code Invented for the ASCII designation of Notation","application/vnd.muvee.style":"Muvee Automatic Video Editing","application/xv+xml":"MXML","application/vnd.nokia.n-gage.data":"N-Gage Game Data","application/vnd.nokia.n-gage.symbian.install":"N-Gage Game Installer","application/x-dtbncx+xml":"Navigation Control file for XML (for ePub)","application/x-netcdf":"Network Common Data Form (NetCDF)","application/vnd.neurolanguage.nlu":"neuroLanguage","application/vnd.dna":"New Moon Liftoff/DNA","application/vnd.noblenet-directory":"NobleNet Directory","application/vnd.noblenet-sealer":"NobleNet Sealer","application/vnd.noblenet-web":"NobleNet Web","application/vnd.nokia.radio-preset":"Nokia Radio Application - Preset","application/vnd.nokia.radio-presets":"Nokia Radio Application - Preset","text/n3":"Notation3","application/vnd.novadigm.edm":"Novadigm's RADIA and EDM products","application/vnd.novadigm.edx":"Novadigm's RADIA and EDM products","application/vnd.novadigm.ext":"Novadigm's RADIA and EDM products","application/vnd.flographit":"NpGraphIt","audio/vnd.nuera.ecelp4800":"Nuera ECELP 4800","audio/vnd.nuera.ecelp7470":"Nuera ECELP 7470","audio/vnd.nuera.ecelp9600":"Nuera ECELP 9600","application/oda":"Office Document Architecture","application/ogg":"Ogg","audio/ogg":"Ogg Audio","video/ogg":"Ogg Video","application/vnd.oma.dd2+xml":"OMA Download Agents","application/vnd.oasis.opendocument.text-web":"Open Document Text Web","application/oebps-package+xml":"Open eBook Publication Structure","application/vnd.intu.qbo":"Open Financial Exchange","application/vnd.openofficeorg.extension":"Open Office Extension","application/vnd.yamaha.openscoreformat":"Open Score Format","audio/webm":"WebM Audio","video/webm":"WebM Video","application/vnd.oasis.opendocument.chart":"OpenDocument Chart","application/vnd.oasis.opendocument.chart-template":"OpenDocument Chart Template","application/vnd.oasis.opendocument.database":"OpenDocument Database","application/vnd.oasis.opendocument.formula":"OpenDocument Formula","application/vnd.oasis.opendocument.formula-template":"OpenDocument Formula Template","application/vnd.oasis.opendocument.graphics":"OpenDocument Graphics","application/vnd.oasis.opendocument.graphics-template":"OpenDocument Graphics Template","application/vnd.oasis.opendocument.image":"OpenDocument Image","application/vnd.oasis.opendocument.image-template":"OpenDocument Image Template","application/vnd.oasis.opendocument.presentation":"OpenDocument Presentation","application/vnd.oasis.opendocument.presentation-template":"OpenDocument Presentation Template","application/vnd.oasis.opendocument.spreadsheet":"OpenDocument Spreadsheet","application/vnd.oasis.opendocument.spreadsheet-template":"OpenDocument Spreadsheet Template","application/vnd.oasis.opendocument.text":"OpenDocument Text","application/vnd.oasis.opendocument.text-master":"OpenDocument Text Master","application/vnd.oasis.opendocument.text-template":"OpenDocument Text Template","image/ktx":"OpenGL Textures (KTX)","application/vnd.sun.xml.calc":"OpenOffice - Calc (Spreadsheet)","application/vnd.sun.xml.calc.template":"OpenOffice - Calc Template (Spreadsheet)","application/vnd.sun.xml.draw":"OpenOffice - Draw (Graphics)","application/vnd.sun.xml.draw.template":"OpenOffice - Draw Template (Graphics)","application/vnd.sun.xml.impress":"OpenOffice - Impress (Presentation)","application/vnd.sun.xml.impress.template":"OpenOffice - Impress Template (Presentation)","application/vnd.sun.xml.math":"OpenOffice - Math (Formula)","application/vnd.sun.xml.writer":"OpenOffice - Writer (Text - HTML)","application/vnd.sun.xml.writer.global":"OpenOffice - Writer (Text - HTML)","application/vnd.sun.xml.writer.template":"OpenOffice - Writer Template (Text - HTML)","application/x-font-otf":"OpenType Font File","application/vnd.yamaha.openscoreformat.osfpvg+xml":"OSFPVG","application/vnd.osgi.dp":"OSGi Deployment Package","application/vnd.palm":"PalmOS Data","text/x-pascal":"Pascal Source File","application/vnd.pawaafile":"PawaaFILE","application/vnd.hp-pclxl":"PCL 6 Enhanced (Formerly PCL XL)","application/vnd.picsel":"Pcsel eFIF File","image/x-pcx":"PCX Image","image/vnd.adobe.photoshop":"Photoshop Document","application/pics-rules":"PICSRules","image/x-pict":"PICT Image","application/x-chat":"pIRCh","application/pkcs10":"PKCS #10 - Certification Request Standard","application/x-pkcs12":"PKCS #12 - Personal Information Exchange Syntax Standard","application/pkcs7-mime":"PKCS #7 - Cryptographic Message Syntax Standard","application/pkcs7-signature":"PKCS #7 - Cryptographic Message Syntax Standard","application/x-pkcs7-certreqresp":"PKCS #7 - Cryptographic Message Syntax Standard (Certificate Request Response)","application/x-pkcs7-certificates":"PKCS #7 - Cryptographic Message Syntax Standard (Certificates)","application/pkcs8":"PKCS #8 - Private-Key Information Syntax Standard","application/vnd.pocketlearn":"PocketLearn Viewers","image/x-portable-anymap":"Portable Anymap Image","image/x-portable-bitmap":"Portable Bitmap Format","application/x-font-pcf":"Portable Compiled Format","application/font-tdpfr":"Portable Font Resource","application/x-chess-pgn":"Portable Game Notation (Chess Games)","image/x-portable-graymap":"Portable Graymap Format","image/png":"PNG","image/x-citrix-png":"PNG","image/x-png":"PNG","image/x-portable-pixmap":"Portable Pixmap Format","application/pskc+xml":"Portable Symmetric Key Container","application/vnd.ctc-posml":"PosML","application/postscript":"PostScript","application/x-font-type1":"PostScript Fonts","application/vnd.powerbuilder6":"PowerBuilder","application/pgp-encrypted":"Pretty Good Privacy","application/pgp-signature":"Pretty Good Privacy - Signature","application/vnd.previewsystems.box":"Preview Systems ZipLock/VBox","application/vnd.pvi.ptid1":"Princeton Video Image","application/pls+xml":"Pronunciation Lexicon Specification","application/vnd.pg.format":"Proprietary P&G Standard Reporting System","application/vnd.pg.osasli":"Proprietary P&G Standard Reporting System","text/prs.lines.tag":"PRS Lines Tag","application/x-font-linux-psf":"PSF Fonts","application/vnd.publishare-delta-tree":"PubliShare Objects","application/vnd.pmi.widget":"Qualcomm's Plaza Mobile Internet","application/vnd.quark.quarkxpress":"QuarkXpress","application/vnd.epson.esf":"QUASS Stream Player","application/vnd.epson.msf":"QUASS Stream Player","application/vnd.epson.ssf":"QUASS Stream Player","application/vnd.epson.quickanime":"QuickAnime Player","application/vnd.intu.qfx":"Quicken","video/quicktime":"Quicktime Video","application/x-rar-compressed":"RAR Archive","audio/x-pn-realaudio":"Real Audio Sound","audio/x-pn-realaudio-plugin":"Real Audio Sound","application/rsd+xml":"Really Simple Discovery","application/vnd.rn-realmedia":"RealMedia","application/vnd.realvnc.bed":"RealVNC","application/vnd.recordare.musicxml":"Recordare Applications","application/vnd.recordare.musicxml+xml":"Recordare Applications","application/relax-ng-compact-syntax":"Relax NG Compact Syntax","application/vnd.data-vision.rdz":"RemoteDocs R-Viewer","application/rdf+xml":"Resource Description Framework","application/vnd.cloanto.rp9":"RetroPlatform Player","application/vnd.jisp":"RhymBox","application/rtf":"Rich Text","text/richtext":"Rich Text","application/vnd.route66.link66+xml":"ROUTE 66 Location Based Services","application/rss+xml":"RSS","application/shf+xml":"S Hexdump Format","application/vnd.sailingtracker.track":"SailingTracker","image/svg+xml":"SVG","application/vnd.sus-calendar":"ScheduleUs","application/sru+xml":"Search/Retrieve via URL Response Format","application/set-payment-initiation":"Secure Electronic Transaction - Payment","application/set-registration-initiation":"Secure Electronic Transaction - Registration","application/vnd.sema":"Secured eMail","application/vnd.semd":"Secured eMail","application/vnd.semf":"Secured eMail","application/vnd.seemail":"SeeMail","application/x-font-snf":"Server Normal Format","application/scvp-vp-request":"Server-Based Certificate Validation Protocol - Validation Policies - Request","application/scvp-vp-response":"Server-Based Certificate Validation Protocol - Validation Policies - Response","application/scvp-cv-request":"Server-Based Certificate Validation Protocol - Validation Request","application/scvp-cv-response":"Server-Based Certificate Validation Protocol - Validation Response","application/sdp":"Session Description Protocol","text/x-setext":"Setext","video/x-sgi-movie":"SGI Movie","application/vnd.shana.informed.formdata":"Shana Informed Filler","application/vnd.shana.informed.formtemplate":"Shana Informed Filler","application/vnd.shana.informed.interchange":"Shana Informed Filler","application/vnd.shana.informed.package":"Shana Informed Filler","application/thraud+xml":"Sharing Transaction Fraud Data","application/x-shar":"Shell Archive","image/x-rgb":"Silicon Graphics RGB Bitmap","application/vnd.epson.salt":"SimpleAnimeLite Player","application/vnd.accpac.simply.aso":"Simply Accounting","application/vnd.accpac.simply.imp":"Simply Accounting - Data Import","application/vnd.simtech-mindmapper":"SimTech MindMapper","application/vnd.commonspace":"Sixth Floor Media - CommonSpace","application/vnd.yamaha.smaf-audio":"SMAF Audio","application/vnd.smaf":"SMAF File","application/vnd.yamaha.smaf-phrase":"SMAF Phrase","application/vnd.smart.teacher":"SMART Technologies Apps","application/vnd.svd":"SourceView Document","application/sparql-query":"SPARQL - Query","application/sparql-results+xml":"SPARQL - Results","application/srgs":"Speech Recognition Grammar Specification","application/srgs+xml":"Speech Recognition Grammar Specification - XML","application/ssml+xml":"Speech Synthesis Markup Language","application/vnd.koan":"SSEYO Koan Play File","text/sgml":"SGML","application/vnd.stardivision.calc":"StarOffice - Calc","application/vnd.stardivision.draw":"StarOffice - Draw","application/vnd.stardivision.impress":"StarOffice - Impress","application/vnd.stardivision.math":"StarOffice - Math","application/vnd.stardivision.writer":"StarOffice - Writer","application/vnd.stardivision.writer-global":"StarOffice - Writer (Global)","application/vnd.stepmania.stepchart":"StepMania","application/x-stuffit":"Stuffit Archive","application/x-stuffitx":"Stuffit Archive","application/vnd.solent.sdkm+xml":"SudokuMagic","application/vnd.olpc-sugar":"Sugar Linux Application Bundle","audio/basic":"Sun Audio - Au file format","application/vnd.wqd":"SundaHus WQ","application/vnd.symbian.install":"Symbian Install Package","application/smil+xml":"Synchronized Multimedia Integration Language","application/vnd.syncml+xml":"SyncML","application/vnd.syncml.dm+wbxml":"SyncML - Device Management","application/vnd.syncml.dm+xml":"SyncML - Device Management","application/x-sv4cpio":"System V Release 4 CPIO Archive","application/x-sv4crc":"System V Release 4 CPIO Checksum Data","application/sbml+xml":"Systems Biology Markup Language","text/tab-separated-values":"Tab Separated Values","image/tiff":"TIFF","application/vnd.tao.intent-module-archive":"Tao Intent","application/x-tar":"Tar File","application/x-tcl":"Tcl Script","application/x-tex":"TeX","application/x-tex-tfm":"TeX Font Metric","application/tei+xml":"Text Encoding and Interchange","text/plain":"Text","application/vnd.spotfire.dxp":"TIBCO Spotfire","application/vnd.spotfire.sfs":"TIBCO Spotfire","application/timestamped-data":"Time Stamped Data Envelope","application/vnd.trid.tpt":"TRI Systems Config","application/vnd.triscape.mxs":"Triscape Map Explorer","text/troff":"troff","application/vnd.trueapp":"True BASIC","application/x-font-ttf":"TrueType Font","text/turtle":"Turtle (Terse RDF Triple Language)","application/vnd.umajin":"UMAJIN","application/vnd.uoml+xml":"Unique Object Markup Language","application/vnd.unity":"Unity 3d","application/vnd.ufdl":"Universal Forms Description Language","text/uri-list":"URI Resolution Services","application/vnd.uiq.theme":"User Interface Quartz - Theme (Symbian)","application/x-ustar":"Ustar (Uniform Standard Tape Archive)","text/x-uuencode":"UUEncode","text/x-vcalendar":"vCalendar","text/x-vcard":"vCard","application/x-cdlink":"Video CD","application/vnd.vsf":"Viewport+","model/vrml":"Virtual Reality Modeling Language","application/vnd.vcx":"VirtualCatalog","model/vnd.mts":"Virtue MTS","model/vnd.vtu":"Virtue VTU","application/vnd.visionary":"Visionary","video/vnd.vivo":"Vivo","application/ccxml+xml,":"Voice Browser Call Control","application/voicexml+xml":"VoiceXML","application/x-wais-source":"WAIS Source","application/vnd.wap.wbxml":"WAP Binary XML (WBXML)","image/vnd.wap.wbmp":"WBMP","audio/x-wav":"WAV","application/davmount+xml":"Web Distributed Authoring and Versioning","application/x-font-woff":"WOFF","application/wspolicy+xml":"Web Services Policy","image/webp":"WebP","application/vnd.webturbo":"WebTurbo","application/widget":"Widget Packaging and XML Configuration","application/winhlp":"WinHelp","text/vnd.wap.wml":"WML","text/vnd.wap.wmlscript":"WMLScript","application/vnd.wap.wmlscriptc":"WMLScript","application/vnd.wordperfect":"Wordperfect","application/vnd.wt.stf":"Worldtalk","application/wsdl+xml":"WSDL","image/x-xbitmap":"X BitMap","image/x-xpixmap":"X PixMap","image/x-xwindowdump":"X Window Dump","application/x-x509-ca-cert":"X.509 Certificate","application/x-xfig":"Xfig","application/xhtml+xml":"XHTML","application/xml":"XML","application/xcap-diff+xml":"XML Configuration Access Protocol - XCAP Diff","application/xenc+xml":"XML Encryption Syntax and Processing","application/patch-ops-error+xml":"XML Patch Framework","application/resource-lists+xml":"XML Resource Lists","application/rls-services+xml":"XML Resource Lists","application/resource-lists-diff+xml":"XML Resource Lists Diff","application/xslt+xml":"XML Transformations","application/xop+xml":"XML-Binary Optimized Packaging","application/x-xpinstall":"XPInstall - Mozilla","application/xspf+xml":"XSPF - XML Shareable Playlist Format","application/vnd.mozilla.xul+xml":"XUL - XML User Interface Language","chemical/x-xyz":"XYZ File Format","text/yaml":"YAML","application/yang":"YANG Data Modeling Language","application/yin+xml":"YIN (YANG - XML)","application/vnd.zul":"Z.U.L. Geometry","application/zip":"Zip Archive","application/vnd.handheld-entertainment+xml":"ZVUE Media Manager","application/vnd.zzazz.deck+xml":"Zzazz Deck","image/heic":"High Efficiency Image Container","image/heif":"High Efficiency Image Format"};function tm(n,e=!1){return e?t4e[n]||null:n4e[n]||null}function fs(n,e){const t=new URL(`assets/${n}`,v5());return e&&t.searchParams.set("download",""),t.href}const i4e={key:0,class:"extension"},o4e=Pt({__name:"file",props:{value:{default:null}},setup(n){const e=n,t=Oe(),i=Oe(!1),o=Ce(()=>e.value?tm(e.value.type,!0):null),a=Ce(()=>{var r,l;return e.value?(r=e.value.type)!=null&&r.includes("svg")?fs(e.value.id):((l=e.value.type)==null?void 0:l.includes("image"))===!1?null:fs(`${e.value.id}?key=system-small-cover`):null});return(r,l)=>{var d,g;const s=G("v-image"),u=G("v-icon");return a.value&&!i.value?(j(),ye(s,{key:0,src:a.value,class:yn({"is-svg":r.value&&((d=r.value.type)==null?void 0:d.includes("svg"))}),alt:(g=r.value)==null?void 0:g.title,onError:l[0]||(l[0]=m=>i.value=!0)},null,8,["src","class","alt"])):(j(),Re("div",{key:1,ref_key:"previewEl",ref:t,class:"preview"},[o.value?(j(),Re("span",i4e,me(o.value),1)):(j(),ye(u,{key:1,name:"folder_open"}))],512))}}}),r4e=Wt(o4e,[["__scopeId","data-v-0740e758"]]),a4e=Du({id:"file",name:"$t:displays.file.file",description:"$t:displays.file.description",icon:"insert_drive_file",component:r4e,types:["uuid"],localTypes:["file"],options:[],fields:["id","type","title"]});function J3(n=0,e=!0){const t=e?1e3:1024;if(!n)return"--";if(Math.abs(n)<t)return`${n} B`;const i=e?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let o=-1,a=n;do a/=t,o+=1;while(Math.abs(a)>=t&&o<i.length-1);return`${a.toFixed(1)} ${i[o]}`}const s4e=Du({id:"filesize",name:"$t:displays.filesize.filesize",description:"$t:displays.filesize.description",icon:"description",component:({value:n})=>K0("span",null,J3(n)),handler:n=>J3(n),options:[],types:["integer","bigInteger"]}),l4e=["onClick"],c4e={class:"label"},u4e={key:2},d4e=Pt({__name:"formatted-json-value",props:{value:{default:null},format:{default:null}},setup(n){const e=n,{t}=un(),i=Ce(()=>{if(!e.value)return null;try{return Array.isArray(e.value)?e.value.map(a=>o(a)):[o(e.value)]}catch{return null}});function o(a){return e.format?Qh(e.format,a):Qh("{{ value }}",{value:a})}return(a,r)=>{const l=G("value-null"),s=G("v-list-item-content"),u=G("v-list-item"),d=G("v-list"),g=G("v-menu");return i.value?i.value.length>1?(j(),ye(g,{key:1,"show-arrow":""},{activator:I(({toggle:m})=>[ke("span",{class:"toggle",onClick:Ji(m,["stop"])},[ke("span",c4e,me(i.value.length)+" "+me(h(t)("items")),1)],8,l4e)]),default:I(()=>[T(d,{class:"links"},{default:I(()=>[(j(!0),Re(hn,null,Si(i.value,(m,_)=>(j(),ye(u,{key:_},{default:I(()=>[T(s,null,{default:I(()=>[ze(me(m),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):(j(),Re("span",u4e,me(i.value[0]),1)):(j(),ye(l,{key:0}))}}}),f4e=Du({id:"formatted-json-value",name:"$t:displays.formatted-json-value.formatted-json-value",description:"$t:displays.formatted-json-value.description",types:["json","geometry"],icon:"settings_ethernet",component:d4e,handler:(n,e)=>Xc(n).map(t=>e.format?Qh(t,e.format):t).join(", "),options:[{field:"format",name:"$t:display_template",type:"string",meta:{width:"full",interface:"input",options:{placeholder:"{{ field }}"}}}]});/*! @license DOMPurify 3.1.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.7/LICENSE */const{entries:Iz,setPrototypeOf:wL,isFrozen:p4e,getPrototypeOf:h4e,getOwnPropertyDescriptor:m4e}=Object;let{freeze:af,seal:gp,create:Mz}=Object,{apply:Fk,construct:Pk}=typeof Reflect<"u"&&Reflect;af||(af=function(e){return e});gp||(gp=function(e){return e});Fk||(Fk=function(e,t,i){return e.apply(t,i)});Pk||(Pk=function(e,t){return new e(...t)});const Fb=T1(Array.prototype.forEach),kL=T1(Array.prototype.pop),g4=T1(Array.prototype.push),N6=T1(String.prototype.toLowerCase),Cx=T1(String.prototype.toString),CL=T1(String.prototype.match),y4=T1(String.prototype.replace),v4e=T1(String.prototype.indexOf),g4e=T1(String.prototype.trim),Gp=T1(Object.prototype.hasOwnProperty),Kd=T1(RegExp.prototype.test),_4=y4e(TypeError);function T1(n){return function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return Fk(n,e,i)}}function y4e(n){return function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return Pk(n,t)}}function va(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N6;wL&&wL(n,null);let i=e.length;for(;i--;){let o=e[i];if(typeof o=="string"){const a=t(o);a!==o&&(p4e(e)||(e[i]=a),o=a)}n[o]=!0}return n}function _4e(n){for(let e=0;e<n.length;e++)Gp(n,e)||(n[e]=null);return n}function A0(n){const e=Mz(null);for(const[t,i]of Iz(n))Gp(n,t)&&(Array.isArray(i)?e[t]=_4e(i):i&&typeof i=="object"&&i.constructor===Object?e[t]=A0(i):e[t]=i);return e}function b4(n,e){for(;n!==null;){const i=m4e(n,e);if(i){if(i.get)return T1(i.get);if(typeof i.value=="function")return T1(i.value)}n=h4e(n)}function t(){return null}return t}const SL=af(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Sx=af(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ex=af(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),b4e=af(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ax=af(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),x4e=af(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),EL=af(["#text"]),AL=af(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Tx=af(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),TL=af(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Pb=af(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),w4e=gp(/\{\{[\w\W]*|[\w\W]*\}\}/gm),k4e=gp(/<%[\w\W]*|[\w\W]*%>/gm),C4e=gp(/\${[\w\W]*}/gm),S4e=gp(/^data-[\-\w.\u00B7-\uFFFF]/),E4e=gp(/^aria-[\-\w]+$/),Fz=gp(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),A4e=gp(/^(?:\w+script|data):/i),T4e=gp(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Pz=gp(/^html$/i),D4e=gp(/^[a-z][.\w]*(-[.\w]+)+$/i);var DL=Object.freeze({__proto__:null,MUSTACHE_EXPR:w4e,ERB_EXPR:k4e,TMPLIT_EXPR:C4e,DATA_ATTR:S4e,ARIA_ATTR:E4e,IS_ALLOWED_URI:Fz,IS_SCRIPT_OR_DATA:A4e,ATTR_WHITESPACE:T4e,DOCTYPE_NAME:Pz,CUSTOM_ELEMENT:D4e});const x4={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},L4e=function(){return typeof window>"u"?null:window},I4e=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let i=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(i=t.getAttribute(o));const a="dompurify"+(i?"#"+i:"");try{return e.createPolicy(a,{createHTML(r){return r},createScriptURL(r){return r}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function Oz(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:L4e();const e=$n=>Oz($n);if(e.version="3.1.7",e.removed=[],!n||!n.document||n.document.nodeType!==x4.document)return e.isSupported=!1,e;let{document:t}=n;const i=t,o=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:r,Node:l,Element:s,NodeFilter:u,NamedNodeMap:d=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:g,DOMParser:m,trustedTypes:_}=n,x=s.prototype,S=b4(x,"cloneNode"),A=b4(x,"remove"),F=b4(x,"nextSibling"),C=b4(x,"childNodes"),L=b4(x,"parentNode");if(typeof r=="function"){const $n=t.createElement("template");$n.content&&$n.content.ownerDocument&&(t=$n.content.ownerDocument)}let w,$="";const{implementation:B,createNodeIterator:V,createDocumentFragment:W,getElementsByTagName:J}=t,{importNode:oe}=i;let ue={};e.isSupported=typeof Iz=="function"&&typeof L=="function"&&B&&B.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:be,ERB_EXPR:ie,TMPLIT_EXPR:fe,DATA_ATTR:Y,ARIA_ATTR:re,IS_SCRIPT_OR_DATA:ge,ATTR_WHITESPACE:he,CUSTOM_ELEMENT:Ie}=DL;let{IS_ALLOWED_URI:je}=DL,Ue=null;const Ee=va({},[...SL,...Sx,...Ex,...Ax,...EL]);let we=null;const lt=va({},[...AL,...Tx,...TL,...Pb]);let pt=Object.seal(Mz(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),yt=null,vt=null,ht=!0,rt=!0,St=!1,Ct=!0,kt=!1,It=!0,xt=!1,_t=!1,st=!1,Lt=!1,Xt=!1,Mt=!1,Et=!0,mn=!1;const Bn="user-content-";let xn=!0,oi=!1,rn={},Tn=null;const cn=va({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Sn=null;const dn=va({},["audio","video","img","source","image","track"]);let pn=null;const Kt=va({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),An="http://www.w3.org/1998/Math/MathML",_n="http://www.w3.org/2000/svg",Kn="http://www.w3.org/1999/xhtml";let Dn=Kn,yi=!1,ei=null;const _i=va({},[An,_n,Kn],Cx);let Fn=null;const ui=["application/xhtml+xml","text/html"],$i="text/html";let Un=null,eo=null;const Ht=t.createElement("form"),Vt=function(gn){return gn instanceof RegExp||gn instanceof Function},Be=function(){let gn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(eo&&eo===gn)){if((!gn||typeof gn!="object")&&(gn={}),gn=A0(gn),Fn=ui.indexOf(gn.PARSER_MEDIA_TYPE)===-1?$i:gn.PARSER_MEDIA_TYPE,Un=Fn==="application/xhtml+xml"?Cx:N6,Ue=Gp(gn,"ALLOWED_TAGS")?va({},gn.ALLOWED_TAGS,Un):Ee,we=Gp(gn,"ALLOWED_ATTR")?va({},gn.ALLOWED_ATTR,Un):lt,ei=Gp(gn,"ALLOWED_NAMESPACES")?va({},gn.ALLOWED_NAMESPACES,Cx):_i,pn=Gp(gn,"ADD_URI_SAFE_ATTR")?va(A0(Kt),gn.ADD_URI_SAFE_ATTR,Un):Kt,Sn=Gp(gn,"ADD_DATA_URI_TAGS")?va(A0(dn),gn.ADD_DATA_URI_TAGS,Un):dn,Tn=Gp(gn,"FORBID_CONTENTS")?va({},gn.FORBID_CONTENTS,Un):cn,yt=Gp(gn,"FORBID_TAGS")?va({},gn.FORBID_TAGS,Un):{},vt=Gp(gn,"FORBID_ATTR")?va({},gn.FORBID_ATTR,Un):{},rn=Gp(gn,"USE_PROFILES")?gn.USE_PROFILES:!1,ht=gn.ALLOW_ARIA_ATTR!==!1,rt=gn.ALLOW_DATA_ATTR!==!1,St=gn.ALLOW_UNKNOWN_PROTOCOLS||!1,Ct=gn.ALLOW_SELF_CLOSE_IN_ATTR!==!1,kt=gn.SAFE_FOR_TEMPLATES||!1,It=gn.SAFE_FOR_XML!==!1,xt=gn.WHOLE_DOCUMENT||!1,Lt=gn.RETURN_DOM||!1,Xt=gn.RETURN_DOM_FRAGMENT||!1,Mt=gn.RETURN_TRUSTED_TYPE||!1,st=gn.FORCE_BODY||!1,Et=gn.SANITIZE_DOM!==!1,mn=gn.SANITIZE_NAMED_PROPS||!1,xn=gn.KEEP_CONTENT!==!1,oi=gn.IN_PLACE||!1,je=gn.ALLOWED_URI_REGEXP||Fz,Dn=gn.NAMESPACE||Kn,pt=gn.CUSTOM_ELEMENT_HANDLING||{},gn.CUSTOM_ELEMENT_HANDLING&&Vt(gn.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(pt.tagNameCheck=gn.CUSTOM_ELEMENT_HANDLING.tagNameCheck),gn.CUSTOM_ELEMENT_HANDLING&&Vt(gn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(pt.attributeNameCheck=gn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),gn.CUSTOM_ELEMENT_HANDLING&&typeof gn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(pt.allowCustomizedBuiltInElements=gn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),kt&&(rt=!1),Xt&&(Lt=!0),rn&&(Ue=va({},EL),we=[],rn.html===!0&&(va(Ue,SL),va(we,AL)),rn.svg===!0&&(va(Ue,Sx),va(we,Tx),va(we,Pb)),rn.svgFilters===!0&&(va(Ue,Ex),va(we,Tx),va(we,Pb)),rn.mathMl===!0&&(va(Ue,Ax),va(we,TL),va(we,Pb))),gn.ADD_TAGS&&(Ue===Ee&&(Ue=A0(Ue)),va(Ue,gn.ADD_TAGS,Un)),gn.ADD_ATTR&&(we===lt&&(we=A0(we)),va(we,gn.ADD_ATTR,Un)),gn.ADD_URI_SAFE_ATTR&&va(pn,gn.ADD_URI_SAFE_ATTR,Un),gn.FORBID_CONTENTS&&(Tn===cn&&(Tn=A0(Tn)),va(Tn,gn.FORBID_CONTENTS,Un)),xn&&(Ue["#text"]=!0),xt&&va(Ue,["html","head","body"]),Ue.table&&(va(Ue,["tbody"]),delete yt.tbody),gn.TRUSTED_TYPES_POLICY){if(typeof gn.TRUSTED_TYPES_POLICY.createHTML!="function")throw _4('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof gn.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw _4('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=gn.TRUSTED_TYPES_POLICY,$=w.createHTML("")}else w===void 0&&(w=I4e(_,o)),w!==null&&typeof $=="string"&&($=w.createHTML(""));af&&af(gn),eo=gn}},Ze=va({},["mi","mo","mn","ms","mtext"]),tt=va({},["annotation-xml"]),ct=va({},["title","style","font","a","script"]),Nt=va({},[...Sx,...Ex,...b4e]),Gt=va({},[...Ax,...x4e]),tn=function(gn){let ci=L(gn);(!ci||!ci.tagName)&&(ci={namespaceURI:Dn,tagName:"template"});const si=N6(gn.tagName),uo=N6(ci.tagName);return ei[gn.namespaceURI]?gn.namespaceURI===_n?ci.namespaceURI===Kn?si==="svg":ci.namespaceURI===An?si==="svg"&&(uo==="annotation-xml"||Ze[uo]):!!Nt[si]:gn.namespaceURI===An?ci.namespaceURI===Kn?si==="math":ci.namespaceURI===_n?si==="math"&&tt[uo]:!!Gt[si]:gn.namespaceURI===Kn?ci.namespaceURI===_n&&!tt[uo]||ci.namespaceURI===An&&!Ze[uo]?!1:!Gt[si]&&(ct[si]||!Nt[si]):!!(Fn==="application/xhtml+xml"&&ei[gn.namespaceURI]):!1},Bt=function(gn){g4(e.removed,{element:gn});try{L(gn).removeChild(gn)}catch{A(gn)}},Ft=function(gn,ci){try{g4(e.removed,{attribute:ci.getAttributeNode(gn),from:ci})}catch{g4(e.removed,{attribute:null,from:ci})}if(ci.removeAttribute(gn),gn==="is"&&!we[gn])if(Lt||Xt)try{Bt(ci)}catch{}else try{ci.setAttribute(gn,"")}catch{}},en=function(gn){let ci=null,si=null;if(st)gn="<remove></remove>"+gn;else{const f=CL(gn,/^[\r\n\t ]+/);si=f&&f[0]}Fn==="application/xhtml+xml"&&Dn===Kn&&(gn='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+gn+"</body></html>");const uo=w?w.createHTML(gn):gn;if(Dn===Kn)try{ci=new m().parseFromString(uo,Fn)}catch{}if(!ci||!ci.documentElement){ci=B.createDocument(Dn,"template",null);try{ci.documentElement.innerHTML=yi?$:uo}catch{}}const it=ci.body||ci.documentElement;return gn&&si&&it.insertBefore(t.createTextNode(si),it.childNodes[0]||null),Dn===Kn?J.call(ci,xt?"html":"body")[0]:xt?ci.documentElement:it},di=function(gn){return V.call(gn.ownerDocument||gn,gn,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},vi=function(gn){return gn instanceof g&&(typeof gn.nodeName!="string"||typeof gn.textContent!="string"||typeof gn.removeChild!="function"||!(gn.attributes instanceof d)||typeof gn.removeAttribute!="function"||typeof gn.setAttribute!="function"||typeof gn.namespaceURI!="string"||typeof gn.insertBefore!="function"||typeof gn.hasChildNodes!="function")},zn=function(gn){return typeof l=="function"&&gn instanceof l},li=function(gn,ci,si){ue[gn]&&Fb(ue[gn],uo=>{uo.call(e,ci,si,eo)})},Ni=function(gn){let ci=null;if(li("beforeSanitizeElements",gn,null),vi(gn))return Bt(gn),!0;const si=Un(gn.nodeName);if(li("uponSanitizeElement",gn,{tagName:si,allowedTags:Ue}),gn.hasChildNodes()&&!zn(gn.firstElementChild)&&Kd(/<[/\w]/g,gn.innerHTML)&&Kd(/<[/\w]/g,gn.textContent)||gn.nodeType===x4.progressingInstruction||It&&gn.nodeType===x4.comment&&Kd(/<[/\w]/g,gn.data))return Bt(gn),!0;if(!Ue[si]||yt[si]){if(!yt[si]&&oo(si)&&(pt.tagNameCheck instanceof RegExp&&Kd(pt.tagNameCheck,si)||pt.tagNameCheck instanceof Function&&pt.tagNameCheck(si)))return!1;if(xn&&!Tn[si]){const uo=L(gn)||gn.parentNode,it=C(gn)||gn.childNodes;if(it&&uo){const f=it.length;for(let p=f-1;p>=0;--p){const b=S(it[p],!0);b.__removalCount=(gn.__removalCount||0)+1,uo.insertBefore(b,F(gn))}}}return Bt(gn),!0}return gn instanceof s&&!tn(gn)||(si==="noscript"||si==="noembed"||si==="noframes")&&Kd(/<\/no(script|embed|frames)/i,gn.innerHTML)?(Bt(gn),!0):(kt&&gn.nodeType===x4.text&&(ci=gn.textContent,Fb([be,ie,fe],uo=>{ci=y4(ci,uo," ")}),gn.textContent!==ci&&(g4(e.removed,{element:gn.cloneNode()}),gn.textContent=ci)),li("afterSanitizeElements",gn,null),!1)},Fi=function(gn,ci,si){if(Et&&(ci==="id"||ci==="name")&&(si in t||si in Ht))return!1;if(!(rt&&!vt[ci]&&Kd(Y,ci))){if(!(ht&&Kd(re,ci))){if(!we[ci]||vt[ci]){if(!(oo(gn)&&(pt.tagNameCheck instanceof RegExp&&Kd(pt.tagNameCheck,gn)||pt.tagNameCheck instanceof Function&&pt.tagNameCheck(gn))&&(pt.attributeNameCheck instanceof RegExp&&Kd(pt.attributeNameCheck,ci)||pt.attributeNameCheck instanceof Function&&pt.attributeNameCheck(ci))||ci==="is"&&pt.allowCustomizedBuiltInElements&&(pt.tagNameCheck instanceof RegExp&&Kd(pt.tagNameCheck,si)||pt.tagNameCheck instanceof Function&&pt.tagNameCheck(si))))return!1}else if(!pn[ci]){if(!Kd(je,y4(si,he,""))){if(!((ci==="src"||ci==="xlink:href"||ci==="href")&&gn!=="script"&&v4e(si,"data:")===0&&Sn[gn])){if(!(St&&!Kd(ge,y4(si,he,"")))){if(si)return!1}}}}}}return!0},oo=function(gn){return gn!=="annotation-xml"&&CL(gn,Ie)},ri=function(gn){li("beforeSanitizeAttributes",gn,null);const{attributes:ci}=gn;if(!ci)return;const si={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:we};let uo=ci.length;for(;uo--;){const it=ci[uo],{name:f,namespaceURI:p,value:b}=it,E=Un(f);let O=f==="value"?b:g4e(b);if(si.attrName=E,si.attrValue=O,si.keepAttr=!0,si.forceKeepAttr=void 0,li("uponSanitizeAttribute",gn,si),O=si.attrValue,si.forceKeepAttr||(Ft(f,gn),!si.keepAttr))continue;if(!Ct&&Kd(/\/>/i,O)){Ft(f,gn);continue}kt&&Fb([be,ie,fe],q=>{O=y4(O,q," ")});const z=Un(gn.nodeName);if(Fi(z,E,O)){if(mn&&(E==="id"||E==="name")&&(Ft(f,gn),O=Bn+O),It&&Kd(/((--!?|])>)|<\/(style|title)/i,O)){Ft(f,gn);continue}if(w&&typeof _=="object"&&typeof _.getAttributeType=="function"&&!p)switch(_.getAttributeType(z,E)){case"TrustedHTML":{O=w.createHTML(O);break}case"TrustedScriptURL":{O=w.createScriptURL(O);break}}try{p?gn.setAttributeNS(p,f,O):gn.setAttribute(f,O),vi(gn)?Bt(gn):kL(e.removed)}catch{}}}li("afterSanitizeAttributes",gn,null)},Pi=function $n(gn){let ci=null;const si=di(gn);for(li("beforeSanitizeShadowDOM",gn,null);ci=si.nextNode();)li("uponSanitizeShadowNode",ci,null),!Ni(ci)&&(ci.content instanceof a&&$n(ci.content),ri(ci));li("afterSanitizeShadowDOM",gn,null)};return e.sanitize=function($n){let gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ci=null,si=null,uo=null,it=null;if(yi=!$n,yi&&($n="<!-->"),typeof $n!="string"&&!zn($n))if(typeof $n.toString=="function"){if($n=$n.toString(),typeof $n!="string")throw _4("dirty is not a string, aborting")}else throw _4("toString is not a function");if(!e.isSupported)return $n;if(_t||Be(gn),e.removed=[],typeof $n=="string"&&(oi=!1),oi){if($n.nodeName){const b=Un($n.nodeName);if(!Ue[b]||yt[b])throw _4("root node is forbidden and cannot be sanitized in-place")}}else if($n instanceof l)ci=en("<!---->"),si=ci.ownerDocument.importNode($n,!0),si.nodeType===x4.element&&si.nodeName==="BODY"||si.nodeName==="HTML"?ci=si:ci.appendChild(si);else{if(!Lt&&!kt&&!xt&&$n.indexOf("<")===-1)return w&&Mt?w.createHTML($n):$n;if(ci=en($n),!ci)return Lt?null:Mt?$:""}ci&&st&&Bt(ci.firstChild);const f=di(oi?$n:ci);for(;uo=f.nextNode();)Ni(uo)||(uo.content instanceof a&&Pi(uo.content),ri(uo));if(oi)return $n;if(Lt){if(Xt)for(it=W.call(ci.ownerDocument);ci.firstChild;)it.appendChild(ci.firstChild);else it=ci;return(we.shadowroot||we.shadowrootmode)&&(it=oe.call(i,it,!0)),it}let p=xt?ci.outerHTML:ci.innerHTML;return xt&&Ue["!doctype"]&&ci.ownerDocument&&ci.ownerDocument.doctype&&ci.ownerDocument.doctype.name&&Kd(Pz,ci.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+ci.ownerDocument.doctype.name+`>
52
+ `,dont_have_an_account:"Don't have an account?",already_have_an_account:"Already have an account?",sign_up_now:"Sign up now",sign_in:"Sign In",sign_out:"Sign Out",sign_out_confirm:"Are you sure you want to sign out?",something_went_wrong:"Something went wrong.",sort_direction:"Sort Direction",export_location:"Export Location",export_started:"Export Started",export_started_copy:"Your export has started. You'll be notified when it's ready to download.",sort_asc:"Sort Ascending",sort_desc:"Sort Descending",disable_sort:"Disable Sorting",template:"Template",require_value_to_be_set:"Require value to be set on creation",translation:"Translation",translation_placeholder:"Enter a translation...",value:"Value",view_project:"View Project",report_error:"Report Error",start:"Start",table:"Table",list:"List",search_filter:"Search & Filter",enable_search_filter:"Enable searching & filtering",item_link:"Item link",show_link_to_item:"Show a link to the item",navigate_to_item:"Navigate to Item",undo_removed_item:"Undo Removed Item",remove_item:"Remove Item",delete_item:"Delete Item",pause:"Pause",resume:"Resume",interfaces:{"list-m2a":{prefix_note:"Uses the related item's collection name by default.",sorting_disabled:"Sorting is disabled because there are more items than can fit on one page."},filter:{name:"Filter",description:"Configure a filter object.",add_filter:"Add Filter",add_group:"And / Or group",add_value:"Add Value",logic_type_and:"AND",logic_type_or:"OR",all:"All",any:"Any",and:"and",of_the_following:"of the following",no_rules:"No configured rules",change_value:"Click to change value",placeholder:"Drag rules here",add_key_placeholder:"Add a key and press enter..."},fields:{name:"Fields"},"group-accordion":{name:"Accordion",description:"Display fields or groups as accordion sections",start:"Start",all_closed:"All Closed",first_opened:"First Opened",all_opened:"All Opened",accordion_mode:"Accordion Mode",max_one_section_open:"Max 1 Section Open"},"presentation-links":{"presentation-links":"Button Links",links:"Links",description:"Configurable link buttons for launching dynamic URLs",style:"Style",primary:"Primary",link:"Links",button:"Buttons",error:"Cannot perform action"},"select-multiple-checkbox":{checkboxes:"Checkboxes",description:"Choose between multiple options via checkboxes",allow_other:"Allow Other",show_more:"Show {count} more",items_shown:"Items Shown"},"select-multiple-checkbox-tree":{name:"Checkboxes (Tree)",description:"Choose between multiple options via nested checkboxes",value_combining:"Value Combining",value_combining_note:"Controls what value is stored when nested selections are made.",show_all:"Show All",show_selected:"Show Selected"},"input-code":{code:"Code",description:"Write or share code snippets",line_number:"Line Number",line_wrapping:"Line Wrapping",placeholder:"Enter code here..."},"system-collection":{collection:"Collection",description:"Select between existing collections",include_system_collections:"Include System Collections"},"system-collections":{collections:"Collections",description:"Select between existing collections",include_system_collections:"Include System Collections"},"select-color":{color:"Color",description:"Enter or select a color value",placeholder:"Choose a color...",preset_colors:"Preset Colors",opacity:"Opacity",preset_colors_add_label:"Add new color...",name_placeholder:"Enter color name..."},datetime:{datetime:"Datetime",description:"Enter dates and times",include_seconds:"Include Seconds",set_to_now:"Set to Now",use_24:"Use 24-Hour Format",placeholder:"Choose a datetime..."},"system-fields":{select_a_collection:"Select a Collection",no_fields:"No fields"},"system-display-template":{"display-template":"Display Template",description:"Mix static text and dynamic field values",collection_field:"Collection field",collection_field_not_setup:"The collection field option is misconfigured",select_a_collection:"Select a Collection"},"presentation-divider":{divider:"Divider",description:"Label and divide fields into sections",title_placeholder:"Enter a title, or leave blank to only show a line...",inline_title:"Inline Title",inline_title_label:"Show title inside line",margin_top:"Margin Top",margin_top_label:"Increase Top Margin"},"select-dropdown":{description:"Select a value from a dropdown",choices_placeholder:"Add a new choice",allow_other:"Allow Other",allow_other_label:"Allow Other Values",allow_none:"Allow None",allow_none_label:"Allow No Selection",choices_name_placeholder:"Enter a name...",choices_value_placeholder:"Enter a value...",preview_threshold:"Preview Threshold"},"select-multiple-dropdown":{"select-multiple-dropdown":"Dropdown (Multiple)",description:"Select multiple values from a dropdown"},file:{file:"File",description:"Select or upload a file"},files:{files:"Files",description:"Select or upload multiple files"},"input-hash":{hash:"Hash",description:"Enter a value to be hashed",masked:"Masked",masked_label:"Hide the true values"},"select-icon":{icon:"Icon",description:"Select an icon from a dropdown",search_for_icon:"Search for icon..."},"file-image":{image:"Image",description:"Select or upload an image",crop:"Crop to Fit",crop_label:"Crop image as needed",letterbox:"Letterbox",letterbox_label:"Add padding to image preview"},"system-interface":{interface:"Interface",description:"Select an existing interface",placeholder:"Select an interface..."},"system-interface-options":{"interface-options":"Interface Options",description:"A modal for selecting options of an interface"},"system-display":{display:"Display",description:"Select an existing display",placeholder:"Select an display..."},"system-display-options":{"display-options":"Display Options",description:"A modal for selecting options of a display"},"list-m2m":{"many-to-many":"Many to Many",description:"Select multiple related junction items",columns_configure_notice:"You can configure the columns after creating this field.",display_template_configure_notice:"You can configure the display template after creating this field."},"select-dropdown-m2o":{"many-to-one":"Many to One",description:"Select a single related item",display_template:"Display Template"},"collection-item-dropdown":{"collection-item-dropdown":"Collection Item Dropdown",description:"Select an item from a collection in JSON format"},"input-rich-text-md":{markdown:"Markdown",description:"Enter and preview markdown",edit:"Edit",preview:"Preview",editorFont:"Editor Font",previewFont:"Preview Font",default_view:"Default View",default_view_editor:"Editor",default_view_preview:"Preview",customSyntax:"Custom Blocks",customSyntax_label:"Add custom syntax types",customSyntax_add:"Add custom syntax",box:"Block / Inline",imageToken:"Static Access Token",imageToken_label:"Static access token is appended to the assets' URL"},map:{map:"Map",description:"Select a location on a map",zoom:"Zoom",geometry_type:"Geometry Type",geometry_format:"Geometry Format",default_view:"Default View",invalid_options:"Invalid options",invalid_format:"Invalid format ({format})",unexpected_geometry:"Expected {expected}, got {got}.",fit_bounds:"Fit view to data",native:"Native",geojson:"GeoJSON",lnglat:"Longitude, Latitude",wkt:"WKT",wkb:"WKB",click_to_select:"Click to select {geometry}"},"presentation-notice":{notice:"Notice",description:"Display a short notice",text:"Enter notice content here...",no_text:"No text configured..."},"list-o2m":{"one-to-many":"One to Many",description:"Select multiple related items",no_collection:"The collection could not be found"},"system-folder":{folder:"Root Folder",description:"Select a folder",field_hint:"Default folder for uploaded files without a folder specified. Does not affect existing files.",root_name:"File Library Root",system_default:"System Defaults"},"select-radio":{"radio-buttons":"Radio Buttons",description:"Select one of multiple choices"},list:{repeater:"Repeater",description:"Create multiple entries of the same structure",edit_fields:"Edit Fields",add_label:'"Create New" Label',sort:"Sort",sort_placeholder:"Manual",field_note_placeholder:"Enter field note...",incompatible_data:"The current data is not compatible with the repeater interface and will be overridden when adding items to the repeater",interface_group:"Interface Options",display_group:"Display Options"},slider:{slider:"Slider",description:"Select a number using a slider",always_show_value:"Always show value"},tags:{tags:"Tags",description:"Select or add tags",whitespace:"Whitespace",hyphen:"Replace with hyphen",underscore:"Replace with underscore",remove:"Remove whitespace",capitalization:"Capitalization",uppercase:"Convert Uppercase",lowercase:"Convert Lowercase",auto_formatter:"Use Title Auto-Formatter",alphabetize:"Alphabetize",alphabetize_label:"Force Alphabetical Order",add_tags:"Add a tag and press Enter..."},input:{input:"Input",description:"Manually enter a value",trim:"Trim",trim_label:"Trim the start and end",mask:"Masked",mask_label:"Hide the real value",clear:"Cleared Value",clear_label:"Save as empty string",minimum_value:"Minimum Value",maximum_value:"Maximum Value",step_interval:"Step Interval",slug:"Slugify",slug_label:"Make entered value URL safe"},"input-multiline":{textarea:"Textarea",description:"Enter multiline plain-text"},"input-translated-string":{"input-translated-string":"Translated Strings",description:"Select or add custom translation",search_placeholder:"Search...",new_custom_translation:"New Custom Translation"},boolean:{toggle:"Toggle",description:"Switch between on and off",color_on:"Color On",color_off:"Color Off",label_placeholder:"Enter a label...",label_default:"Enabled"},translations:{display_template:"Display Template",no_collection:"No Collection",toggle_split_view:"Toggle Split View",enable:"Enable",default_split_view_state:"Default Split View State",user_language:"Use Current User Language",default_language:"Default Language",language_field:"Language Indicator Field",language_direction_field:"Language Direction Field"},"list-o2m-tree-view":{description:"Tree view for nested recursive one-to-many items",recursive_only:"The tree view interface only works for recursive relationships."},user:{user:"User",description:"Select an existing directus user",select_mode:"Select Mode",modes:{auto:"Auto",dropdown:"Dropdown",modal:"Modal"}},"input-rich-text-html":{wysiwyg:"WYSIWYG",description:"A rich-text editor writing HTML content",toolbar:"Toolbar",custom_formats:"Custom Formats",custom_formats_note:"List of TinyMCE Content Formats. See the TinyMCE documentation about [Content Formatting](https://www.tiny.cloud/docs/tinymce/latest/content-formatting/) for more information.",options_override:"Options Override",options_override_note:"The TinyMCE User Formatting keys and their values. See the TinyMCE documentation about [User Formatting](https://www.tiny.cloud/docs/tinymce/latest/user-formatting-options/) for more information.",folder_note:"Folder for uploaded files. Does not affect existing files.",imageToken:"Static Access Token",imageToken_label:"Static access token is appended to the assets' URL"},"input-block-editor":{"input-block-editor":"Block Editor",description:"Block-styled editor for rich media stories, outputs clean data in JSON using Editor.js",tools:"Toolbar",tools_options:{header:"Header",nestedlist:"List",embed:"Embed",paragraph:"Paragraph",code:"Code",image:"Image",attaches:"Attaches",table:"Table",quote:"Quote",underline:"Underline",inlinecode:"Inline Code",delimiter:"Delimiter",checklist:"Checklist",toggle:"Toggle Block",alignment:"Alignment",raw:"Raw HTML"}},"input-autocomplete-api":{"input-autocomplete-api":"Autocomplete Input (API)",description:"A search typeahead for external API values.",results_path:"Results Path",value_path:"Value Path",text_path:"Text Path",trigger:"Trigger",rate:"Rate"},"group-raw":{name:"Raw Group",description:"Render the fields as-is"},"group-detail":{name:"Detail Group",description:"Render the fields as a collapsable section",show_header:"Show Group Header",header_icon:"Header Icon",header_color:"Header Color",start_open:"Start Open",start_closed:"Start Closed"},"system-token":{"system-token":"Token",description:"Manage static access token",placeholder:'Click "Generate Token" to create a new static access token',value_securely_saved:"Value Securely Saved",generate:"Generate Token",regenerate:"Regenerate Token",generate_success_copy:"Make sure to backup and copy the token above. For security reasons, you will not be able to view the token again after saving and navigate off this page.",remove_token:"Remove Token"},"system-raw-editor":{"system-raw-editor":"Raw Editor",description:"Allow entering of raw or mustache templating values"},"input-password":{"input-password":"Input Password",description:"Password input with toggle to hide value"}},displays:{translations:{translations:"Translations",description:"Preview translations",enable:"Enable",user_language:"Use Current User Language",default_language:"Default Language",language_field:"Language Indicator Field"},boolean:{boolean:"Boolean",description:"Display on and off states",label_on:"Label On",label_on_placeholder:"Enter an on label...",label_off:"Label Off",label_off_placeholder:"Enter an off label...",icon_on:"Icon On",icon_off:"Icon Off",color_on:"Color On",color_off:"Color Off"},collection:{collection:"Collection",description:"Display a collection",icon_label:"Show the collection's icon"},color:{color:"Color",description:"Display a colored dot",default_color:"Default Color"},datetime:{datetime:"Datetime",description:"Display values related to time",format:"Format",format_note:"The custom format accepts the __[Date Field Symbol Table](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table)__",long:"Long",short:"Short",relative:"Relative",relative_label:"Show relative time, eg: 5 minutes ago",suffix:"Suffix",suffix_label:"Show relative indicator",suffix_note:"Uses words like 'in' and 'ago'",strict:"Strict",strict_label:"Use strict units",strict_note:"Removes words like 'almost', 'over', 'less than'",round:"Round",round_note:"Choose a rounding function to use",down:"Down",nearest:"Nearest",up:"Up"},file:{file:"File",description:"Display files"},filesize:{filesize:"File Size",description:"Display the size of a file"},"formatted-value":{"formatted-value":"Formatted Value",description:"Display a formatted version of the text",format:"Format",format_label:"Auto format",font:"Font",font_sans_serif:"Sans serif",font_serif:"Serif",font_monospace:"Monospace",bold:"Bold",bold_label:"Use bold style",italic:"Italic",italic_label:"Use italic style",prefix:"Prefix",prefix_label:"Prepend text",suffix:"Suffix",suffix_label:"Appended Text",color:"Color",background:"Background",icon:"Icon",border:"Border",border_label:"Show border",mask:"Masked",mask_label:"Hide the real value",text:"Text",text_placeholder:"Optional value override..."},"formatted-json-value":{"formatted-json-value":"Formatted JSON value",description:"Display a formatted version of the object"},hash:{hash:"Hash",description:"Display a redacted version of the value"},icon:{icon:"Icon",description:"Display an icon",filled:"Filled",filled_label:"Use the filled variant"},image:{image:"Image",description:"Display a tiny image preview",circle:"Circle",circle_label:"Display as a circle"},labels:{labels:"Labels",description:"Display either a single or a list of labels",default_foreground:"Default Foreground",default_background:"Default Background",format_label:"Format each label",show_as_dot:"Show As Dot",choices_value_placeholder:"Enter a value...",choices_text_placeholder:"Enter a text..."},"mime-type":{"mime-type":"MIME Type",description:"Show the MIME-Type of a file",extension_only:"Extension Only",extension_only_label:"Only show the file extension"},rating:{rating:"Rating",description:"Visualize a number as stars relative to the max-value",simple:"Simple",simple_label:"Show stars in a simple format"},raw:{raw:"Raw Value"},"related-values":{"related-values":"Related Values",description:"Display relative values",display_template_configure_notice:"You can configure the display template after creating this field."},user:{user:"User",description:"Display a directus user",avatar:"Avatar",name:"Name",both:"Both",circle_label:"Show user in a circle"}},layouts:{cards:{cards:"Cards",image_source:"Image Source",image_fit:"Image Fit",crop:"Crop",contain:"Contain",title:"Title",subtitle:"Subtitle"},tabular:{tabular:"Table",spacing:"Spacing",comfortable:"Comfortable",compact:"Compact",cozy:"Cozy"},calendar:{calendar:"Calendar",start_date_field:"Start Date Field",end_date_field:"End Date Field",optional:"Optional",first_day:"First Day of the Week"},map:{map:"Map",basemap:"Basemap",layers:"Layers",cluster_options:"Clustering options",cluster:"Cluster Nearby Data",cluster_radius:"Cluster radius",cluster_minpoints:"Cluster minimum size",cluster_maxzoom:"Maximum zoom for clustering",field:"Geospatial Field",invalid_geometry:"Invalid geometry",find_location:"Find location...",default_template:"Using Collection Default...",no_compatible_fields:"No compatible fields"},kanban:{name:"Kanban",group_field:"Group By",group_field_placeholder:"Field to group by...",group_title:"Group Title",group_title_placeholder:"Field for group titles...",title:"Card Title",title_placeholder:"Optional title field...",text:"Card Text",text_placeholder:"Optional text field...",date:"Card Date",date_placeholder:"Optional date field...",tags:"Card Tags",tags_placeholder:"Optional tags field...",user:"Card User",user_placeholder:"Optional user field...",image:"Card Image",image_placeholder:"Optional image field...",image_fit:"Card Image Fit",crop:"Crop",advanced:"Advanced",edit_group:"Edit Group",delete_group:"Delete Group",add_group:"Add Group",add_group_placeholder:"Enter a new group title...",show_ungrouped:"Show Ungrouped",show:"Show",no_group:"No Group"}},horizontal:"Horizontal",vertical:"Vertical",axis:"Axis",x_axis:"X-Axis",y_axis:"Y-Axis",y_axis_function:"Y-Axis Function",show_x_only:"Show X-Axis Only",show_y_only:"Show Y-Axis Only",show_data_label:"Show Data Label",both:"Both",show_axis_labels:"Show Axis Labels",function:"Function",half_circle:"Half Circle",full_circle:"Full Circle",stroke_width:"Stroke Width",rounded_stroke:"Rounded Stroke",thin:"Thin",medium:"Medium",broad:"Broad",show_labels:"Show Labels",show_legend:"Show Legend",right:"Right",left:"Left",donut:"Donut",panels:{metric:{name:"Metric",description:"Show a single value based on a query",field:"Field"},metric_list:{name:"Metric List",description:"List and visualize aggregate metrics from a collection"},time_series:{name:"Time Series",description:"Render a line chart based on values over time",date_field:"Date Field",value_field:"Value Field",fill_type:"Fill Type",curve_type:"Curve Type"},label:{name:"Label",description:"Show some text"},list:{name:"List",description:"Filter and list fields from a collection"},barchart:{name:"Bar Chart",description:"Bar or column charts for comparing groups of values",horizontal:"Horizontal",select_collection:"You must select a collection."},linechart:{name:"Line Chart",description:"Line chart for comparing change of a field",disabled_grouping:"Disabled when grouping is selected.",disabled_no_grouping:"Disabled when no grouping is selected.",show_marker:"Show Tooltip Marker",curve_type:"Curve Type",smooth:"Smooth",straight:"Straight",step_line:"Step Line",show_legend:"Show Legend"},meter:{name:"Meter",description:"Meter for tracking values"},piechart:{name:"Pie or Donut Chart",description:"Circular chart showing the ratios of groups on a column"},variable:{name:"Global Variable",description:"Set a global value for use in other Panels' filters",variable_key:"Variable Key"},"relational-variable":{name:"Global Relational Variable",description:"Set a global relational value for use in other Panels' filters",variable_key:"Variable Key",multiple:"Multiple","multiple-label":"Select multiple items"}},triggers:{common:{response_body:"Response Body",response_body_all:"All Data",response_body_last:"Data of Last Operation"},event:{name:"Event Hook",description:"Triggers on platform or data events",action:"Action (Non-Blocking)",filter:"Filter (Blocking)"},webhook:{name:"Webhook",description:"Triggers on an incoming HTTP request",method:"Method",async:"Asynchronous"},operation:{name:"Another Flow",description:"Triggered by another Flow, for chaining",preview:"Triggered by an operation in a different Flow"},schedule:{name:"Schedule (CRON)",description:"Triggers at regular points in time",cron:"Interval"},manual:{name:"Manual",description:"Triggers on manual run within selected collection(s)",collection_and_item:"Collection & Item Pages",collection_only:"Collection Page Only",item_only:"Item Page Only",collection_page:"Collection Page",require_selection:"Requires Selection"}},a_flow_uuid:"Select a Flow to trigger...",any_string_or_json:"Any string or JSON...",item_payload_placeholder:"This is the JSON used to update the item's field values...",operation_variables_note:"You can access flow data with variables such as **{'{'}{'{'}$last{'}'}{'}'}**, **{'{'}{'{'}$trigger{'}'}{'}'}** and **{'{'}{'{'}$accountability{'}'}{'}'}**, or reference previous operations using **{'{'}{'{'}operation_key{'}'}{'}'}**.'",operations:{condition:{name:"Condition",description:"Route a flow based on If / Else logic"},exec:{name:"Run Script",description:"Execute arbitrary code to modify the payload",modules:"The following **Node modules** can be used:"},"item-create":{name:"Create Data",description:"Create items in the database",payload:"Payload",emit_events:"Emit Events"},"item-delete":{name:"Delete Data",description:"Delete items in the database",emit_events:"Emit Events",key:"IDs",query:"Query"},"item-read":{name:"Read Data",description:"Read items from the database",key:"IDs",query:"Query",emit_events:"Emit Events"},"item-update":{name:"Update Data",description:"Update items in the database",emit_events:"Emit Events",key:"IDs",payload:"Payload",query:"Query"},"json-web-token":{name:"JSON Web Token (JWT)",description:"Sign and verify JSON Web Tokens",operation:"Operation",secret:"Secret",secret_placeholder:"Enter a secret...",payload:"Payload",token:"Token",token_placeholder:"eyJhbGciOi......",options:"Options",options_placeholder:"Refer to https://www.npmjs.com/package/jsonwebtoken#usage for the available options",sign:"Sign Token",verify:"Verify Token",decode:"Decode Token"},log:{name:"Log to Console",description:"Output something to the console",message:"Message",message_placeholder:"Enter a message to show in the console..."},mail:{name:"Send Email",description:"Send an email to one or more people",to:"To",to_placeholder:"Add e-mail addresses and press enter...",body:"Body",template:"Template",data:"Data"},notification:{name:"Send Notification",description:"Send an in-app notification to one or more users",recipient:"User",recipient_placeholder:"Enter a UUID...",recipient_note:"Add user UUID and press enter...",item_note:"Item Key or Relative URL",message:"Message",subject:"Subject"},request:{name:"Webhook / Request URL",description:"Make a request to a URL",url:"URL",url_placeholder:"https://example.com/example",method:"Method",data:"Data",headers:"Headers",header:"Header",header_placeholder:"Authorization...",value_placeholder:"Bearer eyJhbGciOi..."},sleep:{name:"Sleep",description:"Wait a given number of milliseconds",milliseconds:"Milliseconds"},transform:{name:"Transform Payload",description:"Alter the Flow's JSON payload"},trigger:{name:"Trigger Flow",description:"Pass this data to another flow",flows:"Flows",flow:"Flow",data:"Data",iteration_mode:"Iteration Mode",iteration_mode_note:"Mode for iterating over arrays.",serial:"Serial",parallel:"Parallel",batch:"Batch",batch_size:"Batch Size",cache:"Cache"}},unit:"Unit",standard:"Standard",scientific:"Scientific",engineering:"Engineering",compact:"Compact",currency:"Currency",notation:"Notation",style:"Style",fonts:{thin:"Thin",extra_light:"Extra Light",light:"Light",normal:"Normal",medium:"Medium",semi_bold:"Semi Bold",bold:"Bold",extra_bold:"Extra Bold",black:"Black",italic:"Italic",oblique:"Oblique",small:"Small",large:"Large",auto:"Auto"},text_wrap:"Text Wrap",center:"Center",justify:"Justify",text_align:"Text Align",font_weight:"Font Weight",font_style:"Font Style",font_size:"Font Size",minimum_fraction_digits:"Minimum Decimals",maximum_fraction_digits:"Maximum Decimals",show_percentage:"Show Percentage",aggregation:"Aggregation",series_grouping:"Series Grouping",date_precision:"Date Precision",export_dashboard:"Export Dashboard",duplicate_dashboard:"Duplicate Dashboard",search_dashboard:"Search Dashboard...",search_flow:"Search Flow...",percent:"Percent",show_password:"Show password",hide_password:"Hide password"};const xz=pe;var tee=pe.about,nee=pe.identifier,iee=pe.avatar,oee=pe.application,ree=pe.default_provider,aee=pe.method,see=pe.published,lee=pe.draft,cee=pe.archived,uee=pe.marketplace,dee=pe.extensions,fee=pe.modules,pee=pe.module_bar,hee=pe.logs,mee=pe.unknown,vee=pe.reset_width,gee=pe.tile_size,yee=pe.edit_field,_ee=pe.conditions,bee=pe.location,xee=pe.collection_names_are_case_sensitive,wee=pe.condition_rules,kee=pe.input,Cee=pe.maps,See=pe.switch_user,Eee=pe.item_creation,Aee=pe.item_revision,Tee=pe.enter_a_name,Dee=pe.duplicate_field,Lee=pe.half_width,Iee=pe.full_width,Mee=pe.group,Fee=pe.popular,Pee=pe.recent,Oee=pe.export_items,Ree=pe.and,zee=pe.or,$ee=pe.init,Nee=pe.dataset_too_large_currently_showing_n_items,Bee=pe.modifier,jee=pe.extension_interface,Vee=pe.extension_display,Hee=pe.extension_layout,Uee=pe.extension_module,qee=pe.extension_panel,Wee=pe.extension_theme,Gee=pe.extension_hook,Yee=pe.extension_endpoint,Xee=pe.extension_operation,Kee=pe.extension_bundle,Zee=pe.extension_interfaces,Jee=pe.extension_displays,Qee=pe.extension_layouts,ete=pe.extension_modules,tte=pe.extension_panels,nte=pe.extension_themes,ite=pe.extension_hooks,ote=pe.extension_endpoints,rte=pe.extension_operations,ate=pe.extension_bundles,ste=pe.extension_missing,lte=pe.extension_reload_required,cte=pe.extension_reload_required_copy,ute=pe.extension_reload_now,dte=pe.published_relative,fte=pe.compatible_with_your_project,pte=pe.compatible_with_your_project_copy,hte=pe.last_updated_relative,mte=pe.n_files,vte=pe.verified,gte=pe.homepage,yte=pe.repository,_te=pe.reload_page,bte=pe.reload_required,xte=pe.report_an_issue,wte=pe.website,kte=pe.github,Cte=pe.beta,Ste=pe.n_downloads,Ete=pe.downloads,Ate=pe.compatibility_not_guaranteed,Tte=pe.compatibility_not_guaranteed_copy,Dte=pe.enable,Lte=pe.disable,Ite=pe.custom,Mte=pe.hook,Fte=pe.fill_width,Pte=pe.field_name_translations,Ote=pe.enter_password_to_enable_tfa,Rte=pe.add_field,zte=pe.role_name,$te=pe.policy_name,Nte=pe.branch,Bte=pe.leaf,jte=pe.indeterminate,Vte=pe.edit_collection,Hte=pe.exclusive,Ute=pe.children,qte=pe.db_only_click_to_configure,Wte=pe.show_active_items,Gte=pe.show_archived_items,Yte=pe.show_all_items,Xte=pe.edited,Kte=pe.required,Zte=pe.required_for_app_access,Jte=pe.requires_value,Qte=pe.create_preset,ene=pe.create_panel,tne=pe.create_role,nne=pe.create_policy,ine=pe.create_user,one=pe.message,rne=pe.delete_panel,ane=pe.create_webhook,sne=pe.create_custom_translation,lne=pe.edit_custom_translation,cne=pe.no_custom_translations,une=pe.no_custom_translations_copy,dne=pe.invite_users,fne=pe.invite,pne=pe.email_already_invited,hne=pe.subject,mne=pe.inbox,vne=pe.emails,gne=pe.connection_excellent,yne=pe.connection_good,_ne=pe.connection_fair,bne=pe.connection_poor,xne=pe.primary,wne=pe.rename_folder,kne=pe.delete_folder,Cne=pe.prefix,Sne=pe.suffix,Ene=pe.keep,Ane=pe.version,Tne=pe.version_key,Dne=pe.version_name,Lne=pe.main_version,Ine=pe.switch_version,Mne=pe.switch_version_copy,Fne=pe.create_version,Pne=pe.rename_version,One=pe.compare_version,Rne=pe.save_version,zne=pe.promote_version,$ne=pe.promote_version_disabled,Nne=pe.promote_version_drawer_title,Bne=pe.promote_version_changes,jne=pe.promote_version_preview,Vne=pe.outdated_notice,Hne=pe.promote_notice,Une=pe.delete_version,qne=pe.delete_version_copy,Wne=pe.delete_on_promote_copy,Gne=pe.reset_bookmark,Yne=pe.update_bookmark,Xne=pe.delete_bookmark,Kne=pe.delete_bookmark_copy,Zne=pe.delete_personal_bookmark,Jne=pe.delete_role_bookmark,Qne=pe.delete_global_bookmark,eie=pe.logoutReason,tie=pe.public_label,nie=pe.public_description,iie=pe.public_role_info,oie=pe.admin_description,rie=pe.admin_policy_description,aie=pe.no_description,sie=pe.reached_maximum_number_of_extensions,lie=pe.not_allowed,cie=pe.archive,uie=pe.archive_confirm,die=pe.archive_confirm_count,fie=pe.reset_system_permissions_to,pie=pe.reset_system_permissions_copy,hie=pe.the_following_are_minimum_permissions,mie=pe.app_access_minimum,vie=pe.recommended_defaults,gie=pe.unarchive,yie=pe.unarchive_confirm,_ie=pe.nested_files_folders_will_be_moved,bie=pe.validation_errors_notice,xie=pe.validationError,wie=pe.all_access,kie=pe.no_access,Cie=pe.use_custom,Sie=pe.nullable,Eie=pe.allow_null_value,Aie=pe.allow_multiple,Tie=pe.allow_multiple_to_be_open,Die=pe.enter_value_to_replace_nulls,Lie=pe.field_standard,Iie=pe.field_presentation,Mie=pe.field_file,Fie=pe.field_files,Pie=pe.field_m2o,Oie=pe.field_m2a,Rie=pe.field_o2m,zie=pe.field_m2m,$ie=pe.field_translations,Nie=pe.field_group,Bie=pe.item_permissions,jie=pe.field_permissions,Vie=pe.field_validation,Hie=pe.field_presets,Uie=pe.permissions_for_role,qie=pe.permissions_for_policy,Wie=pe.fields_for_role,Gie=pe.fields_for_policy,Yie=pe.validation_for_role,Xie=pe.validation_for_policy,Kie=pe.presets_for_role,Zie=pe.presets_for_policy,Jie=pe.presets_field_warning,Qie=pe.presentation_and_aliases,eoe=pe.revision_post_create,toe=pe.revision_post_update,noe=pe.changes_made,ioe=pe.no_relational_data,ooe=pe.junction_field_location,roe=pe.top,aoe=pe.bottom,soe=pe.hide_field,loe=pe.hide_field_on_detail,coe=pe.show_field_on_detail,uoe=pe.delete_field,doe=pe.fields_and_layout,foe=pe.field_create_success,poe=pe.field_update_success,hoe=pe.duplicate_where_to,moe=pe.language,voe=pe.language_placeholder,goe=pe.aggregate_function,yoe=pe.aggregate_precision,_oe=pe.group_aggregation,boe=pe.group_precision,xoe=pe.global,woe=pe.admins_have_all_permissions,koe=pe.camera,Coe=pe.show_zero,Soe=pe.create_in_advanced_field_creation_mode,Eoe=pe.continue_in_advanced_field_creation_mode,Aoe=pe.validation,Toe=pe.sum,Doe=pe.sum_distinct,Loe=pe.avg,Ioe=pe.avg_distinct,Moe=pe.count,Foe=pe.count_distinct,Poe=pe.min,Ooe=pe.max,Roe=pe.exposure,zoe=pe.shutter,$oe=pe.iso,Noe=pe.focal_length,Boe=pe.schema_setup_key,joe=pe.create_field,Voe=pe.creating_new_field,Hoe=pe.field_in_collection,Uoe=pe.reset_page_preferences,qoe=pe.hidden_field,Woe=pe.hidden_on_detail,Goe=pe.disabled_editing_value,Yoe=pe.key,Xoe=pe.alias,Koe=pe.bigInteger,Zoe=pe.boolean,Joe=pe.date,Qoe=pe.date_range,ere=pe.translation_key_placeholder,tre=pe.datetime,nre=pe.dateTime,ire=pe.precision,ore=pe.decimal,rre=pe.float,are=pe.integer,sre=pe.json,lre=pe.xml,cre=pe.yaml,ure=pe.string,dre=pe.text,fre=pe.time,pre=pe.timestamp,hre=pe.uuid,mre=pe.hash,vre=pe.geometry,gre=pe.theme_auto,yre=pe.theme_light,_re=pe.theme_dark,bre=pe.theme_directus_default,xre=pe.theme_directus_minimal,wre=pe.theme_directus_colormatch,kre=pe.not_available_for_type,Cre=pe.create_translations,Sre=pe.auto_refresh,Ere=pe.refresh_interval,Are=pe.no_refresh,Tre=pe.refresh_interval_seconds,Dre=pe.refresh_interval_minutes,Lre=pe.auto_generate,Ire=pe.this_will_auto_setup_fields_relations,Mre=pe.click_here,Fre=pe.to_manually_setup_translations,Pre=pe.manage,Ore=pe.click_to_manage_translated_fields,Rre=pe.fields_group,zre=pe.no_collections_found,$re=pe.new_data_alert,Nre=pe.search_collection,Bre=pe.search_role,jre=pe.search_policy,Vre=pe.search_field,Hre=pe.new_field,Ure=pe.new_collection,qre=pe.add_m2o_to_collection,Wre=pe.add_o2m_to_collection,Gre=pe.add_m2m_to_collection,Yre=pe.choose_a_type,Xre=pe.determined_by_relationship,Kre=pe.add_note,Zre=pe.add_link,Jre=pe.custom_link,Qre=pe.default_value,eae=pe.standard_field,tae=pe.single_file,nae=pe.multiple_files,iae=pe.m2o_relationship,oae=pe.o2m_relationship,rae=pe.m2m_relationship,aae=pe.m2a_relationship,sae=pe.invalid_item,lae=pe.require_confirmation,cae=pe.dialog,uae=pe.modal,dae=pe.confirmation_dialog,fae=pe.confirmation_description,pae=pe.confirmation_input_fields,hae=pe.next,mae=pe.field_name,vae=pe.translations,gae=pe.no_translations,yae=pe.left_to_right,_ae=pe.right_to_left,bae=pe.note,xae=pe.enter_a_value,wae=pe.enter_a_placeholder,kae=pe.length,Cae=pe.soft_length,Sae=pe.precision_scale,Eae=pe.readonly,Aae=pe.unique,Tae=pe.index,Dae=pe.updated_on,Lae=pe.updated_by,Iae=pe.primary_key,Mae=pe.foreign_key,Fae=pe.field_key,Pae=pe.finish_setup,Oae=pe.dismiss,Rae=pe.toggle_raw_editor,zae=pe.raw_editor_placeholder,$ae=pe.raw_value,Nae=pe.copy_raw_value,Bae=pe.copy_raw_value_success,jae=pe.copy_raw_value_fail,Vae=pe.paste_raw_value,Hae=pe.paste_raw_value_success,Uae=pe.paste_raw_value_fail,qae=pe.view_raw_value,Wae=pe.edit_raw_value,Gae=pe.enter_raw_value,Yae=pe.clear_value,Xae=pe.clear_changes,Kae=pe.clear_items,Zae=pe.reset_to_default,Jae=pe.undo_changes,Qae=pe.notifications,ese=pe.archive_all,tse=pe.show_all_activity,nse=pe.page_not_found,ise=pe.page_not_found_body,ose=pe.confirm_revert,rse=pe.confirm_revert_body,ase=pe.display,sse=pe.settings_update_success,lse=pe.title,cse=pe.revision_delta_created,use=pe.revision_delta_created_externally,dse=pe.revision_delta_updated,fse=pe.revision_delta_deleted,pse=pe.revision_delta_version_saved,hse=pe.revision_delta_reverted,mse=pe.revision_delta_update_message,vse=pe.revision_delta_other,gse=pe.revision_delta_by,yse=pe.presentation_text_values_cannot_be_reimported,_se=pe.download_page_as_csv,bse=pe.download_page_as_csv_unsupported,xse=pe.private_user,wse=pe.creation_preview,kse=pe.revision_preview,Cse=pe.updates_made,Sse=pe.leave_comment,Ese=pe.post_comment_success,Ase=pe.post_comment_updated,Tse=pe.item_create_success,Dse=pe.item_update_success,Lse=pe.item_delete_success,Ise=pe.this_collection,Mse=pe.related_collection,Fse=pe.related_collections,Pse=pe.translations_collection,Ose=pe.languages_collection,Rse=pe.import_data_input_placeholder,zse=pe.import_data_button,$se=pe.import_data_indeterminate,Nse=pe.import_data_success,Bse=pe.import_data_error,jse=pe.label_import,Vse=pe.label_export,Hse=pe.import_export,Use=pe.format,qse=pe.last_page,Wse=pe.last_access,Gse=pe.fill_template,Yse=pe.a_unique_table_name,Xse=pe.a_unique_column_name,Kse=pe.enable_custom_values,Zse=pe.submit,Jse=pe.move_to_folder,Qse=pe.move,ele=pe.system,tle=pe.add_field_related,nle=pe.interface_label,ile=pe.display_label,ole=pe.today,rle=pe.yesterday,ale=pe.delete_comment,sle=pe.delete_share,lle=pe.functions,cle=pe.minutes,ule=pe.hours,dle=pe.month,fle=pe.year,ple=pe.select_all,hle=pe.permissionsLevel,mle=pe.months,vle=pe.drag_mode,gle=pe.move_tool,yle=pe.crop_tool,_le=pe.focal_point_tool,ble=pe.cancel_crop,xle=pe.cancel_selection,wle=pe.original,kle=pe.url,Cle=pe.import_label,Sle=pe.file_details,Ele=pe.dimensions,Ale=pe.size,Tle=pe.created,Dle=pe.uploaded,Lle=pe.modified,Ile=pe.owner,Mle=pe.edited_by,Fle=pe.folder,Ple=pe.folders,Ole=pe.zoom,Rle=pe.download,zle=pe.open,$le=pe.open_in_new_window,Nle=pe.open_folder,Ble=pe.foreground_color,jle=pe.background_color,Vle=pe.upload_from_device,Hle=pe.choose_from_library,Ule=pe.import_from_url,qle=pe.replace_from_device,Wle=pe.replace_from_library,Gle=pe.replace_from_url,Yle=pe.no_image_selected,Xle=pe.no_file_selected,Kle=pe.download_file,Zle=pe.open_file_in_tab,Jle=pe.start_export,Qle=pe.not_available_for_local_downloads,ece=pe.exporting_all_items_in_collection,tce=pe.exporting_limited_items_in_collection,nce=pe.exporting_no_items_to_export,ice=pe.exporting_download_hint,oce=pe.exporting_library_hint,rce=pe.exporting_library_hint_forced,ace=pe.collection_key,sce=pe.name,lce=pe.primary_key_field,cce=pe.type,uce=pe.creating_new_collection,dce=pe.created_by,fce=pe.created_on,pce=pe.creating_collection_info,hce=pe.creating_collection_system,mce=pe.auto_increment_integer,vce=pe.auto_increment_big_integer,gce=pe.generated_uuid,yce=pe.manual_string,_ce=pe.save_and_create_new,bce=pe.save_and_stay,xce=pe.save_and_quit,wce=pe.save_as_copy,kce=pe.add_existing,Cce=pe.creating_items,Sce=pe.enable_create_button,Ece=pe.selecting_items,Ace=pe.enable_select_button,Tce=pe.allow_duplicates,Dce=pe.comments,Lce=pe.no_comments,Ice=pe.expand,Mce=pe.expand_all,Fce=pe.expand_none,Pce=pe.collapse,Oce=pe.collapse_all,Rce=pe.select_item,zce=pe.no_items,$ce=pe.search_items,Nce=pe.search_extensions,Bce=pe.disabled,jce=pe.information,Vce=pe.report_bug,Hce=pe.request_feature,Uce=pe.request_body,qce=pe.interface_not_found,Wce=pe.operation_not_found,Gce=pe.reset_interface,Yce=pe.display_not_found,Xce=pe.reset_display,Kce=pe.item_count,Zce=pe.filtered_item_count,Jce=pe.no_items_copy,Qce=pe.file_count,eue=pe.no_files_copy,tue=pe.user_count,nue=pe.no_users_copy,iue=pe.webhooks_count,oue=pe.webhooks_deprecation_notice,rue=pe.no_webhooks_copy,aue=pe.no_notifications,sue=pe.no_notifications_copy,lue=pe.activity_log,cue=pe.all_items,uue=pe.any,due=pe.csv,fue=pe.no_collections,pue=pe.create_collection,hue=pe.no_collections_copy_admin,mue=pe.no_collections_copy,vue=pe.relationship_not_setup,gue=pe.no_singleton_relations,yue=pe.display_template_not_setup,_ue=pe.collection_field_not_setup,bue=pe.select_a_collection,xue=pe.select_a_field,wue=pe.active,kue=pe.move_to,Cue=pe.copy,Sue=pe.copy_to,Eue=pe.no_other_dashboards_copy,Aue=pe.inactive,Tue=pe.users,Due=pe.roles,Lue=pe.activity,Iue=pe.activity_item,Mue=pe.action,Fue=pe.ip_address,Pue=pe.user_agent,Oue=pe.origin,Rue=pe.webhooks,zue=pe.decimals,$ue=pe.value_decimals,Nue=pe.min_value,Bue=pe.max_value,jue=pe.automatic,Vue=pe.field_width,Hue=pe.add_filter,Uue=pe.upper_limit,que=pe.lower_limit,Wue=pe.user_directory,Gue=pe.documentation,Yue=pe.sidebar,Xue=pe.duration,Kue=pe.charset,Zue=pe.second,Jue=pe.file_moved,Que=pe.collection_created,ede=pe.modified_on,tde=pe.card_size,nde=pe.sort_field,ide=pe.add_sort_field,ode=pe.sort,rde=pe.status,ade=pe.remove,sde=pe.toggle_manual_sorting,lde=pe.bookmark_doesnt_exist,cde=pe.bookmark_doesnt_exist_copy,ude=pe.bookmark_doesnt_exist_cta,dde=pe.select_an_item,fde=pe.edit,pde=pe.edit_item,hde=pe.enabled,mde=pe.partially_enabled,vde=pe.enable_all,gde=pe.disable_all,yde=pe.enabled_dev_tooltip,_de=pe.disable_tfa,bde=pe.admin_disable_tfa_text,xde=pe.tfa_setup,wde=pe.tfa_scan_code,kde=pe.enter_otp_to_disable_tfa,Cde=pe.create_account,Sde=pe.account_created_successfully,Ede=pe.auto_fill,Ade=pe.corresponding_field,Tde=pe.errors,Dde=pe.security,Lde=pe.value_hashed,Ide=pe.bookmark_name,Mde=pe.create_bookmark,Fde=pe.edit_bookmark,Pde=pe.edit_personal_bookmark,Ode=pe.edit_role_bookmark,Rde=pe.edit_global_bookmark,zde=pe.cannot_edit_role_bookmarks,$de=pe.cannot_edit_global_bookmarks,Nde=pe.bookmarks,Bde=pe.presets,jde=pe.unexpected_error,Vde=pe.unexpected_error_copy,Hde=pe.copy_details,Ude=pe.no_app_access,qde=pe.no_app_access_copy,Wde=pe.password_reset_sent,Gde=pe.password_reset_successful,Yde=pe.back,Xde=pe.filter,Kde=pe.edit_image,Zde=pe.editing_image,Jde=pe.square,Qde=pe.free,efe=pe.flip_horizontal,tfe=pe.flip_vertical,nfe=pe.aspect_ratio,ife=pe.rotate,ofe=pe.all_users,rfe=pe.delete_collection,afe=pe.update_collection_success,sfe=pe.delete_collection_success,lfe=pe.make_collection_visible,cfe=pe.make_collection_hidden,ufe=pe.make_folder_visible,dfe=pe.make_folder_hidden,ffe=pe.goto_collection_content,pfe=pe.count_of_total_items,hfe=pe.start_end_of_count_items,mfe=pe.start_end_of_count_filtered_items,vfe=pe.delete_collection_are_you_sure,gfe=pe.delete_folder_are_you_sure,yfe=pe.delete_collection_peer_dependencies,_fe=pe.collections_shown,bfe=pe.visible_collections,xfe=pe.hidden_collections,wfe=pe.show_hidden_collections,kfe=pe.hide_hidden_collections,Cfe=pe.show_header,Sfe=pe.unmanaged_collections,Efe=pe.system_collections,Afe=pe.placeholder,Tfe=pe.icon_left,Dfe=pe.icon_right,Lfe=pe.count_other_revisions,Ife=pe.font,Mfe=pe.sans_serif,Ffe=pe.serif,Pfe=pe.monospace,Ofe=pe.divider,Rfe=pe.color,zfe=pe.circle,$fe=pe.empty_item,Nfe=pe.log_in_with,Bfe=pe.conditional_styles,jfe=pe.advanced_settings,Vfe=pe.advanced_filter,Hfe=pe.delete_advanced_filter,Ufe=pe.change_advanced_filter_operator,qfe=pe.advanced,Wfe=pe.operators,Gfe=pe.custom_validation_message,Yfe=pe.loading,Xfe=pe.extension_readme_missing,Kfe=pe.drop_to_upload,Zfe=pe.item,Jfe=pe.items,Qfe=pe.upload_file,e1e=pe.upload_file_indeterminate,t1e=pe.upload_file_success,n1e=pe.upload_files_indeterminate,i1e=pe.upload_files_success,o1e=pe.upload_pending,r1e=pe.drag_file_here,a1e=pe.click_to_browse,s1e=pe.interface_options,l1e=pe.display_options,c1e=pe.layout_options,u1e=pe.rows,d1e=pe.columns,f1e=pe.collection_setup,p1e=pe.optional_system_fields,h1e=pe.value_unique,m1e=pe.value_index,v1e=pe.all_activity,g1e=pe.create_item,y1e=pe.display_template,_1e=pe.language_display_template,b1e=pe.translations_display_template,x1e=pe.n_items_selected,w1e=pe.per_page,k1e=pe.all_files,C1e=pe.my_files,S1e=pe.recent_files,E1e=pe.create_folder,A1e=pe.edit_folder,T1e=pe.folder_name,D1e=pe.folder_key,L1e=pe.add_file,I1e=pe.replace_file,M1e=pe.no_results,F1e=pe.no_results_copy,P1e=pe.no_visible_fields,O1e=pe.no_visible_fields_copy,R1e=pe.clear_filters,z1e=pe.saves_automatically,$1e=pe.role,N1e=pe.edit_role,B1e=pe.rule,j1e=pe.user,V1e=pe.no_presets,H1e=pe.no_presets_copy,U1e=pe.no_presets_cta,q1e=pe.presets_only,W1e=pe.create,G1e=pe.on_create,Y1e=pe.on_update,X1e=pe.read,K1e=pe.update,Z1e=pe.select_fields,J1e=pe.format_text,Q1e=pe.format_value,epe=pe.abbreviate_value,tpe=pe.operator,npe=pe.bold,ipe=pe.toggle,ope=pe.icon_on,rpe=pe.icon_off,ape=pe.label,spe=pe.flows,lpe=pe.flow,cpe=pe.select_a_flow,upe=pe.run_flow_confirm,dpe=pe.run_flow_on_current_collection,fpe=pe.run_flow_on_current,ppe=pe.run_flow_on_current_edited_confirm,hpe=pe.run_flow_on_selected,mpe=pe.run_flow,vpe=pe.run_flow_success,gpe=pe.field_name_placeholder,ype=pe.field_key_placeholder,_pe=pe.trigger,bpe=pe.trigger_options,xpe=pe.view_trigger,wpe=pe.create_trigger,kpe=pe.trigger_setup,Cpe=pe.change_trigger,Spe=pe.flow_delete_confirm,Epe=pe.set_flow_active,Ape=pe.set_flow_inactive,Tpe=pe.edit_flow,Dpe=pe.delete_flow,Lpe=pe.no_other_flows_copy,Ipe=pe.no_flows,Mpe=pe.no_flows_copy,Fpe=pe.create_flow,Ppe=pe.creating_new_flow,Ope=pe.updating_flow,Rpe=pe.flow_setup,zpe=pe.flow_name,$pe=pe.flow_tracking,Npe=pe.flow_tracking_all,Bpe=pe.flow_tracking_activity,jpe=pe.flow_tracking_null,Vpe=pe.start_flow,Hpe=pe.stop_flow,Upe=pe.create_operation,qpe=pe.edit_operation,Wpe=pe.code,Gpe=pe.operation_options,Ype=pe.operation_name,Xpe=pe.operation_key,Kpe=pe.operation_key_unique_error,Zpe=pe.operation_handle_resolve,Jpe=pe.operation_handle_reject,Qpe=pe.insights,ehe=pe.dashboard,the=pe.panel,nhe=pe.panel_options,ihe=pe.panel_header,ohe=pe.panel_name_placeholder,rhe=pe.panel_note_placeholder,ahe=pe.panel_delete_confirm,she=pe.list_panel_allow_edit,lhe=pe.dashboard_delete_confirm,che=pe.edit_dashboard,uhe=pe.delete_dashboard,dhe=pe.visible,fhe=pe.prefix_placeholder,phe=pe.suffix_placeholder,hhe=pe.decimals_placeholder,mhe=pe.no_dashboards,vhe=pe.no_dashboards_copy,ghe=pe.create_dashboard,yhe=pe.dashboard_name,_he=pe.no_data,bhe=pe.no_data_in_flow,xhe=pe.accountability,whe=pe.payload,khe=pe.details,Che=pe.resume_streaming_logs,She=pe.pause_streaming_logs,Ehe=pe.logs_session_resumed,Ahe=pe.logs_session_paused,The=pe.logs_stream_disconnected,Dhe=pe.log_detail_filter_paths,Lhe=pe.logs_beginning,Ihe=pe.logs_waiting,Mhe=pe.logs_unread_count,Fhe=pe.clear_logs,Phe=pe.search_logs,Ohe=pe.all_instances,Rhe=pe.instance_count,zhe=pe.all_log_levels,$he=pe.log_level_count,Nhe=pe.soft_wrap_lines,Bhe=pe.full_screen,jhe=pe.full_text_search,Vhe=pe.edit_panels,Hhe=pe.center_align,Uhe=pe.left_align,qhe=pe.right_align,Whe=pe.fit_to_screen,Ghe=pe.image_url,Yhe=pe.alt_text,Xhe=pe.media,Khe=pe.quality,Zhe=pe.width,Jhe=pe.height,Qhe=pe.transformation_preset_key,eme=pe.source,tme=pe.url_placeholder,nme=pe.display_text,ime=pe.display_text_placeholder,ome=pe.interface_group_text_and_numbers,rme=pe.interface_group_selection,ame=pe.interface_group_relational,sme=pe.interface_group_presentation,lme=pe.interface_group_groups,cme=pe.interface_group_other,ume=pe.tooltip,dme=pe.tooltip_placeholder,fme=pe.unlimited,pme=pe.open_link_in,hme=pe.new_tab,mme=pe.save_image,vme=pe.save_media,gme=pe.wysiwyg_options,yme=pe.dropdown,_me=pe.choices,bme=pe.choices_option_configured_incorrectly,xme=pe.deselect,wme=pe.deselect_all,kme=pe.theme,Cme=pe.select_a_theme,Sme=pe.default_sync_with_project,Eme=pe.appearance_auto,Ame=pe.appearance_light,Tme=pe.appearance_dark,Dme=pe.other,Lme=pe.adding_user,Ime=pe.unknown_user,Mme=pe.creating_in,Fme=pe.editing_in,Pme=pe.viewing_in,Ome=pe.creating_unit,Rme=pe.editing_unit,zme=pe.editing_in_batch,$me=pe.no_options_available,Nme=pe.settings_data_model,Bme=pe.settings_roles,jme=pe.settings_permissions,Vme=pe.settings_project,Hme=pe.settings_appearance,Ume=pe.settings_webhooks,qme=pe.settings_flows,Wme=pe.settings_system_logs,Gme=pe.settings_presets,Yme=pe.settings_translations,Xme=pe.one_or_more_options_are_missing,Kme=pe.configure_field_key_to_continue,Zme=pe.scope,Jme=pe.actions,Qme=pe.select,e2e=pe.layout,t2e=pe.tree_view,n2e=pe.changes_are_permanent,i2e=pe.preset_name_placeholder,o2e=pe.preset_search_placeholder,r2e=pe.editing_preset,a2e=pe.layout_preview,s2e=pe.layout_setup,pe=pe.data,l2e=pe.unsaved_changes,c2e=pe.unsaved_changes_copy,u2e=pe.discard_changes,d2e=pe.discard_all_changes,f2e=pe.discard_changes_copy,p2e=pe.show_x_axis,h2e=pe.show_y_axis,m2e=pe.keep_editing,v2e=pe.page_help_collections_overview,g2e=pe.page_help_collections_collection,y2e=pe.page_help_collections_item,_2e=pe.page_help_activity_collection,b2e=pe.page_help_docs_global,x2e=pe.page_help_files_collection,w2e=pe.page_help_files_item,k2e=pe.page_help_settings_project,C2e=pe.page_help_settings_appearance,S2e=pe.page_help_settings_extensions,E2e=pe.page_help_settings_datamodel_collections,A2e=pe.page_help_settings_datamodel_fields,T2e=pe.page_help_settings_system_logs,D2e=pe.page_help_settings_policies_collection,L2e=pe.page_help_settings_policies_item,I2e=pe.page_help_settings_roles_collection,M2e=pe.page_help_settings_roles_item,F2e=pe.page_help_settings_presets_collection,P2e=pe.page_help_settings_presets_item,O2e=pe.page_help_settings_webhooks_collection,R2e=pe.page_help_settings_webhooks_item,z2e=pe.page_help_settings_flows_collection,$2e=pe.page_help_settings_flows_item,N2e=pe.page_help_settings_translations_collection,B2e=pe.page_help_settings_translations_item,j2e=pe.page_help_users_collection,V2e=pe.page_help_users_item,H2e=pe.page_help_insights_overview,U2e=pe.page_help_insights_dashboard,q2e=pe.page_help_marketplace_account,W2e=pe.page_help_marketplace_registry,G2e=pe.page_help_marketplace_extension,Y2e=pe.activity_feed,X2e=pe.add_new,K2e=pe.create_new,Z2e=pe.all,J2e=pe.none,Q2e=pe.no_layout_collection_selected_yet,eve=pe.batch_delete_confirm,tve=pe.cancel,nve=pe.no_upscale,ive=pe.no_extensions,ove=pe.no_extensions_copy,rve=pe.install_extension,ave=pe.uninstall_locked,sve=pe.uninstall,lve=pe.installed,cve=pe.reinstall,uve=pe.open_in_marketplace,dve=pe.source_registry,fve=pe.source_local,pve=pe.source_module,hve=pe.collection,mve=pe.collections,vve=pe.content,gve=pe.singleton,yve=pe.singleton_label,_ve=pe.system_fields_locked,bve=pe.directus_collection,xve=pe.fields,wve=pe.field_options,kve=pe.no_fields_in_collection,Cve=pe.no_value,Sve=pe.do_nothing,Eve=pe.generate_and_save_uuid,Ave=pe.save_current_user_id,Tve=pe.save_current_user_role,Dve=pe.save_current_datetime,Lve=pe.always_open,Ive=pe.start_open,Mve=pe.start_collapsed,Fve=pe.block,Pve=pe.inline,Ove=pe.comment,Rve=pe.live_preview,zve=pe.shares,$ve=pe.unlimited_usage,Nve=pe.uses_left,Bve=pe.no_shares,jve=pe.new_share,Vve=pe.expired,Hve=pe.upcoming,Uve=pe.share,qve=pe.share_item,Wve=pe.shared_with_you,Gve=pe.shared_enter_passcode,Yve=pe.shared_leave_blank_for_passwordless_access,Xve=pe.shared_leave_blank_for_unlimited,Kve=pe.shared_times_remaining,Zve=pe.shared_last_remaining,Jve=pe.shared_uses_left,Qve=pe.share_access_page,e0e=pe.share_access_not_found,t0e=pe.share_access_not_found_desc,n0e=pe.share_access_not_found_title,i0e=pe.share_copy_link,o0e=pe.share_copy_link_success,r0e=pe.share_copy_link_error,a0e=pe.share_send_link,s0e=pe.relational_triggers,l0e=pe.referential_action_field_label_m2o,c0e=pe.referential_action_field_label_o2m,u0e=pe.referential_action_no_action,d0e=pe.referential_action_cascade,f0e=pe.referential_action_set_null,p0e=pe.referential_action_set_default,h0e=pe.choose_action,m0e=pe.continue_label,v0e=pe.continue_as,g0e=pe.editing_role,y0e=pe.editing_policy,_0e=pe.no_permissions,b0e=pe.permission_add_collection,x0e=pe.creating_webhook,w0e=pe.default_label,k0e=pe.delete_label,C0e=pe.delete_are_you_sure,S0e=pe.delete_field_are_you_sure,E0e=pe.description,A0e=pe.done,T0e=pe.duplicate,D0e=pe.limit,L0e=pe.email,I0e=pe.embed,M0e=pe.fallback_icon,F0e=pe.field,P0e=pe.file,O0e=pe.file_library,R0e=pe.forgot_password,z0e=pe.hidden,$0e=pe.hidden_in_group,N0e=pe.icon,B0e=pe.info,j0e=pe.normal,V0e=pe.success,H0e=pe.warning,U0e=pe.danger,q0e=pe.colors,W0e=pe.junction_collection,G0e=pe.latency,Y0e=pe.login,X0e=pe.my_activity,K0e=pe.not_authenticated,Z0e=pe.authenticated,J0e=pe.options,Q0e=pe.otp,ege=pe.password,tge=pe.confirm_password,nge=pe.permissions,ige=pe.relationship,oge=pe.reset,rge=pe.reset_password,age=pe.revisions,sge=pe.no_revisions,lge=pe.no_logs,cge=pe.revert,uge=pe.save,dge=pe.schema,fge=pe.search,pge=pe.select_existing,hge=pe.select_field_type,mge=pe.select_interface,vge=pe.select_display,gge=pe.settings,yge=pe.register,_ge=pe.registration_successful_headline,bge=pe.registration_successful_note,xge=pe.registration_successful_check_email_note,wge=pe.dont_have_an_account,kge=pe.already_have_an_account,Cge=pe.sign_up_now,Sge=pe.sign_in,Ege=pe.sign_out,Age=pe.sign_out_confirm,Tge=pe.something_went_wrong,Dge=pe.sort_direction,Lge=pe.export_location,Ige=pe.export_started,Mge=pe.export_started_copy,Fge=pe.sort_asc,Pge=pe.sort_desc,Oge=pe.disable_sort,Rge=pe.template,zge=pe.require_value_to_be_set,$ge=pe.translation,Nge=pe.translation_placeholder,Bge=pe.value,jge=pe.view_project,Vge=pe.report_error,Hge=pe.start,Uge=pe.table,qge=pe.list,Wge=pe.search_filter,Gge=pe.enable_search_filter,Yge=pe.item_link,Xge=pe.show_link_to_item,Kge=pe.navigate_to_item,Zge=pe.undo_removed_item,Jge=pe.remove_item,Qge=pe.delete_item,e3e=pe.pause,t3e=pe.resume,n3e=pe.interfaces,i3e=pe.displays,o3e=pe.layouts,r3e=pe.horizontal,a3e=pe.vertical,s3e=pe.axis,l3e=pe.x_axis,c3e=pe.y_axis,u3e=pe.y_axis_function,d3e=pe.show_x_only,f3e=pe.show_y_only,p3e=pe.show_data_label,h3e=pe.both,m3e=pe.show_axis_labels,v3e=pe.half_circle,g3e=pe.full_circle,y3e=pe.stroke_width,_3e=pe.rounded_stroke,b3e=pe.thin,x3e=pe.medium,w3e=pe.broad,k3e=pe.show_labels,C3e=pe.show_legend,S3e=pe.right,E3e=pe.left,A3e=pe.donut,T3e=pe.panels,D3e=pe.triggers,L3e=pe.a_flow_uuid,I3e=pe.any_string_or_json,M3e=pe.item_payload_placeholder,F3e=pe.operation_variables_note,P3e=pe.operations,O3e=pe.unit,R3e=pe.standard,z3e=pe.scientific,$3e=pe.engineering,N3e=pe.compact,B3e=pe.currency,j3e=pe.notation,V3e=pe.style,H3e=pe.fonts,U3e=pe.text_wrap,q3e=pe.center,W3e=pe.justify,G3e=pe.text_align,Y3e=pe.font_weight,X3e=pe.font_style,K3e=pe.font_size,Z3e=pe.minimum_fraction_digits,J3e=pe.maximum_fraction_digits,Q3e=pe.show_percentage,eye=pe.aggregation,tye=pe.series_grouping,nye=pe.date_precision,iye=pe.export_dashboard,oye=pe.duplicate_dashboard,rye=pe.search_dashboard,aye=pe.search_flow,sye=pe.percent,lye=pe.show_password,cye=pe.hide_password;const uye=Object.freeze(Object.defineProperty({__proto__:null,a_flow_uuid:L3e,a_unique_column_name:Xse,a_unique_table_name:Yse,abbreviate_value:epe,about:tee,account_created_successfully:Sde,accountability:xhe,action:Mue,actions:Jme,active:wue,activity:Lue,activity_feed:Y2e,activity_item:Iue,activity_log:lue,add_existing:kce,add_field:Rte,add_field_related:tle,add_file:L1e,add_filter:Hue,add_link:Zre,add_m2m_to_collection:Gre,add_m2o_to_collection:qre,add_new:X2e,add_note:Kre,add_o2m_to_collection:Wre,add_sort_field:ide,adding_user:Lme,admin_description:oie,admin_disable_tfa_text:bde,admin_policy_description:rie,admins_have_all_permissions:woe,advanced:qfe,advanced_filter:Vfe,advanced_settings:jfe,aggregate_function:goe,aggregate_precision:yoe,aggregation:eye,alias:Xoe,all:Z2e,all_access:wie,all_activity:v1e,all_files:k1e,all_instances:Ohe,all_items:cue,all_log_levels:zhe,all_users:ofe,allow_duplicates:Tce,allow_multiple:Aie,allow_multiple_to_be_open:Tie,allow_null_value:Eie,already_have_an_account:kge,alt_text:Yhe,always_open:Lve,and:Ree,any:uue,any_string_or_json:I3e,app_access_minimum:mie,appearance_auto:Eme,appearance_dark:Tme,appearance_light:Ame,application:oee,archive:cie,archive_all:ese,archive_confirm:uie,archive_confirm_count:die,archived:cee,aspect_ratio:nfe,authenticated:Z0e,auto_fill:Ede,auto_generate:Lre,auto_increment_big_integer:vce,auto_increment_integer:mce,auto_refresh:Sre,automatic:jue,avatar:iee,avg:Loe,avg_distinct:Ioe,axis:s3e,back:Yde,background_color:jle,batch_delete_confirm:eve,beta:Cte,bigInteger:Koe,block:Fve,bold:npe,bookmark_doesnt_exist:lde,bookmark_doesnt_exist_copy:cde,bookmark_doesnt_exist_cta:ude,bookmark_name:Ide,bookmarks:Nde,boolean:Zoe,both:h3e,bottom:aoe,branch:Nte,broad:w3e,camera:koe,cancel:tve,cancel_crop:ble,cancel_selection:xle,cannot_edit_global_bookmarks:$de,cannot_edit_role_bookmarks:zde,card_size:tde,center:q3e,center_align:Hhe,change_advanced_filter_operator:Ufe,change_trigger:Cpe,changes_are_permanent:n2e,changes_made:noe,charset:Kue,children:Ute,choices:_me,choices_option_configured_incorrectly:bme,choose_a_type:Yre,choose_action:h0e,choose_from_library:Hle,circle:zfe,clear_changes:Xae,clear_filters:R1e,clear_items:Kae,clear_logs:Fhe,clear_value:Yae,click_here:Mre,click_to_browse:a1e,click_to_manage_translated_fields:Ore,code:Wpe,collapse:Pce,collapse_all:Oce,collection:hve,collection_created:Que,collection_field_not_setup:_ue,collection_key:ace,collection_names_are_case_sensitive:xee,collection_setup:f1e,collections:mve,collections_shown:_fe,color:Rfe,colors:q0e,columns:d1e,comment:Ove,comments:Dce,compact:N3e,compare_version:One,compatibility_not_guaranteed:Ate,compatibility_not_guaranteed_copy:Tte,compatible_with_your_project:fte,compatible_with_your_project_copy:pte,condition_rules:wee,conditional_styles:Bfe,conditions:_ee,configure_field_key_to_continue:Kme,confirm_password:tge,confirm_revert:ose,confirm_revert_body:rse,confirmation_description:fae,confirmation_dialog:dae,confirmation_input_fields:pae,connection_excellent:gne,connection_fair:_ne,connection_good:yne,connection_poor:bne,content:vve,continue_as:v0e,continue_in_advanced_field_creation_mode:Eoe,continue_label:m0e,copy:Cue,copy_details:Hde,copy_raw_value:Nae,copy_raw_value_fail:jae,copy_raw_value_success:Bae,copy_to:Sue,corresponding_field:Ade,count:Moe,count_distinct:Foe,count_of_total_items:pfe,count_other_revisions:Lfe,create:W1e,create_account:Cde,create_bookmark:Mde,create_collection:pue,create_custom_translation:sne,create_dashboard:ghe,create_field:joe,create_flow:Fpe,create_folder:E1e,create_in_advanced_field_creation_mode:Soe,create_item:g1e,create_new:K2e,create_operation:Upe,create_panel:ene,create_policy:nne,create_preset:Qte,create_role:tne,create_translations:Cre,create_trigger:wpe,create_user:ine,create_version:Fne,create_webhook:ane,created:Tle,created_by:dce,created_on:fce,creating_collection_info:pce,creating_collection_system:hce,creating_in:Mme,creating_items:Cce,creating_new_collection:uce,creating_new_field:Voe,creating_new_flow:Ppe,creating_unit:Ome,creating_webhook:x0e,creation_preview:wse,crop_tool:yle,csv:due,currency:B3e,custom:Ite,custom_link:Jre,custom_validation_message:Gfe,danger:U0e,dashboard:ehe,dashboard_delete_confirm:lhe,dashboard_name:yhe,get data(){return pe},dataset_too_large_currently_showing_n_items:Nee,date:Joe,dateTime:nre,date_precision:nye,date_range:Qoe,datetime:tre,db_only_click_to_configure:qte,decimal:ore,decimals:zue,decimals_placeholder:hhe,default:xz,default_label:w0e,default_provider:ree,default_sync_with_project:Sme,default_value:Qre,delete_advanced_filter:Hfe,delete_are_you_sure:C0e,delete_bookmark:Xne,delete_bookmark_copy:Kne,delete_collection:rfe,delete_collection_are_you_sure:vfe,delete_collection_peer_dependencies:yfe,delete_collection_success:sfe,delete_comment:ale,delete_dashboard:uhe,delete_field:uoe,delete_field_are_you_sure:S0e,delete_flow:Dpe,delete_folder:kne,delete_folder_are_you_sure:gfe,delete_global_bookmark:Qne,delete_item:Qge,delete_label:k0e,delete_on_promote_copy:Wne,delete_panel:rne,delete_personal_bookmark:Zne,delete_role_bookmark:Jne,delete_share:sle,delete_version:Une,delete_version_copy:qne,description:E0e,deselect:xme,deselect_all:wme,details:khe,determined_by_relationship:Xre,dialog:cae,dimensions:Ele,directus_collection:bve,disable:Lte,disable_all:gde,disable_sort:Oge,disable_tfa:_de,disabled:Bce,disabled_editing_value:Goe,discard_all_changes:d2e,discard_changes:u2e,discard_changes_copy:f2e,dismiss:Oae,display:ase,display_label:ile,display_not_found:Yce,display_options:l1e,display_template:y1e,display_template_not_setup:yue,display_text:nme,display_text_placeholder:ime,displays:i3e,divider:Ofe,do_nothing:Sve,documentation:Gue,done:A0e,dont_have_an_account:wge,donut:A3e,download:Rle,download_file:Kle,download_page_as_csv:_se,download_page_as_csv_unsupported:bse,downloads:Ete,draft:lee,drag_file_here:r1e,drag_mode:vle,drop_to_upload:Kfe,dropdown:yme,duplicate:T0e,duplicate_dashboard:oye,duplicate_field:Dee,duplicate_where_to:hoe,duration:Xue,edit:fde,edit_bookmark:Fde,edit_collection:Vte,edit_custom_translation:lne,edit_dashboard:che,edit_field:yee,edit_flow:Tpe,edit_folder:A1e,edit_global_bookmark:Rde,edit_image:Kde,edit_item:pde,edit_operation:qpe,edit_panels:Vhe,edit_personal_bookmark:Pde,edit_raw_value:Wae,edit_role:N1e,edit_role_bookmark:Ode,edited:Xte,edited_by:Mle,editing_image:Zde,editing_in:Fme,editing_in_batch:zme,editing_policy:y0e,editing_preset:r2e,editing_role:g0e,editing_unit:Rme,email:L0e,email_already_invited:pne,emails:vne,embed:I0e,empty_item:$fe,enable:Dte,enable_all:vde,enable_create_button:Sce,enable_custom_values:Kse,enable_search_filter:Gge,enable_select_button:Ace,enabled:hde,enabled_dev_tooltip:yde,engineering:$3e,enter_a_name:Tee,enter_a_placeholder:wae,enter_a_value:xae,enter_otp_to_disable_tfa:kde,enter_password_to_enable_tfa:Ote,enter_raw_value:Gae,enter_value_to_replace_nulls:Die,errors:Tde,exclusive:Hte,expand:Ice,expand_all:Mce,expand_none:Fce,expired:Vve,export_dashboard:iye,export_items:Oee,export_location:Lge,export_started:Ige,export_started_copy:Mge,exporting_all_items_in_collection:ece,exporting_download_hint:ice,exporting_library_hint:oce,exporting_library_hint_forced:rce,exporting_limited_items_in_collection:tce,exporting_no_items_to_export:nce,exposure:Roe,extension_bundle:Kee,extension_bundles:ate,extension_display:Vee,extension_displays:Jee,extension_endpoint:Yee,extension_endpoints:ote,extension_hook:Gee,extension_hooks:ite,extension_interface:jee,extension_interfaces:Zee,extension_layout:Hee,extension_layouts:Qee,extension_missing:ste,extension_module:Uee,extension_modules:ete,extension_operation:Xee,extension_operations:rte,extension_panel:qee,extension_panels:tte,extension_readme_missing:Xfe,extension_reload_now:ute,extension_reload_required:lte,extension_reload_required_copy:cte,extension_theme:Wee,extension_themes:nte,extensions:dee,fallback_icon:M0e,field:F0e,field_create_success:foe,field_file:Mie,field_files:Fie,field_group:Nie,field_in_collection:Hoe,field_key:Fae,field_key_placeholder:ype,field_m2a:Oie,field_m2m:zie,field_m2o:Pie,field_name:mae,field_name_placeholder:gpe,field_name_translations:Pte,field_o2m:Rie,field_options:wve,field_permissions:jie,field_presentation:Iie,field_presets:Hie,field_standard:Lie,field_translations:$ie,field_update_success:poe,field_validation:Vie,field_width:Vue,fields:xve,fields_and_layout:doe,fields_for_policy:Gie,fields_for_role:Wie,fields_group:Rre,file:P0e,file_count:Qce,file_details:Sle,file_library:O0e,file_moved:Jue,fill_template:Gse,fill_width:Fte,filter:Xde,filtered_item_count:Zce,finish_setup:Pae,fit_to_screen:Whe,flip_horizontal:efe,flip_vertical:tfe,float:rre,flow:lpe,flow_delete_confirm:Spe,flow_name:zpe,flow_setup:Rpe,flow_tracking:$pe,flow_tracking_activity:Bpe,flow_tracking_all:Npe,flow_tracking_null:jpe,flows:spe,focal_length:Noe,focal_point_tool:_le,folder:Fle,folder_key:D1e,folder_name:T1e,folders:Ple,font:Ife,font_size:K3e,font_style:X3e,font_weight:Y3e,fonts:H3e,foreground_color:Ble,foreign_key:Mae,forgot_password:R0e,format:Use,format_text:J1e,format_value:Q1e,free:Qde,full_circle:g3e,full_screen:Bhe,full_text_search:jhe,full_width:Iee,functions:lle,generate_and_save_uuid:Eve,generated_uuid:gce,geometry:vre,github:kte,global:xoe,goto_collection_content:ffe,group:Mee,group_aggregation:_oe,group_precision:boe,half_circle:v3e,half_width:Lee,hash:mre,height:Jhe,hidden:z0e,hidden_collections:xfe,hidden_field:qoe,hidden_in_group:$0e,hidden_on_detail:Woe,hide_field:soe,hide_field_on_detail:loe,hide_hidden_collections:kfe,hide_password:cye,homepage:gte,hook:Mte,horizontal:r3e,hours:ule,icon:N0e,icon_left:Tfe,icon_off:rpe,icon_on:ope,icon_right:Dfe,identifier:nee,image_url:Ghe,import_data_button:zse,import_data_error:Bse,import_data_indeterminate:$se,import_data_input_placeholder:Rse,import_data_success:Nse,import_export:Hse,import_from_url:Ule,import_label:Cle,inactive:Aue,inbox:mne,indeterminate:jte,index:Tae,info:B0e,information:jce,init:$ee,inline:Pve,input:kee,insights:Qpe,install_extension:rve,installed:lve,instance_count:Rhe,integer:are,interface_group_groups:lme,interface_group_other:cme,interface_group_presentation:sme,interface_group_relational:ame,interface_group_selection:rme,interface_group_text_and_numbers:ome,interface_label:nle,interface_not_found:qce,interface_options:s1e,interfaces:n3e,invalid_item:sae,invite:fne,invite_users:dne,ip_address:Fue,iso:$oe,item:Zfe,item_count:Kce,item_create_success:Tse,item_creation:Eee,item_delete_success:Lse,item_link:Yge,item_payload_placeholder:M3e,item_permissions:Bie,item_revision:Aee,item_update_success:Dse,items:Jfe,json:sre,junction_collection:W0e,junction_field_location:ooe,justify:W3e,keep:Ene,keep_editing:m2e,key:Yoe,label:ape,label_export:Vse,label_import:jse,language:moe,language_display_template:_1e,language_placeholder:voe,languages_collection:Ose,last_access:Wse,last_page:qse,last_updated_relative:hte,latency:G0e,layout:e2e,layout_options:c1e,layout_preview:a2e,layout_setup:s2e,layouts:o3e,leaf:Bte,leave_comment:Sse,left:E3e,left_align:Uhe,left_to_right:yae,length:kae,limit:D0e,list:qge,list_panel_allow_edit:she,live_preview:Rve,loading:Yfe,location:bee,log_detail_filter_paths:Dhe,log_in_with:Nfe,log_level_count:$he,login:Y0e,logoutReason:eie,logs:hee,logs_beginning:Lhe,logs_session_paused:Ahe,logs_session_resumed:Ehe,logs_stream_disconnected:The,logs_unread_count:Mhe,logs_waiting:Ihe,lower_limit:que,m2a_relationship:aae,m2m_relationship:rae,m2o_relationship:iae,main_version:Lne,make_collection_hidden:cfe,make_collection_visible:lfe,make_folder_hidden:dfe,make_folder_visible:ufe,manage:Pre,manual_string:yce,maps:Cee,marketplace:uee,max:Ooe,max_value:Bue,maximum_fraction_digits:J3e,media:Xhe,medium:x3e,message:one,method:aee,min:Poe,min_value:Nue,minimum_fraction_digits:Z3e,minutes:cle,modal:uae,modified:Lle,modified_on:ede,modifier:Bee,module_bar:pee,modules:fee,monospace:Pfe,month:dle,months:mle,move:Qse,move_to:kue,move_to_folder:Jse,move_tool:gle,multiple_files:nae,my_activity:X0e,my_files:C1e,n_downloads:Ste,n_files:mte,n_items_selected:x1e,name:sce,navigate_to_item:Kge,nested_files_folders_will_be_moved:_ie,new_collection:Ure,new_data_alert:$re,new_field:Hre,new_share:jve,new_tab:hme,next:hae,no_access:kie,no_app_access:Ude,no_app_access_copy:qde,no_collections:fue,no_collections_copy:mue,no_collections_copy_admin:hue,no_collections_found:zre,no_comments:Lce,no_custom_translations:cne,no_custom_translations_copy:une,no_dashboards:mhe,no_dashboards_copy:vhe,no_data:_he,no_data_in_flow:bhe,no_description:aie,no_extensions:ive,no_extensions_copy:ove,no_fields_in_collection:kve,no_file_selected:Xle,no_files_copy:eue,no_flows:Ipe,no_flows_copy:Mpe,no_image_selected:Yle,no_items:zce,no_items_copy:Jce,no_layout_collection_selected_yet:Q2e,no_logs:lge,no_notifications:aue,no_notifications_copy:sue,no_options_available:$me,no_other_dashboards_copy:Eue,no_other_flows_copy:Lpe,no_permissions:_0e,no_presets:V1e,no_presets_copy:H1e,no_presets_cta:U1e,no_refresh:Are,no_relational_data:ioe,no_results:M1e,no_results_copy:F1e,no_revisions:sge,no_shares:Bve,no_singleton_relations:gue,no_translations:gae,no_upscale:nve,no_users_copy:nue,no_value:Cve,no_visible_fields:P1e,no_visible_fields_copy:O1e,no_webhooks_copy:rue,none:J2e,normal:j0e,not_allowed:lie,not_authenticated:K0e,not_available_for_local_downloads:Qle,not_available_for_type:kre,notation:j3e,note:bae,notifications:Qae,nullable:Sie,o2m_relationship:oae,on_create:G1e,on_update:Y1e,one_or_more_options_are_missing:Xme,open:zle,open_file_in_tab:Zle,open_folder:Nle,open_in_marketplace:uve,open_in_new_window:$le,open_link_in:pme,operation_handle_reject:Jpe,operation_handle_resolve:Zpe,operation_key:Xpe,operation_key_unique_error:Kpe,operation_name:Ype,operation_not_found:Wce,operation_options:Gpe,operation_variables_note:F3e,operations:P3e,operator:tpe,operators:Wfe,optional_system_fields:p1e,options:J0e,or:zee,origin:Oue,original:wle,other:Dme,otp:Q0e,outdated_notice:Vne,owner:Ile,page_help_activity_collection:_2e,page_help_collections_collection:g2e,page_help_collections_item:y2e,page_help_collections_overview:v2e,page_help_docs_global:b2e,page_help_files_collection:x2e,page_help_files_item:w2e,page_help_insights_dashboard:U2e,page_help_insights_overview:H2e,page_help_marketplace_account:q2e,page_help_marketplace_extension:G2e,page_help_marketplace_registry:W2e,page_help_settings_appearance:C2e,page_help_settings_datamodel_collections:E2e,page_help_settings_datamodel_fields:A2e,page_help_settings_extensions:S2e,page_help_settings_flows_collection:z2e,page_help_settings_flows_item:$2e,page_help_settings_policies_collection:D2e,page_help_settings_policies_item:L2e,page_help_settings_presets_collection:F2e,page_help_settings_presets_item:P2e,page_help_settings_project:k2e,page_help_settings_roles_collection:I2e,page_help_settings_roles_item:M2e,page_help_settings_system_logs:T2e,page_help_settings_translations_collection:N2e,page_help_settings_translations_item:B2e,page_help_settings_webhooks_collection:O2e,page_help_settings_webhooks_item:R2e,page_help_users_collection:j2e,page_help_users_item:V2e,page_not_found:nse,page_not_found_body:ise,panel:the,panel_delete_confirm:ahe,panel_header:ihe,panel_name_placeholder:ohe,panel_note_placeholder:rhe,panel_options:nhe,panels:T3e,partially_enabled:mde,password:ege,password_reset_sent:Wde,password_reset_successful:Gde,paste_raw_value:Vae,paste_raw_value_fail:Uae,paste_raw_value_success:Hae,pause:e3e,pause_streaming_logs:She,payload:whe,per_page:w1e,percent:sye,permission_add_collection:b0e,permissions:nge,permissionsLevel:hle,permissions_for_policy:qie,permissions_for_role:Uie,placeholder:Afe,policy_name:$te,popular:Fee,post_comment_success:Ese,post_comment_updated:Ase,precision:ire,precision_scale:Sae,prefix:Cne,prefix_placeholder:fhe,presentation_and_aliases:Qie,presentation_text_values_cannot_be_reimported:yse,preset_name_placeholder:i2e,preset_search_placeholder:o2e,presets:Bde,presets_field_warning:Jie,presets_for_policy:Zie,presets_for_role:Kie,presets_only:q1e,primary:xne,primary_key:Iae,primary_key_field:lce,private_user:xse,promote_notice:Hne,promote_version:zne,promote_version_changes:Bne,promote_version_disabled:$ne,promote_version_drawer_title:Nne,promote_version_preview:jne,public_description:nie,public_label:tie,public_role_info:iie,published:see,published_relative:dte,quality:Khe,raw_editor_placeholder:zae,raw_value:$ae,reached_maximum_number_of_extensions:sie,read:X1e,readonly:Eae,recent:Pee,recent_files:S1e,recommended_defaults:vie,referential_action_cascade:d0e,referential_action_field_label_m2o:l0e,referential_action_field_label_o2m:c0e,referential_action_no_action:u0e,referential_action_set_default:p0e,referential_action_set_null:f0e,refresh_interval:Ere,refresh_interval_minutes:Dre,refresh_interval_seconds:Tre,register:yge,registration_successful_check_email_note:xge,registration_successful_headline:_ge,registration_successful_note:bge,reinstall:cve,related_collection:Mse,related_collections:Fse,relational_triggers:s0e,relationship:ige,relationship_not_setup:vue,reload_page:_te,reload_required:bte,remove:ade,remove_item:Jge,rename_folder:wne,rename_version:Pne,replace_file:I1e,replace_from_device:qle,replace_from_library:Wle,replace_from_url:Gle,report_an_issue:xte,report_bug:Vce,report_error:Vge,repository:yte,request_body:Uce,request_feature:Hce,require_confirmation:lae,require_value_to_be_set:zge,required:Kte,required_for_app_access:Zte,requires_value:Jte,reset:oge,reset_bookmark:Gne,reset_display:Xce,reset_interface:Gce,reset_page_preferences:Uoe,reset_password:rge,reset_system_permissions_copy:pie,reset_system_permissions_to:fie,reset_to_default:Zae,reset_width:vee,resume:t3e,resume_streaming_logs:Che,revert:cge,revision_delta_by:gse,revision_delta_created:cse,revision_delta_created_externally:use,revision_delta_deleted:fse,revision_delta_other:vse,revision_delta_reverted:hse,revision_delta_update_message:mse,revision_delta_updated:dse,revision_delta_version_saved:pse,revision_post_create:eoe,revision_post_update:toe,revision_preview:kse,revisions:age,right:S3e,right_align:qhe,right_to_left:_ae,role:$1e,role_name:zte,roles:Due,rotate:ife,rounded_stroke:_3e,rows:u1e,rule:B1e,run_flow:mpe,run_flow_confirm:upe,run_flow_on_current:fpe,run_flow_on_current_collection:dpe,run_flow_on_current_edited_confirm:ppe,run_flow_on_selected:hpe,run_flow_success:vpe,sans_serif:Mfe,save:uge,save_and_create_new:_ce,save_and_quit:xce,save_and_stay:bce,save_as_copy:wce,save_current_datetime:Dve,save_current_user_id:Ave,save_current_user_role:Tve,save_image:mme,save_media:vme,save_version:Rne,saves_automatically:z1e,schema:dge,schema_setup_key:Boe,scientific:z3e,scope:Zme,search:fge,search_collection:Nre,search_dashboard:rye,search_extensions:Nce,search_field:Vre,search_filter:Wge,search_flow:aye,search_items:$ce,search_logs:Phe,search_policy:jre,search_role:Bre,second:Zue,security:Dde,select:Qme,select_a_collection:bue,select_a_field:xue,select_a_flow:cpe,select_a_theme:Cme,select_all:ple,select_an_item:dde,select_display:vge,select_existing:pge,select_field_type:hge,select_fields:Z1e,select_interface:mge,select_item:Rce,selecting_items:Ece,series_grouping:tye,serif:Ffe,set_flow_active:Epe,set_flow_inactive:Ape,settings:gge,settings_appearance:Hme,settings_data_model:Nme,settings_flows:qme,settings_permissions:jme,settings_presets:Gme,settings_project:Vme,settings_roles:Bme,settings_system_logs:Wme,settings_translations:Yme,settings_update_success:sse,settings_webhooks:Ume,share:Uve,share_access_not_found:e0e,share_access_not_found_desc:t0e,share_access_not_found_title:n0e,share_access_page:Qve,share_copy_link:i0e,share_copy_link_error:r0e,share_copy_link_success:o0e,share_item:qve,share_send_link:a0e,shared_enter_passcode:Gve,shared_last_remaining:Zve,shared_leave_blank_for_passwordless_access:Yve,shared_leave_blank_for_unlimited:Xve,shared_times_remaining:Kve,shared_uses_left:Jve,shared_with_you:Wve,shares:zve,show_active_items:Wte,show_all_activity:tse,show_all_items:Yte,show_archived_items:Gte,show_axis_labels:m3e,show_data_label:p3e,show_field_on_detail:coe,show_header:Cfe,show_hidden_collections:wfe,show_labels:k3e,show_legend:C3e,show_link_to_item:Xge,show_password:lye,show_percentage:Q3e,show_x_axis:p2e,show_x_only:d3e,show_y_axis:h2e,show_y_only:f3e,show_zero:Coe,shutter:zoe,sidebar:Yue,sign_in:Sge,sign_out:Ege,sign_out_confirm:Age,sign_up_now:Cge,single_file:tae,singleton:gve,singleton_label:yve,size:Ale,soft_length:Cae,soft_wrap_lines:Nhe,something_went_wrong:Tge,sort:ode,sort_asc:Fge,sort_desc:Pge,sort_direction:Dge,sort_field:nde,source:eme,source_local:fve,source_module:pve,source_registry:dve,square:Jde,standard:R3e,standard_field:eae,start:Hge,start_collapsed:Mve,start_end_of_count_filtered_items:mfe,start_end_of_count_items:hfe,start_export:Jle,start_flow:Vpe,start_open:Ive,status:rde,stop_flow:Hpe,string:ure,stroke_width:y3e,style:V3e,subject:hne,submit:Zse,success:V0e,suffix:Sne,suffix_placeholder:phe,sum:Toe,sum_distinct:Doe,switch_user:See,switch_version:Ine,switch_version_copy:Mne,system:ele,system_collections:Efe,system_fields_locked:_ve,table:Uge,template:Rge,text:dre,text_align:G3e,text_wrap:U3e,tfa_scan_code:wde,tfa_setup:xde,the_following_are_minimum_permissions:hie,theme:kme,theme_auto:gre,theme_dark:_re,theme_directus_colormatch:wre,theme_directus_default:bre,theme_directus_minimal:xre,theme_light:yre,thin:b3e,this_collection:Ise,this_will_auto_setup_fields_relations:Ire,tile_size:gee,time:fre,timestamp:pre,title:lse,to_manually_setup_translations:Fre,today:ole,toggle:ipe,toggle_manual_sorting:sde,toggle_raw_editor:Rae,tooltip:ume,tooltip_placeholder:dme,top:roe,transformation_preset_key:Qhe,translation:$ge,translation_key_placeholder:ere,translation_placeholder:Nge,translations:vae,translations_collection:Pse,translations_display_template:b1e,tree_view:t2e,trigger:_pe,trigger_options:bpe,trigger_setup:kpe,triggers:D3e,type:cce,unarchive:gie,unarchive_confirm:yie,undo_changes:Jae,undo_removed_item:Zge,unexpected_error:jde,unexpected_error_copy:Vde,uninstall:sve,uninstall_locked:ave,unique:Aae,unit:O3e,unknown:mee,unknown_user:Ime,unlimited:fme,unlimited_usage:$ve,unmanaged_collections:Sfe,unsaved_changes:l2e,unsaved_changes_copy:c2e,upcoming:Hve,update:K1e,update_bookmark:Yne,update_collection_success:afe,updated_by:Lae,updated_on:Dae,updates_made:Cse,updating_flow:Ope,upload_file:Qfe,upload_file_indeterminate:e1e,upload_file_success:t1e,upload_files_indeterminate:n1e,upload_files_success:i1e,upload_from_device:Vle,upload_pending:o1e,uploaded:Dle,upper_limit:Uue,url:kle,url_placeholder:tme,use_custom:Cie,user:j1e,user_agent:Pue,user_count:tue,user_directory:Wue,users:Tue,uses_left:Nve,uuid:hre,validation:Aoe,validationError:xie,validation_errors_notice:bie,validation_for_policy:Xie,validation_for_role:Yie,value:Bge,value_decimals:$ue,value_hashed:Lde,value_index:m1e,value_unique:h1e,verified:vte,version:Ane,version_key:Tne,version_name:Dne,vertical:a3e,view_project:jge,view_raw_value:qae,view_trigger:xpe,viewing_in:Pme,visible:dhe,visible_collections:bfe,warning:H0e,webhooks:Rue,webhooks_count:iue,webhooks_deprecation_notice:oue,website:wte,width:Zhe,wysiwyg_options:gme,x_axis:l3e,xml:lre,y_axis:c3e,y_axis_function:u3e,yaml:cre,year:fle,yesterday:rle,zoom:Ole},Symbol.toStringTag,{value:"Module"})),wo=cK({legacy:!1,locale:"en-US",fallbackLocale:"en-US",messages:{"en-US":xz},silentTranslationWarn:!0,datetimeFormats:QQ,numberFormats:eee}),_L=["en-US"];function em(n){var a,r,l,s,u;const e=wo.global.t("unexpected_error");let t=n;if(typeof n=="object"&&(t=(u=(s=(l=(r=(a=n==null?void 0:n.response)==null?void 0:a.data)==null?void 0:r.errors)==null?void 0:l[0])==null?void 0:s.extensions)==null?void 0:u.code),!n||!t)return e;const i=`errors.${t}`;return wo.global.te(i)===!1?e:wo.global.t(i)}function r_(n,e=!1){const t=e?"@$|":"{}@$|";return n.replace(new RegExp(`([${t}])`,"g"),"{'$1'}")}function Kc(n){return n?n.first_name&&n.last_name?`${n.first_name} ${n.last_name}`:n.first_name?n.first_name:n.email?n.email:wo.global.t("unknown_user"):wo.global.t("unknown_user")}const Gr=dd({id:"userStore",state:()=>({currentUser:null,loading:!1,error:null}),getters:{fullName(){return this.currentUser===null||"share"in this.currentUser?null:Kc(this.currentUser)},isAdmin(){var n;return((n=this.currentUser)==null?void 0:n.admin_access)===!0||!1}},actions:{async hydrate(){var n,e;this.loading=!0;try{const t=["*","role.id"],[{data:i},{data:o},{data:a}]=await Promise.all([Yn.get("/users/me",{params:{fields:t}}),Yn.get("/policies/me/globals"),Yn.get("/roles/me",{params:{fields:["id"]}})]);this.currentUser={...i.data,...((n=i.data)==null?void 0:n.avatar)!=null?{avatar:{id:(e=i.data)==null?void 0:e.avatar}}:{},...o.data,roles:a.data}}catch(t){this.error=t}finally{this.loading=!1}},async dehydrate(){this.$reset()},async hydrateAdditionalFields(n){try{const{data:e}=await Yn.get("/users/me",{params:{fields:n}});this.currentUser=et.merge({},this.currentUser,e.data)}catch{}},async trackPage(n){n.path.endsWith("/preview")||(await Yn.patch("/users/me/track/page",{last_page:n.fullPath},{measureLatency:!0}),this.currentUser&&!("share"in this.currentUser)&&(this.currentUser.last_page=n.fullPath))}}}),fg=dd({id:"notificationsStore",state:()=>({dialogs:[],queue:[],previous:[],notifications:[],unread:0}),actions:{async hydrate(){const n=Gr();n.currentUser&&!("share"in n.currentUser)&&await this.refreshUnreadCount()},async refreshUnreadCount(){const n=Gr();if(!n.currentUser||!("id"in n.currentUser))return;const e=await Yn.get("/notifications",{params:{filter:{_and:[{recipient:{_eq:n.currentUser.id}},{status:{_eq:"inbox"}}]},aggregate:{count:"id"}}});this.unread=e.data.data[0].count.id},setUnreadCount(n){this.unread=n<0?0:n},add(n){const e=Mv(),t=Date.now();return n.dialog===!0?(n.persist=!0,this.dialogs=[...this.dialogs,{...n,id:e,timestamp:t}]):this.queue=[...this.queue,{...n,id:e,timestamp:t}],n.persist!==!0&&setTimeout(()=>{this.remove(e)},3e3),e},hide(n){const t=[...this.queue,...this.dialogs].find(i=>i.id===n);t&&(t.dialog===!0?this.dialogs=this.dialogs.filter(i=>i.id!==n):this.queue=this.queue.filter(i=>i.id!==n),this.previous=[...this.previous,t])},remove(n){const t=[...this.queue,...this.dialogs].find(i=>i.id===n);t&&(t.dialog===!0?this.dialogs=this.dialogs.filter(i=>i.id!==n):this.queue=this.queue.filter(i=>i.id!==n))},update(n,e){this.queue=this.queue.map(t),this.dialogs=this.dialogs.map(t),this.previous=this.queue.map(t);function t(i){return i.id===n?{...i,...e}:i}}},getters:{lastFour(){const n=[...this.queue,...this.previous.filter(i=>i.dialog!==!0)],t=et.reverse(et.sortBy(n,["timestamp"])).slice(0,4);return et.reverse(t)}}});let xx;function sl(n){xx||(xx=fg()),xx.add(n)}let wx;function Vi(n){var t,i,o,a,r,l;wx||(wx=fg());const e=((r=(a=(o=(i=(t=n.response)==null?void 0:t.data)==null?void 0:i.errors)==null?void 0:o[0])==null?void 0:a.extensions)==null?void 0:r.code)||((l=n==null?void 0:n.extensions)==null?void 0:l.code)||"UNKNOWN";console.warn(n),wx.add({title:wo.global.t(`errors.${e}`),type:"error",code:e,dialog:!0,error:n})}function dye(n){return n.replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1_$2").toLowerCase()}function fye(n){return n.charAt(0).toUpperCase()+n.substring(1)}var pye=["2D","3D","4WD","A2O","AI","API","BIOS","CC","CCTV","CCV","CD","CD-ROM","CIA","CMS","COBOL","CSS","CSV","CV","DB","DIY","DNA","DVD","E3","EIN","ESPN","FAQ","FAQs","FBI","FORTRAN","FPS","FTP","HTML","HTTP","HTTPS","ID","IP","ISO","JS","JSON","LASER","M2A","M2M","M2MM","M2O","MMORPG","NAFTA","NASA","NDA","O2A","O2M","PDF","PHP","POP","RAM","RNGR","ROM","RPG","RTFM","RTS","SCUBA","SDK","SITCOM","SKU","SMTP","SQL","SSL","SSN","SWAT","TBS","TLS","TNA","TS","TTL","TV","UI","URL","USB","UWP","VIP","W3C","WWE","WWF","WWW","WYSIWYG"],hye=["a","an","the"],mye=["and","that","but","or","as","if","when","than","because","while","where","after","so","though","since","until","whether","before","although","nor","like","once","unless","now","except"],vye=["about","above","across","after","against","along","among","around","at","because of","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","despite","down","during","except","excepting","for","from","in","in front of","inside","in spite of","instead of","into","like","near","of","off","on","onto","out","outside","over","past","regarding","since","through","throughout","to","toward","under","underneath","until","up","upon","up to","with","within","without","with regard to","with respect to"],gye=["2FA","4K","5K","8K","AGI","BI","ChatGPT","CTA","DateTime","FMS","GitHub","GPT","HD","IBMid","IDs","iMac","IMAX","iOS","iPad","iPhone","iPod","LDAP","LinkedIn","LLM","macOS","McDonalds","ML","MySQL","NLG","NLP","NLU","OpenAI","PDFs","PIM","PEFT","pH","PostgreSQL","SEO","TTS","UHD","UUID","XSS","YouTube"];function yye(n,e,t){const i=n.toLowerCase(),o=n.toUpperCase();for(const a of gye)if(a.toLowerCase()===i)return a;return pye.includes(o)?o:e===0||e===t.length-1||n.length>=4?n:vye.includes(i)||mye.includes(i)||hye.includes(i)?i:n}function _ye(n,e){return`${n} ${e}`}function bye(n,e=new RegExp("\\s|-|_","g")){return dye(n).split(e).map(fye).map(yye).reduce(_ye)}var ac=bye;function sh(n){let e=n;return typeof n=="string"&&n.startsWith("$t:")&&(e=wo.global.t(n.replace("$t:",""))),e}function Cl(n){if(typeof n=="string")return n.replaceAll(/(\$t:[a-zA-Z0-9.-]*)/gm,e=>sh(e));{const e=et.cloneDeep(n);return Object.entries(e).forEach(([t,i])=>{i&&typeof i=="object"&&(e[t]=Cl(i)),i&&typeof i=="string"&&(e[t]=sh(i))}),e}}const xye={collection:"directus_files",field:"$thumbnail",schema:null,name:"$thumbnail",type:"integer",meta:{id:-1,collection:"directus_files",field:"$thumbnail",sort:null,special:null,interface:null,options:null,display:"file",display_options:null,hidden:!1,translations:null,readonly:!0,width:"full",group:null,note:null,required:!1,conditions:null,validation:null,validation_message:null}};let bL;const so=dd("fieldsStore",()=>{const n=Oe([]);return{fields:n,hydrate:e,dehydrate:t,parseField:i,translateFields:o,upsertField:a,createField:r,updateField:l,updateFields:s,deleteField:u,getPrimaryKeyFieldForCollection:d,getFieldsForCollection:g,getFieldsForCollectionAlphabetical:m,getFieldsForCollectionSorted:_,getField:x,getFieldGroupChildren:S};async function e(F){const L=(await Yn.get("/fields")).data.data;n.value=[...L.map(i),xye],(F==null?void 0:F.skipTranslation)!==!0&&o()}async function t(){n.value=[]}function i(F){var w;let C=ac(F.field);const L=F.meta&&!et.isNil(F.meta.translations)&&Array.isArray(F.meta.translations)?F.meta.translations.map($=>$.language):[];for(const $ of wo.global.availableLocales)wo.global.te(`fields.${F.collection}.${F.field}`,$)&&!L.includes($)&&!((w=F.meta)!=null&&w.system)&&wo.global.mergeLocaleMessage($,{fields:{[F.collection]:{[F.field]:void 0}}});if(F.meta&&Array.isArray(F.meta.translations))for(const{language:$,translation:B}of F.meta.translations)wo.global.mergeLocaleMessage($,{...B?{fields:{[F.collection]:{[F.field]:r_(B)}}}:{}});return wo.global.te(`fields.${F.collection}.${F.field}`)&&(C=wo.global.t(`fields.${F.collection}.${F.field}`)),{...F,name:C}}function o(){n.value=n.value.map(F=>{var L,w,$,B;const C={};return wo.global.te(`fields.${F.collection}.${F.field}`)&&(C.name=wo.global.t(`fields.${F.collection}.${F.field}`)),F.meta&&(C.meta={}),(L=F.meta)!=null&&L.note&&(C.meta.note=sh(F.meta.note)),(w=F.meta)!=null&&w.options&&(C.meta.options=Cl(F.meta.options)),($=F.meta)!=null&&$.display_options&&(C.meta.display_options=Cl(F.meta.display_options)),(B=F.meta)!=null&&B.validation_message&&(C.meta.validation_message=sh(F.meta.validation_message)),et.isEmpty(C)?F:et.merge({},F,C)})}async function a(F,C,L){const w=x(F,C),$=et.omit(L,["name"]);return w?et.isEqual(L,w)?void 0:await l(F,C,$):await r(F,$)}async function r(F,C){const L=[...n.value];try{const w=await Yn.post(`/fields/${F}`,C),$=i(w.data.data);return n.value=[...n.value,$],$}catch(w){n.value=L,Vi(w)}}async function l(F,C,L){const w=[...n.value];n.value=n.value.map($=>$.collection===F&&$.field===C?et.merge({},$,L):$);try{const $=await Yn.patch(`/fields/${F}/${C}`,L);n.value=n.value.map(B=>B.collection===F&&B.field===C?i($.data.data):B)}catch($){n.value=w,Vi($)}}async function s(F,C){const L=Mv(),w=[...n.value];bL=L,n.value=n.value.map($=>{if($.collection===F){const B=C.find(V=>V.field===$.field);if(B)return et.merge({},$,B)}return $});try{const $=await Yn.patch(`/fields/${F}`,C);bL===L&&(n.value=n.value.map(B=>{if(B.collection===F){const V=$.data.data.find(W=>W.field===B.field);if(V)return i(V)}return B}),o())}catch($){n.value=w,Vi($)}}async function u(F,C){const L=Ha(),w=Ir(),$=[...n.value],B=[...L.relations];n.value=n.value.filter(V=>!(V.field===C&&V.collection===F)),L.relations=L.relations.filter(V=>{var W;return!(V.collection===F&&V.field===C||V.related_collection===F&&((W=V.meta)==null?void 0:W.one_field)===C)});try{await Yn.delete(`/fields/${F}/${C}`),await w.hydrate()}catch(V){n.value=$,L.relations=B,Vi(V)}}function d(F){return n.value.find(L=>{var w;return L.collection===F&&((w=L.schema)==null?void 0:w.is_primary_key)===!0})??null}function g(F){return et.orderBy(n.value.filter(C=>C.collection===F),[C=>{var L;return((L=C.meta)==null?void 0:L.system)===!0},C=>{var L,w;return(L=C.meta)!=null&&L.sort?Number((w=C.meta)==null?void 0:w.sort):null}],["desc","asc"])}function m(F){return g(F).sort((C,L)=>C.field<L.field?-1:(C.field>L.field,1))}function _(F){const C=et.orderBy(n.value.filter(w=>w.collection===F),"meta.sort"),L=C.filter(w=>{var $;return!(($=w.meta)!=null&&$.group)});for(const[w,$]of L.entries()){const B=C.filter(V=>{var W;return((W=V.meta)==null?void 0:W.group)===$.field});B.length&&L.splice(w+1,0,...et.orderBy(B,"meta.sort"))}return L}function x(F,C){return C.includes(".")?A(F,C)||null:n.value.find(L=>L.collection===F&&L.field===C)||null}function S(F,C){return n.value.filter(L=>{var w;return L.collection===F&&((w=L.meta)==null?void 0:w.group)===C})||null}function A(F,C){const L=Ha(),[w,...$]=C.split(".");if(w.includes(":")){const[oe,ue]=w.split(":");return x(ue,$.join("."))}const B=L.getRelationsForField(F,w),V=B==null?void 0:B.find(oe=>{var ue;return oe.field===w||((ue=oe.meta)==null?void 0:ue.one_field)===w});if(V===void 0)return!1;const W=V.field===w?V.related_collection:V.collection;if(W===null)return!1;const J=$.join(".");return x(W,J)}}),Ha=dd({id:"relationsStore",state:()=>({relations:[]}),actions:{async hydrate(){const n=await Yn.get("/relations");this.relations=n.data.data},async dehydrate(){this.$reset()},getRelationsForCollection(n){return this.relations.filter(e=>e.collection===n||e.related_collection===n)},async upsertRelation(n,e,t){const i=this.getRelationForField(n,e);try{if(i){if(et.isEqual(i,t))return;const o=await Yn.patch(`/relations/${n}/${e}`,t);this.relations=this.relations.map(a=>a.collection===n&&a.field===e?o.data.data:a)}else{const o=await Yn.post("/relations",t);this.relations=[...this.relations,o.data.data]}}catch(o){Vi(o)}},getRelationsForField(n,e){var a;if(!so().getField(n,e))return[];const o=this.getRelationsForCollection(n).filter(r=>{var l;return r.collection===n&&r.field===e||r.related_collection===n&&((l=r.meta)==null?void 0:l.one_field)===e});if(o.length>0){const r=o[0];if(((a=r.meta)==null?void 0:a.junction_field)!==null){const s=this.relations.find(u=>{var d,g;return u.collection===r.collection&&u.field===((d=r.meta)==null?void 0:d.junction_field)&&((g=u.meta)==null?void 0:g.junction_field)===r.field});s&&o.push(s)}}return o},getRelationForField(n,e){return so().getField(n,e)&&this.getRelationsForCollection(n).filter(a=>{var r;return a.collection===n&&a.field===e||a.related_collection===n&&((r=a.meta)==null?void 0:r.one_field)===e}).find(a=>a.collection===n&&a.field===e)||null},getRelationTypes(n,e){var r;if(!e.includes("."))return[];const t=e.split("."),i=t[0].includes(":")?t[0].split(":")[0]:t[0],o=this.getRelationsForField(n,i).find(l=>l.collection===n||l.related_collection===n);if(!o)return[];switch(_8({collection:n,field:i,relation:o})){case"o2m":return["o2m",...this.getRelationTypes(o.collection,t.slice(1).join("."))];case"m2o":return o.related_collection?["m2o",...this.getRelationTypes(o.related_collection,t.slice(1).join("."))]:[];case"m2a":return(r=o.meta)!=null&&r.one_allowed_collections?["m2a",...this.getRelationTypes(t[0].split(":")[1],t.slice(1).join("."))]:["m2a"]}return[]}}}),Ir=dd("collectionsStore",()=>{const n=Oe([]),e=Ce(()=>n.value.filter(({collection:_})=>Ks(_)===!1).filter(_=>{var x;return _.meta&&((x=_.meta)==null?void 0:x.hidden)!==!0})),t=Ce(()=>n.value.filter(({collection:_})=>Ks(_)===!1)),i=Ce(()=>t.value.filter(_=>_.schema)),o=Ce(()=>et.orderBy(n.value.filter(_=>Ks(_.collection)),"collection").filter(_=>MZ.includes(_.collection)===!1));return{collections:n,visibleCollections:e,allCollections:t,databaseCollections:i,crudSafeSystemCollections:o,hydrate:a,dehydrate:r,prepareCollectionForApp:l,translateCollections:s,upsertCollection:u,updateCollection:d,deleteCollection:g,getCollection:m};async function a(){const x=(await Yn.get("/collections")).data.data;n.value=x.map(l)}async function r(){n.value=[]}function l(_){var L,w;const x=((L=_.meta)==null?void 0:L.icon)||"database",S=(w=_.meta)==null?void 0:w.color;let A=ac(_.collection);const F=EX(_),C=_.meta&&!et.isNil(_.meta.translations)&&Array.isArray(_.meta.translations)?_.meta.translations.map($=>$.language):[];for(const $ of wo.global.availableLocales)wo.global.te(`collection_names.${_.collection}`,$)&&!C.includes($)&&wo.global.mergeLocaleMessage($,{collection_names:{[_.collection]:void 0}});if(_.meta&&Array.isArray(_.meta.translations))for(const{language:$,translation:B,singular:V,plural:W}of _.meta.translations)wo.global.mergeLocaleMessage($,{...B?{collection_names:{[_.collection]:r_(B)}}:{},...V?{collection_names_singular:{[_.collection]:r_(V)}}:{},...W?{collection_names_plural:{[_.collection]:r_(W)}}:{}});return wo.global.te(`collection_names.${_.collection}`)&&(A=wo.global.t(`collection_names.${_.collection}`)),{..._,name:A,type:F,icon:x,color:S}}function s(){n.value=n.value.map(_=>(wo.global.te(`collection_names.${_.collection}`)&&(_.name=wo.global.t(`collection_names.${_.collection}`)),_))}async function u(_,x){const S=m(_),A=et.omit(x,["name","type","icon","color"]);try{if(S){if(et.isEqual(S,x))return;const F=await Yn.patch(`/collections/${_}`,A);n.value=n.value.map(C=>C.collection===_?l(F.data.data):C)}else{const F=await Yn.post("/collections",A);n.value=[...n.value,l(F.data.data)]}}catch(F){Vi(F)}}async function d(_,x){try{await Yn.patch(`/collections/${_}`,x),await a(),sl({title:wo.global.t("update_collection_success")})}catch(S){Vi(S)}}async function g(_){const x=Ha();try{await Yn.delete(`/collections/${_}`),await Promise.all([a(),x.hydrate()]),sl({title:wo.global.t("delete_collection_success")})}catch(S){Vi(S)}}function m(_){return n.value.find(x=>x.collection===_)||null}}),wye=Du({id:"collection",name:"$t:displays.collection.collection",description:"$t:displays.collection.description",types:["string"],icon:"label",component:JQ,handler:n=>{var t;return((t=Ir().getCollection(n))==null?void 0:t.name)??n},options:[{field:"icon",name:"$t:icon",type:"boolean",meta:{interface:"boolean",options:{label:"$t:displays.collection.icon_label"}},schema:{default_value:!1}}]});function xE(n){return/^#(([a-f\d]{3,4}))$/i.test(n)||/^#(([a-f\d]{2}){3,4})$/i.test(n)}var wz={exports:{}},kz={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Cz={exports:{}},kye=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},Cye=kye,Sye=Array.prototype.concat,Eye=Array.prototype.slice,xL=Cz.exports=function(e){for(var t=[],i=0,o=e.length;i<o;i++){var a=e[i];Cye(a)?t=Sye.call(t,Eye.call(a)):t.push(a)}return t};xL.wrap=function(n){return function(){return n(xL(arguments))}};var Aye=Cz.exports,a_=kz,g5=Aye,Sz=Object.hasOwnProperty,Ez=Object.create(null);for(var kx in a_)Sz.call(a_,kx)&&(Ez[a_[kx]]=kx);var y1=wz.exports={to:{},get:{}};y1.get=function(n){var e=n.substring(0,3).toLowerCase(),t,i;switch(e){case"hsl":t=y1.get.hsl(n),i="hsl";break;case"hwb":t=y1.get.hwb(n),i="hwb";break;default:t=y1.get.rgb(n),i="rgb";break}return t?{model:i,value:t}:null};y1.get.rgb=function(n){if(!n)return null;var e=/^#([a-f0-9]{3,4})$/i,t=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,i=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,o=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,a=/^(\w+)$/,r=[0,0,0,1],l,s,u;if(l=n.match(t)){for(u=l[2],l=l[1],s=0;s<3;s++){var d=s*2;r[s]=parseInt(l.slice(d,d+2),16)}u&&(r[3]=parseInt(u,16)/255)}else if(l=n.match(e)){for(l=l[1],u=l[3],s=0;s<3;s++)r[s]=parseInt(l[s]+l[s],16);u&&(r[3]=parseInt(u+u,16)/255)}else if(l=n.match(i)){for(s=0;s<3;s++)r[s]=parseInt(l[s+1],0);l[4]&&(l[5]?r[3]=parseFloat(l[4])*.01:r[3]=parseFloat(l[4]))}else if(l=n.match(o)){for(s=0;s<3;s++)r[s]=Math.round(parseFloat(l[s+1])*2.55);l[4]&&(l[5]?r[3]=parseFloat(l[4])*.01:r[3]=parseFloat(l[4]))}else return(l=n.match(a))?l[1]==="transparent"?[0,0,0,0]:Sz.call(a_,l[1])?(r=a_[l[1]],r[3]=1,r):null:null;for(s=0;s<3;s++)r[s]=mv(r[s],0,255);return r[3]=mv(r[3],0,1),r};y1.get.hsl=function(n){if(!n)return null;var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,t=n.match(e);if(t){var i=parseFloat(t[4]),o=(parseFloat(t[1])%360+360)%360,a=mv(parseFloat(t[2]),0,100),r=mv(parseFloat(t[3]),0,100),l=mv(isNaN(i)?1:i,0,1);return[o,a,r,l]}return null};y1.get.hwb=function(n){if(!n)return null;var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,t=n.match(e);if(t){var i=parseFloat(t[4]),o=(parseFloat(t[1])%360+360)%360,a=mv(parseFloat(t[2]),0,100),r=mv(parseFloat(t[3]),0,100),l=mv(isNaN(i)?1:i,0,1);return[o,a,r,l]}return null};y1.to.hex=function(){var n=g5(arguments);return"#"+Mb(n[0])+Mb(n[1])+Mb(n[2])+(n[3]<1?Mb(Math.round(n[3]*255)):"")};y1.to.rgb=function(){var n=g5(arguments);return n.length<4||n[3]===1?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"};y1.to.rgb.percent=function(){var n=g5(arguments),e=Math.round(n[0]/255*100),t=Math.round(n[1]/255*100),i=Math.round(n[2]/255*100);return n.length<4||n[3]===1?"rgb("+e+"%, "+t+"%, "+i+"%)":"rgba("+e+"%, "+t+"%, "+i+"%, "+n[3]+")"};y1.to.hsl=function(){var n=g5(arguments);return n.length<4||n[3]===1?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"};y1.to.hwb=function(){var n=g5(arguments),e="";return n.length>=4&&n[3]!==1&&(e=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+e+")"};y1.to.keyword=function(n){return Ez[n.slice(0,3)]};function mv(n,e,t){return Math.min(Math.max(e,n),t)}function Mb(n){var e=Math.round(n).toString(16).toUpperCase();return e.length<2?"0"+e:e}var Tye=wz.exports;const D_=kz,Az={};for(const n of Object.keys(D_))Az[D_[n]]=n;const Yo={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Tz=Yo;for(const n of Object.keys(Yo)){if(!("channels"in Yo[n]))throw new Error("missing channels property: "+n);if(!("labels"in Yo[n]))throw new Error("missing channel labels property: "+n);if(Yo[n].labels.length!==Yo[n].channels)throw new Error("channel and label counts mismatch: "+n);const{channels:e,labels:t}=Yo[n];delete Yo[n].channels,delete Yo[n].labels,Object.defineProperty(Yo[n],"channels",{value:e}),Object.defineProperty(Yo[n],"labels",{value:t})}Yo.rgb.hsl=function(n){const e=n[0]/255,t=n[1]/255,i=n[2]/255,o=Math.min(e,t,i),a=Math.max(e,t,i),r=a-o;let l,s;a===o?l=0:e===a?l=(t-i)/r:t===a?l=2+(i-e)/r:i===a&&(l=4+(e-t)/r),l=Math.min(l*60,360),l<0&&(l+=360);const u=(o+a)/2;return a===o?s=0:u<=.5?s=r/(a+o):s=r/(2-a-o),[l,s*100,u*100]};Yo.rgb.hsv=function(n){let e,t,i,o,a;const r=n[0]/255,l=n[1]/255,s=n[2]/255,u=Math.max(r,l,s),d=u-Math.min(r,l,s),g=function(m){return(u-m)/6/d+1/2};return d===0?(o=0,a=0):(a=d/u,e=g(r),t=g(l),i=g(s),r===u?o=i-t:l===u?o=1/3+e-i:s===u&&(o=2/3+t-e),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,u*100]};Yo.rgb.hwb=function(n){const e=n[0],t=n[1];let i=n[2];const o=Yo.rgb.hsl(n)[0],a=1/255*Math.min(e,Math.min(t,i));return i=1-1/255*Math.max(e,Math.max(t,i)),[o,a*100,i*100]};Yo.rgb.cmyk=function(n){const e=n[0]/255,t=n[1]/255,i=n[2]/255,o=Math.min(1-e,1-t,1-i),a=(1-e-o)/(1-o)||0,r=(1-t-o)/(1-o)||0,l=(1-i-o)/(1-o)||0;return[a*100,r*100,l*100,o*100]};function Dye(n,e){return(n[0]-e[0])**2+(n[1]-e[1])**2+(n[2]-e[2])**2}Yo.rgb.keyword=function(n){const e=Az[n];if(e)return e;let t=1/0,i;for(const o of Object.keys(D_)){const a=D_[o],r=Dye(n,a);r<t&&(t=r,i=o)}return i};Yo.keyword.rgb=function(n){return D_[n]};Yo.rgb.xyz=function(n){let e=n[0]/255,t=n[1]/255,i=n[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92;const o=e*.4124+t*.3576+i*.1805,a=e*.2126+t*.7152+i*.0722,r=e*.0193+t*.1192+i*.9505;return[o*100,a*100,r*100]};Yo.rgb.lab=function(n){const e=Yo.rgb.xyz(n);let t=e[0],i=e[1],o=e[2];t/=95.047,i/=100,o/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*i-16,r=500*(t-i),l=200*(i-o);return[a,r,l]};Yo.hsl.rgb=function(n){const e=n[0]/360,t=n[1]/100,i=n[2]/100;let o,a,r;if(t===0)return r=i*255,[r,r,r];i<.5?o=i*(1+t):o=i+t-i*t;const l=2*i-o,s=[0,0,0];for(let u=0;u<3;u++)a=e+1/3*-(u-1),a<0&&a++,a>1&&a--,6*a<1?r=l+(o-l)*6*a:2*a<1?r=o:3*a<2?r=l+(o-l)*(2/3-a)*6:r=l,s[u]=r*255;return s};Yo.hsl.hsv=function(n){const e=n[0];let t=n[1]/100,i=n[2]/100,o=t;const a=Math.max(i,.01);i*=2,t*=i<=1?i:2-i,o*=a<=1?a:2-a;const r=(i+t)/2,l=i===0?2*o/(a+o):2*t/(i+t);return[e,l*100,r*100]};Yo.hsv.rgb=function(n){const e=n[0]/60,t=n[1]/100;let i=n[2]/100;const o=Math.floor(e)%6,a=e-Math.floor(e),r=255*i*(1-t),l=255*i*(1-t*a),s=255*i*(1-t*(1-a));switch(i*=255,o){case 0:return[i,s,r];case 1:return[l,i,r];case 2:return[r,i,s];case 3:return[r,l,i];case 4:return[s,r,i];case 5:return[i,r,l]}};Yo.hsv.hsl=function(n){const e=n[0],t=n[1]/100,i=n[2]/100,o=Math.max(i,.01);let a,r;r=(2-t)*i;const l=(2-t)*o;return a=t*o,a/=l<=1?l:2-l,a=a||0,r/=2,[e,a*100,r*100]};Yo.hwb.rgb=function(n){const e=n[0]/360;let t=n[1]/100,i=n[2]/100;const o=t+i;let a;o>1&&(t/=o,i/=o);const r=Math.floor(6*e),l=1-i;a=6*e-r,r&1&&(a=1-a);const s=t+a*(l-t);let u,d,g;switch(r){default:case 6:case 0:u=l,d=s,g=t;break;case 1:u=s,d=l,g=t;break;case 2:u=t,d=l,g=s;break;case 3:u=t,d=s,g=l;break;case 4:u=s,d=t,g=l;break;case 5:u=l,d=t,g=s;break}return[u*255,d*255,g*255]};Yo.cmyk.rgb=function(n){const e=n[0]/100,t=n[1]/100,i=n[2]/100,o=n[3]/100,a=1-Math.min(1,e*(1-o)+o),r=1-Math.min(1,t*(1-o)+o),l=1-Math.min(1,i*(1-o)+o);return[a*255,r*255,l*255]};Yo.xyz.rgb=function(n){const e=n[0]/100,t=n[1]/100,i=n[2]/100;let o,a,r;return o=e*3.2406+t*-1.5372+i*-.4986,a=e*-.9689+t*1.8758+i*.0415,r=e*.0557+t*-.204+i*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),r=Math.min(Math.max(0,r),1),[o*255,a*255,r*255]};Yo.xyz.lab=function(n){let e=n[0],t=n[1],i=n[2];e/=95.047,t/=100,i/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const o=116*t-16,a=500*(e-t),r=200*(t-i);return[o,a,r]};Yo.lab.xyz=function(n){const e=n[0],t=n[1],i=n[2];let o,a,r;a=(e+16)/116,o=t/500+a,r=a-i/200;const l=a**3,s=o**3,u=r**3;return a=l>.008856?l:(a-16/116)/7.787,o=s>.008856?s:(o-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,o*=95.047,a*=100,r*=108.883,[o,a,r]};Yo.lab.lch=function(n){const e=n[0],t=n[1],i=n[2];let o;o=Math.atan2(i,t)*360/2/Math.PI,o<0&&(o+=360);const r=Math.sqrt(t*t+i*i);return[e,r,o]};Yo.lch.lab=function(n){const e=n[0],t=n[1],o=n[2]/360*2*Math.PI,a=t*Math.cos(o),r=t*Math.sin(o);return[e,a,r]};Yo.rgb.ansi16=function(n,e=null){const[t,i,o]=n;let a=e===null?Yo.rgb.hsv(n)[2]:e;if(a=Math.round(a/50),a===0)return 30;let r=30+(Math.round(o/255)<<2|Math.round(i/255)<<1|Math.round(t/255));return a===2&&(r+=60),r};Yo.hsv.ansi16=function(n){return Yo.rgb.ansi16(Yo.hsv.rgb(n),n[2])};Yo.rgb.ansi256=function(n){const e=n[0],t=n[1],i=n[2];return e===t&&t===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(i/255*5)};Yo.ansi16.rgb=function(n){let e=n%10;if(e===0||e===7)return n>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const t=(~~(n>50)+1)*.5,i=(e&1)*t*255,o=(e>>1&1)*t*255,a=(e>>2&1)*t*255;return[i,o,a]};Yo.ansi256.rgb=function(n){if(n>=232){const a=(n-232)*10+8;return[a,a,a]}n-=16;let e;const t=Math.floor(n/36)/5*255,i=Math.floor((e=n%36)/6)/5*255,o=e%6/5*255;return[t,i,o]};Yo.rgb.hex=function(n){const t=(((Math.round(n[0])&255)<<16)+((Math.round(n[1])&255)<<8)+(Math.round(n[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t};Yo.hex.rgb=function(n){const e=n.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let t=e[0];e[0].length===3&&(t=t.split("").map(l=>l+l).join(""));const i=parseInt(t,16),o=i>>16&255,a=i>>8&255,r=i&255;return[o,a,r]};Yo.rgb.hcg=function(n){const e=n[0]/255,t=n[1]/255,i=n[2]/255,o=Math.max(Math.max(e,t),i),a=Math.min(Math.min(e,t),i),r=o-a;let l,s;return r<1?l=a/(1-r):l=0,r<=0?s=0:o===e?s=(t-i)/r%6:o===t?s=2+(i-e)/r:s=4+(e-t)/r,s/=6,s%=1,[s*360,r*100,l*100]};Yo.hsl.hcg=function(n){const e=n[1]/100,t=n[2]/100,i=t<.5?2*e*t:2*e*(1-t);let o=0;return i<1&&(o=(t-.5*i)/(1-i)),[n[0],i*100,o*100]};Yo.hsv.hcg=function(n){const e=n[1]/100,t=n[2]/100,i=e*t;let o=0;return i<1&&(o=(t-i)/(1-i)),[n[0],i*100,o*100]};Yo.hcg.rgb=function(n){const e=n[0]/360,t=n[1]/100,i=n[2]/100;if(t===0)return[i*255,i*255,i*255];const o=[0,0,0],a=e%1*6,r=a%1,l=1-r;let s=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=r,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=r;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=r,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return s=(1-t)*i,[(t*o[0]+s)*255,(t*o[1]+s)*255,(t*o[2]+s)*255]};Yo.hcg.hsv=function(n){const e=n[1]/100,t=n[2]/100,i=e+t*(1-e);let o=0;return i>0&&(o=e/i),[n[0],o*100,i*100]};Yo.hcg.hsl=function(n){const e=n[1]/100,i=n[2]/100*(1-e)+.5*e;let o=0;return i>0&&i<.5?o=e/(2*i):i>=.5&&i<1&&(o=e/(2*(1-i))),[n[0],o*100,i*100]};Yo.hcg.hwb=function(n){const e=n[1]/100,t=n[2]/100,i=e+t*(1-e);return[n[0],(i-e)*100,(1-i)*100]};Yo.hwb.hcg=function(n){const e=n[1]/100,i=1-n[2]/100,o=i-e;let a=0;return o<1&&(a=(i-o)/(1-o)),[n[0],o*100,a*100]};Yo.apple.rgb=function(n){return[n[0]/65535*255,n[1]/65535*255,n[2]/65535*255]};Yo.rgb.apple=function(n){return[n[0]/255*65535,n[1]/255*65535,n[2]/255*65535]};Yo.gray.rgb=function(n){return[n[0]/100*255,n[0]/100*255,n[0]/100*255]};Yo.gray.hsl=function(n){return[0,0,n[0]]};Yo.gray.hsv=Yo.gray.hsl;Yo.gray.hwb=function(n){return[0,100,n[0]]};Yo.gray.cmyk=function(n){return[0,0,0,n[0]]};Yo.gray.lab=function(n){return[n[0],0,0]};Yo.gray.hex=function(n){const e=Math.round(n[0]/100*255)&255,i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i};Yo.rgb.gray=function(n){return[(n[0]+n[1]+n[2])/3/255*100]};const S8=Tz;function Lye(){const n={},e=Object.keys(S8);for(let t=e.length,i=0;i<t;i++)n[e[i]]={distance:-1,parent:null};return n}function Iye(n){const e=Lye(),t=[n];for(e[n].distance=0;t.length;){const i=t.pop(),o=Object.keys(S8[i]);for(let a=o.length,r=0;r<a;r++){const l=o[r],s=e[l];s.distance===-1&&(s.distance=e[i].distance+1,s.parent=i,t.unshift(l))}}return e}function Mye(n,e){return function(t){return e(n(t))}}function Fye(n,e){const t=[e[n].parent,n];let i=S8[e[n].parent][n],o=e[n].parent;for(;e[o].parent;)t.unshift(e[o].parent),i=Mye(S8[e[o].parent][o],i),o=e[o].parent;return i.conversion=t,i}var Pye=function(n){const e=Iye(n),t={},i=Object.keys(e);for(let o=i.length,a=0;a<o;a++){const r=i[a];e[r].parent!==null&&(t[r]=Fye(r,e))}return t};const Lk=Tz,Oye=Pye,o3={},Rye=Object.keys(Lk);function zye(n){const e=function(...t){const i=t[0];return i==null?i:(i.length>1&&(t=i),n(t))};return"conversion"in n&&(e.conversion=n.conversion),e}function $ye(n){const e=function(...t){const i=t[0];if(i==null)return i;i.length>1&&(t=i);const o=n(t);if(typeof o=="object")for(let a=o.length,r=0;r<a;r++)o[r]=Math.round(o[r]);return o};return"conversion"in n&&(e.conversion=n.conversion),e}Rye.forEach(n=>{o3[n]={},Object.defineProperty(o3[n],"channels",{value:Lk[n].channels}),Object.defineProperty(o3[n],"labels",{value:Lk[n].labels});const e=Oye(n);Object.keys(e).forEach(i=>{const o=e[i];o3[n][i]=$ye(o),o3[n][i].raw=zye(o)})});var Nye=o3;const r3=Tye,v1=Nye,Dz=["keyword","gray","hex"],Ik={};for(const n of Object.keys(v1))Ik[[...v1[n].labels].sort().join("")]=n;const E8={};function Su(n,e){if(!(this instanceof Su))return new Su(n,e);if(e&&e in Dz&&(e=null),e&&!(e in v1))throw new Error("Unknown model: "+e);let t,i;if(n==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(n instanceof Su)this.model=n.model,this.color=[...n.color],this.valpha=n.valpha;else if(typeof n=="string"){const o=r3.get(n);if(o===null)throw new Error("Unable to parse color from string: "+n);this.model=o.model,i=v1[this.model].channels,this.color=o.value.slice(0,i),this.valpha=typeof o.value[i]=="number"?o.value[i]:1}else if(n.length>0){this.model=e||"rgb",i=v1[this.model].channels;const o=Array.prototype.slice.call(n,0,i);this.color=Mk(o,i),this.valpha=typeof n[i]=="number"?n[i]:1}else if(typeof n=="number")this.model="rgb",this.color=[n>>16&255,n>>8&255,n&255],this.valpha=1;else{this.valpha=1;const o=Object.keys(n);"alpha"in n&&(o.splice(o.indexOf("alpha"),1),this.valpha=typeof n.alpha=="number"?n.alpha:0);const a=o.sort().join("");if(!(a in Ik))throw new Error("Unable to parse color from object: "+JSON.stringify(n));this.model=Ik[a];const{labels:r}=v1[this.model],l=[];for(t=0;t<r.length;t++)l.push(n[r[t]]);this.color=Mk(l)}if(E8[this.model])for(i=v1[this.model].channels,t=0;t<i;t++){const o=E8[this.model][t];o&&(this.color[t]=o(this.color[t]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}Su.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(n){let e=this.model in r3.to?this:this.rgb();e=e.round(typeof n=="number"?n:1);const t=e.valpha===1?e.color:[...e.color,this.valpha];return r3.to[e.model](t)},percentString(n){const e=this.rgb().round(typeof n=="number"?n:1),t=e.valpha===1?e.color:[...e.color,this.valpha];return r3.to.rgb.percent(t)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const n={},{channels:e}=v1[this.model],{labels:t}=v1[this.model];for(let i=0;i<e;i++)n[t[i]]=this.color[i];return this.valpha!==1&&(n.alpha=this.valpha),n},unitArray(){const n=this.rgb().color;return n[0]/=255,n[1]/=255,n[2]/=255,this.valpha!==1&&n.push(this.valpha),n},unitObject(){const n=this.rgb().object();return n.r/=255,n.g/=255,n.b/=255,this.valpha!==1&&(n.alpha=this.valpha),n},round(n){return n=Math.max(n||0,0),new Su([...this.color.map(jye(n)),this.valpha],this.model)},alpha(n){return n!==void 0?new Su([...this.color,Math.max(0,Math.min(1,n))],this.model):this.valpha},red:nc("rgb",0,su(255)),green:nc("rgb",1,su(255)),blue:nc("rgb",2,su(255)),hue:nc(["hsl","hsv","hsl","hwb","hcg"],0,n=>(n%360+360)%360),saturationl:nc("hsl",1,su(100)),lightness:nc("hsl",2,su(100)),saturationv:nc("hsv",1,su(100)),value:nc("hsv",2,su(100)),chroma:nc("hcg",1,su(100)),gray:nc("hcg",2,su(100)),white:nc("hwb",1,su(100)),wblack:nc("hwb",2,su(100)),cyan:nc("cmyk",0,su(100)),magenta:nc("cmyk",1,su(100)),yellow:nc("cmyk",2,su(100)),black:nc("cmyk",3,su(100)),x:nc("xyz",0,su(95.047)),y:nc("xyz",1,su(100)),z:nc("xyz",2,su(108.833)),l:nc("lab",0,su(100)),a:nc("lab",1),b:nc("lab",2),keyword(n){return n!==void 0?new Su(n):v1[this.model].keyword(this.color)},hex(n){return n!==void 0?new Su(n):r3.to.hex(this.rgb().round().color)},hexa(n){if(n!==void 0)return new Su(n);const e=this.rgb().round().color;let t=Math.round(this.valpha*255).toString(16).toUpperCase();return t.length===1&&(t="0"+t),r3.to.hex(e)+t},rgbNumber(){const n=this.rgb().color;return(n[0]&255)<<16|(n[1]&255)<<8|n[2]&255},luminosity(){const n=this.rgb().color,e=[];for(const[t,i]of n.entries()){const o=i/255;e[t]=o<=.04045?o/12.92:((o+.055)/1.055)**2.4}return .2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(n){const e=this.luminosity(),t=n.luminosity();return e>t?(e+.05)/(t+.05):(t+.05)/(e+.05)},level(n){const e=this.contrast(n);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const n=this.rgb().color;return(n[0]*2126+n[1]*7152+n[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const n=this.rgb();for(let e=0;e<3;e++)n.color[e]=255-n.color[e];return n},lighten(n){const e=this.hsl();return e.color[2]+=e.color[2]*n,e},darken(n){const e=this.hsl();return e.color[2]-=e.color[2]*n,e},saturate(n){const e=this.hsl();return e.color[1]+=e.color[1]*n,e},desaturate(n){const e=this.hsl();return e.color[1]-=e.color[1]*n,e},whiten(n){const e=this.hwb();return e.color[1]+=e.color[1]*n,e},blacken(n){const e=this.hwb();return e.color[2]+=e.color[2]*n,e},grayscale(){const n=this.rgb().color,e=n[0]*.3+n[1]*.59+n[2]*.11;return Su.rgb(e,e,e)},fade(n){return this.alpha(this.valpha-this.valpha*n)},opaquer(n){return this.alpha(this.valpha+this.valpha*n)},rotate(n){const e=this.hsl();let t=e.color[0];return t=(t+n)%360,t=t<0?360+t:t,e.color[0]=t,e},mix(n,e){if(!n||!n.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof n);const t=n.rgb(),i=this.rgb(),o=e===void 0?.5:e,a=2*o-1,r=t.alpha()-i.alpha(),l=((a*r===-1?a:(a+r)/(1+a*r))+1)/2,s=1-l;return Su.rgb(l*t.red()+s*i.red(),l*t.green()+s*i.green(),l*t.blue()+s*i.blue(),t.alpha()*o+i.alpha()*(1-o))}};for(const n of Object.keys(v1)){if(Dz.includes(n))continue;const{channels:e}=v1[n];Su.prototype[n]=function(...t){return this.model===n?new Su(this):t.length>0?new Su(t,n):new Su([...Vye(v1[this.model][n].raw(this.color)),this.valpha],n)},Su[n]=function(...t){let i=t[0];return typeof i=="number"&&(i=Mk(t,e)),new Su(i,n)}}function Bye(n,e){return Number(n.toFixed(e))}function jye(n){return function(e){return Bye(e,n)}}function nc(n,e,t){n=Array.isArray(n)?n:[n];for(const i of n)(E8[i]||(E8[i]=[]))[e]=t;return n=n[0],function(i){let o;return i!==void 0?(t&&(i=t(i)),o=this[n](),o.color[e]=i,o):(o=this[n]().color[e],t&&(o=t(o)),o)}}function su(n){return function(e){return Math.max(0,Math.min(n,e))}}function Vye(n){return Array.isArray(n)?n:[n]}function Mk(n,e){for(let t=0;t<e;t++)typeof n[t]!="number"&&(n[t]=0);return n}var Hye=Su;const f1=Fd(Hye),Uye={class:"color-dot"},qye=Pt({__name:"color",props:{value:{type:String,default:null},defaultColor:{type:String,default:"#B0BEC5",validator:n=>n===null||xE(n)||n.startsWith("var(--")}},setup(n){cm(o=>({"44192b22":t.value}));const e=n,t=Ce(()=>e.value??e.defaultColor),i=Ce(()=>{try{const o=f1(t.value),a=f1(Zr("--theme--background"));return o.contrast(a)<1.1}catch{return!1}});return(o,a)=>{const r=G("value-null");return j(),Re("div",Uye,[n.value===null&&n.defaultColor===null?(j(),ye(r,{key:0})):We("",!0),ke("div",{class:yn(["dot",{"with-border":i.value}])},null,2)])}}}),Wye=Wt(qye,[["__scopeId","data-v-982cc817"]]),Gye=Du({id:"color",name:"$t:displays.color.color",description:"$t:displays.color.description",types:["string"],icon:"flag",component:Wye,options:[{field:"defaultColor",name:"$t:displays.color.default_color",type:"string",meta:{interface:"select-color",width:"half"},schema:{default_value:"#B0BEC5"}}]}),Lz=[];function wE(){var e;const n=wo.global.locale.value;return(e=Lz.find(({lang:t})=>n===t))==null?void 0:e.locale}async function Yye(n){const e=[n,n.split("-")[0],"en-US"];let t;for(const i of e)try{t=(await Xye(i)).default,Lz.push({lang:n,locale:t});break}catch{continue}return t}function Xye(n){switch(n){case"af":return Ut(()=>import("./af-CtAxPgLs.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);case"ar-DZ":return Ut(()=>import("./ar-DZ--db2Rti9.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url);case"ar-MA":return Ut(()=>import("./ar-MA-BotDlsv6.js"),__vite__mapDeps([8,1,2,3,4,5,6]),import.meta.url);case"ar-SA":return Ut(()=>import("./ar-SA-vkpM3c3R.js"),__vite__mapDeps([9,1,2,3,4,5,6]),import.meta.url);case"az":return Ut(()=>import("./az-DAjqINie.js"),__vite__mapDeps([10,1,2,3,4,5,6]),import.meta.url);case"be":return Ut(()=>import("./be-BlfzlxYm.js"),__vite__mapDeps([11,12,3,2,4,1,5,6]),import.meta.url);case"bg":return Ut(()=>import("./bg-CupPYu6G.js"),__vite__mapDeps([13,12,3,2,4,1,5,6]),import.meta.url);case"bn":return Ut(()=>import("./bn-B5WcKd0N.js"),__vite__mapDeps([14,1,2,3,4,5,6]),import.meta.url);case"ca":return Ut(()=>import("./ca-DsaQHIIi.js"),__vite__mapDeps([15,1,2,3,4,5,6]),import.meta.url);case"cs":return Ut(()=>import("./cs-CDN-35Ms.js"),__vite__mapDeps([16,1,2,3,4,5,6]),import.meta.url);case"cy":return Ut(()=>import("./cy-Ch-wFNP-.js"),__vite__mapDeps([17,1,2,3,4,5,6]),import.meta.url);case"da":return Ut(()=>import("./da-BXuEQQOW.js"),__vite__mapDeps([18,1,2,3,4,5,6]),import.meta.url);case"de":return Ut(()=>import("./de-BQoX2jkD.js"),__vite__mapDeps([19,20,1,2,3,4,5,6]),import.meta.url);case"de-AT":return Ut(()=>import("./de-AT-BB-OnqrK.js"),__vite__mapDeps([21,20,1,2,3,4,5,6]),import.meta.url);case"el":return Ut(()=>import("./el-CSIeMapt.js"),__vite__mapDeps([22,1,2,3,4,5,6]),import.meta.url);case"en-AU":return Ut(()=>import("./en-AU-BthBzRDm.js"),__vite__mapDeps([23,1,2,3,4,5,6]),import.meta.url);case"en-CA":return Ut(()=>import("./en-CA-uQFwtN_-.js"),__vite__mapDeps([24,1,2,3,4,5,6]),import.meta.url);case"en-GB":return Ut(()=>import("./en-GB-B2opPwu3.js"),__vite__mapDeps([25,1,2,3,4,5,6]),import.meta.url);case"en-IN":return Ut(()=>import("./en-IN-yg-zgk66.js"),__vite__mapDeps([26,1,2,3,4,5,6]),import.meta.url);case"en-NZ":return Ut(()=>import("./en-NZ-0fKgn0Eb.js"),__vite__mapDeps([27,1,2,3,4,5,6]),import.meta.url);case"en-US":return Ut(()=>Promise.resolve().then(()=>RJ),void 0,import.meta.url);case"en-ZA":return Ut(()=>import("./en-ZA-CJIDRBbI.js"),__vite__mapDeps([28,1,2,3,4,5,6]),import.meta.url);case"eo":return Ut(()=>import("./eo-CJONJlD2.js"),__vite__mapDeps([29,1,2,3,4,5,6]),import.meta.url);case"es":return Ut(()=>import("./es-C19LaWl9.js"),__vite__mapDeps([30,1,2,3,4,5,6]),import.meta.url);case"et":return Ut(()=>import("./et-Dfq-4YKT.js"),__vite__mapDeps([31,1,2,3,4,5,6]),import.meta.url);case"eu":return Ut(()=>import("./eu-B7YhTU0-.js"),__vite__mapDeps([32,1,2,3,4,5,6]),import.meta.url);case"fa-IR":return Ut(()=>import("./fa-IR-WYq-J512.js"),__vite__mapDeps([33,1,2,3,4,5,6]),import.meta.url);case"fi":return Ut(()=>import("./fi-DfjvY2f9.js"),__vite__mapDeps([34,1,2,3,4,5,6]),import.meta.url);case"fr":return Ut(()=>import("./fr-DKzp-UcX.js"),__vite__mapDeps([35,36,37,1,2,3,4,5,6]),import.meta.url);case"fr-CA":return Ut(()=>import("./fr-CA-B6j5tMiD.js"),__vite__mapDeps([38,36,37,1,2,3,4,5,6]),import.meta.url);case"fr-CH":return Ut(()=>import("./fr-CH-DWsYXfiO.js"),__vite__mapDeps([39,36,1,2,3,4,5,6]),import.meta.url);case"gd":return Ut(()=>import("./gd-D0oRYN1o.js"),__vite__mapDeps([40,1,2,3,4,5,6]),import.meta.url);case"gl":return Ut(()=>import("./gl-BcLF-llx.js"),__vite__mapDeps([41,1,2,3,4,5,6]),import.meta.url);case"gu":return Ut(()=>import("./gu-B2hictcv.js"),__vite__mapDeps([42,1,2,3,4,5,6]),import.meta.url);case"he":return Ut(()=>import("./he-28dyPClB.js"),__vite__mapDeps([43,1,2,3,4,5,6]),import.meta.url);case"hi":return Ut(()=>import("./hi-Bwa9TeTD.js"),__vite__mapDeps([44,1,2,3,4,5,6]),import.meta.url);case"hr":return Ut(()=>import("./hr-DAx6QxoD.js"),__vite__mapDeps([45,1,2,3,4,5,6]),import.meta.url);case"ht":return Ut(()=>import("./ht-CLkZIayx.js"),__vite__mapDeps([46,1,2,3,4,5,6]),import.meta.url);case"hu":return Ut(()=>import("./hu-DH6ERHzM.js"),__vite__mapDeps([47,1,2,3,4,5,6]),import.meta.url);case"hy":return Ut(()=>import("./hy-Cqkb8MqA.js"),__vite__mapDeps([48,1,2,3,4,5,6]),import.meta.url);case"id":return Ut(()=>import("./id-C2xfcADp.js"),__vite__mapDeps([49,1,2,3,4,5,6]),import.meta.url);case"is":return Ut(()=>import("./is-BCbQ5PrX.js"),__vite__mapDeps([50,1,2,3,4,5,6]),import.meta.url);case"it":return Ut(()=>import("./it-CjghylfI.js"),__vite__mapDeps([51,12,3,2,4,1,5,6]),import.meta.url);case"ja":return Ut(()=>import("./ja-CZwJ2ssJ.js"),__vite__mapDeps([52,1,2,3,4,5,6]),import.meta.url);case"ka":return Ut(()=>import("./ka-CsIzm67V.js"),__vite__mapDeps([53,1,2,3,4,5,6]),import.meta.url);case"kk":return Ut(()=>import("./kk-Cjl9LYJo.js"),__vite__mapDeps([54,12,3,2,4,1,5,6]),import.meta.url);case"kn":return Ut(()=>import("./kn-BOZ_GkKc.js"),__vite__mapDeps([55,1,2,3,4,5,6]),import.meta.url);case"ko":return Ut(()=>import("./ko-D6pypTz6.js"),__vite__mapDeps([56,1,2,3,4,5,6]),import.meta.url);case"lb":return Ut(()=>import("./lb-BfTrdFo4.js"),__vite__mapDeps([57,1,2,3,4,5,6]),import.meta.url);case"lt":return Ut(()=>import("./lt-zcxfLljC.js"),__vite__mapDeps([58,1,2,3,4,5,6]),import.meta.url);case"lv":return Ut(()=>import("./lv-C-0iUfnA.js"),__vite__mapDeps([59,12,3,2,4,1,5,6]),import.meta.url);case"mk":return Ut(()=>import("./mk-BlkbuoX2.js"),__vite__mapDeps([60,12,3,2,4,1,5,6]),import.meta.url);case"mn":return Ut(()=>import("./mn-WB-bCCWD.js"),__vite__mapDeps([61,1,2,3,4,5,6]),import.meta.url);case"ms":return Ut(()=>import("./ms-DyirGbcf.js"),__vite__mapDeps([62,1,2,3,4,5,6]),import.meta.url);case"mt":return Ut(()=>import("./mt-BJLbS-mR.js"),__vite__mapDeps([63,1,2,3,4,5,6]),import.meta.url);case"nb":return Ut(()=>import("./nb-B6ghxJvv.js"),__vite__mapDeps([64,1,2,3,4,5,6]),import.meta.url);case"nl":return Ut(()=>import("./nl-BuZ2HIDe.js"),__vite__mapDeps([65,1,2,3,4,5,6]),import.meta.url);case"nl-BE":return Ut(()=>import("./nl-BE-BK2IxS_6.js"),__vite__mapDeps([66,1,2,3,4,5,6]),import.meta.url);case"nn":return Ut(()=>import("./nn-DxbDclyk.js"),__vite__mapDeps([67,1,2,3,4,5,6]),import.meta.url);case"pl":return Ut(()=>import("./pl-Dwe1q59H.js"),__vite__mapDeps([68,12,3,2,4,1,5,6]),import.meta.url);case"pt":return Ut(()=>import("./pt-gnvsLlzK.js"),__vite__mapDeps([69,1,2,3,4,5,6]),import.meta.url);case"pt-BR":return Ut(()=>import("./pt-BR-CiLBfB72.js"),__vite__mapDeps([70,1,2,3,4,5,6]),import.meta.url);case"ro":return Ut(()=>import("./ro-D9zq-ZM4.js"),__vite__mapDeps([71,1,2,3,4,5,6]),import.meta.url);case"ru":return Ut(()=>import("./ru-Cc34PMzk.js"),__vite__mapDeps([72,12,3,2,4,1,5,6]),import.meta.url);case"sk":return Ut(()=>import("./sk-aSuc1Dmp.js"),__vite__mapDeps([73,12,3,2,4,1,5,6]),import.meta.url);case"sl":return Ut(()=>import("./sl-DlYUV_v7.js"),__vite__mapDeps([74,1,2,3,4,5,6]),import.meta.url);case"sq":return Ut(()=>import("./sq-Dpi_vkwh.js"),__vite__mapDeps([75,1,2,3,4,5,6]),import.meta.url);case"sr":return Ut(()=>import("./sr-B3kdOGuh.js"),__vite__mapDeps([76,1,2,3,4,5,6]),import.meta.url);case"sr-Latn":return Ut(()=>import("./sr-Latn-DfXEA-NP.js"),__vite__mapDeps([77,1,2,3,4,5,6]),import.meta.url);case"sv":return Ut(()=>import("./sv-Cu33eT0T.js"),__vite__mapDeps([78,1,2,3,4,5,6]),import.meta.url);case"ta":return Ut(()=>import("./ta-DtpunFf6.js"),__vite__mapDeps([79,1,2,3,4,5,6]),import.meta.url);case"te":return Ut(()=>import("./te-C3DlHMTv.js"),__vite__mapDeps([80,1,2,3,4,5,6]),import.meta.url);case"th":return Ut(()=>import("./th-8rnMvqb6.js"),__vite__mapDeps([81,1,2,3,4,5,6]),import.meta.url);case"tr":return Ut(()=>import("./tr-Dt-z6LwF.js"),__vite__mapDeps([82,1,2,3,4,5,6]),import.meta.url);case"ug":return Ut(()=>import("./ug-SNxlKk-E.js"),__vite__mapDeps([83,1,2,3,4,5,6]),import.meta.url);case"uk":return Ut(()=>import("./uk-Caf8NU7j.js"),__vite__mapDeps([84,12,3,2,4,1,5,6]),import.meta.url);case"uz":return Ut(()=>import("./uz-CNddf2EJ.js"),__vite__mapDeps([85,1,2,3,4,5,6]),import.meta.url);case"vi":return Ut(()=>import("./vi-CugaggVo.js"),__vite__mapDeps([86,1,2,3,4,5,6]),import.meta.url);case"zh-CN":return Ut(()=>import("./zh-CN-D2Hb3n0g.js"),__vite__mapDeps([87,12,3,2,4,1,5,6]),import.meta.url);case"zh-TW":return Ut(()=>import("./zh-TW-DkAcCRNE.js"),__vite__mapDeps([88,1,2,3,4,5,6]),import.meta.url);default:return Promise.resolve()}}const ql=(n,e,t)=>Wh(n,e,{...t,locale:wE()}),kE=(n,e,t)=>XJ(n,e,{...t,locale:wE()}),M7=(n,e,t)=>KJ(n,e,{...t,locale:wE()}),Kye=Pt({inheritAttrs:!1,__name:"use-datetime",props:{value:{},type:{},format:{default:"long"},relative:{type:Boolean,default:!1},strict:{type:Boolean,default:!1},round:{default:"round"},suffix:{type:Boolean,default:!0}},setup(n){const e=n,{t}=un(),i=Oe(null),o=Ce(()=>e.value?e.type==="timestamp"?T7(e.value):e.type==="dateTime"?Gh(e.value,"yyyy-MM-dd'T'HH:mm:ss",new Date):e.type==="date"?Gh(e.value,"yyyy-MM-dd",new Date):e.type==="time"?Gh(e.value,"HH:mm:ss",new Date):null:null),a=l=>e.strict?M7(l,new Date,{addSuffix:e.suffix,roundingMethod:e.round}):kE(l,new Date,{addSuffix:e.suffix});Wn(o,l=>{if(l===null){i.value=null;return}if(e.relative)i.value=a(l);else{let s;e.format==="long"?(s=`${t("date-fns_date")} ${t("date-fns_time")}`,e.type==="date"&&(s=String(t("date-fns_date"))),e.type==="time"&&(s=String(t("date-fns_time")))):e.format==="short"?(s=`${t("date-fns_date_short")} ${t("date-fns_time_short")}`,e.type==="date"&&(s=String(t("date-fns_date_short"))),e.type==="time"&&(s=String(t("date-fns_time_short")))):s=e.format,i.value=ql(l,s)}},{immediate:!0});let r=null;return Yr(()=>{e.relative&&(r=window.setInterval(()=>{o.value&&(i.value=a(o.value))},6e4))}),Dl(()=>{r&&clearInterval(r)}),(l,s)=>gi(l.$slots,"default",{datetime:i.value})}}),Zye={class:"datetime"},Jye=Pt({__name:"datetime",props:{value:{},type:{},format:{default:"long"},relative:{type:Boolean,default:!1},strict:{type:Boolean,default:!1},round:{default:"round"},suffix:{type:Boolean,default:!0}},setup(n){return(e,t)=>(j(),ye(Kye,cr(Cr(e.$props)),{default:I(({datetime:i})=>[ke("span",Zye,me(i),1)]),_:1},16))}}),Qye=Wt(Jye,[["__scopeId","data-v-a2edaeb7"]]),e4e=Du({id:"datetime",name:"$t:displays.datetime.datetime",description:"$t:displays.datetime.description",icon:"query_builder",component:Qye,handler:(n,e,{field:t})=>{if(!n)return n;const i=o=>kE(o,new Date,{addSuffix:!0});if((t==null?void 0:t.type)==="timestamp"?n=T7(n):(t==null?void 0:t.type)==="dateTime"?n=Gh(n,"yyyy-MM-dd'T'HH:mm:ss",new Date):(t==null?void 0:t.type)==="date"?n=Gh(n,"yyyy-MM-dd",new Date):(t==null?void 0:t.type)==="time"&&(n=Gh(n,"HH:mm:ss",new Date)),e.relative)return i(n);{let o;return(e==null?void 0:e.format)===void 0||e.format==="long"?(o=`${wo.global.t("date-fns_date")} ${wo.global.t("date-fns_time")}`,(t==null?void 0:t.type)==="date"&&(o=String(wo.global.t("date-fns_date"))),(t==null?void 0:t.type)==="time"&&(o=String(wo.global.t("date-fns_time")))):e.format==="short"?(o=`${wo.global.t("date-fns_date_short")} ${wo.global.t("date-fns_time_short")}`,(t==null?void 0:t.type)==="date"&&(o=String(wo.global.t("date-fns_date_short"))),(t==null?void 0:t.type)==="time"&&(o=String(wo.global.t("date-fns_time_short")))):o=e.format,ql(n,o)}},options:({field:n})=>{var i;const e=((i=n.meta)==null?void 0:i.display_options)||{},t=[{field:"relative",name:"$t:displays.datetime.relative",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.datetime.relative_label"}},schema:{default_value:!1}}];return e.relative?t.push({field:"suffix",name:"$t:displays.datetime.suffix",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.datetime.suffix_label"},note:"$t:displays.datetime.suffix_note"},schema:{default_value:!0}},{field:"strict",name:"$t:displays.datetime.strict",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.datetime.strict_label"},note:"$t:displays.datetime.strict_note"},schema:{default_value:!1}},{field:"round",name:"$t:displays.datetime.round",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:displays.datetime.down",value:"floor"},{text:"$t:displays.datetime.nearest",value:"round"},{text:"$t:displays.datetime.up",value:"ceil"}]},note:"$t:displays.datetime.round_note"},schema:{default_value:"round"}}):t.push({field:"format",name:"$t:displays.datetime.format",type:"string",meta:{interface:"select-dropdown",width:"half",options:{choices:[{text:"$t:displays.datetime.long",value:"long"},{text:"$t:displays.datetime.short",value:"short"}],allowOther:!0},note:"$t:displays.datetime.format_note"},schema:{default_value:"long"}}),t},types:["dateTime","date","time","timestamp"]}),t4e={"audio/aac":"aac","application/x-abiword":"abw","application/x-freearc":"arc","video/x-msvideo":"avi","image/avif":"avif","application/vnd.amazon.ebook":"azw","application/octet-stream":"file","image/bmp":"bmp","application/x-bzip":"bz","application/x-bzip2":"bz2","application/x-csh":"csh","text/css":"css","text/csv":"csv","application/msword":"doc","application/sql":"sql","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","application/vnd.ms-fontobject":"eot","application/epub+zip":"epub","application/gzip":"gz","image/gif":"gif","text/html":"html","image/vnd.microsoft.icon":"ico","text/calendar":"ics","application/java-archive":"jar","image/jpeg":"jpg","text/javascript":"js","application/json":"json","application/ld+json":"jsonld","audio/midi audio/x-midi":"midi","audio/mpeg":"mp3","video/mpeg":"mpeg","audio/mp4":"mp4","video/mp4":"mp4","application/mp4":"mp4","application/vnd.apple.installer+xml":"mpkg","application/vnd.oasis.opendocument.presentation":"odp","application/vnd.oasis.opendocument.spreadsheet":"ods","application/vnd.oasis.opendocument.text":"odt","audio/ogg":"oga","video/ogg":"ogv","application/ogg":"ogx","audio/opus":"opus","font/otf":"otf","image/png":"png","application/pdf":"pdf","application/x-httpd-php":"php","application/vnd.ms-powerpoint":"ppt","application/vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","application/vnd.rar":"rar","application/rtf":"rtf","application/x-sh":"sh","image/svg+xml":"svg","application/x-shockwave-flash":"swf","application/x-tar":"tar","image/tiff":"tiff","video/mp2t":"ts","font/ttf":"ttf","text/plain":"txt","application/vnd.visio":"vsd","audio/wav":"wav","audio/webm":"weba","video/webm":"webm","image/webp":"webp","font/woff":"woff","font/woff2":"woff2","application/xhtml+xml":"xhtml","application/vnd.ms-excel":"xls","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","application/xml":"xml","application/vnd.mozilla.xul+xml":"xul","application/zip":"zip","video/3gpp":"3gp","video/3gpp2":"3g2","audio/3gpp":"3gp","audio/3gpp2":"3g2","application/x-7z-compressed":"7z","image/heic":"heic","image/heif":"heif"},n4e={"application/vnd.hzn-3d-crossword":"3D Crossword Plugin","video/3gpp":"3GP","video/3gpp2":"3GP2","application/vnd.mseq":"3GPP MSEQ File","application/vnd.3m.post-it-notes":"3M Post It Notes","application/vnd.3gpp.pic-bw-large":"3rd Generation Partnership Project - Pic Large","application/vnd.3gpp.pic-bw-small":"3rd Generation Partnership Project - Pic Small","application/vnd.3gpp.pic-bw-var":"3rd Generation Partnership Project - Pic Var","application/vnd.3gpp2.tcap":"3rd Generation Partnership Project - Transaction Capabilities Application Part","application/x-7z-compressed":"7-Zip","application/x-abiword":"AbiWord","application/x-ace-compressed":"Ace Archive","application/vnd.americandynamics.acc":"Active Content Compression","application/vnd.acucobol":"ACU Cobol","application/vnd.acucorp":"ACU Cobol","audio/adpcm":"Adaptive differential pulse-code modulation","application/x-authorware-bin":"Adobe (Macropedia) Authorware - Binary File","application/x-authorware-map":"Adobe (Macropedia) Authorware - Map","application/x-authorware-seg":"Adobe (Macropedia) Authorware - Segment File","application/vnd.adobe.air-application-installer-package+zip":"Adobe AIR Application","application/x-shockwave-flash":"Adobe Flash","application/vnd.adobe.fxp":"Adobe Flex Project","application/pdf":"PDF","application/sql":"SQL","application/vnd.cups-ppd":"Adobe PostScript Printer Description File Format","application/x-director":"Adobe Shockwave Player","application/vnd.adobe.xdp+xml":"Adobe XML Data Package","application/vnd.adobe.xfdf":"Adobe XML Forms Data Format","audio/x-aac":"Advanced Audio Coding (AAC)","application/vnd.ahead.space":"Ahead AIR Application","application/vnd.airzip.filesecure.azf":"AirZip FileSECURE","application/vnd.airzip.filesecure.azs":"AirZip FileSECURE","application/vnd.amazon.ebook":"Amazon Kindle eBook format","application/vnd.amiga.ami":"AmigaDE","application/andrew-inset":"Andrew Toolkit","application/vnd.android.package-archive":"Android Package Archive","application/vnd.anser-web-certificate-issue-initiation":"ANSER-WEB Terminal Client - Certificate Issue","application/vnd.anser-web-funds-transfer-initiation":"ANSER-WEB Terminal Client - Web Funds Transfer","application/vnd.antix.game-component":"Antix Game Player","application/x-apple-diskimage":"Apple Disk Image","application/vnd.apple.installer+xml":"Apple Installer Package","application/applixware":"Applixware","application/vnd.hhe.lesson-player":"Archipelago Lesson Player","application/vnd.aristanetworks.swi":"Arista Networks Software Image","text/x-asm":"Assembler Source File","application/atomcat+xml":"Atom Publishing Protocol","application/atomsvc+xml":"Atom Publishing Protocol Service Document","application/atom+xml":"Atom Syndication Format","application/pkix-attr-cert":"Attribute Certificate","audio/x-aiff":"AIFF","video/x-msvideo":"AVI","image/avif":"AVIF","application/vnd.audiograph":"Audiograph","image/vnd.dxf":"AutoCAD DXF","model/vnd.dwf":"Autodesk Design Web Format (DWF)","text/plain-bas":"BAS Partitur Format","application/x-bcpio":"Binary CPIO Archive","application/octet-stream":"Binary Data","image/bmp":"Bitmap Image","application/x-bittorrent":"BitTorrent","application/vnd.rim.cod":"Blackberry COD File","application/vnd.blueice.multipass":"Blueice Research Multipass","application/vnd.bmi":"BMI Drawing Data Interchange","application/x-sh":"Bourne Shell Script","image/prs.btif":"BTIF","application/vnd.businessobjects":"BusinessObjects","application/x-bzip":"Bzip Archive","application/x-bzip2":"Bzip2 Archive","application/x-csh":"C Shell Script","text/x-c":"C Source File","application/vnd.chemdraw+xml":"CambridgeSoft Chem Draw","text/css":"Cascading Style Sheets (CSS)","chemical/x-cdx":"ChemDraw eXchange file","chemical/x-cml":"Chemical Markup Language","chemical/x-csml":"Chemical Style Markup Language","application/vnd.contact.cmsg":"CIM Database","application/vnd.claymore":"Claymore Data Files","application/vnd.clonk.c4group":"Clonk Game","image/vnd.dvb.subtitle":"Close Captioning - Subtitle","application/cdmi-capability":"Cloud Data Management Interface (CDMI) - Capability","application/cdmi-container":"Cloud Data Management Interface (CDMI) - Container","application/cdmi-domain":"Cloud Data Management Interface (CDMI) - Domain","application/cdmi-object":"Cloud Data Management Interface (CDMI) - Object","application/cdmi-queue":"Cloud Data Management Interface (CDMI) - Queue","application/vnd.cluetrust.cartomobile-config":"ClueTrust CartoMobile - Config","application/vnd.cluetrust.cartomobile-config-pkg":"ClueTrust CartoMobile - Config Package","image/x-cmu-raster":"CMU Image","model/vnd.collada+xml":"COLLADA","text/csv":"CSV","application/mac-compactpro":"Compact Pro","application/vnd.wap.wmlc":"Compiled Wireless Markup Language (WMLC)","image/cgm":"Computer Graphics Metafile","x-conference/x-cooltalk":"CoolTalk","image/x-cmx":"Corel Metafile Exchange (CMX)","application/vnd.xara":"CorelXARA","application/vnd.cosmocaller":"CosmoCaller","application/x-cpio":"CPIO Archive","application/vnd.crick.clicker":"CrickSoftware - Clicker","application/vnd.crick.clicker.keyboard":"CrickSoftware - Clicker - Keyboard","application/vnd.crick.clicker.palette":"CrickSoftware - Clicker - Palette","application/vnd.crick.clicker.template":"CrickSoftware - Clicker - Template","application/vnd.crick.clicker.wordbank":"CrickSoftware - Clicker - Wordbank","application/vnd.criticaltools.wbs+xml":"Critical Tools - PERT Chart EXPERT","application/vnd.rig.cryptonote":"CryptoNote","chemical/x-cif":"Crystallographic Interchange Format","chemical/x-cmdf":"CrystalMaker Data Format","application/cu-seeme":"CU-SeeMe","application/prs.cww":"CU-Writer","text/vnd.curl":"Curl - Applet","text/vnd.curl.dcurl":"Curl - Detached Applet","text/vnd.curl.mcurl":"Curl - Manifest File","text/vnd.curl.scurl":"Curl - Source Code","application/vnd.curl.car":"CURL Applet","application/vnd.curl.pcurl":"CURL Applet","application/vnd.yellowriver-custom-menu":"CustomMenu","application/dssc+der":"Data Structure for the Security Suitability of Cryptographic Algorithms","application/dssc+xml":"Data Structure for the Security Suitability of Cryptographic Algorithms","application/x-debian-package":"Debian Package","audio/vnd.dece.audio":"DECE Audio","image/vnd.dece.graphic":"DECE Graphic","video/vnd.dece.hd":"DECE High Definition Video","video/vnd.dece.mobile":"DECE Mobile Video","video/vnd.uvvu.mp4":"DECE MP4","video/vnd.dece.pd":"DECE PD Video","video/vnd.dece.sd":"DECE SD Video","video/vnd.dece.video":"DECE Video","application/x-dvi":"DVI","application/vnd.fdsn.seed":"Digital Seismograph Networks - SEED Datafiles","application/x-dtbook+xml":"Digital Talking Book","application/x-dtbresource+xml":"Digital Talking Book - Resource File","application/vnd.dvb.ait":"Digital Video Broadcasting","application/vnd.dvb.service":"Digital Video Broadcasting","audio/vnd.digital-winds":"Digital Winds Music","image/vnd.djvu":"DjVu","application/xml-dtd":"Document Type Definition","application/vnd.dolby.mlp":"Dolby Meridian Lossless Packing","application/x-doom":"Doom Video Game","application/vnd.dpgraph":"DPGraph","audio/vnd.dra":"DRA Audio","application/vnd.dreamfactory":"DreamFactory","audio/vnd.dts":"DTS Audio","audio/vnd.dts.hd":"DTS High Definition Audio","image/vnd.dwg":"DWG Drawing","application/vnd.dynageo":"DynaGeo","application/ecmascript":"ECMAScript","application/vnd.ecowin.chart":"EcoWin Chart","image/vnd.fujixerox.edmics-mmr":"EDMICS 2000","image/vnd.fujixerox.edmics-rlc":"EDMICS 2000","application/exi":"Efficient XML Interchange","application/vnd.proteus.magazine":"EFI Proteus","application/epub+zip":"Electronic Publication","message/rfc822":"Email Message","application/vnd.enliven":"Enliven Viewer","application/vnd.is-xpr":"Express by Infoseek","image/vnd.xiff":"eXtended Image File Format (XIFF)","application/vnd.xfdl":"Extensible Forms Description Language","application/emma+xml":"Extensible MultiModal Annotation","application/vnd.ezpix-album":"EZPix Secure Photo Album","application/vnd.ezpix-package":"EZPix Secure Photo Album","image/vnd.fst":"FAST Search & Transfer ASA","video/vnd.fvt":"FAST Search & Transfer ASA","image/vnd.fastbidsheet":"FastBid Sheet","application/vnd.denovo.fcselayout-link":"FCS Express Layout Link","video/x-f4v":"Flash Video","video/x-flv":"Flash Video","image/vnd.fpx":"FlashPix","image/vnd.net-fpx":"FlashPix","text/vnd.fmi.flexstor":"FLEXSTOR","video/x-fli":"FLI/FLC Animation Format","application/vnd.fluxtime.clip":"FluxTime Clip","application/vnd.fdf":"Forms Data Format","text/x-fortran":"Fortran Source File","application/vnd.mif":"FrameMaker Interchange Format","application/vnd.framemaker":"FrameMaker Normal Format","image/x-freehand":"FreeHand MX","application/vnd.fsc.weblaunch":"Friendly Software Corporation","application/vnd.frogans.fnc":"Frogans Player","application/vnd.frogans.ltf":"Frogans Player","application/vnd.fujixerox.ddd":"Fujitsu - Xerox 2D CAD Data","application/vnd.fujixerox.docuworks":"Fujitsu - Xerox DocuWorks","application/vnd.fujixerox.docuworks.binder":"Fujitsu - Xerox DocuWorks Binder","application/vnd.fujitsu.oasys":"Fujitsu Oasys","application/vnd.fujitsu.oasys2":"Fujitsu Oasys","application/vnd.fujitsu.oasys3":"Fujitsu Oasys","application/vnd.fujitsu.oasysgp":"Fujitsu Oasys","application/vnd.fujitsu.oasysprs":"Fujitsu Oasys","application/x-futuresplash":"FutureSplash Animator","application/vnd.fuzzysheet":"FuzzySheet","image/g3fax":"G3 Fax Image","application/vnd.gmx":"GameMaker ActiveX","model/vnd.gtw":"Gen-Trix Studio","application/vnd.genomatix.tuxedo":"Genomatix Tuxedo Framework","application/vnd.geogebra.file":"GeoGebra","application/vnd.geogebra.tool":"GeoGebra","model/vnd.gdl":"Geometric Description Language (GDL)","application/vnd.geometry-explorer":"GeoMetry Explorer","application/vnd.geonext":"GEONExT and JSXGraph","application/vnd.geoplan":"GeoplanW","application/vnd.geospace":"GeospacW","application/x-font-ghostscript":"Ghostscript Font","application/x-font-bdf":"Glyph Bitmap Distribution Format","application/x-gtar":"GNU Tar Files","application/x-texinfo":"GNU Texinfo Document","application/x-gnumeric":"Gnumeric","application/vnd.google-earth.kml+xml":"Google Earth - KML","application/vnd.google-earth.kmz":"Google Earth - Zipped KML","application/vnd.grafeq":"GrafEq","image/gif":"GIF","text/vnd.graphviz":"Graphviz","application/vnd.groove-account":"Groove - Account","application/vnd.groove-help":"Groove - Help","application/vnd.groove-identity-message":"Groove - Identity Message","application/vnd.groove-injector":"Groove - Injector","application/vnd.groove-tool-message":"Groove - Tool Message","application/vnd.groove-tool-template":"Groove - Tool Template","application/vnd.groove-vcard":"Groove - Vcard","video/h261":"H.261","video/h263":"H.263","video/h264":"H.264","application/vnd.hp-hpid":"Hewlett Packard Instant Delivery","application/vnd.hp-hps":"Hewlett-Packard's WebPrintSmart","application/x-hdf":"Hierarchical Data Format","audio/vnd.rip":"Hit'n'Mix","application/vnd.hbci":"Homebanking Computer Interface (HBCI)","application/vnd.hp-jlyt":"HP Indigo Digital Press - Job Layout Language","application/vnd.hp-pcl":"HP Printer Command Language","application/vnd.hp-hpgl":"HP-GL/2 and HP RTL","application/vnd.yamaha.hv-script":"HV Script","application/vnd.yamaha.hv-dic":"HV Voice Dictionary","application/vnd.yamaha.hv-voice":"HV Voice Parameter","application/vnd.hydrostatix.sof-data":"Hydrostatix Master Suite","application/hyperstudio":"Hyperstudio","application/vnd.hal+xml":"Hypertext Application Language","text/html":"HTML","application/vnd.ibm.rights-management":"IBM DB2 Rights Manager","application/vnd.ibm.secure-container":"IBM Electronic Media Management System - Secure Container","text/calendar":"iCalendar","application/vnd.iccprofile":"ICC profile","image/x-icon":"Icon Image","application/vnd.igloader":"igLoader","image/ief":"Image Exchange Format","application/vnd.immervision-ivp":"ImmerVision PURE Players","application/vnd.immervision-ivu":"ImmerVision PURE Players","application/reginfo+xml":"IMS Networks","text/vnd.in3d.3dml":"In3D - 3DML","text/vnd.in3d.spot":"In3D - 3DML","model/iges":"Initial Graphics Exchange Specification (IGES)","application/vnd.intergeo":"Interactive Geometry Software","application/vnd.cinderella":"Interactive Geometry Software Cinderella","application/vnd.intercon.formnet":"Intercon FormNet","application/vnd.isac.fcs":"International Society for Advancement of Cytometry","application/ipfix":"Internet Protocol Flow Information Export","application/pkix-cert":"Internet Public Key Infrastructure - Certificate","application/pkixcmp":"Internet Public Key Infrastructure - Certificate Management Protocole","application/pkix-crl":"Internet Public Key Infrastructure - Certificate Revocation Lists","application/pkix-pkipath":"Internet Public Key Infrastructure - Certification Path","application/vnd.insors.igm":"IOCOM Visimeet","application/vnd.ipunplugged.rcprofile":"IP Unplugged Roaming Client","application/vnd.irepository.package+xml":"iRepository / Lucidoc Editor","text/vnd.sun.j2me.app-descriptor":"J2ME App Descriptor","application/java-archive":"Java Archive","application/java-vm":"Java Bytecode File","application/x-java-jnlp-file":"Java Network Launching Protocol","application/java-serialized-object":"Java Serialized Object","text/x-java-source,java":"Java Source File","application/javascript":"JavaScript","text/javascript":"JavaScript","application/json":"JSON","application/vnd.joost.joda-archive":"Joda Archive","video/jpm":"JPG","image/jpeg":"JPG","image/x-citrix-jpeg":"JPG","image/pjpeg":"JPG","video/jpeg":"JPGVideo","application/vnd.kahootz":"Kahootz","application/vnd.chipnuts.karaoke-mmd":"Karaoke on Chipnuts Chipsets","application/vnd.kde.karbon":"KDE KOffice Office Suite - Karbon","application/vnd.kde.kchart":"KDE KOffice Office Suite - KChart","application/vnd.kde.kformula":"KDE KOffice Office Suite - Kformula","application/vnd.kde.kivio":"KDE KOffice Office Suite - Kivio","application/vnd.kde.kontour":"KDE KOffice Office Suite - Kontour","application/vnd.kde.kpresenter":"KDE KOffice Office Suite - Kpresenter","application/vnd.kde.kspread":"KDE KOffice Office Suite - Kspread","application/vnd.kde.kword":"KDE KOffice Office Suite - Kword","application/vnd.kenameaapp":"Kenamea App","application/vnd.kidspiration":"Kidspiration","application/vnd.kinar":"Kinar Applications","application/vnd.kodak-descriptor":"Kodak Storyshare","application/vnd.las.las+xml":"Laser App Enterprise","application/x-latex":"LaTeX","application/vnd.llamagraphics.life-balance.desktop":"Life Balance - Desktop Edition","application/vnd.llamagraphics.life-balance.exchange+xml":"Life Balance - Exchange Format","application/vnd.jam":"Lightspeed Audio Lab","application/vnd.lotus-1-2-3":"Lotus 1-2-3","application/vnd.lotus-approach":"Lotus Approach","application/vnd.lotus-freelance":"Lotus Freelance","application/vnd.lotus-notes":"Lotus Notes","application/vnd.lotus-organizer":"Lotus Organizer","application/vnd.lotus-screencam":"Lotus Screencam","application/vnd.lotus-wordpro":"Lotus Wordpro","audio/vnd.lucent.voice":"Lucent Voice","audio/x-mpegurl":"M3U (Multimedia Playlist)","video/x-m4v":"M4v","application/mac-binhex40":"Macintosh BinHex 4.0","application/vnd.macports.portpkg":"MacPorts Port System","application/vnd.osgeo.mapguide.package":"MapGuide DBXML","application/marc":"MARC Formats","application/marcxml+xml":"MARC21 XML Schema","application/mxf":"Material Exchange Format","application/vnd.wolfram.player":"Mathematica Notebook Player","application/mathematica":"Mathematica Notebooks","application/mathml+xml":"Mathematical Markup Language","application/mbox":"Mbox database files","application/vnd.medcalcdata":"MedCalc","application/mediaservercontrol+xml":"Media Server Control Markup Language","application/vnd.mediastation.cdkey":"MediaRemote","application/vnd.mfer":"Medical Waveform Encoding Format","application/vnd.mfmp":"Melody Format for Mobile Platform","model/mesh":"Mesh Data Type","application/mads+xml":"Metadata Authority Description Schema","application/mets+xml":"Metadata Encoding and Transmission Standard","application/mods+xml":"Metadata Object Description Schema","application/metalink4+xml":"Metalink","application/vnd.mcd":"Micro CADAM Helix D&D","application/vnd.micrografx.flo":"Micrografx","application/vnd.micrografx.igx":"Micrografx iGrafx Professional","application/vnd.eszigno3+xml":"MICROSEC e-Szign¢","application/x-msaccess":"Access","video/x-ms-asf":"MS ASF","application/x-msdownload":"MS App","application/vnd.ms-artgalry":"MS Artgalry","application/vnd.ms-cab-compressed":"MS Cabinet File","application/vnd.ms-ims":"MS Class Server","application/x-ms-application":"MS ClickOnce","application/x-msclip":"MS Clipboard Clip","image/vnd.ms-modi":"MS Document Imaging Format","application/vnd.ms-fontobject":"MS Embedded OpenType","application/vnd.ms-excel":"Excel","application/vnd.ms-excel.addin.macroenabled.12":"MS Excel - Add-In File","application/vnd.ms-excel.sheet.binary.macroenabled.12":"MS Excel - Binary Workbook","application/vnd.ms-excel.template.macroenabled.12":"MS Excel - Macro-Enabled Template File","application/vnd.ms-excel.sheet.macroenabled.12":"MS Excel - Macro-Enabled Workbook","application/vnd.ms-htmlhelp":"MS Html Help File","application/x-mscardfile":"MS Information Card","application/vnd.ms-lrm":"MS Learning Resource Module","application/x-msmediaview":"MS MediaView","application/x-msmoney":"MS Money","application/vnd.openxmlformats-officedocument.presentationml.presentation":"MS Office - OOXML - Presentation","application/vnd.openxmlformats-officedocument.presentationml.slide":"MS Office - OOXML - Presentation (Slide)","application/vnd.openxmlformats-officedocument.presentationml.slideshow":"MS Office - OOXML - Presentation (Slideshow)","application/vnd.openxmlformats-officedocument.presentationml.template":"MS Office - OOXML - Presentation Template","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"MS Office - OOXML - Spreadsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template":"MS Office - OOXML - Spreadsheet Template","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"MS Office - OOXML - Word Document","application/vnd.openxmlformats-officedocument.wordprocessingml.template":"MS Office - OOXML - Word Document Template","application/x-msbinder":"MS Office Binder","application/vnd.ms-officetheme":"MS Office System Release Theme","application/onenote":"OneNote","audio/vnd.ms-playready.media.pya":"MS PlayReady Ecosystem","video/vnd.ms-playready.media.pyv":"MS PlayReady Ecosystem Video","application/vnd.ms-powerpoint":"PowerPoint","application/vnd.ms-powerpoint.addin.macroenabled.12":"PowerPoint - Add-in file","application/vnd.ms-powerpoint.slide.macroenabled.12":"PowerPoint - Macro-Enabled Open XML Slide","application/vnd.ms-powerpoint.presentation.macroenabled.12":"PowerPoint - Macro-Enabled Presentation File","application/vnd.ms-powerpoint.slideshow.macroenabled.12":"PowerPoint - Macro-Enabled Slide Show File","application/vnd.ms-powerpoint.template.macroenabled.12":"PowerPoint - Macro-Enabled Template File","application/vnd.ms-project":"MS Project","application/x-mspublisher":"MS Publisher","application/x-msschedule":"MS Schedule+","application/x-silverlight-app":"MS Silverlight","application/vnd.ms-pki.stl":"MS Trust UI Provider - Certificate Trust Link","application/vnd.ms-pki.seccat":"MS Trust UI Provider - Security Catalog","application/vnd.visio":"Visio","application/vnd.visio2013":"Visio 2013","video/x-ms-wm":"MS Windows Media","audio/x-ms-wma":"WMA","audio/x-ms-wax":"MS Windows Media Audio Redirector","video/x-ms-wmx":"MS Windows Media Audio/Video Playlist","application/x-ms-wmd":"MS Windows Media Player Download Package","application/vnd.ms-wpl":"MS Windows Media Player Playlist","application/x-ms-wmz":"MS Windows Media Player Skin Package","video/x-ms-wmv":"WMV","video/x-ms-wvx":"MS Windows Media Video Playlist","application/x-msmetafile":"MS Windows Metafile","application/x-msterminal":"MS Windows Terminal Services","application/msword":"Word","application/vnd.ms-word.document.macroenabled.12":"MS Word - Macro-Enabled Document","application/vnd.ms-word.template.macroenabled.12":"MS Word - Macro-Enabled Template","application/x-mswrite":"MS Wordpad","application/vnd.ms-works":"MS Works","application/x-ms-xbap":"MS XAML Browser Application","application/vnd.ms-xpsdocument":"MS XML Paper Specification","audio/midi":"MIDI","application/vnd.ibm.minipay":"MiniPay","application/vnd.ibm.modcap":"MO:DCA-P","application/vnd.jcp.javame.midlet-rms":"Mobile Information Device Profile","application/vnd.tmobile-livetv":"MobileTV","application/x-mobipocket-ebook":"Mobipocket","application/vnd.mobius.mbk":"Mobius Management Systems - Basket file","application/vnd.mobius.dis":"Mobius Management Systems - Distribution Database","application/vnd.mobius.plc":"Mobius Management Systems - Policy Definition Language File","application/vnd.mobius.mqy":"Mobius Management Systems - Query File","application/vnd.mobius.msl":"Mobius Management Systems - Script Language","application/vnd.mobius.txf":"Mobius Management Systems - Topic Index File","application/vnd.mobius.daf":"Mobius Management Systems - UniversalArchive","text/vnd.fly":"mod_fly / fly.cgi","application/vnd.mophun.certificate":"Mophun Certificate","application/vnd.mophun.application":"Mophun VM","video/mj2":"Motion JPEG 2000","audio/mpeg":"MPEG Audio","video/vnd.mpegurl":"MPEG Url","video/mpeg":"MPEG","application/mp21":"MPEG-21","audio/mp4":"MP4 Audio","video/mp4":"MP4 Video","application/mp4":"MP4","application/vnd.apple.mpegurl":"Multimedia Playlist Unicode","application/vnd.musician":"MUsical Score Interpreted Code Invented for the ASCII designation of Notation","application/vnd.muvee.style":"Muvee Automatic Video Editing","application/xv+xml":"MXML","application/vnd.nokia.n-gage.data":"N-Gage Game Data","application/vnd.nokia.n-gage.symbian.install":"N-Gage Game Installer","application/x-dtbncx+xml":"Navigation Control file for XML (for ePub)","application/x-netcdf":"Network Common Data Form (NetCDF)","application/vnd.neurolanguage.nlu":"neuroLanguage","application/vnd.dna":"New Moon Liftoff/DNA","application/vnd.noblenet-directory":"NobleNet Directory","application/vnd.noblenet-sealer":"NobleNet Sealer","application/vnd.noblenet-web":"NobleNet Web","application/vnd.nokia.radio-preset":"Nokia Radio Application - Preset","application/vnd.nokia.radio-presets":"Nokia Radio Application - Preset","text/n3":"Notation3","application/vnd.novadigm.edm":"Novadigm's RADIA and EDM products","application/vnd.novadigm.edx":"Novadigm's RADIA and EDM products","application/vnd.novadigm.ext":"Novadigm's RADIA and EDM products","application/vnd.flographit":"NpGraphIt","audio/vnd.nuera.ecelp4800":"Nuera ECELP 4800","audio/vnd.nuera.ecelp7470":"Nuera ECELP 7470","audio/vnd.nuera.ecelp9600":"Nuera ECELP 9600","application/oda":"Office Document Architecture","application/ogg":"Ogg","audio/ogg":"Ogg Audio","video/ogg":"Ogg Video","application/vnd.oma.dd2+xml":"OMA Download Agents","application/vnd.oasis.opendocument.text-web":"Open Document Text Web","application/oebps-package+xml":"Open eBook Publication Structure","application/vnd.intu.qbo":"Open Financial Exchange","application/vnd.openofficeorg.extension":"Open Office Extension","application/vnd.yamaha.openscoreformat":"Open Score Format","audio/webm":"WebM Audio","video/webm":"WebM Video","application/vnd.oasis.opendocument.chart":"OpenDocument Chart","application/vnd.oasis.opendocument.chart-template":"OpenDocument Chart Template","application/vnd.oasis.opendocument.database":"OpenDocument Database","application/vnd.oasis.opendocument.formula":"OpenDocument Formula","application/vnd.oasis.opendocument.formula-template":"OpenDocument Formula Template","application/vnd.oasis.opendocument.graphics":"OpenDocument Graphics","application/vnd.oasis.opendocument.graphics-template":"OpenDocument Graphics Template","application/vnd.oasis.opendocument.image":"OpenDocument Image","application/vnd.oasis.opendocument.image-template":"OpenDocument Image Template","application/vnd.oasis.opendocument.presentation":"OpenDocument Presentation","application/vnd.oasis.opendocument.presentation-template":"OpenDocument Presentation Template","application/vnd.oasis.opendocument.spreadsheet":"OpenDocument Spreadsheet","application/vnd.oasis.opendocument.spreadsheet-template":"OpenDocument Spreadsheet Template","application/vnd.oasis.opendocument.text":"OpenDocument Text","application/vnd.oasis.opendocument.text-master":"OpenDocument Text Master","application/vnd.oasis.opendocument.text-template":"OpenDocument Text Template","image/ktx":"OpenGL Textures (KTX)","application/vnd.sun.xml.calc":"OpenOffice - Calc (Spreadsheet)","application/vnd.sun.xml.calc.template":"OpenOffice - Calc Template (Spreadsheet)","application/vnd.sun.xml.draw":"OpenOffice - Draw (Graphics)","application/vnd.sun.xml.draw.template":"OpenOffice - Draw Template (Graphics)","application/vnd.sun.xml.impress":"OpenOffice - Impress (Presentation)","application/vnd.sun.xml.impress.template":"OpenOffice - Impress Template (Presentation)","application/vnd.sun.xml.math":"OpenOffice - Math (Formula)","application/vnd.sun.xml.writer":"OpenOffice - Writer (Text - HTML)","application/vnd.sun.xml.writer.global":"OpenOffice - Writer (Text - HTML)","application/vnd.sun.xml.writer.template":"OpenOffice - Writer Template (Text - HTML)","application/x-font-otf":"OpenType Font File","application/vnd.yamaha.openscoreformat.osfpvg+xml":"OSFPVG","application/vnd.osgi.dp":"OSGi Deployment Package","application/vnd.palm":"PalmOS Data","text/x-pascal":"Pascal Source File","application/vnd.pawaafile":"PawaaFILE","application/vnd.hp-pclxl":"PCL 6 Enhanced (Formerly PCL XL)","application/vnd.picsel":"Pcsel eFIF File","image/x-pcx":"PCX Image","image/vnd.adobe.photoshop":"Photoshop Document","application/pics-rules":"PICSRules","image/x-pict":"PICT Image","application/x-chat":"pIRCh","application/pkcs10":"PKCS #10 - Certification Request Standard","application/x-pkcs12":"PKCS #12 - Personal Information Exchange Syntax Standard","application/pkcs7-mime":"PKCS #7 - Cryptographic Message Syntax Standard","application/pkcs7-signature":"PKCS #7 - Cryptographic Message Syntax Standard","application/x-pkcs7-certreqresp":"PKCS #7 - Cryptographic Message Syntax Standard (Certificate Request Response)","application/x-pkcs7-certificates":"PKCS #7 - Cryptographic Message Syntax Standard (Certificates)","application/pkcs8":"PKCS #8 - Private-Key Information Syntax Standard","application/vnd.pocketlearn":"PocketLearn Viewers","image/x-portable-anymap":"Portable Anymap Image","image/x-portable-bitmap":"Portable Bitmap Format","application/x-font-pcf":"Portable Compiled Format","application/font-tdpfr":"Portable Font Resource","application/x-chess-pgn":"Portable Game Notation (Chess Games)","image/x-portable-graymap":"Portable Graymap Format","image/png":"PNG","image/x-citrix-png":"PNG","image/x-png":"PNG","image/x-portable-pixmap":"Portable Pixmap Format","application/pskc+xml":"Portable Symmetric Key Container","application/vnd.ctc-posml":"PosML","application/postscript":"PostScript","application/x-font-type1":"PostScript Fonts","application/vnd.powerbuilder6":"PowerBuilder","application/pgp-encrypted":"Pretty Good Privacy","application/pgp-signature":"Pretty Good Privacy - Signature","application/vnd.previewsystems.box":"Preview Systems ZipLock/VBox","application/vnd.pvi.ptid1":"Princeton Video Image","application/pls+xml":"Pronunciation Lexicon Specification","application/vnd.pg.format":"Proprietary P&G Standard Reporting System","application/vnd.pg.osasli":"Proprietary P&G Standard Reporting System","text/prs.lines.tag":"PRS Lines Tag","application/x-font-linux-psf":"PSF Fonts","application/vnd.publishare-delta-tree":"PubliShare Objects","application/vnd.pmi.widget":"Qualcomm's Plaza Mobile Internet","application/vnd.quark.quarkxpress":"QuarkXpress","application/vnd.epson.esf":"QUASS Stream Player","application/vnd.epson.msf":"QUASS Stream Player","application/vnd.epson.ssf":"QUASS Stream Player","application/vnd.epson.quickanime":"QuickAnime Player","application/vnd.intu.qfx":"Quicken","video/quicktime":"Quicktime Video","application/x-rar-compressed":"RAR Archive","audio/x-pn-realaudio":"Real Audio Sound","audio/x-pn-realaudio-plugin":"Real Audio Sound","application/rsd+xml":"Really Simple Discovery","application/vnd.rn-realmedia":"RealMedia","application/vnd.realvnc.bed":"RealVNC","application/vnd.recordare.musicxml":"Recordare Applications","application/vnd.recordare.musicxml+xml":"Recordare Applications","application/relax-ng-compact-syntax":"Relax NG Compact Syntax","application/vnd.data-vision.rdz":"RemoteDocs R-Viewer","application/rdf+xml":"Resource Description Framework","application/vnd.cloanto.rp9":"RetroPlatform Player","application/vnd.jisp":"RhymBox","application/rtf":"Rich Text","text/richtext":"Rich Text","application/vnd.route66.link66+xml":"ROUTE 66 Location Based Services","application/rss+xml":"RSS","application/shf+xml":"S Hexdump Format","application/vnd.sailingtracker.track":"SailingTracker","image/svg+xml":"SVG","application/vnd.sus-calendar":"ScheduleUs","application/sru+xml":"Search/Retrieve via URL Response Format","application/set-payment-initiation":"Secure Electronic Transaction - Payment","application/set-registration-initiation":"Secure Electronic Transaction - Registration","application/vnd.sema":"Secured eMail","application/vnd.semd":"Secured eMail","application/vnd.semf":"Secured eMail","application/vnd.seemail":"SeeMail","application/x-font-snf":"Server Normal Format","application/scvp-vp-request":"Server-Based Certificate Validation Protocol - Validation Policies - Request","application/scvp-vp-response":"Server-Based Certificate Validation Protocol - Validation Policies - Response","application/scvp-cv-request":"Server-Based Certificate Validation Protocol - Validation Request","application/scvp-cv-response":"Server-Based Certificate Validation Protocol - Validation Response","application/sdp":"Session Description Protocol","text/x-setext":"Setext","video/x-sgi-movie":"SGI Movie","application/vnd.shana.informed.formdata":"Shana Informed Filler","application/vnd.shana.informed.formtemplate":"Shana Informed Filler","application/vnd.shana.informed.interchange":"Shana Informed Filler","application/vnd.shana.informed.package":"Shana Informed Filler","application/thraud+xml":"Sharing Transaction Fraud Data","application/x-shar":"Shell Archive","image/x-rgb":"Silicon Graphics RGB Bitmap","application/vnd.epson.salt":"SimpleAnimeLite Player","application/vnd.accpac.simply.aso":"Simply Accounting","application/vnd.accpac.simply.imp":"Simply Accounting - Data Import","application/vnd.simtech-mindmapper":"SimTech MindMapper","application/vnd.commonspace":"Sixth Floor Media - CommonSpace","application/vnd.yamaha.smaf-audio":"SMAF Audio","application/vnd.smaf":"SMAF File","application/vnd.yamaha.smaf-phrase":"SMAF Phrase","application/vnd.smart.teacher":"SMART Technologies Apps","application/vnd.svd":"SourceView Document","application/sparql-query":"SPARQL - Query","application/sparql-results+xml":"SPARQL - Results","application/srgs":"Speech Recognition Grammar Specification","application/srgs+xml":"Speech Recognition Grammar Specification - XML","application/ssml+xml":"Speech Synthesis Markup Language","application/vnd.koan":"SSEYO Koan Play File","text/sgml":"SGML","application/vnd.stardivision.calc":"StarOffice - Calc","application/vnd.stardivision.draw":"StarOffice - Draw","application/vnd.stardivision.impress":"StarOffice - Impress","application/vnd.stardivision.math":"StarOffice - Math","application/vnd.stardivision.writer":"StarOffice - Writer","application/vnd.stardivision.writer-global":"StarOffice - Writer (Global)","application/vnd.stepmania.stepchart":"StepMania","application/x-stuffit":"Stuffit Archive","application/x-stuffitx":"Stuffit Archive","application/vnd.solent.sdkm+xml":"SudokuMagic","application/vnd.olpc-sugar":"Sugar Linux Application Bundle","audio/basic":"Sun Audio - Au file format","application/vnd.wqd":"SundaHus WQ","application/vnd.symbian.install":"Symbian Install Package","application/smil+xml":"Synchronized Multimedia Integration Language","application/vnd.syncml+xml":"SyncML","application/vnd.syncml.dm+wbxml":"SyncML - Device Management","application/vnd.syncml.dm+xml":"SyncML - Device Management","application/x-sv4cpio":"System V Release 4 CPIO Archive","application/x-sv4crc":"System V Release 4 CPIO Checksum Data","application/sbml+xml":"Systems Biology Markup Language","text/tab-separated-values":"Tab Separated Values","image/tiff":"TIFF","application/vnd.tao.intent-module-archive":"Tao Intent","application/x-tar":"Tar File","application/x-tcl":"Tcl Script","application/x-tex":"TeX","application/x-tex-tfm":"TeX Font Metric","application/tei+xml":"Text Encoding and Interchange","text/plain":"Text","application/vnd.spotfire.dxp":"TIBCO Spotfire","application/vnd.spotfire.sfs":"TIBCO Spotfire","application/timestamped-data":"Time Stamped Data Envelope","application/vnd.trid.tpt":"TRI Systems Config","application/vnd.triscape.mxs":"Triscape Map Explorer","text/troff":"troff","application/vnd.trueapp":"True BASIC","application/x-font-ttf":"TrueType Font","text/turtle":"Turtle (Terse RDF Triple Language)","application/vnd.umajin":"UMAJIN","application/vnd.uoml+xml":"Unique Object Markup Language","application/vnd.unity":"Unity 3d","application/vnd.ufdl":"Universal Forms Description Language","text/uri-list":"URI Resolution Services","application/vnd.uiq.theme":"User Interface Quartz - Theme (Symbian)","application/x-ustar":"Ustar (Uniform Standard Tape Archive)","text/x-uuencode":"UUEncode","text/x-vcalendar":"vCalendar","text/x-vcard":"vCard","application/x-cdlink":"Video CD","application/vnd.vsf":"Viewport+","model/vrml":"Virtual Reality Modeling Language","application/vnd.vcx":"VirtualCatalog","model/vnd.mts":"Virtue MTS","model/vnd.vtu":"Virtue VTU","application/vnd.visionary":"Visionary","video/vnd.vivo":"Vivo","application/ccxml+xml,":"Voice Browser Call Control","application/voicexml+xml":"VoiceXML","application/x-wais-source":"WAIS Source","application/vnd.wap.wbxml":"WAP Binary XML (WBXML)","image/vnd.wap.wbmp":"WBMP","audio/x-wav":"WAV","application/davmount+xml":"Web Distributed Authoring and Versioning","application/x-font-woff":"WOFF","application/wspolicy+xml":"Web Services Policy","image/webp":"WebP","application/vnd.webturbo":"WebTurbo","application/widget":"Widget Packaging and XML Configuration","application/winhlp":"WinHelp","text/vnd.wap.wml":"WML","text/vnd.wap.wmlscript":"WMLScript","application/vnd.wap.wmlscriptc":"WMLScript","application/vnd.wordperfect":"Wordperfect","application/vnd.wt.stf":"Worldtalk","application/wsdl+xml":"WSDL","image/x-xbitmap":"X BitMap","image/x-xpixmap":"X PixMap","image/x-xwindowdump":"X Window Dump","application/x-x509-ca-cert":"X.509 Certificate","application/x-xfig":"Xfig","application/xhtml+xml":"XHTML","application/xml":"XML","application/xcap-diff+xml":"XML Configuration Access Protocol - XCAP Diff","application/xenc+xml":"XML Encryption Syntax and Processing","application/patch-ops-error+xml":"XML Patch Framework","application/resource-lists+xml":"XML Resource Lists","application/rls-services+xml":"XML Resource Lists","application/resource-lists-diff+xml":"XML Resource Lists Diff","application/xslt+xml":"XML Transformations","application/xop+xml":"XML-Binary Optimized Packaging","application/x-xpinstall":"XPInstall - Mozilla","application/xspf+xml":"XSPF - XML Shareable Playlist Format","application/vnd.mozilla.xul+xml":"XUL - XML User Interface Language","chemical/x-xyz":"XYZ File Format","text/yaml":"YAML","application/yang":"YANG Data Modeling Language","application/yin+xml":"YIN (YANG - XML)","application/vnd.zul":"Z.U.L. Geometry","application/zip":"Zip Archive","application/vnd.handheld-entertainment+xml":"ZVUE Media Manager","application/vnd.zzazz.deck+xml":"Zzazz Deck","image/heic":"High Efficiency Image Container","image/heif":"High Efficiency Image Format"};function tm(n,e=!1){return e?t4e[n]||null:n4e[n]||null}function fs(n,e){const t=new URL(`assets/${n}`,v5());return e&&t.searchParams.set("download",""),t.href}const i4e={key:0,class:"extension"},o4e=Pt({__name:"file",props:{value:{default:null}},setup(n){const e=n,t=Oe(),i=Oe(!1),o=Ce(()=>e.value?tm(e.value.type,!0):null),a=Ce(()=>{var r,l;return e.value?(r=e.value.type)!=null&&r.includes("svg")?fs(e.value.id):((l=e.value.type)==null?void 0:l.includes("image"))===!1?null:fs(`${e.value.id}?key=system-small-cover`):null});return(r,l)=>{var d,g;const s=G("v-image"),u=G("v-icon");return a.value&&!i.value?(j(),ye(s,{key:0,src:a.value,class:yn({"is-svg":r.value&&((d=r.value.type)==null?void 0:d.includes("svg"))}),alt:(g=r.value)==null?void 0:g.title,onError:l[0]||(l[0]=m=>i.value=!0)},null,8,["src","class","alt"])):(j(),Re("div",{key:1,ref_key:"previewEl",ref:t,class:"preview"},[o.value?(j(),Re("span",i4e,me(o.value),1)):(j(),ye(u,{key:1,name:"folder_open"}))],512))}}}),r4e=Wt(o4e,[["__scopeId","data-v-0740e758"]]),a4e=Du({id:"file",name:"$t:displays.file.file",description:"$t:displays.file.description",icon:"insert_drive_file",component:r4e,types:["uuid"],localTypes:["file"],options:[],fields:["id","type","title"]});function J3(n=0,e=!0){const t=e?1e3:1024;if(!n)return"--";if(Math.abs(n)<t)return`${n} B`;const i=e?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let o=-1,a=n;do a/=t,o+=1;while(Math.abs(a)>=t&&o<i.length-1);return`${a.toFixed(1)} ${i[o]}`}const s4e=Du({id:"filesize",name:"$t:displays.filesize.filesize",description:"$t:displays.filesize.description",icon:"description",component:({value:n})=>K0("span",null,J3(n)),handler:n=>J3(n),options:[],types:["integer","bigInteger"]}),l4e=["onClick"],c4e={class:"label"},u4e={key:2},d4e=Pt({__name:"formatted-json-value",props:{value:{default:null},format:{default:null}},setup(n){const e=n,{t}=un(),i=Ce(()=>{if(!e.value)return null;try{return Array.isArray(e.value)?e.value.map(a=>o(a)):[o(e.value)]}catch{return null}});function o(a){return e.format?Qh(e.format,a):Qh("{{ value }}",{value:a})}return(a,r)=>{const l=G("value-null"),s=G("v-list-item-content"),u=G("v-list-item"),d=G("v-list"),g=G("v-menu");return i.value?i.value.length>1?(j(),ye(g,{key:1,"show-arrow":""},{activator:I(({toggle:m})=>[ke("span",{class:"toggle",onClick:Ji(m,["stop"])},[ke("span",c4e,me(i.value.length)+" "+me(h(t)("items")),1)],8,l4e)]),default:I(()=>[T(d,{class:"links"},{default:I(()=>[(j(!0),Re(hn,null,Si(i.value,(m,_)=>(j(),ye(u,{key:_},{default:I(()=>[T(s,null,{default:I(()=>[ze(me(m),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):(j(),Re("span",u4e,me(i.value[0]),1)):(j(),ye(l,{key:0}))}}}),f4e=Du({id:"formatted-json-value",name:"$t:displays.formatted-json-value.formatted-json-value",description:"$t:displays.formatted-json-value.description",types:["json","geometry"],icon:"settings_ethernet",component:d4e,handler:(n,e)=>Xc(n).map(t=>e.format?Qh(t,e.format):t).join(", "),options:[{field:"format",name:"$t:display_template",type:"string",meta:{width:"full",interface:"input",options:{placeholder:"{{ field }}"}}}]});/*! @license DOMPurify 3.1.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.7/LICENSE */const{entries:Iz,setPrototypeOf:wL,isFrozen:p4e,getPrototypeOf:h4e,getOwnPropertyDescriptor:m4e}=Object;let{freeze:af,seal:gp,create:Mz}=Object,{apply:Fk,construct:Pk}=typeof Reflect<"u"&&Reflect;af||(af=function(e){return e});gp||(gp=function(e){return e});Fk||(Fk=function(e,t,i){return e.apply(t,i)});Pk||(Pk=function(e,t){return new e(...t)});const Fb=T1(Array.prototype.forEach),kL=T1(Array.prototype.pop),g4=T1(Array.prototype.push),N6=T1(String.prototype.toLowerCase),Cx=T1(String.prototype.toString),CL=T1(String.prototype.match),y4=T1(String.prototype.replace),v4e=T1(String.prototype.indexOf),g4e=T1(String.prototype.trim),Gp=T1(Object.prototype.hasOwnProperty),Kd=T1(RegExp.prototype.test),_4=y4e(TypeError);function T1(n){return function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return Fk(n,e,i)}}function y4e(n){return function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return Pk(n,t)}}function va(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N6;wL&&wL(n,null);let i=e.length;for(;i--;){let o=e[i];if(typeof o=="string"){const a=t(o);a!==o&&(p4e(e)||(e[i]=a),o=a)}n[o]=!0}return n}function _4e(n){for(let e=0;e<n.length;e++)Gp(n,e)||(n[e]=null);return n}function A0(n){const e=Mz(null);for(const[t,i]of Iz(n))Gp(n,t)&&(Array.isArray(i)?e[t]=_4e(i):i&&typeof i=="object"&&i.constructor===Object?e[t]=A0(i):e[t]=i);return e}function b4(n,e){for(;n!==null;){const i=m4e(n,e);if(i){if(i.get)return T1(i.get);if(typeof i.value=="function")return T1(i.value)}n=h4e(n)}function t(){return null}return t}const SL=af(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Sx=af(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ex=af(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),b4e=af(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ax=af(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),x4e=af(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),EL=af(["#text"]),AL=af(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Tx=af(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),TL=af(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Pb=af(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),w4e=gp(/\{\{[\w\W]*|[\w\W]*\}\}/gm),k4e=gp(/<%[\w\W]*|[\w\W]*%>/gm),C4e=gp(/\${[\w\W]*}/gm),S4e=gp(/^data-[\-\w.\u00B7-\uFFFF]/),E4e=gp(/^aria-[\-\w]+$/),Fz=gp(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),A4e=gp(/^(?:\w+script|data):/i),T4e=gp(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Pz=gp(/^html$/i),D4e=gp(/^[a-z][.\w]*(-[.\w]+)+$/i);var DL=Object.freeze({__proto__:null,MUSTACHE_EXPR:w4e,ERB_EXPR:k4e,TMPLIT_EXPR:C4e,DATA_ATTR:S4e,ARIA_ATTR:E4e,IS_ALLOWED_URI:Fz,IS_SCRIPT_OR_DATA:A4e,ATTR_WHITESPACE:T4e,DOCTYPE_NAME:Pz,CUSTOM_ELEMENT:D4e});const x4={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},L4e=function(){return typeof window>"u"?null:window},I4e=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let i=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(i=t.getAttribute(o));const a="dompurify"+(i?"#"+i:"");try{return e.createPolicy(a,{createHTML(r){return r},createScriptURL(r){return r}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function Oz(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:L4e();const e=$n=>Oz($n);if(e.version="3.1.7",e.removed=[],!n||!n.document||n.document.nodeType!==x4.document)return e.isSupported=!1,e;let{document:t}=n;const i=t,o=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:r,Node:l,Element:s,NodeFilter:u,NamedNodeMap:d=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:g,DOMParser:m,trustedTypes:_}=n,x=s.prototype,S=b4(x,"cloneNode"),A=b4(x,"remove"),F=b4(x,"nextSibling"),C=b4(x,"childNodes"),L=b4(x,"parentNode");if(typeof r=="function"){const $n=t.createElement("template");$n.content&&$n.content.ownerDocument&&(t=$n.content.ownerDocument)}let w,$="";const{implementation:B,createNodeIterator:V,createDocumentFragment:W,getElementsByTagName:J}=t,{importNode:oe}=i;let ue={};e.isSupported=typeof Iz=="function"&&typeof L=="function"&&B&&B.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:be,ERB_EXPR:ie,TMPLIT_EXPR:fe,DATA_ATTR:Y,ARIA_ATTR:re,IS_SCRIPT_OR_DATA:ge,ATTR_WHITESPACE:he,CUSTOM_ELEMENT:Ie}=DL;let{IS_ALLOWED_URI:je}=DL,Ue=null;const Ee=va({},[...SL,...Sx,...Ex,...Ax,...EL]);let we=null;const lt=va({},[...AL,...Tx,...TL,...Pb]);let pt=Object.seal(Mz(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),yt=null,vt=null,ht=!0,rt=!0,St=!1,Ct=!0,kt=!1,It=!0,xt=!1,_t=!1,st=!1,Lt=!1,Xt=!1,Mt=!1,Et=!0,mn=!1;const Bn="user-content-";let xn=!0,oi=!1,rn={},Tn=null;const cn=va({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Sn=null;const dn=va({},["audio","video","img","source","image","track"]);let pn=null;const Kt=va({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),An="http://www.w3.org/1998/Math/MathML",_n="http://www.w3.org/2000/svg",Kn="http://www.w3.org/1999/xhtml";let Dn=Kn,yi=!1,ei=null;const _i=va({},[An,_n,Kn],Cx);let Fn=null;const ui=["application/xhtml+xml","text/html"],$i="text/html";let Un=null,eo=null;const Ht=t.createElement("form"),Vt=function(gn){return gn instanceof RegExp||gn instanceof Function},Be=function(){let gn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(eo&&eo===gn)){if((!gn||typeof gn!="object")&&(gn={}),gn=A0(gn),Fn=ui.indexOf(gn.PARSER_MEDIA_TYPE)===-1?$i:gn.PARSER_MEDIA_TYPE,Un=Fn==="application/xhtml+xml"?Cx:N6,Ue=Gp(gn,"ALLOWED_TAGS")?va({},gn.ALLOWED_TAGS,Un):Ee,we=Gp(gn,"ALLOWED_ATTR")?va({},gn.ALLOWED_ATTR,Un):lt,ei=Gp(gn,"ALLOWED_NAMESPACES")?va({},gn.ALLOWED_NAMESPACES,Cx):_i,pn=Gp(gn,"ADD_URI_SAFE_ATTR")?va(A0(Kt),gn.ADD_URI_SAFE_ATTR,Un):Kt,Sn=Gp(gn,"ADD_DATA_URI_TAGS")?va(A0(dn),gn.ADD_DATA_URI_TAGS,Un):dn,Tn=Gp(gn,"FORBID_CONTENTS")?va({},gn.FORBID_CONTENTS,Un):cn,yt=Gp(gn,"FORBID_TAGS")?va({},gn.FORBID_TAGS,Un):{},vt=Gp(gn,"FORBID_ATTR")?va({},gn.FORBID_ATTR,Un):{},rn=Gp(gn,"USE_PROFILES")?gn.USE_PROFILES:!1,ht=gn.ALLOW_ARIA_ATTR!==!1,rt=gn.ALLOW_DATA_ATTR!==!1,St=gn.ALLOW_UNKNOWN_PROTOCOLS||!1,Ct=gn.ALLOW_SELF_CLOSE_IN_ATTR!==!1,kt=gn.SAFE_FOR_TEMPLATES||!1,It=gn.SAFE_FOR_XML!==!1,xt=gn.WHOLE_DOCUMENT||!1,Lt=gn.RETURN_DOM||!1,Xt=gn.RETURN_DOM_FRAGMENT||!1,Mt=gn.RETURN_TRUSTED_TYPE||!1,st=gn.FORCE_BODY||!1,Et=gn.SANITIZE_DOM!==!1,mn=gn.SANITIZE_NAMED_PROPS||!1,xn=gn.KEEP_CONTENT!==!1,oi=gn.IN_PLACE||!1,je=gn.ALLOWED_URI_REGEXP||Fz,Dn=gn.NAMESPACE||Kn,pt=gn.CUSTOM_ELEMENT_HANDLING||{},gn.CUSTOM_ELEMENT_HANDLING&&Vt(gn.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(pt.tagNameCheck=gn.CUSTOM_ELEMENT_HANDLING.tagNameCheck),gn.CUSTOM_ELEMENT_HANDLING&&Vt(gn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(pt.attributeNameCheck=gn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),gn.CUSTOM_ELEMENT_HANDLING&&typeof gn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(pt.allowCustomizedBuiltInElements=gn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),kt&&(rt=!1),Xt&&(Lt=!0),rn&&(Ue=va({},EL),we=[],rn.html===!0&&(va(Ue,SL),va(we,AL)),rn.svg===!0&&(va(Ue,Sx),va(we,Tx),va(we,Pb)),rn.svgFilters===!0&&(va(Ue,Ex),va(we,Tx),va(we,Pb)),rn.mathMl===!0&&(va(Ue,Ax),va(we,TL),va(we,Pb))),gn.ADD_TAGS&&(Ue===Ee&&(Ue=A0(Ue)),va(Ue,gn.ADD_TAGS,Un)),gn.ADD_ATTR&&(we===lt&&(we=A0(we)),va(we,gn.ADD_ATTR,Un)),gn.ADD_URI_SAFE_ATTR&&va(pn,gn.ADD_URI_SAFE_ATTR,Un),gn.FORBID_CONTENTS&&(Tn===cn&&(Tn=A0(Tn)),va(Tn,gn.FORBID_CONTENTS,Un)),xn&&(Ue["#text"]=!0),xt&&va(Ue,["html","head","body"]),Ue.table&&(va(Ue,["tbody"]),delete yt.tbody),gn.TRUSTED_TYPES_POLICY){if(typeof gn.TRUSTED_TYPES_POLICY.createHTML!="function")throw _4('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof gn.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw _4('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=gn.TRUSTED_TYPES_POLICY,$=w.createHTML("")}else w===void 0&&(w=I4e(_,o)),w!==null&&typeof $=="string"&&($=w.createHTML(""));af&&af(gn),eo=gn}},Ze=va({},["mi","mo","mn","ms","mtext"]),tt=va({},["annotation-xml"]),ct=va({},["title","style","font","a","script"]),Nt=va({},[...Sx,...Ex,...b4e]),Gt=va({},[...Ax,...x4e]),tn=function(gn){let ci=L(gn);(!ci||!ci.tagName)&&(ci={namespaceURI:Dn,tagName:"template"});const si=N6(gn.tagName),uo=N6(ci.tagName);return ei[gn.namespaceURI]?gn.namespaceURI===_n?ci.namespaceURI===Kn?si==="svg":ci.namespaceURI===An?si==="svg"&&(uo==="annotation-xml"||Ze[uo]):!!Nt[si]:gn.namespaceURI===An?ci.namespaceURI===Kn?si==="math":ci.namespaceURI===_n?si==="math"&&tt[uo]:!!Gt[si]:gn.namespaceURI===Kn?ci.namespaceURI===_n&&!tt[uo]||ci.namespaceURI===An&&!Ze[uo]?!1:!Gt[si]&&(ct[si]||!Nt[si]):!!(Fn==="application/xhtml+xml"&&ei[gn.namespaceURI]):!1},Bt=function(gn){g4(e.removed,{element:gn});try{L(gn).removeChild(gn)}catch{A(gn)}},Ft=function(gn,ci){try{g4(e.removed,{attribute:ci.getAttributeNode(gn),from:ci})}catch{g4(e.removed,{attribute:null,from:ci})}if(ci.removeAttribute(gn),gn==="is"&&!we[gn])if(Lt||Xt)try{Bt(ci)}catch{}else try{ci.setAttribute(gn,"")}catch{}},en=function(gn){let ci=null,si=null;if(st)gn="<remove></remove>"+gn;else{const f=CL(gn,/^[\r\n\t ]+/);si=f&&f[0]}Fn==="application/xhtml+xml"&&Dn===Kn&&(gn='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+gn+"</body></html>");const uo=w?w.createHTML(gn):gn;if(Dn===Kn)try{ci=new m().parseFromString(uo,Fn)}catch{}if(!ci||!ci.documentElement){ci=B.createDocument(Dn,"template",null);try{ci.documentElement.innerHTML=yi?$:uo}catch{}}const it=ci.body||ci.documentElement;return gn&&si&&it.insertBefore(t.createTextNode(si),it.childNodes[0]||null),Dn===Kn?J.call(ci,xt?"html":"body")[0]:xt?ci.documentElement:it},di=function(gn){return V.call(gn.ownerDocument||gn,gn,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},vi=function(gn){return gn instanceof g&&(typeof gn.nodeName!="string"||typeof gn.textContent!="string"||typeof gn.removeChild!="function"||!(gn.attributes instanceof d)||typeof gn.removeAttribute!="function"||typeof gn.setAttribute!="function"||typeof gn.namespaceURI!="string"||typeof gn.insertBefore!="function"||typeof gn.hasChildNodes!="function")},zn=function(gn){return typeof l=="function"&&gn instanceof l},li=function(gn,ci,si){ue[gn]&&Fb(ue[gn],uo=>{uo.call(e,ci,si,eo)})},Ni=function(gn){let ci=null;if(li("beforeSanitizeElements",gn,null),vi(gn))return Bt(gn),!0;const si=Un(gn.nodeName);if(li("uponSanitizeElement",gn,{tagName:si,allowedTags:Ue}),gn.hasChildNodes()&&!zn(gn.firstElementChild)&&Kd(/<[/\w]/g,gn.innerHTML)&&Kd(/<[/\w]/g,gn.textContent)||gn.nodeType===x4.progressingInstruction||It&&gn.nodeType===x4.comment&&Kd(/<[/\w]/g,gn.data))return Bt(gn),!0;if(!Ue[si]||yt[si]){if(!yt[si]&&oo(si)&&(pt.tagNameCheck instanceof RegExp&&Kd(pt.tagNameCheck,si)||pt.tagNameCheck instanceof Function&&pt.tagNameCheck(si)))return!1;if(xn&&!Tn[si]){const uo=L(gn)||gn.parentNode,it=C(gn)||gn.childNodes;if(it&&uo){const f=it.length;for(let p=f-1;p>=0;--p){const b=S(it[p],!0);b.__removalCount=(gn.__removalCount||0)+1,uo.insertBefore(b,F(gn))}}}return Bt(gn),!0}return gn instanceof s&&!tn(gn)||(si==="noscript"||si==="noembed"||si==="noframes")&&Kd(/<\/no(script|embed|frames)/i,gn.innerHTML)?(Bt(gn),!0):(kt&&gn.nodeType===x4.text&&(ci=gn.textContent,Fb([be,ie,fe],uo=>{ci=y4(ci,uo," ")}),gn.textContent!==ci&&(g4(e.removed,{element:gn.cloneNode()}),gn.textContent=ci)),li("afterSanitizeElements",gn,null),!1)},Fi=function(gn,ci,si){if(Et&&(ci==="id"||ci==="name")&&(si in t||si in Ht))return!1;if(!(rt&&!vt[ci]&&Kd(Y,ci))){if(!(ht&&Kd(re,ci))){if(!we[ci]||vt[ci]){if(!(oo(gn)&&(pt.tagNameCheck instanceof RegExp&&Kd(pt.tagNameCheck,gn)||pt.tagNameCheck instanceof Function&&pt.tagNameCheck(gn))&&(pt.attributeNameCheck instanceof RegExp&&Kd(pt.attributeNameCheck,ci)||pt.attributeNameCheck instanceof Function&&pt.attributeNameCheck(ci))||ci==="is"&&pt.allowCustomizedBuiltInElements&&(pt.tagNameCheck instanceof RegExp&&Kd(pt.tagNameCheck,si)||pt.tagNameCheck instanceof Function&&pt.tagNameCheck(si))))return!1}else if(!pn[ci]){if(!Kd(je,y4(si,he,""))){if(!((ci==="src"||ci==="xlink:href"||ci==="href")&&gn!=="script"&&v4e(si,"data:")===0&&Sn[gn])){if(!(St&&!Kd(ge,y4(si,he,"")))){if(si)return!1}}}}}}return!0},oo=function(gn){return gn!=="annotation-xml"&&CL(gn,Ie)},ri=function(gn){li("beforeSanitizeAttributes",gn,null);const{attributes:ci}=gn;if(!ci)return;const si={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:we};let uo=ci.length;for(;uo--;){const it=ci[uo],{name:f,namespaceURI:p,value:b}=it,E=Un(f);let O=f==="value"?b:g4e(b);if(si.attrName=E,si.attrValue=O,si.keepAttr=!0,si.forceKeepAttr=void 0,li("uponSanitizeAttribute",gn,si),O=si.attrValue,si.forceKeepAttr||(Ft(f,gn),!si.keepAttr))continue;if(!Ct&&Kd(/\/>/i,O)){Ft(f,gn);continue}kt&&Fb([be,ie,fe],q=>{O=y4(O,q," ")});const z=Un(gn.nodeName);if(Fi(z,E,O)){if(mn&&(E==="id"||E==="name")&&(Ft(f,gn),O=Bn+O),It&&Kd(/((--!?|])>)|<\/(style|title)/i,O)){Ft(f,gn);continue}if(w&&typeof _=="object"&&typeof _.getAttributeType=="function"&&!p)switch(_.getAttributeType(z,E)){case"TrustedHTML":{O=w.createHTML(O);break}case"TrustedScriptURL":{O=w.createScriptURL(O);break}}try{p?gn.setAttributeNS(p,f,O):gn.setAttribute(f,O),vi(gn)?Bt(gn):kL(e.removed)}catch{}}}li("afterSanitizeAttributes",gn,null)},Pi=function $n(gn){let ci=null;const si=di(gn);for(li("beforeSanitizeShadowDOM",gn,null);ci=si.nextNode();)li("uponSanitizeShadowNode",ci,null),!Ni(ci)&&(ci.content instanceof a&&$n(ci.content),ri(ci));li("afterSanitizeShadowDOM",gn,null)};return e.sanitize=function($n){let gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ci=null,si=null,uo=null,it=null;if(yi=!$n,yi&&($n="<!-->"),typeof $n!="string"&&!zn($n))if(typeof $n.toString=="function"){if($n=$n.toString(),typeof $n!="string")throw _4("dirty is not a string, aborting")}else throw _4("toString is not a function");if(!e.isSupported)return $n;if(_t||Be(gn),e.removed=[],typeof $n=="string"&&(oi=!1),oi){if($n.nodeName){const b=Un($n.nodeName);if(!Ue[b]||yt[b])throw _4("root node is forbidden and cannot be sanitized in-place")}}else if($n instanceof l)ci=en("<!---->"),si=ci.ownerDocument.importNode($n,!0),si.nodeType===x4.element&&si.nodeName==="BODY"||si.nodeName==="HTML"?ci=si:ci.appendChild(si);else{if(!Lt&&!kt&&!xt&&$n.indexOf("<")===-1)return w&&Mt?w.createHTML($n):$n;if(ci=en($n),!ci)return Lt?null:Mt?$:""}ci&&st&&Bt(ci.firstChild);const f=di(oi?$n:ci);for(;uo=f.nextNode();)Ni(uo)||(uo.content instanceof a&&Pi(uo.content),ri(uo));if(oi)return $n;if(Lt){if(Xt)for(it=W.call(ci.ownerDocument);ci.firstChild;)it.appendChild(ci.firstChild);else it=ci;return(we.shadowroot||we.shadowrootmode)&&(it=oe.call(i,it,!0)),it}let p=xt?ci.outerHTML:ci.innerHTML;return xt&&Ue["!doctype"]&&ci.ownerDocument&&ci.ownerDocument.doctype&&ci.ownerDocument.doctype.name&&Kd(Pz,ci.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+ci.ownerDocument.doctype.name+`>
53
53
  `+p),kt&&Fb([be,ie,fe],b=>{p=y4(p,b," ")}),w&&Mt?w.createHTML(p):p},e.setConfig=function(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Be($n),_t=!0},e.clearConfig=function(){eo=null,_t=!1},e.isValidAttribute=function($n,gn,ci){eo||Be({});const si=Un($n),uo=Un(gn);return Fi(si,uo,ci)},e.addHook=function($n,gn){typeof gn=="function"&&(ue[$n]=ue[$n]||[],g4(ue[$n],gn))},e.removeHook=function($n){if(ue[$n])return kL(ue[$n])},e.removeHooks=function($n){ue[$n]&&(ue[$n]=[])},e.removeAllHooks=function(){ue={}},e}var L_=Oz(),F7={},P7={};Object.defineProperty(P7,"__esModule",{value:!0});P7.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/&notin;|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/&centerdot;|&copysr;|&divideontimes;|&gtcc;|&gtcir;|&gtdot;|&gtlPar;|&gtquest;|&gtrapprox;|&gtrarr;|&gtrdot;|&gtreqless;|&gtreqqless;|&gtrless;|&gtrsim;|&ltcc;|&ltcir;|&ltdot;|&lthree;|&ltimes;|&ltlarr;|&ltquest;|&ltrPar;|&ltri;|&ltrie;|&ltrif;|&notin;|&notinE;|&notindot;|&notinva;|&notinvb;|&notinvc;|&notni;|&notniva;|&notnivb;|&notnivc;|&parallel;|&timesb;|&timesbar;|&timesd;|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g};P7.namedReferences={xml:{entities:{"&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&amp;":"&"},characters:{"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","&":"&amp;"}},html4:{entities:{"&apos;":"'","&nbsp":" ","&nbsp;":" ","&iexcl":"¡","&iexcl;":"¡","&cent":"¢","&cent;":"¢","&pound":"£","&pound;":"£","&curren":"¤","&curren;":"¤","&yen":"¥","&yen;":"¥","&brvbar":"¦","&brvbar;":"¦","&sect":"§","&sect;":"§","&uml":"¨","&uml;":"¨","&copy":"©","&copy;":"©","&ordf":"ª","&ordf;":"ª","&laquo":"«","&laquo;":"«","&not":"¬","&not;":"¬","&shy":"­","&shy;":"­","&reg":"®","&reg;":"®","&macr":"¯","&macr;":"¯","&deg":"°","&deg;":"°","&plusmn":"±","&plusmn;":"±","&sup2":"²","&sup2;":"²","&sup3":"³","&sup3;":"³","&acute":"´","&acute;":"´","&micro":"µ","&micro;":"µ","&para":"¶","&para;":"¶","&middot":"·","&middot;":"·","&cedil":"¸","&cedil;":"¸","&sup1":"¹","&sup1;":"¹","&ordm":"º","&ordm;":"º","&raquo":"»","&raquo;":"»","&frac14":"¼","&frac14;":"¼","&frac12":"½","&frac12;":"½","&frac34":"¾","&frac34;":"¾","&iquest":"¿","&iquest;":"¿","&Agrave":"À","&Agrave;":"À","&Aacute":"Á","&Aacute;":"Á","&Acirc":"Â","&Acirc;":"Â","&Atilde":"Ã","&Atilde;":"Ã","&Auml":"Ä","&Auml;":"Ä","&Aring":"Å","&Aring;":"Å","&AElig":"Æ","&AElig;":"Æ","&Ccedil":"Ç","&Ccedil;":"Ç","&Egrave":"È","&Egrave;":"È","&Eacute":"É","&Eacute;":"É","&Ecirc":"Ê","&Ecirc;":"Ê","&Euml":"Ë","&Euml;":"Ë","&Igrave":"Ì","&Igrave;":"Ì","&Iacute":"Í","&Iacute;":"Í","&Icirc":"Î","&Icirc;":"Î","&Iuml":"Ï","&Iuml;":"Ï","&ETH":"Ð","&ETH;":"Ð","&Ntilde":"Ñ","&Ntilde;":"Ñ","&Ograve":"Ò","&Ograve;":"Ò","&Oacute":"Ó","&Oacute;":"Ó","&Ocirc":"Ô","&Ocirc;":"Ô","&Otilde":"Õ","&Otilde;":"Õ","&Ouml":"Ö","&Ouml;":"Ö","&times":"×","&times;":"×","&Oslash":"Ø","&Oslash;":"Ø","&Ugrave":"Ù","&Ugrave;":"Ù","&Uacute":"Ú","&Uacute;":"Ú","&Ucirc":"Û","&Ucirc;":"Û","&Uuml":"Ü","&Uuml;":"Ü","&Yacute":"Ý","&Yacute;":"Ý","&THORN":"Þ","&THORN;":"Þ","&szlig":"ß","&szlig;":"ß","&agrave":"à","&agrave;":"à","&aacute":"á","&aacute;":"á","&acirc":"â","&acirc;":"â","&atilde":"ã","&atilde;":"ã","&auml":"ä","&auml;":"ä","&aring":"å","&aring;":"å","&aelig":"æ","&aelig;":"æ","&ccedil":"ç","&ccedil;":"ç","&egrave":"è","&egrave;":"è","&eacute":"é","&eacute;":"é","&ecirc":"ê","&ecirc;":"ê","&euml":"ë","&euml;":"ë","&igrave":"ì","&igrave;":"ì","&iacute":"í","&iacute;":"í","&icirc":"î","&icirc;":"î","&iuml":"ï","&iuml;":"ï","&eth":"ð","&eth;":"ð","&ntilde":"ñ","&ntilde;":"ñ","&ograve":"ò","&ograve;":"ò","&oacute":"ó","&oacute;":"ó","&ocirc":"ô","&ocirc;":"ô","&otilde":"õ","&otilde;":"õ","&ouml":"ö","&ouml;":"ö","&divide":"÷","&divide;":"÷","&oslash":"ø","&oslash;":"ø","&ugrave":"ù","&ugrave;":"ù","&uacute":"ú","&uacute;":"ú","&ucirc":"û","&ucirc;":"û","&uuml":"ü","&uuml;":"ü","&yacute":"ý","&yacute;":"ý","&thorn":"þ","&thorn;":"þ","&yuml":"ÿ","&yuml;":"ÿ","&quot":'"',"&quot;":'"',"&amp":"&","&amp;":"&","&lt":"<","&lt;":"<","&gt":">","&gt;":">","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&circ;":"ˆ","&tilde;":"˜","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&zwnj;":"‌","&zwj;":"‍","&lrm;":"‎","&rlm;":"‏","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&permil;":"‰","&lsaquo;":"‹","&rsaquo;":"›","&euro;":"€","&fnof;":"ƒ","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigmaf;":"ς","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&thetasym;":"ϑ","&upsih;":"ϒ","&piv;":"ϖ","&bull;":"•","&hellip;":"…","&prime;":"′","&Prime;":"″","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&trade;":"™","&alefsym;":"ℵ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&forall;":"∀","&part;":"∂","&exist;":"∃","&empty;":"∅","&nabla;":"∇","&isin;":"∈","&notin;":"∉","&ni;":"∋","&prod;":"∏","&sum;":"∑","&minus;":"−","&lowast;":"∗","&radic;":"√","&prop;":"∝","&infin;":"∞","&ang;":"∠","&and;":"∧","&or;":"∨","&cap;":"∩","&cup;":"∪","&int;":"∫","&there4;":"∴","&sim;":"∼","&cong;":"≅","&asymp;":"≈","&ne;":"≠","&equiv;":"≡","&le;":"≤","&ge;":"≥","&sub;":"⊂","&sup;":"⊃","&nsub;":"⊄","&sube;":"⊆","&supe;":"⊇","&oplus;":"⊕","&otimes;":"⊗","&perp;":"⊥","&sdot;":"⋅","&lceil;":"⌈","&rceil;":"⌉","&lfloor;":"⌊","&rfloor;":"⌋","&lang;":"〈","&rang;":"〉","&loz;":"◊","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦"},characters:{"'":"&apos;"," ":"&nbsp;","¡":"&iexcl;","¢":"&cent;","£":"&pound;","¤":"&curren;","¥":"&yen;","¦":"&brvbar;","§":"&sect;","¨":"&uml;","©":"&copy;",ª:"&ordf;","«":"&laquo;","¬":"&not;","­":"&shy;","®":"&reg;","¯":"&macr;","°":"&deg;","±":"&plusmn;","²":"&sup2;","³":"&sup3;","´":"&acute;",µ:"&micro;","¶":"&para;","·":"&middot;","¸":"&cedil;","¹":"&sup1;",º:"&ordm;","»":"&raquo;","¼":"&frac14;","½":"&frac12;","¾":"&frac34;","¿":"&iquest;",À:"&Agrave;",Á:"&Aacute;",Â:"&Acirc;",Ã:"&Atilde;",Ä:"&Auml;",Å:"&Aring;",Æ:"&AElig;",Ç:"&Ccedil;",È:"&Egrave;",É:"&Eacute;",Ê:"&Ecirc;",Ë:"&Euml;",Ì:"&Igrave;",Í:"&Iacute;",Î:"&Icirc;",Ï:"&Iuml;",Ð:"&ETH;",Ñ:"&Ntilde;",Ò:"&Ograve;",Ó:"&Oacute;",Ô:"&Ocirc;",Õ:"&Otilde;",Ö:"&Ouml;","×":"&times;",Ø:"&Oslash;",Ù:"&Ugrave;",Ú:"&Uacute;",Û:"&Ucirc;",Ü:"&Uuml;",Ý:"&Yacute;",Þ:"&THORN;",ß:"&szlig;",à:"&agrave;",á:"&aacute;",â:"&acirc;",ã:"&atilde;",ä:"&auml;",å:"&aring;",æ:"&aelig;",ç:"&ccedil;",è:"&egrave;",é:"&eacute;",ê:"&ecirc;",ë:"&euml;",ì:"&igrave;",í:"&iacute;",î:"&icirc;",ï:"&iuml;",ð:"&eth;",ñ:"&ntilde;",ò:"&ograve;",ó:"&oacute;",ô:"&ocirc;",õ:"&otilde;",ö:"&ouml;","÷":"&divide;",ø:"&oslash;",ù:"&ugrave;",ú:"&uacute;",û:"&ucirc;",ü:"&uuml;",ý:"&yacute;",þ:"&thorn;",ÿ:"&yuml;",'"':"&quot;","&":"&amp;","<":"&lt;",">":"&gt;",Œ:"&OElig;",œ:"&oelig;",Š:"&Scaron;",š:"&scaron;",Ÿ:"&Yuml;","ˆ":"&circ;","˜":"&tilde;"," ":"&ensp;"," ":"&emsp;"," ":"&thinsp;","‌":"&zwnj;","‍":"&zwj;","‎":"&lrm;","‏":"&rlm;","–":"&ndash;","—":"&mdash;","‘":"&lsquo;","’":"&rsquo;","‚":"&sbquo;","“":"&ldquo;","”":"&rdquo;","„":"&bdquo;","†":"&dagger;","‡":"&Dagger;","‰":"&permil;","‹":"&lsaquo;","›":"&rsaquo;","€":"&euro;",ƒ:"&fnof;",Α:"&Alpha;",Β:"&Beta;",Γ:"&Gamma;",Δ:"&Delta;",Ε:"&Epsilon;",Ζ:"&Zeta;",Η:"&Eta;",Θ:"&Theta;",Ι:"&Iota;",Κ:"&Kappa;",Λ:"&Lambda;",Μ:"&Mu;",Ν:"&Nu;",Ξ:"&Xi;",Ο:"&Omicron;",Π:"&Pi;",Ρ:"&Rho;",Σ:"&Sigma;",Τ:"&Tau;",Υ:"&Upsilon;",Φ:"&Phi;",Χ:"&Chi;",Ψ:"&Psi;",Ω:"&Omega;",α:"&alpha;",β:"&beta;",γ:"&gamma;",δ:"&delta;",ε:"&epsilon;",ζ:"&zeta;",η:"&eta;",θ:"&theta;",ι:"&iota;",κ:"&kappa;",λ:"&lambda;",μ:"&mu;",ν:"&nu;",ξ:"&xi;",ο:"&omicron;",π:"&pi;",ρ:"&rho;",ς:"&sigmaf;",σ:"&sigma;",τ:"&tau;",υ:"&upsilon;",φ:"&phi;",χ:"&chi;",ψ:"&psi;",ω:"&omega;",ϑ:"&thetasym;",ϒ:"&upsih;",ϖ:"&piv;","•":"&bull;","…":"&hellip;","′":"&prime;","″":"&Prime;","‾":"&oline;","⁄":"&frasl;","℘":"&weierp;",ℑ:"&image;",ℜ:"&real;","™":"&trade;",ℵ:"&alefsym;","←":"&larr;","↑":"&uarr;","→":"&rarr;","↓":"&darr;","↔":"&harr;","↵":"&crarr;","⇐":"&lArr;","⇑":"&uArr;","⇒":"&rArr;","⇓":"&dArr;","⇔":"&hArr;","∀":"&forall;","∂":"&part;","∃":"&exist;","∅":"&empty;","∇":"&nabla;","∈":"&isin;","∉":"&notin;","∋":"&ni;","∏":"&prod;","∑":"&sum;","−":"&minus;","∗":"&lowast;","√":"&radic;","∝":"&prop;","∞":"&infin;","∠":"&ang;","∧":"&and;","∨":"&or;","∩":"&cap;","∪":"&cup;","∫":"&int;","∴":"&there4;","∼":"&sim;","≅":"&cong;","≈":"&asymp;","≠":"&ne;","≡":"&equiv;","≤":"&le;","≥":"&ge;","⊂":"&sub;","⊃":"&sup;","⊄":"&nsub;","⊆":"&sube;","⊇":"&supe;","⊕":"&oplus;","⊗":"&otimes;","⊥":"&perp;","⋅":"&sdot;","⌈":"&lceil;","⌉":"&rceil;","⌊":"&lfloor;","⌋":"&rfloor;","〈":"&lang;","〉":"&rang;","◊":"&loz;","♠":"&spades;","♣":"&clubs;","♥":"&hearts;","♦":"&diams;"}},html5:{entities:{"&AElig":"Æ","&AElig;":"Æ","&AMP":"&","&AMP;":"&","&Aacute":"Á","&Aacute;":"Á","&Abreve;":"Ă","&Acirc":"Â","&Acirc;":"Â","&Acy;":"А","&Afr;":"𝔄","&Agrave":"À","&Agrave;":"À","&Alpha;":"Α","&Amacr;":"Ā","&And;":"⩓","&Aogon;":"Ą","&Aopf;":"𝔸","&ApplyFunction;":"⁡","&Aring":"Å","&Aring;":"Å","&Ascr;":"𝒜","&Assign;":"≔","&Atilde":"Ã","&Atilde;":"Ã","&Auml":"Ä","&Auml;":"Ä","&Backslash;":"∖","&Barv;":"⫧","&Barwed;":"⌆","&Bcy;":"Б","&Because;":"∵","&Bernoullis;":"ℬ","&Beta;":"Β","&Bfr;":"𝔅","&Bopf;":"𝔹","&Breve;":"˘","&Bscr;":"ℬ","&Bumpeq;":"≎","&CHcy;":"Ч","&COPY":"©","&COPY;":"©","&Cacute;":"Ć","&Cap;":"⋒","&CapitalDifferentialD;":"ⅅ","&Cayleys;":"ℭ","&Ccaron;":"Č","&Ccedil":"Ç","&Ccedil;":"Ç","&Ccirc;":"Ĉ","&Cconint;":"∰","&Cdot;":"Ċ","&Cedilla;":"¸","&CenterDot;":"·","&Cfr;":"ℭ","&Chi;":"Χ","&CircleDot;":"⊙","&CircleMinus;":"⊖","&CirclePlus;":"⊕","&CircleTimes;":"⊗","&ClockwiseContourIntegral;":"∲","&CloseCurlyDoubleQuote;":"”","&CloseCurlyQuote;":"’","&Colon;":"∷","&Colone;":"⩴","&Congruent;":"≡","&Conint;":"∯","&ContourIntegral;":"∮","&Copf;":"ℂ","&Coproduct;":"∐","&CounterClockwiseContourIntegral;":"∳","&Cross;":"⨯","&Cscr;":"𝒞","&Cup;":"⋓","&CupCap;":"≍","&DD;":"ⅅ","&DDotrahd;":"⤑","&DJcy;":"Ђ","&DScy;":"Ѕ","&DZcy;":"Џ","&Dagger;":"‡","&Darr;":"↡","&Dashv;":"⫤","&Dcaron;":"Ď","&Dcy;":"Д","&Del;":"∇","&Delta;":"Δ","&Dfr;":"𝔇","&DiacriticalAcute;":"´","&DiacriticalDot;":"˙","&DiacriticalDoubleAcute;":"˝","&DiacriticalGrave;":"`","&DiacriticalTilde;":"˜","&Diamond;":"⋄","&DifferentialD;":"ⅆ","&Dopf;":"𝔻","&Dot;":"¨","&DotDot;":"⃜","&DotEqual;":"≐","&DoubleContourIntegral;":"∯","&DoubleDot;":"¨","&DoubleDownArrow;":"⇓","&DoubleLeftArrow;":"⇐","&DoubleLeftRightArrow;":"⇔","&DoubleLeftTee;":"⫤","&DoubleLongLeftArrow;":"⟸","&DoubleLongLeftRightArrow;":"⟺","&DoubleLongRightArrow;":"⟹","&DoubleRightArrow;":"⇒","&DoubleRightTee;":"⊨","&DoubleUpArrow;":"⇑","&DoubleUpDownArrow;":"⇕","&DoubleVerticalBar;":"∥","&DownArrow;":"↓","&DownArrowBar;":"⤓","&DownArrowUpArrow;":"⇵","&DownBreve;":"̑","&DownLeftRightVector;":"⥐","&DownLeftTeeVector;":"⥞","&DownLeftVector;":"↽","&DownLeftVectorBar;":"⥖","&DownRightTeeVector;":"⥟","&DownRightVector;":"⇁","&DownRightVectorBar;":"⥗","&DownTee;":"⊤","&DownTeeArrow;":"↧","&Downarrow;":"⇓","&Dscr;":"𝒟","&Dstrok;":"Đ","&ENG;":"Ŋ","&ETH":"Ð","&ETH;":"Ð","&Eacute":"É","&Eacute;":"É","&Ecaron;":"Ě","&Ecirc":"Ê","&Ecirc;":"Ê","&Ecy;":"Э","&Edot;":"Ė","&Efr;":"𝔈","&Egrave":"È","&Egrave;":"È","&Element;":"∈","&Emacr;":"Ē","&EmptySmallSquare;":"◻","&EmptyVerySmallSquare;":"▫","&Eogon;":"Ę","&Eopf;":"𝔼","&Epsilon;":"Ε","&Equal;":"⩵","&EqualTilde;":"≂","&Equilibrium;":"⇌","&Escr;":"ℰ","&Esim;":"⩳","&Eta;":"Η","&Euml":"Ë","&Euml;":"Ë","&Exists;":"∃","&ExponentialE;":"ⅇ","&Fcy;":"Ф","&Ffr;":"𝔉","&FilledSmallSquare;":"◼","&FilledVerySmallSquare;":"▪","&Fopf;":"𝔽","&ForAll;":"∀","&Fouriertrf;":"ℱ","&Fscr;":"ℱ","&GJcy;":"Ѓ","&GT":">","&GT;":">","&Gamma;":"Γ","&Gammad;":"Ϝ","&Gbreve;":"Ğ","&Gcedil;":"Ģ","&Gcirc;":"Ĝ","&Gcy;":"Г","&Gdot;":"Ġ","&Gfr;":"𝔊","&Gg;":"⋙","&Gopf;":"𝔾","&GreaterEqual;":"≥","&GreaterEqualLess;":"⋛","&GreaterFullEqual;":"≧","&GreaterGreater;":"⪢","&GreaterLess;":"≷","&GreaterSlantEqual;":"⩾","&GreaterTilde;":"≳","&Gscr;":"𝒢","&Gt;":"≫","&HARDcy;":"Ъ","&Hacek;":"ˇ","&Hat;":"^","&Hcirc;":"Ĥ","&Hfr;":"ℌ","&HilbertSpace;":"ℋ","&Hopf;":"ℍ","&HorizontalLine;":"─","&Hscr;":"ℋ","&Hstrok;":"Ħ","&HumpDownHump;":"≎","&HumpEqual;":"≏","&IEcy;":"Е","&IJlig;":"IJ","&IOcy;":"Ё","&Iacute":"Í","&Iacute;":"Í","&Icirc":"Î","&Icirc;":"Î","&Icy;":"И","&Idot;":"İ","&Ifr;":"ℑ","&Igrave":"Ì","&Igrave;":"Ì","&Im;":"ℑ","&Imacr;":"Ī","&ImaginaryI;":"ⅈ","&Implies;":"⇒","&Int;":"∬","&Integral;":"∫","&Intersection;":"⋂","&InvisibleComma;":"⁣","&InvisibleTimes;":"⁢","&Iogon;":"Į","&Iopf;":"𝕀","&Iota;":"Ι","&Iscr;":"ℐ","&Itilde;":"Ĩ","&Iukcy;":"І","&Iuml":"Ï","&Iuml;":"Ï","&Jcirc;":"Ĵ","&Jcy;":"Й","&Jfr;":"𝔍","&Jopf;":"𝕁","&Jscr;":"𝒥","&Jsercy;":"Ј","&Jukcy;":"Є","&KHcy;":"Х","&KJcy;":"Ќ","&Kappa;":"Κ","&Kcedil;":"Ķ","&Kcy;":"К","&Kfr;":"𝔎","&Kopf;":"𝕂","&Kscr;":"𝒦","&LJcy;":"Љ","&LT":"<","&LT;":"<","&Lacute;":"Ĺ","&Lambda;":"Λ","&Lang;":"⟪","&Laplacetrf;":"ℒ","&Larr;":"↞","&Lcaron;":"Ľ","&Lcedil;":"Ļ","&Lcy;":"Л","&LeftAngleBracket;":"⟨","&LeftArrow;":"←","&LeftArrowBar;":"⇤","&LeftArrowRightArrow;":"⇆","&LeftCeiling;":"⌈","&LeftDoubleBracket;":"⟦","&LeftDownTeeVector;":"⥡","&LeftDownVector;":"⇃","&LeftDownVectorBar;":"⥙","&LeftFloor;":"⌊","&LeftRightArrow;":"↔","&LeftRightVector;":"⥎","&LeftTee;":"⊣","&LeftTeeArrow;":"↤","&LeftTeeVector;":"⥚","&LeftTriangle;":"⊲","&LeftTriangleBar;":"⧏","&LeftTriangleEqual;":"⊴","&LeftUpDownVector;":"⥑","&LeftUpTeeVector;":"⥠","&LeftUpVector;":"↿","&LeftUpVectorBar;":"⥘","&LeftVector;":"↼","&LeftVectorBar;":"⥒","&Leftarrow;":"⇐","&Leftrightarrow;":"⇔","&LessEqualGreater;":"⋚","&LessFullEqual;":"≦","&LessGreater;":"≶","&LessLess;":"⪡","&LessSlantEqual;":"⩽","&LessTilde;":"≲","&Lfr;":"𝔏","&Ll;":"⋘","&Lleftarrow;":"⇚","&Lmidot;":"Ŀ","&LongLeftArrow;":"⟵","&LongLeftRightArrow;":"⟷","&LongRightArrow;":"⟶","&Longleftarrow;":"⟸","&Longleftrightarrow;":"⟺","&Longrightarrow;":"⟹","&Lopf;":"𝕃","&LowerLeftArrow;":"↙","&LowerRightArrow;":"↘","&Lscr;":"ℒ","&Lsh;":"↰","&Lstrok;":"Ł","&Lt;":"≪","&Map;":"⤅","&Mcy;":"М","&MediumSpace;":" ","&Mellintrf;":"ℳ","&Mfr;":"𝔐","&MinusPlus;":"∓","&Mopf;":"𝕄","&Mscr;":"ℳ","&Mu;":"Μ","&NJcy;":"Њ","&Nacute;":"Ń","&Ncaron;":"Ň","&Ncedil;":"Ņ","&Ncy;":"Н","&NegativeMediumSpace;":"​","&NegativeThickSpace;":"​","&NegativeThinSpace;":"​","&NegativeVeryThinSpace;":"​","&NestedGreaterGreater;":"≫","&NestedLessLess;":"≪","&NewLine;":`
54
54
  `,"&Nfr;":"𝔑","&NoBreak;":"⁠","&NonBreakingSpace;":" ","&Nopf;":"ℕ","&Not;":"⫬","&NotCongruent;":"≢","&NotCupCap;":"≭","&NotDoubleVerticalBar;":"∦","&NotElement;":"∉","&NotEqual;":"≠","&NotEqualTilde;":"≂̸","&NotExists;":"∄","&NotGreater;":"≯","&NotGreaterEqual;":"≱","&NotGreaterFullEqual;":"≧̸","&NotGreaterGreater;":"≫̸","&NotGreaterLess;":"≹","&NotGreaterSlantEqual;":"⩾̸","&NotGreaterTilde;":"≵","&NotHumpDownHump;":"≎̸","&NotHumpEqual;":"≏̸","&NotLeftTriangle;":"⋪","&NotLeftTriangleBar;":"⧏̸","&NotLeftTriangleEqual;":"⋬","&NotLess;":"≮","&NotLessEqual;":"≰","&NotLessGreater;":"≸","&NotLessLess;":"≪̸","&NotLessSlantEqual;":"⩽̸","&NotLessTilde;":"≴","&NotNestedGreaterGreater;":"⪢̸","&NotNestedLessLess;":"⪡̸","&NotPrecedes;":"⊀","&NotPrecedesEqual;":"⪯̸","&NotPrecedesSlantEqual;":"⋠","&NotReverseElement;":"∌","&NotRightTriangle;":"⋫","&NotRightTriangleBar;":"⧐̸","&NotRightTriangleEqual;":"⋭","&NotSquareSubset;":"⊏̸","&NotSquareSubsetEqual;":"⋢","&NotSquareSuperset;":"⊐̸","&NotSquareSupersetEqual;":"⋣","&NotSubset;":"⊂⃒","&NotSubsetEqual;":"⊈","&NotSucceeds;":"⊁","&NotSucceedsEqual;":"⪰̸","&NotSucceedsSlantEqual;":"⋡","&NotSucceedsTilde;":"≿̸","&NotSuperset;":"⊃⃒","&NotSupersetEqual;":"⊉","&NotTilde;":"≁","&NotTildeEqual;":"≄","&NotTildeFullEqual;":"≇","&NotTildeTilde;":"≉","&NotVerticalBar;":"∤","&Nscr;":"𝒩","&Ntilde":"Ñ","&Ntilde;":"Ñ","&Nu;":"Ν","&OElig;":"Œ","&Oacute":"Ó","&Oacute;":"Ó","&Ocirc":"Ô","&Ocirc;":"Ô","&Ocy;":"О","&Odblac;":"Ő","&Ofr;":"𝔒","&Ograve":"Ò","&Ograve;":"Ò","&Omacr;":"Ō","&Omega;":"Ω","&Omicron;":"Ο","&Oopf;":"𝕆","&OpenCurlyDoubleQuote;":"“","&OpenCurlyQuote;":"‘","&Or;":"⩔","&Oscr;":"𝒪","&Oslash":"Ø","&Oslash;":"Ø","&Otilde":"Õ","&Otilde;":"Õ","&Otimes;":"⨷","&Ouml":"Ö","&Ouml;":"Ö","&OverBar;":"‾","&OverBrace;":"⏞","&OverBracket;":"⎴","&OverParenthesis;":"⏜","&PartialD;":"∂","&Pcy;":"П","&Pfr;":"𝔓","&Phi;":"Φ","&Pi;":"Π","&PlusMinus;":"±","&Poincareplane;":"ℌ","&Popf;":"ℙ","&Pr;":"⪻","&Precedes;":"≺","&PrecedesEqual;":"⪯","&PrecedesSlantEqual;":"≼","&PrecedesTilde;":"≾","&Prime;":"″","&Product;":"∏","&Proportion;":"∷","&Proportional;":"∝","&Pscr;":"𝒫","&Psi;":"Ψ","&QUOT":'"',"&QUOT;":'"',"&Qfr;":"𝔔","&Qopf;":"ℚ","&Qscr;":"𝒬","&RBarr;":"⤐","&REG":"®","&REG;":"®","&Racute;":"Ŕ","&Rang;":"⟫","&Rarr;":"↠","&Rarrtl;":"⤖","&Rcaron;":"Ř","&Rcedil;":"Ŗ","&Rcy;":"Р","&Re;":"ℜ","&ReverseElement;":"∋","&ReverseEquilibrium;":"⇋","&ReverseUpEquilibrium;":"⥯","&Rfr;":"ℜ","&Rho;":"Ρ","&RightAngleBracket;":"⟩","&RightArrow;":"→","&RightArrowBar;":"⇥","&RightArrowLeftArrow;":"⇄","&RightCeiling;":"⌉","&RightDoubleBracket;":"⟧","&RightDownTeeVector;":"⥝","&RightDownVector;":"⇂","&RightDownVectorBar;":"⥕","&RightFloor;":"⌋","&RightTee;":"⊢","&RightTeeArrow;":"↦","&RightTeeVector;":"⥛","&RightTriangle;":"⊳","&RightTriangleBar;":"⧐","&RightTriangleEqual;":"⊵","&RightUpDownVector;":"⥏","&RightUpTeeVector;":"⥜","&RightUpVector;":"↾","&RightUpVectorBar;":"⥔","&RightVector;":"⇀","&RightVectorBar;":"⥓","&Rightarrow;":"⇒","&Ropf;":"ℝ","&RoundImplies;":"⥰","&Rrightarrow;":"⇛","&Rscr;":"ℛ","&Rsh;":"↱","&RuleDelayed;":"⧴","&SHCHcy;":"Щ","&SHcy;":"Ш","&SOFTcy;":"Ь","&Sacute;":"Ś","&Sc;":"⪼","&Scaron;":"Š","&Scedil;":"Ş","&Scirc;":"Ŝ","&Scy;":"С","&Sfr;":"𝔖","&ShortDownArrow;":"↓","&ShortLeftArrow;":"←","&ShortRightArrow;":"→","&ShortUpArrow;":"↑","&Sigma;":"Σ","&SmallCircle;":"∘","&Sopf;":"𝕊","&Sqrt;":"√","&Square;":"□","&SquareIntersection;":"⊓","&SquareSubset;":"⊏","&SquareSubsetEqual;":"⊑","&SquareSuperset;":"⊐","&SquareSupersetEqual;":"⊒","&SquareUnion;":"⊔","&Sscr;":"𝒮","&Star;":"⋆","&Sub;":"⋐","&Subset;":"⋐","&SubsetEqual;":"⊆","&Succeeds;":"≻","&SucceedsEqual;":"⪰","&SucceedsSlantEqual;":"≽","&SucceedsTilde;":"≿","&SuchThat;":"∋","&Sum;":"∑","&Sup;":"⋑","&Superset;":"⊃","&SupersetEqual;":"⊇","&Supset;":"⋑","&THORN":"Þ","&THORN;":"Þ","&TRADE;":"™","&TSHcy;":"Ћ","&TScy;":"Ц","&Tab;":" ","&Tau;":"Τ","&Tcaron;":"Ť","&Tcedil;":"Ţ","&Tcy;":"Т","&Tfr;":"𝔗","&Therefore;":"∴","&Theta;":"Θ","&ThickSpace;":"  ","&ThinSpace;":" ","&Tilde;":"∼","&TildeEqual;":"≃","&TildeFullEqual;":"≅","&TildeTilde;":"≈","&Topf;":"𝕋","&TripleDot;":"⃛","&Tscr;":"𝒯","&Tstrok;":"Ŧ","&Uacute":"Ú","&Uacute;":"Ú","&Uarr;":"↟","&Uarrocir;":"⥉","&Ubrcy;":"Ў","&Ubreve;":"Ŭ","&Ucirc":"Û","&Ucirc;":"Û","&Ucy;":"У","&Udblac;":"Ű","&Ufr;":"𝔘","&Ugrave":"Ù","&Ugrave;":"Ù","&Umacr;":"Ū","&UnderBar;":"_","&UnderBrace;":"⏟","&UnderBracket;":"⎵","&UnderParenthesis;":"⏝","&Union;":"⋃","&UnionPlus;":"⊎","&Uogon;":"Ų","&Uopf;":"𝕌","&UpArrow;":"↑","&UpArrowBar;":"⤒","&UpArrowDownArrow;":"⇅","&UpDownArrow;":"↕","&UpEquilibrium;":"⥮","&UpTee;":"⊥","&UpTeeArrow;":"↥","&Uparrow;":"⇑","&Updownarrow;":"⇕","&UpperLeftArrow;":"↖","&UpperRightArrow;":"↗","&Upsi;":"ϒ","&Upsilon;":"Υ","&Uring;":"Ů","&Uscr;":"𝒰","&Utilde;":"Ũ","&Uuml":"Ü","&Uuml;":"Ü","&VDash;":"⊫","&Vbar;":"⫫","&Vcy;":"В","&Vdash;":"⊩","&Vdashl;":"⫦","&Vee;":"⋁","&Verbar;":"‖","&Vert;":"‖","&VerticalBar;":"∣","&VerticalLine;":"|","&VerticalSeparator;":"❘","&VerticalTilde;":"≀","&VeryThinSpace;":" ","&Vfr;":"𝔙","&Vopf;":"𝕍","&Vscr;":"𝒱","&Vvdash;":"⊪","&Wcirc;":"Ŵ","&Wedge;":"⋀","&Wfr;":"𝔚","&Wopf;":"𝕎","&Wscr;":"𝒲","&Xfr;":"𝔛","&Xi;":"Ξ","&Xopf;":"𝕏","&Xscr;":"𝒳","&YAcy;":"Я","&YIcy;":"Ї","&YUcy;":"Ю","&Yacute":"Ý","&Yacute;":"Ý","&Ycirc;":"Ŷ","&Ycy;":"Ы","&Yfr;":"𝔜","&Yopf;":"𝕐","&Yscr;":"𝒴","&Yuml;":"Ÿ","&ZHcy;":"Ж","&Zacute;":"Ź","&Zcaron;":"Ž","&Zcy;":"З","&Zdot;":"Ż","&ZeroWidthSpace;":"​","&Zeta;":"Ζ","&Zfr;":"ℨ","&Zopf;":"ℤ","&Zscr;":"𝒵","&aacute":"á","&aacute;":"á","&abreve;":"ă","&ac;":"∾","&acE;":"∾̳","&acd;":"∿","&acirc":"â","&acirc;":"â","&acute":"´","&acute;":"´","&acy;":"а","&aelig":"æ","&aelig;":"æ","&af;":"⁡","&afr;":"𝔞","&agrave":"à","&agrave;":"à","&alefsym;":"ℵ","&aleph;":"ℵ","&alpha;":"α","&amacr;":"ā","&amalg;":"⨿","&amp":"&","&amp;":"&","&and;":"∧","&andand;":"⩕","&andd;":"⩜","&andslope;":"⩘","&andv;":"⩚","&ang;":"∠","&ange;":"⦤","&angle;":"∠","&angmsd;":"∡","&angmsdaa;":"⦨","&angmsdab;":"⦩","&angmsdac;":"⦪","&angmsdad;":"⦫","&angmsdae;":"⦬","&angmsdaf;":"⦭","&angmsdag;":"⦮","&angmsdah;":"⦯","&angrt;":"∟","&angrtvb;":"⊾","&angrtvbd;":"⦝","&angsph;":"∢","&angst;":"Å","&angzarr;":"⍼","&aogon;":"ą","&aopf;":"𝕒","&ap;":"≈","&apE;":"⩰","&apacir;":"⩯","&ape;":"≊","&apid;":"≋","&apos;":"'","&approx;":"≈","&approxeq;":"≊","&aring":"å","&aring;":"å","&ascr;":"𝒶","&ast;":"*","&asymp;":"≈","&asympeq;":"≍","&atilde":"ã","&atilde;":"ã","&auml":"ä","&auml;":"ä","&awconint;":"∳","&awint;":"⨑","&bNot;":"⫭","&backcong;":"≌","&backepsilon;":"϶","&backprime;":"‵","&backsim;":"∽","&backsimeq;":"⋍","&barvee;":"⊽","&barwed;":"⌅","&barwedge;":"⌅","&bbrk;":"⎵","&bbrktbrk;":"⎶","&bcong;":"≌","&bcy;":"б","&bdquo;":"„","&becaus;":"∵","&because;":"∵","&bemptyv;":"⦰","&bepsi;":"϶","&bernou;":"ℬ","&beta;":"β","&beth;":"ℶ","&between;":"≬","&bfr;":"𝔟","&bigcap;":"⋂","&bigcirc;":"◯","&bigcup;":"⋃","&bigodot;":"⨀","&bigoplus;":"⨁","&bigotimes;":"⨂","&bigsqcup;":"⨆","&bigstar;":"★","&bigtriangledown;":"▽","&bigtriangleup;":"△","&biguplus;":"⨄","&bigvee;":"⋁","&bigwedge;":"⋀","&bkarow;":"⤍","&blacklozenge;":"⧫","&blacksquare;":"▪","&blacktriangle;":"▴","&blacktriangledown;":"▾","&blacktriangleleft;":"◂","&blacktriangleright;":"▸","&blank;":"␣","&blk12;":"▒","&blk14;":"░","&blk34;":"▓","&block;":"█","&bne;":"=⃥","&bnequiv;":"≡⃥","&bnot;":"⌐","&bopf;":"𝕓","&bot;":"⊥","&bottom;":"⊥","&bowtie;":"⋈","&boxDL;":"╗","&boxDR;":"╔","&boxDl;":"╖","&boxDr;":"╓","&boxH;":"═","&boxHD;":"╦","&boxHU;":"╩","&boxHd;":"╤","&boxHu;":"╧","&boxUL;":"╝","&boxUR;":"╚","&boxUl;":"╜","&boxUr;":"╙","&boxV;":"║","&boxVH;":"╬","&boxVL;":"╣","&boxVR;":"╠","&boxVh;":"╫","&boxVl;":"╢","&boxVr;":"╟","&boxbox;":"⧉","&boxdL;":"╕","&boxdR;":"╒","&boxdl;":"┐","&boxdr;":"┌","&boxh;":"─","&boxhD;":"╥","&boxhU;":"╨","&boxhd;":"┬","&boxhu;":"┴","&boxminus;":"⊟","&boxplus;":"⊞","&boxtimes;":"⊠","&boxuL;":"╛","&boxuR;":"╘","&boxul;":"┘","&boxur;":"└","&boxv;":"│","&boxvH;":"╪","&boxvL;":"╡","&boxvR;":"╞","&boxvh;":"┼","&boxvl;":"┤","&boxvr;":"├","&bprime;":"‵","&breve;":"˘","&brvbar":"¦","&brvbar;":"¦","&bscr;":"𝒷","&bsemi;":"⁏","&bsim;":"∽","&bsime;":"⋍","&bsol;":"\\","&bsolb;":"⧅","&bsolhsub;":"⟈","&bull;":"•","&bullet;":"•","&bump;":"≎","&bumpE;":"⪮","&bumpe;":"≏","&bumpeq;":"≏","&cacute;":"ć","&cap;":"∩","&capand;":"⩄","&capbrcup;":"⩉","&capcap;":"⩋","&capcup;":"⩇","&capdot;":"⩀","&caps;":"∩︀","&caret;":"⁁","&caron;":"ˇ","&ccaps;":"⩍","&ccaron;":"č","&ccedil":"ç","&ccedil;":"ç","&ccirc;":"ĉ","&ccups;":"⩌","&ccupssm;":"⩐","&cdot;":"ċ","&cedil":"¸","&cedil;":"¸","&cemptyv;":"⦲","&cent":"¢","&cent;":"¢","&centerdot;":"·","&cfr;":"𝔠","&chcy;":"ч","&check;":"✓","&checkmark;":"✓","&chi;":"χ","&cir;":"○","&cirE;":"⧃","&circ;":"ˆ","&circeq;":"≗","&circlearrowleft;":"↺","&circlearrowright;":"↻","&circledR;":"®","&circledS;":"Ⓢ","&circledast;":"⊛","&circledcirc;":"⊚","&circleddash;":"⊝","&cire;":"≗","&cirfnint;":"⨐","&cirmid;":"⫯","&cirscir;":"⧂","&clubs;":"♣","&clubsuit;":"♣","&colon;":":","&colone;":"≔","&coloneq;":"≔","&comma;":",","&commat;":"@","&comp;":"∁","&compfn;":"∘","&complement;":"∁","&complexes;":"ℂ","&cong;":"≅","&congdot;":"⩭","&conint;":"∮","&copf;":"𝕔","&coprod;":"∐","&copy":"©","&copy;":"©","&copysr;":"℗","&crarr;":"↵","&cross;":"✗","&cscr;":"𝒸","&csub;":"⫏","&csube;":"⫑","&csup;":"⫐","&csupe;":"⫒","&ctdot;":"⋯","&cudarrl;":"⤸","&cudarrr;":"⤵","&cuepr;":"⋞","&cuesc;":"⋟","&cularr;":"↶","&cularrp;":"⤽","&cup;":"∪","&cupbrcap;":"⩈","&cupcap;":"⩆","&cupcup;":"⩊","&cupdot;":"⊍","&cupor;":"⩅","&cups;":"∪︀","&curarr;":"↷","&curarrm;":"⤼","&curlyeqprec;":"⋞","&curlyeqsucc;":"⋟","&curlyvee;":"⋎","&curlywedge;":"⋏","&curren":"¤","&curren;":"¤","&curvearrowleft;":"↶","&curvearrowright;":"↷","&cuvee;":"⋎","&cuwed;":"⋏","&cwconint;":"∲","&cwint;":"∱","&cylcty;":"⌭","&dArr;":"⇓","&dHar;":"⥥","&dagger;":"†","&daleth;":"ℸ","&darr;":"↓","&dash;":"‐","&dashv;":"⊣","&dbkarow;":"⤏","&dblac;":"˝","&dcaron;":"ď","&dcy;":"д","&dd;":"ⅆ","&ddagger;":"‡","&ddarr;":"⇊","&ddotseq;":"⩷","&deg":"°","&deg;":"°","&delta;":"δ","&demptyv;":"⦱","&dfisht;":"⥿","&dfr;":"𝔡","&dharl;":"⇃","&dharr;":"⇂","&diam;":"⋄","&diamond;":"⋄","&diamondsuit;":"♦","&diams;":"♦","&die;":"¨","&digamma;":"ϝ","&disin;":"⋲","&div;":"÷","&divide":"÷","&divide;":"÷","&divideontimes;":"⋇","&divonx;":"⋇","&djcy;":"ђ","&dlcorn;":"⌞","&dlcrop;":"⌍","&dollar;":"$","&dopf;":"𝕕","&dot;":"˙","&doteq;":"≐","&doteqdot;":"≑","&dotminus;":"∸","&dotplus;":"∔","&dotsquare;":"⊡","&doublebarwedge;":"⌆","&downarrow;":"↓","&downdownarrows;":"⇊","&downharpoonleft;":"⇃","&downharpoonright;":"⇂","&drbkarow;":"⤐","&drcorn;":"⌟","&drcrop;":"⌌","&dscr;":"𝒹","&dscy;":"ѕ","&dsol;":"⧶","&dstrok;":"đ","&dtdot;":"⋱","&dtri;":"▿","&dtrif;":"▾","&duarr;":"⇵","&duhar;":"⥯","&dwangle;":"⦦","&dzcy;":"џ","&dzigrarr;":"⟿","&eDDot;":"⩷","&eDot;":"≑","&eacute":"é","&eacute;":"é","&easter;":"⩮","&ecaron;":"ě","&ecir;":"≖","&ecirc":"ê","&ecirc;":"ê","&ecolon;":"≕","&ecy;":"э","&edot;":"ė","&ee;":"ⅇ","&efDot;":"≒","&efr;":"𝔢","&eg;":"⪚","&egrave":"è","&egrave;":"è","&egs;":"⪖","&egsdot;":"⪘","&el;":"⪙","&elinters;":"⏧","&ell;":"ℓ","&els;":"⪕","&elsdot;":"⪗","&emacr;":"ē","&empty;":"∅","&emptyset;":"∅","&emptyv;":"∅","&emsp13;":" ","&emsp14;":" ","&emsp;":" ","&eng;":"ŋ","&ensp;":" ","&eogon;":"ę","&eopf;":"𝕖","&epar;":"⋕","&eparsl;":"⧣","&eplus;":"⩱","&epsi;":"ε","&epsilon;":"ε","&epsiv;":"ϵ","&eqcirc;":"≖","&eqcolon;":"≕","&eqsim;":"≂","&eqslantgtr;":"⪖","&eqslantless;":"⪕","&equals;":"=","&equest;":"≟","&equiv;":"≡","&equivDD;":"⩸","&eqvparsl;":"⧥","&erDot;":"≓","&erarr;":"⥱","&escr;":"ℯ","&esdot;":"≐","&esim;":"≂","&eta;":"η","&eth":"ð","&eth;":"ð","&euml":"ë","&euml;":"ë","&euro;":"€","&excl;":"!","&exist;":"∃","&expectation;":"ℰ","&exponentiale;":"ⅇ","&fallingdotseq;":"≒","&fcy;":"ф","&female;":"♀","&ffilig;":"ffi","&fflig;":"ff","&ffllig;":"ffl","&ffr;":"𝔣","&filig;":"fi","&fjlig;":"fj","&flat;":"♭","&fllig;":"fl","&fltns;":"▱","&fnof;":"ƒ","&fopf;":"𝕗","&forall;":"∀","&fork;":"⋔","&forkv;":"⫙","&fpartint;":"⨍","&frac12":"½","&frac12;":"½","&frac13;":"⅓","&frac14":"¼","&frac14;":"¼","&frac15;":"⅕","&frac16;":"⅙","&frac18;":"⅛","&frac23;":"⅔","&frac25;":"⅖","&frac34":"¾","&frac34;":"¾","&frac35;":"⅗","&frac38;":"⅜","&frac45;":"⅘","&frac56;":"⅚","&frac58;":"⅝","&frac78;":"⅞","&frasl;":"⁄","&frown;":"⌢","&fscr;":"𝒻","&gE;":"≧","&gEl;":"⪌","&gacute;":"ǵ","&gamma;":"γ","&gammad;":"ϝ","&gap;":"⪆","&gbreve;":"ğ","&gcirc;":"ĝ","&gcy;":"г","&gdot;":"ġ","&ge;":"≥","&gel;":"⋛","&geq;":"≥","&geqq;":"≧","&geqslant;":"⩾","&ges;":"⩾","&gescc;":"⪩","&gesdot;":"⪀","&gesdoto;":"⪂","&gesdotol;":"⪄","&gesl;":"⋛︀","&gesles;":"⪔","&gfr;":"𝔤","&gg;":"≫","&ggg;":"⋙","&gimel;":"ℷ","&gjcy;":"ѓ","&gl;":"≷","&glE;":"⪒","&gla;":"⪥","&glj;":"⪤","&gnE;":"≩","&gnap;":"⪊","&gnapprox;":"⪊","&gne;":"⪈","&gneq;":"⪈","&gneqq;":"≩","&gnsim;":"⋧","&gopf;":"𝕘","&grave;":"`","&gscr;":"ℊ","&gsim;":"≳","&gsime;":"⪎","&gsiml;":"⪐","&gt":">","&gt;":">","&gtcc;":"⪧","&gtcir;":"⩺","&gtdot;":"⋗","&gtlPar;":"⦕","&gtquest;":"⩼","&gtrapprox;":"⪆","&gtrarr;":"⥸","&gtrdot;":"⋗","&gtreqless;":"⋛","&gtreqqless;":"⪌","&gtrless;":"≷","&gtrsim;":"≳","&gvertneqq;":"≩︀","&gvnE;":"≩︀","&hArr;":"⇔","&hairsp;":" ","&half;":"½","&hamilt;":"ℋ","&hardcy;":"ъ","&harr;":"↔","&harrcir;":"⥈","&harrw;":"↭","&hbar;":"ℏ","&hcirc;":"ĥ","&hearts;":"♥","&heartsuit;":"♥","&hellip;":"…","&hercon;":"⊹","&hfr;":"𝔥","&hksearow;":"⤥","&hkswarow;":"⤦","&hoarr;":"⇿","&homtht;":"∻","&hookleftarrow;":"↩","&hookrightarrow;":"↪","&hopf;":"𝕙","&horbar;":"―","&hscr;":"𝒽","&hslash;":"ℏ","&hstrok;":"ħ","&hybull;":"⁃","&hyphen;":"‐","&iacute":"í","&iacute;":"í","&ic;":"⁣","&icirc":"î","&icirc;":"î","&icy;":"и","&iecy;":"е","&iexcl":"¡","&iexcl;":"¡","&iff;":"⇔","&ifr;":"𝔦","&igrave":"ì","&igrave;":"ì","&ii;":"ⅈ","&iiiint;":"⨌","&iiint;":"∭","&iinfin;":"⧜","&iiota;":"℩","&ijlig;":"ij","&imacr;":"ī","&image;":"ℑ","&imagline;":"ℐ","&imagpart;":"ℑ","&imath;":"ı","&imof;":"⊷","&imped;":"Ƶ","&in;":"∈","&incare;":"℅","&infin;":"∞","&infintie;":"⧝","&inodot;":"ı","&int;":"∫","&intcal;":"⊺","&integers;":"ℤ","&intercal;":"⊺","&intlarhk;":"⨗","&intprod;":"⨼","&iocy;":"ё","&iogon;":"į","&iopf;":"𝕚","&iota;":"ι","&iprod;":"⨼","&iquest":"¿","&iquest;":"¿","&iscr;":"𝒾","&isin;":"∈","&isinE;":"⋹","&isindot;":"⋵","&isins;":"⋴","&isinsv;":"⋳","&isinv;":"∈","&it;":"⁢","&itilde;":"ĩ","&iukcy;":"і","&iuml":"ï","&iuml;":"ï","&jcirc;":"ĵ","&jcy;":"й","&jfr;":"𝔧","&jmath;":"ȷ","&jopf;":"𝕛","&jscr;":"𝒿","&jsercy;":"ј","&jukcy;":"є","&kappa;":"κ","&kappav;":"ϰ","&kcedil;":"ķ","&kcy;":"к","&kfr;":"𝔨","&kgreen;":"ĸ","&khcy;":"х","&kjcy;":"ќ","&kopf;":"𝕜","&kscr;":"𝓀","&lAarr;":"⇚","&lArr;":"⇐","&lAtail;":"⤛","&lBarr;":"⤎","&lE;":"≦","&lEg;":"⪋","&lHar;":"⥢","&lacute;":"ĺ","&laemptyv;":"⦴","&lagran;":"ℒ","&lambda;":"λ","&lang;":"⟨","&langd;":"⦑","&langle;":"⟨","&lap;":"⪅","&laquo":"«","&laquo;":"«","&larr;":"←","&larrb;":"⇤","&larrbfs;":"⤟","&larrfs;":"⤝","&larrhk;":"↩","&larrlp;":"↫","&larrpl;":"⤹","&larrsim;":"⥳","&larrtl;":"↢","&lat;":"⪫","&latail;":"⤙","&late;":"⪭","&lates;":"⪭︀","&lbarr;":"⤌","&lbbrk;":"❲","&lbrace;":"{","&lbrack;":"[","&lbrke;":"⦋","&lbrksld;":"⦏","&lbrkslu;":"⦍","&lcaron;":"ľ","&lcedil;":"ļ","&lceil;":"⌈","&lcub;":"{","&lcy;":"л","&ldca;":"⤶","&ldquo;":"“","&ldquor;":"„","&ldrdhar;":"⥧","&ldrushar;":"⥋","&ldsh;":"↲","&le;":"≤","&leftarrow;":"←","&leftarrowtail;":"↢","&leftharpoondown;":"↽","&leftharpoonup;":"↼","&leftleftarrows;":"⇇","&leftrightarrow;":"↔","&leftrightarrows;":"⇆","&leftrightharpoons;":"⇋","&leftrightsquigarrow;":"↭","&leftthreetimes;":"⋋","&leg;":"⋚","&leq;":"≤","&leqq;":"≦","&leqslant;":"⩽","&les;":"⩽","&lescc;":"⪨","&lesdot;":"⩿","&lesdoto;":"⪁","&lesdotor;":"⪃","&lesg;":"⋚︀","&lesges;":"⪓","&lessapprox;":"⪅","&lessdot;":"⋖","&lesseqgtr;":"⋚","&lesseqqgtr;":"⪋","&lessgtr;":"≶","&lesssim;":"≲","&lfisht;":"⥼","&lfloor;":"⌊","&lfr;":"𝔩","&lg;":"≶","&lgE;":"⪑","&lhard;":"↽","&lharu;":"↼","&lharul;":"⥪","&lhblk;":"▄","&ljcy;":"љ","&ll;":"≪","&llarr;":"⇇","&llcorner;":"⌞","&llhard;":"⥫","&lltri;":"◺","&lmidot;":"ŀ","&lmoust;":"⎰","&lmoustache;":"⎰","&lnE;":"≨","&lnap;":"⪉","&lnapprox;":"⪉","&lne;":"⪇","&lneq;":"⪇","&lneqq;":"≨","&lnsim;":"⋦","&loang;":"⟬","&loarr;":"⇽","&lobrk;":"⟦","&longleftarrow;":"⟵","&longleftrightarrow;":"⟷","&longmapsto;":"⟼","&longrightarrow;":"⟶","&looparrowleft;":"↫","&looparrowright;":"↬","&lopar;":"⦅","&lopf;":"𝕝","&loplus;":"⨭","&lotimes;":"⨴","&lowast;":"∗","&lowbar;":"_","&loz;":"◊","&lozenge;":"◊","&lozf;":"⧫","&lpar;":"(","&lparlt;":"⦓","&lrarr;":"⇆","&lrcorner;":"⌟","&lrhar;":"⇋","&lrhard;":"⥭","&lrm;":"‎","&lrtri;":"⊿","&lsaquo;":"‹","&lscr;":"𝓁","&lsh;":"↰","&lsim;":"≲","&lsime;":"⪍","&lsimg;":"⪏","&lsqb;":"[","&lsquo;":"‘","&lsquor;":"‚","&lstrok;":"ł","&lt":"<","&lt;":"<","&ltcc;":"⪦","&ltcir;":"⩹","&ltdot;":"⋖","&lthree;":"⋋","&ltimes;":"⋉","&ltlarr;":"⥶","&ltquest;":"⩻","&ltrPar;":"⦖","&ltri;":"◃","&ltrie;":"⊴","&ltrif;":"◂","&lurdshar;":"⥊","&luruhar;":"⥦","&lvertneqq;":"≨︀","&lvnE;":"≨︀","&mDDot;":"∺","&macr":"¯","&macr;":"¯","&male;":"♂","&malt;":"✠","&maltese;":"✠","&map;":"↦","&mapsto;":"↦","&mapstodown;":"↧","&mapstoleft;":"↤","&mapstoup;":"↥","&marker;":"▮","&mcomma;":"⨩","&mcy;":"м","&mdash;":"—","&measuredangle;":"∡","&mfr;":"𝔪","&mho;":"℧","&micro":"µ","&micro;":"µ","&mid;":"∣","&midast;":"*","&midcir;":"⫰","&middot":"·","&middot;":"·","&minus;":"−","&minusb;":"⊟","&minusd;":"∸","&minusdu;":"⨪","&mlcp;":"⫛","&mldr;":"…","&mnplus;":"∓","&models;":"⊧","&mopf;":"𝕞","&mp;":"∓","&mscr;":"𝓂","&mstpos;":"∾","&mu;":"μ","&multimap;":"⊸","&mumap;":"⊸","&nGg;":"⋙̸","&nGt;":"≫⃒","&nGtv;":"≫̸","&nLeftarrow;":"⇍","&nLeftrightarrow;":"⇎","&nLl;":"⋘̸","&nLt;":"≪⃒","&nLtv;":"≪̸","&nRightarrow;":"⇏","&nVDash;":"⊯","&nVdash;":"⊮","&nabla;":"∇","&nacute;":"ń","&nang;":"∠⃒","&nap;":"≉","&napE;":"⩰̸","&napid;":"≋̸","&napos;":"ʼn","&napprox;":"≉","&natur;":"♮","&natural;":"♮","&naturals;":"ℕ","&nbsp":" ","&nbsp;":" ","&nbump;":"≎̸","&nbumpe;":"≏̸","&ncap;":"⩃","&ncaron;":"ň","&ncedil;":"ņ","&ncong;":"≇","&ncongdot;":"⩭̸","&ncup;":"⩂","&ncy;":"н","&ndash;":"–","&ne;":"≠","&neArr;":"⇗","&nearhk;":"⤤","&nearr;":"↗","&nearrow;":"↗","&nedot;":"≐̸","&nequiv;":"≢","&nesear;":"⤨","&nesim;":"≂̸","&nexist;":"∄","&nexists;":"∄","&nfr;":"𝔫","&ngE;":"≧̸","&nge;":"≱","&ngeq;":"≱","&ngeqq;":"≧̸","&ngeqslant;":"⩾̸","&nges;":"⩾̸","&ngsim;":"≵","&ngt;":"≯","&ngtr;":"≯","&nhArr;":"⇎","&nharr;":"↮","&nhpar;":"⫲","&ni;":"∋","&nis;":"⋼","&nisd;":"⋺","&niv;":"∋","&njcy;":"њ","&nlArr;":"⇍","&nlE;":"≦̸","&nlarr;":"↚","&nldr;":"‥","&nle;":"≰","&nleftarrow;":"↚","&nleftrightarrow;":"↮","&nleq;":"≰","&nleqq;":"≦̸","&nleqslant;":"⩽̸","&nles;":"⩽̸","&nless;":"≮","&nlsim;":"≴","&nlt;":"≮","&nltri;":"⋪","&nltrie;":"⋬","&nmid;":"∤","&nopf;":"𝕟","&not":"¬","&not;":"¬","&notin;":"∉","&notinE;":"⋹̸","&notindot;":"⋵̸","&notinva;":"∉","&notinvb;":"⋷","&notinvc;":"⋶","&notni;":"∌","&notniva;":"∌","&notnivb;":"⋾","&notnivc;":"⋽","&npar;":"∦","&nparallel;":"∦","&nparsl;":"⫽⃥","&npart;":"∂̸","&npolint;":"⨔","&npr;":"⊀","&nprcue;":"⋠","&npre;":"⪯̸","&nprec;":"⊀","&npreceq;":"⪯̸","&nrArr;":"⇏","&nrarr;":"↛","&nrarrc;":"⤳̸","&nrarrw;":"↝̸","&nrightarrow;":"↛","&nrtri;":"⋫","&nrtrie;":"⋭","&nsc;":"⊁","&nsccue;":"⋡","&nsce;":"⪰̸","&nscr;":"𝓃","&nshortmid;":"∤","&nshortparallel;":"∦","&nsim;":"≁","&nsime;":"≄","&nsimeq;":"≄","&nsmid;":"∤","&nspar;":"∦","&nsqsube;":"⋢","&nsqsupe;":"⋣","&nsub;":"⊄","&nsubE;":"⫅̸","&nsube;":"⊈","&nsubset;":"⊂⃒","&nsubseteq;":"⊈","&nsubseteqq;":"⫅̸","&nsucc;":"⊁","&nsucceq;":"⪰̸","&nsup;":"⊅","&nsupE;":"⫆̸","&nsupe;":"⊉","&nsupset;":"⊃⃒","&nsupseteq;":"⊉","&nsupseteqq;":"⫆̸","&ntgl;":"≹","&ntilde":"ñ","&ntilde;":"ñ","&ntlg;":"≸","&ntriangleleft;":"⋪","&ntrianglelefteq;":"⋬","&ntriangleright;":"⋫","&ntrianglerighteq;":"⋭","&nu;":"ν","&num;":"#","&numero;":"№","&numsp;":" ","&nvDash;":"⊭","&nvHarr;":"⤄","&nvap;":"≍⃒","&nvdash;":"⊬","&nvge;":"≥⃒","&nvgt;":">⃒","&nvinfin;":"⧞","&nvlArr;":"⤂","&nvle;":"≤⃒","&nvlt;":"<⃒","&nvltrie;":"⊴⃒","&nvrArr;":"⤃","&nvrtrie;":"⊵⃒","&nvsim;":"∼⃒","&nwArr;":"⇖","&nwarhk;":"⤣","&nwarr;":"↖","&nwarrow;":"↖","&nwnear;":"⤧","&oS;":"Ⓢ","&oacute":"ó","&oacute;":"ó","&oast;":"⊛","&ocir;":"⊚","&ocirc":"ô","&ocirc;":"ô","&ocy;":"о","&odash;":"⊝","&odblac;":"ő","&odiv;":"⨸","&odot;":"⊙","&odsold;":"⦼","&oelig;":"œ","&ofcir;":"⦿","&ofr;":"𝔬","&ogon;":"˛","&ograve":"ò","&ograve;":"ò","&ogt;":"⧁","&ohbar;":"⦵","&ohm;":"Ω","&oint;":"∮","&olarr;":"↺","&olcir;":"⦾","&olcross;":"⦻","&oline;":"‾","&olt;":"⧀","&omacr;":"ō","&omega;":"ω","&omicron;":"ο","&omid;":"⦶","&ominus;":"⊖","&oopf;":"𝕠","&opar;":"⦷","&operp;":"⦹","&oplus;":"⊕","&or;":"∨","&orarr;":"↻","&ord;":"⩝","&order;":"ℴ","&orderof;":"ℴ","&ordf":"ª","&ordf;":"ª","&ordm":"º","&ordm;":"º","&origof;":"⊶","&oror;":"⩖","&orslope;":"⩗","&orv;":"⩛","&oscr;":"ℴ","&oslash":"ø","&oslash;":"ø","&osol;":"⊘","&otilde":"õ","&otilde;":"õ","&otimes;":"⊗","&otimesas;":"⨶","&ouml":"ö","&ouml;":"ö","&ovbar;":"⌽","&par;":"∥","&para":"¶","&para;":"¶","&parallel;":"∥","&parsim;":"⫳","&parsl;":"⫽","&part;":"∂","&pcy;":"п","&percnt;":"%","&period;":".","&permil;":"‰","&perp;":"⊥","&pertenk;":"‱","&pfr;":"𝔭","&phi;":"φ","&phiv;":"ϕ","&phmmat;":"ℳ","&phone;":"☎","&pi;":"π","&pitchfork;":"⋔","&piv;":"ϖ","&planck;":"ℏ","&planckh;":"ℎ","&plankv;":"ℏ","&plus;":"+","&plusacir;":"⨣","&plusb;":"⊞","&pluscir;":"⨢","&plusdo;":"∔","&plusdu;":"⨥","&pluse;":"⩲","&plusmn":"±","&plusmn;":"±","&plussim;":"⨦","&plustwo;":"⨧","&pm;":"±","&pointint;":"⨕","&popf;":"𝕡","&pound":"£","&pound;":"£","&pr;":"≺","&prE;":"⪳","&prap;":"⪷","&prcue;":"≼","&pre;":"⪯","&prec;":"≺","&precapprox;":"⪷","&preccurlyeq;":"≼","&preceq;":"⪯","&precnapprox;":"⪹","&precneqq;":"⪵","&precnsim;":"⋨","&precsim;":"≾","&prime;":"′","&primes;":"ℙ","&prnE;":"⪵","&prnap;":"⪹","&prnsim;":"⋨","&prod;":"∏","&profalar;":"⌮","&profline;":"⌒","&profsurf;":"⌓","&prop;":"∝","&propto;":"∝","&prsim;":"≾","&prurel;":"⊰","&pscr;":"𝓅","&psi;":"ψ","&puncsp;":" ","&qfr;":"𝔮","&qint;":"⨌","&qopf;":"𝕢","&qprime;":"⁗","&qscr;":"𝓆","&quaternions;":"ℍ","&quatint;":"⨖","&quest;":"?","&questeq;":"≟","&quot":'"',"&quot;":'"',"&rAarr;":"⇛","&rArr;":"⇒","&rAtail;":"⤜","&rBarr;":"⤏","&rHar;":"⥤","&race;":"∽̱","&racute;":"ŕ","&radic;":"√","&raemptyv;":"⦳","&rang;":"⟩","&rangd;":"⦒","&range;":"⦥","&rangle;":"⟩","&raquo":"»","&raquo;":"»","&rarr;":"→","&rarrap;":"⥵","&rarrb;":"⇥","&rarrbfs;":"⤠","&rarrc;":"⤳","&rarrfs;":"⤞","&rarrhk;":"↪","&rarrlp;":"↬","&rarrpl;":"⥅","&rarrsim;":"⥴","&rarrtl;":"↣","&rarrw;":"↝","&ratail;":"⤚","&ratio;":"∶","&rationals;":"ℚ","&rbarr;":"⤍","&rbbrk;":"❳","&rbrace;":"}","&rbrack;":"]","&rbrke;":"⦌","&rbrksld;":"⦎","&rbrkslu;":"⦐","&rcaron;":"ř","&rcedil;":"ŗ","&rceil;":"⌉","&rcub;":"}","&rcy;":"р","&rdca;":"⤷","&rdldhar;":"⥩","&rdquo;":"”","&rdquor;":"”","&rdsh;":"↳","&real;":"ℜ","&realine;":"ℛ","&realpart;":"ℜ","&reals;":"ℝ","&rect;":"▭","&reg":"®","&reg;":"®","&rfisht;":"⥽","&rfloor;":"⌋","&rfr;":"𝔯","&rhard;":"⇁","&rharu;":"⇀","&rharul;":"⥬","&rho;":"ρ","&rhov;":"ϱ","&rightarrow;":"→","&rightarrowtail;":"↣","&rightharpoondown;":"⇁","&rightharpoonup;":"⇀","&rightleftarrows;":"⇄","&rightleftharpoons;":"⇌","&rightrightarrows;":"⇉","&rightsquigarrow;":"↝","&rightthreetimes;":"⋌","&ring;":"˚","&risingdotseq;":"≓","&rlarr;":"⇄","&rlhar;":"⇌","&rlm;":"‏","&rmoust;":"⎱","&rmoustache;":"⎱","&rnmid;":"⫮","&roang;":"⟭","&roarr;":"⇾","&robrk;":"⟧","&ropar;":"⦆","&ropf;":"𝕣","&roplus;":"⨮","&rotimes;":"⨵","&rpar;":")","&rpargt;":"⦔","&rppolint;":"⨒","&rrarr;":"⇉","&rsaquo;":"›","&rscr;":"𝓇","&rsh;":"↱","&rsqb;":"]","&rsquo;":"’","&rsquor;":"’","&rthree;":"⋌","&rtimes;":"⋊","&rtri;":"▹","&rtrie;":"⊵","&rtrif;":"▸","&rtriltri;":"⧎","&ruluhar;":"⥨","&rx;":"℞","&sacute;":"ś","&sbquo;":"‚","&sc;":"≻","&scE;":"⪴","&scap;":"⪸","&scaron;":"š","&sccue;":"≽","&sce;":"⪰","&scedil;":"ş","&scirc;":"ŝ","&scnE;":"⪶","&scnap;":"⪺","&scnsim;":"⋩","&scpolint;":"⨓","&scsim;":"≿","&scy;":"с","&sdot;":"⋅","&sdotb;":"⊡","&sdote;":"⩦","&seArr;":"⇘","&searhk;":"⤥","&searr;":"↘","&searrow;":"↘","&sect":"§","&sect;":"§","&semi;":";","&seswar;":"⤩","&setminus;":"∖","&setmn;":"∖","&sext;":"✶","&sfr;":"𝔰","&sfrown;":"⌢","&sharp;":"♯","&shchcy;":"щ","&shcy;":"ш","&shortmid;":"∣","&shortparallel;":"∥","&shy":"­","&shy;":"­","&sigma;":"σ","&sigmaf;":"ς","&sigmav;":"ς","&sim;":"∼","&simdot;":"⩪","&sime;":"≃","&simeq;":"≃","&simg;":"⪞","&simgE;":"⪠","&siml;":"⪝","&simlE;":"⪟","&simne;":"≆","&simplus;":"⨤","&simrarr;":"⥲","&slarr;":"←","&smallsetminus;":"∖","&smashp;":"⨳","&smeparsl;":"⧤","&smid;":"∣","&smile;":"⌣","&smt;":"⪪","&smte;":"⪬","&smtes;":"⪬︀","&softcy;":"ь","&sol;":"/","&solb;":"⧄","&solbar;":"⌿","&sopf;":"𝕤","&spades;":"♠","&spadesuit;":"♠","&spar;":"∥","&sqcap;":"⊓","&sqcaps;":"⊓︀","&sqcup;":"⊔","&sqcups;":"⊔︀","&sqsub;":"⊏","&sqsube;":"⊑","&sqsubset;":"⊏","&sqsubseteq;":"⊑","&sqsup;":"⊐","&sqsupe;":"⊒","&sqsupset;":"⊐","&sqsupseteq;":"⊒","&squ;":"□","&square;":"□","&squarf;":"▪","&squf;":"▪","&srarr;":"→","&sscr;":"𝓈","&ssetmn;":"∖","&ssmile;":"⌣","&sstarf;":"⋆","&star;":"☆","&starf;":"★","&straightepsilon;":"ϵ","&straightphi;":"ϕ","&strns;":"¯","&sub;":"⊂","&subE;":"⫅","&subdot;":"⪽","&sube;":"⊆","&subedot;":"⫃","&submult;":"⫁","&subnE;":"⫋","&subne;":"⊊","&subplus;":"⪿","&subrarr;":"⥹","&subset;":"⊂","&subseteq;":"⊆","&subseteqq;":"⫅","&subsetneq;":"⊊","&subsetneqq;":"⫋","&subsim;":"⫇","&subsub;":"⫕","&subsup;":"⫓","&succ;":"≻","&succapprox;":"⪸","&succcurlyeq;":"≽","&succeq;":"⪰","&succnapprox;":"⪺","&succneqq;":"⪶","&succnsim;":"⋩","&succsim;":"≿","&sum;":"∑","&sung;":"♪","&sup1":"¹","&sup1;":"¹","&sup2":"²","&sup2;":"²","&sup3":"³","&sup3;":"³","&sup;":"⊃","&supE;":"⫆","&supdot;":"⪾","&supdsub;":"⫘","&supe;":"⊇","&supedot;":"⫄","&suphsol;":"⟉","&suphsub;":"⫗","&suplarr;":"⥻","&supmult;":"⫂","&supnE;":"⫌","&supne;":"⊋","&supplus;":"⫀","&supset;":"⊃","&supseteq;":"⊇","&supseteqq;":"⫆","&supsetneq;":"⊋","&supsetneqq;":"⫌","&supsim;":"⫈","&supsub;":"⫔","&supsup;":"⫖","&swArr;":"⇙","&swarhk;":"⤦","&swarr;":"↙","&swarrow;":"↙","&swnwar;":"⤪","&szlig":"ß","&szlig;":"ß","&target;":"⌖","&tau;":"τ","&tbrk;":"⎴","&tcaron;":"ť","&tcedil;":"ţ","&tcy;":"т","&tdot;":"⃛","&telrec;":"⌕","&tfr;":"𝔱","&there4;":"∴","&therefore;":"∴","&theta;":"θ","&thetasym;":"ϑ","&thetav;":"ϑ","&thickapprox;":"≈","&thicksim;":"∼","&thinsp;":" ","&thkap;":"≈","&thksim;":"∼","&thorn":"þ","&thorn;":"þ","&tilde;":"˜","&times":"×","&times;":"×","&timesb;":"⊠","&timesbar;":"⨱","&timesd;":"⨰","&tint;":"∭","&toea;":"⤨","&top;":"⊤","&topbot;":"⌶","&topcir;":"⫱","&topf;":"𝕥","&topfork;":"⫚","&tosa;":"⤩","&tprime;":"‴","&trade;":"™","&triangle;":"▵","&triangledown;":"▿","&triangleleft;":"◃","&trianglelefteq;":"⊴","&triangleq;":"≜","&triangleright;":"▹","&trianglerighteq;":"⊵","&tridot;":"◬","&trie;":"≜","&triminus;":"⨺","&triplus;":"⨹","&trisb;":"⧍","&tritime;":"⨻","&trpezium;":"⏢","&tscr;":"𝓉","&tscy;":"ц","&tshcy;":"ћ","&tstrok;":"ŧ","&twixt;":"≬","&twoheadleftarrow;":"↞","&twoheadrightarrow;":"↠","&uArr;":"⇑","&uHar;":"⥣","&uacute":"ú","&uacute;":"ú","&uarr;":"↑","&ubrcy;":"ў","&ubreve;":"ŭ","&ucirc":"û","&ucirc;":"û","&ucy;":"у","&udarr;":"⇅","&udblac;":"ű","&udhar;":"⥮","&ufisht;":"⥾","&ufr;":"𝔲","&ugrave":"ù","&ugrave;":"ù","&uharl;":"↿","&uharr;":"↾","&uhblk;":"▀","&ulcorn;":"⌜","&ulcorner;":"⌜","&ulcrop;":"⌏","&ultri;":"◸","&umacr;":"ū","&uml":"¨","&uml;":"¨","&uogon;":"ų","&uopf;":"𝕦","&uparrow;":"↑","&updownarrow;":"↕","&upharpoonleft;":"↿","&upharpoonright;":"↾","&uplus;":"⊎","&upsi;":"υ","&upsih;":"ϒ","&upsilon;":"υ","&upuparrows;":"⇈","&urcorn;":"⌝","&urcorner;":"⌝","&urcrop;":"⌎","&uring;":"ů","&urtri;":"◹","&uscr;":"𝓊","&utdot;":"⋰","&utilde;":"ũ","&utri;":"▵","&utrif;":"▴","&uuarr;":"⇈","&uuml":"ü","&uuml;":"ü","&uwangle;":"⦧","&vArr;":"⇕","&vBar;":"⫨","&vBarv;":"⫩","&vDash;":"⊨","&vangrt;":"⦜","&varepsilon;":"ϵ","&varkappa;":"ϰ","&varnothing;":"∅","&varphi;":"ϕ","&varpi;":"ϖ","&varpropto;":"∝","&varr;":"↕","&varrho;":"ϱ","&varsigma;":"ς","&varsubsetneq;":"⊊︀","&varsubsetneqq;":"⫋︀","&varsupsetneq;":"⊋︀","&varsupsetneqq;":"⫌︀","&vartheta;":"ϑ","&vartriangleleft;":"⊲","&vartriangleright;":"⊳","&vcy;":"в","&vdash;":"⊢","&vee;":"∨","&veebar;":"⊻","&veeeq;":"≚","&vellip;":"⋮","&verbar;":"|","&vert;":"|","&vfr;":"𝔳","&vltri;":"⊲","&vnsub;":"⊂⃒","&vnsup;":"⊃⃒","&vopf;":"𝕧","&vprop;":"∝","&vrtri;":"⊳","&vscr;":"𝓋","&vsubnE;":"⫋︀","&vsubne;":"⊊︀","&vsupnE;":"⫌︀","&vsupne;":"⊋︀","&vzigzag;":"⦚","&wcirc;":"ŵ","&wedbar;":"⩟","&wedge;":"∧","&wedgeq;":"≙","&weierp;":"℘","&wfr;":"𝔴","&wopf;":"𝕨","&wp;":"℘","&wr;":"≀","&wreath;":"≀","&wscr;":"𝓌","&xcap;":"⋂","&xcirc;":"◯","&xcup;":"⋃","&xdtri;":"▽","&xfr;":"𝔵","&xhArr;":"⟺","&xharr;":"⟷","&xi;":"ξ","&xlArr;":"⟸","&xlarr;":"⟵","&xmap;":"⟼","&xnis;":"⋻","&xodot;":"⨀","&xopf;":"𝕩","&xoplus;":"⨁","&xotime;":"⨂","&xrArr;":"⟹","&xrarr;":"⟶","&xscr;":"𝓍","&xsqcup;":"⨆","&xuplus;":"⨄","&xutri;":"△","&xvee;":"⋁","&xwedge;":"⋀","&yacute":"ý","&yacute;":"ý","&yacy;":"я","&ycirc;":"ŷ","&ycy;":"ы","&yen":"¥","&yen;":"¥","&yfr;":"𝔶","&yicy;":"ї","&yopf;":"𝕪","&yscr;":"𝓎","&yucy;":"ю","&yuml":"ÿ","&yuml;":"ÿ","&zacute;":"ź","&zcaron;":"ž","&zcy;":"з","&zdot;":"ż","&zeetrf;":"ℨ","&zeta;":"ζ","&zfr;":"𝔷","&zhcy;":"ж","&zigrarr;":"⇝","&zopf;":"𝕫","&zscr;":"𝓏","&zwj;":"‍","&zwnj;":"‌"},characters:{Æ:"&AElig;","&":"&amp;",Á:"&Aacute;",Ă:"&Abreve;",Â:"&Acirc;",А:"&Acy;","𝔄":"&Afr;",À:"&Agrave;",Α:"&Alpha;",Ā:"&Amacr;","⩓":"&And;",Ą:"&Aogon;","𝔸":"&Aopf;","⁡":"&af;",Å:"&angst;","𝒜":"&Ascr;","≔":"&coloneq;",Ã:"&Atilde;",Ä:"&Auml;","∖":"&ssetmn;","⫧":"&Barv;","⌆":"&doublebarwedge;",Б:"&Bcy;","∵":"&because;",ℬ:"&bernou;",Β:"&Beta;","𝔅":"&Bfr;","𝔹":"&Bopf;","˘":"&breve;","≎":"&bump;",Ч:"&CHcy;","©":"&copy;",Ć:"&Cacute;","⋒":"&Cap;","ⅅ":"&DD;",ℭ:"&Cfr;",Č:"&Ccaron;",Ç:"&Ccedil;",Ĉ:"&Ccirc;","∰":"&Cconint;",Ċ:"&Cdot;","¸":"&cedil;","·":"&middot;",Χ:"&Chi;","⊙":"&odot;","⊖":"&ominus;","⊕":"&oplus;","⊗":"&otimes;","∲":"&cwconint;","”":"&rdquor;","’":"&rsquor;","∷":"&Proportion;","⩴":"&Colone;","≡":"&equiv;","∯":"&DoubleContourIntegral;","∮":"&oint;",ℂ:"&complexes;","∐":"&coprod;","∳":"&awconint;","⨯":"&Cross;","𝒞":"&Cscr;","⋓":"&Cup;","≍":"&asympeq;","⤑":"&DDotrahd;",Ђ:"&DJcy;",Ѕ:"&DScy;",Џ:"&DZcy;","‡":"&ddagger;","↡":"&Darr;","⫤":"&DoubleLeftTee;",Ď:"&Dcaron;",Д:"&Dcy;","∇":"&nabla;",Δ:"&Delta;","𝔇":"&Dfr;","´":"&acute;","˙":"&dot;","˝":"&dblac;","`":"&grave;","˜":"&tilde;","⋄":"&diamond;","ⅆ":"&dd;","𝔻":"&Dopf;","¨":"&uml;","⃜":"&DotDot;","≐":"&esdot;","⇓":"&dArr;","⇐":"&lArr;","⇔":"&iff;","⟸":"&xlArr;","⟺":"&xhArr;","⟹":"&xrArr;","⇒":"&rArr;","⊨":"&vDash;","⇑":"&uArr;","⇕":"&vArr;","∥":"&spar;","↓":"&downarrow;","⤓":"&DownArrowBar;","⇵":"&duarr;","̑":"&DownBreve;","⥐":"&DownLeftRightVector;","⥞":"&DownLeftTeeVector;","↽":"&lhard;","⥖":"&DownLeftVectorBar;","⥟":"&DownRightTeeVector;","⇁":"&rightharpoondown;","⥗":"&DownRightVectorBar;","⊤":"&top;","↧":"&mapstodown;","𝒟":"&Dscr;",Đ:"&Dstrok;",Ŋ:"&ENG;",Ð:"&ETH;",É:"&Eacute;",Ě:"&Ecaron;",Ê:"&Ecirc;",Э:"&Ecy;",Ė:"&Edot;","𝔈":"&Efr;",È:"&Egrave;","∈":"&isinv;",Ē:"&Emacr;","◻":"&EmptySmallSquare;","▫":"&EmptyVerySmallSquare;",Ę:"&Eogon;","𝔼":"&Eopf;",Ε:"&Epsilon;","⩵":"&Equal;","≂":"&esim;","⇌":"&rlhar;",ℰ:"&expectation;","⩳":"&Esim;",Η:"&Eta;",Ë:"&Euml;","∃":"&exist;","ⅇ":"&exponentiale;",Ф:"&Fcy;","𝔉":"&Ffr;","◼":"&FilledSmallSquare;","▪":"&squf;","𝔽":"&Fopf;","∀":"&forall;",ℱ:"&Fscr;",Ѓ:"&GJcy;",">":"&gt;",Γ:"&Gamma;",Ϝ:"&Gammad;",Ğ:"&Gbreve;",Ģ:"&Gcedil;",Ĝ:"&Gcirc;",Г:"&Gcy;",Ġ:"&Gdot;","𝔊":"&Gfr;","⋙":"&ggg;","𝔾":"&Gopf;","≥":"&geq;","⋛":"&gtreqless;","≧":"&geqq;","⪢":"&GreaterGreater;","≷":"&gtrless;","⩾":"&ges;","≳":"&gtrsim;","𝒢":"&Gscr;","≫":"&gg;",Ъ:"&HARDcy;","ˇ":"&caron;","^":"&Hat;",Ĥ:"&Hcirc;",ℌ:"&Poincareplane;",ℋ:"&hamilt;",ℍ:"&quaternions;","─":"&boxh;",Ħ:"&Hstrok;","≏":"&bumpeq;",Е:"&IEcy;",IJ:"&IJlig;",Ё:"&IOcy;",Í:"&Iacute;",Î:"&Icirc;",И:"&Icy;",İ:"&Idot;",ℑ:"&imagpart;",Ì:"&Igrave;",Ī:"&Imacr;","ⅈ":"&ii;","∬":"&Int;","∫":"&int;","⋂":"&xcap;","⁣":"&ic;","⁢":"&it;",Į:"&Iogon;","𝕀":"&Iopf;",Ι:"&Iota;",ℐ:"&imagline;",Ĩ:"&Itilde;",І:"&Iukcy;",Ï:"&Iuml;",Ĵ:"&Jcirc;",Й:"&Jcy;","𝔍":"&Jfr;","𝕁":"&Jopf;","𝒥":"&Jscr;",Ј:"&Jsercy;",Є:"&Jukcy;",Х:"&KHcy;",Ќ:"&KJcy;",Κ:"&Kappa;",Ķ:"&Kcedil;",К:"&Kcy;","𝔎":"&Kfr;","𝕂":"&Kopf;","𝒦":"&Kscr;",Љ:"&LJcy;","<":"&lt;",Ĺ:"&Lacute;",Λ:"&Lambda;","⟪":"&Lang;",ℒ:"&lagran;","↞":"&twoheadleftarrow;",Ľ:"&Lcaron;",Ļ:"&Lcedil;",Л:"&Lcy;","⟨":"&langle;","←":"&slarr;","⇤":"&larrb;","⇆":"&lrarr;","⌈":"&lceil;","⟦":"&lobrk;","⥡":"&LeftDownTeeVector;","⇃":"&downharpoonleft;","⥙":"&LeftDownVectorBar;","⌊":"&lfloor;","↔":"&leftrightarrow;","⥎":"&LeftRightVector;","⊣":"&dashv;","↤":"&mapstoleft;","⥚":"&LeftTeeVector;","⊲":"&vltri;","⧏":"&LeftTriangleBar;","⊴":"&trianglelefteq;","⥑":"&LeftUpDownVector;","⥠":"&LeftUpTeeVector;","↿":"&upharpoonleft;","⥘":"&LeftUpVectorBar;","↼":"&lharu;","⥒":"&LeftVectorBar;","⋚":"&lesseqgtr;","≦":"&leqq;","≶":"&lg;","⪡":"&LessLess;","⩽":"&les;","≲":"&lsim;","𝔏":"&Lfr;","⋘":"&Ll;","⇚":"&lAarr;",Ŀ:"&Lmidot;","⟵":"&xlarr;","⟷":"&xharr;","⟶":"&xrarr;","𝕃":"&Lopf;","↙":"&swarrow;","↘":"&searrow;","↰":"&lsh;",Ł:"&Lstrok;","≪":"&ll;","⤅":"&Map;",М:"&Mcy;"," ":"&MediumSpace;",ℳ:"&phmmat;","𝔐":"&Mfr;","∓":"&mp;","𝕄":"&Mopf;",Μ:"&Mu;",Њ:"&NJcy;",Ń:"&Nacute;",Ň:"&Ncaron;",Ņ:"&Ncedil;",Н:"&Ncy;","​":"&ZeroWidthSpace;","\n":"&NewLine;","𝔑":"&Nfr;","⁠":"&NoBreak;"," ":"&nbsp;",ℕ:"&naturals;","⫬":"&Not;","≢":"&nequiv;","≭":"&NotCupCap;","∦":"&nspar;","∉":"&notinva;","≠":"&ne;","≂̸":"&nesim;","∄":"&nexists;","≯":"&ngtr;","≱":"&ngeq;","≧̸":"&ngeqq;","≫̸":"&nGtv;","≹":"&ntgl;","⩾̸":"&nges;","≵":"&ngsim;","≎̸":"&nbump;","≏̸":"&nbumpe;","⋪":"&ntriangleleft;","⧏̸":"&NotLeftTriangleBar;","⋬":"&ntrianglelefteq;","≮":"&nlt;","≰":"&nleq;","≸":"&ntlg;","≪̸":"&nLtv;","⩽̸":"&nles;","≴":"&nlsim;","⪢̸":"&NotNestedGreaterGreater;","⪡̸":"&NotNestedLessLess;","⊀":"&nprec;","⪯̸":"&npreceq;","⋠":"&nprcue;","∌":"&notniva;","⋫":"&ntriangleright;","⧐̸":"&NotRightTriangleBar;","⋭":"&ntrianglerighteq;","⊏̸":"&NotSquareSubset;","⋢":"&nsqsube;","⊐̸":"&NotSquareSuperset;","⋣":"&nsqsupe;","⊂⃒":"&vnsub;","⊈":"&nsubseteq;","⊁":"&nsucc;","⪰̸":"&nsucceq;","⋡":"&nsccue;","≿̸":"&NotSucceedsTilde;","⊃⃒":"&vnsup;","⊉":"&nsupseteq;","≁":"&nsim;","≄":"&nsimeq;","≇":"&ncong;","≉":"&napprox;","∤":"&nsmid;","𝒩":"&Nscr;",Ñ:"&Ntilde;",Ν:"&Nu;",Œ:"&OElig;",Ó:"&Oacute;",Ô:"&Ocirc;",О:"&Ocy;",Ő:"&Odblac;","𝔒":"&Ofr;",Ò:"&Ograve;",Ō:"&Omacr;",Ω:"&ohm;",Ο:"&Omicron;","𝕆":"&Oopf;","“":"&ldquo;","‘":"&lsquo;","⩔":"&Or;","𝒪":"&Oscr;",Ø:"&Oslash;",Õ:"&Otilde;","⨷":"&Otimes;",Ö:"&Ouml;","‾":"&oline;","⏞":"&OverBrace;","⎴":"&tbrk;","⏜":"&OverParenthesis;","∂":"&part;",П:"&Pcy;","𝔓":"&Pfr;",Φ:"&Phi;",Π:"&Pi;","±":"&pm;",ℙ:"&primes;","⪻":"&Pr;","≺":"&prec;","⪯":"&preceq;","≼":"&preccurlyeq;","≾":"&prsim;","″":"&Prime;","∏":"&prod;","∝":"&vprop;","𝒫":"&Pscr;",Ψ:"&Psi;",'"':"&quot;","𝔔":"&Qfr;",ℚ:"&rationals;","𝒬":"&Qscr;","⤐":"&drbkarow;","®":"&reg;",Ŕ:"&Racute;","⟫":"&Rang;","↠":"&twoheadrightarrow;","⤖":"&Rarrtl;",Ř:"&Rcaron;",Ŗ:"&Rcedil;",Р:"&Rcy;",ℜ:"&realpart;","∋":"&niv;","⇋":"&lrhar;","⥯":"&duhar;",Ρ:"&Rho;","⟩":"&rangle;","→":"&srarr;","⇥":"&rarrb;","⇄":"&rlarr;","⌉":"&rceil;","⟧":"&robrk;","⥝":"&RightDownTeeVector;","⇂":"&downharpoonright;","⥕":"&RightDownVectorBar;","⌋":"&rfloor;","⊢":"&vdash;","↦":"&mapsto;","⥛":"&RightTeeVector;","⊳":"&vrtri;","⧐":"&RightTriangleBar;","⊵":"&trianglerighteq;","⥏":"&RightUpDownVector;","⥜":"&RightUpTeeVector;","↾":"&upharpoonright;","⥔":"&RightUpVectorBar;","⇀":"&rightharpoonup;","⥓":"&RightVectorBar;",ℝ:"&reals;","⥰":"&RoundImplies;","⇛":"&rAarr;",ℛ:"&realine;","↱":"&rsh;","⧴":"&RuleDelayed;",Щ:"&SHCHcy;",Ш:"&SHcy;",Ь:"&SOFTcy;",Ś:"&Sacute;","⪼":"&Sc;",Š:"&Scaron;",Ş:"&Scedil;",Ŝ:"&Scirc;",С:"&Scy;","𝔖":"&Sfr;","↑":"&uparrow;",Σ:"&Sigma;","∘":"&compfn;","𝕊":"&Sopf;","√":"&radic;","□":"&square;","⊓":"&sqcap;","⊏":"&sqsubset;","⊑":"&sqsubseteq;","⊐":"&sqsupset;","⊒":"&sqsupseteq;","⊔":"&sqcup;","𝒮":"&Sscr;","⋆":"&sstarf;","⋐":"&Subset;","⊆":"&subseteq;","≻":"&succ;","⪰":"&succeq;","≽":"&succcurlyeq;","≿":"&succsim;","∑":"&sum;","⋑":"&Supset;","⊃":"&supset;","⊇":"&supseteq;",Þ:"&THORN;","™":"&trade;",Ћ:"&TSHcy;",Ц:"&TScy;"," ":"&Tab;",Τ:"&Tau;",Ť:"&Tcaron;",Ţ:"&Tcedil;",Т:"&Tcy;","𝔗":"&Tfr;","∴":"&therefore;",Θ:"&Theta;","  ":"&ThickSpace;"," ":"&thinsp;","∼":"&thksim;","≃":"&simeq;","≅":"&cong;","≈":"&thkap;","𝕋":"&Topf;","⃛":"&tdot;","𝒯":"&Tscr;",Ŧ:"&Tstrok;",Ú:"&Uacute;","↟":"&Uarr;","⥉":"&Uarrocir;",Ў:"&Ubrcy;",Ŭ:"&Ubreve;",Û:"&Ucirc;",У:"&Ucy;",Ű:"&Udblac;","𝔘":"&Ufr;",Ù:"&Ugrave;",Ū:"&Umacr;",_:"&lowbar;","⏟":"&UnderBrace;","⎵":"&bbrk;","⏝":"&UnderParenthesis;","⋃":"&xcup;","⊎":"&uplus;",Ų:"&Uogon;","𝕌":"&Uopf;","⤒":"&UpArrowBar;","⇅":"&udarr;","↕":"&varr;","⥮":"&udhar;","⊥":"&perp;","↥":"&mapstoup;","↖":"&nwarrow;","↗":"&nearrow;",ϒ:"&upsih;",Υ:"&Upsilon;",Ů:"&Uring;","𝒰":"&Uscr;",Ũ:"&Utilde;",Ü:"&Uuml;","⊫":"&VDash;","⫫":"&Vbar;",В:"&Vcy;","⊩":"&Vdash;","⫦":"&Vdashl;","⋁":"&xvee;","‖":"&Vert;","∣":"&smid;","|":"&vert;","❘":"&VerticalSeparator;","≀":"&wreath;"," ":"&hairsp;","𝔙":"&Vfr;","𝕍":"&Vopf;","𝒱":"&Vscr;","⊪":"&Vvdash;",Ŵ:"&Wcirc;","⋀":"&xwedge;","𝔚":"&Wfr;","𝕎":"&Wopf;","𝒲":"&Wscr;","𝔛":"&Xfr;",Ξ:"&Xi;","𝕏":"&Xopf;","𝒳":"&Xscr;",Я:"&YAcy;",Ї:"&YIcy;",Ю:"&YUcy;",Ý:"&Yacute;",Ŷ:"&Ycirc;",Ы:"&Ycy;","𝔜":"&Yfr;","𝕐":"&Yopf;","𝒴":"&Yscr;",Ÿ:"&Yuml;",Ж:"&ZHcy;",Ź:"&Zacute;",Ž:"&Zcaron;",З:"&Zcy;",Ż:"&Zdot;",Ζ:"&Zeta;",ℨ:"&zeetrf;",ℤ:"&integers;","𝒵":"&Zscr;",á:"&aacute;",ă:"&abreve;","∾":"&mstpos;","∾̳":"&acE;","∿":"&acd;",â:"&acirc;",а:"&acy;",æ:"&aelig;","𝔞":"&afr;",à:"&agrave;",ℵ:"&aleph;",α:"&alpha;",ā:"&amacr;","⨿":"&amalg;","∧":"&wedge;","⩕":"&andand;","⩜":"&andd;","⩘":"&andslope;","⩚":"&andv;","∠":"&angle;","⦤":"&ange;","∡":"&measuredangle;","⦨":"&angmsdaa;","⦩":"&angmsdab;","⦪":"&angmsdac;","⦫":"&angmsdad;","⦬":"&angmsdae;","⦭":"&angmsdaf;","⦮":"&angmsdag;","⦯":"&angmsdah;","∟":"&angrt;","⊾":"&angrtvb;","⦝":"&angrtvbd;","∢":"&angsph;","⍼":"&angzarr;",ą:"&aogon;","𝕒":"&aopf;","⩰":"&apE;","⩯":"&apacir;","≊":"&approxeq;","≋":"&apid;","'":"&apos;",å:"&aring;","𝒶":"&ascr;","*":"&midast;",ã:"&atilde;",ä:"&auml;","⨑":"&awint;","⫭":"&bNot;","≌":"&bcong;","϶":"&bepsi;","‵":"&bprime;","∽":"&bsim;","⋍":"&bsime;","⊽":"&barvee;","⌅":"&barwedge;","⎶":"&bbrktbrk;",б:"&bcy;","„":"&ldquor;","⦰":"&bemptyv;",β:"&beta;",ℶ:"&beth;","≬":"&twixt;","𝔟":"&bfr;","◯":"&xcirc;","⨀":"&xodot;","⨁":"&xoplus;","⨂":"&xotime;","⨆":"&xsqcup;","★":"&starf;","▽":"&xdtri;","△":"&xutri;","⨄":"&xuplus;","⤍":"&rbarr;","⧫":"&lozf;","▴":"&utrif;","▾":"&dtrif;","◂":"&ltrif;","▸":"&rtrif;","␣":"&blank;","▒":"&blk12;","░":"&blk14;","▓":"&blk34;","█":"&block;","=⃥":"&bne;","≡⃥":"&bnequiv;","⌐":"&bnot;","𝕓":"&bopf;","⋈":"&bowtie;","╗":"&boxDL;","╔":"&boxDR;","╖":"&boxDl;","╓":"&boxDr;","═":"&boxH;","╦":"&boxHD;","╩":"&boxHU;","╤":"&boxHd;","╧":"&boxHu;","╝":"&boxUL;","╚":"&boxUR;","╜":"&boxUl;","╙":"&boxUr;","║":"&boxV;","╬":"&boxVH;","╣":"&boxVL;","╠":"&boxVR;","╫":"&boxVh;","╢":"&boxVl;","╟":"&boxVr;","⧉":"&boxbox;","╕":"&boxdL;","╒":"&boxdR;","┐":"&boxdl;","┌":"&boxdr;","╥":"&boxhD;","╨":"&boxhU;","┬":"&boxhd;","┴":"&boxhu;","⊟":"&minusb;","⊞":"&plusb;","⊠":"&timesb;","╛":"&boxuL;","╘":"&boxuR;","┘":"&boxul;","└":"&boxur;","│":"&boxv;","╪":"&boxvH;","╡":"&boxvL;","╞":"&boxvR;","┼":"&boxvh;","┤":"&boxvl;","├":"&boxvr;","¦":"&brvbar;","𝒷":"&bscr;","⁏":"&bsemi;","\\":"&bsol;","⧅":"&bsolb;","⟈":"&bsolhsub;","•":"&bullet;","⪮":"&bumpE;",ć:"&cacute;","∩":"&cap;","⩄":"&capand;","⩉":"&capbrcup;","⩋":"&capcap;","⩇":"&capcup;","⩀":"&capdot;","∩︀":"&caps;","⁁":"&caret;","⩍":"&ccaps;",č:"&ccaron;",ç:"&ccedil;",ĉ:"&ccirc;","⩌":"&ccups;","⩐":"&ccupssm;",ċ:"&cdot;","⦲":"&cemptyv;","¢":"&cent;","𝔠":"&cfr;",ч:"&chcy;","✓":"&checkmark;",χ:"&chi;","○":"&cir;","⧃":"&cirE;","ˆ":"&circ;","≗":"&cire;","↺":"&olarr;","↻":"&orarr;","Ⓢ":"&oS;","⊛":"&oast;","⊚":"&ocir;","⊝":"&odash;","⨐":"&cirfnint;","⫯":"&cirmid;","⧂":"&cirscir;","♣":"&clubsuit;",":":"&colon;",",":"&comma;","@":"&commat;","∁":"&complement;","⩭":"&congdot;","𝕔":"&copf;","℗":"&copysr;","↵":"&crarr;","✗":"&cross;","𝒸":"&cscr;","⫏":"&csub;","⫑":"&csube;","⫐":"&csup;","⫒":"&csupe;","⋯":"&ctdot;","⤸":"&cudarrl;","⤵":"&cudarrr;","⋞":"&curlyeqprec;","⋟":"&curlyeqsucc;","↶":"&curvearrowleft;","⤽":"&cularrp;","∪":"&cup;","⩈":"&cupbrcap;","⩆":"&cupcap;","⩊":"&cupcup;","⊍":"&cupdot;","⩅":"&cupor;","∪︀":"&cups;","↷":"&curvearrowright;","⤼":"&curarrm;","⋎":"&cuvee;","⋏":"&cuwed;","¤":"&curren;","∱":"&cwint;","⌭":"&cylcty;","⥥":"&dHar;","†":"&dagger;",ℸ:"&daleth;","‐":"&hyphen;","⤏":"&rBarr;",ď:"&dcaron;",д:"&dcy;","⇊":"&downdownarrows;","⩷":"&eDDot;","°":"&deg;",δ:"&delta;","⦱":"&demptyv;","⥿":"&dfisht;","𝔡":"&dfr;","♦":"&diams;",ϝ:"&gammad;","⋲":"&disin;","÷":"&divide;","⋇":"&divonx;",ђ:"&djcy;","⌞":"&llcorner;","⌍":"&dlcrop;",$:"&dollar;","𝕕":"&dopf;","≑":"&eDot;","∸":"&minusd;","∔":"&plusdo;","⊡":"&sdotb;","⌟":"&lrcorner;","⌌":"&drcrop;","𝒹":"&dscr;",ѕ:"&dscy;","⧶":"&dsol;",đ:"&dstrok;","⋱":"&dtdot;","▿":"&triangledown;","⦦":"&dwangle;",џ:"&dzcy;","⟿":"&dzigrarr;",é:"&eacute;","⩮":"&easter;",ě:"&ecaron;","≖":"&eqcirc;",ê:"&ecirc;","≕":"&eqcolon;",э:"&ecy;",ė:"&edot;","≒":"&fallingdotseq;","𝔢":"&efr;","⪚":"&eg;",è:"&egrave;","⪖":"&eqslantgtr;","⪘":"&egsdot;","⪙":"&el;","⏧":"&elinters;",ℓ:"&ell;","⪕":"&eqslantless;","⪗":"&elsdot;",ē:"&emacr;","∅":"&varnothing;"," ":"&emsp13;"," ":"&emsp14;"," ":"&emsp;",ŋ:"&eng;"," ":"&ensp;",ę:"&eogon;","𝕖":"&eopf;","⋕":"&epar;","⧣":"&eparsl;","⩱":"&eplus;",ε:"&epsilon;","ϵ":"&varepsilon;","=":"&equals;","≟":"&questeq;","⩸":"&equivDD;","⧥":"&eqvparsl;","≓":"&risingdotseq;","⥱":"&erarr;",ℯ:"&escr;",η:"&eta;",ð:"&eth;",ë:"&euml;","€":"&euro;","!":"&excl;",ф:"&fcy;","♀":"&female;",ffi:"&ffilig;",ff:"&fflig;",ffl:"&ffllig;","𝔣":"&ffr;",fi:"&filig;",fj:"&fjlig;","♭":"&flat;",fl:"&fllig;","▱":"&fltns;",ƒ:"&fnof;","𝕗":"&fopf;","⋔":"&pitchfork;","⫙":"&forkv;","⨍":"&fpartint;","½":"&half;","⅓":"&frac13;","¼":"&frac14;","⅕":"&frac15;","⅙":"&frac16;","⅛":"&frac18;","⅔":"&frac23;","⅖":"&frac25;","¾":"&frac34;","⅗":"&frac35;","⅜":"&frac38;","⅘":"&frac45;","⅚":"&frac56;","⅝":"&frac58;","⅞":"&frac78;","⁄":"&frasl;","⌢":"&sfrown;","𝒻":"&fscr;","⪌":"&gtreqqless;",ǵ:"&gacute;",γ:"&gamma;","⪆":"&gtrapprox;",ğ:"&gbreve;",ĝ:"&gcirc;",г:"&gcy;",ġ:"&gdot;","⪩":"&gescc;","⪀":"&gesdot;","⪂":"&gesdoto;","⪄":"&gesdotol;","⋛︀":"&gesl;","⪔":"&gesles;","𝔤":"&gfr;",ℷ:"&gimel;",ѓ:"&gjcy;","⪒":"&glE;","⪥":"&gla;","⪤":"&glj;","≩":"&gneqq;","⪊":"&gnapprox;","⪈":"&gneq;","⋧":"&gnsim;","𝕘":"&gopf;",ℊ:"&gscr;","⪎":"&gsime;","⪐":"&gsiml;","⪧":"&gtcc;","⩺":"&gtcir;","⋗":"&gtrdot;","⦕":"&gtlPar;","⩼":"&gtquest;","⥸":"&gtrarr;","≩︀":"&gvnE;",ъ:"&hardcy;","⥈":"&harrcir;","↭":"&leftrightsquigarrow;",ℏ:"&plankv;",ĥ:"&hcirc;","♥":"&heartsuit;","…":"&mldr;","⊹":"&hercon;","𝔥":"&hfr;","⤥":"&searhk;","⤦":"&swarhk;","⇿":"&hoarr;","∻":"&homtht;","↩":"&larrhk;","↪":"&rarrhk;","𝕙":"&hopf;","―":"&horbar;","𝒽":"&hscr;",ħ:"&hstrok;","⁃":"&hybull;",í:"&iacute;",î:"&icirc;",и:"&icy;",е:"&iecy;","¡":"&iexcl;","𝔦":"&ifr;",ì:"&igrave;","⨌":"&qint;","∭":"&tint;","⧜":"&iinfin;","℩":"&iiota;",ij:"&ijlig;",ī:"&imacr;",ı:"&inodot;","⊷":"&imof;",Ƶ:"&imped;","℅":"&incare;","∞":"&infin;","⧝":"&infintie;","⊺":"&intercal;","⨗":"&intlarhk;","⨼":"&iprod;",ё:"&iocy;",į:"&iogon;","𝕚":"&iopf;",ι:"&iota;","¿":"&iquest;","𝒾":"&iscr;","⋹":"&isinE;","⋵":"&isindot;","⋴":"&isins;","⋳":"&isinsv;",ĩ:"&itilde;",і:"&iukcy;",ï:"&iuml;",ĵ:"&jcirc;",й:"&jcy;","𝔧":"&jfr;","ȷ":"&jmath;","𝕛":"&jopf;","𝒿":"&jscr;",ј:"&jsercy;",є:"&jukcy;",κ:"&kappa;",ϰ:"&varkappa;",ķ:"&kcedil;",к:"&kcy;","𝔨":"&kfr;",ĸ:"&kgreen;",х:"&khcy;",ќ:"&kjcy;","𝕜":"&kopf;","𝓀":"&kscr;","⤛":"&lAtail;","⤎":"&lBarr;","⪋":"&lesseqqgtr;","⥢":"&lHar;",ĺ:"&lacute;","⦴":"&laemptyv;",λ:"&lambda;","⦑":"&langd;","⪅":"&lessapprox;","«":"&laquo;","⤟":"&larrbfs;","⤝":"&larrfs;","↫":"&looparrowleft;","⤹":"&larrpl;","⥳":"&larrsim;","↢":"&leftarrowtail;","⪫":"&lat;","⤙":"&latail;","⪭":"&late;","⪭︀":"&lates;","⤌":"&lbarr;","❲":"&lbbrk;","{":"&lcub;","[":"&lsqb;","⦋":"&lbrke;","⦏":"&lbrksld;","⦍":"&lbrkslu;",ľ:"&lcaron;",ļ:"&lcedil;",л:"&lcy;","⤶":"&ldca;","⥧":"&ldrdhar;","⥋":"&ldrushar;","↲":"&ldsh;","≤":"&leq;","⇇":"&llarr;","⋋":"&lthree;","⪨":"&lescc;","⩿":"&lesdot;","⪁":"&lesdoto;","⪃":"&lesdotor;","⋚︀":"&lesg;","⪓":"&lesges;","⋖":"&ltdot;","⥼":"&lfisht;","𝔩":"&lfr;","⪑":"&lgE;","⥪":"&lharul;","▄":"&lhblk;",љ:"&ljcy;","⥫":"&llhard;","◺":"&lltri;",ŀ:"&lmidot;","⎰":"&lmoustache;","≨":"&lneqq;","⪉":"&lnapprox;","⪇":"&lneq;","⋦":"&lnsim;","⟬":"&loang;","⇽":"&loarr;","⟼":"&xmap;","↬":"&rarrlp;","⦅":"&lopar;","𝕝":"&lopf;","⨭":"&loplus;","⨴":"&lotimes;","∗":"&lowast;","◊":"&lozenge;","(":"&lpar;","⦓":"&lparlt;","⥭":"&lrhard;","‎":"&lrm;","⊿":"&lrtri;","‹":"&lsaquo;","𝓁":"&lscr;","⪍":"&lsime;","⪏":"&lsimg;","‚":"&sbquo;",ł:"&lstrok;","⪦":"&ltcc;","⩹":"&ltcir;","⋉":"&ltimes;","⥶":"&ltlarr;","⩻":"&ltquest;","⦖":"&ltrPar;","◃":"&triangleleft;","⥊":"&lurdshar;","⥦":"&luruhar;","≨︀":"&lvnE;","∺":"&mDDot;","¯":"&strns;","♂":"&male;","✠":"&maltese;","▮":"&marker;","⨩":"&mcomma;",м:"&mcy;","—":"&mdash;","𝔪":"&mfr;","℧":"&mho;",µ:"&micro;","⫰":"&midcir;","−":"&minus;","⨪":"&minusdu;","⫛":"&mlcp;","⊧":"&models;","𝕞":"&mopf;","𝓂":"&mscr;",μ:"&mu;","⊸":"&mumap;","⋙̸":"&nGg;","≫⃒":"&nGt;","⇍":"&nlArr;","⇎":"&nhArr;","⋘̸":"&nLl;","≪⃒":"&nLt;","⇏":"&nrArr;","⊯":"&nVDash;","⊮":"&nVdash;",ń:"&nacute;","∠⃒":"&nang;","⩰̸":"&napE;","≋̸":"&napid;",ʼn:"&napos;","♮":"&natural;","⩃":"&ncap;",ň:"&ncaron;",ņ:"&ncedil;","⩭̸":"&ncongdot;","⩂":"&ncup;",н:"&ncy;","–":"&ndash;","⇗":"&neArr;","⤤":"&nearhk;","≐̸":"&nedot;","⤨":"&toea;","𝔫":"&nfr;","↮":"&nleftrightarrow;","⫲":"&nhpar;","⋼":"&nis;","⋺":"&nisd;",њ:"&njcy;","≦̸":"&nleqq;","↚":"&nleftarrow;","‥":"&nldr;","𝕟":"&nopf;","¬":"&not;","⋹̸":"&notinE;","⋵̸":"&notindot;","⋷":"&notinvb;","⋶":"&notinvc;","⋾":"&notnivb;","⋽":"&notnivc;","⫽⃥":"&nparsl;","∂̸":"&npart;","⨔":"&npolint;","↛":"&nrightarrow;","⤳̸":"&nrarrc;","↝̸":"&nrarrw;","𝓃":"&nscr;","⊄":"&nsub;","⫅̸":"&nsubseteqq;","⊅":"&nsup;","⫆̸":"&nsupseteqq;",ñ:"&ntilde;",ν:"&nu;","#":"&num;","№":"&numero;"," ":"&numsp;","⊭":"&nvDash;","⤄":"&nvHarr;","≍⃒":"&nvap;","⊬":"&nvdash;","≥⃒":"&nvge;",">⃒":"&nvgt;","⧞":"&nvinfin;","⤂":"&nvlArr;","≤⃒":"&nvle;","<⃒":"&nvlt;","⊴⃒":"&nvltrie;","⤃":"&nvrArr;","⊵⃒":"&nvrtrie;","∼⃒":"&nvsim;","⇖":"&nwArr;","⤣":"&nwarhk;","⤧":"&nwnear;",ó:"&oacute;",ô:"&ocirc;",о:"&ocy;",ő:"&odblac;","⨸":"&odiv;","⦼":"&odsold;",œ:"&oelig;","⦿":"&ofcir;","𝔬":"&ofr;","˛":"&ogon;",ò:"&ograve;","⧁":"&ogt;","⦵":"&ohbar;","⦾":"&olcir;","⦻":"&olcross;","⧀":"&olt;",ō:"&omacr;",ω:"&omega;",ο:"&omicron;","⦶":"&omid;","𝕠":"&oopf;","⦷":"&opar;","⦹":"&operp;","∨":"&vee;","⩝":"&ord;",ℴ:"&oscr;",ª:"&ordf;",º:"&ordm;","⊶":"&origof;","⩖":"&oror;","⩗":"&orslope;","⩛":"&orv;",ø:"&oslash;","⊘":"&osol;",õ:"&otilde;","⨶":"&otimesas;",ö:"&ouml;","⌽":"&ovbar;","¶":"&para;","⫳":"&parsim;","⫽":"&parsl;",п:"&pcy;","%":"&percnt;",".":"&period;","‰":"&permil;","‱":"&pertenk;","𝔭":"&pfr;",φ:"&phi;",ϕ:"&varphi;","☎":"&phone;",π:"&pi;",ϖ:"&varpi;",ℎ:"&planckh;","+":"&plus;","⨣":"&plusacir;","⨢":"&pluscir;","⨥":"&plusdu;","⩲":"&pluse;","⨦":"&plussim;","⨧":"&plustwo;","⨕":"&pointint;","𝕡":"&popf;","£":"&pound;","⪳":"&prE;","⪷":"&precapprox;","⪹":"&prnap;","⪵":"&prnE;","⋨":"&prnsim;","′":"&prime;","⌮":"&profalar;","⌒":"&profline;","⌓":"&profsurf;","⊰":"&prurel;","𝓅":"&pscr;",ψ:"&psi;"," ":"&puncsp;","𝔮":"&qfr;","𝕢":"&qopf;","⁗":"&qprime;","𝓆":"&qscr;","⨖":"&quatint;","?":"&quest;","⤜":"&rAtail;","⥤":"&rHar;","∽̱":"&race;",ŕ:"&racute;","⦳":"&raemptyv;","⦒":"&rangd;","⦥":"&range;","»":"&raquo;","⥵":"&rarrap;","⤠":"&rarrbfs;","⤳":"&rarrc;","⤞":"&rarrfs;","⥅":"&rarrpl;","⥴":"&rarrsim;","↣":"&rightarrowtail;","↝":"&rightsquigarrow;","⤚":"&ratail;","∶":"&ratio;","❳":"&rbbrk;","}":"&rcub;","]":"&rsqb;","⦌":"&rbrke;","⦎":"&rbrksld;","⦐":"&rbrkslu;",ř:"&rcaron;",ŗ:"&rcedil;",р:"&rcy;","⤷":"&rdca;","⥩":"&rdldhar;","↳":"&rdsh;","▭":"&rect;","⥽":"&rfisht;","𝔯":"&rfr;","⥬":"&rharul;",ρ:"&rho;",ϱ:"&varrho;","⇉":"&rrarr;","⋌":"&rthree;","˚":"&ring;","‏":"&rlm;","⎱":"&rmoustache;","⫮":"&rnmid;","⟭":"&roang;","⇾":"&roarr;","⦆":"&ropar;","𝕣":"&ropf;","⨮":"&roplus;","⨵":"&rotimes;",")":"&rpar;","⦔":"&rpargt;","⨒":"&rppolint;","›":"&rsaquo;","𝓇":"&rscr;","⋊":"&rtimes;","▹":"&triangleright;","⧎":"&rtriltri;","⥨":"&ruluhar;","℞":"&rx;",ś:"&sacute;","⪴":"&scE;","⪸":"&succapprox;",š:"&scaron;",ş:"&scedil;",ŝ:"&scirc;","⪶":"&succneqq;","⪺":"&succnapprox;","⋩":"&succnsim;","⨓":"&scpolint;",с:"&scy;","⋅":"&sdot;","⩦":"&sdote;","⇘":"&seArr;","§":"&sect;",";":"&semi;","⤩":"&tosa;","✶":"&sext;","𝔰":"&sfr;","♯":"&sharp;",щ:"&shchcy;",ш:"&shcy;","­":"&shy;",σ:"&sigma;",ς:"&varsigma;","⩪":"&simdot;","⪞":"&simg;","⪠":"&simgE;","⪝":"&siml;","⪟":"&simlE;","≆":"&simne;","⨤":"&simplus;","⥲":"&simrarr;","⨳":"&smashp;","⧤":"&smeparsl;","⌣":"&ssmile;","⪪":"&smt;","⪬":"&smte;","⪬︀":"&smtes;",ь:"&softcy;","/":"&sol;","⧄":"&solb;","⌿":"&solbar;","𝕤":"&sopf;","♠":"&spadesuit;","⊓︀":"&sqcaps;","⊔︀":"&sqcups;","𝓈":"&sscr;","☆":"&star;","⊂":"&subset;","⫅":"&subseteqq;","⪽":"&subdot;","⫃":"&subedot;","⫁":"&submult;","⫋":"&subsetneqq;","⊊":"&subsetneq;","⪿":"&subplus;","⥹":"&subrarr;","⫇":"&subsim;","⫕":"&subsub;","⫓":"&subsup;","♪":"&sung;","¹":"&sup1;","²":"&sup2;","³":"&sup3;","⫆":"&supseteqq;","⪾":"&supdot;","⫘":"&supdsub;","⫄":"&supedot;","⟉":"&suphsol;","⫗":"&suphsub;","⥻":"&suplarr;","⫂":"&supmult;","⫌":"&supsetneqq;","⊋":"&supsetneq;","⫀":"&supplus;","⫈":"&supsim;","⫔":"&supsub;","⫖":"&supsup;","⇙":"&swArr;","⤪":"&swnwar;",ß:"&szlig;","⌖":"&target;",τ:"&tau;",ť:"&tcaron;",ţ:"&tcedil;",т:"&tcy;","⌕":"&telrec;","𝔱":"&tfr;",θ:"&theta;",ϑ:"&vartheta;",þ:"&thorn;","×":"&times;","⨱":"&timesbar;","⨰":"&timesd;","⌶":"&topbot;","⫱":"&topcir;","𝕥":"&topf;","⫚":"&topfork;","‴":"&tprime;","▵":"&utri;","≜":"&trie;","◬":"&tridot;","⨺":"&triminus;","⨹":"&triplus;","⧍":"&trisb;","⨻":"&tritime;","⏢":"&trpezium;","𝓉":"&tscr;",ц:"&tscy;",ћ:"&tshcy;",ŧ:"&tstrok;","⥣":"&uHar;",ú:"&uacute;",ў:"&ubrcy;",ŭ:"&ubreve;",û:"&ucirc;",у:"&ucy;",ű:"&udblac;","⥾":"&ufisht;","𝔲":"&ufr;",ù:"&ugrave;","▀":"&uhblk;","⌜":"&ulcorner;","⌏":"&ulcrop;","◸":"&ultri;",ū:"&umacr;",ų:"&uogon;","𝕦":"&uopf;",υ:"&upsilon;","⇈":"&uuarr;","⌝":"&urcorner;","⌎":"&urcrop;",ů:"&uring;","◹":"&urtri;","𝓊":"&uscr;","⋰":"&utdot;",ũ:"&utilde;",ü:"&uuml;","⦧":"&uwangle;","⫨":"&vBar;","⫩":"&vBarv;","⦜":"&vangrt;","⊊︀":"&vsubne;","⫋︀":"&vsubnE;","⊋︀":"&vsupne;","⫌︀":"&vsupnE;",в:"&vcy;","⊻":"&veebar;","≚":"&veeeq;","⋮":"&vellip;","𝔳":"&vfr;","𝕧":"&vopf;","𝓋":"&vscr;","⦚":"&vzigzag;",ŵ:"&wcirc;","⩟":"&wedbar;","≙":"&wedgeq;","℘":"&wp;","𝔴":"&wfr;","𝕨":"&wopf;","𝓌":"&wscr;","𝔵":"&xfr;",ξ:"&xi;","⋻":"&xnis;","𝕩":"&xopf;","𝓍":"&xscr;",ý:"&yacute;",я:"&yacy;",ŷ:"&ycirc;",ы:"&ycy;","¥":"&yen;","𝔶":"&yfr;",ї:"&yicy;","𝕪":"&yopf;","𝓎":"&yscr;",ю:"&yucy;",ÿ:"&yuml;",ź:"&zacute;",ž:"&zcaron;",з:"&zcy;",ż:"&zdot;",ζ:"&zeta;","𝔷":"&zfr;",ж:"&zhcy;","⇝":"&zigrarr;","𝕫":"&zopf;","𝓏":"&zscr;","‍":"&zwj;","‌":"&zwnj;"}}};var CE={};Object.defineProperty(CE,"__esModule",{value:!0});CE.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var Iy={};Object.defineProperty(Iy,"__esModule",{value:!0});Iy.fromCodePoint=String.fromCodePoint||function(n){return String.fromCharCode(Math.floor((n-65536)/1024)+55296,(n-65536)%1024+56320)};Iy.getCodePoint=String.prototype.codePointAt?function(n,e){return n.codePointAt(e)}:function(n,e){return(n.charCodeAt(e)-55296)*1024+n.charCodeAt(e+1)-56320+65536};Iy.highSurrogateFrom=55296;Iy.highSurrogateTo=56319;var Q3=jr&&jr.__assign||function(){return Q3=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o])}return n},Q3.apply(this,arguments)};Object.defineProperty(F7,"__esModule",{value:!0});var s_=P7,M4e=CE,Rz=Iy,SE=Q3(Q3({},s_.namedReferences),{all:s_.namedReferences.html5});function zz(n,e,t){e.lastIndex=0;var i=e.exec(n),o;if(i){o="";var a=0;do{a!==i.index&&(o+=n.substring(a,i.index));var r=i[0];o+=t(r),a=i.index+r.length}while(i=e.exec(n));a!==n.length&&(o+=n.substring(a))}else o=n;return o}var F4e={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},P4e={mode:"specialChars",level:"all",numeric:"decimal"};function O4e(n,e){var t=e===void 0?P4e:e,i=t.mode,o=i===void 0?"specialChars":i,a=t.numeric,r=a===void 0?"decimal":a,l=t.level,s=l===void 0?"all":l;if(!n)return"";var u=F4e[o],d=SE[s].characters,g=r==="hexadecimal";return zz(n,u,function(m){var _=d[m];if(!_){var x=m.length>1?Rz.getCodePoint(m,0):m.charCodeAt(0);_=(g?"&#x"+x.toString(16):"&#"+x)+";"}return _})}F7.encode=O4e;var R4e={scope:"body",level:"all"},Dx=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,Lx=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,LL={xml:{strict:Dx,attribute:Lx,body:s_.bodyRegExps.xml},html4:{strict:Dx,attribute:Lx,body:s_.bodyRegExps.html4},html5:{strict:Dx,attribute:Lx,body:s_.bodyRegExps.html5}},z4e=Q3(Q3({},LL),{all:LL.html5}),$z=String.fromCharCode,$4e=$z(65533),N4e={level:"all"};function Nz(n,e,t,i){var o=n,a=n[n.length-1];if(t&&a==="=")o=n;else if(i&&a!==";")o=n;else{var r=e[n];if(r)o=r;else if(n[0]==="&"&&n[1]==="#"){var l=n[2],s=l=="x"||l=="X"?parseInt(n.substr(3),16):parseInt(n.substr(2));o=s>=1114111?$4e:s>65535?Rz.fromCodePoint(s):$z(M4e.numericUnicodeMap[s]||s)}}return o}function B4e(n,e){var t=(e===void 0?N4e:e).level,i=t===void 0?"all":t;return n?Nz(n,SE[i].entities,!1,!1):""}F7.decodeEntity=B4e;function j4e(n,e){var t=e===void 0?R4e:e,i=t.level,o=i===void 0?"all":i,a=t.scope,r=a===void 0?o==="xml"?"strict":"body":a;if(!n)return"";var l=z4e[o][r],s=SE[o].entities,u=r==="attribute",d=r==="strict";return zz(n,l,function(g){return Nz(g,s,u,d)})}var Bz=F7.decode=j4e;const V4e={class:"value"},H4e=Pt({__name:"formatted-value",props:{type:{},value:{},format:{type:Boolean},font:{default:"sans-serif"},bold:{type:Boolean},italic:{type:Boolean},prefix:{},suffix:{},color:{},background:{},icon:{},border:{type:Boolean},masked:{type:Boolean},translate:{type:Boolean},conditionalFormatting:{default:()=>[]}},setup(n){const e=n,{t,n:i}=un(),o=Ce(()=>(e.conditionalFormatting||[]).filter(({operator:d,value:g})=>{if(["string","text"].includes(e.type)){const m=String(e.value),_=String(g);return s(m,_,d)}else if(["float","decimal"].includes(e.type)){const m=parseFloat(String(e.value)),_=parseFloat(String(g));return u(m,_,d)}else{const m=parseInt(String(e.value)),_=parseInt(String(g));return u(m,_,d)}})),a=Ce(()=>{const{color:d,background:g,icon:m}=e;return o.value.reduce(({color:_,background:x,icon:S,text:A},F)=>({color:F.color||_,background:F.background||x,icon:F.icon||S,text:F.text||A}),{color:d,background:g,icon:m,text:""})}),r=Ce(()=>({color:a.value.color,borderStyle:"solid",borderWidth:e.border?"2px":0,borderColor:a.value.color,backgroundColor:a.value.background??"transparent"})),l=Ce(()=>{if(e.masked)return"**********";if(a.value.text){const{text:_}=a.value;return _.startsWith("$t:")?t(_.slice(3)):_}if(et.isNil(e.value)||e.value==="")return null;let d=String(e.value);e.translate&&d.startsWith("$t:")&&(d=t(d.slice(3))),d=L_.sanitize(d,{ALLOWED_TAGS:[]}),d=Bz(d),e.format&&(["string","text"].includes(e.type)?d=ac(d):["float","decimal"].includes(e.type)?d=i(parseFloat(d)):d=i(parseInt(d)));const g=e.prefix??"",m=e.suffix??"";return`${g}${d}${m}`});function s(d,g,m){switch(m){case"eq":return d===g;case"neq":return d!==g;case"contains":return d.includes(g);case"starts_with":return d.startsWith(g);case"ends_with":return d.endsWith(g)}}function u(d,g,m){switch(m){case"eq":return d===g;case"neq":return d!==g;case"gt":return d>g;case"gte":return d>=g;case"lt":return d<g;case"lte":return d<=g}}return(d,g)=>{const m=G("value-null"),_=G("v-icon");return l.value===null||l.value===void 0?(j(),ye(m,{key:0})):(j(),Re("div",{key:1,class:yn(["display-formatted",[{bold:d.bold,italic:d.italic},d.font,{"has-background":a.value.background,"has-border":r.value.borderWidth!==0}]]),style:hr(r.value)},[a.value.icon?(j(),ye(_,{key:0,name:a.value.icon,color:a.value.color,left:"",small:""},null,8,["name","color"])):We("",!0),ke("span",V4e,me(l.value),1)],6))}}}),U4e=Wt(H4e,[["__scopeId","data-v-db52f5c9"]]),q4e=Du({id:"formatted-value",name:"$t:displays.formatted-value.formatted-value",description:"$t:displays.formatted-value.description",types:["string","text","integer","float","decimal","bigInteger"],icon:"text_format",component:U4e,handler:(n,e)=>{const t=e.prefix??"",i=e.suffix??"";let o=String(n);o=L_.sanitize(n,{ALLOWED_TAGS:[]}),o=Bz(o);const a=e.format?ac(o):o;return`${t}${a}${i}`},options:({field:n})=>{const e=["string","text"].includes(n.type??"unknown");return[{field:"format",name:"$t:displays.formatted-value.format",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.format_label"}},schema:{default_value:!1}},{field:"font",name:"$t:displays.formatted-value.font",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:displays.formatted-value.font_sans_serif",value:"sans-serif"},{text:"$t:displays.formatted-value.font_serif",value:"serif"},{text:"$t:displays.formatted-value.font_monospace",value:"monospace"}]}},schema:{default_value:"sans-serif"}},{field:"bold",name:"$t:displays.formatted-value.bold",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.bold_label"}},schema:{default_value:!1}},{field:"italic",name:"$t:displays.formatted-value.italic",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.italic_label"}},schema:{default_value:!1}},{field:"prefix",name:"$t:displays.formatted-value.prefix",type:"string",meta:{width:"half",interface:"system-input-translated-string",options:{label:"$t:displays.formatted-value.prefix_label",trim:!1}}},{field:"suffix",name:"$t:displays.formatted-value.suffix",type:"string",meta:{width:"half",interface:"system-input-translated-string",options:{label:"$t:displays.formatted-value.suffix_label",trim:!1}}},{field:"color",name:"$t:displays.formatted-value.color",type:"string",meta:{interface:"select-color",width:"half"}},{field:"background",name:"$t:displays.formatted-value.background",type:"string",meta:{interface:"select-color",width:"half"}},{field:"icon",name:"$t:displays.formatted-value.icon",type:"string",meta:{width:"half",interface:"select-icon"}},{field:"border",name:"$t:displays.formatted-value.border",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.border_label"}},schema:{default_value:!1}},{field:"masked",name:"$t:displays.formatted-value.mask",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.mask_label"}},schema:{default_value:!1}},{field:"conditionalFormatting",type:"json",name:"$t:conditional_styles",meta:{interface:"list",width:"full",options:{template:"{{operator}} {{value}}",fields:[{field:"operator",name:"$t:operator",type:"string",schema:{default_value:"eq"},meta:{interface:"select-dropdown",options:{choices:(e?["eq","neq","contains","starts_with","ends_with"]:["eq","neq","gt","gte","lt","lte"]).map(o=>({text:`$t:operators.${o}`,value:o}))},width:"half"}},{field:"value",name:"$t:value",type:e?"string":"integer",schema:{default_value:e?"":0},meta:{interface:"input",width:"half"}},{field:"color",name:"$t:displays.formatted-value.color",type:"string",meta:{interface:"select-color",width:"half"}},{field:"background",name:"$t:displays.formatted-value.background",type:"string",meta:{interface:"select-color",width:"half"}},{field:"text",name:"$t:displays.formatted-value.text",type:"string",meta:{interface:"system-input-translated-string",width:"half",options:{placeholder:"$t:displays.formatted-value.text_placeholder"}}},{field:"icon",name:"$t:displays.formatted-value.icon",type:"string",meta:{width:"half",interface:"select-icon"}}]}}}]}}),W4e={key:1},G4e=Pt({__name:"hash",props:{value:{default:null}},setup(n){return(e,t)=>{const i=G("value-null");return e.value===null?(j(),ye(i,{key:0})):(j(),Re("div",W4e,"**********"))}}}),Y4e=Du({id:"hash",name:"$t:displays.hash.hash",description:"$t:displays.hash.description",types:["hash"],icon:"fingerprint",component:G4e,options:[]}),X4e=Pt({__name:"icon",props:{value:{},color:{},filled:{type:Boolean}},setup(n){const e=n,t=Ce(()=>e.color&&xE(e.color)?{"--v-icon-color":e.color}:{});return(i,o)=>{const a=G("v-icon");return j(),ye(a,{small:"",name:i.value,style:hr(t.value),filled:i.filled},null,8,["name","style","filled"])}}}),K4e=Du({id:"icon",name:"$t:displays.icon.icon",description:"$t:displays.icon.description",icon:"insert_emoticon",component:X4e,options:[{field:"filled",name:"$t:displays.icon.filled",type:"boolean",meta:{interface:"boolean",width:"half",options:{label:"$t:displays.icon.filled_label"}},schema:{default_value:!1}},{field:"color",name:"$t:color",type:"string",meta:{interface:"select-color",width:"half"}}],types:["string"]}),Z4e=Pt({__name:"image",props:{value:{},circle:{type:Boolean}},setup(n){const e=n,t=Oe(!1),i=Ce(()=>{var o,a;return((o=e.value)==null?void 0:o.id)===null||((a=e.value)==null?void 0:a.id)===void 0?null:fs(`${e.value.id}?key=system-small-cover`)});return(o,a)=>{const r=G("v-icon"),l=G("v-image"),s=G("value-null");return t.value?(j(),ye(r,{key:0,name:"image"})):i.value?(j(),ye(l,{key:1,src:i.value,role:"presentation",alt:o.value&&o.value.title,class:yn({circle:o.circle}),onError:a[0]||(a[0]=u=>t.value=!0)},null,8,["src","alt","class"])):(j(),ye(s,{key:2}))}}}),J4e=Wt(Z4e,[["__scopeId","data-v-e3d4a50a"]]),Q4e=Du({id:"image",name:"$t:displays.image.image",description:"$t:displays.image.description",types:["uuid"],localTypes:["file"],icon:"insert_photo",component:J4e,options:[{field:"circle",name:"$t:displays.image.circle",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.image.circle_label"}},schema:{default_value:!1}}],fields:["id","type","title"]}),e_e={class:"display-labels"},t_e=Pt({__name:"labels",props:{value:{},type:{},format:{type:Boolean,default:!0},showAsDot:{type:Boolean},choices:{default:()=>[]}},setup(n){const e=n,t=Ce(()=>{let i;return et.isEmpty(e.value)&&isNaN(e.value)?i=[]:e.type==="string"?i=[e.value]:["integer","bigInteger","float","decimal"].includes(e.type)?i=[e.value]:i=e.value,i.map(o=>{const a=(e.choices||[]).find(l=>l.value===o);let r;return typeof o=="object"?r=JSON.stringify(o):e.format&&isNaN(o)?r=ac(o):r=o,a===void 0?{value:o,text:r,foreground:"var(--theme--foreground)",background:"var(--theme--background-normal)"}:{value:o,text:a.text||r,icon:a.icon,color:a.color,foreground:a.foreground||"var(--theme--foreground)",background:a.background||"var(--theme--background-normal)"}})});return(i,o)=>{const a=G("v-icon"),r=G("display-color"),l=G("v-chip"),s=hi("tooltip");return j(),Re("div",e_e,[i.showAsDot?(j(!0),Re(hn,{key:1},Si(t.value,u=>Qt((j(),ye(r,{key:u.value,value:u.color??u.background},null,8,["value"])),[[s,u.text]])),128)):(j(!0),Re(hn,{key:0},Si(t.value,u=>(j(),ye(l,{key:u.value,style:hr({"--v-chip-color":u.foreground,"--v-chip-background-color":u.background}),small:"",disabled:"",label:"",class:yn({"has-icon":!!u.icon||!!u.color})},{default:I(()=>[u.icon?(j(),ye(a,{key:0,name:u.icon,color:u.color,left:"",small:""},null,8,["name","color"])):u.color?(j(),ye(r,{key:1,class:"inline-dot",value:u.color},null,8,["value"])):We("",!0),ze(" "+me(u.text),1)]),_:2},1032,["style","class"]))),128))])}}}),n_e=Wt(t_e,[["__scopeId","data-v-99d5dc54"]]),i_e=Du({id:"labels",name:"$t:displays.labels.labels",description:"$t:displays.labels.description",types:["string","json","csv","integer","float","decimal","bigInteger"],icon:"flag",component:n_e,handler:(n,e,{interfaceOptions:t})=>{if(Array.isArray(n))return n.map(o=>i(o)).join(", ");return i(n);function i(o){var r,l;const a=((r=e==null?void 0:e.choices)==null?void 0:r.find(s=>s.value===o))??((l=t==null?void 0:t.choices)==null?void 0:l.find(s=>s.value===o));return a!=null&&a.text?a.text:o}},options:[{field:"format",name:"$t:format_text",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.labels.format_label"}},schema:{default_value:!0}},{field:"showAsDot",name:"$t:displays.labels.show_as_dot",type:"boolean",meta:{width:"half",interface:"boolean"},schema:{default_value:!1}},{field:"choices",name:"$t:choices",type:"json",meta:{interface:"list",options:{template:"{{text}}",fields:[{field:"text",name:"$t:text",type:"string",meta:{interface:"system-input-translated-string",width:"half",required:!0,options:{placeholder:"$t:displays.labels.choices_text_placeholder"}}},{field:"value",name:"$t:value",type:"string",meta:{interface:"input",options:{font:"monospace",placeholder:"$t:displays.labels.choices_value_placeholder"},required:!0,width:"half"}},{field:"icon",name:"$t:icon",type:"string",meta:{interface:"select-icon",width:"half"}},{field:"color",name:"$t:color",type:"string",meta:{interface:"select-color",width:"half"}},{field:"foreground",name:"$t:foreground_color",type:"string",meta:{interface:"select-color",width:"half"}},{field:"background",name:"$t:background_color",type:"string",meta:{interface:"select-color",width:"half"}}]}}}]}),jz={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(jz);var tp=function(n,e,t,i){if(t==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?n!==e||!i:!e.has(n))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?i:t==="a"?i.call(n):i?i.value:e.get(n)},a3,H4,T0;class o_e{constructor(...e){a3.set(this,new Map),H4.set(this,new Map),T0.set(this,new Map);for(const t of e)this.define(t)}define(e,t=!1){for(let[i,o]of Object.entries(e)){i=i.toLowerCase(),o=o.map(l=>l.toLowerCase()),tp(this,T0,"f").has(i)||tp(this,T0,"f").set(i,new Set);const a=tp(this,T0,"f").get(i);let r=!0;for(let l of o){const s=l.startsWith("*");if(l=s?l.slice(1):l,a==null||a.add(l),r&&tp(this,H4,"f").set(i,l),r=!1,s)continue;const u=tp(this,a3,"f").get(l);if(u&&u!=i&&!t)throw new Error(`"${i} -> ${l}" conflicts with "${u} -> ${l}". Pass \`force=true\` to override this definition.`);tp(this,a3,"f").set(l,i)}}return this}getType(e){if(typeof e!="string")return null;const t=e.replace(/^.*[/\\]/,"").toLowerCase(),i=t.replace(/^.*\./,"").toLowerCase(),o=t.length<e.length;return!(i.length<t.length-1)&&o?null:tp(this,a3,"f").get(i)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&tp(this,H4,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:tp(this,T0,"f").get(e.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(const e of tp(this,T0,"f").values())Object.freeze(e);return this}_getTestState(){return{types:tp(this,a3,"f"),extensions:tp(this,H4,"f")}}}a3=new WeakMap,H4=new WeakMap,T0=new WeakMap;const IL=new o_e(jz)._freeze(),r_e=Du({id:"mime-type",name:"$t:displays.mime-type.mime-type",description:"$t:displays.mime-type.description",icon:"picture_as_pdf",options:[{field:"showAsExtension",name:"$t:displays.mime-type.extension_only",type:"boolean",meta:{interface:"boolean",options:{label:"$t:displays.mime-type.extension_only_label"}},schema:{default_value:!1}}],types:["string"],component:({value:n,showAsExtension:e})=>e?K0("span",IL.getExtension(n)):K0("span",tm(n)),handler:(n,e)=>e.showAsExtension?IL.getExtension(n):tm(n)}),a_e={key:0,class:"rating simple"},s_e={key:1,class:"rating detailed"},l_e={class:"inactive"},c_e=Pt({__name:"rating",props:{value:{default:void 0},simple:{type:Boolean,default:!1},interfaceOptions:{default:void 0}},setup(n){const e=n,t=Ce(()=>{var o;return e.interfaceOptions===null?5:Math.ceil(((o=e.interfaceOptions)==null?void 0:o.maxValue)??5)}),i=Ce(()=>({width:Number(e.value)/t.value*100+"%"}));return(o,a)=>{const r=G("v-icon"),l=hi("tooltip");return o.simple?(j(),Re("span",a_e,[T(r,{small:"",name:"star",filled:""}),ze(" "+me(o.value),1)])):Qt((j(),Re("div",s_e,[ke("div",{class:"active",style:hr(i.value)},[(j(!0),Re(hn,null,Si(t.value,s=>(j(),ye(r,{key:s,small:"",name:"star",filled:""}))),128))],4),ke("div",l_e,[(j(!0),Re(hn,null,Si(t.value,s=>(j(),ye(r,{key:s,small:"",name:"star"}))),128))])])),[[l,o.value,void 0,{bottom:!0,start:!0}]])}}}),u_e=Wt(c_e,[["__scopeId","data-v-100121da"]]),d_e=Du({id:"rating",name:"$t:displays.rating.rating",description:"$t:displays.rating.description",icon:"star",component:u_e,options:[{field:"simple",name:"$t:displays.rating.simple",type:"boolean",meta:{interface:"boolean",width:"half",options:{label:"$t:displays.rating.simple_label"}},schema:{default_value:!1}}],types:["integer","decimal","float"]}),f_e=Du({id:"raw",name:"$t:displays.raw.raw",icon:"code",component:({value:n})=>typeof n=="string"?n:JSON.stringify(n),options:[],types:AX,localTypes:TX});function Ea(n,e){const t=Tu();return Ce(()=>h(e)===null?null:t[CR(h(n))].value.find(({id:i})=>i===h(e))??null)}function Au(n,e){const t=so();return n.map(o=>{var s,u,d;const a=t.getField(e,o);if(!a||((s=a.meta)==null?void 0:s.display)===null)return o;const r=Ea("display",Ce(()=>{var g;return((g=a.meta)==null?void 0:g.display)??null}));if(!r||!((u=r.value)!=null&&u.fields))return o;let l=null;return Array.isArray(r.value.fields)&&(l=r.value.fields.map(g=>`${o}.${g}`)),typeof r.value.fields=="function"&&(l=r.value.fields((d=a.meta)==null?void 0:d.display_options,{collection:a.collection,field:a.field,type:a.type}).map(g=>`${o}.${g}`)),l?l.map(g=>g.includes("$thumbnail")&&a.collection==="directus_files"?g.split(".").filter(m=>m!=="$thumbnail").join("."):g):o}).flat()}function y5(n,e){var r,l,s,u;const t=so(),i=Ha(),o=t.getField(n,e),a=i.getRelationsForField(n,e);if(!o)return null;if(a.length===0)return o.type==="alias"?(l=(r=o.meta)==null?void 0:r.special)!=null&&l.includes("group")?"group":"presentation":"standard";if(a.length===1){const d=a[0];return d.related_collection==="directus_files"&&d.related_collection!==n?"file":d.collection===n&&d.field===e?"m2o":"o2m"}if(a.length===2){if((((s=o.meta)==null?void 0:s.special)||[]).includes("translations"))return"translations";if((((u=o.meta)==null?void 0:u.special)||[]).includes("m2a"))return"m2a";const d=a.find(g=>{var m;return g.collection===n&&g.field===e||g.related_collection===n&&((m=g.meta)==null?void 0:m.one_field)===e});return(d==null?void 0:d.collection)===n&&(d==null?void 0:d.field)===e?"m2o":a[0].related_collection==="directus_files"||a[1].related_collection==="directus_files"?"files":"m2m"}return"standard"}function I_(n,e){const i=Ha().getRelationsForField(n,e);if(i.length===0)return null;const o=y5(n,e);return o&&["o2m","m2m","m2a","translations","files"].includes(o)?o=="m2m"&&i.length>1?{relatedCollection:i[1].related_collection,junctionCollection:i[0].collection,path:[i[1].field]}:{relatedCollection:i[0].collection}:{relatedCollection:i[0].related_collection}}function p_e(n,e){const t=i_(e,n);return typeof t=="object"?JSON.stringify(t):t}function M_(n,e){const t=h(e),i=h(n),o=Ce(()=>Gl(i)),a=Ce(()=>{if(!t||!i||!o.value)return!1;try{return DX(i,p_e,t,{propsExist:!0})}catch{return!1}});return{fieldsInTemplate:o,displayValue:a}}function EE(n,e){const t=Gl(n);if(!e||!n||!t)return null;try{return Qh(n,e,{propsExist:!0})}catch{return null}}function h_e(n,e,t){var l,s,u,d,g;const i=so(),o=Gl(e),a={};for(const m of o)et.set(a,m,i.getField(n,m));const r={};for(const m of o){const _=i_(t,m),x=Ea("display",Ce(()=>{var S,A;return((A=(S=a[m])==null?void 0:S.meta)==null?void 0:A.display)??null}));_!=null?et.set(r,m,(l=x.value)!=null&&l.handler?x.value.handler(_,((u=(s=a[m])==null?void 0:s.meta)==null?void 0:u.display_options)??{},{interfaceOptions:((g=(d=a[m])==null?void 0:d.meta)==null?void 0:g.options)??{},field:a[m]??void 0,collection:n}):_):et.set(r,m,_)}return EE(e,r)}const AE={directus_users:{route:"/users"},directus_files:{route:"/files"},directus_dashboards:{route:"/insights"},directus_activity:{route:"/activity"},directus_settings:{route:"/settings/project",singleton:!0},directus_collections:{route:"/settings/data-model"},directus_roles:{route:"/settings/roles"},directus_presets:{route:"/settings/presets"},directus_translations:{route:"/settings/translations"},directus_webhooks:{route:"/settings/webhooks"},directus_flows:{route:"/settings/flows"}};function Vz(n){return n in AE}function Hz(n){return Vz(n)?AE[n].route:""}function nf(n){return n===null?"":Ks(n)?Hz(n):`/content/${n}`}function Lf(n,e){if(n===null)return"";const t=nf(n);if(t==="")return"";if(Vz(n)&&"singleton"in AE[n])return t;const i=e==="+"?e:encodeURIComponent(e);return`${t}/${i}`}const m_e=["onClick"],v_e={class:"label"},g_e=Pt({__name:"related-values",props:{collection:{},field:{},value:{},template:{}},setup(n){const e=n,{t,te:i}=un(),o=Ce(()=>I_(e.collection,e.field)),a=Ce(()=>o.value.relatedCollection),r=Ce(()=>o.value.junctionCollection),l=Ce(()=>y5(e.collection,e.field)),{primaryKeyField:s}=Bs(a),u=Ce(()=>{var _,x;return o.value.path?[...o.value.path,(_=s.value)==null?void 0:_.field].join("."):(x=s.value)==null?void 0:x.field}),d=Ce(()=>e.template||`{{ ${u.value} }}`),g=Ce(()=>Array.isArray(e.value)?e.value.length===1?i(`collection_names_singular.${a.value}`)?t(`collection_names_singular.${a.value}`):t("item"):i(`collection_names_plural.${a.value}`)?t(`collection_names_plural.${a.value}`):t("items"):null);function m(_){if(!o.value||!u.value)return null;const x=et.get(_,u.value);return Lf(a.value,x)}return(_,x)=>{var W;const S=G("value-null"),A=G("render-template"),F=G("v-list-item-content"),C=G("v-icon"),L=G("router-link"),w=G("v-list-item-icon"),$=G("v-list-item"),B=G("v-list"),V=G("v-menu");return a.value?["o2m","m2m","m2a","translations","files"].includes(l.value.toLowerCase())?(j(),ye(V,{key:1,"show-arrow":"",disabled:((W=_.value)==null?void 0:W.length)===0},{activator:I(({toggle:J})=>{var oe,ue,be;return[ke("span",{class:yn(["toggle",{disabled:((oe=_.value)==null?void 0:oe.length)===0}]),onClick:Ji(J,["stop"])},[ke("span",v_e,[ze(me((ue=_.value)==null?void 0:ue.length)+" ",1),((be=_.value)==null?void 0:be.length)>=100?(j(),Re(hn,{key:0},[ze("+")],64)):We("",!0),ze(" "+me(g.value),1)])],10,m_e)]}),default:I(()=>[T(B,{class:"links"},{default:I(()=>[(j(!0),Re(hn,null,Si(_.value,J=>(j(),ye($,{key:J[u.value]},{default:I(()=>[T(F,null,{default:I(()=>[T(A,{template:d.value,item:J,collection:r.value??a.value},null,8,["template","item","collection"])]),_:2},1024),T(w,null,{default:I(()=>[T(L,{to:m(J)},{default:I(()=>[T(C,{name:"launch",small:""})]),_:2},1032,["to"])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1},8,["disabled"])):(j(),ye(A,{key:2,template:d.value,item:_.value,collection:a.value},null,8,["template","item","collection"])):(j(),ye(S,{key:0}))}}}),y_e=Wt(g_e,[["__scopeId","data-v-226d90c4"]]),__e=Du({id:"related-values",name:"$t:displays.related-values.related-values",description:"$t:displays.related-values.description",icon:"settings_ethernet",component:y_e,options:({editing:n,relations:e})=>{var o,a;const t=((o=e.o2m)==null?void 0:o.collection)??((a=e.m2o)==null?void 0:a.related_collection);return[{field:"template",name:"$t:display_template",meta:n==="+"?{interface:"presentation-notice",options:{text:"$t:displays.related-values.display_template_configure_notice"},width:"full"}:{interface:"system-display-template",options:{collectionName:t},width:"full"}}]},handler:(n,e,{collection:t,field:i})=>{var u,d,g,m;if(!i||!t)return n;const o=I_(t,i.field);if(!o)return n;const a=so(),l=Gl(e.template).map(_=>({key:_,field:a.getField(o.junctionCollection??o.relatedCollection,_)})),s={};for(const{key:_,field:x}of l){const S=et.get(n,_);if(S==null)continue;if(!((u=x==null?void 0:x.meta)!=null&&u.display)){et.set(s,_,S);continue}const A=Ea("display",x.meta.display),F=(d=A.value)!=null&&d.handler?A.value.handler(S,((g=x==null?void 0:x.meta)==null?void 0:g.display_options)??{},{interfaceOptions:((m=x==null?void 0:x.meta)==null?void 0:m.options)??{},field:x??void 0,collection:t}):S;et.set(s,_,F)}return EE(e.template,s)},types:["alias","string","uuid","integer","bigInteger","json"],localTypes:["m2m","m2o","o2m","translations","m2a","file","files"],fields:(n,{field:e,collection:t})=>{const i=I_(t,e);if(!i)return[];const o=so(),{junctionCollection:a,relatedCollection:r,path:l}=i,s=o.getPrimaryKeyFieldForCollection(r),u=n!=null&&n.template?Au(Gl(n.template),a??r):[];if(s){const d=l?[...l,s.field].join("."):s.field;u.includes(d)||u.push(d)}return u}});function O7(n,e){const t=Ha(),i=Ir(),o=so();return{relationInfo:Ce(()=>{var u,d,g;const r=t.getRelationsForField(n.value,e.value),l=r.find(m=>{var _;return m.related_collection===n.value&&((_=m.meta)==null?void 0:_.one_field)===e.value&&m.meta.junction_field});if(!l)return;const s=r.find(m=>{var _;return m.collection===l.collection&&m.field===((_=l.meta)==null?void 0:_.junction_field)});if(s)return{relation:s,relatedCollection:i.getCollection(s.related_collection),relatedPrimaryKeyField:o.getPrimaryKeyFieldForCollection(s.related_collection),sortField:((u=l.meta)==null?void 0:u.sort_field)??void 0,junctionCollection:i.getCollection(l.collection),junctionPrimaryKeyField:o.getPrimaryKeyFieldForCollection(l.collection),junctionField:o.getField(l.collection,(d=l.meta)==null?void 0:d.junction_field),reverseJunctionField:o.getField(l.collection,(g=s.meta)==null?void 0:g.junction_field),junction:l,type:"m2m"}})}}const b_e=(n,e,t)=>{const i=n[e];return i?typeof i=="function"?i():Promise.resolve(i):new Promise((o,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==t?". Note that variables only represent file names one level deep.":""))))})},ld=async(n,e={},t=1/0)=>{var s;let i=1,o=!0;const{info:a}=Is();if(!a.queryLimit||((s=a.queryLimit)==null?void 0:s.max)===-1){et.set(e,"params.limit",-1);const{data:u}=await Yn.get(n,e);return u.data}const r=a.queryLimit.max,l=[];for(;l.length<t&&o===!0;){const u=et.cloneDeep(e);et.set(u,"params.page",i),et.set(u,"params.limit",r);const{data:d}=await Yn.get(n,u);d.data.length===0?o=!1:l.push(...d.data),i++}return Number.isFinite(t)?l.slice(0,t):l},TE=dd("translations",()=>{const n=Oe(!1),e=Oe([]),t=Oe("en-US"),i=async(a=h(t))=>{n.value=!0;try{e.value=await ld("/translations",{params:{fields:["language","key","value"],filter:{language:{_eq:a}}}}),t.value=a}catch{}finally{n.value=!1}},o=async a=>{try{await Yn.post("/translations",a),await i()}catch(r){Vi(r)}};return Wn(e,a=>{const r=a==null?void 0:a.reduce((l,{key:s,value:u})=>(l[s]=r_(u,!0),l),{});r&&wo.global.mergeLocaleMessage(h(t),r)}),{loading:n,translations:e,loadTranslations:i,create:o}});var Uz={"af-ZA":"Afrikaans (South Africa)","sq-AL":"Albanian (Albania)","ar-SA":"Arabic (Saudi Arabia)","bn-IN":"Bengali (India)","bs-BA":"Bosnian (Bosnia and Herzegovina)","br-FR":"Breton (France)","bg-BG":"Bulgarian (Bulgaria)","ca-ES":"Catalan (Spain)","zh-CN":"Chinese (Simplified)","zh-TW":"Chinese (Traditional)","hr-HR":"Croatian (Croatia)","cs-CZ":"Czech (Czech Republic)","da-DK":"Danish (Denmark)","nl-NL":"Dutch (Netherlands)","en-CA":"English (Canada)","en-GB":"English (United Kingdom)","en-US":"English (United States)","eo-UY":"Esperanto","et-EE":"Estonian (Estonia)","fo-FO":"Faroese (Faroe Islands)","fa-IR":"Farsi (Iran)","fi-FI":"Finnish (Finland)","fr-CA":"French (Canada)","fr-FR":"French (France)","ka-GE":"Georgian (Georgia)","de-DE":"German (Germany)","el-GR":"Greek (Greece)","he-IL":"Hebrew (Israel)","hi-IN":"Hindi (India)","hu-HU":"Hungarian (Hungary)","is-IS":"Icelandic (Iceland)","id-ID":"Indonesian (Indonesia)","it-IT":"Italian (Italy)","ja-JP":"Japanese (Japan)","km-KH":"Khmer (Cambodia)","ko-KR":"Korean (Korea)","kmr-TR":"Kurdish Kurmanji (Turkey)","ckb-IR":"Kurdish Sorani (Iraq)","lt-LT":"Lithuanian (Lithuania)","ms-MY":"Malay (Malaysia)","mn-MN":"Mongolian (Mongolia)","no-NO":"Norwegian (Norway)","pl-PL":"Polish (Poland)","pt-BR":"Portuguese (Brazil)","pt-PT":"Portuguese (Portugal)","ro-RO":"Romanian (Romania)","ru-RU":"Russian (Russian Federation)","sr-SP":"Serbian (Cyrillic) (Serbia and Montenegro)","sr-CS":"Serbian (Latin) (Serbia and Montenegro)","si-LK":"Sinhala (Sri Lanka)","sk-SK":"Slovak (Slovakia)","sl-SI":"Slovenian (Slovenia)","es-CL":"Spanish (Chile)","es-419":"Spanish (Latin America)","es-MX":"Spanish (Mexico)","es-ES":"Spanish (Spain)","sw-KE":"Swahili (Kenya)","sw-TZ":"Swahili (Tanzania)","sv-SE":"Swedish (Sweden)","tg-TJ":"Tajik","th-TH":"Thai (Thailand)","tr-TR":"Turkish (Turkey)","uk-UA":"Ukrainian (Ukraine)","vi-VN":"Vietnamese (Vietnam)"};async function DE(n){const e=Ir(),t=so(),i=TE();if(Object.keys(Uz).includes(n)===!1)console.warn(`"${n}" is not an available language in the Directus app.`);else{if(_L.includes(n)===!1)try{const{default:o}=await b_e(Object.assign({"./translations/af-ZA.yaml":()=>Ut(()=>import("./af-ZA-BAgyiyXa.js"),[],import.meta.url),"./translations/ar-SA.yaml":()=>Ut(()=>import("./ar-SA-CcFSronD.js"),[],import.meta.url),"./translations/az-AZ.yaml":()=>Ut(()=>import("./az-AZ-Cpf-zHHl.js"),[],import.meta.url),"./translations/bg-BG.yaml":()=>Ut(()=>import("./bg-BG-Dba0b_A6.js"),[],import.meta.url),"./translations/bn-IN.yaml":()=>Ut(()=>import("./bn-IN-Bi360iv0.js"),[],import.meta.url),"./translations/br-FR.yaml":()=>Ut(()=>import("./br-FR-D3YsMoBq.js"),[],import.meta.url),"./translations/bs-BA.yaml":()=>Ut(()=>import("./bs-BA-ySp8XNR5.js"),[],import.meta.url),"./translations/ca-ES.yaml":()=>Ut(()=>import("./ca-ES-DkR_eT8b.js"),[],import.meta.url),"./translations/ckb-IR.yaml":()=>Ut(()=>import("./ckb-IR-DDLFcfvn.js"),[],import.meta.url),"./translations/cs-CZ.yaml":()=>Ut(()=>import("./cs-CZ-DQMRGPDb.js"),[],import.meta.url),"./translations/da-DK.yaml":()=>Ut(()=>import("./da-DK-DoeZ7erv.js"),[],import.meta.url),"./translations/de-DE.yaml":()=>Ut(()=>import("./de-DE-DtVnm5IH.js"),[],import.meta.url),"./translations/el-GR.yaml":()=>Ut(()=>import("./el-GR-Bl9nOPCr.js"),[],import.meta.url),"./translations/en-CA.yaml":()=>Ut(()=>import("./en-CA-BroVvxDA.js"),[],import.meta.url),"./translations/en-GB.yaml":()=>Ut(()=>import("./en-GB-DOTUP4zl.js"),[],import.meta.url),"./translations/en-US.yaml":()=>Ut(()=>Promise.resolve().then(()=>uye),void 0,import.meta.url),"./translations/eo-UY.yaml":()=>Ut(()=>import("./eo-UY-Djj-RgB4.js"),[],import.meta.url),"./translations/es-419.yaml":()=>Ut(()=>import("./es-419-CBiV-gm1.js"),[],import.meta.url),"./translations/es-CL.yaml":()=>Ut(()=>import("./es-CL-Bhift0l_.js"),[],import.meta.url),"./translations/es-ES.yaml":()=>Ut(()=>import("./es-ES-DVlnu9-4.js"),[],import.meta.url),"./translations/es-MX.yaml":()=>Ut(()=>import("./es-MX-DJcWtKHz.js"),[],import.meta.url),"./translations/et-EE.yaml":()=>Ut(()=>import("./et-EE-CAHdUGaC.js"),[],import.meta.url),"./translations/fa-IR.yaml":()=>Ut(()=>import("./fa-IR-L9kGhkEh.js"),[],import.meta.url),"./translations/fi-FI.yaml":()=>Ut(()=>import("./fi-FI-BWUAiUQn.js"),[],import.meta.url),"./translations/fo-FO.yaml":()=>Ut(()=>import("./fo-FO-C8VkGziH.js"),[],import.meta.url),"./translations/fr-CA.yaml":()=>Ut(()=>import("./fr-CA-dLv9K1y8.js"),[],import.meta.url),"./translations/fr-FR.yaml":()=>Ut(()=>import("./fr-FR-B057QF8S.js"),[],import.meta.url),"./translations/he-IL.yaml":()=>Ut(()=>import("./he-IL-CR-tHeJz.js"),[],import.meta.url),"./translations/hi-IN.yaml":()=>Ut(()=>import("./hi-IN-kQRPVYDW.js"),[],import.meta.url),"./translations/hr-HR.yaml":()=>Ut(()=>import("./hr-HR-CZpXUmYB.js"),[],import.meta.url),"./translations/hu-HU.yaml":()=>Ut(()=>import("./hu-HU-CEcieWYz.js"),[],import.meta.url),"./translations/id-ID.yaml":()=>Ut(()=>import("./id-ID-Bc-1w3eq.js"),[],import.meta.url),"./translations/is-IS.yaml":()=>Ut(()=>import("./is-IS-il6FCz_d.js"),[],import.meta.url),"./translations/it-IT.yaml":()=>Ut(()=>import("./it-IT-B4TsjQHQ.js"),[],import.meta.url),"./translations/ja-JP.yaml":()=>Ut(()=>import("./ja-JP-C6zEXER0.js"),[],import.meta.url),"./translations/ka-GE.yaml":()=>Ut(()=>import("./ka-GE-GMxj7JM0.js"),[],import.meta.url),"./translations/km-KH.yaml":()=>Ut(()=>import("./km-KH-BPjKOhO1.js"),[],import.meta.url),"./translations/kmr-TR.yaml":()=>Ut(()=>import("./kmr-TR-CIEyP2s7.js"),[],import.meta.url),"./translations/ko-KR.yaml":()=>Ut(()=>import("./ko-KR-BopgYNwy.js"),[],import.meta.url),"./translations/ku-TR.yaml":()=>Ut(()=>import("./ku-TR-J1sgNKdl.js"),[],import.meta.url),"./translations/lt-LT.yaml":()=>Ut(()=>import("./lt-LT-Cuu2tOms.js"),[],import.meta.url),"./translations/mn-MN.yaml":()=>Ut(()=>import("./mn-MN-xzIFsGHU.js"),[],import.meta.url),"./translations/mr-IN.yaml":()=>Ut(()=>import("./mr-IN-CIEyP2s7.js"),[],import.meta.url),"./translations/ms-MY.yaml":()=>Ut(()=>import("./ms-MY-aSf3-Hmv.js"),[],import.meta.url),"./translations/ne-NP.yaml":()=>Ut(()=>import("./ne-NP-DbLZYmfY.js"),[],import.meta.url),"./translations/nl-NL.yaml":()=>Ut(()=>import("./nl-NL-DN-969aR.js"),[],import.meta.url),"./translations/no-NO.yaml":()=>Ut(()=>import("./no-NO-CMnw58fl.js"),[],import.meta.url),"./translations/pl-PL.yaml":()=>Ut(()=>import("./pl-PL-DeIcSMbP.js"),[],import.meta.url),"./translations/pt-BR.yaml":()=>Ut(()=>import("./pt-BR-BKt3mRMo.js"),[],import.meta.url),"./translations/pt-PT.yaml":()=>Ut(()=>import("./pt-PT-d7kWYQqI.js"),[],import.meta.url),"./translations/ro-RO.yaml":()=>Ut(()=>import("./ro-RO-BB9qU8B-.js"),[],import.meta.url),"./translations/ru-RU.yaml":()=>Ut(()=>import("./ru-RU-DDfYu0LB.js"),[],import.meta.url),"./translations/si-LK.yaml":()=>Ut(()=>import("./si-LK-BFeKlcrN.js"),[],import.meta.url),"./translations/sk-SK.yaml":()=>Ut(()=>import("./sk-SK-wQPSf8Nt.js"),[],import.meta.url),"./translations/sl-SI.yaml":()=>Ut(()=>import("./sl-SI-UYTt3Yfu.js"),[],import.meta.url),"./translations/sq-AL.yaml":()=>Ut(()=>import("./sq-AL-Dkr8fhVv.js"),[],import.meta.url),"./translations/sr-CS.yaml":()=>Ut(()=>import("./sr-CS-DIQGmBw-.js"),[],import.meta.url),"./translations/sr-SP.yaml":()=>Ut(()=>import("./sr-SP-BBuo6d-N.js"),[],import.meta.url),"./translations/sv-SE.yaml":()=>Ut(()=>import("./sv-SE-F7rSkI-i.js"),[],import.meta.url),"./translations/sw-KE.yaml":()=>Ut(()=>import("./sw-KE-CIEyP2s7.js"),[],import.meta.url),"./translations/sw-TZ.yaml":()=>Ut(()=>import("./sw-TZ-CIEyP2s7.js"),[],import.meta.url),"./translations/te-IN.yaml":()=>Ut(()=>import("./te-IN-B4fg5gC-.js"),[],import.meta.url),"./translations/tg-TJ.yaml":()=>Ut(()=>import("./tg-TJ-CIEyP2s7.js"),[],import.meta.url),"./translations/th-TH.yaml":()=>Ut(()=>import("./th-TH-DxmrWOeU.js"),[],import.meta.url),"./translations/tr-TR.yaml":()=>Ut(()=>import("./tr-TR-BTfCKh7B.js"),[],import.meta.url),"./translations/uk-UA.yaml":()=>Ut(()=>import("./uk-UA-BsythAKw.js"),[],import.meta.url),"./translations/vi-VN.yaml":()=>Ut(()=>import("./vi-VN-C8I6WdPr.js"),[],import.meta.url),"./translations/zh-CN.yaml":()=>Ut(()=>import("./zh-CN-JcFNXNoa.js"),[],import.meta.url),"./translations/zh-TW.yaml":()=>Ut(()=>import("./zh-TW-DCGTdgYK.js"),[],import.meta.url)}),`./translations/${n}.yaml`,3);wo.global.mergeLocaleMessage(n,o),_L.push(n)}catch(o){console.warn(o)}wo.global.locale.value=n,document.querySelector("html").setAttribute("lang",n)}try{await i.loadTranslations(n),e.translateCollections(),t.translateFields(),await Yye(n)}catch{console.error("Failed loading translations")}return!0}const Is=dd("serverStore",()=>{const n=If({project:null,extensions:void 0,rateLimit:void 0,queryLimit:void 0,websocket:void 0,uploads:void 0}),e=If({providers:[],disableDefault:!1}),t=Ce(()=>{const a=e.providers.filter(r=>!oz.includes(r.driver)).map(r=>({text:ac(r.name),value:r.name,driver:r.driver}));return e.disableDefault||a.unshift({text:wo.global.t("default_provider"),value:vE,driver:$6}),a});return{info:n,auth:e,providerOptions:t,hydrate:async a=>{var u,d,g,m,_,x,S,A,F,C;const[r,l]=await Promise.all([Yn.get("/server/info"),Yn.get("/auth?sessionOnly")]);n.project=(u=r.data.data)==null?void 0:u.project,n.queryLimit=(d=r.data.data)==null?void 0:d.queryLimit,n.extensions=(g=r.data.data)==null?void 0:g.extensions,n.websocket=(m=r.data.data)==null?void 0:m.websocket,n.version=(_=r.data.data)==null?void 0:_.version,n.uploads=(x=r.data.data)==null?void 0:x.uploads,e.providers=l.data.data,e.disableDefault=l.data.disableDefault;const{currentUser:s}=Gr();if((!s||a!=null&&a.isLanguageUpdated&&(!("language"in s)||"language"in s&&!(s!=null&&s.language)))&&await DE(((A=(S=h(n))==null?void 0:S.project)==null?void 0:A.default_language)??"en-US"),((F=r.data.data)==null?void 0:F.rateLimit)!==void 0)if(((C=r.data.data)==null?void 0:C.rateLimit)===!1)await pL();else{const{duration:L,points:w}=r.data.data.rateLimit,$=1,B=Math.ceil(L*1e3/w);await pL({intervalCap:$,interval:B})}},dehydrate:()=>{n.project=null,e.providers=[],e.disableDefault=!1}}});function _5(n="en-US"){var o,a;const e=Gr(),t=Is();let i=n;return(a=(o=t.info)==null?void 0:o.project)!=null&&a.default_language&&(i=t.info.project.default_language),e.currentUser&&"language"in e.currentUser&&e.currentUser.language&&(i=e.currentUser.language),i}const x_e={key:1,class:"display-translations"},w_e={class:"header"},k_e={class:"lang"},C_e=Pt({__name:"translations",props:{collection:{},field:{},type:{},value:{default:()=>[]},template:{default:void 0},userLanguage:{type:Boolean,default:!1},defaultLanguage:{default:void 0},languageField:{default:void 0}},setup(n){const e=n,{collection:t,field:i}=vo(e),o=so(),{relationInfo:a}=O7(t,i),r=Ce(()=>{var m,_;if(!a.value)return"";const d=a.value.junctionPrimaryKeyField.field,g=(_=(m=a.value.junctionCollection)==null?void 0:m.meta)==null?void 0:_.display_template;return e.template||g||`{{ ${d} }}`}),l=Ce(()=>{if(!a.value)return{};const d=a.value.relatedPrimaryKeyField.field,g=a.value.junctionField.field;let m=e.value.find(_=>{var x;return((x=_==null?void 0:_[g])==null?void 0:x[d])===e.defaultLanguage})??e.value[0];if(e.userLanguage){const _=_5();m=e.value.find(x=>{var S;return((S=x==null?void 0:x[g])==null?void 0:S[d])===_})??m}return m??{}}),s=Ce(()=>a.value?o.getFieldsForCollection(a.value.junctionCollection.collection).filter(g=>{var m;return g.type!=="alias"&&((m=g.meta)==null?void 0:m.hidden)===!1&&g.meta.readonly===!1}):[]),u=Ce(()=>{if(!a.value)return[];const d=a.value.junctionPrimaryKeyField.field,g=a.value.relatedPrimaryKeyField.field,m=a.value.junctionField.field;return e.value.map(_=>{var S;const x=s.value.filter(A=>A.field in _&&!et.isNil(_==null?void 0:_[A.field])).length;return{id:_==null?void 0:_[d??"id"],lang:(S=_==null?void 0:_[m])==null?void 0:S[e.languageField??g],progress:Math.round(x/s.value.length*100),item:_}})});return(d,g)=>{var $,B;const m=G("value-null"),_=G("render-template"),x=G("v-icon"),S=G("v-progress-linear"),A=G("v-list-item-content"),F=G("v-list-item"),C=G("v-list"),L=G("v-menu"),w=hi("tooltip");return(B=($=h(a))==null?void 0:$.junctionCollection)!=null&&B.collection?(j(),Re("div",x_e,[T(_,{template:r.value,item:l.value,collection:h(a).junctionCollection.collection},null,8,["template","item","collection"]),T(L,{class:"menu","show-arrow":"",disabled:d.value.length===0},{activator:I(({toggle:V,deactivate:W,active:J})=>[T(x,{small:"",class:yn(["icon",{active:J}]),name:"info",onClick:Ji(V,["stop"]),onFocusout:W},null,8,["class","onClick","onFocusout"])]),default:I(()=>[T(C,{class:"links"},{default:I(()=>[(j(!0),Re(hn,null,Si(u.value,V=>(j(),ye(F,{key:V.id},{default:I(()=>[T(A,null,{default:I(()=>[ke("div",w_e,[ke("div",k_e,[T(x,{name:"translate",small:""}),ze(" "+me(V.lang),1)]),Qt(T(S,{value:V.progress,colorful:""},null,8,["value"]),[[w,`${V.progress}%`]])]),T(_,{template:r.value,item:V.item,collection:h(a).junctionCollection.collection},null,8,["template","item","collection"])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1},8,["disabled"])])):(j(),ye(m,{key:0}))}}}),S_e=Wt(C_e,[["__scopeId","data-v-628287cd"]]),E_e=Du({id:"translations",name:"$t:displays.translations.translations",description:"$t:displays.translations.description",icon:"translate",component:S_e,handler:(n,e,{collection:t,field:i})=>{var A,F,C,L;if(!i||!t||!Array.isArray(n))return n;const o=I_(t,i.field),a=so(),l=Ha().getRelationsForField(t,i.field),s=l.find(w=>{var $;return w.related_collection===t&&(($=w.meta)==null?void 0:$.one_field)===i.field});if(!s)return n;const u=l.find(w=>{var $;return w.collection===s.collection&&w.field===(($=s.meta)==null?void 0:$.junction_field)});if(!o||!a.getPrimaryKeyFieldForCollection(o.relatedCollection)||!(u!=null&&u.related_collection))return n;const g=a.getPrimaryKeyFieldForCollection(u.related_collection);if(!g)return n;const m=n.find(w=>{const $=w[u.field][g.field];return $?e.userLanguage?$===wo.global.locale.value:$===e.defaultLanguage:!0})??n[0],x=Gl(e.template).map(w=>({key:w,field:a.getField(o.relatedCollection,w)})),S={};for(const{key:w,field:$}of x){const B=et.get(m,w);if(B==null)continue;if(!((A=$==null?void 0:$.meta)!=null&&A.display)){et.set(S,w,B);continue}const V=Ea("display",$.meta.display),W=(F=V.value)!=null&&F.handler?V.value.handler(B,((C=$==null?void 0:$.meta)==null?void 0:C.display_options)??{},{interfaceOptions:((L=$==null?void 0:$.meta)==null?void 0:L.options)??{},field:$??void 0,collection:t}):B;et.set(S,w,W)}return EE(e.template,S)},options:({relations:n})=>{var a,r;const e=so(),t=(a=n.o2m)==null?void 0:a.collection,i=(r=n.m2o)==null?void 0:r.related_collection,o=i?e.getFieldsForCollection(i):[];return[{field:"template",name:"$t:display_template",meta:{interface:"system-display-template",options:{collectionName:t},width:"half"}},{field:"languageField",name:"$t:displays.translations.language_field",meta:{interface:"select-dropdown",options:{choices:o.map(({field:l,name:s})=>({text:s,value:l}))},width:"half"}},{field:"defaultLanguage",name:"$t:displays.translations.default_language",meta:{interface:"input",width:"half",options:{placeholder:"$t:primary_key"}}},{field:"userLanguage",name:"$t:displays.translations.user_language",type:"string",schema:{default_value:!1},meta:{interface:"boolean",options:{label:"$t:displays.translations.enable"},width:"half"}}]},types:["alias"],localTypes:["translations"],fields:(n,{field:e,collection:t})=>{const i=so(),a=Ha().getRelationsForField(t,e),r=a.find(m=>{var _;return m.related_collection===t&&((_=m.meta)==null?void 0:_.one_field)===e}),l=a.find(m=>m!==r),s=r==null?void 0:r.related_collection,u=l==null?void 0:l.related_collection;if(!s||!u)return[];const d=i.getPrimaryKeyFieldForCollection(u),g=new Set;return g.add("*"),n!=null&&n.template&&Au(Gl(n.template),s).forEach(_=>g.add(_)),l&&d&&!g.has(l.field)&&(g.add(`${l.field}.${d.field}`),n!=null&&n.languageField&&g.add(`${l.field}.${n.languageField}`)),Array.from(g)}}),A_e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20d='M32%2012a20%2020%200%20100%2040%2020%2020%200%20000-40zm-9.86%2032.56C23%2042.76%2028.24%2041%2032%2041s9.02%201.76%209.86%203.56a15.8%2015.8%200%2001-19.72%200zm22.58-2.9C41.86%2038.18%2034.92%2037%2032%2037s-9.86%201.18-12.72%204.66A16.02%2016.02%200%201148%2032a15.9%2015.9%200%2001-3.28%209.66zM32%2020c-3.88%200-7%203.12-7%207s3.12%207%207%207%207-3.12%207-7-3.12-7-7-7zm0%2010a3%203%200%20110-6%203%203%200%20010%206z'%20fill='%23B0BEC5'/%3e%3c/g%3e%3c/svg%3e",T_e=["alt"],D_e={key:2},L_e=Pt({__name:"user",props:{value:{},display:{default:"both"},circle:{type:Boolean}},setup(n){const e=n,t=Ce(()=>{var i;return e.value===null?null:(i=e.value.avatar)!=null&&i.id?fs(`${e.value.avatar.id}?key=system-small-cover`):null});return(i,o)=>{const a=G("v-image"),r=G("user-popover");return i.value?(j(),ye(r,{key:0,user:i.value.id},{default:I(()=>[ke("div",{class:yn(["user",i.display])},[(i.display==="avatar"||i.display==="both")&&t.value?(j(),ye(a,{key:0,src:t.value,role:"presentation",alt:i.value&&h(Kc)(i.value),class:yn({circle:i.circle})},null,8,["src","alt","class"])):(i.display==="avatar"||i.display==="both")&&t.value===null?(j(),Re("img",{key:1,src:A_e,role:"presentation",alt:i.value&&h(Kc)(i.value),class:yn({circle:i.circle})},null,10,T_e)):We("",!0),i.display==="name"||i.display==="both"?(j(),Re("span",D_e,me(h(Kc)(i.value)),1)):We("",!0)],2)]),_:1},8,["user"])):We("",!0)}}}),I_e=Wt(L_e,[["__scopeId","data-v-75fd524b"]]),M_e=Du({id:"user",name:"$t:displays.user.user",description:"$t:displays.user.description",types:["uuid","string"],localTypes:["m2o"],icon:"person",component:I_e,handler:n=>Kc(n),options:[{field:"display",name:"$t:display",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:displays.user.avatar",value:"avatar"},{text:"$t:displays.user.name",value:"name"},{text:"$t:displays.user.both",value:"both"}]}},schema:{default_value:"both"}},{field:"circle",name:"$t:circle",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.user.circle_label"}},schema:{default_value:!1}}],fields:["id","avatar.id","email","first_name","last_name"]});function F_e(){const n=Object.assign({"./boolean/index.ts":WZ,"./collection/index.ts":wye,"./color/index.ts":Gye,"./datetime/index.ts":e4e,"./file/index.ts":a4e,"./filesize/index.ts":s4e,"./formatted-json-value/index.ts":f4e,"./formatted-value/index.ts":q4e,"./hash/index.ts":Y4e,"./icon/index.ts":K4e,"./image/index.ts":Q4e,"./labels/index.ts":i_e,"./mime-type/index.ts":r_e,"./rating/index.ts":d_e,"./raw/index.ts":f_e,"./related-values/index.ts":__e,"./translations/index.ts":E_e,"./user/index.ts":M_e});return et.sortBy(Object.values(n),"id")}function P_e(n,e){for(const t of n)e.component(`display-${t.id}`,t.component),typeof t.options!="function"&&Array.isArray(t.options)===!1&&t.options!==null&&e.component(`display-options-${t.id}`,t.options)}const O_e=Pt({__name:"system-collection",props:{value:{},disabled:{type:Boolean},includeSystem:{type:Boolean},includeSingleton:{type:Boolean,default:!0}},emits:["input"],setup(n){const e=n,{t}=un(),i=Ir(),o=Ce(()=>{let r=i.collections;return e.includeSingleton||(r=r.filter(l=>{var s;return((s=l==null?void 0:l.meta)==null?void 0:s.singleton)===!1})),[...r.filter(l=>Ks(l.collection)===!1),...e.includeSystem?i.crudSafeSystemCollections:[]]}),a=Ce(()=>o.value.reduce((r,l)=>(l.type!=="alias"&&r.push({text:l.name,value:l.collection}),r),[]));return(r,l)=>{const s=G("v-select");return j(),ye(s,{"model-value":r.value,disabled:r.disabled,items:a.value,placeholder:h(t)("select_a_collection"),"onUpdate:modelValue":l[0]||(l[0]=u=>r.$emit("input",u))},null,8,["model-value","disabled","items","placeholder"])}}}),R_e=Xo({id:"system-collection",name:"$t:interfaces.system-collection.collection",description:"$t:interfaces.system-collection.description",icon:"featured_play_list",component:O_e,types:["string"],options:[{field:"includeSystem",name:"$t:system",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:interfaces.system-collection.include_system_collections"}},schema:{default_value:!1}}],system:!0,recommendedDisplays:["collection"]}),z_e=Pt({__name:"system-collections",props:{value:{},disabled:{type:Boolean},includeSystem:{type:Boolean},includeSingleton:{type:Boolean,default:!0}},emits:["input"],setup(n){const e=n,{t}=un(),i=Ir(),o=Ce(()=>{let r=i.collections.filter(l=>l.type==="table");return e.includeSingleton||(r=r.filter(l=>{var s;return((s=l==null?void 0:l.meta)==null?void 0:s.singleton)===!1})),e.includeSystem||(r=r.filter(l=>Ks(l.collection)===!1)),r}),a=Ce(()=>o.value.map(r=>({text:r.name,value:r.collection})));return(r,l)=>{const s=G("v-notice"),u=G("interface-select-multiple-checkbox");return a.value.length===0?(j(),ye(s,{key:0},{default:I(()=>[ze(me(h(t)("no_collections")),1)]),_:1})):(j(),ye(u,{key:1,choices:a.value,value:r.value,disabled:r.disabled,onInput:l[0]||(l[0]=d=>r.$emit("input",d))},null,8,["choices","value","disabled"]))}}}),$_e=Xo({id:"system-collections",name:"$t:interfaces.system-collections.collections",description:"$t:interfaces.system-collections.description",icon:"featured_play_list",component:z_e,types:["json","csv"],options:[{field:"includeSystem",name:"$t:system",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:interfaces.system-collections.include_system_collections"}},schema:{default_value:!1}}],system:!0,recommendedDisplays:["labels"]}),N_e={key:2,class:"inset"},B_e=Pt({__name:"system-display-options",props:{value:{},displayField:{},display:{},collection:{},disabled:{type:Boolean},context:{type:Function}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=un(),a=Ce({get(){return t.value},set(g){i("input",g)}}),r=Sc("values",Oe({})),l=Ce(()=>t.display??r.value[t.displayField]??null),s=Ea("display",l),u=Ce(()=>s.value?D7(s.value.options):!1),d=Ce(()=>{var m,_;if(!((m=s.value)!=null&&m.options)||u.value)return[];let g;return typeof s.value.options=="function"?g=s.value.options(((_=t.context)==null?void 0:_.call(t))??{field:{type:"unknown"},editing:"+",collection:t.collection,relations:{o2m:void 0,m2o:void 0,m2a:void 0},collections:{related:void 0,junction:void 0},fields:{corresponding:void 0,junctionCurrent:void 0,junctionRelated:void 0,sort:void 0},items:{},localType:"standard",autoGenerateJunctionRelation:!1,saving:!1}):g=s.value.options,Array.isArray(g)?g:[...g.standard,...g.advanced]});return(g,m)=>{const _=G("v-notice"),x=G("v-form");return h(s)?u.value===!1&&d.value.length===0?(j(),ye(_,{key:1},{default:I(()=>[ze(me(h(o)("no_options_available")),1)]),_:1})):(j(),Re("div",N_e,[u.value===!1?(j(),ye(x,{key:0,modelValue:a.value,"onUpdate:modelValue":m[0]||(m[0]=S=>a.value=S),class:"extension-options",fields:d.value,disabled:g.disabled,"primary-key":"+"},null,8,["modelValue","fields","disabled"])):(j(),ye(Uo(`display-options-${h(s).id}`),{key:1,value:g.value,collection:g.collection,onInput:m[1]||(m[1]=S=>g.$emit("input",S))},null,40,["value","collection"]))])):(j(),ye(_,{key:0},{default:I(()=>[ze(me(h(o)("select_display")),1)]),_:1}))}}}),j_e=Wt(B_e,[["__scopeId","data-v-75f3b63e"]]),V_e=Xo({id:"system-display-options",name:"$t:interfaces.system-display-options.display-options",description:"$t:interfaces.system-display-options.description",icon:"box",component:j_e,types:["string"],options:[],system:!0});function R7(n,e,t=()=>!0){const i=so(),o=Ha(),a=Oe([]),r=Oe(new Set);return Wn([n,()=>n.value&&i.getFieldsForCollectionSorted(n.value)],l,{immediate:!0}),{treeList:a,loadFieldRelations:_,refresh:l};function l(){r.value=new Set,a.value=s(n.value)??[];for(const x of a.value)x.relatedCollection&&(x.children=s(x.relatedCollection,x))}function s(x,S){var w;const A=(w=e==null?void 0:e.value)==null?void 0:w.fields.filter($=>$.collection===x),L=i.getFieldsForCollectionSorted(x).concat(A||[]).filter($=>{var B,V,W,J,oe,ue;return((V=(B=$.meta)==null?void 0:B.special)==null?void 0:V.includes("group"))||!((J=(W=$.meta)==null?void 0:W.special)!=null&&J.includes("alias"))&&!((ue=(oe=$.meta)==null?void 0:oe.special)!=null&&ue.includes("no-data"))}).filter($=>t($,S)).filter($=>{var B,V;return(S==null?void 0:S.group)===!0?((B=$.meta)==null?void 0:B.group)===(S==null?void 0:S.field):et.isNil((V=$.meta)==null?void 0:V.group)}).flatMap($=>u($,S));return L.length?L:void 0}function u(x,S){var w,$;const{relationType:A,relatedCollections:F}=d(x),C=S!=null&&S.path?S.path+".":"",L=S!=null&&S.key?S.key+".":"";if(($=(w=x==null?void 0:x.meta)==null?void 0:w.special)!=null&&$.includes("group")){const B={name:x.name,field:x.field,collection:x.collection,relatedCollection:void 0,key:S?S.key:"",path:C+x.field,group:!0,type:x.type},V=s(x.collection,B);if(V)for(const W of V)W.relatedCollection&&(W.children=[{name:"Loading...",field:"",collection:"",key:"",path:"",type:"alias",_loading:!0}]);return{...B,children:V}}return F.length<=1&&A!=="m2a"?{name:x.name,field:x.field,collection:x.collection,relatedCollection:F[0],key:L+x.field,path:C+x.field,type:x.type}:F.map(B=>({name:`${x.name} (${B})`,field:`${x.field}:${B}`,collection:x.collection,relatedCollection:B,key:L+`${x.field}:${B}`,path:C+`${x.field}:${B}`,type:x.type}))}function d(x){const S=g(x);if(!(S!=null&&S.meta))return{relationType:null,relatedCollections:[]};switch(_8({relation:S,collection:x.collection,field:x.field})){case"o2m":return{relationType:"o2m",relatedCollections:[S.meta.many_collection]};case"m2o":return{relationType:"m2o",relatedCollections:[S.meta.one_collection]};case"m2a":return{relationType:"m2a",relatedCollections:S.meta.one_allowed_collections};default:return{relationType:null,relatedCollections:[]}}}function g(x){var A;return[...o.getRelationsForField(x.collection,x.field),...((A=e==null?void 0:e.value)==null?void 0:A.relations)||[]].find(F=>{var C;return F.collection===x.collection&&F.field===x.field||F.related_collection===x.collection&&((C=F.meta)==null?void 0:C.one_field)===x.field})}function m([x,...S],A){let F=A==null?void 0:A.find(C=>C.field===x);if(F||(F=A==null?void 0:A.reduce((C,L)=>(L.group===!0&&L.children&&L.children.length>0&&C.push(...L.children),C),[]).find(C=>C.field===x)),!!F)return S.length?m(S,F.children):F}function _(x){var S;if(!r.value.has(x)){r.value.add(x);const A=m(x.split("."),a.value);A&&((S=A.children)==null?void 0:S.length)===1&&A.children[0]._loading&&(A.children=s(A.relatedCollection,A));for(const F of(A==null?void 0:A.children)||[])F!=null&&F.relatedCollection&&(F.children=s(F.relatedCollection,F))}}}const H_e={class:"system-display-template"},U_e=Pt({__name:"system-display-template",props:{value:{},placeholder:{},disabled:{type:Boolean},collectionField:{},collectionName:{},fields:{},injectVersionField:{type:Boolean}},emits:["input"],setup(n){const e=n,{t}=un(),i=Ir(),o=Sc("values",Oe({})),a=Ce(()=>{if(!e.collectionField)return e.collectionName?e.collectionName:null;const d=o.value[e.collectionField];return!!i.collections.find(m=>m.collection===d)===!1?null:d}),r=Ce(()=>!e.injectVersionField||!o.value.versioning?null:{fields:[{collection:h(a),field:"$version",schema:null,name:t("version"),type:"integer",meta:{id:-1,collection:h(a),field:"$version",sort:null,special:null,interface:null,options:null,display:null,display_options:null,hidden:!1,translations:null,readonly:!0,width:"full",group:null,note:null,required:!1,conditions:null,validation:null,validation_message:null}}]}),{treeList:l,loadFieldRelations:s}=R7(a,r),u=Ce(()=>e.fields?{list:e.fields}:a.value===null?null:{list:l.value,pathLoader:s});return(d,g)=>{const m=G("v-notice"),_=G("v-field-template");return j(),Re("div",H_e,[u.value===null?(j(),ye(m,{key:0},{default:I(()=>[ze(me(h(t)("interfaces.system-display-template.select_a_collection")),1)]),_:1})):(j(),ye(_,{key:1,tree:u.value.list,"model-value":d.value,disabled:d.disabled,placeholder:d.placeholder,"load-path-level":u.value.pathLoader,"onUpdate:modelValue":g[0]||(g[0]=x=>d.$emit("input",x))},null,8,["tree","model-value","disabled","placeholder","load-path-level"]))])}}}),q_e=Xo({id:"system-display-template",name:"$t:interfaces.system-display-template.display-template",description:"$t:interfaces.system-display-template.description",icon:"arrow_drop_down_circle",component:U_e,types:["string"],system:!0,options:[{field:"collectionField",name:"$t:interfaces.system-display-template.collection_field",type:"string",meta:{width:"full",interface:"input"}}]}),W_e=Pt({__name:"system-display",props:{value:{},typeField:{}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=un(),{displays:a}=Tu(),r=Sc("values",Oe({})),l=Ce(()=>{if(!(!t.typeField||!r.value[t.typeField]))return r.value[t.typeField]});Wn(()=>r.value[t.typeField],()=>{i("input",null)});const s=Ce(()=>a.value.filter(u=>{var d;return(((d=u.localTypes)==null?void 0:d.length)??0)===0}).filter(u=>l.value===void 0||u.types.includes(l.value)).map(u=>({text:u.name,value:u.id})));return(u,d)=>{const g=G("v-notice"),m=G("v-select");return l.value===void 0?(j(),ye(g,{key:0},{default:I(()=>[ze(me(h(o)("select_field_type")),1)]),_:1})):(j(),ye(m,{key:1,items:s.value,"model-value":u.value,placeholder:h(o)("interfaces.system-display.placeholder"),"show-deselect":"","onUpdate:modelValue":d[0]||(d[0]=_=>u.$emit("input",_))},null,8,["items","model-value","placeholder"]))}}}),G_e=Xo({id:"system-display",name:"$t:interfaces.system-display.display",description:"$t:interfaces.system-display.description",icon:"box",component:W_e,types:["string"],system:!0,options:[]}),Y_e={key:2,class:"system-field-tree"},X_e=Pt({__name:"system-field-tree",props:{collectionField:{},collectionName:{},value:{},disabled:{type:Boolean},placeholder:{},allowNone:{type:Boolean}},emits:["input"],setup(n){const e=n,{t}=un(),i=Sc("values",Oe({})),o=Ce(()=>i.value[e.collectionField]||e.collectionName),{treeList:a,loadFieldRelations:r}=R7(o);return(l,s)=>{const u=G("v-notice"),d=G("v-checkbox-tree");return!l.collectionField&&!l.collectionName?(j(),ye(u,{key:0,type:"warning"},{default:I(()=>[ze(me(h(t)("collection_field_not_setup")),1)]),_:1})):o.value?(j(),Re("div",Y_e,[T(d,{"model-value":l.value,disabled:l.disabled,choices:h(a),"item-text":"name","item-value":"key","value-combining":"exclusive","onUpdate:modelValue":s[0]||(s[0]=g=>l.$emit("input",g)),onGroupToggle:s[1]||(s[1]=g=>h(r)(g.value))},null,8,["model-value","disabled","choices"])])):(j(),ye(u,{key:1,type:"warning"},{default:I(()=>[ze(me(h(t)("select_a_collection")),1)]),_:1}))}}}),K_e=Wt(X_e,[["__scopeId","data-v-07a12b25"]]),Z_e=Xo({id:"system-field-tree",name:"$t:field",icon:"box",component:K_e,types:["string"],options:[],system:!0}),J_e=Pt({__name:"system-field",props:{value:{},collectionField:{},collectionName:{},typeAllowList:{default:()=>[]},disabled:{type:Boolean},placeholder:{},allowNone:{type:Boolean},allowPrimaryKey:{type:Boolean},allowForeignKeys:{type:Boolean,default:!0}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=un(),a=so(),r=Sc("values",Oe({})),l=Ce(()=>r.value[t.collectionField]||t.collectionName),s=Ce(()=>!t.collectionField&&!t.collectionName?[]:a.getFieldsForCollection(l.value));Wn(l,(d,g)=>{g&&d!==g&&i("input",null)});const u=Ce(()=>s.value.map(d=>{var m,_;let g=!1;return t.allowPrimaryKey===!1&&((m=d==null?void 0:d.schema)==null?void 0:m.is_primary_key)===!0&&(g=!0),t.allowForeignKeys===!1&&((_=d==null?void 0:d.schema)!=null&&_.foreign_key_table)&&(g=!0),t.typeAllowList.length>0&&t.typeAllowList.includes(d.type)===!1&&(g=!0),{text:d.name,value:d.field,disabled:g}}));return(d,g)=>{const m=G("v-notice"),_=G("v-select");return!d.collectionField&&!d.collectionName?(j(),ye(m,{key:0,type:"warning"},{default:I(()=>[ze(me(h(o)("collection_field_not_setup")),1)]),_:1})):u.value.length===0?(j(),ye(m,{key:1,type:"warning"},{default:I(()=>[ze(me(h(o)("select_a_collection")),1)]),_:1})):(j(),ye(_,{key:2,"show-deselect":d.allowNone,"model-value":d.value,disabled:d.disabled,items:u.value,placeholder:d.placeholder||h(o)("select_a_field"),"onUpdate:modelValue":g[0]||(g[0]=x=>d.$emit("input",x))},null,8,["show-deselect","model-value","disabled","items","placeholder"]))}}}),Q_e=Xo({id:"system-field",name:"$t:field",icon:"box",component:J_e,types:["string"],options:[],system:!0});var qz={exports:{}};const e5e=rE(_X);/**!
55
55
  * Sortable 1.14.0
@@ -60,7 +60,7 @@ Please use **Flows** with the [Webhook / Request URL operation](https://docs.dir
60
60
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c5e="1.14.0";function o2(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var y2=o2(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),b5=o2(/Edge/i),FL=o2(/firefox/i),l_=o2(/safari/i)&&!o2(/chrome/i)&&!o2(/android/i),Wz=o2(/iP(ad|od|hone)/i),u5e=o2(/chrome/i)&&o2(/android/i),Gz={capture:!1,passive:!1};function Sa(n,e,t){n.addEventListener(e,t,!y2&&Gz)}function la(n,e,t){n.removeEventListener(e,t,!y2&&Gz)}function A8(n,e){if(e){if(e[0]===">"&&(e=e.substring(1)),n)try{if(n.matches)return n.matches(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e)}catch{return!1}return!1}}function d5e(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function Xp(n,e,t,i){if(n){t=t||document;do{if(e!=null&&(e[0]===">"?n.parentNode===t&&A8(n,e):A8(n,e))||i&&n===t)return n;if(n===t)break}while(n=d5e(n))}return null}var PL=/\s+/g;function Ul(n,e,t){if(n&&e)if(n.classList)n.classList[t?"add":"remove"](e);else{var i=(" "+n.className+" ").replace(PL," ").replace(" "+e+" "," ");n.className=(i+(t?" "+e:"")).replace(PL," ")}}function Wo(n,e,t){var i=n&&n.style;if(i){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(n,""):n.currentStyle&&(t=n.currentStyle),e===void 0?t:t[e];!(e in i)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),i[e]=t+(typeof t=="string"?"":"px")}}function B0(n,e){var t="";if(typeof n=="string")t=n;else do{var i=Wo(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!e&&(n=n.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(t)}function Yz(n,e,t){if(n){var i=n.getElementsByTagName(e),o=0,a=i.length;if(t)for(;o<a;o++)t(i[o],o);return i}return[]}function Yh(){var n=document.scrollingElement;return n||document.documentElement}function wl(n,e,t,i,o){if(!(!n.getBoundingClientRect&&n!==window)){var a,r,l,s,u,d,g;if(n!==window&&n.parentNode&&n!==Yh()?(a=n.getBoundingClientRect(),r=a.top,l=a.left,s=a.bottom,u=a.right,d=a.height,g=a.width):(r=0,l=0,s=window.innerHeight,u=window.innerWidth,d=window.innerHeight,g=window.innerWidth),(e||t)&&n!==window&&(o=o||n.parentNode,!y2))do if(o&&o.getBoundingClientRect&&(Wo(o,"transform")!=="none"||t&&Wo(o,"position")!=="static")){var m=o.getBoundingClientRect();r-=m.top+parseInt(Wo(o,"border-top-width")),l-=m.left+parseInt(Wo(o,"border-left-width")),s=r+a.height,u=l+a.width;break}while(o=o.parentNode);if(i&&n!==window){var _=B0(o||n),x=_&&_.a,S=_&&_.d;_&&(r/=S,l/=x,g/=x,d/=S,s=r+d,u=l+g)}return{top:r,left:l,bottom:s,right:u,width:g,height:d}}}function OL(n,e,t){for(var i=rv(n,!0),o=wl(n)[e];i;){var a=wl(i)[t],r=void 0;if(r=o>=a,!r)return i;if(i===Yh())break;i=rv(i,!1)}return!1}function ey(n,e,t,i){for(var o=0,a=0,r=n.children;a<r.length;){if(r[a].style.display!=="none"&&r[a]!==wr.ghost&&(i||r[a]!==wr.dragged)&&Xp(r[a],t.draggable,n,!1)){if(o===e)return r[a];o++}a++}return null}function LE(n,e){for(var t=n.lastElementChild;t&&(t===wr.ghost||Wo(t,"display")==="none"||e&&!A8(t,e));)t=t.previousElementSibling;return t||null}function rc(n,e){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==wr.clone&&(!e||A8(n,e))&&t++;return t}function RL(n){var e=0,t=0,i=Yh();if(n)do{var o=B0(n),a=o.a,r=o.d;e+=n.scrollLeft*a,t+=n.scrollTop*r}while(n!==i&&(n=n.parentNode));return[e,t]}function f5e(n,e){for(var t in n)if(n.hasOwnProperty(t)){for(var i in e)if(e.hasOwnProperty(i)&&e[i]===n[t][i])return Number(t)}return-1}function rv(n,e){if(!n||!n.getBoundingClientRect)return Yh();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var o=Wo(t);if(t.clientWidth<t.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return Yh();if(i||e)return t;i=!0}}while(t=t.parentNode);return Yh()}function p5e(n,e){if(n&&e)for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function Ix(n,e){return Math.round(n.top)===Math.round(e.top)&&Math.round(n.left)===Math.round(e.left)&&Math.round(n.height)===Math.round(e.height)&&Math.round(n.width)===Math.round(e.width)}var c_;function Xz(n,e){return function(){if(!c_){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),c_=setTimeout(function(){c_=void 0},e)}}}function h5e(){clearTimeout(c_),c_=void 0}function Kz(n,e,t){n.scrollLeft+=e,n.scrollTop+=t}function IE(n){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}function zL(n,e){Wo(n,"position","absolute"),Wo(n,"top",e.top),Wo(n,"left",e.left),Wo(n,"width",e.width),Wo(n,"height",e.height)}function Mx(n){Wo(n,"position",""),Wo(n,"top",""),Wo(n,"left",""),Wo(n,"width",""),Wo(n,"height","")}var Dd="Sortable"+new Date().getTime();function m5e(){var n=[],e;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(o){if(!(Wo(o,"display")==="none"||o===wr.ghost)){n.push({target:o,rect:wl(o)});var a=nm({},n[n.length-1].rect);if(o.thisAnimationDuration){var r=B0(o,!0);r&&(a.top-=r.f,a.left-=r.e)}o.fromRect=a}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice(f5e(n,{target:i}),1)},animateAll:function(i){var o=this;if(!this.options.animation){clearTimeout(e),typeof i=="function"&&i();return}var a=!1,r=0;n.forEach(function(l){var s=0,u=l.target,d=u.fromRect,g=wl(u),m=u.prevFromRect,_=u.prevToRect,x=l.rect,S=B0(u,!0);S&&(g.top-=S.f,g.left-=S.e),u.toRect=g,u.thisAnimationDuration&&Ix(m,g)&&!Ix(d,g)&&(x.top-g.top)/(x.left-g.left)===(d.top-g.top)/(d.left-g.left)&&(s=g5e(x,m,_,o.options)),Ix(g,d)||(u.prevFromRect=d,u.prevToRect=g,s||(s=o.options.animation),o.animate(u,x,g,s)),s&&(a=!0,r=Math.max(r,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(e),a?e=setTimeout(function(){typeof i=="function"&&i()},r):typeof i=="function"&&i(),n=[]},animate:function(i,o,a,r){if(r){Wo(i,"transition",""),Wo(i,"transform","");var l=B0(this.el),s=l&&l.a,u=l&&l.d,d=(o.left-a.left)/(s||1),g=(o.top-a.top)/(u||1);i.animatingX=!!d,i.animatingY=!!g,Wo(i,"transform","translate3d("+d+"px,"+g+"px,0)"),this.forRepaintDummy=v5e(i),Wo(i,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),Wo(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){Wo(i,"transition",""),Wo(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},r)}}}}function v5e(n){return n.offsetWidth}function g5e(n,e,t,i){return Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*i.animation}var Ug=[],Fx={initializeByDefault:!0},x5={mount:function(e){for(var t in Fx)Fx.hasOwnProperty(t)&&!(t in e)&&(e[t]=Fx[t]);Ug.forEach(function(i){if(i.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Ug.push(e)},pluginEvent:function(e,t,i){var o=this;this.eventCanceled=!1,i.cancel=function(){o.eventCanceled=!0};var a=e+"Global";Ug.forEach(function(r){t[r.pluginName]&&(t[r.pluginName][a]&&t[r.pluginName][a](nm({sortable:t},i)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](nm({sortable:t},i)))})},initializePlugins:function(e,t,i,o){Ug.forEach(function(l){var s=l.pluginName;if(!(!e.options[s]&&!l.initializeByDefault)){var u=new l(e,t,e.options);u.sortable=e,u.options=e.options,e[s]=u,yp(i,u.defaults)}});for(var a in e.options)if(e.options.hasOwnProperty(a)){var r=this.modifyOption(e,a,e.options[a]);typeof r<"u"&&(e.options[a]=r)}},getEventProperties:function(e,t){var i={};return Ug.forEach(function(o){typeof o.eventProperties=="function"&&yp(i,o.eventProperties.call(t[o.pluginName],e))}),i},modifyOption:function(e,t,i){var o;return Ug.forEach(function(a){e[a.pluginName]&&a.optionListeners&&typeof a.optionListeners[t]=="function"&&(o=a.optionListeners[t].call(e[a.pluginName],i))}),o}};function U4(n){var e=n.sortable,t=n.rootEl,i=n.name,o=n.targetEl,a=n.cloneEl,r=n.toEl,l=n.fromEl,s=n.oldIndex,u=n.newIndex,d=n.oldDraggableIndex,g=n.newDraggableIndex,m=n.originalEvent,_=n.putSortable,x=n.extraEventProperties;if(e=e||t&&t[Dd],!!e){var S,A=e.options,F="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!y2&&!b5?S=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(S=document.createEvent("Event"),S.initEvent(i,!0,!0)),S.to=r||t,S.from=l||t,S.item=o||t,S.clone=a,S.oldIndex=s,S.newIndex=u,S.oldDraggableIndex=d,S.newDraggableIndex=g,S.originalEvent=m,S.pullMode=_?_.lastPutMode:void 0;var C=nm(nm({},x),x5.getEventProperties(i,e));for(var L in C)S[L]=C[L];t&&t.dispatchEvent(S),A[F]&&A[F].call(e,S)}}var y5e=["evt"],wf=function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=i.evt,a=i5e(i,y5e);x5.pluginEvent.bind(wr)(e,t,nm({dragEl:go,parentEl:ic,ghostEl:Wr,rootEl:bl,nextEl:D0,lastDownEl:j6,cloneEl:oc,cloneHidden:tv,dragStarted:q4,putSortable:od,activeSortable:wr.active,originalEvent:o,oldIndex:v3,oldDraggableIndex:u_,newIndex:d1,newDraggableIndex:ev,hideGhostForTarget:e$,unhideGhostForTarget:t$,cloneNowHidden:function(){tv=!0},cloneNowShown:function(){tv=!1},dispatchSortableEvent:function(l){Qd({sortable:t,name:l,originalEvent:o})}},a))};function Qd(n){U4(nm({putSortable:od,cloneEl:oc,targetEl:go,rootEl:bl,oldIndex:v3,oldDraggableIndex:u_,newIndex:d1,newDraggableIndex:ev},n))}var go,ic,Wr,bl,D0,j6,oc,tv,v3,d1,u_,ev,Ob,od,s3=!1,T8=!1,D8=[],x0,Up,Px,Ox,$L,NL,q4,qg,d_,f_=!1,Rb=!1,V6,Sd,Rx=[],Rk=!1,L8=[],z7=typeof document<"u",zb=Wz,BL=b5||y2?"cssFloat":"float",_5e=z7&&!u5e&&!Wz&&"draggable"in document.createElement("div"),Zz=function(){if(z7){if(y2)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),Jz=function(e,t){var i=Wo(e),o=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),a=ey(e,0,t),r=ey(e,1,t),l=a&&Wo(a),s=r&&Wo(r),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+wl(a).width,d=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+wl(r).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&l.float&&l.float!=="none"){var g=l.float==="left"?"left":"right";return r&&(s.clear==="both"||s.clear===g)?"vertical":"horizontal"}return a&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=o&&i[BL]==="none"||r&&i[BL]==="none"&&u+d>o)?"vertical":"horizontal"},b5e=function(e,t,i){var o=i?e.left:e.top,a=i?e.right:e.bottom,r=i?e.width:e.height,l=i?t.left:t.top,s=i?t.right:t.bottom,u=i?t.width:t.height;return o===l||a===s||o+r/2===l+u/2},x5e=function(e,t){var i;return D8.some(function(o){var a=o[Dd].options.emptyInsertThreshold;if(!(!a||LE(o))){var r=wl(o),l=e>=r.left-a&&e<=r.right+a,s=t>=r.top-a&&t<=r.bottom+a;if(l&&s)return i=o}}),i},Qz=function(e){function t(a,r){return function(l,s,u,d){var g=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(a==null&&(r||g))return!0;if(a==null||a===!1)return!1;if(r&&a==="clone")return a;if(typeof a=="function")return t(a(l,s,u,d),r)(l,s,u,d);var m=(r?l:s).options.group.name;return a===!0||typeof a=="string"&&a===m||a.join&&a.indexOf(m)>-1}}var i={},o=e.group;(!o||B6(o)!="object")&&(o={name:o}),i.name=o.name,i.checkPull=t(o.pull,!0),i.checkPut=t(o.put),i.revertClone=o.revertClone,e.group=i},e$=function(){!Zz&&Wr&&Wo(Wr,"display","none")},t$=function(){!Zz&&Wr&&Wo(Wr,"display","")};z7&&document.addEventListener("click",function(n){if(T8)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),T8=!1,!1},!0);var w0=function(e){if(go){e=e.touches?e.touches[0]:e;var t=x5e(e.clientX,e.clientY);if(t){var i={};for(var o in e)e.hasOwnProperty(o)&&(i[o]=e[o]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[Dd]._onDragOver(i)}}},w5e=function(e){go&&go.parentNode[Dd]._isOutsideThisEl(e.target)};function wr(n,e){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=e=yp({},e),n[Dd]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(n.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Jz(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(r,l){r.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:wr.supportPointer!==!1&&"PointerEvent"in window&&!l_,emptyInsertThreshold:5};x5.initializePlugins(this,n,t);for(var i in t)!(i in e)&&(e[i]=t[i]);Qz(e);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=e.forceFallback?!1:_5e,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?Sa(n,"pointerdown",this._onTapStart):(Sa(n,"mousedown",this._onTapStart),Sa(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(Sa(n,"dragover",this),Sa(n,"dragenter",this)),D8.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),yp(this,m5e())}wr.prototype={constructor:wr,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(qg=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,go):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,i=this.el,o=this.options,a=o.preventOnFilter,r=e.type,l=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,s=(l||e).target,u=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,d=o.filter;if(L5e(i),!go&&!(/mousedown|pointerdown/.test(r)&&e.button!==0||o.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&l_&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=Xp(s,o.draggable,i,!1),!(s&&s.animated)&&j6!==s)){if(v3=rc(s),u_=rc(s,o.draggable),typeof d=="function"){if(d.call(this,e,s,this)){Qd({sortable:t,rootEl:u,name:"filter",targetEl:s,toEl:i,fromEl:i}),wf("filter",t,{evt:e}),a&&e.cancelable&&e.preventDefault();return}}else if(d&&(d=d.split(",").some(function(g){if(g=Xp(u,g.trim(),i,!1),g)return Qd({sortable:t,rootEl:g,name:"filter",targetEl:s,fromEl:i,toEl:i}),wf("filter",t,{evt:e}),!0}),d)){a&&e.cancelable&&e.preventDefault();return}o.handle&&!Xp(u,o.handle,i,!1)||this._prepareDragStart(e,l,s)}}},_prepareDragStart:function(e,t,i){var o=this,a=o.el,r=o.options,l=a.ownerDocument,s;if(i&&!go&&i.parentNode===a){var u=wl(i);if(bl=a,go=i,ic=go.parentNode,D0=go.nextSibling,j6=i,Ob=r.group,wr.dragged=go,x0={target:go,clientX:(t||e).clientX,clientY:(t||e).clientY},$L=x0.clientX-u.left,NL=x0.clientY-u.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,go.style["will-change"]="all",s=function(){if(wf("delayEnded",o,{evt:e}),wr.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!FL&&o.nativeDraggable&&(go.draggable=!0),o._triggerDragStart(e,t),Qd({sortable:o,name:"choose",originalEvent:e}),Ul(go,r.chosenClass,!0)},r.ignore.split(",").forEach(function(d){Yz(go,d.trim(),zx)}),Sa(l,"dragover",w0),Sa(l,"mousemove",w0),Sa(l,"touchmove",w0),Sa(l,"mouseup",o._onDrop),Sa(l,"touchend",o._onDrop),Sa(l,"touchcancel",o._onDrop),FL&&this.nativeDraggable&&(this.options.touchStartThreshold=4,go.draggable=!0),wf("delayStart",this,{evt:e}),r.delay&&(!r.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(b5||y2))){if(wr.eventCanceled){this._onDrop();return}Sa(l,"mouseup",o._disableDelayedDrag),Sa(l,"touchend",o._disableDelayedDrag),Sa(l,"touchcancel",o._disableDelayedDrag),Sa(l,"mousemove",o._delayedDragTouchMoveHandler),Sa(l,"touchmove",o._delayedDragTouchMoveHandler),r.supportPointer&&Sa(l,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(s,r.delay)}else s()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){go&&zx(go),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;la(e,"mouseup",this._disableDelayedDrag),la(e,"touchend",this._disableDelayedDrag),la(e,"touchcancel",this._disableDelayedDrag),la(e,"mousemove",this._delayedDragTouchMoveHandler),la(e,"touchmove",this._delayedDragTouchMoveHandler),la(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?Sa(document,"pointermove",this._onTouchMove):t?Sa(document,"touchmove",this._onTouchMove):Sa(document,"mousemove",this._onTouchMove):(Sa(go,"dragend",this),Sa(bl,"dragstart",this._onDragStart));try{document.selection?H6(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(s3=!1,bl&&go){wf("dragStarted",this,{evt:t}),this.nativeDraggable&&Sa(document,"dragover",w5e);var i=this.options;!e&&Ul(go,i.dragClass,!1),Ul(go,i.ghostClass,!0),wr.active=this,e&&this._appendGhost(),Qd({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Up){this._lastX=Up.clientX,this._lastY=Up.clientY,e$();for(var e=document.elementFromPoint(Up.clientX,Up.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Up.clientX,Up.clientY),e!==t);)t=e;if(go.parentNode[Dd]._isOutsideThisEl(e),t)do{if(t[Dd]){var i=void 0;if(i=t[Dd]._onDragOver({clientX:Up.clientX,clientY:Up.clientY,target:e,rootEl:t}),i&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);t$()}},_onTouchMove:function(e){if(x0){var t=this.options,i=t.fallbackTolerance,o=t.fallbackOffset,a=e.touches?e.touches[0]:e,r=Wr&&B0(Wr,!0),l=Wr&&r&&r.a,s=Wr&&r&&r.d,u=zb&&Sd&&RL(Sd),d=(a.clientX-x0.clientX+o.x)/(l||1)+(u?u[0]-Rx[0]:0)/(l||1),g=(a.clientY-x0.clientY+o.y)/(s||1)+(u?u[1]-Rx[1]:0)/(s||1);if(!wr.active&&!s3){if(i&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))<i)return;this._onDragStart(e,!0)}if(Wr){r?(r.e+=d-(Px||0),r.f+=g-(Ox||0)):r={a:1,b:0,c:0,d:1,e:d,f:g};var m="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");Wo(Wr,"webkitTransform",m),Wo(Wr,"mozTransform",m),Wo(Wr,"msTransform",m),Wo(Wr,"transform",m),Px=d,Ox=g,Up=a}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Wr){var e=this.options.fallbackOnBody?document.body:bl,t=wl(go,!0,zb,!0,e),i=this.options;if(zb){for(Sd=e;Wo(Sd,"position")==="static"&&Wo(Sd,"transform")==="none"&&Sd!==document;)Sd=Sd.parentNode;Sd!==document.body&&Sd!==document.documentElement?(Sd===document&&(Sd=Yh()),t.top+=Sd.scrollTop,t.left+=Sd.scrollLeft):Sd=Yh(),Rx=RL(Sd)}Wr=go.cloneNode(!0),Ul(Wr,i.ghostClass,!1),Ul(Wr,i.fallbackClass,!0),Ul(Wr,i.dragClass,!0),Wo(Wr,"transition",""),Wo(Wr,"transform",""),Wo(Wr,"box-sizing","border-box"),Wo(Wr,"margin",0),Wo(Wr,"top",t.top),Wo(Wr,"left",t.left),Wo(Wr,"width",t.width),Wo(Wr,"height",t.height),Wo(Wr,"opacity","0.8"),Wo(Wr,"position",zb?"absolute":"fixed"),Wo(Wr,"zIndex","100000"),Wo(Wr,"pointerEvents","none"),wr.ghost=Wr,e.appendChild(Wr),Wo(Wr,"transform-origin",$L/parseInt(Wr.style.width)*100+"% "+NL/parseInt(Wr.style.height)*100+"%")}},_onDragStart:function(e,t){var i=this,o=e.dataTransfer,a=i.options;if(wf("dragStart",this,{evt:e}),wr.eventCanceled){this._onDrop();return}wf("setupClone",this),wr.eventCanceled||(oc=IE(go),oc.draggable=!1,oc.style["will-change"]="",this._hideClone(),Ul(oc,this.options.chosenClass,!1),wr.clone=oc),i.cloneId=H6(function(){wf("clone",i),!wr.eventCanceled&&(i.options.removeCloneOnHide||bl.insertBefore(oc,go),i._hideClone(),Qd({sortable:i,name:"clone"}))}),!t&&Ul(go,a.dragClass,!0),t?(T8=!0,i._loopId=setInterval(i._emulateDragOver,50)):(la(document,"mouseup",i._onDrop),la(document,"touchend",i._onDrop),la(document,"touchcancel",i._onDrop),o&&(o.effectAllowed="move",a.setData&&a.setData.call(i,o,go)),Sa(document,"drop",i),Wo(go,"transform","translateZ(0)")),s3=!0,i._dragStartId=H6(i._dragStarted.bind(i,t,e)),Sa(document,"selectstart",i),q4=!0,l_&&Wo(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,i=e.target,o,a,r,l=this.options,s=l.group,u=wr.active,d=Ob===s,g=l.sort,m=od||u,_,x=this,S=!1;if(Rk)return;function A(he,Ie){wf(he,x,nm({evt:e,isOwner:d,axis:_?"vertical":"horizontal",revert:r,dragRect:o,targetRect:a,canSort:g,fromSortable:m,target:i,completed:C,onMove:function(Ue,Ee){return $b(bl,t,go,o,Ue,wl(Ue),e,Ee)},changed:L},Ie))}function F(){A("dragOverAnimationCapture"),x.captureAnimationState(),x!==m&&m.captureAnimationState()}function C(he){return A("dragOverCompleted",{insertion:he}),he&&(d?u._hideClone():u._showClone(x),x!==m&&(Ul(go,od?od.options.ghostClass:u.options.ghostClass,!1),Ul(go,l.ghostClass,!0)),od!==x&&x!==wr.active?od=x:x===wr.active&&od&&(od=null),m===x&&(x._ignoreWhileAnimating=i),x.animateAll(function(){A("dragOverAnimationComplete"),x._ignoreWhileAnimating=null}),x!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(i===go&&!go.animated||i===t&&!i.animated)&&(qg=null),!l.dragoverBubble&&!e.rootEl&&i!==document&&(go.parentNode[Dd]._isOutsideThisEl(e.target),!he&&w0(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),S=!0}function L(){d1=rc(go),ev=rc(go,l.draggable),Qd({sortable:x,name:"change",toEl:t,newIndex:d1,newDraggableIndex:ev,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),i=Xp(i,l.draggable,t,!0),A("dragOver"),wr.eventCanceled)return S;if(go.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||x._ignoreWhileAnimating===i)return C(!1);if(T8=!1,u&&!l.disabled&&(d?g||(r=ic!==bl):od===this||(this.lastPutMode=Ob.checkPull(this,u,go,e))&&s.checkPut(this,u,go,e))){if(_=this._getDirection(e,i)==="vertical",o=wl(go),A("dragOverValid"),wr.eventCanceled)return S;if(r)return ic=bl,F(),this._hideClone(),A("revert"),wr.eventCanceled||(D0?bl.insertBefore(go,D0):bl.appendChild(go)),C(!0);var w=LE(t,l.draggable);if(!w||E5e(e,_,this)&&!w.animated){if(w===go)return C(!1);if(w&&t===e.target&&(i=w),i&&(a=wl(i)),$b(bl,t,go,o,i,a,e,!!i)!==!1)return F(),t.appendChild(go),ic=t,L(),C(!0)}else if(w&&S5e(e,_,this)){var $=ey(t,0,l,!0);if($===go)return C(!1);if(i=$,a=wl(i),$b(bl,t,go,o,i,a,e,!1)!==!1)return F(),t.insertBefore(go,$),ic=t,L(),C(!0)}else if(i.parentNode===t){a=wl(i);var B=0,V,W=go.parentNode!==t,J=!b5e(go.animated&&go.toRect||o,i.animated&&i.toRect||a,_),oe=_?"top":"left",ue=OL(i,"top","top")||OL(go,"top","top"),be=ue?ue.scrollTop:void 0;qg!==i&&(V=a[oe],f_=!1,Rb=!J&&l.invertSwap||W),B=A5e(e,i,a,_,J?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,Rb,qg===i);var ie;if(B!==0){var fe=rc(go);do fe-=B,ie=ic.children[fe];while(ie&&(Wo(ie,"display")==="none"||ie===Wr))}if(B===0||ie===i)return C(!1);qg=i,d_=B;var Y=i.nextElementSibling,re=!1;re=B===1;var ge=$b(bl,t,go,o,i,a,e,re);if(ge!==!1)return(ge===1||ge===-1)&&(re=ge===1),Rk=!0,setTimeout(C5e,30),F(),re&&!Y?t.appendChild(go):i.parentNode.insertBefore(go,re?Y:i),ue&&Kz(ue,0,be-ue.scrollTop),ic=go.parentNode,V!==void 0&&!Rb&&(V6=Math.abs(V-wl(i)[oe])),L(),C(!0)}if(t.contains(go))return C(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){la(document,"mousemove",this._onTouchMove),la(document,"touchmove",this._onTouchMove),la(document,"pointermove",this._onTouchMove),la(document,"dragover",w0),la(document,"mousemove",w0),la(document,"touchmove",w0)},_offUpEvents:function(){var e=this.el.ownerDocument;la(e,"mouseup",this._onDrop),la(e,"touchend",this._onDrop),la(e,"pointerup",this._onDrop),la(e,"touchcancel",this._onDrop),la(document,"selectstart",this)},_onDrop:function(e){var t=this.el,i=this.options;if(d1=rc(go),ev=rc(go,i.draggable),wf("drop",this,{evt:e}),ic=go&&go.parentNode,d1=rc(go),ev=rc(go,i.draggable),wr.eventCanceled){this._nulling();return}s3=!1,Rb=!1,f_=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),zk(this.cloneId),zk(this._dragStartId),this.nativeDraggable&&(la(document,"drop",this),la(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),l_&&Wo(document.body,"user-select",""),Wo(go,"transform",""),e&&(q4&&(e.cancelable&&e.preventDefault(),!i.dropBubble&&e.stopPropagation()),Wr&&Wr.parentNode&&Wr.parentNode.removeChild(Wr),(bl===ic||od&&od.lastPutMode!=="clone")&&oc&&oc.parentNode&&oc.parentNode.removeChild(oc),go&&(this.nativeDraggable&&la(go,"dragend",this),zx(go),go.style["will-change"]="",q4&&!s3&&Ul(go,od?od.options.ghostClass:this.options.ghostClass,!1),Ul(go,this.options.chosenClass,!1),Qd({sortable:this,name:"unchoose",toEl:ic,newIndex:null,newDraggableIndex:null,originalEvent:e}),bl!==ic?(d1>=0&&(Qd({rootEl:ic,name:"add",toEl:ic,fromEl:bl,originalEvent:e}),Qd({sortable:this,name:"remove",toEl:ic,originalEvent:e}),Qd({rootEl:ic,name:"sort",toEl:ic,fromEl:bl,originalEvent:e}),Qd({sortable:this,name:"sort",toEl:ic,originalEvent:e})),od&&od.save()):d1!==v3&&d1>=0&&(Qd({sortable:this,name:"update",toEl:ic,originalEvent:e}),Qd({sortable:this,name:"sort",toEl:ic,originalEvent:e})),wr.active&&((d1==null||d1===-1)&&(d1=v3,ev=u_),Qd({sortable:this,name:"end",toEl:ic,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){wf("nulling",this),bl=go=ic=Wr=D0=oc=j6=tv=x0=Up=q4=d1=ev=v3=u_=qg=d_=od=Ob=wr.dragged=wr.ghost=wr.clone=wr.active=null,L8.forEach(function(e){e.checked=!0}),L8.length=Px=Ox=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":go&&(this._onDragOver(e),k5e(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,i=this.el.children,o=0,a=i.length,r=this.options;o<a;o++)t=i[o],Xp(t,r.draggable,this.el,!1)&&e.push(t.getAttribute(r.dataIdAttr)||D5e(t));return e},sort:function(e,t){var i={},o=this.el;this.toArray().forEach(function(a,r){var l=o.children[r];Xp(l,this.options.draggable,o,!1)&&(i[a]=l)},this),t&&this.captureAnimationState(),e.forEach(function(a){i[a]&&(o.removeChild(i[a]),o.appendChild(i[a]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return Xp(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var i=this.options;if(t===void 0)return i[e];var o=x5.modifyOption(this,e,t);typeof o<"u"?i[e]=o:i[e]=t,e==="group"&&Qz(i)},destroy:function(){wf("destroy",this);var e=this.el;e[Dd]=null,la(e,"mousedown",this._onTapStart),la(e,"touchstart",this._onTapStart),la(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(la(e,"dragover",this),la(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),D8.splice(D8.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!tv){if(wf("hideClone",this),wr.eventCanceled)return;Wo(oc,"display","none"),this.options.removeCloneOnHide&&oc.parentNode&&oc.parentNode.removeChild(oc),tv=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(tv){if(wf("showClone",this),wr.eventCanceled)return;go.parentNode==bl&&!this.options.group.revertClone?bl.insertBefore(oc,go):D0?bl.insertBefore(oc,D0):bl.appendChild(oc),this.options.group.revertClone&&this.animate(go,oc),Wo(oc,"display",""),tv=!1}}};function k5e(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function $b(n,e,t,i,o,a,r,l){var s,u=n[Dd],d=u.options.onMove,g;return window.CustomEvent&&!y2&&!b5?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=e,s.from=n,s.dragged=t,s.draggedRect=i,s.related=o||e,s.relatedRect=a||wl(e),s.willInsertAfter=l,s.originalEvent=r,n.dispatchEvent(s),d&&(g=d.call(u,s,r)),g}function zx(n){n.draggable=!1}function C5e(){Rk=!1}function S5e(n,e,t){var i=wl(ey(t.el,0,t.options,!0)),o=10;return e?n.clientX<i.left-o||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-o||n.clientY<i.bottom&&n.clientX<i.left}function E5e(n,e,t){var i=wl(LE(t.el,t.options.draggable)),o=10;return e?n.clientX>i.right+o||n.clientX<=i.right&&n.clientY>i.bottom&&n.clientX>=i.left:n.clientX>i.right&&n.clientY>i.top||n.clientX<=i.right&&n.clientY>i.bottom+o}function A5e(n,e,t,i,o,a,r,l){var s=i?n.clientY:n.clientX,u=i?t.height:t.width,d=i?t.top:t.left,g=i?t.bottom:t.right,m=!1;if(!r){if(l&&V6<u*o){if(!f_&&(d_===1?s>d+u*a/2:s<g-u*a/2)&&(f_=!0),f_)m=!0;else if(d_===1?s<d+V6:s>g-V6)return-d_}else if(s>d+u*(1-o)/2&&s<g-u*(1-o)/2)return T5e(e)}return m=m||r,m&&(s<d+u*a/2||s>g-u*a/2)?s>d+u/2?1:-1:0}function T5e(n){return rc(go)<rc(n)?1:-1}function D5e(n){for(var e=n.tagName+n.className+n.src+n.href+n.textContent,t=e.length,i=0;t--;)i+=e.charCodeAt(t);return i.toString(36)}function L5e(n){L8.length=0;for(var e=n.getElementsByTagName("input"),t=e.length;t--;){var i=e[t];i.checked&&L8.push(i)}}function H6(n){return setTimeout(n,0)}function zk(n){return clearTimeout(n)}z7&&Sa(document,"touchmove",function(n){(wr.active||s3)&&n.cancelable&&n.preventDefault()});wr.utils={on:Sa,off:la,css:Wo,find:Yz,is:function(e,t){return!!Xp(e,t,e,!1)},extend:p5e,throttle:Xz,closest:Xp,toggleClass:Ul,clone:IE,index:rc,nextTick:H6,cancelNextTick:zk,detectDirection:Jz,getChild:ey};wr.get=function(n){return n[Dd]};wr.mount=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(i){if(!i.prototype||!i.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));i.utils&&(wr.utils=nm(nm({},wr.utils),i.utils)),x5.mount(i)})};wr.create=function(n,e){return new wr(n,e)};wr.version=c5e;var qc=[],W4,$k,Nk=!1,$x,Nx,I8,G4;function I5e(){function n(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return n.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?Sa(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Sa(document,"pointermove",this._handleFallbackAutoScroll):i.touches?Sa(document,"touchmove",this._handleFallbackAutoScroll):Sa(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?la(document,"dragover",this._handleAutoScroll):(la(document,"pointermove",this._handleFallbackAutoScroll),la(document,"touchmove",this._handleFallbackAutoScroll),la(document,"mousemove",this._handleFallbackAutoScroll)),jL(),U6(),h5e()},nulling:function(){I8=$k=W4=Nk=G4=$x=Nx=null,qc.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var o=this,a=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,l=document.elementFromPoint(a,r);if(I8=t,i||this.options.forceAutoScrollFallback||b5||y2||l_){Bx(t,this.options,l,i);var s=rv(l,!0);Nk&&(!G4||a!==$x||r!==Nx)&&(G4&&jL(),G4=setInterval(function(){var u=rv(document.elementFromPoint(a,r),!0);u!==s&&(s=u,U6()),Bx(t,o.options,u,i)},10),$x=a,Nx=r)}else{if(!this.options.bubbleScroll||rv(l,!0)===Yh()){U6();return}Bx(t,this.options,rv(l,!1),!1)}}},yp(n,{pluginName:"scroll",initializeByDefault:!0})}function U6(){qc.forEach(function(n){clearInterval(n.pid)}),qc=[]}function jL(){clearInterval(G4)}var Bx=Xz(function(n,e,t,i){if(e.scroll){var o=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,r=e.scrollSensitivity,l=e.scrollSpeed,s=Yh(),u=!1,d;$k!==t&&($k=t,U6(),W4=e.scroll,d=e.scrollFn,W4===!0&&(W4=rv(t,!0)));var g=0,m=W4;do{var _=m,x=wl(_),S=x.top,A=x.bottom,F=x.left,C=x.right,L=x.width,w=x.height,$=void 0,B=void 0,V=_.scrollWidth,W=_.scrollHeight,J=Wo(_),oe=_.scrollLeft,ue=_.scrollTop;_===s?($=L<V&&(J.overflowX==="auto"||J.overflowX==="scroll"||J.overflowX==="visible"),B=w<W&&(J.overflowY==="auto"||J.overflowY==="scroll"||J.overflowY==="visible")):($=L<V&&(J.overflowX==="auto"||J.overflowX==="scroll"),B=w<W&&(J.overflowY==="auto"||J.overflowY==="scroll"));var be=$&&(Math.abs(C-o)<=r&&oe+L<V)-(Math.abs(F-o)<=r&&!!oe),ie=B&&(Math.abs(A-a)<=r&&ue+w<W)-(Math.abs(S-a)<=r&&!!ue);if(!qc[g])for(var fe=0;fe<=g;fe++)qc[fe]||(qc[fe]={});(qc[g].vx!=be||qc[g].vy!=ie||qc[g].el!==_)&&(qc[g].el=_,qc[g].vx=be,qc[g].vy=ie,clearInterval(qc[g].pid),(be!=0||ie!=0)&&(u=!0,qc[g].pid=setInterval((function(){i&&this.layer===0&&wr.active._onTouchMove(I8);var Y=qc[this.layer].vy?qc[this.layer].vy*l:0,re=qc[this.layer].vx?qc[this.layer].vx*l:0;typeof d=="function"&&d.call(wr.dragged.parentNode[Dd],re,Y,n,I8,qc[this.layer].el)!=="continue"||Kz(qc[this.layer].el,re,Y)}).bind({layer:g}),24))),g++}while(e.bubbleScroll&&m!==s&&(m=rv(m,!1)));Nk=u}},30),n$=function(e){var t=e.originalEvent,i=e.putSortable,o=e.dragEl,a=e.activeSortable,r=e.dispatchSortableEvent,l=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var u=i||a;l();var d=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,g=document.elementFromPoint(d.clientX,d.clientY);s(),u&&!u.el.contains(g)&&(r("spill"),this.onSpill({dragEl:o,putSortable:i}))}};function ME(){}ME.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var o=ey(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:n$};yp(ME,{pluginName:"revertOnSpill"});function FE(){}FE.prototype={onSpill:function(e){var t=e.dragEl,i=e.putSortable,o=i||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:n$};yp(FE,{pluginName:"removeOnSpill"});var np;function M5e(){function n(){this.defaults={swapClass:"sortable-swap-highlight"}}return n.prototype={dragStart:function(t){var i=t.dragEl;np=i},dragOverValid:function(t){var i=t.completed,o=t.target,a=t.onMove,r=t.activeSortable,l=t.changed,s=t.cancel;if(r.options.swap){var u=this.sortable.el,d=this.options;if(o&&o!==u){var g=np;a(o)!==!1?(Ul(o,d.swapClass,!0),np=o):np=null,g&&g!==np&&Ul(g,d.swapClass,!1)}l(),i(!0),s()}},drop:function(t){var i=t.activeSortable,o=t.putSortable,a=t.dragEl,r=o||this.sortable,l=this.options;np&&Ul(np,l.swapClass,!1),np&&(l.swap||o&&o.options.swap)&&a!==np&&(r.captureAnimationState(),r!==i&&i.captureAnimationState(),F5e(a,np),r.animateAll(),r!==i&&i.animateAll())},nulling:function(){np=null}},yp(n,{pluginName:"swap",eventProperties:function(){return{swapItem:np}}})}function F5e(n,e){var t=n.parentNode,i=e.parentNode,o,a;!t||!i||t.isEqualNode(e)||i.isEqualNode(n)||(o=rc(n),a=rc(e),t.isEqualNode(i)&&o<a&&a++,t.insertBefore(e,t.children[o]),i.insertBefore(n,i.children[a]))}var $r=[],l1=[],w4,qp,k4=!1,kf=!1,Wg=!1,Xs,C4,Nb;function P5e(){function n(e){for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this));e.options.supportPointer?Sa(document,"pointerup",this._deselectMultiDrag):(Sa(document,"mouseup",this._deselectMultiDrag),Sa(document,"touchend",this._deselectMultiDrag)),Sa(document,"keydown",this._checkKeyDown),Sa(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(o,a){var r="";$r.length&&qp===e?$r.forEach(function(l,s){r+=(s?", ":"")+l.textContent}):r=a.textContent,o.setData("Text",r)}}}return n.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var i=t.dragEl;Xs=i},delayEnded:function(){this.isMultiDrag=~$r.indexOf(Xs)},setupClone:function(t){var i=t.sortable,o=t.cancel;if(this.isMultiDrag){for(var a=0;a<$r.length;a++)l1.push(IE($r[a])),l1[a].sortableIndex=$r[a].sortableIndex,l1[a].draggable=!1,l1[a].style["will-change"]="",Ul(l1[a],this.options.selectedClass,!1),$r[a]===Xs&&Ul(l1[a],this.options.chosenClass,!1);i._hideClone(),o()}},clone:function(t){var i=t.sortable,o=t.rootEl,a=t.dispatchSortableEvent,r=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||$r.length&&qp===i&&(VL(!0,o),a("clone"),r()))},showClone:function(t){var i=t.cloneNowShown,o=t.rootEl,a=t.cancel;this.isMultiDrag&&(VL(!1,o),l1.forEach(function(r){Wo(r,"display","")}),i(),Nb=!1,a())},hideClone:function(t){var i=this;t.sortable;var o=t.cloneNowHidden,a=t.cancel;this.isMultiDrag&&(l1.forEach(function(r){Wo(r,"display","none"),i.options.removeCloneOnHide&&r.parentNode&&r.parentNode.removeChild(r)}),o(),Nb=!0,a())},dragStartGlobal:function(t){t.sortable,!this.isMultiDrag&&qp&&qp.multiDrag._deselectMultiDrag(),$r.forEach(function(i){i.sortableIndex=rc(i)}),$r=$r.sort(function(i,o){return i.sortableIndex-o.sortableIndex}),Wg=!0},dragStarted:function(t){var i=this,o=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(o.captureAnimationState(),this.options.animation)){$r.forEach(function(r){r!==Xs&&Wo(r,"position","absolute")});var a=wl(Xs,!1,!0,!0);$r.forEach(function(r){r!==Xs&&zL(r,a)}),kf=!0,k4=!0}o.animateAll(function(){kf=!1,k4=!1,i.options.animation&&$r.forEach(function(r){Mx(r)}),i.options.sort&&Bb()})}},dragOver:function(t){var i=t.target,o=t.completed,a=t.cancel;kf&&~$r.indexOf(i)&&(o(!1),a())},revert:function(t){var i=t.fromSortable,o=t.rootEl,a=t.sortable,r=t.dragRect;$r.length>1&&($r.forEach(function(l){a.addAnimationState({target:l,rect:kf?wl(l):r}),Mx(l),l.fromRect=r,i.removeAnimationState(l)}),kf=!1,O5e(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(t){var i=t.sortable,o=t.isOwner,a=t.insertion,r=t.activeSortable,l=t.parentEl,s=t.putSortable,u=this.options;if(a){if(o&&r._hideClone(),k4=!1,u.animation&&$r.length>1&&(kf||!o&&!r.options.sort&&!s)){var d=wl(Xs,!1,!0,!0);$r.forEach(function(m){m!==Xs&&(zL(m,d),l.appendChild(m))}),kf=!0}if(!o)if(kf||Bb(),$r.length>1){var g=Nb;r._showClone(i),r.options.animation&&!Nb&&g&&l1.forEach(function(m){r.addAnimationState({target:m,rect:C4}),m.fromRect=C4,m.thisAnimationDuration=null})}else r._showClone(i)}},dragOverAnimationCapture:function(t){var i=t.dragRect,o=t.isOwner,a=t.activeSortable;if($r.forEach(function(l){l.thisAnimationDuration=null}),a.options.animation&&!o&&a.multiDrag.isMultiDrag){C4=yp({},i);var r=B0(Xs,!0);C4.top-=r.f,C4.left-=r.e}},dragOverAnimationComplete:function(){kf&&(kf=!1,Bb())},drop:function(t){var i=t.originalEvent,o=t.rootEl,a=t.parentEl,r=t.sortable,l=t.dispatchSortableEvent,s=t.oldIndex,u=t.putSortable,d=u||this.sortable;if(i){var g=this.options,m=a.children;if(!Wg)if(g.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ul(Xs,g.selectedClass,!~$r.indexOf(Xs)),~$r.indexOf(Xs))$r.splice($r.indexOf(Xs),1),w4=null,U4({sortable:r,rootEl:o,name:"deselect",targetEl:Xs,originalEvt:i});else{if($r.push(Xs),U4({sortable:r,rootEl:o,name:"select",targetEl:Xs,originalEvt:i}),i.shiftKey&&w4&&r.el.contains(w4)){var _=rc(w4),x=rc(Xs);if(~_&&~x&&_!==x){var S,A;for(x>_?(A=_,S=x):(A=x,S=_+1);A<S;A++)~$r.indexOf(m[A])||(Ul(m[A],g.selectedClass,!0),$r.push(m[A]),U4({sortable:r,rootEl:o,name:"select",targetEl:m[A],originalEvt:i}))}}else w4=Xs;qp=d}if(Wg&&this.isMultiDrag){if(kf=!1,(a[Dd].options.sort||a!==o)&&$r.length>1){var F=wl(Xs),C=rc(Xs,":not(."+this.options.selectedClass+")");if(!k4&&g.animation&&(Xs.thisAnimationDuration=null),d.captureAnimationState(),!k4&&(g.animation&&(Xs.fromRect=F,$r.forEach(function(w){if(w.thisAnimationDuration=null,w!==Xs){var $=kf?wl(w):F;w.fromRect=$,d.addAnimationState({target:w,rect:$})}})),Bb(),$r.forEach(function(w){m[C]?a.insertBefore(w,m[C]):a.appendChild(w),C++}),s===rc(Xs))){var L=!1;$r.forEach(function(w){if(w.sortableIndex!==rc(w)){L=!0;return}}),L&&l("update")}$r.forEach(function(w){Mx(w)}),d.animateAll()}qp=d}(o===a||u&&u.lastPutMode!=="clone")&&l1.forEach(function(w){w.parentNode&&w.parentNode.removeChild(w)})}},nullingGlobal:function(){this.isMultiDrag=Wg=!1,l1.length=0},destroyGlobal:function(){this._deselectMultiDrag(),la(document,"pointerup",this._deselectMultiDrag),la(document,"mouseup",this._deselectMultiDrag),la(document,"touchend",this._deselectMultiDrag),la(document,"keydown",this._checkKeyDown),la(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(typeof Wg<"u"&&Wg)&&qp===this.sortable&&!(t&&Xp(t.target,this.options.draggable,this.sortable.el,!1))&&!(t&&t.button!==0))for(;$r.length;){var i=$r[0];Ul(i,this.options.selectedClass,!1),$r.shift(),U4({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:i,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},yp(n,{pluginName:"multiDrag",utils:{select:function(t){var i=t.parentNode[Dd];!i||!i.options.multiDrag||~$r.indexOf(t)||(qp&&qp!==i&&(qp.multiDrag._deselectMultiDrag(),qp=i),Ul(t,i.options.selectedClass,!0),$r.push(t))},deselect:function(t){var i=t.parentNode[Dd],o=$r.indexOf(t);!i||!i.options.multiDrag||!~o||(Ul(t,i.options.selectedClass,!1),$r.splice(o,1))}},eventProperties:function(){var t=this,i=[],o=[];return $r.forEach(function(a){i.push({multiDragElement:a,index:a.sortableIndex});var r;kf&&a!==Xs?r=-1:kf?r=rc(a,":not(."+t.options.selectedClass+")"):r=rc(a),o.push({multiDragElement:a,index:r})}),{items:o5e($r),clones:[].concat(l1),oldIndicies:i,newIndicies:o}},optionListeners:{multiDragKey:function(t){return t=t.toLowerCase(),t==="ctrl"?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function O5e(n,e){$r.forEach(function(t,i){var o=e.children[t.sortableIndex+(n?Number(i):0)];o?e.insertBefore(t,o):e.appendChild(t)})}function VL(n,e){l1.forEach(function(t,i){var o=e.children[t.sortableIndex+(n?Number(i):0)];o?e.insertBefore(t,o):e.appendChild(t)})}function Bb(){$r.forEach(function(n){n!==Xs&&n.parentNode&&n.parentNode.removeChild(n)})}wr.mount(new I5e);wr.mount(FE,ME);const R5e=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:P5e,Sortable:wr,Swap:M5e,default:wr},Symbol.toStringTag,{value:"Module"})),z5e=rE(R5e);(function(n,e){(function(i,o){n.exports=o(e5e,z5e)})(typeof self<"u"?self:jr,function(t,i){return function(o){var a={};function r(l){if(a[l])return a[l].exports;var s=a[l]={i:l,l:!1,exports:{}};return o[l].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=o,r.c=a,r.d=function(l,s,u){r.o(l,s)||Object.defineProperty(l,s,{enumerable:!0,get:u})},r.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},r.t=function(l,s){if(s&1&&(l=r(l)),s&8||s&4&&typeof l=="object"&&l&&l.__esModule)return l;var u=Object.create(null);if(r.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:l}),s&2&&typeof l!="string")for(var d in l)r.d(u,d,(function(g){return l[g]}).bind(null,d));return u},r.n=function(l){var s=l&&l.__esModule?function(){return l.default}:function(){return l};return r.d(s,"a",s),s},r.o=function(l,s){return Object.prototype.hasOwnProperty.call(l,s)},r.p="",r(r.s="fb15")}({"00ee":function(o,a,r){var l=r("b622"),s=l("toStringTag"),u={};u[s]="z",o.exports=String(u)==="[object z]"},"0366":function(o,a,r){var l=r("1c0b");o.exports=function(s,u,d){if(l(s),u===void 0)return s;switch(d){case 0:return function(){return s.call(u)};case 1:return function(g){return s.call(u,g)};case 2:return function(g,m){return s.call(u,g,m)};case 3:return function(g,m,_){return s.call(u,g,m,_)}}return function(){return s.apply(u,arguments)}}},"057f":function(o,a,r){var l=r("fc6a"),s=r("241c").f,u={}.toString,d=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],g=function(m){try{return s(m)}catch{return d.slice()}};o.exports.f=function(_){return d&&u.call(_)=="[object Window]"?g(_):s(l(_))}},"06cf":function(o,a,r){var l=r("83ab"),s=r("d1e7"),u=r("5c6c"),d=r("fc6a"),g=r("c04e"),m=r("5135"),_=r("0cfb"),x=Object.getOwnPropertyDescriptor;a.f=l?x:function(A,F){if(A=d(A),F=g(F,!0),_)try{return x(A,F)}catch{}if(m(A,F))return u(!s.f.call(A,F),A[F])}},"0cfb":function(o,a,r){var l=r("83ab"),s=r("d039"),u=r("cc12");o.exports=!l&&!s(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,a,r){var l=r("23e7"),s=r("d58f").left,u=r("a640"),d=r("ae40"),g=u("reduce"),m=d("reduce",{1:0});l({target:"Array",proto:!0,forced:!g||!m},{reduce:function(x){return s(this,x,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(o,a,r){var l=r("c6b6"),s=r("9263");o.exports=function(u,d){var g=u.exec;if(typeof g=="function"){var m=g.call(u,d);if(typeof m!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return m}if(l(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return s.call(u,d)}},"159b":function(o,a,r){var l=r("da84"),s=r("fdbc"),u=r("17c2"),d=r("9112");for(var g in s){var m=l[g],_=m&&m.prototype;if(_&&_.forEach!==u)try{d(_,"forEach",u)}catch{_.forEach=u}}},"17c2":function(o,a,r){var l=r("b727").forEach,s=r("a640"),u=r("ae40"),d=s("forEach"),g=u("forEach");o.exports=!d||!g?function(_){return l(this,_,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,a,r){var l=r("d066");o.exports=l("document","documentElement")},"1c0b":function(o,a){o.exports=function(r){if(typeof r!="function")throw TypeError(String(r)+" is not a function");return r}},"1c7e":function(o,a,r){var l=r("b622"),s=l("iterator"),u=!1;try{var d=0,g={next:function(){return{done:!!d++}},return:function(){u=!0}};g[s]=function(){return this},Array.from(g,function(){throw 2})}catch{}o.exports=function(m,_){if(!_&&!u)return!1;var x=!1;try{var S={};S[s]=function(){return{next:function(){return{done:x=!0}}}},m(S)}catch{}return x}},"1d80":function(o,a){o.exports=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r}},"1dde":function(o,a,r){var l=r("d039"),s=r("b622"),u=r("2d00"),d=s("species");o.exports=function(g){return u>=51||!l(function(){var m=[],_=m.constructor={};return _[d]=function(){return{foo:1}},m[g](Boolean).foo!==1})}},"23cb":function(o,a,r){var l=r("a691"),s=Math.max,u=Math.min;o.exports=function(d,g){var m=l(d);return m<0?s(m+g,0):u(m,g)}},"23e7":function(o,a,r){var l=r("da84"),s=r("06cf").f,u=r("9112"),d=r("6eeb"),g=r("ce4e"),m=r("e893"),_=r("94ca");o.exports=function(x,S){var A=x.target,F=x.global,C=x.stat,L,w,$,B,V,W;if(F?w=l:C?w=l[A]||g(A,{}):w=(l[A]||{}).prototype,w)for($ in S){if(V=S[$],x.noTargetGet?(W=s(w,$),B=W&&W.value):B=w[$],L=_(F?$:A+(C?".":"#")+$,x.forced),!L&&B!==void 0){if(typeof V==typeof B)continue;m(V,B)}(x.sham||B&&B.sham)&&u(V,"sham",!0),d(w,$,V,x)}}},"241c":function(o,a,r){var l=r("ca84"),s=r("7839"),u=s.concat("length","prototype");a.f=Object.getOwnPropertyNames||function(g){return l(g,u)}},"25f0":function(o,a,r){var l=r("6eeb"),s=r("825a"),u=r("d039"),d=r("ad6d"),g="toString",m=RegExp.prototype,_=m[g],x=u(function(){return _.call({source:"a",flags:"b"})!="/a/b"}),S=_.name!=g;(x||S)&&l(RegExp.prototype,g,function(){var F=s(this),C=String(F.source),L=F.flags,w=String(L===void 0&&F instanceof RegExp&&!("flags"in m)?d.call(F):L);return"/"+C+"/"+w},{unsafe:!0})},"2ca0":function(o,a,r){var l=r("23e7"),s=r("06cf").f,u=r("50c4"),d=r("5a34"),g=r("1d80"),m=r("ab13"),_=r("c430"),x="".startsWith,S=Math.min,A=m("startsWith"),F=!_&&!A&&!!function(){var C=s(String.prototype,"startsWith");return C&&!C.writable}();l({target:"String",proto:!0,forced:!F&&!A},{startsWith:function(L){var w=String(g(this));d(L);var $=u(S(arguments.length>1?arguments[1]:void 0,w.length)),B=String(L);return x?x.call(w,B,$):w.slice($,$+B.length)===B}})},"2d00":function(o,a,r){var l=r("da84"),s=r("342f"),u=l.process,d=u&&u.versions,g=d&&d.v8,m,_;g?(m=g.split("."),_=m[0]+m[1]):s&&(m=s.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=s.match(/Chrome\/(\d+)/),m&&(_=m[1]))),o.exports=_&&+_},"342f":function(o,a,r){var l=r("d066");o.exports=l("navigator","userAgent")||""},"35a1":function(o,a,r){var l=r("f5df"),s=r("3f8c"),u=r("b622"),d=u("iterator");o.exports=function(g){if(g!=null)return g[d]||g["@@iterator"]||s[l(g)]}},"37e8":function(o,a,r){var l=r("83ab"),s=r("9bf2"),u=r("825a"),d=r("df75");o.exports=l?Object.defineProperties:function(m,_){u(m);for(var x=d(_),S=x.length,A=0,F;S>A;)s.f(m,F=x[A++],_[F]);return m}},"3bbe":function(o,a,r){var l=r("861d");o.exports=function(s){if(!l(s)&&s!==null)throw TypeError("Can't set "+String(s)+" as a prototype");return s}},"3ca3":function(o,a,r){var l=r("6547").charAt,s=r("69f3"),u=r("7dd0"),d="String Iterator",g=s.set,m=s.getterFor(d);u(String,"String",function(_){g(this,{type:d,string:String(_),index:0})},function(){var x=m(this),S=x.string,A=x.index,F;return A>=S.length?{value:void 0,done:!0}:(F=l(S,A),x.index+=F.length,{value:F,done:!1})})},"3f8c":function(o,a){o.exports={}},4160:function(o,a,r){var l=r("23e7"),s=r("17c2");l({target:"Array",proto:!0,forced:[].forEach!=s},{forEach:s})},"428f":function(o,a,r){var l=r("da84");o.exports=l},"44ad":function(o,a,r){var l=r("d039"),s=r("c6b6"),u="".split;o.exports=l(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return s(d)=="String"?u.call(d,""):Object(d)}:Object},"44d2":function(o,a,r){var l=r("b622"),s=r("7c73"),u=r("9bf2"),d=l("unscopables"),g=Array.prototype;g[d]==null&&u.f(g,d,{configurable:!0,value:s(null)}),o.exports=function(m){g[d][m]=!0}},"44e7":function(o,a,r){var l=r("861d"),s=r("c6b6"),u=r("b622"),d=u("match");o.exports=function(g){var m;return l(g)&&((m=g[d])!==void 0?!!m:s(g)=="RegExp")}},4930:function(o,a,r){var l=r("d039");o.exports=!!Object.getOwnPropertySymbols&&!l(function(){return!String(Symbol())})},"4d64":function(o,a,r){var l=r("fc6a"),s=r("50c4"),u=r("23cb"),d=function(g){return function(m,_,x){var S=l(m),A=s(S.length),F=u(x,A),C;if(g&&_!=_){for(;A>F;)if(C=S[F++],C!=C)return!0}else for(;A>F;F++)if((g||F in S)&&S[F]===_)return g||F||0;return!g&&-1}};o.exports={includes:d(!0),indexOf:d(!1)}},"4de4":function(o,a,r){var l=r("23e7"),s=r("b727").filter,u=r("1dde"),d=r("ae40"),g=u("filter"),m=d("filter");l({target:"Array",proto:!0,forced:!g||!m},{filter:function(x){return s(this,x,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(o,a,r){var l=r("0366"),s=r("7b0b"),u=r("9bdd"),d=r("e95a"),g=r("50c4"),m=r("8418"),_=r("35a1");o.exports=function(S){var A=s(S),F=typeof this=="function"?this:Array,C=arguments.length,L=C>1?arguments[1]:void 0,w=L!==void 0,$=_(A),B=0,V,W,J,oe,ue,be;if(w&&(L=l(L,C>2?arguments[2]:void 0,2)),$!=null&&!(F==Array&&d($)))for(oe=$.call(A),ue=oe.next,W=new F;!(J=ue.call(oe)).done;B++)be=w?u(oe,L,[J.value,B],!0):J.value,m(W,B,be);else for(V=g(A.length),W=new F(V);V>B;B++)be=w?L(A[B],B):A[B],m(W,B,be);return W.length=B,W}},"4fad":function(o,a,r){var l=r("23e7"),s=r("6f53").entries;l({target:"Object",stat:!0},{entries:function(d){return s(d)}})},"50c4":function(o,a,r){var l=r("a691"),s=Math.min;o.exports=function(u){return u>0?s(l(u),9007199254740991):0}},5135:function(o,a){var r={}.hasOwnProperty;o.exports=function(l,s){return r.call(l,s)}},5319:function(o,a,r){var l=r("d784"),s=r("825a"),u=r("7b0b"),d=r("50c4"),g=r("a691"),m=r("1d80"),_=r("8aa5"),x=r("14c3"),S=Math.max,A=Math.min,F=Math.floor,C=/\$([$&'`]|\d\d?|<[^>]*>)/g,L=/\$([$&'`]|\d\d?)/g,w=function($){return $===void 0?$:String($)};l("replace",2,function($,B,V,W){var J=W.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,oe=W.REPLACE_KEEPS_$0,ue=J?"$":"$0";return[function(fe,Y){var re=m(this),ge=fe==null?void 0:fe[$];return ge!==void 0?ge.call(fe,re,Y):B.call(String(re),fe,Y)},function(ie,fe){if(!J&&oe||typeof fe=="string"&&fe.indexOf(ue)===-1){var Y=V(B,ie,this,fe);if(Y.done)return Y.value}var re=s(ie),ge=String(this),he=typeof fe=="function";he||(fe=String(fe));var Ie=re.global;if(Ie){var je=re.unicode;re.lastIndex=0}for(var Ue=[];;){var Ee=x(re,ge);if(Ee===null||(Ue.push(Ee),!Ie))break;var we=String(Ee[0]);we===""&&(re.lastIndex=_(ge,d(re.lastIndex),je))}for(var lt="",pt=0,yt=0;yt<Ue.length;yt++){Ee=Ue[yt];for(var vt=String(Ee[0]),ht=S(A(g(Ee.index),ge.length),0),rt=[],St=1;St<Ee.length;St++)rt.push(w(Ee[St]));var Ct=Ee.groups;if(he){var kt=[vt].concat(rt,ht,ge);Ct!==void 0&&kt.push(Ct);var It=String(fe.apply(void 0,kt))}else It=be(vt,ge,ht,rt,Ct,fe);ht>=pt&&(lt+=ge.slice(pt,ht)+It,pt=ht+vt.length)}return lt+ge.slice(pt)}];function be(ie,fe,Y,re,ge,he){var Ie=Y+ie.length,je=re.length,Ue=L;return ge!==void 0&&(ge=u(ge),Ue=C),B.call(he,Ue,function(Ee,we){var lt;switch(we.charAt(0)){case"$":return"$";case"&":return ie;case"`":return fe.slice(0,Y);case"'":return fe.slice(Ie);case"<":lt=ge[we.slice(1,-1)];break;default:var pt=+we;if(pt===0)return Ee;if(pt>je){var yt=F(pt/10);return yt===0?Ee:yt<=je?re[yt-1]===void 0?we.charAt(1):re[yt-1]+we.charAt(1):Ee}lt=re[pt-1]}return lt===void 0?"":lt})}})},5692:function(o,a,r){var l=r("c430"),s=r("c6cd");(o.exports=function(u,d){return s[u]||(s[u]=d!==void 0?d:{})})("versions",[]).push({version:"3.6.5",mode:l?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,a,r){var l=r("d066"),s=r("241c"),u=r("7418"),d=r("825a");o.exports=l("Reflect","ownKeys")||function(m){var _=s.f(d(m)),x=u.f;return x?_.concat(x(m)):_}},"5a34":function(o,a,r){var l=r("44e7");o.exports=function(s){if(l(s))throw TypeError("The method doesn't accept regular expressions");return s}},"5c6c":function(o,a){o.exports=function(r,l){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:l}}},"5db7":function(o,a,r){var l=r("23e7"),s=r("a2bf"),u=r("7b0b"),d=r("50c4"),g=r("1c0b"),m=r("65f0");l({target:"Array",proto:!0},{flatMap:function(x){var S=u(this),A=d(S.length),F;return g(x),F=m(S,0),F.length=s(F,S,S,A,0,1,x,arguments.length>1?arguments[1]:void 0),F}})},6547:function(o,a,r){var l=r("a691"),s=r("1d80"),u=function(d){return function(g,m){var _=String(s(g)),x=l(m),S=_.length,A,F;return x<0||x>=S?d?"":void 0:(A=_.charCodeAt(x),A<55296||A>56319||x+1===S||(F=_.charCodeAt(x+1))<56320||F>57343?d?_.charAt(x):A:d?_.slice(x,x+2):(A-55296<<10)+(F-56320)+65536)}};o.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(o,a,r){var l=r("861d"),s=r("e8b5"),u=r("b622"),d=u("species");o.exports=function(g,m){var _;return s(g)&&(_=g.constructor,typeof _=="function"&&(_===Array||s(_.prototype))?_=void 0:l(_)&&(_=_[d],_===null&&(_=void 0))),new(_===void 0?Array:_)(m===0?0:m)}},"69f3":function(o,a,r){var l=r("7f9a"),s=r("da84"),u=r("861d"),d=r("9112"),g=r("5135"),m=r("f772"),_=r("d012"),x=s.WeakMap,S,A,F,C=function(J){return F(J)?A(J):S(J,{})},L=function(J){return function(oe){var ue;if(!u(oe)||(ue=A(oe)).type!==J)throw TypeError("Incompatible receiver, "+J+" required");return ue}};if(l){var w=new x,$=w.get,B=w.has,V=w.set;S=function(J,oe){return V.call(w,J,oe),oe},A=function(J){return $.call(w,J)||{}},F=function(J){return B.call(w,J)}}else{var W=m("state");_[W]=!0,S=function(J,oe){return d(J,W,oe),oe},A=function(J){return g(J,W)?J[W]:{}},F=function(J){return g(J,W)}}o.exports={set:S,get:A,has:F,enforce:C,getterFor:L}},"6eeb":function(o,a,r){var l=r("da84"),s=r("9112"),u=r("5135"),d=r("ce4e"),g=r("8925"),m=r("69f3"),_=m.get,x=m.enforce,S=String(String).split("String");(o.exports=function(A,F,C,L){var w=L?!!L.unsafe:!1,$=L?!!L.enumerable:!1,B=L?!!L.noTargetGet:!1;if(typeof C=="function"&&(typeof F=="string"&&!u(C,"name")&&s(C,"name",F),x(C).source=S.join(typeof F=="string"?F:"")),A===l){$?A[F]=C:d(F,C);return}else w?!B&&A[F]&&($=!0):delete A[F];$?A[F]=C:s(A,F,C)})(Function.prototype,"toString",function(){return typeof this=="function"&&_(this).source||g(this)})},"6f53":function(o,a,r){var l=r("83ab"),s=r("df75"),u=r("fc6a"),d=r("d1e7").f,g=function(m){return function(_){for(var x=u(_),S=s(x),A=S.length,F=0,C=[],L;A>F;)L=S[F++],(!l||d.call(x,L))&&C.push(m?[L,x[L]]:x[L]);return C}};o.exports={entries:g(!0),values:g(!1)}},"73d9":function(o,a,r){var l=r("44d2");l("flatMap")},7418:function(o,a){a.f=Object.getOwnPropertySymbols},"746f":function(o,a,r){var l=r("428f"),s=r("5135"),u=r("e538"),d=r("9bf2").f;o.exports=function(g){var m=l.Symbol||(l.Symbol={});s(m,g)||d(m,g,{value:u.f(g)})}},7839:function(o,a){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,a,r){var l=r("1d80");o.exports=function(s){return Object(l(s))}},"7c73":function(o,a,r){var l=r("825a"),s=r("37e8"),u=r("7839"),d=r("d012"),g=r("1be4"),m=r("cc12"),_=r("f772"),x=">",S="<",A="prototype",F="script",C=_("IE_PROTO"),L=function(){},w=function(J){return S+F+x+J+S+"/"+F+x},$=function(J){J.write(w("")),J.close();var oe=J.parentWindow.Object;return J=null,oe},B=function(){var J=m("iframe"),oe="java"+F+":",ue;return J.style.display="none",g.appendChild(J),J.src=String(oe),ue=J.contentWindow.document,ue.open(),ue.write(w("document.F=Object")),ue.close(),ue.F},V,W=function(){try{V=document.domain&&new ActiveXObject("htmlfile")}catch{}W=V?$(V):B();for(var J=u.length;J--;)delete W[A][u[J]];return W()};d[C]=!0,o.exports=Object.create||function(oe,ue){var be;return oe!==null?(L[A]=l(oe),be=new L,L[A]=null,be[C]=oe):be=W(),ue===void 0?be:s(be,ue)}},"7dd0":function(o,a,r){var l=r("23e7"),s=r("9ed3"),u=r("e163"),d=r("d2bb"),g=r("d44e"),m=r("9112"),_=r("6eeb"),x=r("b622"),S=r("c430"),A=r("3f8c"),F=r("ae93"),C=F.IteratorPrototype,L=F.BUGGY_SAFARI_ITERATORS,w=x("iterator"),$="keys",B="values",V="entries",W=function(){return this};o.exports=function(J,oe,ue,be,ie,fe,Y){s(ue,oe,be);var re=function(yt){if(yt===ie&&Ue)return Ue;if(!L&&yt in Ie)return Ie[yt];switch(yt){case $:return function(){return new ue(this,yt)};case B:return function(){return new ue(this,yt)};case V:return function(){return new ue(this,yt)}}return function(){return new ue(this)}},ge=oe+" Iterator",he=!1,Ie=J.prototype,je=Ie[w]||Ie["@@iterator"]||ie&&Ie[ie],Ue=!L&&je||re(ie),Ee=oe=="Array"&&Ie.entries||je,we,lt,pt;if(Ee&&(we=u(Ee.call(new J)),C!==Object.prototype&&we.next&&(!S&&u(we)!==C&&(d?d(we,C):typeof we[w]!="function"&&m(we,w,W)),g(we,ge,!0,!0),S&&(A[ge]=W))),ie==B&&je&&je.name!==B&&(he=!0,Ue=function(){return je.call(this)}),(!S||Y)&&Ie[w]!==Ue&&m(Ie,w,Ue),A[oe]=Ue,ie)if(lt={values:re(B),keys:fe?Ue:re($),entries:re(V)},Y)for(pt in lt)(L||he||!(pt in Ie))&&_(Ie,pt,lt[pt]);else l({target:oe,proto:!0,forced:L||he},lt);return lt}},"7f9a":function(o,a,r){var l=r("da84"),s=r("8925"),u=l.WeakMap;o.exports=typeof u=="function"&&/native code/.test(s(u))},"825a":function(o,a,r){var l=r("861d");o.exports=function(s){if(!l(s))throw TypeError(String(s)+" is not an object");return s}},"83ab":function(o,a,r){var l=r("d039");o.exports=!l(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(o,a,r){var l=r("c04e"),s=r("9bf2"),u=r("5c6c");o.exports=function(d,g,m){var _=l(g);_ in d?s.f(d,_,u(0,m)):d[_]=m}},"861d":function(o,a){o.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},8875:function(o,a,r){var l,s,u;(function(d,g){s=[],l=g,u=typeof l=="function"?l.apply(a,s):l,u!==void 0&&(o.exports=u)})(typeof self<"u"?self:this,function(){function d(){var g=Object.getOwnPropertyDescriptor(document,"currentScript");if(!g&&"currentScript"in document&&document.currentScript||g&&g.get!==d&&document.currentScript)return document.currentScript;try{throw new Error}catch(V){var m=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,_=/@([^@]*):(\d+):(\d+)\s*$/ig,x=m.exec(V.stack)||_.exec(V.stack),S=x&&x[1]||!1,A=x&&x[2]||!1,F=document.location.href.replace(document.location.hash,""),C,L,w,$=document.getElementsByTagName("script");S===F&&(C=document.documentElement.outerHTML,L=new RegExp("(?:[^\\n]+?\\n){0,"+(A-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),w=C.replace(L,"$1").trim());for(var B=0;B<$.length;B++)if($[B].readyState==="interactive"||$[B].src===S||S===F&&$[B].innerHTML&&$[B].innerHTML.trim()===w)return $[B];return null}}return d})},8925:function(o,a,r){var l=r("c6cd"),s=Function.toString;typeof l.inspectSource!="function"&&(l.inspectSource=function(u){return s.call(u)}),o.exports=l.inspectSource},"8aa5":function(o,a,r){var l=r("6547").charAt;o.exports=function(s,u,d){return u+(d?l(s,u).length:1)}},"8bbf":function(o,a){o.exports=t},"90e3":function(o,a){var r=0,l=Math.random();o.exports=function(s){return"Symbol("+String(s===void 0?"":s)+")_"+(++r+l).toString(36)}},9112:function(o,a,r){var l=r("83ab"),s=r("9bf2"),u=r("5c6c");o.exports=l?function(d,g,m){return s.f(d,g,u(1,m))}:function(d,g,m){return d[g]=m,d}},9263:function(o,a,r){var l=r("ad6d"),s=r("9f7f"),u=RegExp.prototype.exec,d=String.prototype.replace,g=u,m=function(){var A=/a/,F=/b*/g;return u.call(A,"a"),u.call(F,"a"),A.lastIndex!==0||F.lastIndex!==0}(),_=s.UNSUPPORTED_Y||s.BROKEN_CARET,x=/()??/.exec("")[1]!==void 0,S=m||x||_;S&&(g=function(F){var C=this,L,w,$,B,V=_&&C.sticky,W=l.call(C),J=C.source,oe=0,ue=F;return V&&(W=W.replace("y",""),W.indexOf("g")===-1&&(W+="g"),ue=String(F).slice(C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&F[C.lastIndex-1]!==`
61
61
  `)&&(J="(?: "+J+")",ue=" "+ue,oe++),w=new RegExp("^(?:"+J+")",W)),x&&(w=new RegExp("^"+J+"$(?!\\s)",W)),m&&(L=C.lastIndex),$=u.call(V?w:C,ue),V?$?($.input=$.input.slice(oe),$[0]=$[0].slice(oe),$.index=C.lastIndex,C.lastIndex+=$[0].length):C.lastIndex=0:m&&$&&(C.lastIndex=C.global?$.index+$[0].length:L),x&&$&&$.length>1&&d.call($[0],w,function(){for(B=1;B<arguments.length-2;B++)arguments[B]===void 0&&($[B]=void 0)}),$}),o.exports=g},"94ca":function(o,a,r){var l=r("d039"),s=/#|\.prototype\./,u=function(x,S){var A=g[d(x)];return A==_?!0:A==m?!1:typeof S=="function"?l(S):!!S},d=u.normalize=function(x){return String(x).replace(s,".").toLowerCase()},g=u.data={},m=u.NATIVE="N",_=u.POLYFILL="P";o.exports=u},"99af":function(o,a,r){var l=r("23e7"),s=r("d039"),u=r("e8b5"),d=r("861d"),g=r("7b0b"),m=r("50c4"),_=r("8418"),x=r("65f0"),S=r("1dde"),A=r("b622"),F=r("2d00"),C=A("isConcatSpreadable"),L=9007199254740991,w="Maximum allowed index exceeded",$=F>=51||!s(function(){var J=[];return J[C]=!1,J.concat()[0]!==J}),B=S("concat"),V=function(J){if(!d(J))return!1;var oe=J[C];return oe!==void 0?!!oe:u(J)},W=!$||!B;l({target:"Array",proto:!0,forced:W},{concat:function(oe){var ue=g(this),be=x(ue,0),ie=0,fe,Y,re,ge,he;for(fe=-1,re=arguments.length;fe<re;fe++)if(he=fe===-1?ue:arguments[fe],V(he)){if(ge=m(he.length),ie+ge>L)throw TypeError(w);for(Y=0;Y<ge;Y++,ie++)Y in he&&_(be,ie,he[Y])}else{if(ie>=L)throw TypeError(w);_(be,ie++,he)}return be.length=ie,be}})},"9bdd":function(o,a,r){var l=r("825a");o.exports=function(s,u,d,g){try{return g?u(l(d)[0],d[1]):u(d)}catch(_){var m=s.return;throw m!==void 0&&l(m.call(s)),_}}},"9bf2":function(o,a,r){var l=r("83ab"),s=r("0cfb"),u=r("825a"),d=r("c04e"),g=Object.defineProperty;a.f=l?g:function(_,x,S){if(u(_),x=d(x,!0),u(S),s)try{return g(_,x,S)}catch{}if("get"in S||"set"in S)throw TypeError("Accessors not supported");return"value"in S&&(_[x]=S.value),_}},"9ed3":function(o,a,r){var l=r("ae93").IteratorPrototype,s=r("7c73"),u=r("5c6c"),d=r("d44e"),g=r("3f8c"),m=function(){return this};o.exports=function(_,x,S){var A=x+" Iterator";return _.prototype=s(l,{next:u(1,S)}),d(_,A,!1,!0),g[A]=m,_}},"9f7f":function(o,a,r){var l=r("d039");function s(u,d){return RegExp(u,d)}a.UNSUPPORTED_Y=l(function(){var u=s("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),a.BROKEN_CARET=l(function(){var u=s("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(o,a,r){var l=r("e8b5"),s=r("50c4"),u=r("0366"),d=function(g,m,_,x,S,A,F,C){for(var L=S,w=0,$=F?u(F,C,3):!1,B;w<x;){if(w in _){if(B=$?$(_[w],w,m):_[w],A>0&&l(B))L=d(g,m,B,s(B.length),L,A-1)-1;else{if(L>=9007199254740991)throw TypeError("Exceed the acceptable array length");g[L]=B}L++}w++}return L};o.exports=d},a352:function(o,a){o.exports=i},a434:function(o,a,r){var l=r("23e7"),s=r("23cb"),u=r("a691"),d=r("50c4"),g=r("7b0b"),m=r("65f0"),_=r("8418"),x=r("1dde"),S=r("ae40"),A=x("splice"),F=S("splice",{ACCESSORS:!0,0:0,1:2}),C=Math.max,L=Math.min,w=9007199254740991,$="Maximum allowed length exceeded";l({target:"Array",proto:!0,forced:!A||!F},{splice:function(V,W){var J=g(this),oe=d(J.length),ue=s(V,oe),be=arguments.length,ie,fe,Y,re,ge,he;if(be===0?ie=fe=0:be===1?(ie=0,fe=oe-ue):(ie=be-2,fe=L(C(u(W),0),oe-ue)),oe+ie-fe>w)throw TypeError($);for(Y=m(J,fe),re=0;re<fe;re++)ge=ue+re,ge in J&&_(Y,re,J[ge]);if(Y.length=fe,ie<fe){for(re=ue;re<oe-fe;re++)ge=re+fe,he=re+ie,ge in J?J[he]=J[ge]:delete J[he];for(re=oe;re>oe-fe+ie;re--)delete J[re-1]}else if(ie>fe)for(re=oe-fe;re>ue;re--)ge=re+fe-1,he=re+ie-1,ge in J?J[he]=J[ge]:delete J[he];for(re=0;re<ie;re++)J[re+ue]=arguments[re+2];return J.length=oe-fe+ie,Y}})},a4d3:function(o,a,r){var l=r("23e7"),s=r("da84"),u=r("d066"),d=r("c430"),g=r("83ab"),m=r("4930"),_=r("fdbf"),x=r("d039"),S=r("5135"),A=r("e8b5"),F=r("861d"),C=r("825a"),L=r("7b0b"),w=r("fc6a"),$=r("c04e"),B=r("5c6c"),V=r("7c73"),W=r("df75"),J=r("241c"),oe=r("057f"),ue=r("7418"),be=r("06cf"),ie=r("9bf2"),fe=r("d1e7"),Y=r("9112"),re=r("6eeb"),ge=r("5692"),he=r("f772"),Ie=r("d012"),je=r("90e3"),Ue=r("b622"),Ee=r("e538"),we=r("746f"),lt=r("d44e"),pt=r("69f3"),yt=r("b727").forEach,vt=he("hidden"),ht="Symbol",rt="prototype",St=Ue("toPrimitive"),Ct=pt.set,kt=pt.getterFor(ht),It=Object[rt],xt=s.Symbol,_t=u("JSON","stringify"),st=be.f,Lt=ie.f,Xt=oe.f,Mt=fe.f,Et=ge("symbols"),mn=ge("op-symbols"),Bn=ge("string-to-symbol-registry"),xn=ge("symbol-to-string-registry"),oi=ge("wks"),rn=s.QObject,Tn=!rn||!rn[rt]||!rn[rt].findChild,cn=g&&x(function(){return V(Lt({},"a",{get:function(){return Lt(this,"a",{value:7}).a}})).a!=7})?function(_i,Fn,ui){var $i=st(It,Fn);$i&&delete It[Fn],Lt(_i,Fn,ui),$i&&_i!==It&&Lt(It,Fn,$i)}:Lt,Sn=function(_i,Fn){var ui=Et[_i]=V(xt[rt]);return Ct(ui,{type:ht,tag:_i,description:Fn}),g||(ui.description=Fn),ui},dn=_?function(_i){return typeof _i=="symbol"}:function(_i){return Object(_i)instanceof xt},pn=function(Fn,ui,$i){Fn===It&&pn(mn,ui,$i),C(Fn);var Un=$(ui,!0);return C($i),S(Et,Un)?($i.enumerable?(S(Fn,vt)&&Fn[vt][Un]&&(Fn[vt][Un]=!1),$i=V($i,{enumerable:B(0,!1)})):(S(Fn,vt)||Lt(Fn,vt,B(1,{})),Fn[vt][Un]=!0),cn(Fn,Un,$i)):Lt(Fn,Un,$i)},Kt=function(Fn,ui){C(Fn);var $i=w(ui),Un=W($i).concat(yi($i));return yt(Un,function(eo){(!g||_n.call($i,eo))&&pn(Fn,eo,$i[eo])}),Fn},An=function(Fn,ui){return ui===void 0?V(Fn):Kt(V(Fn),ui)},_n=function(Fn){var ui=$(Fn,!0),$i=Mt.call(this,ui);return this===It&&S(Et,ui)&&!S(mn,ui)?!1:$i||!S(this,ui)||!S(Et,ui)||S(this,vt)&&this[vt][ui]?$i:!0},Kn=function(Fn,ui){var $i=w(Fn),Un=$(ui,!0);if(!($i===It&&S(Et,Un)&&!S(mn,Un))){var eo=st($i,Un);return eo&&S(Et,Un)&&!(S($i,vt)&&$i[vt][Un])&&(eo.enumerable=!0),eo}},Dn=function(Fn){var ui=Xt(w(Fn)),$i=[];return yt(ui,function(Un){!S(Et,Un)&&!S(Ie,Un)&&$i.push(Un)}),$i},yi=function(Fn){var ui=Fn===It,$i=Xt(ui?mn:w(Fn)),Un=[];return yt($i,function(eo){S(Et,eo)&&(!ui||S(It,eo))&&Un.push(Et[eo])}),Un};if(m||(xt=function(){if(this instanceof xt)throw TypeError("Symbol is not a constructor");var Fn=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),ui=je(Fn),$i=function(Un){this===It&&$i.call(mn,Un),S(this,vt)&&S(this[vt],ui)&&(this[vt][ui]=!1),cn(this,ui,B(1,Un))};return g&&Tn&&cn(It,ui,{configurable:!0,set:$i}),Sn(ui,Fn)},re(xt[rt],"toString",function(){return kt(this).tag}),re(xt,"withoutSetter",function(_i){return Sn(je(_i),_i)}),fe.f=_n,ie.f=pn,be.f=Kn,J.f=oe.f=Dn,ue.f=yi,Ee.f=function(_i){return Sn(Ue(_i),_i)},g&&(Lt(xt[rt],"description",{configurable:!0,get:function(){return kt(this).description}}),d||re(It,"propertyIsEnumerable",_n,{unsafe:!0}))),l({global:!0,wrap:!0,forced:!m,sham:!m},{Symbol:xt}),yt(W(oi),function(_i){we(_i)}),l({target:ht,stat:!0,forced:!m},{for:function(_i){var Fn=String(_i);if(S(Bn,Fn))return Bn[Fn];var ui=xt(Fn);return Bn[Fn]=ui,xn[ui]=Fn,ui},keyFor:function(Fn){if(!dn(Fn))throw TypeError(Fn+" is not a symbol");if(S(xn,Fn))return xn[Fn]},useSetter:function(){Tn=!0},useSimple:function(){Tn=!1}}),l({target:"Object",stat:!0,forced:!m,sham:!g},{create:An,defineProperty:pn,defineProperties:Kt,getOwnPropertyDescriptor:Kn}),l({target:"Object",stat:!0,forced:!m},{getOwnPropertyNames:Dn,getOwnPropertySymbols:yi}),l({target:"Object",stat:!0,forced:x(function(){ue.f(1)})},{getOwnPropertySymbols:function(Fn){return ue.f(L(Fn))}}),_t){var ei=!m||x(function(){var _i=xt();return _t([_i])!="[null]"||_t({a:_i})!="{}"||_t(Object(_i))!="{}"});l({target:"JSON",stat:!0,forced:ei},{stringify:function(Fn,ui,$i){for(var Un=[Fn],eo=1,Ht;arguments.length>eo;)Un.push(arguments[eo++]);if(Ht=ui,!(!F(ui)&&Fn===void 0||dn(Fn)))return A(ui)||(ui=function(Vt,Be){if(typeof Ht=="function"&&(Be=Ht.call(this,Vt,Be)),!dn(Be))return Be}),Un[1]=ui,_t.apply(null,Un)}})}xt[rt][St]||Y(xt[rt],St,xt[rt].valueOf),lt(xt,ht),Ie[vt]=!0},a630:function(o,a,r){var l=r("23e7"),s=r("4df4"),u=r("1c7e"),d=!u(function(g){Array.from(g)});l({target:"Array",stat:!0,forced:d},{from:s})},a640:function(o,a,r){var l=r("d039");o.exports=function(s,u){var d=[][s];return!!d&&l(function(){d.call(null,u||function(){throw 1},1)})}},a691:function(o,a){var r=Math.ceil,l=Math.floor;o.exports=function(s){return isNaN(s=+s)?0:(s>0?l:r)(s)}},ab13:function(o,a,r){var l=r("b622"),s=l("match");o.exports=function(u){var d=/./;try{"/./"[u](d)}catch{try{return d[s]=!1,"/./"[u](d)}catch{}}return!1}},ac1f:function(o,a,r){var l=r("23e7"),s=r("9263");l({target:"RegExp",proto:!0,forced:/./.exec!==s},{exec:s})},ad6d:function(o,a,r){var l=r("825a");o.exports=function(){var s=l(this),u="";return s.global&&(u+="g"),s.ignoreCase&&(u+="i"),s.multiline&&(u+="m"),s.dotAll&&(u+="s"),s.unicode&&(u+="u"),s.sticky&&(u+="y"),u}},ae40:function(o,a,r){var l=r("83ab"),s=r("d039"),u=r("5135"),d=Object.defineProperty,g={},m=function(_){throw _};o.exports=function(_,x){if(u(g,_))return g[_];x||(x={});var S=[][_],A=u(x,"ACCESSORS")?x.ACCESSORS:!1,F=u(x,0)?x[0]:m,C=u(x,1)?x[1]:void 0;return g[_]=!!S&&!s(function(){if(A&&!l)return!0;var L={length:-1};A?d(L,1,{enumerable:!0,get:m}):L[1]=1,S.call(L,F,C)})}},ae93:function(o,a,r){var l=r("e163"),s=r("9112"),u=r("5135"),d=r("b622"),g=r("c430"),m=d("iterator"),_=!1,x=function(){return this},S,A,F;[].keys&&(F=[].keys(),"next"in F?(A=l(l(F)),A!==Object.prototype&&(S=A)):_=!0),S==null&&(S={}),!g&&!u(S,m)&&s(S,m,x),o.exports={IteratorPrototype:S,BUGGY_SAFARI_ITERATORS:_}},b041:function(o,a,r){var l=r("00ee"),s=r("f5df");o.exports=l?{}.toString:function(){return"[object "+s(this)+"]"}},b0c0:function(o,a,r){var l=r("83ab"),s=r("9bf2").f,u=Function.prototype,d=u.toString,g=/^\s*function ([^ (]*)/,m="name";l&&!(m in u)&&s(u,m,{configurable:!0,get:function(){try{return d.call(this).match(g)[1]}catch{return""}}})},b622:function(o,a,r){var l=r("da84"),s=r("5692"),u=r("5135"),d=r("90e3"),g=r("4930"),m=r("fdbf"),_=s("wks"),x=l.Symbol,S=m?x:x&&x.withoutSetter||d;o.exports=function(A){return u(_,A)||(g&&u(x,A)?_[A]=x[A]:_[A]=S("Symbol."+A)),_[A]}},b64b:function(o,a,r){var l=r("23e7"),s=r("7b0b"),u=r("df75"),d=r("d039"),g=d(function(){u(1)});l({target:"Object",stat:!0,forced:g},{keys:function(_){return u(s(_))}})},b727:function(o,a,r){var l=r("0366"),s=r("44ad"),u=r("7b0b"),d=r("50c4"),g=r("65f0"),m=[].push,_=function(x){var S=x==1,A=x==2,F=x==3,C=x==4,L=x==6,w=x==5||L;return function($,B,V,W){for(var J=u($),oe=s(J),ue=l(B,V,3),be=d(oe.length),ie=0,fe=W||g,Y=S?fe($,be):A?fe($,0):void 0,re,ge;be>ie;ie++)if((w||ie in oe)&&(re=oe[ie],ge=ue(re,ie,J),x)){if(S)Y[ie]=ge;else if(ge)switch(x){case 3:return!0;case 5:return re;case 6:return ie;case 2:m.call(Y,re)}else if(C)return!1}return L?-1:F||C?C:Y}};o.exports={forEach:_(0),map:_(1),filter:_(2),some:_(3),every:_(4),find:_(5),findIndex:_(6)}},c04e:function(o,a,r){var l=r("861d");o.exports=function(s,u){if(!l(s))return s;var d,g;if(u&&typeof(d=s.toString)=="function"&&!l(g=d.call(s))||typeof(d=s.valueOf)=="function"&&!l(g=d.call(s))||!u&&typeof(d=s.toString)=="function"&&!l(g=d.call(s)))return g;throw TypeError("Can't convert object to primitive value")}},c430:function(o,a){o.exports=!1},c6b6:function(o,a){var r={}.toString;o.exports=function(l){return r.call(l).slice(8,-1)}},c6cd:function(o,a,r){var l=r("da84"),s=r("ce4e"),u="__core-js_shared__",d=l[u]||s(u,{});o.exports=d},c740:function(o,a,r){var l=r("23e7"),s=r("b727").findIndex,u=r("44d2"),d=r("ae40"),g="findIndex",m=!0,_=d(g);g in[]&&Array(1)[g](function(){m=!1}),l({target:"Array",proto:!0,forced:m||!_},{findIndex:function(S){return s(this,S,arguments.length>1?arguments[1]:void 0)}}),u(g)},c8ba:function(o,a){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch{typeof window=="object"&&(r=window)}o.exports=r},c975:function(o,a,r){var l=r("23e7"),s=r("4d64").indexOf,u=r("a640"),d=r("ae40"),g=[].indexOf,m=!!g&&1/[1].indexOf(1,-0)<0,_=u("indexOf"),x=d("indexOf",{ACCESSORS:!0,1:0});l({target:"Array",proto:!0,forced:m||!_||!x},{indexOf:function(A){return m?g.apply(this,arguments)||0:s(this,A,arguments.length>1?arguments[1]:void 0)}})},ca84:function(o,a,r){var l=r("5135"),s=r("fc6a"),u=r("4d64").indexOf,d=r("d012");o.exports=function(g,m){var _=s(g),x=0,S=[],A;for(A in _)!l(d,A)&&l(_,A)&&S.push(A);for(;m.length>x;)l(_,A=m[x++])&&(~u(S,A)||S.push(A));return S}},caad:function(o,a,r){var l=r("23e7"),s=r("4d64").includes,u=r("44d2"),d=r("ae40"),g=d("indexOf",{ACCESSORS:!0,1:0});l({target:"Array",proto:!0,forced:!g},{includes:function(_){return s(this,_,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(o,a,r){var l=r("da84"),s=r("861d"),u=l.document,d=s(u)&&s(u.createElement);o.exports=function(g){return d?u.createElement(g):{}}},ce4e:function(o,a,r){var l=r("da84"),s=r("9112");o.exports=function(u,d){try{s(l,u,d)}catch{l[u]=d}return d}},d012:function(o,a){o.exports={}},d039:function(o,a){o.exports=function(r){try{return!!r()}catch{return!0}}},d066:function(o,a,r){var l=r("428f"),s=r("da84"),u=function(d){return typeof d=="function"?d:void 0};o.exports=function(d,g){return arguments.length<2?u(l[d])||u(s[d]):l[d]&&l[d][g]||s[d]&&s[d][g]}},d1e7:function(o,a,r){var l={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,u=s&&!l.call({1:2},1);a.f=u?function(g){var m=s(this,g);return!!m&&m.enumerable}:l},d28b:function(o,a,r){var l=r("746f");l("iterator")},d2bb:function(o,a,r){var l=r("825a"),s=r("3bbe");o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,d={},g;try{g=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,g.call(d,[]),u=d instanceof Array}catch{}return function(_,x){return l(_),s(x),u?g.call(_,x):_.__proto__=x,_}}():void 0)},d3b7:function(o,a,r){var l=r("00ee"),s=r("6eeb"),u=r("b041");l||s(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(o,a,r){var l=r("9bf2").f,s=r("5135"),u=r("b622"),d=u("toStringTag");o.exports=function(g,m,_){g&&!s(g=_?g:g.prototype,d)&&l(g,d,{configurable:!0,value:m})}},d58f:function(o,a,r){var l=r("1c0b"),s=r("7b0b"),u=r("44ad"),d=r("50c4"),g=function(m){return function(_,x,S,A){l(x);var F=s(_),C=u(F),L=d(F.length),w=m?L-1:0,$=m?-1:1;if(S<2)for(;;){if(w in C){A=C[w],w+=$;break}if(w+=$,m?w<0:L<=w)throw TypeError("Reduce of empty array with no initial value")}for(;m?w>=0:L>w;w+=$)w in C&&(A=x(A,C[w],w,F));return A}};o.exports={left:g(!1),right:g(!0)}},d784:function(o,a,r){r("ac1f");var l=r("6eeb"),s=r("d039"),u=r("b622"),d=r("9263"),g=r("9112"),m=u("species"),_=!s(function(){var C=/./;return C.exec=function(){var L=[];return L.groups={a:"7"},L},"".replace(C,"$<a>")!=="7"}),x=function(){return"a".replace(/./,"$0")==="$0"}(),S=u("replace"),A=function(){return/./[S]?/./[S]("a","$0")==="":!1}(),F=!s(function(){var C=/(?:)/,L=C.exec;C.exec=function(){return L.apply(this,arguments)};var w="ab".split(C);return w.length!==2||w[0]!=="a"||w[1]!=="b"});o.exports=function(C,L,w,$){var B=u(C),V=!s(function(){var ie={};return ie[B]=function(){return 7},""[C](ie)!=7}),W=V&&!s(function(){var ie=!1,fe=/a/;return C==="split"&&(fe={},fe.constructor={},fe.constructor[m]=function(){return fe},fe.flags="",fe[B]=/./[B]),fe.exec=function(){return ie=!0,null},fe[B](""),!ie});if(!V||!W||C==="replace"&&!(_&&x&&!A)||C==="split"&&!F){var J=/./[B],oe=w(B,""[C],function(ie,fe,Y,re,ge){return fe.exec===d?V&&!ge?{done:!0,value:J.call(fe,Y,re)}:{done:!0,value:ie.call(Y,fe,re)}:{done:!1}},{REPLACE_KEEPS_$0:x,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:A}),ue=oe[0],be=oe[1];l(String.prototype,C,ue),l(RegExp.prototype,B,L==2?function(ie,fe){return be.call(ie,this,fe)}:function(ie){return be.call(ie,this)})}$&&g(RegExp.prototype[B],"sham",!0)}},d81d:function(o,a,r){var l=r("23e7"),s=r("b727").map,u=r("1dde"),d=r("ae40"),g=u("map"),m=d("map");l({target:"Array",proto:!0,forced:!g||!m},{map:function(x){return s(this,x,arguments.length>1?arguments[1]:void 0)}})},da84:function(o,a,r){(function(l){var s=function(u){return u&&u.Math==Math&&u};o.exports=s(typeof globalThis=="object"&&globalThis)||s(typeof window=="object"&&window)||s(typeof self=="object"&&self)||s(typeof l=="object"&&l)||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(o,a,r){var l=r("23e7"),s=r("83ab"),u=r("56ef"),d=r("fc6a"),g=r("06cf"),m=r("8418");l({target:"Object",stat:!0,sham:!s},{getOwnPropertyDescriptors:function(x){for(var S=d(x),A=g.f,F=u(S),C={},L=0,w,$;F.length>L;)$=A(S,w=F[L++]),$!==void 0&&m(C,w,$);return C}})},dbf1:function(o,a,r){(function(l){r.d(a,"a",function(){return u});function s(){return typeof window<"u"?window.console:l.console}var u=s()}).call(this,r("c8ba"))},ddb0:function(o,a,r){var l=r("da84"),s=r("fdbc"),u=r("e260"),d=r("9112"),g=r("b622"),m=g("iterator"),_=g("toStringTag"),x=u.values;for(var S in s){var A=l[S],F=A&&A.prototype;if(F){if(F[m]!==x)try{d(F,m,x)}catch{F[m]=x}if(F[_]||d(F,_,S),s[S]){for(var C in u)if(F[C]!==u[C])try{d(F,C,u[C])}catch{F[C]=u[C]}}}}},df75:function(o,a,r){var l=r("ca84"),s=r("7839");o.exports=Object.keys||function(d){return l(d,s)}},e01a:function(o,a,r){var l=r("23e7"),s=r("83ab"),u=r("da84"),d=r("5135"),g=r("861d"),m=r("9bf2").f,_=r("e893"),x=u.Symbol;if(s&&typeof x=="function"&&(!("description"in x.prototype)||x().description!==void 0)){var S={},A=function(){var B=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),V=this instanceof A?new x(B):B===void 0?x():x(B);return B===""&&(S[V]=!0),V};_(A,x);var F=A.prototype=x.prototype;F.constructor=A;var C=F.toString,L=String(x("test"))=="Symbol(test)",w=/^Symbol\((.*)\)[^)]+$/;m(F,"description",{configurable:!0,get:function(){var B=g(this)?this.valueOf():this,V=C.call(B);if(d(S,B))return"";var W=L?V.slice(7,-1):V.replace(w,"$1");return W===""?void 0:W}}),l({global:!0,forced:!0},{Symbol:A})}},e163:function(o,a,r){var l=r("5135"),s=r("7b0b"),u=r("f772"),d=r("e177"),g=u("IE_PROTO"),m=Object.prototype;o.exports=d?Object.getPrototypeOf:function(_){return _=s(_),l(_,g)?_[g]:typeof _.constructor=="function"&&_ instanceof _.constructor?_.constructor.prototype:_ instanceof Object?m:null}},e177:function(o,a,r){var l=r("d039");o.exports=!l(function(){function s(){}return s.prototype.constructor=null,Object.getPrototypeOf(new s)!==s.prototype})},e260:function(o,a,r){var l=r("fc6a"),s=r("44d2"),u=r("3f8c"),d=r("69f3"),g=r("7dd0"),m="Array Iterator",_=d.set,x=d.getterFor(m);o.exports=g(Array,"Array",function(S,A){_(this,{type:m,target:l(S),index:0,kind:A})},function(){var S=x(this),A=S.target,F=S.kind,C=S.index++;return!A||C>=A.length?(S.target=void 0,{value:void 0,done:!0}):F=="keys"?{value:C,done:!1}:F=="values"?{value:A[C],done:!1}:{value:[C,A[C]],done:!1}},"values"),u.Arguments=u.Array,s("keys"),s("values"),s("entries")},e439:function(o,a,r){var l=r("23e7"),s=r("d039"),u=r("fc6a"),d=r("06cf").f,g=r("83ab"),m=s(function(){d(1)}),_=!g||m;l({target:"Object",stat:!0,forced:_,sham:!g},{getOwnPropertyDescriptor:function(S,A){return d(u(S),A)}})},e538:function(o,a,r){var l=r("b622");a.f=l},e893:function(o,a,r){var l=r("5135"),s=r("56ef"),u=r("06cf"),d=r("9bf2");o.exports=function(g,m){for(var _=s(m),x=d.f,S=u.f,A=0;A<_.length;A++){var F=_[A];l(g,F)||x(g,F,S(m,F))}}},e8b5:function(o,a,r){var l=r("c6b6");o.exports=Array.isArray||function(u){return l(u)=="Array"}},e95a:function(o,a,r){var l=r("b622"),s=r("3f8c"),u=l("iterator"),d=Array.prototype;o.exports=function(g){return g!==void 0&&(s.Array===g||d[u]===g)}},f5df:function(o,a,r){var l=r("00ee"),s=r("c6b6"),u=r("b622"),d=u("toStringTag"),g=s(function(){return arguments}())=="Arguments",m=function(_,x){try{return _[x]}catch{}};o.exports=l?s:function(_){var x,S,A;return _===void 0?"Undefined":_===null?"Null":typeof(S=m(x=Object(_),d))=="string"?S:g?s(x):(A=s(x))=="Object"&&typeof x.callee=="function"?"Arguments":A}},f772:function(o,a,r){var l=r("5692"),s=r("90e3"),u=l("keys");o.exports=function(d){return u[d]||(u[d]=s(d))}},fb15:function(o,a,r){if(r.r(a),typeof window<"u"){var l=window.document.currentScript;{var s=r("8875");l=s(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:s})}var u=l&&l.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(r.p=u[1])}r("99af"),r("4de4"),r("4160"),r("c975"),r("d81d"),r("a434"),r("159b"),r("a4d3"),r("e439"),r("dbb4"),r("b64b");function d(dn,pn,Kt){return pn in dn?Object.defineProperty(dn,pn,{value:Kt,enumerable:!0,configurable:!0,writable:!0}):dn[pn]=Kt,dn}function g(dn,pn){var Kt=Object.keys(dn);if(Object.getOwnPropertySymbols){var An=Object.getOwnPropertySymbols(dn);pn&&(An=An.filter(function(_n){return Object.getOwnPropertyDescriptor(dn,_n).enumerable})),Kt.push.apply(Kt,An)}return Kt}function m(dn){for(var pn=1;pn<arguments.length;pn++){var Kt=arguments[pn]!=null?arguments[pn]:{};pn%2?g(Object(Kt),!0).forEach(function(An){d(dn,An,Kt[An])}):Object.getOwnPropertyDescriptors?Object.defineProperties(dn,Object.getOwnPropertyDescriptors(Kt)):g(Object(Kt)).forEach(function(An){Object.defineProperty(dn,An,Object.getOwnPropertyDescriptor(Kt,An))})}return dn}function _(dn){if(Array.isArray(dn))return dn}r("e01a"),r("d28b"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0");function x(dn,pn){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(dn)))){var Kt=[],An=!0,_n=!1,Kn=void 0;try{for(var Dn=dn[Symbol.iterator](),yi;!(An=(yi=Dn.next()).done)&&(Kt.push(yi.value),!(pn&&Kt.length===pn));An=!0);}catch(ei){_n=!0,Kn=ei}finally{try{!An&&Dn.return!=null&&Dn.return()}finally{if(_n)throw Kn}}return Kt}}r("a630"),r("fb6a"),r("b0c0"),r("25f0");function S(dn,pn){(pn==null||pn>dn.length)&&(pn=dn.length);for(var Kt=0,An=new Array(pn);Kt<pn;Kt++)An[Kt]=dn[Kt];return An}function A(dn,pn){if(dn){if(typeof dn=="string")return S(dn,pn);var Kt=Object.prototype.toString.call(dn).slice(8,-1);if(Kt==="Object"&&dn.constructor&&(Kt=dn.constructor.name),Kt==="Map"||Kt==="Set")return Array.from(dn);if(Kt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Kt))return S(dn,pn)}}function F(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
62
62
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(dn,pn){return _(dn)||x(dn,pn)||A(dn,pn)||F()}function L(dn){if(Array.isArray(dn))return S(dn)}function w(dn){if(typeof Symbol<"u"&&Symbol.iterator in Object(dn))return Array.from(dn)}function $(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
63
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B(dn){return L(dn)||w(dn)||A(dn)||$()}var V=r("a352"),W=r.n(V);function J(dn){dn.parentElement!==null&&dn.parentElement.removeChild(dn)}function oe(dn,pn,Kt){var An=Kt===0?dn.children[0]:dn.children[Kt-1].nextSibling;dn.insertBefore(pn,An)}var ue=r("dbf1");r("13d5"),r("4fad"),r("ac1f"),r("5319");function be(dn){var pn=Object.create(null);return function(An){var _n=pn[An];return _n||(pn[An]=dn(An))}}var ie=/-(\w)/g,fe=be(function(dn){return dn.replace(ie,function(pn,Kt){return Kt.toUpperCase()})});r("5db7"),r("73d9");var Y=["Start","Add","Remove","Update","End"],re=["Choose","Unchoose","Sort","Filter","Clone"],ge=["Move"],he=[ge,Y,re].flatMap(function(dn){return dn}).map(function(dn){return"on".concat(dn)}),Ie={manage:ge,manageAndEmit:Y,emit:re};function je(dn){return he.indexOf(dn)!==-1}r("caad"),r("2ca0");var Ue=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Ee(dn){return Ue.includes(dn)}function we(dn){return["transition-group","TransitionGroup"].includes(dn)}function lt(dn){return["id","class","role","style"].includes(dn)||dn.startsWith("data-")||dn.startsWith("aria-")||dn.startsWith("on")}function pt(dn){return dn.reduce(function(pn,Kt){var An=C(Kt,2),_n=An[0],Kn=An[1];return pn[_n]=Kn,pn},{})}function yt(dn){var pn=dn.$attrs,Kt=dn.componentData,An=Kt===void 0?{}:Kt,_n=pt(Object.entries(pn).filter(function(Kn){var Dn=C(Kn,2),yi=Dn[0];return Dn[1],lt(yi)}));return m(m({},_n),An)}function vt(dn){var pn=dn.$attrs,Kt=dn.callBackBuilder,An=pt(ht(pn));Object.entries(Kt).forEach(function(Kn){var Dn=C(Kn,2),yi=Dn[0],ei=Dn[1];Ie[yi].forEach(function(_i){An["on".concat(_i)]=ei(_i)})});var _n="[data-draggable]".concat(An.draggable||"");return m(m({},An),{},{draggable:_n})}function ht(dn){return Object.entries(dn).filter(function(pn){var Kt=C(pn,2),An=Kt[0];return Kt[1],!lt(An)}).map(function(pn){var Kt=C(pn,2),An=Kt[0],_n=Kt[1];return[fe(An),_n]}).filter(function(pn){var Kt=C(pn,2),An=Kt[0];return Kt[1],!je(An)})}r("c740");function rt(dn,pn){if(!(dn instanceof pn))throw new TypeError("Cannot call a class as a function")}function St(dn,pn){for(var Kt=0;Kt<pn.length;Kt++){var An=pn[Kt];An.enumerable=An.enumerable||!1,An.configurable=!0,"value"in An&&(An.writable=!0),Object.defineProperty(dn,An.key,An)}}function Ct(dn,pn,Kt){return pn&&St(dn.prototype,pn),dn}var kt=function(pn){var Kt=pn.el;return Kt},It=function(pn,Kt){return pn.__draggable_context=Kt},xt=function(pn){return pn.__draggable_context},_t=function(){function dn(pn){var Kt=pn.nodes,An=Kt.header,_n=Kt.default,Kn=Kt.footer,Dn=pn.root,yi=pn.realList;rt(this,dn),this.defaultNodes=_n,this.children=[].concat(B(An),B(_n),B(Kn)),this.externalComponent=Dn.externalComponent,this.rootTransition=Dn.transition,this.tag=Dn.tag,this.realList=yi}return Ct(dn,[{key:"render",value:function(Kt,An){var _n=this.tag,Kn=this.children,Dn=this._isRootComponent,yi=Dn?{default:function(){return Kn}}:Kn;return Kt(_n,An,yi)}},{key:"updated",value:function(){var Kt=this.defaultNodes,An=this.realList;Kt.forEach(function(_n,Kn){It(kt(_n),{element:An[Kn],index:Kn})})}},{key:"getUnderlyingVm",value:function(Kt){return xt(Kt)}},{key:"getVmIndexFromDomIndex",value:function(Kt,An){var _n=this.defaultNodes,Kn=_n.length,Dn=An.children,yi=Dn.item(Kt);if(yi===null)return Kn;var ei=xt(yi);if(ei)return ei.index;if(Kn===0)return 0;var _i=kt(_n[0]),Fn=B(Dn).findIndex(function(ui){return ui===_i});return Kt<Fn?0:Kn}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),dn}(),st=r("8bbf");function Lt(dn,pn){var Kt=dn[pn];return Kt?Kt():[]}function Xt(dn){var pn=dn.$slots,Kt=dn.realList,An=dn.getKey,_n=Kt||[],Kn=["header","footer"].map(function(ui){return Lt(pn,ui)}),Dn=C(Kn,2),yi=Dn[0],ei=Dn[1],_i=pn.item;if(!_i)throw new Error("draggable element must have an item slot");var Fn=_n.flatMap(function(ui,$i){return _i({element:ui,index:$i}).map(function(Un){return Un.key=An(ui),Un.props=m(m({},Un.props||{}),{},{"data-draggable":!0}),Un})});if(Fn.length!==_n.length)throw new Error("Item slot must have only one child");return{header:yi,footer:ei,default:Fn}}function Mt(dn){var pn=we(dn),Kt=!Ee(dn)&&!pn;return{transition:pn,externalComponent:Kt,tag:Kt?Object(st.resolveComponent)(dn):pn?st.TransitionGroup:dn}}function Et(dn){var pn=dn.$slots,Kt=dn.tag,An=dn.realList,_n=dn.getKey,Kn=Xt({$slots:pn,realList:An,getKey:_n}),Dn=Mt(Kt);return new _t({nodes:Kn,root:Dn,realList:An})}function mn(dn,pn){var Kt=this;Object(st.nextTick)(function(){return Kt.$emit(dn.toLowerCase(),pn)})}function Bn(dn){var pn=this;return function(Kt,An){if(pn.realList!==null)return pn["onDrag".concat(dn)](Kt,An)}}function xn(dn){var pn=this,Kt=Bn.call(this,dn);return function(An,_n){Kt.call(pn,An,_n),mn.call(pn,dn,An)}}var oi=null,rn={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(pn){return pn}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Tn=["update:modelValue","change"].concat(B([].concat(B(Ie.manageAndEmit),B(Ie.emit)).map(function(dn){return dn.toLowerCase()}))),cn=Object(st.defineComponent)({name:"draggable",inheritAttrs:!1,props:rn,emits:Tn,data:function(){return{error:!1}},render:function(){try{this.error=!1;var pn=this.$slots,Kt=this.$attrs,An=this.tag,_n=this.componentData,Kn=this.realList,Dn=this.getKey,yi=Et({$slots:pn,tag:An,realList:Kn,getKey:Dn});this.componentStructure=yi;var ei=yt({$attrs:Kt,componentData:_n});return yi.render(st.h,ei)}catch(_i){return this.error=!0,Object(st.h)("pre",{style:{color:"red"}},_i.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&ue.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var pn=this;if(!this.error){var Kt=this.$attrs,An=this.$el,_n=this.componentStructure;_n.updated();var Kn=vt({$attrs:Kt,callBackBuilder:{manageAndEmit:function(ei){return xn.call(pn,ei)},emit:function(ei){return mn.bind(pn,ei)},manage:function(ei){return Bn.call(pn,ei)}}}),Dn=An.nodeType===1?An:An.parentElement;this._sortable=new W.a(Dn,Kn),this.targetDomElement=Dn,Dn.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var pn=this.list;return pn||this.modelValue},getKey:function(){var pn=this.itemKey;return typeof pn=="function"?pn:function(Kt){return Kt[pn]}}},watch:{$attrs:{handler:function(pn){var Kt=this._sortable;Kt&&ht(pn).forEach(function(An){var _n=C(An,2),Kn=_n[0],Dn=_n[1];Kt.option(Kn,Dn)})},deep:!0}},methods:{getUnderlyingVm:function(pn){return this.componentStructure.getUnderlyingVm(pn)||null},getUnderlyingPotencialDraggableComponent:function(pn){return pn.__draggable_component__},emitChanges:function(pn){var Kt=this;Object(st.nextTick)(function(){return Kt.$emit("change",pn)})},alterList:function(pn){if(this.list){pn(this.list);return}var Kt=B(this.modelValue);pn(Kt),this.$emit("update:modelValue",Kt)},spliceList:function(){var pn=arguments,Kt=function(_n){return _n.splice.apply(_n,B(pn))};this.alterList(Kt)},updatePosition:function(pn,Kt){var An=function(Kn){return Kn.splice(Kt,0,Kn.splice(pn,1)[0])};this.alterList(An)},getRelatedContextFromMoveEvent:function(pn){var Kt=pn.to,An=pn.related,_n=this.getUnderlyingPotencialDraggableComponent(Kt);if(!_n)return{component:_n};var Kn=_n.realList,Dn={list:Kn,component:_n};if(Kt!==An&&Kn){var yi=_n.getUnderlyingVm(An)||{};return m(m({},yi),Dn)}return Dn},getVmIndexFromDomIndex:function(pn){return this.componentStructure.getVmIndexFromDomIndex(pn,this.targetDomElement)},onDragStart:function(pn){this.context=this.getUnderlyingVm(pn.item),pn.item._underlying_vm_=this.clone(this.context.element),oi=pn.item},onDragAdd:function(pn){var Kt=pn.item._underlying_vm_;if(Kt!==void 0){J(pn.item);var An=this.getVmIndexFromDomIndex(pn.newIndex);this.spliceList(An,0,Kt);var _n={element:Kt,newIndex:An};this.emitChanges({added:_n})}},onDragRemove:function(pn){if(oe(this.$el,pn.item,pn.oldIndex),pn.pullMode==="clone"){J(pn.clone);return}var Kt=this.context,An=Kt.index,_n=Kt.element;this.spliceList(An,1);var Kn={element:_n,oldIndex:An};this.emitChanges({removed:Kn})},onDragUpdate:function(pn){J(pn.item),oe(pn.from,pn.item,pn.oldIndex);var Kt=this.context.index,An=this.getVmIndexFromDomIndex(pn.newIndex);this.updatePosition(Kt,An);var _n={element:this.context.element,oldIndex:Kt,newIndex:An};this.emitChanges({moved:_n})},computeFutureIndex:function(pn,Kt){if(!pn.element)return 0;var An=B(Kt.to.children).filter(function(yi){return yi.style.display!=="none"}),_n=An.indexOf(Kt.related),Kn=pn.component.getVmIndexFromDomIndex(_n),Dn=An.indexOf(oi)!==-1;return Dn||!Kt.willInsertAfter?Kn:Kn+1},onDragMove:function(pn,Kt){var An=this.move,_n=this.realList;if(!An||!_n)return!0;var Kn=this.getRelatedContextFromMoveEvent(pn),Dn=this.computeFutureIndex(Kn,pn),yi=m(m({},this.context),{},{futureIndex:Dn}),ei=m(m({},pn),{},{relatedContext:Kn,draggedContext:yi});return An(ei,Kt)},onDragEnd:function(){oi=null}}}),Sn=cn;a.default=Sn},fb6a:function(o,a,r){var l=r("23e7"),s=r("861d"),u=r("e8b5"),d=r("23cb"),g=r("50c4"),m=r("fc6a"),_=r("8418"),x=r("b622"),S=r("1dde"),A=r("ae40"),F=S("slice"),C=A("slice",{ACCESSORS:!0,0:0,1:2}),L=x("species"),w=[].slice,$=Math.max;l({target:"Array",proto:!0,forced:!F||!C},{slice:function(V,W){var J=m(this),oe=g(J.length),ue=d(V,oe),be=d(W===void 0?oe:W,oe),ie,fe,Y;if(u(J)&&(ie=J.constructor,typeof ie=="function"&&(ie===Array||u(ie.prototype))?ie=void 0:s(ie)&&(ie=ie[L],ie===null&&(ie=void 0)),ie===Array||ie===void 0))return w.call(J,ue,be);for(fe=new(ie===void 0?Array:ie)($(be-ue,0)),Y=0;ue<be;ue++,Y++)ue in J&&_(fe,Y,J[ue]);return fe.length=Y,fe}})},fc6a:function(o,a,r){var l=r("44ad"),s=r("1d80");o.exports=function(u){return l(s(u))}},fdbc:function(o,a){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(o,a,r){var l=r("4930");o.exports=l&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(qz);var $5e=qz.exports;const ud=Fd($5e);function J0(n){let e;if(n.includes("(")&&n.includes(")")){e=n.split("(")[0];const t=n.match(LX);t&&(n=t[1])}return{fn:e??null,field:n}}const N5e={class:"name"},B5e=["onClick"],j5e=Pt({__name:"system-fields",props:{collectionName:{},value:{default:null},allowSelectAll:{type:Boolean,default:!1}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,o=so(),a=Ce({get(){var d;return((d=t.value)==null?void 0:d.map(g=>({key:g,...o.getField(t.collectionName,g),displayName:u(g)})))??[];function u(g){const m=g.split(".");return m.map((x,S)=>{const A=x.includes("(")&&x.includes(")");let F=x,C;if(A){const{field:B,fn:V}=J0(x);C=V,F=B}const L=m.slice(0,S),w=o.getField(t.collectionName,[...L,F].join(".")),$=(w==null?void 0:w.name)??F;return A?r(`functions.${C}`)+` (${$})`:$}).join(" -> ")}},set(u){const d=u.map(g=>g.key);i("input",d)}}),{t:r}=un(),l=u=>{const d=new Set([...t.value??[],...u]);i("input",Array.from(d))},s=u=>{var g;const d=(g=t.value)==null?void 0:g.filter(m=>m!==u);(!d||d.length===0)&&i("input",null),i("input",d)};return(u,d)=>{const g=G("v-notice"),m=G("v-list"),_=G("v-icon"),x=G("v-list-item"),S=G("v-field-list"),A=G("v-menu");return u.collectionName?(j(),Re(hn,{key:1},[a.value.length===0?(j(),ye(m,{key:0},{default:I(()=>[T(g,{class:"no-fields"},{default:I(()=>[ze(me(h(r)("interfaces.system-fields.no_fields")),1)]),_:1})]),_:1})):(j(),ye(h(ud),Fr({key:1,modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=F=>a.value=F),tag:"v-list","item-key":"key",handle:".drag-handle"},{"force-fallback":!0}),{item:I(({element:F})=>[T(x,{block:""},{default:I(()=>[T(_,{name:"drag_handle",class:"drag-handle",left:""}),ke("div",N5e,me(F.displayName),1),d[1]||(d[1]=ke("div",{class:"spacer"},null,-1)),T(_,{name:"close",clickable:"",onClick:C=>s(F.key)},null,8,["onClick"])]),_:2},1024)]),_:1},16,["modelValue"])),T(A,{placement:"bottom-start","show-arrow":""},{activator:I(({toggle:F})=>[ke("button",{class:"toggle",onClick:F},[ze(me(h(r)("add_field"))+" ",1),T(_,{name:"expand_more"})],8,B5e)]),default:I(()=>[T(S,{"disabled-fields":u.value,collection:u.collectionName,"allow-select-all":u.allowSelectAll,onAdd:l},null,8,["disabled-fields","collection","allow-select-all"])]),_:1})],64)):(j(),ye(g,{key:0},{default:I(()=>[ze(me(h(r)("interfaces.system-fields.select_a_collection")),1)]),_:1}))}}}),V5e=Wt(j5e,[["__scopeId","data-v-8fb610f3"]]),H5e=Xo({id:"system-fields",name:"$t:interfaces.fields.name",icon:"search",component:V5e,types:["csv","json"],options:[],system:!0}),U5e=["pattern","value"],q5e=["value"],W5e={class:"date-input"},G5e=["onClick"],Y5e=Pt({__name:"input-component",props:{is:{},type:{},value:{type:[String,Number,Object,Boolean,null]},commaAllowed:{type:Boolean},focus:{type:Boolean,default:!0},choices:{default:()=>[]}},emits:["input"],setup(n,{emit:e}){cm(x=>({"166388e6":s.value}));const t=n,i=e,{t:o}=un(),a=Oe(),r=Oe(null),l=Oe(!0),s=Ce(()=>l.value?"none":"var(--theme--danger)"),u=Ce(()=>t.value===null||t.value===void 0?null:typeof t.value=="string"&&t.value.length>25?t.value.substring(0,22)+"...":t.value),d=Ce(()=>{switch(t.type){case"integer":case"bigInteger":return"^[+\\-]?[0-9]+$";case"decimal":case"float":return"^[+\\-]?[0-9]+\\.?[0-9]*$";case"uuid":return"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$";default:return}});Yr(()=>{var x;t.focus&&((x=r.value)==null||x.focus())}),cE(()=>m(t.value)),Wn(()=>t.value,x=>m(x),{immediate:!0});function g(x){return!!(x===""||typeof x!="string"||t.commaAllowed&&x.includes(",")||!d.value||new RegExp(d.value).test(x)||IX(x)||/^{{\s*?\S+?\s*?}}$/.test(x))}function m(x){l.value=g(x)}function _(x){l.value=g(x),l.value&&i("input",x===""?null:x)}return(x,S)=>{const A=G("v-icon"),F=G("v-select"),C=G("v-date-picker"),L=G("v-menu"),w=hi("input-auto-width");return x.type==="boolean"?(j(),ye(A,{key:0,name:x.value===null?"indeterminate_check_box":x.value?"check_box":"check_box_outline_blank",clickable:"",class:"preview",small:"",onClick:S[0]||(S[0]=$=>x.$emit("input",!x.value))},null,8,["name"])):x.is==="interface-input"?Qt((j(),Re("input",{key:1,ref_key:"inputEl",ref:r,type:"text",pattern:d.value,value:x.value,placeholder:"--",onInput:S[1]||(S[1]=$=>_($.target.value))},null,40,U5e)),[[w]]):x.is==="select"?(j(),ye(F,{key:2,inline:"",items:x.choices,"model-value":x.value,placeholder:h(o)("select"),"allow-other":"","group-selectable":"","onUpdate:modelValue":S[2]||(S[2]=$=>_($))},null,8,["items","model-value","placeholder"])):x.is==="interface-datetime"?(j(),Re(hn,{key:3},[Qt(ke("input",{ref_key:"inputEl",ref:r,type:"text",value:x.value,placeholder:"--",onInput:S[3]||(S[3]=$=>_($.target.value))},null,40,q5e),[[w]]),T(L,{ref_key:"dateTimeMenu",ref:a,"close-on-content-click":!1,"show-arrow":"",placement:"bottom-start",seamless:"","full-height":""},{activator:I(({toggle:$})=>[T(A,{class:"preview",name:"event",small:"",onClick:$},null,8,["onClick"])]),default:I(()=>{var $;return[ke("div",W5e,[T(C,{type:x.type,"model-value":x.value,"onUpdate:modelValue":_,onClose:($=a.value)==null?void 0:$.deactivate},null,8,["type","model-value","onClose"])])]}),_:1},512)],64)):(j(),ye(L,{key:4,"close-on-content-click":!1,"show-arrow":"",placement:"bottom-start"},{activator:I(({toggle:$})=>[x.type.startsWith("geometry")||x.type==="json"?(j(),ye(A,{key:0,class:"preview",name:x.type==="json"?"integration_instructions":"map",small:"",onClick:$},null,8,["name","onClick"])):(j(),Re("div",{key:1,class:"preview",onClick:$},me(u.value),9,G5e))]),default:I(()=>[ke("div",{class:yn(["input",x.type])},[(j(),ye(Uo(x.is),{class:"input-component",small:"",type:x.type,value:x.value,onInput:S[4]||(S[4]=$=>_($))},null,40,["type","value"]))],2)]),_:1}))}}}),S4=Wt(Y5e,[["__scopeId","data-v-743cebaa"]]);function $7(n){return n?Object.keys(n)[0]:""}function Zm(n){const e=$7(n);if(e.startsWith("_")||!et.isPlainObject(n[e]))return"";const t=Zm(n[e]);return t!==""?`${e}.${t}`:e}function jx(n){return n.includes("(")&&n.includes(")")}function i$(n){return $7(et.get(n,Zm(n)))}function Bk(n,e,t){return i(n.split("."));function i(o){const a=o.shift();return a!==void 0?{[a]:i(o)}:{[e]:t}}}const X5e={key:2,class:"list"},K5e={class:"and"},Z5e=Pt({__name:"input-group",props:{field:{},collection:{}},emits:["update:field"],setup(n,{emit:e}){const t=n,i=e,o=so(),a=Ha(),{t:r}=un(),l=Ce(()=>{const _=o.getField(t.collection,Zm(t.field));if((_==null?void 0:_.type)==="alias"){const x=a.getRelationsForField(t.collection,Zm(t.field));if(x[0])return o.getField(x[0].collection,x[0].field)}return _}),s=Ce(()=>i$(t.field)),u=Ce(()=>{var x,S,A,F;return(A=(S=(x=l.value)==null?void 0:x.meta)==null?void 0:S.options)!=null&&A.choices?"select":"interface-"+{bigInteger:"input",binary:"input",boolean:"boolean",date:"datetime",dateTime:"datetime",decimal:"input",float:"input",integer:"input",json:"input-code",string:"input",text:"input-multiline",time:"datetime",timestamp:"datetime",uuid:"input",csv:"input",hash:"input-hash",geometry:"map"}[((F=l.value)==null?void 0:F.type)||"string"]}),d=Ce({get(){const _=Zm(t.field),x=et.get(t.field,`${_}.${s.value}`);return["_in","_nin"].includes(s.value)?[...x.filter(S=>S!==null&&S!==""),null]:x},set(_){const x=Zm(t.field);let S;["_in","_nin"].includes(s.value)?S=_.flatMap(A=>typeof A=="string"?A.split(",").map(F=>F.trim()):"").filter(A=>A!==null&&A!==""):S=_,i("update:field",Bk(x,s.value,S))}}),g=Ce(()=>{var _,x,S;return((S=(x=(_=l.value)==null?void 0:_.meta)==null?void 0:x.options)==null?void 0:S.choices)??[]});function m(_,x){const S=Array.isArray(d.value)?et.clone(d.value):new Array(_+1);S[_]=x,d.value=S}return(_,x)=>{var S,A,F,C;return["_eq","_neq","_lt","_gt","_lte","_gte"].includes(s.value)?(j(),ye(S4,{key:0,is:u.value,choices:g.value,type:((S=l.value)==null?void 0:S.type)??"unknown",value:d.value,onInput:x[0]||(x[0]=L=>d.value=L)},null,8,["is","choices","type","value"])):["_contains","_ncontains","_icontains","_starts_with","_istarts_with","_nstarts_with","_nistarts_with","_ends_with","_iends_with","_nends_with","_niends_with","_regex"].includes(s.value)?(j(),ye(S4,{key:1,is:"interface-input",choices:g.value,type:((A=l.value)==null?void 0:A.type)??"unknown",value:d.value,onInput:x[1]||(x[1]=L=>d.value=L)},null,8,["choices","type","value"])):["_in","_nin"].includes(s.value)?(j(),Re("div",X5e,[(j(!0),Re(hn,null,Si(d.value,(L,w)=>{var $;return j(),Re("div",{key:w,class:"value"},[T(S4,{is:u.value,type:(($=l.value)==null?void 0:$.type)??"unknown",value:L,focus:!1,choices:g.value,"comma-allowed":"",onInput:B=>m(w,B)},null,8,["is","type","value","choices","onInput"])])}),128))])):["_between","_nbetween"].includes(s.value)?(j(),Re(hn,{key:3},[T(S4,{is:u.value,choices:g.value,type:((F=l.value)==null?void 0:F.type)??"unknown",value:d.value[0]??"",onInput:x[2]||(x[2]=L=>m(0,L))},null,8,["is","choices","type","value"]),ke("div",K5e,me(h(r)("interfaces.filter.and")),1),T(S4,{is:u.value,choices:g.value,type:((C=l.value)==null?void 0:C.type)??"unknown",value:d.value[1]??"",onInput:x[3]||(x[3]=L=>m(1,L))},null,8,["is","choices","type","value"])],64)):We("",!0)}}}),J5e=Wt(Z5e,[["__scopeId","data-v-f05a7ce8"]]),Q5e={class:"row"},ebe={key:0,block:"",class:"node field"},tbe={key:0,class:"plain-name"},nbe=["onClick"],ibe={class:"delete"},obe={key:1,class:"node logic"},rbe=["onClick"],abe={class:"text"},sbe={class:"delete"},lbe=Pt({__name:"nodes",props:{filter:{},collection:{},field:{default:void 0},depth:{default:1},inline:{type:Boolean,default:!1},includeValidation:{type:Boolean,default:!1},includeRelations:{type:Boolean,default:!0},relationalFieldSelectable:{type:Boolean,default:!0},rawFieldNames:{type:Boolean,default:!1}},emits:["remove-node","update:filter","change"],setup(n,{emit:e}){const t=n,i=e,{collection:o}=vo(t),a=Go(t,"filter",i),r=so(),l=Ha(),{t:s}=un(),u=Ce({get(){return t.filter.map((C,L)=>{const w=$7(C),$=w.startsWith("_")===!1;return $?{id:L,isField:$,name:w,field:Zm(C),comparator:i$(C),node:C}:{id:L,name:w,isField:$,node:C}})},set(C){i("update:filter",C.map(L=>L.node))}});function d(C){const w=Zm(C).split(".");return w.map((B,V)=>{const W=jx(B);let J=B,oe;if(W){const{field:fe,fn:Y}=J0(B);oe=Y,J=fe}const ue=w.slice(0,V),be=r.getField(t.collection,[...ue,J].join(".")),ie=(t.rawFieldNames?be==null?void 0:be.field:be==null?void 0:be.name)??J;return W?s(`functions.${oe}`)+` (${ie})`:ie}).join(" -> ")}function g(C){return t.filter.findIndex(L=>L===C)}function m(C){const L=u.value[C];u.value[C].isField||("_and"in L.node?a.value=a.value.map((w,$)=>$===C?{_or:L.node._and}:w):a.value=a.value.map((w,$)=>$===C?{_and:L.node._or}:w))}function _(C,L){const w=u.value[C];if(w.isField===!1)return;const $=w.field+"."+w.comparator,B=et.get(w.node,$);switch(L){case"_in":case"_nin":V(Xc(B)||[]);break;case"_between":case"_nbetween":V((Xc(B)||[]).slice(0,2));break;case"_null":case"_nnull":case"_empty":case"_nempty":V(!0);break;case"_intersects":case"_nintersects":case"_intersects_bbox":case"_nintersects_bbox":["_intersects","_nintersects","_intersects_bbox","_nintersects_bbox"].includes(w.comparator)?V(B):V(null);break;default:["_null","_nnull","_empty","_nempty"].includes(w.comparator)?V(null):V(Array.isArray(B)?B[0]:B);break}function V(W){w.isField!==!1&&(a.value=a.value.map((J,oe)=>oe===C?Bk(w.field,L,W):J))}}function x(C,L){const w=u.value[C],$=r.getField(t.collection,w.name),B=r.getField(t.collection,L);if(w.isField===!1)return;const V=w.field+"."+w.comparator;let W=et.get(w.node,V),J=w.comparator;($==null?void 0:$.type)!==(B==null?void 0:B.type)&&(W=null,J=A(L)[0].value),a.value=a.value.map((oe,ue)=>ue===C?Bk(L,J,W):oe)}function S(C,L){a.value=a.value.map((w,$)=>$===C?L:w)}function A(C){var w;let L;if(jx(C)){const $=C.split("(")[0];L=ER($)}else{const $=r.getField(t.collection,C);if(L=($==null?void 0:$.type)||"unknown",L==="alias"){const B=l.getRelationsForField(t.collection,C);B[0]&&(L=((w=r.getField(B[0].collection,B[0].field))==null?void 0:w.type)||"unknown")}}return SR(L,{includeValidation:t.includeValidation}).map($=>({text:s(`operators.${$}`),value:`_${$}`}))}function F(C){if(!t.collection)return!1;let L=Zm(C);if(jx(L)){const $=L.split("."),{field:B}=J0($.at(-1));L=[...$.slice(0,-1),B].join(".")}return!!r.getField(t.collection,L)}return(C,L)=>{const w=G("v-icon"),$=G("v-field-list"),B=G("v-menu"),V=G("v-select"),W=G("nodes",!0),J=hi("tooltip");return j(),ye(h(ud),Fr({tag:"ul",draggable:".row",handle:".drag-handle",class:"group",list:h(a),group:{name:"g1"},"item-key":g,"swap-threshold":.3},{"force-fallback":!0},{onChange:L[1]||(L[1]=oe=>C.$emit("change"))}),{item:I(({element:oe,index:ue})=>[ke("li",Q5e,[u.value[ue].isField?(j(),Re("div",ebe,[ke("div",{class:yn(["header",{inline:C.inline,"raw-field-names":C.rawFieldNames}])},[T(w,{name:"drag_indicator",class:"drag-handle",small:""}),C.field||!F(oe)?(j(),Re("span",tbe,me(d(oe)),1)):(j(),ye(B,{key:1,placement:"bottom-start","show-arrow":""},{activator:I(({toggle:be})=>[ke("button",{class:"name",onClick:be},[ke("span",null,me(d(oe)),1)],8,nbe)]),default:I(()=>[T($,{collection:h(o),field:C.field,"include-functions":"","include-relations":C.includeRelations,"relational-field-selectable":C.relationalFieldSelectable,"allow-select-all":!1,"raw-field-names":C.rawFieldNames,onAdd:be=>x(ue,be[0])},null,8,["collection","field","include-relations","relational-field-selectable","raw-field-names","onAdd"])]),_:2},1024)),T(V,{inline:"",class:"comparator",placement:"bottom-start","model-value":u.value[ue].comparator,items:A(u.value[ue].field),"onUpdate:modelValue":be=>_(ue,be)},null,8,["model-value","items","onUpdate:modelValue"]),T(J5e,{field:oe,collection:h(o),"onUpdate:field":be=>S(ue,be)},null,8,["field","collection","onUpdate:field"]),ke("span",ibe,[Qt(T(w,{name:"close",small:"",clickable:"",onClick:be=>C.$emit("remove-node",[ue])},null,8,["onClick"]),[[J,h(s)("delete_label")]])])],2)])):(j(),Re("div",obe,[ke("div",{class:yn(["header",{inline:C.inline}])},[T(w,{name:"drag_indicator",class:"drag-handle",small:""}),ke("div",{class:yn(["logic-type",{or:u.value[ue].name==="_or"}])},[ke("span",{class:"key",onClick:be=>m(ue)},me(u.value[ue].name==="_and"?h(s)("interfaces.filter.logic_type_and"):h(s)("interfaces.filter.logic_type_or")),9,rbe),ke("span",abe,me(`— ${u.value[ue].name==="_and"?h(s)("interfaces.filter.all"):h(s)("interfaces.filter.any")} ${h(s)("interfaces.filter.of_the_following")}`),1)],2),ke("span",sbe,[Qt(T(w,{name:"close",small:"",clickable:"",onClick:be=>C.$emit("remove-node",[ue])},null,8,["onClick"]),[[J,h(s)("delete_label")]])])],2),T(W,{filter:oe[u.value[ue].name],collection:h(o),depth:C.depth+1,inline:C.inline,"raw-field-names":C.rawFieldNames,onChange:L[0]||(L[0]=be=>C.$emit("change")),onRemoveNode:be=>C.$emit("remove-node",[`${ue}.${u.value[ue].name}`,...be]),"onUpdate:filter":be=>S(ue,{[u.value[ue].name]:be})},null,8,["filter","collection","depth","inline","raw-field-names","onRemoveNode","onUpdate:filter"])]))])]),_:1},16,["list"])}}}),cbe=Wt(lbe,[["__scopeId","data-v-c752b15e"]]),ube={key:0,class:"no-rules"},dbe={key:0,class:"buttons"},fbe={key:1,class:"buttons"},pbe=["onClick"],hbe=["placeholder"],mbe=Pt({__name:"system-filter",props:{value:{default:void 0},disabled:{type:Boolean,default:!1},collectionName:{default:void 0},collectionField:{default:void 0},collectionRequired:{type:Boolean,default:!0},fieldName:{default:void 0},inline:{type:Boolean,default:!1},includeValidation:{type:Boolean,default:!1},includeRelations:{type:Boolean,default:!0},relationalFieldSelectable:{type:Boolean,default:!0},rawFieldNames:{type:Boolean,default:!1}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=un(),a=Oe(),r=Sc("values",Oe({})),l=Ce(()=>t.collectionName?t.collectionName:r.value[t.collectionField]??null),s=so(),u=Ha(),d=Ce({get(){const A=typeof t.value=="string"?ug(t.value):t.value;return!A||et.isEmpty(A)?[]:$7(A)==="_and"?et.cloneDeep(A._and):et.cloneDeep([A])},set(A){A.length===0?i("input",null):i("input",{_and:A})}});function g(){d.value.length===0?i("input",null):i("input",{_and:d.value})}function m(A){var F,C,L;if(A==="$group")d.value=d.value.concat({_and:[]});else{let w;const $=s.getField(l.value,A);if(A.includes("(")&&A.includes(")")){const ue=A.split("(")[0];w=ER(ue),A=MX(A)}else if(w=($==null?void 0:$.type)||"unknown",w==="alias"){const ue=u.getRelationsForField(l.value,A);ue[0]&&(w=((F=s.getField(ue[0].collection,ue[0].field))==null?void 0:F.type)||"unknown")}const B=SR(w,{includeValidation:t.includeValidation}),V=(L=(C=$==null?void 0:$.meta)==null?void 0:C.options)!=null&&L.choices&&B.includes("eq")?"eq":B[0],J=V&&["empty","nempty","null","nnull"].includes(V)?!0:null,oe=et.set({},A,{["_"+V]:J});d.value=d.value.concat(oe)}}function _(A){const F=A.pop();if(A.length===0){d.value=d.value.filter((L,w)=>w!==Number(F));return}let C=et.get(d.value,A.join("."));C=C.filter((L,w)=>w!==Number(F)),d.value=et.set(d.value,A.join("."),C)}const x=Oe(null);function S(){x.value&&(a.value&&a.value.deactivate(),m(x.value),x.value=null)}return(A,F)=>{const C=G("v-notice"),L=G("v-list"),w=G("v-icon"),$=G("v-text-overflow"),B=G("v-list-item-content"),V=G("v-list-item"),W=G("v-divider"),J=G("v-field-list"),oe=G("v-menu");return A.collectionRequired&&!A.collectionField&&!l.value?(j(),ye(C,{key:0,type:"warning"},{default:I(()=>[ze(me(h(o)("collection_field_not_setup")),1)]),_:1})):A.collectionRequired&&!l.value?(j(),ye(C,{key:1,type:"warning"},{default:I(()=>[ze(me(h(o)("select_a_collection")),1)]),_:1})):(j(),Re("div",{key:2,class:yn(["system-filter",{inline:A.inline,empty:d.value.length===0,field:A.fieldName!==void 0}])},[T(L,{mandatory:""},{default:I(()=>[d.value.length===0?(j(),Re("div",ube,me(h(o)("interfaces.filter.no_rules")),1)):(j(),ye(cbe,{key:1,filter:d.value,"onUpdate:filter":F[0]||(F[0]=ue=>d.value=ue),collection:l.value,field:A.fieldName,depth:1,"include-validation":A.includeValidation,"include-relations":A.includeRelations,"relational-field-selectable":A.relationalFieldSelectable,"raw-field-names":A.rawFieldNames,onRemoveNode:F[1]||(F[1]=ue=>_(ue)),onChange:g},null,8,["filter","collection","field","include-validation","include-relations","relational-field-selectable","raw-field-names"]))]),_:1}),A.fieldName?(j(),Re("div",dbe,[ke("button",{onClick:F[2]||(F[2]=ue=>m(A.fieldName))},me(h(o)("interfaces.filter.add_filter")),1),ke("button",{onClick:F[3]||(F[3]=ue=>m("$group"))},me(h(o)("interfaces.filter.add_group")),1)])):(j(),Re("div",fbe,[T(oe,{ref_key:"menuEl",ref:a,placement:"bottom-start","show-arrow":""},{activator:I(({toggle:ue,active:be})=>[ke("button",{class:yn(["add-filter",{active:be}]),onClick:ue},[A.inline?(j(),ye(w,{key:0,name:"add",class:"add",small:""})):We("",!0),ke("span",null,me(h(o)("interfaces.filter.add_filter")),1),T(w,{name:"expand_more",class:"expand_more"})],10,pbe)]),default:I(()=>[A.collectionRequired?(j(),ye(J,{key:0,collection:l.value,"include-functions":"","include-relations":A.includeRelations,"relational-field-selectable":A.relationalFieldSelectable,"allow-select-all":!1,"raw-field-names":A.rawFieldNames,onAdd:F[5]||(F[5]=ue=>m(ue[0]))},{prepend:I(()=>[T(V,{clickable:"",onClick:F[4]||(F[4]=ue=>m("$group"))},{default:I(()=>[T(B,null,{default:I(()=>[T($,{text:h(o)("interfaces.filter.add_group")},null,8,["text"])]),_:1})]),_:1}),T(W)]),_:1},8,["collection","include-relations","relational-field-selectable","raw-field-names"])):(j(),ye(L,{key:1,mandatory:!1},{default:I(()=>[T(V,{clickable:"",onClick:F[6]||(F[6]=ue=>m("$group"))},{default:I(()=>[T(B,null,{default:I(()=>[T($,{text:h(o)("interfaces.filter.add_group")},null,8,["text"])]),_:1})]),_:1}),T(W),T(V,{onClick:F[8]||(F[8]=Ji(()=>{},["stop"]))},{default:I(()=>[T(B,null,{default:I(()=>[Qt(ke("input",{"onUpdate:modelValue":F[7]||(F[7]=ue=>x.value=ue),class:"new-key-input",placeholder:h(o)("interfaces.filter.add_key_placeholder"),onKeydown:g1(S,["enter"])},null,40,hbe),[[Ty,x.value]])]),_:1})]),_:1})]),_:1}))]),_:1},512)]))],2))}}}),vbe=Wt(mbe,[["__scopeId","data-v-965dd0d3"]]),gbe=Xo({id:"system-filter",name:"$t:interfaces.filter.name",icon:"search",component:vbe,types:["json"],options:[],system:!0}),o$=["root"],jb=Oe(!1),Vx=Oe(null),HL=Oe(null),UL=Oe(o$);function w5(n,e){const t=Ce(()=>a$(HL.value,n==null?void 0:n.value)),i=Oe(qL(n==null?void 0:n.value)),o=Ce({get(){return!(n!=null&&n.value)&&!(e!=null&&e.value)?UL.value:i.value},set(r){!(n!=null&&n.value)&&!(e!=null&&e.value)?UL.value=r:i.value=r}});return n&&Wn(n,(r,l)=>{r&&l===void 0&&(i.value=qL(r))}),Vx.value===null&&a(),{loading:jb,folders:Vx,nestedFolders:t,fetchFolders:a,openFolders:o};async function a(){if(jb.value!==!0){jb.value=!0;try{const r=await ld("/folders",{params:{sort:"name"}});Vx.value=r,HL.value=ybe(r)}catch(r){Vi(r)}finally{jb.value=!1}}}}function ybe(n){return n.map(e=>r$(e,n)).filter(e=>e.parent===null)}function r$(n,e){const t={...n},i=e.reduce((o,a)=>(a.parent===n.id&&a.id!==n.id&&o.push(r$(a,e)),o),[]);return i.length>0&&(t.children=i),t}function a$(n,e){if(!n)return null;if(!e)return n;for(const t of n){if(t.id===e)return t.children??null;if(t.children){const i=a$(t.children,e);if(i)return i}}return null}function qL(n){return n?[n]:o$}const _be=Pt({__name:"folder-list-item",props:{folder:{},currentFolder:{},disabled:{type:Boolean},disabledFolders:{}},emits:["click"],setup(n){return(e,t)=>{const i=G("v-icon"),o=G("v-list-item-icon"),a=G("v-list-item-content"),r=G("v-list-item"),l=G("folder-list-item",!0),s=G("v-list-group");return!e.folder.children||e.folder.children.length===0?(j(),ye(r,{key:0,active:e.currentFolder===e.folder.id,disabled:e.disabled,clickable:"",onClick:t[0]||(t[0]=u=>e.$emit("click",e.folder.id))},{default:I(()=>[T(o,null,{default:I(()=>[T(i,{name:e.currentFolder===e.folder.id?"folder_open":"folder"},null,8,["name"])]),_:1}),T(a,null,{default:I(()=>[ze(me(e.folder.name),1)]),_:1})]),_:1},8,["active","disabled"])):(j(),ye(s,{key:1,clickable:"",active:e.currentFolder===e.folder.id,disabled:e.disabled,onClick:t[2]||(t[2]=u=>e.$emit("click",e.folder.id))},{activator:I(()=>[T(o,null,{default:I(()=>[T(i,{name:e.currentFolder===e.folder.id?"folder_open":"folder"},null,8,["name"])]),_:1}),T(a,null,{default:I(()=>[ze(me(e.folder.name),1)]),_:1})]),default:I(()=>[(j(!0),Re(hn,null,Si(e.folder.children,u=>{var d;return j(),ye(l,{key:u.id,folder:u,"current-folder":e.currentFolder,disabled:(d=e.disabledFolders)==null?void 0:d.includes(u.id),"disabled-folders":e.disabledFolders,onClick:t[1]||(t[1]=g=>e.$emit("click",g))},null,8,["folder","current-folder","disabled","disabled-folders"])}),128))]),_:1},8,["active","disabled"]))}}}),bbe=Pt({__name:"folder",props:{value:{},disabledFolders:{},disabled:{type:Boolean},placeholder:{}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=un(),{nestedFolders:a,folders:r,loading:l}=w5(),s=Ce(()=>{if(!t.value||!r.value)return o("interfaces.system-folder.root_name");const g=r.value.find(m=>m.id===t.value);return g?d(g,r.value).map(m=>m.name).join(" / "):t.value});function u(g){return i("input",g)}function d(g,m){const _=new Map(m.map(S=>[S.id,S])),x=S=>(S.parent&&_.has(S.parent)?x(_.get(S.parent)):[]).concat(S);return x(g)}return(g,m)=>{const _=G("v-skeleton-loader"),x=G("v-icon"),S=G("v-input"),A=G("v-list-item-icon"),F=G("v-list-item-content"),C=G("v-list-item"),L=G("v-divider"),w=G("v-list"),$=G("v-menu");return h(l)?(j(),ye(_,{key:0})):(j(),ye($,{key:1,class:"v-select",attached:"","show-arrow":!1,disabled:g.disabled,"close-on-content-click":""},{activator:I(({toggle:B,active:V})=>[T(S,{readonly:"",active:V,"model-value":s.value,placeholder:g.placeholder,disabled:g.disabled,onClick:B},{prepend:I(()=>[T(x,{name:g.value?"folder_open":"folder_special"},null,8,["name"])]),append:I(()=>[T(x,{name:"expand_more",class:yn({active:V})},null,8,["class"])]),_:2},1032,["active","model-value","placeholder","disabled","onClick"])]),default:I(()=>[T(w,null,{default:I(()=>[T(C,{clickable:"",active:!g.value,onClick:m[0]||(m[0]=B=>u(null))},{default:I(()=>[T(A,null,{default:I(()=>[T(x,{name:"folder_special"})]),_:1}),T(F,null,{default:I(()=>[ze(me(h(o)("interfaces.system-folder.root_name")),1)]),_:1})]),_:1},8,["active"]),h(a)&&h(a).length>0?(j(),ye(L,{key:0})):We("",!0),(j(!0),Re(hn,null,Si(h(a),B=>{var V;return j(),ye(_be,{key:B.id,clickable:"",folder:B,"current-folder":g.value,disabled:(V=g.disabledFolders)==null?void 0:V.includes(B.id),"disabled-folders":g.disabledFolders,onClick:u},null,8,["folder","current-folder","disabled","disabled-folders"])}),128))]),_:1})]),_:1},8,["disabled"]))}}}),xbe=Wt(bbe,[["__scopeId","data-v-5f37a0bc"]]),wbe=Xo({id:"system-folder",name:"$t:interfaces.system-folder.folder",description:"$t:interfaces.system-folder.description",icon:"folder",component:xbe,types:["uuid"],options:[],system:!0,recommendedDisplays:["raw"]}),kbe=Pt({__name:"system-inline-fields",props:{value:{}},emits:["input"],setup(n,{emit:e}){const{t}=un(),i=n,o=e,a=Ce({get(){var l;return((l=i.value)==null?void 0:l.map(s=>{const{field:u,type:d,name:g,meta:m,schema:_}=s,x=!g&&u?ac(u):g,S={field:u,type:d,name:x};for(const[A,F]of Object.entries(m??{}))S[`meta.${A}`]=F;for(const[A,F]of Object.entries(_??{}))S[`schema.${A}`]=F;return S}))??null},set(l){o("input",l==null?void 0:l.map(s=>{const u={};for(const[d,g]of Object.entries(s))et.set(u,d.split("."),g);return u}))}}),r=Ce(()=>[{name:t("field_key"),field:"field",type:"string",meta:{interface:"input",width:"half",required:!0,options:{dbSafe:!0,font:"monospace",placeholder:t("field_key_placeholder")}}},{name:t("field_name"),field:"name",type:"string",meta:{interface:"system-input-translated-string",width:"half",options:{placeholder:t("field_name_placeholder")}}},{name:t("type"),field:"type",type:"string",meta:{interface:"select-dropdown",width:"half",options:{choices:Cl(mE)}}},{name:t("interface_label"),field:"meta.interface",type:"string",meta:{interface:"system-interface",width:"half",options:{typeField:"type"}}},{name:t("note"),field:"meta.note",type:"string",meta:{interface:"system-input-translated-string",width:"full",options:{placeholder:t("interfaces.list.field_note_placeholder")}}},{name:t("field_width"),field:"meta.width",type:"string",meta:{interface:"select-dropdown",width:"half",options:{choices:[{value:"half",text:t("half_width")},{value:"full",text:t("full_width")}]}}},{name:t("required"),field:"meta.required",type:"boolean",meta:{interface:"boolean",options:{label:t("requires_value")},width:"half"}},{name:t("options"),field:"meta.options",type:"string",meta:{interface:"system-interface-options",width:"full",options:{interfaceField:"meta.interface"}}}]);return(l,s)=>{const u=G("interface-list");return j(),ye(u,{value:a.value,template:"{{ name }} - {{ meta.interface }}",fields:r.value,onInput:s[0]||(s[0]=d=>a.value=d)},null,8,["value","fields"])}}}),Cbe=Xo({id:"system-inline-fields",name:"Inline Fields",description:"Inline Fields",icon:"box",component:kbe,system:!0,types:["json"],group:"standard",options:[]}),Sbe=Pt({__name:"input-password",props:{value:{default:null},autofocus:{type:Boolean,default:!1},autocomplete:{default:"new-password"},placeholder:{},disabled:{type:Boolean,default:!1}},emits:["input"],setup(n,{emit:e}){const t=e,{t:i}=un(),o=Oe(!0);function a(){o.value=!o.value}return(r,l)=>{const s=G("v-icon"),u=G("v-input"),d=hi("tooltip");return j(),ye(u,{"model-value":r.value,type:o.value?"password":"text",autocomplete:r.autocomplete,autofocus:r.autofocus,placeholder:r.placeholder??h(i)("password"),disabled:r.disabled,"onUpdate:modelValue":l[0]||(l[0]=g=>t("input",g))},{append:I(()=>[Qt(T(s,{name:o.value?"visibility":"visibility_off",clickable:"",onClick:a},null,8,["name"]),[[d,o.value?h(i)("show_password"):h(i)("hide_password")]])]),_:1},8,["model-value","type","autocomplete","autofocus","placeholder","disabled"])}}}),Ebe=Xo({id:"system-input-password",name:"$t:interfaces.input-password.input-password",description:"$t:interfaces.input-password.description",icon:"visibility",component:Sbe,system:!0,types:["string","text"],group:"standard",options:[{field:"placeholder",name:"$t:placeholder",type:"string",meta:{width:"half",interface:"input",options:{placeholder:"$t:enter_a_placeholder"}}}]});function N7(n){return PR()?(ZX(n),!0):!1}function u2(n){return typeof n=="function"?n():h(n)}const Abe=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Tbe=n=>n!=null,Dbe=Object.prototype.toString,Lbe=n=>Dbe.call(n)==="[object Object]",j0=()=>{};function Ibe(n,e){function t(...i){return new Promise((o,a)=>{Promise.resolve(n(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})).then(o).catch(a)})}return t}const s$=n=>n();function Mbe(n,e={}){let t,i,o=j0;const a=l=>{clearTimeout(l),o(),o=j0};return l=>{const s=u2(n),u=u2(e.maxWait);return t&&a(t),s<=0||u!==void 0&&u<=0?(i&&(a(i),i=null),Promise.resolve(l())):new Promise((d,g)=>{o=e.rejectOnCancel?g:d,u&&!i&&(i=setTimeout(()=>{t&&a(t),i=null,d(l())},u)),t=setTimeout(()=>{i&&a(i),i=null,d(l())},s)})}}function Fbe(n=s$){const e=Oe(!0);function t(){e.value=!1}function i(){e.value=!0}const o=(...a)=>{e.value&&n(...a)};return{isActive:JX(e),pause:t,resume:i,eventFilter:o}}function Pbe(n){return OR()}function l$(n,e,t={}){const{eventFilter:i=s$,...o}=t;return Wn(n,Ibe(i,e),o)}function Obe(n,e,t={}){const{eventFilter:i,...o}=t,{eventFilter:a,pause:r,resume:l,isActive:s}=Fbe(i);return{stop:l$(n,e,{...o,eventFilter:a}),pause:r,resume:l,isActive:s}}function Rbe(n,e=!0,t){Pbe()?Yr(n,t):e?n():ad(n)}function c$(n,e,t={}){const{debounce:i=0,maxWait:o=void 0,...a}=t;return l$(n,e,{...a,eventFilter:Mbe(i,{maxWait:o})})}function zbe(n,e,t){let i;In(t)?i={evaluating:t}:i=t||{};const{lazy:o=!1,evaluating:a=void 0,shallow:r=!0,onError:l=j0}=i,s=Oe(!o),u=r?$h(e):Oe(e);let d=0;return Z0(async g=>{if(!s.value)return;d++;const m=d;let _=!1;a&&Promise.resolve().then(()=>{a.value=!0});try{const x=await n(S=>{g(()=>{a&&(a.value=!1),_||S()})});m===d&&(u.value=x)}catch(x){l(x)}finally{a&&m===d&&(a.value=!1),_=!0}}),o?Ce(()=>(s.value=!0,u.value)):u}const bv=Abe?window:void 0;function q6(n){var e;const t=u2(n);return(e=t==null?void 0:t.$el)!=null?e:t}function r2(...n){let e,t,i,o;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,i,o]=n,e=bv):[e,t,i,o]=n,!e)return j0;Array.isArray(t)||(t=[t]),Array.isArray(i)||(i=[i]);const a=[],r=()=>{a.forEach(d=>d()),a.length=0},l=(d,g,m,_)=>(d.addEventListener(g,m,_),()=>d.removeEventListener(g,m,_)),s=Wn(()=>[q6(e),u2(o)],([d,g])=>{if(r(),!d)return;const m=Lbe(g)?{...g}:g;a.push(...t.flatMap(_=>i.map(x=>l(d,_,x,m))))},{immediate:!0,flush:"post"}),u=()=>{s(),r()};return N7(u),u}function $be(){const n=Oe(!1),e=OR();return e&&Yr(()=>{n.value=!0},e),n}function u$(n){const e=$be();return Ce(()=>(e.value,!!n()))}function Nbe(n,e={}){const{window:t=bv}=e,i=u$(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let o;const a=Oe(!1),r=u=>{a.value=u.matches},l=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",r):o.removeListener(r))},s=Z0(()=>{i.value&&(l(),o=t.matchMedia(u2(n)),"addEventListener"in o?o.addEventListener("change",r):o.addListener(r),a.value=o.matches)});return N7(()=>{s(),l(),o=void 0}),a}const Vb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Hb="__vueuse_ssr_handlers__",Bbe=jbe();function jbe(){return Hb in Vb||(Vb[Hb]=Vb[Hb]||{}),Vb[Hb]}function Vbe(n,e){return Bbe[n]||e}function Hbe(n){return n==null?"any":n instanceof Set?"set":n instanceof Map?"map":n instanceof Date?"date":typeof n=="boolean"?"boolean":typeof n=="string"?"string":typeof n=="object"?"object":Number.isNaN(n)?"any":"number"}const Ube={boolean:{read:n=>n==="true",write:n=>String(n)},object:{read:n=>JSON.parse(n),write:n=>JSON.stringify(n)},number:{read:n=>Number.parseFloat(n),write:n=>String(n)},any:{read:n=>n,write:n=>String(n)},string:{read:n=>n,write:n=>String(n)},map:{read:n=>new Map(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n.entries()))},set:{read:n=>new Set(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n))},date:{read:n=>new Date(n),write:n=>n.toISOString()}},WL="vueuse-storage";function d$(n,e,t,i={}){var o;const{flush:a="pre",deep:r=!0,listenToStorageChanges:l=!0,writeDefaults:s=!0,mergeDefaults:u=!1,shallow:d,window:g=bv,eventFilter:m,onError:_=oe=>{console.error(oe)},initOnMounted:x}=i,S=(d?$h:Oe)(typeof e=="function"?e():e);if(!t)try{t=Vbe("getDefaultStorage",()=>{var oe;return(oe=bv)==null?void 0:oe.localStorage})()}catch(oe){_(oe)}if(!t)return S;const A=u2(e),F=Hbe(A),C=(o=i.serializer)!=null?o:Ube[F],{pause:L,resume:w}=Obe(S,()=>B(S.value),{flush:a,deep:r,eventFilter:m});g&&l&&Rbe(()=>{t instanceof Storage?r2(g,"storage",W):r2(g,WL,J),x&&W()}),x||W();function $(oe,ue){if(g){const be={key:n,oldValue:oe,newValue:ue,storageArea:t};g.dispatchEvent(t instanceof Storage?new StorageEvent("storage",be):new CustomEvent(WL,{detail:be}))}}function B(oe){try{const ue=t.getItem(n);if(oe==null)$(ue,null),t.removeItem(n);else{const be=C.write(oe);ue!==be&&(t.setItem(n,be),$(ue,be))}}catch(ue){_(ue)}}function V(oe){const ue=oe?oe.newValue:t.getItem(n);if(ue==null)return s&&A!=null&&t.setItem(n,C.write(A)),A;if(!oe&&u){const be=C.read(ue);return typeof u=="function"?u(be,A):F==="object"&&!Array.isArray(be)?{...A,...be}:be}else return typeof ue!="string"?ue:C.read(ue)}function W(oe){if(!(oe&&oe.storageArea!==t)){if(oe&&oe.key==null){S.value=A;return}if(!(oe&&oe.key!==n)){L();try{(oe==null?void 0:oe.newValue)!==C.write(S.value)&&(S.value=V(oe))}catch(ue){_(ue)}finally{oe?ad(w):w()}}}}function J(oe){W(oe.detail)}return S}function qbe(n,e,t={}){const{root:i,rootMargin:o="0px",threshold:a=0,window:r=bv,immediate:l=!0}=t,s=u$(()=>r&&"IntersectionObserver"in r),u=Ce(()=>{const x=u2(n);return(Array.isArray(x)?x:[x]).map(q6).filter(Tbe)});let d=j0;const g=Oe(l),m=s.value?Wn(()=>[u.value,q6(i),g.value],([x,S])=>{if(d(),!g.value||!x.length)return;const A=new IntersectionObserver(e,{root:q6(S),rootMargin:o,threshold:a});x.forEach(F=>F&&A.observe(F)),d=()=>{A.disconnect(),d=j0}},{immediate:l,flush:"post"}):j0,_=()=>{d(),m(),g.value=!1};return N7(_),{isSupported:s,isActive:g,pause(){d(),g.value=!1},resume(){g.value=!0},stop:_}}function Wbe(n,e={}){const{window:t=bv,scrollTarget:i,threshold:o=0}=e,a=Oe(!1);return qbe(n,r=>{let l=a.value,s=0;for(const u of r)u.time>=s&&(s=u.time,l=u.isIntersecting);a.value=l},{root:i,window:t,threshold:o}),a}const E4=new Map;function Gbe(n){const e=PR();function t(l){var s;const u=E4.get(n)||new Set;u.add(l),E4.set(n,u);const d=()=>o(l);return(s=e==null?void 0:e.cleanups)==null||s.push(d),d}function i(l){function s(...u){o(s),l(...u)}return t(s)}function o(l){const s=E4.get(n);s&&(s.delete(l),s.size||a())}function a(){E4.delete(n)}function r(l,s){var u;(u=E4.get(n))==null||u.forEach(d=>d(l,s))}return{on:t,once:i,off:o,emit:r,reset:a}}function M8(n,e,t={}){const{window:i=bv}=t;return d$(n,e,i==null?void 0:i.localStorage,t)}function zAt(n,e,t={}){const{window:i=bv}=t;return d$(n,e,i==null?void 0:i.sessionStorage,t)}function Ybe(n,e){r2(document,"beforeunload",t=>{n.value&&t.preventDefault()}),fE(e),I7(e)}function Ff(n,e){const t=Oe(!1),i=Oe(null);return Ybe(n,l=>{const{path:s,query:u}=ph();if(n.value&&(!o(s,l.path)&&!a(l.path)||r(u,l.query)))return t.value=!0,i.value=l.fullPath,!1}),{confirmLeave:t,leaveTo:i};function o(l,s){return l===s||s.startsWith(l)&&s.substring(l.length).includes("/")}function a(l){const s=h(e==null?void 0:e.ignorePrefix);return s?l.startsWith(s):!1}function r(l,s){const u=h(e==null?void 0:e.compareQuery);if(!u)return!1;for(const d of u)if(!et.isEqual(l[d],s[d]))return!0;return!1}}function Xbe(n){var i;const{currentUser:e}=Gr();if(!e)return n??{};if(!("id"in e))return n??{};const t={role:((i=e.role)==null?void 0:i.id)??null,user:e.id};return FX(n,t,{$CURRENT_ROLE:e.role,$CURRENT_USER:e})??{}}const L1=dd({id:"permissionsStore",state:()=>({permissions:{}}),actions:{async hydrate(){const n=Gr(),e=await Yn.get("/permissions/me"),t=i(e.data.data);t.length>0&&await n.hydrateAdditionalFields(t),this.permissions=et.mapValues(e.data.data,o=>(Object.values(o).forEach(a=>{a.presets&&(a.presets=Xbe(a.presets))}),o));function i(o){const a=new Set,r=l=>{typeof l=="string"&&(l.startsWith("$CURRENT_USER.")?a.add(l.replace("$CURRENT_USER.","")):l.startsWith("$CURRENT_ROLE.")&&a.add(l.replace("$CURRENT_ROLE.","role.")))};return Object.values(o).forEach(l=>{Object.values(l).forEach(s=>{p5(s.presets,r)})}),Array.from(a)}},dehydrate(){this.$reset()},getPermission(n,e){var t;return((t=this.permissions[n])==null?void 0:t[e])??null},hasPermission(n,e){var i;return Gr().isAdmin?!0:(((i=this.getPermission(n,e))==null?void 0:i.access)??"none")!=="none"}}}),f$=(n,e)=>n.fields?n.fields.includes("*")||n.fields.includes(e):!1,p$=(n,e)=>{const{info:t}=Bs(Oe(n)),i=Gr(),{getPermission:o}=L1();return Ce(()=>{var s,u;const a=h(n);if(!a)return!1;const r=(u=(s=t.value)==null?void 0:s.meta)==null?void 0:u.archive_field;if(!r)return!1;if(i.isAdmin)return!0;const l=o(a,"update");return!l||!f$(l,r)?!1:e.value})},Ub=(n,e)=>{const{hasPermission:t}=L1();return Ce(()=>{const i=h(n);return i?t(i,e):!1})},Kbe=()=>{const{hasPermission:n}=L1();return Ce(()=>n("directus_revisions","read"))},Zbe=n=>{const{info:e}=Bs(Oe(n)),t=Gr(),{getPermission:i}=L1();return Ce(()=>{var l,s;const o=h(n);if(!o)return!1;const a=(s=(l=e.value)==null?void 0:l.meta)==null?void 0:s.sort_field;if(!a)return!1;if(t.isAdmin)return!0;const r=i(o,"update");return r?f$(r,a):!1})};function Ec(n){const e=Ub(n,"read"),t=Ub(n,"create"),i=Ub(n,"update"),o=Ub(n,"delete"),a=Zbe(n),r=p$(n,i),l=Kbe();return{readAllowed:e,createAllowed:t,updateAllowed:i,deleteAllowed:o,sortAllowed:a,archiveAllowed:r,revisionsAllowed:l}}function Jbe(n,e,t){const i=Gr(),{getPermission:o}=L1(),{fields:a,info:r}=Bs(Oe(n));return Ce(()=>{var m,_,x,S,A;const l=h(n);if(!l)return[];let s=et.cloneDeep(a.value);if(i.isAdmin)return s;const u=(m=o(l,"read"))==null?void 0:m.fields;u&&!u.includes("*")&&(s=s.filter(F=>u.includes(F.field)));const d=(x=(_=r.value)==null?void 0:_.meta)!=null&&x.singleton?t.value.update:o(l,h(e)?"create":"update");if(!((S=d==null?void 0:d.fields)!=null&&S.includes("*")))for(const F of s)(A=d==null?void 0:d.fields)!=null&&A.includes(F.field)||(F.meta={...F.meta||{},readonly:!0});const g=d==null?void 0:d.presets;if(g)for(const F of s)F.field in g&&(F.schema={...F.schema||{},default_value:g[F.field]});return s})}const Qbe=n=>n.access==="full",Hx=(n,e,t,i)=>{const o=Gr(),{getPermission:a}=L1(),r=Ce(()=>{const l=h(n);if(!l||h(e))return!1;if(o.isAdmin)return!0;const s=a(l,i);return s?Qbe(s)?!0:null:!1});return Ce(()=>r.value!==null?r.value:t.value[i].access)},e6e={update:{access:!1},delete:{access:!1},share:{access:!1}},t6e=(n,e)=>{const t=Oe(!1),i=Oe(0),o=zbe(async()=>{i.value;const r=h(e);try{return(await Yn.get(`/permissions/me/${h(n)}${r!==null?`/${r}`:""}`)).data.data}catch(l){return Vi(l),{update:{access:!0},delete:{access:!0},share:{access:!0}}}},e6e,{lazy:!0,evaluating:t});return{loading:t,refresh:()=>i.value++,fetchedItemPermissions:o}};function ty(n,e,t){const{loading:i,fetchedItemPermissions:o,refresh:a}=t6e(n,e),r=Hx(n,t,o,"update"),l=Hx(n,t,o,"delete"),s=Hx(n,t,o,"share"),u=p$(n,r),d=Jbe(n,t,o);return{loading:i,refresh:a,updateAllowed:r,deleteAllowed:l,shareAllowed:s,archiveAllowed:u,fields:d}}const n6e=(n,e,t)=>Ce(()=>h(n)?e.value:t.value);function jk(n,e,t){const i=Ec(n),o=ty(n,e,t),a=n6e(t,i.createAllowed,o.updateAllowed);return{collectionPermissions:i,itemPermissions:{...o,saveAllowed:a}}}function F8(n,e,t){const i=Oe(null),o=Oe(!1),a=Oe(null),r=Ce(()=>{var m,_,x;return((m=t==null?void 0:t.template)==null?void 0:m.value)??((x=(_=n.value)==null?void 0:_.meta)==null?void 0:x.display_template)??null}),l=Ce(()=>!r.value||!n.value?null:Gl(r.value)),s=Ce(()=>{var _;if(!l.value||!n.value)return null;const m=(_=t==null?void 0:t.injectData)==null?void 0:_.value;return Au(m?l.value.filter(x=>!et.has(m,x)):l.value,n.value.collection)}),u=Ce(()=>{var _;if(!i.value)return null;const m=(_=t==null?void 0:t.injectData)==null?void 0:_.value;return!m||!l.value?i.value:et.merge({},i.value,et.pick(m,l.value))}),d=Ce(()=>{var m,_;return!!((_=(m=n.value)==null?void 0:m.meta)!=null&&_.singleton)});return Wn([n,e,s],g,{immediate:!0}),{template:r,templateData:u,loading:o,error:a,fetchTemplateValues:g};async function g(){if(!e.value&&!d.value||e.value==="+"||!n.value||s.value===null){i.value=null;return}if(s.value.length===0){i.value={};return}o.value=!0;const m=ds(n.value.collection),_=e.value?`${m}/${encodeURIComponent(e.value)}`:m;try{const x=await Yn.get(_,{params:{fields:s.value}});i.value=x.data.data}catch(x){a.value=x}finally{o.value=!1}}}function PE(n){return Ce(()=>h(n).reduce(function(e,t){var i;return((i=t.schema)==null?void 0:i.default_value)!==void 0&&!(t.schema.is_primary_key&&t.schema.data_type==="integer"&&typeof t.schema.default_value=="string")&&(e[t.field]=t.schema.default_value),e},{}))}var i6e=(n,e,t=500)=>class extends Error{constructor(o,a){const r=typeof e=="string"?e:e(o);super(r,a);Di(this,"name","DirectusError");Di(this,"extensions");Di(this,"code",n.toUpperCase());Di(this,"status",t);this.extensions=o}toString(){return`${this.name} [${this.code}]: ${this.message}`}},W6=(n=>(n.ContainsNullValues="CONTAINS_NULL_VALUES",n.ContentTooLarge="CONTENT_TOO_LARGE",n.Forbidden="FORBIDDEN",n.IllegalAssetTransformation="ILLEGAL_ASSET_TRANSFORMATION",n.Internal="INTERNAL_SERVER_ERROR",n.InvalidCredentials="INVALID_CREDENTIALS",n.InvalidForeignKey="INVALID_FOREIGN_KEY",n.InvalidIp="INVALID_IP",n.InvalidOtp="INVALID_OTP",n.InvalidPayload="INVALID_PAYLOAD",n.InvalidProvider="INVALID_PROVIDER",n.InvalidProviderConfig="INVALID_PROVIDER_CONFIG",n.InvalidQuery="INVALID_QUERY",n.InvalidToken="INVALID_TOKEN",n.LimitExceeded="LIMIT_EXCEEDED",n.MethodNotAllowed="METHOD_NOT_ALLOWED",n.NotNullViolation="NOT_NULL_VIOLATION",n.OutOfDate="OUT_OF_DATE",n.RangeNotSatisfiable="RANGE_NOT_SATISFIABLE",n.RecordNotUnique="RECORD_NOT_UNIQUE",n.RequestsExceeded="REQUESTS_EXCEEDED",n.RouteNotFound="ROUTE_NOT_FOUND",n.ServiceUnavailable="SERVICE_UNAVAILABLE",n.TokenExpired="TOKEN_EXPIRED",n.UnexpectedResponse="UNEXPECTED_RESPONSE",n.UnprocessableContent="UNPROCESSABLE_CONTENT",n.UnsupportedMediaType="UNSUPPORTED_MEDIA_TYPE",n.UserSuspended="USER_SUSPENDED",n.ValueOutOfRange="VALUE_OUT_OF_RANGE",n.ValueTooLong="VALUE_TOO_LONG",n))(W6||{}),o6e=n=>{let e=`Validation failed for field "${n.field}".`;if("valid"in n)switch(n.type){case"eq":e+=` Value has to be "${n.valid}".`;break;case"lt":e+=` Value has to be less than "${n.valid}".`;break;case"lte":e+=` Value has to be less than or equal to "${n.valid}".`;break;case"gt":e+=` Value has to be greater than "${n.valid}".`;break;case"gte":e+=` Value has to be greater than or equal to "${n.valid}".`;break;case"in":e+=` Value has to be one of ${Xc(n.valid).map(t=>`"${t}"`).join(", ")}.`;break}if("invalid"in n)switch(n.type){case"neq":e+=` Value can't be "${n.invalid}".`;break;case"nin":e+=` Value can't be one of ${Xc(n.invalid).map(t=>`"${t}"`).join(", ")}.`;break}if("substring"in n)switch(n.type){case"contains":case"icontains":e+=` Value has to contain "${n.substring}".`;break;case"ncontains":e+=` Value can't contain "${n.substring}".`;break}switch(n.type){case"null":e+=" Value has to be null.";break;case"nnull":e+=" Value can't be null.";break;case"empty":e+=" Value has to be empty.";break;case"nempty":e+=" Value can't be empty.";break;case"required":e+=" Value is required.";break;case"regex":e+=" Value doesn't have the correct format.";break;case"email":e+=" Value has to be a valid email address.";break}return e},r6e=i6e("FAILED_VALIDATION",o6e,400),a6e=n=>{var i,o,a,r,l,s,u,d,g,m,_,x,S,A,F,C;const e={field:n.path[0]},t=n.type;if(t.endsWith("only"))if(((i=n.context)==null?void 0:i.valids.length)>1)e.type="in",e.valid=(o=n.context)==null?void 0:o.valids;else{const L=(a=n.context)==null?void 0:a.valids[0];L===null?e.type="null":L===""?e.type="empty":(e.type="eq",e.valid=L)}if(t.endsWith("invalid"))if(((r=n.context)==null?void 0:r.invalids.length)>1)e.type="nin",e.invalid=(l=n.context)==null?void 0:l.invalids;else{const L=(s=n.context)==null?void 0:s.invalids[0];L===null?e.type="nnull":L===""?e.type="nempty":(e.type="neq",e.invalid=L)}if(t.endsWith("greater")&&(e.type="gt",e.valid=(u=n.context)==null?void 0:u.limit),t.endsWith("min")&&(e.type="gte",e.valid=(d=n.context)==null?void 0:d.limit),t.endsWith("less")&&(e.type="lt",e.valid=(g=n.context)==null?void 0:g.limit),t.endsWith("max")&&(e.type="lte",e.valid=(m=n.context)==null?void 0:m.limit),t.endsWith("contains")&&(e.type="contains",e.substring=(_=n.context)==null?void 0:_.substring),t.endsWith("ncontains")&&(e.type="ncontains",e.substring=(x=n.context)==null?void 0:x.substring),(t.endsWith("required")||t.endsWith(".base"))&&(e.type="required"),t.endsWith(".pattern.base")&&(e.type="regex",e.invalid=(S=n.context)==null?void 0:S.value),t.endsWith(".pattern.name")||t.endsWith(".pattern.invert.name")){e.type=(A=n.context)==null?void 0:A.name;const L=(C=(F=n.context)==null?void 0:F.regex)==null?void 0:C.toString();switch(e.type){case"starts_with":case"nstarts_with":case"istarts_with":case"nistarts_with":e.substring=L.substring(2,L.lastIndexOf("/")-2);break;case"ends_with":case"nends_with":case"iends_with":case"niends_with":e.substring=L.substring(3,L.lastIndexOf("/")-1);break}}if(!e.type)throw new Error("Couldn't extract validation error type from Joi validation error item");return e};function k5(n){var i;const{currentUser:e}=Gr();if(!e)return n??{};if(!("id"in e))return n??{};const t={role:((i=e.role)==null?void 0:i.id)??null,roles:e.roles.map(o=>o.id),user:e.id};return PX(n,t,{$CURRENT_ROLE:e.role??void 0,$CURRENT_ROLES:e.roles,$CURRENT_USER:e})??{}}function h$(n,e){var t;if(e.meta&&Array.isArray((t=e.meta)==null?void 0:t.conditions)){const o=[...e.meta.conditions].reverse().find(a=>{if(!a.rule||Object.keys(a.rule).length!==1)return;const r=k5(a.rule);return AR(r,n,{requireAll:!0}).length===0});return o?{...e,meta:et.merge({},e.meta||{},{readonly:o.readonly,options:o.options,hidden:o.hidden,required:o.required})}:e}else return e}function Vk(n,e,t){var s;const i=Ha(),o={_and:[]},r=e.map(u=>h$(n,u)).filter(u=>{var d;return((d=u.meta)==null?void 0:d.required)===!0}),l=et.cloneDeep(n);for(const u of r)t&&et.isNil((s=u.schema)==null?void 0:s.default_value)&&o._and.push({[u.field]:{_submitted:!0}}),i.getRelationsForField(u.collection,u.field).length>0&&Array.isArray(l[u.field])&&et.isEmpty(l[u.field])&&(l[u.field]=null),o._and.push({[u.field]:{_nnull:!0}});return et.flatten(AR(o,l).map(u=>u.details.map(d=>new r6e(a6e(d)).extensions))).map(u=>{var g,m;const d=e.find(_=>_.field===u.field);return{...u,hidden:(g=d==null?void 0:d.meta)==null?void 0:g.hidden,group:(m=d==null?void 0:d.meta)==null?void 0:m.group}})}function s6e(n){return{all:n=n||new Map,on:function(e,t){var i=n.get(e);i?i.push(t):n.set(e,[t])},off:function(e,t){var i=n.get(e);i&&(t?i.splice(i.indexOf(t)>>>0,1):n.set(e,[]))},emit:function(e,t){var i=n.get(e);i&&i.slice().map(function(o){o(t)}),(i=n.get("*"))&&i.slice().map(function(o){o(e,t)})}}}const Gc=s6e();var bc=(n=>(n.upload="upload",n.tabIdle="tab-idle",n.tabActive="tab-active",n.tusResumableUploadsChanged="tus-resumable-uploads-changed",n))(bc||{});function Hk(n){"@babel/helpers - typeof";return Hk=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},Hk(n)}function l6e(n,e,t){return Object.defineProperty(n,"prototype",{writable:!1}),n}function c6e(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function u6e(n,e,t){return e=P_(e),d6e(n,OE()?Reflect.construct(e,t||[],P_(n).constructor):e.apply(n,t))}function d6e(n,e){if(e&&(Hk(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return f6e(n)}function f6e(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function p6e(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&F_(n,e)}function Uk(n){var e=typeof Map=="function"?new Map:void 0;return Uk=function(i){if(i===null||!m6e(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(i))return e.get(i);e.set(i,o)}function o(){return h6e(i,arguments,P_(this).constructor)}return o.prototype=Object.create(i.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),F_(o,i)},Uk(n)}function h6e(n,e,t){if(OE())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,e);var o=new(n.bind.apply(n,i));return t&&F_(o,t.prototype),o}function OE(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(OE=function(){return!!n})()}function m6e(n){try{return Function.toString.call(n).indexOf("[native code]")!==-1}catch{return typeof n=="function"}}function F_(n,e){return F_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},F_(n,e)}function P_(n){return P_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},P_(n)}var qb=function(n){function e(t){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(c6e(this,e),i=u6e(this,e,[t]),i.originalRequest=a,i.originalResponse=r,i.causingError=o,o!=null&&(t+=", caused by ".concat(o.toString())),a!=null){var l=a.getHeader("X-Request-ID")||"n/a",s=a.getMethod(),u=a.getURL(),d=r?r.getStatus():"n/a",g=r?r.getBody()||"":"n/a";t+=", originated from request (method: ".concat(s,", url: ").concat(u,", response code: ").concat(d,", response text: ").concat(g,", request id: ").concat(l,")")}return i.message=t,i}return p6e(e,n),l6e(e)}(Uk(Error));function O_(n){"@babel/helpers - typeof";return O_=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},O_(n)}function v6e(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function g6e(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,_6e(i.key),i)}}function y6e(n,e,t){return e&&g6e(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function _6e(n){var e=b6e(n,"string");return O_(e)=="symbol"?e:e+""}function b6e(n,e){if(O_(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(O_(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}var x6e=function(){function n(){v6e(this,n)}return y6e(n,[{key:"listAllUploads",value:function(){return Promise.resolve([])}},{key:"findUploadsByFingerprint",value:function(t){return Promise.resolve([])}},{key:"removeUpload",value:function(t){return Promise.resolve()}},{key:"addUpload",value:function(t,i){return Promise.resolve(null)}}])}();const m$="3.7.7",w6e=m$,My=typeof Buffer=="function",GL=typeof TextDecoder=="function"?new TextDecoder:void 0,YL=typeof TextEncoder=="function"?new TextEncoder:void 0,k6e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Y4=Array.prototype.slice.call(k6e),Wb=(n=>{let e={};return n.forEach((t,i)=>e[t]=i),e})(Y4),C6e=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,rd=String.fromCharCode.bind(String),XL=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):n=>new Uint8Array(Array.prototype.slice.call(n,0)),v$=n=>n.replace(/=/g,"").replace(/[+\/]/g,e=>e=="+"?"-":"_"),g$=n=>n.replace(/[^A-Za-z0-9\+\/]/g,""),y$=n=>{let e,t,i,o,a="";const r=n.length%3;for(let l=0;l<n.length;){if((t=n.charCodeAt(l++))>255||(i=n.charCodeAt(l++))>255||(o=n.charCodeAt(l++))>255)throw new TypeError("invalid character found");e=t<<16|i<<8|o,a+=Y4[e>>18&63]+Y4[e>>12&63]+Y4[e>>6&63]+Y4[e&63]}return r?a.slice(0,r-3)+"===".substring(r):a},RE=typeof btoa=="function"?n=>btoa(n):My?n=>Buffer.from(n,"binary").toString("base64"):y$,qk=My?n=>Buffer.from(n).toString("base64"):n=>{let t=[];for(let i=0,o=n.length;i<o;i+=4096)t.push(rd.apply(null,n.subarray(i,i+4096)));return RE(t.join(""))},G6=(n,e=!1)=>e?v$(qk(n)):qk(n),S6e=n=>{if(n.length<2){var e=n.charCodeAt(0);return e<128?n:e<2048?rd(192|e>>>6)+rd(128|e&63):rd(224|e>>>12&15)+rd(128|e>>>6&63)+rd(128|e&63)}else{var e=65536+(n.charCodeAt(0)-55296)*1024+(n.charCodeAt(1)-56320);return rd(240|e>>>18&7)+rd(128|e>>>12&63)+rd(128|e>>>6&63)+rd(128|e&63)}},E6e=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,_$=n=>n.replace(E6e,S6e),KL=My?n=>Buffer.from(n,"utf8").toString("base64"):YL?n=>qk(YL.encode(n)):n=>RE(_$(n)),E3=(n,e=!1)=>e?v$(KL(n)):KL(n),ZL=n=>E3(n,!0),A6e=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,T6e=n=>{switch(n.length){case 4:var e=(7&n.charCodeAt(0))<<18|(63&n.charCodeAt(1))<<12|(63&n.charCodeAt(2))<<6|63&n.charCodeAt(3),t=e-65536;return rd((t>>>10)+55296)+rd((t&1023)+56320);case 3:return rd((15&n.charCodeAt(0))<<12|(63&n.charCodeAt(1))<<6|63&n.charCodeAt(2));default:return rd((31&n.charCodeAt(0))<<6|63&n.charCodeAt(1))}},b$=n=>n.replace(A6e,T6e),x$=n=>{if(n=n.replace(/\s+/g,""),!C6e.test(n))throw new TypeError("malformed base64.");n+="==".slice(2-(n.length&3));let e,t="",i,o;for(let a=0;a<n.length;)e=Wb[n.charAt(a++)]<<18|Wb[n.charAt(a++)]<<12|(i=Wb[n.charAt(a++)])<<6|(o=Wb[n.charAt(a++)]),t+=i===64?rd(e>>16&255):o===64?rd(e>>16&255,e>>8&255):rd(e>>16&255,e>>8&255,e&255);return t},zE=typeof atob=="function"?n=>atob(g$(n)):My?n=>Buffer.from(n,"base64").toString("binary"):x$,w$=My?n=>XL(Buffer.from(n,"base64")):n=>XL(zE(n).split("").map(e=>e.charCodeAt(0))),k$=n=>w$(C$(n)),D6e=My?n=>Buffer.from(n,"base64").toString("utf8"):GL?n=>GL.decode(w$(n)):n=>b$(zE(n)),C$=n=>g$(n.replace(/[-_]/g,e=>e=="-"?"+":"/")),Wk=n=>D6e(C$(n)),L6e=n=>{if(typeof n!="string")return!1;const e=n.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},S$=n=>({value:n,enumerable:!1,writable:!0,configurable:!0}),E$=function(){const n=(e,t)=>Object.defineProperty(String.prototype,e,S$(t));n("fromBase64",function(){return Wk(this)}),n("toBase64",function(e){return E3(this,e)}),n("toBase64URI",function(){return E3(this,!0)}),n("toBase64URL",function(){return E3(this,!0)}),n("toUint8Array",function(){return k$(this)})},A$=function(){const n=(e,t)=>Object.defineProperty(Uint8Array.prototype,e,S$(t));n("toBase64",function(e){return G6(this,e)}),n("toBase64URI",function(){return G6(this,!0)}),n("toBase64URL",function(){return G6(this,!0)})},I6e=()=>{E$(),A$()},M6e={version:m$,VERSION:w6e,atob:zE,atobPolyfill:x$,btoa:RE,btoaPolyfill:y$,fromBase64:Wk,toBase64:E3,encode:E3,encodeURI:ZL,encodeURL:ZL,utob:_$,btou:b$,decode:Wk,isValid:L6e,fromUint8Array:G6,toUint8Array:k$,extendString:E$,extendUint8Array:A$,extendBuiltins:I6e};var F6e=function(e,t){if(t=t.split(":")[0],e=+e,!e)return!1;switch(t){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0},$E={},P6e=Object.prototype.hasOwnProperty,O6e;function JL(n){try{return decodeURIComponent(n.replace(/\+/g," "))}catch{return null}}function QL(n){try{return encodeURIComponent(n)}catch{return null}}function R6e(n){for(var e=/([^=?#&]+)=?([^&]*)/g,t={},i;i=e.exec(n);){var o=JL(i[1]),a=JL(i[2]);o===null||a===null||o in t||(t[o]=a)}return t}function z6e(n,e){e=e||"";var t=[],i,o;typeof e!="string"&&(e="?");for(o in n)if(P6e.call(n,o)){if(i=n[o],!i&&(i===null||i===O6e||isNaN(i))&&(i=""),o=QL(o),i=QL(i),o===null||i===null)continue;t.push(o+"="+i)}return t.length?e+t.join("&"):""}$E.stringify=z6e;$E.parse=R6e;var T$=F6e,B7=$E,$6e=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,D$=/[\n\r\t]/g,N6e=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,L$=/:\d+$/,B6e=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,j6e=/^[a-zA-Z]:/;function NE(n){return(n||"").toString().replace($6e,"")}var Gk=[["#","hash"],["?","query"],function(e,t){return Xh(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],eI={hash:1,query:1};function I$(n){var e;typeof window<"u"?e=window:typeof jr<"u"?e=jr:typeof self<"u"?e=self:e={};var t=e.location||{};n=n||t;var i={},o=typeof n,a;if(n.protocol==="blob:")i=new im(unescape(n.pathname),{});else if(o==="string"){i=new im(n,{});for(a in eI)delete i[a]}else if(o==="object"){for(a in n)a in eI||(i[a]=n[a]);i.slashes===void 0&&(i.slashes=N6e.test(n.href))}return i}function Xh(n){return n==="file:"||n==="ftp:"||n==="http:"||n==="https:"||n==="ws:"||n==="wss:"}function M$(n,e){n=NE(n),n=n.replace(D$,""),e=e||{};var t=B6e.exec(n),i=t[1]?t[1].toLowerCase():"",o=!!t[2],a=!!t[3],r=0,l;return o?a?(l=t[2]+t[3]+t[4],r=t[2].length+t[3].length):(l=t[2]+t[4],r=t[2].length):a?(l=t[3]+t[4],r=t[3].length):l=t[4],i==="file:"?r>=2&&(l=l.slice(2)):Xh(i)?l=t[4]:i?o&&(l=l.slice(2)):r>=2&&Xh(e.protocol)&&(l=t[4]),{protocol:i,slashes:o||Xh(i),slashesCount:r,rest:l}}function V6e(n,e){if(n==="")return e;for(var t=(e||"/").split("/").slice(0,-1).concat(n.split("/")),i=t.length,o=t[i-1],a=!1,r=0;i--;)t[i]==="."?t.splice(i,1):t[i]===".."?(t.splice(i,1),r++):r&&(i===0&&(a=!0),t.splice(i,1),r--);return a&&t.unshift(""),(o==="."||o==="..")&&t.push(""),t.join("/")}function im(n,e,t){if(n=NE(n),n=n.replace(D$,""),!(this instanceof im))return new im(n,e,t);var i,o,a,r,l,s,u=Gk.slice(),d=typeof e,g=this,m=0;for(d!=="object"&&d!=="string"&&(t=e,e=null),t&&typeof t!="function"&&(t=B7.parse),e=I$(e),o=M$(n||"",e),i=!o.protocol&&!o.slashes,g.slashes=o.slashes||i&&e.slashes,g.protocol=o.protocol||e.protocol||"",n=o.rest,(o.protocol==="file:"&&(o.slashesCount!==2||j6e.test(n))||!o.slashes&&(o.protocol||o.slashesCount<2||!Xh(g.protocol)))&&(u[3]=[/(.*)/,"pathname"]);m<u.length;m++){if(r=u[m],typeof r=="function"){n=r(n,g);continue}a=r[0],s=r[1],a!==a?g[s]=n:typeof a=="string"?(l=a==="@"?n.lastIndexOf(a):n.indexOf(a),~l&&(typeof r[2]=="number"?(g[s]=n.slice(0,l),n=n.slice(l+r[2])):(g[s]=n.slice(l),n=n.slice(0,l)))):(l=a.exec(n))&&(g[s]=l[1],n=n.slice(0,l.index)),g[s]=g[s]||i&&r[3]&&e[s]||"",r[4]&&(g[s]=g[s].toLowerCase())}t&&(g.query=t(g.query)),i&&e.slashes&&g.pathname.charAt(0)!=="/"&&(g.pathname!==""||e.pathname!=="")&&(g.pathname=V6e(g.pathname,e.pathname)),g.pathname.charAt(0)!=="/"&&Xh(g.protocol)&&(g.pathname="/"+g.pathname),T$(g.port,g.protocol)||(g.host=g.hostname,g.port=""),g.username=g.password="",g.auth&&(l=g.auth.indexOf(":"),~l?(g.username=g.auth.slice(0,l),g.username=encodeURIComponent(decodeURIComponent(g.username)),g.password=g.auth.slice(l+1),g.password=encodeURIComponent(decodeURIComponent(g.password))):g.username=encodeURIComponent(decodeURIComponent(g.auth)),g.auth=g.password?g.username+":"+g.password:g.username),g.origin=g.protocol!=="file:"&&Xh(g.protocol)&&g.host?g.protocol+"//"+g.host:"null",g.href=g.toString()}function H6e(n,e,t){var i=this;switch(n){case"query":typeof e=="string"&&e.length&&(e=(t||B7.parse)(e)),i[n]=e;break;case"port":i[n]=e,T$(e,i.protocol)?e&&(i.host=i.hostname+":"+e):(i.host=i.hostname,i[n]="");break;case"hostname":i[n]=e,i.port&&(e+=":"+i.port),i.host=e;break;case"host":i[n]=e,L$.test(e)?(e=e.split(":"),i.port=e.pop(),i.hostname=e.join(":")):(i.hostname=e,i.port="");break;case"protocol":i.protocol=e.toLowerCase(),i.slashes=!t;break;case"pathname":case"hash":if(e){var o=n==="pathname"?"/":"#";i[n]=e.charAt(0)!==o?o+e:e}else i[n]=e;break;case"username":case"password":i[n]=encodeURIComponent(e);break;case"auth":var a=e.indexOf(":");~a?(i.username=e.slice(0,a),i.username=encodeURIComponent(decodeURIComponent(i.username)),i.password=e.slice(a+1),i.password=encodeURIComponent(decodeURIComponent(i.password))):i.username=encodeURIComponent(decodeURIComponent(e))}for(var r=0;r<Gk.length;r++){var l=Gk[r];l[4]&&(i[l[1]]=i[l[1]].toLowerCase())}return i.auth=i.password?i.username+":"+i.password:i.username,i.origin=i.protocol!=="file:"&&Xh(i.protocol)&&i.host?i.protocol+"//"+i.host:"null",i.href=i.toString(),i}function U6e(n){(!n||typeof n!="function")&&(n=B7.stringify);var e,t=this,i=t.host,o=t.protocol;o&&o.charAt(o.length-1)!==":"&&(o+=":");var a=o+(t.protocol&&t.slashes||Xh(t.protocol)?"//":"");return t.username?(a+=t.username,t.password&&(a+=":"+t.password),a+="@"):t.password?(a+=":"+t.password,a+="@"):t.protocol!=="file:"&&Xh(t.protocol)&&!i&&t.pathname!=="/"&&(a+="@"),(i[i.length-1]===":"||L$.test(t.hostname)&&!t.port)&&(i+=":"),a+=i+t.pathname,e=typeof t.query=="object"?n(t.query):t.query,e&&(a+=e.charAt(0)!=="?"?"?"+e:e),t.hash&&(a+=t.hash),a}im.prototype={set:H6e,toString:U6e};im.extractProtocol=M$;im.location=I$;im.trimLeft=NE;im.qs=B7;var q6e=im;const W6e=Fd(q6e);function G6e(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var e=Math.random()*16|0,t=n==="x"?e:e&3|8;return t.toString(16)})}function Yk(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Yk=function(){return e};var n,e={},t=Object.prototype,i=t.hasOwnProperty,o=Object.defineProperty||function(re,ge,he){re[ge]=he.value},a=typeof Symbol=="function"?Symbol:{},r=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(re,ge,he){return Object.defineProperty(re,ge,{value:he,enumerable:!0,configurable:!0,writable:!0}),re[ge]}try{u({},"")}catch{u=function(he,Ie,je){return he[Ie]=je}}function d(re,ge,he,Ie){var je=ge&&ge.prototype instanceof F?ge:F,Ue=Object.create(je.prototype),Ee=new fe(Ie||[]);return o(Ue,"_invoke",{value:oe(re,he,Ee)}),Ue}function g(re,ge,he){try{return{type:"normal",arg:re.call(ge,he)}}catch(Ie){return{type:"throw",arg:Ie}}}e.wrap=d;var m="suspendedStart",_="suspendedYield",x="executing",S="completed",A={};function F(){}function C(){}function L(){}var w={};u(w,r,function(){return this});var $=Object.getPrototypeOf,B=$&&$($(Y([])));B&&B!==t&&i.call(B,r)&&(w=B);var V=L.prototype=F.prototype=Object.create(w);function W(re){["next","throw","return"].forEach(function(ge){u(re,ge,function(he){return this._invoke(ge,he)})})}function J(re,ge){function he(je,Ue,Ee,we){var lt=g(re[je],re,Ue);if(lt.type!=="throw"){var pt=lt.arg,yt=pt.value;return yt&&Q0(yt)=="object"&&i.call(yt,"__await")?ge.resolve(yt.__await).then(function(vt){he("next",vt,Ee,we)},function(vt){he("throw",vt,Ee,we)}):ge.resolve(yt).then(function(vt){pt.value=vt,Ee(pt)},function(vt){return he("throw",vt,Ee,we)})}we(lt.arg)}var Ie;o(this,"_invoke",{value:function(Ue,Ee){function we(){return new ge(function(lt,pt){he(Ue,Ee,lt,pt)})}return Ie=Ie?Ie.then(we,we):we()}})}function oe(re,ge,he){var Ie=m;return function(je,Ue){if(Ie===x)throw Error("Generator is already running");if(Ie===S){if(je==="throw")throw Ue;return{value:n,done:!0}}for(he.method=je,he.arg=Ue;;){var Ee=he.delegate;if(Ee){var we=ue(Ee,he);if(we){if(we===A)continue;return we}}if(he.method==="next")he.sent=he._sent=he.arg;else if(he.method==="throw"){if(Ie===m)throw Ie=S,he.arg;he.dispatchException(he.arg)}else he.method==="return"&&he.abrupt("return",he.arg);Ie=x;var lt=g(re,ge,he);if(lt.type==="normal"){if(Ie=he.done?S:_,lt.arg===A)continue;return{value:lt.arg,done:he.done}}lt.type==="throw"&&(Ie=S,he.method="throw",he.arg=lt.arg)}}}function ue(re,ge){var he=ge.method,Ie=re.iterator[he];if(Ie===n)return ge.delegate=null,he==="throw"&&re.iterator.return&&(ge.method="return",ge.arg=n,ue(re,ge),ge.method==="throw")||he!=="return"&&(ge.method="throw",ge.arg=new TypeError("The iterator does not provide a '"+he+"' method")),A;var je=g(Ie,re.iterator,ge.arg);if(je.type==="throw")return ge.method="throw",ge.arg=je.arg,ge.delegate=null,A;var Ue=je.arg;return Ue?Ue.done?(ge[re.resultName]=Ue.value,ge.next=re.nextLoc,ge.method!=="return"&&(ge.method="next",ge.arg=n),ge.delegate=null,A):Ue:(ge.method="throw",ge.arg=new TypeError("iterator result is not an object"),ge.delegate=null,A)}function be(re){var ge={tryLoc:re[0]};1 in re&&(ge.catchLoc=re[1]),2 in re&&(ge.finallyLoc=re[2],ge.afterLoc=re[3]),this.tryEntries.push(ge)}function ie(re){var ge=re.completion||{};ge.type="normal",delete ge.arg,re.completion=ge}function fe(re){this.tryEntries=[{tryLoc:"root"}],re.forEach(be,this),this.reset(!0)}function Y(re){if(re||re===""){var ge=re[r];if(ge)return ge.call(re);if(typeof re.next=="function")return re;if(!isNaN(re.length)){var he=-1,Ie=function je(){for(;++he<re.length;)if(i.call(re,he))return je.value=re[he],je.done=!1,je;return je.value=n,je.done=!0,je};return Ie.next=Ie}}throw new TypeError(Q0(re)+" is not iterable")}return C.prototype=L,o(V,"constructor",{value:L,configurable:!0}),o(L,"constructor",{value:C,configurable:!0}),C.displayName=u(L,s,"GeneratorFunction"),e.isGeneratorFunction=function(re){var ge=typeof re=="function"&&re.constructor;return!!ge&&(ge===C||(ge.displayName||ge.name)==="GeneratorFunction")},e.mark=function(re){return Object.setPrototypeOf?Object.setPrototypeOf(re,L):(re.__proto__=L,u(re,s,"GeneratorFunction")),re.prototype=Object.create(V),re},e.awrap=function(re){return{__await:re}},W(J.prototype),u(J.prototype,l,function(){return this}),e.AsyncIterator=J,e.async=function(re,ge,he,Ie,je){je===void 0&&(je=Promise);var Ue=new J(d(re,ge,he,Ie),je);return e.isGeneratorFunction(ge)?Ue:Ue.next().then(function(Ee){return Ee.done?Ee.value:Ue.next()})},W(V),u(V,s,"Generator"),u(V,r,function(){return this}),u(V,"toString",function(){return"[object Generator]"}),e.keys=function(re){var ge=Object(re),he=[];for(var Ie in ge)he.push(Ie);return he.reverse(),function je(){for(;he.length;){var Ue=he.pop();if(Ue in ge)return je.value=Ue,je.done=!1,je}return je.done=!0,je}},e.values=Y,fe.prototype={constructor:fe,reset:function(ge){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(ie),!ge)for(var he in this)he.charAt(0)==="t"&&i.call(this,he)&&!isNaN(+he.slice(1))&&(this[he]=n)},stop:function(){this.done=!0;var ge=this.tryEntries[0].completion;if(ge.type==="throw")throw ge.arg;return this.rval},dispatchException:function(ge){if(this.done)throw ge;var he=this;function Ie(pt,yt){return Ee.type="throw",Ee.arg=ge,he.next=pt,yt&&(he.method="next",he.arg=n),!!yt}for(var je=this.tryEntries.length-1;je>=0;--je){var Ue=this.tryEntries[je],Ee=Ue.completion;if(Ue.tryLoc==="root")return Ie("end");if(Ue.tryLoc<=this.prev){var we=i.call(Ue,"catchLoc"),lt=i.call(Ue,"finallyLoc");if(we&&lt){if(this.prev<Ue.catchLoc)return Ie(Ue.catchLoc,!0);if(this.prev<Ue.finallyLoc)return Ie(Ue.finallyLoc)}else if(we){if(this.prev<Ue.catchLoc)return Ie(Ue.catchLoc,!0)}else{if(!lt)throw Error("try statement without catch or finally");if(this.prev<Ue.finallyLoc)return Ie(Ue.finallyLoc)}}}},abrupt:function(ge,he){for(var Ie=this.tryEntries.length-1;Ie>=0;--Ie){var je=this.tryEntries[Ie];if(je.tryLoc<=this.prev&&i.call(je,"finallyLoc")&&this.prev<je.finallyLoc){var Ue=je;break}}Ue&&(ge==="break"||ge==="continue")&&Ue.tryLoc<=he&&he<=Ue.finallyLoc&&(Ue=null);var Ee=Ue?Ue.completion:{};return Ee.type=ge,Ee.arg=he,Ue?(this.method="next",this.next=Ue.finallyLoc,A):this.complete(Ee)},complete:function(ge,he){if(ge.type==="throw")throw ge.arg;return ge.type==="break"||ge.type==="continue"?this.next=ge.arg:ge.type==="return"?(this.rval=this.arg=ge.arg,this.method="return",this.next="end"):ge.type==="normal"&&he&&(this.next=he),A},finish:function(ge){for(var he=this.tryEntries.length-1;he>=0;--he){var Ie=this.tryEntries[he];if(Ie.finallyLoc===ge)return this.complete(Ie.completion,Ie.afterLoc),ie(Ie),A}},catch:function(ge){for(var he=this.tryEntries.length-1;he>=0;--he){var Ie=this.tryEntries[he];if(Ie.tryLoc===ge){var je=Ie.completion;if(je.type==="throw"){var Ue=je.arg;ie(Ie)}return Ue}}throw Error("illegal catch attempt")},delegateYield:function(ge,he,Ie){return this.delegate={iterator:Y(ge),resultName:he,nextLoc:Ie},this.method==="next"&&(this.arg=n),A}},e}function tI(n,e,t,i,o,a,r){try{var l=n[a](r),s=l.value}catch(u){t(u);return}l.done?e(s):Promise.resolve(s).then(i,o)}function Y6e(n){return function(){var e=this,t=arguments;return new Promise(function(i,o){var a=n.apply(e,t);function r(s){tI(a,i,o,r,l,"next",s)}function l(s){tI(a,i,o,r,l,"throw",s)}r(void 0)})}}function F$(n,e){return Z6e(n)||K6e(n,e)||P$(n,e)||X6e()}function X6e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
63
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B(dn){return L(dn)||w(dn)||A(dn)||$()}var V=r("a352"),W=r.n(V);function J(dn){dn.parentElement!==null&&dn.parentElement.removeChild(dn)}function oe(dn,pn,Kt){var An=Kt===0?dn.children[0]:dn.children[Kt-1].nextSibling;dn.insertBefore(pn,An)}var ue=r("dbf1");r("13d5"),r("4fad"),r("ac1f"),r("5319");function be(dn){var pn=Object.create(null);return function(An){var _n=pn[An];return _n||(pn[An]=dn(An))}}var ie=/-(\w)/g,fe=be(function(dn){return dn.replace(ie,function(pn,Kt){return Kt.toUpperCase()})});r("5db7"),r("73d9");var Y=["Start","Add","Remove","Update","End"],re=["Choose","Unchoose","Sort","Filter","Clone"],ge=["Move"],he=[ge,Y,re].flatMap(function(dn){return dn}).map(function(dn){return"on".concat(dn)}),Ie={manage:ge,manageAndEmit:Y,emit:re};function je(dn){return he.indexOf(dn)!==-1}r("caad"),r("2ca0");var Ue=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Ee(dn){return Ue.includes(dn)}function we(dn){return["transition-group","TransitionGroup"].includes(dn)}function lt(dn){return["id","class","role","style"].includes(dn)||dn.startsWith("data-")||dn.startsWith("aria-")||dn.startsWith("on")}function pt(dn){return dn.reduce(function(pn,Kt){var An=C(Kt,2),_n=An[0],Kn=An[1];return pn[_n]=Kn,pn},{})}function yt(dn){var pn=dn.$attrs,Kt=dn.componentData,An=Kt===void 0?{}:Kt,_n=pt(Object.entries(pn).filter(function(Kn){var Dn=C(Kn,2),yi=Dn[0];return Dn[1],lt(yi)}));return m(m({},_n),An)}function vt(dn){var pn=dn.$attrs,Kt=dn.callBackBuilder,An=pt(ht(pn));Object.entries(Kt).forEach(function(Kn){var Dn=C(Kn,2),yi=Dn[0],ei=Dn[1];Ie[yi].forEach(function(_i){An["on".concat(_i)]=ei(_i)})});var _n="[data-draggable]".concat(An.draggable||"");return m(m({},An),{},{draggable:_n})}function ht(dn){return Object.entries(dn).filter(function(pn){var Kt=C(pn,2),An=Kt[0];return Kt[1],!lt(An)}).map(function(pn){var Kt=C(pn,2),An=Kt[0],_n=Kt[1];return[fe(An),_n]}).filter(function(pn){var Kt=C(pn,2),An=Kt[0];return Kt[1],!je(An)})}r("c740");function rt(dn,pn){if(!(dn instanceof pn))throw new TypeError("Cannot call a class as a function")}function St(dn,pn){for(var Kt=0;Kt<pn.length;Kt++){var An=pn[Kt];An.enumerable=An.enumerable||!1,An.configurable=!0,"value"in An&&(An.writable=!0),Object.defineProperty(dn,An.key,An)}}function Ct(dn,pn,Kt){return pn&&St(dn.prototype,pn),dn}var kt=function(pn){var Kt=pn.el;return Kt},It=function(pn,Kt){return pn.__draggable_context=Kt},xt=function(pn){return pn.__draggable_context},_t=function(){function dn(pn){var Kt=pn.nodes,An=Kt.header,_n=Kt.default,Kn=Kt.footer,Dn=pn.root,yi=pn.realList;rt(this,dn),this.defaultNodes=_n,this.children=[].concat(B(An),B(_n),B(Kn)),this.externalComponent=Dn.externalComponent,this.rootTransition=Dn.transition,this.tag=Dn.tag,this.realList=yi}return Ct(dn,[{key:"render",value:function(Kt,An){var _n=this.tag,Kn=this.children,Dn=this._isRootComponent,yi=Dn?{default:function(){return Kn}}:Kn;return Kt(_n,An,yi)}},{key:"updated",value:function(){var Kt=this.defaultNodes,An=this.realList;Kt.forEach(function(_n,Kn){It(kt(_n),{element:An[Kn],index:Kn})})}},{key:"getUnderlyingVm",value:function(Kt){return xt(Kt)}},{key:"getVmIndexFromDomIndex",value:function(Kt,An){var _n=this.defaultNodes,Kn=_n.length,Dn=An.children,yi=Dn.item(Kt);if(yi===null)return Kn;var ei=xt(yi);if(ei)return ei.index;if(Kn===0)return 0;var _i=kt(_n[0]),Fn=B(Dn).findIndex(function(ui){return ui===_i});return Kt<Fn?0:Kn}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),dn}(),st=r("8bbf");function Lt(dn,pn){var Kt=dn[pn];return Kt?Kt():[]}function Xt(dn){var pn=dn.$slots,Kt=dn.realList,An=dn.getKey,_n=Kt||[],Kn=["header","footer"].map(function(ui){return Lt(pn,ui)}),Dn=C(Kn,2),yi=Dn[0],ei=Dn[1],_i=pn.item;if(!_i)throw new Error("draggable element must have an item slot");var Fn=_n.flatMap(function(ui,$i){return _i({element:ui,index:$i}).map(function(Un){return Un.key=An(ui),Un.props=m(m({},Un.props||{}),{},{"data-draggable":!0}),Un})});if(Fn.length!==_n.length)throw new Error("Item slot must have only one child");return{header:yi,footer:ei,default:Fn}}function Mt(dn){var pn=we(dn),Kt=!Ee(dn)&&!pn;return{transition:pn,externalComponent:Kt,tag:Kt?Object(st.resolveComponent)(dn):pn?st.TransitionGroup:dn}}function Et(dn){var pn=dn.$slots,Kt=dn.tag,An=dn.realList,_n=dn.getKey,Kn=Xt({$slots:pn,realList:An,getKey:_n}),Dn=Mt(Kt);return new _t({nodes:Kn,root:Dn,realList:An})}function mn(dn,pn){var Kt=this;Object(st.nextTick)(function(){return Kt.$emit(dn.toLowerCase(),pn)})}function Bn(dn){var pn=this;return function(Kt,An){if(pn.realList!==null)return pn["onDrag".concat(dn)](Kt,An)}}function xn(dn){var pn=this,Kt=Bn.call(this,dn);return function(An,_n){Kt.call(pn,An,_n),mn.call(pn,dn,An)}}var oi=null,rn={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(pn){return pn}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Tn=["update:modelValue","change"].concat(B([].concat(B(Ie.manageAndEmit),B(Ie.emit)).map(function(dn){return dn.toLowerCase()}))),cn=Object(st.defineComponent)({name:"draggable",inheritAttrs:!1,props:rn,emits:Tn,data:function(){return{error:!1}},render:function(){try{this.error=!1;var pn=this.$slots,Kt=this.$attrs,An=this.tag,_n=this.componentData,Kn=this.realList,Dn=this.getKey,yi=Et({$slots:pn,tag:An,realList:Kn,getKey:Dn});this.componentStructure=yi;var ei=yt({$attrs:Kt,componentData:_n});return yi.render(st.h,ei)}catch(_i){return this.error=!0,Object(st.h)("pre",{style:{color:"red"}},_i.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&ue.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var pn=this;if(!this.error){var Kt=this.$attrs,An=this.$el,_n=this.componentStructure;_n.updated();var Kn=vt({$attrs:Kt,callBackBuilder:{manageAndEmit:function(ei){return xn.call(pn,ei)},emit:function(ei){return mn.bind(pn,ei)},manage:function(ei){return Bn.call(pn,ei)}}}),Dn=An.nodeType===1?An:An.parentElement;this._sortable=new W.a(Dn,Kn),this.targetDomElement=Dn,Dn.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var pn=this.list;return pn||this.modelValue},getKey:function(){var pn=this.itemKey;return typeof pn=="function"?pn:function(Kt){return Kt[pn]}}},watch:{$attrs:{handler:function(pn){var Kt=this._sortable;Kt&&ht(pn).forEach(function(An){var _n=C(An,2),Kn=_n[0],Dn=_n[1];Kt.option(Kn,Dn)})},deep:!0}},methods:{getUnderlyingVm:function(pn){return this.componentStructure.getUnderlyingVm(pn)||null},getUnderlyingPotencialDraggableComponent:function(pn){return pn.__draggable_component__},emitChanges:function(pn){var Kt=this;Object(st.nextTick)(function(){return Kt.$emit("change",pn)})},alterList:function(pn){if(this.list){pn(this.list);return}var Kt=B(this.modelValue);pn(Kt),this.$emit("update:modelValue",Kt)},spliceList:function(){var pn=arguments,Kt=function(_n){return _n.splice.apply(_n,B(pn))};this.alterList(Kt)},updatePosition:function(pn,Kt){var An=function(Kn){return Kn.splice(Kt,0,Kn.splice(pn,1)[0])};this.alterList(An)},getRelatedContextFromMoveEvent:function(pn){var Kt=pn.to,An=pn.related,_n=this.getUnderlyingPotencialDraggableComponent(Kt);if(!_n)return{component:_n};var Kn=_n.realList,Dn={list:Kn,component:_n};if(Kt!==An&&Kn){var yi=_n.getUnderlyingVm(An)||{};return m(m({},yi),Dn)}return Dn},getVmIndexFromDomIndex:function(pn){return this.componentStructure.getVmIndexFromDomIndex(pn,this.targetDomElement)},onDragStart:function(pn){this.context=this.getUnderlyingVm(pn.item),pn.item._underlying_vm_=this.clone(this.context.element),oi=pn.item},onDragAdd:function(pn){var Kt=pn.item._underlying_vm_;if(Kt!==void 0){J(pn.item);var An=this.getVmIndexFromDomIndex(pn.newIndex);this.spliceList(An,0,Kt);var _n={element:Kt,newIndex:An};this.emitChanges({added:_n})}},onDragRemove:function(pn){if(oe(this.$el,pn.item,pn.oldIndex),pn.pullMode==="clone"){J(pn.clone);return}var Kt=this.context,An=Kt.index,_n=Kt.element;this.spliceList(An,1);var Kn={element:_n,oldIndex:An};this.emitChanges({removed:Kn})},onDragUpdate:function(pn){J(pn.item),oe(pn.from,pn.item,pn.oldIndex);var Kt=this.context.index,An=this.getVmIndexFromDomIndex(pn.newIndex);this.updatePosition(Kt,An);var _n={element:this.context.element,oldIndex:Kt,newIndex:An};this.emitChanges({moved:_n})},computeFutureIndex:function(pn,Kt){if(!pn.element)return 0;var An=B(Kt.to.children).filter(function(yi){return yi.style.display!=="none"}),_n=An.indexOf(Kt.related),Kn=pn.component.getVmIndexFromDomIndex(_n),Dn=An.indexOf(oi)!==-1;return Dn||!Kt.willInsertAfter?Kn:Kn+1},onDragMove:function(pn,Kt){var An=this.move,_n=this.realList;if(!An||!_n)return!0;var Kn=this.getRelatedContextFromMoveEvent(pn),Dn=this.computeFutureIndex(Kn,pn),yi=m(m({},this.context),{},{futureIndex:Dn}),ei=m(m({},pn),{},{relatedContext:Kn,draggedContext:yi});return An(ei,Kt)},onDragEnd:function(){oi=null}}}),Sn=cn;a.default=Sn},fb6a:function(o,a,r){var l=r("23e7"),s=r("861d"),u=r("e8b5"),d=r("23cb"),g=r("50c4"),m=r("fc6a"),_=r("8418"),x=r("b622"),S=r("1dde"),A=r("ae40"),F=S("slice"),C=A("slice",{ACCESSORS:!0,0:0,1:2}),L=x("species"),w=[].slice,$=Math.max;l({target:"Array",proto:!0,forced:!F||!C},{slice:function(V,W){var J=m(this),oe=g(J.length),ue=d(V,oe),be=d(W===void 0?oe:W,oe),ie,fe,Y;if(u(J)&&(ie=J.constructor,typeof ie=="function"&&(ie===Array||u(ie.prototype))?ie=void 0:s(ie)&&(ie=ie[L],ie===null&&(ie=void 0)),ie===Array||ie===void 0))return w.call(J,ue,be);for(fe=new(ie===void 0?Array:ie)($(be-ue,0)),Y=0;ue<be;ue++,Y++)ue in J&&_(fe,Y,J[ue]);return fe.length=Y,fe}})},fc6a:function(o,a,r){var l=r("44ad"),s=r("1d80");o.exports=function(u){return l(s(u))}},fdbc:function(o,a){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(o,a,r){var l=r("4930");o.exports=l&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(qz);var $5e=qz.exports;const ud=Fd($5e);function J0(n){let e;if(n.includes("(")&&n.includes(")")){e=n.split("(")[0];const t=n.match(LX);t&&(n=t[1])}return{fn:e??null,field:n}}const N5e={class:"name"},B5e=["onClick"],j5e=Pt({__name:"system-fields",props:{collectionName:{},value:{default:null},allowSelectAll:{type:Boolean,default:!1}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,o=so(),a=Ce({get(){var d;return((d=t.value)==null?void 0:d.map(g=>({key:g,...o.getField(t.collectionName,g),displayName:u(g)})))??[];function u(g){const m=g.split(".");return m.map((x,S)=>{const A=x.includes("(")&&x.includes(")");let F=x,C;if(A){const{field:B,fn:V}=J0(x);C=V,F=B}const L=m.slice(0,S),w=o.getField(t.collectionName,[...L,F].join(".")),$=(w==null?void 0:w.name)??F;return A?r(`functions.${C}`)+` (${$})`:$}).join(" -> ")}},set(u){const d=u.map(g=>g.key);i("input",d)}}),{t:r}=un(),l=u=>{const d=new Set([...t.value??[],...u]);i("input",Array.from(d))},s=u=>{var g;const d=(g=t.value)==null?void 0:g.filter(m=>m!==u);(!d||d.length===0)&&i("input",null),i("input",d)};return(u,d)=>{const g=G("v-notice"),m=G("v-list"),_=G("v-icon"),x=G("v-list-item"),S=G("v-field-list"),A=G("v-menu");return u.collectionName?(j(),Re(hn,{key:1},[a.value.length===0?(j(),ye(m,{key:0},{default:I(()=>[T(g,{class:"no-fields"},{default:I(()=>[ze(me(h(r)("interfaces.system-fields.no_fields")),1)]),_:1})]),_:1})):(j(),ye(h(ud),Fr({key:1,modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=F=>a.value=F),tag:"v-list","item-key":"key",handle:".drag-handle"},{"force-fallback":!0}),{item:I(({element:F})=>[T(x,{block:""},{default:I(()=>[T(_,{name:"drag_handle",class:"drag-handle",left:""}),ke("div",N5e,me(F.displayName),1),d[1]||(d[1]=ke("div",{class:"spacer"},null,-1)),T(_,{name:"close",clickable:"",onClick:C=>s(F.key)},null,8,["onClick"])]),_:2},1024)]),_:1},16,["modelValue"])),T(A,{placement:"bottom-start","show-arrow":""},{activator:I(({toggle:F})=>[ke("button",{class:"toggle",onClick:F},[ze(me(h(r)("add_field"))+" ",1),T(_,{name:"expand_more"})],8,B5e)]),default:I(()=>[T(S,{"disabled-fields":u.value,collection:u.collectionName,"allow-select-all":u.allowSelectAll,onAdd:l},null,8,["disabled-fields","collection","allow-select-all"])]),_:1})],64)):(j(),ye(g,{key:0},{default:I(()=>[ze(me(h(r)("interfaces.system-fields.select_a_collection")),1)]),_:1}))}}}),V5e=Wt(j5e,[["__scopeId","data-v-8fb610f3"]]),H5e=Xo({id:"system-fields",name:"$t:interfaces.fields.name",icon:"search",component:V5e,types:["csv","json"],options:[],system:!0}),U5e=["pattern","value"],q5e=["value"],W5e={class:"date-input"},G5e=["onClick"],Y5e=Pt({__name:"input-component",props:{is:{},type:{},value:{type:[String,Number,Object,Boolean,null]},commaAllowed:{type:Boolean},focus:{type:Boolean,default:!0},choices:{default:()=>[]}},emits:["input"],setup(n,{emit:e}){cm(x=>({"166388e6":s.value}));const t=n,i=e,{t:o}=un(),a=Oe(),r=Oe(null),l=Oe(!0),s=Ce(()=>l.value?"none":"var(--theme--danger)"),u=Ce(()=>t.value===null||t.value===void 0?null:typeof t.value=="string"&&t.value.length>25?t.value.substring(0,22)+"...":t.value),d=Ce(()=>{switch(t.type){case"integer":case"bigInteger":return"^[+\\-]?[0-9]+$";case"decimal":case"float":return"^[+\\-]?[0-9]+\\.?[0-9]*$";case"uuid":return"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$";default:return}});Yr(()=>{var x;t.focus&&((x=r.value)==null||x.focus())}),cE(()=>m(t.value)),Wn(()=>t.value,x=>m(x),{immediate:!0});function g(x){return!!(x===""||typeof x!="string"||t.commaAllowed&&x.includes(",")||!d.value||new RegExp(d.value).test(x)||IX(x)||/^{{\s*?\S+?\s*?}}$/.test(x))}function m(x){l.value=g(x)}function _(x){l.value=g(x),l.value&&i("input",x===""?null:x)}return(x,S)=>{const A=G("v-icon"),F=G("v-select"),C=G("v-date-picker"),L=G("v-menu"),w=hi("input-auto-width");return x.type==="boolean"?(j(),ye(A,{key:0,name:x.value===null?"indeterminate_check_box":x.value?"check_box":"check_box_outline_blank",clickable:"",class:"preview",small:"",onClick:S[0]||(S[0]=$=>x.$emit("input",!x.value))},null,8,["name"])):x.is==="interface-input"?Qt((j(),Re("input",{key:1,ref_key:"inputEl",ref:r,type:"text",pattern:d.value,value:x.value,placeholder:"--",onInput:S[1]||(S[1]=$=>_($.target.value))},null,40,U5e)),[[w]]):x.is==="select"?(j(),ye(F,{key:2,inline:"",items:x.choices,"model-value":x.value,placeholder:h(o)("select"),"allow-other":"","group-selectable":"","onUpdate:modelValue":S[2]||(S[2]=$=>_($))},null,8,["items","model-value","placeholder"])):x.is==="interface-datetime"?(j(),Re(hn,{key:3},[Qt(ke("input",{ref_key:"inputEl",ref:r,type:"text",value:x.value,placeholder:"--",onInput:S[3]||(S[3]=$=>_($.target.value))},null,40,q5e),[[w]]),T(L,{ref_key:"dateTimeMenu",ref:a,"close-on-content-click":!1,"show-arrow":"",placement:"bottom-start",seamless:"","full-height":""},{activator:I(({toggle:$})=>[T(A,{class:"preview",name:"event",small:"",onClick:$},null,8,["onClick"])]),default:I(()=>{var $;return[ke("div",W5e,[T(C,{type:x.type,"model-value":x.value,"onUpdate:modelValue":_,onClose:($=a.value)==null?void 0:$.deactivate},null,8,["type","model-value","onClose"])])]}),_:1},512)],64)):(j(),ye(L,{key:4,"close-on-content-click":!1,"show-arrow":"",placement:"bottom-start"},{activator:I(({toggle:$})=>[x.type.startsWith("geometry")||x.type==="json"?(j(),ye(A,{key:0,class:"preview",name:x.type==="json"?"integration_instructions":"map",small:"",onClick:$},null,8,["name","onClick"])):(j(),Re("div",{key:1,class:"preview",onClick:$},me(u.value),9,G5e))]),default:I(()=>[ke("div",{class:yn(["input",x.type])},[(j(),ye(Uo(x.is),{class:"input-component",small:"",type:x.type,value:x.value,onInput:S[4]||(S[4]=$=>_($))},null,40,["type","value"]))],2)]),_:1}))}}}),S4=Wt(Y5e,[["__scopeId","data-v-743cebaa"]]);function $7(n){return n?Object.keys(n)[0]:""}function Zm(n){const e=$7(n);if(e.startsWith("_")||!et.isPlainObject(n[e]))return"";const t=Zm(n[e]);return t!==""?`${e}.${t}`:e}function jx(n){return n.includes("(")&&n.includes(")")}function i$(n){return $7(et.get(n,Zm(n)))}function Bk(n,e,t){return i(n.split("."));function i(o){const a=o.shift();return a!==void 0?{[a]:i(o)}:{[e]:t}}}const X5e={key:2,class:"list"},K5e={class:"and"},Z5e=Pt({__name:"input-group",props:{field:{},collection:{}},emits:["update:field"],setup(n,{emit:e}){const t=n,i=e,o=so(),a=Ha(),{t:r}=un(),l=Ce(()=>{const _=o.getField(t.collection,Zm(t.field));if((_==null?void 0:_.type)==="alias"){const x=a.getRelationsForField(t.collection,Zm(t.field));if(x[0])return o.getField(x[0].collection,x[0].field)}return _}),s=Ce(()=>i$(t.field)),u=Ce(()=>{var x,S,A,F;return(A=(S=(x=l.value)==null?void 0:x.meta)==null?void 0:S.options)!=null&&A.choices?"select":"interface-"+{bigInteger:"input",binary:"input",boolean:"boolean",date:"datetime",dateTime:"datetime",decimal:"input",float:"input",integer:"input",json:"input-code",string:"input",text:"input-multiline",time:"datetime",timestamp:"datetime",uuid:"input",csv:"input",hash:"input-hash",geometry:"map"}[((F=l.value)==null?void 0:F.type)||"string"]}),d=Ce({get(){const _=Zm(t.field),x=et.get(t.field,`${_}.${s.value}`);return["_in","_nin"].includes(s.value)?[...x.filter(S=>S!==null&&S!==""),null]:x},set(_){const x=Zm(t.field);let S;["_in","_nin"].includes(s.value)?S=_.flatMap(A=>typeof A=="string"?A.split(",").map(F=>F.trim()):"").filter(A=>A!==null&&A!==""):S=_,i("update:field",Bk(x,s.value,S))}}),g=Ce(()=>{var _,x,S;return((S=(x=(_=l.value)==null?void 0:_.meta)==null?void 0:x.options)==null?void 0:S.choices)??[]});function m(_,x){const S=Array.isArray(d.value)?et.clone(d.value):new Array(_+1);S[_]=x,d.value=S}return(_,x)=>{var S,A,F,C;return["_eq","_neq","_lt","_gt","_lte","_gte"].includes(s.value)?(j(),ye(S4,{key:0,is:u.value,choices:g.value,type:((S=l.value)==null?void 0:S.type)??"unknown",value:d.value,onInput:x[0]||(x[0]=L=>d.value=L)},null,8,["is","choices","type","value"])):["_contains","_ncontains","_icontains","_starts_with","_istarts_with","_nstarts_with","_nistarts_with","_ends_with","_iends_with","_nends_with","_niends_with","_regex"].includes(s.value)?(j(),ye(S4,{key:1,is:"interface-input",choices:g.value,type:((A=l.value)==null?void 0:A.type)??"unknown",value:d.value,onInput:x[1]||(x[1]=L=>d.value=L)},null,8,["choices","type","value"])):["_in","_nin"].includes(s.value)?(j(),Re("div",X5e,[(j(!0),Re(hn,null,Si(d.value,(L,w)=>{var $;return j(),Re("div",{key:w,class:"value"},[T(S4,{is:u.value,type:(($=l.value)==null?void 0:$.type)??"unknown",value:L,focus:!1,choices:g.value,"comma-allowed":"",onInput:B=>m(w,B)},null,8,["is","type","value","choices","onInput"])])}),128))])):["_between","_nbetween"].includes(s.value)?(j(),Re(hn,{key:3},[T(S4,{is:u.value,choices:g.value,type:((F=l.value)==null?void 0:F.type)??"unknown",value:d.value[0]??"",onInput:x[2]||(x[2]=L=>m(0,L))},null,8,["is","choices","type","value"]),ke("div",K5e,me(h(r)("interfaces.filter.and")),1),T(S4,{is:u.value,choices:g.value,type:((C=l.value)==null?void 0:C.type)??"unknown",value:d.value[1]??"",onInput:x[3]||(x[3]=L=>m(1,L))},null,8,["is","choices","type","value"])],64)):We("",!0)}}}),J5e=Wt(Z5e,[["__scopeId","data-v-f05a7ce8"]]),Q5e={class:"row"},ebe={key:0,block:"",class:"node field"},tbe={key:0,class:"plain-name"},nbe=["onClick"],ibe={class:"delete"},obe={key:1,class:"node logic"},rbe=["onClick"],abe={class:"text"},sbe={class:"delete"},lbe=Pt({__name:"nodes",props:{filter:{},collection:{},field:{default:void 0},depth:{default:1},inline:{type:Boolean,default:!1},includeValidation:{type:Boolean,default:!1},includeRelations:{type:Boolean,default:!0},relationalFieldSelectable:{type:Boolean,default:!0},rawFieldNames:{type:Boolean,default:!1}},emits:["remove-node","update:filter","change"],setup(n,{emit:e}){const t=n,i=e,{collection:o}=vo(t),a=Go(t,"filter",i),r=so(),l=Ha(),{t:s}=un(),u=Ce({get(){return t.filter.map((C,L)=>{const w=$7(C),$=w.startsWith("_")===!1;return $?{id:L,isField:$,name:w,field:Zm(C),comparator:i$(C),node:C}:{id:L,name:w,isField:$,node:C}})},set(C){i("update:filter",C.map(L=>L.node))}});function d(C){const w=Zm(C).split(".");return w.map((B,V)=>{const W=jx(B);let J=B,oe;if(W){const{field:fe,fn:Y}=J0(B);oe=Y,J=fe}const ue=w.slice(0,V),be=r.getField(t.collection,[...ue,J].join(".")),ie=(t.rawFieldNames?be==null?void 0:be.field:be==null?void 0:be.name)??J;return W?s(`functions.${oe}`)+` (${ie})`:ie}).join(" -> ")}function g(C){return t.filter.findIndex(L=>L===C)}function m(C){const L=u.value[C];u.value[C].isField||("_and"in L.node?a.value=a.value.map((w,$)=>$===C?{_or:L.node._and}:w):a.value=a.value.map((w,$)=>$===C?{_and:L.node._or}:w))}function _(C,L){const w=u.value[C];if(w.isField===!1)return;const $=w.field+"."+w.comparator,B=et.get(w.node,$);switch(L){case"_in":case"_nin":V(Xc(B)||[]);break;case"_between":case"_nbetween":V((Xc(B)||[]).slice(0,2));break;case"_null":case"_nnull":case"_empty":case"_nempty":V(!0);break;case"_intersects":case"_nintersects":case"_intersects_bbox":case"_nintersects_bbox":["_intersects","_nintersects","_intersects_bbox","_nintersects_bbox"].includes(w.comparator)?V(B):V(null);break;default:["_null","_nnull","_empty","_nempty"].includes(w.comparator)?V(null):V(Array.isArray(B)?B[0]:B);break}function V(W){w.isField!==!1&&(a.value=a.value.map((J,oe)=>oe===C?Bk(w.field,L,W):J))}}function x(C,L){const w=u.value[C],$=r.getField(t.collection,w.name),B=r.getField(t.collection,L);if(w.isField===!1)return;const V=w.field+"."+w.comparator;let W=et.get(w.node,V),J=w.comparator;($==null?void 0:$.type)!==(B==null?void 0:B.type)&&(W=null,J=A(L)[0].value),a.value=a.value.map((oe,ue)=>ue===C?Bk(L,J,W):oe)}function S(C,L){a.value=a.value.map((w,$)=>$===C?L:w)}function A(C){var w;let L;if(jx(C)){const $=C.split("(")[0];L=ER($)}else{const $=r.getField(t.collection,C);if(L=($==null?void 0:$.type)||"unknown",L==="alias"){const B=l.getRelationsForField(t.collection,C);B[0]&&(L=((w=r.getField(B[0].collection,B[0].field))==null?void 0:w.type)||"unknown")}}return SR(L,{includeValidation:t.includeValidation}).map($=>({text:s(`operators.${$}`),value:`_${$}`}))}function F(C){if(!t.collection)return!1;let L=Zm(C);if(jx(L)){const $=L.split("."),{field:B}=J0($.at(-1));L=[...$.slice(0,-1),B].join(".")}return!!r.getField(t.collection,L)}return(C,L)=>{const w=G("v-icon"),$=G("v-field-list"),B=G("v-menu"),V=G("v-select"),W=G("nodes",!0),J=hi("tooltip");return j(),ye(h(ud),Fr({tag:"ul",draggable:".row",handle:".drag-handle",class:"group",list:h(a),group:{name:"g1"},"item-key":g,"swap-threshold":.3},{"force-fallback":!0},{onChange:L[1]||(L[1]=oe=>C.$emit("change"))}),{item:I(({element:oe,index:ue})=>[ke("li",Q5e,[u.value[ue].isField?(j(),Re("div",ebe,[ke("div",{class:yn(["header",{inline:C.inline,"raw-field-names":C.rawFieldNames}])},[T(w,{name:"drag_indicator",class:"drag-handle",small:""}),C.field||!F(oe)?(j(),Re("span",tbe,me(d(oe)),1)):(j(),ye(B,{key:1,placement:"bottom-start","show-arrow":""},{activator:I(({toggle:be})=>[ke("button",{class:"name",onClick:be},[ke("span",null,me(d(oe)),1)],8,nbe)]),default:I(()=>[T($,{collection:h(o),field:C.field,"include-functions":"","include-relations":C.includeRelations,"relational-field-selectable":C.relationalFieldSelectable,"allow-select-all":!1,"raw-field-names":C.rawFieldNames,onAdd:be=>x(ue,be[0])},null,8,["collection","field","include-relations","relational-field-selectable","raw-field-names","onAdd"])]),_:2},1024)),T(V,{inline:"",class:"comparator",placement:"bottom-start","model-value":u.value[ue].comparator,items:A(u.value[ue].field),"onUpdate:modelValue":be=>_(ue,be)},null,8,["model-value","items","onUpdate:modelValue"]),T(J5e,{field:oe,collection:h(o),"onUpdate:field":be=>S(ue,be)},null,8,["field","collection","onUpdate:field"]),ke("span",ibe,[Qt(T(w,{name:"close",small:"",clickable:"",onClick:be=>C.$emit("remove-node",[ue])},null,8,["onClick"]),[[J,h(s)("delete_label")]])])],2)])):(j(),Re("div",obe,[ke("div",{class:yn(["header",{inline:C.inline}])},[T(w,{name:"drag_indicator",class:"drag-handle",small:""}),ke("div",{class:yn(["logic-type",{or:u.value[ue].name==="_or"}])},[ke("span",{class:"key",onClick:be=>m(ue)},me(u.value[ue].name==="_and"?h(s)("interfaces.filter.logic_type_and"):h(s)("interfaces.filter.logic_type_or")),9,rbe),ke("span",abe,me(`— ${u.value[ue].name==="_and"?h(s)("interfaces.filter.all"):h(s)("interfaces.filter.any")} ${h(s)("interfaces.filter.of_the_following")}`),1)],2),ke("span",sbe,[Qt(T(w,{name:"close",small:"",clickable:"",onClick:be=>C.$emit("remove-node",[ue])},null,8,["onClick"]),[[J,h(s)("delete_label")]])])],2),T(W,{filter:oe[u.value[ue].name],collection:h(o),depth:C.depth+1,inline:C.inline,"raw-field-names":C.rawFieldNames,onChange:L[0]||(L[0]=be=>C.$emit("change")),onRemoveNode:be=>C.$emit("remove-node",[`${ue}.${u.value[ue].name}`,...be]),"onUpdate:filter":be=>S(ue,{[u.value[ue].name]:be})},null,8,["filter","collection","depth","inline","raw-field-names","onRemoveNode","onUpdate:filter"])]))])]),_:1},16,["list"])}}}),cbe=Wt(lbe,[["__scopeId","data-v-c752b15e"]]),ube={key:0,class:"no-rules"},dbe={key:0,class:"buttons"},fbe={key:1,class:"buttons"},pbe=["onClick"],hbe=["placeholder"],mbe=Pt({__name:"system-filter",props:{value:{default:void 0},disabled:{type:Boolean,default:!1},collectionName:{default:void 0},collectionField:{default:void 0},collectionRequired:{type:Boolean,default:!0},fieldName:{default:void 0},inline:{type:Boolean,default:!1},includeValidation:{type:Boolean,default:!1},includeRelations:{type:Boolean,default:!0},relationalFieldSelectable:{type:Boolean,default:!0},rawFieldNames:{type:Boolean,default:!1}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=un(),a=Oe(),r=Sc("values",Oe({})),l=Ce(()=>t.collectionName?t.collectionName:r.value[t.collectionField]??null),s=so(),u=Ha(),d=Ce({get(){const A=typeof t.value=="string"?ug(t.value):t.value;return!A||et.isEmpty(A)?[]:$7(A)==="_and"?et.cloneDeep(A._and):et.cloneDeep([A])},set(A){A.length===0?i("input",null):i("input",{_and:A})}});function g(){d.value.length===0?i("input",null):i("input",{_and:d.value})}function m(A){var F,C,L;if(A==="$group")d.value=d.value.concat({_and:[]});else{let w;const $=s.getField(l.value,A);if(A.includes("(")&&A.includes(")")){const ue=A.split("(")[0];w=ER(ue),A=MX(A)}else if(w=($==null?void 0:$.type)||"unknown",w==="alias"){const ue=u.getRelationsForField(l.value,A);ue[0]&&(w=((F=s.getField(ue[0].collection,ue[0].field))==null?void 0:F.type)||"unknown")}const B=SR(w,{includeValidation:t.includeValidation}),V=(L=(C=$==null?void 0:$.meta)==null?void 0:C.options)!=null&&L.choices&&B.includes("eq")?"eq":B[0],J=V&&["empty","nempty","null","nnull"].includes(V)?!0:null,oe=et.set({},A,{["_"+V]:J});d.value=d.value.concat(oe)}}function _(A){const F=A.pop();if(A.length===0){d.value=d.value.filter((L,w)=>w!==Number(F));return}let C=et.get(d.value,A.join("."));C=C.filter((L,w)=>w!==Number(F)),d.value=et.set(d.value,A.join("."),C)}const x=Oe(null);function S(){x.value&&(a.value&&a.value.deactivate(),m(x.value),x.value=null)}return(A,F)=>{const C=G("v-notice"),L=G("v-list"),w=G("v-icon"),$=G("v-text-overflow"),B=G("v-list-item-content"),V=G("v-list-item"),W=G("v-divider"),J=G("v-field-list"),oe=G("v-menu");return A.collectionRequired&&!A.collectionField&&!l.value?(j(),ye(C,{key:0,type:"warning"},{default:I(()=>[ze(me(h(o)("collection_field_not_setup")),1)]),_:1})):A.collectionRequired&&!l.value?(j(),ye(C,{key:1,type:"warning"},{default:I(()=>[ze(me(h(o)("select_a_collection")),1)]),_:1})):(j(),Re("div",{key:2,class:yn(["system-filter",{inline:A.inline,empty:d.value.length===0,field:A.fieldName!==void 0}])},[T(L,{mandatory:""},{default:I(()=>[d.value.length===0?(j(),Re("div",ube,me(h(o)("interfaces.filter.no_rules")),1)):(j(),ye(cbe,{key:1,filter:d.value,"onUpdate:filter":F[0]||(F[0]=ue=>d.value=ue),collection:l.value,field:A.fieldName,depth:1,"include-validation":A.includeValidation,"include-relations":A.includeRelations,"relational-field-selectable":A.relationalFieldSelectable,"raw-field-names":A.rawFieldNames,onRemoveNode:F[1]||(F[1]=ue=>_(ue)),onChange:g},null,8,["filter","collection","field","include-validation","include-relations","relational-field-selectable","raw-field-names"]))]),_:1}),A.fieldName?(j(),Re("div",dbe,[ke("button",{onClick:F[2]||(F[2]=ue=>m(A.fieldName))},me(h(o)("interfaces.filter.add_filter")),1),ke("button",{onClick:F[3]||(F[3]=ue=>m("$group"))},me(h(o)("interfaces.filter.add_group")),1)])):(j(),Re("div",fbe,[T(oe,{ref_key:"menuEl",ref:a,placement:"bottom-start","show-arrow":""},{activator:I(({toggle:ue,active:be})=>[ke("button",{class:yn(["add-filter",{active:be}]),onClick:ue},[A.inline?(j(),ye(w,{key:0,name:"add",class:"add",small:""})):We("",!0),ke("span",null,me(h(o)("interfaces.filter.add_filter")),1),T(w,{name:"expand_more",class:"expand_more"})],10,pbe)]),default:I(()=>[A.collectionRequired?(j(),ye(J,{key:0,collection:l.value,"include-functions":"","include-relations":A.includeRelations,"relational-field-selectable":A.relationalFieldSelectable,"allow-select-all":!1,"raw-field-names":A.rawFieldNames,onAdd:F[5]||(F[5]=ue=>m(ue[0]))},{prepend:I(()=>[T(V,{clickable:"",onClick:F[4]||(F[4]=ue=>m("$group"))},{default:I(()=>[T(B,null,{default:I(()=>[T($,{text:h(o)("interfaces.filter.add_group")},null,8,["text"])]),_:1})]),_:1}),T(W)]),_:1},8,["collection","include-relations","relational-field-selectable","raw-field-names"])):(j(),ye(L,{key:1,mandatory:!1},{default:I(()=>[T(V,{clickable:"",onClick:F[6]||(F[6]=ue=>m("$group"))},{default:I(()=>[T(B,null,{default:I(()=>[T($,{text:h(o)("interfaces.filter.add_group")},null,8,["text"])]),_:1})]),_:1}),T(W),T(V,{onClick:F[8]||(F[8]=Ji(()=>{},["stop"]))},{default:I(()=>[T(B,null,{default:I(()=>[Qt(ke("input",{"onUpdate:modelValue":F[7]||(F[7]=ue=>x.value=ue),class:"new-key-input",placeholder:h(o)("interfaces.filter.add_key_placeholder"),onKeydown:g1(S,["enter"])},null,40,hbe),[[Ty,x.value]])]),_:1})]),_:1})]),_:1}))]),_:1},512)]))],2))}}}),vbe=Wt(mbe,[["__scopeId","data-v-965dd0d3"]]),gbe=Xo({id:"system-filter",name:"$t:interfaces.filter.name",icon:"search",component:vbe,types:["json"],options:[],system:!0}),o$=["root"],jb=Oe(!1),Vx=Oe(null),HL=Oe(null),UL=Oe(o$);function w5(n,e){const t=Ce(()=>a$(HL.value,n==null?void 0:n.value)),i=Oe(qL(n==null?void 0:n.value)),o=Ce({get(){return!(n!=null&&n.value)&&!(e!=null&&e.value)?UL.value:i.value},set(r){!(n!=null&&n.value)&&!(e!=null&&e.value)?UL.value=r:i.value=r}});return n&&Wn(n,(r,l)=>{r&&l===void 0&&(i.value=qL(r))}),Vx.value===null&&a(),{loading:jb,folders:Vx,nestedFolders:t,fetchFolders:a,openFolders:o};async function a(){if(jb.value!==!0){jb.value=!0;try{const r=await ld("/folders",{params:{sort:"name"}});Vx.value=r,HL.value=ybe(r)}catch(r){Vi(r)}finally{jb.value=!1}}}}function ybe(n){return n.map(e=>r$(e,n)).filter(e=>e.parent===null)}function r$(n,e){const t={...n},i=e.reduce((o,a)=>(a.parent===n.id&&a.id!==n.id&&o.push(r$(a,e)),o),[]);return i.length>0&&(t.children=i),t}function a$(n,e){if(!n)return null;if(!e)return n;for(const t of n){if(t.id===e)return t.children??null;if(t.children){const i=a$(t.children,e);if(i)return i}}return null}function qL(n){return n?[n]:o$}const _be=Pt({__name:"folder-list-item",props:{folder:{},currentFolder:{},disabled:{type:Boolean},disabledFolders:{}},emits:["click"],setup(n){return(e,t)=>{const i=G("v-icon"),o=G("v-list-item-icon"),a=G("v-list-item-content"),r=G("v-list-item"),l=G("folder-list-item",!0),s=G("v-list-group");return!e.folder.children||e.folder.children.length===0?(j(),ye(r,{key:0,active:e.currentFolder===e.folder.id,disabled:e.disabled,clickable:"",onClick:t[0]||(t[0]=u=>e.$emit("click",e.folder.id))},{default:I(()=>[T(o,null,{default:I(()=>[T(i,{name:e.currentFolder===e.folder.id?"folder_open":"folder"},null,8,["name"])]),_:1}),T(a,null,{default:I(()=>[ze(me(e.folder.name),1)]),_:1})]),_:1},8,["active","disabled"])):(j(),ye(s,{key:1,clickable:"",active:e.currentFolder===e.folder.id,disabled:e.disabled,onClick:t[2]||(t[2]=u=>e.$emit("click",e.folder.id))},{activator:I(()=>[T(o,null,{default:I(()=>[T(i,{name:e.currentFolder===e.folder.id?"folder_open":"folder"},null,8,["name"])]),_:1}),T(a,null,{default:I(()=>[ze(me(e.folder.name),1)]),_:1})]),default:I(()=>[(j(!0),Re(hn,null,Si(e.folder.children,u=>{var d;return j(),ye(l,{key:u.id,folder:u,"current-folder":e.currentFolder,disabled:(d=e.disabledFolders)==null?void 0:d.includes(u.id),"disabled-folders":e.disabledFolders,onClick:t[1]||(t[1]=g=>e.$emit("click",g))},null,8,["folder","current-folder","disabled","disabled-folders"])}),128))]),_:1},8,["active","disabled"]))}}}),bbe=Pt({__name:"folder",props:{value:{},disabledFolders:{},disabled:{type:Boolean},placeholder:{}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=un(),{nestedFolders:a,folders:r,loading:l}=w5(),s=Ce(()=>{if(!t.value||!r.value)return o("interfaces.system-folder.root_name");const g=r.value.find(m=>m.id===t.value);return g?d(g,r.value).map(m=>m.name).join(" / "):t.value});function u(g){return i("input",g)}function d(g,m){const _=new Map(m.map(S=>[S.id,S])),x=S=>(S.parent&&_.has(S.parent)?x(_.get(S.parent)):[]).concat(S);return x(g)}return(g,m)=>{const _=G("v-skeleton-loader"),x=G("v-icon"),S=G("v-input"),A=G("v-list-item-icon"),F=G("v-list-item-content"),C=G("v-list-item"),L=G("v-divider"),w=G("v-list"),$=G("v-menu");return h(l)?(j(),ye(_,{key:0})):(j(),ye($,{key:1,class:"v-select",attached:"","show-arrow":!1,disabled:g.disabled,"close-on-content-click":""},{activator:I(({toggle:B,active:V})=>[T(S,{readonly:"",active:V,"model-value":s.value,placeholder:g.placeholder,disabled:g.disabled,onClick:B},{prepend:I(()=>[T(x,{name:g.value?"folder_open":"folder_special"},null,8,["name"])]),append:I(()=>[T(x,{name:"expand_more",class:yn({active:V})},null,8,["class"])]),_:2},1032,["active","model-value","placeholder","disabled","onClick"])]),default:I(()=>[T(w,null,{default:I(()=>[T(C,{clickable:"",active:!g.value,onClick:m[0]||(m[0]=B=>u(null))},{default:I(()=>[T(A,null,{default:I(()=>[T(x,{name:"folder_special"})]),_:1}),T(F,null,{default:I(()=>[ze(me(h(o)("interfaces.system-folder.root_name")),1)]),_:1})]),_:1},8,["active"]),h(a)&&h(a).length>0?(j(),ye(L,{key:0})):We("",!0),(j(!0),Re(hn,null,Si(h(a),B=>{var V;return j(),ye(_be,{key:B.id,clickable:"",folder:B,"current-folder":g.value,disabled:(V=g.disabledFolders)==null?void 0:V.includes(B.id),"disabled-folders":g.disabledFolders,onClick:u},null,8,["folder","current-folder","disabled","disabled-folders"])}),128))]),_:1})]),_:1},8,["disabled"]))}}}),xbe=Wt(bbe,[["__scopeId","data-v-5f37a0bc"]]),wbe=Xo({id:"system-folder",name:"$t:interfaces.system-folder.folder",description:"$t:interfaces.system-folder.description",icon:"folder",component:xbe,types:["uuid"],options:[],system:!0,recommendedDisplays:["raw"]}),kbe=Pt({__name:"system-inline-fields",props:{value:{}},emits:["input"],setup(n,{emit:e}){const{t}=un(),i=n,o=e,a=Ce({get(){var l;return((l=i.value)==null?void 0:l.map(s=>{const{field:u,type:d,name:g,meta:m,schema:_}=s,x=!g&&u?ac(u):g,S={field:u,type:d,name:x};for(const[A,F]of Object.entries(m??{}))S[`meta.${A}`]=F;for(const[A,F]of Object.entries(_??{}))S[`schema.${A}`]=F;return S}))??null},set(l){o("input",l==null?void 0:l.map(s=>{const u={};for(const[d,g]of Object.entries(s))et.set(u,d.split("."),g);return u}))}}),r=Ce(()=>[{name:t("field_key"),field:"field",type:"string",meta:{interface:"input",width:"half",required:!0,options:{dbSafe:!0,font:"monospace",placeholder:t("field_key_placeholder")}}},{name:t("field_name"),field:"name",type:"string",meta:{interface:"system-input-translated-string",width:"half",options:{placeholder:t("field_name_placeholder")}}},{name:t("type"),field:"type",type:"string",meta:{interface:"select-dropdown",width:"half",options:{choices:Cl(mE)}}},{name:t("interface_label"),field:"meta.interface",type:"string",meta:{interface:"system-interface",width:"half",options:{typeField:"type"}}},{name:t("note"),field:"meta.note",type:"string",meta:{interface:"system-input-translated-string",width:"full",options:{placeholder:t("interfaces.list.field_note_placeholder")}}},{name:t("field_width"),field:"meta.width",type:"string",meta:{interface:"select-dropdown",width:"half",options:{choices:[{value:"half",text:t("half_width")},{value:"full",text:t("full_width")}]}}},{name:t("required"),field:"meta.required",type:"boolean",meta:{interface:"boolean",options:{label:t("requires_value")},width:"half"}},{name:t("options"),field:"meta.options",type:"string",meta:{interface:"system-interface-options",width:"full",options:{interfaceField:"meta.interface"}}}]);return(l,s)=>{const u=G("interface-list");return j(),ye(u,{value:a.value,template:"{{ name }} - {{ meta.interface }}",fields:r.value,onInput:s[0]||(s[0]=d=>a.value=d)},null,8,["value","fields"])}}}),Cbe=Xo({id:"system-inline-fields",name:"Inline Fields",description:"Inline Fields",icon:"box",component:kbe,system:!0,types:["json"],group:"standard",options:[]}),Sbe=Pt({__name:"input-password",props:{value:{default:null},autofocus:{type:Boolean,default:!1},autocomplete:{default:"new-password"},placeholder:{},disabled:{type:Boolean,default:!1}},emits:["input"],setup(n,{emit:e}){const t=e,{t:i}=un(),o=Oe(!0);function a(){o.value=!o.value}return(r,l)=>{const s=G("v-icon"),u=G("v-input"),d=hi("tooltip");return j(),ye(u,{"model-value":r.value,type:o.value?"password":"text",autocomplete:r.autocomplete,autofocus:r.autofocus,placeholder:r.placeholder??h(i)("password"),disabled:r.disabled,"onUpdate:modelValue":l[0]||(l[0]=g=>t("input",g))},{append:I(()=>[Qt(T(s,{name:o.value?"visibility":"visibility_off",clickable:"",onClick:a},null,8,["name"]),[[d,o.value?h(i)("show_password"):h(i)("hide_password")]])]),_:1},8,["model-value","type","autocomplete","autofocus","placeholder","disabled"])}}}),Ebe=Xo({id:"system-input-password",name:"$t:interfaces.input-password.input-password",description:"$t:interfaces.input-password.description",icon:"visibility",component:Sbe,system:!0,types:["string","text"],group:"standard",options:[{field:"placeholder",name:"$t:placeholder",type:"string",meta:{width:"half",interface:"input",options:{placeholder:"$t:enter_a_placeholder"}}}]});function N7(n){return PR()?(ZX(n),!0):!1}function u2(n){return typeof n=="function"?n():h(n)}const Abe=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Tbe=n=>n!=null,Dbe=Object.prototype.toString,Lbe=n=>Dbe.call(n)==="[object Object]",j0=()=>{};function Ibe(n,e){function t(...i){return new Promise((o,a)=>{Promise.resolve(n(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})).then(o).catch(a)})}return t}const s$=n=>n();function Mbe(n,e={}){let t,i,o=j0;const a=l=>{clearTimeout(l),o(),o=j0};return l=>{const s=u2(n),u=u2(e.maxWait);return t&&a(t),s<=0||u!==void 0&&u<=0?(i&&(a(i),i=null),Promise.resolve(l())):new Promise((d,g)=>{o=e.rejectOnCancel?g:d,u&&!i&&(i=setTimeout(()=>{t&&a(t),i=null,d(l())},u)),t=setTimeout(()=>{i&&a(i),i=null,d(l())},s)})}}function Fbe(n=s$){const e=Oe(!0);function t(){e.value=!1}function i(){e.value=!0}const o=(...a)=>{e.value&&n(...a)};return{isActive:JX(e),pause:t,resume:i,eventFilter:o}}function Pbe(n){return OR()}function l$(n,e,t={}){const{eventFilter:i=s$,...o}=t;return Wn(n,Ibe(i,e),o)}function Obe(n,e,t={}){const{eventFilter:i,...o}=t,{eventFilter:a,pause:r,resume:l,isActive:s}=Fbe(i);return{stop:l$(n,e,{...o,eventFilter:a}),pause:r,resume:l,isActive:s}}function Rbe(n,e=!0,t){Pbe()?Yr(n,t):e?n():ad(n)}function c$(n,e,t={}){const{debounce:i=0,maxWait:o=void 0,...a}=t;return l$(n,e,{...a,eventFilter:Mbe(i,{maxWait:o})})}function zbe(n,e,t){let i;In(t)?i={evaluating:t}:i=t||{};const{lazy:o=!1,evaluating:a=void 0,shallow:r=!0,onError:l=j0}=i,s=Oe(!o),u=r?$h(e):Oe(e);let d=0;return Z0(async g=>{if(!s.value)return;d++;const m=d;let _=!1;a&&Promise.resolve().then(()=>{a.value=!0});try{const x=await n(S=>{g(()=>{a&&(a.value=!1),_||S()})});m===d&&(u.value=x)}catch(x){l(x)}finally{a&&m===d&&(a.value=!1),_=!0}}),o?Ce(()=>(s.value=!0,u.value)):u}const bv=Abe?window:void 0;function q6(n){var e;const t=u2(n);return(e=t==null?void 0:t.$el)!=null?e:t}function r2(...n){let e,t,i,o;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,i,o]=n,e=bv):[e,t,i,o]=n,!e)return j0;Array.isArray(t)||(t=[t]),Array.isArray(i)||(i=[i]);const a=[],r=()=>{a.forEach(d=>d()),a.length=0},l=(d,g,m,_)=>(d.addEventListener(g,m,_),()=>d.removeEventListener(g,m,_)),s=Wn(()=>[q6(e),u2(o)],([d,g])=>{if(r(),!d)return;const m=Lbe(g)?{...g}:g;a.push(...t.flatMap(_=>i.map(x=>l(d,_,x,m))))},{immediate:!0,flush:"post"}),u=()=>{s(),r()};return N7(u),u}function $be(){const n=Oe(!1),e=OR();return e&&Yr(()=>{n.value=!0},e),n}function u$(n){const e=$be();return Ce(()=>(e.value,!!n()))}function Nbe(n,e={}){const{window:t=bv}=e,i=u$(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let o;const a=Oe(!1),r=u=>{a.value=u.matches},l=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",r):o.removeListener(r))},s=Z0(()=>{i.value&&(l(),o=t.matchMedia(u2(n)),"addEventListener"in o?o.addEventListener("change",r):o.addListener(r),a.value=o.matches)});return N7(()=>{s(),l(),o=void 0}),a}const Vb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Hb="__vueuse_ssr_handlers__",Bbe=jbe();function jbe(){return Hb in Vb||(Vb[Hb]=Vb[Hb]||{}),Vb[Hb]}function Vbe(n,e){return Bbe[n]||e}function Hbe(n){return n==null?"any":n instanceof Set?"set":n instanceof Map?"map":n instanceof Date?"date":typeof n=="boolean"?"boolean":typeof n=="string"?"string":typeof n=="object"?"object":Number.isNaN(n)?"any":"number"}const Ube={boolean:{read:n=>n==="true",write:n=>String(n)},object:{read:n=>JSON.parse(n),write:n=>JSON.stringify(n)},number:{read:n=>Number.parseFloat(n),write:n=>String(n)},any:{read:n=>n,write:n=>String(n)},string:{read:n=>n,write:n=>String(n)},map:{read:n=>new Map(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n.entries()))},set:{read:n=>new Set(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n))},date:{read:n=>new Date(n),write:n=>n.toISOString()}},WL="vueuse-storage";function d$(n,e,t,i={}){var o;const{flush:a="pre",deep:r=!0,listenToStorageChanges:l=!0,writeDefaults:s=!0,mergeDefaults:u=!1,shallow:d,window:g=bv,eventFilter:m,onError:_=oe=>{console.error(oe)},initOnMounted:x}=i,S=(d?$h:Oe)(typeof e=="function"?e():e);if(!t)try{t=Vbe("getDefaultStorage",()=>{var oe;return(oe=bv)==null?void 0:oe.localStorage})()}catch(oe){_(oe)}if(!t)return S;const A=u2(e),F=Hbe(A),C=(o=i.serializer)!=null?o:Ube[F],{pause:L,resume:w}=Obe(S,()=>B(S.value),{flush:a,deep:r,eventFilter:m});g&&l&&Rbe(()=>{t instanceof Storage?r2(g,"storage",W):r2(g,WL,J),x&&W()}),x||W();function $(oe,ue){if(g){const be={key:n,oldValue:oe,newValue:ue,storageArea:t};g.dispatchEvent(t instanceof Storage?new StorageEvent("storage",be):new CustomEvent(WL,{detail:be}))}}function B(oe){try{const ue=t.getItem(n);if(oe==null)$(ue,null),t.removeItem(n);else{const be=C.write(oe);ue!==be&&(t.setItem(n,be),$(ue,be))}}catch(ue){_(ue)}}function V(oe){const ue=oe?oe.newValue:t.getItem(n);if(ue==null)return s&&A!=null&&t.setItem(n,C.write(A)),A;if(!oe&&u){const be=C.read(ue);return typeof u=="function"?u(be,A):F==="object"&&!Array.isArray(be)?{...A,...be}:be}else return typeof ue!="string"?ue:C.read(ue)}function W(oe){if(!(oe&&oe.storageArea!==t)){if(oe&&oe.key==null){S.value=A;return}if(!(oe&&oe.key!==n)){L();try{(oe==null?void 0:oe.newValue)!==C.write(S.value)&&(S.value=V(oe))}catch(ue){_(ue)}finally{oe?ad(w):w()}}}}function J(oe){W(oe.detail)}return S}function qbe(n,e,t={}){const{root:i,rootMargin:o="0px",threshold:a=0,window:r=bv,immediate:l=!0}=t,s=u$(()=>r&&"IntersectionObserver"in r),u=Ce(()=>{const x=u2(n);return(Array.isArray(x)?x:[x]).map(q6).filter(Tbe)});let d=j0;const g=Oe(l),m=s.value?Wn(()=>[u.value,q6(i),g.value],([x,S])=>{if(d(),!g.value||!x.length)return;const A=new IntersectionObserver(e,{root:q6(S),rootMargin:o,threshold:a});x.forEach(F=>F&&A.observe(F)),d=()=>{A.disconnect(),d=j0}},{immediate:l,flush:"post"}):j0,_=()=>{d(),m(),g.value=!1};return N7(_),{isSupported:s,isActive:g,pause(){d(),g.value=!1},resume(){g.value=!0},stop:_}}function Wbe(n,e={}){const{window:t=bv,scrollTarget:i,threshold:o=0}=e,a=Oe(!1);return qbe(n,r=>{let l=a.value,s=0;for(const u of r)u.time>=s&&(s=u.time,l=u.isIntersecting);a.value=l},{root:i,window:t,threshold:o}),a}const E4=new Map;function Gbe(n){const e=PR();function t(l){var s;const u=E4.get(n)||new Set;u.add(l),E4.set(n,u);const d=()=>o(l);return(s=e==null?void 0:e.cleanups)==null||s.push(d),d}function i(l){function s(...u){o(s),l(...u)}return t(s)}function o(l){const s=E4.get(n);s&&(s.delete(l),s.size||a())}function a(){E4.delete(n)}function r(l,s){var u;(u=E4.get(n))==null||u.forEach(d=>d(l,s))}return{on:t,once:i,off:o,emit:r,reset:a}}function M8(n,e,t={}){const{window:i=bv}=t;return d$(n,e,i==null?void 0:i.localStorage,t)}function zAt(n,e,t={}){const{window:i=bv}=t;return d$(n,e,i==null?void 0:i.sessionStorage,t)}function Ybe(n,e){r2(document,"beforeunload",t=>{n.value&&t.preventDefault()}),fE(e),I7(e)}function Ff(n,e){const t=Oe(!1),i=Oe(null);return Ybe(n,l=>{const{path:s,query:u}=ph();if(n.value&&(!o(s,l.path)&&!a(l.path)||r(u,l.query)))return t.value=!0,i.value=l.fullPath,!1}),{confirmLeave:t,leaveTo:i};function o(l,s){return l===s||s.startsWith(l)&&s.substring(l.length).includes("/")}function a(l){const s=h(e==null?void 0:e.ignorePrefix);return s?l.startsWith(s):!1}function r(l,s){const u=h(e==null?void 0:e.compareQuery);if(!u)return!1;for(const d of u)if(!et.isEqual(l[d],s[d]))return!0;return!1}}function Xbe(n){var i;const{currentUser:e}=Gr();if(!e)return n??{};if(!("id"in e))return n??{};const t={role:((i=e.role)==null?void 0:i.id)??null,user:e.id};return FX(n,t,{$CURRENT_ROLE:e.role,$CURRENT_USER:e})??{}}const L1=dd({id:"permissionsStore",state:()=>({permissions:{}}),actions:{async hydrate(){const n=Gr(),e=await Yn.get("/permissions/me"),t=i(e.data.data);t.length>0&&await n.hydrateAdditionalFields(t),this.permissions=et.mapValues(e.data.data,o=>(Object.values(o).forEach(a=>{a.presets&&(a.presets=Xbe(a.presets))}),o));function i(o){const a=new Set,r=l=>{typeof l=="string"&&(l.startsWith("$CURRENT_USER.")?a.add(l.replace("$CURRENT_USER.","")):l.startsWith("$CURRENT_ROLE.")&&a.add(l.replace("$CURRENT_ROLE.","role.")))};return Object.values(o).forEach(l=>{Object.values(l).forEach(s=>{p5(s.presets,r)})}),Array.from(a)}},dehydrate(){this.$reset()},getPermission(n,e){var t;return((t=this.permissions[n])==null?void 0:t[e])??null},hasPermission(n,e){var i;return Gr().isAdmin?!0:(((i=this.getPermission(n,e))==null?void 0:i.access)??"none")!=="none"}}}),f$=(n,e)=>n.fields?n.fields.includes("*")||n.fields.includes(e):!1,p$=(n,e)=>{const{info:t}=Bs(Oe(n)),i=Gr(),{getPermission:o}=L1();return Ce(()=>{var s,u;const a=h(n);if(!a)return!1;const r=(u=(s=t.value)==null?void 0:s.meta)==null?void 0:u.archive_field;if(!r)return!1;if(i.isAdmin)return!0;const l=o(a,"update");return!l||!f$(l,r)?!1:e.value})},Ub=(n,e)=>{const{hasPermission:t}=L1();return Ce(()=>{const i=h(n);return i?t(i,e):!1})},Kbe=()=>{const{hasPermission:n}=L1();return Ce(()=>n("directus_revisions","read"))},Zbe=n=>{const{info:e}=Bs(Oe(n)),t=Gr(),{getPermission:i}=L1();return Ce(()=>{var l,s;const o=h(n);if(!o)return!1;const a=(s=(l=e.value)==null?void 0:l.meta)==null?void 0:s.sort_field;if(!a)return!1;if(t.isAdmin)return!0;const r=i(o,"update");return r?f$(r,a):!1})};function Ec(n){const e=Ub(n,"read"),t=Ub(n,"create"),i=Ub(n,"update"),o=Ub(n,"delete"),a=Zbe(n),r=p$(n,i),l=Kbe();return{readAllowed:e,createAllowed:t,updateAllowed:i,deleteAllowed:o,sortAllowed:a,archiveAllowed:r,revisionsAllowed:l}}function Jbe(n,e,t){const i=Gr(),{getPermission:o}=L1(),{fields:a,info:r}=Bs(Oe(n));return Ce(()=>{var m,_,x,S,A;const l=h(n);if(!l)return[];let s=et.cloneDeep(a.value);if(i.isAdmin)return s;const u=(m=o(l,"read"))==null?void 0:m.fields;u&&!u.includes("*")&&(s=s.filter(F=>u.includes(F.field)));const d=(x=(_=r.value)==null?void 0:_.meta)!=null&&x.singleton?t.value.update:o(l,h(e)?"create":"update");if(!((S=d==null?void 0:d.fields)!=null&&S.includes("*")))for(const F of s)(A=d==null?void 0:d.fields)!=null&&A.includes(F.field)||(F.meta={...F.meta||{},readonly:!0});const g=d==null?void 0:d.presets;if(g)for(const F of s)F.field in g&&(F.schema={...F.schema||{},default_value:g[F.field]});return s})}const Qbe=n=>n.access==="full",Hx=(n,e,t,i)=>{const o=Gr(),{getPermission:a}=L1(),r=Ce(()=>{const l=h(n);if(!l||h(e))return!1;if(o.isAdmin)return!0;const s=a(l,i);return s?Qbe(s)?!0:null:!1});return Ce(()=>r.value!==null?r.value:t.value[i].access)},e6e={update:{access:!1},delete:{access:!1},share:{access:!1}},t6e=(n,e)=>{const t=Oe(!1),i=Oe(0),o=zbe(async()=>{i.value;const r=h(e);try{return(await Yn.get(`/permissions/me/${h(n)}${r!==null?`/${encodeURIComponent(r)}`:""}`)).data.data}catch(l){return Vi(l),{update:{access:!0},delete:{access:!0},share:{access:!0}}}},e6e,{lazy:!0,evaluating:t});return{loading:t,refresh:()=>i.value++,fetchedItemPermissions:o}};function ty(n,e,t){const{loading:i,fetchedItemPermissions:o,refresh:a}=t6e(n,e),r=Hx(n,t,o,"update"),l=Hx(n,t,o,"delete"),s=Hx(n,t,o,"share"),u=p$(n,r),d=Jbe(n,t,o);return{loading:i,refresh:a,updateAllowed:r,deleteAllowed:l,shareAllowed:s,archiveAllowed:u,fields:d}}const n6e=(n,e,t)=>Ce(()=>h(n)?e.value:t.value);function jk(n,e,t){const i=Ec(n),o=ty(n,e,t),a=n6e(t,i.createAllowed,o.updateAllowed);return{collectionPermissions:i,itemPermissions:{...o,saveAllowed:a}}}function F8(n,e,t){const i=Oe(null),o=Oe(!1),a=Oe(null),r=Ce(()=>{var m,_,x;return((m=t==null?void 0:t.template)==null?void 0:m.value)??((x=(_=n.value)==null?void 0:_.meta)==null?void 0:x.display_template)??null}),l=Ce(()=>!r.value||!n.value?null:Gl(r.value)),s=Ce(()=>{var _;if(!l.value||!n.value)return null;const m=(_=t==null?void 0:t.injectData)==null?void 0:_.value;return Au(m?l.value.filter(x=>!et.has(m,x)):l.value,n.value.collection)}),u=Ce(()=>{var _;if(!i.value)return null;const m=(_=t==null?void 0:t.injectData)==null?void 0:_.value;return!m||!l.value?i.value:et.merge({},i.value,et.pick(m,l.value))}),d=Ce(()=>{var m,_;return!!((_=(m=n.value)==null?void 0:m.meta)!=null&&_.singleton)});return Wn([n,e,s],g,{immediate:!0}),{template:r,templateData:u,loading:o,error:a,fetchTemplateValues:g};async function g(){if(!e.value&&!d.value||e.value==="+"||!n.value||s.value===null){i.value=null;return}if(s.value.length===0){i.value={};return}o.value=!0;const m=ds(n.value.collection),_=e.value?`${m}/${encodeURIComponent(e.value)}`:m;try{const x=await Yn.get(_,{params:{fields:s.value}});i.value=x.data.data}catch(x){a.value=x}finally{o.value=!1}}}function PE(n){return Ce(()=>h(n).reduce(function(e,t){var i;return((i=t.schema)==null?void 0:i.default_value)!==void 0&&!(t.schema.is_primary_key&&t.schema.data_type==="integer"&&typeof t.schema.default_value=="string")&&(e[t.field]=t.schema.default_value),e},{}))}var i6e=(n,e,t=500)=>class extends Error{constructor(o,a){const r=typeof e=="string"?e:e(o);super(r,a);Di(this,"name","DirectusError");Di(this,"extensions");Di(this,"code",n.toUpperCase());Di(this,"status",t);this.extensions=o}toString(){return`${this.name} [${this.code}]: ${this.message}`}},W6=(n=>(n.ContainsNullValues="CONTAINS_NULL_VALUES",n.ContentTooLarge="CONTENT_TOO_LARGE",n.Forbidden="FORBIDDEN",n.IllegalAssetTransformation="ILLEGAL_ASSET_TRANSFORMATION",n.Internal="INTERNAL_SERVER_ERROR",n.InvalidCredentials="INVALID_CREDENTIALS",n.InvalidForeignKey="INVALID_FOREIGN_KEY",n.InvalidIp="INVALID_IP",n.InvalidOtp="INVALID_OTP",n.InvalidPayload="INVALID_PAYLOAD",n.InvalidProvider="INVALID_PROVIDER",n.InvalidProviderConfig="INVALID_PROVIDER_CONFIG",n.InvalidQuery="INVALID_QUERY",n.InvalidToken="INVALID_TOKEN",n.LimitExceeded="LIMIT_EXCEEDED",n.MethodNotAllowed="METHOD_NOT_ALLOWED",n.NotNullViolation="NOT_NULL_VIOLATION",n.OutOfDate="OUT_OF_DATE",n.RangeNotSatisfiable="RANGE_NOT_SATISFIABLE",n.RecordNotUnique="RECORD_NOT_UNIQUE",n.RequestsExceeded="REQUESTS_EXCEEDED",n.RouteNotFound="ROUTE_NOT_FOUND",n.ServiceUnavailable="SERVICE_UNAVAILABLE",n.TokenExpired="TOKEN_EXPIRED",n.UnexpectedResponse="UNEXPECTED_RESPONSE",n.UnprocessableContent="UNPROCESSABLE_CONTENT",n.UnsupportedMediaType="UNSUPPORTED_MEDIA_TYPE",n.UserSuspended="USER_SUSPENDED",n.ValueOutOfRange="VALUE_OUT_OF_RANGE",n.ValueTooLong="VALUE_TOO_LONG",n))(W6||{}),o6e=n=>{let e=`Validation failed for field "${n.field}".`;if("valid"in n)switch(n.type){case"eq":e+=` Value has to be "${n.valid}".`;break;case"lt":e+=` Value has to be less than "${n.valid}".`;break;case"lte":e+=` Value has to be less than or equal to "${n.valid}".`;break;case"gt":e+=` Value has to be greater than "${n.valid}".`;break;case"gte":e+=` Value has to be greater than or equal to "${n.valid}".`;break;case"in":e+=` Value has to be one of ${Xc(n.valid).map(t=>`"${t}"`).join(", ")}.`;break}if("invalid"in n)switch(n.type){case"neq":e+=` Value can't be "${n.invalid}".`;break;case"nin":e+=` Value can't be one of ${Xc(n.invalid).map(t=>`"${t}"`).join(", ")}.`;break}if("substring"in n)switch(n.type){case"contains":case"icontains":e+=` Value has to contain "${n.substring}".`;break;case"ncontains":e+=` Value can't contain "${n.substring}".`;break}switch(n.type){case"null":e+=" Value has to be null.";break;case"nnull":e+=" Value can't be null.";break;case"empty":e+=" Value has to be empty.";break;case"nempty":e+=" Value can't be empty.";break;case"required":e+=" Value is required.";break;case"regex":e+=" Value doesn't have the correct format.";break;case"email":e+=" Value has to be a valid email address.";break}return e},r6e=i6e("FAILED_VALIDATION",o6e,400),a6e=n=>{var i,o,a,r,l,s,u,d,g,m,_,x,S,A,F,C;const e={field:n.path[0]},t=n.type;if(t.endsWith("only"))if(((i=n.context)==null?void 0:i.valids.length)>1)e.type="in",e.valid=(o=n.context)==null?void 0:o.valids;else{const L=(a=n.context)==null?void 0:a.valids[0];L===null?e.type="null":L===""?e.type="empty":(e.type="eq",e.valid=L)}if(t.endsWith("invalid"))if(((r=n.context)==null?void 0:r.invalids.length)>1)e.type="nin",e.invalid=(l=n.context)==null?void 0:l.invalids;else{const L=(s=n.context)==null?void 0:s.invalids[0];L===null?e.type="nnull":L===""?e.type="nempty":(e.type="neq",e.invalid=L)}if(t.endsWith("greater")&&(e.type="gt",e.valid=(u=n.context)==null?void 0:u.limit),t.endsWith("min")&&(e.type="gte",e.valid=(d=n.context)==null?void 0:d.limit),t.endsWith("less")&&(e.type="lt",e.valid=(g=n.context)==null?void 0:g.limit),t.endsWith("max")&&(e.type="lte",e.valid=(m=n.context)==null?void 0:m.limit),t.endsWith("contains")&&(e.type="contains",e.substring=(_=n.context)==null?void 0:_.substring),t.endsWith("ncontains")&&(e.type="ncontains",e.substring=(x=n.context)==null?void 0:x.substring),(t.endsWith("required")||t.endsWith(".base"))&&(e.type="required"),t.endsWith(".pattern.base")&&(e.type="regex",e.invalid=(S=n.context)==null?void 0:S.value),t.endsWith(".pattern.name")||t.endsWith(".pattern.invert.name")){e.type=(A=n.context)==null?void 0:A.name;const L=(C=(F=n.context)==null?void 0:F.regex)==null?void 0:C.toString();switch(e.type){case"starts_with":case"nstarts_with":case"istarts_with":case"nistarts_with":e.substring=L.substring(2,L.lastIndexOf("/")-2);break;case"ends_with":case"nends_with":case"iends_with":case"niends_with":e.substring=L.substring(3,L.lastIndexOf("/")-1);break}}if(!e.type)throw new Error("Couldn't extract validation error type from Joi validation error item");return e};function k5(n){var i;const{currentUser:e}=Gr();if(!e)return n??{};if(!("id"in e))return n??{};const t={role:((i=e.role)==null?void 0:i.id)??null,roles:e.roles.map(o=>o.id),user:e.id};return PX(n,t,{$CURRENT_ROLE:e.role??void 0,$CURRENT_ROLES:e.roles,$CURRENT_USER:e})??{}}function h$(n,e){var t;if(e.meta&&Array.isArray((t=e.meta)==null?void 0:t.conditions)){const o=[...e.meta.conditions].reverse().find(a=>{if(!a.rule||Object.keys(a.rule).length!==1)return;const r=k5(a.rule);return AR(r,n,{requireAll:!0}).length===0});return o?{...e,meta:et.merge({},e.meta||{},{readonly:o.readonly,options:o.options,hidden:o.hidden,required:o.required})}:e}else return e}function Vk(n,e,t){var s;const i=Ha(),o={_and:[]},r=e.map(u=>h$(n,u)).filter(u=>{var d;return((d=u.meta)==null?void 0:d.required)===!0}),l=et.cloneDeep(n);for(const u of r)t&&et.isNil((s=u.schema)==null?void 0:s.default_value)&&o._and.push({[u.field]:{_submitted:!0}}),i.getRelationsForField(u.collection,u.field).length>0&&Array.isArray(l[u.field])&&et.isEmpty(l[u.field])&&(l[u.field]=null),o._and.push({[u.field]:{_nnull:!0}});return et.flatten(AR(o,l).map(u=>u.details.map(d=>new r6e(a6e(d)).extensions))).map(u=>{var g,m;const d=e.find(_=>_.field===u.field);return{...u,hidden:(g=d==null?void 0:d.meta)==null?void 0:g.hidden,group:(m=d==null?void 0:d.meta)==null?void 0:m.group}})}function s6e(n){return{all:n=n||new Map,on:function(e,t){var i=n.get(e);i?i.push(t):n.set(e,[t])},off:function(e,t){var i=n.get(e);i&&(t?i.splice(i.indexOf(t)>>>0,1):n.set(e,[]))},emit:function(e,t){var i=n.get(e);i&&i.slice().map(function(o){o(t)}),(i=n.get("*"))&&i.slice().map(function(o){o(e,t)})}}}const Gc=s6e();var bc=(n=>(n.upload="upload",n.tabIdle="tab-idle",n.tabActive="tab-active",n.tusResumableUploadsChanged="tus-resumable-uploads-changed",n))(bc||{});function Hk(n){"@babel/helpers - typeof";return Hk=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},Hk(n)}function l6e(n,e,t){return Object.defineProperty(n,"prototype",{writable:!1}),n}function c6e(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function u6e(n,e,t){return e=P_(e),d6e(n,OE()?Reflect.construct(e,t||[],P_(n).constructor):e.apply(n,t))}function d6e(n,e){if(e&&(Hk(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return f6e(n)}function f6e(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function p6e(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&F_(n,e)}function Uk(n){var e=typeof Map=="function"?new Map:void 0;return Uk=function(i){if(i===null||!m6e(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(i))return e.get(i);e.set(i,o)}function o(){return h6e(i,arguments,P_(this).constructor)}return o.prototype=Object.create(i.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),F_(o,i)},Uk(n)}function h6e(n,e,t){if(OE())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,e);var o=new(n.bind.apply(n,i));return t&&F_(o,t.prototype),o}function OE(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(OE=function(){return!!n})()}function m6e(n){try{return Function.toString.call(n).indexOf("[native code]")!==-1}catch{return typeof n=="function"}}function F_(n,e){return F_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},F_(n,e)}function P_(n){return P_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},P_(n)}var qb=function(n){function e(t){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(c6e(this,e),i=u6e(this,e,[t]),i.originalRequest=a,i.originalResponse=r,i.causingError=o,o!=null&&(t+=", caused by ".concat(o.toString())),a!=null){var l=a.getHeader("X-Request-ID")||"n/a",s=a.getMethod(),u=a.getURL(),d=r?r.getStatus():"n/a",g=r?r.getBody()||"":"n/a";t+=", originated from request (method: ".concat(s,", url: ").concat(u,", response code: ").concat(d,", response text: ").concat(g,", request id: ").concat(l,")")}return i.message=t,i}return p6e(e,n),l6e(e)}(Uk(Error));function O_(n){"@babel/helpers - typeof";return O_=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},O_(n)}function v6e(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function g6e(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,_6e(i.key),i)}}function y6e(n,e,t){return e&&g6e(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function _6e(n){var e=b6e(n,"string");return O_(e)=="symbol"?e:e+""}function b6e(n,e){if(O_(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(O_(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}var x6e=function(){function n(){v6e(this,n)}return y6e(n,[{key:"listAllUploads",value:function(){return Promise.resolve([])}},{key:"findUploadsByFingerprint",value:function(t){return Promise.resolve([])}},{key:"removeUpload",value:function(t){return Promise.resolve()}},{key:"addUpload",value:function(t,i){return Promise.resolve(null)}}])}();const m$="3.7.7",w6e=m$,My=typeof Buffer=="function",GL=typeof TextDecoder=="function"?new TextDecoder:void 0,YL=typeof TextEncoder=="function"?new TextEncoder:void 0,k6e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Y4=Array.prototype.slice.call(k6e),Wb=(n=>{let e={};return n.forEach((t,i)=>e[t]=i),e})(Y4),C6e=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,rd=String.fromCharCode.bind(String),XL=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):n=>new Uint8Array(Array.prototype.slice.call(n,0)),v$=n=>n.replace(/=/g,"").replace(/[+\/]/g,e=>e=="+"?"-":"_"),g$=n=>n.replace(/[^A-Za-z0-9\+\/]/g,""),y$=n=>{let e,t,i,o,a="";const r=n.length%3;for(let l=0;l<n.length;){if((t=n.charCodeAt(l++))>255||(i=n.charCodeAt(l++))>255||(o=n.charCodeAt(l++))>255)throw new TypeError("invalid character found");e=t<<16|i<<8|o,a+=Y4[e>>18&63]+Y4[e>>12&63]+Y4[e>>6&63]+Y4[e&63]}return r?a.slice(0,r-3)+"===".substring(r):a},RE=typeof btoa=="function"?n=>btoa(n):My?n=>Buffer.from(n,"binary").toString("base64"):y$,qk=My?n=>Buffer.from(n).toString("base64"):n=>{let t=[];for(let i=0,o=n.length;i<o;i+=4096)t.push(rd.apply(null,n.subarray(i,i+4096)));return RE(t.join(""))},G6=(n,e=!1)=>e?v$(qk(n)):qk(n),S6e=n=>{if(n.length<2){var e=n.charCodeAt(0);return e<128?n:e<2048?rd(192|e>>>6)+rd(128|e&63):rd(224|e>>>12&15)+rd(128|e>>>6&63)+rd(128|e&63)}else{var e=65536+(n.charCodeAt(0)-55296)*1024+(n.charCodeAt(1)-56320);return rd(240|e>>>18&7)+rd(128|e>>>12&63)+rd(128|e>>>6&63)+rd(128|e&63)}},E6e=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,_$=n=>n.replace(E6e,S6e),KL=My?n=>Buffer.from(n,"utf8").toString("base64"):YL?n=>qk(YL.encode(n)):n=>RE(_$(n)),E3=(n,e=!1)=>e?v$(KL(n)):KL(n),ZL=n=>E3(n,!0),A6e=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,T6e=n=>{switch(n.length){case 4:var e=(7&n.charCodeAt(0))<<18|(63&n.charCodeAt(1))<<12|(63&n.charCodeAt(2))<<6|63&n.charCodeAt(3),t=e-65536;return rd((t>>>10)+55296)+rd((t&1023)+56320);case 3:return rd((15&n.charCodeAt(0))<<12|(63&n.charCodeAt(1))<<6|63&n.charCodeAt(2));default:return rd((31&n.charCodeAt(0))<<6|63&n.charCodeAt(1))}},b$=n=>n.replace(A6e,T6e),x$=n=>{if(n=n.replace(/\s+/g,""),!C6e.test(n))throw new TypeError("malformed base64.");n+="==".slice(2-(n.length&3));let e,t="",i,o;for(let a=0;a<n.length;)e=Wb[n.charAt(a++)]<<18|Wb[n.charAt(a++)]<<12|(i=Wb[n.charAt(a++)])<<6|(o=Wb[n.charAt(a++)]),t+=i===64?rd(e>>16&255):o===64?rd(e>>16&255,e>>8&255):rd(e>>16&255,e>>8&255,e&255);return t},zE=typeof atob=="function"?n=>atob(g$(n)):My?n=>Buffer.from(n,"base64").toString("binary"):x$,w$=My?n=>XL(Buffer.from(n,"base64")):n=>XL(zE(n).split("").map(e=>e.charCodeAt(0))),k$=n=>w$(C$(n)),D6e=My?n=>Buffer.from(n,"base64").toString("utf8"):GL?n=>GL.decode(w$(n)):n=>b$(zE(n)),C$=n=>g$(n.replace(/[-_]/g,e=>e=="-"?"+":"/")),Wk=n=>D6e(C$(n)),L6e=n=>{if(typeof n!="string")return!1;const e=n.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},S$=n=>({value:n,enumerable:!1,writable:!0,configurable:!0}),E$=function(){const n=(e,t)=>Object.defineProperty(String.prototype,e,S$(t));n("fromBase64",function(){return Wk(this)}),n("toBase64",function(e){return E3(this,e)}),n("toBase64URI",function(){return E3(this,!0)}),n("toBase64URL",function(){return E3(this,!0)}),n("toUint8Array",function(){return k$(this)})},A$=function(){const n=(e,t)=>Object.defineProperty(Uint8Array.prototype,e,S$(t));n("toBase64",function(e){return G6(this,e)}),n("toBase64URI",function(){return G6(this,!0)}),n("toBase64URL",function(){return G6(this,!0)})},I6e=()=>{E$(),A$()},M6e={version:m$,VERSION:w6e,atob:zE,atobPolyfill:x$,btoa:RE,btoaPolyfill:y$,fromBase64:Wk,toBase64:E3,encode:E3,encodeURI:ZL,encodeURL:ZL,utob:_$,btou:b$,decode:Wk,isValid:L6e,fromUint8Array:G6,toUint8Array:k$,extendString:E$,extendUint8Array:A$,extendBuiltins:I6e};var F6e=function(e,t){if(t=t.split(":")[0],e=+e,!e)return!1;switch(t){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0},$E={},P6e=Object.prototype.hasOwnProperty,O6e;function JL(n){try{return decodeURIComponent(n.replace(/\+/g," "))}catch{return null}}function QL(n){try{return encodeURIComponent(n)}catch{return null}}function R6e(n){for(var e=/([^=?#&]+)=?([^&]*)/g,t={},i;i=e.exec(n);){var o=JL(i[1]),a=JL(i[2]);o===null||a===null||o in t||(t[o]=a)}return t}function z6e(n,e){e=e||"";var t=[],i,o;typeof e!="string"&&(e="?");for(o in n)if(P6e.call(n,o)){if(i=n[o],!i&&(i===null||i===O6e||isNaN(i))&&(i=""),o=QL(o),i=QL(i),o===null||i===null)continue;t.push(o+"="+i)}return t.length?e+t.join("&"):""}$E.stringify=z6e;$E.parse=R6e;var T$=F6e,B7=$E,$6e=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,D$=/[\n\r\t]/g,N6e=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,L$=/:\d+$/,B6e=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,j6e=/^[a-zA-Z]:/;function NE(n){return(n||"").toString().replace($6e,"")}var Gk=[["#","hash"],["?","query"],function(e,t){return Xh(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],eI={hash:1,query:1};function I$(n){var e;typeof window<"u"?e=window:typeof jr<"u"?e=jr:typeof self<"u"?e=self:e={};var t=e.location||{};n=n||t;var i={},o=typeof n,a;if(n.protocol==="blob:")i=new im(unescape(n.pathname),{});else if(o==="string"){i=new im(n,{});for(a in eI)delete i[a]}else if(o==="object"){for(a in n)a in eI||(i[a]=n[a]);i.slashes===void 0&&(i.slashes=N6e.test(n.href))}return i}function Xh(n){return n==="file:"||n==="ftp:"||n==="http:"||n==="https:"||n==="ws:"||n==="wss:"}function M$(n,e){n=NE(n),n=n.replace(D$,""),e=e||{};var t=B6e.exec(n),i=t[1]?t[1].toLowerCase():"",o=!!t[2],a=!!t[3],r=0,l;return o?a?(l=t[2]+t[3]+t[4],r=t[2].length+t[3].length):(l=t[2]+t[4],r=t[2].length):a?(l=t[3]+t[4],r=t[3].length):l=t[4],i==="file:"?r>=2&&(l=l.slice(2)):Xh(i)?l=t[4]:i?o&&(l=l.slice(2)):r>=2&&Xh(e.protocol)&&(l=t[4]),{protocol:i,slashes:o||Xh(i),slashesCount:r,rest:l}}function V6e(n,e){if(n==="")return e;for(var t=(e||"/").split("/").slice(0,-1).concat(n.split("/")),i=t.length,o=t[i-1],a=!1,r=0;i--;)t[i]==="."?t.splice(i,1):t[i]===".."?(t.splice(i,1),r++):r&&(i===0&&(a=!0),t.splice(i,1),r--);return a&&t.unshift(""),(o==="."||o==="..")&&t.push(""),t.join("/")}function im(n,e,t){if(n=NE(n),n=n.replace(D$,""),!(this instanceof im))return new im(n,e,t);var i,o,a,r,l,s,u=Gk.slice(),d=typeof e,g=this,m=0;for(d!=="object"&&d!=="string"&&(t=e,e=null),t&&typeof t!="function"&&(t=B7.parse),e=I$(e),o=M$(n||"",e),i=!o.protocol&&!o.slashes,g.slashes=o.slashes||i&&e.slashes,g.protocol=o.protocol||e.protocol||"",n=o.rest,(o.protocol==="file:"&&(o.slashesCount!==2||j6e.test(n))||!o.slashes&&(o.protocol||o.slashesCount<2||!Xh(g.protocol)))&&(u[3]=[/(.*)/,"pathname"]);m<u.length;m++){if(r=u[m],typeof r=="function"){n=r(n,g);continue}a=r[0],s=r[1],a!==a?g[s]=n:typeof a=="string"?(l=a==="@"?n.lastIndexOf(a):n.indexOf(a),~l&&(typeof r[2]=="number"?(g[s]=n.slice(0,l),n=n.slice(l+r[2])):(g[s]=n.slice(l),n=n.slice(0,l)))):(l=a.exec(n))&&(g[s]=l[1],n=n.slice(0,l.index)),g[s]=g[s]||i&&r[3]&&e[s]||"",r[4]&&(g[s]=g[s].toLowerCase())}t&&(g.query=t(g.query)),i&&e.slashes&&g.pathname.charAt(0)!=="/"&&(g.pathname!==""||e.pathname!=="")&&(g.pathname=V6e(g.pathname,e.pathname)),g.pathname.charAt(0)!=="/"&&Xh(g.protocol)&&(g.pathname="/"+g.pathname),T$(g.port,g.protocol)||(g.host=g.hostname,g.port=""),g.username=g.password="",g.auth&&(l=g.auth.indexOf(":"),~l?(g.username=g.auth.slice(0,l),g.username=encodeURIComponent(decodeURIComponent(g.username)),g.password=g.auth.slice(l+1),g.password=encodeURIComponent(decodeURIComponent(g.password))):g.username=encodeURIComponent(decodeURIComponent(g.auth)),g.auth=g.password?g.username+":"+g.password:g.username),g.origin=g.protocol!=="file:"&&Xh(g.protocol)&&g.host?g.protocol+"//"+g.host:"null",g.href=g.toString()}function H6e(n,e,t){var i=this;switch(n){case"query":typeof e=="string"&&e.length&&(e=(t||B7.parse)(e)),i[n]=e;break;case"port":i[n]=e,T$(e,i.protocol)?e&&(i.host=i.hostname+":"+e):(i.host=i.hostname,i[n]="");break;case"hostname":i[n]=e,i.port&&(e+=":"+i.port),i.host=e;break;case"host":i[n]=e,L$.test(e)?(e=e.split(":"),i.port=e.pop(),i.hostname=e.join(":")):(i.hostname=e,i.port="");break;case"protocol":i.protocol=e.toLowerCase(),i.slashes=!t;break;case"pathname":case"hash":if(e){var o=n==="pathname"?"/":"#";i[n]=e.charAt(0)!==o?o+e:e}else i[n]=e;break;case"username":case"password":i[n]=encodeURIComponent(e);break;case"auth":var a=e.indexOf(":");~a?(i.username=e.slice(0,a),i.username=encodeURIComponent(decodeURIComponent(i.username)),i.password=e.slice(a+1),i.password=encodeURIComponent(decodeURIComponent(i.password))):i.username=encodeURIComponent(decodeURIComponent(e))}for(var r=0;r<Gk.length;r++){var l=Gk[r];l[4]&&(i[l[1]]=i[l[1]].toLowerCase())}return i.auth=i.password?i.username+":"+i.password:i.username,i.origin=i.protocol!=="file:"&&Xh(i.protocol)&&i.host?i.protocol+"//"+i.host:"null",i.href=i.toString(),i}function U6e(n){(!n||typeof n!="function")&&(n=B7.stringify);var e,t=this,i=t.host,o=t.protocol;o&&o.charAt(o.length-1)!==":"&&(o+=":");var a=o+(t.protocol&&t.slashes||Xh(t.protocol)?"//":"");return t.username?(a+=t.username,t.password&&(a+=":"+t.password),a+="@"):t.password?(a+=":"+t.password,a+="@"):t.protocol!=="file:"&&Xh(t.protocol)&&!i&&t.pathname!=="/"&&(a+="@"),(i[i.length-1]===":"||L$.test(t.hostname)&&!t.port)&&(i+=":"),a+=i+t.pathname,e=typeof t.query=="object"?n(t.query):t.query,e&&(a+=e.charAt(0)!=="?"?"?"+e:e),t.hash&&(a+=t.hash),a}im.prototype={set:H6e,toString:U6e};im.extractProtocol=M$;im.location=I$;im.trimLeft=NE;im.qs=B7;var q6e=im;const W6e=Fd(q6e);function G6e(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var e=Math.random()*16|0,t=n==="x"?e:e&3|8;return t.toString(16)})}function Yk(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Yk=function(){return e};var n,e={},t=Object.prototype,i=t.hasOwnProperty,o=Object.defineProperty||function(re,ge,he){re[ge]=he.value},a=typeof Symbol=="function"?Symbol:{},r=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(re,ge,he){return Object.defineProperty(re,ge,{value:he,enumerable:!0,configurable:!0,writable:!0}),re[ge]}try{u({},"")}catch{u=function(he,Ie,je){return he[Ie]=je}}function d(re,ge,he,Ie){var je=ge&&ge.prototype instanceof F?ge:F,Ue=Object.create(je.prototype),Ee=new fe(Ie||[]);return o(Ue,"_invoke",{value:oe(re,he,Ee)}),Ue}function g(re,ge,he){try{return{type:"normal",arg:re.call(ge,he)}}catch(Ie){return{type:"throw",arg:Ie}}}e.wrap=d;var m="suspendedStart",_="suspendedYield",x="executing",S="completed",A={};function F(){}function C(){}function L(){}var w={};u(w,r,function(){return this});var $=Object.getPrototypeOf,B=$&&$($(Y([])));B&&B!==t&&i.call(B,r)&&(w=B);var V=L.prototype=F.prototype=Object.create(w);function W(re){["next","throw","return"].forEach(function(ge){u(re,ge,function(he){return this._invoke(ge,he)})})}function J(re,ge){function he(je,Ue,Ee,we){var lt=g(re[je],re,Ue);if(lt.type!=="throw"){var pt=lt.arg,yt=pt.value;return yt&&Q0(yt)=="object"&&i.call(yt,"__await")?ge.resolve(yt.__await).then(function(vt){he("next",vt,Ee,we)},function(vt){he("throw",vt,Ee,we)}):ge.resolve(yt).then(function(vt){pt.value=vt,Ee(pt)},function(vt){return he("throw",vt,Ee,we)})}we(lt.arg)}var Ie;o(this,"_invoke",{value:function(Ue,Ee){function we(){return new ge(function(lt,pt){he(Ue,Ee,lt,pt)})}return Ie=Ie?Ie.then(we,we):we()}})}function oe(re,ge,he){var Ie=m;return function(je,Ue){if(Ie===x)throw Error("Generator is already running");if(Ie===S){if(je==="throw")throw Ue;return{value:n,done:!0}}for(he.method=je,he.arg=Ue;;){var Ee=he.delegate;if(Ee){var we=ue(Ee,he);if(we){if(we===A)continue;return we}}if(he.method==="next")he.sent=he._sent=he.arg;else if(he.method==="throw"){if(Ie===m)throw Ie=S,he.arg;he.dispatchException(he.arg)}else he.method==="return"&&he.abrupt("return",he.arg);Ie=x;var lt=g(re,ge,he);if(lt.type==="normal"){if(Ie=he.done?S:_,lt.arg===A)continue;return{value:lt.arg,done:he.done}}lt.type==="throw"&&(Ie=S,he.method="throw",he.arg=lt.arg)}}}function ue(re,ge){var he=ge.method,Ie=re.iterator[he];if(Ie===n)return ge.delegate=null,he==="throw"&&re.iterator.return&&(ge.method="return",ge.arg=n,ue(re,ge),ge.method==="throw")||he!=="return"&&(ge.method="throw",ge.arg=new TypeError("The iterator does not provide a '"+he+"' method")),A;var je=g(Ie,re.iterator,ge.arg);if(je.type==="throw")return ge.method="throw",ge.arg=je.arg,ge.delegate=null,A;var Ue=je.arg;return Ue?Ue.done?(ge[re.resultName]=Ue.value,ge.next=re.nextLoc,ge.method!=="return"&&(ge.method="next",ge.arg=n),ge.delegate=null,A):Ue:(ge.method="throw",ge.arg=new TypeError("iterator result is not an object"),ge.delegate=null,A)}function be(re){var ge={tryLoc:re[0]};1 in re&&(ge.catchLoc=re[1]),2 in re&&(ge.finallyLoc=re[2],ge.afterLoc=re[3]),this.tryEntries.push(ge)}function ie(re){var ge=re.completion||{};ge.type="normal",delete ge.arg,re.completion=ge}function fe(re){this.tryEntries=[{tryLoc:"root"}],re.forEach(be,this),this.reset(!0)}function Y(re){if(re||re===""){var ge=re[r];if(ge)return ge.call(re);if(typeof re.next=="function")return re;if(!isNaN(re.length)){var he=-1,Ie=function je(){for(;++he<re.length;)if(i.call(re,he))return je.value=re[he],je.done=!1,je;return je.value=n,je.done=!0,je};return Ie.next=Ie}}throw new TypeError(Q0(re)+" is not iterable")}return C.prototype=L,o(V,"constructor",{value:L,configurable:!0}),o(L,"constructor",{value:C,configurable:!0}),C.displayName=u(L,s,"GeneratorFunction"),e.isGeneratorFunction=function(re){var ge=typeof re=="function"&&re.constructor;return!!ge&&(ge===C||(ge.displayName||ge.name)==="GeneratorFunction")},e.mark=function(re){return Object.setPrototypeOf?Object.setPrototypeOf(re,L):(re.__proto__=L,u(re,s,"GeneratorFunction")),re.prototype=Object.create(V),re},e.awrap=function(re){return{__await:re}},W(J.prototype),u(J.prototype,l,function(){return this}),e.AsyncIterator=J,e.async=function(re,ge,he,Ie,je){je===void 0&&(je=Promise);var Ue=new J(d(re,ge,he,Ie),je);return e.isGeneratorFunction(ge)?Ue:Ue.next().then(function(Ee){return Ee.done?Ee.value:Ue.next()})},W(V),u(V,s,"Generator"),u(V,r,function(){return this}),u(V,"toString",function(){return"[object Generator]"}),e.keys=function(re){var ge=Object(re),he=[];for(var Ie in ge)he.push(Ie);return he.reverse(),function je(){for(;he.length;){var Ue=he.pop();if(Ue in ge)return je.value=Ue,je.done=!1,je}return je.done=!0,je}},e.values=Y,fe.prototype={constructor:fe,reset:function(ge){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(ie),!ge)for(var he in this)he.charAt(0)==="t"&&i.call(this,he)&&!isNaN(+he.slice(1))&&(this[he]=n)},stop:function(){this.done=!0;var ge=this.tryEntries[0].completion;if(ge.type==="throw")throw ge.arg;return this.rval},dispatchException:function(ge){if(this.done)throw ge;var he=this;function Ie(pt,yt){return Ee.type="throw",Ee.arg=ge,he.next=pt,yt&&(he.method="next",he.arg=n),!!yt}for(var je=this.tryEntries.length-1;je>=0;--je){var Ue=this.tryEntries[je],Ee=Ue.completion;if(Ue.tryLoc==="root")return Ie("end");if(Ue.tryLoc<=this.prev){var we=i.call(Ue,"catchLoc"),lt=i.call(Ue,"finallyLoc");if(we&&lt){if(this.prev<Ue.catchLoc)return Ie(Ue.catchLoc,!0);if(this.prev<Ue.finallyLoc)return Ie(Ue.finallyLoc)}else if(we){if(this.prev<Ue.catchLoc)return Ie(Ue.catchLoc,!0)}else{if(!lt)throw Error("try statement without catch or finally");if(this.prev<Ue.finallyLoc)return Ie(Ue.finallyLoc)}}}},abrupt:function(ge,he){for(var Ie=this.tryEntries.length-1;Ie>=0;--Ie){var je=this.tryEntries[Ie];if(je.tryLoc<=this.prev&&i.call(je,"finallyLoc")&&this.prev<je.finallyLoc){var Ue=je;break}}Ue&&(ge==="break"||ge==="continue")&&Ue.tryLoc<=he&&he<=Ue.finallyLoc&&(Ue=null);var Ee=Ue?Ue.completion:{};return Ee.type=ge,Ee.arg=he,Ue?(this.method="next",this.next=Ue.finallyLoc,A):this.complete(Ee)},complete:function(ge,he){if(ge.type==="throw")throw ge.arg;return ge.type==="break"||ge.type==="continue"?this.next=ge.arg:ge.type==="return"?(this.rval=this.arg=ge.arg,this.method="return",this.next="end"):ge.type==="normal"&&he&&(this.next=he),A},finish:function(ge){for(var he=this.tryEntries.length-1;he>=0;--he){var Ie=this.tryEntries[he];if(Ie.finallyLoc===ge)return this.complete(Ie.completion,Ie.afterLoc),ie(Ie),A}},catch:function(ge){for(var he=this.tryEntries.length-1;he>=0;--he){var Ie=this.tryEntries[he];if(Ie.tryLoc===ge){var je=Ie.completion;if(je.type==="throw"){var Ue=je.arg;ie(Ie)}return Ue}}throw Error("illegal catch attempt")},delegateYield:function(ge,he,Ie){return this.delegate={iterator:Y(ge),resultName:he,nextLoc:Ie},this.method==="next"&&(this.arg=n),A}},e}function tI(n,e,t,i,o,a,r){try{var l=n[a](r),s=l.value}catch(u){t(u);return}l.done?e(s):Promise.resolve(s).then(i,o)}function Y6e(n){return function(){var e=this,t=arguments;return new Promise(function(i,o){var a=n.apply(e,t);function r(s){tI(a,i,o,r,l,"next",s)}function l(s){tI(a,i,o,r,l,"throw",s)}r(void 0)})}}function F$(n,e){return Z6e(n)||K6e(n,e)||P$(n,e)||X6e()}function X6e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
64
64
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function K6e(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var i,o,a,r,l=[],s=!0,u=!1;try{if(a=(t=t.call(n)).next,e!==0)for(;!(s=(i=a.call(t)).done)&&(l.push(i.value),l.length!==e);s=!0);}catch(d){u=!0,o=d}finally{try{if(!s&&t.return!=null&&(r=t.return(),Object(r)!==r))return}finally{if(u)throw o}}return l}}function Z6e(n){if(Array.isArray(n))return n}function Q0(n){"@babel/helpers - typeof";return Q0=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},Q0(n)}function J6e(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=P$(n))||e){t&&(n=t);var i=0,o=function(){};return{s:o,n:function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
65
65
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,r=!1,l;return{s:function(){t=t.call(n)},n:function(){var u=t.next();return a=u.done,u},e:function(u){r=!0,l=u},f:function(){try{!a&&t.return!=null&&t.return()}finally{if(r)throw l}}}}function P$(n,e){if(n){if(typeof n=="string")return nI(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return nI(n,e)}}function nI(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}function iI(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function Gg(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?iI(Object(t),!0).forEach(function(i){Q6e(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):iI(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Q6e(n,e,t){return e=O$(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function e8e(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function oI(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,O$(i.key),i)}}function t8e(n,e,t){return e&&oI(n.prototype,e),t&&oI(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function O$(n){var e=n8e(n,"string");return Q0(e)=="symbol"?e:e+""}function n8e(n,e){if(Q0(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(Q0(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var Xk="tus-v1",Y6="ietf-draft-03",i8e={endpoint:null,uploadUrl:null,metadata:{},metadataForPartialUploads:{},fingerprint:null,uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,onUploadUrlAvailable:null,overridePatchMethod:!1,headers:{},addRequestId:!1,onBeforeRequest:null,onAfterResponse:null,onShouldRetry:R$,chunkSize:Number.POSITIVE_INFINITY,retryDelays:[0,1e3,3e3,5e3],parallelUploads:1,parallelUploadBoundaries:null,storeFingerprintForResuming:!0,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1,urlStorage:null,fileReader:null,httpStack:null,protocol:Xk},P8=function(){function n(e,t){e8e(this,n),"resume"in t&&console.log("tus: The `resume` option has been removed in tus-js-client v2. Please use the URL storage API instead."),this.options=t,this.options.chunkSize=Number(this.options.chunkSize),this._urlStorage=this.options.urlStorage,this.file=e,this.url=null,this._req=null,this._fingerprint=null,this._urlStorageKey=null,this._offset=null,this._aborted=!1,this._size=null,this._source=null,this._retryAttempt=0,this._retryTimeout=null,this._offsetBeforeRetry=0,this._parallelUploads=null,this._parallelUploadUrls=null}return t8e(n,[{key:"findPreviousUploads",value:function(){var t=this;return this.options.fingerprint(this.file,this.options).then(function(i){return t._urlStorage.findUploadsByFingerprint(i)})}},{key:"resumeFromPreviousUpload",value:function(t){this.url=t.uploadUrl||null,this._parallelUploadUrls=t.parallelUploadUrls||null,this._urlStorageKey=t.urlStorageKey}},{key:"start",value:function(){var t=this,i=this.file;if(!i){this._emitError(new Error("tus: no file or stream to upload provided"));return}if(![Xk,Y6].includes(this.options.protocol)){this._emitError(new Error("tus: unsupported protocol ".concat(this.options.protocol)));return}if(!this.options.endpoint&&!this.options.uploadUrl&&!this.url){this._emitError(new Error("tus: neither an endpoint or an upload URL is provided"));return}var o=this.options.retryDelays;if(o!=null&&Object.prototype.toString.call(o)!=="[object Array]"){this._emitError(new Error("tus: the `retryDelays` option must either be an array or null"));return}if(this.options.parallelUploads>1)for(var a=0,r=["uploadUrl","uploadSize","uploadLengthDeferred"];a<r.length;a++){var l=r[a];if(this.options[l]){this._emitError(new Error("tus: cannot use the ".concat(l," option when parallelUploads is enabled")));return}}if(this.options.parallelUploadBoundaries){if(this.options.parallelUploads<=1){this._emitError(new Error("tus: cannot use the `parallelUploadBoundaries` option when `parallelUploads` is disabled"));return}if(this.options.parallelUploads!==this.options.parallelUploadBoundaries.length){this._emitError(new Error("tus: the `parallelUploadBoundaries` must have the same length as the value of `parallelUploads`"));return}}this.options.fingerprint(i,this.options).then(function(s){return t._fingerprint=s,t._source?t._source:t.options.fileReader.openFile(i,t.options.chunkSize)}).then(function(s){if(t._source=s,t.options.uploadLengthDeferred)t._size=null;else if(t.options.uploadSize!=null){if(t._size=Number(t.options.uploadSize),Number.isNaN(t._size)){t._emitError(new Error("tus: cannot convert `uploadSize` option into a number"));return}}else if(t._size=t._source.size,t._size==null){t._emitError(new Error("tus: cannot automatically derive upload's size from input. Specify it manually using the `uploadSize` option or use the `uploadLengthDeferred` option"));return}t.options.parallelUploads>1||t._parallelUploadUrls!=null?t._startParallelUpload():t._startSingleUpload()}).catch(function(s){t._emitError(s)})}},{key:"_startParallelUpload",value:function(){var t,i=this,o=this._size,a=0;this._parallelUploads=[];var r=this._parallelUploadUrls!=null?this._parallelUploadUrls.length:this.options.parallelUploads,l=(t=this.options.parallelUploadBoundaries)!==null&&t!==void 0?t:r8e(this._source.size,r);this._parallelUploadUrls&&l.forEach(function(d,g){d.uploadUrl=i._parallelUploadUrls[g]||null}),this._parallelUploadUrls=new Array(l.length);var s=l.map(function(d,g){var m=0;return i._source.slice(d.start,d.end).then(function(_){var x=_.value;return new Promise(function(S,A){var F=Gg(Gg({},i.options),{},{uploadUrl:d.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,parallelUploadBoundaries:null,metadata:i.options.metadataForPartialUploads,headers:Gg(Gg({},i.options.headers),{},{"Upload-Concat":"partial"}),onSuccess:S,onError:A,onProgress:function(w){a=a-m+w,m=w,i._emitProgress(a,o)},onUploadUrlAvailable:function(){i._parallelUploadUrls[g]=C.url,i._parallelUploadUrls.filter(function(w){return!!w}).length===l.length&&i._saveUploadInUrlStorage()}}),C=new n(x,F);C.start(),i._parallelUploads.push(C)})})}),u;Promise.all(s).then(function(){u=i._openRequest("POST",i.options.endpoint),u.setHeader("Upload-Concat","final;".concat(i._parallelUploadUrls.join(" ")));var d=rI(i.options.metadata);return d!==""&&u.setHeader("Upload-Metadata",d),i._sendRequest(u,null)}).then(function(d){if(!l3(d.getStatus(),200)){i._emitHttpError(u,d,"tus: unexpected response while creating upload");return}var g=d.getHeader("Location");if(g==null){i._emitHttpError(u,d,"tus: invalid or missing Location header");return}i.url=cI(i.options.endpoint,g),"Created upload at ".concat(i.url),i._emitSuccess(d)}).catch(function(d){i._emitError(d)})}},{key:"_startSingleUpload",value:function(){if(this._aborted=!1,this.url!=null){"Resuming upload from previous URL: ".concat(this.url),this._resumeUpload();return}if(this.options.uploadUrl!=null){"Resuming upload from provided URL: ".concat(this.options.uploadUrl),this.url=this.options.uploadUrl,this._resumeUpload();return}this._createUpload()}},{key:"abort",value:function(t){var i=this;if(this._parallelUploads!=null){var o=J6e(this._parallelUploads),a;try{for(o.s();!(a=o.n()).done;){var r=a.value;r.abort(t)}}catch(l){o.e(l)}finally{o.f()}}return this._req!==null&&this._req.abort(),this._aborted=!0,this._retryTimeout!=null&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),!t||this.url==null?Promise.resolve():n.terminate(this.url,this.options).then(function(){return i._removeFromUrlStorage()})}},{key:"_emitHttpError",value:function(t,i,o,a){this._emitError(new qb(o,a,t,i))}},{key:"_emitError",value:function(t){var i=this;if(!this._aborted){if(this.options.retryDelays!=null){var o=this._offset!=null&&this._offset>this._offsetBeforeRetry;if(o&&(this._retryAttempt=0),lI(t,this._retryAttempt,this.options)){var a=this.options.retryDelays[this._retryAttempt++];this._offsetBeforeRetry=this._offset,this._retryTimeout=setTimeout(function(){i.start()},a);return}}if(typeof this.options.onError=="function")this.options.onError(t);else throw t}}},{key:"_emitSuccess",value:function(t){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),typeof this.options.onSuccess=="function"&&this.options.onSuccess({lastResponse:t})}},{key:"_emitProgress",value:function(t,i){typeof this.options.onProgress=="function"&&this.options.onProgress(t,i)}},{key:"_emitChunkComplete",value:function(t,i,o){typeof this.options.onChunkComplete=="function"&&this.options.onChunkComplete(t,i,o)}},{key:"_createUpload",value:function(){var t=this;if(!this.options.endpoint){this._emitError(new Error("tus: unable to create upload because no endpoint is provided"));return}var i=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?i.setHeader("Upload-Defer-Length","1"):i.setHeader("Upload-Length","".concat(this._size));var o=rI(this.options.metadata);o!==""&&i.setHeader("Upload-Metadata",o);var a;this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,a=this._addChunkToRequest(i)):(this.options.protocol===Y6&&i.setHeader("Upload-Complete","?0"),a=this._sendRequest(i,null)),a.then(function(r){if(!l3(r.getStatus(),200)){t._emitHttpError(i,r,"tus: unexpected response while creating upload");return}var l=r.getHeader("Location");if(l==null){t._emitHttpError(i,r,"tus: invalid or missing Location header");return}if(t.url=cI(t.options.endpoint,l),"Created upload at ".concat(t.url),typeof t.options.onUploadUrlAvailable=="function"&&t.options.onUploadUrlAvailable(),t._size===0){t._emitSuccess(r),t._source.close();return}t._saveUploadInUrlStorage().then(function(){t.options.uploadDataDuringCreation?t._handleUploadResponse(i,r):(t._offset=0,t._performUpload())})}).catch(function(r){t._emitHttpError(i,null,"tus: failed to create upload",r)})}},{key:"_resumeUpload",value:function(){var t=this,i=this._openRequest("HEAD",this.url),o=this._sendRequest(i,null);o.then(function(a){var r=a.getStatus();if(!l3(r,200)){if(r===423){t._emitHttpError(i,a,"tus: upload is currently locked; retry later");return}if(l3(r,400)&&t._removeFromUrlStorage(),!t.options.endpoint){t._emitHttpError(i,a,"tus: unable to resume upload (new upload cannot be created without an endpoint)");return}t.url=null,t._createUpload();return}var l=Number.parseInt(a.getHeader("Upload-Offset"),10);if(Number.isNaN(l)){t._emitHttpError(i,a,"tus: invalid or missing offset value");return}var s=Number.parseInt(a.getHeader("Upload-Length"),10);if(Number.isNaN(s)&&!t.options.uploadLengthDeferred&&t.options.protocol===Xk){t._emitHttpError(i,a,"tus: invalid or missing length value");return}typeof t.options.onUploadUrlAvailable=="function"&&t.options.onUploadUrlAvailable(),t._saveUploadInUrlStorage().then(function(){if(l===s){t._emitProgress(s,s),t._emitSuccess(a);return}t._offset=l,t._performUpload()})}).catch(function(a){t._emitHttpError(i,null,"tus: failed to resume upload",a)})}},{key:"_performUpload",value:function(){var t=this;if(!this._aborted){var i;this.options.overridePatchMethod?(i=this._openRequest("POST",this.url),i.setHeader("X-HTTP-Method-Override","PATCH")):i=this._openRequest("PATCH",this.url),i.setHeader("Upload-Offset","".concat(this._offset));var o=this._addChunkToRequest(i);o.then(function(a){if(!l3(a.getStatus(),200)){t._emitHttpError(i,a,"tus: unexpected response while uploading chunk");return}t._handleUploadResponse(i,a)}).catch(function(a){t._aborted||t._emitHttpError(i,null,"tus: failed to upload chunk at offset ".concat(t._offset),a)})}}},{key:"_addChunkToRequest",value:function(t){var i=this,o=this._offset,a=this._offset+this.options.chunkSize;return t.setProgressHandler(function(r){i._emitProgress(o+r,i._size)}),t.setHeader("Content-Type","application/offset+octet-stream"),(a===Number.POSITIVE_INFINITY||a>this._size)&&!this.options.uploadLengthDeferred&&(a=this._size),this._source.slice(o,a).then(function(r){var l=r.value,s=r.done,u=l!=null&&l.size?l.size:0;i.options.uploadLengthDeferred&&s&&(i._size=i._offset+u,t.setHeader("Upload-Length","".concat(i._size)));var d=i._offset+u;return!i.options.uploadLengthDeferred&&s&&d!==i._size?Promise.reject(new Error("upload was configured with a size of ".concat(i._size," bytes, but the source is done after ").concat(d," bytes"))):l===null?i._sendRequest(t):(i.options.protocol===Y6&&t.setHeader("Upload-Complete",s?"?1":"?0"),i._emitProgress(i._offset,i._size),i._sendRequest(t,l))})}},{key:"_handleUploadResponse",value:function(t,i){var o=Number.parseInt(i.getHeader("Upload-Offset"),10);if(Number.isNaN(o)){this._emitHttpError(t,i,"tus: invalid or missing offset value");return}if(this._emitProgress(o,this._size),this._emitChunkComplete(o-this._offset,o,this._size),this._offset=o,o===this._size){this._emitSuccess(i),this._source.close();return}this._performUpload()}},{key:"_openRequest",value:function(t,i){var o=aI(t,i,this.options);return this._req=o,o}},{key:"_removeFromUrlStorage",value:function(){var t=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch(function(i){t._emitError(i)}),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var t=this;if(!this.options.storeFingerprintForResuming||!this._fingerprint||this._urlStorageKey!==null)return Promise.resolve();var i={size:this._size,metadata:this.options.metadata,creationTime:new Date().toString()};return this._parallelUploads?i.parallelUploadUrls=this._parallelUploadUrls:i.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,i).then(function(o){t._urlStorageKey=o})}},{key:"_sendRequest",value:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return sI(t,i,this.options)}}],[{key:"terminate",value:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=aI("DELETE",t,i);return sI(o,null,i).then(function(a){if(a.getStatus()!==204)throw new qb("tus: unexpected response while terminating upload",null,o,a)}).catch(function(a){if(a instanceof qb||(a=new qb("tus: failed to terminate upload",a,o,null)),!lI(a,0,i))throw a;var r=i.retryDelays[0],l=i.retryDelays.slice(1),s=Gg(Gg({},i),{},{retryDelays:l});return new Promise(function(u){return setTimeout(u,r)}).then(function(){return n.terminate(t,s)})})}}])}();function rI(n){return Object.entries(n).map(function(e){var t=F$(e,2),i=t[0],o=t[1];return"".concat(i," ").concat(M6e.encode(String(o)))}).join(",")}function l3(n,e){return n>=e&&n<e+100}function aI(n,e,t){var i=t.httpStack.createRequest(n,e);t.protocol===Y6?i.setHeader("Upload-Draft-Interop-Version","5"):i.setHeader("Tus-Resumable","1.0.0");for(var o=t.headers||{},a=0,r=Object.entries(o);a<r.length;a++){var l=F$(r[a],2),s=l[0],u=l[1];i.setHeader(s,u)}if(t.addRequestId){var d=G6e();i.setHeader("X-Request-ID",d)}return i}function sI(n,e,t){return Kk.apply(this,arguments)}function Kk(){return Kk=Y6e(Yk().mark(function n(e,t,i){var o;return Yk().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(typeof i.onBeforeRequest!="function"){r.next=3;break}return r.next=3,i.onBeforeRequest(e);case 3:return r.next=5,e.send(t);case 5:if(o=r.sent,typeof i.onAfterResponse!="function"){r.next=9;break}return r.next=9,i.onAfterResponse(e,o);case 9:return r.abrupt("return",o);case 10:case"end":return r.stop()}},n)})),Kk.apply(this,arguments)}function o8e(){var n=!0;return typeof navigator<"u"&&navigator.onLine===!1&&(n=!1),n}function lI(n,e,t){return t.retryDelays==null||e>=t.retryDelays.length||n.originalRequest==null?!1:t&&typeof t.onShouldRetry=="function"?t.onShouldRetry(n,e,t):R$(n)}function R$(n){var e=n.originalResponse?n.originalResponse.getStatus():0;return(!l3(e,400)||e===409||e===423)&&o8e()}function cI(n,e){return new W6e(e,n).toString()}function r8e(n,e){for(var t=Math.floor(n/e),i=[],o=0;o<e;o++)i.push({start:t*o,end:t*(o+1)});return i[e-1].end=n,i}P8.defaultOptions=i8e;var z$=function(){return typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative"};function a8e(n){return new Promise(function(e,t){var i=new XMLHttpRequest;i.responseType="blob",i.onload=function(){var o=i.response;e(o)},i.onerror=function(o){t(o)},i.open("GET",n),i.send()})}var s8e=function(){return typeof window<"u"&&(typeof window.PhoneGap<"u"||typeof window.Cordova<"u"||typeof window.cordova<"u")};function l8e(n){return new Promise(function(e,t){var i=new FileReader;i.onload=function(){var o=new Uint8Array(i.result);e({value:o})},i.onerror=function(o){t(o)},i.readAsArrayBuffer(n)})}function R_(n){"@babel/helpers - typeof";return R_=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},R_(n)}function c8e(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function u8e(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,f8e(i.key),i)}}function d8e(n,e,t){return e&&u8e(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function f8e(n){var e=p8e(n,"string");return R_(e)=="symbol"?e:e+""}function p8e(n,e){if(R_(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(R_(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}var uI=function(){function n(e){c8e(this,n),this._file=e,this.size=e.size}return d8e(n,[{key:"slice",value:function(t,i){if(s8e())return l8e(this._file.slice(t,i));var o=this._file.slice(t,i),a=i>=this.size;return Promise.resolve({value:o,done:a})}},{key:"close",value:function(){}}])}();function z_(n){"@babel/helpers - typeof";return z_=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},z_(n)}function h8e(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function m8e(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,g8e(i.key),i)}}function v8e(n,e,t){return e&&m8e(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function g8e(n){var e=y8e(n,"string");return z_(e)=="symbol"?e:e+""}function y8e(n,e){if(z_(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(z_(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function dI(n){return n===void 0?0:n.size!==void 0?n.size:n.length}function _8e(n,e){if(n.concat)return n.concat(e);if(n instanceof Blob)return new Blob([n,e],{type:n.type});if(n.set){var t=new n.constructor(n.length+e.length);return t.set(n),t.set(e,n.length),t}throw new Error("Unknown data type")}var b8e=function(){function n(e){h8e(this,n),this._buffer=void 0,this._bufferOffset=0,this._reader=e,this._done=!1}return v8e(n,[{key:"slice",value:function(t,i){return t<this._bufferOffset?Promise.reject(new Error("Requested data is before the reader's current offset")):this._readUntilEnoughDataOrDone(t,i)}},{key:"_readUntilEnoughDataOrDone",value:function(t,i){var o=this,a=i<=this._bufferOffset+dI(this._buffer);if(this._done||a){var r=this._getDataFromBuffer(t,i),l=r==null?this._done:!1;return Promise.resolve({value:r,done:l})}return this._reader.read().then(function(s){var u=s.value,d=s.done;return d?o._done=!0:o._buffer===void 0?o._buffer=u:o._buffer=_8e(o._buffer,u),o._readUntilEnoughDataOrDone(t,i)})}},{key:"_getDataFromBuffer",value:function(t,i){t>this._bufferOffset&&(this._buffer=this._buffer.slice(t-this._bufferOffset),this._bufferOffset=t);var o=dI(this._buffer)===0;return this._done&&o?null:this._buffer.slice(0,i-t)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}])}();function eg(n){"@babel/helpers - typeof";return eg=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},eg(n)}function Zk(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Zk=function(){return e};var n,e={},t=Object.prototype,i=t.hasOwnProperty,o=Object.defineProperty||function(re,ge,he){re[ge]=he.value},a=typeof Symbol=="function"?Symbol:{},r=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(re,ge,he){return Object.defineProperty(re,ge,{value:he,enumerable:!0,configurable:!0,writable:!0}),re[ge]}try{u({},"")}catch{u=function(he,Ie,je){return he[Ie]=je}}function d(re,ge,he,Ie){var je=ge&&ge.prototype instanceof F?ge:F,Ue=Object.create(je.prototype),Ee=new fe(Ie||[]);return o(Ue,"_invoke",{value:oe(re,he,Ee)}),Ue}function g(re,ge,he){try{return{type:"normal",arg:re.call(ge,he)}}catch(Ie){return{type:"throw",arg:Ie}}}e.wrap=d;var m="suspendedStart",_="suspendedYield",x="executing",S="completed",A={};function F(){}function C(){}function L(){}var w={};u(w,r,function(){return this});var $=Object.getPrototypeOf,B=$&&$($(Y([])));B&&B!==t&&i.call(B,r)&&(w=B);var V=L.prototype=F.prototype=Object.create(w);function W(re){["next","throw","return"].forEach(function(ge){u(re,ge,function(he){return this._invoke(ge,he)})})}function J(re,ge){function he(je,Ue,Ee,we){var lt=g(re[je],re,Ue);if(lt.type!=="throw"){var pt=lt.arg,yt=pt.value;return yt&&eg(yt)=="object"&&i.call(yt,"__await")?ge.resolve(yt.__await).then(function(vt){he("next",vt,Ee,we)},function(vt){he("throw",vt,Ee,we)}):ge.resolve(yt).then(function(vt){pt.value=vt,Ee(pt)},function(vt){return he("throw",vt,Ee,we)})}we(lt.arg)}var Ie;o(this,"_invoke",{value:function(Ue,Ee){function we(){return new ge(function(lt,pt){he(Ue,Ee,lt,pt)})}return Ie=Ie?Ie.then(we,we):we()}})}function oe(re,ge,he){var Ie=m;return function(je,Ue){if(Ie===x)throw Error("Generator is already running");if(Ie===S){if(je==="throw")throw Ue;return{value:n,done:!0}}for(he.method=je,he.arg=Ue;;){var Ee=he.delegate;if(Ee){var we=ue(Ee,he);if(we){if(we===A)continue;return we}}if(he.method==="next")he.sent=he._sent=he.arg;else if(he.method==="throw"){if(Ie===m)throw Ie=S,he.arg;he.dispatchException(he.arg)}else he.method==="return"&&he.abrupt("return",he.arg);Ie=x;var lt=g(re,ge,he);if(lt.type==="normal"){if(Ie=he.done?S:_,lt.arg===A)continue;return{value:lt.arg,done:he.done}}lt.type==="throw"&&(Ie=S,he.method="throw",he.arg=lt.arg)}}}function ue(re,ge){var he=ge.method,Ie=re.iterator[he];if(Ie===n)return ge.delegate=null,he==="throw"&&re.iterator.return&&(ge.method="return",ge.arg=n,ue(re,ge),ge.method==="throw")||he!=="return"&&(ge.method="throw",ge.arg=new TypeError("The iterator does not provide a '"+he+"' method")),A;var je=g(Ie,re.iterator,ge.arg);if(je.type==="throw")return ge.method="throw",ge.arg=je.arg,ge.delegate=null,A;var Ue=je.arg;return Ue?Ue.done?(ge[re.resultName]=Ue.value,ge.next=re.nextLoc,ge.method!=="return"&&(ge.method="next",ge.arg=n),ge.delegate=null,A):Ue:(ge.method="throw",ge.arg=new TypeError("iterator result is not an object"),ge.delegate=null,A)}function be(re){var ge={tryLoc:re[0]};1 in re&&(ge.catchLoc=re[1]),2 in re&&(ge.finallyLoc=re[2],ge.afterLoc=re[3]),this.tryEntries.push(ge)}function ie(re){var ge=re.completion||{};ge.type="normal",delete ge.arg,re.completion=ge}function fe(re){this.tryEntries=[{tryLoc:"root"}],re.forEach(be,this),this.reset(!0)}function Y(re){if(re||re===""){var ge=re[r];if(ge)return ge.call(re);if(typeof re.next=="function")return re;if(!isNaN(re.length)){var he=-1,Ie=function je(){for(;++he<re.length;)if(i.call(re,he))return je.value=re[he],je.done=!1,je;return je.value=n,je.done=!0,je};return Ie.next=Ie}}throw new TypeError(eg(re)+" is not iterable")}return C.prototype=L,o(V,"constructor",{value:L,configurable:!0}),o(L,"constructor",{value:C,configurable:!0}),C.displayName=u(L,s,"GeneratorFunction"),e.isGeneratorFunction=function(re){var ge=typeof re=="function"&&re.constructor;return!!ge&&(ge===C||(ge.displayName||ge.name)==="GeneratorFunction")},e.mark=function(re){return Object.setPrototypeOf?Object.setPrototypeOf(re,L):(re.__proto__=L,u(re,s,"GeneratorFunction")),re.prototype=Object.create(V),re},e.awrap=function(re){return{__await:re}},W(J.prototype),u(J.prototype,l,function(){return this}),e.AsyncIterator=J,e.async=function(re,ge,he,Ie,je){je===void 0&&(je=Promise);var Ue=new J(d(re,ge,he,Ie),je);return e.isGeneratorFunction(ge)?Ue:Ue.next().then(function(Ee){return Ee.done?Ee.value:Ue.next()})},W(V),u(V,s,"Generator"),u(V,r,function(){return this}),u(V,"toString",function(){return"[object Generator]"}),e.keys=function(re){var ge=Object(re),he=[];for(var Ie in ge)he.push(Ie);return he.reverse(),function je(){for(;he.length;){var Ue=he.pop();if(Ue in ge)return je.value=Ue,je.done=!1,je}return je.done=!0,je}},e.values=Y,fe.prototype={constructor:fe,reset:function(ge){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(ie),!ge)for(var he in this)he.charAt(0)==="t"&&i.call(this,he)&&!isNaN(+he.slice(1))&&(this[he]=n)},stop:function(){this.done=!0;var ge=this.tryEntries[0].completion;if(ge.type==="throw")throw ge.arg;return this.rval},dispatchException:function(ge){if(this.done)throw ge;var he=this;function Ie(pt,yt){return Ee.type="throw",Ee.arg=ge,he.next=pt,yt&&(he.method="next",he.arg=n),!!yt}for(var je=this.tryEntries.length-1;je>=0;--je){var Ue=this.tryEntries[je],Ee=Ue.completion;if(Ue.tryLoc==="root")return Ie("end");if(Ue.tryLoc<=this.prev){var we=i.call(Ue,"catchLoc"),lt=i.call(Ue,"finallyLoc");if(we&&lt){if(this.prev<Ue.catchLoc)return Ie(Ue.catchLoc,!0);if(this.prev<Ue.finallyLoc)return Ie(Ue.finallyLoc)}else if(we){if(this.prev<Ue.catchLoc)return Ie(Ue.catchLoc,!0)}else{if(!lt)throw Error("try statement without catch or finally");if(this.prev<Ue.finallyLoc)return Ie(Ue.finallyLoc)}}}},abrupt:function(ge,he){for(var Ie=this.tryEntries.length-1;Ie>=0;--Ie){var je=this.tryEntries[Ie];if(je.tryLoc<=this.prev&&i.call(je,"finallyLoc")&&this.prev<je.finallyLoc){var Ue=je;break}}Ue&&(ge==="break"||ge==="continue")&&Ue.tryLoc<=he&&he<=Ue.finallyLoc&&(Ue=null);var Ee=Ue?Ue.completion:{};return Ee.type=ge,Ee.arg=he,Ue?(this.method="next",this.next=Ue.finallyLoc,A):this.complete(Ee)},complete:function(ge,he){if(ge.type==="throw")throw ge.arg;return ge.type==="break"||ge.type==="continue"?this.next=ge.arg:ge.type==="return"?(this.rval=this.arg=ge.arg,this.method="return",this.next="end"):ge.type==="normal"&&he&&(this.next=he),A},finish:function(ge){for(var he=this.tryEntries.length-1;he>=0;--he){var Ie=this.tryEntries[he];if(Ie.finallyLoc===ge)return this.complete(Ie.completion,Ie.afterLoc),ie(Ie),A}},catch:function(ge){for(var he=this.tryEntries.length-1;he>=0;--he){var Ie=this.tryEntries[he];if(Ie.tryLoc===ge){var je=Ie.completion;if(je.type==="throw"){var Ue=je.arg;ie(Ie)}return Ue}}throw Error("illegal catch attempt")},delegateYield:function(ge,he,Ie){return this.delegate={iterator:Y(ge),resultName:he,nextLoc:Ie},this.method==="next"&&(this.arg=n),A}},e}function fI(n,e,t,i,o,a,r){try{var l=n[a](r),s=l.value}catch(u){t(u);return}l.done?e(s):Promise.resolve(s).then(i,o)}function x8e(n){return function(){var e=this,t=arguments;return new Promise(function(i,o){var a=n.apply(e,t);function r(s){fI(a,i,o,r,l,"next",s)}function l(s){fI(a,i,o,r,l,"throw",s)}r(void 0)})}}function w8e(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function k8e(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,S8e(i.key),i)}}function C8e(n,e,t){return e&&k8e(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function S8e(n){var e=E8e(n,"string");return eg(e)=="symbol"?e:e+""}function E8e(n,e){if(eg(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(eg(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}var A8e=function(){function n(){w8e(this,n)}return C8e(n,[{key:"openFile",value:function(){var e=x8e(Zk().mark(function i(o,a){var r;return Zk().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(!(z$()&&o&&typeof o.uri<"u")){s.next=11;break}return s.prev=1,s.next=4,a8e(o.uri);case 4:return r=s.sent,s.abrupt("return",new uI(r));case 8:throw s.prev=8,s.t0=s.catch(1),new Error("tus: cannot fetch `file.uri` as Blob, make sure the uri is correct and accessible. ".concat(s.t0));case 11:if(!(typeof o.slice=="function"&&typeof o.size<"u")){s.next=13;break}return s.abrupt("return",Promise.resolve(new uI(o)));case 13:if(typeof o.read!="function"){s.next=18;break}if(a=Number(a),Number.isFinite(a)){s.next=17;break}return s.abrupt("return",Promise.reject(new Error("cannot create source for stream without a finite value for the `chunkSize` option")));case 17:return s.abrupt("return",Promise.resolve(new b8e(o,a)));case 18:return s.abrupt("return",Promise.reject(new Error("source object may only be an instance of File, Blob, or Reader in this environment")));case 19:case"end":return s.stop()}},i,null,[[1,8]])}));function t(i,o){return e.apply(this,arguments)}return t}()}])}();function T8e(n,e){return z$()?Promise.resolve(D8e(n,e)):Promise.resolve(["tus-br",n.name,n.type,n.size,n.lastModified,e.endpoint].join("-"))}function D8e(n,e){var t=n.exif?L8e(JSON.stringify(n.exif)):"noexif";return["tus-rn",n.name||"noname",n.size||"nosize",t,e.endpoint].join("/")}function L8e(n){var e=0;if(n.length===0)return e;for(var t=0;t<n.length;t++){var i=n.charCodeAt(t);e=(e<<5)-e+i,e&=e}return e}function $_(n){"@babel/helpers - typeof";return $_=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},$_(n)}function BE(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function I8e(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,M8e(i.key),i)}}function jE(n,e,t){return e&&I8e(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function M8e(n){var e=F8e(n,"string");return $_(e)=="symbol"?e:e+""}function F8e(n,e){if($_(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if($_(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}var P8e=function(){function n(){BE(this,n)}return jE(n,[{key:"createRequest",value:function(t,i){return new O8e(t,i)}},{key:"getName",value:function(){return"XHRHttpStack"}}])}(),O8e=function(){function n(e,t){BE(this,n),this._xhr=new XMLHttpRequest,this._xhr.open(e,t,!0),this._method=e,this._url=t,this._headers={}}return jE(n,[{key:"getMethod",value:function(){return this._method}},{key:"getURL",value:function(){return this._url}},{key:"setHeader",value:function(t,i){this._xhr.setRequestHeader(t,i),this._headers[t]=i}},{key:"getHeader",value:function(t){return this._headers[t]}},{key:"setProgressHandler",value:function(t){"upload"in this._xhr&&(this._xhr.upload.onprogress=function(i){i.lengthComputable&&t(i.loaded)})}},{key:"send",value:function(){var t=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return new Promise(function(o,a){t._xhr.onload=function(){o(new R8e(t._xhr))},t._xhr.onerror=function(r){a(r)},t._xhr.send(i)})}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])}(),R8e=function(){function n(e){BE(this,n),this._xhr=e}return jE(n,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(t){return this._xhr.getResponseHeader(t)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])}();function N_(n){"@babel/helpers - typeof";return N_=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},N_(n)}function z8e(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function $8e(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,B8e(i.key),i)}}function N8e(n,e,t){return e&&$8e(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function B8e(n){var e=j8e(n,"string");return N_(e)=="symbol"?e:e+""}function j8e(n,e){if(N_(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(N_(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}var Jk=!1;try{Jk="localStorage"in window;var Ux="tusSupport",pI=localStorage.getItem(Ux);localStorage.setItem(Ux,pI),pI===null&&localStorage.removeItem(Ux)}catch(n){if(n.code===n.SECURITY_ERR||n.code===n.QUOTA_EXCEEDED_ERR)Jk=!1;else throw n}var V8e=Jk,H8e=function(){function n(){z8e(this,n)}return N8e(n,[{key:"findAllUploads",value:function(){var t=this._findEntries("tus::");return Promise.resolve(t)}},{key:"findUploadsByFingerprint",value:function(t){var i=this._findEntries("tus::".concat(t,"::"));return Promise.resolve(i)}},{key:"removeUpload",value:function(t){return localStorage.removeItem(t),Promise.resolve()}},{key:"addUpload",value:function(t,i){var o=Math.round(Math.random()*1e12),a="tus::".concat(t,"::").concat(o);return localStorage.setItem(a,JSON.stringify(i)),Promise.resolve(a)}},{key:"_findEntries",value:function(t){for(var i=[],o=0;o<localStorage.length;o++){var a=localStorage.key(o);if(a.indexOf(t)===0)try{var r=JSON.parse(localStorage.getItem(a));r.urlStorageKey=a,i.push(r)}catch{}}return i}}])}();function ny(n){"@babel/helpers - typeof";return ny=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},ny(n)}function U8e(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function q8e(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,N$(i.key),i)}}function W8e(n,e,t){return t&&q8e(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function G8e(n,e,t){return e=O8(e),Y8e(n,$$()?Reflect.construct(e,t||[],O8(n).constructor):e.apply(n,t))}function Y8e(n,e){if(e&&(ny(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return X8e(n)}function X8e(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function $$(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return($$=function(){return!!n})()}function O8(n){return O8=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},O8(n)}function K8e(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&Qk(n,e)}function Qk(n,e){return Qk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},Qk(n,e)}function hI(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,i)}return t}function g3(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?hI(Object(t),!0).forEach(function(i){Z8e(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):hI(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Z8e(n,e,t){return e=N$(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function N$(n){var e=J8e(n,"string");return ny(e)=="symbol"?e:e+""}function J8e(n,e){if(ny(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e||"default");if(ny(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var mI=g3(g3({},P8.defaultOptions),{},{httpStack:new P8e,fileReader:new A8e,urlStorage:V8e?new H8e:new x6e,fingerprint:T8e}),Q8e=function(n){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return U8e(this,e),i=g3(g3({},mI),i),G8e(this,e,[t,i])}return K8e(e,n),W8e(e,null,[{key:"terminate",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return o=g3(g3({},mI),o),P8.terminate(i,o)}}])}(P8);async function B$(n,e){const t=(e==null?void 0:e.onProgressChange)||(()=>{}),i=Is();let o=!1;if(i.info.uploads){const r={...(e==null?void 0:e.preset)??{}};return e!=null&&e.fileId&&(r.id=e==null?void 0:e.fileId),r.filename_download=n.name,r.type=n.type,new Promise((l,s)=>{var d,g;const u=new Q8e(n,{endpoint:c2()+"files/tus",chunkSize:((d=i.info.uploads)==null?void 0:d.chunkSize)??1e7,metadata:r,removeFingerprintOnSuccess:!0,onBeforeRequest(m){const _=m.getUnderlyingObject();_.withCredentials=!0},onError(m){s(m),Gc.emit(bc.tusResumableUploadsChanged)},onProgress(m,_){const x=Number((m/_*100).toFixed(2));t(x),o||(Gc.emit(bc.tusResumableUploadsChanged),o=!0)},async onSuccess(){e!=null&&e.notifications&&sl({title:wo.global.t("upload_file_success")}),Gc.emit(bc.upload),Gc.emit(bc.tusResumableUploadsChanged);const m=await Yn.get(`files/${r.id}`);l(m?m.data.data:r)},onShouldRetry(){return!1},onAfterResponse(m,_){r.id??(r.id=_.getHeader("Directus-File-Id"))}});(g=e==null?void 0:e.onChunkedUpload)==null||g.call(e,{start(){u.start()},abort:()=>{u.abort(),Gc.emit(bc.tusResumableUploadsChanged)}}),u.findPreviousUploads().then(m=>{m.length>0&&(u.resumeFromPreviousUpload(m[0]),r.id=m[0].metadata.id),u.start()})})}else{const r=new FormData;if(e!=null&&e.preset)for(const[l,s]of Object.entries(e.preset))r.append(l,s);r.append("file",n);try{let l=null;return e!=null&&e.fileId?l=await Yn.patch(`/files/${e.fileId}`,r,{onUploadProgress:a}):l=await Yn.post("/files",r,{onUploadProgress:a}),e!=null&&e.notifications&&sl({title:wo.global.t("upload_file_success")}),Gc.emit(bc.upload),l.data.data}catch(l){Vi(l)}return}function a(r){const l=Math.floor(r.loaded*100/r.total);t(l)}}async function j$(n,e){const t=(e==null?void 0:e.onProgressChange)||(()=>{}),i=n.map(()=>0),o=Array(n.length).fill(null);try{const a=(await Promise.all(n.map((r,l)=>B$(r,{...e,onProgressChange:s=>{i[l]=s,t(i)},onChunkedUpload:s=>{var u;o[l]=s,(u=e==null?void 0:e.onChunkedUpload)==null||u.call(e,o)}})))).filter(r=>r);return e!=null&&e.notifications&&sl({title:wo.global.t("upload_files_success",{count:n.length})}),a}catch(a){Vi(a)}return[]}const e7e={class:"folder-picker-list-item"},t7e=Pt({__name:"folder-picker-list-item",props:{folder:{},currentFolder:{},clickHandler:{type:Function},disabled:{type:Boolean},disabledFolders:{}},setup(n){return(e,t)=>{const i=G("v-icon"),o=G("v-list-item-icon"),a=G("v-list-item-content"),r=G("v-list-item"),l=G("folder-picker-list-item",!0),s=G("v-list-group");return j(),Re("div",e7e,[e.folder.children.length===0?(j(),ye(r,{key:0,clickable:"",active:e.currentFolder===e.folder.id,disabled:e.disabled,onClick:t[0]||(t[0]=u=>{var d;return(d=e.clickHandler)==null?void 0:d.call(e,e.folder.id)})},{default:I(()=>[T(o,null,{default:I(()=>[T(i,{name:e.currentFolder===e.folder.id?"folder_open":"folder"},null,8,["name"])]),_:1}),T(a,null,{default:I(()=>[ze(me(e.folder.name),1)]),_:1})]),_:1},8,["active","disabled"])):(j(),ye(s,{key:1,clickable:"",active:e.currentFolder===e.folder.id,disabled:e.disabled,onClick:t[1]||(t[1]=u=>{var d;return(d=e.clickHandler)==null?void 0:d.call(e,e.folder.id)})},{activator:I(()=>[T(o,null,{default:I(()=>[T(i,{name:e.currentFolder===e.folder.id?"folder_open":"folder"},null,8,["name"])]),_:1}),T(a,null,{default:I(()=>[ze(me(e.folder.name),1)]),_:1})]),default:I(()=>[(j(!0),Re(hn,null,Si(e.folder.children,u=>{var d;return j(),ye(l,{key:u.id,folder:u,"current-folder":e.currentFolder,"click-handler":e.clickHandler,disabled:(d=e.disabledFolders)==null?void 0:d.includes(u.id),"disabled-folders":e.disabledFolders},null,8,["folder","current-folder","click-handler","disabled","disabled-folders"])}),128))]),_:1},8,["active","disabled"]))])}}}),n7e={key:1,class:"folder-picker"},i7e=Pt({__name:"folder-picker",props:{modelValue:{},disabledFolders:{}},emits:["update:modelValue"],setup(n){const e=n,{t}=un(),i=Oe(!1),o=Oe([]),a=Ce(()=>{return o.value.filter(_=>_.parent===null).map(_=>({..._,children:m(_)}));function m(_){return o.value.filter(x=>x.parent===_.id).map(x=>({...x,children:m(x)}))}}),r=[],l=o.value.find(m=>m.id===e.modelValue);l&&l.parent&&g(l.parent);const s=["root"];for(const m of r)s.includes(m)===!1&&s.push(m);const u=Oe(s);d();async function d(){if(!(o.value.length>0)){i.value=!0;try{o.value=await ld("/folders",{params:{limit:-1,sort:"name"}})}catch(m){Vi(m)}finally{i.value=!1}}}function g(m){if(!o.value)return;r.push(m);const _=o.value.find(x=>x.id===m);_&&_.parent&&g(_.parent)}return(m,_)=>{const x=G("v-skeleton-loader"),S=G("v-icon"),A=G("v-list-item-icon"),F=G("v-list-item-content"),C=G("v-list-group"),L=G("v-item-group"),w=G("v-list");return i.value?(j(),ye(x,{key:0})):(j(),Re("div",n7e,[T(w,null,{default:I(()=>[T(L,{modelValue:u.value,"onUpdate:modelValue":_[1]||(_[1]=$=>u.value=$),scope:"folder-picker",multiple:""},{default:I(()=>[T(C,{"disable-groupable-parent":"",clickable:"",active:m.modelValue===null,scope:"folder-picker",value:"root",onClick:_[0]||(_[0]=$=>m.$emit("update:modelValue",null))},{activator:I(()=>[T(A,null,{default:I(()=>[T(S,{name:"folder_special",outline:""})]),_:1}),T(F,null,{default:I(()=>[ze(me(h(t)("file_library")),1)]),_:1})]),default:I(()=>[(j(!0),Re(hn,null,Si(a.value,$=>{var B;return j(),ye(t7e,{key:$.id,folder:$,"current-folder":m.modelValue,"click-handler":V=>m.$emit("update:modelValue",V),disabled:(B=m.disabledFolders)==null?void 0:B.includes($.id),"disabled-folders":m.disabledFolders},null,8,["folder","current-folder","click-handler","disabled","disabled-folders"])}),128))]),_:1},8,["active"])]),_:1},8,["modelValue"])]),_:1})]))}}}),j7=Wt(i7e,[["__scopeId","data-v-ea88945a"]]),o7e=Pt({__name:"files-navigation-folder",props:{folder:{},currentFolder:{},actionsDisabled:{type:Boolean},clickHandler:{type:Function,default:()=>()=>{}}},setup(n){const e=n,{t}=un(),i=Pr(),{renameActive:o,renameValue:a,renameSave:r,renameSaving:l}=A(),{moveActive:s,moveValue:u,moveSave:d,moveSaving:g}=F(),{deleteActive:m,deleteSave:_,deleteSaving:x}=C(),{fetchFolders:S}=w5();function A(){const L=Oe(!1),w=Oe(e.folder.name),$=Oe(!1);return{renameActive:L,renameValue:w,renameSave:B,renameSaving:$};async function B(){$.value=!0;try{await Yn.patch(`/folders/${e.folder.id}`,{name:w.value})}catch(V){Vi(V)}finally{$.value=!1,await S(),L.value=!1}}}function F(){const L=Oe(!1),w=Oe(e.folder.parent),$=Oe(!1);return{moveActive:L,moveValue:w,moveSave:B,moveSaving:$};async function B(){$.value=!0;try{await Yn.patch(`/folders/${e.folder.id}`,{parent:w.value})}catch(V){Vi(V)}finally{$.value=!1,await S(),L.value=!1}}}function C(){const L=Oe(!1),w=Oe(!1);return{deleteActive:L,deleteSave:$,deleteSaving:w};async function $(){w.value=!0;try{const B=await Yn.get("/folders",{params:{filter:{parent:{_eq:e.folder.id}},fields:["id"]}}),V=await Yn.get("/files",{params:{filter:{folder:{_eq:e.folder.id}},fields:["id"]}}),W=e.folder.parent||null,J=B.data.data.map(ue=>ue.id),oe=V.data.data.map(ue=>ue.id);await Yn.delete(`/folders/${e.folder.id}`),J.length>0&&await Yn.patch("/folders",{keys:J,data:{parent:W}}),oe.length>0&&await Yn.patch("/files",{keys:oe,data:{folder:W}}),W?i.replace(`/files/folders/${W}`):i.replace("/files"),L.value=!1}catch(B){Vi(B)}finally{await S(),w.value=!1}}}return(L,w)=>{const $=G("v-icon"),B=G("v-list-item-icon"),V=G("v-text-overflow"),W=G("v-list-item-content"),J=G("v-list-item"),oe=G("v-list-group"),ue=G("v-list"),be=G("v-menu"),ie=G("v-card-title"),fe=G("v-input"),Y=G("v-card-text"),re=G("v-button"),ge=G("v-card-actions"),he=G("v-card"),Ie=G("v-dialog"),je=G("v-notice"),Ue=hi("context-menu");return j(),Re("div",null,[L.folder.children===void 0?Qt((j(),ye(J,{key:0,clickable:"",active:L.currentFolder===L.folder.id,onClick:w[0]||(w[0]=Ee=>L.clickHandler({folder:L.folder.id}))},{default:I(()=>[T(B,null,{default:I(()=>[T($,{name:"folder"})]),_:1}),T(W,null,{default:I(()=>[T(V,{text:L.folder.name},null,8,["text"])]),_:1})]),_:1},8,["active"])),[[Ue,L.actionsDisabled?null:"contextMenu"]]):Qt((j(),ye(oe,{key:1,clickable:"",active:L.currentFolder===L.folder.id,value:L.folder.id,scope:"files-navigation","disable-groupable-parent":"",onClick:w[1]||(w[1]=Ee=>L.clickHandler({folder:L.folder.id}))},{activator:I(()=>[T(B,null,{default:I(()=>[T($,{name:"folder"})]),_:1}),T(W,null,{default:I(()=>[T(V,{text:L.folder.name},null,8,["text"])]),_:1})]),default:I(()=>[(j(!0),Re(hn,null,Si(L.folder.children,Ee=>(j(),ye(V$,{key:Ee.id,folder:Ee,"current-folder":L.currentFolder,"click-handler":L.clickHandler,"actions-disabled":L.actionsDisabled},null,8,["folder","current-folder","click-handler","actions-disabled"]))),128))]),_:1},8,["active","value"])),[[Ue,L.actionsDisabled?null:"contextMenu"]]),T(be,{ref:"contextMenu","show-arrow":"",placement:"bottom-start"},{default:I(()=>[T(ue,null,{default:I(()=>[T(J,{clickable:"",onClick:w[2]||(w[2]=Ee=>o.value=!0)},{default:I(()=>[T(B,null,{default:I(()=>[T($,{name:"edit",outline:""})]),_:1}),T(W,null,{default:I(()=>[T(V,{text:h(t)("rename_folder")},null,8,["text"])]),_:1})]),_:1}),T(J,{clickable:"",onClick:w[3]||(w[3]=Ee=>s.value=!0)},{default:I(()=>[T(B,null,{default:I(()=>[T($,{name:"folder_move"})]),_:1}),T(W,null,{default:I(()=>[T(V,{text:h(t)("move_to_folder")},null,8,["text"])]),_:1})]),_:1}),T(J,{class:"danger",clickable:"",onClick:w[4]||(w[4]=Ee=>m.value=!0)},{default:I(()=>[T(B,null,{default:I(()=>[T($,{name:"delete",outline:""})]),_:1}),T(W,null,{default:I(()=>[T(V,{text:h(t)("delete_folder")},null,8,["text"])]),_:1})]),_:1})]),_:1})]),_:1},512),T(Ie,{modelValue:h(o),"onUpdate:modelValue":w[7]||(w[7]=Ee=>In(o)?o.value=Ee:null),persistent:"",onEsc:w[8]||(w[8]=Ee=>o.value=!1)},{default:I(()=>[T(he,null,{default:I(()=>[T(ie,null,{default:I(()=>[ze(me(h(t)("rename_folder")),1)]),_:1}),T(Y,null,{default:I(()=>[T(fe,{modelValue:h(a),"onUpdate:modelValue":w[5]||(w[5]=Ee=>In(a)?a.value=Ee:null),autofocus:"",onKeyup:g1(h(r),["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),T(ge,null,{default:I(()=>[T(re,{secondary:"",onClick:w[6]||(w[6]=Ee=>o.value=!1)},{default:I(()=>[ze(me(h(t)("cancel")),1)]),_:1}),T(re,{disabled:h(a)===null,loading:h(l),onClick:h(r)},{default:I(()=>[ze(me(h(t)("save")),1)]),_:1},8,["disabled","loading","onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),T(Ie,{modelValue:h(s),"onUpdate:modelValue":w[11]||(w[11]=Ee=>In(s)?s.value=Ee:null),persistent:"",onEsc:w[12]||(w[12]=Ee=>s.value=!1)},{default:I(()=>[T(he,null,{default:I(()=>[T(ie,null,{default:I(()=>[ze(me(h(t)("move_to_folder")),1)]),_:1}),T(Y,null,{default:I(()=>[T(j7,{modelValue:h(u),"onUpdate:modelValue":w[9]||(w[9]=Ee=>In(u)?u.value=Ee:null),"disabled-folders":[L.folder.id]},null,8,["modelValue","disabled-folders"])]),_:1}),T(ge,null,{default:I(()=>[T(re,{secondary:"",onClick:w[10]||(w[10]=Ee=>s.value=!1)},{default:I(()=>[ze(me(h(t)("cancel")),1)]),_:1}),T(re,{loading:h(g),onClick:h(d)},{default:I(()=>[ze(me(h(t)("save")),1)]),_:1},8,["loading","onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),T(Ie,{modelValue:h(m),"onUpdate:modelValue":w[14]||(w[14]=Ee=>In(m)?m.value=Ee:null),persistent:"",onEsc:w[15]||(w[15]=Ee=>m.value=!1)},{default:I(()=>[T(he,null,{default:I(()=>[T(ie,null,{default:I(()=>[ze(me(h(t)("delete_folder")),1)]),_:1}),T(Y,null,{default:I(()=>[T(je,null,{default:I(()=>[ze(me(h(t)("nested_files_folders_will_be_moved")),1)]),_:1})]),_:1}),T(ge,null,{default:I(()=>[T(re,{secondary:"",onClick:w[13]||(w[13]=Ee=>m.value=!1)},{default:I(()=>[ze(me(h(t)("cancel")),1)]),_:1}),T(re,{kind:"danger",loading:h(x),onClick:h(_)},{default:I(()=>[ze(me(h(t)("delete_label")),1)]),_:1},8,["loading","onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])])}}}),V$=Wt(o7e,[["__scopeId","data-v-b8e5b7ca"]]),r7e={class:"folders"},a7e=Pt({__name:"files-navigation",props:{rootFolder:{},currentFolder:{},currentSpecial:{},customTargetHandler:{type:Function},localOpenFolders:{type:Boolean},actionsDisabled:{type:Boolean}},setup(n){const e=Pr(),t=n,{t:i}=un(),{rootFolder:o,localOpenFolders:a}=vo(t),{nestedFolders:r,folders:l,loading:s,openFolders:u}=w5(o,a);Wn([()=>t.currentFolder,s],m,{immediate:!0});const d=Ce(()=>{if(!(!l.value||!(o!=null&&o.value)))return l.value.find(_=>_.id===o.value)});function g(_){if(t.customTargetHandler)t.customTargetHandler(_);else{const x=["files"];_.folder&&x.push("folders",_.folder),_.special&&x.push(_.special),e.push(`/${x.join("/")}`)}}function m(){if(!l.value||!(u!=null&&u.value))return;const _=[],x=l.value.find(F=>F.id===t.currentFolder);x!=null&&x.parent&&A(x.parent);const S=[...u.value];for(const F of _)S.includes(F)===!1&&S.push(F);S.length!==1&&et.isEqual(S,u.value)===!1&&(u.value=S);function A(F){if(!l.value)return;_.push(F);const C=l.value.find(L=>L.id===F);C&&C.parent&&A(C.parent)}}return(_,x)=>{const S=G("v-skeleton-loader"),A=G("v-list-item"),F=G("v-icon"),C=G("v-list-item-icon"),L=G("v-text-overflow"),w=G("v-list-item-content"),$=G("v-list-group"),B=G("v-item-group"),V=G("v-divider"),W=G("v-list");return j(),ye(W,{nav:""},{default:I(()=>[h(s)&&(h(r)===null||h(r).length===0)?(j(),Re(hn,{key:0},Si(4,J=>T(A,{key:J},{default:I(()=>[T(S,{type:"list-item-icon"})]),_:2},1024)),64)):We("",!0),ke("div",r7e,[T(B,{modelValue:h(u),"onUpdate:modelValue":x[1]||(x[1]=J=>In(u)?u.value=J:null),scope:"files-navigation",multiple:""},{default:I(()=>[T($,{clickable:"",active:!_.currentFolder&&!_.currentSpecial||_.currentFolder!==void 0&&_.currentFolder===h(o),value:h(o)??"root",scope:"files-navigation",exact:"","disable-groupable-parent":"","arrow-placement":h(r)&&h(r).length>0?"after":!1,onClick:x[0]||(x[0]=J=>g(h(o)?{folder:h(o)}:{}))},{activator:I(()=>[T(C,null,{default:I(()=>[T(F,{name:"folder_special",outline:""})]),_:1}),T(w,null,{default:I(()=>[d.value?(j(),ye(L,{key:0,text:d.value.name},null,8,["text"])):(j(),ye(L,{key:1,text:h(i)("file_library")},null,8,["text"]))]),_:1})]),default:I(()=>[(j(!0),Re(hn,null,Si(h(r),J=>(j(),ye(V$,{key:J.id,"click-handler":g,folder:J,"current-folder":_.currentFolder,"actions-disabled":_.actionsDisabled},null,8,["folder","current-folder","actions-disabled"]))),128))]),_:1},8,["active","value","arrow-placement"])]),_:1},8,["modelValue"])]),T(V),T(A,{clickable:"",active:_.currentSpecial==="all",onClick:x[2]||(x[2]=J=>g({special:"all"}))},{default:I(()=>[T(C,null,{default:I(()=>[T(F,{name:"file_copy",outline:""})]),_:1}),T(w,null,{default:I(()=>[T(L,{text:h(i)("all_files")},null,8,["text"])]),_:1})]),_:1},8,["active"]),T(A,{clickable:"",active:_.currentSpecial==="mine",onClick:x[3]||(x[3]=J=>g({special:"mine"}))},{default:I(()=>[T(C,null,{default:I(()=>[T(F,{name:"folder_shared"})]),_:1}),T(w,null,{default:I(()=>[T(L,{text:h(i)("my_files")},null,8,["text"])]),_:1})]),_:1},8,["active"]),T(A,{clickable:"",active:_.currentSpecial==="recent",onClick:x[4]||(x[4]=J=>g({special:"recent"}))},{default:I(()=>[T(C,null,{default:I(()=>[T(F,{name:"history"})]),_:1}),T(w,null,{default:I(()=>[T(L,{text:h(i)("recent_files")},null,8,["text"])]),_:1})]),_:1},8,["active"])]),_:1})}}}),V7=Wt(a7e,[["__scopeId","data-v-fbfccbd7"]]);function H$(n,e,t){const i={_and:[{type:{_nnull:!0}}]};return e||(n?i._and.push({folder:{_eq:n}}):i._and.push({folder:{_null:!0}})),e==="mine"&&t&&i._and.push({uploaded_by:{_eq:t}}),e==="recent"&&i._and.push({uploaded_on:{_gt:kR(new Date,5).toISOString()}}),i}const H7=Pt({__name:"drawer-files",props:{collection:{default:"directus_files"},folder:{},filter:{}},setup(n){const e=n,{t}=un(),i={sidebarLabel:t("folders")},o=Oe(e.folder),a=Oe(),r=Oe(),l=Gr();Wn([o,a],()=>{var u;r.value=H$(o.value,a.value,(u=l==null?void 0:l.currentUser)==null?void 0:u.id)},{immediate:!0});function s(u){o.value=u.folder,a.value=u.special}return(u,d)=>{const g=G("drawer-collection");return j(),ye(g,Fr(u.$attrs,{collection:u.collection,"drawer-props":i,filter:h(ah)(u.filter,r.value)}),{sidebar:I(()=>[T(V7,{"custom-target-handler":s,"current-folder":o.value,"current-special":a.value,"root-folder":u.folder,"local-open-folders":"","actions-disabled":""},null,8,["current-folder","current-special","root-folder"])]),_:1},16,["collection","filter"])}}}),s7e={class:"type-label"},l7e={class:"type-label"},c7e={class:"type-text"},u7e={class:"actions"},d7e=["multiple"],f7e={class:"type-label"},p7e=Pt({__name:"v-upload",props:{multiple:{type:Boolean},preset:{default:()=>({})},fileId:{},fromUser:{type:Boolean,default:!0},fromUrl:{type:Boolean},fromLibrary:{type:Boolean},folder:{}},emits:["input","start"],setup(n,{expose:e,emit:t}){const i=n,o=t,{t:a}=un();let r=null;const{uploading:l,progress:s,upload:u,onBrowseSelect:d,done:g,numberOfFiles:m}=J(),{onDragEnter:_,onDragLeave:x,onDrop:S,dragging:A}=oe(),{url:F,isValidURL:C,loading:L,importFromURL:w}=be(),{setSelection:$}=ue(),B=Oe(null),V=Oe();Dl(()=>{r==null||r.abort()});function W(Y){if(Y.length===0)return!1;for(const re of Y)if(re.size===0)return!1;return!0}function J(){const Y=Oe(!1),re=Oe(0),ge=Oe(0),he=Oe(0);return{uploading:Y,progress:re,upload:Ie,onBrowseSelect:je,numberOfFiles:ge,done:he};async function Ie(Ue){Y.value=!0,re.value=0;const Ee={...i.preset,...i.folder&&{folder:i.folder}};try{if(!W(Ue))throw new Error("An error has occurred while uploading the files.");if(ge.value=Ue.length,i.multiple===!0){const we=Array.from(Ue).map(ht=>ht.size),lt=et.sum(we),pt=new Array(Ue.length).fill(null),yt={start(){pt.forEach(ht=>ht==null?void 0:ht.start())},abort(){pt.forEach(ht=>ht==null?void 0:ht.abort())}},vt=await j$(Array.from(Ue),{onProgressChange:ht=>{re.value=Math.round(et.sum(we.map((St,Ct)=>St*(ht[Ct]/100)))/lt*100);const rt=ht.map((St,Ct)=>[St,Ct]).filter(([St])=>St===100).map(([,St])=>St);he.value=rt.length;for(const St of rt)pt[St]&&(pt[St]=null)},onChunkedUpload:ht=>{ht.forEach((rt,St)=>pt[St]=rt),r=yt,ht.every(rt=>rt!==null)&&o("start",yt)},preset:Ee});vt&&o("input",vt.filter(ht=>!!ht))}else{const we=await B$(Array.from(Ue)[0],{onProgressChange:lt=>{re.value=lt,he.value=lt===100?1:0},onChunkedUpload:lt=>{r=lt,o("start",lt)},fileId:i.fileId,preset:Ee});we&&o("input",we),r=null}}catch(we){Vi(we),o("input",null)}finally{Y.value=!1,he.value=0,ge.value=0}}function je(Ue){var we;const Ee=(we=Ue.target)==null?void 0:we.files;Ee&&Ie(Ee)}}function oe(){const Y=Oe(!1);let re=0;return{onDragEnter:ge,onDragLeave:he,onDrop:Ie,dragging:Y};function ge(){re++,re===1&&(Y.value=!0)}function he(){re--,re===0&&(Y.value=!1)}function Ie(je){var Ee;re=0,Y.value=!1;const Ue=(Ee=je.dataTransfer)==null?void 0:Ee.files;Ue&&i.fromUser&&u(Ue)}}function ue(){return{setSelection:Y};async function Y(re){if(re)if(i.multiple){const ge=await Yn.get("/files",{params:{filter:{id:{_in:re}}}});o("input",ge.data.data)}else if(re[0]){const ge=re[0],he=await Yn.get(`/files/${ge}`);o("input",he.data.data)}else o("input",null)}}function be(){const Y=Oe(""),re=Oe(!1),ge=Ce(()=>{try{return new URL(Y.value),!0}catch{return!1}});return{url:Y,loading:re,isValidURL:ge,importFromURL:he};async function he(){re.value=!0;const Ie={...i.preset,...i.folder&&{folder:i.folder},id:i.fileId};try{const je=await Yn.post("/files/import",{url:Y.value,data:Ie});Gc.emit(bc.upload),i.multiple?o("input",[je.data.data]):o("input",je.data.data),B.value=null,Y.value=""}catch(je){Vi(je)}finally{re.value=!1}}}function ie(){var Y;(Y=V.value)==null||Y.click()}function fe(){r==null||r.abort()}return e({abort:fe}),(Y,re)=>{const ge=G("v-icon"),he=G("v-progress-linear"),Ie=G("v-button"),je=G("v-card-title"),Ue=G("v-input"),Ee=G("v-card-text"),we=G("v-card-actions"),lt=G("v-card"),pt=G("v-dialog"),yt=hi("tooltip");return j(),Re("div",{"data-dropzone":"",class:yn(["v-upload",{dragging:h(A)&&Y.fromUser,uploading:h(l)}]),onDragenter:re[8]||(re[8]=Ji((...vt)=>h(_)&&h(_)(...vt),["prevent"])),onDragover:re[9]||(re[9]=Ji(()=>{},["prevent"])),onDragleave:re[10]||(re[10]=Ji((...vt)=>h(x)&&h(x)(...vt),["prevent"])),onDrop:re[11]||(re[11]=Ji((...vt)=>h(S)&&h(S)(...vt),["stop","prevent"]))},[h(A)&&Y.fromUser?(j(),Re(hn,{key:0},[T(ge,{class:"upload-icon","x-large":"",name:"file_upload"}),ke("p",s7e,me(h(a)("drop_to_upload")),1)],64)):h(l)?(j(),Re(hn,{key:1},[ke("p",l7e,me(h(s))+"%",1),ke("p",c7e,me(Y.multiple&&h(m)>1?h(a)("upload_files_indeterminate",{done:h(g),total:h(m)}):h(a)("upload_file_indeterminate")),1),T(he,{value:h(s),rounded:""},null,8,["value"])],64)):(j(),Re(hn,{key:2},[ke("div",u7e,[Y.fromUser?Qt((j(),ye(Ie,{key:0,icon:"",rounded:"",secondary:"",onClick:ie},{default:I(()=>[ke("input",{ref_key:"input",ref:V,class:"browse",type:"file",multiple:Y.multiple,onInput:re[0]||(re[0]=(...vt)=>h(d)&&h(d)(...vt))},null,40,d7e),T(ge,{name:"file_upload"})]),_:1})),[[yt,h(a)("click_to_browse")]]):We("",!0),Y.fromLibrary?Qt((j(),ye(Ie,{key:1,icon:"",rounded:"",secondary:"",onClick:re[1]||(re[1]=vt=>B.value="choose")},{default:I(()=>[T(ge,{name:"folder_open"})]),_:1})),[[yt,h(a)("choose_from_library")]]):We("",!0),Y.fromUrl&&Y.fromUser?Qt((j(),ye(Ie,{key:2,icon:"",rounded:"",secondary:"",onClick:re[2]||(re[2]=vt=>B.value="url")},{default:I(()=>[T(ge,{name:"link"})]),_:1})),[[yt,h(a)("import_from_url")]]):We("",!0)]),ke("p",f7e,me(h(a)(Y.fromUser?"drag_file_here":"choose_from_library")),1),Y.fromUrl!==!1||Y.fromLibrary!==!1?(j(),Re(hn,{key:0},[T(H7,{active:B.value==="choose",multiple:Y.multiple,folder:Y.folder,"onUpdate:active":re[3]||(re[3]=vt=>B.value=null),onInput:h($)},null,8,["active","multiple","folder","onInput"]),T(pt,{"model-value":B.value==="url",persistent:h(L),onEsc:re[6]||(re[6]=vt=>B.value=null),"onUpdate:modelValue":re[7]||(re[7]=vt=>B.value=null)},{default:I(()=>[T(lt,null,{default:I(()=>[T(je,null,{default:I(()=>[ze(me(h(a)("import_from_url")),1)]),_:1}),T(Ee,null,{default:I(()=>[T(Ue,{modelValue:h(F),"onUpdate:modelValue":re[4]||(re[4]=vt=>In(F)?F.value=vt:null),autofocus:"",placeholder:h(a)("url"),nullable:!1,disabled:h(L)},null,8,["modelValue","placeholder","disabled"])]),_:1}),T(we,null,{default:I(()=>[T(Ie,{disabled:h(L),secondary:"",onClick:re[5]||(re[5]=vt=>B.value=null)},{default:I(()=>[ze(me(h(a)("cancel")),1)]),_:1},8,["disabled"]),T(Ie,{loading:h(L),disabled:h(C)===!1,onClick:h(w)},{default:I(()=>[ze(me(h(a)("import_label")),1)]),_:1},8,["loading","disabled","onClick"])]),_:1})]),_:1})]),_:1},8,["model-value","persistent"])],64)):We("",!0)],64))],34)}}}),VE=Wt(p7e,[["__scopeId","data-v-d5312404"]]),h7e={key:0,class:"image"},m7e={key:1,class:"video"},v7e=["src"],g7e=["src"],y7e={key:3,class:"fallback"},_7e=Pt({__name:"file-preview",props:{file:{},preset:{default:"system-large-contain"},inModal:{type:Boolean}},emits:["click"],setup(n){cm(s=>({"4eb0c3ac":r.value}));const e=n,t=QX(e,"file"),i=Ce(()=>fs(`${t.value.id}?cache-buster=${t.value.modified_on}${e.preset?`&key=${e.preset}`:""}`)),o=Ce(()=>{const s=t.value.type;return s===null?"unknown":s.startsWith("image")?"image":s.startsWith("video")?"video":s.startsWith("audio")?"audio":tm(s,!0)??"unknown"}),a=Ce(()=>{var s;return(s=t.value.type)==null?void 0:s.includes("svg")}),r=Ce(()=>e.inModal?"85vh":Math.min(t.value.height??528,528)+"px"),l=Ce(()=>t.value.height&&t.value.height<528);return(s,u)=>{const d=G("v-image"),g=G("v-icon-file");return j(),Re("div",{class:yn(["file-preview",{modal:s.inModal,small:l.value,svg:a.value}]),onClick:u[0]||(u[0]=m=>s.$emit("click"))},[o.value==="image"?(j(),Re("div",h7e,[T(d,{src:i.value,width:t.value.width,height:t.value.height,alt:t.value.title},null,8,["src","width","height","alt"])])):o.value==="video"?(j(),Re("div",m7e,[ke("video",{controls:"",src:i.value},null,8,v7e)])):o.value==="audio"?(j(),Re("audio",{key:2,controls:"",src:i.value},null,8,g7e)):(j(),Re("div",y7e,[T(g,{ext:o.value},null,8,["ext"])]))],2)}}}),U$=Wt(_7e,[["__scopeId","data-v-dad12311"]]),b7e={class:"file-preview-replace"},x7e=Pt({__name:"file-preview-replace",props:{file:{},preset:{},inModal:{type:Boolean}},emits:["click","replace"],setup(n,{emit:e}){const t=e,{t:i}=un(),o=Oe(!1);function a(){o.value=!1,t("replace")}function r(){o.value=!1}return(l,s)=>{const u=G("v-card-title"),d=G("v-card-text"),g=G("v-button"),m=G("v-card-actions"),_=G("v-card"),x=G("v-dialog");return j(),Re("div",b7e,[T(U$,{file:l.file},null,8,["file"]),ke("button",{class:"replace-toggle",onClick:s[0]||(s[0]=S=>o.value=!0)},me(h(i)("replace_file")),1),T(x,{"model-value":o.value,onEsc:r},{default:I(()=>[T(_,null,{default:I(()=>[T(u,null,{default:I(()=>[ze(me(h(i)("replace_file")),1)]),_:1}),T(d,null,{default:I(()=>[T(VE,{"file-id":l.file.id,"from-url":"",onInput:a},null,8,["file-id"])]),_:1}),T(m,null,{default:I(()=>[T(g,{secondary:"",onClick:r},{default:I(()=>[ze(me(h(i)("done")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model-value"])])}}}),q$=Wt(x7e,[["__scopeId","data-v-31fe44f8"]]),w7e={key:1,class:"type-title"},k7e={class:"drawer-item-content"},C7e=Pt({__name:"drawer-item",props:{collection:{},active:{type:Boolean},primaryKey:{default:null},edits:{},junctionField:{default:null},disabled:{type:Boolean},relatedPrimaryKey:{default:"+"},circularField:{default:null},junctionFieldLocation:{default:"bottom"}},emits:["update:active","input"],setup(n,{emit:e}){const t=n,i=e,{t:o,te:a}=un(),r=Oe([]),l=so(),s=Ha(),{internalActive:u}=kt(),{junctionFieldInfo:d,relatedCollection:g,relatedCollectionInfo:m,setRelationEdits:_,relatedPrimaryKeyField:x}=xt(),{internalEdits:S,loading:A,initialValues:F,refresh:C}=It(),{save:L,cancel:w}=_t(),{collection:$,primaryKey:B,relatedPrimaryKey:V}=vo(t),{info:W,primaryKeyField:J}=Bs($),oe=Ce(()=>t.primaryKey==="+"&&t.relatedPrimaryKey==="+"),ue=Ce(()=>t.junctionFieldLocation==="top"),be=Ce(()=>!et.isEmpty(S.value)),{confirmLeave:ie,leaveTo:fe}=Ff(be),Y=Pr();function re(){fe.value&&(S.value={},ie.value=!1,Y.push(fe.value))}const ge=Ce(()=>{const st=(m==null?void 0:m.value)||W.value;return a(`collection_names_singular.${st.collection}`)?oe.value?o("creating_unit",{unit:o(`collection_names_singular.${st.collection}`)}):o("editing_unit",{unit:o(`collection_names_singular.${st.collection}`)}):oe.value?o("creating_in",{collection:st.name}):o("editing_in",{collection:st.name})}),{fields:he}=ty($,B,Ce(()=>t.primaryKey==="+")),{fields:Ie}=ty(g,V,Ce(()=>t.primaryKey==="+")),je=Ce(()=>t.circularField?he.value.map(st=>(st.field===t.circularField&&et.set(st,"meta.readonly",!0),st)):he.value),Ue=Ce(()=>t.circularField?je.value.filter(st=>st.field!==t.circularField):je.value),Ee=Ce(()=>Ie.value.some(st=>{var Lt;return!((Lt=st.meta)!=null&&Lt.hidden)})),we=Ce(()=>je.value.some(st=>{var Lt;return!((Lt=st.meta)!=null&&Lt.hidden)})),lt=Ce(()=>!Ee.value&&!we.value),pt=Ce(()=>d.value?String(t.relatedPrimaryKey):String(t.primaryKey)),yt=Ce(()=>m.value||W.value),{template:vt,templateData:ht,loading:rt}=F8(yt,pt),{file:St}=Ct();function Ct(){const st=Ce(()=>t.collection==="directus_files"||g.value==="directus_files");return{file:Ce(()=>{var Mt;return st.value===!1||!F.value?null:(t.junctionField?(Mt=F.value)==null?void 0:Mt[t.junctionField]:F.value)||null}),isDirectusFiles:st}}function kt(){const st=Oe(!1);return{internalActive:Ce({get(){return t.active??st.value},set(Xt){st.value=Xt,i("update:active",Xt)}})}}function It(){const st=Oe({}),Lt=Oe(!1),Xt=Oe(null);return Wn(()=>t.active,Bn=>{Bn?(t.primaryKey!=="+"&&Et(),t.relatedPrimaryKey!=="+"&&mn(),st.value=t.edits??{}):(Lt.value=!1,Xt.value=null,st.value={})},{immediate:!0}),{internalEdits:st,loading:Lt,initialValues:Xt,refresh:Mt};async function Mt(){t.active&&(Lt.value=!1,t.primaryKey!=="+"&&Et(),t.relatedPrimaryKey!=="+"&&mn())}async function Et(){if(!t.primaryKey)return;Lt.value=!0;const Bn=ds(t.collection),xn=Ks(t.collection)?`${Bn}/${t.primaryKey}`:`${Bn}/${encodeURIComponent(t.primaryKey)}`;let oi="*";t.junctionField&&(oi=`*,${t.junctionField}.*`);try{const rn=await Yn.get(xn,{params:{fields:oi}});Xt.value=rn.data.data}catch(rn){Vi(rn)}finally{Lt.value=!1}}async function mn(){const Bn=g.value;if(!Bn||!d.value)return;Lt.value=!0;const xn=ds(Bn),oi=Ks(Bn)?`${xn}/${t.relatedPrimaryKey}`:`${xn}/${encodeURIComponent(t.relatedPrimaryKey)}`;try{const rn=await Yn.get(oi);Xt.value={...Xt.value||{},[d.value.field]:rn.data.data}}catch(rn){Vi(rn)}finally{Lt.value=!1}}}function xt(){const st=Ce(()=>t.junctionField?l.getField(t.collection,t.junctionField):null),Lt=Ce(()=>{var xn,oi,rn;if(!t.junctionField)return null;const Bn=s.getRelationsForField(t.collection,t.junctionField).find(Tn=>Tn.collection===t.collection&&Tn.field===t.junctionField);return Bn?Bn.related_collection?Bn.related_collection:(xn=Bn.meta)!=null&&xn.one_collection_field?((oi=t.edits)==null?void 0:oi[Bn.meta.one_collection_field])||((rn=F.value)==null?void 0:rn[Bn.meta.one_collection_field]):null:null}),{info:Xt,primaryKeyField:Mt}=Bs(Lt);return{junctionFieldInfo:st,relatedCollection:Lt,relatedCollectionInfo:Xt,setRelationEdits:Et,relatedPrimaryKeyField:Mt};function Et(mn){t.junctionField&&(S.value[t.junctionField]=mn)}}function _t(){return{save:st,cancel:Lt};function st(){var xn;const Xt=t.junctionField?S.value[t.junctionField]:S.value,Mt=t.junctionField?Ie.value:Ue.value,Et=PE(Mt),mn=t.junctionField?(xn=F==null?void 0:F.value)==null?void 0:xn[t.junctionField]:F==null?void 0:F.value,Bn=Vk(et.merge({},Et.value,mn,Xt),Mt,oe.value);if(Bn.length>0){r.value=Bn;return}else r.value=[];t.junctionField&&Object.values(Et.value).some(oi=>oi!==null)&&(S.value[t.junctionField]=S.value[t.junctionField]??{}),t.junctionField&&t.relatedPrimaryKey!=="+"&&x.value&&et.set(S.value,[t.junctionField,x.value.field],t.relatedPrimaryKey),t.primaryKey&&t.primaryKey!=="+"&&J.value&&(S.value[J.value.field]=t.primaryKey),i("input",S.value),u.value=!1,S.value={}}function Lt(){r.value=[],u.value=!1,S.value={}}}return(st,Lt)=>{var An,_n;const Xt=G("v-skeleton-loader"),Mt=G("render-template"),Et=G("v-breadcrumb"),mn=G("v-icon"),Bn=G("v-button"),xn=G("v-info"),oi=G("v-form"),rn=G("v-drawer"),Tn=G("v-card-title"),cn=G("v-card-text"),Sn=G("v-card-actions"),dn=G("v-card"),pn=G("v-dialog"),Kt=hi("tooltip");return j(),Re(hn,null,[T(rn,{modelValue:h(u),"onUpdate:modelValue":Lt[1]||(Lt[1]=Kn=>In(u)?u.value=Kn:null),title:ge.value,icon:((_n=(An=h(W))==null?void 0:An.meta)==null?void 0:_n.icon)??void 0,persistent:"",onCancel:h(w)},Jr({subtitle:I(()=>{var Kn;return[T(Et,{items:[{name:(Kn=h(W))==null?void 0:Kn.name,disabled:!0}]},null,8,["items"])]}),actions:I(()=>[gi(st.$slots,"actions",{},void 0,!0),Qt((j(),ye(Bn,{icon:"",rounded:"",onClick:h(L)},{default:I(()=>[T(mn,{name:"check"})]),_:1},8,["onClick"])),[[Kt,h(o)("save"),void 0,{bottom:!0}]])]),default:I(()=>{var Kn,Dn;return[ke("div",k7e,[h(St)?(j(),ye(q$,{key:0,class:"preview",file:h(St),"in-modal":"",onReplace:h(C)},null,8,["file","onReplace"])):We("",!0),lt.value?(j(),ye(xn,{key:1,title:h(o)("no_visible_fields"),icon:"search",center:""},{default:I(()=>[ze(me(h(o)("no_visible_fields_copy")),1)]),_:1},8,["title"])):(j(),Re("div",{key:2,class:yn(["drawer-item-order",{swap:ue.value}])},[st.junctionField?(j(),ye(oi,{key:0,disabled:st.disabled,loading:h(A),"show-no-visible-fields":!1,"initial-values":(Kn=h(F))==null?void 0:Kn[st.junctionField],"primary-key":h(V),"model-value":(Dn=h(S))==null?void 0:Dn[st.junctionField],fields:h(Ie),"validation-errors":st.junctionField?r.value:void 0,autofocus:!ue.value,"show-divider":!ue.value&&we.value,"onUpdate:modelValue":h(_)},null,8,["disabled","loading","initial-values","primary-key","model-value","fields","validation-errors","autofocus","show-divider","onUpdate:modelValue"])):We("",!0),T(oi,{modelValue:h(S),"onUpdate:modelValue":Lt[0]||(Lt[0]=yi=>In(S)?S.value=yi:null),disabled:st.disabled,loading:h(A),"show-no-visible-fields":!1,"initial-values":h(F),autofocus:ue.value,"show-divider":ue.value&&Ee.value,"primary-key":h(B),fields:je.value,"validation-errors":st.junctionField?void 0:r.value},null,8,["modelValue","disabled","loading","initial-values","autofocus","show-divider","primary-key","fields","validation-errors"])],2))])]}),_:2},[h(vt)!==null&&h(ht)&&h(B)!=="+"?{name:"title",fn:I(()=>{var Kn;return[h(A)||h(rt)?(j(),ye(Xt,{key:0,class:"title-loader",type:"text"})):(j(),Re("h1",w7e,[T(Mt,{collection:(Kn=yt.value)==null?void 0:Kn.collection,item:h(ht),template:h(vt)},null,8,["collection","item","template"])]))]}),key:"0"}:void 0]),1032,["modelValue","title","icon","onCancel"]),T(pn,{modelValue:h(ie),"onUpdate:modelValue":Lt[3]||(Lt[3]=Kn=>In(ie)?ie.value=Kn:null),onEsc:Lt[4]||(Lt[4]=Kn=>ie.value=!1)},{default:I(()=>[T(dn,null,{default:I(()=>[T(Tn,null,{default:I(()=>[ze(me(h(o)("unsaved_changes")),1)]),_:1}),T(cn,null,{default:I(()=>[ze(me(h(o)("unsaved_changes_copy")),1)]),_:1}),T(Sn,null,{default:I(()=>[T(Bn,{secondary:"",onClick:re},{default:I(()=>[ze(me(h(o)("discard_changes")),1)]),_:1}),T(Bn,{onClick:Lt[2]||(Lt[2]=Kn=>ie.value=!1)},{default:I(()=>[ze(me(h(o)("keep_editing")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}}}),kp=Wt(C7e,[["__scopeId","data-v-ccec0b8d"]]),S7e={class:"custom-translations-display"},E7e={class:"header"},A7e={class:"lang"},T7e={class:"header"},D7e={class:"lang"},L7e={key:1,class:"translation-item-text"},I7e=Pt({__name:"custom-translations-tooltip",props:{translationKey:{}},setup(n){const e=n,t=Oe([]),i=Oe(!1),{t:o}=un(),a=async()=>{i.value=!0;try{t.value=await ld("/translations",{params:{fields:["language","key","value"],sort:["language"],filter:{key:{_eq:e.translationKey}}}})}catch{}finally{i.value=!1}},r=l=>{l(),!i.value&&t.value.length===0&&a()};return(l,s)=>{const u=G("v-icon"),d=G("v-list-item-content"),g=G("v-list-item"),m=G("ValueNull"),_=G("v-list"),x=G("v-menu"),S=hi("tooltip");return j(),Re("div",S7e,[T(x,{class:"menu","show-arrow":""},{activator:I(({toggle:A,deactivate:F,active:C})=>[Qt(T(u,{small:!1,class:yn(["icon",{active:C}]),name:"info",tabindex:"-1",onClick:Ji(L=>r(A),["stop"]),onBlur:F},null,8,["class","onClick","onBlur"]),[[S,t.value&&t.value.length===0&&h(o)("translations"),void 0,{bottom:!0}]])]),default:I(()=>[T(_,{class:"translations"},{default:I(()=>[t.value.length===0?(j(),ye(g,{key:0},{default:I(()=>[T(d,null,{default:I(()=>[ke("div",E7e,[ke("div",A7e,me(h(o)("loading")),1)])]),_:1})]),_:1})):(j(!0),Re(hn,{key:1},Si(t.value,A=>(j(),ye(g,{key:A.language},{default:I(()=>[T(d,null,{default:I(()=>[ke("div",T7e,[ke("div",D7e,[T(u,{name:"translate",small:""}),ze(" "+me(A.language),1)])]),A.value?(j(),Re("div",L7e,me(A.value),1)):(j(),ye(m,{key:0}))]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})])}}}),M7e=Wt(I7e,[["__scopeId","data-v-b890b69c"]]),F7e={class:"input-translated-string"},P7e=["disabled"],O7e={key:0,class:"search"},A4="$t:",R7e=Pt({__name:"input-translated-string",props:{value:{default:null},autofocus:{type:Boolean},disabled:{type:Boolean},placeholder:{default:null}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=un(),a=Oe(),r=Oe(!1),l=Oe(!1),s=Oe(null),u=Oe(!1),d=Oe([]),g=TE(),m=Oe(!1),_=async()=>{u.value=!0;try{const W=await ld("/translations",{params:{fields:["key"],groupBy:["key"]}});d.value=W.map(J=>J.key)}catch(W){Vi(W)}finally{u.value=!1}};_();const x=Ce(()=>{const W=h(d),J=s.value?W.filter(oe=>oe.includes(s.value)):W;return J.length>100?J.slice(0,100):J}),S=Ce({get(){return t.value},set(W){t.value!==W&&i("input",W)}}),A=async W=>{await g.create(W),await _(),w(`${A4}${W.key}`)};Wn(()=>t.value,W=>w(W),{immediate:!0});const F=Ce(()=>S.value?C(S.value):null);function C(W){return W.substring(A4.length)}function L(W){w(`${A4}${W}`),a.value.deactivate(),s.value=null}function w(W){W!=null&&W.startsWith(A4)&&(W=W.replace(/\s/g,"_")),S.value=W,l.value||B()}function $(){l.value=!1,B()}function B(){var W;r.value=((W=S.value)==null?void 0:W.startsWith(A4))??!1}function V(){a.value.deactivate(),m.value=!0}return(W,J)=>{const oe=G("v-icon"),ue=G("v-input"),be=G("v-list-item-icon"),ie=G("v-highlight"),fe=G("v-list-item-content"),Y=G("v-list-item"),re=G("v-list"),ge=G("v-menu");return j(),Re("div",F7e,[T(ge,{ref_key:"menuEl",ref:a,disabled:W.disabled,"close-on-content-click":!1,attached:""},{activator:I(({toggle:he,active:Ie})=>[T(ue,{class:"translation-input","model-value":S.value,autofocus:W.autofocus,placeholder:W.placeholder,disabled:W.disabled,active:Ie,"onUpdate:modelValue":J[1]||(J[1]=je=>S.value=je),onFocus:J[2]||(J[2]=je=>l.value=!0),onBlur:$,onKeydown:g1(B,["enter"])},Jr({append:I(()=>[T(oe,{name:"translate",class:yn(["translate-icon",{active:Ie}]),clickable:"",tabindex:-1,disabled:W.disabled,onClick:he},null,8,["class","disabled","onClick"])]),_:2},[r.value?{name:"input",fn:I(()=>[ke("button",{disabled:W.disabled,onClick:J[0]||(J[0]=Ji(je=>w(null),["stop"]))},me(W.value&&C(W.value)),9,P7e)]),key:"0"}:void 0]),1032,["model-value","autofocus","placeholder","disabled","active"])]),default:I(()=>[s.value!==null||x.value.length>=25?(j(),Re("div",O7e,[T(ue,{class:"search-input",type:"text","model-value":s.value,autofocus:"",placeholder:h(o)("interfaces.input-translated-string.search_placeholder"),"onUpdate:modelValue":J[3]||(J[3]=he=>s.value=he)},{append:I(()=>[T(oe,{name:"search",class:"search-icon"})]),_:1},8,["model-value","placeholder"])])):We("",!0),T(re,{loading:u.value},{default:I(()=>[(j(!0),Re(hn,null,Si(x.value,he=>(j(),ye(Y,{key:he,class:yn(["translation-key",{selected:S.value&&he===F.value}]),clickable:"",onClick:Ie=>L(he)},{default:I(()=>[T(be,null,{default:I(()=>[T(oe,{name:"translate"})]),_:1}),T(fe,null,{default:I(()=>[T(ie,{text:he,query:s.value},null,8,["text","query"])]),_:2},1024),T(be,{class:"info"},{default:I(()=>[T(M7e,{"translation-key":he},null,8,["translation-key"])]),_:2},1024)]),_:2},1032,["class","onClick"]))),128)),T(Y,{class:"new-custom-translation",clickable:"",onClick:V},{default:I(()=>[T(be,null,{default:I(()=>[T(oe,{name:"add"})]),_:1}),T(fe,null,{default:I(()=>[ze(me(h(o)("interfaces.input-translated-string.new_custom_translation")),1)]),_:1})]),_:1})]),_:1},8,["loading"])]),_:1},8,["disabled"]),T(kp,{active:m.value,"onUpdate:active":J[4]||(J[4]=he=>m.value=he),collection:"directus_translations","primary-key":"+",edits:{language:h(_5)()},onInput:A},null,8,["active","edits"])])}}}),z7e=Wt(R7e,[["__scopeId","data-v-e1595b82"]]),$7e=`<svg width="156" height="96" fill="none" xmlns="http://www.w3.org/2000/svg">
66
66
  <rect x="18" y="17.037" width="120" height="62" rx="6" fill="var(--theme--background)" />
@@ -600,7 +600,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
600
600
  <rect x="46" y="55" width="40" height="6" rx="2" fill="var(--theme--primary)" fill-opacity=".25" />
601
601
  <rect x="42" y="65" width="10" height="6" rx="2" fill="var(--theme--primary)" />
602
602
  </svg>
603
- `,mLe=Xo({id:"input-block-editor",name:"$t:interfaces.input-block-editor.input-block-editor",description:"$t:interfaces.input-block-editor.description",icon:"code",component:pLe,types:["json"],group:"standard",preview:hLe,options:[{field:"placeholder",name:"$t:placeholder",meta:{width:"half",interface:"text-input",options:{placeholder:"$t:enter_a_placeholder"}}},{field:"font",name:"$t:font",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:sans_serif",value:"sans-serif"},{text:"$t:monospace",value:"monospace"},{text:"$t:serif",value:"serif"}]}},schema:{default_value:"sans-serif"}},{field:"tools",name:"$t:interfaces.input-block-editor.tools",type:"json",schema:{default_value:["header","nestedlist","code","image","paragraph","checklist","quote","underline"]},meta:{width:"half",interface:"select-multiple-dropdown",options:{choices:[{value:"header",text:"$t:interfaces.input-block-editor.tools_options.header"},{value:"nestedlist",text:"$t:interfaces.input-block-editor.tools_options.nestedlist"},{value:"embed",text:"$t:interfaces.input-block-editor.tools_options.embed"},{value:"paragraph",text:"$t:interfaces.input-block-editor.tools_options.paragraph"},{value:"code",text:"$t:interfaces.input-block-editor.tools_options.code"},{value:"image",text:"$t:interfaces.input-block-editor.tools_options.image"},{value:"attaches",text:"$t:interfaces.input-block-editor.tools_options.attaches"},{value:"table",text:"$t:interfaces.input-block-editor.tools_options.table"},{value:"quote",text:"$t:interfaces.input-block-editor.tools_options.quote"},{value:"underline",text:"$t:interfaces.input-block-editor.tools_options.underline"},{value:"inlinecode",text:"$t:interfaces.input-block-editor.tools_options.inlinecode"},{value:"delimiter",text:"$t:interfaces.input-block-editor.tools_options.delimiter"},{value:"checklist",text:"$t:interfaces.input-block-editor.tools_options.checklist"},{value:"toggle",text:"$t:interfaces.input-block-editor.tools_options.toggle"},{value:"alignment",text:"$t:interfaces.input-block-editor.tools_options.alignment"},{value:"raw",text:"$t:interfaces.input-block-editor.tools_options.raw"}]}}},{field:"bordered",name:"$t:displays.formatted-value.border",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.border_label"}},schema:{default_value:!0}},{field:"folder",name:"$t:interfaces.system-folder.folder",type:"uuid",meta:{width:"full",interface:"system-folder",note:"$t:interfaces.system-folder.field_hint"}}]});var vLe={exports:{}};(function(n,e){(function(t){t(Pd())})(function(t){t.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var i=0;i<t.modeInfo.length;i++){var o=t.modeInfo[i];o.mimes&&(o.mime=o.mimes[0])}t.findModeByMIME=function(a){a=a.toLowerCase();for(var r=0;r<t.modeInfo.length;r++){var l=t.modeInfo[r];if(l.mime==a)return l;if(l.mimes){for(var s=0;s<l.mimes.length;s++)if(l.mimes[s]==a)return l}}if(/\+xml$/.test(a))return t.findModeByMIME("application/xml");if(/\+json$/.test(a))return t.findModeByMIME("application/json")},t.findModeByExtension=function(a){a=a.toLowerCase();for(var r=0;r<t.modeInfo.length;r++){var l=t.modeInfo[r];if(l.ext){for(var s=0;s<l.ext.length;s++)if(l.ext[s]==a)return l}}},t.findModeByFileName=function(a){for(var r=0;r<t.modeInfo.length;r++){var l=t.modeInfo[r];if(l.file&&l.file.test(a))return l}var s=a.lastIndexOf("."),u=s>-1&&a.substring(s+1,a.length);if(u)return t.findModeByExtension(u)},t.findModeByName=function(a){a=a.toLowerCase();for(var r=0;r<t.modeInfo.length;r++){var l=t.modeInfo[r];if(l.name.toLowerCase()==a)return l;if(l.alias){for(var s=0;s<l.alias.length;s++)if(l.alias[s].toLowerCase()==a)return l}}}})})();var gLe=vLe.exports;function yM(n){switch(n){case"apl":return Ut(()=>import("./apl-BOZwXlQK.js").then(e=>e.a),__vite__mapDeps([89,3,2,4]),import.meta.url);case"asciiarmor":return Ut(()=>import("./asciiarmor-DfARq0s9.js").then(e=>e.a),__vite__mapDeps([90,3,2,4]),import.meta.url);case"asn.1":return Ut(()=>import("./asn.1-DJPyVNs4.js").then(e=>e.a),__vite__mapDeps([91,3,2,4]),import.meta.url);case"asterisk":return Ut(()=>import("./asterisk-vhKDLdJ_.js").then(e=>e.a),__vite__mapDeps([92,3,2,4]),import.meta.url);case"brainfuck":return Ut(()=>import("./brainfuck-B6G65tiu.js").then(e=>e.b),__vite__mapDeps([93,3,2,4]),import.meta.url);case"clike":return Ut(()=>import("./clike-DnNES1Uc.js").then(e=>e.c),__vite__mapDeps([94,3,2,4]),import.meta.url);case"clojure":return Ut(()=>import("./clojure-BuVzAgfD.js").then(e=>e.c),__vite__mapDeps([95,3,2,4]),import.meta.url);case"cmake":return Ut(()=>import("./cmake-D7Dz1HYt.js").then(e=>e.c),__vite__mapDeps([96,3,2,4]),import.meta.url);case"cobol":return Ut(()=>import("./cobol-ZUV592oj.js").then(e=>e.c),__vite__mapDeps([97,3,2,4]),import.meta.url);case"coffeescript":return Ut(()=>import("./coffeescript-Byicj1_Q.js").then(e=>e.c),__vite__mapDeps([98,3,2,4]),import.meta.url);case"commonlisp":return Ut(()=>import("./commonlisp-DwtzyTCj.js").then(e=>e.c),__vite__mapDeps([99,3,2,4]),import.meta.url);case"crystal":return Ut(()=>import("./crystal-DK4zEXnq.js").then(e=>e.c),__vite__mapDeps([100,3,2,4]),import.meta.url);case"css":return Ut(()=>import("./css-B86Yjkyn.js").then(e=>e.c),__vite__mapDeps([101,3,2,4]),import.meta.url);case"cypher":return Ut(()=>import("./cypher-BYmb07Ni.js").then(e=>e.c),__vite__mapDeps([102,3,2,4]),import.meta.url);case"d":return Ut(()=>import("./d-yr6VIhf3.js").then(e=>e.d),__vite__mapDeps([103,3,2,4]),import.meta.url);case"dart":return Ut(()=>import("./dart-BMkrkerv.js").then(e=>e.d),__vite__mapDeps([104,3,2,4,94]),import.meta.url);case"diff":return Ut(()=>import("./diff-CC8nTawL.js").then(e=>e.d),__vite__mapDeps([105,3,2,4]),import.meta.url);case"django":return Ut(()=>import("./django-CMew5yyh.js").then(e=>e.d),__vite__mapDeps([106,3,2,4,107,101,108]),import.meta.url);case"dockerfile":return Ut(()=>import("./dockerfile-p0xBZGfz.js").then(e=>e.d),__vite__mapDeps([109,3,2,4]),import.meta.url);case"dtd":return Ut(()=>import("./dtd-BXZMdSsM.js").then(e=>e.d),__vite__mapDeps([110,3,2,4]),import.meta.url);case"dylan":return Ut(()=>import("./dylan-DDMDEd63.js").then(e=>e.d),__vite__mapDeps([111,3,2,4]),import.meta.url);case"ebnf":return Ut(()=>import("./ebnf-DqIr-68D.js").then(e=>e.e),__vite__mapDeps([112,3,2,4]),import.meta.url);case"ecl":return Ut(()=>import("./ecl-E1q1jdpM.js").then(e=>e.e),__vite__mapDeps([113,3,2,4]),import.meta.url);case"eiffel":return Ut(()=>import("./eiffel-CbSaVBJo.js").then(e=>e.e),__vite__mapDeps([114,3,2,4]),import.meta.url);case"elm":return Ut(()=>import("./elm-XTvWaSkL.js").then(e=>e.e),__vite__mapDeps([115,3,2,4]),import.meta.url);case"erlang":return Ut(()=>import("./erlang-BqKR--I0.js").then(e=>e.e),__vite__mapDeps([116,3,2,4]),import.meta.url);case"factor":return Ut(()=>import("./factor-CIYnTw_d.js").then(e=>e.f),__vite__mapDeps([117,3,2,4]),import.meta.url);case"fcl":return Ut(()=>import("./fcl-DedB-k9Z.js").then(e=>e.f),__vite__mapDeps([118,3,2,4]),import.meta.url);case"forth":return Ut(()=>import("./forth-BvXdgHSM.js").then(e=>e.f),__vite__mapDeps([119,3,2,4]),import.meta.url);case"fortran":return Ut(()=>import("./fortran-DLW2Fl6q.js").then(e=>e.f),__vite__mapDeps([120,3,2,4]),import.meta.url);case"gas":return Ut(()=>import("./gas-C69D2BFc.js").then(e=>e.g),__vite__mapDeps([121,3,2,4]),import.meta.url);case"gfm":return Ut(()=>import("./gfm-DgJBfiPv.js").then(e=>e.g),__vite__mapDeps([122,3,2,4,108]),import.meta.url);case"gherkin":return Ut(()=>import("./gherkin-CSnZY3FL.js").then(e=>e.g),__vite__mapDeps([123,3,2,4]),import.meta.url);case"go":return Ut(()=>import("./go-FA1XqtDL.js").then(e=>e.g),__vite__mapDeps([124,3,2,4]),import.meta.url);case"groovy":return Ut(()=>import("./groovy-Cq4Mu1AO.js").then(e=>e.g),__vite__mapDeps([125,3,2,4]),import.meta.url);case"haml":return Ut(()=>import("./haml-CAnD9esH.js").then(e=>e.h),__vite__mapDeps([126,3,2,4,107,101,127]),import.meta.url);case"handlebars":return Ut(()=>import("./handlebars-Bu5AmR8W.js").then(e=>e.h),__vite__mapDeps([128,3,2,4,129]),import.meta.url);case"haskell":return Ut(()=>import("./haskell-CjkhsdfP.js").then(e=>e.h),__vite__mapDeps([130,3,2,4]),import.meta.url);case"haskell-literate":return Ut(()=>import("./haskell-literate-D_WcFUrI.js").then(e=>e.h),__vite__mapDeps([131,3,2,4,130]),import.meta.url);case"haxe":return Ut(()=>import("./haxe-D0nSX28o.js").then(e=>e.h),__vite__mapDeps([132,3,2,4]),import.meta.url);case"htmlembedded":return Ut(()=>import("./htmlembedded-cN6VpJMM.js").then(e=>e.h),__vite__mapDeps([133,3,2,4,107,101,129]),import.meta.url);case"htmlmixed":return Ut(()=>import("./htmlmixed-B1IRsN6M.js").then(e=>e.h),__vite__mapDeps([134,3,2,4,107,101]),import.meta.url);case"http":return Ut(()=>import("./http-Pv26tGJP.js").then(e=>e.h),__vite__mapDeps([135,3,2,4]),import.meta.url);case"idl":return Ut(()=>import("./idl-akBRK2ER.js").then(e=>e.i),__vite__mapDeps([136,3,2,4]),import.meta.url);case"javascript":return Ut(()=>Promise.resolve().then(()=>MW),void 0,import.meta.url);case"jinja2":return Ut(()=>import("./jinja2-f0IE2sKB.js").then(e=>e.j),__vite__mapDeps([137,3,2,4]),import.meta.url);case"jsx":return Ut(()=>import("./jsx-CrYfbAK7.js").then(e=>e.j),__vite__mapDeps([138,3,2,4]),import.meta.url);case"julia":return Ut(()=>import("./julia-CCun02GJ.js").then(e=>e.j),__vite__mapDeps([139,3,2,4]),import.meta.url);case"livescript":return Ut(()=>import("./livescript-BqAMTrvJ.js").then(e=>e.l),__vite__mapDeps([140,3,2,4]),import.meta.url);case"lua":return Ut(()=>import("./lua-D_csBpXh.js").then(e=>e.l),__vite__mapDeps([141,3,2,4]),import.meta.url);case"markdown":return Ut(()=>Promise.resolve().then(()=>qLe),void 0,import.meta.url);case"mathematica":return Ut(()=>import("./mathematica-DC9r6wQh.js").then(e=>e.m),__vite__mapDeps([142,3,2,4]),import.meta.url);case"mbox":return Ut(()=>import("./mbox-DlFG5fDe.js").then(e=>e.m),__vite__mapDeps([143,3,2,4]),import.meta.url);case"mirc":return Ut(()=>import("./mirc-Cbat_185.js").then(e=>e.m),__vite__mapDeps([144,3,2,4]),import.meta.url);case"mllike":return Ut(()=>import("./mllike-CHDl2CVl.js").then(e=>e.m),__vite__mapDeps([145,3,2,4]),import.meta.url);case"modelica":return Ut(()=>import("./modelica-C4fnr1AC.js").then(e=>e.m),__vite__mapDeps([146,3,2,4]),import.meta.url);case"mscgen":return Ut(()=>import("./mscgen-cVCWk6hv.js").then(e=>e.m),__vite__mapDeps([147,3,2,4]),import.meta.url);case"mumps":return Ut(()=>import("./mumps-BMz_10cZ.js").then(e=>e.m),__vite__mapDeps([148,3,2,4]),import.meta.url);case"nginx":return Ut(()=>import("./nginx-DySuAa1c.js").then(e=>e.n),__vite__mapDeps([149,3,2,4]),import.meta.url);case"nsis":return Ut(()=>import("./nsis-BgBW1c4r.js").then(e=>e.n),__vite__mapDeps([150,3,2,4]),import.meta.url);case"ntriples":return Ut(()=>import("./ntriples-2rCZ9sll.js").then(e=>e.n),__vite__mapDeps([151,3,2,4]),import.meta.url);case"octave":return Ut(()=>import("./octave-CWYio5nq.js").then(e=>e.o),__vite__mapDeps([152,3,2,4]),import.meta.url);case"oz":return Ut(()=>import("./oz-qWFjNZZc.js").then(e=>e.o),__vite__mapDeps([153,3,2,4]),import.meta.url);case"pascal":return Ut(()=>import("./pascal-hQ2X9lcE.js").then(e=>e.p),__vite__mapDeps([154,3,2,4]),import.meta.url);case"pegjs":return Ut(()=>import("./pegjs-BmueN3-i.js").then(e=>e.p),__vite__mapDeps([155,3,2,4]),import.meta.url);case"perl":return Ut(()=>import("./perl-BFHvd9S4.js").then(e=>e.p),__vite__mapDeps([156,3,2,4]),import.meta.url);case"php":return Ut(()=>import("./php-sCc_Igrx.js").then(e=>e.p),__vite__mapDeps([157,3,2,4,107,101,94]),import.meta.url);case"pig":return Ut(()=>import("./pig-Ds-E2pYI.js").then(e=>e.p),__vite__mapDeps([158,3,2,4]),import.meta.url);case"powershell":return Ut(()=>import("./powershell-CSzpOoCN.js").then(e=>e.p),__vite__mapDeps([159,3,2,4]),import.meta.url);case"properties":return Ut(()=>import("./properties-DAas1YN1.js").then(e=>e.p),__vite__mapDeps([160,3,2,4]),import.meta.url);case"protobuf":return Ut(()=>import("./protobuf-D4NYoUEf.js").then(e=>e.p),__vite__mapDeps([161,3,2,4]),import.meta.url);case"pug":return Ut(()=>import("./pug-AP_6CGbd.js").then(e=>e.p),__vite__mapDeps([162,3,2,4,101,107]),import.meta.url);case"puppet":return Ut(()=>import("./puppet-BfyzjF_D.js").then(e=>e.p),__vite__mapDeps([163,3,2,4]),import.meta.url);case"python":return Ut(()=>import("./python-CcaEo5-w.js").then(e=>e.p),__vite__mapDeps([164,3,2,4]),import.meta.url);case"q":return Ut(()=>import("./q-BOC-3JAZ.js").then(e=>e.q),__vite__mapDeps([165,3,2,4]),import.meta.url);case"r":return Ut(()=>import("./r-Ct64ZBee.js").then(e=>e.r),__vite__mapDeps([166,3,2,4]),import.meta.url);case"rpm":return Ut(()=>import("./rpm-B6CnC0W6.js").then(e=>e.r),__vite__mapDeps([167,3,2,4]),import.meta.url);case"rst":return Ut(()=>import("./rst-B6OAa1gi.js").then(e=>e.r),__vite__mapDeps([168,3,2,4,164,169,108]),import.meta.url);case"ruby":return Ut(()=>import("./ruby-CXdgbze5.js").then(e=>e.r),__vite__mapDeps([170,3,2,4,127]),import.meta.url);case"rust":return Ut(()=>import("./rust-DrYoPmzv.js").then(e=>e.r),__vite__mapDeps([171,3,2,4]),import.meta.url);case"sas":return Ut(()=>import("./sas-Cof1lTyf.js").then(e=>e.s),__vite__mapDeps([172,3,2,4]),import.meta.url);case"sass":return Ut(()=>import("./sass-CjKImnd5.js").then(e=>e.s),__vite__mapDeps([173,3,2,4,101]),import.meta.url);case"scheme":return Ut(()=>import("./scheme-Dsyhwkz4.js").then(e=>e.s),__vite__mapDeps([174,3,2,4]),import.meta.url);case"shell":return Ut(()=>import("./shell-6r7OAAHI.js").then(e=>e.s),__vite__mapDeps([175,3,2,4]),import.meta.url);case"sieve":return Ut(()=>import("./sieve-B5uaGTXk.js").then(e=>e.s),__vite__mapDeps([176,3,2,4]),import.meta.url);case"slim":return Ut(()=>import("./slim-B-OKOsz-.js").then(e=>e.s),__vite__mapDeps([177,3,2,4,107,101,127]),import.meta.url);case"smalltalk":return Ut(()=>import("./smalltalk-DZrASCyN.js").then(e=>e.s),__vite__mapDeps([178,3,2,4]),import.meta.url);case"smarty":return Ut(()=>import("./smarty-Bx9WuSpi.js").then(e=>e.s),__vite__mapDeps([179,3,2,4]),import.meta.url);case"solr":return Ut(()=>import("./solr-DyiTyO_f.js").then(e=>e.s),__vite__mapDeps([180,3,2,4]),import.meta.url);case"soy":return Ut(()=>import("./soy-D5Q8uFUv.js").then(e=>e.s),__vite__mapDeps([181,3,2,4,107,101]),import.meta.url);case"sparql":return Ut(()=>import("./sparql-BvbgIuZ-.js").then(e=>e.s),__vite__mapDeps([182,3,2,4]),import.meta.url);case"spreadsheet":return Ut(()=>import("./spreadsheet-BulguwxI.js").then(e=>e.s),__vite__mapDeps([183,3,2,4]),import.meta.url);case"sql":return Ut(()=>import("./sql-C7t-s4HO.js").then(e=>e.s),__vite__mapDeps([184,3,2,4]),import.meta.url);case"stex":return Ut(()=>import("./stex-DNkpHLHK.js").then(e=>e.s),__vite__mapDeps([185,3,2,4,169]),import.meta.url);case"stylus":return Ut(()=>import("./stylus-CNd4wduW.js").then(e=>e.s),__vite__mapDeps([186,3,2,4]),import.meta.url);case"swift":return Ut(()=>import("./swift-D9tFM_kr.js").then(e=>e.s),__vite__mapDeps([187,3,2,4]),import.meta.url);case"tcl":return Ut(()=>import("./tcl-BRnt_0ON.js").then(e=>e.t),__vite__mapDeps([188,3,2,4]),import.meta.url);case"textile":return Ut(()=>import("./textile-B2m4MN4a.js").then(e=>e.t),__vite__mapDeps([189,3,2,4]),import.meta.url);case"tiddlywiki":return Ut(()=>import("./tiddlywiki-D74mVJHy.js").then(e=>e.t),__vite__mapDeps([190,3,2,4]),import.meta.url);case"tiki":return Ut(()=>import("./tiki-Dw2ZJRt-.js").then(e=>e.t),__vite__mapDeps([191,3,2,4]),import.meta.url);case"toml":return Ut(()=>import("./toml-Arl6Hvia.js").then(e=>e.t),__vite__mapDeps([192,3,2,4]),import.meta.url);case"tornado":return Ut(()=>import("./tornado-D7upWyv5.js").then(e=>e.t),__vite__mapDeps([193,3,2,4,107,101,108]),import.meta.url);case"troff":return Ut(()=>import("./troff-B0eKKWOO.js").then(e=>e.t),__vite__mapDeps([194,3,2,4]),import.meta.url);case"ttcn":return Ut(()=>import("./ttcn-B23biCB1.js").then(e=>e.t),__vite__mapDeps([195,3,2,4]),import.meta.url);case"ttcn-cfg":return Ut(()=>import("./ttcn-cfg-CTotLm1l.js").then(e=>e.t),__vite__mapDeps([196,3,2,4]),import.meta.url);case"turtle":return Ut(()=>import("./turtle-Cr0ct551.js").then(e=>e.t),__vite__mapDeps([197,3,2,4]),import.meta.url);case"twig":return Ut(()=>import("./twig-BMONwLHq.js").then(e=>e.t),__vite__mapDeps([198,3,2,4,129]),import.meta.url);case"vb":return Ut(()=>import("./vb-DET2PI8T.js").then(e=>e.v),__vite__mapDeps([199,3,2,4]),import.meta.url);case"vbscript":return Ut(()=>import("./vbscript-D1-T0p7_.js").then(e=>e.v),__vite__mapDeps([200,3,2,4]),import.meta.url);case"velocity":return Ut(()=>import("./velocity-FUHturnq.js").then(e=>e.v),__vite__mapDeps([201,3,2,4]),import.meta.url);case"verilog":return Ut(()=>import("./verilog-CWR9C7Ga.js").then(e=>e.v),__vite__mapDeps([202,3,2,4]),import.meta.url);case"vhdl":return Ut(()=>import("./vhdl-t41L5VoP.js").then(e=>e.v),__vite__mapDeps([203,3,2,4]),import.meta.url);case"vue":return Ut(()=>import("./vue-D3vX0qz9.js").then(e=>e.v),__vite__mapDeps([204,3,2,4,108,98,101,173,186,162,107,128,129]),import.meta.url);case"wast":return Ut(()=>import("./wast-BYJyix8o.js").then(e=>e.w),__vite__mapDeps([205,3,2,4]),import.meta.url);case"webidl":return Ut(()=>import("./webidl-Bsmkcsuu.js").then(e=>e.w),__vite__mapDeps([206,3,2,4]),import.meta.url);case"xml":return Ut(()=>import("./xml-COmIoMfi.js").then(e=>e.x),__vite__mapDeps([207,3,2,4]),import.meta.url);case"xquery":return Ut(()=>import("./xquery-C2iwD4VG.js").then(e=>e.x),__vite__mapDeps([208,3,2,4]),import.meta.url);case"yacas":return Ut(()=>import("./yacas-DZoKujGh.js").then(e=>e.y),__vite__mapDeps([209,3,2,4]),import.meta.url);case"yaml":return Ut(()=>import("./yaml-DPRsqiNt.js").then(e=>e.y),__vite__mapDeps([210,3,2,4]),import.meta.url);case"yaml-frontmatter":return Ut(()=>import("./yaml-frontmatter-CzW-Ds7P.js").then(e=>e.y),__vite__mapDeps([211,3,2,4,210]),import.meta.url);case"z80":return Ut(()=>import("./z80-DD9sSNtS.js").then(e=>e.z),__vite__mapDeps([212,3,2,4]),import.meta.url);default:return Promise.resolve()}}(function(n,e){(function(t){t(Pd())})(function(t){var i={},o=/[^\s\u00a0]/,a=t.Pos,r=t.cmpPos;function l(d){var g=d.search(o);return g==-1?0:g}t.commands.toggleComment=function(d){d.toggleComment()},t.defineExtension("toggleComment",function(d){d||(d=i);for(var g=this,m=1/0,_=this.listSelections(),x=null,S=_.length-1;S>=0;S--){var A=_[S].from(),F=_[S].to();A.line>=m||(F.line>=m&&(F=a(m,0)),m=A.line,x==null?g.uncomment(A,F,d)?x="un":(g.lineComment(A,F,d),x="line"):x=="un"?g.uncomment(A,F,d):g.lineComment(A,F,d))}});function s(d,g,m){return/\bstring\b/.test(d.getTokenTypeAt(a(g.line,0)))&&!/^[\'\"\`]/.test(m)}function u(d,g){var m=d.getMode();return m.useInnerComments===!1||!m.innerMode?m:d.getModeAt(g)}t.defineExtension("lineComment",function(d,g,m){m||(m=i);var _=this,x=u(_,d),S=_.getLine(d.line);if(!(S==null||s(_,d,S))){var A=m.lineComment||x.lineComment;if(!A){(m.blockCommentStart||x.blockCommentStart)&&(m.fullLines=!0,_.blockComment(d,g,m));return}var F=Math.min(g.ch!=0||g.line==d.line?g.line+1:g.line,_.lastLine()+1),C=m.padding==null?" ":m.padding,L=m.commentBlankLines||d.line==g.line;_.operation(function(){if(m.indent){for(var w=null,$=d.line;$<F;++$){var B=_.getLine($),V=B.search(o)===-1?B:B.slice(0,l(B));(w==null||w.length>V.length)&&(w=V)}for(var $=d.line;$<F;++$){var B=_.getLine($),W=w.length;!L&&!o.test(B)||(B.slice(0,W)!=w&&(W=l(B)),_.replaceRange(w+A+C,a($,0),a($,W)))}}else for(var $=d.line;$<F;++$)(L||o.test(_.getLine($)))&&_.replaceRange(A+C,a($,0))})}}),t.defineExtension("blockComment",function(d,g,m){m||(m=i);var _=this,x=u(_,d),S=m.blockCommentStart||x.blockCommentStart,A=m.blockCommentEnd||x.blockCommentEnd;if(!S||!A){(m.lineComment||x.lineComment)&&m.fullLines!=!1&&_.lineComment(d,g,m);return}if(!/\bcomment\b/.test(_.getTokenTypeAt(a(d.line,0)))){var F=Math.min(g.line,_.lastLine());F!=d.line&&g.ch==0&&o.test(_.getLine(F))&&--F;var C=m.padding==null?" ":m.padding;d.line>F||_.operation(function(){if(m.fullLines!=!1){var L=o.test(_.getLine(F));_.replaceRange(C+A,a(F)),_.replaceRange(S+C,a(d.line,0));var w=m.blockCommentLead||x.blockCommentLead;if(w!=null)for(var $=d.line+1;$<=F;++$)($!=F||L)&&_.replaceRange(w+C,a($,0))}else{var B=r(_.getCursor("to"),g)==0,V=!_.somethingSelected();_.replaceRange(A,g),B&&_.setSelection(V?g:_.getCursor("from"),g),_.replaceRange(S,d)}})}}),t.defineExtension("uncomment",function(d,g,m){m||(m=i);var _=this,x=u(_,d),S=Math.min(g.ch!=0||g.line==d.line?g.line:g.line-1,_.lastLine()),A=Math.min(d.line,S),F=m.lineComment||x.lineComment,C=[],L=m.padding==null?" ":m.padding,w;e:{if(!F)break e;for(var $=A;$<=S;++$){var B=_.getLine($),V=B.indexOf(F);if(V>-1&&!/comment/.test(_.getTokenTypeAt(a($,V+1)))&&(V=-1),V==-1&&o.test(B)||V>-1&&o.test(B.slice(0,V)))break e;C.push(B)}if(_.operation(function(){for(var je=A;je<=S;++je){var Ue=C[je-A],Ee=Ue.indexOf(F),we=Ee+F.length;Ee<0||(Ue.slice(we,we+L.length)==L&&(we+=L.length),w=!0,_.replaceRange("",a(je,Ee),a(je,we)))}}),w)return!0}var W=m.blockCommentStart||x.blockCommentStart,J=m.blockCommentEnd||x.blockCommentEnd;if(!W||!J)return!1;var oe=m.blockCommentLead||x.blockCommentLead,ue=_.getLine(A),be=ue.indexOf(W);if(be==-1)return!1;var ie=S==A?ue:_.getLine(S),fe=ie.indexOf(J,S==A?be+W.length:0),Y=a(A,be+1),re=a(S,fe+1);if(fe==-1||!/comment/.test(_.getTokenTypeAt(Y))||!/comment/.test(_.getTokenTypeAt(re))||_.getRange(Y,re,`
603
+ `,mLe=Xo({id:"input-block-editor",name:"$t:interfaces.input-block-editor.input-block-editor",description:"$t:interfaces.input-block-editor.description",icon:"code",component:pLe,types:["json"],group:"standard",preview:hLe,options:[{field:"placeholder",name:"$t:placeholder",meta:{width:"half",interface:"text-input",options:{placeholder:"$t:enter_a_placeholder"}}},{field:"font",name:"$t:font",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:sans_serif",value:"sans-serif"},{text:"$t:monospace",value:"monospace"},{text:"$t:serif",value:"serif"}]}},schema:{default_value:"sans-serif"}},{field:"tools",name:"$t:interfaces.input-block-editor.tools",type:"json",schema:{default_value:["header","nestedlist","code","image","paragraph","checklist","quote","underline"]},meta:{width:"half",interface:"select-multiple-dropdown",options:{choices:[{value:"header",text:"$t:interfaces.input-block-editor.tools_options.header"},{value:"nestedlist",text:"$t:interfaces.input-block-editor.tools_options.nestedlist"},{value:"embed",text:"$t:interfaces.input-block-editor.tools_options.embed"},{value:"paragraph",text:"$t:interfaces.input-block-editor.tools_options.paragraph"},{value:"code",text:"$t:interfaces.input-block-editor.tools_options.code"},{value:"image",text:"$t:interfaces.input-block-editor.tools_options.image"},{value:"attaches",text:"$t:interfaces.input-block-editor.tools_options.attaches"},{value:"table",text:"$t:interfaces.input-block-editor.tools_options.table"},{value:"quote",text:"$t:interfaces.input-block-editor.tools_options.quote"},{value:"underline",text:"$t:interfaces.input-block-editor.tools_options.underline"},{value:"inlinecode",text:"$t:interfaces.input-block-editor.tools_options.inlinecode"},{value:"delimiter",text:"$t:interfaces.input-block-editor.tools_options.delimiter"},{value:"checklist",text:"$t:interfaces.input-block-editor.tools_options.checklist"},{value:"toggle",text:"$t:interfaces.input-block-editor.tools_options.toggle"},{value:"alignment",text:"$t:interfaces.input-block-editor.tools_options.alignment"},{value:"raw",text:"$t:interfaces.input-block-editor.tools_options.raw"}]}}},{field:"bordered",name:"$t:displays.formatted-value.border",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.border_label"}},schema:{default_value:!0}},{field:"folder",name:"$t:interfaces.system-folder.folder",type:"uuid",meta:{width:"full",interface:"system-folder",note:"$t:interfaces.system-folder.field_hint"}}]});var vLe={exports:{}};(function(n,e){(function(t){t(Pd())})(function(t){t.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var i=0;i<t.modeInfo.length;i++){var o=t.modeInfo[i];o.mimes&&(o.mime=o.mimes[0])}t.findModeByMIME=function(a){a=a.toLowerCase();for(var r=0;r<t.modeInfo.length;r++){var l=t.modeInfo[r];if(l.mime==a)return l;if(l.mimes){for(var s=0;s<l.mimes.length;s++)if(l.mimes[s]==a)return l}}if(/\+xml$/.test(a))return t.findModeByMIME("application/xml");if(/\+json$/.test(a))return t.findModeByMIME("application/json")},t.findModeByExtension=function(a){a=a.toLowerCase();for(var r=0;r<t.modeInfo.length;r++){var l=t.modeInfo[r];if(l.ext){for(var s=0;s<l.ext.length;s++)if(l.ext[s]==a)return l}}},t.findModeByFileName=function(a){for(var r=0;r<t.modeInfo.length;r++){var l=t.modeInfo[r];if(l.file&&l.file.test(a))return l}var s=a.lastIndexOf("."),u=s>-1&&a.substring(s+1,a.length);if(u)return t.findModeByExtension(u)},t.findModeByName=function(a){a=a.toLowerCase();for(var r=0;r<t.modeInfo.length;r++){var l=t.modeInfo[r];if(l.name.toLowerCase()==a)return l;if(l.alias){for(var s=0;s<l.alias.length;s++)if(l.alias[s].toLowerCase()==a)return l}}}})})();var gLe=vLe.exports;function yM(n){switch(n){case"apl":return Ut(()=>import("./apl-CmK4mYtR.js").then(e=>e.a),__vite__mapDeps([89,3,2,4]),import.meta.url);case"asciiarmor":return Ut(()=>import("./asciiarmor-CATh25hE.js").then(e=>e.a),__vite__mapDeps([90,3,2,4]),import.meta.url);case"asn.1":return Ut(()=>import("./asn.1-HU2bL2uv.js").then(e=>e.a),__vite__mapDeps([91,3,2,4]),import.meta.url);case"asterisk":return Ut(()=>import("./asterisk-QKiFQwfb.js").then(e=>e.a),__vite__mapDeps([92,3,2,4]),import.meta.url);case"brainfuck":return Ut(()=>import("./brainfuck-DJkmNzqT.js").then(e=>e.b),__vite__mapDeps([93,3,2,4]),import.meta.url);case"clike":return Ut(()=>import("./clike-yQn4YGNp.js").then(e=>e.c),__vite__mapDeps([94,3,2,4]),import.meta.url);case"clojure":return Ut(()=>import("./clojure-DrPtdRMD.js").then(e=>e.c),__vite__mapDeps([95,3,2,4]),import.meta.url);case"cmake":return Ut(()=>import("./cmake-3QuWc96X.js").then(e=>e.c),__vite__mapDeps([96,3,2,4]),import.meta.url);case"cobol":return Ut(()=>import("./cobol-D09Ee2iw.js").then(e=>e.c),__vite__mapDeps([97,3,2,4]),import.meta.url);case"coffeescript":return Ut(()=>import("./coffeescript-DhRR1fYE.js").then(e=>e.c),__vite__mapDeps([98,3,2,4]),import.meta.url);case"commonlisp":return Ut(()=>import("./commonlisp-DsqJK56W.js").then(e=>e.c),__vite__mapDeps([99,3,2,4]),import.meta.url);case"crystal":return Ut(()=>import("./crystal--Oguxjyf.js").then(e=>e.c),__vite__mapDeps([100,3,2,4]),import.meta.url);case"css":return Ut(()=>import("./css-gD_FmLMr.js").then(e=>e.c),__vite__mapDeps([101,3,2,4]),import.meta.url);case"cypher":return Ut(()=>import("./cypher-8lO1KeUb.js").then(e=>e.c),__vite__mapDeps([102,3,2,4]),import.meta.url);case"d":return Ut(()=>import("./d-DzEm-Dtt.js").then(e=>e.d),__vite__mapDeps([103,3,2,4]),import.meta.url);case"dart":return Ut(()=>import("./dart-aXYAPtjA.js").then(e=>e.d),__vite__mapDeps([104,3,2,4,94]),import.meta.url);case"diff":return Ut(()=>import("./diff-CmCylBh0.js").then(e=>e.d),__vite__mapDeps([105,3,2,4]),import.meta.url);case"django":return Ut(()=>import("./django-CEwjGFJ2.js").then(e=>e.d),__vite__mapDeps([106,3,2,4,107,101,108]),import.meta.url);case"dockerfile":return Ut(()=>import("./dockerfile-7_Hvq9kc.js").then(e=>e.d),__vite__mapDeps([109,3,2,4]),import.meta.url);case"dtd":return Ut(()=>import("./dtd-D2K58Tq9.js").then(e=>e.d),__vite__mapDeps([110,3,2,4]),import.meta.url);case"dylan":return Ut(()=>import("./dylan-BUsdSKAd.js").then(e=>e.d),__vite__mapDeps([111,3,2,4]),import.meta.url);case"ebnf":return Ut(()=>import("./ebnf-NHDLjTtl.js").then(e=>e.e),__vite__mapDeps([112,3,2,4]),import.meta.url);case"ecl":return Ut(()=>import("./ecl-a34c7aOV.js").then(e=>e.e),__vite__mapDeps([113,3,2,4]),import.meta.url);case"eiffel":return Ut(()=>import("./eiffel-DQUgLHm9.js").then(e=>e.e),__vite__mapDeps([114,3,2,4]),import.meta.url);case"elm":return Ut(()=>import("./elm-DoDyZjNr.js").then(e=>e.e),__vite__mapDeps([115,3,2,4]),import.meta.url);case"erlang":return Ut(()=>import("./erlang-BqEY3OxW.js").then(e=>e.e),__vite__mapDeps([116,3,2,4]),import.meta.url);case"factor":return Ut(()=>import("./factor-sldlz2kU.js").then(e=>e.f),__vite__mapDeps([117,3,2,4]),import.meta.url);case"fcl":return Ut(()=>import("./fcl-WLMku7d9.js").then(e=>e.f),__vite__mapDeps([118,3,2,4]),import.meta.url);case"forth":return Ut(()=>import("./forth-DvK9XmRq.js").then(e=>e.f),__vite__mapDeps([119,3,2,4]),import.meta.url);case"fortran":return Ut(()=>import("./fortran-DHkJYWi-.js").then(e=>e.f),__vite__mapDeps([120,3,2,4]),import.meta.url);case"gas":return Ut(()=>import("./gas-D7tW0YtI.js").then(e=>e.g),__vite__mapDeps([121,3,2,4]),import.meta.url);case"gfm":return Ut(()=>import("./gfm-CG5nsbD5.js").then(e=>e.g),__vite__mapDeps([122,3,2,4,108]),import.meta.url);case"gherkin":return Ut(()=>import("./gherkin-DhIZ11OR.js").then(e=>e.g),__vite__mapDeps([123,3,2,4]),import.meta.url);case"go":return Ut(()=>import("./go-DEfxCHVZ.js").then(e=>e.g),__vite__mapDeps([124,3,2,4]),import.meta.url);case"groovy":return Ut(()=>import("./groovy-B6LbkuNf.js").then(e=>e.g),__vite__mapDeps([125,3,2,4]),import.meta.url);case"haml":return Ut(()=>import("./haml-De_eT33B.js").then(e=>e.h),__vite__mapDeps([126,3,2,4,107,101,127]),import.meta.url);case"handlebars":return Ut(()=>import("./handlebars-B1GLfAAU.js").then(e=>e.h),__vite__mapDeps([128,3,2,4,129]),import.meta.url);case"haskell":return Ut(()=>import("./haskell-DVSxAo3V.js").then(e=>e.h),__vite__mapDeps([130,3,2,4]),import.meta.url);case"haskell-literate":return Ut(()=>import("./haskell-literate-CpYkzu7L.js").then(e=>e.h),__vite__mapDeps([131,3,2,4,130]),import.meta.url);case"haxe":return Ut(()=>import("./haxe-Dlu5ufsD.js").then(e=>e.h),__vite__mapDeps([132,3,2,4]),import.meta.url);case"htmlembedded":return Ut(()=>import("./htmlembedded-ChYRKSp1.js").then(e=>e.h),__vite__mapDeps([133,3,2,4,107,101,129]),import.meta.url);case"htmlmixed":return Ut(()=>import("./htmlmixed-BfUQC08i.js").then(e=>e.h),__vite__mapDeps([134,3,2,4,107,101]),import.meta.url);case"http":return Ut(()=>import("./http-RQdHHT0V.js").then(e=>e.h),__vite__mapDeps([135,3,2,4]),import.meta.url);case"idl":return Ut(()=>import("./idl-BbQ_gSVF.js").then(e=>e.i),__vite__mapDeps([136,3,2,4]),import.meta.url);case"javascript":return Ut(()=>Promise.resolve().then(()=>MW),void 0,import.meta.url);case"jinja2":return Ut(()=>import("./jinja2-Dj5U8XJE.js").then(e=>e.j),__vite__mapDeps([137,3,2,4]),import.meta.url);case"jsx":return Ut(()=>import("./jsx-BwUrY5A-.js").then(e=>e.j),__vite__mapDeps([138,3,2,4]),import.meta.url);case"julia":return Ut(()=>import("./julia-BdOz7tyP.js").then(e=>e.j),__vite__mapDeps([139,3,2,4]),import.meta.url);case"livescript":return Ut(()=>import("./livescript-DUO8XhIc.js").then(e=>e.l),__vite__mapDeps([140,3,2,4]),import.meta.url);case"lua":return Ut(()=>import("./lua-C-evgwTS.js").then(e=>e.l),__vite__mapDeps([141,3,2,4]),import.meta.url);case"markdown":return Ut(()=>Promise.resolve().then(()=>qLe),void 0,import.meta.url);case"mathematica":return Ut(()=>import("./mathematica-CWDn1mJG.js").then(e=>e.m),__vite__mapDeps([142,3,2,4]),import.meta.url);case"mbox":return Ut(()=>import("./mbox-C-KWtko_.js").then(e=>e.m),__vite__mapDeps([143,3,2,4]),import.meta.url);case"mirc":return Ut(()=>import("./mirc-O_U6z1Ze.js").then(e=>e.m),__vite__mapDeps([144,3,2,4]),import.meta.url);case"mllike":return Ut(()=>import("./mllike-GuF4Hbco.js").then(e=>e.m),__vite__mapDeps([145,3,2,4]),import.meta.url);case"modelica":return Ut(()=>import("./modelica-C6OOOzs4.js").then(e=>e.m),__vite__mapDeps([146,3,2,4]),import.meta.url);case"mscgen":return Ut(()=>import("./mscgen-BSvtX6w7.js").then(e=>e.m),__vite__mapDeps([147,3,2,4]),import.meta.url);case"mumps":return Ut(()=>import("./mumps-DpG4pzCr.js").then(e=>e.m),__vite__mapDeps([148,3,2,4]),import.meta.url);case"nginx":return Ut(()=>import("./nginx-bmgEwgug.js").then(e=>e.n),__vite__mapDeps([149,3,2,4]),import.meta.url);case"nsis":return Ut(()=>import("./nsis-Btuj81ca.js").then(e=>e.n),__vite__mapDeps([150,3,2,4]),import.meta.url);case"ntriples":return Ut(()=>import("./ntriples-ChsUjdhA.js").then(e=>e.n),__vite__mapDeps([151,3,2,4]),import.meta.url);case"octave":return Ut(()=>import("./octave-WXc4FmLK.js").then(e=>e.o),__vite__mapDeps([152,3,2,4]),import.meta.url);case"oz":return Ut(()=>import("./oz-C4bDyBA_.js").then(e=>e.o),__vite__mapDeps([153,3,2,4]),import.meta.url);case"pascal":return Ut(()=>import("./pascal-CGPZOXQ7.js").then(e=>e.p),__vite__mapDeps([154,3,2,4]),import.meta.url);case"pegjs":return Ut(()=>import("./pegjs-D7VdTJ4q.js").then(e=>e.p),__vite__mapDeps([155,3,2,4]),import.meta.url);case"perl":return Ut(()=>import("./perl-Cwk0cuP4.js").then(e=>e.p),__vite__mapDeps([156,3,2,4]),import.meta.url);case"php":return Ut(()=>import("./php-CLwoLBZL.js").then(e=>e.p),__vite__mapDeps([157,3,2,4,107,101,94]),import.meta.url);case"pig":return Ut(()=>import("./pig-DxoFc39L.js").then(e=>e.p),__vite__mapDeps([158,3,2,4]),import.meta.url);case"powershell":return Ut(()=>import("./powershell-DU-Jx5im.js").then(e=>e.p),__vite__mapDeps([159,3,2,4]),import.meta.url);case"properties":return Ut(()=>import("./properties-CSMtZhhW.js").then(e=>e.p),__vite__mapDeps([160,3,2,4]),import.meta.url);case"protobuf":return Ut(()=>import("./protobuf-u2oGq1Hf.js").then(e=>e.p),__vite__mapDeps([161,3,2,4]),import.meta.url);case"pug":return Ut(()=>import("./pug-D4pU9kBN.js").then(e=>e.p),__vite__mapDeps([162,3,2,4,101,107]),import.meta.url);case"puppet":return Ut(()=>import("./puppet-DTQdmefr.js").then(e=>e.p),__vite__mapDeps([163,3,2,4]),import.meta.url);case"python":return Ut(()=>import("./python-DMlhfknp.js").then(e=>e.p),__vite__mapDeps([164,3,2,4]),import.meta.url);case"q":return Ut(()=>import("./q-o5dqtt7i.js").then(e=>e.q),__vite__mapDeps([165,3,2,4]),import.meta.url);case"r":return Ut(()=>import("./r-CEksNeRX.js").then(e=>e.r),__vite__mapDeps([166,3,2,4]),import.meta.url);case"rpm":return Ut(()=>import("./rpm-Dhotm2bl.js").then(e=>e.r),__vite__mapDeps([167,3,2,4]),import.meta.url);case"rst":return Ut(()=>import("./rst-BK3-ns20.js").then(e=>e.r),__vite__mapDeps([168,3,2,4,164,169,108]),import.meta.url);case"ruby":return Ut(()=>import("./ruby-D8xz1hHO.js").then(e=>e.r),__vite__mapDeps([170,3,2,4,127]),import.meta.url);case"rust":return Ut(()=>import("./rust-CJc53FRo.js").then(e=>e.r),__vite__mapDeps([171,3,2,4]),import.meta.url);case"sas":return Ut(()=>import("./sas-DCopKMef.js").then(e=>e.s),__vite__mapDeps([172,3,2,4]),import.meta.url);case"sass":return Ut(()=>import("./sass-pjAHbO8Y.js").then(e=>e.s),__vite__mapDeps([173,3,2,4,101]),import.meta.url);case"scheme":return Ut(()=>import("./scheme-BjB1hYjj.js").then(e=>e.s),__vite__mapDeps([174,3,2,4]),import.meta.url);case"shell":return Ut(()=>import("./shell-meGWBvg2.js").then(e=>e.s),__vite__mapDeps([175,3,2,4]),import.meta.url);case"sieve":return Ut(()=>import("./sieve-BtARcF9e.js").then(e=>e.s),__vite__mapDeps([176,3,2,4]),import.meta.url);case"slim":return Ut(()=>import("./slim-C9HoCfHw.js").then(e=>e.s),__vite__mapDeps([177,3,2,4,107,101,127]),import.meta.url);case"smalltalk":return Ut(()=>import("./smalltalk-Rjd4UfLc.js").then(e=>e.s),__vite__mapDeps([178,3,2,4]),import.meta.url);case"smarty":return Ut(()=>import("./smarty-CXbefUoN.js").then(e=>e.s),__vite__mapDeps([179,3,2,4]),import.meta.url);case"solr":return Ut(()=>import("./solr-BMBbyxnz.js").then(e=>e.s),__vite__mapDeps([180,3,2,4]),import.meta.url);case"soy":return Ut(()=>import("./soy-BBeK__ag.js").then(e=>e.s),__vite__mapDeps([181,3,2,4,107,101]),import.meta.url);case"sparql":return Ut(()=>import("./sparql-BLgj8dOj.js").then(e=>e.s),__vite__mapDeps([182,3,2,4]),import.meta.url);case"spreadsheet":return Ut(()=>import("./spreadsheet-Bx82A7Jn.js").then(e=>e.s),__vite__mapDeps([183,3,2,4]),import.meta.url);case"sql":return Ut(()=>import("./sql-CR9XFSPH.js").then(e=>e.s),__vite__mapDeps([184,3,2,4]),import.meta.url);case"stex":return Ut(()=>import("./stex-BuxSbX0V.js").then(e=>e.s),__vite__mapDeps([185,3,2,4,169]),import.meta.url);case"stylus":return Ut(()=>import("./stylus-BC0t7lM8.js").then(e=>e.s),__vite__mapDeps([186,3,2,4]),import.meta.url);case"swift":return Ut(()=>import("./swift-B5l1SXg-.js").then(e=>e.s),__vite__mapDeps([187,3,2,4]),import.meta.url);case"tcl":return Ut(()=>import("./tcl-CA18lTOx.js").then(e=>e.t),__vite__mapDeps([188,3,2,4]),import.meta.url);case"textile":return Ut(()=>import("./textile-c4vxSLTi.js").then(e=>e.t),__vite__mapDeps([189,3,2,4]),import.meta.url);case"tiddlywiki":return Ut(()=>import("./tiddlywiki-BkbmYwuQ.js").then(e=>e.t),__vite__mapDeps([190,3,2,4]),import.meta.url);case"tiki":return Ut(()=>import("./tiki-BVTpAbH7.js").then(e=>e.t),__vite__mapDeps([191,3,2,4]),import.meta.url);case"toml":return Ut(()=>import("./toml-B4C1ZkMu.js").then(e=>e.t),__vite__mapDeps([192,3,2,4]),import.meta.url);case"tornado":return Ut(()=>import("./tornado-B_w0RtKR.js").then(e=>e.t),__vite__mapDeps([193,3,2,4,107,101,108]),import.meta.url);case"troff":return Ut(()=>import("./troff-CR1kkxrN.js").then(e=>e.t),__vite__mapDeps([194,3,2,4]),import.meta.url);case"ttcn":return Ut(()=>import("./ttcn-DAKYr4hx.js").then(e=>e.t),__vite__mapDeps([195,3,2,4]),import.meta.url);case"ttcn-cfg":return Ut(()=>import("./ttcn-cfg-Cv04FI1h.js").then(e=>e.t),__vite__mapDeps([196,3,2,4]),import.meta.url);case"turtle":return Ut(()=>import("./turtle-Bym0JfLs.js").then(e=>e.t),__vite__mapDeps([197,3,2,4]),import.meta.url);case"twig":return Ut(()=>import("./twig-3nXglmHb.js").then(e=>e.t),__vite__mapDeps([198,3,2,4,129]),import.meta.url);case"vb":return Ut(()=>import("./vb-Cs81_I9S.js").then(e=>e.v),__vite__mapDeps([199,3,2,4]),import.meta.url);case"vbscript":return Ut(()=>import("./vbscript-BDIq1EMB.js").then(e=>e.v),__vite__mapDeps([200,3,2,4]),import.meta.url);case"velocity":return Ut(()=>import("./velocity-uI8mK2mc.js").then(e=>e.v),__vite__mapDeps([201,3,2,4]),import.meta.url);case"verilog":return Ut(()=>import("./verilog-CvlyXet6.js").then(e=>e.v),__vite__mapDeps([202,3,2,4]),import.meta.url);case"vhdl":return Ut(()=>import("./vhdl-C2J3CSdm.js").then(e=>e.v),__vite__mapDeps([203,3,2,4]),import.meta.url);case"vue":return Ut(()=>import("./vue-BYXaNPR-.js").then(e=>e.v),__vite__mapDeps([204,3,2,4,108,98,101,173,186,162,107,128,129]),import.meta.url);case"wast":return Ut(()=>import("./wast-D9nW4KfC.js").then(e=>e.w),__vite__mapDeps([205,3,2,4]),import.meta.url);case"webidl":return Ut(()=>import("./webidl-0Ol_z4Jh.js").then(e=>e.w),__vite__mapDeps([206,3,2,4]),import.meta.url);case"xml":return Ut(()=>import("./xml-Dhz5NEpG.js").then(e=>e.x),__vite__mapDeps([207,3,2,4]),import.meta.url);case"xquery":return Ut(()=>import("./xquery-FbxXa6W-.js").then(e=>e.x),__vite__mapDeps([208,3,2,4]),import.meta.url);case"yacas":return Ut(()=>import("./yacas-Dl0oVICc.js").then(e=>e.y),__vite__mapDeps([209,3,2,4]),import.meta.url);case"yaml":return Ut(()=>import("./yaml-CGKst7N5.js").then(e=>e.y),__vite__mapDeps([210,3,2,4]),import.meta.url);case"yaml-frontmatter":return Ut(()=>import("./yaml-frontmatter-DrDC7Fdo.js").then(e=>e.y),__vite__mapDeps([211,3,2,4,210]),import.meta.url);case"z80":return Ut(()=>import("./z80-BruEuo1V.js").then(e=>e.z),__vite__mapDeps([212,3,2,4]),import.meta.url);default:return Promise.resolve()}}(function(n,e){(function(t){t(Pd())})(function(t){var i={},o=/[^\s\u00a0]/,a=t.Pos,r=t.cmpPos;function l(d){var g=d.search(o);return g==-1?0:g}t.commands.toggleComment=function(d){d.toggleComment()},t.defineExtension("toggleComment",function(d){d||(d=i);for(var g=this,m=1/0,_=this.listSelections(),x=null,S=_.length-1;S>=0;S--){var A=_[S].from(),F=_[S].to();A.line>=m||(F.line>=m&&(F=a(m,0)),m=A.line,x==null?g.uncomment(A,F,d)?x="un":(g.lineComment(A,F,d),x="line"):x=="un"?g.uncomment(A,F,d):g.lineComment(A,F,d))}});function s(d,g,m){return/\bstring\b/.test(d.getTokenTypeAt(a(g.line,0)))&&!/^[\'\"\`]/.test(m)}function u(d,g){var m=d.getMode();return m.useInnerComments===!1||!m.innerMode?m:d.getModeAt(g)}t.defineExtension("lineComment",function(d,g,m){m||(m=i);var _=this,x=u(_,d),S=_.getLine(d.line);if(!(S==null||s(_,d,S))){var A=m.lineComment||x.lineComment;if(!A){(m.blockCommentStart||x.blockCommentStart)&&(m.fullLines=!0,_.blockComment(d,g,m));return}var F=Math.min(g.ch!=0||g.line==d.line?g.line+1:g.line,_.lastLine()+1),C=m.padding==null?" ":m.padding,L=m.commentBlankLines||d.line==g.line;_.operation(function(){if(m.indent){for(var w=null,$=d.line;$<F;++$){var B=_.getLine($),V=B.search(o)===-1?B:B.slice(0,l(B));(w==null||w.length>V.length)&&(w=V)}for(var $=d.line;$<F;++$){var B=_.getLine($),W=w.length;!L&&!o.test(B)||(B.slice(0,W)!=w&&(W=l(B)),_.replaceRange(w+A+C,a($,0),a($,W)))}}else for(var $=d.line;$<F;++$)(L||o.test(_.getLine($)))&&_.replaceRange(A+C,a($,0))})}}),t.defineExtension("blockComment",function(d,g,m){m||(m=i);var _=this,x=u(_,d),S=m.blockCommentStart||x.blockCommentStart,A=m.blockCommentEnd||x.blockCommentEnd;if(!S||!A){(m.lineComment||x.lineComment)&&m.fullLines!=!1&&_.lineComment(d,g,m);return}if(!/\bcomment\b/.test(_.getTokenTypeAt(a(d.line,0)))){var F=Math.min(g.line,_.lastLine());F!=d.line&&g.ch==0&&o.test(_.getLine(F))&&--F;var C=m.padding==null?" ":m.padding;d.line>F||_.operation(function(){if(m.fullLines!=!1){var L=o.test(_.getLine(F));_.replaceRange(C+A,a(F)),_.replaceRange(S+C,a(d.line,0));var w=m.blockCommentLead||x.blockCommentLead;if(w!=null)for(var $=d.line+1;$<=F;++$)($!=F||L)&&_.replaceRange(w+C,a($,0))}else{var B=r(_.getCursor("to"),g)==0,V=!_.somethingSelected();_.replaceRange(A,g),B&&_.setSelection(V?g:_.getCursor("from"),g),_.replaceRange(S,d)}})}}),t.defineExtension("uncomment",function(d,g,m){m||(m=i);var _=this,x=u(_,d),S=Math.min(g.ch!=0||g.line==d.line?g.line:g.line-1,_.lastLine()),A=Math.min(d.line,S),F=m.lineComment||x.lineComment,C=[],L=m.padding==null?" ":m.padding,w;e:{if(!F)break e;for(var $=A;$<=S;++$){var B=_.getLine($),V=B.indexOf(F);if(V>-1&&!/comment/.test(_.getTokenTypeAt(a($,V+1)))&&(V=-1),V==-1&&o.test(B)||V>-1&&o.test(B.slice(0,V)))break e;C.push(B)}if(_.operation(function(){for(var je=A;je<=S;++je){var Ue=C[je-A],Ee=Ue.indexOf(F),we=Ee+F.length;Ee<0||(Ue.slice(we,we+L.length)==L&&(we+=L.length),w=!0,_.replaceRange("",a(je,Ee),a(je,we)))}}),w)return!0}var W=m.blockCommentStart||x.blockCommentStart,J=m.blockCommentEnd||x.blockCommentEnd;if(!W||!J)return!1;var oe=m.blockCommentLead||x.blockCommentLead,ue=_.getLine(A),be=ue.indexOf(W);if(be==-1)return!1;var ie=S==A?ue:_.getLine(S),fe=ie.indexOf(J,S==A?be+W.length:0),Y=a(A,be+1),re=a(S,fe+1);if(fe==-1||!/comment/.test(_.getTokenTypeAt(Y))||!/comment/.test(_.getTokenTypeAt(re))||_.getRange(Y,re,`
604
604
  `).indexOf(J)>-1)return!1;var ge=ue.lastIndexOf(W,d.ch),he=ge==-1?-1:ue.slice(0,d.ch).indexOf(J,ge+W.length);if(ge!=-1&&he!=-1&&he+J.length!=d.ch)return!1;he=ie.indexOf(J,g.ch);var Ie=ie.slice(g.ch).lastIndexOf(W,he-g.ch);return ge=he==-1||Ie==-1?-1:g.ch+Ie,he!=-1&&ge!=-1&&ge!=g.ch?!1:(_.operation(function(){_.replaceRange("",a(S,fe-(L&&ie.slice(fe-L.length,fe)==L?L.length:0)),a(S,fe+J.length));var je=be+W.length;if(L&&ue.slice(je,je+L.length)==L&&(je+=L.length),_.replaceRange("",a(A,be),a(A,je)),oe)for(var Ue=A+1;Ue<=S;++Ue){var Ee=_.getLine(Ue),we=Ee.indexOf(oe);if(!(we==-1||o.test(Ee.slice(0,we)))){var lt=we+oe.length;L&&Ee.slice(lt,lt+L.length)==L&&(lt+=L.length),_.replaceRange("",a(Ue,we),a(Ue,lt))}}}),!0)})})})();var yLe={exports:{}};(function(n,e){(function(t){t(Pd())})(function(t){function i(a,r,l){var s=a.getWrapperElement(),u;return u=s.appendChild(document.createElement("div")),l?u.className="CodeMirror-dialog CodeMirror-dialog-bottom":u.className="CodeMirror-dialog CodeMirror-dialog-top",typeof r=="string"?u.innerHTML=r:u.appendChild(r),t.addClass(s,"dialog-opened"),u}function o(a,r){a.state.currentNotificationClose&&a.state.currentNotificationClose(),a.state.currentNotificationClose=r}t.defineExtension("openDialog",function(a,r,l){l||(l={}),o(this,null);var s=i(this,a,l.bottom),u=!1,d=this;function g(x){if(typeof x=="string")m.value=x;else{if(u)return;u=!0,t.rmClass(s.parentNode,"dialog-opened"),s.parentNode.removeChild(s),d.focus(),l.onClose&&l.onClose(s)}}var m=s.getElementsByTagName("input")[0],_;return m?(m.focus(),l.value&&(m.value=l.value,l.selectValueOnOpen!==!1&&m.select()),l.onInput&&t.on(m,"input",function(x){l.onInput(x,m.value,g)}),l.onKeyUp&&t.on(m,"keyup",function(x){l.onKeyUp(x,m.value,g)}),t.on(m,"keydown",function(x){l&&l.onKeyDown&&l.onKeyDown(x,m.value,g)||((x.keyCode==27||l.closeOnEnter!==!1&&x.keyCode==13)&&(m.blur(),t.e_stop(x),g()),x.keyCode==13&&r(m.value,x))}),l.closeOnBlur!==!1&&t.on(s,"focusout",function(x){x.relatedTarget!==null&&g()})):(_=s.getElementsByTagName("button")[0])&&(t.on(_,"click",function(){g(),d.focus()}),l.closeOnBlur!==!1&&t.on(_,"blur",g),_.focus()),g}),t.defineExtension("openConfirm",function(a,r,l){o(this,null);var s=i(this,a,l&&l.bottom),u=s.getElementsByTagName("button"),d=!1,g=this,m=1;function _(){d||(d=!0,t.rmClass(s.parentNode,"dialog-opened"),s.parentNode.removeChild(s),g.focus())}u[0].focus();for(var x=0;x<u.length;++x){var S=u[x];(function(A){t.on(S,"click",function(F){t.e_preventDefault(F),_(),A&&A(g)})})(r[x]),t.on(S,"blur",function(){--m,setTimeout(function(){m<=0&&_()},200)}),t.on(S,"focus",function(){++m})}}),t.defineExtension("openNotification",function(a,r){o(this,g);var l=i(this,a,r&&r.bottom),s=!1,u,d=r&&typeof r.duration<"u"?r.duration:5e3;function g(){s||(s=!0,clearTimeout(u),t.rmClass(l.parentNode,"dialog-opened"),l.parentNode.removeChild(l))}return t.on(l,"click",function(m){t.e_preventDefault(m),g()}),d&&(u=setTimeout(g,d)),g})})})();var _Le=yLe.exports;(function(n,e){(function(t){t(Pd())})(function(t){t.defineOption("placeholder","",function(u,d,g){var m=g&&g!=t.Init;if(d&&!m)u.on("blur",r),u.on("change",l),u.on("swapDoc",l),t.on(u.getInputField(),"compositionupdate",u.state.placeholderCompose=function(){a(u)}),l(u);else if(!d&&m){u.off("blur",r),u.off("change",l),u.off("swapDoc",l),t.off(u.getInputField(),"compositionupdate",u.state.placeholderCompose),i(u);var _=u.getWrapperElement();_.className=_.className.replace(" CodeMirror-empty","")}d&&!u.hasFocus()&&r(u)});function i(u){u.state.placeholder&&(u.state.placeholder.parentNode.removeChild(u.state.placeholder),u.state.placeholder=null)}function o(u){i(u);var d=u.state.placeholder=document.createElement("pre");d.style.cssText="height: 0; overflow: visible",d.style.direction=u.getOption("direction"),d.className="CodeMirror-placeholder CodeMirror-line-like";var g=u.getOption("placeholder");typeof g=="string"&&(g=document.createTextNode(g)),d.appendChild(g),u.display.lineSpace.insertBefore(d,u.display.lineSpace.firstChild)}function a(u){setTimeout(function(){var d=!1;if(u.lineCount()==1){var g=u.getInputField();d=g.nodeName=="TEXTAREA"?!u.getLine(0).length:!/[^\u200b]/.test(g.querySelector(".CodeMirror-line").textContent)}d?o(u):i(u)},20)}function r(u){s(u)&&o(u)}function l(u){var d=u.getWrapperElement(),g=s(u);d.className=d.className.replace(" CodeMirror-empty","")+(g?" CodeMirror-empty":""),g?o(u):i(u)}function s(u){return u.lineCount()===1&&u.getLine(0)===""}})})();(function(n,e){(function(t){t(Pd())})(function(t){var i="CodeMirror-lint-markers",o="CodeMirror-lint-line-";function a(V,W,J){var oe=document.createElement("div");oe.className="CodeMirror-lint-tooltip cm-s-"+V.options.theme,oe.appendChild(J.cloneNode(!0)),V.state.lint.options.selfContain?V.getWrapperElement().appendChild(oe):document.body.appendChild(oe);function ue(be){if(!oe.parentNode)return t.off(document,"mousemove",ue);var ie=Math.max(0,be.clientY-oe.offsetHeight-5),fe=Math.max(0,Math.min(be.clientX+5,oe.ownerDocument.defaultView.innerWidth-oe.offsetWidth));oe.style.top=ie+"px",oe.style.left=fe+"px"}return t.on(document,"mousemove",ue),ue(W),oe.style.opacity!=null&&(oe.style.opacity=1),oe}function r(V){V.parentNode&&V.parentNode.removeChild(V)}function l(V){V.parentNode&&(V.style.opacity==null&&r(V),V.style.opacity=0,setTimeout(function(){r(V)},600))}function s(V,W,J,oe){var ue=a(V,W,J);function be(){t.off(oe,"mouseout",be),ue&&(l(ue),ue=null)}var ie=setInterval(function(){if(ue)for(var fe=oe;;fe=fe.parentNode){if(fe&&fe.nodeType==11&&(fe=fe.host),fe==document.body)return;if(!fe){be();break}}if(!ue)return clearInterval(ie)},400);t.on(oe,"mouseout",be)}function u(V,W,J){this.marked=[],W instanceof Function&&(W={getAnnotations:W}),(!W||W===!0)&&(W={}),this.options={},this.linterOptions=W.options||{};for(var oe in d)this.options[oe]=d[oe];for(var oe in W)d.hasOwnProperty(oe)?W[oe]!=null&&(this.options[oe]=W[oe]):W.options||(this.linterOptions[oe]=W[oe]);this.timeout=null,this.hasGutter=J,this.onMouseOver=function(ue){B(V,ue)},this.waitingFor=0}var d={highlightLines:!1,tooltips:!0,delay:500,lintOnChange:!0,getAnnotations:null,async:!1,selfContain:null,formatAnnotation:null,onUpdateLinting:null};function g(V){var W=V.state.lint;W.hasGutter&&V.clearGutter(i),W.options.highlightLines&&m(V);for(var J=0;J<W.marked.length;++J)W.marked[J].clear();W.marked.length=0}function m(V){V.eachLine(function(W){var J=W.wrapClass&&/\bCodeMirror-lint-line-\w+\b/.exec(W.wrapClass);J&&V.removeLineClass(W,"wrap",J[0])})}function _(V,W,J,oe,ue){var be=document.createElement("div"),ie=be;return be.className="CodeMirror-lint-marker CodeMirror-lint-marker-"+J,oe&&(ie=be.appendChild(document.createElement("div")),ie.className="CodeMirror-lint-marker CodeMirror-lint-marker-multiple"),ue!=!1&&t.on(ie,"mouseover",function(fe){s(V,fe,W,ie)}),be}function x(V,W){return V=="error"?V:W}function S(V){for(var W=[],J=0;J<V.length;++J){var oe=V[J],ue=oe.from.line;(W[ue]||(W[ue]=[])).push(oe)}return W}function A(V){var W=V.severity;W||(W="error");var J=document.createElement("div");return J.className="CodeMirror-lint-message CodeMirror-lint-message-"+W,typeof V.messageHTML<"u"?J.innerHTML=V.messageHTML:J.appendChild(document.createTextNode(V.message)),J}function F(V,W){var J=V.state.lint,oe=++J.waitingFor;function ue(){oe=-1,V.off("change",ue)}V.on("change",ue),W(V.getValue(),function(be,ie){V.off("change",ue),J.waitingFor==oe&&(ie&&be instanceof t&&(be=ie),V.operation(function(){L(V,be)}))},J.linterOptions,V)}function C(V){var W=V.state.lint;if(W){var J=W.options,oe=J.getAnnotations||V.getHelper(t.Pos(0,0),"lint");if(oe)if(J.async||oe.async)F(V,oe);else{var ue=oe(V.getValue(),W.linterOptions,V);if(!ue)return;ue.then?ue.then(function(be){V.operation(function(){L(V,be)})}):V.operation(function(){L(V,ue)})}}}function L(V,W){var J=V.state.lint;if(J){var oe=J.options;g(V);for(var ue=S(W),be=0;be<ue.length;++be){var ie=ue[be];if(ie){for(var fe=null,Y=J.hasGutter&&document.createDocumentFragment(),re=0;re<ie.length;++re){var ge=ie[re],he=ge.severity;he||(he="error"),fe=x(fe,he),oe.formatAnnotation&&(ge=oe.formatAnnotation(ge)),J.hasGutter&&Y.appendChild(A(ge)),ge.to&&J.marked.push(V.markText(ge.from,ge.to,{className:"CodeMirror-lint-mark CodeMirror-lint-mark-"+he,__annotation:ge}))}J.hasGutter&&V.setGutterMarker(be,i,_(V,Y,fe,ie.length>1,oe.tooltips)),oe.highlightLines&&V.addLineClass(be,"wrap",o+fe)}}oe.onUpdateLinting&&oe.onUpdateLinting(W,ue,V)}}function w(V){var W=V.state.lint;W&&(clearTimeout(W.timeout),W.timeout=setTimeout(function(){C(V)},W.options.delay))}function $(V,W,J){for(var oe=J.target||J.srcElement,ue=document.createDocumentFragment(),be=0;be<W.length;be++){var ie=W[be];ue.appendChild(A(ie))}s(V,J,ue,oe)}function B(V,W){var J=W.target||W.srcElement;if(/\bCodeMirror-lint-mark-/.test(J.className)){for(var oe=J.getBoundingClientRect(),ue=(oe.left+oe.right)/2,be=(oe.top+oe.bottom)/2,ie=V.findMarksAt(V.coordsChar({left:ue,top:be},"client")),fe=[],Y=0;Y<ie.length;++Y){var re=ie[Y].__annotation;re&&fe.push(re)}fe.length&&$(V,fe,W)}}t.defineOption("lint",!1,function(V,W,J){if(J&&J!=t.Init&&(g(V),V.state.lint.options.lintOnChange!==!1&&V.off("change",w),t.off(V.getWrapperElement(),"mouseover",V.state.lint.onMouseOver),clearTimeout(V.state.lint.timeout),delete V.state.lint),W){for(var oe=V.getOption("gutters"),ue=!1,be=0;be<oe.length;++be)oe[be]==i&&(ue=!0);var ie=V.state.lint=new u(V,W,ue);ie.options.lintOnChange&&V.on("change",w),ie.options.tooltips!=!1&&ie.options.tooltips!="gutter"&&t.on(V.getWrapperElement(),"mouseover",ie.onMouseOver),C(V)}}),t.defineExtension("performLint",function(){C(this)})})})();var bLe={exports:{}};(function(n,e){(function(t){t(Pd())})(function(t){t.defineExtension("annotateScrollbar",function(o){return typeof o=="string"&&(o={className:o}),new i(this,o)}),t.defineOption("scrollButtonHeight",0);function i(o,a){this.cm=o,this.options=a,this.buttonHeight=a.scrollButtonHeight||o.getOption("scrollButtonHeight"),this.annotations=[],this.doRedraw=this.doUpdate=null,this.div=o.getWrapperElement().appendChild(document.createElement("div")),this.div.style.cssText="position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none",this.computeScale();function r(s){clearTimeout(l.doRedraw),l.doRedraw=setTimeout(function(){l.redraw()},s)}var l=this;o.on("refresh",this.resizeHandler=function(){clearTimeout(l.doUpdate),l.doUpdate=setTimeout(function(){l.computeScale()&&r(20)},100)}),o.on("markerAdded",this.resizeHandler),o.on("markerCleared",this.resizeHandler),a.listenForChanges!==!1&&o.on("changes",this.changeHandler=function(){r(250)})}i.prototype.computeScale=function(){var o=this.cm,a=(o.getWrapperElement().clientHeight-o.display.barHeight-this.buttonHeight*2)/o.getScrollerElement().scrollHeight;if(a!=this.hScale)return this.hScale=a,!0},i.prototype.update=function(o){this.annotations=o,this.redraw()},i.prototype.redraw=function(o){o!==!1&&this.computeScale();var a=this.cm,r=this.hScale,l=document.createDocumentFragment(),s=this.annotations,u=a.getOption("lineWrapping"),d=u&&a.defaultTextHeight()*1.5,g=null,m=null;function _(B,V){if(g!=B.line){g=B.line,m=a.getLineHandle(B.line);var W=a.getLineHandleVisualStart(m);W!=m&&(g=a.getLineNumber(W),m=W)}if(m.widgets&&m.widgets.length||u&&m.height>d)return a.charCoords(B,"local")[V?"top":"bottom"];var J=a.heightAtLine(m,"local");return J+(V?0:m.height)}var x=a.lastLine();if(a.display.barWidth)for(var S=0,A;S<s.length;S++){var F=s[S];if(!(F.to.line>x)){for(var C=A||_(F.from,!0)*r,L=_(F.to,!1)*r;S<s.length-1&&!(s[S+1].to.line>x||(A=_(s[S+1].from,!0)*r,A>L+.9));)F=s[++S],L=_(F.to,!1)*r;if(L!=C){var w=Math.max(L-C,3),$=l.appendChild(document.createElement("div"));$.style.cssText="position: absolute; right: 0px; width: "+Math.max(a.display.barWidth-1,2)+"px; top: "+(C+this.buttonHeight)+"px; height: "+w+"px",$.className=this.options.className,F.id&&$.setAttribute("annotation-id",F.id)}}}this.div.textContent="",this.div.appendChild(l)},i.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler),this.cm.off("markerAdded",this.resizeHandler),this.cm.off("markerCleared",this.resizeHandler),this.changeHandler&&this.cm.off("changes",this.changeHandler),this.div.parentNode.removeChild(this.div)}})})();var xLe=bLe.exports,wLe={exports:{}},_M={exports:{}},bM;function o9(){return bM||(bM=1,function(n,e){(function(t){t(Pd())})(function(t){var i=t.Pos;function o(C){var L=C.flags;return L??(C.ignoreCase?"i":"")+(C.global?"g":"")+(C.multiline?"m":"")}function a(C,L){for(var w=o(C),$=w,B=0;B<L.length;B++)$.indexOf(L.charAt(B))==-1&&($+=L.charAt(B));return w==$?C:new RegExp(C.source,$)}function r(C){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(C.source)}function l(C,L,w){L=a(L,"g");for(var $=w.line,B=w.ch,V=C.lastLine();$<=V;$++,B=0){L.lastIndex=B;var W=C.getLine($),J=L.exec(W);if(J)return{from:i($,J.index),to:i($,J.index+J[0].length),match:J}}}function s(C,L,w){if(!r(L))return l(C,L,w);L=a(L,"gm");for(var $,B=1,V=w.line,W=C.lastLine();V<=W;){for(var J=0;J<B&&!(V>W);J++){var oe=C.getLine(V++);$=$==null?oe:$+`
605
605
  `+oe}B=B*2,L.lastIndex=w.ch;var ue=L.exec($);if(ue){var be=$.slice(0,ue.index).split(`
606
606
  `),ie=ue[0].split(`
@@ -613,7 +613,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
613
613
  `+re,o(w.lastLine()),null,"+swapLine"):w.replaceRange(re+`
614
614
  `,o(Y,0),null,"+swapLine")}w.setSelections(W),w.scrollIntoView()})},i.swapLineDown=function(w){if(w.isReadOnly())return t.Pass;for(var $=w.listSelections(),B=[],V=w.lastLine()+1,W=$.length-1;W>=0;W--){var J=$[W],oe=J.to().line+1,ue=J.from().line;J.to().ch==0&&!J.empty()&&oe--,oe<V?B.push(oe,ue):B.length&&(B[B.length-1]=ue),V=ue}w.operation(function(){for(var be=B.length-2;be>=0;be-=2){var ie=B[be],fe=B[be+1],Y=w.getLine(ie);ie==w.lastLine()?w.replaceRange("",o(ie-1),o(ie),"+swapLine"):w.replaceRange("",o(ie,0),o(ie+1,0),"+swapLine"),w.replaceRange(Y+`
615
615
  `,o(fe,0),null,"+swapLine")}w.scrollIntoView()})},i.toggleCommentIndented=function(w){w.toggleComment({indent:!0})},i.joinLines=function(w){for(var $=w.listSelections(),B=[],V=0;V<$.length;V++){for(var W=$[V],J=W.from(),oe=J.line,ue=W.to().line;V<$.length-1&&$[V+1].from().line==ue;)ue=$[++V].to().line;B.push({start:oe,end:ue,anchor:!W.empty()&&J})}w.operation(function(){for(var be=0,ie=[],fe=0;fe<B.length;fe++){for(var Y=B[fe],re=Y.anchor&&o(Y.anchor.line-be,Y.anchor.ch),ge,he=Y.start;he<=Y.end;he++){var Ie=he-be;he==Y.end&&(ge=o(Ie,w.getLine(Ie).length+1)),Ie<w.lastLine()&&(w.replaceRange(" ",o(Ie),o(Ie+1,/^\s*/.exec(w.getLine(Ie+1))[0].length)),++be)}ie.push({anchor:re||ge,head:ge})}w.setSelections(ie,0)})},i.duplicateLine=function(w){w.operation(function(){for(var $=w.listSelections().length,B=0;B<$;B++){var V=w.listSelections()[B];V.empty()?w.replaceRange(w.getLine(V.head.line)+`
616
- `,o(V.head.line,0)):w.replaceRange(w.getRange(V.from(),V.to()),V.from())}w.scrollIntoView()})};function x(w,$,B){if(w.isReadOnly())return t.Pass;for(var V=w.listSelections(),W=[],J,oe=0;oe<V.length;oe++){var ue=V[oe];if(!ue.empty()){for(var be=ue.from().line,ie=ue.to().line;oe<V.length-1&&V[oe+1].from().line==ie;)ie=V[++oe].to().line;V[oe].to().ch||ie--,W.push(be,ie)}}W.length?J=!0:W.push(w.firstLine(),w.lastLine()),w.operation(function(){for(var fe=[],Y=0;Y<W.length;Y+=2){var re=W[Y],ge=W[Y+1],he=o(re,0),Ie=o(ge),je=w.getRange(he,Ie,!1);$?je.sort(function(Ue,Ee){return Ue<Ee?-B:Ue==Ee?0:B}):je.sort(function(Ue,Ee){var we=Ue.toUpperCase(),lt=Ee.toUpperCase();return we!=lt&&(Ue=we,Ee=lt),Ue<Ee?-B:Ue==Ee?0:B}),w.replaceRange(je,he,Ie),J&&fe.push({anchor:he,head:o(ge+1,0)})}J&&w.setSelections(fe,0)})}i.sortLines=function(w){x(w,!0,1)},i.reverseSortLines=function(w){x(w,!0,-1)},i.sortLinesInsensitive=function(w){x(w,!1,1)},i.reverseSortLinesInsensitive=function(w){x(w,!1,-1)},i.nextBookmark=function(w){var $=w.state.sublimeBookmarks;if($)for(;$.length;){var B=$.shift(),V=B.find();if(V)return $.push(B),w.setSelection(V.from,V.to)}},i.prevBookmark=function(w){var $=w.state.sublimeBookmarks;if($)for(;$.length;){$.unshift($.pop());var B=$[$.length-1].find();if(!B)$.pop();else return w.setSelection(B.from,B.to)}},i.toggleBookmark=function(w){for(var $=w.listSelections(),B=w.state.sublimeBookmarks||(w.state.sublimeBookmarks=[]),V=0;V<$.length;V++){for(var W=$[V].from(),J=$[V].to(),oe=$[V].empty()?w.findMarksAt(W):w.findMarks(W,J),ue=0;ue<oe.length;ue++)if(oe[ue].sublimeBookmark){oe[ue].clear();for(var be=0;be<B.length;be++)B[be]==oe[ue]&&B.splice(be--,1);break}ue==oe.length&&B.push(w.markText(W,J,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},i.clearBookmarks=function(w){var $=w.state.sublimeBookmarks;if($)for(var B=0;B<$.length;B++)$[B].clear();$.length=0},i.selectBookmarks=function(w){var $=w.state.sublimeBookmarks,B=[];if($)for(var V=0;V<$.length;V++){var W=$[V].find();W?B.push({anchor:W.from,head:W.to}):$.splice(V--,0)}B.length&&w.setSelections(B,0)};function S(w,$){w.operation(function(){for(var B=w.listSelections(),V=[],W=[],J=0;J<B.length;J++){var oe=B[J];oe.empty()?(V.push(J),W.push("")):W.push($(w.getRange(oe.from(),oe.to())))}w.replaceSelections(W,"around","case");for(var J=V.length-1,ue;J>=0;J--){var oe=B[V[J]];if(!(ue&&t.cmpPos(oe.head,ue)>0)){var be=s(w,oe.head);ue=be.from,w.replaceRange($(be.word),be.from,be.to)}}})}i.smartBackspace=function(w){if(w.somethingSelected())return t.Pass;w.operation(function(){for(var $=w.listSelections(),B=w.getOption("indentUnit"),V=$.length-1;V>=0;V--){var W=$[V].head,J=w.getRange({line:W.line,ch:0},W),oe=t.countColumn(J,null,w.getOption("tabSize")),ue=w.findPosH(W,-1,"char",!1);if(J&&!/\S/.test(J)&&oe%B==0){var be=new o(W.line,t.findColumn(J,oe-B,B));be.ch!=W.ch&&(ue=be)}w.replaceRange("",ue,W,"+delete")}})},i.delLineRight=function(w){w.operation(function(){for(var $=w.listSelections(),B=$.length-1;B>=0;B--)w.replaceRange("",$[B].anchor,o($[B].to().line),"+delete");w.scrollIntoView()})},i.upcaseAtCursor=function(w){S(w,function($){return $.toUpperCase()})},i.downcaseAtCursor=function(w){S(w,function($){return $.toLowerCase()})},i.setSublimeMark=function(w){w.state.sublimeMark&&w.state.sublimeMark.clear(),w.state.sublimeMark=w.setBookmark(w.getCursor())},i.selectToSublimeMark=function(w){var $=w.state.sublimeMark&&w.state.sublimeMark.find();$&&w.setSelection(w.getCursor(),$)},i.deleteToSublimeMark=function(w){var $=w.state.sublimeMark&&w.state.sublimeMark.find();if($){var B=w.getCursor(),V=$;if(t.cmpPos(B,V)>0){var W=V;V=B,B=W}w.state.sublimeKilled=w.getRange(B,V),w.replaceRange("",B,V)}},i.swapWithSublimeMark=function(w){var $=w.state.sublimeMark&&w.state.sublimeMark.find();$&&(w.state.sublimeMark.clear(),w.state.sublimeMark=w.setBookmark(w.getCursor()),w.setCursor($))},i.sublimeYank=function(w){w.state.sublimeKilled!=null&&w.replaceSelection(w.state.sublimeKilled,null,"paste")},i.showInCenter=function(w){var $=w.cursorCoords(null,"local");w.scrollTo(null,($.top+$.bottom)/2-w.getScrollInfo().clientHeight/2)};function A(w){var $=w.getCursor("from"),B=w.getCursor("to");if(t.cmpPos($,B)==0){var V=s(w,$);if(!V.word)return;$=V.from,B=V.to}return{from:$,to:B,query:w.getRange($,B),word:V}}function F(w,$){var B=A(w);if(B){var V=B.query,W=w.getSearchCursor(V,$?B.to:B.from);($?W.findNext():W.findPrevious())?w.setSelection(W.from(),W.to()):(W=w.getSearchCursor(V,$?o(w.firstLine(),0):w.clipPos(o(w.lastLine()))),($?W.findNext():W.findPrevious())?w.setSelection(W.from(),W.to()):B.word&&w.setSelection(B.from,B.to))}}i.findUnder=function(w){F(w,!0)},i.findUnderPrevious=function(w){F(w,!1)},i.findAllUnder=function(w){var $=A(w);if($){for(var B=w.getSearchCursor($.query),V=[],W=-1;B.findNext();)V.push({anchor:B.from(),head:B.to()}),B.from().line<=$.from.line&&B.from().ch<=$.from.ch&&W++;w.setSelections(V,W)}};var C=t.keyMap;C.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Shift-F5":"reverseSortLines","Cmd-F5":"sortLinesInsensitive","Shift-Cmd-F5":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},t.normalizeKeyMap(C.macSublime),C.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Shift-F9":"reverseSortLines","Ctrl-F9":"sortLinesInsensitive","Shift-Ctrl-F9":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},t.normalizeKeyMap(C.pcSublime);var L=C.default==C.macDefault;C.sublime=L?C.macSublime:C.pcSublime})})();const CLe=Pt({__name:"input-code",props:{value:{type:[String,Object,Array,Boolean,Number,null]},disabled:{type:Boolean},altOptions:{},template:{},lineNumber:{type:Boolean,default:!0},lineWrapping:{type:Boolean},placeholder:{},language:{default:"plaintext"},type:{}},emits:["input"],setup(n,{emit:e}){const t=/^\{\{\s*[^}\s]+\s*\}\}$/,i=n,o=e,{t:a}=un(),{width:r}=Y7(),l=Oe(null);let s,u=null;Yr(async()=>{l.value&&(await m(S.value),await yM(S.value.mode),s=Jm(l.value,{...S.value,value:d.value}),s.setOption("mode",{name:"javascript "}),await g(),s.on("change",(C,{origin:L})=>{const w=C.getValue();if(w!==u&&(u=w,L!=="setValue"))if(i.type==="json"){if(w.length===0)return o("input",null);if(F(w))return o("input",w);try{const $=JSON.parse(w);return typeof $!="string"?o("input",$):o("input",w)}catch{}}else o("input",w)}))});const d=Ce(()=>i.value===null||i.value===void 0?"":i.type==="json"&&F(i.value)?i.value:$8(i.value,i.type==="json"));Wn(()=>i.language,()=>{g()}),Wn(d,()=>{i.type==="json"&&(s==null?void 0:s.getValue())===i.value||(s==null?void 0:s.getValue())!==d.value&&(s==null||s.setValue(d.value||""))});async function g(){if(s){const C=i.language.toLowerCase();if(i.type==="json"||C==="json"){await Ut(()=>Promise.resolve().then(()=>MW),void 0,import.meta.url);const L=await Ut(()=>import("./jsonlint-C5dhOWx1.js").then(w=>w.j),__vite__mapDeps([213,3,2,4]),import.meta.url);s.setOption("mode",{name:"javascript",json:!0}),Jm.registerHelper("lint","json",w=>{const $=[];if(F(w))return $;const B=L.parser;if(B.parseError=(V,W)=>{const J=W.loc;$.push({from:Jm.Pos(J.first_line-1,J.first_column),to:Jm.Pos(J.last_line-1,J.last_column),message:V})},w.length>0)try{L.parse(w)}catch{}return $})}else C==="plaintext"?s.setOption("mode",{name:"plaintext"}):(await yM(C),s.setOption("mode",{name:C}))}}async function m(C){const L=[];C&&C.size>0&&(C.styleActiveLine&&L.push(Ut(()=>import("./active-line-DOkqS8nR.js").then(w=>w.a),__vite__mapDeps([214,3,2,4]),import.meta.url)),C.markSelection&&L.push(Ut(()=>import("./mark-selection-Bll8Wjwy.js").then(w=>w.m),__vite__mapDeps([215,3,2,4]),import.meta.url)),C.highlightSelectionMatches&&L.push(Ut(()=>import("./match-highlighter-BrdwdwLE.js").then(w=>w.m),__vite__mapDeps([216,3,2,4]),import.meta.url)),C.autoRefresh&&L.push(Ut(()=>import("./autorefresh-DgBBza0B.js").then(w=>w.a),__vite__mapDeps([217,3,2,4]),import.meta.url)),C.matchBrackets&&L.push(Ut(()=>import("./matchbrackets-DGPgZS9c.js").then(w=>w.m),__vite__mapDeps([218,3,2,4]),import.meta.url)),(C.hintOptions||C.showHint)&&(L.push(Ut(()=>import("./show-hint-BbEm1NXP.js").then(w=>w.s),__vite__mapDeps([219,3,2,4]),import.meta.url)),L.push(Ut(()=>Promise.resolve({}),__vite__mapDeps([220]),import.meta.url)),L.push(Ut(()=>import("./javascript-hint-CuhISqdN.js").then(w=>w.j),__vite__mapDeps([221,3,2,4]),import.meta.url))),await Promise.all(L))}const _=Ce(()=>r.value<600?i.disabled?"nocursor":!1:i.disabled),x={tabSize:4,autoRefresh:!0,indentUnit:4,styleActiveLine:!0,highlightSelectionMatches:{showToken:/\w/,annotateScrollbar:!0,delay:100},hintOptions:{completeSingle:!0,hint:()=>{}},matchBrackets:!0,showCursorWhenSelecting:!0,lineWiseCopyCut:!1,theme:"default",extraKeys:{Ctrl:"autocomplete"},lint:!0,gutters:["CodeMirror-lint-markers"]},S=Ce(()=>Object.assign({},x,{lineNumbers:i.lineNumber,lineWrapping:i.lineWrapping,readOnly:_.value,cursorBlinkRate:i.disabled?-1:530,mode:i.language,placeholder:i.placeholder},i.altOptions?i.altOptions:{}));Wn(()=>i.disabled,C=>{s==null||s.setOption("readOnly",_.value),s==null||s.setOption("cursorBlinkRate",C?-1:530)},{immediate:!0}),Wn(()=>i.altOptions,async C=>{if(!(!C||C.size===0)){await m(C);for(const L in C)s==null||s.setOption(L,C[L])}}),Wn(()=>i.lineNumber,C=>{s==null||s.setOption("lineNumbers",C)});function A(){if(i.type==="json"&&i.template)try{o("input",JSON.parse(i.template))}finally{}else o("input",i.template)}function F(C){return typeof C=="string"&&C.match(t)}return(C,L)=>{const w=G("v-icon"),$=G("v-button"),B=hi("tooltip");return j(),Re("div",{class:yn(["input-code codemirror-custom-styles",{disabled:C.disabled}])},[ke("div",{ref_key:"codemirrorEl",ref:l},null,512),C.template?Qt((j(),ye($,{key:0,small:"",icon:"",secondary:"",onClick:A},{default:I(()=>[T(w,{name:"playlist_add"})]),_:1})),[[B,h(a)("fill_template"),void 0,{left:!0}]]):We("",!0)],2)}}}),SLe=Wt(CLe,[["__scopeId","data-v-79ddf547"]]),ELe=`<svg width="156" height="96" fill="none" xmlns="http://www.w3.org/2000/svg">
616
+ `,o(V.head.line,0)):w.replaceRange(w.getRange(V.from(),V.to()),V.from())}w.scrollIntoView()})};function x(w,$,B){if(w.isReadOnly())return t.Pass;for(var V=w.listSelections(),W=[],J,oe=0;oe<V.length;oe++){var ue=V[oe];if(!ue.empty()){for(var be=ue.from().line,ie=ue.to().line;oe<V.length-1&&V[oe+1].from().line==ie;)ie=V[++oe].to().line;V[oe].to().ch||ie--,W.push(be,ie)}}W.length?J=!0:W.push(w.firstLine(),w.lastLine()),w.operation(function(){for(var fe=[],Y=0;Y<W.length;Y+=2){var re=W[Y],ge=W[Y+1],he=o(re,0),Ie=o(ge),je=w.getRange(he,Ie,!1);$?je.sort(function(Ue,Ee){return Ue<Ee?-B:Ue==Ee?0:B}):je.sort(function(Ue,Ee){var we=Ue.toUpperCase(),lt=Ee.toUpperCase();return we!=lt&&(Ue=we,Ee=lt),Ue<Ee?-B:Ue==Ee?0:B}),w.replaceRange(je,he,Ie),J&&fe.push({anchor:he,head:o(ge+1,0)})}J&&w.setSelections(fe,0)})}i.sortLines=function(w){x(w,!0,1)},i.reverseSortLines=function(w){x(w,!0,-1)},i.sortLinesInsensitive=function(w){x(w,!1,1)},i.reverseSortLinesInsensitive=function(w){x(w,!1,-1)},i.nextBookmark=function(w){var $=w.state.sublimeBookmarks;if($)for(;$.length;){var B=$.shift(),V=B.find();if(V)return $.push(B),w.setSelection(V.from,V.to)}},i.prevBookmark=function(w){var $=w.state.sublimeBookmarks;if($)for(;$.length;){$.unshift($.pop());var B=$[$.length-1].find();if(!B)$.pop();else return w.setSelection(B.from,B.to)}},i.toggleBookmark=function(w){for(var $=w.listSelections(),B=w.state.sublimeBookmarks||(w.state.sublimeBookmarks=[]),V=0;V<$.length;V++){for(var W=$[V].from(),J=$[V].to(),oe=$[V].empty()?w.findMarksAt(W):w.findMarks(W,J),ue=0;ue<oe.length;ue++)if(oe[ue].sublimeBookmark){oe[ue].clear();for(var be=0;be<B.length;be++)B[be]==oe[ue]&&B.splice(be--,1);break}ue==oe.length&&B.push(w.markText(W,J,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},i.clearBookmarks=function(w){var $=w.state.sublimeBookmarks;if($)for(var B=0;B<$.length;B++)$[B].clear();$.length=0},i.selectBookmarks=function(w){var $=w.state.sublimeBookmarks,B=[];if($)for(var V=0;V<$.length;V++){var W=$[V].find();W?B.push({anchor:W.from,head:W.to}):$.splice(V--,0)}B.length&&w.setSelections(B,0)};function S(w,$){w.operation(function(){for(var B=w.listSelections(),V=[],W=[],J=0;J<B.length;J++){var oe=B[J];oe.empty()?(V.push(J),W.push("")):W.push($(w.getRange(oe.from(),oe.to())))}w.replaceSelections(W,"around","case");for(var J=V.length-1,ue;J>=0;J--){var oe=B[V[J]];if(!(ue&&t.cmpPos(oe.head,ue)>0)){var be=s(w,oe.head);ue=be.from,w.replaceRange($(be.word),be.from,be.to)}}})}i.smartBackspace=function(w){if(w.somethingSelected())return t.Pass;w.operation(function(){for(var $=w.listSelections(),B=w.getOption("indentUnit"),V=$.length-1;V>=0;V--){var W=$[V].head,J=w.getRange({line:W.line,ch:0},W),oe=t.countColumn(J,null,w.getOption("tabSize")),ue=w.findPosH(W,-1,"char",!1);if(J&&!/\S/.test(J)&&oe%B==0){var be=new o(W.line,t.findColumn(J,oe-B,B));be.ch!=W.ch&&(ue=be)}w.replaceRange("",ue,W,"+delete")}})},i.delLineRight=function(w){w.operation(function(){for(var $=w.listSelections(),B=$.length-1;B>=0;B--)w.replaceRange("",$[B].anchor,o($[B].to().line),"+delete");w.scrollIntoView()})},i.upcaseAtCursor=function(w){S(w,function($){return $.toUpperCase()})},i.downcaseAtCursor=function(w){S(w,function($){return $.toLowerCase()})},i.setSublimeMark=function(w){w.state.sublimeMark&&w.state.sublimeMark.clear(),w.state.sublimeMark=w.setBookmark(w.getCursor())},i.selectToSublimeMark=function(w){var $=w.state.sublimeMark&&w.state.sublimeMark.find();$&&w.setSelection(w.getCursor(),$)},i.deleteToSublimeMark=function(w){var $=w.state.sublimeMark&&w.state.sublimeMark.find();if($){var B=w.getCursor(),V=$;if(t.cmpPos(B,V)>0){var W=V;V=B,B=W}w.state.sublimeKilled=w.getRange(B,V),w.replaceRange("",B,V)}},i.swapWithSublimeMark=function(w){var $=w.state.sublimeMark&&w.state.sublimeMark.find();$&&(w.state.sublimeMark.clear(),w.state.sublimeMark=w.setBookmark(w.getCursor()),w.setCursor($))},i.sublimeYank=function(w){w.state.sublimeKilled!=null&&w.replaceSelection(w.state.sublimeKilled,null,"paste")},i.showInCenter=function(w){var $=w.cursorCoords(null,"local");w.scrollTo(null,($.top+$.bottom)/2-w.getScrollInfo().clientHeight/2)};function A(w){var $=w.getCursor("from"),B=w.getCursor("to");if(t.cmpPos($,B)==0){var V=s(w,$);if(!V.word)return;$=V.from,B=V.to}return{from:$,to:B,query:w.getRange($,B),word:V}}function F(w,$){var B=A(w);if(B){var V=B.query,W=w.getSearchCursor(V,$?B.to:B.from);($?W.findNext():W.findPrevious())?w.setSelection(W.from(),W.to()):(W=w.getSearchCursor(V,$?o(w.firstLine(),0):w.clipPos(o(w.lastLine()))),($?W.findNext():W.findPrevious())?w.setSelection(W.from(),W.to()):B.word&&w.setSelection(B.from,B.to))}}i.findUnder=function(w){F(w,!0)},i.findUnderPrevious=function(w){F(w,!1)},i.findAllUnder=function(w){var $=A(w);if($){for(var B=w.getSearchCursor($.query),V=[],W=-1;B.findNext();)V.push({anchor:B.from(),head:B.to()}),B.from().line<=$.from.line&&B.from().ch<=$.from.ch&&W++;w.setSelections(V,W)}};var C=t.keyMap;C.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Shift-F5":"reverseSortLines","Cmd-F5":"sortLinesInsensitive","Shift-Cmd-F5":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},t.normalizeKeyMap(C.macSublime),C.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Shift-F9":"reverseSortLines","Ctrl-F9":"sortLinesInsensitive","Shift-Ctrl-F9":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},t.normalizeKeyMap(C.pcSublime);var L=C.default==C.macDefault;C.sublime=L?C.macSublime:C.pcSublime})})();const CLe=Pt({__name:"input-code",props:{value:{type:[String,Object,Array,Boolean,Number,null]},disabled:{type:Boolean},altOptions:{},template:{},lineNumber:{type:Boolean,default:!0},lineWrapping:{type:Boolean},placeholder:{},language:{default:"plaintext"},type:{}},emits:["input"],setup(n,{emit:e}){const t=/^\{\{\s*[^}\s]+\s*\}\}$/,i=n,o=e,{t:a}=un(),{width:r}=Y7(),l=Oe(null);let s,u=null;Yr(async()=>{l.value&&(await m(S.value),await yM(S.value.mode),s=Jm(l.value,{...S.value,value:d.value}),s.setOption("mode",{name:"javascript "}),await g(),s.on("change",(C,{origin:L})=>{const w=C.getValue();if(w!==u&&(u=w,L!=="setValue"))if(i.type==="json"){if(w.length===0)return o("input",null);if(F(w))return o("input",w);try{const $=JSON.parse(w);return typeof $!="string"?o("input",$):o("input",w)}catch{}}else o("input",w)}))});const d=Ce(()=>i.value===null||i.value===void 0?"":i.type==="json"&&F(i.value)?i.value:$8(i.value,i.type==="json"));Wn(()=>i.language,()=>{g()}),Wn(d,()=>{i.type==="json"&&(s==null?void 0:s.getValue())===i.value||(s==null?void 0:s.getValue())!==d.value&&(s==null||s.setValue(d.value||""))});async function g(){if(s){const C=i.language.toLowerCase();if(i.type==="json"||C==="json"){await Ut(()=>Promise.resolve().then(()=>MW),void 0,import.meta.url);const L=await Ut(()=>import("./jsonlint-C5dhOWx1.js").then(w=>w.j),__vite__mapDeps([213,3,2,4]),import.meta.url);s.setOption("mode",{name:"javascript",json:!0}),Jm.registerHelper("lint","json",w=>{const $=[];if(F(w))return $;const B=L.parser;if(B.parseError=(V,W)=>{const J=W.loc;$.push({from:Jm.Pos(J.first_line-1,J.first_column),to:Jm.Pos(J.last_line-1,J.last_column),message:V})},w.length>0)try{L.parse(w)}catch{}return $})}else C==="plaintext"?s.setOption("mode",{name:"plaintext"}):(await yM(C),s.setOption("mode",{name:C}))}}async function m(C){const L=[];C&&C.size>0&&(C.styleActiveLine&&L.push(Ut(()=>import("./active-line-D5lMcXO0.js").then(w=>w.a),__vite__mapDeps([214,3,2,4]),import.meta.url)),C.markSelection&&L.push(Ut(()=>import("./mark-selection-pmXp25bK.js").then(w=>w.m),__vite__mapDeps([215,3,2,4]),import.meta.url)),C.highlightSelectionMatches&&L.push(Ut(()=>import("./match-highlighter-CbyCOBrm.js").then(w=>w.m),__vite__mapDeps([216,3,2,4]),import.meta.url)),C.autoRefresh&&L.push(Ut(()=>import("./autorefresh-C4M5U0dD.js").then(w=>w.a),__vite__mapDeps([217,3,2,4]),import.meta.url)),C.matchBrackets&&L.push(Ut(()=>import("./matchbrackets-Dw8OW5lo.js").then(w=>w.m),__vite__mapDeps([218,3,2,4]),import.meta.url)),(C.hintOptions||C.showHint)&&(L.push(Ut(()=>import("./show-hint-DXJH1t3T.js").then(w=>w.s),__vite__mapDeps([219,3,2,4]),import.meta.url)),L.push(Ut(()=>Promise.resolve({}),__vite__mapDeps([220]),import.meta.url)),L.push(Ut(()=>import("./javascript-hint-C3vfck60.js").then(w=>w.j),__vite__mapDeps([221,3,2,4]),import.meta.url))),await Promise.all(L))}const _=Ce(()=>r.value<600?i.disabled?"nocursor":!1:i.disabled),x={tabSize:4,autoRefresh:!0,indentUnit:4,styleActiveLine:!0,highlightSelectionMatches:{showToken:/\w/,annotateScrollbar:!0,delay:100},hintOptions:{completeSingle:!0,hint:()=>{}},matchBrackets:!0,showCursorWhenSelecting:!0,lineWiseCopyCut:!1,theme:"default",extraKeys:{Ctrl:"autocomplete"},lint:!0,gutters:["CodeMirror-lint-markers"]},S=Ce(()=>Object.assign({},x,{lineNumbers:i.lineNumber,lineWrapping:i.lineWrapping,readOnly:_.value,cursorBlinkRate:i.disabled?-1:530,mode:i.language,placeholder:i.placeholder},i.altOptions?i.altOptions:{}));Wn(()=>i.disabled,C=>{s==null||s.setOption("readOnly",_.value),s==null||s.setOption("cursorBlinkRate",C?-1:530)},{immediate:!0}),Wn(()=>i.altOptions,async C=>{if(!(!C||C.size===0)){await m(C);for(const L in C)s==null||s.setOption(L,C[L])}}),Wn(()=>i.lineNumber,C=>{s==null||s.setOption("lineNumbers",C)});function A(){if(i.type==="json"&&i.template)try{o("input",JSON.parse(i.template))}finally{}else o("input",i.template)}function F(C){return typeof C=="string"&&C.match(t)}return(C,L)=>{const w=G("v-icon"),$=G("v-button"),B=hi("tooltip");return j(),Re("div",{class:yn(["input-code codemirror-custom-styles",{disabled:C.disabled}])},[ke("div",{ref_key:"codemirrorEl",ref:l},null,512),C.template?Qt((j(),ye($,{key:0,small:"",icon:"",secondary:"",onClick:A},{default:I(()=>[T(w,{name:"playlist_add"})]),_:1})),[[B,h(a)("fill_template"),void 0,{left:!0}]]):We("",!0)],2)}}}),SLe=Wt(CLe,[["__scopeId","data-v-79ddf547"]]),ELe=`<svg width="156" height="96" fill="none" xmlns="http://www.w3.org/2000/svg">
617
617
  <rect x="18" y="15" width="120" height="66" rx="6" fill="var(--theme--background)" class="glow" />
618
618
  <rect x="19" y="16" width="118" height="64" rx="5" stroke="var(--theme--primary)" stroke-width="2" />
619
619
  <rect x="28" y="25" width="6" height="6" rx="2" fill="var(--theme--primary)" fill-opacity=".25" />
@@ -663,7 +663,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
663
663
  <rect x="92" y="39" width="30" height="6" rx="2" fill="var(--theme--primary)" />
664
664
  <rect x="72" y="49" width="50" height="6" rx="2" fill="var(--theme--primary)" fill-opacity=".25" />
665
665
  </svg>
666
- `,BLe=zR(()=>Ut(()=>import("./input-rich-text-html-BL5rCZEl.js"),__vite__mapDeps([222,2,5,3,4,1,6,223]),import.meta.url)),jLe=Xo({id:"input-rich-text-html",name:"$t:interfaces.input-rich-text-html.wysiwyg",description:"$t:interfaces.input-rich-text-html.description",icon:"format_quote",component:BLe,types:["text"],group:"standard",preview:NLe,options:{standard:[{field:"toolbar",name:"$t:interfaces.input-rich-text-html.toolbar",type:"json",schema:{default_value:["bold","italic","underline","h1","h2","h3","numlist","bullist","removeformat","blockquote","customLink","customImage","customMedia","hr","code","fullscreen"]},meta:{width:"half",interface:"select-multiple-dropdown",options:{choices:[{value:"undo",text:"$t:wysiwyg_options.undo"},{value:"redo",text:"$t:wysiwyg_options.redo"},{value:"bold",text:"$t:wysiwyg_options.bold"},{value:"italic",text:"$t:wysiwyg_options.italic"},{value:"underline",text:"$t:wysiwyg_options.underline"},{value:"strikethrough",text:"$t:wysiwyg_options.strikethrough"},{value:"subscript",text:"$t:wysiwyg_options.subscript"},{value:"superscript",text:"$t:wysiwyg_options.superscript"},{value:"fontfamily",text:"$t:wysiwyg_options.fontselect"},{value:"fontsize",text:"$t:wysiwyg_options.fontsizeselect"},{value:"h1",text:"$t:wysiwyg_options.h1"},{value:"h2",text:"$t:wysiwyg_options.h2"},{value:"h3",text:"$t:wysiwyg_options.h3"},{value:"h4",text:"$t:wysiwyg_options.h4"},{value:"h5",text:"$t:wysiwyg_options.h5"},{value:"h6",text:"$t:wysiwyg_options.h6"},{value:"alignleft",text:"$t:wysiwyg_options.alignleft"},{value:"aligncenter",text:"$t:wysiwyg_options.aligncenter"},{value:"alignright",text:"$t:wysiwyg_options.alignright"},{value:"alignjustify",text:"$t:wysiwyg_options.alignjustify"},{value:"alignnone",text:"$t:wysiwyg_options.alignnone"},{value:"indent",text:"$t:wysiwyg_options.indent"},{value:"outdent",text:"$t:wysiwyg_options.outdent"},{value:"numlist",text:"$t:wysiwyg_options.numlist"},{value:"bullist",text:"$t:wysiwyg_options.bullist"},{value:"forecolor",text:"$t:wysiwyg_options.forecolor"},{value:"backcolor",text:"$t:wysiwyg_options.backcolor"},{value:"removeformat",text:"$t:wysiwyg_options.removeformat"},{value:"cut",text:"$t:wysiwyg_options.cut"},{value:"copy",text:"$t:wysiwyg_options.copy"},{value:"paste",text:"$t:wysiwyg_options.paste"},{value:"remove",text:"$t:wysiwyg_options.remove"},{value:"selectall",text:"$t:wysiwyg_options.selectall"},{value:"blockquote",text:"$t:wysiwyg_options.blockquote"},{value:"customLink",text:"$t:wysiwyg_options.link"},{value:"unlink",text:"$t:wysiwyg_options.unlink"},{value:"customImage",text:"$t:wysiwyg_options.image"},{value:"customMedia",text:"$t:wysiwyg_options.media"},{value:"table",text:"$t:wysiwyg_options.table"},{value:"hr",text:"$t:wysiwyg_options.hr"},{value:"code",text:"$t:wysiwyg_options.source_code"},{value:"fullscreen",text:"$t:wysiwyg_options.fullscreen"},{value:"visualaid",text:"$t:wysiwyg_options.visualaid"},{value:"ltr rtl",text:"$t:wysiwyg_options.directionality"}]}}},{field:"font",name:"$t:font",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:sans_serif",value:"sans-serif"},{text:"$t:monospace",value:"monospace"},{text:"$t:serif",value:"serif"}]}},schema:{default_value:"sans-serif"}},{field:"folder",name:"$t:folder",type:"uuid",meta:{width:"half",interface:"system-folder",note:"$t:interfaces.input-rich-text-html.folder_note"}},{field:"imageToken",name:"$t:interfaces.input-rich-text-html.imageToken",type:"string",meta:{note:"$t:interfaces.input-rich-text-html.imageToken_label",width:"half",interface:"input"}}],advanced:[{field:"softLength",name:"$t:soft_length",type:"integer",meta:{width:"half",interface:"input",options:{placeholder:"255",min:1}}},{field:"customFormats",name:"$t:interfaces.input-rich-text-html.custom_formats",type:"json",meta:{interface:"code",note:"$t:interfaces.input-rich-text-html.custom_formats_note",options:{language:"json",template:JSON.stringify([{title:"My Custom Format",inline:"span",classes:"custom-wrapper",styles:{color:"#00ff00","font-size":"20px"},attributes:{title:"My Custom Wrapper"}}],null,4)}}},{field:"tinymceOverrides",name:"$t:interfaces.input-rich-text-html.options_override",type:"json",meta:{interface:"code",note:"$t:interfaces.input-rich-text-html.options_override_note",options:{language:"json",template:JSON.stringify({font_size_formats:"8pt 10pt 12pt 14pt 16pt 18pt 24pt 36pt 48pt",font_family_formats:"Arial=arial,helvetica,sans-serif; Courier New=courier new,courier,monospace;"},null,4)}}}]}});var VLe={exports:{}},kM={exports:{}},CM;function HLe(){return CM||(CM=1,function(n,e){(function(t){t(Pd())})(function(t){var i={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},o={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};t.defineMode("xml",function(a,r){var l=a.indentUnit,s={},u=r.htmlMode?i:o;for(var d in u)s[d]=u[d];for(var d in r)s[d]=r[d];var g,m;function _(Y,re){function ge(je){return re.tokenize=je,je(Y,re)}var he=Y.next();if(he=="<")return Y.eat("!")?Y.eat("[")?Y.match("CDATA[")?ge(A("atom","]]>")):null:Y.match("--")?ge(A("comment","-->")):Y.match("DOCTYPE",!0,!0)?(Y.eatWhile(/[\w\._\-]/),ge(F(1))):null:Y.eat("?")?(Y.eatWhile(/[\w\._\-]/),re.tokenize=A("meta","?>"),"meta"):(g=Y.eat("/")?"closeTag":"openTag",re.tokenize=x,"tag bracket");if(he=="&"){var Ie;return Y.eat("#")?Y.eat("x")?Ie=Y.eatWhile(/[a-fA-F\d]/)&&Y.eat(";"):Ie=Y.eatWhile(/[\d]/)&&Y.eat(";"):Ie=Y.eatWhile(/[\w\.\-:]/)&&Y.eat(";"),Ie?"atom":"error"}else return Y.eatWhile(/[^&<]/),null}_.isInText=!0;function x(Y,re){var ge=Y.next();if(ge==">"||ge=="/"&&Y.eat(">"))return re.tokenize=_,g=ge==">"?"endTag":"selfcloseTag","tag bracket";if(ge=="=")return g="equals",null;if(ge=="<"){re.tokenize=_,re.state=B,re.tagName=re.tagStart=null;var he=re.tokenize(Y,re);return he?he+" tag error":"tag error"}else return/[\'\"]/.test(ge)?(re.tokenize=S(ge),re.stringStartCol=Y.column(),re.tokenize(Y,re)):(Y.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function S(Y){var re=function(ge,he){for(;!ge.eol();)if(ge.next()==Y){he.tokenize=x;break}return"string"};return re.isInAttribute=!0,re}function A(Y,re){return function(ge,he){for(;!ge.eol();){if(ge.match(re)){he.tokenize=_;break}ge.next()}return Y}}function F(Y){return function(re,ge){for(var he;(he=re.next())!=null;){if(he=="<")return ge.tokenize=F(Y+1),ge.tokenize(re,ge);if(he==">")if(Y==1){ge.tokenize=_;break}else return ge.tokenize=F(Y-1),ge.tokenize(re,ge)}return"meta"}}function C(Y){return Y&&Y.toLowerCase()}function L(Y,re,ge){this.prev=Y.context,this.tagName=re||"",this.indent=Y.indented,this.startOfLine=ge,(s.doNotIndent.hasOwnProperty(re)||Y.context&&Y.context.noIndent)&&(this.noIndent=!0)}function w(Y){Y.context&&(Y.context=Y.context.prev)}function $(Y,re){for(var ge;;){if(!Y.context||(ge=Y.context.tagName,!s.contextGrabbers.hasOwnProperty(C(ge))||!s.contextGrabbers[C(ge)].hasOwnProperty(C(re))))return;w(Y)}}function B(Y,re,ge){return Y=="openTag"?(ge.tagStart=re.column(),V):Y=="closeTag"?W:B}function V(Y,re,ge){return Y=="word"?(ge.tagName=re.current(),m="tag",ue):s.allowMissingTagName&&Y=="endTag"?(m="tag bracket",ue(Y,re,ge)):(m="error",V)}function W(Y,re,ge){if(Y=="word"){var he=re.current();return ge.context&&ge.context.tagName!=he&&s.implicitlyClosed.hasOwnProperty(C(ge.context.tagName))&&w(ge),ge.context&&ge.context.tagName==he||s.matchClosing===!1?(m="tag",J):(m="tag error",oe)}else return s.allowMissingTagName&&Y=="endTag"?(m="tag bracket",J(Y,re,ge)):(m="error",oe)}function J(Y,re,ge){return Y!="endTag"?(m="error",J):(w(ge),B)}function oe(Y,re,ge){return m="error",J(Y,re,ge)}function ue(Y,re,ge){if(Y=="word")return m="attribute",be;if(Y=="endTag"||Y=="selfcloseTag"){var he=ge.tagName,Ie=ge.tagStart;return ge.tagName=ge.tagStart=null,Y=="selfcloseTag"||s.autoSelfClosers.hasOwnProperty(C(he))?$(ge,he):($(ge,he),ge.context=new L(ge,he,Ie==ge.indented)),B}return m="error",ue}function be(Y,re,ge){return Y=="equals"?ie:(s.allowMissing||(m="error"),ue(Y,re,ge))}function ie(Y,re,ge){return Y=="string"?fe:Y=="word"&&s.allowUnquoted?(m="string",ue):(m="error",ue(Y,re,ge))}function fe(Y,re,ge){return Y=="string"?fe:ue(Y,re,ge)}return{startState:function(Y){var re={tokenize:_,state:B,indented:Y||0,tagName:null,tagStart:null,context:null};return Y!=null&&(re.baseIndent=Y),re},token:function(Y,re){if(!re.tagName&&Y.sol()&&(re.indented=Y.indentation()),Y.eatSpace())return null;g=null;var ge=re.tokenize(Y,re);return(ge||g)&&ge!="comment"&&(m=null,re.state=re.state(g||ge,Y,re),m&&(ge=m=="error"?ge+" error":m)),ge},indent:function(Y,re,ge){var he=Y.context;if(Y.tokenize.isInAttribute)return Y.tagStart==Y.indented?Y.stringStartCol+1:Y.indented+l;if(he&&he.noIndent)return t.Pass;if(Y.tokenize!=x&&Y.tokenize!=_)return ge?ge.match(/^(\s*)/)[0].length:0;if(Y.tagName)return s.multilineTagIndentPastTag!==!1?Y.tagStart+Y.tagName.length+2:Y.tagStart+l*(s.multilineTagIndentFactor||1);if(s.alignCDATA&&/<!\[CDATA\[/.test(re))return 0;var Ie=re&&/^<(\/)?([\w_:\.-]*)/.exec(re);if(Ie&&Ie[1])for(;he;)if(he.tagName==Ie[2]){he=he.prev;break}else if(s.implicitlyClosed.hasOwnProperty(C(he.tagName)))he=he.prev;else break;else if(Ie)for(;he;){var je=s.contextGrabbers[C(he.tagName)];if(je&&je.hasOwnProperty(C(Ie[2])))he=he.prev;else break}for(;he&&he.prev&&!he.startOfLine;)he=he.prev;return he?he.indent+l:Y.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:s.htmlMode?"html":"xml",helperType:s.htmlMode?"html":"xml",skipAttribute:function(Y){Y.state==ie&&(Y.state=ue)},xmlCurrentTag:function(Y){return Y.tagName?{name:Y.tagName,close:Y.type=="closeTag"}:null},xmlCurrentContext:function(Y){for(var re=[],ge=Y.context;ge;ge=ge.prev)re.push(ge.tagName);return re.reverse()}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),kM.exports}(function(n,e){(function(t){t(Pd(),HLe(),gLe)})(function(t){t.defineMode("markdown",function(i,o){var a=t.getMode(i,"text/html"),r=a.name=="null";function l(Ee){if(t.findModeByName){var we=t.findModeByName(Ee);we&&(Ee=we.mime||we.mimes[0])}var lt=t.getMode(i,Ee);return lt.name=="null"?null:lt}o.highlightFormatting===void 0&&(o.highlightFormatting=!1),o.maxBlockquoteDepth===void 0&&(o.maxBlockquoteDepth=0),o.taskLists===void 0&&(o.taskLists=!1),o.strikethrough===void 0&&(o.strikethrough=!1),o.emoji===void 0&&(o.emoji=!1),o.fencedCodeBlockHighlighting===void 0&&(o.fencedCodeBlockHighlighting=!0),o.fencedCodeBlockDefaultMode===void 0&&(o.fencedCodeBlockDefaultMode="text/plain"),o.xml===void 0&&(o.xml=!0),o.tokenTypeOverrides===void 0&&(o.tokenTypeOverrides={});var s={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var u in s)s.hasOwnProperty(u)&&o.tokenTypeOverrides[u]&&(s[u]=o.tokenTypeOverrides[u]);var d=/^([*\-_])(?:\s*\1){2,}\s*$/,g=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,m=/^\[(x| )\](?=\s)/i,_=o.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,x=/^ {0,3}(?:\={1,}|-{2,})\s*$/,S=/^[^#!\[\]*_\\<>` "'(~:]+/,A=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,F=/^\s*\[[^\]]+?\]:.*$/,C=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,L=" ";function w(Ee,we,lt){return we.f=we.inline=lt,lt(Ee,we)}function $(Ee,we,lt){return we.f=we.block=lt,lt(Ee,we)}function B(Ee){return!Ee||!/\S/.test(Ee.string)}function V(Ee){if(Ee.linkTitle=!1,Ee.linkHref=!1,Ee.linkText=!1,Ee.em=!1,Ee.strong=!1,Ee.strikethrough=!1,Ee.quote=0,Ee.indentedCode=!1,Ee.f==J){var we=r;if(!we){var lt=t.innerMode(a,Ee.htmlState);we=lt.mode.name=="xml"&&lt.state.tagStart===null&&!lt.state.context&&lt.state.tokenize.isInText}we&&(Ee.f=ie,Ee.block=W,Ee.htmlState=null)}return Ee.trailingSpace=0,Ee.trailingSpaceNewLine=!1,Ee.prevLine=Ee.thisLine,Ee.thisLine={stream:null},null}function W(Ee,we){var lt=Ee.column()===we.indentation,pt=B(we.prevLine.stream),yt=we.indentedCode,vt=we.prevLine.hr,ht=we.list!==!1,rt=(we.listStack[we.listStack.length-1]||0)+3;we.indentedCode=!1;var St=we.indentation;if(we.indentationDiff===null&&(we.indentationDiff=we.indentation,ht)){for(we.list=null;St<we.listStack[we.listStack.length-1];)we.listStack.pop(),we.listStack.length?we.indentation=we.listStack[we.listStack.length-1]:we.list=!1;we.list!==!1&&(we.indentationDiff=St-we.listStack[we.listStack.length-1])}var Ct=!pt&&!vt&&!we.prevLine.header&&(!ht||!yt)&&!we.prevLine.fencedCodeEnd,kt=(we.list===!1||vt||pt)&&we.indentation<=rt&&Ee.match(d),It=null;if(we.indentationDiff>=4&&(yt||we.prevLine.fencedCodeEnd||we.prevLine.header||pt))return Ee.skipToEnd(),we.indentedCode=!0,s.code;if(Ee.eatSpace())return null;if(lt&&we.indentation<=rt&&(It=Ee.match(_))&&It[1].length<=6)return we.quote=0,we.header=It[1].length,we.thisLine.header=!0,o.highlightFormatting&&(we.formatting="header"),we.f=we.inline,ue(we);if(we.indentation<=rt&&Ee.eat(">"))return we.quote=lt?1:we.quote+1,o.highlightFormatting&&(we.formatting="quote"),Ee.eatSpace(),ue(we);if(!kt&&!we.setext&&lt&&we.indentation<=rt&&(It=Ee.match(g))){var xt=It[1]?"ol":"ul";return we.indentation=St+Ee.current().length,we.list=!0,we.quote=0,we.listStack.push(we.indentation),we.em=!1,we.strong=!1,we.code=!1,we.strikethrough=!1,o.taskLists&&Ee.match(m,!1)&&(we.taskList=!0),we.f=we.inline,o.highlightFormatting&&(we.formatting=["list","list-"+xt]),ue(we)}else{if(lt&&we.indentation<=rt&&(It=Ee.match(A,!0)))return we.quote=0,we.fencedEndRE=new RegExp(It[1]+"+ *$"),we.localMode=o.fencedCodeBlockHighlighting&&l(It[2]||o.fencedCodeBlockDefaultMode),we.localMode&&(we.localState=t.startState(we.localMode)),we.f=we.block=oe,o.highlightFormatting&&(we.formatting="code-block"),we.code=-1,ue(we);if(we.setext||(!Ct||!ht)&&!we.quote&&we.list===!1&&!we.code&&!kt&&!F.test(Ee.string)&&(It=Ee.lookAhead(1))&&(It=It.match(x)))return we.setext?(we.header=we.setext,we.setext=0,Ee.skipToEnd(),o.highlightFormatting&&(we.formatting="header")):(we.header=It[0].charAt(0)=="="?1:2,we.setext=we.header),we.thisLine.header=!0,we.f=we.inline,ue(we);if(kt)return Ee.skipToEnd(),we.hr=!0,we.thisLine.hr=!0,s.hr;if(Ee.peek()==="[")return w(Ee,we,he)}return w(Ee,we,we.inline)}function J(Ee,we){var lt=a.token(Ee,we.htmlState);if(!r){var pt=t.innerMode(a,we.htmlState);(pt.mode.name=="xml"&&pt.state.tagStart===null&&!pt.state.context&&pt.state.tokenize.isInText||we.md_inside&&Ee.current().indexOf(">")>-1)&&(we.f=ie,we.block=W,we.htmlState=null)}return lt}function oe(Ee,we){var lt=we.listStack[we.listStack.length-1]||0,pt=we.indentation<lt,yt=lt+3;if(we.fencedEndRE&&we.indentation<=yt&&(pt||Ee.match(we.fencedEndRE))){o.highlightFormatting&&(we.formatting="code-block");var vt;return pt||(vt=ue(we)),we.localMode=we.localState=null,we.block=W,we.f=ie,we.fencedEndRE=null,we.code=0,we.thisLine.fencedCodeEnd=!0,pt?$(Ee,we,we.block):vt}else return we.localMode?we.localMode.token(Ee,we.localState):(Ee.skipToEnd(),s.code)}function ue(Ee){var we=[];if(Ee.formatting){we.push(s.formatting),typeof Ee.formatting=="string"&&(Ee.formatting=[Ee.formatting]);for(var lt=0;lt<Ee.formatting.length;lt++)we.push(s.formatting+"-"+Ee.formatting[lt]),Ee.formatting[lt]==="header"&&we.push(s.formatting+"-"+Ee.formatting[lt]+"-"+Ee.header),Ee.formatting[lt]==="quote"&&(!o.maxBlockquoteDepth||o.maxBlockquoteDepth>=Ee.quote?we.push(s.formatting+"-"+Ee.formatting[lt]+"-"+Ee.quote):we.push("error"))}if(Ee.taskOpen)return we.push("meta"),we.length?we.join(" "):null;if(Ee.taskClosed)return we.push("property"),we.length?we.join(" "):null;if(Ee.linkHref?we.push(s.linkHref,"url"):(Ee.strong&&we.push(s.strong),Ee.em&&we.push(s.em),Ee.strikethrough&&we.push(s.strikethrough),Ee.emoji&&we.push(s.emoji),Ee.linkText&&we.push(s.linkText),Ee.code&&we.push(s.code),Ee.image&&we.push(s.image),Ee.imageAltText&&we.push(s.imageAltText,"link"),Ee.imageMarker&&we.push(s.imageMarker)),Ee.header&&we.push(s.header,s.header+"-"+Ee.header),Ee.quote&&(we.push(s.quote),!o.maxBlockquoteDepth||o.maxBlockquoteDepth>=Ee.quote?we.push(s.quote+"-"+Ee.quote):we.push(s.quote+"-"+o.maxBlockquoteDepth)),Ee.list!==!1){var pt=(Ee.listStack.length-1)%3;pt?pt===1?we.push(s.list2):we.push(s.list3):we.push(s.list1)}return Ee.trailingSpaceNewLine?we.push("trailing-space-new-line"):Ee.trailingSpace&&we.push("trailing-space-"+(Ee.trailingSpace%2?"a":"b")),we.length?we.join(" "):null}function be(Ee,we){if(Ee.match(S,!0))return ue(we)}function ie(Ee,we){var lt=we.text(Ee,we);if(typeof lt<"u")return lt;if(we.list)return we.list=null,ue(we);if(we.taskList){var pt=Ee.match(m,!0)[1]===" ";return pt?we.taskOpen=!0:we.taskClosed=!0,o.highlightFormatting&&(we.formatting="task"),we.taskList=!1,ue(we)}if(we.taskOpen=!1,we.taskClosed=!1,we.header&&Ee.match(/^#+$/,!0))return o.highlightFormatting&&(we.formatting="header"),ue(we);var yt=Ee.next();if(we.linkTitle){we.linkTitle=!1;var vt=yt;yt==="("&&(vt=")"),vt=(vt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ht="^\\s*(?:[^"+vt+"\\\\]+|\\\\\\\\|\\\\.)"+vt;if(Ee.match(new RegExp(ht),!0))return s.linkHref}if(yt==="`"){var rt=we.formatting;o.highlightFormatting&&(we.formatting="code"),Ee.eatWhile("`");var St=Ee.current().length;if(we.code==0&&(!we.quote||St==1))return we.code=St,ue(we);if(St==we.code){var Ct=ue(we);return we.code=0,Ct}else return we.formatting=rt,ue(we)}else if(we.code)return ue(we);if(yt==="\\"&&(Ee.next(),o.highlightFormatting)){var kt=ue(we),It=s.formatting+"-escape";return kt?kt+" "+It:It}if(yt==="!"&&Ee.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return we.imageMarker=!0,we.image=!0,o.highlightFormatting&&(we.formatting="image"),ue(we);if(yt==="["&&we.imageMarker&&Ee.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return we.imageMarker=!1,we.imageAltText=!0,o.highlightFormatting&&(we.formatting="image"),ue(we);if(yt==="]"&&we.imageAltText){o.highlightFormatting&&(we.formatting="image");var kt=ue(we);return we.imageAltText=!1,we.image=!1,we.inline=we.f=Y,kt}if(yt==="["&&!we.image)return we.linkText&&Ee.match(/^.*?\]/)||(we.linkText=!0,o.highlightFormatting&&(we.formatting="link")),ue(we);if(yt==="]"&&we.linkText){o.highlightFormatting&&(we.formatting="link");var kt=ue(we);return we.linkText=!1,we.inline=we.f=Ee.match(/\(.*?\)| ?\[.*?\]/,!1)?Y:ie,kt}if(yt==="<"&&Ee.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){we.f=we.inline=fe,o.highlightFormatting&&(we.formatting="link");var kt=ue(we);return kt?kt+=" ":kt="",kt+s.linkInline}if(yt==="<"&&Ee.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){we.f=we.inline=fe,o.highlightFormatting&&(we.formatting="link");var kt=ue(we);return kt?kt+=" ":kt="",kt+s.linkEmail}if(o.xml&&yt==="<"&&Ee.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var xt=Ee.string.indexOf(">",Ee.pos);if(xt!=-1){var _t=Ee.string.substring(Ee.start,xt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(_t)&&(we.md_inside=!0)}return Ee.backUp(1),we.htmlState=t.startState(a),$(Ee,we,J)}if(o.xml&&yt==="<"&&Ee.match(/^\/\w*?>/))return we.md_inside=!1,"tag";if(yt==="*"||yt==="_"){for(var st=1,Lt=Ee.pos==1?" ":Ee.string.charAt(Ee.pos-2);st<3&&Ee.eat(yt);)st++;var Xt=Ee.peek()||" ",Mt=!/\s/.test(Xt)&&(!C.test(Xt)||/\s/.test(Lt)||C.test(Lt)),Et=!/\s/.test(Lt)&&(!C.test(Lt)||/\s/.test(Xt)||C.test(Xt)),mn=null,Bn=null;if(st%2&&(!we.em&&Mt&&(yt==="*"||!Et||C.test(Lt))?mn=!0:we.em==yt&&Et&&(yt==="*"||!Mt||C.test(Xt))&&(mn=!1)),st>1&&(!we.strong&&Mt&&(yt==="*"||!Et||C.test(Lt))?Bn=!0:we.strong==yt&&Et&&(yt==="*"||!Mt||C.test(Xt))&&(Bn=!1)),Bn!=null||mn!=null){o.highlightFormatting&&(we.formatting=mn==null?"strong":Bn==null?"em":"strong em"),mn===!0&&(we.em=yt),Bn===!0&&(we.strong=yt);var Ct=ue(we);return mn===!1&&(we.em=!1),Bn===!1&&(we.strong=!1),Ct}}else if(yt===" "&&(Ee.eat("*")||Ee.eat("_"))){if(Ee.peek()===" ")return ue(we);Ee.backUp(1)}if(o.strikethrough){if(yt==="~"&&Ee.eatWhile(yt)){if(we.strikethrough){o.highlightFormatting&&(we.formatting="strikethrough");var Ct=ue(we);return we.strikethrough=!1,Ct}else if(Ee.match(/^[^\s]/,!1))return we.strikethrough=!0,o.highlightFormatting&&(we.formatting="strikethrough"),ue(we)}else if(yt===" "&&Ee.match("~~",!0)){if(Ee.peek()===" ")return ue(we);Ee.backUp(2)}}if(o.emoji&&yt===":"&&Ee.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){we.emoji=!0,o.highlightFormatting&&(we.formatting="emoji");var xn=ue(we);return we.emoji=!1,xn}return yt===" "&&(Ee.match(/^ +$/,!1)?we.trailingSpace++:we.trailingSpace&&(we.trailingSpaceNewLine=!0)),ue(we)}function fe(Ee,we){var lt=Ee.next();if(lt===">"){we.f=we.inline=ie,o.highlightFormatting&&(we.formatting="link");var pt=ue(we);return pt?pt+=" ":pt="",pt+s.linkInline}return Ee.match(/^[^>]+/,!0),s.linkInline}function Y(Ee,we){if(Ee.eatSpace())return null;var lt=Ee.next();return lt==="("||lt==="["?(we.f=we.inline=ge(lt==="("?")":"]"),o.highlightFormatting&&(we.formatting="link-string"),we.linkHref=!0,ue(we)):"error"}var re={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ge(Ee){return function(we,lt){var pt=we.next();if(pt===Ee){lt.f=lt.inline=ie,o.highlightFormatting&&(lt.formatting="link-string");var yt=ue(lt);return lt.linkHref=!1,yt}return we.match(re[Ee]),lt.linkHref=!0,ue(lt)}}function he(Ee,we){return Ee.match(/^([^\]\\]|\\.)*\]:/,!1)?(we.f=Ie,Ee.next(),o.highlightFormatting&&(we.formatting="link"),we.linkText=!0,ue(we)):w(Ee,we,ie)}function Ie(Ee,we){if(Ee.match("]:",!0)){we.f=we.inline=je,o.highlightFormatting&&(we.formatting="link");var lt=ue(we);return we.linkText=!1,lt}return Ee.match(/^([^\]\\]|\\.)+/,!0),s.linkText}function je(Ee,we){return Ee.eatSpace()?null:(Ee.match(/^[^\s]+/,!0),Ee.peek()===void 0?we.linkTitle=!0:Ee.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),we.f=we.inline=ie,s.linkHref+" url")}var Ue={startState:function(){return{f:W,prevLine:{stream:null},thisLine:{stream:null},block:W,htmlState:null,indentation:0,inline:ie,text:be,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Ee){return{f:Ee.f,prevLine:Ee.prevLine,thisLine:Ee.thisLine,block:Ee.block,htmlState:Ee.htmlState&&t.copyState(a,Ee.htmlState),indentation:Ee.indentation,localMode:Ee.localMode,localState:Ee.localMode?t.copyState(Ee.localMode,Ee.localState):null,inline:Ee.inline,text:Ee.text,formatting:!1,linkText:Ee.linkText,linkTitle:Ee.linkTitle,linkHref:Ee.linkHref,code:Ee.code,em:Ee.em,strong:Ee.strong,strikethrough:Ee.strikethrough,emoji:Ee.emoji,header:Ee.header,setext:Ee.setext,hr:Ee.hr,taskList:Ee.taskList,list:Ee.list,listStack:Ee.listStack.slice(0),quote:Ee.quote,indentedCode:Ee.indentedCode,trailingSpace:Ee.trailingSpace,trailingSpaceNewLine:Ee.trailingSpaceNewLine,md_inside:Ee.md_inside,fencedEndRE:Ee.fencedEndRE}},token:function(Ee,we){if(we.formatting=!1,Ee!=we.thisLine.stream){if(we.header=0,we.hr=!1,Ee.match(/^\s*$/,!0))return V(we),null;if(we.prevLine=we.thisLine,we.thisLine={stream:Ee},we.taskList=!1,we.trailingSpace=0,we.trailingSpaceNewLine=!1,!we.localState&&(we.f=we.block,we.f!=J)){var lt=Ee.match(/^\s*/,!0)[0].replace(/\t/g,L).length;if(we.indentation=lt,we.indentationDiff=null,lt>0)return null}}return we.f(Ee,we)},innerMode:function(Ee){return Ee.block==J?{state:Ee.htmlState,mode:a}:Ee.localState?{state:Ee.localState,mode:Ee.localMode}:{state:Ee,mode:Ue}},indent:function(Ee,we,lt){return Ee.block==J&&a.indent?a.indent(Ee.htmlState,we,lt):Ee.localState&&Ee.localMode.indent?Ee.localMode.indent(Ee.localState,we,lt):t.Pass},blankLine:V,getType:ue,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Ue},"xml"),t.defineMIME("text/markdown","markdown"),t.defineMIME("text/x-markdown","markdown")})})();var zB=VLe.exports;const ULe=Fd(zB),qLe=jR({__proto__:null,default:ULe},[zB]),$B={Control:"meta",Command:"meta"},SM=["meta","shift","alt","backspace","delete","tab","capslock","enter","home","end"],V8=new Set([]),I0={};document.body.addEventListener("keydown",n=>{n.repeat||!n.key||(V8.add(WLe(n)),GLe(n))});document.body.addEventListener("keyup",n=>{n.repeat||!n.key||V8.clear()});function _a(n,e,t=Oe(document.body)){const i=(o,a)=>{if(!t.value)return;const r=t.value instanceof HTMLElement?t.value:t.value.$el;return document.activeElement===r||r.contains(document.activeElement)||document.activeElement===document.body?(o.preventDefault(),e(o,a)):!1};Yr(()=>{[n].flat().forEach(o=>{var a;o in I0?(a=I0[o])==null||a.unshift(i):I0[o]=[i]})}),Dl(()=>{[n].flat().forEach(o=>{const a=I0[o];if(a){const r=a.filter(l=>l!==i);I0[o]=r,r.length===0&&delete I0[o]}})})}function WLe(n){const e=/^[a-zA-Z0-9]*?$/g;let t=n.key.match(e)===null?n.code.replace(/(Key|Digit)/g,""):n.key;return t=$B[t]??t,t=t.toLowerCase(),t}function GLe(n){Object.entries(I0).forEach(([e,t])=>{var o;const i=e.split("+");for(e of V8)if(i.includes(e)===!1)return;for(e of i)if(V8.has(e)===!1)return;for(let a=0;a<t.length;a++){let r=!1;if((o=t[a])==null||o.call(t,n,()=>{r=!0}),typeof r=="boolean"&&r)break}})}const YLe=(n,e)=>e?n?100-n/Number(e)*100:100:null;function Kp(n){return navigator.platform.toLowerCase().startsWith("mac")||navigator.platform.startsWith("iP")?n.map(t=>t==="meta"?"⌘":t==="option"?"⌥":t==="shift"?"⇧":t==="alt"?"⌥":et.capitalize(t)).join(""):n.map(t=>t==="meta"?"Ctrl":et.capitalize(t)).join("+")}const XLe={heading(n,{cursorTo:e},t){const i=(t==null?void 0:t.level)||3;let o=n;const a=e,r="#".repeat(i)+" ";return n.startsWith(r)?o=n.substring(r.length):(o=`${r}${n}`,a.ch=a.ch+r.length),{newSelection:o,newCursor:a}},bold(n,{cursorTo:e}){let t=n;const i=e;return n.startsWith("**")&&n.endsWith("**")?t=n.substring(2,n.length-2):(t=`**${n}**`,i.ch=i.ch+2),{newSelection:t,newCursor:i}},italic(n,{cursorTo:e}){let t=n;const i=e;return n.startsWith("*")&&n.endsWith("*")?t=n.substring(1,n.length-1):(t=`*${n}*`,i.ch=i.ch+1),{newSelection:t,newCursor:i}},strikethrough(n,{cursorTo:e}){let t=n;const i=e;return n.startsWith("~~")&&n.endsWith("~~")?t=n.substring(2,n.length-2):(t=`~~${n}~~`,i.ch=i.ch+2),{newSelection:t,newCursor:i}},listBulleted(n,{cursorTo:e}){let t=n;const i=e,o=n.split(`
666
+ `,BLe=zR(()=>Ut(()=>import("./input-rich-text-html-DIRD-70w.js"),__vite__mapDeps([222,2,5,3,4,1,6,223]),import.meta.url)),jLe=Xo({id:"input-rich-text-html",name:"$t:interfaces.input-rich-text-html.wysiwyg",description:"$t:interfaces.input-rich-text-html.description",icon:"format_quote",component:BLe,types:["text"],group:"standard",preview:NLe,options:{standard:[{field:"toolbar",name:"$t:interfaces.input-rich-text-html.toolbar",type:"json",schema:{default_value:["bold","italic","underline","h1","h2","h3","numlist","bullist","removeformat","blockquote","customLink","customImage","customMedia","hr","code","fullscreen"]},meta:{width:"half",interface:"select-multiple-dropdown",options:{choices:[{value:"undo",text:"$t:wysiwyg_options.undo"},{value:"redo",text:"$t:wysiwyg_options.redo"},{value:"bold",text:"$t:wysiwyg_options.bold"},{value:"italic",text:"$t:wysiwyg_options.italic"},{value:"underline",text:"$t:wysiwyg_options.underline"},{value:"strikethrough",text:"$t:wysiwyg_options.strikethrough"},{value:"subscript",text:"$t:wysiwyg_options.subscript"},{value:"superscript",text:"$t:wysiwyg_options.superscript"},{value:"fontfamily",text:"$t:wysiwyg_options.fontselect"},{value:"fontsize",text:"$t:wysiwyg_options.fontsizeselect"},{value:"h1",text:"$t:wysiwyg_options.h1"},{value:"h2",text:"$t:wysiwyg_options.h2"},{value:"h3",text:"$t:wysiwyg_options.h3"},{value:"h4",text:"$t:wysiwyg_options.h4"},{value:"h5",text:"$t:wysiwyg_options.h5"},{value:"h6",text:"$t:wysiwyg_options.h6"},{value:"alignleft",text:"$t:wysiwyg_options.alignleft"},{value:"aligncenter",text:"$t:wysiwyg_options.aligncenter"},{value:"alignright",text:"$t:wysiwyg_options.alignright"},{value:"alignjustify",text:"$t:wysiwyg_options.alignjustify"},{value:"alignnone",text:"$t:wysiwyg_options.alignnone"},{value:"indent",text:"$t:wysiwyg_options.indent"},{value:"outdent",text:"$t:wysiwyg_options.outdent"},{value:"numlist",text:"$t:wysiwyg_options.numlist"},{value:"bullist",text:"$t:wysiwyg_options.bullist"},{value:"forecolor",text:"$t:wysiwyg_options.forecolor"},{value:"backcolor",text:"$t:wysiwyg_options.backcolor"},{value:"removeformat",text:"$t:wysiwyg_options.removeformat"},{value:"cut",text:"$t:wysiwyg_options.cut"},{value:"copy",text:"$t:wysiwyg_options.copy"},{value:"paste",text:"$t:wysiwyg_options.paste"},{value:"remove",text:"$t:wysiwyg_options.remove"},{value:"selectall",text:"$t:wysiwyg_options.selectall"},{value:"blockquote",text:"$t:wysiwyg_options.blockquote"},{value:"customLink",text:"$t:wysiwyg_options.link"},{value:"unlink",text:"$t:wysiwyg_options.unlink"},{value:"customImage",text:"$t:wysiwyg_options.image"},{value:"customMedia",text:"$t:wysiwyg_options.media"},{value:"table",text:"$t:wysiwyg_options.table"},{value:"hr",text:"$t:wysiwyg_options.hr"},{value:"code",text:"$t:wysiwyg_options.source_code"},{value:"fullscreen",text:"$t:wysiwyg_options.fullscreen"},{value:"visualaid",text:"$t:wysiwyg_options.visualaid"},{value:"ltr rtl",text:"$t:wysiwyg_options.directionality"}]}}},{field:"font",name:"$t:font",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:sans_serif",value:"sans-serif"},{text:"$t:monospace",value:"monospace"},{text:"$t:serif",value:"serif"}]}},schema:{default_value:"sans-serif"}},{field:"folder",name:"$t:folder",type:"uuid",meta:{width:"half",interface:"system-folder",note:"$t:interfaces.input-rich-text-html.folder_note"}},{field:"imageToken",name:"$t:interfaces.input-rich-text-html.imageToken",type:"string",meta:{note:"$t:interfaces.input-rich-text-html.imageToken_label",width:"half",interface:"input"}}],advanced:[{field:"softLength",name:"$t:soft_length",type:"integer",meta:{width:"half",interface:"input",options:{placeholder:"255",min:1}}},{field:"customFormats",name:"$t:interfaces.input-rich-text-html.custom_formats",type:"json",meta:{interface:"code",note:"$t:interfaces.input-rich-text-html.custom_formats_note",options:{language:"json",template:JSON.stringify([{title:"My Custom Format",inline:"span",classes:"custom-wrapper",styles:{color:"#00ff00","font-size":"20px"},attributes:{title:"My Custom Wrapper"}}],null,4)}}},{field:"tinymceOverrides",name:"$t:interfaces.input-rich-text-html.options_override",type:"json",meta:{interface:"code",note:"$t:interfaces.input-rich-text-html.options_override_note",options:{language:"json",template:JSON.stringify({font_size_formats:"8pt 10pt 12pt 14pt 16pt 18pt 24pt 36pt 48pt",font_family_formats:"Arial=arial,helvetica,sans-serif; Courier New=courier new,courier,monospace;"},null,4)}}}]}});var VLe={exports:{}},kM={exports:{}},CM;function HLe(){return CM||(CM=1,function(n,e){(function(t){t(Pd())})(function(t){var i={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},o={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};t.defineMode("xml",function(a,r){var l=a.indentUnit,s={},u=r.htmlMode?i:o;for(var d in u)s[d]=u[d];for(var d in r)s[d]=r[d];var g,m;function _(Y,re){function ge(je){return re.tokenize=je,je(Y,re)}var he=Y.next();if(he=="<")return Y.eat("!")?Y.eat("[")?Y.match("CDATA[")?ge(A("atom","]]>")):null:Y.match("--")?ge(A("comment","-->")):Y.match("DOCTYPE",!0,!0)?(Y.eatWhile(/[\w\._\-]/),ge(F(1))):null:Y.eat("?")?(Y.eatWhile(/[\w\._\-]/),re.tokenize=A("meta","?>"),"meta"):(g=Y.eat("/")?"closeTag":"openTag",re.tokenize=x,"tag bracket");if(he=="&"){var Ie;return Y.eat("#")?Y.eat("x")?Ie=Y.eatWhile(/[a-fA-F\d]/)&&Y.eat(";"):Ie=Y.eatWhile(/[\d]/)&&Y.eat(";"):Ie=Y.eatWhile(/[\w\.\-:]/)&&Y.eat(";"),Ie?"atom":"error"}else return Y.eatWhile(/[^&<]/),null}_.isInText=!0;function x(Y,re){var ge=Y.next();if(ge==">"||ge=="/"&&Y.eat(">"))return re.tokenize=_,g=ge==">"?"endTag":"selfcloseTag","tag bracket";if(ge=="=")return g="equals",null;if(ge=="<"){re.tokenize=_,re.state=B,re.tagName=re.tagStart=null;var he=re.tokenize(Y,re);return he?he+" tag error":"tag error"}else return/[\'\"]/.test(ge)?(re.tokenize=S(ge),re.stringStartCol=Y.column(),re.tokenize(Y,re)):(Y.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function S(Y){var re=function(ge,he){for(;!ge.eol();)if(ge.next()==Y){he.tokenize=x;break}return"string"};return re.isInAttribute=!0,re}function A(Y,re){return function(ge,he){for(;!ge.eol();){if(ge.match(re)){he.tokenize=_;break}ge.next()}return Y}}function F(Y){return function(re,ge){for(var he;(he=re.next())!=null;){if(he=="<")return ge.tokenize=F(Y+1),ge.tokenize(re,ge);if(he==">")if(Y==1){ge.tokenize=_;break}else return ge.tokenize=F(Y-1),ge.tokenize(re,ge)}return"meta"}}function C(Y){return Y&&Y.toLowerCase()}function L(Y,re,ge){this.prev=Y.context,this.tagName=re||"",this.indent=Y.indented,this.startOfLine=ge,(s.doNotIndent.hasOwnProperty(re)||Y.context&&Y.context.noIndent)&&(this.noIndent=!0)}function w(Y){Y.context&&(Y.context=Y.context.prev)}function $(Y,re){for(var ge;;){if(!Y.context||(ge=Y.context.tagName,!s.contextGrabbers.hasOwnProperty(C(ge))||!s.contextGrabbers[C(ge)].hasOwnProperty(C(re))))return;w(Y)}}function B(Y,re,ge){return Y=="openTag"?(ge.tagStart=re.column(),V):Y=="closeTag"?W:B}function V(Y,re,ge){return Y=="word"?(ge.tagName=re.current(),m="tag",ue):s.allowMissingTagName&&Y=="endTag"?(m="tag bracket",ue(Y,re,ge)):(m="error",V)}function W(Y,re,ge){if(Y=="word"){var he=re.current();return ge.context&&ge.context.tagName!=he&&s.implicitlyClosed.hasOwnProperty(C(ge.context.tagName))&&w(ge),ge.context&&ge.context.tagName==he||s.matchClosing===!1?(m="tag",J):(m="tag error",oe)}else return s.allowMissingTagName&&Y=="endTag"?(m="tag bracket",J(Y,re,ge)):(m="error",oe)}function J(Y,re,ge){return Y!="endTag"?(m="error",J):(w(ge),B)}function oe(Y,re,ge){return m="error",J(Y,re,ge)}function ue(Y,re,ge){if(Y=="word")return m="attribute",be;if(Y=="endTag"||Y=="selfcloseTag"){var he=ge.tagName,Ie=ge.tagStart;return ge.tagName=ge.tagStart=null,Y=="selfcloseTag"||s.autoSelfClosers.hasOwnProperty(C(he))?$(ge,he):($(ge,he),ge.context=new L(ge,he,Ie==ge.indented)),B}return m="error",ue}function be(Y,re,ge){return Y=="equals"?ie:(s.allowMissing||(m="error"),ue(Y,re,ge))}function ie(Y,re,ge){return Y=="string"?fe:Y=="word"&&s.allowUnquoted?(m="string",ue):(m="error",ue(Y,re,ge))}function fe(Y,re,ge){return Y=="string"?fe:ue(Y,re,ge)}return{startState:function(Y){var re={tokenize:_,state:B,indented:Y||0,tagName:null,tagStart:null,context:null};return Y!=null&&(re.baseIndent=Y),re},token:function(Y,re){if(!re.tagName&&Y.sol()&&(re.indented=Y.indentation()),Y.eatSpace())return null;g=null;var ge=re.tokenize(Y,re);return(ge||g)&&ge!="comment"&&(m=null,re.state=re.state(g||ge,Y,re),m&&(ge=m=="error"?ge+" error":m)),ge},indent:function(Y,re,ge){var he=Y.context;if(Y.tokenize.isInAttribute)return Y.tagStart==Y.indented?Y.stringStartCol+1:Y.indented+l;if(he&&he.noIndent)return t.Pass;if(Y.tokenize!=x&&Y.tokenize!=_)return ge?ge.match(/^(\s*)/)[0].length:0;if(Y.tagName)return s.multilineTagIndentPastTag!==!1?Y.tagStart+Y.tagName.length+2:Y.tagStart+l*(s.multilineTagIndentFactor||1);if(s.alignCDATA&&/<!\[CDATA\[/.test(re))return 0;var Ie=re&&/^<(\/)?([\w_:\.-]*)/.exec(re);if(Ie&&Ie[1])for(;he;)if(he.tagName==Ie[2]){he=he.prev;break}else if(s.implicitlyClosed.hasOwnProperty(C(he.tagName)))he=he.prev;else break;else if(Ie)for(;he;){var je=s.contextGrabbers[C(he.tagName)];if(je&&je.hasOwnProperty(C(Ie[2])))he=he.prev;else break}for(;he&&he.prev&&!he.startOfLine;)he=he.prev;return he?he.indent+l:Y.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:s.htmlMode?"html":"xml",helperType:s.htmlMode?"html":"xml",skipAttribute:function(Y){Y.state==ie&&(Y.state=ue)},xmlCurrentTag:function(Y){return Y.tagName?{name:Y.tagName,close:Y.type=="closeTag"}:null},xmlCurrentContext:function(Y){for(var re=[],ge=Y.context;ge;ge=ge.prev)re.push(ge.tagName);return re.reverse()}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),kM.exports}(function(n,e){(function(t){t(Pd(),HLe(),gLe)})(function(t){t.defineMode("markdown",function(i,o){var a=t.getMode(i,"text/html"),r=a.name=="null";function l(Ee){if(t.findModeByName){var we=t.findModeByName(Ee);we&&(Ee=we.mime||we.mimes[0])}var lt=t.getMode(i,Ee);return lt.name=="null"?null:lt}o.highlightFormatting===void 0&&(o.highlightFormatting=!1),o.maxBlockquoteDepth===void 0&&(o.maxBlockquoteDepth=0),o.taskLists===void 0&&(o.taskLists=!1),o.strikethrough===void 0&&(o.strikethrough=!1),o.emoji===void 0&&(o.emoji=!1),o.fencedCodeBlockHighlighting===void 0&&(o.fencedCodeBlockHighlighting=!0),o.fencedCodeBlockDefaultMode===void 0&&(o.fencedCodeBlockDefaultMode="text/plain"),o.xml===void 0&&(o.xml=!0),o.tokenTypeOverrides===void 0&&(o.tokenTypeOverrides={});var s={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var u in s)s.hasOwnProperty(u)&&o.tokenTypeOverrides[u]&&(s[u]=o.tokenTypeOverrides[u]);var d=/^([*\-_])(?:\s*\1){2,}\s*$/,g=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,m=/^\[(x| )\](?=\s)/i,_=o.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,x=/^ {0,3}(?:\={1,}|-{2,})\s*$/,S=/^[^#!\[\]*_\\<>` "'(~:]+/,A=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,F=/^\s*\[[^\]]+?\]:.*$/,C=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,L=" ";function w(Ee,we,lt){return we.f=we.inline=lt,lt(Ee,we)}function $(Ee,we,lt){return we.f=we.block=lt,lt(Ee,we)}function B(Ee){return!Ee||!/\S/.test(Ee.string)}function V(Ee){if(Ee.linkTitle=!1,Ee.linkHref=!1,Ee.linkText=!1,Ee.em=!1,Ee.strong=!1,Ee.strikethrough=!1,Ee.quote=0,Ee.indentedCode=!1,Ee.f==J){var we=r;if(!we){var lt=t.innerMode(a,Ee.htmlState);we=lt.mode.name=="xml"&&lt.state.tagStart===null&&!lt.state.context&&lt.state.tokenize.isInText}we&&(Ee.f=ie,Ee.block=W,Ee.htmlState=null)}return Ee.trailingSpace=0,Ee.trailingSpaceNewLine=!1,Ee.prevLine=Ee.thisLine,Ee.thisLine={stream:null},null}function W(Ee,we){var lt=Ee.column()===we.indentation,pt=B(we.prevLine.stream),yt=we.indentedCode,vt=we.prevLine.hr,ht=we.list!==!1,rt=(we.listStack[we.listStack.length-1]||0)+3;we.indentedCode=!1;var St=we.indentation;if(we.indentationDiff===null&&(we.indentationDiff=we.indentation,ht)){for(we.list=null;St<we.listStack[we.listStack.length-1];)we.listStack.pop(),we.listStack.length?we.indentation=we.listStack[we.listStack.length-1]:we.list=!1;we.list!==!1&&(we.indentationDiff=St-we.listStack[we.listStack.length-1])}var Ct=!pt&&!vt&&!we.prevLine.header&&(!ht||!yt)&&!we.prevLine.fencedCodeEnd,kt=(we.list===!1||vt||pt)&&we.indentation<=rt&&Ee.match(d),It=null;if(we.indentationDiff>=4&&(yt||we.prevLine.fencedCodeEnd||we.prevLine.header||pt))return Ee.skipToEnd(),we.indentedCode=!0,s.code;if(Ee.eatSpace())return null;if(lt&&we.indentation<=rt&&(It=Ee.match(_))&&It[1].length<=6)return we.quote=0,we.header=It[1].length,we.thisLine.header=!0,o.highlightFormatting&&(we.formatting="header"),we.f=we.inline,ue(we);if(we.indentation<=rt&&Ee.eat(">"))return we.quote=lt?1:we.quote+1,o.highlightFormatting&&(we.formatting="quote"),Ee.eatSpace(),ue(we);if(!kt&&!we.setext&&lt&&we.indentation<=rt&&(It=Ee.match(g))){var xt=It[1]?"ol":"ul";return we.indentation=St+Ee.current().length,we.list=!0,we.quote=0,we.listStack.push(we.indentation),we.em=!1,we.strong=!1,we.code=!1,we.strikethrough=!1,o.taskLists&&Ee.match(m,!1)&&(we.taskList=!0),we.f=we.inline,o.highlightFormatting&&(we.formatting=["list","list-"+xt]),ue(we)}else{if(lt&&we.indentation<=rt&&(It=Ee.match(A,!0)))return we.quote=0,we.fencedEndRE=new RegExp(It[1]+"+ *$"),we.localMode=o.fencedCodeBlockHighlighting&&l(It[2]||o.fencedCodeBlockDefaultMode),we.localMode&&(we.localState=t.startState(we.localMode)),we.f=we.block=oe,o.highlightFormatting&&(we.formatting="code-block"),we.code=-1,ue(we);if(we.setext||(!Ct||!ht)&&!we.quote&&we.list===!1&&!we.code&&!kt&&!F.test(Ee.string)&&(It=Ee.lookAhead(1))&&(It=It.match(x)))return we.setext?(we.header=we.setext,we.setext=0,Ee.skipToEnd(),o.highlightFormatting&&(we.formatting="header")):(we.header=It[0].charAt(0)=="="?1:2,we.setext=we.header),we.thisLine.header=!0,we.f=we.inline,ue(we);if(kt)return Ee.skipToEnd(),we.hr=!0,we.thisLine.hr=!0,s.hr;if(Ee.peek()==="[")return w(Ee,we,he)}return w(Ee,we,we.inline)}function J(Ee,we){var lt=a.token(Ee,we.htmlState);if(!r){var pt=t.innerMode(a,we.htmlState);(pt.mode.name=="xml"&&pt.state.tagStart===null&&!pt.state.context&&pt.state.tokenize.isInText||we.md_inside&&Ee.current().indexOf(">")>-1)&&(we.f=ie,we.block=W,we.htmlState=null)}return lt}function oe(Ee,we){var lt=we.listStack[we.listStack.length-1]||0,pt=we.indentation<lt,yt=lt+3;if(we.fencedEndRE&&we.indentation<=yt&&(pt||Ee.match(we.fencedEndRE))){o.highlightFormatting&&(we.formatting="code-block");var vt;return pt||(vt=ue(we)),we.localMode=we.localState=null,we.block=W,we.f=ie,we.fencedEndRE=null,we.code=0,we.thisLine.fencedCodeEnd=!0,pt?$(Ee,we,we.block):vt}else return we.localMode?we.localMode.token(Ee,we.localState):(Ee.skipToEnd(),s.code)}function ue(Ee){var we=[];if(Ee.formatting){we.push(s.formatting),typeof Ee.formatting=="string"&&(Ee.formatting=[Ee.formatting]);for(var lt=0;lt<Ee.formatting.length;lt++)we.push(s.formatting+"-"+Ee.formatting[lt]),Ee.formatting[lt]==="header"&&we.push(s.formatting+"-"+Ee.formatting[lt]+"-"+Ee.header),Ee.formatting[lt]==="quote"&&(!o.maxBlockquoteDepth||o.maxBlockquoteDepth>=Ee.quote?we.push(s.formatting+"-"+Ee.formatting[lt]+"-"+Ee.quote):we.push("error"))}if(Ee.taskOpen)return we.push("meta"),we.length?we.join(" "):null;if(Ee.taskClosed)return we.push("property"),we.length?we.join(" "):null;if(Ee.linkHref?we.push(s.linkHref,"url"):(Ee.strong&&we.push(s.strong),Ee.em&&we.push(s.em),Ee.strikethrough&&we.push(s.strikethrough),Ee.emoji&&we.push(s.emoji),Ee.linkText&&we.push(s.linkText),Ee.code&&we.push(s.code),Ee.image&&we.push(s.image),Ee.imageAltText&&we.push(s.imageAltText,"link"),Ee.imageMarker&&we.push(s.imageMarker)),Ee.header&&we.push(s.header,s.header+"-"+Ee.header),Ee.quote&&(we.push(s.quote),!o.maxBlockquoteDepth||o.maxBlockquoteDepth>=Ee.quote?we.push(s.quote+"-"+Ee.quote):we.push(s.quote+"-"+o.maxBlockquoteDepth)),Ee.list!==!1){var pt=(Ee.listStack.length-1)%3;pt?pt===1?we.push(s.list2):we.push(s.list3):we.push(s.list1)}return Ee.trailingSpaceNewLine?we.push("trailing-space-new-line"):Ee.trailingSpace&&we.push("trailing-space-"+(Ee.trailingSpace%2?"a":"b")),we.length?we.join(" "):null}function be(Ee,we){if(Ee.match(S,!0))return ue(we)}function ie(Ee,we){var lt=we.text(Ee,we);if(typeof lt<"u")return lt;if(we.list)return we.list=null,ue(we);if(we.taskList){var pt=Ee.match(m,!0)[1]===" ";return pt?we.taskOpen=!0:we.taskClosed=!0,o.highlightFormatting&&(we.formatting="task"),we.taskList=!1,ue(we)}if(we.taskOpen=!1,we.taskClosed=!1,we.header&&Ee.match(/^#+$/,!0))return o.highlightFormatting&&(we.formatting="header"),ue(we);var yt=Ee.next();if(we.linkTitle){we.linkTitle=!1;var vt=yt;yt==="("&&(vt=")"),vt=(vt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ht="^\\s*(?:[^"+vt+"\\\\]+|\\\\\\\\|\\\\.)"+vt;if(Ee.match(new RegExp(ht),!0))return s.linkHref}if(yt==="`"){var rt=we.formatting;o.highlightFormatting&&(we.formatting="code"),Ee.eatWhile("`");var St=Ee.current().length;if(we.code==0&&(!we.quote||St==1))return we.code=St,ue(we);if(St==we.code){var Ct=ue(we);return we.code=0,Ct}else return we.formatting=rt,ue(we)}else if(we.code)return ue(we);if(yt==="\\"&&(Ee.next(),o.highlightFormatting)){var kt=ue(we),It=s.formatting+"-escape";return kt?kt+" "+It:It}if(yt==="!"&&Ee.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return we.imageMarker=!0,we.image=!0,o.highlightFormatting&&(we.formatting="image"),ue(we);if(yt==="["&&we.imageMarker&&Ee.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return we.imageMarker=!1,we.imageAltText=!0,o.highlightFormatting&&(we.formatting="image"),ue(we);if(yt==="]"&&we.imageAltText){o.highlightFormatting&&(we.formatting="image");var kt=ue(we);return we.imageAltText=!1,we.image=!1,we.inline=we.f=Y,kt}if(yt==="["&&!we.image)return we.linkText&&Ee.match(/^.*?\]/)||(we.linkText=!0,o.highlightFormatting&&(we.formatting="link")),ue(we);if(yt==="]"&&we.linkText){o.highlightFormatting&&(we.formatting="link");var kt=ue(we);return we.linkText=!1,we.inline=we.f=Ee.match(/\(.*?\)| ?\[.*?\]/,!1)?Y:ie,kt}if(yt==="<"&&Ee.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){we.f=we.inline=fe,o.highlightFormatting&&(we.formatting="link");var kt=ue(we);return kt?kt+=" ":kt="",kt+s.linkInline}if(yt==="<"&&Ee.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){we.f=we.inline=fe,o.highlightFormatting&&(we.formatting="link");var kt=ue(we);return kt?kt+=" ":kt="",kt+s.linkEmail}if(o.xml&&yt==="<"&&Ee.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var xt=Ee.string.indexOf(">",Ee.pos);if(xt!=-1){var _t=Ee.string.substring(Ee.start,xt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(_t)&&(we.md_inside=!0)}return Ee.backUp(1),we.htmlState=t.startState(a),$(Ee,we,J)}if(o.xml&&yt==="<"&&Ee.match(/^\/\w*?>/))return we.md_inside=!1,"tag";if(yt==="*"||yt==="_"){for(var st=1,Lt=Ee.pos==1?" ":Ee.string.charAt(Ee.pos-2);st<3&&Ee.eat(yt);)st++;var Xt=Ee.peek()||" ",Mt=!/\s/.test(Xt)&&(!C.test(Xt)||/\s/.test(Lt)||C.test(Lt)),Et=!/\s/.test(Lt)&&(!C.test(Lt)||/\s/.test(Xt)||C.test(Xt)),mn=null,Bn=null;if(st%2&&(!we.em&&Mt&&(yt==="*"||!Et||C.test(Lt))?mn=!0:we.em==yt&&Et&&(yt==="*"||!Mt||C.test(Xt))&&(mn=!1)),st>1&&(!we.strong&&Mt&&(yt==="*"||!Et||C.test(Lt))?Bn=!0:we.strong==yt&&Et&&(yt==="*"||!Mt||C.test(Xt))&&(Bn=!1)),Bn!=null||mn!=null){o.highlightFormatting&&(we.formatting=mn==null?"strong":Bn==null?"em":"strong em"),mn===!0&&(we.em=yt),Bn===!0&&(we.strong=yt);var Ct=ue(we);return mn===!1&&(we.em=!1),Bn===!1&&(we.strong=!1),Ct}}else if(yt===" "&&(Ee.eat("*")||Ee.eat("_"))){if(Ee.peek()===" ")return ue(we);Ee.backUp(1)}if(o.strikethrough){if(yt==="~"&&Ee.eatWhile(yt)){if(we.strikethrough){o.highlightFormatting&&(we.formatting="strikethrough");var Ct=ue(we);return we.strikethrough=!1,Ct}else if(Ee.match(/^[^\s]/,!1))return we.strikethrough=!0,o.highlightFormatting&&(we.formatting="strikethrough"),ue(we)}else if(yt===" "&&Ee.match("~~",!0)){if(Ee.peek()===" ")return ue(we);Ee.backUp(2)}}if(o.emoji&&yt===":"&&Ee.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){we.emoji=!0,o.highlightFormatting&&(we.formatting="emoji");var xn=ue(we);return we.emoji=!1,xn}return yt===" "&&(Ee.match(/^ +$/,!1)?we.trailingSpace++:we.trailingSpace&&(we.trailingSpaceNewLine=!0)),ue(we)}function fe(Ee,we){var lt=Ee.next();if(lt===">"){we.f=we.inline=ie,o.highlightFormatting&&(we.formatting="link");var pt=ue(we);return pt?pt+=" ":pt="",pt+s.linkInline}return Ee.match(/^[^>]+/,!0),s.linkInline}function Y(Ee,we){if(Ee.eatSpace())return null;var lt=Ee.next();return lt==="("||lt==="["?(we.f=we.inline=ge(lt==="("?")":"]"),o.highlightFormatting&&(we.formatting="link-string"),we.linkHref=!0,ue(we)):"error"}var re={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ge(Ee){return function(we,lt){var pt=we.next();if(pt===Ee){lt.f=lt.inline=ie,o.highlightFormatting&&(lt.formatting="link-string");var yt=ue(lt);return lt.linkHref=!1,yt}return we.match(re[Ee]),lt.linkHref=!0,ue(lt)}}function he(Ee,we){return Ee.match(/^([^\]\\]|\\.)*\]:/,!1)?(we.f=Ie,Ee.next(),o.highlightFormatting&&(we.formatting="link"),we.linkText=!0,ue(we)):w(Ee,we,ie)}function Ie(Ee,we){if(Ee.match("]:",!0)){we.f=we.inline=je,o.highlightFormatting&&(we.formatting="link");var lt=ue(we);return we.linkText=!1,lt}return Ee.match(/^([^\]\\]|\\.)+/,!0),s.linkText}function je(Ee,we){return Ee.eatSpace()?null:(Ee.match(/^[^\s]+/,!0),Ee.peek()===void 0?we.linkTitle=!0:Ee.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),we.f=we.inline=ie,s.linkHref+" url")}var Ue={startState:function(){return{f:W,prevLine:{stream:null},thisLine:{stream:null},block:W,htmlState:null,indentation:0,inline:ie,text:be,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Ee){return{f:Ee.f,prevLine:Ee.prevLine,thisLine:Ee.thisLine,block:Ee.block,htmlState:Ee.htmlState&&t.copyState(a,Ee.htmlState),indentation:Ee.indentation,localMode:Ee.localMode,localState:Ee.localMode?t.copyState(Ee.localMode,Ee.localState):null,inline:Ee.inline,text:Ee.text,formatting:!1,linkText:Ee.linkText,linkTitle:Ee.linkTitle,linkHref:Ee.linkHref,code:Ee.code,em:Ee.em,strong:Ee.strong,strikethrough:Ee.strikethrough,emoji:Ee.emoji,header:Ee.header,setext:Ee.setext,hr:Ee.hr,taskList:Ee.taskList,list:Ee.list,listStack:Ee.listStack.slice(0),quote:Ee.quote,indentedCode:Ee.indentedCode,trailingSpace:Ee.trailingSpace,trailingSpaceNewLine:Ee.trailingSpaceNewLine,md_inside:Ee.md_inside,fencedEndRE:Ee.fencedEndRE}},token:function(Ee,we){if(we.formatting=!1,Ee!=we.thisLine.stream){if(we.header=0,we.hr=!1,Ee.match(/^\s*$/,!0))return V(we),null;if(we.prevLine=we.thisLine,we.thisLine={stream:Ee},we.taskList=!1,we.trailingSpace=0,we.trailingSpaceNewLine=!1,!we.localState&&(we.f=we.block,we.f!=J)){var lt=Ee.match(/^\s*/,!0)[0].replace(/\t/g,L).length;if(we.indentation=lt,we.indentationDiff=null,lt>0)return null}}return we.f(Ee,we)},innerMode:function(Ee){return Ee.block==J?{state:Ee.htmlState,mode:a}:Ee.localState?{state:Ee.localState,mode:Ee.localMode}:{state:Ee,mode:Ue}},indent:function(Ee,we,lt){return Ee.block==J&&a.indent?a.indent(Ee.htmlState,we,lt):Ee.localState&&Ee.localMode.indent?Ee.localMode.indent(Ee.localState,we,lt):t.Pass},blankLine:V,getType:ue,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Ue},"xml"),t.defineMIME("text/markdown","markdown"),t.defineMIME("text/x-markdown","markdown")})})();var zB=VLe.exports;const ULe=Fd(zB),qLe=jR({__proto__:null,default:ULe},[zB]),$B={Control:"meta",Command:"meta"},SM=["meta","shift","alt","backspace","delete","tab","capslock","enter","home","end"],V8=new Set([]),I0={};document.body.addEventListener("keydown",n=>{n.repeat||!n.key||(V8.add(WLe(n)),GLe(n))});document.body.addEventListener("keyup",n=>{n.repeat||!n.key||V8.clear()});function _a(n,e,t=Oe(document.body)){const i=(o,a)=>{if(!t.value)return;const r=t.value instanceof HTMLElement?t.value:t.value.$el;return document.activeElement===r||r.contains(document.activeElement)||document.activeElement===document.body?(o.preventDefault(),e(o,a)):!1};Yr(()=>{[n].flat().forEach(o=>{var a;o in I0?(a=I0[o])==null||a.unshift(i):I0[o]=[i]})}),Dl(()=>{[n].flat().forEach(o=>{const a=I0[o];if(a){const r=a.filter(l=>l!==i);I0[o]=r,r.length===0&&delete I0[o]}})})}function WLe(n){const e=/^[a-zA-Z0-9]*?$/g;let t=n.key.match(e)===null?n.code.replace(/(Key|Digit)/g,""):n.key;return t=$B[t]??t,t=t.toLowerCase(),t}function GLe(n){Object.entries(I0).forEach(([e,t])=>{var o;const i=e.split("+");for(e of V8)if(i.includes(e)===!1)return;for(e of i)if(V8.has(e)===!1)return;for(let a=0;a<t.length;a++){let r=!1;if((o=t[a])==null||o.call(t,n,()=>{r=!0}),typeof r=="boolean"&&r)break}})}const YLe=(n,e)=>e?n?100-n/Number(e)*100:100:null;function Kp(n){return navigator.platform.toLowerCase().startsWith("mac")||navigator.platform.startsWith("iP")?n.map(t=>t==="meta"?"⌘":t==="option"?"⌥":t==="shift"?"⇧":t==="alt"?"⌥":et.capitalize(t)).join(""):n.map(t=>t==="meta"?"Ctrl":et.capitalize(t)).join("+")}const XLe={heading(n,{cursorTo:e},t){const i=(t==null?void 0:t.level)||3;let o=n;const a=e,r="#".repeat(i)+" ";return n.startsWith(r)?o=n.substring(r.length):(o=`${r}${n}`,a.ch=a.ch+r.length),{newSelection:o,newCursor:a}},bold(n,{cursorTo:e}){let t=n;const i=e;return n.startsWith("**")&&n.endsWith("**")?t=n.substring(2,n.length-2):(t=`**${n}**`,i.ch=i.ch+2),{newSelection:t,newCursor:i}},italic(n,{cursorTo:e}){let t=n;const i=e;return n.startsWith("*")&&n.endsWith("*")?t=n.substring(1,n.length-1):(t=`*${n}*`,i.ch=i.ch+1),{newSelection:t,newCursor:i}},strikethrough(n,{cursorTo:e}){let t=n;const i=e;return n.startsWith("~~")&&n.endsWith("~~")?t=n.substring(2,n.length-2):(t=`~~${n}~~`,i.ch=i.ch+2),{newSelection:t,newCursor:i}},listBulleted(n,{cursorTo:e}){let t=n;const i=e,o=n.split(`
667
667
  `);return o.every(r=>r.startsWith("- "))?t=o.map(r=>r.substring(2)).join(`
668
668
  `):t=o.map(r=>`- ${r}`).join(`
669
669
  `),n||(i.ch=i.ch+2),{newSelection:t,newCursor:i}},listNumbered(n,{cursorTo:e}){let t=n;const i=e,o=n.split(`
@@ -4216,5 +4216,5 @@ button.emoji-picker__category-button.active {
4216
4216
 
4217
4217
  .fad.fa-inverse {
4218
4218
  color: #fff;
4219
- }`;if(t!==n||i!==e){var a=new RegExp("\\.".concat(n,"\\-"),"g"),r=new RegExp("\\--".concat(n,"\\-"),"g"),l=new RegExp("\\.".concat(e),"g");o=o.replace(a,".".concat(t,"-")).replace(r,"--".concat(t,"-")).replace(l,".".concat(i))}return o}()),gR=!0)}function dEt(n,e){return Object.defineProperty(n,"abstract",{get:e}),Object.defineProperty(n,"html",{get:function(){return n.abstract.map(function(t){return fY(t)})}}),Object.defineProperty(n,"node",{get:function(){if(QD){var t=of.createElement("div");return t.innerHTML=n.html,t.children}}}),n}function mR(n){var e=n.prefix,t=e===void 0?"fa":e,i=n.iconName;if(i)return pR(hY.definitions,t,i)||pR(qh.styles,t,i)}var vR,hY=new(function(){function n(){(function(i,o){if(!(i instanceof o))throw new TypeError("Cannot call a class as a function")})(this,n),this.definitions={}}var e,t;return e=n,(t=[{key:"add",value:function(){for(var i=this,o=arguments.length,a=new Array(o),r=0;r<o;r++)a[r]=arguments[r];var l=a.reduce(this._pullDefinitions,{});Object.keys(l).forEach(function(s){i.definitions[s]=us({},i.definitions[s]||{},l[s]),uY(s,l[s]),dY()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(i,o){var a=o.prefix&&o.iconName&&o.icon?{0:o}:o;return Object.keys(a).map(function(r){var l=a[r],s=l.prefix,u=l.iconName,d=l.icon;i[s]||(i[s]={}),i[s][u]=d}),i}}])&&nEt(e.prototype,t),n}()),gR=!1,Rf=(vR=function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=e.transform,i=t===void 0?C3:t,o=e.symbol,a=o!==void 0&&o,r=e.mask,l=r===void 0?null:r,s=e.maskId,u=s===void 0?null:s,d=e.title,g=d===void 0?null:d,m=e.titleId,_=m===void 0?null:m,x=e.classes,S=x===void 0?[]:x,A=e.attributes,F=A===void 0?{}:A,C=e.styles,L=C===void 0?{}:C;if(n){var w=n.prefix,$=n.iconName,B=n.icon;return dEt(us({type:"icon"},n),function(){return uEt(),A1.autoA11y&&(g?F["aria-labelledby"]="".concat(A1.replacementClass,"-title-").concat(_||v8()):(F["aria-hidden"]="true",F.focusable="false")),lEt({icons:{main:hR(B),mask:l?hR(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:$,transform:us({},C3,i),symbol:a,title:g,maskId:u,titleId:_,extra:{attributes:F,styles:L,classes:S}})})}},function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=(n||{}).icon?n:mR(n||{}),i=e.mask;return i&&(i=(i||{}).icon?i:mR(i||{})),vR(t,us({},e,{mask:i}))});hY.add({prefix:"far",iconName:"building",icon:[448,512,[],"f1ad","M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"]},{prefix:"fas",iconName:"cat",icon:[512,512,[],"f6be","M290.59 192c-20.18 0-106.82 1.98-162.59 85.95V192c0-52.94-43.06-96-96-96-17.67 0-32 14.33-32 32s14.33 32 32 32c17.64 0 32 14.36 32 32v256c0 35.3 28.7 64 64 64h176c8.84 0 16-7.16 16-16v-16c0-17.67-14.33-32-32-32h-32l128-96v144c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V289.86c-10.29 2.67-20.89 4.54-32 4.54-61.81 0-113.52-44.05-125.41-102.4zM448 96h-64l-64-64v134.4c0 53.02 42.98 96 96 96s96-42.98 96-96V32l-64 64zm-72 80c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zm80 0c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16z"]},{prefix:"fas",iconName:"coffee",icon:[640,512,[],"f0f4","M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z"]},{prefix:"far",iconName:"flag",icon:[512,512,[],"f024","M336.174 80c-49.132 0-93.305-32-161.913-32-31.301 0-58.303 6.482-80.721 15.168a48.04 48.04 0 0 0 2.142-20.727C93.067 19.575 74.167 1.594 51.201.104 23.242-1.71 0 20.431 0 48c0 17.764 9.657 33.262 24 41.562V496c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-83.443C109.869 395.28 143.259 384 199.826 384c49.132 0 93.305 32 161.913 32 58.479 0 101.972-22.617 128.548-39.981C503.846 367.161 512 352.051 512 335.855V95.937c0-34.459-35.264-57.768-66.904-44.117C409.193 67.309 371.641 80 336.174 80zM464 336c-21.783 15.412-60.824 32-102.261 32-59.945 0-102.002-32-161.913-32-43.361 0-96.379 9.403-127.826 24V128c21.784-15.412 60.824-32 102.261-32 59.945 0 102.002 32 161.913 32 43.271 0 96.32-17.366 127.826-32v240z"]},{prefix:"far",iconName:"frown",icon:[496,512,[],"f119","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-80 128c-40.2 0-78 17.7-103.8 48.6-8.5 10.2-7.1 25.3 3.1 33.8 10.2 8.4 25.3 7.1 33.8-3.1 16.6-19.9 41-31.4 66.9-31.4s50.3 11.4 66.9 31.4c8.1 9.7 23.1 11.9 33.8 3.1 10.2-8.5 11.5-23.6 3.1-33.8C326 321.7 288.2 304 248 304z"]},{prefix:"fas",iconName:"futbol",icon:[512,512,[],"f1e3","M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-48 0l-.003-.282-26.064 22.741-62.679-58.5 16.454-84.355 34.303 3.072c-24.889-34.216-60.004-60.089-100.709-73.141l13.651 31.939L256 139l-74.953-41.525 13.651-31.939c-40.631 13.028-75.78 38.87-100.709 73.141l34.565-3.073 16.192 84.355-62.678 58.5-26.064-22.741-.003.282c0 43.015 13.497 83.952 38.472 117.991l7.704-33.897 85.138 10.447 36.301 77.826-29.902 17.786c40.202 13.122 84.29 13.148 124.572 0l-29.902-17.786 36.301-77.826 85.138-10.447 7.704 33.897C442.503 339.952 456 299.015 456 256zm-248.102 69.571l-29.894-91.312L256 177.732l77.996 56.527-29.622 91.312h-96.476z"]},{prefix:"fas",iconName:"history",icon:[512,512,[],"f1da","M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"]},{prefix:"fas",iconName:"icons",icon:[512,512,[],"f86d","M116.65 219.35a15.68 15.68 0 0 0 22.65 0l96.75-99.83c28.15-29 26.5-77.1-4.91-103.88C203.75-7.7 163-3.5 137.86 22.44L128 32.58l-9.85-10.14C93.05-3.5 52.25-7.7 24.86 15.64c-31.41 26.78-33 74.85-5 103.88zm143.92 100.49h-48l-7.08-14.24a27.39 27.39 0 0 0-25.66-17.78h-71.71a27.39 27.39 0 0 0-25.66 17.78l-7 14.24h-48A27.45 27.45 0 0 0 0 347.3v137.25A27.44 27.44 0 0 0 27.43 512h233.14A27.45 27.45 0 0 0 288 484.55V347.3a27.45 27.45 0 0 0-27.43-27.46zM144 468a52 52 0 1 1 52-52 52 52 0 0 1-52 52zm355.4-115.9h-60.58l22.36-50.75c2.1-6.65-3.93-13.21-12.18-13.21h-75.59c-6.3 0-11.66 3.9-12.5 9.1l-16.8 106.93c-1 6.3 4.88 11.89 12.5 11.89h62.31l-24.2 83c-1.89 6.65 4.2 12.9 12.23 12.9a13.26 13.26 0 0 0 10.92-5.25l92.4-138.91c4.88-6.91-1.16-15.7-10.87-15.7zM478.08.33L329.51 23.17C314.87 25.42 304 38.92 304 54.83V161.6a83.25 83.25 0 0 0-16-1.7c-35.35 0-64 21.48-64 48s28.65 48 64 48c35.2 0 63.73-21.32 64-47.66V99.66l112-17.22v47.18a83.25 83.25 0 0 0-16-1.7c-35.35 0-64 21.48-64 48s28.65 48 64 48c35.2 0 63.73-21.32 64-47.66V32c0-19.48-16-34.42-33.92-31.67z"]},{prefix:"far",iconName:"lightbulb",icon:[352,512,[],"f0eb","M176 80c-52.94 0-96 43.06-96 96 0 8.84 7.16 16 16 16s16-7.16 16-16c0-35.3 28.72-64 64-64 8.84 0 16-7.16 16-16s-7.16-16-16-16zM96.06 459.17c0 3.15.93 6.22 2.68 8.84l24.51 36.84c2.97 4.46 7.97 7.14 13.32 7.14h78.85c5.36 0 10.36-2.68 13.32-7.14l24.51-36.84c1.74-2.62 2.67-5.7 2.68-8.84l.05-43.18H96.02l.04 43.18zM176 0C73.72 0 0 82.97 0 176c0 44.37 16.45 84.85 43.56 115.78 16.64 18.99 42.74 58.8 52.42 92.16v.06h48v-.12c-.01-4.77-.72-9.51-2.15-14.07-5.59-17.81-22.82-64.77-62.17-109.67-20.54-23.43-31.52-53.15-31.61-84.14-.2-73.64 59.67-128 127.95-128 70.58 0 128 57.42 128 128 0 30.97-11.24 60.85-31.65 84.14-39.11 44.61-56.42 91.47-62.1 109.46a47.507 47.507 0 0 0-2.22 14.3v.1h48v-.05c9.68-33.37 35.78-73.18 52.42-92.16C335.55 260.85 352 220.37 352 176 352 78.8 273.2 0 176 0z"]},{prefix:"fas",iconName:"music",icon:[512,512,[],"f001","M470.38 1.51L150.41 96A32 32 0 0 0 128 126.51v261.41A139 139 0 0 0 96 384c-53 0-96 28.66-96 64s43 64 96 64 96-28.66 96-64V214.32l256-75v184.61a138.4 138.4 0 0 0-32-3.93c-53 0-96 28.66-96 64s43 64 96 64 96-28.65 96-64V32a32 32 0 0 0-41.62-30.49z"]},{prefix:"fas",iconName:"search",icon:[512,512,[],"f002","M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"]},{prefix:"far",iconName:"smile",icon:[496,512,[],"f118","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"]},{prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},{prefix:"fas",iconName:"user",icon:[448,512,[],"f007","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"]});const fEt=Rf({prefix:"far",iconName:"building"}).html[0],pEt=Rf({prefix:"fas",iconName:"cat"}).html[0],hEt=Rf({prefix:"fas",iconName:"coffee"}).html[0],mEt=Rf({prefix:"far",iconName:"flag"}).html[0],vEt=Rf({prefix:"fas",iconName:"futbol"}).html[0],gEt=Rf({prefix:"far",iconName:"frown"}).html[0],yEt=Rf({prefix:"fas",iconName:"history"}).html[0],_Et=Rf({prefix:"fas",iconName:"icons"}).html[0],bEt=Rf({prefix:"far",iconName:"lightbulb"}).html[0],xEt=Rf({prefix:"fas",iconName:"music"}).html[0],_k=Rf({prefix:"fas",iconName:"search"}).html[0],JS=Rf({prefix:"far",iconName:"smile"}).html[0],wEt=Rf({prefix:"fas",iconName:"times"}).html[0],kEt=Rf({prefix:"fas",iconName:"user"}).html[0];function S3(n){const e=document.createElement("img");return e.src=n,e}function QS(){const n=localStorage.getItem("emojiPicker.recent");return(n?JSON.parse(n):[]).filter(e=>!!e.emoji)}class eE{constructor(e,t,i,o,a,r=!0){this.emoji=e,this.showVariants=t,this.showPreview=i,this.events=o,this.options=a,this.lazy=r}render(){this.emojiButton=Sl("button",b1);let e=this.emoji.emoji;return this.emoji.custom?e=this.lazy?JS:`<img class="emoji-picker__custom-emoji" src="${Ay(this.emoji.emoji)}">`:this.options.style==="twemoji"&&(e=this.lazy?JS:V9.parse(this.emoji.emoji,this.options.twemojiOptions)),this.emojiButton.innerHTML=e,this.emojiButton.tabIndex=-1,this.emojiButton.dataset.emoji=this.emoji.emoji,this.emoji.custom&&(this.emojiButton.dataset.custom="true"),this.emojiButton.title=this.emoji.name,this.emojiButton.addEventListener("focus",()=>this.onEmojiHover()),this.emojiButton.addEventListener("blur",()=>this.onEmojiLeave()),this.emojiButton.addEventListener("click",()=>this.onEmojiClick()),this.emojiButton.addEventListener("mouseover",()=>this.onEmojiHover()),this.emojiButton.addEventListener("mouseout",()=>this.onEmojiLeave()),this.options.style==="twemoji"&&this.lazy&&(this.emojiButton.style.opacity="0.25"),this.emojiButton}onEmojiClick(){this.emoji.variations&&this.showVariants&&this.options.showVariants||!this.options.showRecents||function(e,t){const i=QS(),o={emoji:e.emoji,name:e.name,key:e.key||e.name,custom:e.custom};localStorage.setItem("emojiPicker.recent",JSON.stringify([o,...i.filter(a=>!!a.emoji&&a.key!==o.key)].slice(0,t.recentsCount)))}(this.emoji,this.options),this.events.emit("emoji",{emoji:this.emoji,showVariants:this.showVariants,button:this.emojiButton})}onEmojiHover(){this.showPreview&&this.events.emit("showPreview",this.emoji)}onEmojiLeave(){this.showPreview&&this.events.emit("hidePreview")}}class tE{constructor(e,t,i,o,a=!0){this.showVariants=t,this.events=i,this.options=o,this.lazy=a,this.emojis=e.filter(r=>!r.version||parseFloat(r.version)<=parseFloat(o.emojiVersion))}render(){const e=Sl("div","emoji-picker__container");return this.emojis.forEach(t=>e.appendChild(new eE(t,this.showVariants,!0,this.events,this.options,this.lazy).render())),e}}var CEt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bk,SEt=(function(n){var e,t;e=CEt,t=function(){var i=typeof window>"u",o=new Map,a=new Map,r=[];r.total=0;var l=[],s=[];function u(){o.clear(),a.clear(),l=[],s=[]}function d(S){for(var A=-9007199254740991,F=S.length-1;F>=0;--F){var C=S[F];if(C!==null){var L=C.score;L>A&&(A=L)}}return A===-9007199254740991?null:A}function g(S,A){var F=S[A];if(F!==void 0)return F;var C=A;Array.isArray(A)||(C=A.split("."));for(var L=C.length,w=-1;S&&++w<L;)S=S[C[w]];return S}function m(S){return typeof S=="object"}var _=function(){var S=[],A=0,F={};function C(){for(var L=0,w=S[L],$=1;$<A;){var B=$+1;L=$,B<A&&S[B].score<S[$].score&&(L=B),S[L-1>>1]=S[L],$=1+(L<<1)}for(var V=L-1>>1;L>0&&w.score<S[V].score;V=(L=V)-1>>1)S[L]=S[V];S[L]=w}return F.add=function(L){var w=A;S[A++]=L;for(var $=w-1>>1;w>0&&L.score<S[$].score;$=(w=$)-1>>1)S[w]=S[$];S[w]=L},F.poll=function(){if(A!==0){var L=S[0];return S[0]=S[--A],C(),L}},F.peek=function(L){if(A!==0)return S[0]},F.replaceTop=function(L){S[0]=L,C()},F},x=_();return function S(A){var F={single:function(C,L,w){return C?(m(C)||(C=F.getPreparedSearch(C)),L?(m(L)||(L=F.getPrepared(L)),((w&&w.allowTypo!==void 0?w.allowTypo:!A||A.allowTypo===void 0||A.allowTypo)?F.algorithm:F.algorithmNoTypo)(C,L,C[0])):null):null},go:function(C,L,w){if(!C)return r;var $=(C=F.prepareSearch(C))[0],B=w&&w.threshold||A&&A.threshold||-9007199254740991,V=w&&w.limit||A&&A.limit||9007199254740991,W=(w&&w.allowTypo!==void 0?w.allowTypo:!A||A.allowTypo===void 0||A.allowTypo)?F.algorithm:F.algorithmNoTypo,J=0,oe=0,ue=L.length;if(w&&w.keys)for(var be=w.scoreFn||d,ie=w.keys,fe=ie.length,Y=ue-1;Y>=0;--Y){for(var re=L[Y],ge=new Array(fe),he=fe-1;he>=0;--he)(Ue=g(re,je=ie[he]))?(m(Ue)||(Ue=F.getPrepared(Ue)),ge[he]=W(C,Ue,$)):ge[he]=null;ge.obj=re;var Ie=be(ge);Ie!==null&&(Ie<B||(ge.score=Ie,J<V?(x.add(ge),++J):(++oe,Ie>x.peek().score&&x.replaceTop(ge))))}else if(w&&w.key){var je=w.key;for(Y=ue-1;Y>=0;--Y)(Ue=g(re=L[Y],je))&&(m(Ue)||(Ue=F.getPrepared(Ue)),(Ee=W(C,Ue,$))!==null&&(Ee.score<B||(Ee={target:Ee.target,_targetLowerCodes:null,_nextBeginningIndexes:null,score:Ee.score,indexes:Ee.indexes,obj:re},J<V?(x.add(Ee),++J):(++oe,Ee.score>x.peek().score&&x.replaceTop(Ee)))))}else for(Y=ue-1;Y>=0;--Y){var Ue,Ee;(Ue=L[Y])&&(m(Ue)||(Ue=F.getPrepared(Ue)),(Ee=W(C,Ue,$))!==null&&(Ee.score<B||(J<V?(x.add(Ee),++J):(++oe,Ee.score>x.peek().score&&x.replaceTop(Ee)))))}if(J===0)return r;var we=new Array(J);for(Y=J-1;Y>=0;--Y)we[Y]=x.poll();return we.total=J+oe,we},goAsync:function(C,L,w){var $=!1,B=new Promise(function(V,W){if(!C)return V(r);var J=(C=F.prepareSearch(C))[0],oe=_(),ue=L.length-1,be=w&&w.threshold||A&&A.threshold||-9007199254740991,ie=w&&w.limit||A&&A.limit||9007199254740991,fe=(w&&w.allowTypo!==void 0?w.allowTypo:!A||A.allowTypo===void 0||A.allowTypo)?F.algorithm:F.algorithmNoTypo,Y=0,re=0;function ge(){if($)return W("canceled");var he=Date.now();if(w&&w.keys)for(var Ie=w.scoreFn||d,je=w.keys,Ue=je.length;ue>=0;--ue){for(var Ee=L[ue],we=new Array(Ue),lt=Ue-1;lt>=0;--lt)(vt=g(Ee,yt=je[lt]))?(m(vt)||(vt=F.getPrepared(vt)),we[lt]=fe(C,vt,J)):we[lt]=null;we.obj=Ee;var pt=Ie(we);if(pt!==null&&!(pt<be)&&(we.score=pt,Y<ie?(oe.add(we),++Y):(++re,pt>oe.peek().score&&oe.replaceTop(we)),ue%1e3==0&&Date.now()-he>=10))return void(i?setImmediate(ge):setTimeout(ge))}else if(w&&w.key){for(var yt=w.key;ue>=0;--ue)if((vt=g(Ee=L[ue],yt))&&(m(vt)||(vt=F.getPrepared(vt)),(ht=fe(C,vt,J))!==null&&!(ht.score<be)&&(ht={target:ht.target,_targetLowerCodes:null,_nextBeginningIndexes:null,score:ht.score,indexes:ht.indexes,obj:Ee},Y<ie?(oe.add(ht),++Y):(++re,ht.score>oe.peek().score&&oe.replaceTop(ht)),ue%1e3==0&&Date.now()-he>=10)))return void(i?setImmediate(ge):setTimeout(ge))}else for(;ue>=0;--ue){var vt,ht;if((vt=L[ue])&&(m(vt)||(vt=F.getPrepared(vt)),(ht=fe(C,vt,J))!==null&&!(ht.score<be)&&(Y<ie?(oe.add(ht),++Y):(++re,ht.score>oe.peek().score&&oe.replaceTop(ht)),ue%1e3==0&&Date.now()-he>=10)))return void(i?setImmediate(ge):setTimeout(ge))}if(Y===0)return V(r);for(var rt=new Array(Y),St=Y-1;St>=0;--St)rt[St]=oe.poll();rt.total=Y+re,V(rt)}i?setImmediate(ge):ge()});return B.cancel=function(){$=!0},B},highlight:function(C,L,w){if(C===null)return null;L===void 0&&(L="<b>"),w===void 0&&(w="</b>");for(var $="",B=0,V=!1,W=C.target,J=W.length,oe=C.indexes,ue=0;ue<J;++ue){var be=W[ue];if(oe[B]===ue){if(V||(V=!0,$+=L),++B===oe.length){$+=be+w+W.substr(ue+1);break}}else V&&(V=!1,$+=w);$+=be}return $},prepare:function(C){if(C)return{target:C,_targetLowerCodes:F.prepareLowerCodes(C),_nextBeginningIndexes:null,score:null,indexes:null,obj:null}},prepareSlow:function(C){if(C)return{target:C,_targetLowerCodes:F.prepareLowerCodes(C),_nextBeginningIndexes:F.prepareNextBeginningIndexes(C),score:null,indexes:null,obj:null}},prepareSearch:function(C){if(C)return F.prepareLowerCodes(C)},getPrepared:function(C){if(C.length>999)return F.prepare(C);var L=o.get(C);return L!==void 0||(L=F.prepare(C),o.set(C,L)),L},getPreparedSearch:function(C){if(C.length>999)return F.prepareSearch(C);var L=a.get(C);return L!==void 0||(L=F.prepareSearch(C),a.set(C,L)),L},algorithm:function(C,L,w){for(var $=L._targetLowerCodes,B=C.length,V=$.length,W=0,J=0,oe=0,ue=0;;){if(w===$[J]){if(l[ue++]=J,++W===B)break;w=C[oe===0?W:oe===W?W+1:oe===W-1?W-1:W]}if(++J>=V)for(;;){if(W<=1)return null;if(oe===0){if(w===C[--W])continue;oe=W}else{if(oe===1)return null;if((w=C[1+(W=--oe)])===C[W])continue}J=l[(ue=W)-1]+1;break}}W=0;var be=0,ie=!1,fe=0,Y=L._nextBeginningIndexes;Y===null&&(Y=L._nextBeginningIndexes=F.prepareNextBeginningIndexes(L.target));var re=J=l[0]===0?0:Y[l[0]-1];if(J!==V)for(;;)if(J>=V){if(W<=0){if(++be>B-2)break;if(C[be]===C[be+1])continue;J=re;continue}--W,J=Y[s[--fe]]}else if(C[be===0?W:be===W?W+1:be===W-1?W-1:W]===$[J]){if(s[fe++]=J,++W===B){ie=!0;break}++J}else J=Y[J];if(ie)var ge=s,he=fe;else ge=l,he=ue;for(var Ie=0,je=-1,Ue=0;Ue<B;++Ue)je!==(J=ge[Ue])-1&&(Ie-=J),je=J;for(ie?be!==0&&(Ie+=-20):(Ie*=1e3,oe!==0&&(Ie+=-20)),Ie-=V-B,L.score=Ie,L.indexes=new Array(he),Ue=he-1;Ue>=0;--Ue)L.indexes[Ue]=ge[Ue];return L},algorithmNoTypo:function(C,L,w){for(var $=L._targetLowerCodes,B=C.length,V=$.length,W=0,J=0,oe=0;;){if(w===$[J]){if(l[oe++]=J,++W===B)break;w=C[W]}if(++J>=V)return null}W=0;var ue=!1,be=0,ie=L._nextBeginningIndexes;if(ie===null&&(ie=L._nextBeginningIndexes=F.prepareNextBeginningIndexes(L.target)),(J=l[0]===0?0:ie[l[0]-1])!==V)for(;;)if(J>=V){if(W<=0)break;--W,J=ie[s[--be]]}else if(C[W]===$[J]){if(s[be++]=J,++W===B){ue=!0;break}++J}else J=ie[J];if(ue)var fe=s,Y=be;else fe=l,Y=oe;for(var re=0,ge=-1,he=0;he<B;++he)ge!==(J=fe[he])-1&&(re-=J),ge=J;for(ue||(re*=1e3),re-=V-B,L.score=re,L.indexes=new Array(Y),he=Y-1;he>=0;--he)L.indexes[he]=fe[he];return L},prepareLowerCodes:function(C){for(var L=C.length,w=[],$=C.toLowerCase(),B=0;B<L;++B)w[B]=$.charCodeAt(B);return w},prepareBeginningIndexes:function(C){for(var L=C.length,w=[],$=0,B=!1,V=!1,W=0;W<L;++W){var J=C.charCodeAt(W),oe=J>=65&&J<=90,ue=oe||J>=97&&J<=122||J>=48&&J<=57,be=oe&&!B||!V||!ue;B=oe,V=ue,be&&(w[$++]=W)}return w},prepareNextBeginningIndexes:function(C){for(var L=C.length,w=F.prepareBeginningIndexes(C),$=[],B=w[0],V=0,W=0;W<L;++W)B>W?$[W]=B:(B=w[++V],$[W]=B===void 0?L:B);return $},cleanup:u,new:S};return F}()},n.exports?n.exports=t():e.fuzzysort=t()}(bk={exports:{}},bk.exports),bk.exports);class EEt{constructor(e,t){this.message=e,this.iconUrl=t}render(){const e=Sl("div","emoji-picker__search-not-found"),t=Sl("div","emoji-picker__search-not-found-icon");this.iconUrl?t.appendChild(S3(this.iconUrl)):t.innerHTML=gEt,e.appendChild(t);const i=Sl("h2");return i.innerHTML=Ay(this.message),e.appendChild(i),e}}class AEt{constructor(e,t,i,o,a){if(this.events=e,this.i18n=t,this.options=i,this.focusedEmojiIndex=0,this.emojisPerRow=this.options.emojisPerRow||8,this.emojiData=o.filter(r=>r.version&&parseFloat(r.version)<=parseFloat(i.emojiVersion)&&r.category!==void 0&&a.indexOf(r.category)>=0),this.options.custom){const r=this.options.custom.map(l=>Object.assign(Object.assign({},l),{custom:!0}));this.emojiData=[...this.emojiData,...r]}this.events.on("hideVariantPopup",()=>{setTimeout(()=>this.setFocusedEmoji(this.focusedEmojiIndex))})}render(){return this.searchContainer=Sl("div","emoji-picker__search-container"),this.searchField=Sl("input","emoji-picker__search"),this.searchField.placeholder=this.i18n.search,this.searchContainer.appendChild(this.searchField),this.searchIcon=Sl("span","emoji-picker__search-icon"),this.options.icons&&this.options.icons.search?this.searchIcon.appendChild(S3(this.options.icons.search)):this.searchIcon.innerHTML=_k,this.searchIcon.addEventListener("click",e=>this.onClearSearch(e)),this.searchContainer.appendChild(this.searchIcon),this.searchField.addEventListener("keydown",e=>this.onKeyDown(e)),this.searchField.addEventListener("keyup",e=>this.onKeyUp(e)),this.searchContainer}clear(){this.searchField.value=""}focus(){this.searchField.focus()}onClearSearch(e){e.stopPropagation(),this.searchField.value&&(this.searchField.value="",this.resultsContainer=null,this.options.icons&&this.options.icons.search?(N3(this.searchIcon),this.searchIcon.appendChild(S3(this.options.icons.search))):this.searchIcon.innerHTML=_k,this.searchIcon.style.cursor="default",this.events.emit("hideSearchResults"),setTimeout(()=>this.searchField.focus()))}setFocusedEmoji(e){if(this.resultsContainer){const t=this.resultsContainer.querySelectorAll("."+b1);t[this.focusedEmojiIndex].tabIndex=-1,this.focusedEmojiIndex=e;const i=t[this.focusedEmojiIndex];i.tabIndex=0,i.focus()}}handleResultsKeydown(e){if(this.resultsContainer){const t=this.resultsContainer.querySelectorAll("."+b1);e.key==="ArrowRight"?this.setFocusedEmoji(Math.min(this.focusedEmojiIndex+1,t.length-1)):e.key==="ArrowLeft"?this.setFocusedEmoji(Math.max(0,this.focusedEmojiIndex-1)):e.key==="ArrowDown"?(e.preventDefault(),this.focusedEmojiIndex<t.length-this.emojisPerRow&&this.setFocusedEmoji(this.focusedEmojiIndex+this.emojisPerRow)):e.key==="ArrowUp"?(e.preventDefault(),this.focusedEmojiIndex>=this.emojisPerRow&&this.setFocusedEmoji(this.focusedEmojiIndex-this.emojisPerRow)):e.key==="Escape"&&this.onClearSearch(e)}}onKeyDown(e){e.key==="Escape"&&this.searchField.value&&this.onClearSearch(e)}onKeyUp(e){if(e.key!=="Tab"&&e.key!=="Shift")if(this.searchField.value){this.options.icons&&this.options.icons.clearSearch?(N3(this.searchIcon),this.searchIcon.appendChild(S3(this.options.icons.clearSearch))):this.searchIcon.innerHTML=wEt,this.searchIcon.style.cursor="pointer";const t=SEt.go(this.searchField.value,this.emojiData,{allowTypo:!0,limit:100,key:"name"}).map(i=>i.obj);this.events.emit("hidePreview"),t.length?(this.resultsContainer=new tE(t,!0,this.events,this.options,!1).render(),this.resultsContainer&&(this.resultsContainer.querySelector("."+b1).tabIndex=0,this.focusedEmojiIndex=0,this.resultsContainer.addEventListener("keydown",i=>this.handleResultsKeydown(i)),this.events.emit("showSearchResults",this.resultsContainer))):this.events.emit("showSearchResults",new EEt(this.i18n.notFound,this.options.icons&&this.options.icons.notFound).render())}else this.options.icons&&this.options.icons.search?(N3(this.searchIcon),this.searchIcon.appendChild(S3(this.options.icons.search))):this.searchIcon.innerHTML=_k,this.searchIcon.style.cursor="default",this.events.emit("hideSearchResults")}}class TEt{constructor(e,t,i){this.events=e,this.emoji=t,this.options=i,this.focusedEmojiIndex=0}getEmoji(e){return this.popup.querySelectorAll("."+b1)[e]}setFocusedEmoji(e){this.getEmoji(this.focusedEmojiIndex).tabIndex=-1,this.focusedEmojiIndex=e;const t=this.getEmoji(this.focusedEmojiIndex);t.tabIndex=0,t.focus()}render(){this.popup=Sl("div","emoji-picker__variant-popup");const e=Sl("div","emoji-picker__variant-overlay");e.addEventListener("click",i=>{i.stopPropagation(),this.popup.contains(i.target)||this.events.emit("hideVariantPopup")}),this.popup.appendChild(new eE(this.emoji,!1,!1,this.events,this.options,!1).render()),(this.emoji.variations||[]).forEach((i,o)=>this.popup.appendChild(new eE({name:this.emoji.name,emoji:i,key:this.emoji.name+o},!1,!1,this.events,this.options,!1).render()));const t=this.popup.querySelector("."+b1);return this.focusedEmojiIndex=0,t.tabIndex=0,setTimeout(()=>t.focus()),this.popup.addEventListener("keydown",i=>{i.key==="ArrowRight"?this.setFocusedEmoji(Math.min(this.focusedEmojiIndex+1,this.popup.querySelectorAll("."+b1).length-1)):i.key==="ArrowLeft"?this.setFocusedEmoji(Math.max(this.focusedEmojiIndex-1,0)):i.key==="Escape"&&(i.stopPropagation(),this.events.emit("hideVariantPopup"))}),e.appendChild(this.popup),e}}const mY={search:"Search emojis...",categories:{recents:"Recent Emojis",smileys:"Smileys & Emotion",people:"People & Body",animals:"Animals & Nature",food:"Food & Drink",activities:"Activities",travel:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},notFound:"No emojis found"},DEt={recents:yEt,smileys:JS,people:kEt,animals:pEt,food:hEt,activities:vEt,travel:fEt,objects:bEt,symbols:xEt,flags:mEt,custom:_Et};class LEt{constructor(e,t,i){this.options=e,this.events=t,this.i18n=i,this.activeButton=0,this.buttons=[]}render(){var e;const t=Sl("div","emoji-picker__category-buttons"),i=this.options.categories||((e=this.options.emojiData)===null||e===void 0?void 0:e.categories)||$3.categories;let o=this.options.showRecents?["recents",...i]:i;return this.options.custom&&(o=[...o,"custom"]),o.forEach(a=>{const r=Sl("button","emoji-picker__category-button");this.options.icons&&this.options.icons.categories&&this.options.icons.categories[a]?r.appendChild(S3(this.options.icons.categories[a])):r.innerHTML=DEt[a],r.tabIndex=-1,r.title=this.i18n.categories[a],t.appendChild(r),this.buttons.push(r),r.addEventListener("click",()=>{this.events.emit("categoryClicked",a)})}),t.addEventListener("keydown",a=>{switch(a.key){case"ArrowRight":this.events.emit("categoryClicked",o[(this.activeButton+1)%this.buttons.length]);break;case"ArrowLeft":this.events.emit("categoryClicked",o[this.activeButton===0?this.buttons.length-1:this.activeButton-1]);break;case"ArrowUp":case"ArrowDown":a.stopPropagation(),a.preventDefault()}}),t}setActiveButton(e,t=!0){let i=this.buttons[this.activeButton];i.classList.remove("active"),i.tabIndex=-1,this.activeButton=e,i=this.buttons[this.activeButton],i.classList.add("active"),i.tabIndex=0,t&&i.focus()}}const yR=["recents","smileys","people","animals","food","activities","travel","objects","symbols","flags","custom"];class IEt{constructor(e,t,i,o){var a;this.events=e,this.i18n=t,this.options=i,this.emojiCategories=o,this.currentCategory=0,this.headers=[],this.focusedIndex=0,this.handleKeyDown=r=>{switch(this.emojis.removeEventListener("scroll",this.highlightCategory),r.key){case"ArrowRight":this.focusedEmoji.tabIndex=-1,this.focusedIndex===this.currentEmojiCount-1&&this.currentCategory<this.categories.length-1?(this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(++this.currentCategory),this.setFocusedEmoji(0)):this.focusedIndex<this.currentEmojiCount-1&&this.setFocusedEmoji(this.focusedIndex+1);break;case"ArrowLeft":this.focusedEmoji.tabIndex=-1,this.focusedIndex===0&&this.currentCategory>0?(this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(--this.currentCategory),this.setFocusedEmoji(this.currentEmojiCount-1)):this.setFocusedEmoji(Math.max(0,this.focusedIndex-1));break;case"ArrowDown":r.preventDefault(),this.focusedEmoji.tabIndex=-1,this.focusedIndex+this.emojisPerRow>=this.currentEmojiCount&&this.currentCategory<this.categories.length-1?(this.currentCategory++,this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory),this.setFocusedEmoji(Math.min(this.focusedIndex%this.emojisPerRow,this.currentEmojiCount-1))):this.currentEmojiCount-this.focusedIndex>this.emojisPerRow&&this.setFocusedEmoji(this.focusedIndex+this.emojisPerRow);break;case"ArrowUp":if(r.preventDefault(),this.focusedEmoji.tabIndex=-1,this.focusedIndex<this.emojisPerRow&&this.currentCategory>0){const l=this.getEmojiCount(this.currentCategory-1);let s=l%this.emojisPerRow;s===0&&(s=this.emojisPerRow);const u=this.focusedIndex,d=u>s-1?l-1:l-s+u;this.currentCategory--,this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory),this.setFocusedEmoji(d)}else this.setFocusedEmoji(this.focusedIndex>=this.emojisPerRow?this.focusedIndex-this.emojisPerRow:this.focusedIndex)}requestAnimationFrame(()=>this.emojis.addEventListener("scroll",this.highlightCategory))},this.addCategory=(r,l)=>{const s=Sl("h2","emoji-picker__category-name");s.innerHTML=Ay(this.i18n.categories[r]||mY.categories[r]),this.emojis.appendChild(s),this.headers.push(s),this.emojis.appendChild(new tE(l,!0,this.events,this.options,r!=="recents").render())},this.selectCategory=(r,l=!0)=>{this.emojis.removeEventListener("scroll",this.highlightCategory),this.focusedEmoji&&(this.focusedEmoji.tabIndex=-1);const s=this.categories.indexOf(r);this.currentCategory=s,this.setFocusedEmoji(0,!1),this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory,l);const u=this.headerOffsets[s];this.emojis.scrollTop=u,requestAnimationFrame(()=>this.emojis.addEventListener("scroll",this.highlightCategory))},this.highlightCategory=()=>{if(document.activeElement&&document.activeElement.classList.contains("emoji-picker__emoji"))return;let r=this.headerOffsets.findIndex(l=>l>=Math.round(this.emojis.scrollTop));this.emojis.scrollTop+this.emojis.offsetHeight===this.emojis.scrollHeight&&(r=-1),r===0?r=1:r<0&&(r=this.headerOffsets.length),this.headerOffsets[r]===this.emojis.scrollTop&&r++,this.currentCategory=r-1,this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory)},this.emojisPerRow=i.emojisPerRow||8,this.categories=((a=i.emojiData)===null||a===void 0?void 0:a.categories)||i.categories||$3.categories,i.showRecents&&(this.categories=["recents",...this.categories]),i.custom&&(this.categories=[...this.categories,"custom"]),this.categories.sort((r,l)=>yR.indexOf(r)-yR.indexOf(l))}updateRecents(){if(this.options.showRecents){this.emojiCategories.recents=QS();const e=this.emojis.querySelector(".emoji-picker__container");e&&e.parentNode&&e.parentNode.replaceChild(new tE(this.emojiCategories.recents,!0,this.events,this.options,!1).render(),e)}}render(){return this.container=Sl("div","emoji-picker__emoji-area"),this.options.showCategoryButtons&&(this.categoryButtons=new LEt(this.options,this.events,this.i18n),this.container.appendChild(this.categoryButtons.render())),this.emojis=Sl("div","emoji-picker__emojis"),this.options.showRecents&&(this.emojiCategories.recents=QS()),this.options.custom&&(this.emojiCategories.custom=this.options.custom.map(e=>Object.assign(Object.assign({},e),{custom:!0}))),this.categories.forEach(e=>this.addCategory(e,this.emojiCategories[e])),requestAnimationFrame(()=>{setTimeout(()=>{setTimeout(()=>this.emojis.addEventListener("scroll",this.highlightCategory))})}),this.emojis.addEventListener("keydown",this.handleKeyDown),this.events.on("categoryClicked",this.selectCategory),this.container.appendChild(this.emojis),this.container.querySelectorAll("."+b1)[0].tabIndex=0,this.container}reset(){this.headerOffsets=Array.prototype.map.call(this.headers,e=>e.offsetTop),this.selectCategory(this.options.initialCategory||"smileys",!1),this.currentCategory=this.categories.indexOf(this.options.initialCategory||"smileys"),this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory,!1)}get currentCategoryEl(){return this.emojis.querySelectorAll(".emoji-picker__container")[this.currentCategory]}get focusedEmoji(){return this.currentCategoryEl.querySelectorAll("."+b1)[this.focusedIndex]}get currentEmojiCount(){return this.currentCategoryEl.querySelectorAll("."+b1).length}getEmojiCount(e){return this.emojis.querySelectorAll(".emoji-picker__container")[e].querySelectorAll("."+b1).length}setFocusedEmoji(e,t=!0){this.focusedIndex=e,this.focusedEmoji&&(this.focusedEmoji.tabIndex=0,t&&this.focusedEmoji.focus())}}const MEt={position:"auto",autoHide:!0,autoFocusSearch:!0,showAnimation:!0,showPreview:!0,showSearch:!0,showRecents:!0,showVariants:!0,showCategoryButtons:!0,recentsCount:50,emojiData:$3,emojiVersion:"12.1",theme:"light",categories:["smileys","people","animals","food","activities","travel","objects","symbols","flags"],style:"native",twemojiOptions:{ext:".svg",folder:"svg"},emojisPerRow:8,rows:6,emojiSize:"1.8em",initialCategory:"smileys"};class FEt{constructor(e={}){this.events=new GS,this.publicEvents=new GS,this.pickerVisible=!1,this.options=Object.assign(Object.assign({},MEt),e),this.options.rootElement||(this.options.rootElement=document.body),this.i18n=Object.assign(Object.assign({},mY),e.i18n),this.onDocumentClick=this.onDocumentClick.bind(this),this.onDocumentKeydown=this.onDocumentKeydown.bind(this),this.theme=this.options.theme||"light",this.emojiCategories=function(t){const i={};return t.emoji.forEach(o=>{let a=i[t.categories[o.category||0]];a||(a=i[t.categories[o.category||0]]=[]),a.push(o)}),i}(this.options.emojiData||$3),this.buildPicker()}on(e,t){this.publicEvents.on(e,t)}off(e,t){this.publicEvents.off(e,t)}setStyleProperties(){this.options.showAnimation||this.pickerEl.style.setProperty("--animation-duration","0s"),this.options.emojisPerRow&&this.pickerEl.style.setProperty("--emoji-per-row",this.options.emojisPerRow.toString()),this.options.rows&&this.pickerEl.style.setProperty("--row-count",this.options.rows.toString()),this.options.emojiSize&&this.pickerEl.style.setProperty("--emoji-size",this.options.emojiSize),this.options.showCategoryButtons||this.pickerEl.style.setProperty("--category-button-height","0"),this.options.styleProperties&&Object.keys(this.options.styleProperties).forEach(e=>{this.options.styleProperties&&this.pickerEl.style.setProperty(e,this.options.styleProperties[e])})}showSearchResults(e){N3(this.pickerContent),e.classList.add("search-results"),this.pickerContent.appendChild(e)}hideSearchResults(){this.pickerContent.firstChild!==this.emojiArea.container&&(N3(this.pickerContent),this.pickerContent.appendChild(this.emojiArea.container)),this.emojiArea.reset()}emitEmoji({emoji:e,showVariants:t}){return RSt(this,void 0,void 0,function*(){if(e.variations&&t&&this.options.showVariants)this.showVariantPopup(e);else{let i;setTimeout(()=>this.emojiArea.updateRecents()),i=e.custom?this.emitCustomEmoji(e):this.options.style==="twemoji"?yield this.emitTwemoji(e):this.emitNativeEmoji(e),this.publicEvents.emit("emoji",i),this.options.autoHide&&this.hidePicker()}})}emitNativeEmoji(e){return{emoji:e.emoji,name:e.name}}emitCustomEmoji(e){return{url:e.emoji,name:e.name,custom:!0}}emitTwemoji(e){return new Promise(t=>{V9.parse(e.emoji,Object.assign(Object.assign({},this.options.twemojiOptions),{callback:(i,{base:o,size:a,ext:r})=>{const l=`${o}${a}/${i}${r}`;return t({url:l,emoji:e.emoji,name:e.name}),l}}))})}buildSearch(){var e;this.options.showSearch&&(this.search=new AEt(this.events,this.i18n,this.options,((e=this.options.emojiData)===null||e===void 0?void 0:e.emoji)||$3.emoji,(this.options.categories||[]).map(t=>(this.options.emojiData||$3).categories.indexOf(t))),this.pickerEl.appendChild(this.search.render()))}buildPreview(){this.options.showPreview&&this.pickerEl.appendChild(new tEt(this.events,this.options).render())}initPlugins(){if(this.options.plugins){const e=Sl("div","emoji-picker__plugin-container");this.options.plugins.forEach(t=>{if(!t.render)throw new Error('Emoji Button plugins must have a "render" function.');e.appendChild(t.render(this))}),this.pickerEl.appendChild(e)}}initFocusTrap(){this.focusTrap=jSt(this.pickerEl,{clickOutsideDeactivates:!0,initialFocus:this.options.showSearch&&this.options.autoFocusSearch?".emoji-picker__search":'.emoji-picker__emoji[tabindex="0"]'})}buildPicker(){this.pickerEl=Sl("div","emoji-picker"),this.pickerEl.classList.add(this.theme),this.setStyleProperties(),this.initFocusTrap(),this.pickerContent=Sl("div","emoji-picker__content"),this.initPlugins(),this.buildSearch(),this.pickerEl.appendChild(this.pickerContent),this.emojiArea=new IEt(this.events,this.i18n,this.options,this.emojiCategories),this.pickerContent.appendChild(this.emojiArea.render()),this.events.on("showSearchResults",this.showSearchResults.bind(this)),this.events.on("hideSearchResults",this.hideSearchResults.bind(this)),this.events.on("emoji",this.emitEmoji.bind(this)),this.buildPreview(),this.wrapper=Sl("div","emoji-picker__wrapper"),this.wrapper.appendChild(this.pickerEl),this.wrapper.style.display="none",this.options.zIndex&&(this.wrapper.style.zIndex=this.options.zIndex+""),this.options.rootElement&&this.options.rootElement.appendChild(this.wrapper),this.observeForLazyLoad()}showVariantPopup(e){const t=new TEt(this.events,e,this.options).render();t&&this.pickerEl.appendChild(t),this.events.on("hideVariantPopup",()=>{t&&(t.classList.add("hiding"),setTimeout(()=>{t&&this.pickerEl.removeChild(t)},175)),this.events.off("hideVariantPopup")})}observeForLazyLoad(){this.observer=new IntersectionObserver(this.handleIntersectionChange.bind(this),{root:this.emojiArea.emojis}),this.emojiArea.emojis.querySelectorAll("."+b1).forEach(e=>{this.shouldLazyLoad(e)&&this.observer.observe(e)})}handleIntersectionChange(e){Array.prototype.filter.call(e,t=>t.intersectionRatio>0).map(t=>t.target).forEach(t=>{eEt(t,this.options)})}shouldLazyLoad(e){return this.options.style==="twemoji"||e.dataset.custom==="true"}onDocumentClick(e){this.pickerEl.contains(e.target)||this.hidePicker()}destroyPicker(){this.events.off("emoji"),this.events.off("hideVariantPopup"),this.options.rootElement&&(this.options.rootElement.removeChild(this.wrapper),this.popper&&this.popper.destroy()),this.observer&&this.observer.disconnect(),this.options.plugins&&this.options.plugins.forEach(e=>{e.destroy&&e.destroy()})}hidePicker(){this.hideInProgress=!0,this.focusTrap.deactivate(),this.pickerVisible=!1,this.overlay&&(document.body.removeChild(this.overlay),this.overlay=void 0),this.emojiArea.emojis.removeEventListener("scroll",this.emojiArea.highlightCategory),this.pickerEl.classList.add("hiding"),setTimeout(()=>{this.wrapper.style.display="none",this.pickerEl.classList.remove("hiding"),this.pickerContent.firstChild!==this.emojiArea.container&&(N3(this.pickerContent),this.pickerContent.appendChild(this.emojiArea.container)),this.search&&this.search.clear(),this.events.emit("hideVariantPopup"),this.hideInProgress=!1,this.popper&&this.popper.destroy(),this.publicEvents.emit("hidden")},this.options.showAnimation?170:0),setTimeout(()=>{document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onDocumentKeydown)})}showPicker(e){this.hideInProgress?setTimeout(()=>this.showPicker(e),100):(this.pickerVisible=!0,this.wrapper.style.display="block",this.determineDisplay(e),this.focusTrap.activate(),setTimeout(()=>{this.addEventListeners(),this.setInitialFocus()}),this.emojiArea.reset())}determineDisplay(e){window.matchMedia("screen and (max-width: 450px)").matches?this.showMobileView():typeof this.options.position=="string"?this.setRelativePosition(e):this.setFixedPosition()}setInitialFocus(){this.pickerEl.querySelector(this.options.showSearch&&this.options.autoFocusSearch?".emoji-picker__search":`.${b1}[tabindex="0"]`).focus()}addEventListeners(){document.addEventListener("click",this.onDocumentClick),document.addEventListener("keydown",this.onDocumentKeydown)}setRelativePosition(e){this.popper=JSt(e,this.wrapper,{placement:this.options.position})}setFixedPosition(){var e;if(!((e=this.options)===null||e===void 0)&&e.position){this.wrapper.style.position="fixed";const t=this.options.position;Object.keys(t).forEach(i=>{this.wrapper.style[i]=t[i]})}}showMobileView(){const e=window.getComputedStyle(this.pickerEl),t=document.querySelector("html"),i=t&&t.clientHeight,o=t&&t.clientWidth,a=parseInt(e.height),r=i?i/2-a/2:0,l=parseInt(e.width),s=o?o/2-l/2:0;this.wrapper.style.position="fixed",this.wrapper.style.top=r+"px",this.wrapper.style.left=s+"px",this.wrapper.style.zIndex="5000",this.overlay=Sl("div","emoji-picker__overlay"),document.body.appendChild(this.overlay)}togglePicker(e){this.pickerVisible?this.hidePicker():this.showPicker(e)}isPickerVisible(){return this.pickerVisible}onDocumentKeydown(e){e.key==="Escape"?this.hidePicker():e.key==="Tab"?this.pickerEl.classList.add("keyboard"):e.key.match(/^[\w]$/)&&this.search&&this.search.focus()}setTheme(e){e!==this.theme&&(this.pickerEl.classList.remove(this.theme),this.theme=e,this.pickerEl.classList.add(e))}}const PEt=Pt({__name:"v-emoji-picker",emits:["emoji-selected"],setup(n,{emit:e}){const t=new FEt({theme:"auto",zIndex:1e4,position:"bottom",emojisPerRow:8}),i=e;return t.on("emoji",o=>{i("emoji-selected",o.emoji)}),Dl(()=>{t.destroyPicker()}),(o,a)=>{const r=G("v-icon"),l=G("v-button");return j(),ye(l,{class:"emoji-button","x-small":"",secondary:"",icon:"",onClick:a[0]||(a[0]=s=>h(t).togglePicker(s.target))},{default:I(()=>[T(r,{name:"insert_emoticon"})]),_:1})}}}),OEt=Pt({__name:"v-workspace",props:{tiles:{},editMode:{type:Boolean,default:!1},zoomToFit:{type:Boolean,default:!1},resizable:{type:Boolean,default:!0}},emits:["update","move","delete","duplicate","edit","preview"],setup(n){const e=n,t=Sc("main-element",Oe()),i=X0(t),o=Ce(()=>{var s;return Number(((s=Zr("--content-padding",t.value))==null?void 0:s.slice(0,-2))||0)}),a=Ce(()=>{const s=e.tiles.reduce((d,g)=>(g.x+g.width>d.x+d.width&&(d.x=g.x,d.width=g.width),d),{x:0,width:0}),u=e.tiles.reduce((d,g)=>(g.y+g.height>d.y+d.height&&(d.y=g.y,d.height=g.height),d),{y:0,height:0});return e.editMode===!0?{width:(s.x+s.width+25)*20,height:(u.y+u.height+25)*20}:{width:(s.x+s.width-1)*20,height:(u.y+u.height-1)*20}}),r=Ce(()=>{if(e.zoomToFit===!1)return 1;const{width:s,height:u}=i,d=(s.value-o.value*2)/a.value.width,g=(u.value-114-o.value*2)/a.value.height;return Math.min(d,g)}),l=Ce(()=>({width:a.value.width*r.value+o.value*2,height:a.value.height*r.value+o.value*2}));return(s,u)=>{const d=G("v-workspace-tile");return j(),Re("div",{class:yn(["v-workspace",{editing:s.editMode}]),style:hr({width:l.value.width+"px",height:l.value.height+"px"})},[ke("div",{class:"workspace",style:hr({transform:`scale(${r.value})`,width:a.value.width+"px",height:a.value.height+"px"})},[s.$slots.tile?(j(!0),Re(hn,{key:1},Si(s.tiles,g=>gi(s.$slots,"tile",{key:g.id,tile:g},void 0,!0)),128)):(j(!0),Re(hn,{key:0},Si(s.tiles,g=>(j(),ye(d,Fr({key:g.id,ref_for:!0},g,{"edit-mode":s.editMode,resizable:s.resizable,onPreview:m=>s.$emit("preview",g),onEdit:m=>s.$emit("edit",g),onUpdate:m=>s.$emit("update",{edits:m,id:g.id}),onMove:m=>s.$emit("move",g.id),onDelete:m=>s.$emit("delete",g.id),onDuplicate:m=>s.$emit("duplicate",g)}),{default:I(()=>[gi(s.$slots,"default",{tile:g},void 0,!0)]),_:2},1040,["edit-mode","resizable","onPreview","onEdit","onUpdate","onMove","onDelete","onDuplicate"]))),128))],4)],6)}}}),REt=Wt(OEt,[["__scopeId","data-v-fb9948d7"]]),zEt={key:0,class:"header"},$Et={class:"resize-details"},NEt={key:2,class:"resize-handlers"},BEt={key:0,class:"footer"},jEt=Pt({__name:"v-workspace-tile",props:{id:{},x:{},y:{},width:{},height:{},name:{default:void 0},icon:{default:"space_dashboard"},color:{default:"var(--theme--primary)"},note:{default:void 0},showHeader:{type:Boolean,default:!0},minWidth:{default:8},minHeight:{default:6},draggable:{type:Boolean,default:!0},borderRadius:{default:()=>[!0,!0,!0,!0]},resizable:{type:Boolean,default:!0},editMode:{type:Boolean,default:!1},showOptions:{type:Boolean,default:!0},alwaysUpdatePosition:{type:Boolean,default:!1}},emits:["update","move","duplicate","delete","edit","preview"],setup(n,{emit:e}){const t=n,i=e,{t:o}=un(),a=If({position_x:void 0,position_y:void 0,width:void 0,height:void 0}),{onPointerDown:r,dragging:l}=g(),s=Ce(()=>l.value?{x:a.position_x??t.x,y:a.position_y??t.y,width:a.width??t.width,height:a.height??t.height}:{x:t.x,y:t.y,width:t.width,height:t.height}),u=Ce(()=>l.value?{"--pos-x":a.position_x??t.x,"--pos-y":a.position_y??t.y,"--width":a.width??t.width,"--height":a.height??t.height}:{"--pos-x":t.x,"--pos-y":t.y,"--width":t.width,"--height":t.height}),d=Ce(()=>({"--v-icon-color":t.color}));function g(){const m=Oe(!1);let _=0,x=0,S=0,A=0,F=0,C=0,L="move";const w=et.throttle(V=>{if(t.editMode===!1||m.value===!1||t.draggable===!1)return;const W=V.pageX-_,J=V.pageY-x,oe=Math.round(W/20),ue=Math.round(J/20);if(L==="move")a.position_x=S+oe,a.position_y=A+ue,a.position_x<1&&(a.position_x=1),a.position_y<1&&(a.position_y=1);else{L.includes("top")&&(a.height=C-ue,a.position_y=A+ue),L.includes("right")&&(a.width=F+oe),L.includes("bottom")&&(a.height=C+ue),L.includes("left")&&(a.width=F-oe,a.position_x=S+oe);const be=t.minWidth,ie=t.minHeight;a.position_x&&a.position_x<1&&(a.position_x=1),a.position_y&&a.position_y<1&&(a.position_y=1),a.width&&a.width<be&&(a.width=be),a.height&&a.height<ie&&(a.height=ie)}t.alwaysUpdatePosition&&i("update",a)},20);return{dragging:m,onPointerDown:$,onPointerUp:B,onPointerMove:w};function $(V,W){t.editMode===!1||t.draggable===!1||(L=V,m.value=!0,_=W.pageX,x=W.pageY,S=t.x,A=t.y,F=t.width,C=t.height,window.addEventListener("pointerup",B),window.addEventListener("pointermove",w))}function B(){m.value=!1,!(t.editMode===!1||t.draggable===!1||Object.values(a).every(V=>V===void 0))&&(i("update",a),window.removeEventListener("pointerup",B),window.removeEventListener("pointermove",w),a.position_x=void 0,a.position_y=void 0,a.width=void 0,a.height=void 0)}}return(m,_)=>{const x=G("v-icon"),S=G("v-text-overflow"),A=G("v-list-item-icon"),F=G("v-list-item-content"),C=G("v-list-item"),L=G("v-list"),w=G("v-menu"),$=hi("tooltip");return j(),Re("div",{class:yn(["v-workspace-tile",{editing:m.editMode,draggable:m.draggable,dragging:h(l),"br-tl":h(l)||m.borderRadius[0],"br-tr":h(l)||m.borderRadius[1],"br-br":h(l)||m.borderRadius[2],"br-bl":h(l)||m.borderRadius[3]}]),style:hr(u.value),"data-move":"",onPointerdown:_[13]||(_[13]=B=>h(r)("move",B))},[m.showHeader?(j(),Re("div",zEt,[T(x,{class:"icon",style:hr(d.value),name:m.icon,small:""},null,8,["style","name"]),T(S,{class:"name",text:m.name||""},null,8,["text"]),_[14]||(_[14]=ke("div",{class:"spacer"},null,-1)),m.note?Qt((j(),ye(x,{key:0,class:"note",name:"info"},null,512)),[[$,m.note]]):We("",!0)])):We("",!0),m.editMode?(j(),Re("div",{key:1,class:"edit-actions",onPointerdown:_[4]||(_[4]=Ji(()=>{},["stop"]))},[Qt(T(x,{class:"edit-icon",name:"edit",clickable:"",onClick:_[0]||(_[0]=B=>m.$emit("edit"))},null,512),[[$,h(o)("edit")]]),m.showOptions?(j(),ye(w,{key:0,placement:"bottom-end","show-arrow":""},{activator:I(({toggle:B})=>[T(x,{class:"more-icon",name:"more_vert",clickable:"",onClick:B},null,8,["onClick"])]),default:I(()=>[T(L,null,{default:I(()=>[T(C,{clickable:"",disabled:m.id.startsWith("_"),onClick:_[1]||(_[1]=B=>m.$emit("move"))},{default:I(()=>[T(A,null,{default:I(()=>[T(x,{class:"move-icon",name:"input"})]),_:1}),T(F,null,{default:I(()=>[ze(me(h(o)("copy_to")),1)]),_:1})]),_:1},8,["disabled"]),T(C,{clickable:"",onClick:_[2]||(_[2]=B=>m.$emit("duplicate"))},{default:I(()=>[T(A,null,{default:I(()=>[T(x,{name:"control_point_duplicate"})]),_:1}),T(F,null,{default:I(()=>[ze(me(h(o)("duplicate")),1)]),_:1})]),_:1}),T(C,{class:"delete-action",clickable:"",onClick:_[3]||(_[3]=B=>m.$emit("delete"))},{default:I(()=>[T(A,null,{default:I(()=>[T(x,{name:"delete"})]),_:1}),T(F,null,{default:I(()=>[ze(me(h(o)("delete")),1)]),_:1})]),_:1})]),_:1})]),_:1})):We("",!0)],32)):We("",!0),ke("div",$Et,[ze(" ("+me(s.value.x-1)+":"+me(s.value.y-1)+") ",1),m.resizable?(j(),Re(hn,{key:0},[ze(me(s.value.width)+"×"+me(s.value.height),1)],64)):We("",!0)]),m.editMode&&m.resizable?(j(),Re("div",NEt,[ke("div",{class:"top",onPointerdown:_[5]||(_[5]=Ji(B=>h(r)("resize-top",B),["stop"]))},null,32),ke("div",{class:"right",onPointerdown:_[6]||(_[6]=Ji(B=>h(r)("resize-right",B),["stop"]))},null,32),ke("div",{class:"bottom",onPointerdown:_[7]||(_[7]=Ji(B=>h(r)("resize-bottom",B),["stop"]))},null,32),ke("div",{class:"left",onPointerdown:_[8]||(_[8]=Ji(B=>h(r)("resize-left",B),["stop"]))},null,32),ke("div",{class:"top-left",onPointerdown:_[9]||(_[9]=Ji(B=>h(r)("resize-top-left",B),["stop"]))},null,32),ke("div",{class:"top-right",onPointerdown:_[10]||(_[10]=Ji(B=>h(r)("resize-top-right",B),["stop"]))},null,32),ke("div",{class:"bottom-right",onPointerdown:_[11]||(_[11]=Ji(B=>h(r)("resize-bottom-right",B),["stop"]))},null,32),ke("div",{class:"bottom-left",onPointerdown:_[12]||(_[12]=Ji(B=>h(r)("resize-bottom-left",B),["stop"]))},null,32)])):We("",!0),ke("div",{class:yn(["tile-content",{"has-header":m.showHeader}])},[gi(m.$slots,"default",{},void 0,!0),m.$slots.footer?(j(),Re("div",BEt,[gi(m.$slots,"footer",{},void 0,!0)])):We("",!0)],2),gi(m.$slots,"body",{},void 0,!0)],38)}}}),VEt=Wt(jEt,[["__scopeId","data-v-9cd5799d"]]),HEt=Pt({__name:"v-error-boundary",props:{name:{default:void 0},stopPropagation:{type:Boolean,default:!0}},setup(n){const e=n,t=Oe(null),i=Ce(()=>!!t.value);return lK((o,a,r)=>{t.value=o;const l=e.name?et.kebabCase(e.name):VR(a);if(console.warn(`[${l}-error] ${r}`),console.warn(o),e.stopPropagation)return!1}),(o,a)=>i.value?(j(),Re(hn,{key:0},[o.$slots.fallback?gi(o.$slots,"fallback",cr(Fr({key:0},{error:t.value}))):We("",!0)],64)):gi(o.$slots,"default",{key:1})}});function UEt(n){n.component("VAvatar",w9t),n.component("VBadge",S9t),n.component("VBreadcrumb",D9t),n.component("VButton",M9t),n.component("VCardActions",$9t),n.component("VCardSubtitle",V9t),n.component("VCardText",W9t),n.component("VCardTitle",K9t),n.component("VCard",P9t),n.component("VCheckbox",txt),n.component("VCheckboxTree",rxt),n.component("VChip",j_),n.component("VDetail",lxt),n.component("VDialog",dxt),n.component("VDivider",FC),n.component("VError",Fxt),n.component("VFancySelect",jxt),n.component("VFieldTemplate",Gxt),n.component("VCollectionFieldTemplate",Xxt),n.component("VFieldList",ewt),n.component("VForm",PC),n.component("VHover",twt),n.component("VHighlight",rwt),n.component("VIcon",Y8),n.component("VImage",lwt),n.component("VIconFile",dwt),n.component("VInfo",vwt),n.component("VInput",Awt),n.component("VItemGroup",Dwt),n.component("VItem",Iwt),n.component("VListGroup",zwt),n.component("VListItemContent",Hwt),n.component("VListItemHint",qwt),n.component("VListItemIcon",Gwt),n.component("VListItem",Nwt),n.component("VList",Fwt),n.component("VMenu",Zkt),n.component("VDrawer",Lxt),n.component("VNotice",Qkt),n.component("VOverlay",nCt),n.component("VPagination",sCt),n.component("VProgressCircular",yW),n.component("VProgressLinear",cCt),n.component("VRadio",pCt),n.component("VResizeable",LG),n.component("VSelect",xCt),n.component("VSheet",SCt),n.component("VSkeletonLoader",ACt),n.component("VSlider",PCt),n.component("VTabItem",sSt),n.component("VTab",rSt),n.component("VTable",eSt),n.component("VTabsItems",lSt),n.component("VTabs",iSt),n.component("VTemplateInput",_St),n.component("VTextarea",ESt),n.component("VTextOverflow",xSt),n.component("VUpload",VE),n.component("VDatePicker",OSt),n.component("VEmojiPicker",PEt),n.component("VWorkspace",REt),n.component("VWorkspaceTile",VEt),n.component("VErrorBoundary",HEt),n.component("TransitionBounce",m9t),n.component("TransitionDialog",y9t),n.component("TransitionExpand",b9t),n.component("RenderDisplay",K7t),n.component("RenderTemplate",e9t),n.component("ExportSidebarDetail",rD),n.component("SidebarDetail",r9t),n.component("UserPopover",f9t),n.component("ValueNull",KE),n.component("DrawerCollection",_2),n.component("DrawerFiles",H7),n.component("DrawerItem",kp),n.component("DrawerBatch",Rv)}const vY=(n,{value:e})=>{const{handler:t,middleware:i,events:o,disabled:a}=WEt(e);Wn(()=>e,r=>{JSON.stringify(r)!==JSON.stringify(e)&&yY(n,{value:r,oldValue:null})}),a!==!0&&(n.$clickOutsideHandlers=o.map(r=>({event:r,handler:l=>GEt({event:l,el:n,handler:t,middleware:i})})),n.$clickOutsideHandlers.forEach(({event:r,handler:l})=>{setTimeout(()=>{n.$clickOutsideHandlers&&document.documentElement.addEventListener(r,l,!1)})}))},gY=n=>{(n.$clickOutsideHandlers||[]).forEach(({event:t,handler:i})=>{document.documentElement.removeEventListener(t,i,!1)})},yY=(n,{value:e,oldValue:t})=>{JSON.stringify(e)!==JSON.stringify(t)&&(gY(n),vY(n,{value:e}))},qEt={beforeMount:vY,unmounted:gY,updated:yY};function WEt(n){const e=typeof n=="function";let t;if(e)t={handler:n,middleware:()=>!0,events:["pointerdown"],disabled:!1};else{const i=n;t={handler:i.handler||(()=>{}),middleware:i.middleware||(()=>!0),events:i.events||["pointerdown"],disabled:i.disabled!==void 0?!!i.disabled:!1}}return t}function GEt({el:n,event:e,handler:t,middleware:i}){e.stopPropagation();const o=e.composedPath();(o?o.indexOf(n)<0:n.contains(e.target)===!1)!==!1&&i(e)&&t(e)}function YEt(n,e){var i;const t=(i=e.instance)==null?void 0:i.$refs[e.value];t&&(n.addEventListener("contextmenu",_Y(t)),document.documentElement.addEventListener("pointerdown",bY(t)))}function XEt(n,e){var i;const t=(i=e.instance)==null?void 0:i.$refs[e.value];t&&(n.removeEventListener("contextmenu",_Y(t)),document.documentElement.removeEventListener("pointerdown",bY(t)))}const KEt={mounted:YEt,unmounted:XEt};function _Y(n){return e=>{e.stopPropagation(),e.preventDefault(),n&&n.activate(e)}}function bY(n){return e=>{!n||e.composedPath().find(i=>i.id===n.id)||n.deactivate(e)}}const ZEt={mounted(n,e){e.value?n.focus():n.blur()}},JEt={mounted:n=>{n.onUpdate=()=>_R(n),n.shadow=document.createElement("div"),n.shadow.setAttribute("aria-hidden","true"),QEt(n),document.body.appendChild(n.shadow),_R(n),n.addEventListener("input",n.onUpdate)},updated:n=>{n.onUpdate&&n.onUpdate()},unmounted:n=>{document.body.removeChild(n.shadow),n.onUpdate&&n.removeEventListener("input",n.onUpdate)}};function _R(n){const e=n.value||n.placeholder;n.shadow.textContent=e,n.style.width=`${n.shadow.scrollWidth}px`}function QEt(n){const e=window.getComputedStyle(n);Object.assign(n.shadow.style,{position:"absolute",top:"0",left:"0",visibility:"hidden",height:"0",overflow:"hidden",whiteSpace:"pre",fontSize:e.fontSize,fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontStyle:e.fontStyle,letterSpacing:e.letterSpacing,textTransform:e.textTransform,paddingRight:`calc(${e.paddingRight} + ${e.borderRightWidth})`,paddingLeft:`calc(${e.paddingLeft} + ${e.borderLeftWidth})`})}const eAt={beforeMount:bR,updated:bR};function bR(n,e){typeof e.value=="object"&&"value"in e.value?n.innerHTML=mS(e.value.value,e.value):n.innerHTML=mS(e.value??"")}function tAt(n){n.directive("click-outside",qEt),n.directive("context-menu",KEt),n.directive("focus",ZEt),n.directive("input-auto-width",JEt),n.directive("md",eAt),n.directive("tooltip",XC)}const nAt="data:image/svg+xml,%3csvg%20width='64'%20height='39'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='%23FFFFFF'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.18%2024.61c-.3-.07-.55-.15-.77-.25-.16-.07-.3-.16-.42-.26a.31.31%200%200%201-.1-.27c.11-1.24-.02-2.33.1-3.56.5-5%203.64-3.41%206.46-4.23%201.62-.45%203.24-1.35%203.83-3.1.1-.3.01-.61-.19-.84a36.2%2036.2%200%200%200-6.12-5.54A36.73%2036.73%200%200%200%2027.94.36a.46.46%200%200%200-.33.7%2013.7%2013.7%200%200%200%204.31%204.24c.31.19.19.6-.17.52a8.2%208.2%200%200%201-2.92-1.26.35.35%200%200%200-.33-.04l-1.64.67a.45.45%200%200%200-.12.75A13.7%2013.7%200%200%200%2042.8%207.3c.3-.19.8.2.7.55a27%2027%200%200%200-.54%202.37c-1.26%206.37-4.9%205.87-9.4%204.27-9-3.26-14.12-.48-18.66-5.98-.31-.38-.87-.51-1.24-.19a4.25%204.25%200%200%200%20.43%206.8c.14.1.33.05.44-.08.28-.35.5-.59.8-.74.3-.16.46.29.2.52-.97.85-1.25%201.87-1.88%203.87-.99%203.13-.57%206.34-5.2%207.18-2.45.12-2.4%201.78-3.29%204.25-1.03%202.98-2.39%204.3-4.9%206.9-.34.36-.36.93.01%201.25%201%20.85%202.04.9%203.09.46%202.6-1.08%204.6-4.44%206.48-6.61%202.1-2.42%207.15-1.39%2010.97-3.76%202.05-1.25%203.29-2.86%202.9-5.27-.07-.38.37-.62.53-.26.31.68.51%201.4.6%202.16.02.2.2.34.39.33%204.12-.23%209.46%204.3%2014.44%205.53.3.08.52-.27.35-.53a9.17%209.17%200%200%201-1.3-3.02c-.1-.39.47-.5.66-.14a9.2%209.2%200%200%200%207.4%204.71c1.2.1%202.54-.05%203.93-.47%201.66-.5%203.19-1.14%205.02-.79%201.36.25%202.63.94%203.42%202.1%201.1%201.62%203.45%202.04%204.7.35a.81.81%200%200%200%20.08-.8c-2.76-6.43-9.75-6.88-12.75-7.65Z'%20/%3e%3c/svg%3e",iAt={class:"public-view"},oAt={class:"title-box"},rAt={class:"title"},aAt={class:"type-title"},sAt={class:"content"},lAt={class:"notice"},cAt={key:0,class:"fallback"},uAt=["src"],dAt={class:"note-container"},fAt={key:0,class:"note"},pAt=Pt({__name:"public-view",props:{wide:{type:Boolean,default:!1}},setup(n){const{t:e}=un(),t=Is(),{info:i}=Tl(t),o=Ce(()=>{var d,g;return!!((g=(d=i.value)==null?void 0:d.project)!=null&&g.public_background)}),a=Ce(()=>{var d,g,m,_;return(_=(m=(g=(d=i.value)==null?void 0:d.project)==null?void 0:g.public_background)==null?void 0:m.type)==null?void 0:_.startsWith("video/")}),r=Ce(()=>{var d,g,m;return fs(((m=(g=(d=i.value)==null?void 0:d.project)==null?void 0:g.public_background)==null?void 0:m.id)??"")}),l=Ce(()=>o.value?{background:`url(${r.value})`,backgroundSize:"cover",backgroundPosition:"center center"}:{}),s=Ce(()=>{var d,g,m;return(g=(d=i.value)==null?void 0:d.project)!=null&&g.public_foreground?fs((m=i.value.project)==null?void 0:m.public_foreground):null}),u=Ce(()=>{var d,g,m;return(g=(d=i.value)==null?void 0:d.project)!=null&&g.project_logo?fs((m=i.value.project)==null?void 0:m.project_logo):null});return(d,g)=>{var S,A,F,C,L,w,$,B,V,W,J,oe,ue;const m=G("v-image"),_=G("v-text-overflow"),x=hi("md");return j(),Re("div",iAt,[ke("div",{class:yn(["container",{wide:d.wide}])},[ke("div",oAt,[(A=(S=h(i))==null?void 0:S.project)!=null&&A.project_logo?(j(),Re("div",{key:0,class:"logo",style:hr((F=h(i))!=null&&F.project.project_color?{backgroundColor:h(i).project.project_color}:{})},[T(m,{src:u.value,alt:((C=h(i))==null?void 0:C.project.project_name)||"Logo"},null,8,["src","alt"])],4)):(j(),Re("div",{key:1,class:"logo",style:hr((w=(L=h(i))==null?void 0:L.project)!=null&&w.project_color?{backgroundColor:h(i).project.project_color}:{})},g[0]||(g[0]=[ke("img",{src:nAt,alt:"Directus",class:"directus-logo"},null,-1)]),4)),ke("div",rAt,[ke("h1",aAt,[T(_,{text:(B=($=h(i))==null?void 0:$.project)==null?void 0:B.project_name,placement:"bottom"},null,8,["text"])]),T(_,{class:"subtitle",text:((W=(V=h(i))==null?void 0:V.project)==null?void 0:W.project_descriptor)??h(e)("application"),placement:"bottom"},null,8,["text"])])]),ke("div",sAt,[gi(d.$slots,"default")]),ke("div",lAt,[gi(d.$slots,"notice")])],2),ke("div",{class:"art",style:hr(l.value)},[o.value?a.value?(j(),Re("video",{key:1,src:r.value,autoplay:"",muted:"",loop:""},null,8,uAt)):We("",!0):(j(),Re("div",cAt,g[1]||(g[1]=[ke("div",null,[ke("div")],-1),ke("div",null,[ke("div")],-1),ke("div",null,[ke("div")],-1)]))),T(Md,{name:"scale"},{default:I(()=>{var be,ie;return[s.value?(j(),ye(m,{key:0,class:"foreground",src:s.value,alt:(ie=(be=h(i))==null?void 0:be.project)==null?void 0:ie.project_name},null,8,["src","alt"])):We("",!0)]}),_:1}),ke("div",dAt,[(oe=(J=h(i))==null?void 0:J.project)!=null&&oe.public_note?Qt((j(),Re("div",fAt,null,512)),[[x,(ue=h(i))==null?void 0:ue.project.public_note]]):We("",!0)])],4)])}}}),hAt=Wt(pAt,[["__scopeId","data-v-1be590e7"]]),mAt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='64'%20height='39'%3e%3cpath%20fill='%23FFF'%20fill-rule='evenodd'%20d='M51.166%2024.51a4.636%204.636%200%200%201-.763-.246%201.751%201.751%200%200%201-.54-.368c.147-1.304%200-2.435.122-3.713.492-4.967%203.615-3.393%206.418-4.204%201.745-.492%203.491-1.5%203.934-3.566a36.074%2036.074%200%200%200-6.393-5.876C46.347%201.128%2036.414-1.036%2027.39.464a13.635%2013.635%200%200%200%205.968%205.532s-2.445%200-4.541-1.565c-.615.245-1.845.73-2.435%201.024%204.794%204.598%2012.293%205.114%2017.678.984-.025.049-.492.762-1.057%203.737-1.254%206.343-4.869%205.852-9.343%204.254-9.294-3.369-14.408-.246-19.055-6.639a4.29%204.29%200%200%200-2.189%203.737c0%201.598.886%202.95%202.164%203.688.698-.926%201.011-1.189%202.228-1.189-1.883%201.068-2.105%202-2.916%204.582-.984%203.123-.566%206.32-5.164%207.155-2.434.123-2.385%201.77-3.27%204.23C4.352%2033.188%202.877%2034.467%200%2037.491c1.18%201.426%202.41%201.598%203.663%201.082%202.582-1.082%204.574-4.426%206.442-6.59%202.09-2.409%207.106-1.376%2010.892-3.737%202.607-1.598%203.885-3.761%202.164-7.425a7.254%207.254%200%200%201%201.869%204.426c4.376-.566%2010.228%204.77%2015.563%205.655a9.53%209.53%200%200%201-1.303-2.188c-.615-1.476-.811-2.828-.688-4.008.491%202.926%203.442%206.688%208.187%207.032%201.205.098%202.533-.05%203.91-.467%201.647-.492%203.171-1.131%204.99-.787%201.353.246%202.607.934%203.394%202.09%201.18%201.72%203.761%202.09%204.917-.025-2.606-6.81-9.786-7.253-12.834-8.04z'/%3e%3c/svg%3e",vAt={class:"inline-container"},gAt={class:"container"},yAt={class:"title-box"},_At=["src","alt"],bAt={class:"title"},xAt={class:"subtitle"},wAt={class:"type-title"},kAt={class:"container"},CAt={class:"content"},SAt=Pt({__name:"shared-view",props:{title:{},inline:{type:Boolean}},setup(n){const e=Is(),{info:t}=Tl(e),{t:i}=un(),o=Ce(()=>{var a,r,l;return(r=(a=e.info)==null?void 0:a.project)!=null&&r.project_logo?fs((l=e.info.project)==null?void 0:l.project_logo):null});return(a,r)=>{var l,s,u,d,g,m,_,x,S;return j(),Re("div",{class:yn(["shared",{inline:a.inline}])},[ke("div",vAt,[ke("header",null,[ke("div",gAt,[ke("div",yAt,[(s=(l=h(t))==null?void 0:l.project)!=null&&s.project_logo?(j(),Re("div",{key:0,class:"logo",style:hr((d=(u=h(t))==null?void 0:u.project)!=null&&d.project_color?{backgroundColor:h(t).project.project_color}:{})},[ke("img",{src:o.value,alt:((g=h(t))==null?void 0:g.project.project_name)||"Logo"},null,8,_At)],4)):(j(),Re("div",{key:1,class:"logo",style:hr((_=(m=h(t))==null?void 0:m.project)!=null&&_.project_color?{backgroundColor:h(t).project.project_color}:{})},r[0]||(r[0]=[ke("img",{src:mAt,alt:"Directus",class:"directus-logo"},null,-1)]),4)),ke("div",bAt,[ke("p",xAt,me((S=(x=h(t))==null?void 0:x.project)==null?void 0:S.project_name),1),gi(a.$slots,"title",{},()=>[ke("h1",wAt,me(a.title??h(i)("share_access_page")),1)],!0)])])])]),ke("div",kAt,[ke("div",CAt,[gi(a.$slots,"default",{},void 0,!0)])])])],2)}}}),EAt=Wt(SAt,[["__scopeId","data-v-cfdcd3fb"]]),AAt=zR(()=>Ut(()=>import("./index-DmU_0VAv.js"),__vite__mapDeps([224,1,2,3,4,5,6,225]),import.meta.url));function TAt(n){n.component("PublicView",hAt),n.component("PrivateView",AAt),n.component("SharedView",EAt)}DAt();async function DAt(){console.log(IZ),console.info(`Hey! Interested in helping build this open-source data management platform?
4219
+ }`;if(t!==n||i!==e){var a=new RegExp("\\.".concat(n,"\\-"),"g"),r=new RegExp("\\--".concat(n,"\\-"),"g"),l=new RegExp("\\.".concat(e),"g");o=o.replace(a,".".concat(t,"-")).replace(r,"--".concat(t,"-")).replace(l,".".concat(i))}return o}()),gR=!0)}function dEt(n,e){return Object.defineProperty(n,"abstract",{get:e}),Object.defineProperty(n,"html",{get:function(){return n.abstract.map(function(t){return fY(t)})}}),Object.defineProperty(n,"node",{get:function(){if(QD){var t=of.createElement("div");return t.innerHTML=n.html,t.children}}}),n}function mR(n){var e=n.prefix,t=e===void 0?"fa":e,i=n.iconName;if(i)return pR(hY.definitions,t,i)||pR(qh.styles,t,i)}var vR,hY=new(function(){function n(){(function(i,o){if(!(i instanceof o))throw new TypeError("Cannot call a class as a function")})(this,n),this.definitions={}}var e,t;return e=n,(t=[{key:"add",value:function(){for(var i=this,o=arguments.length,a=new Array(o),r=0;r<o;r++)a[r]=arguments[r];var l=a.reduce(this._pullDefinitions,{});Object.keys(l).forEach(function(s){i.definitions[s]=us({},i.definitions[s]||{},l[s]),uY(s,l[s]),dY()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(i,o){var a=o.prefix&&o.iconName&&o.icon?{0:o}:o;return Object.keys(a).map(function(r){var l=a[r],s=l.prefix,u=l.iconName,d=l.icon;i[s]||(i[s]={}),i[s][u]=d}),i}}])&&nEt(e.prototype,t),n}()),gR=!1,Rf=(vR=function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=e.transform,i=t===void 0?C3:t,o=e.symbol,a=o!==void 0&&o,r=e.mask,l=r===void 0?null:r,s=e.maskId,u=s===void 0?null:s,d=e.title,g=d===void 0?null:d,m=e.titleId,_=m===void 0?null:m,x=e.classes,S=x===void 0?[]:x,A=e.attributes,F=A===void 0?{}:A,C=e.styles,L=C===void 0?{}:C;if(n){var w=n.prefix,$=n.iconName,B=n.icon;return dEt(us({type:"icon"},n),function(){return uEt(),A1.autoA11y&&(g?F["aria-labelledby"]="".concat(A1.replacementClass,"-title-").concat(_||v8()):(F["aria-hidden"]="true",F.focusable="false")),lEt({icons:{main:hR(B),mask:l?hR(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:$,transform:us({},C3,i),symbol:a,title:g,maskId:u,titleId:_,extra:{attributes:F,styles:L,classes:S}})})}},function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=(n||{}).icon?n:mR(n||{}),i=e.mask;return i&&(i=(i||{}).icon?i:mR(i||{})),vR(t,us({},e,{mask:i}))});hY.add({prefix:"far",iconName:"building",icon:[448,512,[],"f1ad","M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"]},{prefix:"fas",iconName:"cat",icon:[512,512,[],"f6be","M290.59 192c-20.18 0-106.82 1.98-162.59 85.95V192c0-52.94-43.06-96-96-96-17.67 0-32 14.33-32 32s14.33 32 32 32c17.64 0 32 14.36 32 32v256c0 35.3 28.7 64 64 64h176c8.84 0 16-7.16 16-16v-16c0-17.67-14.33-32-32-32h-32l128-96v144c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V289.86c-10.29 2.67-20.89 4.54-32 4.54-61.81 0-113.52-44.05-125.41-102.4zM448 96h-64l-64-64v134.4c0 53.02 42.98 96 96 96s96-42.98 96-96V32l-64 64zm-72 80c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zm80 0c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16z"]},{prefix:"fas",iconName:"coffee",icon:[640,512,[],"f0f4","M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z"]},{prefix:"far",iconName:"flag",icon:[512,512,[],"f024","M336.174 80c-49.132 0-93.305-32-161.913-32-31.301 0-58.303 6.482-80.721 15.168a48.04 48.04 0 0 0 2.142-20.727C93.067 19.575 74.167 1.594 51.201.104 23.242-1.71 0 20.431 0 48c0 17.764 9.657 33.262 24 41.562V496c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-83.443C109.869 395.28 143.259 384 199.826 384c49.132 0 93.305 32 161.913 32 58.479 0 101.972-22.617 128.548-39.981C503.846 367.161 512 352.051 512 335.855V95.937c0-34.459-35.264-57.768-66.904-44.117C409.193 67.309 371.641 80 336.174 80zM464 336c-21.783 15.412-60.824 32-102.261 32-59.945 0-102.002-32-161.913-32-43.361 0-96.379 9.403-127.826 24V128c21.784-15.412 60.824-32 102.261-32 59.945 0 102.002 32 161.913 32 43.271 0 96.32-17.366 127.826-32v240z"]},{prefix:"far",iconName:"frown",icon:[496,512,[],"f119","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-80 128c-40.2 0-78 17.7-103.8 48.6-8.5 10.2-7.1 25.3 3.1 33.8 10.2 8.4 25.3 7.1 33.8-3.1 16.6-19.9 41-31.4 66.9-31.4s50.3 11.4 66.9 31.4c8.1 9.7 23.1 11.9 33.8 3.1 10.2-8.5 11.5-23.6 3.1-33.8C326 321.7 288.2 304 248 304z"]},{prefix:"fas",iconName:"futbol",icon:[512,512,[],"f1e3","M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-48 0l-.003-.282-26.064 22.741-62.679-58.5 16.454-84.355 34.303 3.072c-24.889-34.216-60.004-60.089-100.709-73.141l13.651 31.939L256 139l-74.953-41.525 13.651-31.939c-40.631 13.028-75.78 38.87-100.709 73.141l34.565-3.073 16.192 84.355-62.678 58.5-26.064-22.741-.003.282c0 43.015 13.497 83.952 38.472 117.991l7.704-33.897 85.138 10.447 36.301 77.826-29.902 17.786c40.202 13.122 84.29 13.148 124.572 0l-29.902-17.786 36.301-77.826 85.138-10.447 7.704 33.897C442.503 339.952 456 299.015 456 256zm-248.102 69.571l-29.894-91.312L256 177.732l77.996 56.527-29.622 91.312h-96.476z"]},{prefix:"fas",iconName:"history",icon:[512,512,[],"f1da","M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"]},{prefix:"fas",iconName:"icons",icon:[512,512,[],"f86d","M116.65 219.35a15.68 15.68 0 0 0 22.65 0l96.75-99.83c28.15-29 26.5-77.1-4.91-103.88C203.75-7.7 163-3.5 137.86 22.44L128 32.58l-9.85-10.14C93.05-3.5 52.25-7.7 24.86 15.64c-31.41 26.78-33 74.85-5 103.88zm143.92 100.49h-48l-7.08-14.24a27.39 27.39 0 0 0-25.66-17.78h-71.71a27.39 27.39 0 0 0-25.66 17.78l-7 14.24h-48A27.45 27.45 0 0 0 0 347.3v137.25A27.44 27.44 0 0 0 27.43 512h233.14A27.45 27.45 0 0 0 288 484.55V347.3a27.45 27.45 0 0 0-27.43-27.46zM144 468a52 52 0 1 1 52-52 52 52 0 0 1-52 52zm355.4-115.9h-60.58l22.36-50.75c2.1-6.65-3.93-13.21-12.18-13.21h-75.59c-6.3 0-11.66 3.9-12.5 9.1l-16.8 106.93c-1 6.3 4.88 11.89 12.5 11.89h62.31l-24.2 83c-1.89 6.65 4.2 12.9 12.23 12.9a13.26 13.26 0 0 0 10.92-5.25l92.4-138.91c4.88-6.91-1.16-15.7-10.87-15.7zM478.08.33L329.51 23.17C314.87 25.42 304 38.92 304 54.83V161.6a83.25 83.25 0 0 0-16-1.7c-35.35 0-64 21.48-64 48s28.65 48 64 48c35.2 0 63.73-21.32 64-47.66V99.66l112-17.22v47.18a83.25 83.25 0 0 0-16-1.7c-35.35 0-64 21.48-64 48s28.65 48 64 48c35.2 0 63.73-21.32 64-47.66V32c0-19.48-16-34.42-33.92-31.67z"]},{prefix:"far",iconName:"lightbulb",icon:[352,512,[],"f0eb","M176 80c-52.94 0-96 43.06-96 96 0 8.84 7.16 16 16 16s16-7.16 16-16c0-35.3 28.72-64 64-64 8.84 0 16-7.16 16-16s-7.16-16-16-16zM96.06 459.17c0 3.15.93 6.22 2.68 8.84l24.51 36.84c2.97 4.46 7.97 7.14 13.32 7.14h78.85c5.36 0 10.36-2.68 13.32-7.14l24.51-36.84c1.74-2.62 2.67-5.7 2.68-8.84l.05-43.18H96.02l.04 43.18zM176 0C73.72 0 0 82.97 0 176c0 44.37 16.45 84.85 43.56 115.78 16.64 18.99 42.74 58.8 52.42 92.16v.06h48v-.12c-.01-4.77-.72-9.51-2.15-14.07-5.59-17.81-22.82-64.77-62.17-109.67-20.54-23.43-31.52-53.15-31.61-84.14-.2-73.64 59.67-128 127.95-128 70.58 0 128 57.42 128 128 0 30.97-11.24 60.85-31.65 84.14-39.11 44.61-56.42 91.47-62.1 109.46a47.507 47.507 0 0 0-2.22 14.3v.1h48v-.05c9.68-33.37 35.78-73.18 52.42-92.16C335.55 260.85 352 220.37 352 176 352 78.8 273.2 0 176 0z"]},{prefix:"fas",iconName:"music",icon:[512,512,[],"f001","M470.38 1.51L150.41 96A32 32 0 0 0 128 126.51v261.41A139 139 0 0 0 96 384c-53 0-96 28.66-96 64s43 64 96 64 96-28.66 96-64V214.32l256-75v184.61a138.4 138.4 0 0 0-32-3.93c-53 0-96 28.66-96 64s43 64 96 64 96-28.65 96-64V32a32 32 0 0 0-41.62-30.49z"]},{prefix:"fas",iconName:"search",icon:[512,512,[],"f002","M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"]},{prefix:"far",iconName:"smile",icon:[496,512,[],"f118","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"]},{prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},{prefix:"fas",iconName:"user",icon:[448,512,[],"f007","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"]});const fEt=Rf({prefix:"far",iconName:"building"}).html[0],pEt=Rf({prefix:"fas",iconName:"cat"}).html[0],hEt=Rf({prefix:"fas",iconName:"coffee"}).html[0],mEt=Rf({prefix:"far",iconName:"flag"}).html[0],vEt=Rf({prefix:"fas",iconName:"futbol"}).html[0],gEt=Rf({prefix:"far",iconName:"frown"}).html[0],yEt=Rf({prefix:"fas",iconName:"history"}).html[0],_Et=Rf({prefix:"fas",iconName:"icons"}).html[0],bEt=Rf({prefix:"far",iconName:"lightbulb"}).html[0],xEt=Rf({prefix:"fas",iconName:"music"}).html[0],_k=Rf({prefix:"fas",iconName:"search"}).html[0],JS=Rf({prefix:"far",iconName:"smile"}).html[0],wEt=Rf({prefix:"fas",iconName:"times"}).html[0],kEt=Rf({prefix:"fas",iconName:"user"}).html[0];function S3(n){const e=document.createElement("img");return e.src=n,e}function QS(){const n=localStorage.getItem("emojiPicker.recent");return(n?JSON.parse(n):[]).filter(e=>!!e.emoji)}class eE{constructor(e,t,i,o,a,r=!0){this.emoji=e,this.showVariants=t,this.showPreview=i,this.events=o,this.options=a,this.lazy=r}render(){this.emojiButton=Sl("button",b1);let e=this.emoji.emoji;return this.emoji.custom?e=this.lazy?JS:`<img class="emoji-picker__custom-emoji" src="${Ay(this.emoji.emoji)}">`:this.options.style==="twemoji"&&(e=this.lazy?JS:V9.parse(this.emoji.emoji,this.options.twemojiOptions)),this.emojiButton.innerHTML=e,this.emojiButton.tabIndex=-1,this.emojiButton.dataset.emoji=this.emoji.emoji,this.emoji.custom&&(this.emojiButton.dataset.custom="true"),this.emojiButton.title=this.emoji.name,this.emojiButton.addEventListener("focus",()=>this.onEmojiHover()),this.emojiButton.addEventListener("blur",()=>this.onEmojiLeave()),this.emojiButton.addEventListener("click",()=>this.onEmojiClick()),this.emojiButton.addEventListener("mouseover",()=>this.onEmojiHover()),this.emojiButton.addEventListener("mouseout",()=>this.onEmojiLeave()),this.options.style==="twemoji"&&this.lazy&&(this.emojiButton.style.opacity="0.25"),this.emojiButton}onEmojiClick(){this.emoji.variations&&this.showVariants&&this.options.showVariants||!this.options.showRecents||function(e,t){const i=QS(),o={emoji:e.emoji,name:e.name,key:e.key||e.name,custom:e.custom};localStorage.setItem("emojiPicker.recent",JSON.stringify([o,...i.filter(a=>!!a.emoji&&a.key!==o.key)].slice(0,t.recentsCount)))}(this.emoji,this.options),this.events.emit("emoji",{emoji:this.emoji,showVariants:this.showVariants,button:this.emojiButton})}onEmojiHover(){this.showPreview&&this.events.emit("showPreview",this.emoji)}onEmojiLeave(){this.showPreview&&this.events.emit("hidePreview")}}class tE{constructor(e,t,i,o,a=!0){this.showVariants=t,this.events=i,this.options=o,this.lazy=a,this.emojis=e.filter(r=>!r.version||parseFloat(r.version)<=parseFloat(o.emojiVersion))}render(){const e=Sl("div","emoji-picker__container");return this.emojis.forEach(t=>e.appendChild(new eE(t,this.showVariants,!0,this.events,this.options,this.lazy).render())),e}}var CEt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bk,SEt=(function(n){var e,t;e=CEt,t=function(){var i=typeof window>"u",o=new Map,a=new Map,r=[];r.total=0;var l=[],s=[];function u(){o.clear(),a.clear(),l=[],s=[]}function d(S){for(var A=-9007199254740991,F=S.length-1;F>=0;--F){var C=S[F];if(C!==null){var L=C.score;L>A&&(A=L)}}return A===-9007199254740991?null:A}function g(S,A){var F=S[A];if(F!==void 0)return F;var C=A;Array.isArray(A)||(C=A.split("."));for(var L=C.length,w=-1;S&&++w<L;)S=S[C[w]];return S}function m(S){return typeof S=="object"}var _=function(){var S=[],A=0,F={};function C(){for(var L=0,w=S[L],$=1;$<A;){var B=$+1;L=$,B<A&&S[B].score<S[$].score&&(L=B),S[L-1>>1]=S[L],$=1+(L<<1)}for(var V=L-1>>1;L>0&&w.score<S[V].score;V=(L=V)-1>>1)S[L]=S[V];S[L]=w}return F.add=function(L){var w=A;S[A++]=L;for(var $=w-1>>1;w>0&&L.score<S[$].score;$=(w=$)-1>>1)S[w]=S[$];S[w]=L},F.poll=function(){if(A!==0){var L=S[0];return S[0]=S[--A],C(),L}},F.peek=function(L){if(A!==0)return S[0]},F.replaceTop=function(L){S[0]=L,C()},F},x=_();return function S(A){var F={single:function(C,L,w){return C?(m(C)||(C=F.getPreparedSearch(C)),L?(m(L)||(L=F.getPrepared(L)),((w&&w.allowTypo!==void 0?w.allowTypo:!A||A.allowTypo===void 0||A.allowTypo)?F.algorithm:F.algorithmNoTypo)(C,L,C[0])):null):null},go:function(C,L,w){if(!C)return r;var $=(C=F.prepareSearch(C))[0],B=w&&w.threshold||A&&A.threshold||-9007199254740991,V=w&&w.limit||A&&A.limit||9007199254740991,W=(w&&w.allowTypo!==void 0?w.allowTypo:!A||A.allowTypo===void 0||A.allowTypo)?F.algorithm:F.algorithmNoTypo,J=0,oe=0,ue=L.length;if(w&&w.keys)for(var be=w.scoreFn||d,ie=w.keys,fe=ie.length,Y=ue-1;Y>=0;--Y){for(var re=L[Y],ge=new Array(fe),he=fe-1;he>=0;--he)(Ue=g(re,je=ie[he]))?(m(Ue)||(Ue=F.getPrepared(Ue)),ge[he]=W(C,Ue,$)):ge[he]=null;ge.obj=re;var Ie=be(ge);Ie!==null&&(Ie<B||(ge.score=Ie,J<V?(x.add(ge),++J):(++oe,Ie>x.peek().score&&x.replaceTop(ge))))}else if(w&&w.key){var je=w.key;for(Y=ue-1;Y>=0;--Y)(Ue=g(re=L[Y],je))&&(m(Ue)||(Ue=F.getPrepared(Ue)),(Ee=W(C,Ue,$))!==null&&(Ee.score<B||(Ee={target:Ee.target,_targetLowerCodes:null,_nextBeginningIndexes:null,score:Ee.score,indexes:Ee.indexes,obj:re},J<V?(x.add(Ee),++J):(++oe,Ee.score>x.peek().score&&x.replaceTop(Ee)))))}else for(Y=ue-1;Y>=0;--Y){var Ue,Ee;(Ue=L[Y])&&(m(Ue)||(Ue=F.getPrepared(Ue)),(Ee=W(C,Ue,$))!==null&&(Ee.score<B||(J<V?(x.add(Ee),++J):(++oe,Ee.score>x.peek().score&&x.replaceTop(Ee)))))}if(J===0)return r;var we=new Array(J);for(Y=J-1;Y>=0;--Y)we[Y]=x.poll();return we.total=J+oe,we},goAsync:function(C,L,w){var $=!1,B=new Promise(function(V,W){if(!C)return V(r);var J=(C=F.prepareSearch(C))[0],oe=_(),ue=L.length-1,be=w&&w.threshold||A&&A.threshold||-9007199254740991,ie=w&&w.limit||A&&A.limit||9007199254740991,fe=(w&&w.allowTypo!==void 0?w.allowTypo:!A||A.allowTypo===void 0||A.allowTypo)?F.algorithm:F.algorithmNoTypo,Y=0,re=0;function ge(){if($)return W("canceled");var he=Date.now();if(w&&w.keys)for(var Ie=w.scoreFn||d,je=w.keys,Ue=je.length;ue>=0;--ue){for(var Ee=L[ue],we=new Array(Ue),lt=Ue-1;lt>=0;--lt)(vt=g(Ee,yt=je[lt]))?(m(vt)||(vt=F.getPrepared(vt)),we[lt]=fe(C,vt,J)):we[lt]=null;we.obj=Ee;var pt=Ie(we);if(pt!==null&&!(pt<be)&&(we.score=pt,Y<ie?(oe.add(we),++Y):(++re,pt>oe.peek().score&&oe.replaceTop(we)),ue%1e3==0&&Date.now()-he>=10))return void(i?setImmediate(ge):setTimeout(ge))}else if(w&&w.key){for(var yt=w.key;ue>=0;--ue)if((vt=g(Ee=L[ue],yt))&&(m(vt)||(vt=F.getPrepared(vt)),(ht=fe(C,vt,J))!==null&&!(ht.score<be)&&(ht={target:ht.target,_targetLowerCodes:null,_nextBeginningIndexes:null,score:ht.score,indexes:ht.indexes,obj:Ee},Y<ie?(oe.add(ht),++Y):(++re,ht.score>oe.peek().score&&oe.replaceTop(ht)),ue%1e3==0&&Date.now()-he>=10)))return void(i?setImmediate(ge):setTimeout(ge))}else for(;ue>=0;--ue){var vt,ht;if((vt=L[ue])&&(m(vt)||(vt=F.getPrepared(vt)),(ht=fe(C,vt,J))!==null&&!(ht.score<be)&&(Y<ie?(oe.add(ht),++Y):(++re,ht.score>oe.peek().score&&oe.replaceTop(ht)),ue%1e3==0&&Date.now()-he>=10)))return void(i?setImmediate(ge):setTimeout(ge))}if(Y===0)return V(r);for(var rt=new Array(Y),St=Y-1;St>=0;--St)rt[St]=oe.poll();rt.total=Y+re,V(rt)}i?setImmediate(ge):ge()});return B.cancel=function(){$=!0},B},highlight:function(C,L,w){if(C===null)return null;L===void 0&&(L="<b>"),w===void 0&&(w="</b>");for(var $="",B=0,V=!1,W=C.target,J=W.length,oe=C.indexes,ue=0;ue<J;++ue){var be=W[ue];if(oe[B]===ue){if(V||(V=!0,$+=L),++B===oe.length){$+=be+w+W.substr(ue+1);break}}else V&&(V=!1,$+=w);$+=be}return $},prepare:function(C){if(C)return{target:C,_targetLowerCodes:F.prepareLowerCodes(C),_nextBeginningIndexes:null,score:null,indexes:null,obj:null}},prepareSlow:function(C){if(C)return{target:C,_targetLowerCodes:F.prepareLowerCodes(C),_nextBeginningIndexes:F.prepareNextBeginningIndexes(C),score:null,indexes:null,obj:null}},prepareSearch:function(C){if(C)return F.prepareLowerCodes(C)},getPrepared:function(C){if(C.length>999)return F.prepare(C);var L=o.get(C);return L!==void 0||(L=F.prepare(C),o.set(C,L)),L},getPreparedSearch:function(C){if(C.length>999)return F.prepareSearch(C);var L=a.get(C);return L!==void 0||(L=F.prepareSearch(C),a.set(C,L)),L},algorithm:function(C,L,w){for(var $=L._targetLowerCodes,B=C.length,V=$.length,W=0,J=0,oe=0,ue=0;;){if(w===$[J]){if(l[ue++]=J,++W===B)break;w=C[oe===0?W:oe===W?W+1:oe===W-1?W-1:W]}if(++J>=V)for(;;){if(W<=1)return null;if(oe===0){if(w===C[--W])continue;oe=W}else{if(oe===1)return null;if((w=C[1+(W=--oe)])===C[W])continue}J=l[(ue=W)-1]+1;break}}W=0;var be=0,ie=!1,fe=0,Y=L._nextBeginningIndexes;Y===null&&(Y=L._nextBeginningIndexes=F.prepareNextBeginningIndexes(L.target));var re=J=l[0]===0?0:Y[l[0]-1];if(J!==V)for(;;)if(J>=V){if(W<=0){if(++be>B-2)break;if(C[be]===C[be+1])continue;J=re;continue}--W,J=Y[s[--fe]]}else if(C[be===0?W:be===W?W+1:be===W-1?W-1:W]===$[J]){if(s[fe++]=J,++W===B){ie=!0;break}++J}else J=Y[J];if(ie)var ge=s,he=fe;else ge=l,he=ue;for(var Ie=0,je=-1,Ue=0;Ue<B;++Ue)je!==(J=ge[Ue])-1&&(Ie-=J),je=J;for(ie?be!==0&&(Ie+=-20):(Ie*=1e3,oe!==0&&(Ie+=-20)),Ie-=V-B,L.score=Ie,L.indexes=new Array(he),Ue=he-1;Ue>=0;--Ue)L.indexes[Ue]=ge[Ue];return L},algorithmNoTypo:function(C,L,w){for(var $=L._targetLowerCodes,B=C.length,V=$.length,W=0,J=0,oe=0;;){if(w===$[J]){if(l[oe++]=J,++W===B)break;w=C[W]}if(++J>=V)return null}W=0;var ue=!1,be=0,ie=L._nextBeginningIndexes;if(ie===null&&(ie=L._nextBeginningIndexes=F.prepareNextBeginningIndexes(L.target)),(J=l[0]===0?0:ie[l[0]-1])!==V)for(;;)if(J>=V){if(W<=0)break;--W,J=ie[s[--be]]}else if(C[W]===$[J]){if(s[be++]=J,++W===B){ue=!0;break}++J}else J=ie[J];if(ue)var fe=s,Y=be;else fe=l,Y=oe;for(var re=0,ge=-1,he=0;he<B;++he)ge!==(J=fe[he])-1&&(re-=J),ge=J;for(ue||(re*=1e3),re-=V-B,L.score=re,L.indexes=new Array(Y),he=Y-1;he>=0;--he)L.indexes[he]=fe[he];return L},prepareLowerCodes:function(C){for(var L=C.length,w=[],$=C.toLowerCase(),B=0;B<L;++B)w[B]=$.charCodeAt(B);return w},prepareBeginningIndexes:function(C){for(var L=C.length,w=[],$=0,B=!1,V=!1,W=0;W<L;++W){var J=C.charCodeAt(W),oe=J>=65&&J<=90,ue=oe||J>=97&&J<=122||J>=48&&J<=57,be=oe&&!B||!V||!ue;B=oe,V=ue,be&&(w[$++]=W)}return w},prepareNextBeginningIndexes:function(C){for(var L=C.length,w=F.prepareBeginningIndexes(C),$=[],B=w[0],V=0,W=0;W<L;++W)B>W?$[W]=B:(B=w[++V],$[W]=B===void 0?L:B);return $},cleanup:u,new:S};return F}()},n.exports?n.exports=t():e.fuzzysort=t()}(bk={exports:{}},bk.exports),bk.exports);class EEt{constructor(e,t){this.message=e,this.iconUrl=t}render(){const e=Sl("div","emoji-picker__search-not-found"),t=Sl("div","emoji-picker__search-not-found-icon");this.iconUrl?t.appendChild(S3(this.iconUrl)):t.innerHTML=gEt,e.appendChild(t);const i=Sl("h2");return i.innerHTML=Ay(this.message),e.appendChild(i),e}}class AEt{constructor(e,t,i,o,a){if(this.events=e,this.i18n=t,this.options=i,this.focusedEmojiIndex=0,this.emojisPerRow=this.options.emojisPerRow||8,this.emojiData=o.filter(r=>r.version&&parseFloat(r.version)<=parseFloat(i.emojiVersion)&&r.category!==void 0&&a.indexOf(r.category)>=0),this.options.custom){const r=this.options.custom.map(l=>Object.assign(Object.assign({},l),{custom:!0}));this.emojiData=[...this.emojiData,...r]}this.events.on("hideVariantPopup",()=>{setTimeout(()=>this.setFocusedEmoji(this.focusedEmojiIndex))})}render(){return this.searchContainer=Sl("div","emoji-picker__search-container"),this.searchField=Sl("input","emoji-picker__search"),this.searchField.placeholder=this.i18n.search,this.searchContainer.appendChild(this.searchField),this.searchIcon=Sl("span","emoji-picker__search-icon"),this.options.icons&&this.options.icons.search?this.searchIcon.appendChild(S3(this.options.icons.search)):this.searchIcon.innerHTML=_k,this.searchIcon.addEventListener("click",e=>this.onClearSearch(e)),this.searchContainer.appendChild(this.searchIcon),this.searchField.addEventListener("keydown",e=>this.onKeyDown(e)),this.searchField.addEventListener("keyup",e=>this.onKeyUp(e)),this.searchContainer}clear(){this.searchField.value=""}focus(){this.searchField.focus()}onClearSearch(e){e.stopPropagation(),this.searchField.value&&(this.searchField.value="",this.resultsContainer=null,this.options.icons&&this.options.icons.search?(N3(this.searchIcon),this.searchIcon.appendChild(S3(this.options.icons.search))):this.searchIcon.innerHTML=_k,this.searchIcon.style.cursor="default",this.events.emit("hideSearchResults"),setTimeout(()=>this.searchField.focus()))}setFocusedEmoji(e){if(this.resultsContainer){const t=this.resultsContainer.querySelectorAll("."+b1);t[this.focusedEmojiIndex].tabIndex=-1,this.focusedEmojiIndex=e;const i=t[this.focusedEmojiIndex];i.tabIndex=0,i.focus()}}handleResultsKeydown(e){if(this.resultsContainer){const t=this.resultsContainer.querySelectorAll("."+b1);e.key==="ArrowRight"?this.setFocusedEmoji(Math.min(this.focusedEmojiIndex+1,t.length-1)):e.key==="ArrowLeft"?this.setFocusedEmoji(Math.max(0,this.focusedEmojiIndex-1)):e.key==="ArrowDown"?(e.preventDefault(),this.focusedEmojiIndex<t.length-this.emojisPerRow&&this.setFocusedEmoji(this.focusedEmojiIndex+this.emojisPerRow)):e.key==="ArrowUp"?(e.preventDefault(),this.focusedEmojiIndex>=this.emojisPerRow&&this.setFocusedEmoji(this.focusedEmojiIndex-this.emojisPerRow)):e.key==="Escape"&&this.onClearSearch(e)}}onKeyDown(e){e.key==="Escape"&&this.searchField.value&&this.onClearSearch(e)}onKeyUp(e){if(e.key!=="Tab"&&e.key!=="Shift")if(this.searchField.value){this.options.icons&&this.options.icons.clearSearch?(N3(this.searchIcon),this.searchIcon.appendChild(S3(this.options.icons.clearSearch))):this.searchIcon.innerHTML=wEt,this.searchIcon.style.cursor="pointer";const t=SEt.go(this.searchField.value,this.emojiData,{allowTypo:!0,limit:100,key:"name"}).map(i=>i.obj);this.events.emit("hidePreview"),t.length?(this.resultsContainer=new tE(t,!0,this.events,this.options,!1).render(),this.resultsContainer&&(this.resultsContainer.querySelector("."+b1).tabIndex=0,this.focusedEmojiIndex=0,this.resultsContainer.addEventListener("keydown",i=>this.handleResultsKeydown(i)),this.events.emit("showSearchResults",this.resultsContainer))):this.events.emit("showSearchResults",new EEt(this.i18n.notFound,this.options.icons&&this.options.icons.notFound).render())}else this.options.icons&&this.options.icons.search?(N3(this.searchIcon),this.searchIcon.appendChild(S3(this.options.icons.search))):this.searchIcon.innerHTML=_k,this.searchIcon.style.cursor="default",this.events.emit("hideSearchResults")}}class TEt{constructor(e,t,i){this.events=e,this.emoji=t,this.options=i,this.focusedEmojiIndex=0}getEmoji(e){return this.popup.querySelectorAll("."+b1)[e]}setFocusedEmoji(e){this.getEmoji(this.focusedEmojiIndex).tabIndex=-1,this.focusedEmojiIndex=e;const t=this.getEmoji(this.focusedEmojiIndex);t.tabIndex=0,t.focus()}render(){this.popup=Sl("div","emoji-picker__variant-popup");const e=Sl("div","emoji-picker__variant-overlay");e.addEventListener("click",i=>{i.stopPropagation(),this.popup.contains(i.target)||this.events.emit("hideVariantPopup")}),this.popup.appendChild(new eE(this.emoji,!1,!1,this.events,this.options,!1).render()),(this.emoji.variations||[]).forEach((i,o)=>this.popup.appendChild(new eE({name:this.emoji.name,emoji:i,key:this.emoji.name+o},!1,!1,this.events,this.options,!1).render()));const t=this.popup.querySelector("."+b1);return this.focusedEmojiIndex=0,t.tabIndex=0,setTimeout(()=>t.focus()),this.popup.addEventListener("keydown",i=>{i.key==="ArrowRight"?this.setFocusedEmoji(Math.min(this.focusedEmojiIndex+1,this.popup.querySelectorAll("."+b1).length-1)):i.key==="ArrowLeft"?this.setFocusedEmoji(Math.max(this.focusedEmojiIndex-1,0)):i.key==="Escape"&&(i.stopPropagation(),this.events.emit("hideVariantPopup"))}),e.appendChild(this.popup),e}}const mY={search:"Search emojis...",categories:{recents:"Recent Emojis",smileys:"Smileys & Emotion",people:"People & Body",animals:"Animals & Nature",food:"Food & Drink",activities:"Activities",travel:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},notFound:"No emojis found"},DEt={recents:yEt,smileys:JS,people:kEt,animals:pEt,food:hEt,activities:vEt,travel:fEt,objects:bEt,symbols:xEt,flags:mEt,custom:_Et};class LEt{constructor(e,t,i){this.options=e,this.events=t,this.i18n=i,this.activeButton=0,this.buttons=[]}render(){var e;const t=Sl("div","emoji-picker__category-buttons"),i=this.options.categories||((e=this.options.emojiData)===null||e===void 0?void 0:e.categories)||$3.categories;let o=this.options.showRecents?["recents",...i]:i;return this.options.custom&&(o=[...o,"custom"]),o.forEach(a=>{const r=Sl("button","emoji-picker__category-button");this.options.icons&&this.options.icons.categories&&this.options.icons.categories[a]?r.appendChild(S3(this.options.icons.categories[a])):r.innerHTML=DEt[a],r.tabIndex=-1,r.title=this.i18n.categories[a],t.appendChild(r),this.buttons.push(r),r.addEventListener("click",()=>{this.events.emit("categoryClicked",a)})}),t.addEventListener("keydown",a=>{switch(a.key){case"ArrowRight":this.events.emit("categoryClicked",o[(this.activeButton+1)%this.buttons.length]);break;case"ArrowLeft":this.events.emit("categoryClicked",o[this.activeButton===0?this.buttons.length-1:this.activeButton-1]);break;case"ArrowUp":case"ArrowDown":a.stopPropagation(),a.preventDefault()}}),t}setActiveButton(e,t=!0){let i=this.buttons[this.activeButton];i.classList.remove("active"),i.tabIndex=-1,this.activeButton=e,i=this.buttons[this.activeButton],i.classList.add("active"),i.tabIndex=0,t&&i.focus()}}const yR=["recents","smileys","people","animals","food","activities","travel","objects","symbols","flags","custom"];class IEt{constructor(e,t,i,o){var a;this.events=e,this.i18n=t,this.options=i,this.emojiCategories=o,this.currentCategory=0,this.headers=[],this.focusedIndex=0,this.handleKeyDown=r=>{switch(this.emojis.removeEventListener("scroll",this.highlightCategory),r.key){case"ArrowRight":this.focusedEmoji.tabIndex=-1,this.focusedIndex===this.currentEmojiCount-1&&this.currentCategory<this.categories.length-1?(this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(++this.currentCategory),this.setFocusedEmoji(0)):this.focusedIndex<this.currentEmojiCount-1&&this.setFocusedEmoji(this.focusedIndex+1);break;case"ArrowLeft":this.focusedEmoji.tabIndex=-1,this.focusedIndex===0&&this.currentCategory>0?(this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(--this.currentCategory),this.setFocusedEmoji(this.currentEmojiCount-1)):this.setFocusedEmoji(Math.max(0,this.focusedIndex-1));break;case"ArrowDown":r.preventDefault(),this.focusedEmoji.tabIndex=-1,this.focusedIndex+this.emojisPerRow>=this.currentEmojiCount&&this.currentCategory<this.categories.length-1?(this.currentCategory++,this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory),this.setFocusedEmoji(Math.min(this.focusedIndex%this.emojisPerRow,this.currentEmojiCount-1))):this.currentEmojiCount-this.focusedIndex>this.emojisPerRow&&this.setFocusedEmoji(this.focusedIndex+this.emojisPerRow);break;case"ArrowUp":if(r.preventDefault(),this.focusedEmoji.tabIndex=-1,this.focusedIndex<this.emojisPerRow&&this.currentCategory>0){const l=this.getEmojiCount(this.currentCategory-1);let s=l%this.emojisPerRow;s===0&&(s=this.emojisPerRow);const u=this.focusedIndex,d=u>s-1?l-1:l-s+u;this.currentCategory--,this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory),this.setFocusedEmoji(d)}else this.setFocusedEmoji(this.focusedIndex>=this.emojisPerRow?this.focusedIndex-this.emojisPerRow:this.focusedIndex)}requestAnimationFrame(()=>this.emojis.addEventListener("scroll",this.highlightCategory))},this.addCategory=(r,l)=>{const s=Sl("h2","emoji-picker__category-name");s.innerHTML=Ay(this.i18n.categories[r]||mY.categories[r]),this.emojis.appendChild(s),this.headers.push(s),this.emojis.appendChild(new tE(l,!0,this.events,this.options,r!=="recents").render())},this.selectCategory=(r,l=!0)=>{this.emojis.removeEventListener("scroll",this.highlightCategory),this.focusedEmoji&&(this.focusedEmoji.tabIndex=-1);const s=this.categories.indexOf(r);this.currentCategory=s,this.setFocusedEmoji(0,!1),this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory,l);const u=this.headerOffsets[s];this.emojis.scrollTop=u,requestAnimationFrame(()=>this.emojis.addEventListener("scroll",this.highlightCategory))},this.highlightCategory=()=>{if(document.activeElement&&document.activeElement.classList.contains("emoji-picker__emoji"))return;let r=this.headerOffsets.findIndex(l=>l>=Math.round(this.emojis.scrollTop));this.emojis.scrollTop+this.emojis.offsetHeight===this.emojis.scrollHeight&&(r=-1),r===0?r=1:r<0&&(r=this.headerOffsets.length),this.headerOffsets[r]===this.emojis.scrollTop&&r++,this.currentCategory=r-1,this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory)},this.emojisPerRow=i.emojisPerRow||8,this.categories=((a=i.emojiData)===null||a===void 0?void 0:a.categories)||i.categories||$3.categories,i.showRecents&&(this.categories=["recents",...this.categories]),i.custom&&(this.categories=[...this.categories,"custom"]),this.categories.sort((r,l)=>yR.indexOf(r)-yR.indexOf(l))}updateRecents(){if(this.options.showRecents){this.emojiCategories.recents=QS();const e=this.emojis.querySelector(".emoji-picker__container");e&&e.parentNode&&e.parentNode.replaceChild(new tE(this.emojiCategories.recents,!0,this.events,this.options,!1).render(),e)}}render(){return this.container=Sl("div","emoji-picker__emoji-area"),this.options.showCategoryButtons&&(this.categoryButtons=new LEt(this.options,this.events,this.i18n),this.container.appendChild(this.categoryButtons.render())),this.emojis=Sl("div","emoji-picker__emojis"),this.options.showRecents&&(this.emojiCategories.recents=QS()),this.options.custom&&(this.emojiCategories.custom=this.options.custom.map(e=>Object.assign(Object.assign({},e),{custom:!0}))),this.categories.forEach(e=>this.addCategory(e,this.emojiCategories[e])),requestAnimationFrame(()=>{setTimeout(()=>{setTimeout(()=>this.emojis.addEventListener("scroll",this.highlightCategory))})}),this.emojis.addEventListener("keydown",this.handleKeyDown),this.events.on("categoryClicked",this.selectCategory),this.container.appendChild(this.emojis),this.container.querySelectorAll("."+b1)[0].tabIndex=0,this.container}reset(){this.headerOffsets=Array.prototype.map.call(this.headers,e=>e.offsetTop),this.selectCategory(this.options.initialCategory||"smileys",!1),this.currentCategory=this.categories.indexOf(this.options.initialCategory||"smileys"),this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory,!1)}get currentCategoryEl(){return this.emojis.querySelectorAll(".emoji-picker__container")[this.currentCategory]}get focusedEmoji(){return this.currentCategoryEl.querySelectorAll("."+b1)[this.focusedIndex]}get currentEmojiCount(){return this.currentCategoryEl.querySelectorAll("."+b1).length}getEmojiCount(e){return this.emojis.querySelectorAll(".emoji-picker__container")[e].querySelectorAll("."+b1).length}setFocusedEmoji(e,t=!0){this.focusedIndex=e,this.focusedEmoji&&(this.focusedEmoji.tabIndex=0,t&&this.focusedEmoji.focus())}}const MEt={position:"auto",autoHide:!0,autoFocusSearch:!0,showAnimation:!0,showPreview:!0,showSearch:!0,showRecents:!0,showVariants:!0,showCategoryButtons:!0,recentsCount:50,emojiData:$3,emojiVersion:"12.1",theme:"light",categories:["smileys","people","animals","food","activities","travel","objects","symbols","flags"],style:"native",twemojiOptions:{ext:".svg",folder:"svg"},emojisPerRow:8,rows:6,emojiSize:"1.8em",initialCategory:"smileys"};class FEt{constructor(e={}){this.events=new GS,this.publicEvents=new GS,this.pickerVisible=!1,this.options=Object.assign(Object.assign({},MEt),e),this.options.rootElement||(this.options.rootElement=document.body),this.i18n=Object.assign(Object.assign({},mY),e.i18n),this.onDocumentClick=this.onDocumentClick.bind(this),this.onDocumentKeydown=this.onDocumentKeydown.bind(this),this.theme=this.options.theme||"light",this.emojiCategories=function(t){const i={};return t.emoji.forEach(o=>{let a=i[t.categories[o.category||0]];a||(a=i[t.categories[o.category||0]]=[]),a.push(o)}),i}(this.options.emojiData||$3),this.buildPicker()}on(e,t){this.publicEvents.on(e,t)}off(e,t){this.publicEvents.off(e,t)}setStyleProperties(){this.options.showAnimation||this.pickerEl.style.setProperty("--animation-duration","0s"),this.options.emojisPerRow&&this.pickerEl.style.setProperty("--emoji-per-row",this.options.emojisPerRow.toString()),this.options.rows&&this.pickerEl.style.setProperty("--row-count",this.options.rows.toString()),this.options.emojiSize&&this.pickerEl.style.setProperty("--emoji-size",this.options.emojiSize),this.options.showCategoryButtons||this.pickerEl.style.setProperty("--category-button-height","0"),this.options.styleProperties&&Object.keys(this.options.styleProperties).forEach(e=>{this.options.styleProperties&&this.pickerEl.style.setProperty(e,this.options.styleProperties[e])})}showSearchResults(e){N3(this.pickerContent),e.classList.add("search-results"),this.pickerContent.appendChild(e)}hideSearchResults(){this.pickerContent.firstChild!==this.emojiArea.container&&(N3(this.pickerContent),this.pickerContent.appendChild(this.emojiArea.container)),this.emojiArea.reset()}emitEmoji({emoji:e,showVariants:t}){return RSt(this,void 0,void 0,function*(){if(e.variations&&t&&this.options.showVariants)this.showVariantPopup(e);else{let i;setTimeout(()=>this.emojiArea.updateRecents()),i=e.custom?this.emitCustomEmoji(e):this.options.style==="twemoji"?yield this.emitTwemoji(e):this.emitNativeEmoji(e),this.publicEvents.emit("emoji",i),this.options.autoHide&&this.hidePicker()}})}emitNativeEmoji(e){return{emoji:e.emoji,name:e.name}}emitCustomEmoji(e){return{url:e.emoji,name:e.name,custom:!0}}emitTwemoji(e){return new Promise(t=>{V9.parse(e.emoji,Object.assign(Object.assign({},this.options.twemojiOptions),{callback:(i,{base:o,size:a,ext:r})=>{const l=`${o}${a}/${i}${r}`;return t({url:l,emoji:e.emoji,name:e.name}),l}}))})}buildSearch(){var e;this.options.showSearch&&(this.search=new AEt(this.events,this.i18n,this.options,((e=this.options.emojiData)===null||e===void 0?void 0:e.emoji)||$3.emoji,(this.options.categories||[]).map(t=>(this.options.emojiData||$3).categories.indexOf(t))),this.pickerEl.appendChild(this.search.render()))}buildPreview(){this.options.showPreview&&this.pickerEl.appendChild(new tEt(this.events,this.options).render())}initPlugins(){if(this.options.plugins){const e=Sl("div","emoji-picker__plugin-container");this.options.plugins.forEach(t=>{if(!t.render)throw new Error('Emoji Button plugins must have a "render" function.');e.appendChild(t.render(this))}),this.pickerEl.appendChild(e)}}initFocusTrap(){this.focusTrap=jSt(this.pickerEl,{clickOutsideDeactivates:!0,initialFocus:this.options.showSearch&&this.options.autoFocusSearch?".emoji-picker__search":'.emoji-picker__emoji[tabindex="0"]'})}buildPicker(){this.pickerEl=Sl("div","emoji-picker"),this.pickerEl.classList.add(this.theme),this.setStyleProperties(),this.initFocusTrap(),this.pickerContent=Sl("div","emoji-picker__content"),this.initPlugins(),this.buildSearch(),this.pickerEl.appendChild(this.pickerContent),this.emojiArea=new IEt(this.events,this.i18n,this.options,this.emojiCategories),this.pickerContent.appendChild(this.emojiArea.render()),this.events.on("showSearchResults",this.showSearchResults.bind(this)),this.events.on("hideSearchResults",this.hideSearchResults.bind(this)),this.events.on("emoji",this.emitEmoji.bind(this)),this.buildPreview(),this.wrapper=Sl("div","emoji-picker__wrapper"),this.wrapper.appendChild(this.pickerEl),this.wrapper.style.display="none",this.options.zIndex&&(this.wrapper.style.zIndex=this.options.zIndex+""),this.options.rootElement&&this.options.rootElement.appendChild(this.wrapper),this.observeForLazyLoad()}showVariantPopup(e){const t=new TEt(this.events,e,this.options).render();t&&this.pickerEl.appendChild(t),this.events.on("hideVariantPopup",()=>{t&&(t.classList.add("hiding"),setTimeout(()=>{t&&this.pickerEl.removeChild(t)},175)),this.events.off("hideVariantPopup")})}observeForLazyLoad(){this.observer=new IntersectionObserver(this.handleIntersectionChange.bind(this),{root:this.emojiArea.emojis}),this.emojiArea.emojis.querySelectorAll("."+b1).forEach(e=>{this.shouldLazyLoad(e)&&this.observer.observe(e)})}handleIntersectionChange(e){Array.prototype.filter.call(e,t=>t.intersectionRatio>0).map(t=>t.target).forEach(t=>{eEt(t,this.options)})}shouldLazyLoad(e){return this.options.style==="twemoji"||e.dataset.custom==="true"}onDocumentClick(e){this.pickerEl.contains(e.target)||this.hidePicker()}destroyPicker(){this.events.off("emoji"),this.events.off("hideVariantPopup"),this.options.rootElement&&(this.options.rootElement.removeChild(this.wrapper),this.popper&&this.popper.destroy()),this.observer&&this.observer.disconnect(),this.options.plugins&&this.options.plugins.forEach(e=>{e.destroy&&e.destroy()})}hidePicker(){this.hideInProgress=!0,this.focusTrap.deactivate(),this.pickerVisible=!1,this.overlay&&(document.body.removeChild(this.overlay),this.overlay=void 0),this.emojiArea.emojis.removeEventListener("scroll",this.emojiArea.highlightCategory),this.pickerEl.classList.add("hiding"),setTimeout(()=>{this.wrapper.style.display="none",this.pickerEl.classList.remove("hiding"),this.pickerContent.firstChild!==this.emojiArea.container&&(N3(this.pickerContent),this.pickerContent.appendChild(this.emojiArea.container)),this.search&&this.search.clear(),this.events.emit("hideVariantPopup"),this.hideInProgress=!1,this.popper&&this.popper.destroy(),this.publicEvents.emit("hidden")},this.options.showAnimation?170:0),setTimeout(()=>{document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onDocumentKeydown)})}showPicker(e){this.hideInProgress?setTimeout(()=>this.showPicker(e),100):(this.pickerVisible=!0,this.wrapper.style.display="block",this.determineDisplay(e),this.focusTrap.activate(),setTimeout(()=>{this.addEventListeners(),this.setInitialFocus()}),this.emojiArea.reset())}determineDisplay(e){window.matchMedia("screen and (max-width: 450px)").matches?this.showMobileView():typeof this.options.position=="string"?this.setRelativePosition(e):this.setFixedPosition()}setInitialFocus(){this.pickerEl.querySelector(this.options.showSearch&&this.options.autoFocusSearch?".emoji-picker__search":`.${b1}[tabindex="0"]`).focus()}addEventListeners(){document.addEventListener("click",this.onDocumentClick),document.addEventListener("keydown",this.onDocumentKeydown)}setRelativePosition(e){this.popper=JSt(e,this.wrapper,{placement:this.options.position})}setFixedPosition(){var e;if(!((e=this.options)===null||e===void 0)&&e.position){this.wrapper.style.position="fixed";const t=this.options.position;Object.keys(t).forEach(i=>{this.wrapper.style[i]=t[i]})}}showMobileView(){const e=window.getComputedStyle(this.pickerEl),t=document.querySelector("html"),i=t&&t.clientHeight,o=t&&t.clientWidth,a=parseInt(e.height),r=i?i/2-a/2:0,l=parseInt(e.width),s=o?o/2-l/2:0;this.wrapper.style.position="fixed",this.wrapper.style.top=r+"px",this.wrapper.style.left=s+"px",this.wrapper.style.zIndex="5000",this.overlay=Sl("div","emoji-picker__overlay"),document.body.appendChild(this.overlay)}togglePicker(e){this.pickerVisible?this.hidePicker():this.showPicker(e)}isPickerVisible(){return this.pickerVisible}onDocumentKeydown(e){e.key==="Escape"?this.hidePicker():e.key==="Tab"?this.pickerEl.classList.add("keyboard"):e.key.match(/^[\w]$/)&&this.search&&this.search.focus()}setTheme(e){e!==this.theme&&(this.pickerEl.classList.remove(this.theme),this.theme=e,this.pickerEl.classList.add(e))}}const PEt=Pt({__name:"v-emoji-picker",emits:["emoji-selected"],setup(n,{emit:e}){const t=new FEt({theme:"auto",zIndex:1e4,position:"bottom",emojisPerRow:8}),i=e;return t.on("emoji",o=>{i("emoji-selected",o.emoji)}),Dl(()=>{t.destroyPicker()}),(o,a)=>{const r=G("v-icon"),l=G("v-button");return j(),ye(l,{class:"emoji-button","x-small":"",secondary:"",icon:"",onClick:a[0]||(a[0]=s=>h(t).togglePicker(s.target))},{default:I(()=>[T(r,{name:"insert_emoticon"})]),_:1})}}}),OEt=Pt({__name:"v-workspace",props:{tiles:{},editMode:{type:Boolean,default:!1},zoomToFit:{type:Boolean,default:!1},resizable:{type:Boolean,default:!0}},emits:["update","move","delete","duplicate","edit","preview"],setup(n){const e=n,t=Sc("main-element",Oe()),i=X0(t),o=Ce(()=>{var s;return Number(((s=Zr("--content-padding",t.value))==null?void 0:s.slice(0,-2))||0)}),a=Ce(()=>{const s=e.tiles.reduce((d,g)=>(g.x+g.width>d.x+d.width&&(d.x=g.x,d.width=g.width),d),{x:0,width:0}),u=e.tiles.reduce((d,g)=>(g.y+g.height>d.y+d.height&&(d.y=g.y,d.height=g.height),d),{y:0,height:0});return e.editMode===!0?{width:(s.x+s.width+25)*20,height:(u.y+u.height+25)*20}:{width:(s.x+s.width-1)*20,height:(u.y+u.height-1)*20}}),r=Ce(()=>{if(e.zoomToFit===!1)return 1;const{width:s,height:u}=i,d=(s.value-o.value*2)/a.value.width,g=(u.value-114-o.value*2)/a.value.height;return Math.min(d,g)}),l=Ce(()=>({width:a.value.width*r.value+o.value*2,height:a.value.height*r.value+o.value*2}));return(s,u)=>{const d=G("v-workspace-tile");return j(),Re("div",{class:yn(["v-workspace",{editing:s.editMode}]),style:hr({width:l.value.width+"px",height:l.value.height+"px"})},[ke("div",{class:"workspace",style:hr({transform:`scale(${r.value})`,width:a.value.width+"px",height:a.value.height+"px"})},[s.$slots.tile?(j(!0),Re(hn,{key:1},Si(s.tiles,g=>gi(s.$slots,"tile",{key:g.id,tile:g},void 0,!0)),128)):(j(!0),Re(hn,{key:0},Si(s.tiles,g=>(j(),ye(d,Fr({key:g.id,ref_for:!0},g,{"edit-mode":s.editMode,resizable:s.resizable,onPreview:m=>s.$emit("preview",g),onEdit:m=>s.$emit("edit",g),onUpdate:m=>s.$emit("update",{edits:m,id:g.id}),onMove:m=>s.$emit("move",g.id),onDelete:m=>s.$emit("delete",g.id),onDuplicate:m=>s.$emit("duplicate",g)}),{default:I(()=>[gi(s.$slots,"default",{tile:g},void 0,!0)]),_:2},1040,["edit-mode","resizable","onPreview","onEdit","onUpdate","onMove","onDelete","onDuplicate"]))),128))],4)],6)}}}),REt=Wt(OEt,[["__scopeId","data-v-fb9948d7"]]),zEt={key:0,class:"header"},$Et={class:"resize-details"},NEt={key:2,class:"resize-handlers"},BEt={key:0,class:"footer"},jEt=Pt({__name:"v-workspace-tile",props:{id:{},x:{},y:{},width:{},height:{},name:{default:void 0},icon:{default:"space_dashboard"},color:{default:"var(--theme--primary)"},note:{default:void 0},showHeader:{type:Boolean,default:!0},minWidth:{default:8},minHeight:{default:6},draggable:{type:Boolean,default:!0},borderRadius:{default:()=>[!0,!0,!0,!0]},resizable:{type:Boolean,default:!0},editMode:{type:Boolean,default:!1},showOptions:{type:Boolean,default:!0},alwaysUpdatePosition:{type:Boolean,default:!1}},emits:["update","move","duplicate","delete","edit","preview"],setup(n,{emit:e}){const t=n,i=e,{t:o}=un(),a=If({position_x:void 0,position_y:void 0,width:void 0,height:void 0}),{onPointerDown:r,dragging:l}=g(),s=Ce(()=>l.value?{x:a.position_x??t.x,y:a.position_y??t.y,width:a.width??t.width,height:a.height??t.height}:{x:t.x,y:t.y,width:t.width,height:t.height}),u=Ce(()=>l.value?{"--pos-x":a.position_x??t.x,"--pos-y":a.position_y??t.y,"--width":a.width??t.width,"--height":a.height??t.height}:{"--pos-x":t.x,"--pos-y":t.y,"--width":t.width,"--height":t.height}),d=Ce(()=>({"--v-icon-color":t.color}));function g(){const m=Oe(!1);let _=0,x=0,S=0,A=0,F=0,C=0,L="move";const w=et.throttle(V=>{if(t.editMode===!1||m.value===!1||t.draggable===!1)return;const W=V.pageX-_,J=V.pageY-x,oe=Math.round(W/20),ue=Math.round(J/20);if(L==="move")a.position_x=S+oe,a.position_y=A+ue,a.position_x<1&&(a.position_x=1),a.position_y<1&&(a.position_y=1);else{L.includes("top")&&(a.height=C-ue,a.position_y=A+ue),L.includes("right")&&(a.width=F+oe),L.includes("bottom")&&(a.height=C+ue),L.includes("left")&&(a.width=F-oe,a.position_x=S+oe);const be=t.minWidth,ie=t.minHeight;a.position_x&&a.position_x<1&&(a.position_x=1),a.position_y&&a.position_y<1&&(a.position_y=1),a.width&&a.width<be&&(a.width=be),a.height&&a.height<ie&&(a.height=ie)}t.alwaysUpdatePosition&&i("update",a)},20);return{dragging:m,onPointerDown:$,onPointerUp:B,onPointerMove:w};function $(V,W){t.editMode===!1||t.draggable===!1||(L=V,m.value=!0,_=W.pageX,x=W.pageY,S=t.x,A=t.y,F=t.width,C=t.height,window.addEventListener("pointerup",B),window.addEventListener("pointermove",w))}function B(){m.value=!1,!(t.editMode===!1||t.draggable===!1||Object.values(a).every(V=>V===void 0))&&(i("update",a),window.removeEventListener("pointerup",B),window.removeEventListener("pointermove",w),a.position_x=void 0,a.position_y=void 0,a.width=void 0,a.height=void 0)}}return(m,_)=>{const x=G("v-icon"),S=G("v-text-overflow"),A=G("v-list-item-icon"),F=G("v-list-item-content"),C=G("v-list-item"),L=G("v-list"),w=G("v-menu"),$=hi("tooltip");return j(),Re("div",{class:yn(["v-workspace-tile",{editing:m.editMode,draggable:m.draggable,dragging:h(l),"br-tl":h(l)||m.borderRadius[0],"br-tr":h(l)||m.borderRadius[1],"br-br":h(l)||m.borderRadius[2],"br-bl":h(l)||m.borderRadius[3]}]),style:hr(u.value),"data-move":"",onPointerdown:_[13]||(_[13]=B=>h(r)("move",B))},[m.showHeader?(j(),Re("div",zEt,[T(x,{class:"icon",style:hr(d.value),name:m.icon,small:""},null,8,["style","name"]),T(S,{class:"name",text:m.name||""},null,8,["text"]),_[14]||(_[14]=ke("div",{class:"spacer"},null,-1)),m.note?Qt((j(),ye(x,{key:0,class:"note",name:"info"},null,512)),[[$,m.note]]):We("",!0)])):We("",!0),m.editMode?(j(),Re("div",{key:1,class:"edit-actions",onPointerdown:_[4]||(_[4]=Ji(()=>{},["stop"]))},[Qt(T(x,{class:"edit-icon",name:"edit",clickable:"",onClick:_[0]||(_[0]=B=>m.$emit("edit"))},null,512),[[$,h(o)("edit")]]),m.showOptions?(j(),ye(w,{key:0,placement:"bottom-end","show-arrow":""},{activator:I(({toggle:B})=>[T(x,{class:"more-icon",name:"more_vert",clickable:"",onClick:B},null,8,["onClick"])]),default:I(()=>[T(L,null,{default:I(()=>[T(C,{clickable:"",disabled:m.id.startsWith("_"),onClick:_[1]||(_[1]=B=>m.$emit("move"))},{default:I(()=>[T(A,null,{default:I(()=>[T(x,{class:"move-icon",name:"input"})]),_:1}),T(F,null,{default:I(()=>[ze(me(h(o)("copy_to")),1)]),_:1})]),_:1},8,["disabled"]),T(C,{clickable:"",onClick:_[2]||(_[2]=B=>m.$emit("duplicate"))},{default:I(()=>[T(A,null,{default:I(()=>[T(x,{name:"control_point_duplicate"})]),_:1}),T(F,null,{default:I(()=>[ze(me(h(o)("duplicate")),1)]),_:1})]),_:1}),T(C,{class:"delete-action",clickable:"",onClick:_[3]||(_[3]=B=>m.$emit("delete"))},{default:I(()=>[T(A,null,{default:I(()=>[T(x,{name:"delete"})]),_:1}),T(F,null,{default:I(()=>[ze(me(h(o)("delete")),1)]),_:1})]),_:1})]),_:1})]),_:1})):We("",!0)],32)):We("",!0),ke("div",$Et,[ze(" ("+me(s.value.x-1)+":"+me(s.value.y-1)+") ",1),m.resizable?(j(),Re(hn,{key:0},[ze(me(s.value.width)+"×"+me(s.value.height),1)],64)):We("",!0)]),m.editMode&&m.resizable?(j(),Re("div",NEt,[ke("div",{class:"top",onPointerdown:_[5]||(_[5]=Ji(B=>h(r)("resize-top",B),["stop"]))},null,32),ke("div",{class:"right",onPointerdown:_[6]||(_[6]=Ji(B=>h(r)("resize-right",B),["stop"]))},null,32),ke("div",{class:"bottom",onPointerdown:_[7]||(_[7]=Ji(B=>h(r)("resize-bottom",B),["stop"]))},null,32),ke("div",{class:"left",onPointerdown:_[8]||(_[8]=Ji(B=>h(r)("resize-left",B),["stop"]))},null,32),ke("div",{class:"top-left",onPointerdown:_[9]||(_[9]=Ji(B=>h(r)("resize-top-left",B),["stop"]))},null,32),ke("div",{class:"top-right",onPointerdown:_[10]||(_[10]=Ji(B=>h(r)("resize-top-right",B),["stop"]))},null,32),ke("div",{class:"bottom-right",onPointerdown:_[11]||(_[11]=Ji(B=>h(r)("resize-bottom-right",B),["stop"]))},null,32),ke("div",{class:"bottom-left",onPointerdown:_[12]||(_[12]=Ji(B=>h(r)("resize-bottom-left",B),["stop"]))},null,32)])):We("",!0),ke("div",{class:yn(["tile-content",{"has-header":m.showHeader}])},[gi(m.$slots,"default",{},void 0,!0),m.$slots.footer?(j(),Re("div",BEt,[gi(m.$slots,"footer",{},void 0,!0)])):We("",!0)],2),gi(m.$slots,"body",{},void 0,!0)],38)}}}),VEt=Wt(jEt,[["__scopeId","data-v-9cd5799d"]]),HEt=Pt({__name:"v-error-boundary",props:{name:{default:void 0},stopPropagation:{type:Boolean,default:!0}},setup(n){const e=n,t=Oe(null),i=Ce(()=>!!t.value);return lK((o,a,r)=>{t.value=o;const l=e.name?et.kebabCase(e.name):VR(a);if(console.warn(`[${l}-error] ${r}`),console.warn(o),e.stopPropagation)return!1}),(o,a)=>i.value?(j(),Re(hn,{key:0},[o.$slots.fallback?gi(o.$slots,"fallback",cr(Fr({key:0},{error:t.value}))):We("",!0)],64)):gi(o.$slots,"default",{key:1})}});function UEt(n){n.component("VAvatar",w9t),n.component("VBadge",S9t),n.component("VBreadcrumb",D9t),n.component("VButton",M9t),n.component("VCardActions",$9t),n.component("VCardSubtitle",V9t),n.component("VCardText",W9t),n.component("VCardTitle",K9t),n.component("VCard",P9t),n.component("VCheckbox",txt),n.component("VCheckboxTree",rxt),n.component("VChip",j_),n.component("VDetail",lxt),n.component("VDialog",dxt),n.component("VDivider",FC),n.component("VError",Fxt),n.component("VFancySelect",jxt),n.component("VFieldTemplate",Gxt),n.component("VCollectionFieldTemplate",Xxt),n.component("VFieldList",ewt),n.component("VForm",PC),n.component("VHover",twt),n.component("VHighlight",rwt),n.component("VIcon",Y8),n.component("VImage",lwt),n.component("VIconFile",dwt),n.component("VInfo",vwt),n.component("VInput",Awt),n.component("VItemGroup",Dwt),n.component("VItem",Iwt),n.component("VListGroup",zwt),n.component("VListItemContent",Hwt),n.component("VListItemHint",qwt),n.component("VListItemIcon",Gwt),n.component("VListItem",Nwt),n.component("VList",Fwt),n.component("VMenu",Zkt),n.component("VDrawer",Lxt),n.component("VNotice",Qkt),n.component("VOverlay",nCt),n.component("VPagination",sCt),n.component("VProgressCircular",yW),n.component("VProgressLinear",cCt),n.component("VRadio",pCt),n.component("VResizeable",LG),n.component("VSelect",xCt),n.component("VSheet",SCt),n.component("VSkeletonLoader",ACt),n.component("VSlider",PCt),n.component("VTabItem",sSt),n.component("VTab",rSt),n.component("VTable",eSt),n.component("VTabsItems",lSt),n.component("VTabs",iSt),n.component("VTemplateInput",_St),n.component("VTextarea",ESt),n.component("VTextOverflow",xSt),n.component("VUpload",VE),n.component("VDatePicker",OSt),n.component("VEmojiPicker",PEt),n.component("VWorkspace",REt),n.component("VWorkspaceTile",VEt),n.component("VErrorBoundary",HEt),n.component("TransitionBounce",m9t),n.component("TransitionDialog",y9t),n.component("TransitionExpand",b9t),n.component("RenderDisplay",K7t),n.component("RenderTemplate",e9t),n.component("ExportSidebarDetail",rD),n.component("SidebarDetail",r9t),n.component("UserPopover",f9t),n.component("ValueNull",KE),n.component("DrawerCollection",_2),n.component("DrawerFiles",H7),n.component("DrawerItem",kp),n.component("DrawerBatch",Rv)}const vY=(n,{value:e})=>{const{handler:t,middleware:i,events:o,disabled:a}=WEt(e);Wn(()=>e,r=>{JSON.stringify(r)!==JSON.stringify(e)&&yY(n,{value:r,oldValue:null})}),a!==!0&&(n.$clickOutsideHandlers=o.map(r=>({event:r,handler:l=>GEt({event:l,el:n,handler:t,middleware:i})})),n.$clickOutsideHandlers.forEach(({event:r,handler:l})=>{setTimeout(()=>{n.$clickOutsideHandlers&&document.documentElement.addEventListener(r,l,!1)})}))},gY=n=>{(n.$clickOutsideHandlers||[]).forEach(({event:t,handler:i})=>{document.documentElement.removeEventListener(t,i,!1)})},yY=(n,{value:e,oldValue:t})=>{JSON.stringify(e)!==JSON.stringify(t)&&(gY(n),vY(n,{value:e}))},qEt={beforeMount:vY,unmounted:gY,updated:yY};function WEt(n){const e=typeof n=="function";let t;if(e)t={handler:n,middleware:()=>!0,events:["pointerdown"],disabled:!1};else{const i=n;t={handler:i.handler||(()=>{}),middleware:i.middleware||(()=>!0),events:i.events||["pointerdown"],disabled:i.disabled!==void 0?!!i.disabled:!1}}return t}function GEt({el:n,event:e,handler:t,middleware:i}){e.stopPropagation();const o=e.composedPath();(o?o.indexOf(n)<0:n.contains(e.target)===!1)!==!1&&i(e)&&t(e)}function YEt(n,e){var i;const t=(i=e.instance)==null?void 0:i.$refs[e.value];t&&(n.addEventListener("contextmenu",_Y(t)),document.documentElement.addEventListener("pointerdown",bY(t)))}function XEt(n,e){var i;const t=(i=e.instance)==null?void 0:i.$refs[e.value];t&&(n.removeEventListener("contextmenu",_Y(t)),document.documentElement.removeEventListener("pointerdown",bY(t)))}const KEt={mounted:YEt,unmounted:XEt};function _Y(n){return e=>{e.stopPropagation(),e.preventDefault(),n&&n.activate(e)}}function bY(n){return e=>{!n||e.composedPath().find(i=>i.id===n.id)||n.deactivate(e)}}const ZEt={mounted(n,e){e.value?n.focus():n.blur()}},JEt={mounted:n=>{n.onUpdate=()=>_R(n),n.shadow=document.createElement("div"),n.shadow.setAttribute("aria-hidden","true"),QEt(n),document.body.appendChild(n.shadow),_R(n),n.addEventListener("input",n.onUpdate)},updated:n=>{n.onUpdate&&n.onUpdate()},unmounted:n=>{document.body.removeChild(n.shadow),n.onUpdate&&n.removeEventListener("input",n.onUpdate)}};function _R(n){const e=n.value||n.placeholder;n.shadow.textContent=e,n.style.width=`${n.shadow.scrollWidth}px`}function QEt(n){const e=window.getComputedStyle(n);Object.assign(n.shadow.style,{position:"absolute",top:"0",left:"0",visibility:"hidden",height:"0",overflow:"hidden",whiteSpace:"pre",fontSize:e.fontSize,fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontStyle:e.fontStyle,letterSpacing:e.letterSpacing,textTransform:e.textTransform,paddingRight:`calc(${e.paddingRight} + ${e.borderRightWidth})`,paddingLeft:`calc(${e.paddingLeft} + ${e.borderLeftWidth})`})}const eAt={beforeMount:bR,updated:bR};function bR(n,e){typeof e.value=="object"&&"value"in e.value?n.innerHTML=mS(e.value.value,e.value):n.innerHTML=mS(e.value??"")}function tAt(n){n.directive("click-outside",qEt),n.directive("context-menu",KEt),n.directive("focus",ZEt),n.directive("input-auto-width",JEt),n.directive("md",eAt),n.directive("tooltip",XC)}const nAt="data:image/svg+xml,%3csvg%20width='64'%20height='39'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='%23FFFFFF'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.18%2024.61c-.3-.07-.55-.15-.77-.25-.16-.07-.3-.16-.42-.26a.31.31%200%200%201-.1-.27c.11-1.24-.02-2.33.1-3.56.5-5%203.64-3.41%206.46-4.23%201.62-.45%203.24-1.35%203.83-3.1.1-.3.01-.61-.19-.84a36.2%2036.2%200%200%200-6.12-5.54A36.73%2036.73%200%200%200%2027.94.36a.46.46%200%200%200-.33.7%2013.7%2013.7%200%200%200%204.31%204.24c.31.19.19.6-.17.52a8.2%208.2%200%200%201-2.92-1.26.35.35%200%200%200-.33-.04l-1.64.67a.45.45%200%200%200-.12.75A13.7%2013.7%200%200%200%2042.8%207.3c.3-.19.8.2.7.55a27%2027%200%200%200-.54%202.37c-1.26%206.37-4.9%205.87-9.4%204.27-9-3.26-14.12-.48-18.66-5.98-.31-.38-.87-.51-1.24-.19a4.25%204.25%200%200%200%20.43%206.8c.14.1.33.05.44-.08.28-.35.5-.59.8-.74.3-.16.46.29.2.52-.97.85-1.25%201.87-1.88%203.87-.99%203.13-.57%206.34-5.2%207.18-2.45.12-2.4%201.78-3.29%204.25-1.03%202.98-2.39%204.3-4.9%206.9-.34.36-.36.93.01%201.25%201%20.85%202.04.9%203.09.46%202.6-1.08%204.6-4.44%206.48-6.61%202.1-2.42%207.15-1.39%2010.97-3.76%202.05-1.25%203.29-2.86%202.9-5.27-.07-.38.37-.62.53-.26.31.68.51%201.4.6%202.16.02.2.2.34.39.33%204.12-.23%209.46%204.3%2014.44%205.53.3.08.52-.27.35-.53a9.17%209.17%200%200%201-1.3-3.02c-.1-.39.47-.5.66-.14a9.2%209.2%200%200%200%207.4%204.71c1.2.1%202.54-.05%203.93-.47%201.66-.5%203.19-1.14%205.02-.79%201.36.25%202.63.94%203.42%202.1%201.1%201.62%203.45%202.04%204.7.35a.81.81%200%200%200%20.08-.8c-2.76-6.43-9.75-6.88-12.75-7.65Z'%20/%3e%3c/svg%3e",iAt={class:"public-view"},oAt={class:"title-box"},rAt={class:"title"},aAt={class:"type-title"},sAt={class:"content"},lAt={class:"notice"},cAt={key:0,class:"fallback"},uAt=["src"],dAt={class:"note-container"},fAt={key:0,class:"note"},pAt=Pt({__name:"public-view",props:{wide:{type:Boolean,default:!1}},setup(n){const{t:e}=un(),t=Is(),{info:i}=Tl(t),o=Ce(()=>{var d,g;return!!((g=(d=i.value)==null?void 0:d.project)!=null&&g.public_background)}),a=Ce(()=>{var d,g,m,_;return(_=(m=(g=(d=i.value)==null?void 0:d.project)==null?void 0:g.public_background)==null?void 0:m.type)==null?void 0:_.startsWith("video/")}),r=Ce(()=>{var d,g,m;return fs(((m=(g=(d=i.value)==null?void 0:d.project)==null?void 0:g.public_background)==null?void 0:m.id)??"")}),l=Ce(()=>o.value?{background:`url(${r.value})`,backgroundSize:"cover",backgroundPosition:"center center"}:{}),s=Ce(()=>{var d,g,m;return(g=(d=i.value)==null?void 0:d.project)!=null&&g.public_foreground?fs((m=i.value.project)==null?void 0:m.public_foreground):null}),u=Ce(()=>{var d,g,m;return(g=(d=i.value)==null?void 0:d.project)!=null&&g.project_logo?fs((m=i.value.project)==null?void 0:m.project_logo):null});return(d,g)=>{var S,A,F,C,L,w,$,B,V,W,J,oe,ue;const m=G("v-image"),_=G("v-text-overflow"),x=hi("md");return j(),Re("div",iAt,[ke("div",{class:yn(["container",{wide:d.wide}])},[ke("div",oAt,[(A=(S=h(i))==null?void 0:S.project)!=null&&A.project_logo?(j(),Re("div",{key:0,class:"logo",style:hr((F=h(i))!=null&&F.project.project_color?{backgroundColor:h(i).project.project_color}:{})},[T(m,{src:u.value,alt:((C=h(i))==null?void 0:C.project.project_name)||"Logo"},null,8,["src","alt"])],4)):(j(),Re("div",{key:1,class:"logo",style:hr((w=(L=h(i))==null?void 0:L.project)!=null&&w.project_color?{backgroundColor:h(i).project.project_color}:{})},g[0]||(g[0]=[ke("img",{src:nAt,alt:"Directus",class:"directus-logo"},null,-1)]),4)),ke("div",rAt,[ke("h1",aAt,[T(_,{text:(B=($=h(i))==null?void 0:$.project)==null?void 0:B.project_name,placement:"bottom"},null,8,["text"])]),T(_,{class:"subtitle",text:((W=(V=h(i))==null?void 0:V.project)==null?void 0:W.project_descriptor)??h(e)("application"),placement:"bottom"},null,8,["text"])])]),ke("div",sAt,[gi(d.$slots,"default")]),ke("div",lAt,[gi(d.$slots,"notice")])],2),ke("div",{class:"art",style:hr(l.value)},[o.value?a.value?(j(),Re("video",{key:1,src:r.value,autoplay:"",muted:"",loop:""},null,8,uAt)):We("",!0):(j(),Re("div",cAt,g[1]||(g[1]=[ke("div",null,[ke("div")],-1),ke("div",null,[ke("div")],-1),ke("div",null,[ke("div")],-1)]))),T(Md,{name:"scale"},{default:I(()=>{var be,ie;return[s.value?(j(),ye(m,{key:0,class:"foreground",src:s.value,alt:(ie=(be=h(i))==null?void 0:be.project)==null?void 0:ie.project_name},null,8,["src","alt"])):We("",!0)]}),_:1}),ke("div",dAt,[(oe=(J=h(i))==null?void 0:J.project)!=null&&oe.public_note?Qt((j(),Re("div",fAt,null,512)),[[x,(ue=h(i))==null?void 0:ue.project.public_note]]):We("",!0)])],4)])}}}),hAt=Wt(pAt,[["__scopeId","data-v-1be590e7"]]),mAt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='64'%20height='39'%3e%3cpath%20fill='%23FFF'%20fill-rule='evenodd'%20d='M51.166%2024.51a4.636%204.636%200%200%201-.763-.246%201.751%201.751%200%200%201-.54-.368c.147-1.304%200-2.435.122-3.713.492-4.967%203.615-3.393%206.418-4.204%201.745-.492%203.491-1.5%203.934-3.566a36.074%2036.074%200%200%200-6.393-5.876C46.347%201.128%2036.414-1.036%2027.39.464a13.635%2013.635%200%200%200%205.968%205.532s-2.445%200-4.541-1.565c-.615.245-1.845.73-2.435%201.024%204.794%204.598%2012.293%205.114%2017.678.984-.025.049-.492.762-1.057%203.737-1.254%206.343-4.869%205.852-9.343%204.254-9.294-3.369-14.408-.246-19.055-6.639a4.29%204.29%200%200%200-2.189%203.737c0%201.598.886%202.95%202.164%203.688.698-.926%201.011-1.189%202.228-1.189-1.883%201.068-2.105%202-2.916%204.582-.984%203.123-.566%206.32-5.164%207.155-2.434.123-2.385%201.77-3.27%204.23C4.352%2033.188%202.877%2034.467%200%2037.491c1.18%201.426%202.41%201.598%203.663%201.082%202.582-1.082%204.574-4.426%206.442-6.59%202.09-2.409%207.106-1.376%2010.892-3.737%202.607-1.598%203.885-3.761%202.164-7.425a7.254%207.254%200%200%201%201.869%204.426c4.376-.566%2010.228%204.77%2015.563%205.655a9.53%209.53%200%200%201-1.303-2.188c-.615-1.476-.811-2.828-.688-4.008.491%202.926%203.442%206.688%208.187%207.032%201.205.098%202.533-.05%203.91-.467%201.647-.492%203.171-1.131%204.99-.787%201.353.246%202.607.934%203.394%202.09%201.18%201.72%203.761%202.09%204.917-.025-2.606-6.81-9.786-7.253-12.834-8.04z'/%3e%3c/svg%3e",vAt={class:"inline-container"},gAt={class:"container"},yAt={class:"title-box"},_At=["src","alt"],bAt={class:"title"},xAt={class:"subtitle"},wAt={class:"type-title"},kAt={class:"container"},CAt={class:"content"},SAt=Pt({__name:"shared-view",props:{title:{},inline:{type:Boolean}},setup(n){const e=Is(),{info:t}=Tl(e),{t:i}=un(),o=Ce(()=>{var a,r,l;return(r=(a=e.info)==null?void 0:a.project)!=null&&r.project_logo?fs((l=e.info.project)==null?void 0:l.project_logo):null});return(a,r)=>{var l,s,u,d,g,m,_,x,S;return j(),Re("div",{class:yn(["shared",{inline:a.inline}])},[ke("div",vAt,[ke("header",null,[ke("div",gAt,[ke("div",yAt,[(s=(l=h(t))==null?void 0:l.project)!=null&&s.project_logo?(j(),Re("div",{key:0,class:"logo",style:hr((d=(u=h(t))==null?void 0:u.project)!=null&&d.project_color?{backgroundColor:h(t).project.project_color}:{})},[ke("img",{src:o.value,alt:((g=h(t))==null?void 0:g.project.project_name)||"Logo"},null,8,_At)],4)):(j(),Re("div",{key:1,class:"logo",style:hr((_=(m=h(t))==null?void 0:m.project)!=null&&_.project_color?{backgroundColor:h(t).project.project_color}:{})},r[0]||(r[0]=[ke("img",{src:mAt,alt:"Directus",class:"directus-logo"},null,-1)]),4)),ke("div",bAt,[ke("p",xAt,me((S=(x=h(t))==null?void 0:x.project)==null?void 0:S.project_name),1),gi(a.$slots,"title",{},()=>[ke("h1",wAt,me(a.title??h(i)("share_access_page")),1)],!0)])])])]),ke("div",kAt,[ke("div",CAt,[gi(a.$slots,"default",{},void 0,!0)])])])],2)}}}),EAt=Wt(SAt,[["__scopeId","data-v-cfdcd3fb"]]),AAt=zR(()=>Ut(()=>import("./index-B7sDy_2R.js"),__vite__mapDeps([224,1,2,3,4,5,6,225]),import.meta.url));function TAt(n){n.component("PublicView",hAt),n.component("PrivateView",AAt),n.component("SharedView",EAt)}DAt();async function DAt(){console.log(IZ),console.info(`Hey! Interested in helping build this open-source data management platform?
4220
4220
  If so, join our growing team of contributors at: https://directus.chat`),console.info("%c🐰 Starting Directus...","color:Green"),console.time("🕓 Application Loaded");const n=bX(Y7t);n.use(wo),n.use(KX()),n.use(XX()),n.config.errorHandler=(e,t,i)=>{const o=VR(t);return console.warn(`[app-${o}-error] ${i}`),console.warn(e),!1},tAt(n),UEt(n),TAt(n),await P7t(),O7t(n),n.use(xc),n.mount("#app"),console.timeEnd("🕓 Application Loaded"),console.group("%c✨ Project Information","color:DodgerBlue"),console.info("%cEnvironment: production","color:DodgerBlue"),console.groupEnd(),window.addEventListener("dragover",e=>e.preventDefault(),!1),window.addEventListener("drop",e=>e.preventDefault(),!1)}export{uu as A,fg as B,Gr as C,Cl as D,Tu as E,FZ as F,Ir as G,nf as H,Lf as I,s9 as J,Kye as K,Yn as L,b0 as M,pE as N,Is as O,zAt as P,r2 as Q,Y7 as R,Pf as S,oD as T,bxt as U,LG as V,Wt as _,HLe as a,m4 as b,bx as c,dJ as d,Pd as e,rJ as f,FTt as g,zB as h,wJ as i,IW as j,v4 as k,_J as l,OJ as m,dg as n,wo as o,tm as p,IL as q,kLe as r,$At as s,v5 as t,MN as u,dm as v,et as w,YLe as x,ov as y,fs as z};