@directus/app 9.2.0 → 9.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) hide show
  1. package/dist/@directus_extensions-sdk.4ac735b2.js +1 -0
  2. package/dist/assets/{active-line.26c5b22c.js → active-line.e11ef347.js} +1 -1
  3. package/dist/assets/{activity-log.5e4655fe.js → activity-log.f793a2d0.js} +1 -1
  4. package/dist/assets/{activity.d1dc970c.js → activity.a338a1c0.js} +1 -1
  5. package/dist/assets/{apl.81ad0f83.js → apl.2c916dd8.js} +1 -1
  6. package/dist/assets/{asciiarmor.76e6426d.js → asciiarmor.f4e5f797.js} +1 -1
  7. package/dist/assets/{asn.1.71a91aed.js → asn.1.f23b5553.js} +1 -1
  8. package/dist/assets/{asterisk.80f8502f.js → asterisk.dfdcffe7.js} +1 -1
  9. package/dist/assets/{authentication.2cacaeb9.js → authentication.a0d979d6.js} +1 -1
  10. package/dist/assets/{autorefresh.b4c043fd.js → autorefresh.7ea9d5bb.js} +1 -1
  11. package/dist/assets/{aws.80878698.js → aws.3aea53bf.js} +1 -1
  12. package/dist/assets/{backing-directus.61d6e724.js → backing-directus.3e4e7897.js} +1 -1
  13. package/dist/assets/{brainfuck.9cb7bbc7.js → brainfuck.80c76211.js} +1 -1
  14. package/dist/assets/{cli.5550afc3.js → cli.091ee1ec.js} +1 -1
  15. package/dist/assets/{cli.63d72df5.js → cli.536a33cc.js} +1 -1
  16. package/dist/assets/{clike.e00b6fc0.js → clike.021bb1df.js} +1 -1
  17. package/dist/assets/{clojure.809a239a.js → clojure.6c6306c6.js} +1 -1
  18. package/dist/assets/{cloudron.faaaab54.js → cloudron.d3ae3190.js} +1 -1
  19. package/dist/assets/{cmake.9e2c3af3.js → cmake.a3e41ded.js} +1 -1
  20. package/dist/assets/{cobol.34952893.js → cobol.5d54099c.js} +1 -1
  21. package/dist/assets/codebase-overview.0247f134.js +1 -0
  22. package/dist/assets/{coffeescript.961bb7e7.js → coffeescript.23f1d473.js} +1 -1
  23. package/dist/assets/{collections.2a7f6562.js → collections.e46a0b43.js} +1 -1
  24. package/dist/assets/{commonlisp.55bc3390.js → commonlisp.4a03fa43.js} +1 -1
  25. package/dist/assets/{config-options.7faffebc.js → config-options.22fa054d.js} +1 -1
  26. package/dist/assets/{content-collections.a7de45b5.js → content-collections.0007a435.js} +1 -1
  27. package/dist/assets/{content-items.e9d9529c.js → content-items.83911a78.js} +1 -1
  28. package/dist/assets/{content.557c9218.js → content.e8956f53.js} +1 -1
  29. package/dist/assets/creating-extensions.079592a2.js +11 -0
  30. package/dist/assets/{crystal.d7313cde.js → crystal.86d0358e.js} +1 -1
  31. package/dist/assets/cs-CZ.fe7a5446.js +1 -0
  32. package/dist/assets/{css.17df7ad1.js → css.aeb96fad.js} +1 -1
  33. package/dist/assets/{cypher.b89065cc.js → cypher.9a3ba094.js} +1 -1
  34. package/dist/assets/{d.174a69ec.js → d.903703cd.js} +1 -1
  35. package/dist/assets/{dart.d0eb6182.js → dart.14a060a3.js} +1 -1
  36. package/dist/assets/data-model.f1efc866.js +1 -0
  37. package/dist/assets/de-DE.c8980e99.js +1 -0
  38. package/dist/assets/{diff.b7a4963f.js → diff.0db0ec31.js} +1 -1
  39. package/dist/assets/{digitalocean-app-platform.bf1a04c0.js → digitalocean-app-platform.99a8d52c.js} +1 -1
  40. package/dist/assets/displays.dd95779e.js +49 -0
  41. package/dist/assets/{django.da7ed745.js → django.965e64c8.js} +1 -1
  42. package/dist/assets/{docker.1b49ec74.js → docker.7c236266.js} +5 -5
  43. package/dist/assets/{dockerfile.d6d3e269.js → dockerfile.f6b29430.js} +1 -1
  44. package/dist/assets/{documentation.7336014f.js → documentation.9b975228.js} +1 -1
  45. package/dist/assets/{dtd.45e86e6d.js → dtd.d2dbd5e2.js} +1 -1
  46. package/dist/assets/{dylan.ec84c04e.js → dylan.ec2b230a.js} +1 -1
  47. package/dist/assets/{ebnf.085fa852.js → ebnf.90b8dd09.js} +1 -1
  48. package/dist/assets/{ecl.270e9abf.js → ecl.e3a8f85e.js} +1 -1
  49. package/dist/assets/{eiffel.336802c1.js → eiffel.6264eba9.js} +1 -1
  50. package/dist/assets/{elm.da8b96b6.js → elm.429267eb.js} +1 -1
  51. package/dist/assets/{email-templates.bf41e36a.js → email-templates.3cbede56.js} +2 -2
  52. package/dist/assets/endpoints.c6fd7eac.js +27 -0
  53. package/dist/assets/{erlang.b2f5e3ff.js → erlang.d2414be4.js} +1 -1
  54. package/dist/assets/es-ES.5f8461b5.js +1 -0
  55. package/dist/assets/{extensions.b3034cc8.js → extensions.1e480845.js} +2 -2
  56. package/dist/assets/{factor.5f1bd905.js → factor.0d586436.js} +1 -1
  57. package/dist/assets/{faq.7223b3ed.js → faq.0406b366.js} +1 -1
  58. package/dist/assets/{fcl.fdd412a4.js → fcl.b585ddd2.js} +1 -1
  59. package/dist/assets/{fields.a2b84f49.js → fields.ac0779db.js} +3 -3
  60. package/dist/assets/file-library.72aadc40.js +1 -0
  61. package/dist/assets/{files.89714327.js → files.39d00752.js} +1 -1
  62. package/dist/assets/{filter-rules.b16f33ad.js → filter-rules.69ad62df.js} +1 -1
  63. package/dist/assets/{folders.964cb698.js → folders.71f88e35.js} +1 -1
  64. package/dist/assets/{forth.5e4a638c.js → forth.349244ea.js} +1 -1
  65. package/dist/assets/{fortran.d037a8e9.js → fortran.2e9a8bf0.js} +1 -1
  66. package/dist/assets/{fr-FR.2b742996.js → fr-FR.0db3601e.js} +1 -1
  67. package/dist/assets/{gas.c1fb542a.js → gas.640b6bdb.js} +1 -1
  68. package/dist/assets/{gfm.ef15b019.js → gfm.61e9bc5c.js} +1 -1
  69. package/dist/assets/{gherkin.f2284a3d.js → gherkin.a3628f6b.js} +1 -1
  70. package/dist/assets/{github-ci.1993f260.js → github-ci.8cd0ce44.js} +2 -2
  71. package/dist/assets/{glossary.53f5ccae.js → glossary.b333571a.js} +1 -1
  72. package/dist/assets/{go.ee521b37.js → go.088cafcb.js} +1 -1
  73. package/dist/assets/{groovy.ff223850.js → groovy.73d2bb8b.js} +1 -1
  74. package/dist/assets/{haml.dfd3a15e.js → haml.8a0e9aba.js} +1 -1
  75. package/dist/assets/{handlebars.ee000b2a.js → handlebars.775135f1.js} +1 -1
  76. package/dist/assets/{haskell-literate.7be3e5e8.js → haskell-literate.89d2e181.js} +1 -1
  77. package/dist/assets/{haskell.f0f6d0b5.js → haskell.9b7f0557.js} +1 -1
  78. package/dist/assets/{haxe.d7974a6e.js → haxe.f0bccdb4.js} +1 -1
  79. package/dist/assets/hooks.66d79882.js +60 -0
  80. package/dist/assets/{htmlembedded.fbe7b06d.js → htmlembedded.91da33a4.js} +1 -1
  81. package/dist/assets/{htmlmixed.8b21831b.js → htmlmixed.7e3ff200.js} +1 -1
  82. package/dist/assets/{http.e1dcc6a6.js → http.7a7a78c2.js} +1 -1
  83. package/dist/assets/id-ID.e1a07bff.js +1 -0
  84. package/dist/assets/{idl.182ee0a1.js → idl.7841a821.js} +1 -1
  85. package/dist/assets/{iis.751d4784.js → iis.99c0377a.js} +1 -1
  86. package/dist/assets/{index.170c9aef.js → index.04d772d8.js} +1 -1
  87. package/dist/assets/{index.60c625fe.js → index.04fc2617.js} +1 -1
  88. package/dist/assets/{index.7bd8fa33.js → index.06b50e4a.js} +1 -1
  89. package/dist/assets/{index.5ae5f490.js → index.0b0598be.js} +1 -1
  90. package/dist/assets/{index.de5fa400.js → index.0bf30632.js} +1 -1
  91. package/dist/assets/{index.c875d5a1.js → index.0f8db352.js} +1 -1
  92. package/dist/assets/{index.adcd313e.js → index.11dfe3be.js} +1 -1
  93. package/dist/assets/{index.a142ec45.js → index.14ea57c2.js} +1 -1
  94. package/dist/assets/{index.f2f83988.js → index.19159890.js} +1 -1
  95. package/dist/assets/{index.1bd2ce1d.js → index.19d5a7e2.js} +1 -1
  96. package/dist/assets/{index.b803b5c0.js → index.1bcaf582.js} +1 -1
  97. package/dist/assets/{index.00342ce9.js → index.1bee6e48.js} +1 -1
  98. package/dist/assets/{index.48e8585e.js → index.1edf267b.js} +1 -1
  99. package/dist/assets/{index.b7968e56.js → index.26457745.js} +1 -1
  100. package/dist/assets/{index.cc291dcf.js → index.28e6e72c.js} +1 -1
  101. package/dist/assets/{index.bb294572.js → index.28f4844f.js} +1 -1
  102. package/dist/assets/{index.3e7346f6.js → index.2d7a6f67.js} +1 -1
  103. package/dist/assets/{index.06705dee.js → index.31c94cc6.js} +1 -1
  104. package/dist/assets/{index.7f11024e.js → index.325e7a3c.js} +1 -1
  105. package/dist/assets/{index.35b3227d.js → index.34ae6ec4.js} +1 -1
  106. package/dist/assets/{index.2c7690b7.js → index.3d14218f.js} +1 -1
  107. package/dist/assets/{index.63f139be.js → index.3eddc443.js} +1 -1
  108. package/dist/assets/{index.31d6290e.js → index.410fd91b.js} +1 -1
  109. package/dist/assets/{index.a3746c49.js → index.43e86bf9.js} +1 -1
  110. package/dist/assets/{index.c5418cbb.js → index.45b895f8.js} +1 -1
  111. package/dist/assets/{index.24dc2b50.js → index.4a4f04e1.js} +1 -1
  112. package/dist/assets/{index.6df3a744.js → index.507285cc.js} +1 -1
  113. package/dist/assets/{index.42b5c185.js → index.5d16a624.js} +1 -1
  114. package/dist/assets/{index.bc07556a.js → index.5d1744ed.js} +1 -1
  115. package/dist/assets/{index.9be0af27.js → index.66b53de0.js} +1 -1
  116. package/dist/assets/{index.f2468536.js → index.67fa08a4.js} +1 -1
  117. package/dist/assets/{index.1cb1c89c.js → index.6c533c6d.js} +1 -1
  118. package/dist/assets/{index.50e58393.js → index.6cfbb836.js} +1 -1
  119. package/dist/assets/{index.777a345b.js → index.6e2f3a25.js} +1 -1
  120. package/dist/assets/{index.48b2303e.js → index.6fd9d026.js} +1 -1
  121. package/dist/assets/{index.0b37920b.js → index.714b601c.js} +1 -1
  122. package/dist/assets/{index.0aaf58e2.js → index.716c5883.js} +1 -1
  123. package/dist/assets/{index.bdce1888.js → index.73f69fe3.js} +1 -1
  124. package/dist/assets/{index.c242e7b6.js → index.8463713a.js} +1 -1
  125. package/dist/assets/{index.7a4b3279.js → index.85c84fd9.js} +1 -1
  126. package/dist/assets/{index.aae790c3.js → index.884b29a6.js} +1 -1
  127. package/dist/assets/{index.0e9f9cdb.js → index.89cfb791.js} +1 -1
  128. package/dist/assets/{index.10fa61dd.js → index.8ad80a38.js} +1 -1
  129. package/dist/assets/{index.609e713c.js → index.8c19a1bb.js} +1 -1
  130. package/dist/assets/{index.fd87d3cb.js → index.92227ca0.js} +1 -1
  131. package/dist/assets/{index.e59eb90f.js → index.9837c1bd.js} +1 -1
  132. package/dist/assets/{index.be10baeb.js → index.9f212655.js} +1 -1
  133. package/dist/assets/{index.72b20962.js → index.a0b94a8c.js} +1 -1
  134. package/dist/assets/{index.3cdbbf75.js → index.a1dd992b.js} +1 -1
  135. package/dist/assets/{index.4b7ce3d9.js → index.a2896c04.js} +1 -1
  136. package/dist/assets/{index.c046a8fd.js → index.ad693640.js} +1 -1
  137. package/dist/assets/{index.d15bff6b.js → index.ada5e53d.js} +1 -1
  138. package/dist/assets/{index.91f9a8ea.js → index.ae96cd33.js} +1 -1
  139. package/dist/assets/{index.dd5da334.js → index.afd20890.js} +1 -1
  140. package/dist/assets/{index.ee87082d.js → index.b0fd7814.js} +1 -1
  141. package/dist/assets/{index.195486a9.js → index.b3c07ce5.js} +1 -1
  142. package/dist/assets/{index.570f038e.js → index.b9badc97.js} +1 -1
  143. package/dist/assets/{index.640dd223.js → index.b9bdb805.js} +1 -1
  144. package/dist/assets/{index.ac5309a7.js → index.ba2bbd9e.js} +1 -1
  145. package/dist/assets/{index.f650bdd2.js → index.ba7397a1.js} +1 -1
  146. package/dist/assets/{index.7b7bd2bb.js → index.bb66db31.js} +1 -1
  147. package/dist/assets/{index.eeba3fe9.js → index.be725ecc.js} +1 -1
  148. package/dist/assets/{index.64591ec8.js → index.c0fd96ea.js} +1 -1
  149. package/dist/assets/{index.1ef64264.js → index.c6465294.js} +1 -1
  150. package/dist/assets/{index.e8e78fe0.js → index.cfb596ed.js} +1 -1
  151. package/dist/assets/{index.2f09b0ab.js → index.cfc3f94d.js} +1 -1
  152. package/dist/assets/{index.5e1fa0bf.js → index.d77b5d9f.js} +1 -1
  153. package/dist/assets/{index.2a532c34.js → index.d7ab3544.js} +1 -1
  154. package/dist/assets/{index.af1f4431.js → index.d84e4324.js} +1 -1
  155. package/dist/assets/{index.825757de.js → index.d889b910.js} +1 -1
  156. package/dist/assets/{index.b24bf29e.js → index.d8ddd0bb.js} +1 -1
  157. package/dist/assets/{index.f992167b.js → index.d9cabca6.js} +1 -1
  158. package/dist/assets/{index.9df68447.js → index.d9fd5db4.js} +1 -1
  159. package/dist/assets/{index.3a55cb7a.js → index.db380ac2.js} +1 -1
  160. package/dist/assets/{index.fc0d2b63.js → index.f1a9e33d.js} +1 -1
  161. package/dist/assets/{index.65f3fbd9.js → index.f1baa76b.js} +1 -1
  162. package/dist/assets/{index.b4db14a9.js → index.f22a8db3.js} +1 -1
  163. package/dist/assets/{index.b94dcef9.js → index.f3b5d997.js} +1 -1
  164. package/dist/assets/{index.85487066.js → index.f74ca4fc.js} +1 -1
  165. package/dist/assets/{index.7250277a.js → index.f7def627.js} +1 -1
  166. package/dist/assets/{index.2603f9b4.css → index.fa30dc11.css} +1 -1
  167. package/dist/assets/{index.9a34d0ad.js → index.fd47890b.js} +1 -1
  168. package/dist/assets/{input-rich-text-html.c2f628ae.js → input-rich-text-html.5c9d23de.js} +2 -2
  169. package/dist/assets/{input-rich-text-html.01165183.css → input-rich-text-html.f15deff9.css} +1 -1
  170. package/dist/assets/{insights.35419fea.js → insights.ce0b5824.js} +1 -1
  171. package/dist/assets/{installation.eae7bc78.js → installation.1ba08fd8.js} +1 -1
  172. package/dist/assets/interfaces.b982af7c.js +46 -0
  173. package/dist/assets/{introduction.b9bb6e01.js → introduction.0a812b0d.js} +1 -1
  174. package/dist/assets/{introduction.9780c035.js → introduction.277da93e.js} +1 -1
  175. package/dist/assets/introduction.70685af6.js +1 -0
  176. package/dist/assets/{introduction.775bd94e.js → introduction.e77efc29.js} +1 -1
  177. package/dist/assets/{items.50d09d96.js → items.356b5264.js} +1 -1
  178. package/dist/assets/{javascript-hint.ef0fe16e.js → javascript-hint.2396559d.js} +1 -1
  179. package/dist/assets/{javascript.38e2ca1a.js → javascript.e2c4d6fd.js} +1 -1
  180. package/dist/assets/{jinja2.8648ef63.js → jinja2.9b858d22.js} +1 -1
  181. package/dist/assets/{jsx.9a8d51d6.js → jsx.f7b61cb3.js} +1 -1
  182. package/dist/assets/{julia.c4e037f7.js → julia.eac271c8.js} +1 -1
  183. package/dist/assets/layouts.36aadbbc.js +54 -0
  184. package/dist/assets/{livescript.d673b991.js → livescript.75ddf998.js} +1 -1
  185. package/dist/assets/{localization.47f8e7e5.js → localization.41fdf309.js} +1 -1
  186. package/dist/assets/{lua.7cfb30be.js → lua.a97dd510.js} +1 -1
  187. package/dist/assets/{manual.6d92664d.js → manual.ce1e8d5a.js} +1 -1
  188. package/dist/assets/{mark-selection.665c33af.js → mark-selection.f76626a4.js} +1 -1
  189. package/dist/assets/{match-highlighter.ffb4832f.js → match-highlighter.a84a6cd0.js} +1 -1
  190. package/dist/assets/{mathematica.93a46a1f.js → mathematica.42680664.js} +1 -1
  191. package/dist/assets/{mbox.deb92f82.js → mbox.5018879c.js} +1 -1
  192. package/dist/assets/{migrations.ca569233.js → migrations.9b508b9c.js} +4 -4
  193. package/dist/assets/{mirc.96b69659.js → mirc.9d5ae70f.js} +1 -1
  194. package/dist/assets/{mllike.2604471e.js → mllike.6beaa754.js} +1 -1
  195. package/dist/assets/{modelica.07417903.js → modelica.39b27738.js} +1 -1
  196. package/dist/assets/modules.0ff102d6.js +69 -0
  197. package/dist/assets/{mscgen.ce94fb84.js → mscgen.2928ad8f.js} +1 -1
  198. package/dist/assets/{multiplex.553fdcf6.js → multiplex.317d78e5.js} +2 -2
  199. package/dist/assets/{mumps.6d4f6a77.js → mumps.ace846f6.js} +1 -1
  200. package/dist/assets/{nginx.1b1b7a85.js → nginx.7d66e95c.js} +1 -1
  201. package/dist/assets/{notifications.7d5b4018.js → notifications.f9da4e67.js} +1 -1
  202. package/dist/assets/{nsis.800b8ecf.js → nsis.18988463.js} +1 -1
  203. package/dist/assets/{ntriples.5b70253c.js → ntriples.7c68fe76.js} +1 -1
  204. package/dist/assets/{octave.d674345b.js → octave.e9c5af62.js} +1 -1
  205. package/dist/assets/{overlay.aaae46c1.js → overlay.56d3022b.js} +1 -1
  206. package/dist/assets/{overview.391169f1.js → overview.4fc1f5e2.js} +1 -1
  207. package/dist/assets/{overview.b3257d1a.js → overview.c5429f63.js} +1 -1
  208. package/dist/assets/{oz.a57cd6c6.js → oz.f0e17e6e.js} +1 -1
  209. package/dist/assets/{panels.3d54322a.js → panels.43ad39c3.js} +1 -1
  210. package/dist/assets/{pascal.bd6858f9.js → pascal.4c8de90b.js} +1 -1
  211. package/dist/assets/{pegjs.094d5776.js → pegjs.adb455f9.js} +1 -1
  212. package/dist/assets/{perl.3aa60c3c.js → perl.e9919756.js} +1 -1
  213. package/dist/assets/{permissions.564eb072.js → permissions.6cca02f4.js} +1 -1
  214. package/dist/assets/{php.aad9a05c.js → php.34aad5e9.js} +1 -1
  215. package/dist/assets/{pig.60e1b8d9.js → pig.14fcfbd8.js} +1 -1
  216. package/dist/assets/{plesk.938ab777.js → plesk.755ff0c7.js} +1 -1
  217. package/dist/assets/{powershell.bff1f89c.js → powershell.7835da2c.js} +1 -1
  218. package/dist/assets/{presets-bookmarks.b268b023.js → presets-bookmarks.784c2313.js} +1 -1
  219. package/dist/assets/{presets.cff54053.js → presets.47b83a65.js} +1 -1
  220. package/dist/assets/project-settings.266a01df.js +1 -0
  221. package/dist/assets/{properties.0698e9c9.js → properties.265f3ecf.js} +1 -1
  222. package/dist/assets/{protobuf.3cefb795.js → protobuf.f33088f5.js} +1 -1
  223. package/dist/assets/{pug.2823ac37.js → pug.a5974515.js} +1 -1
  224. package/dist/assets/{puppet.6b5f8999.js → puppet.01791221.js} +1 -1
  225. package/dist/assets/{python.f0335e64.js → python.e86c1b0d.js} +1 -1
  226. package/dist/assets/{q.ab5b1dd7.js → q.4f4ee7a2.js} +1 -1
  227. package/dist/assets/{query.065bc71e.js → query.298a6a70.js} +1 -1
  228. package/dist/assets/{quickstart.cdf47561.js → quickstart.0d54da2a.js} +4 -4
  229. package/dist/assets/{r.cc002fd5.js → r.bdb61495.js} +1 -1
  230. package/dist/assets/{relations.028171dc.js → relations.e7fe5c7e.js} +1 -1
  231. package/dist/assets/{relationships.dc4de6fe.js → relationships.25bfe3d0.js} +1 -1
  232. package/dist/assets/{revisions.9c06a6cd.js → revisions.f4ec1316.js} +1 -1
  233. package/dist/assets/{roles.05aa20d3.js → roles.9ff2c743.js} +5 -5
  234. package/dist/assets/{rpm.16e37784.js → rpm.3f139b52.js} +1 -1
  235. package/dist/assets/rst.85a6aa5e.js +1 -0
  236. package/dist/assets/{ruby.207c3c8d.js → ruby.4f7b81cf.js} +1 -1
  237. package/dist/assets/{running-locally.74954cf8.js → running-locally.c805ce9b.js} +2 -2
  238. package/dist/assets/{rust.e5e8db34.js → rust.90f7c59d.js} +1 -1
  239. package/dist/assets/{sas.732c1fb5.js → sas.6bab46e6.js} +1 -1
  240. package/dist/assets/{sass.a6d54759.js → sass.82d78b0d.js} +1 -1
  241. package/dist/assets/{scheme.bf86a054.js → scheme.d070321b.js} +1 -1
  242. package/dist/assets/{sdk.027e1905.js → sdk.fcd84a63.js} +1 -1
  243. package/dist/assets/{security.3ecda9dd.js → security.20c51064.js} +1 -1
  244. package/dist/assets/{server.2f493acf.js → server.08f78dc3.js} +1 -1
  245. package/dist/assets/{settings.5730c27d.js → settings.863df08a.js} +1 -1
  246. package/dist/assets/{settings.9e861c3c.js → settings.fe8c60b0.js} +1 -1
  247. package/dist/assets/{shell.29cd4035.js → shell.3a02eee7.js} +1 -1
  248. package/dist/assets/{show-hint.23eb7a45.js → show-hint.4d773b37.js} +1 -1
  249. package/dist/assets/{sieve.d831b5ce.js → sieve.f502823d.js} +1 -1
  250. package/dist/assets/{simple.312a5b01.js → simple.1a0ff72b.js} +1 -1
  251. package/dist/assets/{slim.cab15ca2.js → slim.2102014c.js} +1 -1
  252. package/dist/assets/{smalltalk.4f6a7ed7.js → smalltalk.7cfe4f46.js} +1 -1
  253. package/dist/assets/{smarty.a78117f3.js → smarty.3e50cd7a.js} +1 -1
  254. package/dist/assets/{solr.f90334b7.js → solr.bfc84b28.js} +1 -1
  255. package/dist/assets/{soy.d1e38e2c.js → soy.83eb6f2e.js} +1 -1
  256. package/dist/assets/{sparql.3d8087d4.js → sparql.97261c23.js} +1 -1
  257. package/dist/assets/{spreadsheet.3b78c411.js → spreadsheet.82d00fdd.js} +1 -1
  258. package/dist/assets/{sql.5f7a694e.js → sql.0a386e3a.js} +1 -1
  259. package/dist/assets/{sso.2a03ed28.js → sso.89512ecb.js} +1 -1
  260. package/dist/assets/{stex.d0d6fa5e.js → stex.548cdc29.js} +1 -1
  261. package/dist/assets/{stylus.bb6171bb.js → stylus.eafb69cf.js} +1 -1
  262. package/dist/assets/{support.f442955d.js → support.5d9d3959.js} +1 -1
  263. package/dist/assets/{swift.599d450c.js → swift.2e52740c.js} +1 -1
  264. package/dist/assets/{tcl.30b6bd0a.js → tcl.e53cc407.js} +1 -1
  265. package/dist/assets/{textile.2aaadb71.js → textile.6fa47aff.js} +1 -1
  266. package/dist/assets/{themes.7af7ef21.js → themes.d39a117f.js} +1 -1
  267. package/dist/assets/{tiddlywiki.6c21f5fe.js → tiddlywiki.fa524efd.js} +1 -1
  268. package/dist/assets/{tiki.f7b3b608.js → tiki.5740efcd.js} +1 -1
  269. package/dist/assets/{toml.70cd3de1.js → toml.063a2ad8.js} +1 -1
  270. package/dist/assets/{tornado.da87f7ab.js → tornado.858ecf05.js} +1 -1
  271. package/dist/assets/{translations.c313e520.js → translations.b92fc00e.js} +1 -1
  272. package/dist/assets/{troff.057eadf9.js → troff.272ecea7.js} +1 -1
  273. package/dist/assets/{ttcn-cfg.0acb6ffd.js → ttcn-cfg.c6c1cb29.js} +1 -1
  274. package/dist/assets/{ttcn.5cb1c005.js → ttcn.2aed8f7d.js} +1 -1
  275. package/dist/assets/{turtle.f8cfe16f.js → turtle.6667a82d.js} +1 -1
  276. package/dist/assets/{twig.bbb4c257.js → twig.ed6b9ed7.js} +1 -1
  277. package/dist/assets/{ubuntu.195a12bc.js → ubuntu.8db605f7.js} +1 -1
  278. package/dist/assets/uk-UA.c8fb0083.js +1 -0
  279. package/dist/assets/{upgrades-migrations.4262de4c.js → upgrades-migrations.a5e30787.js} +1 -1
  280. package/dist/assets/{use-sync.df5f0627.js → use-sync.03a52ddb.js} +1 -1
  281. package/dist/assets/{user-directory.315e2e53.js → user-directory.cf85143d.js} +1 -1
  282. package/dist/assets/{users-roles-permissions.1d02ef32.js → users-roles-permissions.fa90206e.js} +1 -1
  283. package/dist/assets/{users.850440e1.js → users.962643d8.js} +1 -1
  284. package/dist/assets/{utilities.a706557a.js → utilities.16811976.js} +1 -1
  285. package/dist/assets/{vb.227d7bae.js → vb.c1454dff.js} +1 -1
  286. package/dist/assets/{vbscript.b4c906c8.js → vbscript.428db01c.js} +1 -1
  287. package/dist/assets/{velocity.1dc1dd7a.js → velocity.3e30f7b1.js} +1 -1
  288. package/dist/assets/{vendor.327371af.js → vendor.764dd834.js} +94 -94
  289. package/dist/assets/{verilog.00006420.js → verilog.64ec1410.js} +1 -1
  290. package/dist/assets/{vhdl.7ea928c0.js → vhdl.ced33605.js} +1 -1
  291. package/dist/assets/{vue.06dc381f.js → vue.a86895a8.js} +1 -1
  292. package/dist/assets/{wast.9ebd9127.js → wast.1c1d5324.js} +1 -1
  293. package/dist/assets/{webhooks.27290345.js → webhooks.117d8b13.js} +1 -1
  294. package/dist/assets/{webhooks.40c7a452.js → webhooks.65cb968e.js} +1 -1
  295. package/dist/assets/{webidl.91787b9d.js → webidl.b6341879.js} +1 -1
  296. package/dist/assets/{xquery.8f2f2640.js → xquery.bd933661.js} +1 -1
  297. package/dist/assets/{yacas.e74d7b64.js → yacas.6dc91e85.js} +1 -1
  298. package/dist/assets/yaml-frontmatter.b21a0efb.js +1 -0
  299. package/dist/assets/{yaml.6c188844.js → yaml.5ff064d1.js} +1 -1
  300. package/dist/assets/{z80.2ec7da50.js → z80.7c4207dc.js} +1 -1
  301. package/dist/img/directus-white.png +0 -0
  302. package/dist/index.b3ccaf38.js +351 -0
  303. package/dist/index.html +4 -4
  304. package/dist/pinia.fcc0ed15.js +1 -0
  305. package/dist/vue-i18n.a1d8e101.js +1 -0
  306. package/dist/vue-router.2fae2a3e.js +1 -0
  307. package/dist/{vue.6e63c09e.js → vue.d4da996f.js} +1 -1
  308. package/package.json +7 -7
  309. package/dist/@directus_extensions-sdk.bfcbcdb2.js +0 -1
  310. package/dist/assets/api-endpoints.8828b972.js +0 -30
  311. package/dist/assets/codebase-overview.e1e8f010.js +0 -1
  312. package/dist/assets/cs-CZ.0db773a3.js +0 -1
  313. package/dist/assets/data-model.6fb88bd6.js +0 -1
  314. package/dist/assets/de-DE.cdcb9600.js +0 -1
  315. package/dist/assets/displays.add8fe2c.js +0 -45
  316. package/dist/assets/es-ES.5be51e8b.js +0 -1
  317. package/dist/assets/file-library.5f224a0d.js +0 -1
  318. package/dist/assets/hooks.995bf7f1.js +0 -72
  319. package/dist/assets/id-ID.06f8c7ad.js +0 -1
  320. package/dist/assets/interfaces.106447a6.js +0 -41
  321. package/dist/assets/introduction.8f825d90.js +0 -1
  322. package/dist/assets/layouts.ba122738.js +0 -55
  323. package/dist/assets/modules.3f25c2ca.js +0 -70
  324. package/dist/assets/project-settings.c887fbea.js +0 -1
  325. package/dist/assets/rst.bc8cd4f0.js +0 -1
  326. package/dist/assets/uk-UA.b339fbea.js +0 -1
  327. package/dist/assets/yaml-frontmatter.09f551ca.js +0 -1
  328. package/dist/index.0b1b074c.js +0 -351
  329. package/dist/vue-i18n.9dd4f933.js +0 -1
  330. package/dist/vue-router.1ce019c2.js +0 -1
@@ -1 +1 @@
1
- import{r as a,p as u,q as d,w as o,B as e,t as s,P as t}from"./vendor.327371af.js";const c={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"These Docs will help you get up-and-running quickly, guide you through advanced features, and explain the core concepts that make Directus so unique.")],-1),p=e("h2",{id:"what-is-directus%3F"},[t("What is Directus? "),e("a",{class:"header-anchor",href:"#what-is-directus%3F"},"#")],-1),g=e("p",null,[e("strong",null,"Directus is an Open Data Platform built to democratize the database."),t(" Its no-code app is safe and intuitive enough to make data accessible to everyone, while still providing the granular configuration and technical tools required by power-users and data scientists. For developers, a data connection toolkit provides a dynamic REST+GraphQL API, JavaScript SDK, and options for authorization, caching, and more.")],-1),f=e("p",null,[t("Written entirely in JavaScript (primarily "),e("a",{href:"https://nodejs.dev",target:"_blank",rel:"noopener noreferrer"},"Node.js"),t(" and "),e("a",{href:"https://vuejs.org",target:"_blank",rel:"noopener noreferrer"},"Vue.js"),t("), Directus is completely open-source, modular, and extensible, allowing it to be fully tailored to the requirements of any project. Below are the key features of the platform:")],-1),m=e("ul",null,[e("li",null,[e("strong",null,"No-Code App for anyone to manage data")]),e("li",null,[e("strong",null,"Data Connection Toolkit with REST & GraphQL")]),e("li",null,[e("strong",null,"Supports Any SQL Database")]),e("li",null,[e("strong",null,"Authorization & Caching")]),e("li",null,[e("strong",null,"Completely Free & Open Source")])],-1),_=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"What's in a name?"),e("p",null,[t("\u201CDirectus\u201D ("),e("a",{href:"http://audio.pronouncekiwi.com/Salli/Directus",target:"_blank",rel:"noopener noreferrer"},"duh REKT iss"),t(") is Latin for: "),e("em",null,"laid straight, arranged in lines"),t(". The broadest goal of our platform is to present data in a simple, orderly, and intuitive way.")])],-1),y=e("h2",{id:"use-cases"},[t("Use Cases "),e("a",{class:"header-anchor",href:"#use-cases"},"#")],-1),b=e("p",null,"As flexible as the database itself, Directus can power any data-driven project. Below are some examples of common ways the platform is used:",-1),w=e("ul",null,[e("li",null,[e("strong",null,"Headless CMS"),t(" \u2014 Whether you\u2019re building on JAMstack, server-side (SSR), static websites (SSG), etc \u2014 Open Data Platforms offer a modern and flexible way to manage every omnichannel digital experience.")]),e("li",null,[e("strong",null,"Apps, Games & IoT"),t(" \u2014 A powerful data backbone for any software or smart device, including: native or hybrid apps, VR/AR, customer kiosks, installations, microcontrollers, digital signage, and even smart appliances.")]),e("li",null,[e("strong",null,"No-Code App Builder"),t(" \u2014 Ditch the spreadsheet. Now anyone can create beautiful custom apps for managing customers, projects, inventory, knowledgebases, task lists, marketing, or anything else\u2026 all with zero code.")]),e("li",null,[e("strong",null,"Back-Office & BI Tools"),t(" \u2014 Gain insights into company KPIs and enable no-code exploration of business data. Coalesce previously siloed department data to give your team meaningful and actionable analytics.")]),e("li",null,[e("strong",null,"Digital Asset Management"),t(" \u2014 Aggregate all of your digital files in one place for improved organization, searchability, delivery, and integration with other datasets, all while enabling on-the-fly file transformations.")]),e("li",null,[e("strong",null,"Raw Data Visualization"),t(" \u2014 Establish a \u201Csingle source of truth\u201D for all of your disparate data while enabling non-technical users to build custom dashboards that generate meaningful insights from complex datasets.")])],-1),v=e("h2",{id:"core-principles"},[t("Core Principles "),e("a",{class:"header-anchor",href:"#core-principles"},"#")],-1),k=e("p",null,"Directus is a simple solution for complex problems, with a data-first approach guided by the following core principles:",-1),D=e("ul",null,[e("li",null,[e("strong",null,"Pure"),t(" \u2014 No predefined or proprietary schema, with all system metadata stored separately")]),e("li",null,[e("strong",null,"Open"),t(" \u2014 Public and transparent codebase with no obfuscated or cloud-only code")]),e("li",null,[e("strong",null,"Portable"),t(" \u2014 Database can be exported or migrated at any time with no vendor lock-in")]),e("li",null,[e("strong",null,"Limitless"),t(" \u2014 No artificial limitations or paywalls on users, roles, languages, collections, or items")]),e("li",null,[e("strong",null,"Extensible"),t(" \u2014 Every aspect of the platform is modular to avoid any hard feature ceilings")]),e("li",null,[e("strong",null,"Unopinionated"),t(" \u2014 Choose your stack, database, and architecture; self-hosted or on cloud")])],-1),x=e("h2",{id:"database-mirroring"},[t("Database Mirroring "),e("a",{class:"header-anchor",href:"#database-mirroring"},"#")],-1),A=e("p",null,[e("strong",null,[t("Directus is installed as a "),e("em",null,"layer"),t(" on top of your new or existing SQL database, with its App and API dynamically \u201Cmirroring\u201D your actual schema and content in real-time.")]),t(" This approach is similar to how technical database clients (like "),e("em",null,"phpMyAdmin"),t(") work, however Directus provides an experience that is safe, intuitive, and powerful enough for anyone\u2026 even the most non-technical users.")],-1),S=t("To keep things simple, Directus uses friendlier names for database terms, including "),T=t("Project"),C=t(" (database), "),P=t("Collection"),I=t(" (table), "),E=t("Field"),j=t(" (column), "),L=t("Item"),M=t(" (record), and "),O=t("Type"),q=t(" (datatype)."),N=e("p",null,"Database mirroring has many unique advantages:",-1),W=e("ul",null,[e("li",null,"Control over your pure SQL database schema, tailored to your exact requirements"),e("li",null,"Significant performance improvements through optimizations and indexing"),e("li",null,"Complete transparency, portability, and security for your data"),e("li",null,"Direct database access and the full power of raw/complex SQL queries"),e("li",null,"Allows importing existing databases, unaltered and without any migrations")],-1),z=e("p",null,"Other platforms typically use a predefined or proprietary \u201Cone-size-fits-all\u201D data model to store your content (have you ever peeked behind the curtain of a WordPress installation? Yikes!). That is not the case with Directus. Directus gives you direct access to your pure and unaltered data. That means you have the option to bypass the Directus middleware (API, SDK, App) and connect to your data with proper SQL queries. This effectively removes all bottlenecks, latency overhead, and proprietary access limitations.",-1),B=e("h2",{id:"modular-%26-extensible"},[t("Modular & Extensible "),e("a",{class:"header-anchor",href:"#modular-%26-extensible"},"#")],-1),G=e("p",null,"What makes Directus so flexible is that it has been designed from the ground up with complete extensibility, helping avoid a feature ceiling. In addition to offering our software\u2019s codebase as open-source, we\u2019ve included the following extension types in the platform\u2019s App and API.",-1),V=t("API Endpoints"),Q=t(" \u2014 Custom registered API endpoints"),R=t("Displays"),F=t(" \u2014 A small inline preview of a field\u2019s value"),H=t("Email Templates"),K=t(" \u2014 Custom structure and formatting for emails"),J=t("Hooks"),U=t(" \u2014 Event and interval hooks for triggering custom logic"),Y=t("Interfaces"),X=t(" \u2014 How you view or interact with a field and its value"),Z=t("Layouts"),$=t(" \u2014 How you browse, view or interact with a set of Items in a Collection"),ee=t("Migrations"),te=t(" \u2014 Custom migrations for tracking project schema and content updates"),oe=t("Modules"),ne=t(" \u2014 The highest and broadest level of organization within the App"),se=t("Panels"),re=t(" \u2014 A way to view dashboard data within the Insights Module"),ae=t("Themes"),le=t(" \u2014 Whitelabeling through App Themes and CSS Overrides"),ie=e("h2",{id:"the-directus-ecosystem"},[t("The Directus Ecosystem "),e("a",{class:"header-anchor",href:"#the-directus-ecosystem"},"#")],-1),ue=e("ul",null,[e("li",null,[e("strong",null,[e("a",{href:"https://github.com/directus/directus",target:"_blank",rel:"noopener noreferrer"},"GitHub")]),t(" \u2014 The open-source repository and version control")]),e("li",null,[e("strong",null,[e("a",{href:"https://www.npmjs.com/package/directus",target:"_blank",rel:"noopener noreferrer"},"NPM Package")]),t(" \u2014 The official Directus node package")]),e("li",null,[e("strong",null,[e("a",{href:"https://hub.docker.com/r/directus/directus",target:"_blank",rel:"noopener noreferrer"},"Docker Image")]),t(" \u2014 The official Directus docker image")]),e("li",null,[e("strong",null,[e("a",{href:"https://docs.directus.io",target:"_blank",rel:"noopener noreferrer"},"Documentation")]),t(" \u2014 Docs for the most recent version of our platform")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.cloud",target:"_blank",rel:"noopener noreferrer"},"On-Demand Cloud")]),t(" \u2014 Our self-service managed solution (multitenant)")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.cloud",target:"_blank",rel:"noopener noreferrer"},"Enterprise Cloud")]),t(" \u2014 Our tailored managed solution (single tenant)")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.cloud/docs",target:"_blank",rel:"noopener noreferrer"},"Cloud Documentation")]),t(" \u2014 Docs for the managed cloud dashboard")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.cloud/docs#creating-a-private-demo",target:"_blank",rel:"noopener noreferrer"},"Private Demos")]),t(" \u2014 Instructions on creating a free cloud demo")]),e("li",null,[e("strong",null,[e("a",{href:"https://status.directus.cloud",target:"_blank",rel:"noopener noreferrer"},"System Status")]),t(" \u2014 Up-to-date information on our various cloud systems")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.io",target:"_blank",rel:"noopener noreferrer"},"Website")]),t(" \u2014 General information, resources, and team info")]),e("li",null,[e("strong",null,[e("a",{href:"https://twitter.com/directus",target:"_blank",rel:"noopener noreferrer"},"Twitter")]),t(" \u2014 The latest product info and sneak-peeks")]),e("li",null,[e("strong",null,[e("a",{href:"https://www.youtube.com/c/DirectusVideos",target:"_blank",rel:"noopener noreferrer"},"Videos")]),t(" \u2014 Our YouTube channel with video tutorials and feature overviews")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.chat",target:"_blank",rel:"noopener noreferrer"},"Discord")]),t(" \u2014 A growing community of 4K+ developers")]),e("li",null,[e("strong",null,[e("a",{href:"https://locales.directus.io/",target:"_blank",rel:"noopener noreferrer"},"Crowdin")]),t(" \u2014 Service for managing the App\u2019s many language translations")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.market/",target:"_blank",rel:"noopener noreferrer"},"Marketplace")]),t(" \u2014 Coming in 2021, will offer a unified portal for platform extensions")]),e("li",null,[e("strong",null,[e("a",{href:"https://github.com/directus-community/awesome-directus",target:"_blank",rel:"noopener noreferrer"},"Awesome List")]),t(" \u2014 A list of awesome things related to Directus")])],-1),ge={setup(de,{expose:l}){const r={title:"Getting Started",modularExtension:!1};return l({frontmatter:r}),(ce,he)=>{const n=a("router-link"),i=a("DocsWrapper");return u(),d(i,{frontmatter:r},{default:o(()=>[e("div",c,[h,p,g,f,m,_,y,b,w,v,k,D,x,A,e("p",null,[S,s(n,{to:"/docs/getting-started/glossary/#projects"},{default:o(()=>[T]),_:1}),C,s(n,{to:"/docs/getting-started/glossary/#collections"},{default:o(()=>[P]),_:1}),I,s(n,{to:"/docs/getting-started/glossary/#fields"},{default:o(()=>[E]),_:1}),j,s(n,{to:"/docs/getting-started/glossary/#items"},{default:o(()=>[L]),_:1}),M,s(n,{to:"/docs/getting-started/glossary/#types"},{default:o(()=>[O]),_:1}),q]),N,W,z,B,G,e("ul",null,[e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/api-endpoints/"},{default:o(()=>[V]),_:1})]),Q]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/displays/"},{default:o(()=>[R]),_:1})]),F]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/email-templates/"},{default:o(()=>[H]),_:1})]),K]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/hooks/"},{default:o(()=>[J]),_:1})]),U]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/interfaces/"},{default:o(()=>[Y]),_:1})]),X]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/layouts/"},{default:o(()=>[Z]),_:1})]),$]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/migrations/"},{default:o(()=>[ee]),_:1})]),te]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/modules/"},{default:o(()=>[oe]),_:1})]),ne]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/panels/"},{default:o(()=>[se]),_:1})]),re]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/themes/"},{default:o(()=>[ae]),_:1})]),le])]),ie,ue])]),_:1})}}};export{ge as default};
1
+ import{r as a,p as u,q as d,w as o,B as e,t as s,P as t}from"./vendor.764dd834.js";const c={class:"markdown-body"},h=e("blockquote",null,[e("p",null,"These Docs will help you get up-and-running quickly, guide you through advanced features, and explain the core concepts that make Directus so unique.")],-1),p=e("h2",{id:"what-is-directus%3F"},[t("What is Directus? "),e("a",{class:"header-anchor",href:"#what-is-directus%3F"},"#")],-1),g=e("p",null,[e("strong",null,"Directus is an Open Data Platform built to democratize the database."),t(" Its no-code app is safe and intuitive enough to make data accessible to everyone, while still providing the granular configuration and technical tools required by power-users and data scientists. For developers, a data connection toolkit provides a dynamic REST+GraphQL API, JavaScript SDK, and options for authorization, caching, and more.")],-1),f=e("p",null,[t("Written entirely in JavaScript (primarily "),e("a",{href:"https://nodejs.dev",target:"_blank",rel:"noopener noreferrer"},"Node.js"),t(" and "),e("a",{href:"https://vuejs.org",target:"_blank",rel:"noopener noreferrer"},"Vue.js"),t("), Directus is completely open-source, modular, and extensible, allowing it to be fully tailored to the requirements of any project. Below are the key features of the platform:")],-1),m=e("ul",null,[e("li",null,[e("strong",null,"No-Code App for anyone to manage data")]),e("li",null,[e("strong",null,"Data Connection Toolkit with REST & GraphQL")]),e("li",null,[e("strong",null,"Supports Any SQL Database")]),e("li",null,[e("strong",null,"Authorization & Caching")]),e("li",null,[e("strong",null,"Completely Free & Open Source")])],-1),_=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"What's in a name?"),e("p",null,[t("\u201CDirectus\u201D ("),e("a",{href:"http://audio.pronouncekiwi.com/Salli/Directus",target:"_blank",rel:"noopener noreferrer"},"duh REKT iss"),t(") is Latin for: "),e("em",null,"laid straight, arranged in lines"),t(". The broadest goal of our platform is to present data in a simple, orderly, and intuitive way.")])],-1),y=e("h2",{id:"use-cases"},[t("Use Cases "),e("a",{class:"header-anchor",href:"#use-cases"},"#")],-1),b=e("p",null,"As flexible as the database itself, Directus can power any data-driven project. Below are some examples of common ways the platform is used:",-1),w=e("ul",null,[e("li",null,[e("strong",null,"Headless CMS"),t(" \u2014 Whether you\u2019re building on JAMstack, server-side (SSR), static websites (SSG), etc \u2014 Open Data Platforms offer a modern and flexible way to manage every omnichannel digital experience.")]),e("li",null,[e("strong",null,"Apps, Games & IoT"),t(" \u2014 A powerful data backbone for any software or smart device, including: native or hybrid apps, VR/AR, customer kiosks, installations, microcontrollers, digital signage, and even smart appliances.")]),e("li",null,[e("strong",null,"No-Code App Builder"),t(" \u2014 Ditch the spreadsheet. Now anyone can create beautiful custom apps for managing customers, projects, inventory, knowledgebases, task lists, marketing, or anything else\u2026 all with zero code.")]),e("li",null,[e("strong",null,"Back-Office & BI Tools"),t(" \u2014 Gain insights into company KPIs and enable no-code exploration of business data. Coalesce previously siloed department data to give your team meaningful and actionable analytics.")]),e("li",null,[e("strong",null,"Digital Asset Management"),t(" \u2014 Aggregate all of your digital files in one place for improved organization, searchability, delivery, and integration with other datasets, all while enabling on-the-fly file transformations.")]),e("li",null,[e("strong",null,"Raw Data Visualization"),t(" \u2014 Establish a \u201Csingle source of truth\u201D for all of your disparate data while enabling non-technical users to build custom dashboards that generate meaningful insights from complex datasets.")])],-1),v=e("h2",{id:"core-principles"},[t("Core Principles "),e("a",{class:"header-anchor",href:"#core-principles"},"#")],-1),k=e("p",null,"Directus is a simple solution for complex problems, with a data-first approach guided by the following core principles:",-1),D=e("ul",null,[e("li",null,[e("strong",null,"Pure"),t(" \u2014 No predefined or proprietary schema, with all system metadata stored separately")]),e("li",null,[e("strong",null,"Open"),t(" \u2014 Public and transparent codebase with no obfuscated or cloud-only code")]),e("li",null,[e("strong",null,"Portable"),t(" \u2014 Database can be exported or migrated at any time with no vendor lock-in")]),e("li",null,[e("strong",null,"Limitless"),t(" \u2014 No artificial limitations or paywalls on users, roles, languages, collections, or items")]),e("li",null,[e("strong",null,"Extensible"),t(" \u2014 Every aspect of the platform is modular to avoid any hard feature ceilings")]),e("li",null,[e("strong",null,"Unopinionated"),t(" \u2014 Choose your stack, database, and architecture; self-hosted or on cloud")])],-1),x=e("h2",{id:"database-mirroring"},[t("Database Mirroring "),e("a",{class:"header-anchor",href:"#database-mirroring"},"#")],-1),A=e("p",null,[e("strong",null,[t("Directus is installed as a "),e("em",null,"layer"),t(" on top of your new or existing SQL database, with its App and API dynamically \u201Cmirroring\u201D your actual schema and content in real-time.")]),t(" This approach is similar to how technical database clients (like "),e("em",null,"phpMyAdmin"),t(") work, however Directus provides an experience that is safe, intuitive, and powerful enough for anyone\u2026 even the most non-technical users.")],-1),C=t("To keep things simple, Directus uses friendlier names for database terms, including "),S=t("Project"),T=t(" (database), "),P=t("Collection"),I=t(" (table), "),E=t("Field"),j=t(" (column), "),L=t("Item"),M=t(" (record), and "),q=t("Type"),N=t(" (datatype)."),O=e("p",null,"Database mirroring has many unique advantages:",-1),W=e("ul",null,[e("li",null,"Control over your pure SQL database schema, tailored to your exact requirements"),e("li",null,"Significant performance improvements through optimizations and indexing"),e("li",null,"Complete transparency, portability, and security for your data"),e("li",null,"Direct database access and the full power of raw/complex SQL queries"),e("li",null,"Allows importing existing databases, unaltered and without any migrations")],-1),z=e("p",null,"Other platforms typically use a predefined or proprietary \u201Cone-size-fits-all\u201D data model to store your content (have you ever peeked behind the curtain of a WordPress installation? Yikes!). That is not the case with Directus. Directus gives you direct access to your pure and unaltered data. That means you have the option to bypass the Directus middleware (API, SDK, App) and connect to your data with proper SQL queries. This effectively removes all bottlenecks, latency overhead, and proprietary access limitations.",-1),B=e("h2",{id:"modular-%26-extensible"},[t("Modular & Extensible "),e("a",{class:"header-anchor",href:"#modular-%26-extensible"},"#")],-1),G=e("p",null,"What makes Directus so flexible is that it has been designed from the ground up with complete extensibility, helping avoid a feature ceiling. In addition to offering our software\u2019s codebase as open-source, we\u2019ve included the following extension types in the platform\u2019s App and API.",-1),V=t("Displays"),Q=t(" \u2014 A small inline preview of a field\u2019s value"),R=t("Email Templates"),F=t(" \u2014 Custom structure and formatting for emails"),H=t("Endpoints"),K=t(" \u2014 Custom registered API endpoints"),J=t("Hooks"),U=t(" \u2014 Event and interval hooks for triggering custom logic"),Y=t("Interfaces"),X=t(" \u2014 How you view or interact with a field and its value"),Z=t("Layouts"),$=t(" \u2014 How you browse, view or interact with a set of Items in a Collection"),ee=t("Migrations"),te=t(" \u2014 Custom migrations for tracking project schema and content updates"),oe=t("Modules"),ne=t(" \u2014 The highest and broadest level of organization within the App"),se=t("Panels"),re=t(" \u2014 A way to view dashboard data within the Insights Module"),ae=t("Themes"),le=t(" \u2014 Whitelabeling through App Themes and Custom CSS"),ie=e("h2",{id:"the-directus-ecosystem"},[t("The Directus Ecosystem "),e("a",{class:"header-anchor",href:"#the-directus-ecosystem"},"#")],-1),ue=e("ul",null,[e("li",null,[e("strong",null,[e("a",{href:"https://github.com/directus/directus",target:"_blank",rel:"noopener noreferrer"},"GitHub")]),t(" \u2014 The open-source repository and version control")]),e("li",null,[e("strong",null,[e("a",{href:"https://www.npmjs.com/package/directus",target:"_blank",rel:"noopener noreferrer"},"NPM Package")]),t(" \u2014 The official Directus node package")]),e("li",null,[e("strong",null,[e("a",{href:"https://hub.docker.com/r/directus/directus",target:"_blank",rel:"noopener noreferrer"},"Docker Image")]),t(" \u2014 The official Directus docker image")]),e("li",null,[e("strong",null,[e("a",{href:"https://docs.directus.io",target:"_blank",rel:"noopener noreferrer"},"Documentation")]),t(" \u2014 Docs for the most recent version of our platform")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.cloud",target:"_blank",rel:"noopener noreferrer"},"On-Demand Cloud")]),t(" \u2014 Our self-service managed solution (multitenant)")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.cloud",target:"_blank",rel:"noopener noreferrer"},"Enterprise Cloud")]),t(" \u2014 Our tailored managed solution (single tenant)")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.cloud/docs",target:"_blank",rel:"noopener noreferrer"},"Cloud Documentation")]),t(" \u2014 Docs for the managed cloud dashboard")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.cloud/docs#creating-a-private-demo",target:"_blank",rel:"noopener noreferrer"},"Private Demos")]),t(" \u2014 Instructions on creating a free cloud demo")]),e("li",null,[e("strong",null,[e("a",{href:"https://status.directus.cloud",target:"_blank",rel:"noopener noreferrer"},"System Status")]),t(" \u2014 Up-to-date information on our various cloud systems")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.io",target:"_blank",rel:"noopener noreferrer"},"Website")]),t(" \u2014 General information, resources, and team info")]),e("li",null,[e("strong",null,[e("a",{href:"https://twitter.com/directus",target:"_blank",rel:"noopener noreferrer"},"Twitter")]),t(" \u2014 The latest product info and sneak-peeks")]),e("li",null,[e("strong",null,[e("a",{href:"https://www.youtube.com/c/DirectusVideos",target:"_blank",rel:"noopener noreferrer"},"Videos")]),t(" \u2014 Our YouTube channel with video tutorials and feature overviews")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.chat",target:"_blank",rel:"noopener noreferrer"},"Discord")]),t(" \u2014 A growing community of 4K+ developers")]),e("li",null,[e("strong",null,[e("a",{href:"https://locales.directus.io/",target:"_blank",rel:"noopener noreferrer"},"Crowdin")]),t(" \u2014 Service for managing the App\u2019s many language translations")]),e("li",null,[e("strong",null,[e("a",{href:"https://directus.market/",target:"_blank",rel:"noopener noreferrer"},"Marketplace")]),t(" \u2014 Coming in 2021, will offer a unified portal for platform extensions")]),e("li",null,[e("strong",null,[e("a",{href:"https://github.com/directus-community/awesome-directus",target:"_blank",rel:"noopener noreferrer"},"Awesome List")]),t(" \u2014 A list of awesome things related to Directus")])],-1),ge={setup(de,{expose:l}){const r={title:"Getting Started",modularExtension:!1};return l({frontmatter:r}),(ce,he)=>{const n=a("router-link"),i=a("DocsWrapper");return u(),d(i,{frontmatter:r},{default:o(()=>[e("div",c,[h,p,g,f,m,_,y,b,w,v,k,D,x,A,e("p",null,[C,s(n,{to:"/docs/getting-started/glossary/#projects"},{default:o(()=>[S]),_:1}),T,s(n,{to:"/docs/getting-started/glossary/#collections"},{default:o(()=>[P]),_:1}),I,s(n,{to:"/docs/getting-started/glossary/#fields"},{default:o(()=>[E]),_:1}),j,s(n,{to:"/docs/getting-started/glossary/#items"},{default:o(()=>[L]),_:1}),M,s(n,{to:"/docs/getting-started/glossary/#types"},{default:o(()=>[q]),_:1}),N]),O,W,z,B,G,e("ul",null,[e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/displays/"},{default:o(()=>[V]),_:1})]),Q]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/email-templates/"},{default:o(()=>[R]),_:1})]),F]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/endpoints/"},{default:o(()=>[H]),_:1})]),K]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/hooks/"},{default:o(()=>[J]),_:1})]),U]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/interfaces/"},{default:o(()=>[Y]),_:1})]),X]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/layouts/"},{default:o(()=>[Z]),_:1})]),$]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/migrations/"},{default:o(()=>[ee]),_:1})]),te]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/modules/"},{default:o(()=>[oe]),_:1})]),ne]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/panels/"},{default:o(()=>[se]),_:1})]),re]),e("li",null,[e("strong",null,[s(n,{to:"/docs/extensions/themes/"},{default:o(()=>[ae]),_:1})]),le])]),ie,ue])]),_:1})}}};export{ge as default};
@@ -1,4 +1,4 @@
1
- import{r,p as c,q as h,w as s,B as e,t as l,P as t}from"./vendor.327371af.js";const d={class:"markdown-body"},u={class:"two-up"},p={class:"left"},_=t("Items are individual pieces of data in your database. They can be anything, from articles, to IoT status checks. "),m=t("Learn more about Items"),f=t("."),g=e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-item-object"},"The Item Object")]),e("li",null,[e("a",{href:"#get-items"},"Get Items")]),e("li",null,[e("a",{href:"#get-item-by-id"},"Get Item by ID")]),e("li",null,[e("a",{href:"#create-an-item"},"Create an Item")]),e("li",null,[e("a",{href:"#create-multiple-items"},"Create Multiple Items")]),e("li",null,[e("a",{href:"#update-an-item"},"Update an Item")]),e("li",null,[e("a",{href:"#update-multiple-items"},"Update Multiple Items")]),e("li",null,[e("a",{href:"#delete-an-item"},"Delete an Item")]),e("li",null,[e("a",{href:"#delete-multiple-items"},"Delete Multiple Items")])])])])],-1),y=e("hr",null,null,-1),b=e("h2",{id:"the-item-object"},[t("The Item Object "),e("a",{class:"header-anchor",href:"#the-item-object"},"#")],-1),j=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,[t("Items don\u2019t have a pre-defined schema. The format depends completely on how you configured your collections and fields in Directus. For the sake of documentation, we\u2019ll use a fictional articles collection with the following fields: "),e("code",null,"id"),t(", "),e("code",null,"status"),t(", "),e("code",null,"title"),t(", "),e("code",null,"body"),t(", "),e("code",null,"featured_image"),t(", and "),e("code",null,"author"),t(".")])]),e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[t(`{
1
+ import{r,p as c,q as h,w as s,B as e,t as l,P as t}from"./vendor.764dd834.js";const d={class:"markdown-body"},u={class:"two-up"},p={class:"left"},_=t("Items are individual pieces of data in your database. They can be anything, from articles, to IoT status checks. "),m=t("Learn more about Items"),f=t("."),g=e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-item-object"},"The Item Object")]),e("li",null,[e("a",{href:"#get-items"},"Get Items")]),e("li",null,[e("a",{href:"#get-item-by-id"},"Get Item by ID")]),e("li",null,[e("a",{href:"#create-an-item"},"Create an Item")]),e("li",null,[e("a",{href:"#create-multiple-items"},"Create Multiple Items")]),e("li",null,[e("a",{href:"#update-an-item"},"Update an Item")]),e("li",null,[e("a",{href:"#update-multiple-items"},"Update Multiple Items")]),e("li",null,[e("a",{href:"#delete-an-item"},"Delete an Item")]),e("li",null,[e("a",{href:"#delete-multiple-items"},"Delete Multiple Items")])])])])],-1),y=e("hr",null,null,-1),b=e("h2",{id:"the-item-object"},[t("The Item Object "),e("a",{class:"header-anchor",href:"#the-item-object"},"#")],-1),j=e("div",{class:"two-up"},[e("div",{class:"left"},[e("p",null,[t("Items don\u2019t have a pre-defined schema. The format depends completely on how you configured your collections and fields in Directus. For the sake of documentation, we\u2019ll use a fictional articles collection with the following fields: "),e("code",null,"id"),t(", "),e("code",null,"status"),t(", "),e("code",null,"title"),t(", "),e("code",null,"body"),t(", "),e("code",null,"featured_image"),t(", and "),e("code",null,"author"),t(".")])]),e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[t(`{
2
2
  `),e("span",{class:"hljs-attr"},'"id"'),t(": "),e("span",{class:"hljs-number"},"1"),t(`,
3
3
  `),e("span",{class:"hljs-attr"},'"status"'),t(": "),e("span",{class:"hljs-string"},'"published"'),t(`,
4
4
  `),e("span",{class:"hljs-attr"},'"title"'),t(": "),e("span",{class:"hljs-string"},'"Hello, world!"'),t(`,
@@ -1 +1 @@
1
- import{bH as N}from"./vendor.327371af.js";function T(d,m){return m.forEach(function(l){l&&typeof l!="string"&&!Array.isArray(l)&&Object.keys(l).forEach(function(p){if(p!=="default"&&!(p in d)){var y=Object.getOwnPropertyDescriptor(l,p);Object.defineProperty(d,p,y.get?y:{enumerable:!0,get:function(){return l[p]}})}})}),Object.freeze(d)}var O={exports:{}};(function(d,m){(function(l){l(N.exports)})(function(l){var p=l.Pos;function y(e,n){for(var t=0,r=e.length;t<r;++t)n(e[t])}function x(e,n){if(!Array.prototype.indexOf){for(var t=e.length;t--;)if(e[t]===n)return!0;return!1}return e.indexOf(n)!=-1}function w(e,n,t,r){var a=e.getCursor(),i=t(e,a);if(!/\b(?:string|comment)\b/.test(i.type)){var c=l.innerMode(e.getMode(),i.state);if(c.mode.helperType!=="json"){i.state=c.state,/^[\w$_]*$/.test(i.string)?i.end>a.ch&&(i.end=a.ch,i.string=i.string.slice(0,a.ch-i.start)):i={start:a.ch,end:a.ch,string:"",state:i.state,type:i.string=="."?"property":null};for(var s=i;s.type=="property";){if(s=t(e,p(a.line,s.start)),s.string!=".")return;if(s=t(e,p(a.line,s.start)),!h)var h=[];h.push(s)}return{list:Q(i,h,n,r),from:p(a.line,i.start),to:p(a.line,i.end)}}}}function P(e,n){return w(e,$,function(t,r){return t.getTokenAt(r)},n)}l.registerHelper("hint","javascript",P);function A(e,n){var t=e.getTokenAt(n);return n.ch==t.start+1&&t.string.charAt(0)=="."?(t.end=t.start,t.string=".",t.type="property"):/^\.[\w$_]*$/.test(t.string)&&(t.type="property",t.start++,t.string=t.string.replace(/\./,"")),t}function _(e,n){return w(e,S,A,n)}l.registerHelper("hint","coffeescript",_);var j="charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight toUpperCase toLowerCase split concat match replace search".split(" "),C="length concat join splice push pop shift unshift slice reverse sort indexOf lastIndexOf every some filter forEach map reduce reduceRight ".split(" "),H="prototype apply call bind".split(" "),$="break case catch class const continue debugger default delete do else export extends false finally for function if in import instanceof new null return super switch this throw true try typeof var void while with yield".split(" "),S="and break catch class continue delete do else extends false finally for if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes".split(" ");function E(e,n){if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)for(var t in e)n(t);else for(var r=e;r;r=Object.getPrototypeOf(r))Object.getOwnPropertyNames(r).forEach(n)}function Q(e,n,t,r){var a=[],i=e.string,c=r&&r.globalScope||window;function s(g){g.lastIndexOf(i,0)==0&&!x(a,g)&&a.push(g)}function h(g){typeof g=="string"?y(j,s):g instanceof Array?y(C,s):g instanceof Function&&y(H,s),E(g,s)}if(n&&n.length){var u=n.pop(),o;for(u.type&&u.type.indexOf("variable")===0?(r&&r.additionalContext&&(o=r.additionalContext[u.string]),(!r||r.useGlobalScope!==!1)&&(o=o||c[u.string])):u.type=="string"?o="":u.type=="atom"?o=1:u.type=="function"&&(c.jQuery!=null&&(u.string=="$"||u.string=="jQuery")&&typeof c.jQuery=="function"?o=c.jQuery():c._!=null&&u.string=="_"&&typeof c._=="function"&&(o=c._()));o!=null&&n.length;)o=o[n.pop().string];o!=null&&h(o)}else{for(var f=e.state.localVars;f;f=f.next)s(f.name);for(var v=e.state.context;v;v=v.prev)for(var f=v.vars;f;f=f.next)s(f.name);for(var f=e.state.globalVars;f;f=f.next)s(f.name);if(r&&r.additionalContext!=null)for(var I in r.additionalContext)s(I);(!r||r.useGlobalScope!==!1)&&h(c),y(t,s)}return a}})})();var b=O.exports,G=Object.freeze(T({__proto__:null,[Symbol.toStringTag]:"Module",default:b},[O.exports]));export{G as j};
1
+ import{bH as N}from"./vendor.764dd834.js";function T(h,m){return m.forEach(function(l){l&&typeof l!="string"&&!Array.isArray(l)&&Object.keys(l).forEach(function(p){if(p!=="default"&&!(p in h)){var y=Object.getOwnPropertyDescriptor(l,p);Object.defineProperty(h,p,y.get?y:{enumerable:!0,get:function(){return l[p]}})}})}),Object.freeze(h)}var O={exports:{}};(function(h,m){(function(l){l(N.exports)})(function(l){var p=l.Pos;function y(e,n){for(var t=0,r=e.length;t<r;++t)n(e[t])}function x(e,n){if(!Array.prototype.indexOf){for(var t=e.length;t--;)if(e[t]===n)return!0;return!1}return e.indexOf(n)!=-1}function w(e,n,t,r){var a=e.getCursor(),i=t(e,a);if(!/\b(?:string|comment)\b/.test(i.type)){var c=l.innerMode(e.getMode(),i.state);if(c.mode.helperType!=="json"){i.state=c.state,/^[\w$_]*$/.test(i.string)?i.end>a.ch&&(i.end=a.ch,i.string=i.string.slice(0,a.ch-i.start)):i={start:a.ch,end:a.ch,string:"",state:i.state,type:i.string=="."?"property":null};for(var s=i;s.type=="property";){if(s=t(e,p(a.line,s.start)),s.string!=".")return;if(s=t(e,p(a.line,s.start)),!d)var d=[];d.push(s)}return{list:Q(i,d,n,r),from:p(a.line,i.start),to:p(a.line,i.end)}}}}function P(e,n){return w(e,$,function(t,r){return t.getTokenAt(r)},n)}l.registerHelper("hint","javascript",P);function A(e,n){var t=e.getTokenAt(n);return n.ch==t.start+1&&t.string.charAt(0)=="."?(t.end=t.start,t.string=".",t.type="property"):/^\.[\w$_]*$/.test(t.string)&&(t.type="property",t.start++,t.string=t.string.replace(/\./,"")),t}function _(e,n){return w(e,S,A,n)}l.registerHelper("hint","coffeescript",_);var j="charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight toUpperCase toLowerCase split concat match replace search".split(" "),C="length concat join splice push pop shift unshift slice reverse sort indexOf lastIndexOf every some filter forEach map reduce reduceRight ".split(" "),H="prototype apply call bind".split(" "),$="break case catch class const continue debugger default delete do else export extends false finally for function if in import instanceof new null return super switch this throw true try typeof var void while with yield".split(" "),S="and break catch class continue delete do else extends false finally for if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes".split(" ");function E(e,n){if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)for(var t in e)n(t);else for(var r=e;r;r=Object.getPrototypeOf(r))Object.getOwnPropertyNames(r).forEach(n)}function Q(e,n,t,r){var a=[],i=e.string,c=r&&r.globalScope||window;function s(g){g.lastIndexOf(i,0)==0&&!x(a,g)&&a.push(g)}function d(g){typeof g=="string"?y(j,s):g instanceof Array?y(C,s):g instanceof Function&&y(H,s),E(g,s)}if(n&&n.length){var u=n.pop(),o;for(u.type&&u.type.indexOf("variable")===0?(r&&r.additionalContext&&(o=r.additionalContext[u.string]),(!r||r.useGlobalScope!==!1)&&(o=o||c[u.string])):u.type=="string"?o="":u.type=="atom"?o=1:u.type=="function"&&(c.jQuery!=null&&(u.string=="$"||u.string=="jQuery")&&typeof c.jQuery=="function"?o=c.jQuery():c._!=null&&u.string=="_"&&typeof c._=="function"&&(o=c._()));o!=null&&n.length;)o=o[n.pop().string];o!=null&&d(o)}else{for(var f=e.state.localVars;f;f=f.next)s(f.name);for(var v=e.state.context;v;v=v.prev)for(var f=v.vars;f;f=f.next)s(f.name);for(var f=e.state.globalVars;f;f=f.next)s(f.name);if(r&&r.additionalContext!=null)for(var I in r.additionalContext)s(I);(!r||r.useGlobalScope!==!1)&&d(c),y(t,s)}return a}})})();var b=O.exports,G=Object.freeze(T({__proto__:null,[Symbol.toStringTag]:"Module",default:b},[O.exports]));export{G as j};
@@ -1 +1 @@
1
- import{bH as he}from"./vendor.327371af.js";function xe(Y,hr){return hr.forEach(function(k){k&&typeof k!="string"&&!Array.isArray(k)&&Object.keys(k).forEach(function(_){if(_!=="default"&&!(_ in Y)){var v=Object.getOwnPropertyDescriptor(k,_);Object.defineProperty(Y,_,v.get?v:{enumerable:!0,get:function(){return k[_]}})}})}),Object.freeze(Y)}var Fr={exports:{}};(function(Y,hr){(function(k){k(he.exports)})(function(k){k.defineMode("javascript",function(_,v){var N=_.indentUnit,xr=v.statementIndent,Z=v.jsonld,z=v.json||Z,vr=v.trackScope!==!1,p=v.typescript,C=v.wordCharacters||/[\w$\xa1-\uffff]/,gr=function(){function r(g){return{type:g,style:"keyword"}}var e=r("keyword a"),t=r("keyword b"),f=r("keyword c"),u=r("keyword d"),l=r("operator"),m={type:"atom",style:"atom"};return{if:r("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:u,break:u,continue:u,new:r("new"),delete:f,void:f,throw:f,debugger:r("debugger"),var:r("var"),const:r("var"),let:r("var"),function:r("function"),catch:r("catch"),for:r("for"),switch:r("switch"),case:r("case"),default:r("default"),in:l,typeof:l,instanceof:l,true:m,false:m,null:m,undefined:m,NaN:m,Infinity:m,this:r("this"),class:r("class"),super:r("atom"),yield:f,export:r("export"),import:r("import"),extends:f,await:f}}(),yr=/[+\-*&%=<>!?|~^@]/,Dr=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Jr(r){for(var e=!1,t,f=!1;(t=r.next())!=null;){if(!e){if(t=="/"&&!f)return;t=="["?f=!0:f&&t=="]"&&(f=!1)}e=!e&&t=="\\"}}var R,rr;function w(r,e,t){return R=r,rr=t,e}function M(r,e){var t=r.next();if(t=='"'||t=="'")return e.tokenize=Lr(t),e.tokenize(r,e);if(t=="."&&r.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return w("number","number");if(t=="."&&r.match(".."))return w("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(t))return w(t);if(t=="="&&r.eat(">"))return w("=>","operator");if(t=="0"&&r.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return w("number","number");if(/\d/.test(t))return r.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),w("number","number");if(t=="/")return r.eat("*")?(e.tokenize=er,er(r,e)):r.eat("/")?(r.skipToEnd(),w("comment","comment")):Pr(r,e,1)?(Jr(r),r.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),w("regexp","string-2")):(r.eat("="),w("operator","operator",r.current()));if(t=="`")return e.tokenize=U,U(r,e);if(t=="#"&&r.peek()=="!")return r.skipToEnd(),w("meta","meta");if(t=="#"&&r.eatWhile(C))return w("variable","property");if(t=="<"&&r.match("!--")||t=="-"&&r.match("->")&&!/\S/.test(r.string.slice(0,r.start)))return r.skipToEnd(),w("comment","comment");if(yr.test(t))return(t!=">"||!e.lexical||e.lexical.type!=">")&&(r.eat("=")?(t=="!"||t=="=")&&r.eat("="):/[<>*+\-|&?]/.test(t)&&(r.eat(t),t==">"&&r.eat(t))),t=="?"&&r.eat(".")?w("."):w("operator","operator",r.current());if(C.test(t)){r.eatWhile(C);var f=r.current();if(e.lastType!="."){if(gr.propertyIsEnumerable(f)){var u=gr[f];return w(u.type,u.style,f)}if(f=="async"&&r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return w("async","keyword",f)}return w("variable","variable",f)}}function Lr(r){return function(e,t){var f=!1,u;if(Z&&e.peek()=="@"&&e.match(Dr))return t.tokenize=M,w("jsonld-keyword","meta");for(;(u=e.next())!=null&&!(u==r&&!f);)f=!f&&u=="\\";return f||(t.tokenize=M),w("string","string")}}function er(r,e){for(var t=!1,f;f=r.next();){if(f=="/"&&t){e.tokenize=M;break}t=f=="*"}return w("comment","comment")}function U(r,e){for(var t=!1,f;(f=r.next())!=null;){if(!t&&(f=="`"||f=="$"&&r.eat("{"))){e.tokenize=M;break}t=!t&&f=="\\"}return w("quasi","string-2",r.current())}var Qr="([{}])";function sr(r,e){e.fatArrowAt&&(e.fatArrowAt=null);var t=r.string.indexOf("=>",r.start);if(!(t<0)){if(p){var f=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start,t));f&&(t=f.index)}for(var u=0,l=!1,m=t-1;m>=0;--m){var g=r.string.charAt(m),T=Qr.indexOf(g);if(T>=0&&T<3){if(!u){++m;break}if(--u==0){g=="("&&(l=!0);break}}else if(T>=3&&T<6)++u;else if(C.test(g))l=!0;else if(/["'\/`]/.test(g))for(;;--m){if(m==0)return;var we=r.string.charAt(m-1);if(we==g&&r.string.charAt(m-2)!="\\"){m--;break}}else if(l&&!u){++m;break}}l&&!u&&(e.fatArrowAt=m)}}var Rr={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function jr(r,e,t,f,u,l){this.indented=r,this.column=e,this.type=t,this.prev=u,this.info=l,f!=null&&(this.align=f)}function Ur(r,e){if(!vr)return!1;for(var t=r.localVars;t;t=t.next)if(t.name==e)return!0;for(var f=r.context;f;f=f.prev)for(var t=f.vars;t;t=t.next)if(t.name==e)return!0}function Er(r,e,t,f,u){var l=r.cc;for(i.state=r,i.stream=u,i.marked=null,i.cc=l,i.style=e,r.lexical.hasOwnProperty("align")||(r.lexical.align=!0);;){var m=l.length?l.pop():z?b:h;if(m(t,f)){for(;l.length&&l[l.length-1].lex;)l.pop()();return i.marked?i.marked:t=="variable"&&Ur(r,f)?"variable-2":e}}}var i={state:null,column:null,marked:null,cc:null};function o(){for(var r=arguments.length-1;r>=0;r--)i.cc.push(arguments[r])}function n(){return o.apply(null,arguments),!0}function cr(r,e){for(var t=e;t;t=t.next)if(t.name==r)return!0;return!1}function B(r){var e=i.state;if(i.marked="def",!!vr){if(e.context){if(e.lexical.info=="var"&&e.context&&e.context.block){var t=Tr(r,e.context);if(t!=null){e.context=t;return}}else if(!cr(r,e.localVars)){e.localVars=new H(r,e.localVars);return}}v.globalVars&&!cr(r,e.globalVars)&&(e.globalVars=new H(r,e.globalVars))}}function Tr(r,e){if(e)if(e.block){var t=Tr(r,e.prev);return t?t==e.prev?e:new W(t,e.vars,!0):null}else return cr(r,e.vars)?e:new W(e.prev,new H(r,e.vars),!1);else return null}function nr(r){return r=="public"||r=="private"||r=="protected"||r=="abstract"||r=="readonly"}function W(r,e,t){this.prev=r,this.vars=e,this.block=t}function H(r,e){this.name=r,this.next=e}var Wr=new H("this",new H("arguments",null));function P(){i.state.context=new W(i.state.context,i.state.localVars,!1),i.state.localVars=Wr}function lr(){i.state.context=new W(i.state.context,i.state.localVars,!0),i.state.localVars=null}function j(){i.state.localVars=i.state.context.vars,i.state.context=i.state.context.prev}j.lex=!0;function s(r,e){var t=function(){var f=i.state,u=f.indented;if(f.lexical.type=="stat")u=f.lexical.indented;else for(var l=f.lexical;l&&l.type==")"&&l.align;l=l.prev)u=l.indented;f.lexical=new jr(u,i.stream.column(),r,null,f.lexical,e)};return t.lex=!0,t}function a(){var r=i.state;r.lexical.prev&&(r.lexical.type==")"&&(r.indented=r.lexical.indented),r.lexical=r.lexical.prev)}a.lex=!0;function c(r){function e(t){return t==r?n():r==";"||t=="}"||t==")"||t=="]"?o():n(e)}return e}function h(r,e){return r=="var"?n(s("vardef",e),br,c(";"),a):r=="keyword a"?n(s("form"),dr,h,a):r=="keyword b"?n(s("form"),h,a):r=="keyword d"?i.stream.match(/^\s*$/,!1)?n():n(s("stat"),F,c(";"),a):r=="debugger"?n(c(";")):r=="{"?n(s("}"),lr,fr,a,j):r==";"?n():r=="if"?(i.state.lexical.info=="else"&&i.state.cc[i.state.cc.length-1]==a&&i.state.cc.pop()(),n(s("form"),dr,h,a,zr)):r=="function"?n(S):r=="for"?n(s("form"),lr,Mr,h,j,a):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form",r=="class"?r:e),$r,a)):r=="variable"?p&&e=="declare"?(i.marked="keyword",n(h)):p&&(e=="module"||e=="enum"||e=="type")&&i.stream.match(/^\s*\w/,!1)?(i.marked="keyword",e=="enum"?n(Br):e=="type"?n(Or,c("operator"),d,c(";")):n(s("form"),E,c("{"),s("}"),fr,a,a)):p&&e=="namespace"?(i.marked="keyword",n(s("form"),b,h,a)):p&&e=="abstract"?(i.marked="keyword",n(h)):n(s("stat"),Zr):r=="switch"?n(s("form"),dr,c("{"),s("}","switch"),lr,fr,a,a,j):r=="case"?n(b,c(":")):r=="default"?n(c(":")):r=="catch"?n(s("form"),P,Hr,h,a,j):r=="export"?n(s("stat"),le,a):r=="import"?n(s("stat"),de,a):r=="async"?n(h):e=="@"?n(b,h):o(s("stat"),b,c(";"),a)}function Hr(r){if(r=="(")return n(q,c(")"))}function b(r,e){return Ar(r,e,!1)}function y(r,e){return Ar(r,e,!0)}function dr(r){return r!="("?o():n(s(")"),F,c(")"),a)}function Ar(r,e,t){if(i.state.fatArrowAt==i.stream.start){var f=t?Ir:Vr;if(r=="(")return n(P,s(")"),x(q,")"),a,c("=>"),f,j);if(r=="variable")return o(P,E,c("=>"),f,j)}var u=t?D:O;return Rr.hasOwnProperty(r)?n(u):r=="function"?n(S,u):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form"),ce,a)):r=="keyword c"||r=="async"?n(t?y:b):r=="("?n(s(")"),F,c(")"),a,u):r=="operator"||r=="spread"?n(t?y:b):r=="["?n(s("]"),pe,a,u):r=="{"?K(ir,"}",null,u):r=="quasi"?o(tr,u):r=="new"?n(Gr(t)):n()}function F(r){return r.match(/[;\}\)\],]/)?o():o(b)}function O(r,e){return r==","?n(F):D(r,e,!1)}function D(r,e,t){var f=t==!1?O:D,u=t==!1?b:y;if(r=="=>")return n(P,t?Ir:Vr,j);if(r=="operator")return/\+\+|--/.test(e)||p&&e=="!"?n(f):p&&e=="<"&&i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?n(s(">"),x(d,">"),a,f):e=="?"?n(b,c(":"),u):n(u);if(r=="quasi")return o(tr,f);if(r!=";"){if(r=="(")return K(y,")","call",f);if(r==".")return n(Cr,f);if(r=="[")return n(s("]"),F,c("]"),a,f);if(p&&e=="as")return i.marked="keyword",n(d,f);if(r=="regexp")return i.state.lastType=i.marked="operator",i.stream.backUp(i.stream.pos-i.stream.start-1),n(u)}}function tr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(tr):n(F,Kr)}function Kr(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(tr)}function Vr(r){return sr(i.stream,i.state),o(r=="{"?h:b)}function Ir(r){return sr(i.stream,i.state),o(r=="{"?h:y)}function Gr(r){return function(e){return e=="."?n(r?Yr:Xr):e=="variable"&&p?n(fe,r?D:O):o(r?y:b)}}function Xr(r,e){if(e=="target")return i.marked="keyword",n(O)}function Yr(r,e){if(e=="target")return i.marked="keyword",n(D)}function Zr(r){return r==":"?n(a,h):o(O,c(";"),a)}function Cr(r){if(r=="variable")return i.marked="property",n()}function ir(r,e){if(r=="async")return i.marked="property",n(ir);if(r=="variable"||i.style=="keyword"){if(i.marked="property",e=="get"||e=="set")return n(re);var t;return p&&i.state.fatArrowAt==i.stream.start&&(t=i.stream.match(/^\s*:\s*/,!1))&&(i.state.fatArrowAt=i.stream.pos+t[0].length),n($)}else{if(r=="number"||r=="string")return i.marked=Z?"property":i.style+" property",n($);if(r=="jsonld-keyword")return n($);if(p&&nr(e))return i.marked="keyword",n(ir);if(r=="[")return n(b,J,c("]"),$);if(r=="spread")return n(y,$);if(e=="*")return i.marked="keyword",n(ir);if(r==":")return o($)}}function re(r){return r!="variable"?o($):(i.marked="property",n(S))}function $(r){if(r==":")return n(y);if(r=="(")return o(S)}function x(r,e,t){function f(u,l){if(t?t.indexOf(u)>-1:u==","){var m=i.state.lexical;return m.info=="call"&&(m.pos=(m.pos||0)+1),n(function(g,T){return g==e||T==e?o():o(r)},f)}return u==e||l==e?n():t&&t.indexOf(";")>-1?o(r):n(c(e))}return function(u,l){return u==e||l==e?n():o(r,f)}}function K(r,e,t){for(var f=3;f<arguments.length;f++)i.cc.push(arguments[f]);return n(s(e,t),x(r,e),a)}function fr(r){return r=="}"?n():o(h,fr)}function J(r,e){if(p){if(r==":")return n(d);if(e=="?")return n(J)}}function ee(r,e){if(p&&(r==":"||e=="in"))return n(d)}function Sr(r){if(p&&r==":")return i.stream.match(/^\s*\w+\s+is\b/,!1)?n(b,ne,d):n(d)}function ne(r,e){if(e=="is")return i.marked="keyword",n()}function d(r,e){if(e=="keyof"||e=="typeof"||e=="infer"||e=="readonly")return i.marked="keyword",n(e=="typeof"?y:d);if(r=="variable"||e=="void")return i.marked="type",n(A);if(e=="|"||e=="&")return n(d);if(r=="string"||r=="number"||r=="atom")return n(A);if(r=="[")return n(s("]"),x(d,"]",","),a,A);if(r=="{")return n(s("}"),mr,a,A);if(r=="(")return n(x(kr,")"),te,A);if(r=="<")return n(x(d,">"),d);if(r=="quasi")return o(pr,A)}function te(r){if(r=="=>")return n(d)}function mr(r){return r.match(/[\}\)\]]/)?n():r==","||r==";"?n(mr):o(G,mr)}function G(r,e){if(r=="variable"||i.style=="keyword")return i.marked="property",n(G);if(e=="?"||r=="number"||r=="string")return n(G);if(r==":")return n(d);if(r=="[")return n(c("variable"),ee,c("]"),G);if(r=="(")return o(Q,G);if(!r.match(/[;\}\)\],]/))return n()}function pr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(pr):n(d,ie)}function ie(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(pr)}function kr(r,e){return r=="variable"&&i.stream.match(/^\s*[?:]/,!1)||e=="?"?n(kr):r==":"?n(d):r=="spread"?n(kr):o(d)}function A(r,e){if(e=="<")return n(s(">"),x(d,">"),a,A);if(e=="|"||r=="."||e=="&")return n(d);if(r=="[")return n(d,c("]"),A);if(e=="extends"||e=="implements")return i.marked="keyword",n(d);if(e=="?")return n(d,c(":"),d)}function fe(r,e){if(e=="<")return n(s(">"),x(d,">"),a,A)}function ar(){return o(d,ae)}function ae(r,e){if(e=="=")return n(d)}function br(r,e){return e=="enum"?(i.marked="keyword",n(Br)):o(E,J,I,oe)}function E(r,e){if(p&&nr(e))return i.marked="keyword",n(E);if(r=="variable")return B(e),n();if(r=="spread")return n(E);if(r=="[")return K(ue,"]");if(r=="{")return K(_r,"}")}function _r(r,e){return r=="variable"&&!i.stream.match(/^\s*:/,!1)?(B(e),n(I)):(r=="variable"&&(i.marked="property"),r=="spread"?n(E):r=="}"?o():r=="["?n(b,c("]"),c(":"),_r):n(c(":"),E,I))}function ue(){return o(E,I)}function I(r,e){if(e=="=")return n(y)}function oe(r){if(r==",")return n(br)}function zr(r,e){if(r=="keyword b"&&e=="else")return n(s("form","else"),h,a)}function Mr(r,e){if(e=="await")return n(Mr);if(r=="(")return n(s(")"),se,a)}function se(r){return r=="var"?n(br,L):r=="variable"?n(L):o(L)}function L(r,e){return r==")"?n():r==";"?n(L):e=="in"||e=="of"?(i.marked="keyword",n(b,L)):o(b,L)}function S(r,e){if(e=="*")return i.marked="keyword",n(S);if(r=="variable")return B(e),n(S);if(r=="(")return n(P,s(")"),x(q,")"),a,Sr,h,j);if(p&&e=="<")return n(s(">"),x(ar,">"),a,S)}function Q(r,e){if(e=="*")return i.marked="keyword",n(Q);if(r=="variable")return B(e),n(Q);if(r=="(")return n(P,s(")"),x(q,")"),a,Sr,j);if(p&&e=="<")return n(s(">"),x(ar,">"),a,Q)}function Or(r,e){if(r=="keyword"||r=="variable")return i.marked="type",n(Or);if(e=="<")return n(s(">"),x(ar,">"),a)}function q(r,e){return e=="@"&&n(b,q),r=="spread"?n(q):p&&nr(e)?(i.marked="keyword",n(q)):p&&r=="this"?n(J,I):o(E,J,I)}function ce(r,e){return r=="variable"?$r(r,e):ur(r,e)}function $r(r,e){if(r=="variable")return B(e),n(ur)}function ur(r,e){if(e=="<")return n(s(">"),x(ar,">"),a,ur);if(e=="extends"||e=="implements"||p&&r==",")return e=="implements"&&(i.marked="keyword"),n(p?d:b,ur);if(r=="{")return n(s("}"),V,a)}function V(r,e){if(r=="async"||r=="variable"&&(e=="static"||e=="get"||e=="set"||p&&nr(e))&&i.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return i.marked="keyword",n(V);if(r=="variable"||i.style=="keyword")return i.marked="property",n(X,V);if(r=="number"||r=="string")return n(X,V);if(r=="[")return n(b,J,c("]"),X,V);if(e=="*")return i.marked="keyword",n(V);if(p&&r=="(")return o(Q,V);if(r==";"||r==",")return n(V);if(r=="}")return n();if(e=="@")return n(b,V)}function X(r,e){if(e=="!"||e=="?")return n(X);if(r==":")return n(d,I);if(e=="=")return n(y);var t=i.state.lexical.prev,f=t&&t.info=="interface";return o(f?Q:S)}function le(r,e){return e=="*"?(i.marked="keyword",n(wr,c(";"))):e=="default"?(i.marked="keyword",n(b,c(";"))):r=="{"?n(x(qr,"}"),wr,c(";")):o(h)}function qr(r,e){if(e=="as")return i.marked="keyword",n(c("variable"));if(r=="variable")return o(y,qr)}function de(r){return r=="string"?n():r=="("?o(b):r=="."?o(O):o(or,Nr,wr)}function or(r,e){return r=="{"?K(or,"}"):(r=="variable"&&B(e),e=="*"&&(i.marked="keyword"),n(me))}function Nr(r){if(r==",")return n(or,Nr)}function me(r,e){if(e=="as")return i.marked="keyword",n(or)}function wr(r,e){if(e=="from")return i.marked="keyword",n(b)}function pe(r){return r=="]"?n():o(x(y,"]"))}function Br(){return o(s("form"),E,c("{"),s("}"),x(ke,"}"),a,a)}function ke(){return o(E,I)}function be(r,e){return r.lastType=="operator"||r.lastType==","||yr.test(e.charAt(0))||/[,.]/.test(e.charAt(0))}function Pr(r,e,t){return e.tokenize==M&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType)||e.lastType=="quasi"&&/\{\s*$/.test(r.string.slice(0,r.pos-(t||0)))}return{startState:function(r){var e={tokenize:M,lastType:"sof",cc:[],lexical:new jr((r||0)-N,0,"block",!1),localVars:v.localVars,context:v.localVars&&new W(null,null,!1),indented:r||0};return v.globalVars&&typeof v.globalVars=="object"&&(e.globalVars=v.globalVars),e},token:function(r,e){if(r.sol()&&(e.lexical.hasOwnProperty("align")||(e.lexical.align=!1),e.indented=r.indentation(),sr(r,e)),e.tokenize!=er&&r.eatSpace())return null;var t=e.tokenize(r,e);return R=="comment"?t:(e.lastType=R=="operator"&&(rr=="++"||rr=="--")?"incdec":R,Er(e,t,R,rr,r))},indent:function(r,e){if(r.tokenize==er||r.tokenize==U)return k.Pass;if(r.tokenize!=M)return 0;var t=e&&e.charAt(0),f=r.lexical,u;if(!/^\s*else\b/.test(e))for(var l=r.cc.length-1;l>=0;--l){var m=r.cc[l];if(m==a)f=f.prev;else if(m!=zr&&m!=j)break}for(;(f.type=="stat"||f.type=="form")&&(t=="}"||(u=r.cc[r.cc.length-1])&&(u==O||u==D)&&!/^[,\.=+\-*:?[\(]/.test(e));)f=f.prev;xr&&f.type==")"&&f.prev.type=="stat"&&(f=f.prev);var g=f.type,T=t==g;return g=="vardef"?f.indented+(r.lastType=="operator"||r.lastType==","?f.info.length+1:0):g=="form"&&t=="{"?f.indented:g=="form"?f.indented+N:g=="stat"?f.indented+(be(r,e)?xr||N:0):f.info=="switch"&&!T&&v.doubleIndentSwitch!=!1?f.indented+(/^(?:case|default)\b/.test(e)?N:2*N):f.align?f.column+(T?0:1):f.indented+(T?0:N)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:z?null:"/*",blockCommentEnd:z?null:"*/",blockCommentContinue:z?null:" * ",lineComment:z?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:z?"json":"javascript",jsonldMode:Z,jsonMode:z,expressionAllowed:Pr,skipExpression:function(r){Er(r,"atom","atom","true",new k.StringStream("",2,null))}}}),k.registerHelper("wordChars","javascript",/[\w$]/),k.defineMIME("text/javascript","javascript"),k.defineMIME("text/ecmascript","javascript"),k.defineMIME("application/javascript","javascript"),k.defineMIME("application/x-javascript","javascript"),k.defineMIME("application/ecmascript","javascript"),k.defineMIME("application/json",{name:"javascript",json:!0}),k.defineMIME("application/x-json",{name:"javascript",json:!0}),k.defineMIME("application/manifest+json",{name:"javascript",json:!0}),k.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),k.defineMIME("text/typescript",{name:"javascript",typescript:!0}),k.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var ve=Fr.exports,ye=Object.freeze(xe({__proto__:null,[Symbol.toStringTag]:"Module",default:ve},[Fr.exports]));export{Fr as a,ye as j};
1
+ import{bH as he}from"./vendor.764dd834.js";function xe(Y,hr){return hr.forEach(function(k){k&&typeof k!="string"&&!Array.isArray(k)&&Object.keys(k).forEach(function(_){if(_!=="default"&&!(_ in Y)){var v=Object.getOwnPropertyDescriptor(k,_);Object.defineProperty(Y,_,v.get?v:{enumerable:!0,get:function(){return k[_]}})}})}),Object.freeze(Y)}var Fr={exports:{}};(function(Y,hr){(function(k){k(he.exports)})(function(k){k.defineMode("javascript",function(_,v){var N=_.indentUnit,xr=v.statementIndent,Z=v.jsonld,z=v.json||Z,vr=v.trackScope!==!1,p=v.typescript,C=v.wordCharacters||/[\w$\xa1-\uffff]/,gr=function(){function r(g){return{type:g,style:"keyword"}}var e=r("keyword a"),t=r("keyword b"),f=r("keyword c"),u=r("keyword d"),l=r("operator"),m={type:"atom",style:"atom"};return{if:r("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:u,break:u,continue:u,new:r("new"),delete:f,void:f,throw:f,debugger:r("debugger"),var:r("var"),const:r("var"),let:r("var"),function:r("function"),catch:r("catch"),for:r("for"),switch:r("switch"),case:r("case"),default:r("default"),in:l,typeof:l,instanceof:l,true:m,false:m,null:m,undefined:m,NaN:m,Infinity:m,this:r("this"),class:r("class"),super:r("atom"),yield:f,export:r("export"),import:r("import"),extends:f,await:f}}(),yr=/[+\-*&%=<>!?|~^@]/,Dr=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Jr(r){for(var e=!1,t,f=!1;(t=r.next())!=null;){if(!e){if(t=="/"&&!f)return;t=="["?f=!0:f&&t=="]"&&(f=!1)}e=!e&&t=="\\"}}var R,rr;function w(r,e,t){return R=r,rr=t,e}function M(r,e){var t=r.next();if(t=='"'||t=="'")return e.tokenize=Lr(t),e.tokenize(r,e);if(t=="."&&r.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return w("number","number");if(t=="."&&r.match(".."))return w("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(t))return w(t);if(t=="="&&r.eat(">"))return w("=>","operator");if(t=="0"&&r.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return w("number","number");if(/\d/.test(t))return r.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),w("number","number");if(t=="/")return r.eat("*")?(e.tokenize=er,er(r,e)):r.eat("/")?(r.skipToEnd(),w("comment","comment")):Pr(r,e,1)?(Jr(r),r.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),w("regexp","string-2")):(r.eat("="),w("operator","operator",r.current()));if(t=="`")return e.tokenize=U,U(r,e);if(t=="#"&&r.peek()=="!")return r.skipToEnd(),w("meta","meta");if(t=="#"&&r.eatWhile(C))return w("variable","property");if(t=="<"&&r.match("!--")||t=="-"&&r.match("->")&&!/\S/.test(r.string.slice(0,r.start)))return r.skipToEnd(),w("comment","comment");if(yr.test(t))return(t!=">"||!e.lexical||e.lexical.type!=">")&&(r.eat("=")?(t=="!"||t=="=")&&r.eat("="):/[<>*+\-|&?]/.test(t)&&(r.eat(t),t==">"&&r.eat(t))),t=="?"&&r.eat(".")?w("."):w("operator","operator",r.current());if(C.test(t)){r.eatWhile(C);var f=r.current();if(e.lastType!="."){if(gr.propertyIsEnumerable(f)){var u=gr[f];return w(u.type,u.style,f)}if(f=="async"&&r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return w("async","keyword",f)}return w("variable","variable",f)}}function Lr(r){return function(e,t){var f=!1,u;if(Z&&e.peek()=="@"&&e.match(Dr))return t.tokenize=M,w("jsonld-keyword","meta");for(;(u=e.next())!=null&&!(u==r&&!f);)f=!f&&u=="\\";return f||(t.tokenize=M),w("string","string")}}function er(r,e){for(var t=!1,f;f=r.next();){if(f=="/"&&t){e.tokenize=M;break}t=f=="*"}return w("comment","comment")}function U(r,e){for(var t=!1,f;(f=r.next())!=null;){if(!t&&(f=="`"||f=="$"&&r.eat("{"))){e.tokenize=M;break}t=!t&&f=="\\"}return w("quasi","string-2",r.current())}var Qr="([{}])";function sr(r,e){e.fatArrowAt&&(e.fatArrowAt=null);var t=r.string.indexOf("=>",r.start);if(!(t<0)){if(p){var f=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start,t));f&&(t=f.index)}for(var u=0,l=!1,m=t-1;m>=0;--m){var g=r.string.charAt(m),T=Qr.indexOf(g);if(T>=0&&T<3){if(!u){++m;break}if(--u==0){g=="("&&(l=!0);break}}else if(T>=3&&T<6)++u;else if(C.test(g))l=!0;else if(/["'\/`]/.test(g))for(;;--m){if(m==0)return;var we=r.string.charAt(m-1);if(we==g&&r.string.charAt(m-2)!="\\"){m--;break}}else if(l&&!u){++m;break}}l&&!u&&(e.fatArrowAt=m)}}var Rr={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function jr(r,e,t,f,u,l){this.indented=r,this.column=e,this.type=t,this.prev=u,this.info=l,f!=null&&(this.align=f)}function Ur(r,e){if(!vr)return!1;for(var t=r.localVars;t;t=t.next)if(t.name==e)return!0;for(var f=r.context;f;f=f.prev)for(var t=f.vars;t;t=t.next)if(t.name==e)return!0}function Er(r,e,t,f,u){var l=r.cc;for(i.state=r,i.stream=u,i.marked=null,i.cc=l,i.style=e,r.lexical.hasOwnProperty("align")||(r.lexical.align=!0);;){var m=l.length?l.pop():z?b:h;if(m(t,f)){for(;l.length&&l[l.length-1].lex;)l.pop()();return i.marked?i.marked:t=="variable"&&Ur(r,f)?"variable-2":e}}}var i={state:null,column:null,marked:null,cc:null};function o(){for(var r=arguments.length-1;r>=0;r--)i.cc.push(arguments[r])}function n(){return o.apply(null,arguments),!0}function cr(r,e){for(var t=e;t;t=t.next)if(t.name==r)return!0;return!1}function B(r){var e=i.state;if(i.marked="def",!!vr){if(e.context){if(e.lexical.info=="var"&&e.context&&e.context.block){var t=Tr(r,e.context);if(t!=null){e.context=t;return}}else if(!cr(r,e.localVars)){e.localVars=new H(r,e.localVars);return}}v.globalVars&&!cr(r,e.globalVars)&&(e.globalVars=new H(r,e.globalVars))}}function Tr(r,e){if(e)if(e.block){var t=Tr(r,e.prev);return t?t==e.prev?e:new W(t,e.vars,!0):null}else return cr(r,e.vars)?e:new W(e.prev,new H(r,e.vars),!1);else return null}function nr(r){return r=="public"||r=="private"||r=="protected"||r=="abstract"||r=="readonly"}function W(r,e,t){this.prev=r,this.vars=e,this.block=t}function H(r,e){this.name=r,this.next=e}var Wr=new H("this",new H("arguments",null));function P(){i.state.context=new W(i.state.context,i.state.localVars,!1),i.state.localVars=Wr}function lr(){i.state.context=new W(i.state.context,i.state.localVars,!0),i.state.localVars=null}function j(){i.state.localVars=i.state.context.vars,i.state.context=i.state.context.prev}j.lex=!0;function s(r,e){var t=function(){var f=i.state,u=f.indented;if(f.lexical.type=="stat")u=f.lexical.indented;else for(var l=f.lexical;l&&l.type==")"&&l.align;l=l.prev)u=l.indented;f.lexical=new jr(u,i.stream.column(),r,null,f.lexical,e)};return t.lex=!0,t}function a(){var r=i.state;r.lexical.prev&&(r.lexical.type==")"&&(r.indented=r.lexical.indented),r.lexical=r.lexical.prev)}a.lex=!0;function c(r){function e(t){return t==r?n():r==";"||t=="}"||t==")"||t=="]"?o():n(e)}return e}function h(r,e){return r=="var"?n(s("vardef",e),br,c(";"),a):r=="keyword a"?n(s("form"),dr,h,a):r=="keyword b"?n(s("form"),h,a):r=="keyword d"?i.stream.match(/^\s*$/,!1)?n():n(s("stat"),F,c(";"),a):r=="debugger"?n(c(";")):r=="{"?n(s("}"),lr,fr,a,j):r==";"?n():r=="if"?(i.state.lexical.info=="else"&&i.state.cc[i.state.cc.length-1]==a&&i.state.cc.pop()(),n(s("form"),dr,h,a,zr)):r=="function"?n(S):r=="for"?n(s("form"),lr,Mr,h,j,a):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form",r=="class"?r:e),$r,a)):r=="variable"?p&&e=="declare"?(i.marked="keyword",n(h)):p&&(e=="module"||e=="enum"||e=="type")&&i.stream.match(/^\s*\w/,!1)?(i.marked="keyword",e=="enum"?n(Br):e=="type"?n(Or,c("operator"),d,c(";")):n(s("form"),E,c("{"),s("}"),fr,a,a)):p&&e=="namespace"?(i.marked="keyword",n(s("form"),b,h,a)):p&&e=="abstract"?(i.marked="keyword",n(h)):n(s("stat"),Zr):r=="switch"?n(s("form"),dr,c("{"),s("}","switch"),lr,fr,a,a,j):r=="case"?n(b,c(":")):r=="default"?n(c(":")):r=="catch"?n(s("form"),P,Hr,h,a,j):r=="export"?n(s("stat"),le,a):r=="import"?n(s("stat"),de,a):r=="async"?n(h):e=="@"?n(b,h):o(s("stat"),b,c(";"),a)}function Hr(r){if(r=="(")return n(q,c(")"))}function b(r,e){return Ar(r,e,!1)}function y(r,e){return Ar(r,e,!0)}function dr(r){return r!="("?o():n(s(")"),F,c(")"),a)}function Ar(r,e,t){if(i.state.fatArrowAt==i.stream.start){var f=t?Ir:Vr;if(r=="(")return n(P,s(")"),x(q,")"),a,c("=>"),f,j);if(r=="variable")return o(P,E,c("=>"),f,j)}var u=t?D:O;return Rr.hasOwnProperty(r)?n(u):r=="function"?n(S,u):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form"),ce,a)):r=="keyword c"||r=="async"?n(t?y:b):r=="("?n(s(")"),F,c(")"),a,u):r=="operator"||r=="spread"?n(t?y:b):r=="["?n(s("]"),pe,a,u):r=="{"?K(ir,"}",null,u):r=="quasi"?o(tr,u):r=="new"?n(Gr(t)):n()}function F(r){return r.match(/[;\}\)\],]/)?o():o(b)}function O(r,e){return r==","?n(F):D(r,e,!1)}function D(r,e,t){var f=t==!1?O:D,u=t==!1?b:y;if(r=="=>")return n(P,t?Ir:Vr,j);if(r=="operator")return/\+\+|--/.test(e)||p&&e=="!"?n(f):p&&e=="<"&&i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?n(s(">"),x(d,">"),a,f):e=="?"?n(b,c(":"),u):n(u);if(r=="quasi")return o(tr,f);if(r!=";"){if(r=="(")return K(y,")","call",f);if(r==".")return n(Cr,f);if(r=="[")return n(s("]"),F,c("]"),a,f);if(p&&e=="as")return i.marked="keyword",n(d,f);if(r=="regexp")return i.state.lastType=i.marked="operator",i.stream.backUp(i.stream.pos-i.stream.start-1),n(u)}}function tr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(tr):n(F,Kr)}function Kr(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(tr)}function Vr(r){return sr(i.stream,i.state),o(r=="{"?h:b)}function Ir(r){return sr(i.stream,i.state),o(r=="{"?h:y)}function Gr(r){return function(e){return e=="."?n(r?Yr:Xr):e=="variable"&&p?n(fe,r?D:O):o(r?y:b)}}function Xr(r,e){if(e=="target")return i.marked="keyword",n(O)}function Yr(r,e){if(e=="target")return i.marked="keyword",n(D)}function Zr(r){return r==":"?n(a,h):o(O,c(";"),a)}function Cr(r){if(r=="variable")return i.marked="property",n()}function ir(r,e){if(r=="async")return i.marked="property",n(ir);if(r=="variable"||i.style=="keyword"){if(i.marked="property",e=="get"||e=="set")return n(re);var t;return p&&i.state.fatArrowAt==i.stream.start&&(t=i.stream.match(/^\s*:\s*/,!1))&&(i.state.fatArrowAt=i.stream.pos+t[0].length),n($)}else{if(r=="number"||r=="string")return i.marked=Z?"property":i.style+" property",n($);if(r=="jsonld-keyword")return n($);if(p&&nr(e))return i.marked="keyword",n(ir);if(r=="[")return n(b,J,c("]"),$);if(r=="spread")return n(y,$);if(e=="*")return i.marked="keyword",n(ir);if(r==":")return o($)}}function re(r){return r!="variable"?o($):(i.marked="property",n(S))}function $(r){if(r==":")return n(y);if(r=="(")return o(S)}function x(r,e,t){function f(u,l){if(t?t.indexOf(u)>-1:u==","){var m=i.state.lexical;return m.info=="call"&&(m.pos=(m.pos||0)+1),n(function(g,T){return g==e||T==e?o():o(r)},f)}return u==e||l==e?n():t&&t.indexOf(";")>-1?o(r):n(c(e))}return function(u,l){return u==e||l==e?n():o(r,f)}}function K(r,e,t){for(var f=3;f<arguments.length;f++)i.cc.push(arguments[f]);return n(s(e,t),x(r,e),a)}function fr(r){return r=="}"?n():o(h,fr)}function J(r,e){if(p){if(r==":")return n(d);if(e=="?")return n(J)}}function ee(r,e){if(p&&(r==":"||e=="in"))return n(d)}function Sr(r){if(p&&r==":")return i.stream.match(/^\s*\w+\s+is\b/,!1)?n(b,ne,d):n(d)}function ne(r,e){if(e=="is")return i.marked="keyword",n()}function d(r,e){if(e=="keyof"||e=="typeof"||e=="infer"||e=="readonly")return i.marked="keyword",n(e=="typeof"?y:d);if(r=="variable"||e=="void")return i.marked="type",n(A);if(e=="|"||e=="&")return n(d);if(r=="string"||r=="number"||r=="atom")return n(A);if(r=="[")return n(s("]"),x(d,"]",","),a,A);if(r=="{")return n(s("}"),mr,a,A);if(r=="(")return n(x(kr,")"),te,A);if(r=="<")return n(x(d,">"),d);if(r=="quasi")return o(pr,A)}function te(r){if(r=="=>")return n(d)}function mr(r){return r.match(/[\}\)\]]/)?n():r==","||r==";"?n(mr):o(G,mr)}function G(r,e){if(r=="variable"||i.style=="keyword")return i.marked="property",n(G);if(e=="?"||r=="number"||r=="string")return n(G);if(r==":")return n(d);if(r=="[")return n(c("variable"),ee,c("]"),G);if(r=="(")return o(Q,G);if(!r.match(/[;\}\)\],]/))return n()}function pr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(pr):n(d,ie)}function ie(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(pr)}function kr(r,e){return r=="variable"&&i.stream.match(/^\s*[?:]/,!1)||e=="?"?n(kr):r==":"?n(d):r=="spread"?n(kr):o(d)}function A(r,e){if(e=="<")return n(s(">"),x(d,">"),a,A);if(e=="|"||r=="."||e=="&")return n(d);if(r=="[")return n(d,c("]"),A);if(e=="extends"||e=="implements")return i.marked="keyword",n(d);if(e=="?")return n(d,c(":"),d)}function fe(r,e){if(e=="<")return n(s(">"),x(d,">"),a,A)}function ar(){return o(d,ae)}function ae(r,e){if(e=="=")return n(d)}function br(r,e){return e=="enum"?(i.marked="keyword",n(Br)):o(E,J,I,oe)}function E(r,e){if(p&&nr(e))return i.marked="keyword",n(E);if(r=="variable")return B(e),n();if(r=="spread")return n(E);if(r=="[")return K(ue,"]");if(r=="{")return K(_r,"}")}function _r(r,e){return r=="variable"&&!i.stream.match(/^\s*:/,!1)?(B(e),n(I)):(r=="variable"&&(i.marked="property"),r=="spread"?n(E):r=="}"?o():r=="["?n(b,c("]"),c(":"),_r):n(c(":"),E,I))}function ue(){return o(E,I)}function I(r,e){if(e=="=")return n(y)}function oe(r){if(r==",")return n(br)}function zr(r,e){if(r=="keyword b"&&e=="else")return n(s("form","else"),h,a)}function Mr(r,e){if(e=="await")return n(Mr);if(r=="(")return n(s(")"),se,a)}function se(r){return r=="var"?n(br,L):r=="variable"?n(L):o(L)}function L(r,e){return r==")"?n():r==";"?n(L):e=="in"||e=="of"?(i.marked="keyword",n(b,L)):o(b,L)}function S(r,e){if(e=="*")return i.marked="keyword",n(S);if(r=="variable")return B(e),n(S);if(r=="(")return n(P,s(")"),x(q,")"),a,Sr,h,j);if(p&&e=="<")return n(s(">"),x(ar,">"),a,S)}function Q(r,e){if(e=="*")return i.marked="keyword",n(Q);if(r=="variable")return B(e),n(Q);if(r=="(")return n(P,s(")"),x(q,")"),a,Sr,j);if(p&&e=="<")return n(s(">"),x(ar,">"),a,Q)}function Or(r,e){if(r=="keyword"||r=="variable")return i.marked="type",n(Or);if(e=="<")return n(s(">"),x(ar,">"),a)}function q(r,e){return e=="@"&&n(b,q),r=="spread"?n(q):p&&nr(e)?(i.marked="keyword",n(q)):p&&r=="this"?n(J,I):o(E,J,I)}function ce(r,e){return r=="variable"?$r(r,e):ur(r,e)}function $r(r,e){if(r=="variable")return B(e),n(ur)}function ur(r,e){if(e=="<")return n(s(">"),x(ar,">"),a,ur);if(e=="extends"||e=="implements"||p&&r==",")return e=="implements"&&(i.marked="keyword"),n(p?d:b,ur);if(r=="{")return n(s("}"),V,a)}function V(r,e){if(r=="async"||r=="variable"&&(e=="static"||e=="get"||e=="set"||p&&nr(e))&&i.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return i.marked="keyword",n(V);if(r=="variable"||i.style=="keyword")return i.marked="property",n(X,V);if(r=="number"||r=="string")return n(X,V);if(r=="[")return n(b,J,c("]"),X,V);if(e=="*")return i.marked="keyword",n(V);if(p&&r=="(")return o(Q,V);if(r==";"||r==",")return n(V);if(r=="}")return n();if(e=="@")return n(b,V)}function X(r,e){if(e=="!"||e=="?")return n(X);if(r==":")return n(d,I);if(e=="=")return n(y);var t=i.state.lexical.prev,f=t&&t.info=="interface";return o(f?Q:S)}function le(r,e){return e=="*"?(i.marked="keyword",n(wr,c(";"))):e=="default"?(i.marked="keyword",n(b,c(";"))):r=="{"?n(x(qr,"}"),wr,c(";")):o(h)}function qr(r,e){if(e=="as")return i.marked="keyword",n(c("variable"));if(r=="variable")return o(y,qr)}function de(r){return r=="string"?n():r=="("?o(b):r=="."?o(O):o(or,Nr,wr)}function or(r,e){return r=="{"?K(or,"}"):(r=="variable"&&B(e),e=="*"&&(i.marked="keyword"),n(me))}function Nr(r){if(r==",")return n(or,Nr)}function me(r,e){if(e=="as")return i.marked="keyword",n(or)}function wr(r,e){if(e=="from")return i.marked="keyword",n(b)}function pe(r){return r=="]"?n():o(x(y,"]"))}function Br(){return o(s("form"),E,c("{"),s("}"),x(ke,"}"),a,a)}function ke(){return o(E,I)}function be(r,e){return r.lastType=="operator"||r.lastType==","||yr.test(e.charAt(0))||/[,.]/.test(e.charAt(0))}function Pr(r,e,t){return e.tokenize==M&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType)||e.lastType=="quasi"&&/\{\s*$/.test(r.string.slice(0,r.pos-(t||0)))}return{startState:function(r){var e={tokenize:M,lastType:"sof",cc:[],lexical:new jr((r||0)-N,0,"block",!1),localVars:v.localVars,context:v.localVars&&new W(null,null,!1),indented:r||0};return v.globalVars&&typeof v.globalVars=="object"&&(e.globalVars=v.globalVars),e},token:function(r,e){if(r.sol()&&(e.lexical.hasOwnProperty("align")||(e.lexical.align=!1),e.indented=r.indentation(),sr(r,e)),e.tokenize!=er&&r.eatSpace())return null;var t=e.tokenize(r,e);return R=="comment"?t:(e.lastType=R=="operator"&&(rr=="++"||rr=="--")?"incdec":R,Er(e,t,R,rr,r))},indent:function(r,e){if(r.tokenize==er||r.tokenize==U)return k.Pass;if(r.tokenize!=M)return 0;var t=e&&e.charAt(0),f=r.lexical,u;if(!/^\s*else\b/.test(e))for(var l=r.cc.length-1;l>=0;--l){var m=r.cc[l];if(m==a)f=f.prev;else if(m!=zr&&m!=j)break}for(;(f.type=="stat"||f.type=="form")&&(t=="}"||(u=r.cc[r.cc.length-1])&&(u==O||u==D)&&!/^[,\.=+\-*:?[\(]/.test(e));)f=f.prev;xr&&f.type==")"&&f.prev.type=="stat"&&(f=f.prev);var g=f.type,T=t==g;return g=="vardef"?f.indented+(r.lastType=="operator"||r.lastType==","?f.info.length+1:0):g=="form"&&t=="{"?f.indented:g=="form"?f.indented+N:g=="stat"?f.indented+(be(r,e)?xr||N:0):f.info=="switch"&&!T&&v.doubleIndentSwitch!=!1?f.indented+(/^(?:case|default)\b/.test(e)?N:2*N):f.align?f.column+(T?0:1):f.indented+(T?0:N)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:z?null:"/*",blockCommentEnd:z?null:"*/",blockCommentContinue:z?null:" * ",lineComment:z?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:z?"json":"javascript",jsonldMode:Z,jsonMode:z,expressionAllowed:Pr,skipExpression:function(r){Er(r,"atom","atom","true",new k.StringStream("",2,null))}}}),k.registerHelper("wordChars","javascript",/[\w$]/),k.defineMIME("text/javascript","javascript"),k.defineMIME("text/ecmascript","javascript"),k.defineMIME("application/javascript","javascript"),k.defineMIME("application/x-javascript","javascript"),k.defineMIME("application/ecmascript","javascript"),k.defineMIME("application/json",{name:"javascript",json:!0}),k.defineMIME("application/x-json",{name:"javascript",json:!0}),k.defineMIME("application/manifest+json",{name:"javascript",json:!0}),k.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),k.defineMIME("text/typescript",{name:"javascript",typescript:!0}),k.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var ve=Fr.exports,ye=Object.freeze(xe({__proto__:null,[Symbol.toStringTag]:"Module",default:ve},[Fr.exports]));export{Fr as a,ye as j};
@@ -1 +1 @@
1
- import{bH as p}from"./vendor.327371af.js";function b(f,u){return u.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(o){if(o!=="default"&&!(o in f)){var l=Object.getOwnPropertyDescriptor(i,o);Object.defineProperty(f,o,l.get?l:{enumerable:!0,get:function(){return i[o]}})}})}),Object.freeze(f)}var a={exports:{}};(function(f,u){(function(i){i(p.exports)})(function(i){i.defineMode("jinja2",function(){var o=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","plural"],l=/^[+\-*&%=<>!?|~^]/,g=/^[:\[\(\{]/,t=["true","false"],c=/^(\d[+\-\*\/])?\d+(\.\d+)?/;o=new RegExp("(("+o.join(")|(")+"))\\b"),t=new RegExp("(("+t.join(")|(")+"))\\b");function d(e,n){var r=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(t))return"atom";if(e.match(c))return"number"}if(n.sign){if(n.sign=!1,e.match(t))return"atom";if(e.match(c))return"number"}if(n.instring)return r==n.instring&&(n.instring=!1),e.next(),"string";if(r=="'"||r=='"')return n.instring=r,e.next(),"string";if(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}"))return n.intag=!1,"tag";if(e.match(l))return n.operator=!0,"operator";if(e.match(g))n.sign=!0;else if(e.eat(" ")||e.sol()){if(e.match(o))return"keyword";if(e.match(t))return"atom";if(e.match(c))return"number";e.sol()&&e.next()}else e.next();return"variable"}else if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(r=e.eat(/\{|%/))return n.intag=r,r=="{"&&(n.intag="}"),e.eat("-"),"tag"}e.next()}return{startState:function(){return{tokenize:d}},token:function(e,n){return n.tokenize(e,n)},blockCommentStart:"{#",blockCommentEnd:"#}"}}),i.defineMIME("text/jinja2","jinja2")})})();var s=a.exports,j=Object.freeze(b({__proto__:null,[Symbol.toStringTag]:"Module",default:s},[a.exports]));export{j};
1
+ import{bH as p}from"./vendor.764dd834.js";function b(f,u){return u.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(o){if(o!=="default"&&!(o in f)){var l=Object.getOwnPropertyDescriptor(i,o);Object.defineProperty(f,o,l.get?l:{enumerable:!0,get:function(){return i[o]}})}})}),Object.freeze(f)}var a={exports:{}};(function(f,u){(function(i){i(p.exports)})(function(i){i.defineMode("jinja2",function(){var o=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","plural"],l=/^[+\-*&%=<>!?|~^]/,g=/^[:\[\(\{]/,t=["true","false"],c=/^(\d[+\-\*\/])?\d+(\.\d+)?/;o=new RegExp("(("+o.join(")|(")+"))\\b"),t=new RegExp("(("+t.join(")|(")+"))\\b");function d(e,n){var r=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(t))return"atom";if(e.match(c))return"number"}if(n.sign){if(n.sign=!1,e.match(t))return"atom";if(e.match(c))return"number"}if(n.instring)return r==n.instring&&(n.instring=!1),e.next(),"string";if(r=="'"||r=='"')return n.instring=r,e.next(),"string";if(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}"))return n.intag=!1,"tag";if(e.match(l))return n.operator=!0,"operator";if(e.match(g))n.sign=!0;else if(e.eat(" ")||e.sol()){if(e.match(o))return"keyword";if(e.match(t))return"atom";if(e.match(c))return"number";e.sol()&&e.next()}else e.next();return"variable"}else if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(r=e.eat(/\{|%/))return n.intag=r,r=="{"&&(n.intag="}"),e.eat("-"),"tag"}e.next()}return{startState:function(){return{tokenize:d}},token:function(e,n){return n.tokenize(e,n)},blockCommentStart:"{#",blockCommentEnd:"#}"}}),i.defineMIME("text/jinja2","jinja2")})})();var s=a.exports,j=Object.freeze(b({__proto__:null,[Symbol.toStringTag]:"Module",default:s},[a.exports]));export{j};
@@ -1 +1 @@
1
- import{bH as k,bJ as w}from"./vendor.327371af.js";import{a as O}from"./javascript.38e2ca1a.js";function S(l,h){return h.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(a){if(a!=="default"&&!(a in l)){var f=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(l,a,f.get?f:{enumerable:!0,get:function(){return r[a]}})}})}),Object.freeze(l)}var m={exports:{}};(function(l,h){(function(r){r(k.exports,w.exports,O.exports)})(function(r){function a(i,c,s,o){this.state=i,this.mode=c,this.depth=s,this.prev=o}function f(i){return new a(r.copyState(i.mode,i.state),i.mode,i.depth,i.prev&&f(i.prev))}r.defineMode("jsx",function(i,c){var s=r.getMode(i,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),o=r.getMode(i,c&&c.base||"javascript");function j(t){var n=t.tagName;t.tagName=null;var e=s.indent(t,"","");return t.tagName=n,e}function b(t,n){return n.context.mode==s?x(t,n,n.context):y(t,n,n.context)}function x(t,n,e){if(e.depth==2)return t.match(/^.*?\*\//)?e.depth=1:t.skipToEnd(),"comment";if(t.peek()=="{"){s.skipAttribute(e.state);var u=j(e.state),p=e.state.context;if(p&&t.match(/^[^>]*>\s*$/,!1)){for(;p.prev&&!p.startOfLine;)p=p.prev;p.startOfLine?u-=i.indentUnit:e.prev.state.lexical&&(u=e.prev.state.lexical.indented)}else e.depth==1&&(u+=i.indentUnit);return n.context=new a(r.startState(o,u),o,0,n.context),null}if(e.depth==1){if(t.peek()=="<")return s.skipAttribute(e.state),n.context=new a(r.startState(s,j(e.state)),s,0,n.context),null;if(t.match("//"))return t.skipToEnd(),"comment";if(t.match("/*"))return e.depth=2,b(t,n)}var v=s.token(t,e.state),d=t.current(),g;return/\btag\b/.test(v)?/>$/.test(d)?e.state.context?e.depth=0:n.context=n.context.prev:/^</.test(d)&&(e.depth=1):!v&&(g=d.indexOf("{"))>-1&&t.backUp(d.length-g),v}function y(t,n,e){if(t.peek()=="<"&&o.expressionAllowed(t,e.state))return n.context=new a(r.startState(s,o.indent(e.state,"","")),s,0,n.context),o.skipExpression(e.state),null;var u=o.token(t,e.state);if(!u&&e.depth!=null){var p=t.current();p=="{"?e.depth++:p=="}"&&--e.depth==0&&(n.context=n.context.prev)}return u}return{startState:function(){return{context:new a(r.startState(o),o)}},copyState:function(t){return{context:f(t.context)}},token:b,indent:function(t,n,e){return t.context.mode.indent(t.context.state,n,e)},innerMode:function(t){return t.context}}},"xml","javascript"),r.defineMIME("text/jsx","jsx"),r.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();var T=m.exports,A=Object.freeze(S({__proto__:null,[Symbol.toStringTag]:"Module",default:T},[m.exports]));export{A as j};
1
+ import{bH as k,bJ as w}from"./vendor.764dd834.js";import{a as O}from"./javascript.e2c4d6fd.js";function S(l,h){return h.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(s){if(s!=="default"&&!(s in l)){var f=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(l,s,f.get?f:{enumerable:!0,get:function(){return r[s]}})}})}),Object.freeze(l)}var m={exports:{}};(function(l,h){(function(r){r(k.exports,w.exports,O.exports)})(function(r){function s(i,c,a,o){this.state=i,this.mode=c,this.depth=a,this.prev=o}function f(i){return new s(r.copyState(i.mode,i.state),i.mode,i.depth,i.prev&&f(i.prev))}r.defineMode("jsx",function(i,c){var a=r.getMode(i,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),o=r.getMode(i,c&&c.base||"javascript");function j(t){var n=t.tagName;t.tagName=null;var e=a.indent(t,"","");return t.tagName=n,e}function b(t,n){return n.context.mode==a?x(t,n,n.context):y(t,n,n.context)}function x(t,n,e){if(e.depth==2)return t.match(/^.*?\*\//)?e.depth=1:t.skipToEnd(),"comment";if(t.peek()=="{"){a.skipAttribute(e.state);var u=j(e.state),p=e.state.context;if(p&&t.match(/^[^>]*>\s*$/,!1)){for(;p.prev&&!p.startOfLine;)p=p.prev;p.startOfLine?u-=i.indentUnit:e.prev.state.lexical&&(u=e.prev.state.lexical.indented)}else e.depth==1&&(u+=i.indentUnit);return n.context=new s(r.startState(o,u),o,0,n.context),null}if(e.depth==1){if(t.peek()=="<")return a.skipAttribute(e.state),n.context=new s(r.startState(a,j(e.state)),a,0,n.context),null;if(t.match("//"))return t.skipToEnd(),"comment";if(t.match("/*"))return e.depth=2,b(t,n)}var v=a.token(t,e.state),d=t.current(),g;return/\btag\b/.test(v)?/>$/.test(d)?e.state.context?e.depth=0:n.context=n.context.prev:/^</.test(d)&&(e.depth=1):!v&&(g=d.indexOf("{"))>-1&&t.backUp(d.length-g),v}function y(t,n,e){if(t.peek()=="<"&&o.expressionAllowed(t,e.state))return n.context=new s(r.startState(a,o.indent(e.state,"","")),a,0,n.context),o.skipExpression(e.state),null;var u=o.token(t,e.state);if(!u&&e.depth!=null){var p=t.current();p=="{"?e.depth++:p=="}"&&--e.depth==0&&(n.context=n.context.prev)}return u}return{startState:function(){return{context:new s(r.startState(o),o)}},copyState:function(t){return{context:f(t.context)}},token:b,indent:function(t,n,e){return t.context.mode.indent(t.context.state,n,e)},innerMode:function(t){return t.context}}},"xml","javascript"),r.defineMIME("text/jsx","jsx"),r.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();var T=m.exports,A=Object.freeze(S({__proto__:null,[Symbol.toStringTag]:"Module",default:T},[m.exports]));export{A as j};
@@ -1 +1 @@
1
- import{bH as W}from"./vendor.327371af.js";function J(p,h){return h.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(t){if(t!=="default"&&!(t in p)){var l=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(p,t,l.get?l:{enumerable:!0,get:function(){return o[t]}})}})}),Object.freeze(p)}var k={exports:{}};(function(p,h){(function(o){o(W.exports)})(function(o){o.defineMode("julia",function(t,l){function u(n,e,i){return typeof i=="undefined"&&(i=""),typeof e=="undefined"&&(e="\\b"),new RegExp("^"+i+"(("+n.join(")|(")+"))"+e)}var g="\\\\[0-7]{1,3}",m="\\\\x[A-Fa-f0-9]{1,2}",y=`\\\\[abefnrtv0%?'"\\\\]`,x="([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])",s=["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","\\.{2,3}","[\\.\\\\%*+\\-<>!\\/^|&]=?","\\?","\\$","~",":"],z=l.operators||u(["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","[\\\\%*+\\-<>!\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),E=l.delimiters||/^[;,()[\]{}]/,_=l.identifiers||/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,A=u([g,m,y,x],"'"),j=["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"],w=["end","else","elseif","catch","finally"],d=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],v=["true","false","nothing","NaN","Inf"];o.registerHelper("hintWords","julia",d.concat(v));var C=u(j),D=u(w),T=u(d),P=u(v),O=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,S=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,B=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,$=u(s,"","@"),G=u(s,"",":");function F(n){return n.nestedArrays>0}function I(n){return n.nestedGenerators>0}function b(n,e){return typeof e=="undefined"&&(e=0),n.scopes.length<=e?null:n.scopes[n.scopes.length-(e+1)]}function a(n,e){if(n.match("#=",!1))return e.tokenize=N,e.tokenize(n,e);var i=e.leavingExpr;if(n.sol()&&(i=!1),e.leavingExpr=!1,i&&n.match(/^'+/))return"operator";if(n.match(/\.{4,}/))return"error";if(n.match(/\.{1,3}/))return"operator";if(n.eatSpace())return null;var r=n.peek();if(r==="#")return n.skipToEnd(),"comment";if(r==="["&&(e.scopes.push("["),e.nestedArrays++),r==="("&&(e.scopes.push("("),e.nestedGenerators++),F(e)&&r==="]"){for(;e.scopes.length&&b(e)!=="[";)e.scopes.pop();e.scopes.pop(),e.nestedArrays--,e.leavingExpr=!0}if(I(e)&&r===")"){for(;e.scopes.length&&b(e)!=="(";)e.scopes.pop();e.scopes.pop(),e.nestedGenerators--,e.leavingExpr=!0}if(F(e)){if(e.lastToken=="end"&&n.match(":"))return"operator";if(n.match("end"))return"number"}var f;if((f=n.match(C,!1))&&e.scopes.push(f[0]),n.match(D,!1)&&e.scopes.pop(),n.match(/^::(?![:\$])/))return e.tokenize=Z,e.tokenize(n,e);if(!i&&(n.match(S)||n.match(G)))return"builtin";if(n.match(z))return"operator";if(n.match(/^\.?\d/,!1)){var M=RegExp(/^im\b/),c=!1;if(n.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(c=!0),n.match(/^0x[0-9a-f_]+/i)&&(c=!0),n.match(/^0b[01_]+/i)&&(c=!0),n.match(/^0o[0-7_]+/i)&&(c=!0),n.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(c=!0),n.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(c=!0),c)return n.match(M),e.leavingExpr=!0,"number"}if(n.match("'"))return e.tokenize=R,e.tokenize(n,e);if(n.match(B))return e.tokenize=q(n.current()),e.tokenize(n,e);if(n.match(O)||n.match($))return"meta";if(n.match(E))return null;if(n.match(T))return"keyword";if(n.match(P))return"builtin";var U=e.isDefinition||e.lastToken=="function"||e.lastToken=="macro"||e.lastToken=="type"||e.lastToken=="struct"||e.lastToken=="immutable";return n.match(_)?U?n.peek()==="."?(e.isDefinition=!0,"variable"):(e.isDefinition=!1,"def"):(e.leavingExpr=!0,"variable"):(n.next(),"error")}function Z(n,e){return n.match(/.*?(?=[,;{}()=\s]|$)/),n.match("{")?e.nestedParameters++:n.match("}")&&e.nestedParameters>0&&e.nestedParameters--,e.nestedParameters>0?n.match(/.*?(?={|})/)||n.next():e.nestedParameters==0&&(e.tokenize=a),"builtin"}function N(n,e){return n.match("#=")&&e.nestedComments++,n.match(/.*?(?=(#=|=#))/)||n.skipToEnd(),n.match("=#")&&(e.nestedComments--,e.nestedComments==0&&(e.tokenize=a)),"comment"}function R(n,e){var i=!1,r;if(n.match(A))i=!0;else if(r=n.match(/\\u([a-f0-9]{1,4})(?=')/i)){var f=parseInt(r[1],16);(f<=55295||f>=57344)&&(i=!0,n.next())}else if(r=n.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var f=parseInt(r[1],16);f<=1114111&&(i=!0,n.next())}return i?(e.leavingExpr=!0,e.tokenize=a,"string"):(n.match(/^[^']+(?=')/)||n.skipToEnd(),n.match("'")&&(e.tokenize=a),"error")}function q(n){n.substr(-3)==='"""'?n='"""':n.substr(-1)==='"'&&(n='"');function e(i,r){if(i.eat("\\"))i.next();else{if(i.match(n))return r.tokenize=a,r.leavingExpr=!0,"string";i.eat(/[`"]/)}return i.eatWhile(/[^\\`"]/),"string"}return e}var H={startState:function(){return{tokenize:a,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(n,e){var i=e.tokenize(n,e),r=n.current();return r&&i&&(e.lastToken=r),i},indent:function(n,e){var i=0;return(e==="]"||e===")"||/^end\b/.test(e)||/^else/.test(e)||/^catch\b/.test(e)||/^elseif\b/.test(e)||/^finally/.test(e))&&(i=-1),(n.scopes.length+i)*t.indentUnit},electricInput:/\b(end|else|catch|finally)\b/,blockCommentStart:"#=",blockCommentEnd:"=#",lineComment:"#",closeBrackets:'()[]{}""',fold:"indent"};return H}),o.defineMIME("text/x-julia","julia")})})();var K=k.exports,V=Object.freeze(J({__proto__:null,[Symbol.toStringTag]:"Module",default:K},[k.exports]));export{V as j};
1
+ import{bH as W}from"./vendor.764dd834.js";function J(p,h){return h.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(t){if(t!=="default"&&!(t in p)){var l=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(p,t,l.get?l:{enumerable:!0,get:function(){return o[t]}})}})}),Object.freeze(p)}var k={exports:{}};(function(p,h){(function(o){o(W.exports)})(function(o){o.defineMode("julia",function(t,l){function u(n,e,i){return typeof i=="undefined"&&(i=""),typeof e=="undefined"&&(e="\\b"),new RegExp("^"+i+"(("+n.join(")|(")+"))"+e)}var g="\\\\[0-7]{1,3}",m="\\\\x[A-Fa-f0-9]{1,2}",y=`\\\\[abefnrtv0%?'"\\\\]`,x="([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])",s=["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","\\.{2,3}","[\\.\\\\%*+\\-<>!\\/^|&]=?","\\?","\\$","~",":"],z=l.operators||u(["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","[\\\\%*+\\-<>!\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),E=l.delimiters||/^[;,()[\]{}]/,_=l.identifiers||/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,A=u([g,m,y,x],"'"),j=["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"],w=["end","else","elseif","catch","finally"],d=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],v=["true","false","nothing","NaN","Inf"];o.registerHelper("hintWords","julia",d.concat(v));var C=u(j),D=u(w),T=u(d),P=u(v),O=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,S=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,B=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,$=u(s,"","@"),G=u(s,"",":");function F(n){return n.nestedArrays>0}function I(n){return n.nestedGenerators>0}function b(n,e){return typeof e=="undefined"&&(e=0),n.scopes.length<=e?null:n.scopes[n.scopes.length-(e+1)]}function a(n,e){if(n.match("#=",!1))return e.tokenize=N,e.tokenize(n,e);var i=e.leavingExpr;if(n.sol()&&(i=!1),e.leavingExpr=!1,i&&n.match(/^'+/))return"operator";if(n.match(/\.{4,}/))return"error";if(n.match(/\.{1,3}/))return"operator";if(n.eatSpace())return null;var r=n.peek();if(r==="#")return n.skipToEnd(),"comment";if(r==="["&&(e.scopes.push("["),e.nestedArrays++),r==="("&&(e.scopes.push("("),e.nestedGenerators++),F(e)&&r==="]"){for(;e.scopes.length&&b(e)!=="[";)e.scopes.pop();e.scopes.pop(),e.nestedArrays--,e.leavingExpr=!0}if(I(e)&&r===")"){for(;e.scopes.length&&b(e)!=="(";)e.scopes.pop();e.scopes.pop(),e.nestedGenerators--,e.leavingExpr=!0}if(F(e)){if(e.lastToken=="end"&&n.match(":"))return"operator";if(n.match("end"))return"number"}var f;if((f=n.match(C,!1))&&e.scopes.push(f[0]),n.match(D,!1)&&e.scopes.pop(),n.match(/^::(?![:\$])/))return e.tokenize=Z,e.tokenize(n,e);if(!i&&(n.match(S)||n.match(G)))return"builtin";if(n.match(z))return"operator";if(n.match(/^\.?\d/,!1)){var M=RegExp(/^im\b/),c=!1;if(n.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(c=!0),n.match(/^0x[0-9a-f_]+/i)&&(c=!0),n.match(/^0b[01_]+/i)&&(c=!0),n.match(/^0o[0-7_]+/i)&&(c=!0),n.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(c=!0),n.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(c=!0),c)return n.match(M),e.leavingExpr=!0,"number"}if(n.match("'"))return e.tokenize=R,e.tokenize(n,e);if(n.match(B))return e.tokenize=q(n.current()),e.tokenize(n,e);if(n.match(O)||n.match($))return"meta";if(n.match(E))return null;if(n.match(T))return"keyword";if(n.match(P))return"builtin";var U=e.isDefinition||e.lastToken=="function"||e.lastToken=="macro"||e.lastToken=="type"||e.lastToken=="struct"||e.lastToken=="immutable";return n.match(_)?U?n.peek()==="."?(e.isDefinition=!0,"variable"):(e.isDefinition=!1,"def"):(e.leavingExpr=!0,"variable"):(n.next(),"error")}function Z(n,e){return n.match(/.*?(?=[,;{}()=\s]|$)/),n.match("{")?e.nestedParameters++:n.match("}")&&e.nestedParameters>0&&e.nestedParameters--,e.nestedParameters>0?n.match(/.*?(?={|})/)||n.next():e.nestedParameters==0&&(e.tokenize=a),"builtin"}function N(n,e){return n.match("#=")&&e.nestedComments++,n.match(/.*?(?=(#=|=#))/)||n.skipToEnd(),n.match("=#")&&(e.nestedComments--,e.nestedComments==0&&(e.tokenize=a)),"comment"}function R(n,e){var i=!1,r;if(n.match(A))i=!0;else if(r=n.match(/\\u([a-f0-9]{1,4})(?=')/i)){var f=parseInt(r[1],16);(f<=55295||f>=57344)&&(i=!0,n.next())}else if(r=n.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var f=parseInt(r[1],16);f<=1114111&&(i=!0,n.next())}return i?(e.leavingExpr=!0,e.tokenize=a,"string"):(n.match(/^[^']+(?=')/)||n.skipToEnd(),n.match("'")&&(e.tokenize=a),"error")}function q(n){n.substr(-3)==='"""'?n='"""':n.substr(-1)==='"'&&(n='"');function e(i,r){if(i.eat("\\"))i.next();else{if(i.match(n))return r.tokenize=a,r.leavingExpr=!0,"string";i.eat(/[`"]/)}return i.eatWhile(/[^\\`"]/),"string"}return e}var H={startState:function(){return{tokenize:a,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(n,e){var i=e.tokenize(n,e),r=n.current();return r&&i&&(e.lastToken=r),i},indent:function(n,e){var i=0;return(e==="]"||e===")"||/^end\b/.test(e)||/^else/.test(e)||/^catch\b/.test(e)||/^elseif\b/.test(e)||/^finally/.test(e))&&(i=-1),(n.scopes.length+i)*t.indentUnit},electricInput:/\b(end|else|catch|finally)\b/,blockCommentStart:"#=",blockCommentEnd:"=#",lineComment:"#",closeBrackets:'()[]{}""',fold:"indent"};return H}),o.defineMIME("text/x-julia","julia")})})();var K=k.exports,V=Object.freeze(J({__proto__:null,[Symbol.toStringTag]:"Module",default:K},[k.exports]));export{V as j};
@@ -0,0 +1,54 @@
1
+ import{r as l,p as r,q as u,w as s,B as e,t as a,P as t}from"./vendor.764dd834.js";const d={class:"markdown-body"},p=t("Custom Layouts allow for building new ways to view or interact with Items via the Collection Detail pages. "),h=t("Learn more about Layouts"),y=t("."),m=e("h2",{id:"extension-entrypoint"},[t("Extension Entrypoint "),e("a",{class:"header-anchor",href:"#extension-entrypoint"},"#")],-1),_=e("p",null,[t("The entrypoint of your layout is the "),e("code",null,"index"),t(" file inside the "),e("code",null,"src/"),t(" folder of your extension package. It exports a configuration object with options to configure the behavior of your layout. When loading your layout, this object is imported by the Directus host.")],-1),f=e("p",null,"Example of an entrypoint:",-1),b=e("pre",null,[e("code",{class:"language-js"},[e("span",{class:"hljs-keyword"},"import"),t(" { ref } "),e("span",{class:"hljs-keyword"},"from"),t(),e("span",{class:"hljs-string"},"'vue'"),t(`;
2
+ `),e("span",{class:"hljs-keyword"},"import"),t(" LayoutComponent "),e("span",{class:"hljs-keyword"},"from"),t(),e("span",{class:"hljs-string"},"'./layout.vue'"),t(`;
3
+
4
+ `),e("span",{class:"hljs-keyword"},"export"),t(),e("span",{class:"hljs-keyword"},"default"),t(` {
5
+ `),e("span",{class:"hljs-attr"},"id"),t(": "),e("span",{class:"hljs-string"},"'custom'"),t(`,
6
+ `),e("span",{class:"hljs-attr"},"name"),t(": "),e("span",{class:"hljs-string"},"'Custom'"),t(`,
7
+ `),e("span",{class:"hljs-attr"},"icon"),t(": "),e("span",{class:"hljs-string"},"'box'"),t(`,
8
+ `),e("span",{class:"hljs-attr"},"component"),t(`: LayoutComponent,
9
+ `),e("span",{class:"hljs-attr"},"slots"),t(`: {
10
+ `),e("span",{class:"hljs-attr"},"options"),t(": "),e("span",{class:"hljs-function"},"() =>"),t(),e("span",{class:"hljs-literal"},"null"),t(`,
11
+ `),e("span",{class:"hljs-attr"},"sidebar"),t(": "),e("span",{class:"hljs-function"},"() =>"),t(),e("span",{class:"hljs-literal"},"null"),t(`,
12
+ `),e("span",{class:"hljs-attr"},"actions"),t(": "),e("span",{class:"hljs-function"},"() =>"),t(),e("span",{class:"hljs-literal"},"null"),t(`,
13
+ },
14
+ `),e("span",{class:"hljs-function"},[e("span",{class:"hljs-title"},"setup"),t("("),e("span",{class:"hljs-params"}),t(")")]),t(` {
15
+ `),e("span",{class:"hljs-keyword"},"const"),t(" name = ref("),e("span",{class:"hljs-string"},"'Custom Layout'"),t(`);
16
+
17
+ `),e("span",{class:"hljs-keyword"},"return"),t(` { name };
18
+ },
19
+ };
20
+ `)])],-1),j=e("h4",{id:"available-options"},[t("Available Options "),e("a",{class:"header-anchor",href:"#available-options"},"#")],-1),g=e("li",null,[e("code",null,"id"),t(" \u2014 The unique key for this layout. It is good practice to scope proprietary layouts with an author prefix.")],-1),v=e("li",null,[e("code",null,"name"),t(" \u2014 The human-readable name for this layout.")],-1),w=e("code",null,"icon",-1),k=t(" \u2014 An icon name from the "),x=t("material icon set"),A=t(", or the extended list of Directus custom icons."),T=e("li",null,[e("code",null,"component"),t(" \u2014 A reference to your layout component.")],-1),C=e("li",null,[e("code",null,"slots"),t(" \u2014 Additional components to be added by your layout. "),e("ul",null,[e("li",null,[e("code",null,"options"),t(" \u2014 A reference to an options component.")]),e("li",null,[e("code",null,"sidebar"),t(" \u2014 A reference to a sidebar component.")]),e("li",null,[e("code",null,"actions"),t(" \u2014 A reference to an actions component.")])])],-1),I=e("li",null,[e("code",null,"setup"),t(" \u2014 A function to setup reactive state to be shared by the layout component and the other components. It receives a "),e("code",null,"props"),t(" object as the first parameter and a "),e("code",null,"context"),t(" object containing an "),e("code",null,"emit()"),t(" function as the second parameter.")],-1),S=e("h2",{id:"layout-component"},[t("Layout Component "),e("a",{class:"header-anchor",href:"#layout-component"},"#")],-1),V=e("p",null,"The layout component is the part of your extension that will be rendered by the Directus App whenever your layout should be used to show the items of a collection. This layout component has to be Vue component. The most straightforward way to write a Vue component is to use the Vue Single File Component syntax.",-1),q=e("p",null,"Example of a layout component using the Vue SFC syntax:",-1),D=e("pre",null,[e("code",{class:"language-vue"},`<template>
21
+ <div>
22
+ <p>Name: {{ name }}</p>
23
+ <p>Collection: {{ collection }}</p>
24
+ </div>
25
+ </template>
26
+
27
+ <script>
28
+ export default {
29
+ inheritAttrs: false,
30
+ props: {
31
+ collection: {
32
+ type: String,
33
+ required: true,
34
+ },
35
+ name: {
36
+ type: String,
37
+ required: true,
38
+ },
39
+ },
40
+ };
41
+ <\/script>
42
+ `)],-1),L=e("p",null,[t("In addition to some pre-defined props, the component receives the state defined inside the "),e("code",null,"setup()"),t(" function as individual props. Besides some pre-defined emits, the component also provides emits for every property returned by the "),e("code",null,"setup()"),t(" function. Those emits are prefixed by "),e("code",null,"update:"),t(".")],-1),P=e("p",null,"These props and emits are available in all components associated with your layout.",-1),E=e("h4",{id:"available-props"},[t("Available Props "),e("a",{class:"header-anchor",href:"#available-props"},"#")],-1),O=e("ul",null,[e("li",null,[e("code",null,"collection"),t(" \u2014 The current collection\u2019s name.")]),e("li",null,[e("code",null,"selection"),t(" \u2014 Any currently selected items.")]),e("li",null,[e("code",null,"layoutOptions"),t(" \u2014 The user\u2019s currently saved layout options.")]),e("li",null,[e("code",null,"layoutQuery"),t(" \u2014 The user\u2019s layout query parameters. (eg: sort, limit, etc)")]),e("li",null,[e("code",null,"filter"),t(" \u2014 The combined active filter.")]),e("li",null,[e("code",null,"filterUser"),t(" \u2014 The user\u2019s currently active filter.")]),e("li",null,[e("code",null,"filterSystem"),t(" \u2014 The system\u2019s currently active filter.")]),e("li",null,[e("code",null,"search"),t(" \u2014 The user\u2019s current search query.")]),e("li",null,[e("code",null,"selectMode"),t(" \u2014 A boolean that indicates if the layout should be in select mode.")]),e("li",null,[e("code",null,"readonly"),t(" \u2014 A boolean that indicates if the layout should be in readonly mode.")]),e("li",null,[e("code",null,"resetPreset"),t(" \u2014 A function to reset the preset.")])],-1),B=e("h4",{id:"available-emits"},[t("Available Emits "),e("a",{class:"header-anchor",href:"#available-emits"},"#")],-1),N=e("ul",null,[e("li",null,[e("code",null,"update:selection"),t(" \u2014 Update the currently selected items.")]),e("li",null,[e("code",null,"update:layoutOptions"),t(" \u2014 Update the user\u2019s currently saved layout options.")]),e("li",null,[e("code",null,"update:layoutQuery"),t(" \u2014 Update the user\u2019s layout query parameters.")])],-1),U=e("p",null,"Other than this simple API to communicate with the Directus App and the system to share state between components, the layout component is a blank canvas, allowing you to create anything you need.",-1),W=e("p",null,[t("The "),e("code",null,"@directus/extensions-sdk"),t(" package provides some useful composables to help with creating layouts:")],-1),F=e("ul",null,[e("li",null,[e("code",null,"useSync()"),t(" \u2014 This function can be used to synchronize a writable ref with a prop and a corresponding emit.")]),e("li",null,[e("code",null,"useCollection()"),t(" \u2014 This function can be used to receive information about a collection.")]),e("li",null,[e("code",null,"useItems()"),t(" \u2014 This function can be used to fetch items from the API.")])],-1),Q=e("div",{class:"warning hint"},[e("div",{class:"hint-title"},"Vue Version"),e("p",null,"The Directus App uses Vue 3. There might be 3rd party libraries that aren\u2019t yet compatible with Vue 3.")],-1),z=e("h2",{id:"accessing-internal-systems"},[t("Accessing Internal Systems "),e("a",{class:"header-anchor",href:"#accessing-internal-systems"},"#")],-1),M=e("p",null,[t("To access internal systems like the API or the stores, you can use the "),e("code",null,"useApi()"),t(" and "),e("code",null,"useStores()"),t(" composables exported by the "),e("code",null,"@directus/extensions-sdk"),t(" package. They can be used inside a "),e("code",null,"setup()"),t(" function like this:")],-1),G=e("pre",null,[e("code",{class:"language-js"},[e("span",{class:"hljs-keyword"},"import"),t(" { useApi, useStores } "),e("span",{class:"hljs-keyword"},"from"),t(),e("span",{class:"hljs-string"},"'@directus/extensions-sdk'"),t(`;
43
+
44
+ `),e("span",{class:"hljs-keyword"},"export"),t(),e("span",{class:"hljs-keyword"},"default"),t(` {
45
+ `),e("span",{class:"hljs-function"},[e("span",{class:"hljs-title"},"setup"),t("("),e("span",{class:"hljs-params"}),t(")")]),t(` {
46
+ `),e("span",{class:"hljs-keyword"},"const"),t(` api = useApi();
47
+
48
+ `),e("span",{class:"hljs-keyword"},"const"),t(` { useCollectionsStore } = useStores();
49
+ `),e("span",{class:"hljs-keyword"},"const"),t(` collectionsStore = useCollectionsStore();
50
+
51
+ `),e("span",{class:"hljs-comment"},"// ..."),t(`
52
+ },
53
+ };
54
+ `)])],-1),H=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Vue Options API"),e("p",null,[t("If you prefer to use the Vue Options API, you can inject the "),e("code",null,"api"),t(" and "),e("code",null,"stores"),t(" properties directly.")])],-1),Y={setup(J,{expose:i}){const n={title:"Custom Layouts",modularExtension:!0};return i({frontmatter:n}),(K,R)=>{const o=l("router-link"),c=l("DocsWrapper");return r(),u(c,{frontmatter:n},{default:s(()=>[e("div",d,[e("blockquote",null,[e("p",null,[p,a(o,{to:"/docs/getting-started/glossary/#layouts"},{default:s(()=>[h]),_:1}),y])]),m,_,f,b,j,e("ul",null,[g,v,e("li",null,[w,k,a(o,{to:"/docs/getting-started/glossary/#material-icons"},{default:s(()=>[x]),_:1}),A]),T,C,I]),S,V,q,D,L,P,E,O,B,N,U,W,F,Q,z,M,G,H])]),_:1})}}};export{Y as default};
@@ -1 +1 @@
1
- import{bH as b}from"./vendor.327371af.js";function E(s,y){return y.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in s)){var l=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(s,r,l.get?l:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(s)}var v={exports:{}};(function(s,y){(function(n){n(b.exports)})(function(n){n.defineMode("livescript",function(){var w=function(e,t){var a=t.next||"start";if(a){t.next=t.next;var u=x[a];if(u.splice){for(var p=0;p<u.length;++p){var o=u[p];if(o.regex&&e.match(o.regex))return t.next=o.next||t.next,o.token}return e.next(),"error"}if(e.match(o=x[a]))return o.regex&&e.match(o.regex)?(t.next=o.next,o.token):(e.next(),"error")}return e.next(),"error"},h={startState:function(){return{next:"start",lastToken:{style:null,indent:0,content:""}}},token:function(e,t){for(;e.pos==e.start;)var a=w(e,t);return t.lastToken={style:a,indent:e.indentation(),content:e.current()},a.replace(/\./g," ")},indent:function(e){var t=e.lastToken.indent;return e.lastToken.content.match(l)&&(t+=2),t}};return h});var r="(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*",l=RegExp("(?:[({[=:]|[-~]>|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+r+")?))\\s*$"),i="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",g={token:"string",regex:".+"},x={start:[{token:"comment.doc",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+i},{token:"constant.language",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+i},{token:"invalid.illegal",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+i},{token:"language.support.class",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+i},{token:"language.support.function",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+i},{token:"variable.language",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+i},{token:"identifier",regex:r+"\\s*:(?![:=])"},{token:"variable",regex:r},{token:"keyword.operator",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword.variable",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"keyword.operator",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"string.doc",regex:"'''",next:"qdoc"},{token:"string.doc",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"string.regex",regex:"//",next:"heregex"},{token:"string.regex",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"constant.numeric",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"lparen",regex:"[({[]"},{token:"rparen",regex:"[)}\\]]",next:"key"},{token:"keyword.operator",regex:"\\S+"},{token:"text",regex:"\\s+"}],heregex:[{token:"string.regex",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"string.regex",regex:"\\s*#{"},{token:"comment.regex",regex:"\\s+(?:#.*)?"},{token:"string.regex",regex:"\\S+"}],key:[{token:"keyword.operator",regex:"[.?@!]+"},{token:"identifier",regex:r,next:"start"},{token:"text",regex:"",next:"start"}],comment:[{token:"comment.doc",regex:".*?\\*/",next:"start"},{token:"comment.doc",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},g],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},g],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},g],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},g],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},g],words:[{token:"string",regex:".*?\\]>",next:"key"},g]};for(var d in x){var c=x[d];if(c.splice)for(var k=0,m=c.length;k<m;++k){var f=c[k];typeof f.regex=="string"&&(x[d][k].regex=new RegExp("^"+f.regex))}else typeof f.regex=="string"&&(x[d].regex=new RegExp("^"+c.regex))}n.defineMIME("text/x-livescript","livescript")})})();var A=v.exports,_=Object.freeze(E({__proto__:null,[Symbol.toStringTag]:"Module",default:A},[v.exports]));export{_ as l};
1
+ import{bH as b}from"./vendor.764dd834.js";function E(s,y){return y.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in s)){var l=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(s,r,l.get?l:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(s)}var v={exports:{}};(function(s,y){(function(n){n(b.exports)})(function(n){n.defineMode("livescript",function(){var w=function(e,t){var a=t.next||"start";if(a){t.next=t.next;var f=x[a];if(f.splice){for(var p=0;p<f.length;++p){var o=f[p];if(o.regex&&e.match(o.regex))return t.next=o.next||t.next,o.token}return e.next(),"error"}if(e.match(o=x[a]))return o.regex&&e.match(o.regex)?(t.next=o.next,o.token):(e.next(),"error")}return e.next(),"error"},h={startState:function(){return{next:"start",lastToken:{style:null,indent:0,content:""}}},token:function(e,t){for(;e.pos==e.start;)var a=w(e,t);return t.lastToken={style:a,indent:e.indentation(),content:e.current()},a.replace(/\./g," ")},indent:function(e){var t=e.lastToken.indent;return e.lastToken.content.match(l)&&(t+=2),t}};return h});var r="(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*",l=RegExp("(?:[({[=:]|[-~]>|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+r+")?))\\s*$"),i="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",g={token:"string",regex:".+"},x={start:[{token:"comment.doc",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+i},{token:"constant.language",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+i},{token:"invalid.illegal",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+i},{token:"language.support.class",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+i},{token:"language.support.function",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+i},{token:"variable.language",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+i},{token:"identifier",regex:r+"\\s*:(?![:=])"},{token:"variable",regex:r},{token:"keyword.operator",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword.variable",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"keyword.operator",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"string.doc",regex:"'''",next:"qdoc"},{token:"string.doc",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"string.regex",regex:"//",next:"heregex"},{token:"string.regex",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"constant.numeric",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"lparen",regex:"[({[]"},{token:"rparen",regex:"[)}\\]]",next:"key"},{token:"keyword.operator",regex:"\\S+"},{token:"text",regex:"\\s+"}],heregex:[{token:"string.regex",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"string.regex",regex:"\\s*#{"},{token:"comment.regex",regex:"\\s+(?:#.*)?"},{token:"string.regex",regex:"\\S+"}],key:[{token:"keyword.operator",regex:"[.?@!]+"},{token:"identifier",regex:r,next:"start"},{token:"text",regex:"",next:"start"}],comment:[{token:"comment.doc",regex:".*?\\*/",next:"start"},{token:"comment.doc",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},g],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},g],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},g],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},g],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},g],words:[{token:"string",regex:".*?\\]>",next:"key"},g]};for(var d in x){var c=x[d];if(c.splice)for(var k=0,m=c.length;k<m;++k){var u=c[k];typeof u.regex=="string"&&(x[d][k].regex=new RegExp("^"+u.regex))}else typeof u.regex=="string"&&(x[d].regex=new RegExp("^"+c.regex))}n.defineMIME("text/x-livescript","livescript")})})();var A=v.exports,_=Object.freeze(E({__proto__:null,[Symbol.toStringTag]:"Module",default:A},[v.exports]));export{_ as l};
@@ -1 +1 @@
1
- import{r as n,p as s,q as l,w as c,B as a,P as o}from"./vendor.327371af.js";const p=a("div",{class:"markdown-body"},[a("blockquote",null,[a("p",null,"TK")]),a("h2",{id:"content-translations"},[o("Content Translations "),a("a",{class:"header-anchor",href:"#content-translations"},"#")]),a("h2",{id:"multilingual-app-%26-locales"},[o("Multilingual App & Locales "),a("a",{class:"header-anchor",href:"#multilingual-app-%26-locales"},"#")]),a("h2",{id:"iconography"},[o("Iconography "),a("a",{class:"header-anchor",href:"#iconography"},"#")]),a("h2",{id:"rtl-support"},[o("RTL Support "),a("a",{class:"header-anchor",href:"#rtl-support"},"#")])],-1),f={setup(i,{expose:e}){const t={title:"Localization",modularExtension:!1};return e({frontmatter:t}),(h,d)=>{const r=n("DocsWrapper");return s(),l(r,{frontmatter:t},{default:c(()=>[p]),_:1})}}};export{f as default};
1
+ import{r as n,p as s,q as l,w as c,B as a,P as o}from"./vendor.764dd834.js";const p=a("div",{class:"markdown-body"},[a("blockquote",null,[a("p",null,"TK")]),a("h2",{id:"content-translations"},[o("Content Translations "),a("a",{class:"header-anchor",href:"#content-translations"},"#")]),a("h2",{id:"multilingual-app-%26-locales"},[o("Multilingual App & Locales "),a("a",{class:"header-anchor",href:"#multilingual-app-%26-locales"},"#")]),a("h2",{id:"iconography"},[o("Iconography "),a("a",{class:"header-anchor",href:"#iconography"},"#")]),a("h2",{id:"rtl-support"},[o("RTL Support "),a("a",{class:"header-anchor",href:"#rtl-support"},"#")])],-1),f={setup(i,{expose:e}){const t={title:"Localization",modularExtension:!1};return e({frontmatter:t}),(h,d)=>{const r=n("DocsWrapper");return s(),l(r,{frontmatter:t},{default:c(()=>[p]),_:1})}}};export{f as default};
@@ -1 +1 @@
1
- import{bH as j}from"./vendor.327371af.js";function O(u,d){return d.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(o){if(o!=="default"&&!(o in u)){var s=Object.getOwnPropertyDescriptor(i,o);Object.defineProperty(u,o,s.get?s:{enumerable:!0,get:function(){return i[o]}})}})}),Object.freeze(u)}var m={exports:{}};(function(u,d){(function(i){i(j.exports)})(function(i){i.defineMode("lua",function(o,s){var h=o.indentUnit;function b(e){return new RegExp("^(?:"+e.join("|")+")","i")}function l(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var v=l(s.specials||[]),k=l(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),x=l(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),w=l(["function","if","repeat","do","\\(","{"]),y=l(["end","until","\\)","}"]),E=b(["end","until","\\)","}","else","elseif"]);function g(e){for(var n=0;e.eat("=");)++n;return e.eat("["),n}function f(e,n){var t=e.next();return t=="-"&&e.eat("-")?e.eat("[")&&e.eat("[")?(n.cur=p(g(e),"comment"))(e,n):(e.skipToEnd(),"comment"):t=='"'||t=="'"?(n.cur=_(t))(e,n):t=="["&&/[\[=]/.test(e.peek())?(n.cur=p(g(e),"string"))(e,n):/\d/.test(t)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(t)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function p(e,n){return function(t,r){for(var a=null,c;(c=t.next())!=null;)if(a==null)c=="]"&&(a=0);else if(c=="=")++a;else if(c=="]"&&a==e){r.cur=f;break}else a=null;return n}}function _(e){return function(n,t){for(var r=!1,a;(a=n.next())!=null&&!(a==e&&!r);)r=!r&&a=="\\";return r||(t.cur=f),"string"}}return{startState:function(e){return{basecol:e||0,indentDepth:0,cur:f}},token:function(e,n){if(e.eatSpace())return null;var t=n.cur(e,n),r=e.current();return t=="variable"&&(x.test(r)?t="keyword":k.test(r)?t="builtin":v.test(r)&&(t="variable-2")),t!="comment"&&t!="string"&&(w.test(r)?++n.indentDepth:y.test(r)&&--n.indentDepth),t},indent:function(e,n){var t=E.test(n);return e.basecol+h*(e.indentDepth-(t?1:0))},electricInput:/^\s*(?:end|until|else|\)|\})$/,lineComment:"--",blockCommentStart:"--[[",blockCommentEnd:"]]"}}),i.defineMIME("text/x-lua","lua")})})();var S=m.exports,R=Object.freeze(O({__proto__:null,[Symbol.toStringTag]:"Module",default:S},[m.exports]));export{R as l};
1
+ import{bH as j}from"./vendor.764dd834.js";function O(u,f){return f.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(o){if(o!=="default"&&!(o in u)){var s=Object.getOwnPropertyDescriptor(i,o);Object.defineProperty(u,o,s.get?s:{enumerable:!0,get:function(){return i[o]}})}})}),Object.freeze(u)}var m={exports:{}};(function(u,f){(function(i){i(j.exports)})(function(i){i.defineMode("lua",function(o,s){var h=o.indentUnit;function b(e){return new RegExp("^(?:"+e.join("|")+")","i")}function l(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var v=l(s.specials||[]),k=l(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),x=l(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),w=l(["function","if","repeat","do","\\(","{"]),y=l(["end","until","\\)","}"]),E=b(["end","until","\\)","}","else","elseif"]);function g(e){for(var n=0;e.eat("=");)++n;return e.eat("["),n}function d(e,n){var t=e.next();return t=="-"&&e.eat("-")?e.eat("[")&&e.eat("[")?(n.cur=p(g(e),"comment"))(e,n):(e.skipToEnd(),"comment"):t=='"'||t=="'"?(n.cur=_(t))(e,n):t=="["&&/[\[=]/.test(e.peek())?(n.cur=p(g(e),"string"))(e,n):/\d/.test(t)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(t)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function p(e,n){return function(t,r){for(var a=null,c;(c=t.next())!=null;)if(a==null)c=="]"&&(a=0);else if(c=="=")++a;else if(c=="]"&&a==e){r.cur=d;break}else a=null;return n}}function _(e){return function(n,t){for(var r=!1,a;(a=n.next())!=null&&!(a==e&&!r);)r=!r&&a=="\\";return r||(t.cur=d),"string"}}return{startState:function(e){return{basecol:e||0,indentDepth:0,cur:d}},token:function(e,n){if(e.eatSpace())return null;var t=n.cur(e,n),r=e.current();return t=="variable"&&(x.test(r)?t="keyword":k.test(r)?t="builtin":v.test(r)&&(t="variable-2")),t!="comment"&&t!="string"&&(w.test(r)?++n.indentDepth:y.test(r)&&--n.indentDepth),t},indent:function(e,n){var t=E.test(n);return e.basecol+h*(e.indentDepth-(t?1:0))},electricInput:/^\s*(?:end|until|else|\)|\})$/,lineComment:"--",blockCommentStart:"--[[",blockCommentEnd:"]]"}}),i.defineMIME("text/x-lua","lua")})})();var S=m.exports,R=Object.freeze(O({__proto__:null,[Symbol.toStringTag]:"Module",default:S},[m.exports]));export{R as l};
@@ -1,4 +1,4 @@
1
- import{r as i,p as c,q as d,w as o,B as t,t as n,P as e}from"./vendor.327371af.js";const _={class:"markdown-body"},u={class:"tip hint"},h=t("div",{class:"hint-title"},"Automation",-1),p=e("We\u2019ve created a little CLI tool you can run that does this process automatically. For more info, check the doc on "),f=e("installing through the CLI"),g=e("."),m=t("h2",{id:"1.-setup-a-project-folder"},[e("1. Setup a Project Folder "),t("a",{class:"header-anchor",href:"#1.-setup-a-project-folder"},"#")],-1),v=t("p",null,[e("Create a new directory, and add a "),t("code",null,"package.json"),e(" by running the following command.")],-1),b=t("pre",null,[t("code",{class:"language-bash"},`npm init -y
1
+ import{r as i,p as c,q as d,w as o,B as t,t as n,P as e}from"./vendor.764dd834.js";const _={class:"markdown-body"},u={class:"tip hint"},h=t("div",{class:"hint-title"},"Automation",-1),p=e("We\u2019ve created a little CLI tool you can run that does this process automatically. For more info, check the doc on "),f=e("installing through the CLI"),g=e("."),m=t("h2",{id:"1.-setup-a-project-folder"},[e("1. Setup a Project Folder "),t("a",{class:"header-anchor",href:"#1.-setup-a-project-folder"},"#")],-1),v=t("p",null,[e("Create a new directory, and add a "),t("code",null,"package.json"),e(" by running the following command.")],-1),b=t("pre",null,[t("code",{class:"language-bash"},`npm init -y
2
2
  `)],-1),y=e("We recommend aliasing the "),k=t("code",null,"start",-1),x=e(" script to Directus\u2019 start for easier deployments to services like "),j=e("AWS"),w=e(" or "),C=e("DigitalOcean App Platform"),D=e("."),W=t("pre",null,[t("code",{class:"language-json"},`{
3
3
  ...
4
4
  "scripts": {
@@ -1 +1 @@
1
- import{bH as P}from"./vendor.327371af.js";function A(c,h){return h.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(f){if(f!=="default"&&!(f in c)){var u=Object.getOwnPropertyDescriptor(o,f);Object.defineProperty(c,f,u.get?u:{enumerable:!0,get:function(){return o[f]}})}})}),Object.freeze(c)}var x={exports:{}};(function(c,h){(function(o){o(P.exports)})(function(o){o.defineOption("styleSelectedText",!1,function(e,t,r){var n=r&&r!=o.Init;t&&!n?(e.state.markedSelection=[],e.state.markedSelectionStyle=typeof t=="string"?t:"CodeMirror-selectedtext",g(e),e.on("cursorActivity",f),e.on("change",u)):!t&&n&&(e.off("cursorActivity",f),e.off("change",u),v(e),e.state.markedSelection=e.state.markedSelectionStyle=null)});function f(e){e.state.markedSelection&&e.operation(function(){O(e)})}function u(e){e.state.markedSelection&&e.state.markedSelection.length&&e.operation(function(){v(e)})}var p=8,y=o.Pos,l=o.cmpPos;function s(e,t,r,n){if(l(t,r)!=0)for(var a=e.state.markedSelection,i=e.state.markedSelectionStyle,S=t.line;;){var j=S==t.line?t:y(S,0),d=S+p,k=d>=r.line,_=k?r:y(d,0),b=e.markText(j,_,{className:i});if(n==null?a.push(b):a.splice(n++,0,b),k)break;S=d}}function v(e){for(var t=e.state.markedSelection,r=0;r<t.length;++r)t[r].clear();t.length=0}function g(e){v(e);for(var t=e.listSelections(),r=0;r<t.length;r++)s(e,t[r].from(),t[r].to())}function O(e){if(!e.somethingSelected())return v(e);if(e.listSelections().length>1)return g(e);var t=e.getCursor("start"),r=e.getCursor("end"),n=e.state.markedSelection;if(!n.length)return s(e,t,r);var a=n[0].find(),i=n[n.length-1].find();if(!a||!i||r.line-t.line<=p||l(t,i.to)>=0||l(r,a.from)<=0)return g(e);for(;l(t,a.from)>0;)n.shift().clear(),a=n[0].find();for(l(t,a.from)<0&&(a.to.line-t.line<p?(n.shift().clear(),s(e,t,a.to,0)):s(e,t,a.from,0));l(r,i.to)<0;)n.pop().clear(),i=n[n.length-1].find();l(r,i.to)>0&&(r.line-i.from.line<p?(n.pop().clear(),s(e,i.from,r)):s(e,i.to,r))}})})();var w=x.exports,E=Object.freeze(A({__proto__:null,[Symbol.toStringTag]:"Module",default:w},[x.exports]));export{E as m};
1
+ import{bH as P}from"./vendor.764dd834.js";function A(c,h){return h.forEach(function(o){o&&typeof o!="string"&&!Array.isArray(o)&&Object.keys(o).forEach(function(l){if(l!=="default"&&!(l in c)){var u=Object.getOwnPropertyDescriptor(o,l);Object.defineProperty(c,l,u.get?u:{enumerable:!0,get:function(){return o[l]}})}})}),Object.freeze(c)}var x={exports:{}};(function(c,h){(function(o){o(P.exports)})(function(o){o.defineOption("styleSelectedText",!1,function(e,t,r){var n=r&&r!=o.Init;t&&!n?(e.state.markedSelection=[],e.state.markedSelectionStyle=typeof t=="string"?t:"CodeMirror-selectedtext",g(e),e.on("cursorActivity",l),e.on("change",u)):!t&&n&&(e.off("cursorActivity",l),e.off("change",u),v(e),e.state.markedSelection=e.state.markedSelectionStyle=null)});function l(e){e.state.markedSelection&&e.operation(function(){O(e)})}function u(e){e.state.markedSelection&&e.state.markedSelection.length&&e.operation(function(){v(e)})}var p=8,y=o.Pos,f=o.cmpPos;function s(e,t,r,n){if(f(t,r)!=0)for(var a=e.state.markedSelection,i=e.state.markedSelectionStyle,S=t.line;;){var j=S==t.line?t:y(S,0),d=S+p,k=d>=r.line,_=k?r:y(d,0),b=e.markText(j,_,{className:i});if(n==null?a.push(b):a.splice(n++,0,b),k)break;S=d}}function v(e){for(var t=e.state.markedSelection,r=0;r<t.length;++r)t[r].clear();t.length=0}function g(e){v(e);for(var t=e.listSelections(),r=0;r<t.length;r++)s(e,t[r].from(),t[r].to())}function O(e){if(!e.somethingSelected())return v(e);if(e.listSelections().length>1)return g(e);var t=e.getCursor("start"),r=e.getCursor("end"),n=e.state.markedSelection;if(!n.length)return s(e,t,r);var a=n[0].find(),i=n[n.length-1].find();if(!a||!i||r.line-t.line<=p||f(t,i.to)>=0||f(r,a.from)<=0)return g(e);for(;f(t,a.from)>0;)n.shift().clear(),a=n[0].find();for(f(t,a.from)<0&&(a.to.line-t.line<p?(n.shift().clear(),s(e,t,a.to,0)):s(e,t,a.from,0));f(r,i.to)<0;)n.pop().clear(),i=n[n.length-1].find();f(r,i.to)>0&&(r.line-i.from.line<p?(n.pop().clear(),s(e,i.from,r)):s(e,i.to,r))}})})();var w=x.exports,E=Object.freeze(A({__proto__:null,[Symbol.toStringTag]:"Module",default:w},[x.exports]));export{E as m};
@@ -1 +1 @@
1
- import{bH as S,bI as $}from"./vendor.327371af.js";function j(h,v){return v.forEach(function(a){a&&typeof a!="string"&&!Array.isArray(a)&&Object.keys(a).forEach(function(l){if(l!=="default"&&!(l in h)){var c=Object.getOwnPropertyDescriptor(a,l);Object.defineProperty(h,l,c.get?c:{enumerable:!0,get:function(){return a[l]}})}})}),Object.freeze(h)}var A={exports:{}};(function(h,v){(function(a){a(S.exports,$.exports)})(function(a){var l={style:"matchhighlight",minChars:2,delay:100,wordsOnly:!1,annotateScrollbar:!1,showToken:!1,trim:!0};function c(t){this.options={};for(var e in l)this.options[e]=(t&&t.hasOwnProperty(e)?t:l)[e];this.overlay=this.timeout=null,this.matchesonscroll=null,this.active=!1}a.defineOption("highlightSelectionMatches",!1,function(t,e,i){if(i&&i!=a.Init&&(O(t),clearTimeout(t.state.matchHighlighter.timeout),t.state.matchHighlighter=null,t.off("cursorActivity",p),t.off("focus",y)),e){var r=t.state.matchHighlighter=new c(e);t.hasFocus()?(r.active=!0,d(t)):t.on("focus",y),t.on("cursorActivity",p)}});function p(t){var e=t.state.matchHighlighter;(e.active||t.hasFocus())&&b(t,e)}function y(t){var e=t.state.matchHighlighter;e.active||(e.active=!0,b(t,e))}function b(t,e){clearTimeout(e.timeout),e.timeout=setTimeout(function(){d(t)},e.options.delay)}function w(t,e,i,r){var o=t.state.matchHighlighter;if(t.addOverlay(o.overlay=x(e,i,r)),o.options.annotateScrollbar&&t.showMatchesOnScrollbar){var n=i?new RegExp((/\w/.test(e.charAt(0))?"\\b":"")+e.replace(/[\\\[.+*?(){|^$]/g,"\\$&")+(/\w/.test(e.charAt(e.length-1))?"\\b":"")):e;o.matchesonscroll=t.showMatchesOnScrollbar(n,!1,{className:"CodeMirror-selection-highlight-scrollbar"})}}function O(t){var e=t.state.matchHighlighter;e.overlay&&(t.removeOverlay(e.overlay),e.overlay=null,e.matchesonscroll&&(e.matchesonscroll.clear(),e.matchesonscroll=null))}function d(t){t.operation(function(){var e=t.state.matchHighlighter;if(O(t),!t.somethingSelected()&&e.options.showToken){for(var i=e.options.showToken===!0?/[\w$]/:e.options.showToken,r=t.getCursor(),o=t.getLine(r.line),n=r.ch,s=n;n&&i.test(o.charAt(n-1));)--n;for(;s<o.length&&i.test(o.charAt(s));)++s;n<s&&w(t,o.slice(n,s),i,e.options.style);return}var u=t.getCursor("from"),g=t.getCursor("to");if(u.line==g.line&&!(e.options.wordsOnly&&!H(t,u,g))){var f=t.getRange(u,g);e.options.trim&&(f=f.replace(/^\s+|\s+$/g,"")),f.length>=e.options.minChars&&w(t,f,!1,e.options.style)}})}function H(t,e,i){var r=t.getRange(e,i);if(r.match(/^\w+$/)!==null){if(e.ch>0){var o={line:e.line,ch:e.ch-1},n=t.getRange(o,e);if(n.match(/\W/)===null)return!1}if(i.ch<t.getLine(e.line).length){var o={line:i.line,ch:i.ch+1},n=t.getRange(i,o);if(n.match(/\W/)===null)return!1}return!0}else return!1}function T(t,e){return(!t.start||!e.test(t.string.charAt(t.start-1)))&&(t.pos==t.string.length||!e.test(t.string.charAt(t.pos)))}function x(t,e,i){return{token:function(r){if(r.match(t)&&(!e||T(r,e)))return i;r.next(),r.skipTo(t.charAt(0))||r.skipToEnd()}}}})})();var k=A.exports,M=Object.freeze(j({__proto__:null,[Symbol.toStringTag]:"Module",default:k},[A.exports]));export{M as m};
1
+ import{bH as S,bI as $}from"./vendor.764dd834.js";function j(h,v){return v.forEach(function(a){a&&typeof a!="string"&&!Array.isArray(a)&&Object.keys(a).forEach(function(l){if(l!=="default"&&!(l in h)){var c=Object.getOwnPropertyDescriptor(a,l);Object.defineProperty(h,l,c.get?c:{enumerable:!0,get:function(){return a[l]}})}})}),Object.freeze(h)}var A={exports:{}};(function(h,v){(function(a){a(S.exports,$.exports)})(function(a){var l={style:"matchhighlight",minChars:2,delay:100,wordsOnly:!1,annotateScrollbar:!1,showToken:!1,trim:!0};function c(t){this.options={};for(var e in l)this.options[e]=(t&&t.hasOwnProperty(e)?t:l)[e];this.overlay=this.timeout=null,this.matchesonscroll=null,this.active=!1}a.defineOption("highlightSelectionMatches",!1,function(t,e,i){if(i&&i!=a.Init&&(d(t),clearTimeout(t.state.matchHighlighter.timeout),t.state.matchHighlighter=null,t.off("cursorActivity",p),t.off("focus",y)),e){var r=t.state.matchHighlighter=new c(e);t.hasFocus()?(r.active=!0,O(t)):t.on("focus",y),t.on("cursorActivity",p)}});function p(t){var e=t.state.matchHighlighter;(e.active||t.hasFocus())&&b(t,e)}function y(t){var e=t.state.matchHighlighter;e.active||(e.active=!0,b(t,e))}function b(t,e){clearTimeout(e.timeout),e.timeout=setTimeout(function(){O(t)},e.options.delay)}function w(t,e,i,r){var o=t.state.matchHighlighter;if(t.addOverlay(o.overlay=x(e,i,r)),o.options.annotateScrollbar&&t.showMatchesOnScrollbar){var n=i?new RegExp((/\w/.test(e.charAt(0))?"\\b":"")+e.replace(/[\\\[.+*?(){|^$]/g,"\\$&")+(/\w/.test(e.charAt(e.length-1))?"\\b":"")):e;o.matchesonscroll=t.showMatchesOnScrollbar(n,!1,{className:"CodeMirror-selection-highlight-scrollbar"})}}function d(t){var e=t.state.matchHighlighter;e.overlay&&(t.removeOverlay(e.overlay),e.overlay=null,e.matchesonscroll&&(e.matchesonscroll.clear(),e.matchesonscroll=null))}function O(t){t.operation(function(){var e=t.state.matchHighlighter;if(d(t),!t.somethingSelected()&&e.options.showToken){for(var i=e.options.showToken===!0?/[\w$]/:e.options.showToken,r=t.getCursor(),o=t.getLine(r.line),n=r.ch,s=n;n&&i.test(o.charAt(n-1));)--n;for(;s<o.length&&i.test(o.charAt(s));)++s;n<s&&w(t,o.slice(n,s),i,e.options.style);return}var u=t.getCursor("from"),g=t.getCursor("to");if(u.line==g.line&&!(e.options.wordsOnly&&!H(t,u,g))){var f=t.getRange(u,g);e.options.trim&&(f=f.replace(/^\s+|\s+$/g,"")),f.length>=e.options.minChars&&w(t,f,!1,e.options.style)}})}function H(t,e,i){var r=t.getRange(e,i);if(r.match(/^\w+$/)!==null){if(e.ch>0){var o={line:e.line,ch:e.ch-1},n=t.getRange(o,e);if(n.match(/\W/)===null)return!1}if(i.ch<t.getLine(e.line).length){var o={line:i.line,ch:i.ch+1},n=t.getRange(i,o);if(n.match(/\W/)===null)return!1}return!0}else return!1}function T(t,e){return(!t.start||!e.test(t.string.charAt(t.start-1)))&&(t.pos==t.string.length||!e.test(t.string.charAt(t.pos)))}function x(t,e,i){return{token:function(r){if(r.match(t)&&(!e||T(r,e)))return i;r.next(),r.skipTo(t.charAt(0))||r.skipToEnd()}}}})})();var k=A.exports,M=Object.freeze(j({__proto__:null,[Symbol.toStringTag]:"Module",default:k},[A.exports]));export{M as m};
@@ -1 +1 @@
1
- import{bH as g}from"./vendor.327371af.js";function k(o,l){return l.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(i){if(i!=="default"&&!(i in o)){var u=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(o,i,u.get?u:{enumerable:!0,get:function(){return t[i]}})}})}),Object.freeze(o)}var A={exports:{}};(function(o,l){(function(t){t(g.exports)})(function(t){t.defineMode("mathematica",function(i,u){var m="[a-zA-Z\\$][a-zA-Z0-9\\$]*",$="(?:\\d+)",z="(?:\\.\\d+|\\d+\\.\\d*|\\d+)",p="(?:\\.\\w+|\\w+\\.\\w*|\\w+)",v="(?:`(?:`?"+z+")?)",Z=new RegExp("(?:"+$+"(?:\\^\\^"+p+v+"?(?:\\*\\^[+-]?\\d+)?))"),h=new RegExp("(?:"+z+v+"?(?:\\*\\^[+-]?\\d+)?)"),b=new RegExp("(?:`?)(?:"+m+")(?:`(?:"+m+"))*(?:`?)");function c(e,r){var n;return n=e.next(),n==='"'?(r.tokenize=d,r.tokenize(e,r)):n==="("&&e.eat("*")?(r.commentLevel++,r.tokenize=x,r.tokenize(e,r)):(e.backUp(1),e.match(Z,!0,!1)||e.match(h,!0,!1)?"number":e.match(/(?:In|Out)\[[0-9]*\]/,!0,!1)?"atom":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::usage)/,!0,!1)?"meta":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/,!0,!1)?"string-2":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variable-2":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"variable-3":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variable-2":e.match(b,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function d(e,r){for(var n,a=!1,f=!1;(n=e.next())!=null;){if(n==='"'&&!f){a=!0;break}f=!f&&n==="\\"}return a&&!f&&(r.tokenize=c),"string"}function x(e,r){for(var n,a;r.commentLevel>0&&(a=e.next())!=null;)n==="("&&a==="*"&&r.commentLevel++,n==="*"&&a===")"&&r.commentLevel--,n=a;return r.commentLevel<=0&&(r.tokenize=c),"comment"}return{startState:function(){return{tokenize:c,commentLevel:0}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},blockCommentStart:"(*",blockCommentEnd:"*)"}}),t.defineMIME("text/x-mathematica",{name:"mathematica"})})})();var s=A.exports,_=Object.freeze(k({__proto__:null,[Symbol.toStringTag]:"Module",default:s},[A.exports]));export{_ as m};
1
+ import{bH as g}from"./vendor.764dd834.js";function k(o,l){return l.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(i){if(i!=="default"&&!(i in o)){var u=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(o,i,u.get?u:{enumerable:!0,get:function(){return t[i]}})}})}),Object.freeze(o)}var A={exports:{}};(function(o,l){(function(t){t(g.exports)})(function(t){t.defineMode("mathematica",function(i,u){var m="[a-zA-Z\\$][a-zA-Z0-9\\$]*",$="(?:\\d+)",z="(?:\\.\\d+|\\d+\\.\\d*|\\d+)",p="(?:\\.\\w+|\\w+\\.\\w*|\\w+)",v="(?:`(?:`?"+z+")?)",Z=new RegExp("(?:"+$+"(?:\\^\\^"+p+v+"?(?:\\*\\^[+-]?\\d+)?))"),h=new RegExp("(?:"+z+v+"?(?:\\*\\^[+-]?\\d+)?)"),d=new RegExp("(?:`?)(?:"+m+")(?:`(?:"+m+"))*(?:`?)");function c(e,r){var n;return n=e.next(),n==='"'?(r.tokenize=b,r.tokenize(e,r)):n==="("&&e.eat("*")?(r.commentLevel++,r.tokenize=x,r.tokenize(e,r)):(e.backUp(1),e.match(Z,!0,!1)||e.match(h,!0,!1)?"number":e.match(/(?:In|Out)\[[0-9]*\]/,!0,!1)?"atom":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::usage)/,!0,!1)?"meta":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/,!0,!1)?"string-2":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variable-2":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"variable-3":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variable-2":e.match(d,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function b(e,r){for(var n,a=!1,f=!1;(n=e.next())!=null;){if(n==='"'&&!f){a=!0;break}f=!f&&n==="\\"}return a&&!f&&(r.tokenize=c),"string"}function x(e,r){for(var n,a;r.commentLevel>0&&(a=e.next())!=null;)n==="("&&a==="*"&&r.commentLevel++,n==="*"&&a===")"&&r.commentLevel--,n=a;return r.commentLevel<=0&&(r.tokenize=c),"comment"}return{startState:function(){return{tokenize:c,commentLevel:0}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},blockCommentStart:"(*",blockCommentEnd:"*)"}}),t.defineMIME("text/x-mathematica",{name:"mathematica"})})})();var s=A.exports,_=Object.freeze(k({__proto__:null,[Symbol.toStringTag]:"Module",default:s},[A.exports]));export{_ as m};
@@ -1 +1 @@
1
- import{bH as g}from"./vendor.327371af.js";function S(t,f){return f.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(i){if(i!=="default"&&!(i in t)){var a=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(t,i,a.get?a:{enumerable:!0,get:function(){return n[i]}})}})}),Object.freeze(t)}var l={exports:{}};(function(t,f){(function(n){n(g.exports)})(function(n){var i=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],a=["Date","Subject","Comments","Keywords","Resent-Date"];n.registerHelper("hintWords","mbox",i.concat(a));var d=/^[ \t]/,p=/^From /,m=new RegExp("^("+i.join("|")+"): "),s=new RegExp("^("+a.join("|")+"): "),v=/^[^:]+:/,b=/^[^ ]+@[^ ]+/,H=/^.*?(?=[^ ]+?@[^ ]+)/,h=/^<.*?>/,x=/^.*?(?=<.*>)/;function E(e){return e==="Subject"?"header":"string"}function R(e,r){if(e.sol()){if(r.inSeparator=!1,r.inHeader&&e.match(d))return null;if(r.inHeader=!1,r.header=null,e.match(p))return r.inHeaders=!0,r.inSeparator=!0,"atom";var o,c=!1;return(o=e.match(s))||(c=!0)&&(o=e.match(m))?(r.inHeaders=!0,r.inHeader=!0,r.emailPermitted=c,r.header=o[1],"atom"):r.inHeaders&&(o=e.match(v))?(r.inHeader=!0,r.emailPermitted=!0,r.header=o[1],"atom"):(r.inHeaders=!1,e.skipToEnd(),null)}if(r.inSeparator)return e.match(b)?"link":(e.match(H)||e.skipToEnd(),"atom");if(r.inHeader){var u=E(r.header);if(r.emailPermitted){if(e.match(h))return u+" link";if(e.match(x))return u}return e.skipToEnd(),u}return e.skipToEnd(),null}n.defineMode("mbox",function(){return{startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:R,blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1}}}),n.defineMIME("application/mbox","mbox")})})();var j=l.exports,y=Object.freeze(S({__proto__:null,[Symbol.toStringTag]:"Module",default:j},[l.exports]));export{y as m};
1
+ import{bH as g}from"./vendor.764dd834.js";function S(t,f){return f.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(i){if(i!=="default"&&!(i in t)){var a=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(t,i,a.get?a:{enumerable:!0,get:function(){return n[i]}})}})}),Object.freeze(t)}var d={exports:{}};(function(t,f){(function(n){n(g.exports)})(function(n){var i=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],a=["Date","Subject","Comments","Keywords","Resent-Date"];n.registerHelper("hintWords","mbox",i.concat(a));var l=/^[ \t]/,p=/^From /,m=new RegExp("^("+i.join("|")+"): "),s=new RegExp("^("+a.join("|")+"): "),v=/^[^:]+:/,b=/^[^ ]+@[^ ]+/,H=/^.*?(?=[^ ]+?@[^ ]+)/,h=/^<.*?>/,x=/^.*?(?=<.*>)/;function E(e){return e==="Subject"?"header":"string"}function R(e,r){if(e.sol()){if(r.inSeparator=!1,r.inHeader&&e.match(l))return null;if(r.inHeader=!1,r.header=null,e.match(p))return r.inHeaders=!0,r.inSeparator=!0,"atom";var o,c=!1;return(o=e.match(s))||(c=!0)&&(o=e.match(m))?(r.inHeaders=!0,r.inHeader=!0,r.emailPermitted=c,r.header=o[1],"atom"):r.inHeaders&&(o=e.match(v))?(r.inHeader=!0,r.emailPermitted=!0,r.header=o[1],"atom"):(r.inHeaders=!1,e.skipToEnd(),null)}if(r.inSeparator)return e.match(b)?"link":(e.match(H)||e.skipToEnd(),"atom");if(r.inHeader){var u=E(r.header);if(r.emailPermitted){if(e.match(h))return u+" link";if(e.match(x))return u}return e.skipToEnd(),u}return e.skipToEnd(),null}n.defineMode("mbox",function(){return{startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:R,blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1}}}),n.defineMIME("application/mbox","mbox")})})();var j=d.exports,y=Object.freeze(S({__proto__:null,[Symbol.toStringTag]:"Module",default:j},[d.exports]));export{y as m};