@wonseok-han/confluence-sync 1.8.0 → 2.0.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 (519) hide show
  1. package/README.md +44 -410
  2. package/dist/cli/args.js +1 -1
  3. package/dist/cli/help.js +214 -115
  4. package/dist/cli/init.js +44 -5
  5. package/dist/cli/main.js +42 -11
  6. package/dist/cli/status.js +83 -0
  7. package/dist/confluence/client.js +121 -57
  8. package/dist/confluence/config.js +12 -8
  9. package/dist/confluence/env-file.js +23 -0
  10. package/dist/confluence/links.js +18 -0
  11. package/dist/conversion/asset-paths.js +5 -0
  12. package/dist/conversion/attachments.js +29 -7
  13. package/dist/conversion/convert.js +10 -22
  14. package/dist/conversion/footnotes.js +114 -11
  15. package/dist/conversion/markdown.js +26 -0
  16. package/dist/conversion/pdf-pages.js +10 -8
  17. package/dist/documents/anchors.js +9 -0
  18. package/dist/documents/callout-roundtrip.js +75 -0
  19. package/dist/documents/callouts.js +74 -0
  20. package/dist/documents/catalog.js +2 -2
  21. package/dist/documents/footnote-roundtrip.js +96 -0
  22. package/dist/documents/format.js +116 -0
  23. package/dist/documents/html-tables.js +30 -0
  24. package/dist/documents/html-to-markdown.js +47 -13
  25. package/dist/documents/markdown.js +46 -4
  26. package/dist/documents/obsidian.js +6 -3
  27. package/dist/documents/tables.js +89 -0
  28. package/dist/runtime/network.js +4 -0
  29. package/dist/shared/colors.js +2 -2
  30. package/dist/shared/progress.js +164 -0
  31. package/dist/shared/version.js +12 -0
  32. package/dist/site/assets/Monaco-LICENSE.txt +21 -0
  33. package/dist/site/assets/Monaco-ThirdPartyNotices.txt +448 -0
  34. package/dist/site/assets/PDFJS-LICENSE.txt +177 -0
  35. package/dist/site/assets/app.css +1 -0
  36. package/dist/site/assets/app.js +5 -0
  37. package/dist/site/assets/chunks/chunk-TEW74QPN.js +35 -0
  38. package/dist/site/assets/chunks/markdown-S6623E66.js +1 -0
  39. package/dist/site/assets/chunks/monaco-36ZGUH4Y.js +897 -0
  40. package/dist/site/assets/chunks/monaco-HFLEBJTI.css +1 -0
  41. package/dist/site/assets/chunks/pdf-DDN7TXTP.js +55 -0
  42. package/dist/site/assets/confluence-env-example.txt +32 -0
  43. package/dist/site/assets/editor.worker.js +1 -0
  44. package/dist/site/assets/favicon.svg +3 -0
  45. package/dist/site/assets/guide/01-account-settings.png +0 -0
  46. package/dist/site/assets/guide/02-atlassian-security.png +0 -0
  47. package/dist/site/assets/guide/03-api-tokens.png +0 -0
  48. package/dist/site/assets/guide/04-scope-api-token-step1.png +0 -0
  49. package/dist/site/assets/guide/05-scope-api-token-step2.png +0 -0
  50. package/dist/site/assets/guide/06-scope-api-token-step3.png +0 -0
  51. package/dist/site/assets/guide/07-scope-api-token-step4.png +0 -0
  52. package/dist/site/assets/guide/web/document-preview.png +0 -0
  53. package/dist/site/assets/guide/web/remote-diff.png +0 -0
  54. package/dist/site/assets/guide/web/sync-workspace.png +0 -0
  55. package/dist/site/assets/pdf/cmaps/78-EUC-H.bcmap +0 -0
  56. package/dist/site/assets/pdf/cmaps/78-EUC-V.bcmap +0 -0
  57. package/dist/site/assets/pdf/cmaps/78-H.bcmap +0 -0
  58. package/dist/site/assets/pdf/cmaps/78-RKSJ-H.bcmap +0 -0
  59. package/dist/site/assets/pdf/cmaps/78-RKSJ-V.bcmap +0 -0
  60. package/dist/site/assets/pdf/cmaps/78-V.bcmap +0 -0
  61. package/dist/site/assets/pdf/cmaps/78ms-RKSJ-H.bcmap +0 -0
  62. package/dist/site/assets/pdf/cmaps/78ms-RKSJ-V.bcmap +0 -0
  63. package/dist/site/assets/pdf/cmaps/83pv-RKSJ-H.bcmap +0 -0
  64. package/dist/site/assets/pdf/cmaps/90ms-RKSJ-H.bcmap +0 -0
  65. package/dist/site/assets/pdf/cmaps/90ms-RKSJ-V.bcmap +0 -0
  66. package/dist/site/assets/pdf/cmaps/90msp-RKSJ-H.bcmap +0 -0
  67. package/dist/site/assets/pdf/cmaps/90msp-RKSJ-V.bcmap +0 -0
  68. package/dist/site/assets/pdf/cmaps/90pv-RKSJ-H.bcmap +0 -0
  69. package/dist/site/assets/pdf/cmaps/90pv-RKSJ-V.bcmap +0 -0
  70. package/dist/site/assets/pdf/cmaps/Add-H.bcmap +0 -0
  71. package/dist/site/assets/pdf/cmaps/Add-RKSJ-H.bcmap +0 -0
  72. package/dist/site/assets/pdf/cmaps/Add-RKSJ-V.bcmap +0 -0
  73. package/dist/site/assets/pdf/cmaps/Add-V.bcmap +0 -0
  74. package/dist/site/assets/pdf/cmaps/Adobe-CNS1-0.bcmap +0 -0
  75. package/dist/site/assets/pdf/cmaps/Adobe-CNS1-1.bcmap +0 -0
  76. package/dist/site/assets/pdf/cmaps/Adobe-CNS1-2.bcmap +0 -0
  77. package/dist/site/assets/pdf/cmaps/Adobe-CNS1-3.bcmap +0 -0
  78. package/dist/site/assets/pdf/cmaps/Adobe-CNS1-4.bcmap +0 -0
  79. package/dist/site/assets/pdf/cmaps/Adobe-CNS1-5.bcmap +0 -0
  80. package/dist/site/assets/pdf/cmaps/Adobe-CNS1-6.bcmap +0 -0
  81. package/dist/site/assets/pdf/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  82. package/dist/site/assets/pdf/cmaps/Adobe-GB1-0.bcmap +0 -0
  83. package/dist/site/assets/pdf/cmaps/Adobe-GB1-1.bcmap +0 -0
  84. package/dist/site/assets/pdf/cmaps/Adobe-GB1-2.bcmap +0 -0
  85. package/dist/site/assets/pdf/cmaps/Adobe-GB1-3.bcmap +0 -0
  86. package/dist/site/assets/pdf/cmaps/Adobe-GB1-4.bcmap +0 -0
  87. package/dist/site/assets/pdf/cmaps/Adobe-GB1-5.bcmap +0 -0
  88. package/dist/site/assets/pdf/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  89. package/dist/site/assets/pdf/cmaps/Adobe-Japan1-0.bcmap +0 -0
  90. package/dist/site/assets/pdf/cmaps/Adobe-Japan1-1.bcmap +0 -0
  91. package/dist/site/assets/pdf/cmaps/Adobe-Japan1-2.bcmap +0 -0
  92. package/dist/site/assets/pdf/cmaps/Adobe-Japan1-3.bcmap +0 -0
  93. package/dist/site/assets/pdf/cmaps/Adobe-Japan1-4.bcmap +0 -0
  94. package/dist/site/assets/pdf/cmaps/Adobe-Japan1-5.bcmap +0 -0
  95. package/dist/site/assets/pdf/cmaps/Adobe-Japan1-6.bcmap +0 -0
  96. package/dist/site/assets/pdf/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  97. package/dist/site/assets/pdf/cmaps/Adobe-Korea1-0.bcmap +0 -0
  98. package/dist/site/assets/pdf/cmaps/Adobe-Korea1-1.bcmap +0 -0
  99. package/dist/site/assets/pdf/cmaps/Adobe-Korea1-2.bcmap +0 -0
  100. package/dist/site/assets/pdf/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  101. package/dist/site/assets/pdf/cmaps/B5-H.bcmap +0 -0
  102. package/dist/site/assets/pdf/cmaps/B5-V.bcmap +0 -0
  103. package/dist/site/assets/pdf/cmaps/B5pc-H.bcmap +0 -0
  104. package/dist/site/assets/pdf/cmaps/B5pc-V.bcmap +0 -0
  105. package/dist/site/assets/pdf/cmaps/CNS-EUC-H.bcmap +0 -0
  106. package/dist/site/assets/pdf/cmaps/CNS-EUC-V.bcmap +0 -0
  107. package/dist/site/assets/pdf/cmaps/CNS1-H.bcmap +0 -0
  108. package/dist/site/assets/pdf/cmaps/CNS1-V.bcmap +0 -0
  109. package/dist/site/assets/pdf/cmaps/CNS2-H.bcmap +0 -0
  110. package/dist/site/assets/pdf/cmaps/CNS2-V.bcmap +3 -0
  111. package/dist/site/assets/pdf/cmaps/ETHK-B5-H.bcmap +0 -0
  112. package/dist/site/assets/pdf/cmaps/ETHK-B5-V.bcmap +0 -0
  113. package/dist/site/assets/pdf/cmaps/ETen-B5-H.bcmap +0 -0
  114. package/dist/site/assets/pdf/cmaps/ETen-B5-V.bcmap +0 -0
  115. package/dist/site/assets/pdf/cmaps/ETenms-B5-H.bcmap +3 -0
  116. package/dist/site/assets/pdf/cmaps/ETenms-B5-V.bcmap +0 -0
  117. package/dist/site/assets/pdf/cmaps/EUC-H.bcmap +0 -0
  118. package/dist/site/assets/pdf/cmaps/EUC-V.bcmap +0 -0
  119. package/dist/site/assets/pdf/cmaps/Ext-H.bcmap +0 -0
  120. package/dist/site/assets/pdf/cmaps/Ext-RKSJ-H.bcmap +0 -0
  121. package/dist/site/assets/pdf/cmaps/Ext-RKSJ-V.bcmap +0 -0
  122. package/dist/site/assets/pdf/cmaps/Ext-V.bcmap +0 -0
  123. package/dist/site/assets/pdf/cmaps/GB-EUC-H.bcmap +0 -0
  124. package/dist/site/assets/pdf/cmaps/GB-EUC-V.bcmap +0 -0
  125. package/dist/site/assets/pdf/cmaps/GB-H.bcmap +4 -0
  126. package/dist/site/assets/pdf/cmaps/GB-V.bcmap +0 -0
  127. package/dist/site/assets/pdf/cmaps/GBK-EUC-H.bcmap +0 -0
  128. package/dist/site/assets/pdf/cmaps/GBK-EUC-V.bcmap +0 -0
  129. package/dist/site/assets/pdf/cmaps/GBK2K-H.bcmap +0 -0
  130. package/dist/site/assets/pdf/cmaps/GBK2K-V.bcmap +0 -0
  131. package/dist/site/assets/pdf/cmaps/GBKp-EUC-H.bcmap +0 -0
  132. package/dist/site/assets/pdf/cmaps/GBKp-EUC-V.bcmap +0 -0
  133. package/dist/site/assets/pdf/cmaps/GBT-EUC-H.bcmap +0 -0
  134. package/dist/site/assets/pdf/cmaps/GBT-EUC-V.bcmap +0 -0
  135. package/dist/site/assets/pdf/cmaps/GBT-H.bcmap +0 -0
  136. package/dist/site/assets/pdf/cmaps/GBT-V.bcmap +0 -0
  137. package/dist/site/assets/pdf/cmaps/GBTpc-EUC-H.bcmap +0 -0
  138. package/dist/site/assets/pdf/cmaps/GBTpc-EUC-V.bcmap +0 -0
  139. package/dist/site/assets/pdf/cmaps/GBpc-EUC-H.bcmap +0 -0
  140. package/dist/site/assets/pdf/cmaps/GBpc-EUC-V.bcmap +0 -0
  141. package/dist/site/assets/pdf/cmaps/H.bcmap +0 -0
  142. package/dist/site/assets/pdf/cmaps/HKdla-B5-H.bcmap +0 -0
  143. package/dist/site/assets/pdf/cmaps/HKdla-B5-V.bcmap +0 -0
  144. package/dist/site/assets/pdf/cmaps/HKdlb-B5-H.bcmap +0 -0
  145. package/dist/site/assets/pdf/cmaps/HKdlb-B5-V.bcmap +0 -0
  146. package/dist/site/assets/pdf/cmaps/HKgccs-B5-H.bcmap +0 -0
  147. package/dist/site/assets/pdf/cmaps/HKgccs-B5-V.bcmap +0 -0
  148. package/dist/site/assets/pdf/cmaps/HKm314-B5-H.bcmap +0 -0
  149. package/dist/site/assets/pdf/cmaps/HKm314-B5-V.bcmap +0 -0
  150. package/dist/site/assets/pdf/cmaps/HKm471-B5-H.bcmap +0 -0
  151. package/dist/site/assets/pdf/cmaps/HKm471-B5-V.bcmap +0 -0
  152. package/dist/site/assets/pdf/cmaps/HKscs-B5-H.bcmap +0 -0
  153. package/dist/site/assets/pdf/cmaps/HKscs-B5-V.bcmap +0 -0
  154. package/dist/site/assets/pdf/cmaps/Hankaku.bcmap +0 -0
  155. package/dist/site/assets/pdf/cmaps/Hiragana.bcmap +0 -0
  156. package/dist/site/assets/pdf/cmaps/KSC-EUC-H.bcmap +0 -0
  157. package/dist/site/assets/pdf/cmaps/KSC-EUC-V.bcmap +0 -0
  158. package/dist/site/assets/pdf/cmaps/KSC-H.bcmap +0 -0
  159. package/dist/site/assets/pdf/cmaps/KSC-Johab-H.bcmap +0 -0
  160. package/dist/site/assets/pdf/cmaps/KSC-Johab-V.bcmap +0 -0
  161. package/dist/site/assets/pdf/cmaps/KSC-V.bcmap +0 -0
  162. package/dist/site/assets/pdf/cmaps/KSCms-UHC-H.bcmap +0 -0
  163. package/dist/site/assets/pdf/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  164. package/dist/site/assets/pdf/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  165. package/dist/site/assets/pdf/cmaps/KSCms-UHC-V.bcmap +0 -0
  166. package/dist/site/assets/pdf/cmaps/KSCpc-EUC-H.bcmap +0 -0
  167. package/dist/site/assets/pdf/cmaps/KSCpc-EUC-V.bcmap +0 -0
  168. package/dist/site/assets/pdf/cmaps/Katakana.bcmap +0 -0
  169. package/dist/site/assets/pdf/cmaps/LICENSE +36 -0
  170. package/dist/site/assets/pdf/cmaps/NWP-H.bcmap +0 -0
  171. package/dist/site/assets/pdf/cmaps/NWP-V.bcmap +0 -0
  172. package/dist/site/assets/pdf/cmaps/RKSJ-H.bcmap +0 -0
  173. package/dist/site/assets/pdf/cmaps/RKSJ-V.bcmap +0 -0
  174. package/dist/site/assets/pdf/cmaps/Roman.bcmap +0 -0
  175. package/dist/site/assets/pdf/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  176. package/dist/site/assets/pdf/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  177. package/dist/site/assets/pdf/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  178. package/dist/site/assets/pdf/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  179. package/dist/site/assets/pdf/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  180. package/dist/site/assets/pdf/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  181. package/dist/site/assets/pdf/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  182. package/dist/site/assets/pdf/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  183. package/dist/site/assets/pdf/cmaps/UniGB-UCS2-H.bcmap +0 -0
  184. package/dist/site/assets/pdf/cmaps/UniGB-UCS2-V.bcmap +0 -0
  185. package/dist/site/assets/pdf/cmaps/UniGB-UTF16-H.bcmap +0 -0
  186. package/dist/site/assets/pdf/cmaps/UniGB-UTF16-V.bcmap +0 -0
  187. package/dist/site/assets/pdf/cmaps/UniGB-UTF32-H.bcmap +0 -0
  188. package/dist/site/assets/pdf/cmaps/UniGB-UTF32-V.bcmap +0 -0
  189. package/dist/site/assets/pdf/cmaps/UniGB-UTF8-H.bcmap +0 -0
  190. package/dist/site/assets/pdf/cmaps/UniGB-UTF8-V.bcmap +0 -0
  191. package/dist/site/assets/pdf/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  192. package/dist/site/assets/pdf/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  193. package/dist/site/assets/pdf/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  194. package/dist/site/assets/pdf/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  195. package/dist/site/assets/pdf/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  196. package/dist/site/assets/pdf/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  197. package/dist/site/assets/pdf/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  198. package/dist/site/assets/pdf/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  199. package/dist/site/assets/pdf/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  200. package/dist/site/assets/pdf/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  201. package/dist/site/assets/pdf/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  202. package/dist/site/assets/pdf/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  203. package/dist/site/assets/pdf/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  204. package/dist/site/assets/pdf/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  205. package/dist/site/assets/pdf/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  206. package/dist/site/assets/pdf/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  207. package/dist/site/assets/pdf/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  208. package/dist/site/assets/pdf/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  209. package/dist/site/assets/pdf/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  210. package/dist/site/assets/pdf/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  211. package/dist/site/assets/pdf/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  212. package/dist/site/assets/pdf/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  213. package/dist/site/assets/pdf/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  214. package/dist/site/assets/pdf/cmaps/UniKS-UCS2-H.bcmap +0 -0
  215. package/dist/site/assets/pdf/cmaps/UniKS-UCS2-V.bcmap +0 -0
  216. package/dist/site/assets/pdf/cmaps/UniKS-UTF16-H.bcmap +0 -0
  217. package/dist/site/assets/pdf/cmaps/UniKS-UTF16-V.bcmap +0 -0
  218. package/dist/site/assets/pdf/cmaps/UniKS-UTF32-H.bcmap +0 -0
  219. package/dist/site/assets/pdf/cmaps/UniKS-UTF32-V.bcmap +0 -0
  220. package/dist/site/assets/pdf/cmaps/UniKS-UTF8-H.bcmap +0 -0
  221. package/dist/site/assets/pdf/cmaps/UniKS-UTF8-V.bcmap +0 -0
  222. package/dist/site/assets/pdf/cmaps/V.bcmap +0 -0
  223. package/dist/site/assets/pdf/cmaps/WP-Symbol.bcmap +0 -0
  224. package/dist/site/assets/pdf/standard_fonts/FoxitDingbats.pfb +0 -0
  225. package/dist/site/assets/pdf/standard_fonts/FoxitFixed.pfb +0 -0
  226. package/dist/site/assets/pdf/standard_fonts/FoxitFixedBold.pfb +0 -0
  227. package/dist/site/assets/pdf/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  228. package/dist/site/assets/pdf/standard_fonts/FoxitFixedItalic.pfb +0 -0
  229. package/dist/site/assets/pdf/standard_fonts/FoxitSerif.pfb +0 -0
  230. package/dist/site/assets/pdf/standard_fonts/FoxitSerifBold.pfb +0 -0
  231. package/dist/site/assets/pdf/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  232. package/dist/site/assets/pdf/standard_fonts/FoxitSerifItalic.pfb +0 -0
  233. package/dist/site/assets/pdf/standard_fonts/FoxitSymbol.pfb +0 -0
  234. package/dist/site/assets/pdf/standard_fonts/LICENSE_FOXIT +27 -0
  235. package/dist/site/assets/pdf/standard_fonts/LICENSE_LIBERATION +363 -0
  236. package/dist/site/assets/pdf/standard_fonts/LiberationSans-Bold.ttf +0 -0
  237. package/dist/site/assets/pdf/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  238. package/dist/site/assets/pdf/standard_fonts/LiberationSans-Italic.ttf +0 -0
  239. package/dist/site/assets/pdf/standard_fonts/LiberationSans-Regular.ttf +0 -0
  240. package/dist/site/assets/pdf/wasm/LICENSE_JBIG2 +196 -0
  241. package/dist/site/assets/pdf/wasm/LICENSE_OPENJPEG +39 -0
  242. package/dist/site/assets/pdf/wasm/LICENSE_PDFJS_JBIG2 +13 -0
  243. package/dist/site/assets/pdf/wasm/LICENSE_PDFJS_OPENJPEG +22 -0
  244. package/dist/site/assets/pdf/wasm/LICENSE_PDFJS_QCMS +19 -0
  245. package/dist/site/assets/pdf/wasm/LICENSE_QCMS +21 -0
  246. package/dist/site/assets/pdf/wasm/jbig2.wasm +0 -0
  247. package/dist/site/assets/pdf/wasm/jbig2_nowasm_fallback.js +15 -0
  248. package/dist/site/assets/pdf/wasm/openjpeg.wasm +0 -0
  249. package/dist/site/assets/pdf/wasm/openjpeg_nowasm_fallback.js +17 -0
  250. package/dist/site/assets/pdf/wasm/qcms_bg.wasm +0 -0
  251. package/dist/site/assets/pdf/wasm/quickjs-eval.js +16 -0
  252. package/dist/site/assets/pdf/wasm/quickjs-eval.wasm +0 -0
  253. package/dist/site/assets/pdf.worker.min.mjs +29 -0
  254. package/dist/site/assets/workspace.worker.js +409 -0
  255. package/dist/site/index.html +253 -0
  256. package/dist/sync/baseline.js +45 -0
  257. package/dist/sync/changes.js +51 -0
  258. package/dist/sync/diff.js +80 -0
  259. package/dist/sync/fetch.js +338 -0
  260. package/dist/sync/ignore.js +4 -4
  261. package/dist/sync/local-state.js +12 -0
  262. package/dist/sync/mapping.js +31 -8
  263. package/dist/sync/metadata.js +57 -0
  264. package/dist/sync/prepare.js +52 -0
  265. package/dist/sync/pull.js +668 -140
  266. package/dist/sync/push.js +260 -213
  267. package/dist/sync/reconcile.js +51 -0
  268. package/dist/sync/references.js +2 -2
  269. package/dist/sync/remap.js +17 -5
  270. package/dist/sync/remote-folder-moves.js +66 -0
  271. package/dist/sync/render.js +3 -2
  272. package/dist/sync/restore.js +28 -0
  273. package/dist/sync/scope.js +47 -0
  274. package/dist/sync/staging.js +193 -0
  275. package/dist/sync/workspace.js +100 -0
  276. package/dist/web/assets/PDFJS-LICENSE.txt +177 -0
  277. package/dist/web/assets/app.css +1 -1
  278. package/dist/web/assets/app.js +4 -938
  279. package/dist/web/assets/chunks/chunk-TEW74QPN.js +35 -0
  280. package/dist/web/assets/chunks/markdown-S6623E66.js +1 -0
  281. package/dist/web/assets/chunks/monaco-36ZGUH4Y.js +897 -0
  282. package/dist/web/assets/chunks/monaco-HFLEBJTI.css +1 -0
  283. package/dist/web/assets/chunks/pdf-DDN7TXTP.js +55 -0
  284. package/dist/web/assets/confluence-env-example.txt +32 -0
  285. package/dist/web/assets/editor.worker.js +1 -30
  286. package/dist/web/assets/favicon.svg +3 -0
  287. package/dist/web/assets/guide/01-account-settings.png +0 -0
  288. package/dist/web/assets/guide/02-atlassian-security.png +0 -0
  289. package/dist/web/assets/guide/03-api-tokens.png +0 -0
  290. package/dist/web/assets/guide/04-scope-api-token-step1.png +0 -0
  291. package/dist/web/assets/guide/05-scope-api-token-step2.png +0 -0
  292. package/dist/web/assets/guide/06-scope-api-token-step3.png +0 -0
  293. package/dist/web/assets/guide/07-scope-api-token-step4.png +0 -0
  294. package/dist/web/assets/guide/web/document-preview.png +0 -0
  295. package/dist/web/assets/guide/web/remote-diff.png +0 -0
  296. package/dist/web/assets/guide/web/sync-workspace.png +0 -0
  297. package/dist/web/assets/pdf/cmaps/78-EUC-H.bcmap +0 -0
  298. package/dist/web/assets/pdf/cmaps/78-EUC-V.bcmap +0 -0
  299. package/dist/web/assets/pdf/cmaps/78-H.bcmap +0 -0
  300. package/dist/web/assets/pdf/cmaps/78-RKSJ-H.bcmap +0 -0
  301. package/dist/web/assets/pdf/cmaps/78-RKSJ-V.bcmap +0 -0
  302. package/dist/web/assets/pdf/cmaps/78-V.bcmap +0 -0
  303. package/dist/web/assets/pdf/cmaps/78ms-RKSJ-H.bcmap +0 -0
  304. package/dist/web/assets/pdf/cmaps/78ms-RKSJ-V.bcmap +0 -0
  305. package/dist/web/assets/pdf/cmaps/83pv-RKSJ-H.bcmap +0 -0
  306. package/dist/web/assets/pdf/cmaps/90ms-RKSJ-H.bcmap +0 -0
  307. package/dist/web/assets/pdf/cmaps/90ms-RKSJ-V.bcmap +0 -0
  308. package/dist/web/assets/pdf/cmaps/90msp-RKSJ-H.bcmap +0 -0
  309. package/dist/web/assets/pdf/cmaps/90msp-RKSJ-V.bcmap +0 -0
  310. package/dist/web/assets/pdf/cmaps/90pv-RKSJ-H.bcmap +0 -0
  311. package/dist/web/assets/pdf/cmaps/90pv-RKSJ-V.bcmap +0 -0
  312. package/dist/web/assets/pdf/cmaps/Add-H.bcmap +0 -0
  313. package/dist/web/assets/pdf/cmaps/Add-RKSJ-H.bcmap +0 -0
  314. package/dist/web/assets/pdf/cmaps/Add-RKSJ-V.bcmap +0 -0
  315. package/dist/web/assets/pdf/cmaps/Add-V.bcmap +0 -0
  316. package/dist/web/assets/pdf/cmaps/Adobe-CNS1-0.bcmap +0 -0
  317. package/dist/web/assets/pdf/cmaps/Adobe-CNS1-1.bcmap +0 -0
  318. package/dist/web/assets/pdf/cmaps/Adobe-CNS1-2.bcmap +0 -0
  319. package/dist/web/assets/pdf/cmaps/Adobe-CNS1-3.bcmap +0 -0
  320. package/dist/web/assets/pdf/cmaps/Adobe-CNS1-4.bcmap +0 -0
  321. package/dist/web/assets/pdf/cmaps/Adobe-CNS1-5.bcmap +0 -0
  322. package/dist/web/assets/pdf/cmaps/Adobe-CNS1-6.bcmap +0 -0
  323. package/dist/web/assets/pdf/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  324. package/dist/web/assets/pdf/cmaps/Adobe-GB1-0.bcmap +0 -0
  325. package/dist/web/assets/pdf/cmaps/Adobe-GB1-1.bcmap +0 -0
  326. package/dist/web/assets/pdf/cmaps/Adobe-GB1-2.bcmap +0 -0
  327. package/dist/web/assets/pdf/cmaps/Adobe-GB1-3.bcmap +0 -0
  328. package/dist/web/assets/pdf/cmaps/Adobe-GB1-4.bcmap +0 -0
  329. package/dist/web/assets/pdf/cmaps/Adobe-GB1-5.bcmap +0 -0
  330. package/dist/web/assets/pdf/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  331. package/dist/web/assets/pdf/cmaps/Adobe-Japan1-0.bcmap +0 -0
  332. package/dist/web/assets/pdf/cmaps/Adobe-Japan1-1.bcmap +0 -0
  333. package/dist/web/assets/pdf/cmaps/Adobe-Japan1-2.bcmap +0 -0
  334. package/dist/web/assets/pdf/cmaps/Adobe-Japan1-3.bcmap +0 -0
  335. package/dist/web/assets/pdf/cmaps/Adobe-Japan1-4.bcmap +0 -0
  336. package/dist/web/assets/pdf/cmaps/Adobe-Japan1-5.bcmap +0 -0
  337. package/dist/web/assets/pdf/cmaps/Adobe-Japan1-6.bcmap +0 -0
  338. package/dist/web/assets/pdf/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  339. package/dist/web/assets/pdf/cmaps/Adobe-Korea1-0.bcmap +0 -0
  340. package/dist/web/assets/pdf/cmaps/Adobe-Korea1-1.bcmap +0 -0
  341. package/dist/web/assets/pdf/cmaps/Adobe-Korea1-2.bcmap +0 -0
  342. package/dist/web/assets/pdf/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  343. package/dist/web/assets/pdf/cmaps/B5-H.bcmap +0 -0
  344. package/dist/web/assets/pdf/cmaps/B5-V.bcmap +0 -0
  345. package/dist/web/assets/pdf/cmaps/B5pc-H.bcmap +0 -0
  346. package/dist/web/assets/pdf/cmaps/B5pc-V.bcmap +0 -0
  347. package/dist/web/assets/pdf/cmaps/CNS-EUC-H.bcmap +0 -0
  348. package/dist/web/assets/pdf/cmaps/CNS-EUC-V.bcmap +0 -0
  349. package/dist/web/assets/pdf/cmaps/CNS1-H.bcmap +0 -0
  350. package/dist/web/assets/pdf/cmaps/CNS1-V.bcmap +0 -0
  351. package/dist/web/assets/pdf/cmaps/CNS2-H.bcmap +0 -0
  352. package/dist/web/assets/pdf/cmaps/CNS2-V.bcmap +3 -0
  353. package/dist/web/assets/pdf/cmaps/ETHK-B5-H.bcmap +0 -0
  354. package/dist/web/assets/pdf/cmaps/ETHK-B5-V.bcmap +0 -0
  355. package/dist/web/assets/pdf/cmaps/ETen-B5-H.bcmap +0 -0
  356. package/dist/web/assets/pdf/cmaps/ETen-B5-V.bcmap +0 -0
  357. package/dist/web/assets/pdf/cmaps/ETenms-B5-H.bcmap +3 -0
  358. package/dist/web/assets/pdf/cmaps/ETenms-B5-V.bcmap +0 -0
  359. package/dist/web/assets/pdf/cmaps/EUC-H.bcmap +0 -0
  360. package/dist/web/assets/pdf/cmaps/EUC-V.bcmap +0 -0
  361. package/dist/web/assets/pdf/cmaps/Ext-H.bcmap +0 -0
  362. package/dist/web/assets/pdf/cmaps/Ext-RKSJ-H.bcmap +0 -0
  363. package/dist/web/assets/pdf/cmaps/Ext-RKSJ-V.bcmap +0 -0
  364. package/dist/web/assets/pdf/cmaps/Ext-V.bcmap +0 -0
  365. package/dist/web/assets/pdf/cmaps/GB-EUC-H.bcmap +0 -0
  366. package/dist/web/assets/pdf/cmaps/GB-EUC-V.bcmap +0 -0
  367. package/dist/web/assets/pdf/cmaps/GB-H.bcmap +4 -0
  368. package/dist/web/assets/pdf/cmaps/GB-V.bcmap +0 -0
  369. package/dist/web/assets/pdf/cmaps/GBK-EUC-H.bcmap +0 -0
  370. package/dist/web/assets/pdf/cmaps/GBK-EUC-V.bcmap +0 -0
  371. package/dist/web/assets/pdf/cmaps/GBK2K-H.bcmap +0 -0
  372. package/dist/web/assets/pdf/cmaps/GBK2K-V.bcmap +0 -0
  373. package/dist/web/assets/pdf/cmaps/GBKp-EUC-H.bcmap +0 -0
  374. package/dist/web/assets/pdf/cmaps/GBKp-EUC-V.bcmap +0 -0
  375. package/dist/web/assets/pdf/cmaps/GBT-EUC-H.bcmap +0 -0
  376. package/dist/web/assets/pdf/cmaps/GBT-EUC-V.bcmap +0 -0
  377. package/dist/web/assets/pdf/cmaps/GBT-H.bcmap +0 -0
  378. package/dist/web/assets/pdf/cmaps/GBT-V.bcmap +0 -0
  379. package/dist/web/assets/pdf/cmaps/GBTpc-EUC-H.bcmap +0 -0
  380. package/dist/web/assets/pdf/cmaps/GBTpc-EUC-V.bcmap +0 -0
  381. package/dist/web/assets/pdf/cmaps/GBpc-EUC-H.bcmap +0 -0
  382. package/dist/web/assets/pdf/cmaps/GBpc-EUC-V.bcmap +0 -0
  383. package/dist/web/assets/pdf/cmaps/H.bcmap +0 -0
  384. package/dist/web/assets/pdf/cmaps/HKdla-B5-H.bcmap +0 -0
  385. package/dist/web/assets/pdf/cmaps/HKdla-B5-V.bcmap +0 -0
  386. package/dist/web/assets/pdf/cmaps/HKdlb-B5-H.bcmap +0 -0
  387. package/dist/web/assets/pdf/cmaps/HKdlb-B5-V.bcmap +0 -0
  388. package/dist/web/assets/pdf/cmaps/HKgccs-B5-H.bcmap +0 -0
  389. package/dist/web/assets/pdf/cmaps/HKgccs-B5-V.bcmap +0 -0
  390. package/dist/web/assets/pdf/cmaps/HKm314-B5-H.bcmap +0 -0
  391. package/dist/web/assets/pdf/cmaps/HKm314-B5-V.bcmap +0 -0
  392. package/dist/web/assets/pdf/cmaps/HKm471-B5-H.bcmap +0 -0
  393. package/dist/web/assets/pdf/cmaps/HKm471-B5-V.bcmap +0 -0
  394. package/dist/web/assets/pdf/cmaps/HKscs-B5-H.bcmap +0 -0
  395. package/dist/web/assets/pdf/cmaps/HKscs-B5-V.bcmap +0 -0
  396. package/dist/web/assets/pdf/cmaps/Hankaku.bcmap +0 -0
  397. package/dist/web/assets/pdf/cmaps/Hiragana.bcmap +0 -0
  398. package/dist/web/assets/pdf/cmaps/KSC-EUC-H.bcmap +0 -0
  399. package/dist/web/assets/pdf/cmaps/KSC-EUC-V.bcmap +0 -0
  400. package/dist/web/assets/pdf/cmaps/KSC-H.bcmap +0 -0
  401. package/dist/web/assets/pdf/cmaps/KSC-Johab-H.bcmap +0 -0
  402. package/dist/web/assets/pdf/cmaps/KSC-Johab-V.bcmap +0 -0
  403. package/dist/web/assets/pdf/cmaps/KSC-V.bcmap +0 -0
  404. package/dist/web/assets/pdf/cmaps/KSCms-UHC-H.bcmap +0 -0
  405. package/dist/web/assets/pdf/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  406. package/dist/web/assets/pdf/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  407. package/dist/web/assets/pdf/cmaps/KSCms-UHC-V.bcmap +0 -0
  408. package/dist/web/assets/pdf/cmaps/KSCpc-EUC-H.bcmap +0 -0
  409. package/dist/web/assets/pdf/cmaps/KSCpc-EUC-V.bcmap +0 -0
  410. package/dist/web/assets/pdf/cmaps/Katakana.bcmap +0 -0
  411. package/dist/web/assets/pdf/cmaps/LICENSE +36 -0
  412. package/dist/web/assets/pdf/cmaps/NWP-H.bcmap +0 -0
  413. package/dist/web/assets/pdf/cmaps/NWP-V.bcmap +0 -0
  414. package/dist/web/assets/pdf/cmaps/RKSJ-H.bcmap +0 -0
  415. package/dist/web/assets/pdf/cmaps/RKSJ-V.bcmap +0 -0
  416. package/dist/web/assets/pdf/cmaps/Roman.bcmap +0 -0
  417. package/dist/web/assets/pdf/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  418. package/dist/web/assets/pdf/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  419. package/dist/web/assets/pdf/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  420. package/dist/web/assets/pdf/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  421. package/dist/web/assets/pdf/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  422. package/dist/web/assets/pdf/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  423. package/dist/web/assets/pdf/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  424. package/dist/web/assets/pdf/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  425. package/dist/web/assets/pdf/cmaps/UniGB-UCS2-H.bcmap +0 -0
  426. package/dist/web/assets/pdf/cmaps/UniGB-UCS2-V.bcmap +0 -0
  427. package/dist/web/assets/pdf/cmaps/UniGB-UTF16-H.bcmap +0 -0
  428. package/dist/web/assets/pdf/cmaps/UniGB-UTF16-V.bcmap +0 -0
  429. package/dist/web/assets/pdf/cmaps/UniGB-UTF32-H.bcmap +0 -0
  430. package/dist/web/assets/pdf/cmaps/UniGB-UTF32-V.bcmap +0 -0
  431. package/dist/web/assets/pdf/cmaps/UniGB-UTF8-H.bcmap +0 -0
  432. package/dist/web/assets/pdf/cmaps/UniGB-UTF8-V.bcmap +0 -0
  433. package/dist/web/assets/pdf/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  434. package/dist/web/assets/pdf/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  435. package/dist/web/assets/pdf/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  436. package/dist/web/assets/pdf/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  437. package/dist/web/assets/pdf/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  438. package/dist/web/assets/pdf/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  439. package/dist/web/assets/pdf/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  440. package/dist/web/assets/pdf/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  441. package/dist/web/assets/pdf/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  442. package/dist/web/assets/pdf/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  443. package/dist/web/assets/pdf/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  444. package/dist/web/assets/pdf/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  445. package/dist/web/assets/pdf/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  446. package/dist/web/assets/pdf/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  447. package/dist/web/assets/pdf/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  448. package/dist/web/assets/pdf/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  449. package/dist/web/assets/pdf/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  450. package/dist/web/assets/pdf/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  451. package/dist/web/assets/pdf/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  452. package/dist/web/assets/pdf/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  453. package/dist/web/assets/pdf/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  454. package/dist/web/assets/pdf/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  455. package/dist/web/assets/pdf/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  456. package/dist/web/assets/pdf/cmaps/UniKS-UCS2-H.bcmap +0 -0
  457. package/dist/web/assets/pdf/cmaps/UniKS-UCS2-V.bcmap +0 -0
  458. package/dist/web/assets/pdf/cmaps/UniKS-UTF16-H.bcmap +0 -0
  459. package/dist/web/assets/pdf/cmaps/UniKS-UTF16-V.bcmap +0 -0
  460. package/dist/web/assets/pdf/cmaps/UniKS-UTF32-H.bcmap +0 -0
  461. package/dist/web/assets/pdf/cmaps/UniKS-UTF32-V.bcmap +0 -0
  462. package/dist/web/assets/pdf/cmaps/UniKS-UTF8-H.bcmap +0 -0
  463. package/dist/web/assets/pdf/cmaps/UniKS-UTF8-V.bcmap +0 -0
  464. package/dist/web/assets/pdf/cmaps/V.bcmap +0 -0
  465. package/dist/web/assets/pdf/cmaps/WP-Symbol.bcmap +0 -0
  466. package/dist/web/assets/pdf/standard_fonts/FoxitDingbats.pfb +0 -0
  467. package/dist/web/assets/pdf/standard_fonts/FoxitFixed.pfb +0 -0
  468. package/dist/web/assets/pdf/standard_fonts/FoxitFixedBold.pfb +0 -0
  469. package/dist/web/assets/pdf/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  470. package/dist/web/assets/pdf/standard_fonts/FoxitFixedItalic.pfb +0 -0
  471. package/dist/web/assets/pdf/standard_fonts/FoxitSerif.pfb +0 -0
  472. package/dist/web/assets/pdf/standard_fonts/FoxitSerifBold.pfb +0 -0
  473. package/dist/web/assets/pdf/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  474. package/dist/web/assets/pdf/standard_fonts/FoxitSerifItalic.pfb +0 -0
  475. package/dist/web/assets/pdf/standard_fonts/FoxitSymbol.pfb +0 -0
  476. package/dist/web/assets/pdf/standard_fonts/LICENSE_FOXIT +27 -0
  477. package/dist/web/assets/pdf/standard_fonts/LICENSE_LIBERATION +363 -0
  478. package/dist/web/assets/pdf/standard_fonts/LiberationSans-Bold.ttf +0 -0
  479. package/dist/web/assets/pdf/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  480. package/dist/web/assets/pdf/standard_fonts/LiberationSans-Italic.ttf +0 -0
  481. package/dist/web/assets/pdf/standard_fonts/LiberationSans-Regular.ttf +0 -0
  482. package/dist/web/assets/pdf/wasm/LICENSE_JBIG2 +196 -0
  483. package/dist/web/assets/pdf/wasm/LICENSE_OPENJPEG +39 -0
  484. package/dist/web/assets/pdf/wasm/LICENSE_PDFJS_JBIG2 +13 -0
  485. package/dist/web/assets/pdf/wasm/LICENSE_PDFJS_OPENJPEG +22 -0
  486. package/dist/web/assets/pdf/wasm/LICENSE_PDFJS_QCMS +19 -0
  487. package/dist/web/assets/pdf/wasm/LICENSE_QCMS +21 -0
  488. package/dist/web/assets/pdf/wasm/jbig2.wasm +0 -0
  489. package/dist/web/assets/pdf/wasm/jbig2_nowasm_fallback.js +15 -0
  490. package/dist/web/assets/pdf/wasm/openjpeg.wasm +0 -0
  491. package/dist/web/assets/pdf/wasm/openjpeg_nowasm_fallback.js +17 -0
  492. package/dist/web/assets/pdf/wasm/qcms_bg.wasm +0 -0
  493. package/dist/web/assets/pdf/wasm/quickjs-eval.js +16 -0
  494. package/dist/web/assets/pdf/wasm/quickjs-eval.wasm +0 -0
  495. package/dist/web/assets/pdf.worker.min.mjs +29 -0
  496. package/dist/web/assets/workspace.worker.js +409 -0
  497. package/dist/web/document-source.js +14 -0
  498. package/dist/web/hosted-files.js +190 -0
  499. package/dist/web/hosted.js +316 -0
  500. package/dist/web/node-runner.js +26 -0
  501. package/dist/web/preview.js +74 -0
  502. package/dist/web/server.js +85 -240
  503. package/dist/web/sync.js +366 -70
  504. package/dist/web/table-editor-script.js +99 -0
  505. package/dist/web/table-format.js +224 -0
  506. package/dist/web/views/help.js +15 -10
  507. package/dist/web/views/sync-panel.js +90 -19
  508. package/dist/web/views/token-guide.js +27 -0
  509. package/dist/web/views/usage-guide.js +12 -0
  510. package/dist/web/views/workspace.js +85 -15
  511. package/dist/web/workspace-api.js +371 -0
  512. package/docs/user/CLI.md +368 -0
  513. package/docs/user/CONFIGURATION.md +125 -0
  514. package/docs/user/OBSIDIAN.md +117 -0
  515. package/docs/user/WEB.md +90 -0
  516. package/docs/user/images/web/document-preview.png +0 -0
  517. package/docs/user/images/web/remote-diff.png +0 -0
  518. package/docs/user/images/web/sync-workspace.png +0 -0
  519. package/package.json +23 -6
@@ -0,0 +1,409 @@
1
+ var M6=Object.create;var Ju=Object.defineProperty;var O6=Object.getOwnPropertyDescriptor;var F6=Object.getOwnPropertyNames;var P6=Object.getPrototypeOf,B6=Object.prototype.hasOwnProperty;var X=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&(t=e(e=0)),t}catch(n){throw r=[n],n}};var ae=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Rn=(e,t)=>{for(var r in t)Ju(e,r,{get:t[r],enumerable:!0})},lg=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of F6(t))!B6.call(e,i)&&i!==r&&Ju(e,i,{get:()=>t[i],enumerable:!(n=O6(t,i))||n.enumerable});return e};var ce=(e,t,r)=>(r=e!=null?M6(P6(e)):{},lg(t||!e||!e.__esModule?Ju(r,"default",{value:e,enumerable:!0}):r,e)),Gu=e=>lg(Ju({},"__esModule",{value:!0}),e);var pg=ae(Xu=>{"use strict";p();Xu.byteLength=$6;Xu.toByteArray=q6;Xu.fromByteArray=j6;var Ln=[],tn=[],H6=typeof Uint8Array<"u"?Uint8Array:Array,W0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(po=0,fg=W0.length;po<fg;++po)Ln[po]=W0[po],tn[W0.charCodeAt(po)]=po;var po,fg;tn[45]=62;tn[95]=63;function dg(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function $6(e){var t=dg(e),r=t[0],n=t[1];return(r+n)*3/4-n}function U6(e,t,r){return(t+r)*3/4-r}function q6(e){var t,r=dg(e),n=r[0],i=r[1],o=new H6(U6(e,n,i)),a=0,s=i>0?n-4:n,u;for(u=0;u<s;u+=4)t=tn[e.charCodeAt(u)]<<18|tn[e.charCodeAt(u+1)]<<12|tn[e.charCodeAt(u+2)]<<6|tn[e.charCodeAt(u+3)],o[a++]=t>>16&255,o[a++]=t>>8&255,o[a++]=t&255;return i===2&&(t=tn[e.charCodeAt(u)]<<2|tn[e.charCodeAt(u+1)]>>4,o[a++]=t&255),i===1&&(t=tn[e.charCodeAt(u)]<<10|tn[e.charCodeAt(u+1)]<<4|tn[e.charCodeAt(u+2)]>>2,o[a++]=t>>8&255,o[a++]=t&255),o}function W6(e){return Ln[e>>18&63]+Ln[e>>12&63]+Ln[e>>6&63]+Ln[e&63]}function K6(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push(W6(n));return i.join("")}function j6(e){for(var t,r=e.length,n=r%3,i=[],o=16383,a=0,s=r-n;a<s;a+=o)i.push(K6(e,a,a+o>s?s:a+o));return n===1?(t=e[r-1],i.push(Ln[t>>2]+Ln[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(Ln[t>>10]+Ln[t>>4&63]+Ln[t<<2&63]+"=")),i.join("")}});var hg=ae(K0=>{p();K0.read=function(e,t,r,n,i){var o,a,s=i*8-n-1,u=(1<<s)-1,c=u>>1,l=-7,d=r?i-1:0,m=r?-1:1,f=e[t+d];for(d+=m,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=o*256+e[t+d],d+=m,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=a*256+e[t+d],d+=m,l-=8);if(o===0)o=1-c;else{if(o===u)return a?NaN:(f?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-c}return(f?-1:1)*a*Math.pow(2,o-n)};K0.write=function(e,t,r,n,i,o){var a,s,u,c=o*8-i-1,l=(1<<c)-1,d=l>>1,m=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,h=n?1:-1,b=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+d>=1?t+=m/u:t+=m*Math.pow(2,1-d),t*u>=2&&(a++,u/=2),a+d>=l?(s=0,a=l):a+d>=1?(s=(t*u-1)*Math.pow(2,i),a=a+d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+f]=s&255,f+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[r+f]=a&255,f+=h,a/=256,c-=8);e[r+f-h]|=b*128}});var Qu=ae(ra=>{"use strict";p();var j0=pg(),ea=hg(),mg=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ra.Buffer=U;ra.SlowBuffer=Y6;ra.INSPECT_MAX_BYTES=50;var Yu=2147483647;ra.kMaxLength=Yu;U.TYPED_ARRAY_SUPPORT=V6();!U.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function V6(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}Object.defineProperty(U.prototype,"parent",{enumerable:!0,get:function(){if(U.isBuffer(this))return this.buffer}});Object.defineProperty(U.prototype,"offset",{enumerable:!0,get:function(){if(U.isBuffer(this))return this.byteOffset}});function si(e){if(e>Yu)throw new RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,U.prototype),t}function U(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return G0(e)}return yg(e,t,r)}U.poolSize=8192;function yg(e,t,r){if(typeof e=="string")return J6(e,t);if(ArrayBuffer.isView(e))return G6(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Mn(e,ArrayBuffer)||e&&Mn(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Mn(e,SharedArrayBuffer)||e&&Mn(e.buffer,SharedArrayBuffer)))return z0(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return U.from(n,t,r);let i=X6(e);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return U.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}U.from=function(e,t,r){return yg(e,t,r)};Object.setPrototypeOf(U.prototype,Uint8Array.prototype);Object.setPrototypeOf(U,Uint8Array);function wg(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function z6(e,t,r){return wg(e),e<=0?si(e):t!==void 0?typeof r=="string"?si(e).fill(t,r):si(e).fill(t):si(e)}U.alloc=function(e,t,r){return z6(e,t,r)};function G0(e){return wg(e),si(e<0?0:X0(e)|0)}U.allocUnsafe=function(e){return G0(e)};U.allocUnsafeSlow=function(e){return G0(e)};function J6(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!U.isEncoding(t))throw new TypeError("Unknown encoding: "+t);let r=Eg(e,t)|0,n=si(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function V0(e){let t=e.length<0?0:X0(e.length)|0,r=si(t);for(let n=0;n<t;n+=1)r[n]=e[n]&255;return r}function G6(e){if(Mn(e,Uint8Array)){let t=new Uint8Array(e);return z0(t.buffer,t.byteOffset,t.byteLength)}return V0(e)}function z0(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return t===void 0&&r===void 0?n=new Uint8Array(e):r===void 0?n=new Uint8Array(e,t):n=new Uint8Array(e,t,r),Object.setPrototypeOf(n,U.prototype),n}function X6(e){if(U.isBuffer(e)){let t=X0(e.length)|0,r=si(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Z0(e.length)?si(0):V0(e);if(e.type==="Buffer"&&Array.isArray(e.data))return V0(e.data)}function X0(e){if(e>=Yu)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Yu.toString(16)+" bytes");return e|0}function Y6(e){return+e!=e&&(e=0),U.alloc(+e)}U.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==U.prototype};U.compare=function(t,r){if(Mn(t,Uint8Array)&&(t=U.from(t,t.offset,t.byteLength)),Mn(r,Uint8Array)&&(r=U.from(r,r.offset,r.byteLength)),!U.isBuffer(t)||!U.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;let n=t.length,i=r.length;for(let o=0,a=Math.min(n,i);o<a;++o)if(t[o]!==r[o]){n=t[o],i=r[o];break}return n<i?-1:i<n?1:0};U.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};U.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return U.alloc(0);let n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;let i=U.allocUnsafe(r),o=0;for(n=0;n<t.length;++n){let a=t[n];if(Mn(a,Uint8Array))o+a.length>i.length?(U.isBuffer(a)||(a=U.from(a)),a.copy(i,o)):Uint8Array.prototype.set.call(i,a,o);else if(U.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Eg(e,t){if(U.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Mn(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return J0(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ig(e).length;default:if(i)return n?-1:J0(e).length;t=(""+t).toLowerCase(),i=!0}}U.byteLength=Eg;function Z6(e,t,r){let n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return uS(this,t,r);case"utf8":case"utf-8":return vg(this,t,r);case"ascii":return aS(this,t,r);case"latin1":case"binary":return sS(this,t,r);case"base64":return iS(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return cS(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}U.prototype._isBuffer=!0;function ho(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}U.prototype.swap16=function(){let t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let r=0;r<t;r+=2)ho(this,r,r+1);return this};U.prototype.swap32=function(){let t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let r=0;r<t;r+=4)ho(this,r,r+3),ho(this,r+1,r+2);return this};U.prototype.swap64=function(){let t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let r=0;r<t;r+=8)ho(this,r,r+7),ho(this,r+1,r+6),ho(this,r+2,r+5),ho(this,r+3,r+4);return this};U.prototype.toString=function(){let t=this.length;return t===0?"":arguments.length===0?vg(this,0,t):Z6.apply(this,arguments)};U.prototype.toLocaleString=U.prototype.toString;U.prototype.equals=function(t){if(!U.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:U.compare(this,t)===0};U.prototype.inspect=function(){let t="",r=ra.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};mg&&(U.prototype[mg]=U.prototype.inspect);U.prototype.compare=function(t,r,n,i,o){if(Mn(t,Uint8Array)&&(t=U.from(t,t.offset,t.byteLength)),!U.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>t.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===t)return 0;let a=o-i,s=n-r,u=Math.min(a,s),c=this.slice(i,o),l=t.slice(r,n);for(let d=0;d<u;++d)if(c[d]!==l[d]){a=c[d],s=l[d];break}return a<s?-1:s<a?1:0};function _g(e,t,r,n,i){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Z0(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=U.from(t,n)),U.isBuffer(t))return t.length===0?-1:gg(e,t,r,n,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):gg(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function gg(e,t,r,n,i){let o=1,a=e.length,s=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;o=2,a/=2,s/=2,r/=2}function u(l,d){return o===1?l[d]:l.readUInt16BE(d*o)}let c;if(i){let l=-1;for(c=r;c<a;c++)if(u(e,c)===u(t,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===s)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(r+s>a&&(r=a-s),c=r;c>=0;c--){let l=!0;for(let d=0;d<s;d++)if(u(e,c+d)!==u(t,d)){l=!1;break}if(l)return c}return-1}U.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};U.prototype.indexOf=function(t,r,n){return _g(this,t,r,n,!0)};U.prototype.lastIndexOf=function(t,r,n){return _g(this,t,r,n,!1)};function Q6(e,t,r,n){r=Number(r)||0;let i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;let o=t.length;n>o/2&&(n=o/2);let a;for(a=0;a<n;++a){let s=parseInt(t.substr(a*2,2),16);if(Z0(s))return a;e[r+a]=s}return a}function eS(e,t,r,n){return Zu(J0(t,e.length-r),e,r,n)}function tS(e,t,r,n){return Zu(pS(t),e,r,n)}function rS(e,t,r,n){return Zu(Ig(t),e,r,n)}function nS(e,t,r,n){return Zu(hS(t,e.length-r),e,r,n)}U.prototype.write=function(t,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let o=this.length-r;if((n===void 0||n>o)&&(n=o),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let a=!1;for(;;)switch(i){case"hex":return Q6(this,t,r,n);case"utf8":case"utf-8":return eS(this,t,r,n);case"ascii":case"latin1":case"binary":return tS(this,t,r,n);case"base64":return rS(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nS(this,t,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};U.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function iS(e,t,r){return t===0&&r===e.length?j0.fromByteArray(e):j0.fromByteArray(e.slice(t,r))}function vg(e,t,r){r=Math.min(e.length,r);let n=[],i=t;for(;i<r;){let o=e[i],a=null,s=o>239?4:o>223?3:o>191?2:1;if(i+s<=r){let u,c,l,d;switch(s){case 1:o<128&&(a=o);break;case 2:u=e[i+1],(u&192)===128&&(d=(o&31)<<6|u&63,d>127&&(a=d));break;case 3:u=e[i+1],c=e[i+2],(u&192)===128&&(c&192)===128&&(d=(o&15)<<12|(u&63)<<6|c&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:u=e[i+1],c=e[i+2],l=e[i+3],(u&192)===128&&(c&192)===128&&(l&192)===128&&(d=(o&15)<<18|(u&63)<<12|(c&63)<<6|l&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,s=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=s}return oS(n)}var xg=4096;function oS(e){let t=e.length;if(t<=xg)return String.fromCharCode.apply(String,e);let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=xg));return r}function aS(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(e[i]&127);return n}function sS(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function uS(e,t,r){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let i="";for(let o=t;o<r;++o)i+=mS[e[o]];return i}function cS(e,t,r){let n=e.slice(t,r),i="";for(let o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}U.prototype.slice=function(t,r){let n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);let i=this.subarray(t,r);return Object.setPrototypeOf(i,U.prototype),i};function tr(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}U.prototype.readUintLE=U.prototype.readUIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||tr(t,r,this.length);let i=this[t],o=1,a=0;for(;++a<r&&(o*=256);)i+=this[t+a]*o;return i};U.prototype.readUintBE=U.prototype.readUIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||tr(t,r,this.length);let i=this[t+--r],o=1;for(;r>0&&(o*=256);)i+=this[t+--r]*o;return i};U.prototype.readUint8=U.prototype.readUInt8=function(t,r){return t=t>>>0,r||tr(t,1,this.length),this[t]};U.prototype.readUint16LE=U.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||tr(t,2,this.length),this[t]|this[t+1]<<8};U.prototype.readUint16BE=U.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||tr(t,2,this.length),this[t]<<8|this[t+1]};U.prototype.readUint32LE=U.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||tr(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};U.prototype.readUint32BE=U.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||tr(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};U.prototype.readBigUInt64LE=Mi(function(t){t=t>>>0,ta(t,"offset");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&vs(t,this.length-8);let i=r+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24,o=this[++t]+this[++t]*2**8+this[++t]*2**16+n*2**24;return BigInt(i)+(BigInt(o)<<BigInt(32))});U.prototype.readBigUInt64BE=Mi(function(t){t=t>>>0,ta(t,"offset");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&vs(t,this.length-8);let i=r*2**24+this[++t]*2**16+this[++t]*2**8+this[++t],o=this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+n;return(BigInt(i)<<BigInt(32))+BigInt(o)});U.prototype.readIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||tr(t,r,this.length);let i=this[t],o=1,a=0;for(;++a<r&&(o*=256);)i+=this[t+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};U.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||tr(t,r,this.length);let i=r,o=1,a=this[t+--i];for(;i>0&&(o*=256);)a+=this[t+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};U.prototype.readInt8=function(t,r){return t=t>>>0,r||tr(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};U.prototype.readInt16LE=function(t,r){t=t>>>0,r||tr(t,2,this.length);let n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};U.prototype.readInt16BE=function(t,r){t=t>>>0,r||tr(t,2,this.length);let n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};U.prototype.readInt32LE=function(t,r){return t=t>>>0,r||tr(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};U.prototype.readInt32BE=function(t,r){return t=t>>>0,r||tr(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};U.prototype.readBigInt64LE=Mi(function(t){t=t>>>0,ta(t,"offset");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&vs(t,this.length-8);let i=this[t+4]+this[t+5]*2**8+this[t+6]*2**16+(n<<24);return(BigInt(i)<<BigInt(32))+BigInt(r+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24)});U.prototype.readBigInt64BE=Mi(function(t){t=t>>>0,ta(t,"offset");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&vs(t,this.length-8);let i=(r<<24)+this[++t]*2**16+this[++t]*2**8+this[++t];return(BigInt(i)<<BigInt(32))+BigInt(this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+n)});U.prototype.readFloatLE=function(t,r){return t=t>>>0,r||tr(t,4,this.length),ea.read(this,t,!0,23,4)};U.prototype.readFloatBE=function(t,r){return t=t>>>0,r||tr(t,4,this.length),ea.read(this,t,!1,23,4)};U.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||tr(t,8,this.length),ea.read(this,t,!0,52,8)};U.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||tr(t,8,this.length),ea.read(this,t,!1,52,8)};function Br(e,t,r,n,i,o){if(!U.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}U.prototype.writeUintLE=U.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){let s=Math.pow(2,8*n)-1;Br(this,t,r,n,s,0)}let o=1,a=0;for(this[r]=t&255;++a<n&&(o*=256);)this[r+a]=t/o&255;return r+n};U.prototype.writeUintBE=U.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){let s=Math.pow(2,8*n)-1;Br(this,t,r,n,s,0)}let o=n-1,a=1;for(this[r+o]=t&255;--o>=0&&(a*=256);)this[r+o]=t/a&255;return r+n};U.prototype.writeUint8=U.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||Br(this,t,r,1,255,0),this[r]=t&255,r+1};U.prototype.writeUint16LE=U.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||Br(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};U.prototype.writeUint16BE=U.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||Br(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};U.prototype.writeUint32LE=U.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||Br(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};U.prototype.writeUint32BE=U.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||Br(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Sg(e,t,r,n,i){Dg(t,n,i,e,r,7);let o=Number(t&BigInt(4294967295));e[r++]=o,o=o>>8,e[r++]=o,o=o>>8,e[r++]=o,o=o>>8,e[r++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=a,a=a>>8,e[r++]=a,a=a>>8,e[r++]=a,a=a>>8,e[r++]=a,r}function Ag(e,t,r,n,i){Dg(t,n,i,e,r,7);let o=Number(t&BigInt(4294967295));e[r+7]=o,o=o>>8,e[r+6]=o,o=o>>8,e[r+5]=o,o=o>>8,e[r+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=a,a=a>>8,e[r+2]=a,a=a>>8,e[r+1]=a,a=a>>8,e[r]=a,r+8}U.prototype.writeBigUInt64LE=Mi(function(t,r=0){return Sg(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))});U.prototype.writeBigUInt64BE=Mi(function(t,r=0){return Ag(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))});U.prototype.writeIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){let u=Math.pow(2,8*n-1);Br(this,t,r,n,u-1,-u)}let o=0,a=1,s=0;for(this[r]=t&255;++o<n&&(a*=256);)t<0&&s===0&&this[r+o-1]!==0&&(s=1),this[r+o]=(t/a>>0)-s&255;return r+n};U.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){let u=Math.pow(2,8*n-1);Br(this,t,r,n,u-1,-u)}let o=n-1,a=1,s=0;for(this[r+o]=t&255;--o>=0&&(a*=256);)t<0&&s===0&&this[r+o+1]!==0&&(s=1),this[r+o]=(t/a>>0)-s&255;return r+n};U.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||Br(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};U.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||Br(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};U.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||Br(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};U.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||Br(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};U.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||Br(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};U.prototype.writeBigInt64LE=Mi(function(t,r=0){return Sg(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});U.prototype.writeBigInt64BE=Mi(function(t,r=0){return Ag(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function kg(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Tg(e,t,r,n,i){return t=+t,r=r>>>0,i||kg(e,t,r,4,34028234663852886e22,-34028234663852886e22),ea.write(e,t,r,n,23,4),r+4}U.prototype.writeFloatLE=function(t,r,n){return Tg(this,t,r,!0,n)};U.prototype.writeFloatBE=function(t,r,n){return Tg(this,t,r,!1,n)};function Cg(e,t,r,n,i){return t=+t,r=r>>>0,i||kg(e,t,r,8,17976931348623157e292,-17976931348623157e292),ea.write(e,t,r,n,52,8),r+8}U.prototype.writeDoubleLE=function(t,r,n){return Cg(this,t,r,!0,n)};U.prototype.writeDoubleBE=function(t,r,n){return Cg(this,t,r,!1,n)};U.prototype.copy=function(t,r,n,i){if(!U.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);let o=i-n;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),r),o};U.prototype.fill=function(t,r,n,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!U.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){let a=t.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(t=a)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);let o;if(typeof t=="number")for(o=r;o<n;++o)this[o]=t;else{let a=U.isBuffer(t)?t:U.from(t,i),s=a.length;if(s===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=a[o%s]}return this};var Qo={};function Y0(e,t,r){Qo[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(i){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:i,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}Y0("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError);Y0("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError);Y0("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=bg(String(r)):typeof r=="bigint"&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=bg(i)),i+="n"),n+=` It must be ${t}. Received ${i}`,n},RangeError);function bg(e){let t="",r=e.length,n=e[0]==="-"?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function lS(e,t,r){ta(t,"offset"),(e[t]===void 0||e[t+r]===void 0)&&vs(t,e.length-(r+1))}function Dg(e,t,r,n,i,o){if(e>r||e<t){let a=typeof t=="bigint"?"n":"",s;throw o>3?t===0||t===BigInt(0)?s=`>= 0${a} and < 2${a} ** ${(o+1)*8}${a}`:s=`>= -(2${a} ** ${(o+1)*8-1}${a}) and < 2 ** ${(o+1)*8-1}${a}`:s=`>= ${t}${a} and <= ${r}${a}`,new Qo.ERR_OUT_OF_RANGE("value",s,e)}lS(n,i,o)}function ta(e,t){if(typeof e!="number")throw new Qo.ERR_INVALID_ARG_TYPE(t,"number",e)}function vs(e,t,r){throw Math.floor(e)!==e?(ta(e,r),new Qo.ERR_OUT_OF_RANGE(r||"offset","an integer",e)):t<0?new Qo.ERR_BUFFER_OUT_OF_BOUNDS:new Qo.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}var fS=/[^+/0-9A-Za-z-_]/g;function dS(e){if(e=e.split("=")[0],e=e.trim().replace(fS,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function J0(e,t){t=t||1/0;let r,n=e.length,i=null,o=[];for(let a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function pS(e){let t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function hS(e,t){let r,n,i,o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Ig(e){return j0.toByteArray(dS(e))}function Zu(e,t,r,n){let i;for(i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Mn(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Z0(e){return e!==e}var mS=(function(){let e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){let n=r*16;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t})();function Mi(e){return typeof BigInt>"u"?gS:e}function gS(){throw new Error("BigInt not supported")}});var E,Ng,xS,Rg,y,p=X(()=>{"use strict";E=ce(Qu(),1),Ng=E.Buffer.prototype.toString,xS=E.Buffer.from;E.Buffer.prototype.toString=function(e,...t){return e==="base64url"?Ng.call(this,"base64",...t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""):Ng.call(this,e,...t)};E.Buffer.from=function(e,t,...r){return xS.call(E.Buffer,e,t==="base64url"?"base64":t,...r)};Rg="/",y={env:{NO_COLOR:"1"},argv:[],platform:"browser",exitCode:0,cwd:()=>Rg,chdir:e=>{Rg=e},stdout:{isTTY:!1},stderr:{isTTY:!1},exit(e){throw Error(`\uC791\uC5C5\uC774 \uC885\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4 (${e}). \uC704 \uB0B4\uC5ED\uC744 \uD655\uC778\uD558\uC138\uC694.`)}}});function Lg(e,t,r,n){let i=bS(r),o=yS(r);e.setUint32(t,n?o:i,n),e.setUint32(t+4,n?i:o,n)}var bS,yS,Mg=X(()=>{p();bS=e=>e/2**32|0,yS=e=>e>>>0});function Og(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"&&"BYTES_PER_ELEMENT"in e&&e.BYTES_PER_ELEMENT===1}function wS(e,t=""){if(typeof e!="number")throw new TypeError(Q0(t)+"expected number, got "+typeof e);if(!Number.isSafeInteger(e)||e<0)throw new RangeError(Q0(t)+"expected integer >= 0, got "+e);return e}function ef(e,t,r=""){if(Og(e)&&(t===void 0||e.length===t))return e;t!==void 0&&wS(t,"length");let n=Og(e),i=t!==void 0?` of length ${t}`:"",o=n?`length=${e.length}`:`type=${typeof e}`,a=Q0(r)+"expected Uint8Array"+i+", got "+o;throw n?new RangeError(a):new TypeError(a)}function tf(e,t=!0){if(e.destroyed)throw new Error("hash was destroyed");if(t&&e.finished)throw new Error("digest() was already called")}function Pg(e,t){ef(e,void 0,"output");let r=t.outputLen;if(!(e.length>=r))throw new RangeError('"output" expected length >= '+r)}function rf(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function ec(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function hn(e,t){return e<<32-t|e>>>t}function _S(e,t,r="opts"){return Fg(e,"defaults"),t!==void 0&&Fg(t,r),Object.assign(Object.create(null),e,t)}function Bg(e,t={}){if(typeof e!="function")throw new TypeError('"hashCons" expected function, got type='+typeof e);t=_S({},t,"info");let r=(i,o)=>e(o).update(i).digest(),n=e(void 0);return r.outputLen=n.outputLen,r.blockLen=n.blockLen,r.canXOF=n.canXOF,r.create=i=>e(i),Object.assign(r,t),Object.freeze(r)}var Q0,ES,Fg,Hg,nf=X(()=>{p();Q0=e=>e?`"${e}" `:"";ES=(e,t)=>{if(e===null||typeof e!="object"||Array.isArray(e))throw new TypeError((t==="object"?"":`"${t}" `)+"expected object, got type="+typeof e)},Fg=(e,t)=>{ES(e,t);let r=Object.getPrototypeOf(e);if(r!==Object.prototype&&r!==null)throw new TypeError(`"${t}" expected plain object`);if(Object.hasOwn(e,"__proto__"))throw new TypeError(`"${t}.__proto__" is not allowed`)};Hg=e=>({oid:Uint8Array.from([6,9,96,134,72,1,101,3,4,2,e])})});function $g(e,t,r){return e&t^~e&r}function Ug(e,t,r){return e&t^e&r^t&r}var tc,qg,Wg=X(()=>{p();Mg();nf();tc=class{blockLen;outputLen;canXOF=!1;padOffset;isLE;buffer;view;finished=!1;length=0;pos=0;destroyed=!1;constructor(t,r,n,i){this.blockLen=t,this.outputLen=r,this.padOffset=n,this.isLE=i,this.buffer=new Uint8Array(t),this.view=ec(this.buffer)}update(t){tf(this),ef(t);let{view:r,buffer:n,blockLen:i}=this,o=t.length,a=!1;for(let s=0;s<o;){let u=Math.min(i-this.pos,o-s);if(u===i){let c=ec(t);for(;i<=o-s;s+=i)this.process(c,s);a=!0;continue}n.set(s===0&&u===o?t:t.subarray(s,s+u),this.pos),this.pos+=u,s+=u,this.pos===i&&(this.process(r,0),this.pos=0,a=!0)}return this.length+=t.length,a&&this.roundClean(),this}digestInto(t){tf(this),Pg(t,this),this.finished=!0;let{buffer:r,view:n,blockLen:i,isLE:o}=this,{pos:a}=this;r[a++]=128,r.fill(0,a),this.padOffset>i-a&&(this.process(n,0),r.fill(0)),Lg(n,i-8,this.length*8,o),this.process(n,0),this.roundClean();let s=t===r?n:ec(t),u=this.outputLen,c=u/4,l=this.get();if(u%4||c>l.length)throw new Error("invalid outputLen");for(let d=0;d<c;d++)s.setUint32(4*d,l[d],o)}digest(){let{buffer:t,outputLen:r}=this;this.digestInto(t);let n=t.slice(0,r);return this.destroy(),n}_cloneIntoMeta(t){let{buffer:r,length:n,finished:i,destroyed:o,pos:a}=this;return t.destroyed=o,t.finished=i,t.length=n,t.pos=a,a&&t.buffer.set(r),t}clone(){return this._cloneInto()}},qg=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225])});var vS,Oi,of,af,Kg,jg=X(()=>{p();Wg();nf();vS=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Oi=new Uint32Array(64),of=class extends tc{A=0;B=0;C=0;D=0;E=0;F=0;G=0;H=0;constructor(t,r){super(64,t,8,!1),this.A=r[0]|0,this.B=r[1]|0,this.C=r[2]|0,this.D=r[3]|0,this.E=r[4]|0,this.F=r[5]|0,this.G=r[6]|0,this.H=r[7]|0}get(){let{A:t,B:r,C:n,D:i,E:o,F:a,G:s,H:u}=this;return[t,r,n,i,o,a,s,u]}set(t,r,n,i,o,a,s,u){this.A=t|0,this.B=r|0,this.C=n|0,this.D=i|0,this.E=o|0,this.F=a|0,this.G=s|0,this.H=u|0}_cloneInto(t){return(t||=new this.constructor).set(...this.get()),this._cloneIntoMeta(t)}process(t,r){for(let d=0;d<16;d++,r+=4)Oi[d]=t.getUint32(r,!1);for(let d=16;d<64;d++){let m=Oi[d-15],f=Oi[d-2],h=hn(m,7)^hn(m,18)^m>>>3,b=hn(f,17)^hn(f,19)^f>>>10;Oi[d]=b+Oi[d-7]+h+Oi[d-16]|0}let{A:n,B:i,C:o,D:a,E:s,F:u,G:c,H:l}=this;for(let d=0;d<64;d++){let m=hn(s,6)^hn(s,11)^hn(s,25),f=l+m+$g(s,u,c)+vS[d]+Oi[d]|0,b=(hn(n,2)^hn(n,13)^hn(n,22))+Ug(n,i,o)|0;l=c,c=u,u=s,s=a+f|0,a=o,o=i,i=n,n=f+b|0}n=n+this.A|0,i=i+this.B|0,o=o+this.C|0,a=a+this.D|0,s=s+this.E|0,u=u+this.F|0,c=c+this.G|0,l=l+this.H|0,this.set(n,i,o,a,s,u,c,l)}roundClean(){rf(Oi)}destroy(){this.destroyed=!0,this.set(0,0,0,0,0,0,0,0),rf(this.buffer)}},af=class extends of{constructor(){super(32,qg)}},Kg=Bg(()=>new af,Hg(1))});var mo={};Rn(mo,{createHash:()=>Ne,default:()=>SS,randomBytes:()=>na,randomUUID:()=>Sr});function Ne(e){if(e!=="sha256")throw Error(`Unsupported browser hash: ${e}`);let t=Kg.create();return{update(r){return t.update(typeof r=="string"?new TextEncoder().encode(r):r),this},digest(r){let n=sf.Buffer.from(t.digest());return r?n.toString(r):n}}}var sf,Sr,na,SS,Wt=X(()=>{p();jg();sf=ce(Qu());Sr=()=>crypto.randomUUID(),na=e=>sf.Buffer.from(crypto.getRandomValues(new Uint8Array(e))),SS={createHash:Ne,randomUUID:Sr,randomBytes:na}});var Ke=ae((e9,zg)=>{"use strict";p();function On(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function Vg(e,t){for(var r="",n=0,i=-1,o=0,a,s=0;s<=e.length;++s){if(s<e.length)a=e.charCodeAt(s);else{if(a===47)break;a=47}if(a===47){if(!(i===s-1||o===1))if(i!==s-1&&o===2){if(r.length<2||n!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var u=r.lastIndexOf("/");if(u!==r.length-1){u===-1?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),i=s,o=0;continue}}else if(r.length===2||r.length===1){r="",n=0,i=s,o=0;continue}}t&&(r.length>0?r+="/..":r="..",n=2)}else r.length>0?r+="/"+e.slice(i+1,s):r=e.slice(i+1,s),n=s-i-1;i=s,o=0}else a===46&&o!==-1?++o:o=-1}return r}function AS(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}var ia={resolve:function(){for(var t="",r=!1,n,i=arguments.length-1;i>=-1&&!r;i--){var o;i>=0?o=arguments[i]:(n===void 0&&(n=y.cwd()),o=n),On(o),o.length!==0&&(t=o+"/"+t,r=o.charCodeAt(0)===47)}return t=Vg(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(On(t),t.length===0)return".";var r=t.charCodeAt(0)===47,n=t.charCodeAt(t.length-1)===47;return t=Vg(t,!r),t.length===0&&!r&&(t="."),t.length>0&&n&&(t+="/"),r?"/"+t:t},isAbsolute:function(t){return On(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,r=0;r<arguments.length;++r){var n=arguments[r];On(n),n.length>0&&(t===void 0?t=n:t+="/"+n)}return t===void 0?".":ia.normalize(t)},relative:function(t,r){if(On(t),On(r),t===r||(t=ia.resolve(t),r=ia.resolve(r),t===r))return"";for(var n=1;n<t.length&&t.charCodeAt(n)===47;++n);for(var i=t.length,o=i-n,a=1;a<r.length&&r.charCodeAt(a)===47;++a);for(var s=r.length,u=s-a,c=o<u?o:u,l=-1,d=0;d<=c;++d){if(d===c){if(u>c){if(r.charCodeAt(a+d)===47)return r.slice(a+d+1);if(d===0)return r.slice(a+d)}else o>c&&(t.charCodeAt(n+d)===47?l=d:d===0&&(l=0));break}var m=t.charCodeAt(n+d),f=r.charCodeAt(a+d);if(m!==f)break;m===47&&(l=d)}var h="";for(d=n+l+1;d<=i;++d)(d===i||t.charCodeAt(d)===47)&&(h.length===0?h+="..":h+="/..");return h.length>0?h+r.slice(a+l):(a+=l,r.charCodeAt(a)===47&&++a,r.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(On(t),t.length===0)return".";for(var r=t.charCodeAt(0),n=r===47,i=-1,o=!0,a=t.length-1;a>=1;--a)if(r=t.charCodeAt(a),r===47){if(!o){i=a;break}}else o=!1;return i===-1?n?"/":".":n&&i===1?"//":t.slice(0,i)},basename:function(t,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');On(t);var n=0,i=-1,o=!0,a;if(r!==void 0&&r.length>0&&r.length<=t.length){if(r.length===t.length&&r===t)return"";var s=r.length-1,u=-1;for(a=t.length-1;a>=0;--a){var c=t.charCodeAt(a);if(c===47){if(!o){n=a+1;break}}else u===-1&&(o=!1,u=a+1),s>=0&&(c===r.charCodeAt(s)?--s===-1&&(i=a):(s=-1,i=u))}return n===i?i=u:i===-1&&(i=t.length),t.slice(n,i)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!o){n=a+1;break}}else i===-1&&(o=!1,i=a+1);return i===-1?"":t.slice(n,i)}},extname:function(t){On(t);for(var r=-1,n=0,i=-1,o=!0,a=0,s=t.length-1;s>=0;--s){var u=t.charCodeAt(s);if(u===47){if(!o){n=s+1;break}continue}i===-1&&(o=!1,i=s+1),u===46?r===-1?r=s:a!==1&&(a=1):r!==-1&&(a=-1)}return r===-1||i===-1||a===0||a===1&&r===i-1&&r===n+1?"":t.slice(r,i)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return AS("/",t)},parse:function(t){On(t);var r={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return r;var n=t.charCodeAt(0),i=n===47,o;i?(r.root="/",o=1):o=0;for(var a=-1,s=0,u=-1,c=!0,l=t.length-1,d=0;l>=o;--l){if(n=t.charCodeAt(l),n===47){if(!c){s=l+1;break}continue}u===-1&&(c=!1,u=l+1),n===46?a===-1?a=l:d!==1&&(d=1):a!==-1&&(d=-1)}return a===-1||u===-1||d===0||d===1&&a===u-1&&a===s+1?u!==-1&&(s===0&&i?r.base=r.name=t.slice(1,u):r.base=r.name=t.slice(s,u)):(s===0&&i?(r.name=t.slice(1,a),r.base=t.slice(1,u)):(r.name=t.slice(s,a),r.base=t.slice(s,u)),r.ext=t.slice(a,u)),s>0?r.dir=t.slice(0,s-1):i&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};ia.posix=ia;zg.exports=ia});var Jg={};Rn(Jg,{constants:()=>Fi,copyFile:()=>nc,copyFileSync:()=>zr,createReadStream:()=>aa,default:()=>kS,existsSync:()=>J,exportFilesystem:()=>cf,filesystemRevision:()=>uf,importFilesystem:()=>lf,lstat:()=>Hr,lstatSync:()=>ct,mkdir:()=>sa,mkdirSync:()=>Re,mkdtemp:()=>Pi,mkdtempSync:()=>Pn,readFile:()=>Ft,readFileSync:()=>ie,readdir:()=>Bn,readdirSync:()=>mn,realpath:()=>gt,realpathSync:()=>lt,rename:()=>gn,renameSync:()=>nn,resetFilesystem:()=>Ss,rm:()=>xn,rmSync:()=>Gt,rmdir:()=>ff,rmdirSync:()=>As,stat:()=>_t,statSync:()=>Et,unlink:()=>Ts,unlinkSync:()=>oa,writeFile:()=>ks,writeFileSync:()=>it});function Ss(){lr.clear(),Fn=Date.now(),lr.set("/",{directory:!0,stamp:++Fn}),Re("/tmp")}function lf(e){lr.clear();for(let[t,r]of e)lr.set(t,{...r,bytes:r.bytes?rc.Buffer.from(r.bytes):void 0}),Fn=Math.max(Fn,r.stamp)}function J(e){return lr.has(rn(e))}function Et(e){let t=Ar(e);return{size:t.bytes?.length??0,mtimeMs:t.stamp,ctimeMs:t.stamp,mtime:new Date(t.stamp),isFile:()=>!t.directory,isDirectory:()=>t.directory,isSymbolicLink:()=>!1}}function lt(e){return Ar(e),rn(e)}function Re(e,t={}){let r=rn(e);if(J(r)){if(!Ar(r).directory||!t.recursive)throw rr("EEXIST",r);return}let n=ui.default.dirname(r);if(t.recursive&&!J(n)&&Re(n,t),!Ar(n).directory)throw rr("ENOTDIR",n);lr.set(r,{directory:!0,stamp:++Fn})}function mn(e,t={}){let r=lt(e);if(!Ar(r).directory)throw rr("ENOTDIR",r);return[...lr.keys()].filter(i=>i!==r&&ui.default.dirname(i)===r).sort().map(i=>t.withFileTypes?{name:ui.default.basename(i),isDirectory:()=>Ar(i).directory,isFile:()=>!Ar(i).directory,isSymbolicLink:()=>!1}:ui.default.basename(i))}function ie(e,t){let r=Ar(e);if(r.directory)throw rr("EISDIR",rn(e));let n=typeof t=="string"?t:t?.encoding;return n?r.bytes.toString(n):rc.Buffer.from(r.bytes)}function it(e,t,r={}){let n=rn(e);if(r?.flag==="wx"&&J(n))throw rr("EEXIST",n);if(!Ar(ui.default.dirname(n)).directory)throw rr("ENOTDIR",ui.default.dirname(n));if(J(n)&&Ar(n).directory)throw rr("EISDIR",n);let i=typeof r=="string"?r:r.encoding;lr.set(n,{directory:!1,bytes:rc.Buffer.from(t,i),stamp:++Fn})}function zr(e,t,r=0){if(r&Fi.COPYFILE_EXCL&&J(t))throw rr("EEXIST",rn(t));it(t,ie(e))}function nn(e,t){let r=rn(e),n=rn(t),i=Ar(r);if(r!==n){if(!Ar(ui.default.dirname(n)).directory)throw rr("ENOTDIR",n);if(i.directory){if(r==="/"||n.startsWith(r+"/"))throw rr("EINVAL",n);if(J(n))throw rr("EEXIST",n);let o=[...lr].filter(([a])=>a===r||a.startsWith(r+"/"));for(let[a,s]of o)lr.set(n+a.slice(r.length),{...s,stamp:++Fn});for(let[a]of o)lr.delete(a);return}if(J(n)&&Ar(n).directory)throw rr("EISDIR",n);lr.set(n,{...i,stamp:++Fn}),lr.delete(r)}}function Gt(e,t={}){let r=rn(e);if(!J(r)){if(t.force)return;throw rr("ENOENT",r)}if(r==="/")throw rr("EPERM",r);if(Ar(r).directory&&!t.recursive&&mn(r).length)throw rr("ENOTEMPTY",r);for(let n of lr.keys())(n===r||n.startsWith(r+"/"))&&lr.delete(n);Fn++}function oa(e){if(Ar(e).directory)throw rr("EISDIR",rn(e));Gt(e)}function As(e){if(!Ar(e).directory)throw rr("ENOTDIR",rn(e));Gt(e)}function Pn(e){let t=e+crypto.randomUUID();return Re(t),t}function aa(e){return{[Symbol.asyncIterator]:async function*(){yield ie(e)}}}var ui,rc,Fn,lr,rn,rr,Ar,uf,cf,ct,Fi,Ft,ks,Bn,_t,Hr,gt,sa,gn,xn,Ts,ff,Pi,nc,kS,$e=X(()=>{"use strict";p();ui=ce(Ke(),1),rc=ce(Qu(),1),Fn=0,lr=new Map,rn=e=>ui.default.resolve(String(e)),rr=(e,t)=>Object.assign(Error(`${e}: ${t}`),{code:e,path:t}),Ar=e=>{let t=rn(e),r=lr.get(t);if(!r)throw rr("ENOENT",t);return r};uf=()=>Fn,cf=()=>[...lr].map(([e,t])=>[e,{...t,bytes:t.bytes?new Uint8Array(t.bytes):void 0}]);ct=Et;Fi={COPYFILE_EXCL:1};Ft=async(...e)=>ie(...e),ks=async(...e)=>it(...e),Bn=async(...e)=>mn(...e),_t=async(...e)=>Et(...e),Hr=_t,gt=async(...e)=>lt(...e),sa=async(...e)=>Re(...e),gn=async(...e)=>nn(...e),xn=async(...e)=>Gt(...e),Ts=async(...e)=>oa(...e),ff=async(...e)=>As(...e),Pi=async(...e)=>Pn(...e),nc=async(...e)=>zr(...e),kS={existsSync:J,readFileSync:ie,writeFileSync:it,statSync:Et,lstatSync:ct,realpathSync:lt,mkdirSync:Re,readdirSync:mn,copyFileSync:zr,renameSync:nn,rmSync:Gt,unlinkSync:oa,rmdirSync:As,mkdtempSync:Pn,createReadStream:aa,constants:Fi};Ss()});var Xg={};Rn(Xg,{default:()=>TS,homedir:()=>ic,platform:()=>Gg,tmpdir:()=>ci});var ic,ci,Gg,TS,Cs=X(()=>{p();ic=()=>"/workspace",ci=()=>"/tmp",Gg=()=>"browser",TS={homedir:ic,tmpdir:ci,platform:Gg}});var ma=ae((VL,r2)=>{"use strict";p();r2.exports=vo;vo.CAPTURING_PHASE=1;vo.AT_TARGET=2;vo.BUBBLING_PHASE=3;function vo(e,t){if(this.type="",this.target=null,this.currentTarget=null,this.eventPhase=vo.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,e&&(this.type=e),t)for(var r in t)this[r]=t[r]}vo.prototype=Object.create(Object.prototype,{constructor:{value:vo},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0)}},initEvent:{value:function(t,r,n){this._initialized=!0,!this._dispatching&&(this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=t,this.bubbles=r,this.cancelable=n)}}})});var hd=ae((JL,i2)=>{"use strict";p();var n2=ma();i2.exports=pd;function pd(){n2.call(this),this.view=null,this.detail=0}pd.prototype=Object.create(n2.prototype,{constructor:{value:pd},initUIEvent:{value:function(e,t,r,n,i){this.initEvent(e,t,r),this.view=n,this.detail=i}}})});var gd=ae((XL,a2)=>{"use strict";p();var o2=hd();a2.exports=md;function md(){o2.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}md.prototype=Object.create(o2.prototype,{constructor:{value:md},initMouseEvent:{value:function(e,t,r,n,i,o,a,s,u,c,l,d,m,f,h){switch(this.initEvent(e,t,r,n,i),this.screenX=o,this.screenY=a,this.clientX=s,this.clientY=u,this.ctrlKey=c,this.altKey=l,this.shiftKey=d,this.metaKey=m,this.button=f,f){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=h}},getModifierState:{value:function(e){switch(e){case"Alt":return this.altKey;case"Control":return this.ctrlKey;case"Shift":return this.shiftKey;case"Meta":return this.metaKey;default:return!1}}}})});var Ac=ae((ZL,u2)=>{"use strict";p();u2.exports=Sc;var wA=1,EA=3,_A=4,vA=5,SA=7,AA=8,kA=9,TA=11,CA=12,DA=13,IA=14,NA=15,RA=17,LA=18,MA=19,OA=20,FA=21,PA=22,BA=23,HA=24,$A=25,UA=[null,"INDEX_SIZE_ERR",null,"HIERARCHY_REQUEST_ERR","WRONG_DOCUMENT_ERR","INVALID_CHARACTER_ERR",null,"NO_MODIFICATION_ALLOWED_ERR","NOT_FOUND_ERR","NOT_SUPPORTED_ERR","INUSE_ATTRIBUTE_ERR","INVALID_STATE_ERR","SYNTAX_ERR","INVALID_MODIFICATION_ERR","NAMESPACE_ERR","INVALID_ACCESS_ERR",null,"TYPE_MISMATCH_ERR","SECURITY_ERR","NETWORK_ERR","ABORT_ERR","URL_MISMATCH_ERR","QUOTA_EXCEEDED_ERR","TIMEOUT_ERR","INVALID_NODE_TYPE_ERR","DATA_CLONE_ERR"],qA=[null,"INDEX_SIZE_ERR (1): the index is not in the allowed range",null,"HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model","WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required","INVALID_CHARACTER_ERR (5): the string contains invalid characters",null,"NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified","NOT_FOUND_ERR (8): the object can not be found here","NOT_SUPPORTED_ERR (9): this operation is not supported","INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute","INVALID_STATE_ERR (11): the object is in an invalid state","SYNTAX_ERR (12): the string did not match the expected pattern","INVALID_MODIFICATION_ERR (13): the object can not be modified in this way","NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML","INVALID_ACCESS_ERR (15): the object does not support the operation or argument",null,"TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type","SECURITY_ERR (18): the operation is insecure","NETWORK_ERR (19): a network error occurred","ABORT_ERR (20): the user aborted an operation","URL_MISMATCH_ERR (21): the given URL does not match another URL","QUOTA_EXCEEDED_ERR (22): the quota has been exceeded","TIMEOUT_ERR (23): a timeout occurred","INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation","DATA_CLONE_ERR (25): the object can not be cloned."],s2={INDEX_SIZE_ERR:wA,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:EA,WRONG_DOCUMENT_ERR:_A,INVALID_CHARACTER_ERR:vA,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:SA,NOT_FOUND_ERR:AA,NOT_SUPPORTED_ERR:kA,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:TA,SYNTAX_ERR:CA,INVALID_MODIFICATION_ERR:DA,NAMESPACE_ERR:IA,INVALID_ACCESS_ERR:NA,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:RA,SECURITY_ERR:LA,NETWORK_ERR:MA,ABORT_ERR:OA,URL_MISMATCH_ERR:FA,QUOTA_EXCEEDED_ERR:PA,TIMEOUT_ERR:BA,INVALID_NODE_TYPE_ERR:HA,DATA_CLONE_ERR:$A};function Sc(e){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=e,this.message=qA[e],this.name=UA[e]}Sc.prototype.__proto__=Error.prototype;for(vc in s2)xd={value:s2[vc]},Object.defineProperty(Sc,vc,xd),Object.defineProperty(Sc.prototype,vc,xd);var xd,vc});var kc=ae(c2=>{p();c2.isApiWritable=!globalThis.__domino_frozen__});var Ct=ae(Ze=>{"use strict";p();var Tt=Ac(),Pt=Tt,WA=kc().isApiWritable;Ze.NAMESPACE={HTML:"http://www.w3.org/1999/xhtml",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink"};Ze.IndexSizeError=function(){throw new Tt(Pt.INDEX_SIZE_ERR)};Ze.HierarchyRequestError=function(){throw new Tt(Pt.HIERARCHY_REQUEST_ERR)};Ze.WrongDocumentError=function(){throw new Tt(Pt.WRONG_DOCUMENT_ERR)};Ze.InvalidCharacterError=function(){throw new Tt(Pt.INVALID_CHARACTER_ERR)};Ze.NoModificationAllowedError=function(){throw new Tt(Pt.NO_MODIFICATION_ALLOWED_ERR)};Ze.NotFoundError=function(){throw new Tt(Pt.NOT_FOUND_ERR)};Ze.NotSupportedError=function(){throw new Tt(Pt.NOT_SUPPORTED_ERR)};Ze.InvalidStateError=function(){throw new Tt(Pt.INVALID_STATE_ERR)};Ze.SyntaxError=function(){throw new Tt(Pt.SYNTAX_ERR)};Ze.InvalidModificationError=function(){throw new Tt(Pt.INVALID_MODIFICATION_ERR)};Ze.NamespaceError=function(){throw new Tt(Pt.NAMESPACE_ERR)};Ze.InvalidAccessError=function(){throw new Tt(Pt.INVALID_ACCESS_ERR)};Ze.TypeMismatchError=function(){throw new Tt(Pt.TYPE_MISMATCH_ERR)};Ze.SecurityError=function(){throw new Tt(Pt.SECURITY_ERR)};Ze.NetworkError=function(){throw new Tt(Pt.NETWORK_ERR)};Ze.AbortError=function(){throw new Tt(Pt.ABORT_ERR)};Ze.UrlMismatchError=function(){throw new Tt(Pt.URL_MISMATCH_ERR)};Ze.QuotaExceededError=function(){throw new Tt(Pt.QUOTA_EXCEEDED_ERR)};Ze.TimeoutError=function(){throw new Tt(Pt.TIMEOUT_ERR)};Ze.InvalidNodeTypeError=function(){throw new Tt(Pt.INVALID_NODE_TYPE_ERR)};Ze.DataCloneError=function(){throw new Tt(Pt.DATA_CLONE_ERR)};Ze.nyi=function(){throw new Error("NotYetImplemented")};Ze.shouldOverride=function(){throw new Error("Abstract function; should be overriding in subclass.")};Ze.assert=function(e,t){if(!e)throw new Error("Assertion failed: "+(t||"")+`
2
+ `+new Error().stack)};Ze.expose=function(e,t){for(var r in e)Object.defineProperty(t.prototype,r,{value:e[r],writable:WA})};Ze.merge=function(e,t){for(var r in t)e[r]=t[r]};Ze.documentOrder=function(e,t){return 3-(e.compareDocumentPosition(t)&6)};Ze.toASCIILowerCase=function(e){return e.replace(/[A-Z]+/g,function(t){return t.toLowerCase()})};Ze.toASCIIUpperCase=function(e){return e.replace(/[a-z]+/g,function(t){return t.toUpperCase()})}});var bd=ae((iM,f2)=>{"use strict";p();var So=ma(),KA=gd(),jA=Ct();f2.exports=l2;function l2(){}l2.prototype={addEventListener:function(t,r,n){if(r){n===void 0&&(n=!1),this._listeners||(this._listeners=Object.create(null)),this._listeners[t]||(this._listeners[t]=[]);for(var i=this._listeners[t],o=0,a=i.length;o<a;o++){var s=i[o];if(s.listener===r&&s.capture===n)return}var u={listener:r,capture:n};typeof r=="function"&&(u.f=r),i.push(u)}},removeEventListener:function(t,r,n){if(n===void 0&&(n=!1),this._listeners){var i=this._listeners[t];if(i)for(var o=0,a=i.length;o<a;o++){var s=i[o];if(s.listener===r&&s.capture===n){i.length===1?this._listeners[t]=void 0:i.splice(o,1);return}}}},dispatchEvent:function(t){return this._dispatchEvent(t,!1)},_dispatchEvent:function(t,r){typeof r!="boolean"&&(r=!1);function n(c,l){var d=l.type,m=l.eventPhase;if(l.currentTarget=c,m!==So.CAPTURING_PHASE&&c._handlers&&c._handlers[d]){var f=c._handlers[d],h;if(typeof f=="function")h=f.call(l.currentTarget,l);else{var b=f.handleEvent;if(typeof b!="function")throw new TypeError("handleEvent property of event handler object isnot a function.");h=b.call(f,l)}l.type==="mouseover"?h===!0&&l.preventDefault():h===!1&&l.preventDefault()}var w=c._listeners&&c._listeners[d];if(w){w=w.slice();for(var D=0,k=w.length;D<k;D++){if(l._immediatePropagationStopped)return;var T=w[D];if(!(m===So.CAPTURING_PHASE&&!T.capture||m===So.BUBBLING_PHASE&&T.capture))if(T.f)T.f.call(l.currentTarget,l);else{var v=T.listener.handleEvent;if(typeof v!="function")throw new TypeError("handleEvent property of event listener object is not a function.");v.call(T.listener,l)}}}}(!t._initialized||t._dispatching)&&jA.InvalidStateError(),t.isTrusted=r,t._dispatching=!0,t.target=this;for(var i=[],o=this.parentNode;o;o=o.parentNode)i.push(o);t.eventPhase=So.CAPTURING_PHASE;for(var a=i.length-1;a>=0&&(n(i[a],t),!t._propagationStopped);a--);if(t._propagationStopped||(t.eventPhase=So.AT_TARGET,n(this,t)),t.bubbles&&!t._propagationStopped){t.eventPhase=So.BUBBLING_PHASE;for(var s=0,u=i.length;s<u&&(n(i[s],t),!t._propagationStopped);s++);}if(t._dispatching=!1,t.eventPhase=So.AT_TARGET,t.currentTarget=null,r&&!t.defaultPrevented&&t instanceof KA)switch(t.type){case"mousedown":this._armed={x:t.clientX,y:t.clientY,t:t.timeStamp};break;case"mouseout":case"mouseover":this._armed=null;break;case"mouseup":this._isClick(t)&&this._doClick(t),this._armed=null;break}return!t.defaultPrevented},_isClick:function(e){return this._armed!==null&&e.type==="mouseup"&&e.isTrusted&&e.button===0&&e.timeStamp-this._armed.t<1e3&&Math.abs(e.clientX-this._armed.x)<10&&Math.abs(e.clientY-this._armed.Y)<10},_doClick:function(e){if(!this._click_in_progress){this._click_in_progress=!0;for(var t=this;t&&!t._post_click_activation_steps;)t=t.parentNode;t&&t._pre_click_activation_steps&&t._pre_click_activation_steps();var r=this.ownerDocument.createEvent("MouseEvent");r.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,null);var n=this._dispatchEvent(r,!0);t&&(n?t._post_click_activation_steps&&t._post_click_activation_steps(r):t._cancelled_activation_steps&&t._cancelled_activation_steps())}},_setEventHandler:function(t,r){this._handlers||(this._handlers=Object.create(null)),this._handlers[t]=r},_getEventHandler:function(t){return this._handlers&&this._handlers[t]||null}}});var yd=ae((aM,d2)=>{"use strict";p();var di=Ct(),an=d2.exports={valid:function(e){return di.assert(e,"list falsy"),di.assert(e._previousSibling,"previous falsy"),di.assert(e._nextSibling,"next falsy"),!0},insertBefore:function(e,t){di.assert(an.valid(e)&&an.valid(t));var r=e,n=e._previousSibling,i=t,o=t._previousSibling;r._previousSibling=o,n._nextSibling=i,o._nextSibling=r,i._previousSibling=n,di.assert(an.valid(e)&&an.valid(t))},replace:function(e,t){di.assert(an.valid(e)&&(t===null||an.valid(t))),t!==null&&an.insertBefore(t,e),an.remove(e),di.assert(an.valid(e)&&(t===null||an.valid(t)))},remove:function(e){di.assert(an.valid(e));var t=e._previousSibling;if(t!==e){var r=e._nextSibling;t._nextSibling=r,r._previousSibling=t,e._previousSibling=e._nextSibling=e,di.assert(an.valid(e))}}}});var wd=ae((uM,w2)=>{"use strict";p();w2.exports={serializeOne:ZA,\u0275escapeMatchingClosingTag:x2,\u0275escapeClosingCommentTag:b2,\u0275escapeProcessingInstructionContent:y2};var g2=Ct(),Ao=g2.NAMESPACE,p2={STYLE:!0,SCRIPT:!0,XMP:!0,IFRAME:!0,NOEMBED:!0,NOFRAMES:!0,PLAINTEXT:!0},VA={area:!0,base:!0,basefont:!0,bgsound:!0,br:!0,col:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},zA={},h2=/[&<>\u00A0]/g,m2=/[&"<>\u00A0]/g;function JA(e){return h2.test(e)?e.replace(h2,t=>{switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case"\xA0":return"&nbsp;"}}):e}function GA(e){return m2.test(e)?e.replace(m2,t=>{switch(t){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";case'"':return"&quot;";case"\xA0":return"&nbsp;"}}):e}function XA(e){var t=e.namespaceURI;return t?t===Ao.XML?"xml:"+e.localName:t===Ao.XLINK?"xlink:"+e.localName:t===Ao.XMLNS?e.localName==="xmlns"?"xmlns":"xmlns:"+e.localName:e.name:e.localName}function x2(e,t){let r="</"+t;if(!e.toLowerCase().includes(r))return e;let n=[...e],i=e.matchAll(new RegExp(r,"ig"));for(let o of i)n[o.index]="&lt;";return n.join("")}var YA=/--!?>/;function b2(e){return YA.test(e)?e.replace(/(--\!?)>/g,"$1&gt;"):e}function y2(e){return e.includes(">")?e.replaceAll(">","&gt;"):e}function ZA(e,t){var r="";switch(e.nodeType){case 1:var n=e.namespaceURI,i=n===Ao.HTML,o=i||n===Ao.SVG||n===Ao.MATHML?e.localName:e.tagName;r+="<"+o;for(var a=0,s=e._numattrs;a<s;a++){var u=e._attr(a);r+=" "+XA(u),u.value!==void 0&&(r+='="'+GA(u.value)+'"')}if(r+=">",!(i&&VA[o])){var c=e.serialize();p2[o.toUpperCase()]&&(c=x2(c,o)),i&&zA[o]&&c.charAt(0)===`
3
+ `&&(r+=`
4
+ `),r+=c,r+="</"+o+">"}break;case 3:case 4:var l;t.nodeType===1&&t.namespaceURI===Ao.HTML?l=t.tagName:l="",p2[l]||l==="NOSCRIPT"&&t.ownerDocument._scripting_enabled?r+=e.data:r+=JA(e.data);break;case 8:r+="<!--"+b2(e.data)+"-->";break;case 7:let d=y2(e.data);r+="<?"+e.target+" "+d+"?>";break;case 10:r+="<!DOCTYPE "+e.name,r+=">";break;default:g2.InvalidStateError()}return r}});var fr=ae((lM,k2)=>{"use strict";p();k2.exports=xt;var A2=bd(),Tc=yd(),E2=wd(),Qe=Ct();function xt(){A2.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var $r=xt.ELEMENT_NODE=1,Ed=xt.ATTRIBUTE_NODE=2,Cc=xt.TEXT_NODE=3,QA=xt.CDATA_SECTION_NODE=4,ek=xt.ENTITY_REFERENCE_NODE=5,_d=xt.ENTITY_NODE=6,_2=xt.PROCESSING_INSTRUCTION_NODE=7,v2=xt.COMMENT_NODE=8,Ms=xt.DOCUMENT_NODE=9,sn=xt.DOCUMENT_TYPE_NODE=10,Ui=xt.DOCUMENT_FRAGMENT_NODE=11,vd=xt.NOTATION_NODE=12,Sd=xt.DOCUMENT_POSITION_DISCONNECTED=1,Ad=xt.DOCUMENT_POSITION_PRECEDING=2,kd=xt.DOCUMENT_POSITION_FOLLOWING=4,S2=xt.DOCUMENT_POSITION_CONTAINS=8,Td=xt.DOCUMENT_POSITION_CONTAINED_BY=16,Cd=xt.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;xt.prototype=Object.create(A2.prototype,{baseURI:{get:Qe.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===$r?this.parentNode:null}},hasChildNodes:{value:Qe.shouldOverride},firstChild:{get:Qe.shouldOverride},lastChild:{get:Qe.shouldOverride},isConnected:{get:function(){let e=this;for(;e!=null;){if(e.nodeType===xt.DOCUMENT_NODE)return!0;e=e.parentNode,e!=null&&e.nodeType===xt.DOCUMENT_FRAGMENT_NODE&&(e=e.host)}return!1}},previousSibling:{get:function(){var e=this.parentNode;return!e||this===e.firstChild?null:this._previousSibling}},nextSibling:{get:function(){var e=this.parentNode,t=this._nextSibling;return!e||t===e.firstChild?null:t}},textContent:{get:function(){return null},set:function(e){}},innerText:{get:function(){return null},set:function(e){}},_countChildrenOfType:{value:function(e){for(var t=0,r=this.firstChild;r!==null;r=r.nextSibling)r.nodeType===e&&t++;return t}},_ensureInsertValid:{value:function(t,r,n){var i=this,o,a;if(!t.nodeType)throw new TypeError("not a node");switch(i.nodeType){case Ms:case Ui:case $r:break;default:Qe.HierarchyRequestError()}switch(t.isAncestor(i)&&Qe.HierarchyRequestError(),(r!==null||!n)&&r.parentNode!==i&&Qe.NotFoundError(),t.nodeType){case Ui:case sn:case $r:case Cc:case _2:case v2:break;default:Qe.HierarchyRequestError()}if(i.nodeType===Ms)switch(t.nodeType){case Cc:Qe.HierarchyRequestError();break;case Ui:switch(t._countChildrenOfType(Cc)>0&&Qe.HierarchyRequestError(),t._countChildrenOfType($r)){case 0:break;case 1:if(r!==null)for(n&&r.nodeType===sn&&Qe.HierarchyRequestError(),a=r.nextSibling;a!==null;a=a.nextSibling)a.nodeType===sn&&Qe.HierarchyRequestError();o=i._countChildrenOfType($r),n?o>0&&Qe.HierarchyRequestError():(o>1||o===1&&r.nodeType!==$r)&&Qe.HierarchyRequestError();break;default:Qe.HierarchyRequestError()}break;case $r:if(r!==null)for(n&&r.nodeType===sn&&Qe.HierarchyRequestError(),a=r.nextSibling;a!==null;a=a.nextSibling)a.nodeType===sn&&Qe.HierarchyRequestError();o=i._countChildrenOfType($r),n?o>0&&Qe.HierarchyRequestError():(o>1||o===1&&r.nodeType!==$r)&&Qe.HierarchyRequestError();break;case sn:if(r===null)i._countChildrenOfType($r)&&Qe.HierarchyRequestError();else for(a=i.firstChild;a!==null&&a!==r;a=a.nextSibling)a.nodeType===$r&&Qe.HierarchyRequestError();o=i._countChildrenOfType(sn),n?o>0&&Qe.HierarchyRequestError():(o>1||o===1&&r.nodeType!==sn)&&Qe.HierarchyRequestError();break}else t.nodeType===sn&&Qe.HierarchyRequestError()}},insertBefore:{value:function(t,r){var n=this;n._ensureInsertValid(t,r,!0);var i=r;return i===t&&(i=t.nextSibling),n.doc.adoptNode(t),t._insertOrReplace(n,i,!1),t}},appendChild:{value:function(e){return this.insertBefore(e,null)}},_appendChild:{value:function(e){e._insertOrReplace(this,null,!1)}},removeChild:{value:function(t){var r=this;if(!t.nodeType)throw new TypeError("not a node");return t.parentNode!==r&&Qe.NotFoundError(),t.remove(),t}},replaceChild:{value:function(t,r){var n=this;return n._ensureInsertValid(t,r,!1),t.doc!==n.doc&&n.doc.adoptNode(t),t._insertOrReplace(n,r,!0),r}},contains:{value:function(t){return t===null?!1:this===t?!0:(this.compareDocumentPosition(t)&Td)!==0}},compareDocumentPosition:{value:function(t){if(this===t)return 0;if(this.doc!==t.doc||this.rooted!==t.rooted)return Sd+Cd;for(var r=[],n=[],i=this;i!==null;i=i.parentNode)r.push(i);for(i=t;i!==null;i=i.parentNode)n.push(i);if(r.reverse(),n.reverse(),r[0]!==n[0])return Sd+Cd;i=Math.min(r.length,n.length);for(var o=1;o<i;o++)if(r[o]!==n[o])return r[o].index<n[o].index?kd:Ad;return r.length<n.length?kd+Td:Ad+S2}},isSameNode:{value:function(t){return this===t}},isEqualNode:{value:function(t){if(!t||t.nodeType!==this.nodeType||!this.isEqual(t))return!1;for(var r=this.firstChild,n=t.firstChild;r&&n;r=r.nextSibling,n=n.nextSibling)if(!r.isEqualNode(n))return!1;return r===null&&n===null}},cloneNode:{value:function(e){var t=this.clone();if(e)for(var r=this.firstChild;r!==null;r=r.nextSibling)t._appendChild(r.cloneNode(!0));return t}},lookupPrefix:{value:function(t){var r;if(t===""||t===null||t===void 0)return null;switch(this.nodeType){case $r:return this._lookupNamespacePrefix(t,this);case Ms:return r=this.documentElement,r?r.lookupPrefix(t):null;case _d:case vd:case Ui:case sn:return null;case Ed:return r=this.ownerElement,r?r.lookupPrefix(t):null;default:return r=this.parentElement,r?r.lookupPrefix(t):null}}},lookupNamespaceURI:{value:function(t){(t===""||t===void 0)&&(t=null);var r;switch(this.nodeType){case $r:return Qe.shouldOverride();case Ms:return r=this.documentElement,r?r.lookupNamespaceURI(t):null;case _d:case vd:case sn:case Ui:return null;case Ed:return r=this.ownerElement,r?r.lookupNamespaceURI(t):null;default:return r=this.parentElement,r?r.lookupNamespaceURI(t):null}}},isDefaultNamespace:{value:function(t){(t===""||t===void 0)&&(t=null);var r=this.lookupNamespaceURI(null);return r===t}},index:{get:function(){var e=this.parentNode;if(this===e.firstChild)return 0;var t=e.childNodes;if(this._index===void 0||t[this._index]!==this){for(var r=0;r<t.length;r++)t[r]._index=r;Qe.assert(t[this._index]===this)}return this._index}},isAncestor:{value:function(e){if(this.doc!==e.doc||this.rooted!==e.rooted)return!1;for(var t=e;t;t=t.parentNode)if(t===this)return!0;return!1}},ensureSameDoc:{value:function(e){e.ownerDocument===null?e.ownerDocument=this.doc:e.ownerDocument!==this.doc&&Qe.WrongDocumentError()}},removeChildren:{value:Qe.shouldOverride},_insertOrReplace:{value:function(t,r,n){var i=this,o,a;if(i.nodeType===Ui&&i.rooted&&Qe.HierarchyRequestError(),t._childNodes&&(o=r===null?t._childNodes.length:r.index,i.parentNode===t)){var s=i.index;s<o&&o--}n&&(r.rooted&&r.doc.mutateRemove(r),r.parentNode=null);var u=r;u===null&&(u=t.firstChild);var c=i.rooted&&t.rooted;if(i.nodeType===Ui){for(var l=[0,n?1:0],d,m=i.firstChild;m!==null;m=d)d=m.nextSibling,l.push(m),m.parentNode=t;var f=l.length;if(n?Tc.replace(u,f>2?l[2]:null):f>2&&u!==null&&Tc.insertBefore(l[2],u),t._childNodes)for(l[0]=r===null?t._childNodes.length:r._index,t._childNodes.splice.apply(t._childNodes,l),a=2;a<f;a++)l[a]._index=l[0]+(a-2);else t._firstChild===r&&(f>2?t._firstChild=l[2]:n&&(t._firstChild=null));if(i._childNodes?i._childNodes.length=0:i._firstChild=null,t.rooted)for(t.modify(),a=2;a<f;a++)t.doc.mutateInsert(l[a])}else{if(r===i)return;c?i._remove():i.parentNode&&i.remove(),i.parentNode=t,n?(Tc.replace(u,i),t._childNodes?(i._index=o,t._childNodes[o]=i):t._firstChild===r&&(t._firstChild=i)):(u!==null&&Tc.insertBefore(i,u),t._childNodes?(i._index=o,t._childNodes.splice(o,0,i)):t._firstChild===r&&(t._firstChild=i)),c?(t.modify(),t.doc.mutateMove(i)):t.rooted&&(t.modify(),t.doc.mutateInsert(i))}}},lastModTime:{get:function(){return this._lastModTime||(this._lastModTime=this.doc.modclock),this._lastModTime}},modify:{value:function(){if(this.doc.modclock)for(var e=++this.doc.modclock,t=this;t;t=t.parentElement)t._lastModTime&&(t._lastModTime=e)}},doc:{get:function(){return this.ownerDocument||this}},rooted:{get:function(){return!!this._nid}},normalize:{value:function(){for(var e,t=this.firstChild;t!==null;t=e)if(e=t.nextSibling,t.normalize&&t.normalize(),t.nodeType===xt.TEXT_NODE){if(t.nodeValue===""){this.removeChild(t);continue}var r=t.previousSibling;r!==null&&r.nodeType===xt.TEXT_NODE&&(r.appendData(t.nodeValue),this.removeChild(t))}}},serialize:{value:function(){if(this._innerHTML)return this._innerHTML;for(var e="",t=this.firstChild;t!==null;t=t.nextSibling)e+=E2.serializeOne(t,this);return e}},outerHTML:{get:function(){return E2.serializeOne(this,{nodeType:0})},set:Qe.nyi},ELEMENT_NODE:{value:$r},ATTRIBUTE_NODE:{value:Ed},TEXT_NODE:{value:Cc},CDATA_SECTION_NODE:{value:QA},ENTITY_REFERENCE_NODE:{value:ek},ENTITY_NODE:{value:_d},PROCESSING_INSTRUCTION_NODE:{value:_2},COMMENT_NODE:{value:v2},DOCUMENT_NODE:{value:Ms},DOCUMENT_TYPE_NODE:{value:sn},DOCUMENT_FRAGMENT_NODE:{value:Ui},NOTATION_NODE:{value:vd},DOCUMENT_POSITION_DISCONNECTED:{value:Sd},DOCUMENT_POSITION_PRECEDING:{value:Ad},DOCUMENT_POSITION_FOLLOWING:{value:kd},DOCUMENT_POSITION_CONTAINS:{value:S2},DOCUMENT_POSITION_CONTAINED_BY:{value:Td},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:Cd}})});var C2=ae((pM,T2)=>{"use strict";p();T2.exports=class extends Array{constructor(t){if(super(t&&t.length||0),t)for(var r in t)this[r]=t[r]}item(t){return this[t]||null}}});var I2=ae((mM,D2)=>{"use strict";p();function tk(e){return this[e]||null}function rk(e){return e||(e=[]),e.item=tk,e}D2.exports=rk});var ko=ae((xM,N2)=>{"use strict";p();var Dd;try{Dd=C2()}catch{Dd=I2()}N2.exports=Dd});var Dc=ae((yM,M2)=>{"use strict";p();M2.exports=L2;var R2=fr(),nk=ko();function L2(){R2.call(this),this._firstChild=this._childNodes=null}L2.prototype=Object.create(R2.prototype,{hasChildNodes:{value:function(){return this._childNodes?this._childNodes.length>0:this._firstChild!==null}},childNodes:{get:function(){return this._ensureChildNodes(),this._childNodes}},firstChild:{get:function(){return this._childNodes?this._childNodes.length===0?null:this._childNodes[0]:this._firstChild}},lastChild:{get:function(){var e=this._childNodes,t;return e?e.length===0?null:e[e.length-1]:(t=this._firstChild,t===null?null:t._previousSibling)}},_ensureChildNodes:{value:function(){if(!this._childNodes){var e=this._firstChild,t=e,r=this._childNodes=new nk;if(e)do r.push(t),t=t._nextSibling;while(t!==e);this._firstChild=null}}},removeChildren:{value:function(){for(var t=this.rooted?this.ownerDocument:null,r=this.firstChild,n;r!==null;)n=r,r=n.nextSibling,t&&t.mutateRemove(n),n.parentNode=null;this._childNodes?this._childNodes.length=0:this._firstChild=null,this.modify()}}})});var Ic=ae(Rd=>{"use strict";p();Rd.isValidName=lk;Rd.isValidQName=fk;var ik=/^[_:A-Za-z][-.:\w]+$/,ok=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,Os="_A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",Fs="-._A-Za-z0-9\xB7\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0300-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",To="["+Os+"]["+Fs+"]*",Id=Os+":",Nd=Fs+":",ak=new RegExp("^["+Id+"]["+Nd+"]*$"),sk=new RegExp("^("+To+"|"+To+":"+To+")$"),O2=/[\uD800-\uDB7F\uDC00-\uDFFF]/,F2=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,P2=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;Os+="\uD800-\u{EFC00}-\uDFFF";Fs+="\uD800-\u{EFC00}-\uDFFF";To="["+Os+"]["+Fs+"]*";Id=Os+":";Nd=Fs+":";var uk=new RegExp("^["+Id+"]["+Nd+"]*$"),ck=new RegExp("^("+To+"|"+To+":"+To+")$");function lk(e){if(ik.test(e)||ak.test(e))return!0;if(!O2.test(e)||!uk.test(e))return!1;var t=e.match(F2),r=e.match(P2);return r!==null&&2*r.length===t.length}function fk(e){if(ok.test(e)||sk.test(e))return!0;if(!O2.test(e)||!ck.test(e))return!1;var t=e.match(F2),r=e.match(P2);return r!==null&&2*r.length===t.length}});var Md=ae(Ld=>{"use strict";p();var B2=Ct();Ld.property=function(e){if(Array.isArray(e.type)){var t=Object.create(null);e.type.forEach(function(i){t[i.value||i]=i.alias||i});var r=e.missing;r===void 0&&(r=null);var n=e.invalid;return n===void 0&&(n=r),{get:function(){var i=this._getattr(e.name);return i===null?r:(i=t[i.toLowerCase()],i!==void 0?i:n!==null?n:i)},set:function(i){this._setattr(e.name,i)}}}else{if(e.type===Boolean)return{get:function(){return this.hasAttribute(e.name)},set:function(i){i?this._setattr(e.name,""):this.removeAttribute(e.name)}};if(e.type===Number||e.type==="long"||e.type==="unsigned long"||e.type==="limited unsigned long with fallback")return dk(e);if(!e.type||e.type===String)return{get:function(){return this._getattr(e.name)||""},set:function(i){e.treatNullAsEmptyString&&i===null&&(i=""),this._setattr(e.name,i)}};if(typeof e.type=="function")return e.type(e.name,e)}throw new Error("Invalid attribute definition")};function dk(e){var t;typeof e.default=="function"?t=e.default:typeof e.default=="number"?t=function(){return e.default}:t=function(){B2.assert(!1,typeof e.default)};var r=e.type==="unsigned long",n=e.type==="long",i=e.type==="limited unsigned long with fallback",o=e.min,a=e.max,s=e.setmin;return o===void 0&&(r&&(o=0),n&&(o=-2147483648),i&&(o=1)),a===void 0&&(r||n||i)&&(a=2147483647),{get:function(){var u=this._getattr(e.name),c=e.float?parseFloat(u):parseInt(u,10);if(u===null||!isFinite(c)||o!==void 0&&c<o||a!==void 0&&c>a)return t.call(this);if(r||n||i){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(u))return t.call(this);c=c|0}return c},set:function(u){e.float||(u=Math.floor(u)),s!==void 0&&u<s&&B2.IndexSizeError(e.name+" set to "+u),r?u=u<0||u>2147483647?t.call(this):u|0:i?u=u<1||u>2147483647?t.call(this):u|0:n&&(u=u<-2147483648||u>2147483647?t.call(this):u|0),this._setattr(e.name,String(u))}}}Ld.registerChangeHandler=function(e,t,r){var n=e.prototype;Object.prototype.hasOwnProperty.call(n,"_attributeChangeHandlers")||(n._attributeChangeHandlers=Object.create(n._attributeChangeHandlers||null)),n._attributeChangeHandlers[t]=r}});var U2=ae((AM,$2)=>{"use strict";p();$2.exports=H2;var pk=fr();function H2(e,t){this.root=e,this.filter=t,this.lastModTime=e.lastModTime,this.done=!1,this.cache=[],this.traverse()}H2.prototype=Object.create(Object.prototype,{length:{get:function(){return this.checkcache(),this.done||this.traverse(),this.cache.length}},item:{value:function(e){return this.checkcache(),!this.done&&e>=this.cache.length&&this.traverse(),this.cache[e]}},checkcache:{value:function(){if(this.lastModTime!==this.root.lastModTime){for(var e=this.cache.length-1;e>=0;e--)this[e]=void 0;this.cache.length=0,this.done=!1,this.lastModTime=this.root.lastModTime}}},traverse:{value:function(e){e!==void 0&&e++;for(var t;(t=this.next())!==null;)if(this[this.cache.length]=t,this.cache.push(t),e&&this.cache.length===e)return;this.done=!0}},next:{value:function(){var e=this.cache.length===0?this.root:this.cache[this.cache.length-1],t;for(e.nodeType===pk.DOCUMENT_NODE?t=e.documentElement:t=e.nextElement(this.root);t;){if(this.filter(t))return t;t=t.nextElement(this.root)}return null}}})});var Fd=ae((TM,K2)=>{"use strict";p();var Od=Ct();K2.exports=W2;function W2(e,t){this._getString=e,this._setString=t,this._length=0,this._lastStringValue="",this._update()}Object.defineProperties(W2.prototype,{length:{get:function(){return this._length}},item:{value:function(e){var t=ga(this);return e<0||e>=t.length?null:t[e]}},contains:{value:function(e){e=String(e);var t=ga(this);return t.indexOf(e)>-1}},add:{value:function(){for(var e=ga(this),t=0,r=arguments.length;t<r;t++){var n=Ps(arguments[t]);e.indexOf(n)<0&&e.push(n)}this._update(e)}},remove:{value:function(){for(var e=ga(this),t=0,r=arguments.length;t<r;t++){var n=Ps(arguments[t]),i=e.indexOf(n);i>-1&&e.splice(i,1)}this._update(e)}},toggle:{value:function(t,r){return t=Ps(t),this.contains(t)?r===void 0||r===!1?(this.remove(t),!1):!0:r===void 0||r===!0?(this.add(t),!0):!1}},replace:{value:function(t,r){String(r)===""&&Od.SyntaxError(),t=Ps(t),r=Ps(r);var n=ga(this),i=n.indexOf(t);if(i<0)return!1;var o=n.indexOf(r);return o<0?n[i]=r:i<o?(n[i]=r,n.splice(o,1)):n.splice(i,1),this._update(n),!0}},toString:{value:function(){return this._getString()}},value:{get:function(){return this._getString()},set:function(e){this._setString(e),this._update()}},_update:{value:function(e){e?(q2(this,e),this._setString(e.join(" ").trim())):q2(this,ga(this)),this._lastStringValue=this._getString()}}});function q2(e,t){var r=e._length,n;for(e._length=t.length,n=0;n<t.length;n++)e[n]=t[n];for(;n<r;n++)e[n]=void 0}function Ps(e){return e=String(e),e===""&&Od.SyntaxError(),/[ \t\r\n\f]/.test(e)&&Od.InvalidCharacterError(),e}function hk(e){for(var t=e._length,r=Array(t),n=0;n<t;n++)r[n]=e[n];return r}function ga(e){var t=e._getString();if(t===e._lastStringValue)return hk(e);var r=t.replace(/(^[ \t\r\n\f]+)|([ \t\r\n\f]+$)/g,"");if(r==="")return[];var n=Object.create(null);return r.split(/[ \t\r\n\f]+/g).filter(function(i){var o="$"+i;return n[o]?!1:(n[o]=!0,!0)})}});var Mc=ae((ya,X2)=>{"use strict";p();var Nc=Object.create(null,{location:{get:function(){throw new Error("window.location is not supported.")}}}),mk=function(e,t){return e.compareDocumentPosition(t)},gk=function(e,t){return mk(e,t)&2?1:-1},Lc=function(e){for(;(e=e.nextSibling)&&e.nodeType!==1;);return e},ba=function(e){for(;(e=e.previousSibling)&&e.nodeType!==1;);return e},xk=function(e){if(e=e.firstChild)for(;e.nodeType!==1&&(e=e.nextSibling););return e},bk=function(e){if(e=e.lastChild)for(;e.nodeType!==1&&(e=e.previousSibling););return e},xa=function(e){if(!e.parentNode)return!1;var t=e.parentNode.nodeType;return t===1||t===9},j2=function(e){if(!e)return e;var t=e[0];return t==='"'||t==="'"?(e[e.length-1]===t?e=e.slice(1,-1):e=e.slice(1),e.replace(Ee.str_escape,function(r){var n=/^\\(?:([0-9A-Fa-f]+)|([\r\n\f]+))/.exec(r);if(!n)return r.slice(1);if(n[2])return"";var i=parseInt(n[1],16);return String.fromCodePoint?String.fromCodePoint(i):String.fromCharCode(i)})):Ee.ident.test(e)?qi(e):e},qi=function(e){return e.replace(Ee.escape,function(t){var r=/^\\([0-9A-Fa-f]+)/.exec(t);if(!r)return t[1];var n=parseInt(r[1],16);return String.fromCodePoint?String.fromCodePoint(n):String.fromCharCode(n)})},yk=(function(){return Array.prototype.indexOf?Array.prototype.indexOf:function(e,t){for(var r=this.length;r--;)if(this[r]===t)return r;return-1}})(),z2=function(e,t){var r=Ee.inside.source.replace(/</g,e).replace(/>/g,t);return new RegExp(r)},Ur=function(e,t,r){return e=e.source,e=e.replace(t,r.source||r),new RegExp(e)},V2=function(e,t){return e.replace(/^(?:\w+:\/\/|\/+)/,"").replace(/(?:\/+|\/*#.*?)$/,"").split("/",t).join("/")},wk=function(e,t){var r=e.replace(/\s+/g,""),n;return r==="even"?r="2n+0":r==="odd"?r="2n+1":r.indexOf("n")===-1&&(r="0n"+r),n=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(r),{group:n[1]==="-"?-(n[2]||1):+(n[2]||1),offset:n[4]?n[3]==="-"?-n[4]:+n[4]:0}},Pd=function(e,t,r){var n=wk(e),i=n.group,o=n.offset,a=r?bk:xk,s=r?ba:Lc;return function(u){if(xa(u))for(var c=a(u.parentNode),l=0;c;){if(t(c,u)&&l++,c===u)return l-=o,i&&l?l%i===0&&l<0==i<0:!l;c=s(c)}}},or={"*":(function(){return function(){return!0}})(),type:function(e){return e=e.toLowerCase(),function(t){return t.nodeName.toLowerCase()===e}},attr:function(e,t,r,n){return t=J2[t],function(i){var o;switch(e){case"for":o=i.htmlFor;break;case"class":o=i.className,o===""&&i.getAttribute("class")==null&&(o=null);break;case"href":case"src":o=i.getAttribute(e,2);break;case"title":o=i.getAttribute("title")||null;break;case"id":case"lang":case"dir":case"accessKey":case"hidden":case"tabIndex":case"style":if(i.getAttribute){o=i.getAttribute(e);break}default:if(i.hasAttribute&&!i.hasAttribute(e))break;o=i[e]!=null?i[e]:i.getAttribute&&i.getAttribute(e);break}if(o!=null)return o=o+"",n&&(o=o.toLowerCase(),r=r.toLowerCase()),t(o,r)}},":first-child":function(e){return!ba(e)&&xa(e)},":last-child":function(e){return!Lc(e)&&xa(e)},":only-child":function(e){return!ba(e)&&!Lc(e)&&xa(e)},":nth-child":function(e,t){return Pd(e,function(){return!0},t)},":nth-last-child":function(e){return or[":nth-child"](e,!0)},":root":function(e){return e.ownerDocument.documentElement===e},":empty":function(e){return!e.firstChild},":not":function(e){var t=Hd(e);return function(r){return!t(r)}},":first-of-type":function(e){if(xa(e)){for(var t=e.nodeName;e=ba(e);)if(e.nodeName===t)return;return!0}},":last-of-type":function(e){if(xa(e)){for(var t=e.nodeName;e=Lc(e);)if(e.nodeName===t)return;return!0}},":only-of-type":function(e){return or[":first-of-type"](e)&&or[":last-of-type"](e)},":nth-of-type":function(e,t){return Pd(e,function(r,n){return r.nodeName===n.nodeName},t)},":nth-last-of-type":function(e){return or[":nth-of-type"](e,!0)},":checked":function(e){return!!(e.checked||e.selected)},":indeterminate":function(e){return!or[":checked"](e)},":enabled":function(e){return!e.disabled&&e.type!=="hidden"},":disabled":function(e){return!!e.disabled},":target":function(e){return e.id===Nc.location.hash.substring(1)},":focus":function(e){return e===e.ownerDocument.activeElement},":is":function(e){return Hd(e)},":matches":function(e){return or[":is"](e)},":nth-match":function(e,t){var r=e.split(/\s*,\s*/),n=r.shift(),i=Hd(r.join(","));return Pd(n,i,t)},":nth-last-match":function(e){return or[":nth-match"](e,!0)},":links-here":function(e){return e+""==Nc.location+""},":lang":function(e){return function(t){for(;t;){if(t.lang)return t.lang.indexOf(e)===0;t=t.parentNode}}},":dir":function(e){return function(t){for(;t;){if(t.dir)return t.dir===e;t=t.parentNode}}},":scope":function(e,t){var r=t||e.ownerDocument;return r.nodeType===9?e===r.documentElement:e===r},":any-link":function(e){return typeof e.href=="string"},":local-link":function(e){if(e.nodeName)return e.href&&e.host===Nc.location.host;var t=+e+1;return function(r){if(r.href){var n=Nc.location+"",i=r+"";return V2(n,t)===V2(i,t)}}},":default":function(e){return!!e.defaultSelected},":valid":function(e){return e.willValidate||e.validity&&e.validity.valid},":invalid":function(e){return!or[":valid"](e)},":in-range":function(e){return e.value>e.min&&e.value<=e.max},":out-of-range":function(e){return!or[":in-range"](e)},":required":function(e){return!!e.required},":optional":function(e){return!e.required},":read-only":function(e){if(e.readOnly)return!0;var t=e.getAttribute("contenteditable"),r=e.contentEditable,n=e.nodeName.toLowerCase();return n=n!=="input"&&n!=="textarea",(n||e.disabled)&&t==null&&r!=="true"},":read-write":function(e){return!or[":read-only"](e)},":hover":function(){throw new Error(":hover is not supported.")},":active":function(){throw new Error(":active is not supported.")},":link":function(){throw new Error(":link is not supported.")},":visited":function(){throw new Error(":visited is not supported.")},":column":function(){throw new Error(":column is not supported.")},":nth-column":function(){throw new Error(":nth-column is not supported.")},":nth-last-column":function(){throw new Error(":nth-last-column is not supported.")},":current":function(){throw new Error(":current is not supported.")},":past":function(){throw new Error(":past is not supported.")},":future":function(){throw new Error(":future is not supported.")},":contains":function(e){return function(t){var r=t.innerText||t.textContent||t.value||"";return r.indexOf(e)!==-1}},":has":function(e){return function(t){return G2(e,t).length>0}}},J2={"-":function(){return!0},"=":function(e,t){return e===t},"*=":function(e,t){return e.indexOf(t)!==-1},"~=":function(e,t){var r,n,i,o;for(n=0;;n=r+1){if(r=e.indexOf(t,n),r===-1)return!1;if(i=e[r-1],o=e[r+t.length],(!i||i===" ")&&(!o||o===" "))return!0}},"|=":function(e,t){var r=e.indexOf(t),n;if(r===0)return n=e[r+t.length],n==="-"||!n},"^=":function(e,t){return e.indexOf(t)===0},"$=":function(e,t){var r=e.lastIndexOf(t);return r!==-1&&r+t.length===e.length},"!=":function(e,t){return e!==t}},Bs={" ":function(e){return function(t){for(;t=t.parentNode;)if(e(t))return t}},">":function(e){return function(t){if(t=t.parentNode)return e(t)&&t}},"+":function(e){return function(t){if(t=ba(t))return e(t)&&t}},"~":function(e){return function(t){for(;t=ba(t);)if(e(t))return t}},noop:function(e){return function(t){return e(t)&&t}},ref:function(e,t){var r;function n(i){for(var o=i.ownerDocument,a=o.getElementsByTagName("*"),s=a.length;s--;)if(r=a[s],n.test(i))return r=null,!0;r=null}return n.combinator=function(i){if(!(!r||!r.getAttribute)){var o=r.getAttribute(t)||"";if(o[0]==="#"&&(o=o.substring(1)),o===i.id&&e(r))return r}},n}},Ee={escape:/\\(?:[^0-9A-Fa-f\r\n]|[0-9A-Fa-f]{1,6}[\r\n\t ]?)/g,str_escape:/(escape)|\\(\n|\r\n?|\f)/g,nonascii:/[\u00A0-\uFFFF]/,cssid:/(?:(?!-?[0-9])(?:escape|nonascii|[-_a-zA-Z0-9])+)/,qname:/^ *(cssid|\*)/,simple:/^(?:([.#]cssid)|pseudo|attr)/,ref:/^ *\/(cssid)\/ */,combinator:/^(?: +([^ \w*.#\\]) +|( )+|([^ \w*.#\\]))(?! *$)/,attr:/^\[(cssid)(?:([^\w]?=)(inside))?\]/,pseudo:/^(:cssid)(?:\((inside)\))?/,inside:/(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|<[^"'>]*>|\\["'>]|[^"'>])*/,ident:/^(cssid)$/};Ee.cssid=Ur(Ee.cssid,"nonascii",Ee.nonascii);Ee.cssid=Ur(Ee.cssid,"escape",Ee.escape);Ee.qname=Ur(Ee.qname,"cssid",Ee.cssid);Ee.simple=Ur(Ee.simple,"cssid",Ee.cssid);Ee.ref=Ur(Ee.ref,"cssid",Ee.cssid);Ee.attr=Ur(Ee.attr,"cssid",Ee.cssid);Ee.pseudo=Ur(Ee.pseudo,"cssid",Ee.cssid);Ee.inside=Ur(Ee.inside,`[^"'>]*`,Ee.inside);Ee.attr=Ur(Ee.attr,"inside",z2("\\[","\\]"));Ee.pseudo=Ur(Ee.pseudo,"inside",z2("\\(","\\)"));Ee.simple=Ur(Ee.simple,"pseudo",Ee.pseudo);Ee.simple=Ur(Ee.simple,"attr",Ee.attr);Ee.ident=Ur(Ee.ident,"cssid",Ee.cssid);Ee.str_escape=Ur(Ee.str_escape,"escape",Ee.escape);var Hs=function(e){for(var t=e.replace(/^\s+|\s+$/g,""),r,n=[],i=[],o,a,s,u,c;t;){if(s=Ee.qname.exec(t))t=t.substring(s[0].length),a=qi(s[1]),i.push(Rc(a,!0));else if(s=Ee.simple.exec(t))t=t.substring(s[0].length),a="*",i.push(Rc(a,!0)),i.push(Rc(s));else throw new SyntaxError("Invalid selector.");for(;s=Ee.simple.exec(t);)t=t.substring(s[0].length),i.push(Rc(s));if(t[0]==="!"&&(t=t.substring(1),o=_k(),o.qname=a,i.push(o.simple)),s=Ee.ref.exec(t)){t=t.substring(s[0].length),c=Bs.ref(Bd(i),qi(s[1])),n.push(c.combinator),i=[];continue}if(s=Ee.combinator.exec(t)){if(t=t.substring(s[0].length),u=s[1]||s[2]||s[3],u===","){n.push(Bs.noop(Bd(i)));break}}else u="noop";if(!Bs[u])throw new SyntaxError("Bad combinator.");n.push(Bs[u](Bd(i))),i=[]}return r=Ek(n),r.qname=a,r.sel=t,o&&(o.lname=r.qname,o.test=r,o.qname=o.qname,o.sel=r.sel,r=o),c&&(c.test=r,c.qname=r.qname,c.sel=r.sel,r=c),r},Rc=function(e,t){if(t)return e==="*"?or["*"]:or.type(e);if(e[1])return e[1][0]==="."?or.attr("class","~=",qi(e[1].substring(1)),!1):or.attr("id","=",qi(e[1].substring(1)),!1);if(e[2])return e[3]?or[qi(e[2])](j2(e[3])):or[qi(e[2])];if(e[4]){var r=e[6],n=/["'\s]\s*I$/i.test(r);return n&&(r=r.replace(/\s*I$/i,"")),or.attr(qi(e[4]),e[5]||"-",j2(r),n)}throw new SyntaxError("Unknown Selector.")},Bd=function(e){var t=e.length,r;return t<2?e[0]:function(n){if(n){for(r=0;r<t;r++)if(!e[r](n))return;return!0}}},Ek=function(e){return e.length<2?function(t){return!!e[0](t)}:function(t){for(var r=e.length;r--;)if(!(t=e[r](t)))return;return!0}},_k=function(){var e;function t(r){for(var n=r.ownerDocument,i=n.getElementsByTagName(t.lname),o=i.length;o--;)if(t.test(i[o])&&e===r)return e=null,!0;e=null}return t.simple=function(r){return e=r,!0},t},Hd=function(e){for(var t=Hs(e),r=[t];t.sel;)t=Hs(t.sel),r.push(t);return r.length<2?t:function(n){for(var i=r.length,o=0;o<i;o++)if(r[o](n))return!0}},G2=function(e,t){for(var r=[],n=Hs(e),i=t.getElementsByTagName(n.qname),o=0,a;a=i[o++];)n(a)&&r.push(a);if(n.sel){for(;n.sel;)for(n=Hs(n.sel),i=t.getElementsByTagName(n.qname),o=0;a=i[o++];)n(a)&&yk.call(r,a)===-1&&r.push(a);r.sort(gk)}return r};X2.exports=ya=function(e,t){var r,n;if(t.nodeType!==11&&e.indexOf(" ")===-1){if(e[0]==="#"&&t.rooted&&/^#[A-Z_][-A-Z0-9_]*$/i.test(e)&&t.doc._hasMultipleElementsWithId&&(r=e.substring(1),!t.doc._hasMultipleElementsWithId(r)))return n=t.doc.getElementById(r),n?[n]:[];if(e[0]==="."&&/^\.\w+$/.test(e))return t.getElementsByClassName(e.substring(1));if(/^\w+$/.test(e))return t.getElementsByTagName(e)}return G2(e,t)};ya.selectors=or;ya.operators=J2;ya.combinators=Bs;ya.matches=function(e,t){var r={sel:t};do if(r=Hs(r.sel),r(e))return!0;while(r.sel);return!1}});var Oc=ae((IM,Y2)=>{"use strict";p();var vk=fr(),Sk=yd(),$d=function(e,t){for(var r=e.createDocumentFragment(),n=0;n<t.length;n++){var i=t[n],o=i instanceof vk;r.appendChild(o?i:e.createTextNode(String(i)))}return r},Ak={after:{value:function(){var t=Array.prototype.slice.call(arguments),r=this.parentNode,n=this.nextSibling;if(r!==null){for(;n&&t.some(function(o){return o===n});)n=n.nextSibling;var i=$d(this.doc,t);r.insertBefore(i,n)}}},before:{value:function(){var t=Array.prototype.slice.call(arguments),r=this.parentNode,n=this.previousSibling;if(r!==null){for(;n&&t.some(function(a){return a===n});)n=n.previousSibling;var i=$d(this.doc,t),o=n?n.nextSibling:r.firstChild;r.insertBefore(i,o)}}},remove:{value:function(){this.parentNode!==null&&(this.doc&&(this.doc._preremoveNodeIterators(this),this.rooted&&this.doc.mutateRemove(this)),this._remove(),this.parentNode=null)}},_remove:{value:function(){var t=this.parentNode;t!==null&&(t._childNodes?t._childNodes.splice(this.index,1):t._firstChild===this&&(this._nextSibling===this?t._firstChild=null:t._firstChild=this._nextSibling),Sk.remove(this),t.modify())}},replaceWith:{value:function(){var t=Array.prototype.slice.call(arguments),r=this.parentNode,n=this.nextSibling;if(r!==null){for(;n&&t.some(function(o){return o===n});)n=n.nextSibling;var i=$d(this.doc,t);this.parentNode===r?r.replaceChild(i,this):r.insertBefore(i,n)}}}};Y2.exports=Ak});var Ud=ae((RM,Q2)=>{"use strict";p();var Z2=fr(),kk={nextElementSibling:{get:function(){if(this.parentNode){for(var e=this.nextSibling;e!==null;e=e.nextSibling)if(e.nodeType===Z2.ELEMENT_NODE)return e}return null}},previousElementSibling:{get:function(){if(this.parentNode){for(var e=this.previousSibling;e!==null;e=e.previousSibling)if(e.nodeType===Z2.ELEMENT_NODE)return e}return null}}};Q2.exports=kk});var qd=ae((MM,tb)=>{"use strict";p();tb.exports=eb;var wa=Ct();function eb(e){this.element=e}Object.defineProperties(eb.prototype,{length:{get:wa.shouldOverride},item:{value:wa.shouldOverride},getNamedItem:{value:function(t){return this.element.getAttributeNode(t)}},getNamedItemNS:{value:function(t,r){return this.element.getAttributeNodeNS(t,r)}},setNamedItem:{value:wa.nyi},setNamedItemNS:{value:wa.nyi},removeNamedItem:{value:function(t){var r=this.element.getAttributeNode(t);if(r)return this.element.removeAttribute(t),r;wa.NotFoundError()}},removeNamedItemNS:{value:function(t,r){var n=this.element.getAttributeNodeNS(t,r);if(n)return this.element.removeAttributeNS(t,r),n;wa.NotFoundError()}}})});var _a=ae((FM,ab)=>{"use strict";p();ab.exports=Wi;var Wd=Ic(),vt=Ct(),qn=vt.NAMESPACE,Pc=Md(),wn=fr(),Kd=ko(),Tk=wd(),Fc=U2(),Ea=Ac(),Ck=Fd(),jd=Mc(),nb=Dc(),Dk=Oc(),Ik=Ud(),ib=qd(),rb=Object.create(null);function Wi(e,t,r,n){nb.call(this),this.nodeType=wn.ELEMENT_NODE,this.ownerDocument=e,this.localName=t,this.namespaceURI=r,this.prefix=n,this._tagName=void 0,this._attrsByQName=Object.create(null),this._attrsByLName=Object.create(null),this._attrKeys=[]}function Vd(e,t){if(e.nodeType===wn.TEXT_NODE)t.push(e._data);else for(var r=0,n=e.childNodes.length;r<n;r++)Vd(e.childNodes[r],t)}Wi.prototype=Object.create(nb.prototype,{isHTML:{get:function(){return this.namespaceURI===qn.HTML&&this.ownerDocument.isHTML}},tagName:{get:function(){if(this._tagName===void 0){var t;if(this.prefix===null?t=this.localName:t=this.prefix+":"+this.localName,this.isHTML){var r=rb[t];r||(rb[t]=r=vt.toASCIIUpperCase(t)),t=r}this._tagName=t}return this._tagName}},nodeName:{get:function(){return this.tagName}},nodeValue:{get:function(){return null},set:function(){}},textContent:{get:function(){var e=[];return Vd(this,e),e.join("")},set:function(e){this.removeChildren(),e!=null&&e!==""&&this._appendChild(this.ownerDocument.createTextNode(e))}},innerText:{get:function(){var e=[];return Vd(this,e),e.join("").replace(/[ \t\n\f\r]+/g," ").trim()},set:function(e){this.removeChildren(),e!=null&&e!==""&&this._appendChild(this.ownerDocument.createTextNode(e))}},innerHTML:{get:function(){return this.serialize()},set:vt.nyi},outerHTML:{get:function(){return Tk.serializeOne(this,{nodeType:0})},set:function(e){var t=this.ownerDocument,r=this.parentNode;if(r!==null){r.nodeType===wn.DOCUMENT_NODE&&vt.NoModificationAllowedError(),r.nodeType===wn.DOCUMENT_FRAGMENT_NODE&&(r=r.ownerDocument.createElement("body"));var n=t.implementation.mozHTMLParser(t._address,r);n.parse(e===null?"":String(e),!0),this.replaceWith(n._asDocumentFragment())}}},_insertAdjacent:{value:function(t,r){var n=!1;switch(t){case"beforebegin":n=!0;case"afterend":var i=this.parentNode;return i===null?null:i.insertBefore(r,n?this:this.nextSibling);case"afterbegin":n=!0;case"beforeend":return this.insertBefore(r,n?this.firstChild:null);default:return vt.SyntaxError()}}},insertAdjacentElement:{value:function(t,r){if(r.nodeType!==wn.ELEMENT_NODE)throw new TypeError("not an element");return t=vt.toASCIILowerCase(String(t)),this._insertAdjacent(t,r)}},insertAdjacentText:{value:function(t,r){var n=this.ownerDocument.createTextNode(r);t=vt.toASCIILowerCase(String(t)),this._insertAdjacent(t,n)}},insertAdjacentHTML:{value:function(t,r){t=vt.toASCIILowerCase(String(t)),r=String(r);var n;switch(t){case"beforebegin":case"afterend":n=this.parentNode,(n===null||n.nodeType===wn.DOCUMENT_NODE)&&vt.NoModificationAllowedError();break;case"afterbegin":case"beforeend":n=this;break;default:vt.SyntaxError()}(!(n instanceof Wi)||n.ownerDocument.isHTML&&n.localName==="html"&&n.namespaceURI===qn.HTML)&&(n=n.ownerDocument.createElementNS(qn.HTML,"body"));var i=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,n);i.parse(r,!0),this._insertAdjacent(t,i._asDocumentFragment())}},children:{get:function(){return this._children||(this._children=new ob(this)),this._children}},attributes:{get:function(){return this._attributes||(this._attributes=new Jd(this)),this._attributes}},firstElementChild:{get:function(){for(var e=this.firstChild;e!==null;e=e.nextSibling)if(e.nodeType===wn.ELEMENT_NODE)return e;return null}},lastElementChild:{get:function(){for(var e=this.lastChild;e!==null;e=e.previousSibling)if(e.nodeType===wn.ELEMENT_NODE)return e;return null}},childElementCount:{get:function(){return this.children.length}},nextElement:{value:function(e){e||(e=this.ownerDocument.documentElement);var t=this.firstElementChild;if(!t){if(this===e)return null;t=this.nextElementSibling}if(t)return t;for(var r=this.parentElement;r&&r!==e;r=r.parentElement)if(t=r.nextElementSibling,t)return t;return null}},getElementsByTagName:{value:function(t){var r;return t?(t==="*"?r=function(){return!0}:this.isHTML?r=Nk(t):r=zd(t),new Fc(this,r)):new Kd}},getElementsByTagNameNS:{value:function(t,r){var n;return t==="*"&&r==="*"?n=function(){return!0}:t==="*"?n=zd(r):r==="*"?n=Rk(t):n=Lk(t,r),new Fc(this,n)}},getElementsByClassName:{value:function(t){if(t=String(t).trim(),t===""){var r=new Kd;return r}return t=t.split(/[ \t\r\n\f]+/),new Fc(this,Mk(t))}},getElementsByName:{value:function(t){return new Fc(this,Ok(String(t)))}},clone:{value:function(){var t;this.namespaceURI!==qn.HTML||this.prefix||!this.ownerDocument.isHTML?t=this.ownerDocument.createElementNS(this.namespaceURI,this.prefix!==null?this.prefix+":"+this.localName:this.localName):t=this.ownerDocument.createElement(this.localName);for(var r=0,n=this._attrKeys.length;r<n;r++){var i=this._attrKeys[r],o=this._attrsByLName[i],a=o.cloneNode();a._setOwnerElement(t),t._attrsByLName[i]=a,t._addQName(a)}return t._attrKeys=this._attrKeys.concat(),t}},isEqual:{value:function(t){if(this.localName!==t.localName||this.namespaceURI!==t.namespaceURI||this.prefix!==t.prefix||this._numattrs!==t._numattrs)return!1;for(var r=0,n=this._numattrs;r<n;r++){var i=this._attr(r);if(!t.hasAttributeNS(i.namespaceURI,i.localName)||t.getAttributeNS(i.namespaceURI,i.localName)!==i.value)return!1}return!0}},_lookupNamespacePrefix:{value:function(t,r){if(this.namespaceURI&&this.namespaceURI===t&&this.prefix!==null&&r.lookupNamespaceURI(this.prefix)===t)return this.prefix;for(var n=0,i=this._numattrs;n<i;n++){var o=this._attr(n);if(o.prefix==="xmlns"&&o.value===t&&r.lookupNamespaceURI(o.localName)===t)return o.localName}var a=this.parentElement;return a?a._lookupNamespacePrefix(t,r):null}},lookupNamespaceURI:{value:function(t){if((t===""||t===void 0)&&(t=null),this.namespaceURI!==null&&this.prefix===t)return this.namespaceURI;for(var r=0,n=this._numattrs;r<n;r++){var i=this._attr(r);if(i.namespaceURI===qn.XMLNS&&(i.prefix==="xmlns"&&i.localName===t||t===null&&i.prefix===null&&i.localName==="xmlns"))return i.value||null}var o=this.parentElement;return o?o.lookupNamespaceURI(t):null}},getAttribute:{value:function(t){var r=this.getAttributeNode(t);return r?r.value:null}},getAttributeNS:{value:function(t,r){var n=this.getAttributeNodeNS(t,r);return n?n.value:null}},getAttributeNode:{value:function(t){t=String(t),/[A-Z]/.test(t)&&this.isHTML&&(t=vt.toASCIILowerCase(t));var r=this._attrsByQName[t];return r?(Array.isArray(r)&&(r=r[0]),r):null}},getAttributeNodeNS:{value:function(t,r){t=t==null?"":String(t),r=String(r);var n=this._attrsByLName[t+"|"+r];return n||null}},hasAttribute:{value:function(t){return t=String(t),/[A-Z]/.test(t)&&this.isHTML&&(t=vt.toASCIILowerCase(t)),this._attrsByQName[t]!==void 0}},hasAttributeNS:{value:function(t,r){t=t==null?"":String(t),r=String(r);var n=t+"|"+r;return this._attrsByLName[n]!==void 0}},hasAttributes:{value:function(){return this._numattrs>0}},toggleAttribute:{value:function(t,r){t=String(t),Wd.isValidName(t)||vt.InvalidCharacterError(),/[A-Z]/.test(t)&&this.isHTML&&(t=vt.toASCIILowerCase(t));var n=this._attrsByQName[t];return n===void 0?r===void 0||r===!0?(this._setAttribute(t,""),!0):!1:r===void 0||r===!1?(this.removeAttribute(t),!1):!0}},_setAttribute:{value:function(t,r){var n=this._attrsByQName[t],i;n?Array.isArray(n)&&(n=n[0]):(n=this._newattr(t),i=!0),n.value=r,this._attributes&&(this._attributes[t]=n),i&&this._newattrhook&&this._newattrhook(t,r)}},setAttribute:{value:function(t,r){t=String(t),Wd.isValidName(t)||vt.InvalidCharacterError(),/[A-Z]/.test(t)&&this.isHTML&&(t=vt.toASCIILowerCase(t)),this._setAttribute(t,String(r))}},_setAttributeNS:{value:function(t,r,n){var i=r.indexOf(":"),o,a;i<0?(o=null,a=r):(o=r.substring(0,i),a=r.substring(i+1)),(t===""||t===void 0)&&(t=null);var s=(t===null?"":t)+"|"+a,u=this._attrsByLName[s],c;u||(u=new $s(this,a,o,t),c=!0,this._attrsByLName[s]=u,this._attributes&&(this._attributes[this._attrKeys.length]=u),this._attrKeys.push(s),this._addQName(u)),u.value=n,c&&this._newattrhook&&this._newattrhook(r,n)}},setAttributeNS:{value:function(t,r,n){t=t==null||t===""?null:String(t),r=String(r),Wd.isValidQName(r)||vt.InvalidCharacterError();var i=r.indexOf(":"),o=i<0?null:r.substring(0,i);(o!==null&&t===null||o==="xml"&&t!==qn.XML||(r==="xmlns"||o==="xmlns")&&t!==qn.XMLNS||t===qn.XMLNS&&!(r==="xmlns"||o==="xmlns"))&&vt.NamespaceError(),this._setAttributeNS(t,r,String(n))}},setAttributeNode:{value:function(t){if(t.ownerElement!==null&&t.ownerElement!==this)throw new Ea(Ea.INUSE_ATTRIBUTE_ERR);var r=null,n=this._attrsByQName[t.name];if(n){if(Array.isArray(n)||(n=[n]),n.some(function(i){return i===t}))return t;if(t.ownerElement!==null)throw new Ea(Ea.INUSE_ATTRIBUTE_ERR);n.forEach(function(i){this.removeAttributeNode(i)},this),r=n[0]}return this.setAttributeNodeNS(t),r}},setAttributeNodeNS:{value:function(t){if(t.ownerElement!==null)throw new Ea(Ea.INUSE_ATTRIBUTE_ERR);var r=t.namespaceURI,n=(r===null?"":r)+"|"+t.localName,i=this._attrsByLName[n];return i&&this.removeAttributeNode(i),t._setOwnerElement(this),this._attrsByLName[n]=t,this._attributes&&(this._attributes[this._attrKeys.length]=t),this._attrKeys.push(n),this._addQName(t),this._newattrhook&&this._newattrhook(t.name,t.value),i||null}},removeAttribute:{value:function(t){t=String(t),/[A-Z]/.test(t)&&this.isHTML&&(t=vt.toASCIILowerCase(t));var r=this._attrsByQName[t];if(r){Array.isArray(r)?r.length>2?r=r.shift():(this._attrsByQName[t]=r[1],r=r[0]):this._attrsByQName[t]=void 0;var n=r.namespaceURI,i=(n===null?"":n)+"|"+r.localName;this._attrsByLName[i]=void 0;var o=this._attrKeys.indexOf(i);this._attributes&&(Array.prototype.splice.call(this._attributes,o,1),this._attributes[t]=void 0),this._attrKeys.splice(o,1);var a=r.onchange;r._setOwnerElement(null),a&&a.call(r,this,r.localName,r.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(r)}}},removeAttributeNS:{value:function(t,r){t=t==null?"":String(t),r=String(r);var n=t+"|"+r,i=this._attrsByLName[n];if(i){this._attrsByLName[n]=void 0;var o=this._attrKeys.indexOf(n);this._attributes&&Array.prototype.splice.call(this._attributes,o,1),this._attrKeys.splice(o,1),this._removeQName(i);var a=i.onchange;i._setOwnerElement(null),a&&a.call(i,this,i.localName,i.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(i)}}},removeAttributeNode:{value:function(t){var r=t.namespaceURI,n=(r===null?"":r)+"|"+t.localName;return this._attrsByLName[n]!==t&&vt.NotFoundError(),this.removeAttributeNS(r,t.localName),t}},getAttributeNames:{value:function(){var t=this;return this._attrKeys.map(function(r){return t._attrsByLName[r].name})}},_getattr:{value:function(t){var r=this._attrsByQName[t];return r?r.value:null}},_setattr:{value:function(t,r){var n=this._attrsByQName[t],i;n||(n=this._newattr(t),i=!0),n.value=String(r),this._attributes&&(this._attributes[t]=n),i&&this._newattrhook&&this._newattrhook(t,r)}},_newattr:{value:function(t){var r=new $s(this,t,null,null),n="|"+t;return this._attrsByQName[t]=r,this._attrsByLName[n]=r,this._attributes&&(this._attributes[this._attrKeys.length]=r),this._attrKeys.push(n),r}},_addQName:{value:function(e){var t=e.name,r=this._attrsByQName[t];r?Array.isArray(r)?r.push(e):this._attrsByQName[t]=[r,e]:this._attrsByQName[t]=e,this._attributes&&(this._attributes[t]=e)}},_removeQName:{value:function(e){var t=e.name,r=this._attrsByQName[t];if(Array.isArray(r)){var n=r.indexOf(e);vt.assert(n!==-1),r.length===2?(this._attrsByQName[t]=r[1-n],this._attributes&&(this._attributes[t]=this._attrsByQName[t])):(r.splice(n,1),this._attributes&&this._attributes[t]===e&&(this._attributes[t]=r[0]))}else vt.assert(r===e),this._attrsByQName[t]=void 0,this._attributes&&(this._attributes[t]=void 0)}},_numattrs:{get:function(){return this._attrKeys.length}},_attr:{value:function(e){return this._attrsByLName[this._attrKeys[e]]}},id:Pc.property({name:"id"}),className:Pc.property({name:"class"}),classList:{get:function(){var e=this;if(this._classList)return this._classList;var t=new Ck(function(){return e.className||""},function(r){e.className=r});return this._classList=t,t},set:function(e){this.className=e}},matches:{value:function(e){return jd.matches(this,e)}},closest:{value:function(e){var t=this;do{if(t.matches&&t.matches(e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===wn.ELEMENT_NODE);return null}},querySelector:{value:function(e){return jd(e,this)[0]}},querySelectorAll:{value:function(e){var t=jd(e,this);return t.item?t:new Kd(t)}}});Object.defineProperties(Wi.prototype,Dk);Object.defineProperties(Wi.prototype,Ik);Pc.registerChangeHandler(Wi,"id",function(e,t,r,n){e.rooted&&(r&&e.ownerDocument.delId(r,e),n&&e.ownerDocument.addId(n,e))});Pc.registerChangeHandler(Wi,"class",function(e,t,r,n){e._classList&&e._classList._update()});function $s(e,t,r,n,i){this.localName=t,this.prefix=r===null||r===""?null:""+r,this.namespaceURI=n===null||n===""?null:""+n,this.data=i,this._setOwnerElement(e)}$s.prototype=Object.create(Object.prototype,{ownerElement:{get:function(){return this._ownerElement}},_setOwnerElement:{value:function(t){this._ownerElement=t,this.prefix===null&&this.namespaceURI===null&&t?this.onchange=t._attributeChangeHandlers[this.localName]:this.onchange=null}},name:{get:function(){return this.prefix?this.prefix+":"+this.localName:this.localName}},specified:{get:function(){return!0}},value:{get:function(){return this.data},set:function(e){var t=this.data;e=e===void 0?"":e+"",e!==t&&(this.data=e,this.ownerElement&&(this.onchange&&this.onchange(this.ownerElement,this.localName,t,e),this.ownerElement.rooted&&this.ownerElement.ownerDocument.mutateAttr(this,t)))}},cloneNode:{value:function(t){return new $s(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return wn.ATTRIBUTE_NODE}},nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return this.value},set:function(e){this.value=e}},textContent:{get:function(){return this.value},set:function(e){e==null&&(e=""),this.value=e}},innerText:{get:function(){return this.value},set:function(e){e==null&&(e=""),this.value=e}}});Wi._Attr=$s;function Jd(e){ib.call(this,e);for(var t in e._attrsByQName)this[t]=e._attrsByQName[t];for(var r=0;r<e._attrKeys.length;r++)this[r]=e._attrsByLName[e._attrKeys[r]]}Jd.prototype=Object.create(ib.prototype,{length:{get:function(){return this.element._attrKeys.length},set:function(){}},item:{value:function(e){return e=e>>>0,e>=this.length?null:this.element._attrsByLName[this.element._attrKeys[e]]}}});globalThis.Symbol?.iterator&&(Jd.prototype[globalThis.Symbol.iterator]=function(){var e=0,t=this.length,r=this;return{next:function(){return e<t?{value:r.item(e++)}:{done:!0}}}});function ob(e){this.element=e,this.updateCache()}ob.prototype=Object.create(Object.prototype,{length:{get:function(){return this.updateCache(),this.childrenByNumber.length}},item:{value:function(t){return this.updateCache(),this.childrenByNumber[t]||null}},namedItem:{value:function(t){return this.updateCache(),this.childrenByName[t]||null}},namedItems:{get:function(){return this.updateCache(),this.childrenByName}},updateCache:{value:function(){var t=/^(a|applet|area|embed|form|frame|frameset|iframe|img|object)$/;if(this.lastModTime!==this.element.lastModTime){this.lastModTime=this.element.lastModTime;for(var r=this.childrenByNumber&&this.childrenByNumber.length||0,n=0;n<r;n++)this[n]=void 0;this.childrenByNumber=[],this.childrenByName=Object.create(null);for(var i=this.element.firstChild;i!==null;i=i.nextSibling)if(i.nodeType===wn.ELEMENT_NODE){this[this.childrenByNumber.length]=i,this.childrenByNumber.push(i);var o=i.getAttribute("id");o&&!this.childrenByName[o]&&(this.childrenByName[o]=i);var a=i.getAttribute("name");a&&this.element.namespaceURI===qn.HTML&&t.test(this.element.localName)&&!this.childrenByName[a]&&(this.childrenByName[o]=i)}}}}});function zd(e){return function(t){return t.localName===e}}function Nk(e){var t=vt.toASCIILowerCase(e);return t===e?zd(e):function(r){return r.isHTML?r.localName===t:r.localName===e}}function Rk(e){return function(t){return t.namespaceURI===e}}function Lk(e,t){return function(r){return r.namespaceURI===e&&r.localName===t}}function Mk(e){return function(t){return e.every(function(r){return t.classList.contains(r)})}}function Ok(e){return function(t){return t.namespaceURI!==qn.HTML?!1:t.getAttribute("name")===e}}});var Gd=ae((BM,fb)=>{"use strict";p();fb.exports=lb;var ub=fr(),Fk=ko(),cb=Ct(),sb=cb.HierarchyRequestError,Pk=cb.NotFoundError;function lb(){ub.call(this)}lb.prototype=Object.create(ub.prototype,{hasChildNodes:{value:function(){return!1}},firstChild:{value:null},lastChild:{value:null},insertBefore:{value:function(e,t){if(!e.nodeType)throw new TypeError("not a node");sb()}},replaceChild:{value:function(e,t){if(!e.nodeType)throw new TypeError("not a node");sb()}},removeChild:{value:function(e){if(!e.nodeType)throw new TypeError("not a node");Pk()}},removeChildren:{value:function(){}},childNodes:{get:function(){return this._childNodes||(this._childNodes=new Fk),this._childNodes}}})});var Us=ae(($M,hb)=>{"use strict";p();hb.exports=Bc;var pb=Gd(),db=Ct(),Bk=Oc(),Hk=Ud();function Bc(){pb.call(this)}Bc.prototype=Object.create(pb.prototype,{substringData:{value:function(t,r){if(arguments.length<2)throw new TypeError("Not enough arguments");return t=t>>>0,r=r>>>0,(t>this.data.length||t<0||r<0)&&db.IndexSizeError(),this.data.substring(t,t+r)}},appendData:{value:function(t){if(arguments.length<1)throw new TypeError("Not enough arguments");this.data+=String(t)}},insertData:{value:function(t,r){return this.replaceData(t,0,r)}},deleteData:{value:function(t,r){return this.replaceData(t,r,"")}},replaceData:{value:function(t,r,n){var i=this.data,o=i.length;t=t>>>0,r=r>>>0,n=String(n),(t>o||t<0)&&db.IndexSizeError(),t+r>o&&(r=o-t);var a=i.substring(0,t),s=i.substring(t+r);this.data=a+n+s}},isEqual:{value:function(t){return this._data===t._data}},length:{get:function(){return this.data.length}}});Object.defineProperties(Bc.prototype,Bk);Object.defineProperties(Bc.prototype,Hk)});var Yd=ae((qM,bb)=>{"use strict";p();bb.exports=Xd;var mb=Ct(),gb=fr(),xb=Us();function Xd(e,t){xb.call(this),this.nodeType=gb.TEXT_NODE,this.ownerDocument=e,this._data=t,this._index=void 0}var qs={get:function(){return this._data},set:function(e){e==null?e="":e=String(e),e!==this._data&&(this._data=e,this.rooted&&this.ownerDocument.mutateValue(this),this.parentNode&&this.parentNode._textchangehook&&this.parentNode._textchangehook(this))}};Xd.prototype=Object.create(xb.prototype,{nodeName:{value:"#text"},nodeValue:qs,textContent:qs,innerText:qs,data:{get:qs.get,set:function(e){qs.set.call(this,e===null?"":String(e))}},splitText:{value:function(t){(t>this._data.length||t<0)&&mb.IndexSizeError();var r=this._data.substring(t),n=this.ownerDocument.createTextNode(r);this.data=this.data.substring(0,t);var i=this.parentNode;return i!==null&&i.insertBefore(n,this.nextSibling),n}},wholeText:{get:function(){for(var t=this.textContent,r=this.nextSibling;r&&r.nodeType===gb.TEXT_NODE;r=r.nextSibling)t+=r.textContent;return t}},replaceWholeText:{value:mb.nyi},clone:{value:function(){return new Xd(this.ownerDocument,this._data)}}})});var Qd=ae((KM,wb)=>{"use strict";p();wb.exports=Zd;var $k=fr(),yb=Us();function Zd(e,t){yb.call(this),this.nodeType=$k.COMMENT_NODE,this.ownerDocument=e,this._data=t}var Ws={get:function(){return this._data},set:function(e){e==null?e="":e=String(e),this._data=e,this.rooted&&this.ownerDocument.mutateValue(this)}};Zd.prototype=Object.create(yb.prototype,{nodeName:{value:"#comment"},nodeValue:Ws,textContent:Ws,innerText:Ws,data:{get:Ws.get,set:function(e){Ws.set.call(this,e===null?"":String(e))}},clone:{value:function(){return new Zd(this.ownerDocument,this._data)}}})});var tp=ae((VM,vb)=>{"use strict";p();vb.exports=ep;var Uk=fr(),qk=ko(),_b=Dc(),Hc=_a(),Wk=Mc(),Eb=Ct();function ep(e){_b.call(this),this.nodeType=Uk.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=e}ep.prototype=Object.create(_b.prototype,{nodeName:{value:"#document-fragment"},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(Hc.prototype,"textContent"),innerText:Object.getOwnPropertyDescriptor(Hc.prototype,"innerText"),querySelector:{value:function(e){var t=this.querySelectorAll(e);return t.length?t[0]:null}},querySelectorAll:{value:function(e){var t=Object.create(this);t.isHTML=!0,t.getElementsByTagName=Hc.prototype.getElementsByTagName,t.nextElement=Object.getOwnPropertyDescriptor(Hc.prototype,"firstElementChild").get;var r=Wk(e,t);return r.item?r:new qk(r)}},clone:{value:function(){return new ep(this.ownerDocument)}},isEqual:{value:function(t){return!0}},innerHTML:{get:function(){return this.serialize()},set:Eb.nyi},outerHTML:{get:function(){return this.serialize()},set:Eb.nyi}})});var np=ae((JM,Ab)=>{"use strict";p();Ab.exports=rp;var Kk=fr(),Sb=Us();function rp(e,t,r){Sb.call(this),this.nodeType=Kk.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=e,this.target=t,this._data=r}var Ks={get:function(){return this._data},set:function(e){e==null?e="":e=String(e),this._data=e,this.rooted&&this.ownerDocument.mutateValue(this)}};rp.prototype=Object.create(Sb.prototype,{nodeName:{get:function(){return this.target}},nodeValue:Ks,textContent:Ks,innerText:Ks,data:{get:Ks.get,set:function(e){Ks.set.call(this,e===null?"":String(e))}},clone:{value:function(){return new rp(this.ownerDocument,this.target,this._data)}},isEqual:{value:function(t){return this.target===t.target&&this._data===t._data}}})});var js=ae((XM,kb)=>{"use strict";p();var ip={FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048};kb.exports=ip.constructor=ip.prototype=ip});var ap=ae((QM,Cb)=>{"use strict";p();var ZM=Cb.exports={nextSkippingChildren:jk,nextAncestorSibling:op,next:Vk,previous:zk,deepLastChild:Tb};function jk(e,t){return e===t?null:e.nextSibling!==null?e.nextSibling:op(e,t)}function op(e,t){for(e=e.parentNode;e!==null;e=e.parentNode){if(e===t)return null;if(e.nextSibling!==null)return e.nextSibling}return null}function Vk(e,t){var r;return r=e.firstChild,r!==null?r:e===t?null:(r=e.nextSibling,r!==null?r:op(e,t))}function Tb(e){for(;e.lastChild;)e=e.lastChild;return e}function zk(e,t){var r;return r=e.previousSibling,r!==null?Tb(r):(r=e.parentNode,r===t?null:r)}});var Ob=ae((tO,Mb)=>{"use strict";p();Mb.exports=Lb;var Jk=fr(),dr=js(),Db=ap(),Rb=Ct(),sp={first:"firstChild",last:"lastChild",next:"firstChild",previous:"lastChild"},up={first:"nextSibling",last:"previousSibling",next:"nextSibling",previous:"previousSibling"};function Ib(e,t){var r,n,i,o,a;for(n=e._currentNode[sp[t]];n!==null;){if(o=e._internalFilter(n),o===dr.FILTER_ACCEPT)return e._currentNode=n,n;if(o===dr.FILTER_SKIP&&(r=n[sp[t]],r!==null)){n=r;continue}for(;n!==null;){if(a=n[up[t]],a!==null){n=a;break}if(i=n.parentNode,i===null||i===e.root||i===e._currentNode)return null;n=i}}return null}function Nb(e,t){var r,n,i;if(r=e._currentNode,r===e.root)return null;for(;;){for(i=r[up[t]];i!==null;){if(r=i,n=e._internalFilter(r),n===dr.FILTER_ACCEPT)return e._currentNode=r,r;i=r[sp[t]],(n===dr.FILTER_REJECT||i===null)&&(i=r[up[t]])}if(r=r.parentNode,r===null||r===e.root||e._internalFilter(r)===dr.FILTER_ACCEPT)return null}}function Lb(e,t,r){(!e||!e.nodeType)&&Rb.NotSupportedError(),this._root=e,this._whatToShow=Number(t)||0,this._filter=r||null,this._active=!1,this._currentNode=e}Object.defineProperties(Lb.prototype,{root:{get:function(){return this._root}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},currentNode:{get:function(){return this._currentNode},set:function(t){if(!(t instanceof Jk))throw new TypeError("Not a Node");this._currentNode=t}},_internalFilter:{value:function(t){var r,n;if(this._active&&Rb.InvalidStateError(),!(1<<t.nodeType-1&this._whatToShow))return dr.FILTER_SKIP;if(n=this._filter,n===null)r=dr.FILTER_ACCEPT;else{this._active=!0;try{typeof n=="function"?r=n(t):r=n.acceptNode(t)}finally{this._active=!1}}return+r}},parentNode:{value:function(){for(var t=this._currentNode;t!==this.root;){if(t=t.parentNode,t===null)return null;if(this._internalFilter(t)===dr.FILTER_ACCEPT)return this._currentNode=t,t}return null}},firstChild:{value:function(){return Ib(this,"first")}},lastChild:{value:function(){return Ib(this,"last")}},previousSibling:{value:function(){return Nb(this,"previous")}},nextSibling:{value:function(){return Nb(this,"next")}},previousNode:{value:function(){var t,r,n,i;for(t=this._currentNode;t!==this._root;){for(n=t.previousSibling;n;n=t.previousSibling)if(t=n,r=this._internalFilter(t),r!==dr.FILTER_REJECT){for(i=t.lastChild;i&&(t=i,r=this._internalFilter(t),r!==dr.FILTER_REJECT);i=t.lastChild);if(r===dr.FILTER_ACCEPT)return this._currentNode=t,t}if(t===this.root||t.parentNode===null)return null;if(t=t.parentNode,this._internalFilter(t)===dr.FILTER_ACCEPT)return this._currentNode=t,t}return null}},nextNode:{value:function(){var t,r,n,i;t=this._currentNode,r=dr.FILTER_ACCEPT;e:for(;;){for(n=t.firstChild;n;n=t.firstChild){if(t=n,r=this._internalFilter(t),r===dr.FILTER_ACCEPT)return this._currentNode=t,t;if(r===dr.FILTER_REJECT)break}for(i=Db.nextSkippingChildren(t,this.root);i;i=Db.nextSkippingChildren(t,this.root)){if(t=i,r=this._internalFilter(t),r===dr.FILTER_ACCEPT)return this._currentNode=t,t;if(r===dr.FILTER_SKIP)continue e}return null}}},toString:{value:function(){return"[object TreeWalker]"}}})});var Ub=ae((nO,$b)=>{"use strict";p();$b.exports=Hb;var cp=js(),lp=ap(),Bb=Ct();function Gk(e,t,r){return r?lp.next(e,t):e===t?null:lp.previous(e,null)}function Fb(e,t){for(;t;t=t.parentNode)if(e===t)return!0;return!1}function Pb(e,t){var r,n;for(r=e._referenceNode,n=e._pointerBeforeReferenceNode;;){if(n===t)n=!n;else if(r=Gk(r,e._root,t),r===null)return null;var i=e._internalFilter(r);if(i===cp.FILTER_ACCEPT)break}return e._referenceNode=r,e._pointerBeforeReferenceNode=n,r}function Hb(e,t,r){(!e||!e.nodeType)&&Bb.NotSupportedError(),this._root=e,this._referenceNode=e,this._pointerBeforeReferenceNode=!0,this._whatToShow=Number(t)||0,this._filter=r||null,this._active=!1,e.doc._attachNodeIterator(this)}Object.defineProperties(Hb.prototype,{root:{get:function(){return this._root}},referenceNode:{get:function(){return this._referenceNode}},pointerBeforeReferenceNode:{get:function(){return this._pointerBeforeReferenceNode}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},_internalFilter:{value:function(t){var r,n;if(this._active&&Bb.InvalidStateError(),!(1<<t.nodeType-1&this._whatToShow))return cp.FILTER_SKIP;if(n=this._filter,n===null)r=cp.FILTER_ACCEPT;else{this._active=!0;try{typeof n=="function"?r=n(t):r=n.acceptNode(t)}finally{this._active=!1}}return+r}},_preremove:{value:function(t){if(!Fb(t,this._root)&&Fb(t,this._referenceNode)){if(this._pointerBeforeReferenceNode){for(var r=t;r.lastChild;)r=r.lastChild;if(r=lp.next(r,this.root),r){this._referenceNode=r;return}this._pointerBeforeReferenceNode=!1}if(t.previousSibling===null)this._referenceNode=t.parentNode;else{this._referenceNode=t.previousSibling;var n;for(n=this._referenceNode.lastChild;n;n=this._referenceNode.lastChild)this._referenceNode=n}}}},nextNode:{value:function(){return Pb(this,!0)}},previousNode:{value:function(){return Pb(this,!1)}},detach:{value:function(){}},toString:{value:function(){return"[object NodeIterator]"}}})});var $c=ae((oO,qb)=>{"use strict";p();qb.exports=pr;function pr(e){if(!e)return Object.create(pr.prototype);this.url=e.replace(/^[ \t\n\r\f]+|[ \t\n\r\f]+$/g,"");var t=pr.pattern.exec(this.url);if(t){if(t[2]&&(this.scheme=t[2]),t[4]){var r=t[4].match(pr.userinfoPattern);if(r&&(this.username=r[1],this.password=r[3],t[4]=t[4].substring(r[0].length)),t[4].match(pr.portPattern)){var n=t[4].lastIndexOf(":");this.host=t[4].substring(0,n),this.port=t[4].substring(n+1)}else this.host=t[4]}t[5]&&(this.path=t[5]),t[6]&&(this.query=t[7]),t[8]&&(this.fragment=t[9])}}pr.pattern=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/;pr.userinfoPattern=/^([^@:]*)(:([^@]*))?@/;pr.portPattern=/:\d+$/;pr.authorityPattern=/^[^:\/?#]+:\/\//;pr.hierarchyPattern=/^[^:\/?#]+:\//;pr.percentEncode=function(t){var r=t.charCodeAt(0);if(r<256)return"%"+r.toString(16);throw Error("can't percent-encode codepoints > 255 yet")};pr.prototype={constructor:pr,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return pr.authorityPattern.test(this.url)},isHierarchical:function(){return pr.hierarchyPattern.test(this.url)},toString:function(){var e="";return this.scheme!==void 0&&(e+=this.scheme+":"),this.isAbsolute()&&(e+="//",(this.username||this.password)&&(e+=this.username||"",this.password&&(e+=":"+this.password),e+="@"),this.host&&(e+=this.host)),this.port!==void 0&&(e+=":"+this.port),this.path!==void 0&&(e+=this.path),this.query!==void 0&&(e+="?"+this.query),this.fragment!==void 0&&(e+="#"+this.fragment),e},resolve:function(e){var t=this,r=new pr(e),n=new pr;return r.scheme!==void 0?(n.scheme=r.scheme,n.username=r.username,n.password=r.password,n.host=r.host,n.port=r.port,n.path=o(r.path),n.query=r.query):(n.scheme=t.scheme,r.host!==void 0?(n.username=r.username,n.password=r.password,n.host=r.host,n.port=r.port,n.path=o(r.path),n.query=r.query):(n.username=t.username,n.password=t.password,n.host=t.host,n.port=t.port,r.path?(r.path.charAt(0)==="/"?n.path=o(r.path):(n.path=i(t.path,r.path),n.path=o(n.path)),n.query=r.query):(n.path=t.path,r.query!==void 0?n.query=r.query:n.query=t.query))),n.fragment=r.fragment,n.toString();function i(a,s){if(t.host!==void 0&&!t.path)return"/"+s;var u=a.lastIndexOf("/");return u===-1?s:a.substring(0,u+1)+s}function o(a){if(!a)return a;for(var s="";a.length>0;){if(a==="."||a===".."){a="";break}var u=a.substring(0,2),c=a.substring(0,3),l=a.substring(0,4);if(c==="../")a=a.substring(3);else if(u==="./")a=a.substring(2);else if(c==="/./")a="/"+a.substring(3);else if(u==="/."&&a.length===2)a="/";else if(l==="/../"||c==="/.."&&a.length===3)a="/"+a.substring(4),s=s.replace(/\/?[^\/]*$/,"");else{var d=a.match(/(\/?([^\/]*))/)[0];s+=d,a=a.substring(d.length)}}return s}}}});var jb=ae((sO,Kb)=>{"use strict";p();Kb.exports=fp;var Wb=ma();function fp(e,t){Wb.call(this,e,t)}fp.prototype=Object.create(Wb.prototype,{constructor:{value:fp}})});var dp=ae((cO,Vb)=>{"use strict";p();Vb.exports={Event:ma(),UIEvent:hd(),MouseEvent:gd(),CustomEvent:jb()}});var Jb=ae(va=>{"use strict";p();Object.defineProperty(va,"__esModule",{value:!0});va.hyphenate=va.parse=void 0;function Xk(e){let t=[],r=0,n=0,i=0,o=0,a=0,s=null;for(;r<e.length;)switch(e.charCodeAt(r++)){case 40:n++;break;case 41:n--;break;case 39:i===0?i=39:i===39&&e.charCodeAt(r-1)!==92&&(i=0);break;case 34:i===0?i=34:i===34&&e.charCodeAt(r-1)!==92&&(i=0);break;case 58:!s&&n===0&&i===0&&(s=zb(e.substring(a,r-1).trim()),o=r);break;case 59:if(s&&o>0&&n===0&&i===0){let c=e.substring(o,r-1).trim();t.push(s,c),a=r,o=0,s=null}break}if(s&&o){let u=e.slice(o).trim();t.push(s,u)}return t}va.parse=Xk;function zb(e){return e.replace(/[a-z][A-Z]/g,t=>t.charAt(0)+"-"+t.charAt(1)).toLowerCase()}va.hyphenate=zb});var Uc=ae((pO,Qb)=>{"use strict";p();var{parse:Yk}=Jb();Qb.exports=function(e){let t=new Zb(e),r={get:function(n,i){return i in n?n[i]:n.getPropertyValue(Gb(i))},has:function(n,i){return!0},set:function(n,i,o){return i in n?n[i]=o:n.setProperty(Gb(i),o??void 0),!0}};return new Proxy(t,r)};function Gb(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Zb(e){this._element=e}var Xb="!important";function Yb(e){let t={property:{},priority:{}};if(!e)return t;let r=Yk(e);if(r.length<2)return t;for(let n=0;n<r.length;n+=2){let i=r[n],o=r[n+1];o.endsWith(Xb)&&(t.priority[i]="important",o=o.slice(0,-Xb.length).trim()),t.property[i]=o}return t}var Sa={};Zb.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var e=this.cssText;this._parsedStyles=Yb(e),this._lastParsedText=e,delete this._names}return this._parsedStyles}},_serialize:{value:function(){var e=this._parsed,t="";for(var r in e.property)t&&(t+=" "),t+=r+": "+e.property[r],e.priority[r]&&(t+=" !"+e.priority[r]),t+=";";this.cssText=t,this._lastParsedText=t,delete this._names}},cssText:{get:function(){return this._element.getAttribute("style")},set:function(e){this._element.setAttribute("style",e)}},length:{get:function(){return this._names||(this._names=Object.getOwnPropertyNames(this._parsed.property)),this._names.length}},item:{value:function(e){return this._names||(this._names=Object.getOwnPropertyNames(this._parsed.property)),this._names[e]}},getPropertyValue:{value:function(e){return e=e.toLowerCase(),this._parsed.property[e]||""}},getPropertyPriority:{value:function(e){return e=e.toLowerCase(),this._parsed.priority[e]||""}},setProperty:{value:function(e,t,r){if(e=e.toLowerCase(),t==null&&(t=""),r==null&&(r=""),t!==Sa&&(t=""+t),t=t.trim(),t===""){this.removeProperty(e);return}if(!(r!==""&&r!==Sa&&!/^important$/i.test(r))){var n=this._parsed;if(t===Sa){if(!n.property[e])return;r!==""?n.priority[e]="important":delete n.priority[e]}else{if(t.indexOf(";")!==-1)return;var i=Yb(e+":"+t);if(Object.getOwnPropertyNames(i.property).length===0||Object.getOwnPropertyNames(i.priority).length!==0)return;for(var o in i.property)n.property[o]=i.property[o],r!==Sa&&(r!==""?n.priority[o]="important":n.priority[o]&&delete n.priority[o])}this._serialize()}}},setPropertyValue:{value:function(e,t){return this.setProperty(e,t,Sa)}},setPropertyPriority:{value:function(e,t){return this.setProperty(e,Sa,t)}},removeProperty:{value:function(e){e=e.toLowerCase();var t=this._parsed;e in t.property&&(delete t.property[e],delete t.priority[e],this._serialize())}}})});var pp=ae((mO,e1)=>{"use strict";p();var ar=$c();e1.exports=Vs;function Vs(){}Vs.prototype=Object.create(Object.prototype,{_url:{get:function(){return new ar(this.href)}},protocol:{get:function(){var e=this._url;return e&&e.scheme?e.scheme+":":":"},set:function(e){var t=this.href,r=new ar(t);r.isAbsolute()&&(e=e.replace(/:+$/,""),e=e.replace(/[^-+\.a-zA-Z0-9]/g,ar.percentEncode),e.length>0&&(r.scheme=e,t=r.toString())),this.href=t}},host:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()?e.host+(e.port?":"+e.port:""):""},set:function(e){var t=this.href,r=new ar(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,ar.percentEncode),e.length>0&&(r.host=e,delete r.port,t=r.toString())),this.href=t}},hostname:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()?e.host:""},set:function(e){var t=this.href,r=new ar(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=e.replace(/^\/+/,""),e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,ar.percentEncode),e.length>0&&(r.host=e,t=r.toString())),this.href=t}},port:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()&&e.port!==void 0?e.port:""},set:function(e){var t=this.href,r=new ar(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=""+e,e=e.replace(/[^0-9].*$/,""),e=e.replace(/^0+/,""),e.length===0&&(e="0"),parseInt(e,10)<=65535&&(r.port=e,t=r.toString())),this.href=t}},pathname:{get:function(){var e=this._url;return e.isAbsolute()&&e.isHierarchical()?e.path:""},set:function(e){var t=this.href,r=new ar(t);r.isAbsolute()&&r.isHierarchical()&&(e.charAt(0)!=="/"&&(e="/"+e),e=e.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,ar.percentEncode),r.path=e,t=r.toString()),this.href=t}},search:{get:function(){var e=this._url;return e.isAbsolute()&&e.isHierarchical()&&e.query!==void 0?"?"+e.query:""},set:function(e){var t=this.href,r=new ar(t);r.isAbsolute()&&r.isHierarchical()&&(e.charAt(0)==="?"&&(e=e.substring(1)),e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,ar.percentEncode),r.query=e,t=r.toString()),this.href=t}},hash:{get:function(){var e=this._url;return e==null||e.fragment==null||e.fragment===""?"":"#"+e.fragment},set:function(e){var t=this.href,r=new ar(t);e.charAt(0)==="#"&&(e=e.substring(1)),e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,ar.percentEncode),r.fragment=e,t=r.toString(),this.href=t}},username:{get:function(){var e=this._url;return e.username||""},set:function(e){var t=this.href,r=new ar(t);r.isAbsolute()&&(e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,ar.percentEncode),r.username=e,t=r.toString()),this.href=t}},password:{get:function(){var e=this._url;return e.password||""},set:function(e){var t=this.href,r=new ar(t);r.isAbsolute()&&(e===""?r.password=null:(e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,ar.percentEncode),r.password=e),t=r.toString()),this.href=t}},origin:{get:function(){var e=this._url;if(e==null)return"";var t=function(r){var n=[e.scheme,e.host,+e.port||r];return n[0]+"://"+n[1]+(n[2]===r?"":":"+n[2])};switch(e.scheme){case"ftp":return t(21);case"gopher":return t(70);case"http":case"ws":return t(80);case"https":case"wss":return t(443);default:return e.scheme+"://"}}}});Vs._inherit=function(e){Object.getOwnPropertyNames(Vs.prototype).forEach(function(t){if(!(t==="constructor"||t==="href")){var r=Object.getOwnPropertyDescriptor(Vs.prototype,t);Object.defineProperty(e,t,r)}})}});var hp=ae((xO,n1)=>{"use strict";p();var t1=Md(),Zk=kc().isApiWritable;n1.exports=function(e,t,r,n){var i=e.ctor;if(i){var o=e.props||{};if(e.attributes)for(var a in e.attributes){var s=e.attributes[a];(typeof s!="object"||Array.isArray(s))&&(s={type:s}),s.name||(s.name=a.toLowerCase()),o[a]=t1.property(s)}o.constructor={value:i,writable:Zk},i.prototype=Object.create((e.superclass||t).prototype,o),e.events&&e8(i,e.events),r[e.name]=i}else i=t;return(e.tags||e.tag&&[e.tag]||[]).forEach(function(u){n[u]=i}),i};function r1(e,t,r,n){this.body=e,this.document=t,this.form=r,this.element=n}r1.prototype.build=function(){return()=>{}};function Qk(e,t,r,n){var i=e.ownerDocument||Object.create(null),o=e.form||Object.create(null);e[t]=new r1(n,i,o,e).build()}function e8(e,t){var r=e.prototype;t.forEach(function(n){Object.defineProperty(r,"on"+n,{get:function(){return this._getEventHandler(n)},set:function(i){this._setEventHandler(n,i)}}),t1.registerChangeHandler(e,"on"+n,Qk)})}});var Kc=ae(Wc=>{"use strict";p();var mp=fr(),i1=_a(),t8=Uc(),Xr=Ct(),o1=pp(),r8=hp(),pi=Wc.elements={},zs=Object.create(null);Wc.createElement=function(e,t,r){var n=zs[t]||i8;return new n(e,t,r)};function oe(e){return r8(e,se,pi,zs)}function Dt(e){return{get:function(){var t=this._getattr(e);if(t===null)return"";var r=this.doc._resolve(t);return r===null?t:r},set:function(t){this._setattr(e,t)}}}function qc(e){return{get:function(){var t=this._getattr(e);return t===null?null:t.toLowerCase()==="use-credentials"?"use-credentials":"anonymous"},set:function(t){t==null?this.removeAttribute(e):this._setattr(e,t)}}}var Aa={type:["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],missing:""},n8={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},En=function(e,t,r){se.call(this,e,t,r),this._form=null},se=Wc.HTMLElement=oe({superclass:i1,name:"HTMLElement",ctor:function(t,r,n){i1.call(this,t,r,Xr.NAMESPACE.HTML,n)},props:{dangerouslySetInnerHTML:{set:function(e){this._innerHTML=e}},innerHTML:{get:function(){return this.serialize()},set:function(e){var t=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,this);t.parse(e===null?"":String(e),!0);for(var r=this instanceof zs.template?this.content:this;r.hasChildNodes();)r.removeChild(r.firstChild);r.appendChild(t._asDocumentFragment())}},style:{get:function(){return this._style||(this._style=new t8(this)),this._style},set:function(e){e==null&&(e=""),this._setattr("style",String(e))}},blur:{value:function(){}},focus:{value:function(){}},forceSpellCheck:{value:function(){}},click:{value:function(){if(!this._click_in_progress){this._click_in_progress=!0;try{this._pre_click_activation_steps&&this._pre_click_activation_steps();var e=this.ownerDocument.createEvent("MouseEvent");e.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null);var t=this.dispatchEvent(e);t?this._post_click_activation_steps&&this._post_click_activation_steps(e):this._cancelled_activation_steps&&this._cancelled_activation_steps()}finally{this._click_in_progress=!1}}}},submit:{value:Xr.nyi}},attributes:{title:String,lang:String,dir:{type:["ltr","rtl","auto"],missing:""},draggable:{type:["true","false"],treatNullAsEmptyString:!0},spellcheck:{type:["true","false"],missing:""},enterKeyHint:{type:["enter","done","go","next","previous","search","send"],missing:""},autoCapitalize:{type:["off","on","none","sentences","words","characters"],missing:""},autoFocus:Boolean,accessKey:String,nonce:String,hidden:Boolean,translate:{type:["no","yes"],missing:""},tabIndex:{type:"long",default:function(){return this.tagName in n8||this.contentEditable?0:-1}}},events:["abort","canplay","canplaythrough","change","click","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","input","invalid","keydown","keypress","keyup","loadeddata","loadedmetadata","loadstart","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","progress","ratechange","readystatechange","reset","seeked","seeking","select","show","stalled","submit","suspend","timeupdate","volumechange","waiting","blur","error","focus","load","scroll"]}),i8=oe({name:"HTMLUnknownElement",ctor:function(t,r,n){se.call(this,t,r,n)}}),_n={form:{get:function(){return this._form}}};oe({tag:"a",name:"HTMLAnchorElement",ctor:function(t,r,n){se.call(this,t,r,n)},props:{_post_click_activation_steps:{value:function(e){this.href&&(this.ownerDocument.defaultView.location=this.href)}}},attributes:{href:Dt,ping:String,download:String,target:String,rel:String,media:String,hreflang:String,type:String,referrerPolicy:Aa,coords:String,charset:String,name:String,rev:String,shape:String}});o1._inherit(zs.a.prototype);oe({tag:"area",name:"HTMLAreaElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{alt:String,target:String,download:String,rel:String,media:String,href:Dt,hreflang:String,type:String,shape:String,coords:String,ping:String,referrerPolicy:Aa,noHref:Boolean}});o1._inherit(zs.area.prototype);oe({tag:"br",name:"HTMLBRElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{clear:String}});oe({tag:"base",name:"HTMLBaseElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{target:String}});oe({tag:"body",name:"HTMLBodyElement",ctor:function(t,r,n){se.call(this,t,r,n)},events:["afterprint","beforeprint","beforeunload","blur","error","focus","hashchange","load","message","offline","online","pagehide","pageshow","popstate","resize","scroll","storage","unload"],attributes:{text:{type:String,treatNullAsEmptyString:!0},link:{type:String,treatNullAsEmptyString:!0},vLink:{type:String,treatNullAsEmptyString:!0},aLink:{type:String,treatNullAsEmptyString:!0},bgColor:{type:String,treatNullAsEmptyString:!0},background:String}});oe({tag:"button",name:"HTMLButtonElement",ctor:function(t,r,n){En.call(this,t,r,n)},props:_n,attributes:{name:String,value:String,disabled:Boolean,autofocus:Boolean,type:{type:["submit","reset","button","menu"],missing:"submit"},formTarget:String,formAction:Dt,formNoValidate:Boolean,formMethod:{type:["get","post","dialog"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""}}});oe({tag:"dl",name:"HTMLDListElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{compact:Boolean}});oe({tag:"data",name:"HTMLDataElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{value:String}});oe({tag:"datalist",name:"HTMLDataListElement",ctor:function(t,r,n){se.call(this,t,r,n)}});oe({tag:"details",name:"HTMLDetailsElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{open:Boolean}});oe({tag:"div",name:"HTMLDivElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{align:String}});oe({tag:"embed",name:"HTMLEmbedElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{src:Dt,type:String,width:String,height:String,align:String,name:String}});oe({tag:"fieldset",name:"HTMLFieldSetElement",ctor:function(t,r,n){En.call(this,t,r,n)},props:_n,attributes:{disabled:Boolean,name:String}});oe({tag:"form",name:"HTMLFormElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{action:String,autocomplete:{type:["on","off"],missing:"on"},name:String,acceptCharset:{name:"accept-charset"},target:String,noValidate:Boolean,method:{type:["get","post","dialog"],invalid:"get",missing:"get"},enctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"},encoding:{name:"enctype",type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"}}});oe({tag:"hr",name:"HTMLHRElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}});oe({tag:"head",name:"HTMLHeadElement",ctor:function(t,r,n){se.call(this,t,r,n)}});oe({tags:["h1","h2","h3","h4","h5","h6"],name:"HTMLHeadingElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{align:String}});oe({tag:"html",name:"HTMLHtmlElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{xmlns:Dt,version:String}});oe({tag:"iframe",name:"HTMLIFrameElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{src:Dt,srcdoc:String,name:String,width:String,height:String,seamless:Boolean,allow:Boolean,allowFullscreen:Boolean,allowUserMedia:Boolean,allowPaymentRequest:Boolean,referrerPolicy:Aa,loading:{type:["eager","lazy"],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:Dt,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}});oe({tag:"img",name:"HTMLImageElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{alt:String,src:Dt,srcset:String,crossOrigin:qc,useMap:String,isMap:Boolean,sizes:String,height:{type:"unsigned long",default:0},width:{type:"unsigned long",default:0},referrerPolicy:Aa,loading:{type:["eager","lazy"],missing:""},name:String,lowsrc:Dt,align:String,hspace:{type:"unsigned long",default:0},vspace:{type:"unsigned long",default:0},longDesc:Dt,border:{type:String,treatNullAsEmptyString:!0}}});oe({tag:"input",name:"HTMLInputElement",ctor:function(t,r,n){En.call(this,t,r,n)},props:{form:_n.form,_post_click_activation_steps:{value:function(e){if(this.type==="checkbox")this.checked=!this.checked;else if(this.type==="radio")for(var t=this.form.getElementsByName(this.name),r=t.length-1;r>=0;r--){var n=t[r];n.checked=n===this}}}},attributes:{name:String,disabled:Boolean,autofocus:Boolean,accept:String,alt:String,max:String,min:String,pattern:String,placeholder:String,step:String,dirName:String,defaultValue:{name:"value"},multiple:Boolean,required:Boolean,readOnly:Boolean,checked:Boolean,value:String,src:Dt,defaultChecked:{name:"checked",type:Boolean},size:{type:"unsigned long",default:20,min:1,setmin:1},width:{type:"unsigned long",min:0,setmin:0,default:0},height:{type:"unsigned long",min:0,setmin:0,default:0},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},autocomplete:String,type:{type:["text","hidden","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"],missing:"text"},formTarget:String,formNoValidate:Boolean,formMethod:{type:["get","post"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""},align:String,useMap:String}});oe({tag:"keygen",name:"HTMLKeygenElement",ctor:function(t,r,n){En.call(this,t,r,n)},props:_n,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:["rsa"],missing:""}}});oe({tag:"li",name:"HTMLLIElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{value:{type:"long",default:0},type:String}});oe({tag:"label",name:"HTMLLabelElement",ctor:function(t,r,n){En.call(this,t,r,n)},props:_n,attributes:{htmlFor:{name:"for",type:String}}});oe({tag:"legend",name:"HTMLLegendElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{align:String}});oe({tag:"link",name:"HTMLLinkElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{href:Dt,rel:String,media:String,hreflang:String,type:String,crossOrigin:qc,nonce:String,integrity:String,referrerPolicy:Aa,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}});oe({tag:"map",name:"HTMLMapElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{name:String}});oe({tag:"menu",name:"HTMLMenuElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{type:{type:["context","popup","toolbar"],missing:"toolbar"},label:String,compact:Boolean}});oe({tag:"meta",name:"HTMLMetaElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{name:String,content:String,httpEquiv:{name:"http-equiv",type:String},scheme:String}});oe({tag:"meter",name:"HTMLMeterElement",ctor:function(t,r,n){En.call(this,t,r,n)},props:_n});oe({tags:["ins","del"],name:"HTMLModElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{cite:Dt,dateTime:String}});oe({tag:"ol",name:"HTMLOListElement",ctor:function(t,r,n){se.call(this,t,r,n)},props:{_numitems:{get:function(){var e=0;return this.childNodes.forEach(function(t){t.nodeType===mp.ELEMENT_NODE&&t.tagName==="LI"&&e++}),e}}},attributes:{type:String,reversed:Boolean,start:{type:"long",default:function(){return this.reversed?this._numitems:1}},compact:Boolean}});oe({tag:"object",name:"HTMLObjectElement",ctor:function(t,r,n){En.call(this,t,r,n)},props:_n,attributes:{data:Dt,type:String,name:String,useMap:String,typeMustMatch:Boolean,width:String,height:String,align:String,archive:String,code:String,declare:Boolean,hspace:{type:"unsigned long",default:0},standby:String,vspace:{type:"unsigned long",default:0},codeBase:Dt,codeType:String,border:{type:String,treatNullAsEmptyString:!0}}});oe({tag:"optgroup",name:"HTMLOptGroupElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{disabled:Boolean,label:String}});oe({tag:"option",name:"HTMLOptionElement",ctor:function(t,r,n){se.call(this,t,r,n)},props:{form:{get:function(){for(var e=this.parentNode;e&&e.nodeType===mp.ELEMENT_NODE;){if(e.localName==="select")return e.form;e=e.parentNode}}},value:{get:function(){return this._getattr("value")||this.text},set:function(e){this._setattr("value",e)}},text:{get:function(){return this.textContent.replace(/[ \t\n\f\r]+/g," ").trim()},set:function(e){this.textContent=e}}},attributes:{disabled:Boolean,defaultSelected:{name:"selected",type:Boolean},label:String}});oe({tag:"output",name:"HTMLOutputElement",ctor:function(t,r,n){En.call(this,t,r,n)},props:_n,attributes:{name:String}});oe({tag:"p",name:"HTMLParagraphElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{align:String}});oe({tag:"param",name:"HTMLParamElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{name:String,value:String,type:String,valueType:String}});oe({tags:["pre","listing","xmp"],name:"HTMLPreElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{width:{type:"long",default:0}}});oe({tag:"progress",name:"HTMLProgressElement",ctor:function(t,r,n){En.call(this,t,r,n)},props:_n,attributes:{max:{type:Number,float:!0,default:1,min:0}}});oe({tags:["q","blockquote"],name:"HTMLQuoteElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{cite:Dt}});oe({tag:"script",name:"HTMLScriptElement",ctor:function(t,r,n){se.call(this,t,r,n)},props:{text:{get:function(){for(var e="",t=0,r=this.childNodes.length;t<r;t++){var n=this.childNodes[t];n.nodeType===mp.TEXT_NODE&&(e+=n._data)}return e},set:function(e){this.removeChildren(),e!==null&&e!==""&&this.appendChild(this.ownerDocument.createTextNode(e))}}},attributes:{src:Dt,type:String,charset:String,referrerPolicy:Aa,defer:Boolean,async:Boolean,nomodule:Boolean,crossOrigin:qc,nonce:String,integrity:String}});oe({tag:"select",name:"HTMLSelectElement",ctor:function(t,r,n){En.call(this,t,r,n)},props:{form:_n.form,options:{get:function(){return this.getElementsByTagName("option")}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,multiple:Boolean,required:Boolean,size:{type:"unsigned long",default:0}}});oe({tag:"span",name:"HTMLSpanElement",ctor:function(t,r,n){se.call(this,t,r,n)}});oe({tag:"style",name:"HTMLStyleElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{media:String,type:String,scoped:Boolean}});oe({tag:"caption",name:"HTMLTableCaptionElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{align:String}});oe({name:"HTMLTableCellElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{colSpan:{type:"unsigned long",default:1},rowSpan:{type:"unsigned long",default:1},scope:{type:["row","col","rowgroup","colgroup"],missing:""},abbr:String,align:String,axis:String,height:String,width:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},noWrap:Boolean,vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}});oe({tags:["col","colgroup"],name:"HTMLTableColElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{span:{type:"limited unsigned long with fallback",default:1,min:1},align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,width:String}});oe({tag:"table",name:"HTMLTableElement",ctor:function(t,r,n){se.call(this,t,r,n)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,border:String,frame:String,rules:String,summary:String,width:String,bgColor:{type:String,treatNullAsEmptyString:!0},cellPadding:{type:String,treatNullAsEmptyString:!0},cellSpacing:{type:String,treatNullAsEmptyString:!0}}});oe({tag:"template",name:"HTMLTemplateElement",ctor:function(t,r,n){se.call(this,t,r,n),this._contentFragment=t._templateDoc.createDocumentFragment()},props:{content:{get:function(){return this._contentFragment}},serialize:{value:function(){return this.content.serialize()}}}});oe({tag:"tr",name:"HTMLTableRowElement",ctor:function(t,r,n){se.call(this,t,r,n)},props:{cells:{get:function(){return this.querySelectorAll("td,th")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}});oe({tags:["thead","tfoot","tbody"],name:"HTMLTableSectionElement",ctor:function(t,r,n){se.call(this,t,r,n)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String}});oe({tag:"textarea",name:"HTMLTextAreaElement",ctor:function(t,r,n){En.call(this,t,r,n)},props:{form:_n.form,type:{get:function(){return"textarea"}},defaultValue:{get:function(){return this.textContent},set:function(e){this.textContent=e}},value:{get:function(){return this.defaultValue},set:function(e){this.defaultValue=e}},textLength:{get:function(){return this.value.length}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,placeholder:String,wrap:String,dirName:String,required:Boolean,readOnly:Boolean,rows:{type:"limited unsigned long with fallback",default:2},cols:{type:"limited unsigned long with fallback",default:20},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""}}});oe({tag:"time",name:"HTMLTimeElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{dateTime:String,pubDate:Boolean}});oe({tag:"title",name:"HTMLTitleElement",ctor:function(t,r,n){se.call(this,t,r,n)},props:{text:{get:function(){return this.textContent}}}});oe({tag:"ul",name:"HTMLUListElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{type:String,compact:Boolean}});oe({name:"HTMLMediaElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{src:Dt,crossOrigin:qc,preload:{type:["metadata","none","auto",{value:"",alias:"auto"}],missing:"auto"},loop:Boolean,autoplay:Boolean,mediaGroup:String,controls:Boolean,defaultMuted:{name:"muted",type:Boolean}}});oe({name:"HTMLAudioElement",tag:"audio",superclass:pi.HTMLMediaElement,ctor:function(t,r,n){pi.HTMLMediaElement.call(this,t,r,n)}});oe({name:"HTMLVideoElement",tag:"video",superclass:pi.HTMLMediaElement,ctor:function(t,r,n){pi.HTMLMediaElement.call(this,t,r,n)},attributes:{poster:Dt,width:{type:"unsigned long",min:0,default:0},height:{type:"unsigned long",min:0,default:0}}});oe({tag:"td",name:"HTMLTableDataCellElement",superclass:pi.HTMLTableCellElement,ctor:function(t,r,n){pi.HTMLTableCellElement.call(this,t,r,n)}});oe({tag:"th",name:"HTMLTableHeaderCellElement",superclass:pi.HTMLTableCellElement,ctor:function(t,r,n){pi.HTMLTableCellElement.call(this,t,r,n)}});oe({tag:"frameset",name:"HTMLFrameSetElement",ctor:function(t,r,n){se.call(this,t,r,n)}});oe({tag:"frame",name:"HTMLFrameElement",ctor:function(t,r,n){se.call(this,t,r,n)}});oe({tag:"canvas",name:"HTMLCanvasElement",ctor:function(t,r,n){se.call(this,t,r,n)},props:{getContext:{value:Xr.nyi},probablySupportsContext:{value:Xr.nyi},setContext:{value:Xr.nyi},transferControlToProxy:{value:Xr.nyi},toDataURL:{value:Xr.nyi},toBlob:{value:Xr.nyi}},attributes:{width:{type:"unsigned long",default:300},height:{type:"unsigned long",default:150}}});oe({tag:"dialog",name:"HTMLDialogElement",ctor:function(t,r,n){se.call(this,t,r,n)},props:{show:{value:Xr.nyi},showModal:{value:Xr.nyi},close:{value:Xr.nyi}},attributes:{open:Boolean,returnValue:String}});oe({tag:"menuitem",name:"HTMLMenuItemElement",ctor:function(t,r,n){se.call(this,t,r,n)},props:{_label:{get:function(){var e=this._getattr("label");return e!==null&&e!==""?e:(e=this.textContent,e.replace(/[ \t\n\f\r]+/g," ").trim())}},label:{get:function(){var e=this._getattr("label");return e!==null?e:this._label},set:function(e){this._setattr("label",e)}}},attributes:{type:{type:["command","checkbox","radio"],missing:"command"},icon:Dt,disabled:Boolean,checked:Boolean,radiogroup:String,default:Boolean}});oe({tag:"source",name:"HTMLSourceElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{srcset:String,sizes:String,media:String,src:Dt,type:String,width:String,height:String}});oe({tag:"track",name:"HTMLTrackElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{src:Dt,srclang:String,label:String,default:Boolean,kind:{type:["subtitles","captions","descriptions","chapters","metadata"],missing:"subtitles",invalid:"metadata"}},props:{NONE:{get:function(){return 0}},LOADING:{get:function(){return 1}},LOADED:{get:function(){return 2}},ERROR:{get:function(){return 3}},readyState:{get:Xr.nyi},track:{get:Xr.nyi}}});oe({tag:"font",name:"HTMLFontElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{color:{type:String,treatNullAsEmptyString:!0},face:{type:String},size:{type:String}}});oe({tag:"dir",name:"HTMLDirectoryElement",ctor:function(t,r,n){se.call(this,t,r,n)},attributes:{compact:Boolean}});oe({tags:["abbr","address","article","aside","b","bdi","bdo","cite","content","code","dd","dfn","dt","em","figcaption","figure","footer","header","hgroup","i","kbd","main","mark","nav","noscript","rb","rp","rt","rtc","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr","acronym","basefont","big","center","nobr","noembed","noframes","plaintext","strike","tt"]})});var bp=ae(jc=>{"use strict";p();var a1=_a(),o8=hp(),a8=Ct(),s8=Uc(),u8=jc.elements={},s1=Object.create(null);jc.createElement=function(e,t,r){var n=s1[t]||xp;return new n(e,t,r)};function gp(e){return o8(e,xp,u8,s1)}var xp=gp({superclass:a1,name:"SVGElement",ctor:function(t,r,n){a1.call(this,t,r,a8.NAMESPACE.SVG,n)},props:{style:{get:function(){return this._style||(this._style=new s8(this)),this._style}}}});gp({name:"SVGSVGElement",ctor:function(t,r,n){xp.call(this,t,r,n)},tag:"svg",props:{createSVGRect:{value:function(){return jc.createElement(this.ownerDocument,"rect",null)}}}});gp({tags:["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]})});var c1=ae((vO,u1)=>{"use strict";p();u1.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}});var zc=ae((AO,y1)=>{"use strict";p();y1.exports=Gs;var Tr=fr(),c8=ko(),m1=Dc(),Ki=_a(),l8=Yd(),f8=Qd(),Js=ma(),d8=tp(),p8=np(),h8=Xs(),m8=Ob(),g8=Ub(),l1=js(),f1=$c(),d1=Mc(),x8=dp(),Vc=Ic(),yp=Kc(),b8=bp(),Ye=Ct(),ka=c1(),Ca=Ye.NAMESPACE,wp=kc().isApiWritable;function Gs(e,t){m1.call(this),this.nodeType=Tr.DOCUMENT_NODE,this.isHTML=e,this._address=t||"about:blank",this.readyState="loading",this.implementation=new h8(this),this.ownerDocument=null,this._contentType=e?"text/html":"application/xml",this.doctype=null,this.documentElement=null,this._templateDocCache=null,this._nodeIterators=null,this._nid=1,this._nextnid=2,this._nodes=[null,this],this.byId=Object.create(null),this.modclock=0}var y8={event:"Event",customevent:"CustomEvent",uievent:"UIEvent",mouseevent:"MouseEvent"},w8={events:"event",htmlevents:"event",mouseevents:"mouseevent",mutationevents:"mutationevent",uievents:"uievent"},Ta=function(e,t,r){return{get:function(){var n=e.call(this);return n?n[t]:r},set:function(n){var i=e.call(this);i&&(i[t]=n)}}};function p1(e,t){var r,n,i;return e===""&&(e=null),Vc.isValidQName(t)||Ye.InvalidCharacterError(),r=null,n=t,i=t.indexOf(":"),i>=0&&(r=t.substring(0,i),n=t.substring(i+1)),r!==null&&e===null&&Ye.NamespaceError(),r==="xml"&&e!==Ca.XML&&Ye.NamespaceError(),(r==="xmlns"||t==="xmlns")&&e!==Ca.XMLNS&&Ye.NamespaceError(),e===Ca.XMLNS&&!(r==="xmlns"||t==="xmlns")&&Ye.NamespaceError(),{namespace:e,prefix:r,localName:n}}Gs.prototype=Object.create(m1.prototype,{_setMutationHandler:{value:function(e){this.mutationHandler=e}},_dispatchRendererEvent:{value:function(e,t,r){var n=this._nodes[e];n&&n._dispatchEvent(new Js(t,r),!0)}},nodeName:{value:"#document"},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:Ye.nyi},compatMode:{get:function(){return this._quirks?"BackCompat":"CSS1Compat"}},createTextNode:{value:function(e){return new l8(this,String(e))}},createComment:{value:function(e){return new f8(this,e)}},createDocumentFragment:{value:function(){return new d8(this)}},createProcessingInstruction:{value:function(e,t){return(!Vc.isValidName(e)||t.indexOf("?>")!==-1)&&Ye.InvalidCharacterError(),new p8(this,e,t)}},createAttribute:{value:function(e){return e=String(e),Vc.isValidName(e)||Ye.InvalidCharacterError(),this.isHTML&&(e=Ye.toASCIILowerCase(e)),new Ki._Attr(null,e,null,null,"")}},createAttributeNS:{value:function(e,t){e=e==null||e===""?null:String(e),t=String(t);var r=p1(e,t);return new Ki._Attr(null,r.localName,r.prefix,r.namespace,"")}},createElement:{value:function(e){return e=String(e),Vc.isValidName(e)||Ye.InvalidCharacterError(),this.isHTML?(/[A-Z]/.test(e)&&(e=Ye.toASCIILowerCase(e)),yp.createElement(this,e,null)):this.contentType==="application/xhtml+xml"?yp.createElement(this,e,null):new Ki(this,e,null,null)},writable:wp},createElementNS:{value:function(e,t){e=e==null||e===""?null:String(e),t=String(t);var r=p1(e,t);return this._createElementNS(r.localName,r.namespace,r.prefix)},writable:wp},_createElementNS:{value:function(e,t,r){return t===Ca.HTML?yp.createElement(this,e,r):t===Ca.SVG?b8.createElement(this,e,r):new Ki(this,e,t,r)}},createEvent:{value:function(t){t=t.toLowerCase();var r=w8[t]||t,n=x8[y8[r]];if(n){var i=new n;return i._initialized=!1,i}else Ye.NotSupportedError()}},createTreeWalker:{value:function(e,t,r){if(!e)throw new TypeError("root argument is required");if(!(e instanceof Tr))throw new TypeError("root not a node");return t=t===void 0?l1.SHOW_ALL:+t,r=r===void 0?null:r,new m8(e,t,r)}},createNodeIterator:{value:function(e,t,r){if(!e)throw new TypeError("root argument is required");if(!(e instanceof Tr))throw new TypeError("root not a node");return t=t===void 0?l1.SHOW_ALL:+t,r=r===void 0?null:r,new g8(e,t,r)}},_attachNodeIterator:{value:function(e){this._nodeIterators||(this._nodeIterators=[]),this._nodeIterators.push(e)}},_detachNodeIterator:{value:function(e){var t=this._nodeIterators.indexOf(e);this._nodeIterators.splice(t,1)}},_preremoveNodeIterators:{value:function(e){this._nodeIterators&&this._nodeIterators.forEach(function(t){t._preremove(e)})}},_updateDocTypeElement:{value:function(){this.doctype=this.documentElement=null;for(var t=this.firstChild;t!==null;t=t.nextSibling)t.nodeType===Tr.DOCUMENT_TYPE_NODE?this.doctype=t:t.nodeType===Tr.ELEMENT_NODE&&(this.documentElement=t)}},insertBefore:{value:function(t,r){return Tr.prototype.insertBefore.call(this,t,r),this._updateDocTypeElement(),t}},replaceChild:{value:function(t,r){return Tr.prototype.replaceChild.call(this,t,r),this._updateDocTypeElement(),r}},removeChild:{value:function(t){return Tr.prototype.removeChild.call(this,t),this._updateDocTypeElement(),t}},getElementById:{value:function(e){var t=this.byId[e];return t?t instanceof hi?t.getFirst():t:null}},_hasMultipleElementsWithId:{value:function(e){return this.byId[e]instanceof hi}},getElementsByName:{value:Ki.prototype.getElementsByName},getElementsByTagName:{value:Ki.prototype.getElementsByTagName},getElementsByTagNameNS:{value:Ki.prototype.getElementsByTagNameNS},getElementsByClassName:{value:Ki.prototype.getElementsByClassName},adoptNode:{value:function(t){return t.nodeType===Tr.DOCUMENT_NODE&&Ye.NotSupportedError(),t.nodeType===Tr.ATTRIBUTE_NODE||(t.parentNode&&t.parentNode.removeChild(t),t.ownerDocument!==this&&b1(t,this)),t}},importNode:{value:function(t,r){return this.adoptNode(t.cloneNode(r))},writable:wp},origin:{get:function(){return null}},characterSet:{get:function(){return"UTF-8"}},contentType:{get:function(){return this._contentType}},URL:{get:function(){return this._address}},domain:{get:Ye.nyi,set:Ye.nyi},referrer:{get:Ye.nyi},cookie:{get:Ye.nyi,set:Ye.nyi},lastModified:{get:Ye.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:Ye.nyi},_titleElement:{get:function(){return this.getElementsByTagName("title").item(0)||null}},title:{get:function(){var e=this._titleElement,t=e?e.textContent:"";return t.replace(/[ \t\n\r\f]+/g," ").replace(/(^ )|( $)/g,"")},set:function(e){var t=this._titleElement,r=this.head;!t&&!r||(t||(t=this.createElement("title"),r.appendChild(t)),t.textContent=e)}},dir:Ta(function(){var e=this.documentElement;if(e&&e.tagName==="HTML")return e},"dir",""),fgColor:Ta(function(){return this.body},"text",""),linkColor:Ta(function(){return this.body},"link",""),vlinkColor:Ta(function(){return this.body},"vLink",""),alinkColor:Ta(function(){return this.body},"aLink",""),bgColor:Ta(function(){return this.body},"bgColor",""),charset:{get:function(){return this.characterSet}},inputEncoding:{get:function(){return this.characterSet}},scrollingElement:{get:function(){return this._quirks?this.body:this.documentElement}},body:{get:function(){return h1(this.documentElement,"body")},set:Ye.nyi},head:{get:function(){return h1(this.documentElement,"head")}},images:{get:Ye.nyi},embeds:{get:Ye.nyi},plugins:{get:Ye.nyi},links:{get:Ye.nyi},forms:{get:Ye.nyi},scripts:{get:Ye.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:Ye.nyi},outerHTML:{get:function(){return this.serialize()},set:Ye.nyi},write:{value:function(e){if(this.isHTML||Ye.InvalidStateError(),!!this._parser){this._parser;var t=arguments.join("");this._parser.parse(t)}}},writeln:{value:function(t){this.write(Array.prototype.join.call(arguments,"")+`
5
+ `)}},open:{value:function(){this.documentElement=null}},close:{value:function(){this.readyState="interactive",this._dispatchEvent(new Js("readystatechange"),!0),this._dispatchEvent(new Js("DOMContentLoaded"),!0),this.readyState="complete",this._dispatchEvent(new Js("readystatechange"),!0),this.defaultView&&this.defaultView._dispatchEvent(new Js("load"),!0)}},clone:{value:function(){var t=new Gs(this.isHTML,this._address);return t._quirks=this._quirks,t._contentType=this._contentType,t}},cloneNode:{value:function(t){var r=Tr.prototype.cloneNode.call(this,!1);if(t)for(var n=this.firstChild;n!==null;n=n.nextSibling)r._appendChild(r.importNode(n,!0));return r._updateDocTypeElement(),r}},isEqual:{value:function(t){return!0}},mutateValue:{value:function(e){this.mutationHandler&&this.mutationHandler({type:ka.VALUE,target:e,data:e.data})}},mutateAttr:{value:function(e,t){this.mutationHandler&&this.mutationHandler({type:ka.ATTR,target:e.ownerElement,attr:e})}},mutateRemoveAttr:{value:function(e){this.mutationHandler&&this.mutationHandler({type:ka.REMOVE_ATTR,target:e.ownerElement,attr:e})}},mutateRemove:{value:function(e){this.mutationHandler&&this.mutationHandler({type:ka.REMOVE,target:e.parentNode,node:e}),x1(e)}},mutateInsert:{value:function(e){g1(e),this.mutationHandler&&this.mutationHandler({type:ka.INSERT,target:e.parentNode,node:e})}},mutateMove:{value:function(e){this.mutationHandler&&this.mutationHandler({type:ka.MOVE,target:e})}},addId:{value:function(t,r){var n=this.byId[t];n?(n instanceof hi||(n=new hi(n),this.byId[t]=n),n.add(r)):this.byId[t]=r}},delId:{value:function(t,r){var n=this.byId[t];Ye.assert(n),n instanceof hi?(n.del(r),n.length===1&&(this.byId[t]=n.downgrade())):this.byId[t]=void 0}},_resolve:{value:function(e){return new f1(this._documentBaseURL).resolve(e)}},_documentBaseURL:{get:function(){var e=this._address;e==="about:blank"&&(e="/");var t=this.querySelector("base[href]");return t?new f1(e).resolve(t.getAttribute("href")):e}},_templateDoc:{get:function(){if(!this._templateDocCache){var e=new Gs(this.isHTML,this._address);this._templateDocCache=e._templateDocCache=e}return this._templateDocCache}},querySelector:{value:function(e){return d1(e,this)[0]}},querySelectorAll:{value:function(e){var t=d1(e,this);return t.item?t:new c8(t)}}});var E8=["abort","canplay","canplaythrough","change","click","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","input","invalid","keydown","keypress","keyup","loadeddata","loadedmetadata","loadstart","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","progress","ratechange","readystatechange","reset","seeked","seeking","select","show","stalled","submit","suspend","timeupdate","volumechange","waiting","blur","error","focus","load","scroll"];E8.forEach(function(e){Object.defineProperty(Gs.prototype,"on"+e,{get:function(){return this._getEventHandler(e)},set:function(t){this._setEventHandler(e,t)}})});function h1(e,t){if(e&&e.isHTML){for(var r=e.firstChild;r!==null;r=r.nextSibling)if(r.nodeType===Tr.ELEMENT_NODE&&r.localName===t&&r.namespaceURI===Ca.HTML)return r}return null}function _8(e){if(e._nid=e.ownerDocument._nextnid++,e.ownerDocument._nodes[e._nid]=e,e.nodeType===Tr.ELEMENT_NODE){var t=e.getAttribute("id");t&&e.ownerDocument.addId(t,e),e._roothook&&e._roothook()}}function v8(e){if(e.nodeType===Tr.ELEMENT_NODE){var t=e.getAttribute("id");t&&e.ownerDocument.delId(t,e)}e.ownerDocument._nodes[e._nid]=void 0,e._nid=void 0}function g1(e){if(_8(e),e.nodeType===Tr.ELEMENT_NODE)for(var t=e.firstChild;t!==null;t=t.nextSibling)g1(t)}function x1(e){v8(e);for(var t=e.firstChild;t!==null;t=t.nextSibling)x1(t)}function b1(e,t){e.ownerDocument=t,e._lastModTime=void 0,Object.prototype.hasOwnProperty.call(e,"_tagName")&&(e._tagName=void 0);for(var r=e.firstChild;r!==null;r=r.nextSibling)b1(r,t)}function hi(e){this.nodes=Object.create(null),this.nodes[e._nid]=e,this.length=1,this.firstNode=void 0}hi.prototype.add=function(e){this.nodes[e._nid]||(this.nodes[e._nid]=e,this.length++,this.firstNode=void 0)};hi.prototype.del=function(e){this.nodes[e._nid]&&(delete this.nodes[e._nid],this.length--,this.firstNode=void 0)};hi.prototype.getFirst=function(){if(!this.firstNode){var e;for(e in this.nodes)(this.firstNode===void 0||this.firstNode.compareDocumentPosition(this.nodes[e])&Tr.DOCUMENT_POSITION_PRECEDING)&&(this.firstNode=this.nodes[e])}return this.firstNode};hi.prototype.downgrade=function(){if(this.length===1){var e;for(e in this.nodes)return this.nodes[e]}return this}});var Gc=ae((TO,E1)=>{"use strict";p();E1.exports=Jc;var S8=fr(),w1=Gd(),A8=Oc();function Jc(e,t,r,n){w1.call(this),this.nodeType=S8.DOCUMENT_TYPE_NODE,this.ownerDocument=e||null,this.name=t,this.publicId=r||"",this.systemId=n||""}Jc.prototype=Object.create(w1.prototype,{nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return null},set:function(){}},clone:{value:function(){return new Jc(this.ownerDocument,this.name,this.publicId,this.systemId)}},isEqual:{value:function(t){return this.name===t.name&&this.publicId===t.publicId&&this.systemId===t.systemId}}});Object.defineProperties(Jc.prototype,A8)});var rl=ae((DO,K1)=>{"use strict";p();K1.exports=Ge;var k8=zc(),T8=Gc(),Ep=fr(),pe=Ct().NAMESPACE,F1=Kc(),et=F1.elements,Co=Function.prototype.apply.bind(Array.prototype.push),Xc=-1,Da=1,Cr=2,qe=3,Wn=4,C8=5,D8=[],I8=/^HTML$|^-\/\/W3O\/\/DTD W3 HTML Strict 3\.0\/\/EN\/\/$|^-\/W3C\/DTD HTML 4\.0 Transitional\/EN$|^\+\/\/Silmaril\/\/dtd html Pro v0r11 19970101\/\/|^-\/\/AdvaSoft Ltd\/\/DTD HTML 3\.0 asWedit \+ extensions\/\/|^-\/\/AS\/\/DTD HTML 3\.0 asWedit \+ extensions\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Level 1\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Level 2\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict Level 1\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict Level 2\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict\/\/|^-\/\/IETF\/\/DTD HTML 2\.0\/\/|^-\/\/IETF\/\/DTD HTML 2\.1E\/\/|^-\/\/IETF\/\/DTD HTML 3\.0\/\/|^-\/\/IETF\/\/DTD HTML 3\.2 Final\/\/|^-\/\/IETF\/\/DTD HTML 3\.2\/\/|^-\/\/IETF\/\/DTD HTML 3\/\/|^-\/\/IETF\/\/DTD HTML Level 0\/\/|^-\/\/IETF\/\/DTD HTML Level 1\/\/|^-\/\/IETF\/\/DTD HTML Level 2\/\/|^-\/\/IETF\/\/DTD HTML Level 3\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 0\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 1\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 2\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 3\/\/|^-\/\/IETF\/\/DTD HTML Strict\/\/|^-\/\/IETF\/\/DTD HTML\/\/|^-\/\/Metrius\/\/DTD Metrius Presentational\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 HTML Strict\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 HTML\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 Tables\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 HTML Strict\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 HTML\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 Tables\/\/|^-\/\/Netscape Comm\. Corp\.\/\/DTD HTML\/\/|^-\/\/Netscape Comm\. Corp\.\/\/DTD Strict HTML\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML 2\.0\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML Extended 1\.0\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML Extended Relaxed 1\.0\/\/|^-\/\/SoftQuad Software\/\/DTD HoTMetaL PRO 6\.0::19990601::extensions to HTML 4\.0\/\/|^-\/\/SoftQuad\/\/DTD HoTMetaL PRO 4\.0::19971010::extensions to HTML 4\.0\/\/|^-\/\/Spyglass\/\/DTD HTML 2\.0 Extended\/\/|^-\/\/SQ\/\/DTD HTML 2\.0 HoTMetaL \+ extensions\/\/|^-\/\/Sun Microsystems Corp\.\/\/DTD HotJava HTML\/\/|^-\/\/Sun Microsystems Corp\.\/\/DTD HotJava Strict HTML\/\/|^-\/\/W3C\/\/DTD HTML 3 1995-03-24\/\/|^-\/\/W3C\/\/DTD HTML 3\.2 Draft\/\/|^-\/\/W3C\/\/DTD HTML 3\.2 Final\/\/|^-\/\/W3C\/\/DTD HTML 3\.2\/\/|^-\/\/W3C\/\/DTD HTML 3\.2S Draft\/\/|^-\/\/W3C\/\/DTD HTML 4\.0 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.0 Transitional\/\/|^-\/\/W3C\/\/DTD HTML Experimental 19960712\/\/|^-\/\/W3C\/\/DTD HTML Experimental 970421\/\/|^-\/\/W3C\/\/DTD W3 HTML\/\/|^-\/\/W3O\/\/DTD W3 HTML 3\.0\/\/|^-\/\/WebTechs\/\/DTD Mozilla HTML 2\.0\/\/|^-\/\/WebTechs\/\/DTD Mozilla HTML\/\//i,N8="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",_1=/^-\/\/W3C\/\/DTD HTML 4\.01 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.01 Transitional\/\//i,R8=/^-\/\/W3C\/\/DTD XHTML 1\.0 Frameset\/\/|^-\/\/W3C\/\/DTD XHTML 1\.0 Transitional\/\//i,Io=Object.create(null);Io[pe.HTML]={__proto__:null,address:!0,applet:!0,area:!0,article:!0,aside:!0,base:!0,basefont:!0,bgsound:!0,blockquote:!0,body:!0,br:!0,button:!0,caption:!0,center:!0,col:!0,colgroup:!0,dd:!0,details:!0,dir:!0,div:!0,dl:!0,dt:!0,embed:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,frame:!0,frameset:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,head:!0,header:!0,hgroup:!0,hr:!0,html:!0,iframe:!0,img:!0,input:!0,li:!0,link:!0,listing:!0,main:!0,marquee:!0,menu:!0,meta:!0,nav:!0,noembed:!0,noframes:!0,noscript:!0,object:!0,ol:!0,p:!0,param:!0,plaintext:!0,pre:!0,script:!0,section:!0,select:!0,source:!0,style:!0,summary:!0,table:!0,tbody:!0,td:!0,template:!0,textarea:!0,tfoot:!0,th:!0,thead:!0,title:!0,tr:!0,track:!0,ul:!0,wbr:!0,xmp:!0};Io[pe.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};Io[pe.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};var Sp=Object.create(null);Sp[pe.HTML]={__proto__:null,address:!0,div:!0,p:!0};var P1=Object.create(null);P1[pe.HTML]={__proto__:null,dd:!0,dt:!0};var Ia=Object.create(null);Ia[pe.HTML]={__proto__:null,table:!0,thead:!0,tbody:!0,tfoot:!0,tr:!0};var B1=Object.create(null);B1[pe.HTML]={__proto__:null,dd:!0,dt:!0,li:!0,menuitem:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0};var H1=Object.create(null);H1[pe.HTML]={__proto__:null,caption:!0,colgroup:!0,dd:!0,dt:!0,li:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0,tbody:!0,td:!0,tfoot:!0,th:!0,thead:!0,tr:!0};var Qc=Object.create(null);Qc[pe.HTML]={__proto__:null,table:!0,template:!0,html:!0};var el=Object.create(null);el[pe.HTML]={__proto__:null,tbody:!0,tfoot:!0,thead:!0,template:!0,html:!0};var Ap=Object.create(null);Ap[pe.HTML]={__proto__:null,tr:!0,template:!0,html:!0};var $1=Object.create(null);$1[pe.HTML]={__proto__:null,button:!0,fieldset:!0,input:!0,keygen:!0,object:!0,output:!0,select:!0,textarea:!0,img:!0};var Kn=Object.create(null);Kn[pe.HTML]={__proto__:null,applet:!0,caption:!0,html:!0,table:!0,td:!0,th:!0,marquee:!0,object:!0,template:!0};Kn[pe.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};Kn[pe.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var tl=Object.create(Kn);tl[pe.HTML]=Object.create(Kn[pe.HTML]);tl[pe.HTML].ol=!0;tl[pe.HTML].ul=!0;var kp=Object.create(Kn);kp[pe.HTML]=Object.create(Kn[pe.HTML]);kp[pe.HTML].button=!0;var U1=Object.create(null);U1[pe.HTML]={__proto__:null,html:!0,table:!0,template:!0};var L8=Object.create(null);L8[pe.HTML]={__proto__:null,optgroup:!0,option:!0};var q1=Object.create(null);q1[pe.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0};var W1=Object.create(null);W1[pe.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var v1={__proto__:null,"xlink:actuate":pe.XLINK,"xlink:arcrole":pe.XLINK,"xlink:href":pe.XLINK,"xlink:role":pe.XLINK,"xlink:show":pe.XLINK,"xlink:title":pe.XLINK,"xlink:type":pe.XLINK,"xml:base":pe.XML,"xml:lang":pe.XML,"xml:space":pe.XML,xmlns:pe.XMLNS,"xmlns:xlink":pe.XMLNS},S1={__proto__:null,attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},A1={__proto__:null,altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},k1={__proto__:null,0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},M8={__proto__:null,AElig:198,"AElig;":198,AMP:38,"AMP;":38,Aacute:193,"Aacute;":193,"Abreve;":258,Acirc:194,"Acirc;":194,"Acy;":1040,"Afr;":[55349,56580],Agrave:192,"Agrave;":192,"Alpha;":913,"Amacr;":256,"And;":10835,"Aogon;":260,"Aopf;":[55349,56632],"ApplyFunction;":8289,Aring:197,"Aring;":197,"Ascr;":[55349,56476],"Assign;":8788,Atilde:195,"Atilde;":195,Auml:196,"Auml;":196,"Backslash;":8726,"Barv;":10983,"Barwed;":8966,"Bcy;":1041,"Because;":8757,"Bernoullis;":8492,"Beta;":914,"Bfr;":[55349,56581],"Bopf;":[55349,56633],"Breve;":728,"Bscr;":8492,"Bumpeq;":8782,"CHcy;":1063,COPY:169,"COPY;":169,"Cacute;":262,"Cap;":8914,"CapitalDifferentialD;":8517,"Cayleys;":8493,"Ccaron;":268,Ccedil:199,"Ccedil;":199,"Ccirc;":264,"Cconint;":8752,"Cdot;":266,"Cedilla;":184,"CenterDot;":183,"Cfr;":8493,"Chi;":935,"CircleDot;":8857,"CircleMinus;":8854,"CirclePlus;":8853,"CircleTimes;":8855,"ClockwiseContourIntegral;":8754,"CloseCurlyDoubleQuote;":8221,"CloseCurlyQuote;":8217,"Colon;":8759,"Colone;":10868,"Congruent;":8801,"Conint;":8751,"ContourIntegral;":8750,"Copf;":8450,"Coproduct;":8720,"CounterClockwiseContourIntegral;":8755,"Cross;":10799,"Cscr;":[55349,56478],"Cup;":8915,"CupCap;":8781,"DD;":8517,"DDotrahd;":10513,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Dagger;":8225,"Darr;":8609,"Dashv;":10980,"Dcaron;":270,"Dcy;":1044,"Del;":8711,"Delta;":916,"Dfr;":[55349,56583],"DiacriticalAcute;":180,"DiacriticalDot;":729,"DiacriticalDoubleAcute;":733,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"Diamond;":8900,"DifferentialD;":8518,"Dopf;":[55349,56635],"Dot;":168,"DotDot;":8412,"DotEqual;":8784,"DoubleContourIntegral;":8751,"DoubleDot;":168,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DoubleLeftRightArrow;":8660,"DoubleLeftTee;":10980,"DoubleLongLeftArrow;":10232,"DoubleLongLeftRightArrow;":10234,"DoubleLongRightArrow;":10233,"DoubleRightArrow;":8658,"DoubleRightTee;":8872,"DoubleUpArrow;":8657,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownArrow;":8595,"DownArrowBar;":10515,"DownArrowUpArrow;":8693,"DownBreve;":785,"DownLeftRightVector;":10576,"DownLeftTeeVector;":10590,"DownLeftVector;":8637,"DownLeftVectorBar;":10582,"DownRightTeeVector;":10591,"DownRightVector;":8641,"DownRightVectorBar;":10583,"DownTee;":8868,"DownTeeArrow;":8615,"Downarrow;":8659,"Dscr;":[55349,56479],"Dstrok;":272,"ENG;":330,ETH:208,"ETH;":208,Eacute:201,"Eacute;":201,"Ecaron;":282,Ecirc:202,"Ecirc;":202,"Ecy;":1069,"Edot;":278,"Efr;":[55349,56584],Egrave:200,"Egrave;":200,"Element;":8712,"Emacr;":274,"EmptySmallSquare;":9723,"EmptyVerySmallSquare;":9643,"Eogon;":280,"Eopf;":[55349,56636],"Epsilon;":917,"Equal;":10869,"EqualTilde;":8770,"Equilibrium;":8652,"Escr;":8496,"Esim;":10867,"Eta;":919,Euml:203,"Euml;":203,"Exists;":8707,"ExponentialE;":8519,"Fcy;":1060,"Ffr;":[55349,56585],"FilledSmallSquare;":9724,"FilledVerySmallSquare;":9642,"Fopf;":[55349,56637],"ForAll;":8704,"Fouriertrf;":8497,"Fscr;":8497,"GJcy;":1027,GT:62,"GT;":62,"Gamma;":915,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"Gcirc;":284,"Gcy;":1043,"Gdot;":288,"Gfr;":[55349,56586],"Gg;":8921,"Gopf;":[55349,56638],"GreaterEqual;":8805,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"GreaterGreater;":10914,"GreaterLess;":8823,"GreaterSlantEqual;":10878,"GreaterTilde;":8819,"Gscr;":[55349,56482],"Gt;":8811,"HARDcy;":1066,"Hacek;":711,"Hat;":94,"Hcirc;":292,"Hfr;":8460,"HilbertSpace;":8459,"Hopf;":8461,"HorizontalLine;":9472,"Hscr;":8459,"Hstrok;":294,"HumpDownHump;":8782,"HumpEqual;":8783,"IEcy;":1045,"IJlig;":306,"IOcy;":1025,Iacute:205,"Iacute;":205,Icirc:206,"Icirc;":206,"Icy;":1048,"Idot;":304,"Ifr;":8465,Igrave:204,"Igrave;":204,"Im;":8465,"Imacr;":298,"ImaginaryI;":8520,"Implies;":8658,"Int;":8748,"Integral;":8747,"Intersection;":8898,"InvisibleComma;":8291,"InvisibleTimes;":8290,"Iogon;":302,"Iopf;":[55349,56640],"Iota;":921,"Iscr;":8464,"Itilde;":296,"Iukcy;":1030,Iuml:207,"Iuml;":207,"Jcirc;":308,"Jcy;":1049,"Jfr;":[55349,56589],"Jopf;":[55349,56641],"Jscr;":[55349,56485],"Jsercy;":1032,"Jukcy;":1028,"KHcy;":1061,"KJcy;":1036,"Kappa;":922,"Kcedil;":310,"Kcy;":1050,"Kfr;":[55349,56590],"Kopf;":[55349,56642],"Kscr;":[55349,56486],"LJcy;":1033,LT:60,"LT;":60,"Lacute;":313,"Lambda;":923,"Lang;":10218,"Laplacetrf;":8466,"Larr;":8606,"Lcaron;":317,"Lcedil;":315,"Lcy;":1051,"LeftAngleBracket;":10216,"LeftArrow;":8592,"LeftArrowBar;":8676,"LeftArrowRightArrow;":8646,"LeftCeiling;":8968,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVector;":8643,"LeftDownVectorBar;":10585,"LeftFloor;":8970,"LeftRightArrow;":8596,"LeftRightVector;":10574,"LeftTee;":8867,"LeftTeeArrow;":8612,"LeftTeeVector;":10586,"LeftTriangle;":8882,"LeftTriangleBar;":10703,"LeftTriangleEqual;":8884,"LeftUpDownVector;":10577,"LeftUpTeeVector;":10592,"LeftUpVector;":8639,"LeftUpVectorBar;":10584,"LeftVector;":8636,"LeftVectorBar;":10578,"Leftarrow;":8656,"Leftrightarrow;":8660,"LessEqualGreater;":8922,"LessFullEqual;":8806,"LessGreater;":8822,"LessLess;":10913,"LessSlantEqual;":10877,"LessTilde;":8818,"Lfr;":[55349,56591],"Ll;":8920,"Lleftarrow;":8666,"Lmidot;":319,"LongLeftArrow;":10229,"LongLeftRightArrow;":10231,"LongRightArrow;":10230,"Longleftarrow;":10232,"Longleftrightarrow;":10234,"Longrightarrow;":10233,"Lopf;":[55349,56643],"LowerLeftArrow;":8601,"LowerRightArrow;":8600,"Lscr;":8466,"Lsh;":8624,"Lstrok;":321,"Lt;":8810,"Map;":10501,"Mcy;":1052,"MediumSpace;":8287,"Mellintrf;":8499,"Mfr;":[55349,56592],"MinusPlus;":8723,"Mopf;":[55349,56644],"Mscr;":8499,"Mu;":924,"NJcy;":1034,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ncy;":1053,"NegativeMediumSpace;":8203,"NegativeThickSpace;":8203,"NegativeThinSpace;":8203,"NegativeVeryThinSpace;":8203,"NestedGreaterGreater;":8811,"NestedLessLess;":8810,"NewLine;":10,"Nfr;":[55349,56593],"NoBreak;":8288,"NonBreakingSpace;":160,"Nopf;":8469,"Not;":10988,"NotCongruent;":8802,"NotCupCap;":8813,"NotDoubleVerticalBar;":8742,"NotElement;":8713,"NotEqual;":8800,"NotEqualTilde;":[8770,824],"NotExists;":8708,"NotGreater;":8815,"NotGreaterEqual;":8817,"NotGreaterFullEqual;":[8807,824],"NotGreaterGreater;":[8811,824],"NotGreaterLess;":8825,"NotGreaterSlantEqual;":[10878,824],"NotGreaterTilde;":8821,"NotHumpDownHump;":[8782,824],"NotHumpEqual;":[8783,824],"NotLeftTriangle;":8938,"NotLeftTriangleBar;":[10703,824],"NotLeftTriangleEqual;":8940,"NotLess;":8814,"NotLessEqual;":8816,"NotLessGreater;":8824,"NotLessLess;":[8810,824],"NotLessSlantEqual;":[10877,824],"NotLessTilde;":8820,"NotNestedGreaterGreater;":[10914,824],"NotNestedLessLess;":[10913,824],"NotPrecedes;":8832,"NotPrecedesEqual;":[10927,824],"NotPrecedesSlantEqual;":8928,"NotReverseElement;":8716,"NotRightTriangle;":8939,"NotRightTriangleBar;":[10704,824],"NotRightTriangleEqual;":8941,"NotSquareSubset;":[8847,824],"NotSquareSubsetEqual;":8930,"NotSquareSuperset;":[8848,824],"NotSquareSupersetEqual;":8931,"NotSubset;":[8834,8402],"NotSubsetEqual;":8840,"NotSucceeds;":8833,"NotSucceedsEqual;":[10928,824],"NotSucceedsSlantEqual;":8929,"NotSucceedsTilde;":[8831,824],"NotSuperset;":[8835,8402],"NotSupersetEqual;":8841,"NotTilde;":8769,"NotTildeEqual;":8772,"NotTildeFullEqual;":8775,"NotTildeTilde;":8777,"NotVerticalBar;":8740,"Nscr;":[55349,56489],Ntilde:209,"Ntilde;":209,"Nu;":925,"OElig;":338,Oacute:211,"Oacute;":211,Ocirc:212,"Ocirc;":212,"Ocy;":1054,"Odblac;":336,"Ofr;":[55349,56594],Ograve:210,"Ograve;":210,"Omacr;":332,"Omega;":937,"Omicron;":927,"Oopf;":[55349,56646],"OpenCurlyDoubleQuote;":8220,"OpenCurlyQuote;":8216,"Or;":10836,"Oscr;":[55349,56490],Oslash:216,"Oslash;":216,Otilde:213,"Otilde;":213,"Otimes;":10807,Ouml:214,"Ouml;":214,"OverBar;":8254,"OverBrace;":9182,"OverBracket;":9140,"OverParenthesis;":9180,"PartialD;":8706,"Pcy;":1055,"Pfr;":[55349,56595],"Phi;":934,"Pi;":928,"PlusMinus;":177,"Poincareplane;":8460,"Popf;":8473,"Pr;":10939,"Precedes;":8826,"PrecedesEqual;":10927,"PrecedesSlantEqual;":8828,"PrecedesTilde;":8830,"Prime;":8243,"Product;":8719,"Proportion;":8759,"Proportional;":8733,"Pscr;":[55349,56491],"Psi;":936,QUOT:34,"QUOT;":34,"Qfr;":[55349,56596],"Qopf;":8474,"Qscr;":[55349,56492],"RBarr;":10512,REG:174,"REG;":174,"Racute;":340,"Rang;":10219,"Rarr;":8608,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"Rcy;":1056,"Re;":8476,"ReverseElement;":8715,"ReverseEquilibrium;":8651,"ReverseUpEquilibrium;":10607,"Rfr;":8476,"Rho;":929,"RightAngleBracket;":10217,"RightArrow;":8594,"RightArrowBar;":8677,"RightArrowLeftArrow;":8644,"RightCeiling;":8969,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVector;":8642,"RightDownVectorBar;":10581,"RightFloor;":8971,"RightTee;":8866,"RightTeeArrow;":8614,"RightTeeVector;":10587,"RightTriangle;":8883,"RightTriangleBar;":10704,"RightTriangleEqual;":8885,"RightUpDownVector;":10575,"RightUpTeeVector;":10588,"RightUpVector;":8638,"RightUpVectorBar;":10580,"RightVector;":8640,"RightVectorBar;":10579,"Rightarrow;":8658,"Ropf;":8477,"RoundImplies;":10608,"Rrightarrow;":8667,"Rscr;":8475,"Rsh;":8625,"RuleDelayed;":10740,"SHCHcy;":1065,"SHcy;":1064,"SOFTcy;":1068,"Sacute;":346,"Sc;":10940,"Scaron;":352,"Scedil;":350,"Scirc;":348,"Scy;":1057,"Sfr;":[55349,56598],"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"ShortRightArrow;":8594,"ShortUpArrow;":8593,"Sigma;":931,"SmallCircle;":8728,"Sopf;":[55349,56650],"Sqrt;":8730,"Square;":9633,"SquareIntersection;":8851,"SquareSubset;":8847,"SquareSubsetEqual;":8849,"SquareSuperset;":8848,"SquareSupersetEqual;":8850,"SquareUnion;":8852,"Sscr;":[55349,56494],"Star;":8902,"Sub;":8912,"Subset;":8912,"SubsetEqual;":8838,"Succeeds;":8827,"SucceedsEqual;":10928,"SucceedsSlantEqual;":8829,"SucceedsTilde;":8831,"SuchThat;":8715,"Sum;":8721,"Sup;":8913,"Superset;":8835,"SupersetEqual;":8839,"Supset;":8913,THORN:222,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"TScy;":1062,"Tab;":9,"Tau;":932,"Tcaron;":356,"Tcedil;":354,"Tcy;":1058,"Tfr;":[55349,56599],"Therefore;":8756,"Theta;":920,"ThickSpace;":[8287,8202],"ThinSpace;":8201,"Tilde;":8764,"TildeEqual;":8771,"TildeFullEqual;":8773,"TildeTilde;":8776,"Topf;":[55349,56651],"TripleDot;":8411,"Tscr;":[55349,56495],"Tstrok;":358,Uacute:218,"Uacute;":218,"Uarr;":8607,"Uarrocir;":10569,"Ubrcy;":1038,"Ubreve;":364,Ucirc:219,"Ucirc;":219,"Ucy;":1059,"Udblac;":368,"Ufr;":[55349,56600],Ugrave:217,"Ugrave;":217,"Umacr;":362,"UnderBar;":95,"UnderBrace;":9183,"UnderBracket;":9141,"UnderParenthesis;":9181,"Union;":8899,"UnionPlus;":8846,"Uogon;":370,"Uopf;":[55349,56652],"UpArrow;":8593,"UpArrowBar;":10514,"UpArrowDownArrow;":8645,"UpDownArrow;":8597,"UpEquilibrium;":10606,"UpTee;":8869,"UpTeeArrow;":8613,"Uparrow;":8657,"Updownarrow;":8661,"UpperLeftArrow;":8598,"UpperRightArrow;":8599,"Upsi;":978,"Upsilon;":933,"Uring;":366,"Uscr;":[55349,56496],"Utilde;":360,Uuml:220,"Uuml;":220,"VDash;":8875,"Vbar;":10987,"Vcy;":1042,"Vdash;":8873,"Vdashl;":10982,"Vee;":8897,"Verbar;":8214,"Vert;":8214,"VerticalBar;":8739,"VerticalLine;":124,"VerticalSeparator;":10072,"VerticalTilde;":8768,"VeryThinSpace;":8202,"Vfr;":[55349,56601],"Vopf;":[55349,56653],"Vscr;":[55349,56497],"Vvdash;":8874,"Wcirc;":372,"Wedge;":8896,"Wfr;":[55349,56602],"Wopf;":[55349,56654],"Wscr;":[55349,56498],"Xfr;":[55349,56603],"Xi;":926,"Xopf;":[55349,56655],"Xscr;":[55349,56499],"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,Yacute:221,"Yacute;":221,"Ycirc;":374,"Ycy;":1067,"Yfr;":[55349,56604],"Yopf;":[55349,56656],"Yscr;":[55349,56500],"Yuml;":376,"ZHcy;":1046,"Zacute;":377,"Zcaron;":381,"Zcy;":1047,"Zdot;":379,"ZeroWidthSpace;":8203,"Zeta;":918,"Zfr;":8488,"Zopf;":8484,"Zscr;":[55349,56501],aacute:225,"aacute;":225,"abreve;":259,"ac;":8766,"acE;":[8766,819],"acd;":8767,acirc:226,"acirc;":226,acute:180,"acute;":180,"acy;":1072,aelig:230,"aelig;":230,"af;":8289,"afr;":[55349,56606],agrave:224,"agrave;":224,"alefsym;":8501,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,amp:38,"amp;":38,"and;":8743,"andand;":10837,"andd;":10844,"andslope;":10840,"andv;":10842,"ang;":8736,"ange;":10660,"angle;":8736,"angmsd;":8737,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrt;":8735,"angrtvb;":8894,"angrtvbd;":10653,"angsph;":8738,"angst;":197,"angzarr;":9084,"aogon;":261,"aopf;":[55349,56658],"ap;":8776,"apE;":10864,"apacir;":10863,"ape;":8778,"apid;":8779,"apos;":39,"approx;":8776,"approxeq;":8778,aring:229,"aring;":229,"ascr;":[55349,56502],"ast;":42,"asymp;":8776,"asympeq;":8781,atilde:227,"atilde;":227,auml:228,"auml;":228,"awconint;":8755,"awint;":10769,"bNot;":10989,"backcong;":8780,"backepsilon;":1014,"backprime;":8245,"backsim;":8765,"backsimeq;":8909,"barvee;":8893,"barwed;":8965,"barwedge;":8965,"bbrk;":9141,"bbrktbrk;":9142,"bcong;":8780,"bcy;":1073,"bdquo;":8222,"becaus;":8757,"because;":8757,"bemptyv;":10672,"bepsi;":1014,"bernou;":8492,"beta;":946,"beth;":8502,"between;":8812,"bfr;":[55349,56607],"bigcap;":8898,"bigcirc;":9711,"bigcup;":8899,"bigodot;":10752,"bigoplus;":10753,"bigotimes;":10754,"bigsqcup;":10758,"bigstar;":9733,"bigtriangledown;":9661,"bigtriangleup;":9651,"biguplus;":10756,"bigvee;":8897,"bigwedge;":8896,"bkarow;":10509,"blacklozenge;":10731,"blacksquare;":9642,"blacktriangle;":9652,"blacktriangledown;":9662,"blacktriangleleft;":9666,"blacktriangleright;":9656,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"bne;":[61,8421],"bnequiv;":[8801,8421],"bnot;":8976,"bopf;":[55349,56659],"bot;":8869,"bottom;":8869,"bowtie;":8904,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxH;":9552,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxV;":9553,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxbox;":10697,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxh;":9472,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxminus;":8863,"boxplus;":8862,"boxtimes;":8864,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxv;":9474,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"bprime;":8245,"breve;":728,brvbar:166,"brvbar;":166,"bscr;":[55349,56503],"bsemi;":8271,"bsim;":8765,"bsime;":8909,"bsol;":92,"bsolb;":10693,"bsolhsub;":10184,"bull;":8226,"bullet;":8226,"bump;":8782,"bumpE;":10926,"bumpe;":8783,"bumpeq;":8783,"cacute;":263,"cap;":8745,"capand;":10820,"capbrcup;":10825,"capcap;":10827,"capcup;":10823,"capdot;":10816,"caps;":[8745,65024],"caret;":8257,"caron;":711,"ccaps;":10829,"ccaron;":269,ccedil:231,"ccedil;":231,"ccirc;":265,"ccups;":10828,"ccupssm;":10832,"cdot;":267,cedil:184,"cedil;":184,"cemptyv;":10674,cent:162,"cent;":162,"centerdot;":183,"cfr;":[55349,56608],"chcy;":1095,"check;":10003,"checkmark;":10003,"chi;":967,"cir;":9675,"cirE;":10691,"circ;":710,"circeq;":8791,"circlearrowleft;":8634,"circlearrowright;":8635,"circledR;":174,"circledS;":9416,"circledast;":8859,"circledcirc;":8858,"circleddash;":8861,"cire;":8791,"cirfnint;":10768,"cirmid;":10991,"cirscir;":10690,"clubs;":9827,"clubsuit;":9827,"colon;":58,"colone;":8788,"coloneq;":8788,"comma;":44,"commat;":64,"comp;":8705,"compfn;":8728,"complement;":8705,"complexes;":8450,"cong;":8773,"congdot;":10861,"conint;":8750,"copf;":[55349,56660],"coprod;":8720,copy:169,"copy;":169,"copysr;":8471,"crarr;":8629,"cross;":10007,"cscr;":[55349,56504],"csub;":10959,"csube;":10961,"csup;":10960,"csupe;":10962,"ctdot;":8943,"cudarrl;":10552,"cudarrr;":10549,"cuepr;":8926,"cuesc;":8927,"cularr;":8630,"cularrp;":10557,"cup;":8746,"cupbrcap;":10824,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"cupor;":10821,"cups;":[8746,65024],"curarr;":8631,"curarrm;":10556,"curlyeqprec;":8926,"curlyeqsucc;":8927,"curlyvee;":8910,"curlywedge;":8911,curren:164,"curren;":164,"curvearrowleft;":8630,"curvearrowright;":8631,"cuvee;":8910,"cuwed;":8911,"cwconint;":8754,"cwint;":8753,"cylcty;":9005,"dArr;":8659,"dHar;":10597,"dagger;":8224,"daleth;":8504,"darr;":8595,"dash;":8208,"dashv;":8867,"dbkarow;":10511,"dblac;":733,"dcaron;":271,"dcy;":1076,"dd;":8518,"ddagger;":8225,"ddarr;":8650,"ddotseq;":10871,deg:176,"deg;":176,"delta;":948,"demptyv;":10673,"dfisht;":10623,"dfr;":[55349,56609],"dharl;":8643,"dharr;":8642,"diam;":8900,"diamond;":8900,"diamondsuit;":9830,"diams;":9830,"die;":168,"digamma;":989,"disin;":8946,"div;":247,divide:247,"divide;":247,"divideontimes;":8903,"divonx;":8903,"djcy;":1106,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"dopf;":[55349,56661],"dot;":729,"doteq;":8784,"doteqdot;":8785,"dotminus;":8760,"dotplus;":8724,"dotsquare;":8865,"doublebarwedge;":8966,"downarrow;":8595,"downdownarrows;":8650,"downharpoonleft;":8643,"downharpoonright;":8642,"drbkarow;":10512,"drcorn;":8991,"drcrop;":8972,"dscr;":[55349,56505],"dscy;":1109,"dsol;":10742,"dstrok;":273,"dtdot;":8945,"dtri;":9663,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"dwangle;":10662,"dzcy;":1119,"dzigrarr;":10239,"eDDot;":10871,"eDot;":8785,eacute:233,"eacute;":233,"easter;":10862,"ecaron;":283,"ecir;":8790,ecirc:234,"ecirc;":234,"ecolon;":8789,"ecy;":1101,"edot;":279,"ee;":8519,"efDot;":8786,"efr;":[55349,56610],"eg;":10906,egrave:232,"egrave;":232,"egs;":10902,"egsdot;":10904,"el;":10905,"elinters;":9191,"ell;":8467,"els;":10901,"elsdot;":10903,"emacr;":275,"empty;":8709,"emptyset;":8709,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"emsp;":8195,"eng;":331,"ensp;":8194,"eogon;":281,"eopf;":[55349,56662],"epar;":8917,"eparsl;":10723,"eplus;":10865,"epsi;":949,"epsilon;":949,"epsiv;":1013,"eqcirc;":8790,"eqcolon;":8789,"eqsim;":8770,"eqslantgtr;":10902,"eqslantless;":10901,"equals;":61,"equest;":8799,"equiv;":8801,"equivDD;":10872,"eqvparsl;":10725,"erDot;":8787,"erarr;":10609,"escr;":8495,"esdot;":8784,"esim;":8770,"eta;":951,eth:240,"eth;":240,euml:235,"euml;":235,"euro;":8364,"excl;":33,"exist;":8707,"expectation;":8496,"exponentiale;":8519,"fallingdotseq;":8786,"fcy;":1092,"female;":9792,"ffilig;":64259,"fflig;":64256,"ffllig;":64260,"ffr;":[55349,56611],"filig;":64257,"fjlig;":[102,106],"flat;":9837,"fllig;":64258,"fltns;":9649,"fnof;":402,"fopf;":[55349,56663],"forall;":8704,"fork;":8916,"forkv;":10969,"fpartint;":10765,frac12:189,"frac12;":189,"frac13;":8531,frac14:188,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,frac34:190,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"frasl;":8260,"frown;":8994,"fscr;":[55349,56507],"gE;":8807,"gEl;":10892,"gacute;":501,"gamma;":947,"gammad;":989,"gap;":10886,"gbreve;":287,"gcirc;":285,"gcy;":1075,"gdot;":289,"ge;":8805,"gel;":8923,"geq;":8805,"geqq;":8807,"geqslant;":10878,"ges;":10878,"gescc;":10921,"gesdot;":10880,"gesdoto;":10882,"gesdotol;":10884,"gesl;":[8923,65024],"gesles;":10900,"gfr;":[55349,56612],"gg;":8811,"ggg;":8921,"gimel;":8503,"gjcy;":1107,"gl;":8823,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gnap;":10890,"gnapprox;":10890,"gne;":10888,"gneq;":10888,"gneqq;":8809,"gnsim;":8935,"gopf;":[55349,56664],"grave;":96,"gscr;":8458,"gsim;":8819,"gsime;":10894,"gsiml;":10896,gt:62,"gt;":62,"gtcc;":10919,"gtcir;":10874,"gtdot;":8919,"gtlPar;":10645,"gtquest;":10876,"gtrapprox;":10886,"gtrarr;":10616,"gtrdot;":8919,"gtreqless;":8923,"gtreqqless;":10892,"gtrless;":8823,"gtrsim;":8819,"gvertneqq;":[8809,65024],"gvnE;":[8809,65024],"hArr;":8660,"hairsp;":8202,"half;":189,"hamilt;":8459,"hardcy;":1098,"harr;":8596,"harrcir;":10568,"harrw;":8621,"hbar;":8463,"hcirc;":293,"hearts;":9829,"heartsuit;":9829,"hellip;":8230,"hercon;":8889,"hfr;":[55349,56613],"hksearow;":10533,"hkswarow;":10534,"hoarr;":8703,"homtht;":8763,"hookleftarrow;":8617,"hookrightarrow;":8618,"hopf;":[55349,56665],"horbar;":8213,"hscr;":[55349,56509],"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,iacute:237,"iacute;":237,"ic;":8291,icirc:238,"icirc;":238,"icy;":1080,"iecy;":1077,iexcl:161,"iexcl;":161,"iff;":8660,"ifr;":[55349,56614],igrave:236,"igrave;":236,"ii;":8520,"iiiint;":10764,"iiint;":8749,"iinfin;":10716,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imagline;":8464,"imagpart;":8465,"imath;":305,"imof;":8887,"imped;":437,"in;":8712,"incare;":8453,"infin;":8734,"infintie;":10717,"inodot;":305,"int;":8747,"intcal;":8890,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"intprod;":10812,"iocy;":1105,"iogon;":303,"iopf;":[55349,56666],"iota;":953,"iprod;":10812,iquest:191,"iquest;":191,"iscr;":[55349,56510],"isin;":8712,"isinE;":8953,"isindot;":8949,"isins;":8948,"isinsv;":8947,"isinv;":8712,"it;":8290,"itilde;":297,"iukcy;":1110,iuml:239,"iuml;":239,"jcirc;":309,"jcy;":1081,"jfr;":[55349,56615],"jmath;":567,"jopf;":[55349,56667],"jscr;":[55349,56511],"jsercy;":1112,"jukcy;":1108,"kappa;":954,"kappav;":1008,"kcedil;":311,"kcy;":1082,"kfr;":[55349,56616],"kgreen;":312,"khcy;":1093,"kjcy;":1116,"kopf;":[55349,56668],"kscr;":[55349,56512],"lAarr;":8666,"lArr;":8656,"lAtail;":10523,"lBarr;":10510,"lE;":8806,"lEg;":10891,"lHar;":10594,"lacute;":314,"laemptyv;":10676,"lagran;":8466,"lambda;":955,"lang;":10216,"langd;":10641,"langle;":10216,"lap;":10885,laquo:171,"laquo;":171,"larr;":8592,"larrb;":8676,"larrbfs;":10527,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrsim;":10611,"larrtl;":8610,"lat;":10923,"latail;":10521,"late;":10925,"lates;":[10925,65024],"lbarr;":10508,"lbbrk;":10098,"lbrace;":123,"lbrack;":91,"lbrke;":10635,"lbrksld;":10639,"lbrkslu;":10637,"lcaron;":318,"lcedil;":316,"lceil;":8968,"lcub;":123,"lcy;":1083,"ldca;":10550,"ldquo;":8220,"ldquor;":8222,"ldrdhar;":10599,"ldrushar;":10571,"ldsh;":8626,"le;":8804,"leftarrow;":8592,"leftarrowtail;":8610,"leftharpoondown;":8637,"leftharpoonup;":8636,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftrightarrows;":8646,"leftrightharpoons;":8651,"leftrightsquigarrow;":8621,"leftthreetimes;":8907,"leg;":8922,"leq;":8804,"leqq;":8806,"leqslant;":10877,"les;":10877,"lescc;":10920,"lesdot;":10879,"lesdoto;":10881,"lesdotor;":10883,"lesg;":[8922,65024],"lesges;":10899,"lessapprox;":10885,"lessdot;":8918,"lesseqgtr;":8922,"lesseqqgtr;":10891,"lessgtr;":8822,"lesssim;":8818,"lfisht;":10620,"lfloor;":8970,"lfr;":[55349,56617],"lg;":8822,"lgE;":10897,"lhard;":8637,"lharu;":8636,"lharul;":10602,"lhblk;":9604,"ljcy;":1113,"ll;":8810,"llarr;":8647,"llcorner;":8990,"llhard;":10603,"lltri;":9722,"lmidot;":320,"lmoust;":9136,"lmoustache;":9136,"lnE;":8808,"lnap;":10889,"lnapprox;":10889,"lne;":10887,"lneq;":10887,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"longleftarrow;":10229,"longleftrightarrow;":10231,"longmapsto;":10236,"longrightarrow;":10230,"looparrowleft;":8619,"looparrowright;":8620,"lopar;":10629,"lopf;":[55349,56669],"loplus;":10797,"lotimes;":10804,"lowast;":8727,"lowbar;":95,"loz;":9674,"lozenge;":9674,"lozf;":10731,"lpar;":40,"lparlt;":10643,"lrarr;":8646,"lrcorner;":8991,"lrhar;":8651,"lrhard;":10605,"lrm;":8206,"lrtri;":8895,"lsaquo;":8249,"lscr;":[55349,56513],"lsh;":8624,"lsim;":8818,"lsime;":10893,"lsimg;":10895,"lsqb;":91,"lsquo;":8216,"lsquor;":8218,"lstrok;":322,lt:60,"lt;":60,"ltcc;":10918,"ltcir;":10873,"ltdot;":8918,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltquest;":10875,"ltrPar;":10646,"ltri;":9667,"ltrie;":8884,"ltrif;":9666,"lurdshar;":10570,"luruhar;":10598,"lvertneqq;":[8808,65024],"lvnE;":[8808,65024],"mDDot;":8762,macr:175,"macr;":175,"male;":9794,"malt;":10016,"maltese;":10016,"map;":8614,"mapsto;":8614,"mapstodown;":8615,"mapstoleft;":8612,"mapstoup;":8613,"marker;":9646,"mcomma;":10793,"mcy;":1084,"mdash;":8212,"measuredangle;":8737,"mfr;":[55349,56618],"mho;":8487,micro:181,"micro;":181,"mid;":8739,"midast;":42,"midcir;":10992,middot:183,"middot;":183,"minus;":8722,"minusb;":8863,"minusd;":8760,"minusdu;":10794,"mlcp;":10971,"mldr;":8230,"mnplus;":8723,"models;":8871,"mopf;":[55349,56670],"mp;":8723,"mscr;":[55349,56514],"mstpos;":8766,"mu;":956,"multimap;":8888,"mumap;":8888,"nGg;":[8921,824],"nGt;":[8811,8402],"nGtv;":[8811,824],"nLeftarrow;":8653,"nLeftrightarrow;":8654,"nLl;":[8920,824],"nLt;":[8810,8402],"nLtv;":[8810,824],"nRightarrow;":8655,"nVDash;":8879,"nVdash;":8878,"nabla;":8711,"nacute;":324,"nang;":[8736,8402],"nap;":8777,"napE;":[10864,824],"napid;":[8779,824],"napos;":329,"napprox;":8777,"natur;":9838,"natural;":9838,"naturals;":8469,nbsp:160,"nbsp;":160,"nbump;":[8782,824],"nbumpe;":[8783,824],"ncap;":10819,"ncaron;":328,"ncedil;":326,"ncong;":8775,"ncongdot;":[10861,824],"ncup;":10818,"ncy;":1085,"ndash;":8211,"ne;":8800,"neArr;":8663,"nearhk;":10532,"nearr;":8599,"nearrow;":8599,"nedot;":[8784,824],"nequiv;":8802,"nesear;":10536,"nesim;":[8770,824],"nexist;":8708,"nexists;":8708,"nfr;":[55349,56619],"ngE;":[8807,824],"nge;":8817,"ngeq;":8817,"ngeqq;":[8807,824],"ngeqslant;":[10878,824],"nges;":[10878,824],"ngsim;":8821,"ngt;":8815,"ngtr;":8815,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"ni;":8715,"nis;":8956,"nisd;":8954,"niv;":8715,"njcy;":1114,"nlArr;":8653,"nlE;":[8806,824],"nlarr;":8602,"nldr;":8229,"nle;":8816,"nleftarrow;":8602,"nleftrightarrow;":8622,"nleq;":8816,"nleqq;":[8806,824],"nleqslant;":[10877,824],"nles;":[10877,824],"nless;":8814,"nlsim;":8820,"nlt;":8814,"nltri;":8938,"nltrie;":8940,"nmid;":8740,"nopf;":[55349,56671],not:172,"not;":172,"notin;":8713,"notinE;":[8953,824],"notindot;":[8949,824],"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notni;":8716,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npar;":8742,"nparallel;":8742,"nparsl;":[11005,8421],"npart;":[8706,824],"npolint;":10772,"npr;":8832,"nprcue;":8928,"npre;":[10927,824],"nprec;":8832,"npreceq;":[10927,824],"nrArr;":8655,"nrarr;":8603,"nrarrc;":[10547,824],"nrarrw;":[8605,824],"nrightarrow;":8603,"nrtri;":8939,"nrtrie;":8941,"nsc;":8833,"nsccue;":8929,"nsce;":[10928,824],"nscr;":[55349,56515],"nshortmid;":8740,"nshortparallel;":8742,"nsim;":8769,"nsime;":8772,"nsimeq;":8772,"nsmid;":8740,"nspar;":8742,"nsqsube;":8930,"nsqsupe;":8931,"nsub;":8836,"nsubE;":[10949,824],"nsube;":8840,"nsubset;":[8834,8402],"nsubseteq;":8840,"nsubseteqq;":[10949,824],"nsucc;":8833,"nsucceq;":[10928,824],"nsup;":8837,"nsupE;":[10950,824],"nsupe;":8841,"nsupset;":[8835,8402],"nsupseteq;":8841,"nsupseteqq;":[10950,824],"ntgl;":8825,ntilde:241,"ntilde;":241,"ntlg;":8824,"ntriangleleft;":8938,"ntrianglelefteq;":8940,"ntriangleright;":8939,"ntrianglerighteq;":8941,"nu;":957,"num;":35,"numero;":8470,"numsp;":8199,"nvDash;":8877,"nvHarr;":10500,"nvap;":[8781,8402],"nvdash;":8876,"nvge;":[8805,8402],"nvgt;":[62,8402],"nvinfin;":10718,"nvlArr;":10498,"nvle;":[8804,8402],"nvlt;":[60,8402],"nvltrie;":[8884,8402],"nvrArr;":10499,"nvrtrie;":[8885,8402],"nvsim;":[8764,8402],"nwArr;":8662,"nwarhk;":10531,"nwarr;":8598,"nwarrow;":8598,"nwnear;":10535,"oS;":9416,oacute:243,"oacute;":243,"oast;":8859,"ocir;":8858,ocirc:244,"ocirc;":244,"ocy;":1086,"odash;":8861,"odblac;":337,"odiv;":10808,"odot;":8857,"odsold;":10684,"oelig;":339,"ofcir;":10687,"ofr;":[55349,56620],"ogon;":731,ograve:242,"ograve;":242,"ogt;":10689,"ohbar;":10677,"ohm;":937,"oint;":8750,"olarr;":8634,"olcir;":10686,"olcross;":10683,"oline;":8254,"olt;":10688,"omacr;":333,"omega;":969,"omicron;":959,"omid;":10678,"ominus;":8854,"oopf;":[55349,56672],"opar;":10679,"operp;":10681,"oplus;":8853,"or;":8744,"orarr;":8635,"ord;":10845,"order;":8500,"orderof;":8500,ordf:170,"ordf;":170,ordm:186,"ordm;":186,"origof;":8886,"oror;":10838,"orslope;":10839,"orv;":10843,"oscr;":8500,oslash:248,"oslash;":248,"osol;":8856,otilde:245,"otilde;":245,"otimes;":8855,"otimesas;":10806,ouml:246,"ouml;":246,"ovbar;":9021,"par;":8741,para:182,"para;":182,"parallel;":8741,"parsim;":10995,"parsl;":11005,"part;":8706,"pcy;":1087,"percnt;":37,"period;":46,"permil;":8240,"perp;":8869,"pertenk;":8241,"pfr;":[55349,56621],"phi;":966,"phiv;":981,"phmmat;":8499,"phone;":9742,"pi;":960,"pitchfork;":8916,"piv;":982,"planck;":8463,"planckh;":8462,"plankv;":8463,"plus;":43,"plusacir;":10787,"plusb;":8862,"pluscir;":10786,"plusdo;":8724,"plusdu;":10789,"pluse;":10866,plusmn:177,"plusmn;":177,"plussim;":10790,"plustwo;":10791,"pm;":177,"pointint;":10773,"popf;":[55349,56673],pound:163,"pound;":163,"pr;":8826,"prE;":10931,"prap;":10935,"prcue;":8828,"pre;":10927,"prec;":8826,"precapprox;":10935,"preccurlyeq;":8828,"preceq;":10927,"precnapprox;":10937,"precneqq;":10933,"precnsim;":8936,"precsim;":8830,"prime;":8242,"primes;":8473,"prnE;":10933,"prnap;":10937,"prnsim;":8936,"prod;":8719,"profalar;":9006,"profline;":8978,"profsurf;":8979,"prop;":8733,"propto;":8733,"prsim;":8830,"prurel;":8880,"pscr;":[55349,56517],"psi;":968,"puncsp;":8200,"qfr;":[55349,56622],"qint;":10764,"qopf;":[55349,56674],"qprime;":8279,"qscr;":[55349,56518],"quaternions;":8461,"quatint;":10774,"quest;":63,"questeq;":8799,quot:34,"quot;":34,"rAarr;":8667,"rArr;":8658,"rAtail;":10524,"rBarr;":10511,"rHar;":10596,"race;":[8765,817],"racute;":341,"radic;":8730,"raemptyv;":10675,"rang;":10217,"rangd;":10642,"range;":10661,"rangle;":10217,raquo:187,"raquo;":187,"rarr;":8594,"rarrap;":10613,"rarrb;":8677,"rarrbfs;":10528,"rarrc;":10547,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrsim;":10612,"rarrtl;":8611,"rarrw;":8605,"ratail;":10522,"ratio;":8758,"rationals;":8474,"rbarr;":10509,"rbbrk;":10099,"rbrace;":125,"rbrack;":93,"rbrke;":10636,"rbrksld;":10638,"rbrkslu;":10640,"rcaron;":345,"rcedil;":343,"rceil;":8969,"rcub;":125,"rcy;":1088,"rdca;":10551,"rdldhar;":10601,"rdquo;":8221,"rdquor;":8221,"rdsh;":8627,"real;":8476,"realine;":8475,"realpart;":8476,"reals;":8477,"rect;":9645,reg:174,"reg;":174,"rfisht;":10621,"rfloor;":8971,"rfr;":[55349,56623],"rhard;":8641,"rharu;":8640,"rharul;":10604,"rho;":961,"rhov;":1009,"rightarrow;":8594,"rightarrowtail;":8611,"rightharpoondown;":8641,"rightharpoonup;":8640,"rightleftarrows;":8644,"rightleftharpoons;":8652,"rightrightarrows;":8649,"rightsquigarrow;":8605,"rightthreetimes;":8908,"ring;":730,"risingdotseq;":8787,"rlarr;":8644,"rlhar;":8652,"rlm;":8207,"rmoust;":9137,"rmoustache;":9137,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"ropf;":[55349,56675],"roplus;":10798,"rotimes;":10805,"rpar;":41,"rpargt;":10644,"rppolint;":10770,"rrarr;":8649,"rsaquo;":8250,"rscr;":[55349,56519],"rsh;":8625,"rsqb;":93,"rsquo;":8217,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"rtri;":9657,"rtrie;":8885,"rtrif;":9656,"rtriltri;":10702,"ruluhar;":10600,"rx;":8478,"sacute;":347,"sbquo;":8218,"sc;":8827,"scE;":10932,"scap;":10936,"scaron;":353,"sccue;":8829,"sce;":10928,"scedil;":351,"scirc;":349,"scnE;":10934,"scnap;":10938,"scnsim;":8937,"scpolint;":10771,"scsim;":8831,"scy;":1089,"sdot;":8901,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searhk;":10533,"searr;":8600,"searrow;":8600,sect:167,"sect;":167,"semi;":59,"seswar;":10537,"setminus;":8726,"setmn;":8726,"sext;":10038,"sfr;":[55349,56624],"sfrown;":8994,"sharp;":9839,"shchcy;":1097,"shcy;":1096,"shortmid;":8739,"shortparallel;":8741,shy:173,"shy;":173,"sigma;":963,"sigmaf;":962,"sigmav;":962,"sim;":8764,"simdot;":10858,"sime;":8771,"simeq;":8771,"simg;":10910,"simgE;":10912,"siml;":10909,"simlE;":10911,"simne;":8774,"simplus;":10788,"simrarr;":10610,"slarr;":8592,"smallsetminus;":8726,"smashp;":10803,"smeparsl;":10724,"smid;":8739,"smile;":8995,"smt;":10922,"smte;":10924,"smtes;":[10924,65024],"softcy;":1100,"sol;":47,"solb;":10692,"solbar;":9023,"sopf;":[55349,56676],"spades;":9824,"spadesuit;":9824,"spar;":8741,"sqcap;":8851,"sqcaps;":[8851,65024],"sqcup;":8852,"sqcups;":[8852,65024],"sqsub;":8847,"sqsube;":8849,"sqsubset;":8847,"sqsubseteq;":8849,"sqsup;":8848,"sqsupe;":8850,"sqsupset;":8848,"sqsupseteq;":8850,"squ;":9633,"square;":9633,"squarf;":9642,"squf;":9642,"srarr;":8594,"sscr;":[55349,56520],"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"star;":9734,"starf;":9733,"straightepsilon;":1013,"straightphi;":981,"strns;":175,"sub;":8834,"subE;":10949,"subdot;":10941,"sube;":8838,"subedot;":10947,"submult;":10945,"subnE;":10955,"subne;":8842,"subplus;":10943,"subrarr;":10617,"subset;":8834,"subseteq;":8838,"subseteqq;":10949,"subsetneq;":8842,"subsetneqq;":10955,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succ;":8827,"succapprox;":10936,"succcurlyeq;":8829,"succeq;":10928,"succnapprox;":10938,"succneqq;":10934,"succnsim;":8937,"succsim;":8831,"sum;":8721,"sung;":9834,sup1:185,"sup1;":185,sup2:178,"sup2;":178,sup3:179,"sup3;":179,"sup;":8835,"supE;":10950,"supdot;":10942,"supdsub;":10968,"supe;":8839,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supnE;":10956,"supne;":8843,"supplus;":10944,"supset;":8835,"supseteq;":8839,"supseteqq;":10950,"supsetneq;":8843,"supsetneqq;":10956,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swArr;":8665,"swarhk;":10534,"swarr;":8601,"swarrow;":8601,"swnwar;":10538,szlig:223,"szlig;":223,"target;":8982,"tau;":964,"tbrk;":9140,"tcaron;":357,"tcedil;":355,"tcy;":1090,"tdot;":8411,"telrec;":8981,"tfr;":[55349,56625],"there4;":8756,"therefore;":8756,"theta;":952,"thetasym;":977,"thetav;":977,"thickapprox;":8776,"thicksim;":8764,"thinsp;":8201,"thkap;":8776,"thksim;":8764,thorn:254,"thorn;":254,"tilde;":732,times:215,"times;":215,"timesb;":8864,"timesbar;":10801,"timesd;":10800,"tint;":8749,"toea;":10536,"top;":8868,"topbot;":9014,"topcir;":10993,"topf;":[55349,56677],"topfork;":10970,"tosa;":10537,"tprime;":8244,"trade;":8482,"triangle;":9653,"triangledown;":9663,"triangleleft;":9667,"trianglelefteq;":8884,"triangleq;":8796,"triangleright;":9657,"trianglerighteq;":8885,"tridot;":9708,"trie;":8796,"triminus;":10810,"triplus;":10809,"trisb;":10701,"tritime;":10811,"trpezium;":9186,"tscr;":[55349,56521],"tscy;":1094,"tshcy;":1115,"tstrok;":359,"twixt;":8812,"twoheadleftarrow;":8606,"twoheadrightarrow;":8608,"uArr;":8657,"uHar;":10595,uacute:250,"uacute;":250,"uarr;":8593,"ubrcy;":1118,"ubreve;":365,ucirc:251,"ucirc;":251,"ucy;":1091,"udarr;":8645,"udblac;":369,"udhar;":10606,"ufisht;":10622,"ufr;":[55349,56626],ugrave:249,"ugrave;":249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ulcorn;":8988,"ulcorner;":8988,"ulcrop;":8975,"ultri;":9720,"umacr;":363,uml:168,"uml;":168,"uogon;":371,"uopf;":[55349,56678],"uparrow;":8593,"updownarrow;":8597,"upharpoonleft;":8639,"upharpoonright;":8638,"uplus;":8846,"upsi;":965,"upsih;":978,"upsilon;":965,"upuparrows;":8648,"urcorn;":8989,"urcorner;":8989,"urcrop;":8974,"uring;":367,"urtri;":9721,"uscr;":[55349,56522],"utdot;":8944,"utilde;":361,"utri;":9653,"utrif;":9652,"uuarr;":8648,uuml:252,"uuml;":252,"uwangle;":10663,"vArr;":8661,"vBar;":10984,"vBarv;":10985,"vDash;":8872,"vangrt;":10652,"varepsilon;":1013,"varkappa;":1008,"varnothing;":8709,"varphi;":981,"varpi;":982,"varpropto;":8733,"varr;":8597,"varrho;":1009,"varsigma;":962,"varsubsetneq;":[8842,65024],"varsubsetneqq;":[10955,65024],"varsupsetneq;":[8843,65024],"varsupsetneqq;":[10956,65024],"vartheta;":977,"vartriangleleft;":8882,"vartriangleright;":8883,"vcy;":1074,"vdash;":8866,"vee;":8744,"veebar;":8891,"veeeq;":8794,"vellip;":8942,"verbar;":124,"vert;":124,"vfr;":[55349,56627],"vltri;":8882,"vnsub;":[8834,8402],"vnsup;":[8835,8402],"vopf;":[55349,56679],"vprop;":8733,"vrtri;":8883,"vscr;":[55349,56523],"vsubnE;":[10955,65024],"vsubne;":[8842,65024],"vsupnE;":[10956,65024],"vsupne;":[8843,65024],"vzigzag;":10650,"wcirc;":373,"wedbar;":10847,"wedge;":8743,"wedgeq;":8793,"weierp;":8472,"wfr;":[55349,56628],"wopf;":[55349,56680],"wp;":8472,"wr;":8768,"wreath;":8768,"wscr;":[55349,56524],"xcap;":8898,"xcirc;":9711,"xcup;":8899,"xdtri;":9661,"xfr;":[55349,56629],"xhArr;":10234,"xharr;":10231,"xi;":958,"xlArr;":10232,"xlarr;":10229,"xmap;":10236,"xnis;":8955,"xodot;":10752,"xopf;":[55349,56681],"xoplus;":10753,"xotime;":10754,"xrArr;":10233,"xrarr;":10230,"xscr;":[55349,56525],"xsqcup;":10758,"xuplus;":10756,"xutri;":9651,"xvee;":8897,"xwedge;":8896,yacute:253,"yacute;":253,"yacy;":1103,"ycirc;":375,"ycy;":1099,yen:165,"yen;":165,"yfr;":[55349,56630],"yicy;":1111,"yopf;":[55349,56682],"yscr;":[55349,56526],"yucy;":1102,yuml:255,"yuml;":255,"zacute;":378,"zcaron;":382,"zcy;":1079,"zdot;":380,"zeetrf;":8488,"zeta;":950,"zfr;":[55349,56631],"zhcy;":1078,"zigrarr;":8669,"zopf;":[55349,56683],"zscr;":[55349,56527],"zwj;":8205,"zwnj;":8204},T1=/(A(?:Elig;?|MP;?|acute;?|breve;|c(?:irc;?|y;)|fr;|grave;?|lpha;|macr;|nd;|o(?:gon;|pf;)|pplyFunction;|ring;?|s(?:cr;|sign;)|tilde;?|uml;?)|B(?:a(?:ckslash;|r(?:v;|wed;))|cy;|e(?:cause;|rnoullis;|ta;)|fr;|opf;|reve;|scr;|umpeq;)|C(?:Hcy;|OPY;?|a(?:cute;|p(?:;|italDifferentialD;)|yleys;)|c(?:aron;|edil;?|irc;|onint;)|dot;|e(?:dilla;|nterDot;)|fr;|hi;|ircle(?:Dot;|Minus;|Plus;|Times;)|lo(?:ckwiseContourIntegral;|seCurly(?:DoubleQuote;|Quote;))|o(?:lon(?:;|e;)|n(?:gruent;|int;|tourIntegral;)|p(?:f;|roduct;)|unterClockwiseContourIntegral;)|ross;|scr;|up(?:;|Cap;))|D(?:D(?:;|otrahd;)|Jcy;|Scy;|Zcy;|a(?:gger;|rr;|shv;)|c(?:aron;|y;)|el(?:;|ta;)|fr;|i(?:a(?:critical(?:Acute;|Do(?:t;|ubleAcute;)|Grave;|Tilde;)|mond;)|fferentialD;)|o(?:pf;|t(?:;|Dot;|Equal;)|uble(?:ContourIntegral;|Do(?:t;|wnArrow;)|L(?:eft(?:Arrow;|RightArrow;|Tee;)|ong(?:Left(?:Arrow;|RightArrow;)|RightArrow;))|Right(?:Arrow;|Tee;)|Up(?:Arrow;|DownArrow;)|VerticalBar;)|wn(?:Arrow(?:;|Bar;|UpArrow;)|Breve;|Left(?:RightVector;|TeeVector;|Vector(?:;|Bar;))|Right(?:TeeVector;|Vector(?:;|Bar;))|Tee(?:;|Arrow;)|arrow;))|s(?:cr;|trok;))|E(?:NG;|TH;?|acute;?|c(?:aron;|irc;?|y;)|dot;|fr;|grave;?|lement;|m(?:acr;|pty(?:SmallSquare;|VerySmallSquare;))|o(?:gon;|pf;)|psilon;|qu(?:al(?:;|Tilde;)|ilibrium;)|s(?:cr;|im;)|ta;|uml;?|x(?:ists;|ponentialE;))|F(?:cy;|fr;|illed(?:SmallSquare;|VerySmallSquare;)|o(?:pf;|rAll;|uriertrf;)|scr;)|G(?:Jcy;|T;?|amma(?:;|d;)|breve;|c(?:edil;|irc;|y;)|dot;|fr;|g;|opf;|reater(?:Equal(?:;|Less;)|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|scr;|t;)|H(?:ARDcy;|a(?:cek;|t;)|circ;|fr;|ilbertSpace;|o(?:pf;|rizontalLine;)|s(?:cr;|trok;)|ump(?:DownHump;|Equal;))|I(?:Ecy;|Jlig;|Ocy;|acute;?|c(?:irc;?|y;)|dot;|fr;|grave;?|m(?:;|a(?:cr;|ginaryI;)|plies;)|n(?:t(?:;|e(?:gral;|rsection;))|visible(?:Comma;|Times;))|o(?:gon;|pf;|ta;)|scr;|tilde;|u(?:kcy;|ml;?))|J(?:c(?:irc;|y;)|fr;|opf;|s(?:cr;|ercy;)|ukcy;)|K(?:Hcy;|Jcy;|appa;|c(?:edil;|y;)|fr;|opf;|scr;)|L(?:Jcy;|T;?|a(?:cute;|mbda;|ng;|placetrf;|rr;)|c(?:aron;|edil;|y;)|e(?:ft(?:A(?:ngleBracket;|rrow(?:;|Bar;|RightArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|Right(?:Arrow;|Vector;)|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;|rightarrow;)|ss(?:EqualGreater;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;))|fr;|l(?:;|eftarrow;)|midot;|o(?:ng(?:Left(?:Arrow;|RightArrow;)|RightArrow;|left(?:arrow;|rightarrow;)|rightarrow;)|pf;|wer(?:LeftArrow;|RightArrow;))|s(?:cr;|h;|trok;)|t;)|M(?:ap;|cy;|e(?:diumSpace;|llintrf;)|fr;|inusPlus;|opf;|scr;|u;)|N(?:Jcy;|acute;|c(?:aron;|edil;|y;)|e(?:gative(?:MediumSpace;|Thi(?:ckSpace;|nSpace;)|VeryThinSpace;)|sted(?:GreaterGreater;|LessLess;)|wLine;)|fr;|o(?:Break;|nBreakingSpace;|pf;|t(?:;|C(?:ongruent;|upCap;)|DoubleVerticalBar;|E(?:lement;|qual(?:;|Tilde;)|xists;)|Greater(?:;|Equal;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|Hump(?:DownHump;|Equal;)|Le(?:ftTriangle(?:;|Bar;|Equal;)|ss(?:;|Equal;|Greater;|Less;|SlantEqual;|Tilde;))|Nested(?:GreaterGreater;|LessLess;)|Precedes(?:;|Equal;|SlantEqual;)|R(?:everseElement;|ightTriangle(?:;|Bar;|Equal;))|S(?:quareSu(?:bset(?:;|Equal;)|perset(?:;|Equal;))|u(?:bset(?:;|Equal;)|cceeds(?:;|Equal;|SlantEqual;|Tilde;)|perset(?:;|Equal;)))|Tilde(?:;|Equal;|FullEqual;|Tilde;)|VerticalBar;))|scr;|tilde;?|u;)|O(?:Elig;|acute;?|c(?:irc;?|y;)|dblac;|fr;|grave;?|m(?:acr;|ega;|icron;)|opf;|penCurly(?:DoubleQuote;|Quote;)|r;|s(?:cr;|lash;?)|ti(?:lde;?|mes;)|uml;?|ver(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;))|P(?:artialD;|cy;|fr;|hi;|i;|lusMinus;|o(?:incareplane;|pf;)|r(?:;|ecedes(?:;|Equal;|SlantEqual;|Tilde;)|ime;|o(?:duct;|portion(?:;|al;)))|s(?:cr;|i;))|Q(?:UOT;?|fr;|opf;|scr;)|R(?:Barr;|EG;?|a(?:cute;|ng;|rr(?:;|tl;))|c(?:aron;|edil;|y;)|e(?:;|verse(?:E(?:lement;|quilibrium;)|UpEquilibrium;))|fr;|ho;|ight(?:A(?:ngleBracket;|rrow(?:;|Bar;|LeftArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;)|o(?:pf;|undImplies;)|rightarrow;|s(?:cr;|h;)|uleDelayed;)|S(?:H(?:CHcy;|cy;)|OFTcy;|acute;|c(?:;|aron;|edil;|irc;|y;)|fr;|hort(?:DownArrow;|LeftArrow;|RightArrow;|UpArrow;)|igma;|mallCircle;|opf;|q(?:rt;|uare(?:;|Intersection;|Su(?:bset(?:;|Equal;)|perset(?:;|Equal;))|Union;))|scr;|tar;|u(?:b(?:;|set(?:;|Equal;))|c(?:ceeds(?:;|Equal;|SlantEqual;|Tilde;)|hThat;)|m;|p(?:;|erset(?:;|Equal;)|set;)))|T(?:HORN;?|RADE;|S(?:Hcy;|cy;)|a(?:b;|u;)|c(?:aron;|edil;|y;)|fr;|h(?:e(?:refore;|ta;)|i(?:ckSpace;|nSpace;))|ilde(?:;|Equal;|FullEqual;|Tilde;)|opf;|ripleDot;|s(?:cr;|trok;))|U(?:a(?:cute;?|rr(?:;|ocir;))|br(?:cy;|eve;)|c(?:irc;?|y;)|dblac;|fr;|grave;?|macr;|n(?:der(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;)|ion(?:;|Plus;))|o(?:gon;|pf;)|p(?:Arrow(?:;|Bar;|DownArrow;)|DownArrow;|Equilibrium;|Tee(?:;|Arrow;)|arrow;|downarrow;|per(?:LeftArrow;|RightArrow;)|si(?:;|lon;))|ring;|scr;|tilde;|uml;?)|V(?:Dash;|bar;|cy;|dash(?:;|l;)|e(?:e;|r(?:bar;|t(?:;|ical(?:Bar;|Line;|Separator;|Tilde;))|yThinSpace;))|fr;|opf;|scr;|vdash;)|W(?:circ;|edge;|fr;|opf;|scr;)|X(?:fr;|i;|opf;|scr;)|Y(?:Acy;|Icy;|Ucy;|acute;?|c(?:irc;|y;)|fr;|opf;|scr;|uml;)|Z(?:Hcy;|acute;|c(?:aron;|y;)|dot;|e(?:roWidthSpace;|ta;)|fr;|opf;|scr;)|a(?:acute;?|breve;|c(?:;|E;|d;|irc;?|ute;?|y;)|elig;?|f(?:;|r;)|grave;?|l(?:e(?:fsym;|ph;)|pha;)|m(?:a(?:cr;|lg;)|p;?)|n(?:d(?:;|and;|d;|slope;|v;)|g(?:;|e;|le;|msd(?:;|a(?:a;|b;|c;|d;|e;|f;|g;|h;))|rt(?:;|vb(?:;|d;))|s(?:ph;|t;)|zarr;))|o(?:gon;|pf;)|p(?:;|E;|acir;|e;|id;|os;|prox(?:;|eq;))|ring;?|s(?:cr;|t;|ymp(?:;|eq;))|tilde;?|uml;?|w(?:conint;|int;))|b(?:Not;|a(?:ck(?:cong;|epsilon;|prime;|sim(?:;|eq;))|r(?:vee;|wed(?:;|ge;)))|brk(?:;|tbrk;)|c(?:ong;|y;)|dquo;|e(?:caus(?:;|e;)|mptyv;|psi;|rnou;|t(?:a;|h;|ween;))|fr;|ig(?:c(?:ap;|irc;|up;)|o(?:dot;|plus;|times;)|s(?:qcup;|tar;)|triangle(?:down;|up;)|uplus;|vee;|wedge;)|karow;|l(?:a(?:ck(?:lozenge;|square;|triangle(?:;|down;|left;|right;))|nk;)|k(?:1(?:2;|4;)|34;)|ock;)|n(?:e(?:;|quiv;)|ot;)|o(?:pf;|t(?:;|tom;)|wtie;|x(?:D(?:L;|R;|l;|r;)|H(?:;|D;|U;|d;|u;)|U(?:L;|R;|l;|r;)|V(?:;|H;|L;|R;|h;|l;|r;)|box;|d(?:L;|R;|l;|r;)|h(?:;|D;|U;|d;|u;)|minus;|plus;|times;|u(?:L;|R;|l;|r;)|v(?:;|H;|L;|R;|h;|l;|r;)))|prime;|r(?:eve;|vbar;?)|s(?:cr;|emi;|im(?:;|e;)|ol(?:;|b;|hsub;))|u(?:ll(?:;|et;)|mp(?:;|E;|e(?:;|q;))))|c(?:a(?:cute;|p(?:;|and;|brcup;|c(?:ap;|up;)|dot;|s;)|r(?:et;|on;))|c(?:a(?:ps;|ron;)|edil;?|irc;|ups(?:;|sm;))|dot;|e(?:dil;?|mptyv;|nt(?:;|erdot;|))|fr;|h(?:cy;|eck(?:;|mark;)|i;)|ir(?:;|E;|c(?:;|eq;|le(?:arrow(?:left;|right;)|d(?:R;|S;|ast;|circ;|dash;)))|e;|fnint;|mid;|scir;)|lubs(?:;|uit;)|o(?:lon(?:;|e(?:;|q;))|m(?:ma(?:;|t;)|p(?:;|fn;|le(?:ment;|xes;)))|n(?:g(?:;|dot;)|int;)|p(?:f;|rod;|y(?:;|sr;|)))|r(?:arr;|oss;)|s(?:cr;|u(?:b(?:;|e;)|p(?:;|e;)))|tdot;|u(?:darr(?:l;|r;)|e(?:pr;|sc;)|larr(?:;|p;)|p(?:;|brcap;|c(?:ap;|up;)|dot;|or;|s;)|r(?:arr(?:;|m;)|ly(?:eq(?:prec;|succ;)|vee;|wedge;)|ren;?|vearrow(?:left;|right;))|vee;|wed;)|w(?:conint;|int;)|ylcty;)|d(?:Arr;|Har;|a(?:gger;|leth;|rr;|sh(?:;|v;))|b(?:karow;|lac;)|c(?:aron;|y;)|d(?:;|a(?:gger;|rr;)|otseq;)|e(?:g;?|lta;|mptyv;)|f(?:isht;|r;)|har(?:l;|r;)|i(?:am(?:;|ond(?:;|suit;)|s;)|e;|gamma;|sin;|v(?:;|ide(?:;|ontimes;|)|onx;))|jcy;|lc(?:orn;|rop;)|o(?:llar;|pf;|t(?:;|eq(?:;|dot;)|minus;|plus;|square;)|ublebarwedge;|wn(?:arrow;|downarrows;|harpoon(?:left;|right;)))|r(?:bkarow;|c(?:orn;|rop;))|s(?:c(?:r;|y;)|ol;|trok;)|t(?:dot;|ri(?:;|f;))|u(?:arr;|har;)|wangle;|z(?:cy;|igrarr;))|e(?:D(?:Dot;|ot;)|a(?:cute;?|ster;)|c(?:aron;|ir(?:;|c;?)|olon;|y;)|dot;|e;|f(?:Dot;|r;)|g(?:;|rave;?|s(?:;|dot;))|l(?:;|inters;|l;|s(?:;|dot;))|m(?:acr;|pty(?:;|set;|v;)|sp(?:1(?:3;|4;)|;))|n(?:g;|sp;)|o(?:gon;|pf;)|p(?:ar(?:;|sl;)|lus;|si(?:;|lon;|v;))|q(?:c(?:irc;|olon;)|s(?:im;|lant(?:gtr;|less;))|u(?:als;|est;|iv(?:;|DD;))|vparsl;)|r(?:Dot;|arr;)|s(?:cr;|dot;|im;)|t(?:a;|h;?)|u(?:ml;?|ro;)|x(?:cl;|ist;|p(?:ectation;|onentiale;)))|f(?:allingdotseq;|cy;|emale;|f(?:ilig;|l(?:ig;|lig;)|r;)|ilig;|jlig;|l(?:at;|lig;|tns;)|nof;|o(?:pf;|r(?:all;|k(?:;|v;)))|partint;|r(?:a(?:c(?:1(?:2;?|3;|4;?|5;|6;|8;)|2(?:3;|5;)|3(?:4;?|5;|8;)|45;|5(?:6;|8;)|78;)|sl;)|own;)|scr;)|g(?:E(?:;|l;)|a(?:cute;|mma(?:;|d;)|p;)|breve;|c(?:irc;|y;)|dot;|e(?:;|l;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|l;))|l(?:;|es;)))|fr;|g(?:;|g;)|imel;|jcy;|l(?:;|E;|a;|j;)|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|opf;|rave;|s(?:cr;|im(?:;|e;|l;))|t(?:;|c(?:c;|ir;)|dot;|lPar;|quest;|r(?:a(?:pprox;|rr;)|dot;|eq(?:less;|qless;)|less;|sim;)|)|v(?:ertneqq;|nE;))|h(?:Arr;|a(?:irsp;|lf;|milt;|r(?:dcy;|r(?:;|cir;|w;)))|bar;|circ;|e(?:arts(?:;|uit;)|llip;|rcon;)|fr;|ks(?:earow;|warow;)|o(?:arr;|mtht;|ok(?:leftarrow;|rightarrow;)|pf;|rbar;)|s(?:cr;|lash;|trok;)|y(?:bull;|phen;))|i(?:acute;?|c(?:;|irc;?|y;)|e(?:cy;|xcl;?)|f(?:f;|r;)|grave;?|i(?:;|i(?:int;|nt;)|nfin;|ota;)|jlig;|m(?:a(?:cr;|g(?:e;|line;|part;)|th;)|of;|ped;)|n(?:;|care;|fin(?:;|tie;)|odot;|t(?:;|cal;|e(?:gers;|rcal;)|larhk;|prod;))|o(?:cy;|gon;|pf;|ta;)|prod;|quest;?|s(?:cr;|in(?:;|E;|dot;|s(?:;|v;)|v;))|t(?:;|ilde;)|u(?:kcy;|ml;?))|j(?:c(?:irc;|y;)|fr;|math;|opf;|s(?:cr;|ercy;)|ukcy;)|k(?:appa(?:;|v;)|c(?:edil;|y;)|fr;|green;|hcy;|jcy;|opf;|scr;)|l(?:A(?:arr;|rr;|tail;)|Barr;|E(?:;|g;)|Har;|a(?:cute;|emptyv;|gran;|mbda;|ng(?:;|d;|le;)|p;|quo;?|rr(?:;|b(?:;|fs;)|fs;|hk;|lp;|pl;|sim;|tl;)|t(?:;|ail;|e(?:;|s;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|quo(?:;|r;)|r(?:dhar;|ushar;)|sh;)|e(?:;|ft(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|leftarrows;|right(?:arrow(?:;|s;)|harpoons;|squigarrow;)|threetimes;)|g;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|r;))|g(?:;|es;)|s(?:approx;|dot;|eq(?:gtr;|qgtr;)|gtr;|sim;)))|f(?:isht;|loor;|r;)|g(?:;|E;)|h(?:ar(?:d;|u(?:;|l;))|blk;)|jcy;|l(?:;|arr;|corner;|hard;|tri;)|m(?:idot;|oust(?:;|ache;))|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|o(?:a(?:ng;|rr;)|brk;|ng(?:left(?:arrow;|rightarrow;)|mapsto;|rightarrow;)|oparrow(?:left;|right;)|p(?:ar;|f;|lus;)|times;|w(?:ast;|bar;)|z(?:;|enge;|f;))|par(?:;|lt;)|r(?:arr;|corner;|har(?:;|d;)|m;|tri;)|s(?:aquo;|cr;|h;|im(?:;|e;|g;)|q(?:b;|uo(?:;|r;))|trok;)|t(?:;|c(?:c;|ir;)|dot;|hree;|imes;|larr;|quest;|r(?:Par;|i(?:;|e;|f;))|)|ur(?:dshar;|uhar;)|v(?:ertneqq;|nE;))|m(?:DDot;|a(?:cr;?|l(?:e;|t(?:;|ese;))|p(?:;|sto(?:;|down;|left;|up;))|rker;)|c(?:omma;|y;)|dash;|easuredangle;|fr;|ho;|i(?:cro;?|d(?:;|ast;|cir;|dot;?)|nus(?:;|b;|d(?:;|u;)))|l(?:cp;|dr;)|nplus;|o(?:dels;|pf;)|p;|s(?:cr;|tpos;)|u(?:;|ltimap;|map;))|n(?:G(?:g;|t(?:;|v;))|L(?:eft(?:arrow;|rightarrow;)|l;|t(?:;|v;))|Rightarrow;|V(?:Dash;|dash;)|a(?:bla;|cute;|ng;|p(?:;|E;|id;|os;|prox;)|tur(?:;|al(?:;|s;)))|b(?:sp;?|ump(?:;|e;))|c(?:a(?:p;|ron;)|edil;|ong(?:;|dot;)|up;|y;)|dash;|e(?:;|Arr;|ar(?:hk;|r(?:;|ow;))|dot;|quiv;|s(?:ear;|im;)|xist(?:;|s;))|fr;|g(?:E;|e(?:;|q(?:;|q;|slant;)|s;)|sim;|t(?:;|r;))|h(?:Arr;|arr;|par;)|i(?:;|s(?:;|d;)|v;)|jcy;|l(?:Arr;|E;|arr;|dr;|e(?:;|ft(?:arrow;|rightarrow;)|q(?:;|q;|slant;)|s(?:;|s;))|sim;|t(?:;|ri(?:;|e;)))|mid;|o(?:pf;|t(?:;|in(?:;|E;|dot;|v(?:a;|b;|c;))|ni(?:;|v(?:a;|b;|c;))|))|p(?:ar(?:;|allel;|sl;|t;)|olint;|r(?:;|cue;|e(?:;|c(?:;|eq;))))|r(?:Arr;|arr(?:;|c;|w;)|ightarrow;|tri(?:;|e;))|s(?:c(?:;|cue;|e;|r;)|hort(?:mid;|parallel;)|im(?:;|e(?:;|q;))|mid;|par;|qsu(?:be;|pe;)|u(?:b(?:;|E;|e;|set(?:;|eq(?:;|q;)))|cc(?:;|eq;)|p(?:;|E;|e;|set(?:;|eq(?:;|q;)))))|t(?:gl;|ilde;?|lg;|riangle(?:left(?:;|eq;)|right(?:;|eq;)))|u(?:;|m(?:;|ero;|sp;))|v(?:Dash;|Harr;|ap;|dash;|g(?:e;|t;)|infin;|l(?:Arr;|e;|t(?:;|rie;))|r(?:Arr;|trie;)|sim;)|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|near;))|o(?:S;|a(?:cute;?|st;)|c(?:ir(?:;|c;?)|y;)|d(?:ash;|blac;|iv;|ot;|sold;)|elig;|f(?:cir;|r;)|g(?:on;|rave;?|t;)|h(?:bar;|m;)|int;|l(?:arr;|c(?:ir;|ross;)|ine;|t;)|m(?:acr;|ega;|i(?:cron;|d;|nus;))|opf;|p(?:ar;|erp;|lus;)|r(?:;|arr;|d(?:;|er(?:;|of;)|f;?|m;?)|igof;|or;|slope;|v;)|s(?:cr;|lash;?|ol;)|ti(?:lde;?|mes(?:;|as;))|uml;?|vbar;)|p(?:ar(?:;|a(?:;|llel;|)|s(?:im;|l;)|t;)|cy;|er(?:cnt;|iod;|mil;|p;|tenk;)|fr;|h(?:i(?:;|v;)|mmat;|one;)|i(?:;|tchfork;|v;)|l(?:an(?:ck(?:;|h;)|kv;)|us(?:;|acir;|b;|cir;|d(?:o;|u;)|e;|mn;?|sim;|two;))|m;|o(?:intint;|pf;|und;?)|r(?:;|E;|ap;|cue;|e(?:;|c(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;))|ime(?:;|s;)|n(?:E;|ap;|sim;)|o(?:d;|f(?:alar;|line;|surf;)|p(?:;|to;))|sim;|urel;)|s(?:cr;|i;)|uncsp;)|q(?:fr;|int;|opf;|prime;|scr;|u(?:at(?:ernions;|int;)|est(?:;|eq;)|ot;?))|r(?:A(?:arr;|rr;|tail;)|Barr;|Har;|a(?:c(?:e;|ute;)|dic;|emptyv;|ng(?:;|d;|e;|le;)|quo;?|rr(?:;|ap;|b(?:;|fs;)|c;|fs;|hk;|lp;|pl;|sim;|tl;|w;)|t(?:ail;|io(?:;|nals;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|ldhar;|quo(?:;|r;)|sh;)|e(?:al(?:;|ine;|part;|s;)|ct;|g;?)|f(?:isht;|loor;|r;)|h(?:ar(?:d;|u(?:;|l;))|o(?:;|v;))|i(?:ght(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|left(?:arrows;|harpoons;)|rightarrows;|squigarrow;|threetimes;)|ng;|singdotseq;)|l(?:arr;|har;|m;)|moust(?:;|ache;)|nmid;|o(?:a(?:ng;|rr;)|brk;|p(?:ar;|f;|lus;)|times;)|p(?:ar(?:;|gt;)|polint;)|rarr;|s(?:aquo;|cr;|h;|q(?:b;|uo(?:;|r;)))|t(?:hree;|imes;|ri(?:;|e;|f;|ltri;))|uluhar;|x;)|s(?:acute;|bquo;|c(?:;|E;|a(?:p;|ron;)|cue;|e(?:;|dil;)|irc;|n(?:E;|ap;|sim;)|polint;|sim;|y;)|dot(?:;|b;|e;)|e(?:Arr;|ar(?:hk;|r(?:;|ow;))|ct;?|mi;|swar;|tm(?:inus;|n;)|xt;)|fr(?:;|own;)|h(?:arp;|c(?:hcy;|y;)|ort(?:mid;|parallel;)|y;?)|i(?:gma(?:;|f;|v;)|m(?:;|dot;|e(?:;|q;)|g(?:;|E;)|l(?:;|E;)|ne;|plus;|rarr;))|larr;|m(?:a(?:llsetminus;|shp;)|eparsl;|i(?:d;|le;)|t(?:;|e(?:;|s;)))|o(?:ftcy;|l(?:;|b(?:;|ar;))|pf;)|pa(?:des(?:;|uit;)|r;)|q(?:c(?:ap(?:;|s;)|up(?:;|s;))|su(?:b(?:;|e;|set(?:;|eq;))|p(?:;|e;|set(?:;|eq;)))|u(?:;|ar(?:e;|f;)|f;))|rarr;|s(?:cr;|etmn;|mile;|tarf;)|t(?:ar(?:;|f;)|r(?:aight(?:epsilon;|phi;)|ns;))|u(?:b(?:;|E;|dot;|e(?:;|dot;)|mult;|n(?:E;|e;)|plus;|rarr;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;)))|cc(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;)|m;|ng;|p(?:1;?|2;?|3;?|;|E;|d(?:ot;|sub;)|e(?:;|dot;)|hs(?:ol;|ub;)|larr;|mult;|n(?:E;|e;)|plus;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;))))|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|nwar;)|zlig;?)|t(?:a(?:rget;|u;)|brk;|c(?:aron;|edil;|y;)|dot;|elrec;|fr;|h(?:e(?:re(?:4;|fore;)|ta(?:;|sym;|v;))|i(?:ck(?:approx;|sim;)|nsp;)|k(?:ap;|sim;)|orn;?)|i(?:lde;|mes(?:;|b(?:;|ar;)|d;|)|nt;)|o(?:ea;|p(?:;|bot;|cir;|f(?:;|ork;))|sa;)|prime;|r(?:ade;|i(?:angle(?:;|down;|left(?:;|eq;)|q;|right(?:;|eq;))|dot;|e;|minus;|plus;|sb;|time;)|pezium;)|s(?:c(?:r;|y;)|hcy;|trok;)|w(?:ixt;|ohead(?:leftarrow;|rightarrow;)))|u(?:Arr;|Har;|a(?:cute;?|rr;)|br(?:cy;|eve;)|c(?:irc;?|y;)|d(?:arr;|blac;|har;)|f(?:isht;|r;)|grave;?|h(?:ar(?:l;|r;)|blk;)|l(?:c(?:orn(?:;|er;)|rop;)|tri;)|m(?:acr;|l;?)|o(?:gon;|pf;)|p(?:arrow;|downarrow;|harpoon(?:left;|right;)|lus;|si(?:;|h;|lon;)|uparrows;)|r(?:c(?:orn(?:;|er;)|rop;)|ing;|tri;)|scr;|t(?:dot;|ilde;|ri(?:;|f;))|u(?:arr;|ml;?)|wangle;)|v(?:Arr;|Bar(?:;|v;)|Dash;|a(?:ngrt;|r(?:epsilon;|kappa;|nothing;|p(?:hi;|i;|ropto;)|r(?:;|ho;)|s(?:igma;|u(?:bsetneq(?:;|q;)|psetneq(?:;|q;)))|t(?:heta;|riangle(?:left;|right;))))|cy;|dash;|e(?:e(?:;|bar;|eq;)|llip;|r(?:bar;|t;))|fr;|ltri;|nsu(?:b;|p;)|opf;|prop;|rtri;|s(?:cr;|u(?:bn(?:E;|e;)|pn(?:E;|e;)))|zigzag;)|w(?:circ;|e(?:d(?:bar;|ge(?:;|q;))|ierp;)|fr;|opf;|p;|r(?:;|eath;)|scr;)|x(?:c(?:ap;|irc;|up;)|dtri;|fr;|h(?:Arr;|arr;)|i;|l(?:Arr;|arr;)|map;|nis;|o(?:dot;|p(?:f;|lus;)|time;)|r(?:Arr;|arr;)|s(?:cr;|qcup;)|u(?:plus;|tri;)|vee;|wedge;)|y(?:ac(?:ute;?|y;)|c(?:irc;|y;)|en;?|fr;|icy;|opf;|scr;|u(?:cy;|ml;?))|z(?:acute;|c(?:aron;|y;)|dot;|e(?:etrf;|ta;)|fr;|hcy;|igrarr;|opf;|scr;|w(?:j;|nj;)))|[\s\S]/g,O8=32,F8=/[^\r"&\u0000]+/g,P8=/[^\r'&\u0000]+/g,B8=/[^\r\t\n\f &>\u0000]+/g,H8=/[^\r\t\n\f \/>A-Z\u0000]+/g,$8=/[^\r\t\n\f \/=>A-Z\u0000]+/g,U8=/[^\]\r\u0000\uffff]*/g,q8=/[^&<\r\u0000\uffff]*/g,C1=/[^<\r\u0000\uffff]*/g,W8=/[^\r\u0000\uffff]*/g,D1=/(?:(\/)?([a-z]+)>)|[\s\S]/g,I1=/(?:([-a-z]+)[ \t\n\f]*=[ \t\n\f]*('[^'&\r\u0000]*'|"[^"&\r\u0000]*"|[^\t\n\r\f "&'\u0000>][^&> \t\n\r\f\u0000]*[ \t\n\f]))|[\s\S]/g,Yc=/[^\x09\x0A\x0C\x0D\x20]/,_p=/[^\x09\x0A\x0C\x0D\x20]/g,K8=/[^\x00\x09\x0A\x0C\x0D\x20]/,Do=/^[\x09\x0A\x0C\x0D\x20]+/,Zc=/\x00/g;function Dr(e){var t=16384;if(e.length<t)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<e.length;n+=t)r+=String.fromCharCode.apply(String,e.slice(n,n+t));return r}function j8(e){for(var t=[],r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}function tt(e,t){if(typeof t=="string")return e.namespaceURI===pe.HTML&&e.localName===t;var r=t[e.namespaceURI];return r&&r[e.localName]}function N1(e){return tt(e,q1)}function R1(e){if(tt(e,W1))return!0;if(e.namespaceURI===pe.MATHML&&e.localName==="annotation-xml"){var t=e.getAttribute("encoding");if(t&&(t=t.toLowerCase()),t==="text/html"||t==="application/xhtml+xml")return!0}return!1}function V8(e){return e in A1?A1[e]:e}function L1(e){for(var t=0,r=e.length;t<r;t++)e[t][0]in S1&&(e[t][0]=S1[e[t][0]])}function M1(e){for(var t=0,r=e.length;t<r;t++)if(e[t][0]==="definitionurl"){e[t][0]="definitionURL";break}}function vp(e){for(var t=0,r=e.length;t<r;t++)e[t][0]in v1&&e[t].push(v1[e[t][0]])}function O1(e,t){for(var r=0,n=e.length;r<n;r++){var i=e[r][0],o=e[r][1];t.hasAttribute(i)||t._setAttribute(i,o)}}Ge.ElementStack=function(){this.elements=[],this.top=null};Ge.ElementStack.prototype.push=function(e){this.elements.push(e),this.top=e};Ge.ElementStack.prototype.pop=function(e){this.elements.pop(),this.top=this.elements[this.elements.length-1]};Ge.ElementStack.prototype.popTag=function(e){for(var t=this.elements.length-1;t>0;t--){var r=this.elements[t];if(tt(r,e))break}this.elements.length=t,this.top=this.elements[t-1]};Ge.ElementStack.prototype.popElementType=function(e){for(var t=this.elements.length-1;t>0&&!(this.elements[t]instanceof e);t--);this.elements.length=t,this.top=this.elements[t-1]};Ge.ElementStack.prototype.popElement=function(e){for(var t=this.elements.length-1;t>0&&this.elements[t]!==e;t--);this.elements.length=t,this.top=this.elements[t-1]};Ge.ElementStack.prototype.removeElement=function(e){if(this.top===e)this.pop();else{var t=this.elements.lastIndexOf(e);t!==-1&&this.elements.splice(t,1)}};Ge.ElementStack.prototype.clearToContext=function(e){for(var t=this.elements.length-1;t>0&&!tt(this.elements[t],e);t--);this.elements.length=t+1,this.top=this.elements[t]};Ge.ElementStack.prototype.contains=function(e){return this.inSpecificScope(e,Object.create(null))};Ge.ElementStack.prototype.inSpecificScope=function(e,t){for(var r=this.elements.length-1;r>=0;r--){var n=this.elements[r];if(tt(n,e))return!0;if(tt(n,t))return!1}return!1};Ge.ElementStack.prototype.elementInSpecificScope=function(e,t){for(var r=this.elements.length-1;r>=0;r--){var n=this.elements[r];if(n===e)return!0;if(tt(n,t))return!1}return!1};Ge.ElementStack.prototype.elementTypeInSpecificScope=function(e,t){for(var r=this.elements.length-1;r>=0;r--){var n=this.elements[r];if(n instanceof e)return!0;if(tt(n,t))return!1}return!1};Ge.ElementStack.prototype.inScope=function(e){return this.inSpecificScope(e,Kn)};Ge.ElementStack.prototype.elementInScope=function(e){return this.elementInSpecificScope(e,Kn)};Ge.ElementStack.prototype.elementTypeInScope=function(e){return this.elementTypeInSpecificScope(e,Kn)};Ge.ElementStack.prototype.inButtonScope=function(e){return this.inSpecificScope(e,kp)};Ge.ElementStack.prototype.inListItemScope=function(e){return this.inSpecificScope(e,tl)};Ge.ElementStack.prototype.inTableScope=function(e){return this.inSpecificScope(e,U1)};Ge.ElementStack.prototype.inSelectScope=function(e){for(var t=this.elements.length-1;t>=0;t--){var r=this.elements[t];if(r.namespaceURI!==pe.HTML)return!1;var n=r.localName;if(n===e)return!0;if(n!=="optgroup"&&n!=="option")return!1}return!1};Ge.ElementStack.prototype.generateImpliedEndTags=function(e,t){for(var r=t?H1:B1,n=this.elements.length-1;n>=0;n--){var i=this.elements[n];if(e&&tt(i,e)||!tt(this.elements[n],r))break}this.elements.length=n+1,this.top=this.elements[n]};Ge.ActiveFormattingElements=function(){this.list=[],this.attrs=[]};Ge.ActiveFormattingElements.prototype.MARKER={localName:"|"};Ge.ActiveFormattingElements.prototype.insertMarker=function(){this.list.push(this.MARKER),this.attrs.push(this.MARKER)};Ge.ActiveFormattingElements.prototype.push=function(e,t){for(var r=0,n=this.list.length-1;n>=0&&this.list[n]!==this.MARKER;n--)if(a(e,this.list[n],this.attrs[n])&&(r++,r===3)){this.list.splice(n,1),this.attrs.splice(n,1);break}this.list.push(e);for(var i=[],o=0;o<t.length;o++)i[o]=t[o];this.attrs.push(i);function a(s,u,c){if(s.localName!==u.localName||s._numattrs!==c.length)return!1;for(var l=0,d=c.length;l<d;l++){var m=c[l][0],f=c[l][1];if(!s.hasAttribute(m)||s.getAttribute(m)!==f)return!1}return!0}};Ge.ActiveFormattingElements.prototype.clearToMarker=function(){for(var e=this.list.length-1;e>=0&&this.list[e]!==this.MARKER;e--);e<0&&(e=0),this.list.length=e,this.attrs.length=e};Ge.ActiveFormattingElements.prototype.findElementByTag=function(e){for(var t=this.list.length-1;t>=0;t--){var r=this.list[t];if(r===this.MARKER)break;if(r.localName===e)return r}return null};Ge.ActiveFormattingElements.prototype.indexOf=function(e){return this.list.lastIndexOf(e)};Ge.ActiveFormattingElements.prototype.remove=function(e){var t=this.list.lastIndexOf(e);t!==-1&&(this.list.splice(t,1),this.attrs.splice(t,1))};Ge.ActiveFormattingElements.prototype.replace=function(e,t,r){var n=this.list.lastIndexOf(e);n!==-1&&(this.list[n]=t,this.attrs[n]=r)};Ge.ActiveFormattingElements.prototype.insertAfter=function(e,t){var r=this.list.lastIndexOf(e);r!==-1&&(this.list.splice(r,0,t),this.attrs.splice(r,0,t))};function Ge(e,t,r){var n=null,i=0,o=0,a=!1,s=!1,u=0,c=[],l="",d=!0,m=0,f=Be,h,b,w="",D="",k=[],T="",v="",C=[],I=[],F=[],j=[],B=[],G=!1,S=C6,N=null,P=[],_=new Ge.ElementStack,H=new Ge.ActiveFormattingElements,R=t!==void 0,M=null,q=null,W=!0;t&&(W=t.ownerDocument._scripting_enabled),r&&r.scripting_enabled===!1&&(W=!1);var V=!0,Ae=!1,be,Y,K=[],Ce=!1,at=!1,Je={document:function(){return L},_asDocumentFragment:function(){for(var g=L.createDocumentFragment(),x=L.firstChild;x.hasChildNodes();)g.appendChild(x.firstChild);return g},pause:function(){m++},resume:function(){m--,this.parse("")},parse:function(g,x,A){var O;return m>0?(l+=g,!0):(u===0?(l&&(g=l+g,l=""),x&&(g+="\uFFFF",a=!0),n=g,i=g.length,o=0,d&&(d=!1,n.charCodeAt(0)===65279&&(o=1)),u++,O=st(A),l=n.substring(o,i),u--):(u++,c.push(n,i,o),n=g,i=g.length,o=0,st(),O=!1,l=n.substring(o,i),o=c.pop(),i=c.pop(),n=c.pop(),l&&(n=l+n.substring(o),i=n.length,o=0,l=""),u--),O)}},L=new k8(!0,e);if(L._parser=Je,L._scripting_enabled=W,t){if(t.ownerDocument._quirks&&(L._quirks=!0),t.ownerDocument._limitedQuirks&&(L._limitedQuirks=!0),t.namespaceURI===pe.HTML)switch(t.localName){case"title":case"textarea":f=Ci;break;case"style":case"xmp":case"iframe":case"noembed":case"noframes":case"script":case"plaintext":f=N0;break}var Z=L.createElement("html");L._appendChild(Z),_.push(Z),t instanceof et.HTMLTemplateElement&&P.push(U0),ao();for(var he=t;he!==null;he=he.parentElement)if(he instanceof et.HTMLFormElement){q=he;break}}function st(g){for(var x,A,O,$;o<i;){if(m>0||g&&g())return!0;switch(typeof f.lookahead){case"undefined":if(x=n.charCodeAt(o++),s&&(s=!1,x===10)){o++;continue}switch(x){case 13:o<i?n.charCodeAt(o)===10&&o++:s=!0,f(10);break;case 65535:if(a&&o===i){f(Xc);break}default:f(x);break}break;case"number":x=n.charCodeAt(o);var ne=f.lookahead,we=!0;if(ne<0&&(we=!1,ne=-ne),ne<i-o)A=we?n.substring(o,o+ne):null,$=!1;else if(a)A=we?n.substring(o,i):null,$=!0,x===65535&&o===i-1&&(x=Xc);else return!0;f(x,A,$);break;case"string":x=n.charCodeAt(o),O=f.lookahead;var He=n.indexOf(O,o);if(He!==-1)A=n.substring(o,He+O.length),$=!1;else{if(!a)return!0;A=n.substring(o,i),x===65535&&o===i-1&&(x=Xc),$=!0}f(x,A,$);break}}return!1}function Se(g,x){for(var A=0;A<B.length;A++)if(B[A][0]===g)return;x!==void 0?B.push([g,x]):B.push([g])}function ve(){I1.lastIndex=o-1;var g=I1.exec(n);if(!g)throw new Error("should never happen");var x=g[1];if(!x)return!1;var A=g[2],O=A.length;switch(A[0]){case'"':case"'":A=A.substring(1,O-1),o+=g[0].length-1,f=O0;break;default:f=Nn,o+=g[0].length-1,A=A.substring(0,O-1);break}for(var $=0;$<B.length;$++)if(B[$][0]===x)return!0;return B.push([x,A]),!0}function $t(){G=!1,w="",B.length=0}function Ut(){G=!0,w="",B.length=0}function Er(){k.length=0}function Dn(){T=""}function Yr(){v=""}function dn(){C.length=0}function _r(){I.length=0,F=null,j=null}function Ve(){F=[]}function er(){j=[]}function Pe(){Ae=!0}function ii(){return _.top&&_.top.namespaceURI!=="http://www.w3.org/1999/xhtml"}function qt(g){return D===g}function le(){if(K.length>0){var g=Dr(K);if(K.length=0,at&&(at=!1,g[0]===`
6
+ `&&(g=g.substring(1)),g.length===0))return;Xe(Da,g),Ce=!1}at=!1}function ke(g){g.lastIndex=o-1;var x=g.exec(n);if(x&&x.index===o-1)return x=x[0],o+=x.length-1,a&&o===i&&(x=x.slice(0,-1),o--),x;throw new Error("should never happen")}function Q(g){g.lastIndex=o-1;var x=g.exec(n)[0];return x?(De(x),o+=x.length-1,!0):!1}function De(g){K.length>0&&le(),!(at&&(at=!1,g[0]===`
7
+ `&&(g=g.substring(1)),g.length===0))&&Xe(Da,g)}function ze(){if(G)Xe(qe,w);else{var g=w;w="",D=g,Xe(Cr,g,B)}}function ee(){if(o===i)return!1;D1.lastIndex=o;var g=D1.exec(n);if(!g)throw new Error("should never happen");var x=g[2];if(!x)return!1;var A=g[1];return A?(o+=x.length+2,Xe(qe,x)):(o+=x.length+1,D=x,Xe(Cr,x,D8)),!0}function z(){G?Xe(qe,w,null,!0):Xe(Cr,w,B,!0)}function Te(){Xe(C8,Dr(I),F?Dr(F):void 0,j?Dr(j):void 0)}function fe(){le(),S(Xc),L.modclock=1}var Xe=Je.insertToken=function(x,A,O,$){le();var ne=_.top;!ne||ne.namespaceURI===pe.HTML?S(x,A,O,$):x!==Cr&&x!==Da?cg(x,A,O,$):N1(ne)&&(x===Da||x===Cr&&A!=="mglyph"&&A!=="malignmark")||x===Cr&&A==="svg"&&ne.namespaceURI===pe.MATHML&&ne.localName==="annotation-xml"||R1(ne)?(Y=!0,S(x,A,O,$),Y=!1):cg(x,A,O,$)};function yt(g){var x=_.top;Jt&&tt(x,Ia)?Ti(function(A){return A.createComment(g)}):(x instanceof et.HTMLTemplateElement&&(x=x.content),x._appendChild(x.ownerDocument.createComment(g)))}function Ie(g){var x=_.top;if(Jt&&tt(x,Ia))Ti(function(O){return O.createTextNode(g)});else{x instanceof et.HTMLTemplateElement&&(x=x.content);var A=x.lastChild;A&&A.nodeType===Ep.TEXT_NODE?A.appendData(g):x._appendChild(x.ownerDocument.createTextNode(g))}}function Zr(g,x,A){var O=F1.createElement(g,x,null);if(A)for(var $=0,ne=A.length;$<ne;$++)O._setAttribute(A[$][0],A[$][1]);return O}var Jt=!1;function _e(g,x){var A=oi(function(O){return Zr(O,g,x)});return tt(A,$1)&&(A._form=q),A}function oi(g){var x;return Jt&&tt(_.top,Ia)?x=Ti(g):_.top instanceof et.HTMLTemplateElement?(x=g(_.top.content.ownerDocument),_.top.content._appendChild(x)):(x=g(_.top.ownerDocument),_.top._appendChild(x)),_.push(x),x}function Ot(g,x,A){return oi(function(O){var $=O._createElementNS(g,A,null);if(x)for(var ne=0,we=x.length;ne<we;ne++){var He=x[ne];He.length===2?$._setAttribute(He[0],He[1]):$._setAttributeNS(He[2],He[0],He[1])}return $})}function vr(g){for(var x=_.elements.length-1;x>=0;x--)if(_.elements[x]instanceof g)return x;return-1}function Ti(g){var x,A,O=-1,$=-1,ne;if(O=vr(et.HTMLTableElement),$=vr(et.HTMLTemplateElement),$>=0&&(O<0||$>O)?x=_.elements[$]:O>=0&&(x=_.elements[O].parentNode,x?A=_.elements[O]:x=_.elements[O-1]),x||(x=_.elements[0]),x instanceof et.HTMLTemplateElement&&(x=x.content),ne=g(x.ownerDocument),ne.nodeType===Ep.TEXT_NODE){var we;if(A?we=A.previousSibling:we=x.lastChild,we&&we.nodeType===Ep.TEXT_NODE)return we.appendData(ne.data),ne}return A?x.insertBefore(ne,A):x._appendChild(ne),ne}function ao(){for(var g=!1,x=_.elements.length-1;x>=0;x--){var A=_.elements[x];if(x===0&&(g=!0,R&&(A=t)),A.namespaceURI===pe.HTML){var O=A.localName;switch(O){case"select":for(var $=x;$>0;){var ne=_.elements[--$];if(ne instanceof et.HTMLTemplateElement)break;if(ne instanceof et.HTMLTableElement){S=zu;return}}S=ai;return;case"tr":S=Es;return;case"tbody":case"tfoot":case"thead":S=lo;return;case"caption":S=$0;return;case"colgroup":S=Vu;return;case"table":S=Qr;return;case"template":S=P[P.length-1];return;case"body":S=ye;return;case"frameset":S=q0;return;case"html":M===null?S=Ku:S=H0;return;default:if(!g){if(O==="head"){S=kt;return}if(O==="td"||O==="th"){S=Zo;return}}}}if(g){S=ye;return}}}function Mu(g,x){_e(g,x),f=ys,N=S,S=ju}function Bv(g,x){_e(g,x),f=Ci,N=S,S=ju}function I0(g,x){return{elt:Zr(g,H.list[x].localName,H.attrs[x]),attrs:H.attrs[x]}}function Mr(){if(H.list.length!==0){var g=H.list[H.list.length-1];if(g!==H.MARKER&&_.elements.lastIndexOf(g)===-1){for(var x=H.list.length-2;x>=0&&(g=H.list[x],!(g===H.MARKER||_.elements.lastIndexOf(g)!==-1));x--);for(x=x+1;x<H.list.length;x++){var A=oi(function(O){return I0(O,x).elt});H.list[x]=A}}}}var Ou={localName:"BM"};function Hv(g){if(tt(_.top,g)&&H.indexOf(_.top)===-1)return _.pop(),!0;for(var x=0;x<8;){x++;var A=H.findElementByTag(g);if(!A)return!1;var O=_.elements.lastIndexOf(A);if(O===-1)return H.remove(A),!0;if(!_.elementInScope(A))return!0;for(var $=null,ne,we=O+1;we<_.elements.length;we++)if(tt(_.elements[we],Io)){$=_.elements[we],ne=we;break}if($){var He=_.elements[O-1];H.insertAfter(A,Ou);for(var wt=$,cr=$,en=ne,pn,fo=0;fo++,wt=_.elements[--en],wt!==A;){if(pn=H.indexOf(wt),fo>3&&pn!==-1&&(H.remove(wt),pn=-1),pn===-1){_.removeElement(wt);continue}var Li=I0(He.ownerDocument,pn);H.replace(wt,Li.elt,Li.attrs),_.elements[en]=Li.elt,wt=Li.elt,cr===$&&(H.remove(Ou),H.insertAfter(Li.elt,Ou)),wt._appendChild(cr),cr=wt}Jt&&tt(He,Ia)?Ti(function(){return cr}):He instanceof et.HTMLTemplateElement?He.content._appendChild(cr):He._appendChild(cr);for(var _s=I0($.ownerDocument,H.indexOf(A));$.hasChildNodes();)_s.elt._appendChild($.firstChild);$._appendChild(_s.elt),H.remove(A),H.replace(Ou,_s.elt,_s.attrs),_.removeElement(A);var L6=_.elements.lastIndexOf($);_.elements.splice(L6+1,0,_s.elt)}else return _.popElement(A),H.remove(A),!0}return!0}function $v(){_.pop(),S=N}function so(){delete L._parser,_.elements.length=0,L.defaultView&&L.defaultView.dispatchEvent(new et.Event("load",{}))}function ue(g,x){f=x,o--}function Be(g){switch(g){case 38:h=Be,f=ws;break;case 60:if(ee())break;f=Uv;break;case 0:K.push(g),Ce=!0;break;case-1:fe();break;default:Q(q8)||K.push(g);break}}function Ci(g){switch(g){case 38:h=Ci,f=ws;break;case 60:f=Wv;break;case 0:K.push(65533),Ce=!0;break;case-1:fe();break;default:K.push(g);break}}function ys(g){switch(g){case 60:f=Vv;break;case 0:K.push(65533);break;case-1:fe();break;default:Q(C1)||K.push(g);break}}function Di(g){switch(g){case 60:f=Gv;break;case 0:K.push(65533);break;case-1:fe();break;default:Q(C1)||K.push(g);break}}function N0(g){switch(g){case 0:K.push(65533);break;case-1:fe();break;default:Q(W8)||K.push(g);break}}function Uv(g){switch(g){case 33:f=Zm;break;case 47:f=qv;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:$t(),ue(g,Gm);break;case 63:ue(g,Hu);break;default:K.push(60),ue(g,Be);break}}function qv(g){switch(g){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ut(),ue(g,Gm);break;case 62:f=Be;break;case-1:K.push(60),K.push(47),fe();break;default:ue(g,Hu);break}}function Gm(g){switch(g){case 9:case 10:case 12:case 32:f=Nn;break;case 47:f=Ni;break;case 62:f=Be,ze();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:w+=String.fromCharCode(g+32);break;case 0:w+="\uFFFD";break;case-1:fe();break;default:w+=ke(H8);break}}function Wv(g){g===47?(Er(),f=Kv):(K.push(60),ue(g,Ci))}function Kv(g){switch(g){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ut(),ue(g,jv);break;default:K.push(60),K.push(47),ue(g,Ci);break}}function jv(g){switch(g){case 9:case 10:case 12:case 32:if(qt(w)){f=Nn;return}break;case 47:if(qt(w)){f=Ni;return}break;case 62:if(qt(w)){f=Be,ze();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:w+=String.fromCharCode(g+32),k.push(g);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:w+=String.fromCharCode(g),k.push(g);return;default:break}K.push(60),K.push(47),Co(K,k),ue(g,Ci)}function Vv(g){g===47?(Er(),f=zv):(K.push(60),ue(g,ys))}function zv(g){switch(g){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ut(),ue(g,Jv);break;default:K.push(60),K.push(47),ue(g,ys);break}}function Jv(g){switch(g){case 9:case 10:case 12:case 32:if(qt(w)){f=Nn;return}break;case 47:if(qt(w)){f=Ni;return}break;case 62:if(qt(w)){f=Be,ze();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:w+=String.fromCharCode(g+32),k.push(g);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:w+=String.fromCharCode(g),k.push(g);return;default:break}K.push(60),K.push(47),Co(K,k),ue(g,ys)}function Gv(g){switch(g){case 47:Er(),f=Xv;break;case 33:f=Zv,K.push(60),K.push(33);break;default:K.push(60),ue(g,Di);break}}function Xv(g){switch(g){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ut(),ue(g,Yv);break;default:K.push(60),K.push(47),ue(g,Di);break}}function Yv(g){switch(g){case 9:case 10:case 12:case 32:if(qt(w)){f=Nn;return}break;case 47:if(qt(w)){f=Ni;return}break;case 62:if(qt(w)){f=Be,ze();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:w+=String.fromCharCode(g+32),k.push(g);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:w+=String.fromCharCode(g),k.push(g);return;default:break}K.push(60),K.push(47),Co(K,k),ue(g,Di)}function Zv(g){g===45?(f=Qv,K.push(45)):ue(g,Di)}function Qv(g){g===45?(f=Xm,K.push(45)):ue(g,Di)}function In(g){switch(g){case 45:f=e6,K.push(45);break;case 60:f=R0;break;case 0:K.push(65533);break;case-1:fe();break;default:K.push(g);break}}function e6(g){switch(g){case 45:f=Xm,K.push(45);break;case 60:f=R0;break;case 0:f=In,K.push(65533);break;case-1:fe();break;default:f=In,K.push(g);break}}function Xm(g){switch(g){case 45:K.push(45);break;case 60:f=R0;break;case 62:f=Di,K.push(62);break;case 0:f=In,K.push(65533);break;case-1:fe();break;default:f=In,K.push(g);break}}function R0(g){switch(g){case 47:Er(),f=t6;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Er(),K.push(60),ue(g,n6);break;default:K.push(60),ue(g,In);break}}function t6(g){switch(g){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ut(),ue(g,r6);break;default:K.push(60),K.push(47),ue(g,In);break}}function r6(g){switch(g){case 9:case 10:case 12:case 32:if(qt(w)){f=Nn;return}break;case 47:if(qt(w)){f=Ni;return}break;case 62:if(qt(w)){f=Be,ze();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:w+=String.fromCharCode(g+32),k.push(g);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:w+=String.fromCharCode(g),k.push(g);return;default:break}K.push(60),K.push(47),Co(K,k),ue(g,In)}function n6(g){switch(g){case 9:case 10:case 12:case 32:case 47:case 62:Dr(k)==="script"?f=Ii:f=In,K.push(g);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:k.push(g+32),K.push(g);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:k.push(g),K.push(g);break;default:ue(g,In);break}}function Ii(g){switch(g){case 45:f=i6,K.push(45);break;case 60:f=L0,K.push(60);break;case 0:K.push(65533);break;case-1:fe();break;default:K.push(g);break}}function i6(g){switch(g){case 45:f=o6,K.push(45);break;case 60:f=L0,K.push(60);break;case 0:f=Ii,K.push(65533);break;case-1:fe();break;default:f=Ii,K.push(g);break}}function o6(g){switch(g){case 45:K.push(45);break;case 60:f=L0,K.push(60);break;case 62:f=Di,K.push(62);break;case 0:f=Ii,K.push(65533);break;case-1:fe();break;default:f=Ii,K.push(g);break}}function L0(g){g===47?(Er(),f=a6,K.push(47)):ue(g,Ii)}function a6(g){switch(g){case 9:case 10:case 12:case 32:case 47:case 62:Dr(k)==="script"?f=In:f=Ii,K.push(g);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:k.push(g+32),K.push(g);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:k.push(g),K.push(g);break;default:ue(g,Ii);break}}function Nn(g){switch(g){case 9:case 10:case 12:case 32:break;case 47:f=Ni;break;case 62:f=Be,ze();break;case-1:fe();break;case 61:Dn(),T+=String.fromCharCode(g),f=M0;break;default:if(ve())break;Dn(),ue(g,M0);break}}function M0(g){switch(g){case 9:case 10:case 12:case 32:case 47:case 62:case-1:ue(g,s6);break;case 61:f=Ym;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:T+=String.fromCharCode(g+32);break;case 0:T+="\uFFFD";break;default:T+=ke($8);break}}function s6(g){switch(g){case 9:case 10:case 12:case 32:break;case 47:Se(T),f=Ni;break;case 61:f=Ym;break;case 62:f=Be,Se(T),ze();break;case-1:Se(T),fe();break;default:Se(T),Dn(),ue(g,M0);break}}function Ym(g){switch(g){case 9:case 10:case 12:case 32:break;case 34:Yr(),f=Fu;break;case 39:Yr(),f=Pu;break;default:Yr(),ue(g,Bu);break}}function Fu(g){switch(g){case 34:Se(T,v),f=O0;break;case 38:h=Fu,f=ws;break;case 0:v+="\uFFFD";break;case-1:fe();break;case 10:v+=String.fromCharCode(g);break;default:v+=ke(F8);break}}function Pu(g){switch(g){case 39:Se(T,v),f=O0;break;case 38:h=Pu,f=ws;break;case 0:v+="\uFFFD";break;case-1:fe();break;case 10:v+=String.fromCharCode(g);break;default:v+=ke(P8);break}}function Bu(g){switch(g){case 9:case 10:case 12:case 32:Se(T,v),f=Nn;break;case 38:h=Bu,f=ws;break;case 62:Se(T,v),f=Be,ze();break;case 0:v+="\uFFFD";break;case-1:o--,f=Be;break;default:v+=ke(B8);break}}function O0(g){switch(g){case 9:case 10:case 12:case 32:f=Nn;break;case 47:f=Ni;break;case 62:f=Be,ze();break;case-1:fe();break;default:ue(g,Nn);break}}function Ni(g){switch(g){case 62:f=Be,z(!0);break;case-1:fe();break;default:ue(g,Nn);break}}function Hu(g,x,A){var O=x.length;A?o+=O-1:o+=O;var $=x.substring(0,O-1);$=$.replace(/\u0000/g,"\uFFFD"),$=$.replace(/\u000D\u000A/g,`
8
+ `),$=$.replace(/\u000D/g,`
9
+ `),Xe(Wn,$),f=Be}Hu.lookahead=">";function Zm(g,x,A){if(x[0]==="-"&&x[1]==="-"){o+=2,dn(),f=u6;return}x.toUpperCase()==="DOCTYPE"?(o+=7,f=m6):x==="[CDATA["&&ii()?(o+=7,f=B0):f=Hu}Zm.lookahead=7;function u6(g){switch(dn(),g){case 45:f=c6;break;case 62:f=Be,Xe(Wn,Dr(C));break;default:ue(g,uo);break}}function c6(g){switch(g){case 45:f=$u;break;case 62:f=Be,Xe(Wn,Dr(C));break;case-1:Xe(Wn,Dr(C)),fe();break;default:C.push(45),ue(g,uo);break}}function uo(g){switch(g){case 60:C.push(g),f=l6;break;case 45:f=F0;break;case 0:C.push(65533);break;case-1:Xe(Wn,Dr(C)),fe();break;default:C.push(g);break}}function l6(g){switch(g){case 33:C.push(g),f=f6;break;case 60:C.push(g);break;default:ue(g,uo);break}}function f6(g){g===45?f=d6:ue(g,uo)}function d6(g){g===45?f=p6:ue(g,F0)}function p6(g){switch(g){case 62:case-1:ue(g,$u);break;default:ue(g,$u);break}}function F0(g){switch(g){case 45:f=$u;break;case-1:Xe(Wn,Dr(C)),fe();break;default:C.push(45),ue(g,uo);break}}function $u(g){switch(g){case 62:f=Be,Xe(Wn,Dr(C));break;case 33:f=h6;break;case 45:C.push(45);break;case-1:Xe(Wn,Dr(C)),fe();break;default:C.push(45),C.push(45),ue(g,uo);break}}function h6(g){switch(g){case 45:C.push(45),C.push(45),C.push(33),f=F0;break;case 62:f=Be,Xe(Wn,Dr(C));break;case-1:Xe(Wn,Dr(C)),fe();break;default:C.push(45),C.push(45),C.push(33),ue(g,uo);break}}function m6(g){switch(g){case 9:case 10:case 12:case 32:f=Qm;break;case-1:_r(),Pe(),Te(),fe();break;default:ue(g,Qm);break}}function Qm(g){switch(g){case 9:case 10:case 12:case 32:break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:_r(),I.push(g+32),f=P0;break;case 0:_r(),I.push(65533),f=P0;break;case 62:_r(),Pe(),f=Be,Te();break;case-1:_r(),Pe(),Te(),fe();break;default:_r(),I.push(g),f=P0;break}}function P0(g){switch(g){case 9:case 10:case 12:case 32:f=eg;break;case 62:f=Be,Te();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:I.push(g+32);break;case 0:I.push(65533);break;case-1:Pe(),Te(),fe();break;default:I.push(g);break}}function eg(g,x,A){switch(g){case 9:case 10:case 12:case 32:o+=1;break;case 62:f=Be,o+=1,Te();break;case-1:Pe(),Te(),fe();break;default:x=x.toUpperCase(),x==="PUBLIC"?(o+=6,f=g6):x==="SYSTEM"?(o+=6,f=y6):(Pe(),f=Ri);break}}eg.lookahead=6;function g6(g){switch(g){case 9:case 10:case 12:case 32:f=x6;break;case 34:Ve(),f=tg;break;case 39:Ve(),f=rg;break;case 62:Pe(),f=Be,Te();break;case-1:Pe(),Te(),fe();break;default:Pe(),f=Ri;break}}function x6(g){switch(g){case 9:case 10:case 12:case 32:break;case 34:Ve(),f=tg;break;case 39:Ve(),f=rg;break;case 62:Pe(),f=Be,Te();break;case-1:Pe(),Te(),fe();break;default:Pe(),f=Ri;break}}function tg(g){switch(g){case 34:f=ng;break;case 0:F.push(65533);break;case 62:Pe(),f=Be,Te();break;case-1:Pe(),Te(),fe();break;default:F.push(g);break}}function rg(g){switch(g){case 39:f=ng;break;case 0:F.push(65533);break;case 62:Pe(),f=Be,Te();break;case-1:Pe(),Te(),fe();break;default:F.push(g);break}}function ng(g){switch(g){case 9:case 10:case 12:case 32:f=b6;break;case 62:f=Be,Te();break;case 34:er(),f=Uu;break;case 39:er(),f=qu;break;case-1:Pe(),Te(),fe();break;default:Pe(),f=Ri;break}}function b6(g){switch(g){case 9:case 10:case 12:case 32:break;case 62:f=Be,Te();break;case 34:er(),f=Uu;break;case 39:er(),f=qu;break;case-1:Pe(),Te(),fe();break;default:Pe(),f=Ri;break}}function y6(g){switch(g){case 9:case 10:case 12:case 32:f=w6;break;case 34:er(),f=Uu;break;case 39:er(),f=qu;break;case 62:Pe(),f=Be,Te();break;case-1:Pe(),Te(),fe();break;default:Pe(),f=Ri;break}}function w6(g){switch(g){case 9:case 10:case 12:case 32:break;case 34:er(),f=Uu;break;case 39:er(),f=qu;break;case 62:Pe(),f=Be,Te();break;case-1:Pe(),Te(),fe();break;default:Pe(),f=Ri;break}}function Uu(g){switch(g){case 34:f=ig;break;case 0:j.push(65533);break;case 62:Pe(),f=Be,Te();break;case-1:Pe(),Te(),fe();break;default:j.push(g);break}}function qu(g){switch(g){case 39:f=ig;break;case 0:j.push(65533);break;case 62:Pe(),f=Be,Te();break;case-1:Pe(),Te(),fe();break;default:j.push(g);break}}function ig(g){switch(g){case 9:case 10:case 12:case 32:break;case 62:f=Be,Te();break;case-1:Pe(),Te(),fe();break;default:f=Ri;break}}function Ri(g){switch(g){case 62:f=Be,Te();break;case-1:Te(),fe();break;default:break}}function B0(g){switch(g){case 93:f=E6;break;case-1:fe();break;case 0:Ce=!0;default:Q(U8)||K.push(g);break}}function E6(g){g===93?f=_6:(K.push(93),ue(g,B0))}function _6(g){switch(g){case 93:K.push(93);break;case 62:le(),f=Be;break;default:K.push(93),K.push(93),ue(g,B0);break}}function ws(g){switch(Er(),k.push(38),g){case 9:case 10:case 12:case 32:case 60:case 38:case-1:ue(g,co);break;case 35:k.push(g),f=v6;break;default:ue(g,og);break}}function og(g){T1.lastIndex=o;var x=T1.exec(n);if(!x)throw new Error("should never happen");var A=x[1];if(!A){f=co;return}switch(o+=A.length,Co(k,j8(A)),h){case Fu:case Pu:case Bu:if(A[A.length-1]!==";"&&/[=A-Za-z0-9]/.test(n[o])){f=co;return}break;default:break}Er();var O=M8[A];typeof O=="number"?k.push(O):Co(k,O),f=co}og.lookahead=-O8;function v6(g){switch(b=0,g){case 120:case 88:k.push(g),f=S6;break;default:ue(g,A6);break}}function S6(g){switch(g){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:ue(g,k6);break;default:ue(g,co);break}}function A6(g){switch(g){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:ue(g,T6);break;default:ue(g,co);break}}function k6(g){switch(g){case 65:case 66:case 67:case 68:case 69:case 70:b*=16,b+=g-55;break;case 97:case 98:case 99:case 100:case 101:case 102:b*=16,b+=g-87;break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:b*=16,b+=g-48;break;case 59:f=Wu;break;default:ue(g,Wu);break}}function T6(g){switch(g){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:b*=10,b+=g-48;break;case 59:f=Wu;break;default:ue(g,Wu);break}}function Wu(g){b in k1?b=k1[b]:(b>1114111||b>=55296&&b<57344)&&(b=65533),Er(),b<=65535?k.push(b):(b=b-65536,k.push(55296+(b>>10)),k.push(56320+(b&1023))),ue(g,co)}function co(g){switch(h){case Fu:case Pu:case Bu:v+=Dr(k);break;default:Co(K,k);break}ue(g,h)}function C6(g,x,A,O){switch(g){case 1:if(x=x.replace(Do,""),x.length===0)return;break;case 4:L._appendChild(L.createComment(x));return;case 5:var $=x,ne=A,we=O;L.appendChild(new T8(L,$,ne,we)),Ae||$.toLowerCase()!=="html"||I8.test(ne)||we&&we.toLowerCase()===N8||we===void 0&&_1.test(ne)?L._quirks=!0:(R8.test(ne)||we!==void 0&&_1.test(ne))&&(L._limitedQuirks=!0),S=ag;return}L._quirks=!0,S=ag,S(g,x,A,O)}function ag(g,x,A,O){var $;switch(g){case 1:if(x=x.replace(Do,""),x.length===0)return;break;case 5:return;case 4:L._appendChild(L.createComment(x));return;case 2:if(x==="html"){$=Zr(L,x,A),_.push($),L.appendChild($),S=Ku;return}break;case 3:switch(x){case"html":case"head":case"body":case"br":break;default:return}}$=Zr(L,"html",null),_.push($),L.appendChild($),S=Ku,S(g,x,A,O)}function Ku(g,x,A,O){switch(g){case 1:if(x=x.replace(Do,""),x.length===0)return;break;case 5:return;case 4:yt(x);return;case 2:switch(x){case"html":ye(g,x,A,O);return;case"head":var $=_e(x,A);M=$,S=kt;return}break;case 3:switch(x){case"html":case"head":case"body":case"br":break;default:return}}Ku(Cr,"head",null),S(g,x,A,O)}function kt(g,x,A,O){switch(g){case 1:var $=x.match(Do);if($&&(Ie($[0]),x=x.substring($[0].length)),x.length===0)return;break;case 4:yt(x);return;case 5:return;case 2:switch(x){case"html":ye(g,x,A,O);return;case"meta":case"base":case"basefont":case"bgsound":case"link":_e(x,A),_.pop();return;case"title":Bv(x,A);return;case"noscript":if(!W){_e(x,A),S=sg;return}case"noframes":case"style":Mu(x,A);return;case"script":oi(function(ne){var we=Zr(ne,x,A);return we._parser_inserted=!0,we._force_async=!1,R&&(we._already_started=!0),le(),we}),f=Di,N=S,S=ju;return;case"template":_e(x,A),H.insertMarker(),V=!1,S=U0,P.push(S);return;case"head":return}break;case 3:switch(x){case"head":_.pop(),S=H0;return;case"body":case"html":case"br":break;case"template":if(!_.contains("template"))return;_.generateImpliedEndTags(null,"thorough"),_.popTag("template"),H.clearToMarker(),P.pop(),ao();return;default:return}break}kt(qe,"head",null),S(g,x,A,O)}function sg(g,x,A,O){switch(g){case 5:return;case 4:kt(g,x);return;case 1:var $=x.match(Do);if($&&(kt(g,$[0]),x=x.substring($[0].length)),x.length===0)return;break;case 2:switch(x){case"html":ye(g,x,A,O);return;case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"style":kt(g,x,A);return;case"head":case"noscript":return}break;case 3:switch(x){case"noscript":_.pop(),S=kt;return;case"br":break;default:return}break}sg(qe,"noscript",null),S(g,x,A,O)}function H0(g,x,A,O){switch(g){case 1:var $=x.match(Do);if($&&(Ie($[0]),x=x.substring($[0].length)),x.length===0)return;break;case 4:yt(x);return;case 5:return;case 2:switch(x){case"html":ye(g,x,A,O);return;case"body":_e(x,A),V=!1,S=ye;return;case"frameset":_e(x,A),S=q0;return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":_.push(M),kt(Cr,x,A),_.removeElement(M);return;case"head":return}break;case 3:switch(x){case"template":return kt(g,x,A,O);case"body":case"html":case"br":break;default:return}break}H0(Cr,"body",null),V=!0,S(g,x,A,O)}function ye(g,x,A,O){var $,ne,we,He;switch(g){case 1:if(Ce&&(x=x.replace(Zc,""),x.length===0))return;V&&Yc.test(x)&&(V=!1),Mr(),Ie(x);return;case 5:return;case 4:yt(x);return;case-1:if(P.length)return U0(g);so();return;case 2:switch(x){case"html":if(_.contains("template"))return;O1(A,_.elements[0]);return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":kt(Cr,x,A);return;case"body":if($=_.elements[1],!$||!($ instanceof et.HTMLBodyElement)||_.contains("template"))return;V=!1,O1(A,$);return;case"frameset":if(!V||($=_.elements[1],!$||!($ instanceof et.HTMLBodyElement)))return;for($.parentNode&&$.parentNode.removeChild($);!(_.top instanceof et.HTMLHtmlElement);)_.pop();_e(x,A),S=q0;return;case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"nav":case"ol":case"p":case"section":case"summary":case"ul":_.inButtonScope("p")&&ye(qe,"p"),_e(x,A);return;case"menu":_.inButtonScope("p")&&ye(qe,"p"),tt(_.top,"menuitem")&&_.pop(),_e(x,A);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":_.inButtonScope("p")&&ye(qe,"p"),_.top instanceof et.HTMLHeadingElement&&_.pop(),_e(x,A);return;case"pre":case"listing":_.inButtonScope("p")&&ye(qe,"p"),_e(x,A),at=!0,V=!1;return;case"form":if(q&&!_.contains("template"))return;_.inButtonScope("p")&&ye(qe,"p"),He=_e(x,A),_.contains("template")||(q=He);return;case"li":for(V=!1,ne=_.elements.length-1;ne>=0;ne--){if(we=_.elements[ne],we instanceof et.HTMLLIElement){ye(qe,"li");break}if(tt(we,Io)&&!tt(we,Sp))break}_.inButtonScope("p")&&ye(qe,"p"),_e(x,A);return;case"dd":case"dt":for(V=!1,ne=_.elements.length-1;ne>=0;ne--){if(we=_.elements[ne],tt(we,P1)){ye(qe,we.localName);break}if(tt(we,Io)&&!tt(we,Sp))break}_.inButtonScope("p")&&ye(qe,"p"),_e(x,A);return;case"plaintext":_.inButtonScope("p")&&ye(qe,"p"),_e(x,A),f=N0;return;case"button":_.inScope("button")?(ye(qe,"button"),S(g,x,A,O)):(Mr(),_e(x,A),V=!1);return;case"a":var wt=H.findElementByTag("a");wt&&(ye(qe,x),H.remove(wt),_.removeElement(wt));case"b":case"big":case"code":case"em":case"font":case"i":case"s":case"small":case"strike":case"strong":case"tt":case"u":Mr(),H.push(_e(x,A),A);return;case"nobr":Mr(),_.inScope(x)&&(ye(qe,x),Mr()),H.push(_e(x,A),A);return;case"applet":case"marquee":case"object":Mr(),_e(x,A),H.insertMarker(),V=!1;return;case"table":!L._quirks&&_.inButtonScope("p")&&ye(qe,"p"),_e(x,A),V=!1,S=Qr;return;case"area":case"br":case"embed":case"img":case"keygen":case"wbr":Mr(),_e(x,A),_.pop(),V=!1;return;case"input":Mr(),He=_e(x,A),_.pop();var cr=He.getAttribute("type");(!cr||cr.toLowerCase()!=="hidden")&&(V=!1);return;case"param":case"source":case"track":_e(x,A),_.pop();return;case"hr":_.inButtonScope("p")&&ye(qe,"p"),tt(_.top,"menuitem")&&_.pop(),_e(x,A),_.pop(),V=!1;return;case"image":ye(Cr,"img",A,O);return;case"textarea":_e(x,A),at=!0,V=!1,f=Ci,N=S,S=ju;return;case"xmp":_.inButtonScope("p")&&ye(qe,"p"),Mr(),V=!1,Mu(x,A);return;case"iframe":V=!1,Mu(x,A);return;case"noembed":Mu(x,A);return;case"select":Mr(),_e(x,A),V=!1,S===Qr||S===$0||S===lo||S===Es||S===Zo?S=zu:S=ai;return;case"optgroup":case"option":_.top instanceof et.HTMLOptionElement&&ye(qe,"option"),Mr(),_e(x,A);return;case"menuitem":tt(_.top,"menuitem")&&_.pop(),Mr(),_e(x,A);return;case"rb":case"rtc":_.inScope("ruby")&&_.generateImpliedEndTags(),_e(x,A);return;case"rp":case"rt":_.inScope("ruby")&&_.generateImpliedEndTags("rtc"),_e(x,A);return;case"math":Mr(),M1(A),vp(A),Ot(x,A,pe.MATHML),O&&_.pop();return;case"svg":Mr(),L1(A),vp(A),Ot(x,A,pe.SVG),O&&_.pop();return;case"caption":case"col":case"colgroup":case"frame":case"head":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return}Mr(),_e(x,A);return;case 3:switch(x){case"template":kt(qe,x,A);return;case"body":if(!_.inScope("body"))return;S=ug;return;case"html":if(!_.inScope("body"))return;S=ug,S(g,x,A);return;case"address":case"article":case"aside":case"blockquote":case"button":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"listing":case"main":case"menu":case"nav":case"ol":case"pre":case"section":case"summary":case"ul":if(!_.inScope(x))return;_.generateImpliedEndTags(),_.popTag(x);return;case"form":if(_.contains("template")){if(!_.inScope("form"))return;_.generateImpliedEndTags(),_.popTag("form")}else{var en=q;if(q=null,!en||!_.elementInScope(en))return;_.generateImpliedEndTags(),_.removeElement(en)}return;case"p":_.inButtonScope(x)?(_.generateImpliedEndTags(x),_.popTag(x)):(ye(Cr,x,null),S(g,x,A,O));return;case"li":if(!_.inListItemScope(x))return;_.generateImpliedEndTags(x),_.popTag(x);return;case"dd":case"dt":if(!_.inScope(x))return;_.generateImpliedEndTags(x),_.popTag(x);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(!_.elementTypeInScope(et.HTMLHeadingElement))return;_.generateImpliedEndTags(),_.popElementType(et.HTMLHeadingElement);return;case"sarcasm":break;case"a":case"b":case"big":case"code":case"em":case"font":case"i":case"nobr":case"s":case"small":case"strike":case"strong":case"tt":case"u":var pn=Hv(x);if(pn)return;break;case"applet":case"marquee":case"object":if(!_.inScope(x))return;_.generateImpliedEndTags(),_.popTag(x),H.clearToMarker();return;case"br":ye(Cr,x,null);return}for(ne=_.elements.length-1;ne>=0;ne--)if(we=_.elements[ne],tt(we,x)){_.generateImpliedEndTags(x),_.popElement(we);break}else if(tt(we,Io))return;return}}function ju(g,x,A,O){switch(g){case 1:Ie(x);return;case-1:_.top instanceof et.HTMLScriptElement&&(_.top._already_started=!0),_.pop(),S=N,S(g);return;case 3:x==="script"?$v():(_.pop(),S=N);return;default:return}}function Qr(g,x,A,O){function $(we){for(var He=0,wt=we.length;He<wt;He++)if(we[He][0]==="type")return we[He][1].toLowerCase();return null}switch(g){case 1:if(Y){ye(g,x,A,O);return}else if(tt(_.top,Ia)){be=[],N=S,S=D6,S(g,x,A,O);return}break;case 4:yt(x);return;case 5:return;case 2:switch(x){case"caption":_.clearToContext(Qc),H.insertMarker(),_e(x,A),S=$0;return;case"colgroup":_.clearToContext(Qc),_e(x,A),S=Vu;return;case"col":Qr(Cr,"colgroup",null),S(g,x,A,O);return;case"tbody":case"tfoot":case"thead":_.clearToContext(Qc),_e(x,A),S=lo;return;case"td":case"th":case"tr":Qr(Cr,"tbody",null),S(g,x,A,O);return;case"table":if(!_.inTableScope(x))return;Qr(qe,x),S(g,x,A,O);return;case"style":case"script":case"template":kt(g,x,A,O);return;case"input":var ne=$(A);if(ne!=="hidden")break;_e(x,A),_.pop();return;case"form":if(q||_.contains("template"))return;q=_e(x,A),_.popElement(q);return}break;case 3:switch(x){case"table":if(!_.inTableScope(x))return;_.popTag(x),ao();return;case"body":case"caption":case"col":case"colgroup":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return;case"template":kt(g,x,A,O);return}break;case-1:ye(g,x,A,O);return}Jt=!0,ye(g,x,A,O),Jt=!1}function D6(g,x,A,O){if(g===Da){if(Ce&&(x=x.replace(Zc,""),x.length===0))return;be.push(x)}else{var $=be.join("");be.length=0,Yc.test($)?(Jt=!0,ye(Da,$),Jt=!1):Ie($),S=N,S(g,x,A,O)}}function $0(g,x,A,O){function $(){return _.inTableScope("caption")?(_.generateImpliedEndTags(),_.popTag("caption"),H.clearToMarker(),S=Qr,!0):!1}switch(g){case 2:switch(x){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":$()&&S(g,x,A,O);return}break;case 3:switch(x){case"caption":$();return;case"table":$()&&S(g,x,A,O);return;case"body":case"col":case"colgroup":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return}break}ye(g,x,A,O)}function Vu(g,x,A,O){switch(g){case 1:var $=x.match(Do);if($&&(Ie($[0]),x=x.substring($[0].length)),x.length===0)return;break;case 4:yt(x);return;case 5:return;case 2:switch(x){case"html":ye(g,x,A,O);return;case"col":_e(x,A),_.pop();return;case"template":kt(g,x,A,O);return}break;case 3:switch(x){case"colgroup":if(!tt(_.top,"colgroup"))return;_.pop(),S=Qr;return;case"col":return;case"template":kt(g,x,A,O);return}break;case-1:ye(g,x,A,O);return}tt(_.top,"colgroup")&&(Vu(qe,"colgroup"),S(g,x,A,O))}function lo(g,x,A,O){function $(){!_.inTableScope("tbody")&&!_.inTableScope("thead")&&!_.inTableScope("tfoot")||(_.clearToContext(el),lo(qe,_.top.localName,null),S(g,x,A,O))}switch(g){case 2:switch(x){case"tr":_.clearToContext(el),_e(x,A),S=Es;return;case"th":case"td":lo(Cr,"tr",null),S(g,x,A,O);return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":$();return}break;case 3:switch(x){case"table":$();return;case"tbody":case"tfoot":case"thead":_.inTableScope(x)&&(_.clearToContext(el),_.pop(),S=Qr);return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":case"tr":return}break}Qr(g,x,A,O)}function Es(g,x,A,O){function $(){return _.inTableScope("tr")?(_.clearToContext(Ap),_.pop(),S=lo,!0):!1}switch(g){case 2:switch(x){case"th":case"td":_.clearToContext(Ap),_e(x,A),S=Zo,H.insertMarker();return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":case"tr":$()&&S(g,x,A,O);return}break;case 3:switch(x){case"tr":$();return;case"table":$()&&S(g,x,A,O);return;case"tbody":case"tfoot":case"thead":_.inTableScope(x)&&$()&&S(g,x,A,O);return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":return}break}Qr(g,x,A,O)}function Zo(g,x,A,O){switch(g){case 2:switch(x){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":_.inTableScope("td")?(Zo(qe,"td"),S(g,x,A,O)):_.inTableScope("th")&&(Zo(qe,"th"),S(g,x,A,O));return}break;case 3:switch(x){case"td":case"th":if(!_.inTableScope(x))return;_.generateImpliedEndTags(),_.popTag(x),H.clearToMarker(),S=Es;return;case"body":case"caption":case"col":case"colgroup":case"html":return;case"table":case"tbody":case"tfoot":case"thead":case"tr":if(!_.inTableScope(x))return;Zo(qe,_.inTableScope("td")?"td":"th"),S(g,x,A,O);return}break}ye(g,x,A,O)}function ai(g,x,A,O){switch(g){case 1:if(Ce&&(x=x.replace(Zc,""),x.length===0))return;Ie(x);return;case 4:yt(x);return;case 5:return;case-1:ye(g,x,A,O);return;case 2:switch(x){case"html":ye(g,x,A,O);return;case"option":_.top instanceof et.HTMLOptionElement&&ai(qe,x),_e(x,A);return;case"optgroup":_.top instanceof et.HTMLOptionElement&&ai(qe,"option"),_.top instanceof et.HTMLOptGroupElement&&ai(qe,x),_e(x,A);return;case"select":ai(qe,x);return;case"input":case"keygen":case"textarea":if(!_.inSelectScope("select"))return;ai(qe,"select"),S(g,x,A,O);return;case"script":case"template":kt(g,x,A,O);return}break;case 3:switch(x){case"optgroup":_.top instanceof et.HTMLOptionElement&&_.elements[_.elements.length-2]instanceof et.HTMLOptGroupElement&&ai(qe,"option"),_.top instanceof et.HTMLOptGroupElement&&_.pop();return;case"option":_.top instanceof et.HTMLOptionElement&&_.pop();return;case"select":if(!_.inSelectScope(x))return;_.popTag(x),ao();return;case"template":kt(g,x,A,O);return}break}}function zu(g,x,A,O){switch(x){case"caption":case"table":case"tbody":case"tfoot":case"thead":case"tr":case"td":case"th":switch(g){case 2:zu(qe,"select"),S(g,x,A,O);return;case 3:_.inTableScope(x)&&(zu(qe,"select"),S(g,x,A,O));return}}ai(g,x,A,O)}function U0(g,x,A,O){function $(ne){S=ne,P[P.length-1]=S,S(g,x,A,O)}switch(g){case 1:case 4:case 5:ye(g,x,A,O);return;case-1:_.contains("template")?(_.popTag("template"),H.clearToMarker(),P.pop(),ao(),S(g,x,A,O)):so();return;case 2:switch(x){case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":kt(g,x,A,O);return;case"caption":case"colgroup":case"tbody":case"tfoot":case"thead":$(Qr);return;case"col":$(Vu);return;case"tr":$(lo);return;case"td":case"th":$(Es);return}$(ye);return;case 3:if(x==="template"){kt(g,x,A,O);return}else return}}function ug(g,x,A,O){switch(g){case 1:if(Yc.test(x))break;ye(g,x);return;case 4:_.elements[0]._appendChild(L.createComment(x));return;case 5:return;case-1:so();return;case 2:if(x==="html"){ye(g,x,A,O);return}break;case 3:if(x==="html"){if(R)return;S=N6;return}break}S=ye,S(g,x,A,O)}function q0(g,x,A,O){switch(g){case 1:x=x.replace(_p,""),x.length>0&&Ie(x);return;case 4:yt(x);return;case 5:return;case-1:so();return;case 2:switch(x){case"html":ye(g,x,A,O);return;case"frameset":_e(x,A);return;case"frame":_e(x,A),_.pop();return;case"noframes":kt(g,x,A,O);return}break;case 3:if(x==="frameset"){if(R&&_.top instanceof et.HTMLHtmlElement)return;_.pop(),!R&&!(_.top instanceof et.HTMLFrameSetElement)&&(S=I6);return}break}}function I6(g,x,A,O){switch(g){case 1:x=x.replace(_p,""),x.length>0&&Ie(x);return;case 4:yt(x);return;case 5:return;case-1:so();return;case 2:switch(x){case"html":ye(g,x,A,O);return;case"noframes":kt(g,x,A,O);return}break;case 3:if(x==="html"){S=R6;return}break}}function N6(g,x,A,O){switch(g){case 1:if(Yc.test(x))break;ye(g,x,A,O);return;case 4:L._appendChild(L.createComment(x));return;case 5:ye(g,x,A,O);return;case-1:so();return;case 2:if(x==="html"){ye(g,x,A,O);return}break}S=ye,S(g,x,A,O)}function R6(g,x,A,O){switch(g){case 1:x=x.replace(_p,""),x.length>0&&ye(g,x,A,O);return;case 4:L._appendChild(L.createComment(x));return;case 5:ye(g,x,A,O);return;case-1:so();return;case 2:switch(x){case"html":ye(g,x,A,O);return;case"noframes":kt(g,x,A,O);return}break}}function cg(g,x,A,O){function $(wt){for(var cr=0,en=wt.length;cr<en;cr++)switch(wt[cr][0]){case"color":case"face":case"size":return!0}return!1}var ne;switch(g){case 1:V&&K8.test(x)&&(V=!1),Ce&&(x=x.replace(Zc,"\uFFFD")),Ie(x);return;case 4:yt(x);return;case 5:return;case 2:switch(x){case"font":if(!$(A))break;case"b":case"big":case"blockquote":case"body":case"br":case"center":case"code":case"dd":case"div":case"dl":case"dt":case"em":case"embed":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"head":case"hr":case"i":case"img":case"li":case"listing":case"menu":case"meta":case"nobr":case"ol":case"p":case"pre":case"ruby":case"s":case"small":case"span":case"strong":case"strike":case"sub":case"sup":case"table":case"tt":case"u":case"ul":case"var":if(R)break;do _.pop(),ne=_.top;while(ne.namespaceURI!==pe.HTML&&!N1(ne)&&!R1(ne));Xe(g,x,A,O);return}ne=_.elements.length===1&&R?t:_.top,ne.namespaceURI===pe.MATHML?M1(A):ne.namespaceURI===pe.SVG&&(x=V8(x),L1(A)),vp(A),Ot(x,A,ne.namespaceURI),O&&(x==="script"&&(ne.namespaceURI,pe.SVG),_.pop());return;case 3:if(ne=_.top,x==="script"&&ne.namespaceURI===pe.SVG&&ne.localName==="script")_.pop();else for(var we=_.elements.length-1,He=_.elements[we];;){if(He.localName.toLowerCase()===x){_.popElement(He);break}if(He=_.elements[--we],He.namespaceURI===pe.HTML){S(g,x,A,O);break}}return}}return Je.testTokenizer=function(g,x,A,O){var $=[];switch(x){case"PCDATA state":f=Be;break;case"RCDATA state":f=Ci;break;case"RAWTEXT state":f=ys;break;case"PLAINTEXT state":f=N0;break}if(A&&(D=A),Xe=function(we,He,wt,cr){switch(le(),we){case 1:$.length>0&&$[$.length-1][0]==="Character"?$[$.length-1][1]+=He:$.push(["Character",He]);break;case 4:$.push(["Comment",He]);break;case 5:$.push(["DOCTYPE",He,wt===void 0?null:wt,cr===void 0?null:cr,!Ae]);break;case 2:for(var en=Object.create(null),pn=0;pn<wt.length;pn++){var fo=wt[pn];fo.length===1?en[fo[0]]="":en[fo[0]]=fo[1]}var Li=["StartTag",He,en];cr&&Li.push(!0),$.push(Li);break;case 3:$.push(["EndTag",He]);break;case-1:break}},!O)this.parse(g,!0);else{for(var ne=0;ne<g.length;ne++)this.parse(g[ne]);this.parse("",!0)}return $},Je}});var Xs=ae((NO,J1)=>{"use strict";p();J1.exports=z1;var j1=zc(),V1=Gc(),z8=rl(),nl=Ct(),J8=Ic();function z1(e){this.contextObject=e}var G8={xml:{"":!0,"1.0":!0,"2.0":!0},core:{"":!0,"2.0":!0},html:{"":!0,"1.0":!0,"2.0":!0},xhtml:{"":!0,"1.0":!0,"2.0":!0}};z1.prototype={hasFeature:function(t,r){var n=G8[(t||"").toLowerCase()];return n&&n[r||""]||!1},createDocumentType:function(t,r,n){return J8.isValidQName(t)||nl.InvalidCharacterError(),new V1(this.contextObject,t,r,n)},createDocument:function(t,r,n){var i=new j1(!1,null),o;return r?o=i.createElementNS(t,r):o=null,n&&i.appendChild(n),o&&i.appendChild(o),t===nl.NAMESPACE.HTML?i._contentType="application/xhtml+xml":t===nl.NAMESPACE.SVG?i._contentType="image/svg+xml":i._contentType="application/xml",i},createHTMLDocument:function(t){var r=new j1(!0,null);r.appendChild(new V1(r,"html"));var n=r.createElement("html");r.appendChild(n);var i=r.createElement("head");if(n.appendChild(i),t!==void 0){var o=r.createElement("title");i.appendChild(o),o.appendChild(r.createTextNode(t))}return n.appendChild(r.createElement("body")),r.modclock=1,r},mozSetOutputMutationHandler:function(e,t){e.mutationHandler=t},mozGetInputMutationHandler:function(e){nl.nyi()},mozHTMLParser:z8}});var X1=ae((LO,G1)=>{"use strict";p();var X8=$c(),Y8=pp();G1.exports=Tp;function Tp(e,t){this._window=e,this._href=t}Tp.prototype=Object.create(Y8.prototype,{constructor:{value:Tp},href:{get:function(){return this._href},set:function(e){this.assign(e)}},assign:{value:function(e){var t=new X8(this._href),r=t.resolve(e);this._href=r}},replace:{value:function(e){this.assign(e)}},reload:{value:function(){this.assign(this.href)}},toString:{value:function(){return this.href}}})});var Z1=ae((OO,Y1)=>{"use strict";p();var Z8=Object.create(null,{appCodeName:{value:"Mozilla"},appName:{value:"Netscape"},appVersion:{value:"4.0"},platform:{value:""},product:{value:"Gecko"},productSub:{value:"20100101"},userAgent:{value:""},vendor:{value:""},vendorSub:{value:""},taintEnabled:{value:function(){return!1}}});Y1.exports=Z8});var ey=ae((PO,Q1)=>{"use strict";p();var Q8={setTimeout,clearTimeout,setInterval,clearInterval};Q1.exports=Q8});var Dp=ae((Ys,ty)=>{"use strict";p();var Cp=Ct();Ys=ty.exports={CSSStyleDeclaration:Uc(),CharacterData:Us(),Comment:Qd(),DOMException:Ac(),DOMImplementation:Xs(),DOMTokenList:Fd(),Document:zc(),DocumentFragment:tp(),DocumentType:Gc(),Element:_a(),HTMLParser:rl(),NamedNodeMap:qd(),Node:fr(),NodeList:ko(),NodeFilter:js(),ProcessingInstruction:np(),Text:Yd(),Window:Ip()};Cp.merge(Ys,dp());Cp.merge(Ys,Kc().elements);Cp.merge(Ys,bp().elements)});var Ip=ae(($O,ry)=>{"use strict";p();var eT=Xs(),tT=bd(),rT=X1(),Zs=Ct();ry.exports=il;function il(e){this.document=e||new eT(null).createHTMLDocument(""),this.document._scripting_enabled=!0,this.document.defaultView=this,this.location=new rT(this,this.document._address||"about:blank")}il.prototype=Object.create(tT.prototype,{console:{value:console},history:{value:{back:Zs.nyi,forward:Zs.nyi,go:Zs.nyi}},navigator:{value:Z1()},window:{get:function(){return this}},self:{get:function(){return this}},frames:{get:function(){return this}},parent:{get:function(){return this}},top:{get:function(){return this}},length:{value:0},frameElement:{value:null},opener:{value:null},onload:{get:function(){return this._getEventHandler("load")},set:function(e){this._setEventHandler("load",e)}},getComputedStyle:{value:function(t){return t.style}}});Zs.expose(ey(),il);Zs.expose(Dp(),il)});var jn=ae(No=>{"use strict";p();var ny=Xs(),iy=rl(),qO=Ip(),oy=Dp();No.createDOMImplementation=function(){return new ny(null)};No.createDocument=function(e,t){if(e||t){var r=new iy;return r.parse(e||"",!0),r.document()}return new ny(null).createHTMLDocument("")};No.createIncrementalHTMLParser=function(){var e=new iy;return{write:function(t){t.length>0&&e.parse(t,!1,function(){return!0})},end:function(t){e.parse(t||"",!0,function(){return!0})},process:function(t){return e.parse("",!1,t)},document:function(){return e.document()}}};No.createWindow=function(e,t){var r=No.createDocument(e);return t!==void 0&&(r._address=t),new oy.Window(r)};No.impl=oy});var Yy=ae((nP,AT)=>{AT.exports={name:"dotenv",version:"16.6.1",description:"Loads environment variables from .env file",main:"lib/main.js",types:"lib/main.d.ts",exports:{".":{types:"./lib/main.d.ts",require:"./lib/main.js",default:"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},scripts:{"dts-check":"tsc --project tests/types/tsconfig.json",lint:"standard",pretest:"npm run lint && npm run dts-check",test:"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",prerelease:"npm test",release:"standard-version"},repository:{type:"git",url:"git://github.com/motdotla/dotenv.git"},homepage:"https://github.com/motdotla/dotenv#readme",funding:"https://dotenvx.com",keywords:["dotenv","env",".env","environment","variables","config","settings"],readmeFilename:"README.md",license:"BSD-2-Clause",devDependencies:{"@types/node":"^18.11.3",decache:"^4.6.2",sinon:"^14.0.1",standard:"^17.0.0","standard-version":"^9.5.0",tap:"^19.2.0",typescript:"^4.8.4"},engines:{node:">=12"},browser:{fs:!1}}});var Po=ae((iP,bi)=>{p();var Hp=($e(),Gu(Jg)),gl=Ke(),kT=(Cs(),Gu(Xg)),TT=(Wt(),Gu(mo)),CT=Yy(),$p=CT.version,DT=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function IT(e){let t={},r=e.toString();r=r.replace(/\r\n?/mg,`
10
+ `);let n;for(;(n=DT.exec(r))!=null;){let i=n[1],o=n[2]||"";o=o.trim();let a=o[0];o=o.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),a==='"'&&(o=o.replace(/\\n/g,`
11
+ `),o=o.replace(/\\r/g,"\r")),t[i]=o}return t}function NT(e){e=e||{};let t=tw(e);e.path=t;let r=Xt.configDotenv(e);if(!r.parsed){let a=new Error(`MISSING_DATA: Cannot parse ${t} for an unknown reason`);throw a.code="MISSING_DATA",a}let n=ew(e).split(","),i=n.length,o;for(let a=0;a<i;a++)try{let s=n[a].trim(),u=LT(r,s);o=Xt.decrypt(u.ciphertext,u.key);break}catch(s){if(a+1>=i)throw s}return Xt.parse(o)}function RT(e){console.log(`[dotenv@${$p}][WARN] ${e}`)}function nu(e){console.log(`[dotenv@${$p}][DEBUG] ${e}`)}function Qy(e){console.log(`[dotenv@${$p}] ${e}`)}function ew(e){return e&&e.DOTENV_KEY&&e.DOTENV_KEY.length>0?e.DOTENV_KEY:y.env.DOTENV_KEY&&y.env.DOTENV_KEY.length>0?y.env.DOTENV_KEY:""}function LT(e,t){let r;try{r=new URL(t)}catch(s){if(s.code==="ERR_INVALID_URL"){let u=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw u.code="INVALID_DOTENV_KEY",u}throw s}let n=r.password;if(!n){let s=new Error("INVALID_DOTENV_KEY: Missing key part");throw s.code="INVALID_DOTENV_KEY",s}let i=r.searchParams.get("environment");if(!i){let s=new Error("INVALID_DOTENV_KEY: Missing environment part");throw s.code="INVALID_DOTENV_KEY",s}let o=`DOTENV_VAULT_${i.toUpperCase()}`,a=e.parsed[o];if(!a){let s=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${o} in your .env.vault file.`);throw s.code="NOT_FOUND_DOTENV_ENVIRONMENT",s}return{ciphertext:a,key:n}}function tw(e){let t=null;if(e&&e.path&&e.path.length>0)if(Array.isArray(e.path))for(let r of e.path)Hp.existsSync(r)&&(t=r.endsWith(".vault")?r:`${r}.vault`);else t=e.path.endsWith(".vault")?e.path:`${e.path}.vault`;else t=gl.resolve(y.cwd(),".env.vault");return Hp.existsSync(t)?t:null}function Zy(e){return e[0]==="~"?gl.join(kT.homedir(),e.slice(1)):e}function MT(e){let t=!!(e&&e.debug),r=e&&"quiet"in e?e.quiet:!0;(t||!r)&&Qy("Loading env from encrypted .env.vault");let n=Xt._parseVault(e),i=y.env;return e&&e.processEnv!=null&&(i=e.processEnv),Xt.populate(i,n,e),{parsed:n}}function OT(e){let t=gl.resolve(y.cwd(),".env"),r="utf8",n=!!(e&&e.debug),i=e&&"quiet"in e?e.quiet:!0;e&&e.encoding?r=e.encoding:n&&nu("No encoding is specified. UTF-8 is used by default");let o=[t];if(e&&e.path)if(!Array.isArray(e.path))o=[Zy(e.path)];else{o=[];for(let c of e.path)o.push(Zy(c))}let a,s={};for(let c of o)try{let l=Xt.parse(Hp.readFileSync(c,{encoding:r}));Xt.populate(s,l,e)}catch(l){n&&nu(`Failed to load ${c} ${l.message}`),a=l}let u=y.env;if(e&&e.processEnv!=null&&(u=e.processEnv),Xt.populate(u,s,e),n||!i){let c=Object.keys(s).length,l=[];for(let d of o)try{let m=gl.relative(y.cwd(),d);l.push(m)}catch(m){n&&nu(`Failed to load ${d} ${m.message}`),a=m}Qy(`injecting env (${c}) from ${l.join(",")}`)}return a?{parsed:s,error:a}:{parsed:s}}function FT(e){if(ew(e).length===0)return Xt.configDotenv(e);let t=tw(e);return t?Xt._configVault(e):(RT(`You set DOTENV_KEY but you are missing a .env.vault file at ${t}. Did you forget to build it?`),Xt.configDotenv(e))}function PT(e,t){let r=E.Buffer.from(t.slice(-64),"hex"),n=E.Buffer.from(e,"base64"),i=n.subarray(0,12),o=n.subarray(-16);n=n.subarray(12,-16);try{let a=TT.createDecipheriv("aes-256-gcm",r,i);return a.setAuthTag(o),`${a.update(n)}${a.final()}`}catch(a){let s=a instanceof RangeError,u=a.message==="Invalid key length",c=a.message==="Unsupported state or unable to authenticate data";if(s||u){let l=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw l.code="INVALID_DOTENV_KEY",l}else if(c){let l=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw l.code="DECRYPTION_FAILED",l}else throw a}}function BT(e,t,r={}){let n=!!(r&&r.debug),i=!!(r&&r.override);if(typeof t!="object"){let o=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw o.code="OBJECT_REQUIRED",o}for(let o of Object.keys(t))Object.prototype.hasOwnProperty.call(e,o)?(i===!0&&(e[o]=t[o]),n&&nu(i===!0?`"${o}" is already defined and WAS overwritten`:`"${o}" is already defined and was NOT overwritten`)):e[o]=t[o]}var Xt={configDotenv:OT,_configVault:MT,_parseVault:NT,config:FT,decrypt:PT,parse:IT,populate:BT};bi.exports.configDotenv=Xt.configDotenv;bi.exports._configVault=Xt._configVault;bi.exports._parseVault=Xt._parseVault;bi.exports.config=Xt.config;bi.exports.decrypt=Xt.decrypt;bi.exports.parse=Xt.parse;bi.exports.populate=Xt.populate;bi.exports=Xt});var pw=ae((kP,dw)=>{p();dw.exports=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}});var bw=ae((IP,xw)=>{"use strict";p();var Jp=Object.defineProperty,HT=Object.getOwnPropertyDescriptor,$T=Object.getOwnPropertyNames,UT=Object.prototype.hasOwnProperty,qT=(e,t)=>{for(var r in t)Jp(e,r,{get:t[r],enumerable:!0})},WT=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of $T(t))!UT.call(e,i)&&i!==r&&Jp(e,i,{get:()=>t[i],enumerable:!(n=HT(t,i))||n.enumerable});return e},KT=e=>WT(Jp({},"__esModule",{value:!0}),e),mw={};qT(mw,{SYMBOL_FOR_REQ_CONTEXT:()=>gw,getContext:()=>jT});xw.exports=KT(mw);var gw=Symbol.for("@vercel/request-context");function jT(){return globalThis[gw]?.get?.()??{}}});var de,bt,xr=X(()=>{p();de=crypto,bt=e=>e instanceof CryptoKey});var VT,bl,Gp=X(()=>{p();xr();VT=async(e,t)=>{let r=`SHA-${e.slice(-3)}`;return new Uint8Array(await de.subtle.digest(r,t))},bl=VT});function br(...e){let t=e.reduce((i,{length:o})=>i+o,0),r=new Uint8Array(t),n=0;for(let i of e)r.set(i,n),n+=i.length;return r}function yw(e,t){return br(rt.encode(e),new Uint8Array([0]),t)}function Xp(e,t,r){if(t<0||t>=yl)throw new RangeError(`value must be >= 0 and <= ${yl-1}. Received ${t}`);e.set([t>>>24,t>>>16,t>>>8,t&255],r)}function wl(e){let t=Math.floor(e/yl),r=e%yl,n=new Uint8Array(8);return Xp(n,t,0),Xp(n,r,4),n}function El(e){let t=new Uint8Array(4);return Xp(t,e),t}function _l(e){return br(El(e.length),e)}async function ww(e,t,r){let n=Math.ceil((t>>3)/32),i=new Uint8Array(n*32);for(let o=0;o<n;o++){let a=new Uint8Array(4+e.length+r.length);a.set(El(o+1)),a.set(e,4),a.set(r,4+e.length),i.set(await bl("sha256",a),o*32)}return i.slice(0,t>>3)}var rt,St,yl,Yt=X(()=>{p();Gp();rt=new TextEncoder,St=new TextDecoder,yl=2**32});var vl,nt,Yp,ut,yr=X(()=>{p();Yt();vl=e=>{let t=e;typeof t=="string"&&(t=rt.encode(t));let r=32768,n=[];for(let i=0;i<t.length;i+=r)n.push(String.fromCharCode.apply(null,t.subarray(i,i+r)));return btoa(n.join(""))},nt=e=>vl(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),Yp=e=>{let t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r},ut=e=>{let t=e;t instanceof Uint8Array&&(t=St.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return Yp(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}}});var Zp={};Rn(Zp,{JOSEAlgNotAllowed:()=>yi,JOSEError:()=>Bt,JOSENotSupported:()=>me,JWEDecryptionFailed:()=>Gn,JWEInvalid:()=>re,JWKInvalid:()=>qa,JWKSInvalid:()=>$o,JWKSMultipleMatchingKeys:()=>Wa,JWKSNoMatchingKey:()=>Gi,JWKSTimeout:()=>Ka,JWSInvalid:()=>Oe,JWSSignatureVerificationFailed:()=>Xi,JWTClaimValidationFailed:()=>Zt,JWTExpired:()=>Ho,JWTInvalid:()=>Mt});var Bt,Zt,Ho,yi,me,Gn,re,Oe,Mt,qa,$o,Gi,Wa,Ka,Xi,Le=X(()=>{p();Bt=class extends Error{constructor(t,r){super(t,r),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}};Bt.code="ERR_JOSE_GENERIC";Zt=class extends Bt{constructor(t,r,n="unspecified",i="unspecified"){super(t,{cause:{claim:n,reason:i,payload:r}}),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=n,this.reason=i,this.payload=r}};Zt.code="ERR_JWT_CLAIM_VALIDATION_FAILED";Ho=class extends Bt{constructor(t,r,n="unspecified",i="unspecified"){super(t,{cause:{claim:n,reason:i,payload:r}}),this.code="ERR_JWT_EXPIRED",this.claim=n,this.reason=i,this.payload=r}};Ho.code="ERR_JWT_EXPIRED";yi=class extends Bt{constructor(){super(...arguments),this.code="ERR_JOSE_ALG_NOT_ALLOWED"}};yi.code="ERR_JOSE_ALG_NOT_ALLOWED";me=class extends Bt{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}};me.code="ERR_JOSE_NOT_SUPPORTED";Gn=class extends Bt{constructor(t="decryption operation failed",r){super(t,r),this.code="ERR_JWE_DECRYPTION_FAILED"}};Gn.code="ERR_JWE_DECRYPTION_FAILED";re=class extends Bt{constructor(){super(...arguments),this.code="ERR_JWE_INVALID"}};re.code="ERR_JWE_INVALID";Oe=class extends Bt{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}};Oe.code="ERR_JWS_INVALID";Mt=class extends Bt{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}};Mt.code="ERR_JWT_INVALID";qa=class extends Bt{constructor(){super(...arguments),this.code="ERR_JWK_INVALID"}};qa.code="ERR_JWK_INVALID";$o=class extends Bt{constructor(){super(...arguments),this.code="ERR_JWKS_INVALID"}};$o.code="ERR_JWKS_INVALID";Gi=class extends Bt{constructor(t="no applicable key found in the JSON Web Key Set",r){super(t,r),this.code="ERR_JWKS_NO_MATCHING_KEY"}};Gi.code="ERR_JWKS_NO_MATCHING_KEY";Wa=class extends Bt{constructor(t="multiple matching keys found in the JSON Web Key Set",r){super(t,r),this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS"}};Wa.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";Ka=class extends Bt{constructor(t="request timed out",r){super(t,r),this.code="ERR_JWKS_TIMEOUT"}};Ka.code="ERR_JWKS_TIMEOUT";Xi=class extends Bt{constructor(t="signature verification failed",r){super(t,r),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}};Xi.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED"});var Yi,iu=X(()=>{p();xr();Yi=de.getRandomValues.bind(de)});function Qp(e){switch(e){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new me(`Unsupported JWE Algorithm: ${e}`)}}var _w,eh=X(()=>{p();Le();iu();_w=e=>Yi(new Uint8Array(Qp(e)>>3))});var zT,Sl,th=X(()=>{p();Le();eh();zT=(e,t)=>{if(t.length<<3!==Qp(e))throw new re("Invalid Initialization Vector length")},Sl=zT});var JT,ja,rh=X(()=>{p();Le();JT=(e,t)=>{let r=e.byteLength<<3;if(r!==t)throw new re(`Invalid Content Encryption Key length. Expected ${t} bits, got ${r} bits`)},ja=JT});var GT,vw,Sw=X(()=>{p();GT=(e,t)=>{if(!(e instanceof Uint8Array))throw new TypeError("First argument must be a buffer");if(!(t instanceof Uint8Array))throw new TypeError("Second argument must be a buffer");if(e.length!==t.length)throw new TypeError("Input buffers must have the same length");let r=e.length,n=0,i=-1;for(;++i<r;)n|=e[i]^t[i];return n===0},vw=GT});function sr(e,t="algorithm.name"){return new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`)}function wi(e,t){return e.name===t}function Al(e){return parseInt(e.name.slice(4),10)}function XT(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}function Aw(e,t){if(t.length&&!t.some(r=>e.usages.includes(r))){let r="CryptoKey does not support this operation, its usages must include ";if(t.length>2){let n=t.pop();r+=`one of ${t.join(", ")}, or ${n}.`}else t.length===2?r+=`one of ${t[0]} or ${t[1]}.`:r+=`${t[0]}.`;throw new TypeError(r)}}function kw(e,t,...r){switch(t){case"HS256":case"HS384":case"HS512":{if(!wi(e.algorithm,"HMAC"))throw sr("HMAC");let n=parseInt(t.slice(2),10);if(Al(e.algorithm.hash)!==n)throw sr(`SHA-${n}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!wi(e.algorithm,"RSASSA-PKCS1-v1_5"))throw sr("RSASSA-PKCS1-v1_5");let n=parseInt(t.slice(2),10);if(Al(e.algorithm.hash)!==n)throw sr(`SHA-${n}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!wi(e.algorithm,"RSA-PSS"))throw sr("RSA-PSS");let n=parseInt(t.slice(2),10);if(Al(e.algorithm.hash)!==n)throw sr(`SHA-${n}`,"algorithm.hash");break}case"EdDSA":{if(e.algorithm.name!=="Ed25519"&&e.algorithm.name!=="Ed448")throw sr("Ed25519 or Ed448");break}case"Ed25519":{if(!wi(e.algorithm,"Ed25519"))throw sr("Ed25519");break}case"ES256":case"ES384":case"ES512":{if(!wi(e.algorithm,"ECDSA"))throw sr("ECDSA");let n=XT(t);if(e.algorithm.namedCurve!==n)throw sr(n,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}Aw(e,r)}function Wr(e,t,...r){switch(t){case"A128GCM":case"A192GCM":case"A256GCM":{if(!wi(e.algorithm,"AES-GCM"))throw sr("AES-GCM");let n=parseInt(t.slice(1,4),10);if(e.algorithm.length!==n)throw sr(n,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!wi(e.algorithm,"AES-KW"))throw sr("AES-KW");let n=parseInt(t.slice(1,4),10);if(e.algorithm.length!==n)throw sr(n,"algorithm.length");break}case"ECDH":{switch(e.algorithm.name){case"ECDH":case"X25519":case"X448":break;default:throw sr("ECDH, X25519, or X448")}break}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!wi(e.algorithm,"PBKDF2"))throw sr("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!wi(e.algorithm,"RSA-OAEP"))throw sr("RSA-OAEP");let n=parseInt(t.slice(9),10)||1;if(Al(e.algorithm.hash)!==n)throw sr(`SHA-${n}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}Aw(e,r)}var Zi=X(()=>{p()});function Tw(e,t,...r){if(r=r.filter(Boolean),r.length>2){let n=r.pop();e+=`one of type ${r.join(", ")}, or ${n}.`}else r.length===2?e+=`one of type ${r[0]} or ${r[1]}.`:e+=`of type ${r[0]}.`;return t==null?e+=` Received ${t}`:typeof t=="function"&&t.name?e+=` Received function ${t.name}`:typeof t=="object"&&t!=null&&t.constructor?.name&&(e+=` Received an instance of ${t.constructor.name}`),e}function nh(e,t,...r){return Tw(`Key for the ${e} algorithm must be `,t,...r)}var pt,kn=X(()=>{p();pt=(e,...t)=>Tw("Key must be ",e,...t)});var ih,ft,Tn=X(()=>{p();xr();ih=e=>bt(e)?!0:e?.[Symbol.toStringTag]==="KeyObject",ft=["CryptoKey"]});async function YT(e,t,r,n,i,o){if(!(t instanceof Uint8Array))throw new TypeError(pt(t,"Uint8Array"));let a=parseInt(e.slice(1,4),10),s=await de.subtle.importKey("raw",t.subarray(a>>3),"AES-CBC",!1,["decrypt"]),u=await de.subtle.importKey("raw",t.subarray(0,a>>3),{hash:`SHA-${a<<1}`,name:"HMAC"},!1,["sign"]),c=br(o,n,r,wl(o.length<<3)),l=new Uint8Array((await de.subtle.sign("HMAC",u,c)).slice(0,a>>3)),d;try{d=vw(i,l)}catch{}if(!d)throw new Gn;let m;try{m=new Uint8Array(await de.subtle.decrypt({iv:n,name:"AES-CBC"},s,r))}catch{}if(!m)throw new Gn;return m}async function ZT(e,t,r,n,i,o){let a;t instanceof Uint8Array?a=await de.subtle.importKey("raw",t,"AES-GCM",!1,["decrypt"]):(Wr(t,e,"decrypt"),a=t);try{return new Uint8Array(await de.subtle.decrypt({additionalData:o,iv:n,name:"AES-GCM",tagLength:128},a,br(r,i)))}catch{throw new Gn}}var QT,kl,oh=X(()=>{p();Yt();th();rh();Sw();Le();xr();Zi();kn();Tn();QT=async(e,t,r,n,i,o)=>{if(!bt(t)&&!(t instanceof Uint8Array))throw new TypeError(pt(t,...ft,"Uint8Array"));if(!n)throw new re("JWE Initialization Vector missing");if(!i)throw new re("JWE Authentication Tag missing");switch(Sl(e,n),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return t instanceof Uint8Array&&ja(t,parseInt(e.slice(-3),10)),YT(e,t,r,n,i,o);case"A128GCM":case"A192GCM":case"A256GCM":return t instanceof Uint8Array&&ja(t,parseInt(e.slice(1,4),10)),ZT(e,t,r,n,i,o);default:throw new me("Unsupported JWE Content Encryption Algorithm")}},kl=QT});var e5,Xn,Va=X(()=>{p();e5=(...e)=>{let t=e.filter(Boolean);if(t.length===0||t.length===1)return!0;let r;for(let n of t){let i=Object.keys(n);if(!r||r.size===0){r=new Set(i);continue}for(let o of i){if(r.has(o))return!1;r.add(o)}}return!0},Xn=e5});function t5(e){return typeof e=="object"&&e!==null}function We(e){if(!t5(e)||Object.prototype.toString.call(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}var Rr=X(()=>{p()});var r5,za,ah=X(()=>{p();r5=[{hash:"SHA-256",name:"HMAC"},!0,["sign"]],za=r5});function Cw(e,t){if(e.algorithm.length!==parseInt(t.slice(1,4),10))throw new TypeError(`Invalid key size for alg: ${t}`)}function Dw(e,t,r){if(bt(e))return Wr(e,t,r),e;if(e instanceof Uint8Array)return de.subtle.importKey("raw",e,"AES-KW",!0,[r]);throw new TypeError(pt(e,...ft,"Uint8Array"))}var ou,au,Tl=X(()=>{p();ah();xr();Zi();kn();Tn();ou=async(e,t,r)=>{let n=await Dw(t,e,"wrapKey");Cw(n,e);let i=await de.subtle.importKey("raw",r,...za);return new Uint8Array(await de.subtle.wrapKey("raw",i,n,"AES-KW"))},au=async(e,t,r)=>{let n=await Dw(t,e,"unwrapKey");Cw(n,e);let i=await de.subtle.unwrapKey("raw",r,n,"AES-KW",...za);return new Uint8Array(await de.subtle.exportKey("raw",i))}});async function Cl(e,t,r,n,i=new Uint8Array(0),o=new Uint8Array(0)){if(!bt(e))throw new TypeError(pt(e,...ft));if(Wr(e,"ECDH"),!bt(t))throw new TypeError(pt(t,...ft));Wr(t,"ECDH","deriveBits");let a=br(_l(rt.encode(r)),_l(i),_l(o),El(n)),s;e.algorithm.name==="X25519"?s=256:e.algorithm.name==="X448"?s=448:s=Math.ceil(parseInt(e.algorithm.namedCurve.substr(-3),10)/8)<<3;let u=new Uint8Array(await de.subtle.deriveBits({name:e.algorithm.name,public:e},t,s));return ww(u,n,a)}async function Iw(e){if(!bt(e))throw new TypeError(pt(e,...ft));return de.subtle.generateKey(e.algorithm,!0,["deriveBits"])}function Dl(e){if(!bt(e))throw new TypeError(pt(e,...ft));return["P-256","P-384","P-521"].includes(e.algorithm.namedCurve)||e.algorithm.name==="X25519"||e.algorithm.name==="X448"}var sh=X(()=>{p();Yt();xr();Zi();kn();Tn()});function uh(e){if(!(e instanceof Uint8Array)||e.length<8)throw new re("PBES2 Salt Input must be 8 or more octets")}var Rw=X(()=>{p();Le()});function n5(e,t){if(e instanceof Uint8Array)return de.subtle.importKey("raw",e,"PBKDF2",!1,["deriveBits"]);if(bt(e))return Wr(e,t,"deriveBits","deriveKey"),e;throw new TypeError(pt(e,...ft,"Uint8Array"))}async function Lw(e,t,r,n){uh(e);let i=yw(t,e),o=parseInt(t.slice(13,16),10),a={hash:`SHA-${t.slice(8,11)}`,iterations:r,name:"PBKDF2",salt:i},s={length:o,name:"AES-KW"},u=await n5(n,t);if(u.usages.includes("deriveBits"))return new Uint8Array(await de.subtle.deriveBits(a,u,o));if(u.usages.includes("deriveKey"))return de.subtle.deriveKey(a,u,s,!1,["wrapKey","unwrapKey"]);throw new TypeError('PBKDF2 key "usages" must include "deriveBits" or "deriveKey"')}var Mw,Ow,ch=X(()=>{p();iu();Yt();yr();Tl();Rw();xr();Zi();kn();Tn();Mw=async(e,t,r,n=2048,i=Yi(new Uint8Array(16)))=>{let o=await Lw(i,e,n,t);return{encryptedKey:await ou(e.slice(-6),o,r),p2c:n,p2s:nt(i)}},Ow=async(e,t,r,n,i)=>{let o=await Lw(i,e,n,t);return au(e.slice(-6),o,r)}});function Ja(e){switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return"RSA-OAEP";default:throw new me(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}var Fw=X(()=>{p();Le()});var Uo,Il=X(()=>{p();Uo=(e,t)=>{if(e.startsWith("RS")||e.startsWith("PS")){let{modulusLength:r}=t.algorithm;if(typeof r!="number"||r<2048)throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}}});var Pw,Bw,lh=X(()=>{p();Fw();ah();xr();Zi();Il();kn();Tn();Pw=async(e,t,r)=>{if(!bt(t))throw new TypeError(pt(t,...ft));if(Wr(t,e,"encrypt","wrapKey"),Uo(e,t),t.usages.includes("encrypt"))return new Uint8Array(await de.subtle.encrypt(Ja(e),t,r));if(t.usages.includes("wrapKey")){let n=await de.subtle.importKey("raw",r,...za);return new Uint8Array(await de.subtle.wrapKey("raw",n,t,Ja(e)))}throw new TypeError('RSA-OAEP key "usages" must include "encrypt" or "wrapKey" for this operation')},Bw=async(e,t,r)=>{if(!bt(t))throw new TypeError(pt(t,...ft));if(Wr(t,e,"decrypt","unwrapKey"),Uo(e,t),t.usages.includes("decrypt"))return new Uint8Array(await de.subtle.decrypt(Ja(e),t,r));if(t.usages.includes("unwrapKey")){let n=await de.subtle.unwrapKey("raw",r,t,Ja(e),...za);return new Uint8Array(await de.subtle.exportKey("raw",n))}throw new TypeError('RSA-OAEP key "usages" must include "decrypt" or "unwrapKey" for this operation')}});function Ei(e){return We(e)&&typeof e.kty=="string"}function Hw(e){return e.kty!=="oct"&&typeof e.d=="string"}function $w(e){return e.kty!=="oct"&&typeof e.d>"u"}function Uw(e){return Ei(e)&&e.kty==="oct"&&typeof e.k=="string"}var Nl=X(()=>{p();Rr()});function o5(e){let t,r;switch(e.kty){case"RSA":{switch(e.alg){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},r=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new me('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break}case"EC":{switch(e.alg){case"ES256":t={name:"ECDSA",namedCurve:"P-256"},r=e.d?["sign"]:["verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},r=e.d?["sign"]:["verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:"ECDH",namedCurve:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new me('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break}case"OKP":{switch(e.alg){case"Ed25519":t={name:"Ed25519"},r=e.d?["sign"]:["verify"];break;case"EdDSA":t={name:e.crv},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new me('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break}default:throw new me('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:t,keyUsages:r}}var a5,Rl,fh=X(()=>{p();xr();Le();a5=async e=>{if(!e.alg)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');let{algorithm:t,keyUsages:r}=o5(e),n=[t,e.ext??!1,e.key_ops??r],i={...e};return delete i.alg,delete i.use,de.subtle.importKey("jwk",i,...n)},Rl=a5});var qw,Ga,Xa,Ww,Ll,s5,u5,qo,Ml=X(()=>{p();Nl();yr();fh();qw=e=>ut(e),Ww=e=>e?.[Symbol.toStringTag]==="KeyObject",Ll=async(e,t,r,n,i=!1)=>{let o=e.get(t);if(o?.[n])return o[n];let a=await Rl({...r,alg:n});return i&&Object.freeze(t),o?o[n]=a:e.set(t,{[n]:a}),a},s5=(e,t)=>{if(Ww(e)){let r=e.export({format:"jwk"});return delete r.d,delete r.dp,delete r.dq,delete r.p,delete r.q,delete r.qi,r.k?qw(r.k):(Xa||(Xa=new WeakMap),Ll(Xa,e,r,t))}return Ei(e)?e.k?ut(e.k):(Xa||(Xa=new WeakMap),Ll(Xa,e,e,t,!0)):e},u5=(e,t)=>{if(Ww(e)){let r=e.export({format:"jwk"});return r.k?qw(r.k):(Ga||(Ga=new WeakMap),Ll(Ga,e,r,t))}return Ei(e)?e.k?ut(e.k):(Ga||(Ga=new WeakMap),Ll(Ga,e,e,t,!0)):e},qo={normalizePublicKey:s5,normalizePrivateKey:u5}});function su(e){switch(e){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new me(`Unsupported JWE Algorithm: ${e}`)}}var Yn,uu=X(()=>{p();Le();iu();Yn=e=>Yi(new Uint8Array(su(e)>>3))});var dh,Kw=X(()=>{p();dh=(e,t)=>{let r=(e.match(/.{1,64}/g)||[]).join(`
12
+ `);return`-----BEGIN ${t}-----
13
+ ${r}
14
+ -----END ${t}-----`}});function Vw(e){let t=[],r=0;for(;r<e.length;){let n=Zw(e.subarray(r));t.push(n),r+=n.byteLength}return t}function Zw(e){let t=0,r=e[0]&31;if(t++,r===31){for(r=0;e[t]>=128;)r=r*128+e[t]-128,t++;r=r*128+e[t]-128,t++}let n=0;if(e[t]<128)n=e[t],t++;else if(n===128){for(n=0;e[t+n]!==0||e[t+n+1]!==0;){if(n>e.byteLength)throw new TypeError("invalid indefinite form length");n++}let o=t+n+2;return{byteLength:o,contents:e.subarray(t,t+n),raw:e.subarray(0,o)}}else{let o=e[t]&127;t++,n=0;for(let a=0;a<o;a++)n=n*256+e[t],t++}let i=t+n;return{byteLength:i,contents:e.subarray(t,i),raw:e.subarray(0,i)}}function c5(e){let t=Vw(Vw(Zw(e).contents)[0].contents);return vl(t[t[0].raw[0]===160?6:5].raw)}function l5(e){let t=e.replace(/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g,""),r=Yp(t);return dh(c5(r),"PUBLIC KEY")}var zw,Jw,Gw,Qi,jw,Xw,Yw,ph,Qw,Ol=X(()=>{p();xr();kn();yr();Kw();Le();Tn();zw=async(e,t,r)=>{if(!bt(r))throw new TypeError(pt(r,...ft));if(!r.extractable)throw new TypeError("CryptoKey is not extractable");if(r.type!==e)throw new TypeError(`key is not a ${e} key`);return dh(vl(new Uint8Array(await de.subtle.exportKey(t,r))),`${e.toUpperCase()} KEY`)},Jw=e=>zw("public","spki",e),Gw=e=>zw("private","pkcs8",e),Qi=(e,t,r=0)=>{r===0&&(t.unshift(t.length),t.unshift(6));let n=e.indexOf(t[0],r);if(n===-1)return!1;let i=e.subarray(n,n+t.length);return i.length!==t.length?!1:i.every((o,a)=>o===t[a])||Qi(e,t,n+1)},jw=e=>{switch(!0){case Qi(e,[42,134,72,206,61,3,1,7]):return"P-256";case Qi(e,[43,129,4,0,34]):return"P-384";case Qi(e,[43,129,4,0,35]):return"P-521";case Qi(e,[43,101,110]):return"X25519";case Qi(e,[43,101,111]):return"X448";case Qi(e,[43,101,112]):return"Ed25519";case Qi(e,[43,101,113]):return"Ed448";default:throw new me("Invalid or unsupported EC Key Curve or OKP Key Sub Type")}},Xw=async(e,t,r,n,i)=>{let o,a,s=new Uint8Array(atob(r.replace(e,"")).split("").map(c=>c.charCodeAt(0))),u=t==="spki";switch(n){case"PS256":case"PS384":case"PS512":o={name:"RSA-PSS",hash:`SHA-${n.slice(-3)}`},a=u?["verify"]:["sign"];break;case"RS256":case"RS384":case"RS512":o={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${n.slice(-3)}`},a=u?["verify"]:["sign"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":o={name:"RSA-OAEP",hash:`SHA-${parseInt(n.slice(-3),10)||1}`},a=u?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":o={name:"ECDSA",namedCurve:"P-256"},a=u?["verify"]:["sign"];break;case"ES384":o={name:"ECDSA",namedCurve:"P-384"},a=u?["verify"]:["sign"];break;case"ES512":o={name:"ECDSA",namedCurve:"P-521"},a=u?["verify"]:["sign"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{let c=jw(s);o=c.startsWith("P-")?{name:"ECDH",namedCurve:c}:{name:c},a=u?[]:["deriveBits"];break}case"Ed25519":o={name:"Ed25519"},a=u?["verify"]:["sign"];break;case"EdDSA":o={name:jw(s)},a=u?["verify"]:["sign"];break;default:throw new me('Invalid or unsupported "alg" (Algorithm) value')}return de.subtle.importKey(t,s,o,i?.extractable??!1,a)},Yw=(e,t,r)=>Xw(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,"pkcs8",e,t,r),ph=(e,t,r)=>Xw(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g,"spki",e,t,r);Qw=(e,t,r)=>{let n;try{n=l5(e)}catch(i){throw new TypeError("Failed to parse the X.509 certificate",{cause:i})}return ph(n,t,r)}});async function eE(e,t,r){if(typeof e!="string"||e.indexOf("-----BEGIN PUBLIC KEY-----")!==0)throw new TypeError('"spki" must be SPKI formatted string');return ph(e,t,r)}async function tE(e,t,r){if(typeof e!="string"||e.indexOf("-----BEGIN CERTIFICATE-----")!==0)throw new TypeError('"x509" must be X.509 formatted string');return Qw(e,t,r)}async function rE(e,t,r){if(typeof e!="string"||e.indexOf("-----BEGIN PRIVATE KEY-----")!==0)throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return Yw(e,t,r)}async function Zn(e,t){if(!We(e))throw new TypeError("JWK must be an object");switch(t||(t=e.alg),e.kty){case"oct":if(typeof e.k!="string"||!e.k)throw new TypeError('missing "k" (Key Value) Parameter value');return ut(e.k);case"RSA":if("oth"in e&&e.oth!==void 0)throw new me('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');case"EC":case"OKP":return Rl({...e,alg:t});default:throw new me('Unsupported "kty" (Key Type) Parameter value')}}var Ya=X(()=>{p();yr();Ol();fh();Le();Rr()});function nE(e,t,r,n){t.startsWith("HS")||t==="dir"||t.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(t)?f5(t,r,n,e):d5(t,r,n,e)}var Za,hh,f5,d5,Fl,cu,lu=X(()=>{p();kn();Tn();Nl();Za=e=>e?.[Symbol.toStringTag],hh=(e,t,r)=>{if(t.use!==void 0&&t.use!=="sig")throw new TypeError("Invalid key for this operation, when present its use must be sig");if(t.key_ops!==void 0&&t.key_ops.includes?.(r)!==!0)throw new TypeError(`Invalid key for this operation, when present its key_ops must include ${r}`);if(t.alg!==void 0&&t.alg!==e)throw new TypeError(`Invalid key for this operation, when present its alg must be ${e}`);return!0},f5=(e,t,r,n)=>{if(!(t instanceof Uint8Array)){if(n&&Ei(t)){if(Uw(t)&&hh(e,t,r))return;throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!ih(t))throw new TypeError(nh(e,t,...ft,"Uint8Array",n?"JSON Web Key":null));if(t.type!=="secret")throw new TypeError(`${Za(t)} instances for symmetric algorithms must be of type "secret"`)}},d5=(e,t,r,n)=>{if(n&&Ei(t))switch(r){case"sign":if(Hw(t)&&hh(e,t,r))return;throw new TypeError("JSON Web Key for this operation be a private JWK");case"verify":if($w(t)&&hh(e,t,r))return;throw new TypeError("JSON Web Key for this operation be a public JWK")}if(!ih(t))throw new TypeError(nh(e,t,...ft,n?"JSON Web Key":null));if(t.type==="secret")throw new TypeError(`${Za(t)} instances for asymmetric algorithms must not be of type "secret"`);if(r==="sign"&&t.type==="public")throw new TypeError(`${Za(t)} instances for asymmetric algorithm signing must be of type "private"`);if(r==="decrypt"&&t.type==="public")throw new TypeError(`${Za(t)} instances for asymmetric algorithm decryption must be of type "private"`);if(t.algorithm&&r==="verify"&&t.type==="private")throw new TypeError(`${Za(t)} instances for asymmetric algorithm verifying must be of type "public"`);if(t.algorithm&&r==="encrypt"&&t.type==="private")throw new TypeError(`${Za(t)} instances for asymmetric algorithm encryption must be of type "public"`)};Fl=nE.bind(void 0,!1),cu=nE.bind(void 0,!0)});async function p5(e,t,r,n,i){if(!(r instanceof Uint8Array))throw new TypeError(pt(r,"Uint8Array"));let o=parseInt(e.slice(1,4),10),a=await de.subtle.importKey("raw",r.subarray(o>>3),"AES-CBC",!1,["encrypt"]),s=await de.subtle.importKey("raw",r.subarray(0,o>>3),{hash:`SHA-${o<<1}`,name:"HMAC"},!1,["sign"]),u=new Uint8Array(await de.subtle.encrypt({iv:n,name:"AES-CBC"},a,t)),c=br(i,n,u,wl(i.length<<3)),l=new Uint8Array((await de.subtle.sign("HMAC",s,c)).slice(0,o>>3));return{ciphertext:u,tag:l,iv:n}}async function h5(e,t,r,n,i){let o;r instanceof Uint8Array?o=await de.subtle.importKey("raw",r,"AES-GCM",!1,["encrypt"]):(Wr(r,e,"encrypt"),o=r);let a=new Uint8Array(await de.subtle.encrypt({additionalData:i,iv:n,name:"AES-GCM",tagLength:128},o,t)),s=a.slice(-16);return{ciphertext:a.slice(0,-16),tag:s,iv:n}}var m5,Pl,mh=X(()=>{p();Yt();th();rh();xr();Zi();kn();eh();Le();Tn();m5=async(e,t,r,n,i)=>{if(!bt(r)&&!(r instanceof Uint8Array))throw new TypeError(pt(r,...ft,"Uint8Array"));switch(n?Sl(e,n):n=_w(e),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return r instanceof Uint8Array&&ja(r,parseInt(e.slice(-3),10)),p5(e,t,r,n,i);case"A128GCM":case"A192GCM":case"A256GCM":return r instanceof Uint8Array&&ja(r,parseInt(e.slice(1,4),10)),h5(e,t,r,n,i);default:throw new me("Unsupported JWE Content Encryption Algorithm")}},Pl=m5});async function iE(e,t,r,n){let i=e.slice(0,7),o=await Pl(i,r,t,n,new Uint8Array(0));return{encryptedKey:o.ciphertext,iv:nt(o.iv),tag:nt(o.tag)}}async function oE(e,t,r,n,i){let o=e.slice(0,7);return kl(o,t,r,n,i,new Uint8Array(0))}var gh=X(()=>{p();mh();oh();yr()});async function g5(e,t,r,n,i){switch(Fl(e,t,"decrypt"),t=await qo.normalizePrivateKey?.(t,e)||t,e){case"dir":{if(r!==void 0)throw new re("Encountered unexpected JWE Encrypted Key");return t}case"ECDH-ES":if(r!==void 0)throw new re("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!We(n.epk))throw new re('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if(!Dl(t))throw new me("ECDH with the provided key is not allowed or not supported by your javascript runtime");let o=await Zn(n.epk,e),a,s;if(n.apu!==void 0){if(typeof n.apu!="string")throw new re('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{a=ut(n.apu)}catch{throw new re("Failed to base64url decode the apu")}}if(n.apv!==void 0){if(typeof n.apv!="string")throw new re('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{s=ut(n.apv)}catch{throw new re("Failed to base64url decode the apv")}}let u=await Cl(o,t,e==="ECDH-ES"?n.enc:e,e==="ECDH-ES"?su(n.enc):parseInt(e.slice(-5,-2),10),a,s);if(e==="ECDH-ES")return u;if(r===void 0)throw new re("JWE Encrypted Key missing");return au(e.slice(-6),u,r)}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(r===void 0)throw new re("JWE Encrypted Key missing");return Bw(e,t,r)}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(r===void 0)throw new re("JWE Encrypted Key missing");if(typeof n.p2c!="number")throw new re('JOSE Header "p2c" (PBES2 Count) missing or invalid');let o=i?.maxPBES2Count||1e4;if(n.p2c>o)throw new re('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if(typeof n.p2s!="string")throw new re('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let a;try{a=ut(n.p2s)}catch{throw new re("Failed to base64url decode the p2s")}return Ow(e,t,r,n.p2c,a)}case"A128KW":case"A192KW":case"A256KW":{if(r===void 0)throw new re("JWE Encrypted Key missing");return au(e,t,r)}case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(r===void 0)throw new re("JWE Encrypted Key missing");if(typeof n.iv!="string")throw new re('JOSE Header "iv" (Initialization Vector) missing or invalid');if(typeof n.tag!="string")throw new re('JOSE Header "tag" (Authentication Tag) missing or invalid');let o;try{o=ut(n.iv)}catch{throw new re("Failed to base64url decode the iv")}let a;try{a=ut(n.tag)}catch{throw new re("Failed to base64url decode the tag")}return oE(e,t,r,o,a)}default:throw new me('Invalid or unsupported "alg" (JWE Algorithm) header value')}}var aE,sE=X(()=>{p();Tl();sh();ch();lh();yr();Ml();Le();uu();Ya();lu();Rr();gh();aE=g5});function x5(e,t,r,n,i){if(i.crit!==void 0&&n?.crit===void 0)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!n||n.crit===void 0)return new Set;if(!Array.isArray(n.crit)||n.crit.length===0||n.crit.some(a=>typeof a!="string"||a.length===0))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let o;r!==void 0?o=new Map([...Object.entries(r),...t.entries()]):o=t;for(let a of n.crit){if(!o.has(a))throw new me(`Extension Header Parameter "${a}" is not recognized`);if(i[a]===void 0)throw new e(`Extension Header Parameter "${a}" is missing`);if(o.get(a)&&n[a]===void 0)throw new e(`Extension Header Parameter "${a}" MUST be integrity protected`)}return new Set(n.crit)}var Qn,Qa=X(()=>{p();Le();Qn=x5});var b5,fu,xh=X(()=>{p();b5=(e,t)=>{if(t!==void 0&&(!Array.isArray(t)||t.some(r=>typeof r!="string")))throw new TypeError(`"${e}" option must be an array of strings`);if(t)return new Set(t)},fu=b5});async function es(e,t,r){if(!We(e))throw new re("Flattened JWE must be an object");if(e.protected===void 0&&e.header===void 0&&e.unprotected===void 0)throw new re("JOSE Header missing");if(e.iv!==void 0&&typeof e.iv!="string")throw new re("JWE Initialization Vector incorrect type");if(typeof e.ciphertext!="string")throw new re("JWE Ciphertext missing or incorrect type");if(e.tag!==void 0&&typeof e.tag!="string")throw new re("JWE Authentication Tag incorrect type");if(e.protected!==void 0&&typeof e.protected!="string")throw new re("JWE Protected Header incorrect type");if(e.encrypted_key!==void 0&&typeof e.encrypted_key!="string")throw new re("JWE Encrypted Key incorrect type");if(e.aad!==void 0&&typeof e.aad!="string")throw new re("JWE AAD incorrect type");if(e.header!==void 0&&!We(e.header))throw new re("JWE Shared Unprotected Header incorrect type");if(e.unprotected!==void 0&&!We(e.unprotected))throw new re("JWE Per-Recipient Unprotected Header incorrect type");let n;if(e.protected)try{let T=ut(e.protected);n=JSON.parse(St.decode(T))}catch{throw new re("JWE Protected Header is invalid")}if(!Xn(n,e.header,e.unprotected))throw new re("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");let i={...n,...e.header,...e.unprotected};if(Qn(re,new Map,r?.crit,n,i),i.zip!==void 0)throw new me('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');let{alg:o,enc:a}=i;if(typeof o!="string"||!o)throw new re("missing JWE Algorithm (alg) in JWE Header");if(typeof a!="string"||!a)throw new re("missing JWE Encryption Algorithm (enc) in JWE Header");let s=r&&fu("keyManagementAlgorithms",r.keyManagementAlgorithms),u=r&&fu("contentEncryptionAlgorithms",r.contentEncryptionAlgorithms);if(s&&!s.has(o)||!s&&o.startsWith("PBES2"))throw new yi('"alg" (Algorithm) Header Parameter value not allowed');if(u&&!u.has(a))throw new yi('"enc" (Encryption Algorithm) Header Parameter value not allowed');let c;if(e.encrypted_key!==void 0)try{c=ut(e.encrypted_key)}catch{throw new re("Failed to base64url decode the encrypted_key")}let l=!1;typeof t=="function"&&(t=await t(n,e),l=!0);let d;try{d=await aE(o,t,c,i,r)}catch(T){if(T instanceof TypeError||T instanceof re||T instanceof me)throw T;d=Yn(a)}let m,f;if(e.iv!==void 0)try{m=ut(e.iv)}catch{throw new re("Failed to base64url decode the iv")}if(e.tag!==void 0)try{f=ut(e.tag)}catch{throw new re("Failed to base64url decode the tag")}let h=rt.encode(e.protected??""),b;e.aad!==void 0?b=br(h,rt.encode("."),rt.encode(e.aad)):b=h;let w;try{w=ut(e.ciphertext)}catch{throw new re("Failed to base64url decode the ciphertext")}let k={plaintext:await kl(a,d,w,m,f,b)};if(e.protected!==void 0&&(k.protectedHeader=n),e.aad!==void 0)try{k.additionalAuthenticatedData=ut(e.aad)}catch{throw new re("Failed to base64url decode the aad")}return e.unprotected!==void 0&&(k.sharedUnprotectedHeader=e.unprotected),e.header!==void 0&&(k.unprotectedHeader=e.header),l?{...k,key:t}:k}var Bl=X(()=>{p();yr();oh();Le();Va();Rr();sE();Yt();uu();Qa();xh()});async function Hl(e,t,r){if(e instanceof Uint8Array&&(e=St.decode(e)),typeof e!="string")throw new re("Compact JWE must be a string or Uint8Array");let{0:n,1:i,2:o,3:a,4:s,length:u}=e.split(".");if(u!==5)throw new re("Invalid Compact JWE");let c=await es({ciphertext:a,iv:o||void 0,protected:n,tag:s||void 0,encrypted_key:i||void 0},t,r),l={plaintext:c.plaintext,protectedHeader:c.protectedHeader};return typeof t=="function"?{...l,key:c.key}:l}var bh=X(()=>{p();Bl();Le();Yt()});async function uE(e,t,r){if(!We(e))throw new re("General JWE must be an object");if(!Array.isArray(e.recipients)||!e.recipients.every(We))throw new re("JWE Recipients missing or incorrect type");if(!e.recipients.length)throw new re("JWE Recipients has no members");for(let n of e.recipients)try{return await es({aad:e.aad,ciphertext:e.ciphertext,encrypted_key:n.encrypted_key,header:n.header,iv:e.iv,protected:e.protected,tag:e.tag,unprotected:e.unprotected},t,r)}catch{}throw new Gn}var cE=X(()=>{p();Bl();Le();Rr()});var $l,yh=X(()=>{p();$l=Symbol()});var y5,lE,fE=X(()=>{p();xr();kn();yr();Tn();y5=async e=>{if(e instanceof Uint8Array)return{kty:"oct",k:nt(e)};if(!bt(e))throw new TypeError(pt(e,...ft,"Uint8Array"));if(!e.extractable)throw new TypeError("non-extractable CryptoKey cannot be exported as a JWK");let{ext:t,key_ops:r,alg:n,use:i,...o}=await de.subtle.exportKey("jwk",e);return o},lE=y5});async function dE(e){return Jw(e)}async function pE(e){return Gw(e)}async function Ul(e){return lE(e)}var wh=X(()=>{p();Ol();Ol();fE()});async function w5(e,t,r,n,i={}){let o,a,s;switch(Fl(e,r,"encrypt"),r=await qo.normalizePublicKey?.(r,e)||r,e){case"dir":{s=r;break}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!Dl(r))throw new me("ECDH with the provided key is not allowed or not supported by your javascript runtime");let{apu:u,apv:c}=i,{epk:l}=i;l||(l=(await Iw(r)).privateKey);let{x:d,y:m,crv:f,kty:h}=await Ul(l),b=await Cl(r,l,e==="ECDH-ES"?t:e,e==="ECDH-ES"?su(t):parseInt(e.slice(-5,-2),10),u,c);if(a={epk:{x:d,crv:f,kty:h}},h==="EC"&&(a.epk.y=m),u&&(a.apu=nt(u)),c&&(a.apv=nt(c)),e==="ECDH-ES"){s=b;break}s=n||Yn(t);let w=e.slice(-6);o=await ou(w,b,s);break}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{s=n||Yn(t),o=await Pw(e,r,s);break}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{s=n||Yn(t);let{p2c:u,p2s:c}=i;({encryptedKey:o,...a}=await Mw(e,r,s,u,c));break}case"A128KW":case"A192KW":case"A256KW":{s=n||Yn(t),o=await ou(e,r,s);break}case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{s=n||Yn(t);let{iv:u}=i;({encryptedKey:o,...a}=await iE(e,r,s,u));break}default:throw new me('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:s,encryptedKey:o,parameters:a}}var ql,Eh=X(()=>{p();Tl();sh();ch();lh();yr();Ml();uu();Le();wh();lu();gh();ql=w5});var _i,Wl=X(()=>{p();yr();yh();mh();Eh();Le();Va();Yt();Qa();_i=class{constructor(t){if(!(t instanceof Uint8Array))throw new TypeError("plaintext must be an instance of Uint8Array");this._plaintext=t}setKeyManagementParameters(t){if(this._keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=t,this}setProtectedHeader(t){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=t,this}setSharedUnprotectedHeader(t){if(this._sharedUnprotectedHeader)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this._sharedUnprotectedHeader=t,this}setUnprotectedHeader(t){if(this._unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=t,this}setAdditionalAuthenticatedData(t){return this._aad=t,this}setContentEncryptionKey(t){if(this._cek)throw new TypeError("setContentEncryptionKey can only be called once");return this._cek=t,this}setInitializationVector(t){if(this._iv)throw new TypeError("setInitializationVector can only be called once");return this._iv=t,this}async encrypt(t,r){if(!this._protectedHeader&&!this._unprotectedHeader&&!this._sharedUnprotectedHeader)throw new re("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!Xn(this._protectedHeader,this._unprotectedHeader,this._sharedUnprotectedHeader))throw new re("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");let n={...this._protectedHeader,...this._unprotectedHeader,...this._sharedUnprotectedHeader};if(Qn(re,new Map,r?.crit,this._protectedHeader,n),n.zip!==void 0)throw new me('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');let{alg:i,enc:o}=n;if(typeof i!="string"||!i)throw new re('JWE "alg" (Algorithm) Header Parameter missing or invalid');if(typeof o!="string"||!o)throw new re('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let a;if(this._cek&&(i==="dir"||i==="ECDH-ES"))throw new TypeError(`setContentEncryptionKey cannot be called with JWE "alg" (Algorithm) Header ${i}`);let s;{let b;({cek:s,encryptedKey:a,parameters:b}=await ql(i,o,t,this._cek,this._keyManagementParameters)),b&&(r&&$l in r?this._unprotectedHeader?this._unprotectedHeader={...this._unprotectedHeader,...b}:this.setUnprotectedHeader(b):this._protectedHeader?this._protectedHeader={...this._protectedHeader,...b}:this.setProtectedHeader(b))}let u,c,l;this._protectedHeader?c=rt.encode(nt(JSON.stringify(this._protectedHeader))):c=rt.encode(""),this._aad?(l=nt(this._aad),u=br(c,rt.encode("."),rt.encode(l))):u=c;let{ciphertext:d,tag:m,iv:f}=await Pl(o,this._plaintext,s,this._iv,u),h={ciphertext:nt(d)};return f&&(h.iv=nt(f)),m&&(h.tag=nt(m)),a&&(h.encrypted_key=nt(a)),l&&(h.aad=l),this._protectedHeader&&(h.protected=St.decode(c)),this._sharedUnprotectedHeader&&(h.unprotected=this._sharedUnprotectedHeader),this._unprotectedHeader&&(h.header=this._unprotectedHeader),h}}});var _h,Kl,hE=X(()=>{p();Wl();yh();Le();uu();Va();Eh();yr();Qa();_h=class{constructor(t,r,n){this.parent=t,this.key=r,this.options=n}setUnprotectedHeader(t){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=t,this}addRecipient(...t){return this.parent.addRecipient(...t)}encrypt(...t){return this.parent.encrypt(...t)}done(){return this.parent}},Kl=class{constructor(t){this._recipients=[],this._plaintext=t}addRecipient(t,r){let n=new _h(this,t,{crit:r?.crit});return this._recipients.push(n),n}setProtectedHeader(t){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=t,this}setSharedUnprotectedHeader(t){if(this._unprotectedHeader)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this._unprotectedHeader=t,this}setAdditionalAuthenticatedData(t){return this._aad=t,this}async encrypt(){if(!this._recipients.length)throw new re("at least one recipient must be added");if(this._recipients.length===1){let[i]=this._recipients,o=await new _i(this._plaintext).setAdditionalAuthenticatedData(this._aad).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(i.unprotectedHeader).encrypt(i.key,{...i.options}),a={ciphertext:o.ciphertext,iv:o.iv,recipients:[{}],tag:o.tag};return o.aad&&(a.aad=o.aad),o.protected&&(a.protected=o.protected),o.unprotected&&(a.unprotected=o.unprotected),o.encrypted_key&&(a.recipients[0].encrypted_key=o.encrypted_key),o.header&&(a.recipients[0].header=o.header),a}let t;for(let i=0;i<this._recipients.length;i++){let o=this._recipients[i];if(!Xn(this._protectedHeader,this._unprotectedHeader,o.unprotectedHeader))throw new re("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");let a={...this._protectedHeader,...this._unprotectedHeader,...o.unprotectedHeader},{alg:s}=a;if(typeof s!="string"||!s)throw new re('JWE "alg" (Algorithm) Header Parameter missing or invalid');if(s==="dir"||s==="ECDH-ES")throw new re('"dir" and "ECDH-ES" alg may only be used with a single recipient');if(typeof a.enc!="string"||!a.enc)throw new re('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(!t)t=a.enc;else if(t!==a.enc)throw new re('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients');if(Qn(re,new Map,o.options.crit,this._protectedHeader,a),a.zip!==void 0)throw new me('JWE "zip" (Compression Algorithm) Header Parameter is not supported.')}let r=Yn(t),n={ciphertext:"",iv:"",recipients:[],tag:""};for(let i=0;i<this._recipients.length;i++){let o=this._recipients[i],a={};n.recipients.push(a);let u={...this._protectedHeader,...this._unprotectedHeader,...o.unprotectedHeader}.alg.startsWith("PBES2")?2048+i:void 0;if(i===0){let d=await new _i(this._plaintext).setAdditionalAuthenticatedData(this._aad).setContentEncryptionKey(r).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(o.unprotectedHeader).setKeyManagementParameters({p2c:u}).encrypt(o.key,{...o.options,[$l]:!0});n.ciphertext=d.ciphertext,n.iv=d.iv,n.tag=d.tag,d.aad&&(n.aad=d.aad),d.protected&&(n.protected=d.protected),d.unprotected&&(n.unprotected=d.unprotected),a.encrypted_key=d.encrypted_key,d.header&&(a.header=d.header);continue}let{encryptedKey:c,parameters:l}=await ql(o.unprotectedHeader?.alg||this._protectedHeader?.alg||this._unprotectedHeader?.alg,t,o.key,r,{p2c:u});a.encrypted_key=nt(c),(o.unprotectedHeader||l)&&(a.header={...o.unprotectedHeader,...l})}return n}}});function du(e,t){let r=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:r,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:r,name:"RSA-PSS",saltLength:e.slice(-3)>>3};case"RS256":case"RS384":case"RS512":return{hash:r,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:r,name:"ECDSA",namedCurve:t.namedCurve};case"Ed25519":return{name:"Ed25519"};case"EdDSA":return{name:t.name};default:throw new me(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}var vh=X(()=>{p();Le()});async function pu(e,t,r){if(r==="sign"&&(t=await qo.normalizePrivateKey(t,e)),r==="verify"&&(t=await qo.normalizePublicKey(t,e)),bt(t))return kw(t,e,r),t;if(t instanceof Uint8Array){if(!e.startsWith("HS"))throw new TypeError(pt(t,...ft));return de.subtle.importKey("raw",t,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[r])}throw new TypeError(pt(t,...ft,"Uint8Array","JSON Web Key"))}var Sh=X(()=>{p();xr();Zi();kn();Tn();Ml()});var E5,mE,gE=X(()=>{p();vh();xr();Il();Sh();E5=async(e,t,r,n)=>{let i=await pu(e,t,"verify");Uo(e,i);let o=du(e,i.algorithm);try{return await de.subtle.verify(o,i,r,n)}catch{return!1}},mE=E5});async function ts(e,t,r){if(!We(e))throw new Oe("Flattened JWS must be an object");if(e.protected===void 0&&e.header===void 0)throw new Oe('Flattened JWS must have either of the "protected" or "header" members');if(e.protected!==void 0&&typeof e.protected!="string")throw new Oe("JWS Protected Header incorrect type");if(e.payload===void 0)throw new Oe("JWS Payload missing");if(typeof e.signature!="string")throw new Oe("JWS Signature missing or incorrect type");if(e.header!==void 0&&!We(e.header))throw new Oe("JWS Unprotected Header incorrect type");let n={};if(e.protected)try{let b=ut(e.protected);n=JSON.parse(St.decode(b))}catch{throw new Oe("JWS Protected Header is invalid")}if(!Xn(n,e.header))throw new Oe("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let i={...n,...e.header},o=Qn(Oe,new Map([["b64",!0]]),r?.crit,n,i),a=!0;if(o.has("b64")&&(a=n.b64,typeof a!="boolean"))throw new Oe('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:s}=i;if(typeof s!="string"||!s)throw new Oe('JWS "alg" (Algorithm) Header Parameter missing or invalid');let u=r&&fu("algorithms",r.algorithms);if(u&&!u.has(s))throw new yi('"alg" (Algorithm) Header Parameter value not allowed');if(a){if(typeof e.payload!="string")throw new Oe("JWS Payload must be a string")}else if(typeof e.payload!="string"&&!(e.payload instanceof Uint8Array))throw new Oe("JWS Payload must be a string or an Uint8Array instance");let c=!1;typeof t=="function"?(t=await t(n,e),c=!0,cu(s,t,"verify"),Ei(t)&&(t=await Zn(t,s))):cu(s,t,"verify");let l=br(rt.encode(e.protected??""),rt.encode("."),typeof e.payload=="string"?rt.encode(e.payload):e.payload),d;try{d=ut(e.signature)}catch{throw new Oe("Failed to base64url decode the signature")}if(!await mE(s,t,d,l))throw new Xi;let f;if(a)try{f=ut(e.payload)}catch{throw new Oe("Failed to base64url decode the payload")}else typeof e.payload=="string"?f=rt.encode(e.payload):f=e.payload;let h={payload:f};return e.protected!==void 0&&(h.protectedHeader=n),e.header!==void 0&&(h.unprotectedHeader=e.header),c?{...h,key:t}:h}var jl=X(()=>{p();yr();gE();Le();Yt();Va();Rr();lu();Qa();xh();Nl();Ya()});async function Vl(e,t,r){if(e instanceof Uint8Array&&(e=St.decode(e)),typeof e!="string")throw new Oe("Compact JWS must be a string or Uint8Array");let{0:n,1:i,2:o,length:a}=e.split(".");if(a!==3)throw new Oe("Invalid Compact JWS");let s=await ts({payload:i,protected:n,signature:o},t,r),u={payload:s.payload,protectedHeader:s.protectedHeader};return typeof t=="function"?{...u,key:s.key}:u}var Ah=X(()=>{p();jl();Le();Yt()});async function xE(e,t,r){if(!We(e))throw new Oe("General JWS must be an object");if(!Array.isArray(e.signatures)||!e.signatures.every(We))throw new Oe("JWS Signatures missing or incorrect type");for(let n of e.signatures)try{return await ts({header:n.header,payload:e.payload,protected:n.protected,signature:n.signature},t,r)}catch{}throw new Xi}var bE=X(()=>{p();jl();Le();Rr()});var ei,kh=X(()=>{p();ei=e=>Math.floor(e.getTime()/1e3)});var _5,Wo,Th=X(()=>{p();_5=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i,Wo=e=>{let t=_5.exec(e);if(!t||t[4]&&t[1])throw new TypeError("Invalid time period format");let r=parseFloat(t[2]),n=t[3].toLowerCase(),i;switch(n){case"sec":case"secs":case"second":case"seconds":case"s":i=Math.round(r);break;case"minute":case"minutes":case"min":case"mins":case"m":i=Math.round(r*60);break;case"hour":case"hours":case"hr":case"hrs":case"h":i=Math.round(r*3600);break;case"day":case"days":case"d":i=Math.round(r*86400);break;case"week":case"weeks":case"w":i=Math.round(r*604800);break;default:i=Math.round(r*31557600);break}return t[1]==="-"||t[4]==="ago"?-i:i}});var yE,v5,rs,zl=X(()=>{p();Le();Yt();kh();Th();Rr();yE=e=>e.toLowerCase().replace(/^application\//,""),v5=(e,t)=>typeof e=="string"?t.includes(e):Array.isArray(e)?t.some(Set.prototype.has.bind(new Set(e))):!1,rs=(e,t,r={})=>{let n;try{n=JSON.parse(St.decode(t))}catch{}if(!We(n))throw new Mt("JWT Claims Set must be a top-level JSON object");let{typ:i}=r;if(i&&(typeof e.typ!="string"||yE(e.typ)!==yE(i)))throw new Zt('unexpected "typ" JWT header value',n,"typ","check_failed");let{requiredClaims:o=[],issuer:a,subject:s,audience:u,maxTokenAge:c}=r,l=[...o];c!==void 0&&l.push("iat"),u!==void 0&&l.push("aud"),s!==void 0&&l.push("sub"),a!==void 0&&l.push("iss");for(let h of new Set(l.reverse()))if(!(h in n))throw new Zt(`missing required "${h}" claim`,n,h,"missing");if(a&&!(Array.isArray(a)?a:[a]).includes(n.iss))throw new Zt('unexpected "iss" claim value',n,"iss","check_failed");if(s&&n.sub!==s)throw new Zt('unexpected "sub" claim value',n,"sub","check_failed");if(u&&!v5(n.aud,typeof u=="string"?[u]:u))throw new Zt('unexpected "aud" claim value',n,"aud","check_failed");let d;switch(typeof r.clockTolerance){case"string":d=Wo(r.clockTolerance);break;case"number":d=r.clockTolerance;break;case"undefined":d=0;break;default:throw new TypeError("Invalid clockTolerance option type")}let{currentDate:m}=r,f=ei(m||new Date);if((n.iat!==void 0||c)&&typeof n.iat!="number")throw new Zt('"iat" claim must be a number',n,"iat","invalid");if(n.nbf!==void 0){if(typeof n.nbf!="number")throw new Zt('"nbf" claim must be a number',n,"nbf","invalid");if(n.nbf>f+d)throw new Zt('"nbf" claim timestamp check failed',n,"nbf","check_failed")}if(n.exp!==void 0){if(typeof n.exp!="number")throw new Zt('"exp" claim must be a number',n,"exp","invalid");if(n.exp<=f-d)throw new Ho('"exp" claim timestamp check failed',n,"exp","check_failed")}if(c){let h=f-n.iat,b=typeof c=="number"?c:Wo(c);if(h-d>b)throw new Ho('"iat" claim timestamp check failed (too far in the past)',n,"iat","check_failed");if(h<0-d)throw new Zt('"iat" claim timestamp check failed (it should be in the past)',n,"iat","check_failed")}return n}});async function wE(e,t,r){let n=await Vl(e,t,r);if(n.protectedHeader.crit?.includes("b64")&&n.protectedHeader.b64===!1)throw new Mt("JWTs MUST NOT use unencoded payload");let o={payload:rs(n.protectedHeader,n.payload,r),protectedHeader:n.protectedHeader};return typeof t=="function"?{...o,key:n.key}:o}var EE=X(()=>{p();Ah();zl();Le()});async function _E(e,t,r){let n=await Hl(e,t,r),i=rs(n.protectedHeader,n.plaintext,r),{protectedHeader:o}=n;if(o.iss!==void 0&&o.iss!==i.iss)throw new Zt('replicated "iss" claim header parameter mismatch',i,"iss","mismatch");if(o.sub!==void 0&&o.sub!==i.sub)throw new Zt('replicated "sub" claim header parameter mismatch',i,"sub","mismatch");if(o.aud!==void 0&&JSON.stringify(o.aud)!==JSON.stringify(i.aud))throw new Zt('replicated "aud" claim header parameter mismatch',i,"aud","mismatch");let a={payload:i,protectedHeader:o};return typeof t=="function"?{...a,key:n.key}:a}var vE=X(()=>{p();bh();zl();Le()});var ns,Ch=X(()=>{p();Wl();ns=class{constructor(t){this._flattened=new _i(t)}setContentEncryptionKey(t){return this._flattened.setContentEncryptionKey(t),this}setInitializationVector(t){return this._flattened.setInitializationVector(t),this}setProtectedHeader(t){return this._flattened.setProtectedHeader(t),this}setKeyManagementParameters(t){return this._flattened.setKeyManagementParameters(t),this}async encrypt(t,r){let n=await this._flattened.encrypt(t,r);return[n.protected,n.encrypted_key,n.iv,n.ciphertext,n.tag].join(".")}}});var S5,SE,AE=X(()=>{p();vh();xr();Il();Sh();S5=async(e,t,r)=>{let n=await pu(e,t,"sign");Uo(e,n);let i=await de.subtle.sign(du(e,n.algorithm),n,r);return new Uint8Array(i)},SE=S5});var eo,Jl=X(()=>{p();yr();AE();Va();Le();Yt();lu();Qa();eo=class{constructor(t){if(!(t instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");this._payload=t}setProtectedHeader(t){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=t,this}setUnprotectedHeader(t){if(this._unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=t,this}async sign(t,r){if(!this._protectedHeader&&!this._unprotectedHeader)throw new Oe("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!Xn(this._protectedHeader,this._unprotectedHeader))throw new Oe("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let n={...this._protectedHeader,...this._unprotectedHeader},i=Qn(Oe,new Map([["b64",!0]]),r?.crit,this._protectedHeader,n),o=!0;if(i.has("b64")&&(o=this._protectedHeader.b64,typeof o!="boolean"))throw new Oe('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:a}=n;if(typeof a!="string"||!a)throw new Oe('JWS "alg" (Algorithm) Header Parameter missing or invalid');cu(a,t,"sign");let s=this._payload;o&&(s=rt.encode(nt(s)));let u;this._protectedHeader?u=rt.encode(nt(JSON.stringify(this._protectedHeader))):u=rt.encode("");let c=br(u,rt.encode("."),s),l=await SE(a,t,c),d={signature:nt(l),payload:""};return o&&(d.payload=St.decode(s)),this._unprotectedHeader&&(d.header=this._unprotectedHeader),this._protectedHeader&&(d.protected=St.decode(u)),d}}});var is,Dh=X(()=>{p();Jl();is=class{constructor(t){this._flattened=new eo(t)}setProtectedHeader(t){return this._flattened.setProtectedHeader(t),this}async sign(t,r){let n=await this._flattened.sign(t,r);if(n.payload===void 0)throw new TypeError("use the flattened module for creating JWS with b64: false");return`${n.protected}.${n.payload}.${n.signature}`}}});var Ih,Gl,kE=X(()=>{p();Jl();Le();Ih=class{constructor(t,r,n){this.parent=t,this.key=r,this.options=n}setProtectedHeader(t){if(this.protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this.protectedHeader=t,this}setUnprotectedHeader(t){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=t,this}addSignature(...t){return this.parent.addSignature(...t)}sign(...t){return this.parent.sign(...t)}done(){return this.parent}},Gl=class{constructor(t){this._signatures=[],this._payload=t}addSignature(t,r){let n=new Ih(this,t,r);return this._signatures.push(n),n}async sign(){if(!this._signatures.length)throw new Oe("at least one signature must be added");let t={signatures:[],payload:""};for(let r=0;r<this._signatures.length;r++){let n=this._signatures[r],i=new eo(this._payload);i.setProtectedHeader(n.protectedHeader),i.setUnprotectedHeader(n.unprotectedHeader);let{payload:o,...a}=await i.sign(n.key,n.options);if(r===0)t.payload=o;else if(t.payload!==o)throw new Oe("inconsistent use of JWS Unencoded Payload (RFC7797)");t.signatures.push(a)}return t}}});function Ko(e,t){if(!Number.isFinite(t))throw new TypeError(`Invalid ${e} input`);return t}var to,Xl=X(()=>{p();kh();Rr();Th();to=class{constructor(t={}){if(!We(t))throw new TypeError("JWT Claims Set MUST be an object");this._payload=t}setIssuer(t){return this._payload={...this._payload,iss:t},this}setSubject(t){return this._payload={...this._payload,sub:t},this}setAudience(t){return this._payload={...this._payload,aud:t},this}setJti(t){return this._payload={...this._payload,jti:t},this}setNotBefore(t){return typeof t=="number"?this._payload={...this._payload,nbf:Ko("setNotBefore",t)}:t instanceof Date?this._payload={...this._payload,nbf:Ko("setNotBefore",ei(t))}:this._payload={...this._payload,nbf:ei(new Date)+Wo(t)},this}setExpirationTime(t){return typeof t=="number"?this._payload={...this._payload,exp:Ko("setExpirationTime",t)}:t instanceof Date?this._payload={...this._payload,exp:Ko("setExpirationTime",ei(t))}:this._payload={...this._payload,exp:ei(new Date)+Wo(t)},this}setIssuedAt(t){return typeof t>"u"?this._payload={...this._payload,iat:ei(new Date)}:t instanceof Date?this._payload={...this._payload,iat:Ko("setIssuedAt",ei(t))}:typeof t=="string"?this._payload={...this._payload,iat:Ko("setIssuedAt",ei(new Date)+Wo(t))}:this._payload={...this._payload,iat:Ko("setIssuedAt",t)},this}}});var Yl,TE=X(()=>{p();Dh();Le();Yt();Xl();Yl=class extends to{setProtectedHeader(t){return this._protectedHeader=t,this}async sign(t,r){let n=new is(rt.encode(JSON.stringify(this._payload)));if(n.setProtectedHeader(this._protectedHeader),Array.isArray(this._protectedHeader?.crit)&&this._protectedHeader.crit.includes("b64")&&this._protectedHeader.b64===!1)throw new Mt("JWTs MUST NOT use unencoded payload");return n.sign(t,r)}}});var Zl,CE=X(()=>{p();Ch();Yt();Xl();Zl=class extends to{setProtectedHeader(t){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=t,this}setKeyManagementParameters(t){if(this._keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=t,this}setContentEncryptionKey(t){if(this._cek)throw new TypeError("setContentEncryptionKey can only be called once");return this._cek=t,this}setInitializationVector(t){if(this._iv)throw new TypeError("setInitializationVector can only be called once");return this._iv=t,this}replicateIssuerAsHeader(){return this._replicateIssuerAsHeader=!0,this}replicateSubjectAsHeader(){return this._replicateSubjectAsHeader=!0,this}replicateAudienceAsHeader(){return this._replicateAudienceAsHeader=!0,this}async encrypt(t,r){let n=new ns(rt.encode(JSON.stringify(this._payload)));return this._replicateIssuerAsHeader&&(this._protectedHeader={...this._protectedHeader,iss:this._payload.iss}),this._replicateSubjectAsHeader&&(this._protectedHeader={...this._protectedHeader,sub:this._payload.sub}),this._replicateAudienceAsHeader&&(this._protectedHeader={...this._protectedHeader,aud:this._payload.aud}),n.setProtectedHeader(this._protectedHeader),this._iv&&n.setInitializationVector(this._iv),this._cek&&n.setContentEncryptionKey(this._cek),this._keyManagementParameters&&n.setKeyManagementParameters(this._keyManagementParameters),n.encrypt(t,r)}}});async function Nh(e,t){if(!We(e))throw new TypeError("JWK must be an object");if(t??(t="sha256"),t!=="sha256"&&t!=="sha384"&&t!=="sha512")throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');let r;switch(e.kty){case"EC":ro(e.crv,'"crv" (Curve) Parameter'),ro(e.x,'"x" (X Coordinate) Parameter'),ro(e.y,'"y" (Y Coordinate) Parameter'),r={crv:e.crv,kty:e.kty,x:e.x,y:e.y};break;case"OKP":ro(e.crv,'"crv" (Subtype of Key Pair) Parameter'),ro(e.x,'"x" (Public Key) Parameter'),r={crv:e.crv,kty:e.kty,x:e.x};break;case"RSA":ro(e.e,'"e" (Exponent) Parameter'),ro(e.n,'"n" (Modulus) Parameter'),r={e:e.e,kty:e.kty,n:e.n};break;case"oct":ro(e.k,'"k" (Key Value) Parameter'),r={k:e.k,kty:e.kty};break;default:throw new me('"kty" (Key Type) Parameter missing or unsupported')}let n=rt.encode(JSON.stringify(r));return nt(await bl(t,n))}async function DE(e,t){t??(t="sha256");let r=await Nh(e,t);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${t.slice(-3)}:${r}`}var ro,IE=X(()=>{p();Gp();yr();Le();Yt();Rr();ro=(e,t)=>{if(typeof e!="string"||!e)throw new qa(`${t} missing or invalid`)}});async function NE(e,t){let r={...e,...t?.header};if(!We(r.jwk))throw new Oe('"jwk" (JSON Web Key) Header Parameter must be a JSON object');let n=await Zn({...r.jwk,ext:!0},r.alg);if(n instanceof Uint8Array||n.type!=="public")throw new Oe('"jwk" (JSON Web Key) Header Parameter must be a public key');return n}var RE=X(()=>{p();Ya();Rr();Le()});function A5(e){switch(typeof e=="string"&&e.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";default:throw new me('Unsupported "alg" value for a JSON Web Key Set')}}function k5(e){return e&&typeof e=="object"&&Array.isArray(e.keys)&&e.keys.every(T5)}function T5(e){return We(e)}function ME(e){return typeof structuredClone=="function"?structuredClone(e):JSON.parse(JSON.stringify(e))}async function LE(e,t,r){let n=e.get(t)||e.set(t,{}).get(t);if(n[r]===void 0){let i=await Zn({...t,ext:!0},r);if(i instanceof Uint8Array||i.type!=="public")throw new $o("JSON Web Key Set members must be public keys");n[r]=i}return n[r]}function hu(e){let t=new Rh(e),r=async(n,i)=>t.getKey(n,i);return Object.defineProperties(r,{jwks:{value:()=>ME(t._jwks),enumerable:!0,configurable:!1,writable:!1}}),r}var Rh,Lh=X(()=>{p();Ya();Le();Rr();Rh=class{constructor(t){if(this._cached=new WeakMap,!k5(t))throw new $o("JSON Web Key Set malformed");this._jwks=ME(t)}async getKey(t,r){let{alg:n,kid:i}={...t,...r?.header},o=A5(n),a=this._jwks.keys.filter(c=>{let l=o===c.kty;if(l&&typeof i=="string"&&(l=i===c.kid),l&&typeof c.alg=="string"&&(l=n===c.alg),l&&typeof c.use=="string"&&(l=c.use==="sig"),l&&Array.isArray(c.key_ops)&&(l=c.key_ops.includes("verify")),l)switch(n){case"ES256":l=c.crv==="P-256";break;case"ES256K":l=c.crv==="secp256k1";break;case"ES384":l=c.crv==="P-384";break;case"ES512":l=c.crv==="P-521";break;case"Ed25519":l=c.crv==="Ed25519";break;case"EdDSA":l=c.crv==="Ed25519"||c.crv==="Ed448";break}return l}),{0:s,length:u}=a;if(u===0)throw new Gi;if(u!==1){let c=new Wa,{_cached:l}=this;throw c[Symbol.asyncIterator]=async function*(){for(let d of a)try{yield await LE(l,d,n)}catch{}},c}return LE(this._cached,s,n)}}});var C5,OE,FE=X(()=>{p();Le();C5=async(e,t,r)=>{let n,i,o=!1;typeof AbortController=="function"&&(n=new AbortController,i=setTimeout(()=>{o=!0,n.abort()},t));let a=await fetch(e.href,{signal:n?n.signal:void 0,redirect:"manual",headers:r.headers}).catch(s=>{throw o?new Ka:s});if(i!==void 0&&clearTimeout(i),a.status!==200)throw new Bt("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await a.json()}catch{throw new Bt("Failed to parse the JSON Web Key Set HTTP response as JSON")}},OE=C5});function D5(){return typeof WebSocketPair<"u"||typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime<"u"&&EdgeRuntime==="vercel"}function I5(e,t){return!(typeof e!="object"||e===null||!("uat"in e)||typeof e.uat!="number"||Date.now()-e.uat>=t||!("jwks"in e)||!We(e.jwks)||!Array.isArray(e.jwks.keys)||!Array.prototype.every.call(e.jwks.keys,We))}function PE(e,t){let r=new Oh(e,t),n=async(i,o)=>r.getKey(i,o);return Object.defineProperties(n,{coolingDown:{get:()=>r.coolingDown(),enumerable:!0,configurable:!1},fresh:{get:()=>r.fresh(),enumerable:!0,configurable:!1},reload:{value:()=>r.reload(),enumerable:!0,configurable:!1,writable:!1},reloading:{get:()=>!!r._pendingFetch,enumerable:!0,configurable:!1},jwks:{value:()=>r._local?.jwks(),enumerable:!0,configurable:!1,writable:!1}}),n}var Mh,os,Oh,BE,HE=X(()=>{p();FE();Le();Lh();Rr();(typeof navigator>"u"||!navigator.userAgent?.startsWith?.("Mozilla/5.0 "))&&(Mh="jose/v5.10.0");os=Symbol();Oh=class{constructor(t,r){if(!(t instanceof URL))throw new TypeError("url must be an instance of URL");this._url=new URL(t.href),this._options={agent:r?.agent,headers:r?.headers},this._timeoutDuration=typeof r?.timeoutDuration=="number"?r?.timeoutDuration:5e3,this._cooldownDuration=typeof r?.cooldownDuration=="number"?r?.cooldownDuration:3e4,this._cacheMaxAge=typeof r?.cacheMaxAge=="number"?r?.cacheMaxAge:6e5,r?.[os]!==void 0&&(this._cache=r?.[os],I5(r?.[os],this._cacheMaxAge)&&(this._jwksTimestamp=this._cache.uat,this._local=hu(this._cache.jwks)))}coolingDown(){return typeof this._jwksTimestamp=="number"?Date.now()<this._jwksTimestamp+this._cooldownDuration:!1}fresh(){return typeof this._jwksTimestamp=="number"?Date.now()<this._jwksTimestamp+this._cacheMaxAge:!1}async getKey(t,r){(!this._local||!this.fresh())&&await this.reload();try{return await this._local(t,r)}catch(n){if(n instanceof Gi&&this.coolingDown()===!1)return await this.reload(),this._local(t,r);throw n}}async reload(){this._pendingFetch&&D5()&&(this._pendingFetch=void 0);let t=new Headers(this._options.headers);Mh&&!t.has("User-Agent")&&(t.set("User-Agent",Mh),this._options.headers=Object.fromEntries(t.entries())),this._pendingFetch||(this._pendingFetch=OE(this._url,this._timeoutDuration,this._options).then(r=>{this._local=hu(r),this._cache&&(this._cache.uat=Date.now(),this._cache.jwks=r),this._jwksTimestamp=Date.now(),this._pendingFetch=void 0}).catch(r=>{throw this._pendingFetch=void 0,r})),await this._pendingFetch}};BE=os});var Ql,$E=X(()=>{p();yr();Yt();Le();zl();Xl();Ql=class extends to{encode(){let t=nt(JSON.stringify({alg:"none"})),r=nt(JSON.stringify(this._payload));return`${t}.${r}.`}static decode(t,r){if(typeof t!="string")throw new Mt("Unsecured JWT must be a string");let{0:n,1:i,2:o,length:a}=t.split(".");if(a!==3||o!=="")throw new Mt("Invalid Unsecured JWT");let s;try{if(s=JSON.parse(St.decode(ut(n))),s.alg!=="none")throw new Error}catch{throw new Mt("Invalid Unsecured JWT")}return{payload:rs(s,ut(i),r),header:s}}}});var Fh={};Rn(Fh,{decode:()=>mu,encode:()=>N5});var N5,mu,e0=X(()=>{p();yr();N5=nt,mu=ut});function UE(e){let t;if(typeof e=="string"){let r=e.split(".");(r.length===3||r.length===5)&&([t]=r)}else if(typeof e=="object"&&e)if("protected"in e)t=e.protected;else throw new TypeError("Token does not contain a Protected Header");try{if(typeof t!="string"||!t)throw new Error;let r=JSON.parse(St.decode(mu(t)));if(!We(r))throw new Error;return r}catch{throw new TypeError("Invalid Token or Protected Header formatting")}}var qE=X(()=>{p();e0();Yt();Rr()});function WE(e){if(typeof e!="string")throw new Mt("JWTs must use Compact JWS serialization, JWT must be a string");let{1:t,length:r}=e.split(".");if(r===5)throw new Mt("Only JWTs using Compact JWS serialization can be decoded");if(r!==3)throw new Mt("Invalid JWT");if(!t)throw new Mt("JWTs must contain a payload");let n;try{n=mu(t)}catch{throw new Mt("Failed to base64url decode the payload")}let i;try{i=JSON.parse(St.decode(n))}catch{throw new Mt("Failed to parse the decoded payload as JSON")}if(!We(i))throw new Mt("Invalid JWT Claims Set");return i}var KE=X(()=>{p();e0();Yt();Rr();Le()});async function jE(e,t){let r,n,i;switch(e){case"HS256":case"HS384":case"HS512":r=parseInt(e.slice(-3),10),n={name:"HMAC",hash:`SHA-${r}`,length:r},i=["sign","verify"];break;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return r=parseInt(e.slice(-3),10),Yi(new Uint8Array(r>>3));case"A128KW":case"A192KW":case"A256KW":r=parseInt(e.slice(1,4),10),n={name:"AES-KW",length:r},i=["wrapKey","unwrapKey"];break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":r=parseInt(e.slice(1,4),10),n={name:"AES-GCM",length:r},i=["encrypt","decrypt"];break;default:throw new me('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return de.subtle.generateKey(n,t?.extractable??!1,i)}function Ph(e){let t=e?.modulusLength??2048;if(typeof t!="number"||t<2048)throw new me("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");return t}async function VE(e,t){let r,n;switch(e){case"PS256":case"PS384":case"PS512":r={name:"RSA-PSS",hash:`SHA-${e.slice(-3)}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Ph(t)},n=["sign","verify"];break;case"RS256":case"RS384":case"RS512":r={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.slice(-3)}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Ph(t)},n=["sign","verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":r={name:"RSA-OAEP",hash:`SHA-${parseInt(e.slice(-3),10)||1}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Ph(t)},n=["decrypt","unwrapKey","encrypt","wrapKey"];break;case"ES256":r={name:"ECDSA",namedCurve:"P-256"},n=["sign","verify"];break;case"ES384":r={name:"ECDSA",namedCurve:"P-384"},n=["sign","verify"];break;case"ES512":r={name:"ECDSA",namedCurve:"P-521"},n=["sign","verify"];break;case"Ed25519":r={name:"Ed25519"},n=["sign","verify"];break;case"EdDSA":{n=["sign","verify"];let i=t?.crv??"Ed25519";switch(i){case"Ed25519":case"Ed448":r={name:i};break;default:throw new me("Invalid or unsupported crv option provided")}break}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{n=["deriveKey","deriveBits"];let i=t?.crv??"P-256";switch(i){case"P-256":case"P-384":case"P-521":{r={name:"ECDH",namedCurve:i};break}case"X25519":case"X448":r={name:i};break;default:throw new me("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, X25519, and X448")}break}default:throw new me('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return de.subtle.generateKey(r,t?.extractable??!1,n)}var Bh=X(()=>{p();xr();Le();iu()});async function zE(e,t){return VE(e,t)}var JE=X(()=>{p();Bh()});async function GE(e,t){return jE(e,t)}var XE=X(()=>{p();Bh()});var YE,ZE=X(()=>{p();YE="WebCryptoAPI"});var QE,e_=X(()=>{p();ZE();QE=YE});var t_={};Rn(t_,{CompactEncrypt:()=>ns,CompactSign:()=>is,EmbeddedJWK:()=>NE,EncryptJWT:()=>Zl,FlattenedEncrypt:()=>_i,FlattenedSign:()=>eo,GeneralEncrypt:()=>Kl,GeneralSign:()=>Gl,SignJWT:()=>Yl,UnsecuredJWT:()=>Ql,base64url:()=>Fh,calculateJwkThumbprint:()=>Nh,calculateJwkThumbprintUri:()=>DE,compactDecrypt:()=>Hl,compactVerify:()=>Vl,createLocalJWKSet:()=>hu,createRemoteJWKSet:()=>PE,cryptoRuntime:()=>QE,decodeJwt:()=>WE,decodeProtectedHeader:()=>UE,errors:()=>Zp,experimental_jwksCache:()=>BE,exportJWK:()=>Ul,exportPKCS8:()=>pE,exportSPKI:()=>dE,flattenedDecrypt:()=>es,flattenedVerify:()=>ts,generalDecrypt:()=>uE,generalVerify:()=>xE,generateKeyPair:()=>zE,generateSecret:()=>GE,importJWK:()=>Zn,importPKCS8:()=>rE,importSPKI:()=>eE,importX509:()=>tE,jwksCache:()=>os,jwtDecrypt:()=>_E,jwtVerify:()=>wE});var r_=X(()=>{p();bh();Bl();cE();hE();Ah();jl();bE();EE();vE();Ch();Wl();Dh();Jl();kE();TE();CE();IE();RE();Lh();HE();$E();wh();Ya();qE();KE();Le();JE();XE();e0();e_()});var s_=ae((yj,a_)=>{"use strict";p();var Hh=Object.defineProperty,R5=Object.getOwnPropertyDescriptor,L5=Object.getOwnPropertyNames,M5=Object.prototype.hasOwnProperty,O5=(e,t)=>{for(var r in t)Hh(e,r,{get:t[r],enumerable:!0})},F5=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of L5(t))!M5.call(e,i)&&i!==r&&Hh(e,i,{get:()=>t[i],enumerable:!(n=R5(t,i))||n.enumerable});return e},P5=e=>F5(Hh({},"__esModule",{value:!0}),e),i_={};O5(i_,{verifyVercelOidcToken:()=>U5});a_.exports=P5(i_);var o_=(r_(),Gu(t_)),t0="https://oidc.vercel.com",B5=new URL("https://oidc.vercel.com/.well-known/jwks"),H5=["RS256"],$5=(0,o_.createRemoteJWKSet)(B5);async function U5(e,t){let{algorithms:r,projectId:n=y.env.VERCEL_PROJECT_ID,environment:i=y.env.VERCEL_TARGET_ENV||y.env.VERCEL_ENV,ownerId:o,...a}=t??{};if(n==="*"&&o===void 0&&!q5(a.audience))throw new TypeError("Expected ownerId or audience to be provided when projectId is '*'.");let s=await(0,o_.jwtVerify)(e,$5,{...a,algorithms:r??H5});return W5(s.payload.iss),n_({actual:s.payload.project_id,claim:"project_id",env:"VERCEL_PROJECT_ID",expected:n,option:"projectId"}),n_({actual:s.payload.environment,claim:"environment",env:"VERCEL_TARGET_ENV or VERCEL_ENV",expected:i,option:"environment"}),K5({actual:s.payload.owner_id,claim:"owner_id",expected:o}),s}function q5(e){return Array.isArray(e)?e.length>0:e!==void 0}function W5(e){if(e!==t0&&(typeof e!="string"||!e.startsWith(`${t0}/`)))throw new TypeError(`Expected Vercel OIDC token iss claim to be "${t0}" or to start with "${t0}/".`)}function n_({actual:e,claim:t,env:r,expected:n,option:i}){if(n!=="*"){if(n===void 0||n.length===0)throw new TypeError(`Expected ${r} to be set or ${i} to be provided. Pass ${i}: '*' to allow any ${t} claim.`);if(!(Array.isArray(n)&&typeof e=="string"&&n.includes(e))&&e!==n)throw new TypeError(Array.isArray(n)?`Expected Vercel OIDC token ${t} claim to be one of: ${n.map(o=>`"${o}"`).join(", ")}.`:`Expected Vercel OIDC token ${t} claim to be "${n}".`)}}function K5({actual:e,claim:t,expected:r}){if(r!==void 0&&e!==r)throw new TypeError(`Expected Vercel OIDC token ${t} claim to be "${r}".`)}});var l_=ae((Ej,c_)=>{"use strict";p();var qh=Object.defineProperty,j5=Object.getOwnPropertyDescriptor,V5=Object.getOwnPropertyNames,z5=Object.prototype.hasOwnProperty,J5=(e,t)=>{for(var r in t)qh(e,r,{get:t[r],enumerable:!0})},G5=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of V5(t))!z5.call(e,i)&&i!==r&&qh(e,i,{get:()=>t[i],enumerable:!(n=j5(t,i))||n.enumerable});return e},X5=e=>G5(qh({},"__esModule",{value:!0}),e),u_={};J5(u_,{AccessTokenMissingError:()=>$h,RefreshAccessTokenFailedError:()=>Uh});c_.exports=X5(u_);var $h=class extends Error{constructor(){super("No authentication found. Please log in with the Vercel CLI (vercel login)."),this.name="AccessTokenMissingError"}},Uh=class extends Error{constructor(t){super("Failed to refresh authentication token."),this.name="RefreshAccessTokenFailedError",t!==void 0&&(this.cause=t)}}});var h_=ae((vj,p_)=>{"use strict";p();var Wh=Object.defineProperty,Y5=Object.getOwnPropertyDescriptor,Z5=Object.getOwnPropertyNames,Q5=Object.prototype.hasOwnProperty,eC=(e,t)=>{for(var r in t)Wh(e,r,{get:t[r],enumerable:!0})},tC=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Z5(t))!Q5.call(e,i)&&i!==r&&Wh(e,i,{get:()=>t[i],enumerable:!(n=Y5(t,i))||n.enumerable});return e},rC=e=>tC(Wh({},"__esModule",{value:!0}),e),d_={};eC(d_,{AccessTokenMissingError:()=>f_.AccessTokenMissingError,RefreshAccessTokenFailedError:()=>f_.RefreshAccessTokenFailedError,getContext:()=>nC.getContext,getVercelOidcToken:()=>oC,getVercelOidcTokenSync:()=>aC,getVercelToken:()=>sC,verifyVercelOidcToken:()=>iC.verifyVercelOidcToken});p_.exports=rC(d_);var nC=bw(),iC=s_(),f_=l_();async function oC(){return""}function aC(){return""}async function sC(){throw new Error("getVercelToken is not supported in browser environments")}});var g_=ae((Aj,m_)=>{p();function un(e,t){typeof t=="boolean"&&(t={forever:t}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=t||{},this._maxRetryTime=t&&t.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}m_.exports=un;un.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};un.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};un.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var t=new Date().getTime();if(e&&t-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0};un.prototype.attempt=function(e,t){this._fn=e,t&&(t.timeout&&(this._operationTimeout=t.timeout),t.cb&&(this._operationTimeoutCb=t.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};un.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};un.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};un.prototype.start=un.prototype.try;un.prototype.errors=function(){return this._errors};un.prototype.attempts=function(){return this._attempts};un.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},t=null,r=0,n=0;n<this._errors.length;n++){var i=this._errors[n],o=i.message,a=(e[o]||0)+1;e[o]=a,a>=r&&(t=i,r=a)}return t}});var x_=ae(jo=>{p();var uC=g_();jo.operation=function(e){var t=jo.timeouts(e);return new uC(t,{forever:e&&(e.forever||e.retries===1/0),unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};jo.timeouts=function(e){if(e instanceof Array)return[].concat(e);var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in e)t[r]=e[r];if(t.minTimeout>t.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;i<t.retries;i++)n.push(this.createTimeout(i,t));return e&&e.forever&&!n.length&&n.push(this.createTimeout(i,t)),n.sort(function(o,a){return o-a}),n};jo.createTimeout=function(e,t){var r=t.randomize?Math.random()+1:1,n=Math.round(r*Math.max(t.minTimeout,1)*Math.pow(t.factor,e));return n=Math.min(n,t.maxTimeout),n};jo.wrap=function(e,t,r){if(t instanceof Array&&(r=t,t=null),!r){r=[];for(var n in e)typeof e[n]=="function"&&r.push(n)}for(var i=0;i<r.length;i++){var o=r[i],a=e[o];e[o]=function(u){var c=jo.operation(t),l=Array.prototype.slice.call(arguments,1),d=l.pop();l.push(function(m){c.retry(m)||(m&&(arguments[0]=c.mainError()),d.apply(this,arguments))}),c.attempt(function(){u.apply(e,l)})}.bind(e,a),e[o].options=t}}});var y_=ae((Dj,b_)=>{p();b_.exports=x_()});var E_=ae((Nj,w_)=>{p();var cC=y_();function lC(e,t){function r(n,i){var o=t||{},a;"randomize"in o||(o.randomize=!0),a=cC.operation(o);function s(l){i(l||new Error("Aborted"))}function u(l,d){if(l.bail){s(l);return}a.retry(l)?o.onRetry&&o.onRetry(l,d):i(a.mainError())}function c(l){var d;try{d=e(s,l)}catch(m){u(m,l);return}Promise.resolve(d).then(n).catch(function(f){u(f,l)})}a.attempt(c)}return new Promise(r)}w_.exports=lC});var Kh=ae((Oj,__)=>{p();function fC(e,t){if(typeof e!="function")throw new TypeError(`Expected the first argument to be a \`function\`, got \`${typeof e}\`.`);let r,n=0;return function(...o){clearTimeout(r);let a=Date.now(),s=a-n,u=t-s;u<=0?(n=a,e.apply(this,o)):r=setTimeout(()=>{n=Date.now(),e.apply(this,o)},u)}}__.exports=fC});var m3=ae((XV,l0)=>{p();function c3(e){return Array.isArray(e)?e:[e]}var cD=void 0,nm="",s3=" ",rm="\\",lD=/^\s+$/,fD=/(?:[^\\]|^)\\$/,dD=/^\\!/,pD=/^\\#/,hD=/\r?\n/g,mD=/^\.{0,2}\/|^\.{1,2}$/,gD=/\/$/,ls="/",l3="node-ignore";typeof Symbol<"u"&&(l3=Symbol.for("node-ignore"));var f3=l3,fs=(e,t,r)=>(Object.defineProperty(e,t,{value:r}),r),xD=/([0-z])-([0-z])/g,d3=()=>!1,bD=e=>e.replace(xD,(t,r,n)=>r.charCodeAt(0)<=n.charCodeAt(0)?t:nm),yD=e=>{let{length:t}=e;return e.slice(0,t-t%2)},wD=[[/^\uFEFF/,()=>nm],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,r)=>t+(r.indexOf("\\")===0?s3:nm)],[/(\\+?)\s/g,(e,t)=>{let{length:r}=t;return t.slice(0,r-r%2)+s3}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,r)=>{let n=r.replace(/\\\*/g,"[^\\/]*");return t+n}],[/\\\\\\(?=[$.|*+(){^])/g,()=>rm],[/\\\\/g,()=>rm],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,n,i)=>t===rm?`\\[${r}${yD(n)}${i}`:i==="]"&&n.length%2===0?`[${bD(r)}${n}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`]],ED=/(^|\\\/)?\\\*$/,Su="regex",u0="checkRegex",u3="_",_D={[Su](e,t){return`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`},[u0](e,t){return`${t?`${t}[^/]*`:"[^/]*"}(?=$|\\/$)`}},vD=e=>wD.reduce((t,[r,n])=>t.replace(r,n.bind(e)),e),c0=e=>typeof e=="string",SD=e=>e&&c0(e)&&!lD.test(e)&&!fD.test(e)&&e.indexOf("#")!==0,AD=e=>e.split(hD).filter(Boolean),im=class{constructor(t,r,n,i,o,a){this.pattern=t,this.mark=r,this.negative=o,fs(this,"body",n),fs(this,"ignoreCase",i),fs(this,"regexPrefix",a)}get regex(){let t=u3+Su;return this[t]?this[t]:this._make(Su,t)}get checkRegex(){let t=u3+u0;return this[t]?this[t]:this._make(u0,t)}_make(t,r){let n=this.regexPrefix.replace(ED,_D[t]),i=this.ignoreCase?new RegExp(n,"i"):new RegExp(n);return fs(this,r,i)}},kD=({pattern:e,mark:t},r)=>{let n=!1,i=e;i.indexOf("!")===0&&(n=!0,i=i.substr(1)),i=i.replace(dD,"!").replace(pD,"#");let o=vD(i);return new im(e,t,i,r,n,o)},om=class{constructor(t){this._ignoreCase=t,this._rules=[]}_add(t){if(t&&t[f3]){this._rules=this._rules.concat(t._rules._rules),this._added=!0;return}if(c0(t)&&(t={pattern:t}),SD(t.pattern)){let r=kD(t,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(t){return this._added=!1,c3(c0(t)?AD(t):t).forEach(this._add,this),this._added}test(t,r,n){let i=!1,o=!1,a;this._rules.forEach(u=>{let{negative:c}=u;o===c&&i!==o||c&&!i&&!o&&!r||!u[n].test(t)||(i=!c,o=c,a=c?cD:u)});let s={ignored:i,unignored:o};return a&&(s.rule=a),s}},TD=(e,t)=>{throw new t(e)},Si=(e,t,r)=>c0(e)?e?Si.isNotRelative(e)?r(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):!0:r("path must not be empty",TypeError):r(`path must be a string, but got \`${t}\``,TypeError),p3=e=>mD.test(e);Si.isNotRelative=p3;Si.convert=e=>e;var am=class{constructor({ignorecase:t=!0,ignoreCase:r=t,allowRelativePaths:n=!1}={}){fs(this,f3,!0),this._rules=new om(r),this._strictPathCheck=!n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}add(t){return this._rules.add(t)&&this._initCache(),this}addPattern(t){return this.add(t)}_test(t,r,n,i){let o=t&&Si.convert(t);return Si(o,t,this._strictPathCheck?TD:d3),this._t(o,r,n,i)}checkIgnore(t){if(!gD.test(t))return this.test(t);let r=t.split(ls).filter(Boolean);if(r.pop(),r.length){let n=this._t(r.join(ls)+ls,this._testCache,!0,r);if(n.ignored)return n}return this._rules.test(t,!1,u0)}_t(t,r,n,i){if(t in r)return r[t];if(i||(i=t.split(ls).filter(Boolean)),i.pop(),!i.length)return r[t]=this._rules.test(t,n,Su);let o=this._t(i.join(ls)+ls,r,n,i);return r[t]=o.ignored?o:this._rules.test(t,n,Su)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return c3(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}},sm=e=>new am(e),CD=e=>Si(e&&Si.convert(e),e,d3),h3=()=>{let e=r=>/^\\\\\?\\/.test(r)||/["<>|\u0000-\u001F]+/u.test(r)?r:r.replace(/\\/g,"/");Si.convert=e;let t=/^[a-z]:\//i;Si.isNotRelative=r=>t.test(r)||p3(r)};typeof y<"u"&&y.platform==="win32"&&h3();l0.exports=sm;sm.default=sm;l0.exports.isPathValid=CD;fs(l0.exports,Symbol.for("setupWindows"),h3)});p();p();p();Wt();$e();var Ht=ce(Ke(),1);Cs();p();$e();var Nr=ce(Ke(),1);p();$e();var Or=ce(Ke(),1);Wt();p();function Bi(e){let t=e.split(/[?#]/)[0];try{for(let r=0;r<4;r++){let n=decodeURIComponent(t);if(n===t)break;t=n}}catch{return!1}return/[\\\x00-\x1f\x7f]/.test(t)||t.split("/").some(r=>r==="."||r==="..")?!1:t==="/wiki"||t.startsWith("/wiki/")}p();p();p();var wf={};Rn(wf,{arrayReplaceAt:()=>yf,asciiTrim:()=>wo,assign:()=>fa,escapeHtml:()=>fi,escapeRE:()=>c4,fromCodePoint:()=>da,has:()=>ZS,isMdAsciiPunct:()=>bo,isPunctChar:()=>xx,isPunctCharCode:()=>xo,isSpace:()=>Ue,isString:()=>gc,isValidEntityCode:()=>xc,isWhiteSpace:()=>go,lib:()=>l4,normalizeReference:()=>yo,unescapeAll:()=>li,unescapeMd:()=>n4});p();var cc={};Rn(cc,{decode:()=>Ds,encode:()=>sc,format:()=>ua,parse:()=>Is});p();p();var Yg={};function CS(e){let t=Yg[e];if(t)return t;t=Yg[e]=[];for(let r=0;r<128;r++){let n=String.fromCharCode(r);t.push(n)}for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);t[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return t}function oc(e,t){typeof t!="string"&&(t=oc.defaultChars);let r=CS(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(n){let i="";for(let o=0,a=n.length;o<a;o+=3){let s=parseInt(n.slice(o+1,o+3),16);if(s<128){i+=r[s];continue}if((s&224)===192&&o+3<a){let u=parseInt(n.slice(o+4,o+6),16);if((u&192)===128){let c=s<<6&1984|u&63;c<128?i+="\uFFFD\uFFFD":i+=String.fromCharCode(c),o+=3;continue}}if((s&240)===224&&o+6<a){let u=parseInt(n.slice(o+4,o+6),16),c=parseInt(n.slice(o+7,o+9),16);if((u&192)===128&&(c&192)===128){let l=s<<12&61440|u<<6&4032|c&63;l<2048||l>=55296&&l<=57343?i+="\uFFFD\uFFFD\uFFFD":i+=String.fromCharCode(l),o+=6;continue}}if((s&248)===240&&o+9<a){let u=parseInt(n.slice(o+4,o+6),16),c=parseInt(n.slice(o+7,o+9),16),l=parseInt(n.slice(o+10,o+12),16);if((u&192)===128&&(c&192)===128&&(l&192)===128){let d=s<<18&1835008|u<<12&258048|c<<6&4032|l&63;d<65536||d>1114111?i+="\uFFFD\uFFFD\uFFFD\uFFFD":(d-=65536,i+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),o+=9;continue}}i+="\uFFFD"}return i})}oc.defaultChars=";/?:@&=+$,#";oc.componentChars="";var Ds=oc;p();var Zg={};function DS(e){let t=Zg[e];if(t)return t;t=Zg[e]=[];for(let r=0;r<128;r++){let n=String.fromCharCode(r);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2))}for(let r=0;r<e.length;r++)t[e.charCodeAt(r)]=e[r];return t}function ac(e,t,r){typeof t!="string"&&(r=t,t=ac.defaultChars),typeof r>"u"&&(r=!0);let n=DS(t),i="";for(let o=0,a=e.length;o<a;o++){let s=e.charCodeAt(o);if(r&&s===37&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3))){i+=e.slice(o,o+3),o+=2;continue}if(s<128){i+=n[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a){let u=e.charCodeAt(o+1);if(u>=56320&&u<=57343){i+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[o])}return i}ac.defaultChars=";/?:@&=+$,-_.!~*'()#";ac.componentChars="-_.!~*'()";var sc=ac;p();function ua(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}p();function uc(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var IS=/^([a-z0-9.+-]+:)/i,NS=/:[0-9]*$/,RS=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,LS=["<",">",'"',"`"," ","\r",`
15
+ `," "],MS=["{","}","|","\\","^","`"].concat(LS),OS=["'"].concat(MS),Qg=["%","/","?",";","#"].concat(OS),ex=["/","?","#"],FS=255,tx=/^[+a-z0-9A-Z_-]{0,63}$/,PS=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,rx={javascript:!0,"javascript:":!0},nx={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function BS(e,t){if(e&&e instanceof uc)return e;let r=new uc;return r.parse(e,t),r}uc.prototype.parse=function(e,t){let r,n,i,o=e;if(o=o.trim(),!t&&e.split("#").length===1){let c=RS.exec(o);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=IS.exec(o);if(a&&(a=a[0],r=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=o.substr(0,2)==="//",i&&!(a&&rx[a])&&(o=o.substr(2),this.slashes=!0)),!rx[a]&&(i||a&&!nx[a])){let c=-1;for(let h=0;h<ex.length;h++)n=o.indexOf(ex[h]),n!==-1&&(c===-1||n<c)&&(c=n);let l,d;c===-1?d=o.lastIndexOf("@"):d=o.lastIndexOf("@",c),d!==-1&&(l=o.slice(0,d),o=o.slice(d+1),this.auth=l),c=-1;for(let h=0;h<Qg.length;h++)n=o.indexOf(Qg[h]),n!==-1&&(c===-1||n<c)&&(c=n);c===-1&&(c=o.length),o[c-1]===":"&&c--;let m=o.slice(0,c);o=o.slice(c),this.parseHost(m),this.hostname=this.hostname||"";let f=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!f){let h=this.hostname.split(/\./);for(let b=0,w=h.length;b<w;b++){let D=h[b];if(D&&!D.match(tx)){let k="";for(let T=0,v=D.length;T<v;T++)D.charCodeAt(T)>127?k+="x":k+=D[T];if(!k.match(tx)){let T=h.slice(0,b),v=h.slice(b+1),C=D.match(PS);C&&(T.push(C[1]),v.unshift(C[2])),v.length&&(o=v.join(".")+o),this.hostname=T.join(".");break}}}}this.hostname.length>FS&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=o.indexOf("#");s!==-1&&(this.hash=o.substr(s),o=o.slice(0,s));let u=o.indexOf("?");return u!==-1&&(this.search=o.substr(u),o=o.slice(0,u)),o&&(this.pathname=o),nx[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};uc.prototype.parseHost=function(e){let t=NS.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var Is=BS;var df={};Rn(df,{Any:()=>lc,Cc:()=>fc,Cf:()=>ix,P:()=>ca,S:()=>dc,Z:()=>pc});p();p();var lc=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;p();var fc=/[\0-\x1F\x7F-\x9F]/;p();var ix=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/;p();var ca=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;p();var dc=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/;p();var pc=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;p();p();p();var ox=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0)));p();var ax=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));p();var pf,HS=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),hf=(pf=String.fromCodePoint)!==null&&pf!==void 0?pf:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function mf(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=HS.get(e))!==null&&t!==void 0?t:e}var ir;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(ir||(ir={}));var $S=32,Hi;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Hi||(Hi={}));function gf(e){return e>=ir.ZERO&&e<=ir.NINE}function US(e){return e>=ir.UPPER_A&&e<=ir.UPPER_F||e>=ir.LOWER_A&&e<=ir.LOWER_F}function qS(e){return e>=ir.UPPER_A&&e<=ir.UPPER_Z||e>=ir.LOWER_A&&e<=ir.LOWER_Z||gf(e)}function WS(e){return e===ir.EQUALS||qS(e)}var nr;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(nr||(nr={}));var bn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(bn||(bn={}));var hc=class{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=nr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=bn.Strict}startEntity(t){this.decodeMode=t,this.state=nr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case nr.EntityStart:return t.charCodeAt(r)===ir.NUM?(this.state=nr.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=nr.NamedEntity,this.stateNamedEntity(t,r));case nr.NumericStart:return this.stateNumericStart(t,r);case nr.NumericDecimal:return this.stateNumericDecimal(t,r);case nr.NumericHex:return this.stateNumericHex(t,r);case nr.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|$S)===ir.LOWER_X?(this.state=nr.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=nr.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,i){if(r!==n){let o=n-r;this.result=this.result*Math.pow(i,o)+parseInt(t.substr(r,o),i),this.consumed+=o}}stateNumericHex(t,r){let n=r;for(;r<t.length;){let i=t.charCodeAt(r);if(gf(i)||US(i))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){let n=r;for(;r<t.length;){let i=t.charCodeAt(r);if(gf(i))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ir.SEMI)this.consumed+=1;else if(this.decodeMode===bn.Strict)return 0;return this.emitCodePoint(mf(this.result),this.consumed),this.errors&&(t!==ir.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){let{decodeTree:n}=this,i=n[this.treeIndex],o=(i&Hi.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){let a=t.charCodeAt(r);if(this.treeIndex=KS(n,i,this.treeIndex+Math.max(1,o),a),this.treeIndex<0)return this.result===0||this.decodeMode===bn.Attribute&&(o===0||WS(a))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],o=(i&Hi.VALUE_LENGTH)>>14,o!==0){if(a===ir.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==bn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:r,decodeTree:n}=this,i=(n[r]&Hi.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){let{decodeTree:i}=this;return this.emitCodePoint(r===1?i[t]&~Hi.VALUE_LENGTH:i[t+1],n),r===3&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case nr.NamedEntity:return this.result!==0&&(this.decodeMode!==bn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case nr.NumericDecimal:return this.emitNumericEntity(0,2);case nr.NumericHex:return this.emitNumericEntity(0,3);case nr.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case nr.EntityStart:return 0}}};function sx(e){let t="",r=new hc(e,n=>t+=hf(n));return function(i,o){let a=0,s=0;for(;(s=i.indexOf("&",s))>=0;){t+=i.slice(a,s),r.startEntity(o);let c=r.write(i,s+1);if(c<0){a=s+r.end();break}a=s+c,s=c===0?a+1:a}let u=t+i.slice(a);return t="",u}}function KS(e,t,r,n){let i=(t&Hi.BRANCH_LENGTH)>>7,o=t&Hi.JUMP_TABLE;if(i===0)return o!==0&&n===o?r:-1;if(o){let u=n-o;return u<0||u>=i?-1:e[r+u]-1}let a=r,s=a+i-1;for(;a<=s;){let u=a+s>>>1,c=e[u];if(c<n)a=u+1;else if(c>n)s=u-1;else return e[u+i]}return-1}var ux=sx(ox),J9=sx(ax);function la(e,t=bn.Legacy){return ux(e,t)}function Ns(e){return ux(e,bn.Strict)}p();p();function mc(e){for(let t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}var jS=new Map(mc([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(mc([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(mc([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(mc([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));p();var VS=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),zS=String.prototype.codePointAt!=null?(e,t)=>e.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function xf(e,t){return function(n){let i,o=0,a="";for(;i=e.exec(n);)o!==i.index&&(a+=n.substring(o,i.index)),a+=t.get(i[0].charCodeAt(0)),o=i.index+1;return a+n.substring(o)}}var cx=xf(/[&<>'"]/g,VS),lx=xf(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),fx=xf(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var dx;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(dx||(dx={}));var px;(function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"})(px||(px={}));function XS(e){return Object.prototype.toString.call(e)}function gc(e){return XS(e)==="[object String]"}var YS=Object.prototype.hasOwnProperty;function ZS(e,t){return YS.call(e,t)}function fa(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){if(r){if(typeof r!="object")throw new TypeError(r+"must be object");Object.keys(r).forEach(function(n){e[n]=r[n]})}}),e}function yf(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function xc(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function da(e){if(e>65535){e-=65536;let t=55296+(e>>10),r=56320+(e&1023);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var gx=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,QS=/&([a-z#][a-z0-9]{1,31});/gi,e4=new RegExp(gx.source+"|"+QS.source,"gi"),t4=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function r4(e,t){if(t.charCodeAt(0)===35&&t4.test(t)){let n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return xc(n)?da(n):e}let r=la(e);return r!==e?r:e}function n4(e){return e.indexOf("\\")<0?e:e.replace(gx,"$1")}function li(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(e4,function(t,r,n){return r||r4(t,n)})}var i4=/[&<>"]/,o4=/[&<>"]/g,a4={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function s4(e){return a4[e]}function fi(e){return i4.test(e)?e.replace(o4,s4):e}var u4=/[.?*+^$[\]\\(){}|-]/g;function c4(e){return e.replace(u4,"\\$&")}function Ue(e){switch(e){case 9:case 32:return!0}return!1}function go(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function xx(e){return ca.test(e)||dc.test(e)}function xo(e){return xx(da(e))}function bo(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function yo(e){return e=e.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(e=e.replace(/ẞ/g,"\xDF")),e.toLowerCase().toUpperCase()}function mx(e){return e===32||e===9||e===10||e===13}function wo(e){let t=0;for(;t<e.length&&mx(e.charCodeAt(t));t++);let r=e.length-1;for(;r>=t&&mx(e.charCodeAt(r));r--);return e.slice(t,r+1)}var l4={mdurl:cc,ucmicro:df};var Sf={};Rn(Sf,{parseLinkDestination:()=>_f,parseLinkLabel:()=>Ef,parseLinkTitle:()=>vf});p();p();function Ef(e,t,r){let n,i,o,a,s=e.posMax,u=e.pos;for(e.pos=t+1,n=1;e.pos<s;){if(o=e.src.charCodeAt(e.pos),o===93&&(n--,n===0)){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),o===91){if(a===e.pos-1)n++;else if(r)return e.pos=u,-1}}let c=-1;return i&&(c=e.pos),e.pos=u,c}p();function _f(e,t,r){let n,i=t,o={ok:!1,pos:0,str:""};if(e.charCodeAt(i)===60){for(i++;i<r;){if(n=e.charCodeAt(i),n===10||n===60)return o;if(n===62)return o.pos=i+1,o.str=li(e.slice(t+1,i)),o.ok=!0,o;if(n===92&&i+1<r){i+=2;continue}i++}return o}let a=0;for(;i<r&&(n=e.charCodeAt(i),!(n===32||n<32||n===127));){if(n===92&&i+1<r){if(e.charCodeAt(i+1)===32)break;i+=2;continue}if(n===40&&(a++,a>32))return o;if(n===41){if(a===0)break;a--}i++}return t===i||a!==0||(o.str=li(e.slice(t,i)),o.pos=i,o.ok=!0),o}p();function vf(e,t,r,n){let i,o=t,a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)a.str=n.str,a.marker=n.marker;else{if(o>=r)return a;let s=e.charCodeAt(o);if(s!==34&&s!==39&&s!==40)return a;t++,o++,s===40&&(s=41),a.marker=s}for(;o<r;){if(i=e.charCodeAt(o),i===a.marker)return a.pos=o+1,a.str+=li(e.slice(t,o)),a.ok=!0,a;if(i===40&&a.marker===41)return a;i===92&&o+1<r&&o++,o++}return a.can_continue=!0,a.str+=li(e.slice(t,o)),a}p();var Hn={};Hn.code_inline=function(e,t,r,n,i){let o=e[t];return"<code"+i.renderAttrs(o)+">"+fi(o.content)+"</code>"};Hn.code_block=function(e,t,r,n,i){let o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+fi(e[t].content)+`</code></pre>
16
+ `};Hn.fence=function(e,t,r,n,i){let o=e[t],a=o.info?li(o.info).trim():"",s="",u="";if(a){let l=a.split(/(\s+)/g);s=l[0],u=l.slice(2).join("")}let c;if(r.highlight?c=r.highlight(o.content,s,u)||fi(o.content):c=fi(o.content),c.indexOf("<pre")===0)return c+`
17
+ `;if(a){let l=o.attrIndex("class"),d=o.attrs?o.attrs.slice():[];l<0?d.push(["class",r.langPrefix+s]):(d[l]=d[l].slice(),d[l][1]+=" "+r.langPrefix+s);let m={attrs:d};return`<pre><code${i.renderAttrs(m)}>${c}</code></pre>
18
+ `}return`<pre><code${i.renderAttrs(o)}>${c}</code></pre>
19
+ `};Hn.image=function(e,t,r,n,i){let o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,r,n),i.renderToken(e,t,r)};Hn.hardbreak=function(e,t,r){return r.xhtmlOut?`<br />
20
+ `:`<br>
21
+ `};Hn.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?`<br />
22
+ `:`<br>
23
+ `:`
24
+ `};Hn.text=function(e,t){return fi(e[t].content)};Hn.html_block=function(e,t){return e[t].content};Hn.html_inline=function(e,t){return e[t].content};function pa(){this.rules=fa({},Hn)}pa.prototype.renderAttrs=function(t){let r,n,i;if(!t.attrs)return"";for(i="",r=0,n=t.attrs.length;r<n;r++)i+=" "+fi(t.attrs[r][0])+'="'+fi(t.attrs[r][1])+'"';return i};pa.prototype.renderToken=function(t,r,n){let i=t[r],o="";if(i.hidden)return"";i.block&&i.nesting!==-1&&r&&t[r-1].hidden&&(o+=`
25
+ `),o+=(i.nesting===-1?"</":"<")+i.tag,o+=this.renderAttrs(i),i.nesting===0&&n.xhtmlOut&&(o+=" /");let a=!1;if(i.block&&(a=!0,i.nesting===1&&r+1<t.length)){let s=t[r+1];(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===i.tag)&&(a=!1)}return o+=a?`>
26
+ `:">",o};pa.prototype.renderInline=function(e,t,r){let n="",i=this.rules;for(let o=0,a=e.length;o<a;o++){let s=e[o].type;typeof i[s]<"u"?n+=i[s](e,o,t,r,this):n+=this.renderToken(e,o,t)}return n};pa.prototype.renderInlineAsText=function(e,t,r){let n="";for(let i=0,o=e.length;i<o;i++)switch(e[i].type){case"text":n+=e[i].content;break;case"image":n+=this.renderInlineAsText(e[i].children,t,r);break;case"html_inline":case"html_block":n+=e[i].content;break;case"softbreak":case"hardbreak":n+=`
27
+ `;break;default:}return n};pa.prototype.render=function(e,t,r){let n="",i=this.rules;for(let o=0,a=e.length;o<a;o++){let s=e[o].type;s==="inline"?n+=this.renderInline(e[o].children,t,r):typeof i[s]<"u"?n+=i[s](e,o,t,r,this):n+=this.renderToken(e,o,t,r)}return n};var bx=pa;p();p();function yn(){this.__rules__=[],this.__cache__=null}yn.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};yn.prototype.__compile__=function(){let e=this,t=[""];e.__rules__.forEach(function(r){r.enabled&&r.alt.forEach(function(n){t.indexOf(n)<0&&t.push(n)})}),e.__cache__={},t.forEach(function(r){e.__cache__[r]=[],e.__rules__.forEach(function(n){n.enabled&&(r&&n.alt.indexOf(r)<0||e.__cache__[r].push(n.fn))})})};yn.prototype.at=function(e,t,r){let n=this.__find__(e),i=r||{};if(n===-1)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=i.alt||[],this.__cache__=null};yn.prototype.before=function(e,t,r,n){let i=this.__find__(e),o=n||{};if(i===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null};yn.prototype.after=function(e,t,r,n){let i=this.__find__(e),o=n||{};if(i===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null};yn.prototype.push=function(e,t,r){let n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null};yn.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(n){let i=this.__find__(n);if(i<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[i].enabled=!0,r.push(n)},this),this.__cache__=null,r};yn.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(r){r.enabled=!1}),this.enable(e,t)};yn.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(n){let i=this.__find__(n);if(i<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[i].enabled=!1,r.push(n)},this),this.__cache__=null,r};yn.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};var Eo=yn;p();p();function ha(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}ha.prototype.attrIndex=function(t){if(!this.attrs)return-1;let r=this.attrs;for(let n=0,i=r.length;n<i;n++)if(r[n][0]===t)return n;return-1};ha.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};ha.prototype.attrSet=function(t,r){let n=this.attrIndex(t),i=[t,r];n<0?this.attrPush(i):this.attrs[n]=i};ha.prototype.attrGet=function(t){let r=this.attrIndex(t),n=null;return r>=0&&(n=this.attrs[r][1]),n};ha.prototype.attrJoin=function(t,r){let n=this.attrIndex(t);n<0?this.attrPush([t,r]):this.attrs[n][1]=this.attrs[n][1]+" "+r};var Jr=ha;function yx(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}yx.prototype.Token=Jr;var wx=yx;p();var f4=/\r\n?|\n/g,d4=/\0/g;function Af(e){let t;t=e.src.replace(f4,`
28
+ `),t=t.replace(d4,"\uFFFD"),e.src=t}p();function kf(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}p();function Tf(e){let t=e.tokens;for(let r=0,n=t.length;r<n;r++){let i=t[r];i.type==="inline"&&e.md.inline.parse(i.content,e.md,e.env,i.children)}}p();function p4(e){return/^<a[>\s]/i.test(e)}function h4(e){return/^<\/a\s*>/i.test(e)}function Cf(e){let t=e.tokens;if(e.md.options.linkify)for(let r=0,n=t.length;r<n;r++){if(t[r].type!=="inline"||!e.md.linkify.pretest(t[r].content))continue;let i=t[r].children,o=0;for(let a=i.length-1;a>=0;a--){let s=i[a];if(s.type==="link_close"){for(a--;i[a].level!==s.level&&i[a].type!=="link_open";)a--;continue}if(s.type==="html_inline"&&(p4(s.content)&&o>0&&o--,h4(s.content)&&o++),!(o>0)&&s.type==="text"&&e.md.linkify.test(s.content)){let u=s.content,c=e.md.linkify.match(u),l=[],d=s.level,m=0;c.length>0&&c[0].index===0&&a>0&&i[a-1].type==="text_special"&&(c=c.slice(1));for(let f=0;f<c.length;f++){let h=c[f].url,b=e.md.normalizeLink(h);if(!e.md.validateLink(b))continue;let w=c[f].text;c[f].schema?c[f].schema==="mailto:"&&!/^mailto:/i.test(w)?w=e.md.normalizeLinkText("mailto:"+w).replace(/^mailto:/,""):w=e.md.normalizeLinkText(w):w=e.md.normalizeLinkText("http://"+w).replace(/^http:\/\//,"");let D=c[f].index;if(D>m){let C=new e.Token("text","",0);C.content=u.slice(m,D),C.level=d,l.push(C)}let k=new e.Token("link_open","a",1);k.attrs=[["href",b]],k.level=d++,k.markup="linkify",k.info="auto",l.push(k);let T=new e.Token("text","",0);T.content=w,T.level=d,l.push(T);let v=new e.Token("link_close","a",-1);v.level=--d,v.markup="linkify",v.info="auto",l.push(v),m=c[f].lastIndex}if(m<u.length){let f=new e.Token("text","",0);f.content=u.slice(m),f.level=d,l.push(f)}t[r].children=i=yf(i,a,l)}}}}p();var Ex=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,m4=/\((c|tm|r)\)/i,g4=/\((c|tm|r)\)/ig,x4={c:"\xA9",r:"\xAE",tm:"\u2122"};function b4(e,t){return x4[t.toLowerCase()]}function y4(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];n.type==="text"&&!t&&(n.content=n.content.replace(g4,b4)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function w4(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];n.type==="text"&&!t&&Ex.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1\u2014").replace(/(^|\s)--(?=\s|$)/mg,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1\u2013")),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function Df(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(m4.test(e.tokens[t].content)&&y4(e.tokens[t].children),Ex.test(e.tokens[t].content)&&w4(e.tokens[t].children))}p();var E4=/['"]/,_x=/['"]/g,vx="\u2019";function bc(e,t,r,n){e[t]||(e[t]=[]),e[t].push({pos:r,ch:n})}function _4(e,t){let r="",n=0;t.sort((i,o)=>i.pos-o.pos);for(let i=0;i<t.length;i++){let o=t[i];r+=e.slice(n,o.pos)+o.ch,n=o.pos+1}return r+e.slice(n)}function v4(e,t){let r,n=[],i={};for(let o=0;o<e.length;o++){let a=e[o],s=e[o].level;for(r=n.length-1;r>=0&&!(n[r].level<=s);r--);if(n.length=r+1,a.type!=="text")continue;let u=a.content,c=0,l=u.length;e:for(;c<l;){_x.lastIndex=c;let d=_x.exec(u);if(!d)break;let m=!0,f=!0;c=d.index+1;let h=d[0]==="'",b=32;if(d.index-1>=0)b=u.charCodeAt(d.index-1);else for(r=o-1;r>=0&&!(e[r].type==="softbreak"||e[r].type==="hardbreak");r--)if(e[r].content){b=e[r].content.charCodeAt(e[r].content.length-1);break}let w=32;if(c<l)w=u.charCodeAt(c);else for(r=o+1;r<e.length&&!(e[r].type==="softbreak"||e[r].type==="hardbreak");r++)if(e[r].content){w=e[r].content.charCodeAt(0);break}let D=bo(b)||xo(b),k=bo(w)||xo(w),T=go(b),v=go(w);if(v?m=!1:k&&(T||D||(m=!1)),T?f=!1:D&&(v||k||(f=!1)),w===34&&d[0]==='"'&&b>=48&&b<=57&&(f=m=!1),m&&f&&(m=D,f=k),!m&&!f){h&&bc(i,o,d.index,vx);continue}if(f)for(r=n.length-1;r>=0;r--){let C=n[r];if(n[r].level<s)break;if(C.single===h&&n[r].level===s){C=n[r];let I,F;h?(I=t.md.options.quotes[2],F=t.md.options.quotes[3]):(I=t.md.options.quotes[0],F=t.md.options.quotes[1]),bc(i,o,d.index,F),bc(i,C.token,C.pos,I),n.length=r;continue e}}m?n.push({token:o,pos:d.index,single:h,level:s}):f&&h&&bc(i,o,d.index,vx)}}Object.keys(i).forEach(function(o){e[o].content=_4(e[o].content,i[o])})}function If(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!E4.test(e.tokens[t].content)||v4(e.tokens[t].children,e)}p();function Nf(e){let t,r,n=e.tokens,i=n.length;for(let o=0;o<i;o++){if(n[o].type!=="inline")continue;let a=n[o].children,s=a.length;for(t=0;t<s;t++)a[t].type==="text_special"&&(a[t].type="text");for(t=r=0;t<s;t++)a[t].type==="text"&&t+1<s&&a[t+1].type==="text"?a[t+1].content=a[t].content+a[t+1].content:(t!==r&&(a[r]=a[t]),r++);t!==r&&(a.length=r)}}var Rf=[["normalize",Af],["block",kf],["inline",Tf],["linkify",Cf],["replacements",Df],["smartquotes",If],["text_join",Nf]];function Lf(){this.ruler=new Eo;for(let e=0;e<Rf.length;e++)this.ruler.push(Rf[e][0],Rf[e][1])}Lf.prototype.process=function(e){let t=this.ruler.getRules("");for(let r=0,n=t.length;r<n;r++)t[r](e)};Lf.prototype.State=wx;var Sx=Lf;p();p();function $n(e,t,r,n){this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;let i=this.src;for(let o=0,a=0,s=0,u=0,c=i.length,l=!1;a<c;a++){let d=i.charCodeAt(a);if(!l)if(Ue(d)){s++,d===9?u+=4-u%4:u++;continue}else l=!0;(d===10||a===c-1)&&(d!==10&&a++,this.bMarks.push(o),this.eMarks.push(a),this.tShift.push(s),this.sCount.push(u),this.bsCount.push(0),l=!1,s=0,u=0,o=a+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}$n.prototype.push=function(e,t,r){let n=new Jr(e,t,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n};$n.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};$n.prototype.skipEmptyLines=function(t){for(let r=this.lineMax;t<r&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};$n.prototype.skipSpaces=function(t){for(let r=this.src.length;t<r;t++){let n=this.src.charCodeAt(t);if(!Ue(n))break}return t};$n.prototype.skipSpacesBack=function(t,r){if(t<=r)return t;for(;t>r;)if(!Ue(this.src.charCodeAt(--t)))return t+1;return t};$n.prototype.skipChars=function(t,r){for(let n=this.src.length;t<n&&this.src.charCodeAt(t)===r;t++);return t};$n.prototype.skipCharsBack=function(t,r,n){if(t<=n)return t;for(;t>n;)if(r!==this.src.charCodeAt(--t))return t+1;return t};$n.prototype.getLines=function(t,r,n,i){if(t>=r)return"";let o=new Array(r-t);for(let a=0,s=t;s<r;s++,a++){let u=0,c=this.bMarks[s],l=c,d;for(s+1<r||i?d=this.eMarks[s]+1:d=this.eMarks[s];l<d&&u<n;){let m=this.src.charCodeAt(l);if(Ue(m))m===9?u+=4-(u+this.bsCount[s])%4:u++;else if(l-c<this.tShift[s])u++;else break;l++}u>n?o[a]=new Array(u-n+1).join(" ")+this.src.slice(l,d):o[a]=this.src.slice(l,d)}return o.join("")};$n.prototype.Token=Jr;var Ax=$n;p();var S4=65536;function Mf(e,t){let r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function kx(e){let t=[],r=e.length,n=0,i=e.charCodeAt(n),o=!1,a=0,s="";for(;n<r;)i===124&&(o?(s+=e.substring(a,n-1),a=n):(t.push(s+e.substring(a,n)),s="",a=n+1)),o=i===92,n++,i=e.charCodeAt(n);return t.push(s+e.substring(a)),t}function Of(e,t,r,n){if(t+2>r)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;let a=e.src.charCodeAt(o++);if(a!==124&&a!==45&&a!==58||o>=e.eMarks[i])return!1;let s=e.src.charCodeAt(o++);if(s!==124&&s!==45&&s!==58&&!Ue(s)||a===45&&Ue(s))return!1;for(;o<e.eMarks[i];){let v=e.src.charCodeAt(o);if(v!==124&&v!==45&&v!==58&&!Ue(v))return!1;o++}let u=Mf(e,t+1),c=u.split("|"),l=[];for(let v=0;v<c.length;v++){let C=c[v].trim();if(!C){if(v===0||v===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(C))return!1;C.charCodeAt(C.length-1)===58?l.push(C.charCodeAt(0)===58?"center":"right"):C.charCodeAt(0)===58?l.push("left"):l.push("")}if(u=Mf(e,t).trim(),u.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;c=kx(u),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();let d=c.length;if(d===0||d!==l.length)return!1;if(n)return!0;let m=e.parentType;e.parentType="table";let f=e.md.block.ruler.getRules("blockquote"),h=e.push("table_open","table",1),b=[t,0];h.map=b;let w=e.push("thead_open","thead",1);w.map=[t,t+1];let D=e.push("tr_open","tr",1);D.map=[t,t+1];for(let v=0;v<c.length;v++){let C=e.push("th_open","th",1);l[v]&&(C.attrs=[["style","text-align:"+l[v]]]);let I=e.push("inline","",0);I.content=c[v].trim(),I.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let k,T=0;for(i=t+2;i<r&&!(e.sCount[i]<e.blkIndent);i++){let v=!1;for(let I=0,F=f.length;I<F;I++)if(f[I](e,i,r,!0)){v=!0;break}if(v||(u=Mf(e,i).trim(),!u)||e.sCount[i]-e.blkIndent>=4||(c=kx(u),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),T+=d-c.length,T>S4))break;if(i===t+2){let I=e.push("tbody_open","tbody",1);I.map=k=[t+2,0]}let C=e.push("tr_open","tr",1);C.map=[i,i+1];for(let I=0;I<d;I++){let F=e.push("td_open","td",1);l[I]&&(F.attrs=[["style","text-align:"+l[I]]]);let j=e.push("inline","",0);j.content=c[I]?c[I].trim():"",j.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return k&&(e.push("tbody_close","tbody",-1),k[1]=i),e.push("table_close","table",-1),b[1]=i,e.parentType=m,e.line=i,!0}p();function Ff(e,t,r){if(e.sCount[t]-e.blkIndent<4)return!1;let n=t+1,i=n;for(;n<r;){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){n++,i=n;continue}break}e.line=i;let o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+`
29
+ `,o.map=[t,e.line],!0}p();function Pf(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>o)return!1;let a=e.src.charCodeAt(i);if(a!==126&&a!==96)return!1;let s=i;i=e.skipChars(i,a);let u=i-s;if(u<3)return!1;let c=e.src.slice(s,i),l=e.src.slice(i,o);if(a===96&&l.indexOf(String.fromCharCode(a))>=0)return!1;if(n)return!0;let d=t,m=!1;for(;d++,!(d>=r||(i=s=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],i<o&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===a&&!(e.sCount[d]-e.blkIndent>=4)&&(i=e.skipChars(i,a),!(i-s<u)&&(i=e.skipSpaces(i),!(i<o)))){m=!0;break}u=e.sCount[t],e.line=d+(m?1:0);let f=e.push("fence","code",0);return f.info=l,f.content=e.getLines(t+1,d,u,!0),f.markup=c,f.map=[t,e.line],!0}p();function Bf(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(n)return!0;let s=[],u=[],c=[],l=[],d=e.md.block.ruler.getRules("blockquote"),m=e.parentType;e.parentType="blockquote";let f=!1,h;for(h=t;h<r;h++){let T=e.sCount[h]<e.blkIndent;if(i=e.bMarks[h]+e.tShift[h],o=e.eMarks[h],i>=o)break;if(e.src.charCodeAt(i++)===62&&!T){let C=e.sCount[h]+1,I,F;e.src.charCodeAt(i)===32?(i++,C++,F=!1,I=!0):e.src.charCodeAt(i)===9?(I=!0,(e.bsCount[h]+C)%4===3?(i++,C++,F=!1):F=!0):I=!1;let j=C;for(s.push(e.bMarks[h]),e.bMarks[h]=i;i<o;){let B=e.src.charCodeAt(i);if(Ue(B))B===9?j+=4-(j+e.bsCount[h]+(F?1:0))%4:j++;else break;i++}f=i>=o,u.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(I?1:0),c.push(e.sCount[h]),e.sCount[h]=j-C,l.push(e.tShift[h]),e.tShift[h]=i-e.bMarks[h];continue}if(f)break;let v=!1;for(let C=0,I=d.length;C<I;C++)if(d[C](e,h,r,!0)){v=!0;break}if(v){e.lineMax=h,e.blkIndent!==0&&(s.push(e.bMarks[h]),u.push(e.bsCount[h]),l.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}s.push(e.bMarks[h]),u.push(e.bsCount[h]),l.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]=-1}let b=e.blkIndent;e.blkIndent=0;let w=e.push("blockquote_open","blockquote",1);w.markup=">";let D=[t,0];w.map=D,e.md.block.tokenize(e,t,h);let k=e.push("blockquote_close","blockquote",-1);k.markup=">",e.lineMax=a,e.parentType=m,D[1]=e.line;for(let T=0;T<l.length;T++)e.bMarks[T+t]=s[T],e.tShift[T+t]=l[T],e.sCount[T+t]=c[T],e.bsCount[T+t]=u[T];return e.blkIndent=b,!0}p();function Hf(e,t,r,n){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t],a=e.src.charCodeAt(o++);if(a!==42&&a!==45&&a!==95)return!1;let s=1;for(;o<i;){let c=e.src.charCodeAt(o++);if(c!==a&&!Ue(c))return!1;c===a&&s++}if(s<3)return!1;if(n)return!0;e.line=t+1;let u=e.push("hr","hr",0);return u.map=[t,e.line],u.markup=Array(s+1).join(String.fromCharCode(a)),!0}p();function Tx(e,t){let r=e.eMarks[t],n=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(n++);if(i!==42&&i!==45&&i!==43)return-1;if(n<r){let o=e.src.charCodeAt(n);if(!Ue(o))return-1}return n}function Cx(e,t){let r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t],i=r;if(i+1>=n)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=n)return-1;if(o=e.src.charCodeAt(i++),o>=48&&o<=57){if(i-r>=10)return-1;continue}if(o===41||o===46)break;return-1}return i<n&&(o=e.src.charCodeAt(i),!Ue(o))?-1:i}function A4(e,t){let r=e.level+2;for(let n=t+2,i=e.tokens.length-2;n<i;n++)e.tokens[n].level===r&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}function $f(e,t,r,n){let i,o,a,s,u=t,c=!0;if(e.sCount[u]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[u]-e.listIndent>=4&&e.sCount[u]<e.blkIndent)return!1;let l=!1;n&&e.parentType==="paragraph"&&e.sCount[u]>=e.blkIndent&&(l=!0);let d,m,f;if((f=Cx(e,u))>=0){if(d=!0,a=e.bMarks[u]+e.tShift[u],m=Number(e.src.slice(a,f-1)),l&&m!==1)return!1}else if((f=Tx(e,u))>=0)d=!1;else return!1;if(l&&e.skipSpaces(f)>=e.eMarks[u])return!1;if(n)return!0;let h=e.src.charCodeAt(f-1),b=e.tokens.length;d?(s=e.push("ordered_list_open","ol",1),m!==1&&(s.attrs=[["start",m]])):s=e.push("bullet_list_open","ul",1);let w=[u,0];s.map=w,s.markup=String.fromCharCode(h);let D=!1,k=e.md.block.ruler.getRules("list"),T=e.parentType;for(e.parentType="list";u<r;){o=f,i=e.eMarks[u];let v=e.sCount[u]+f-(e.bMarks[u]+e.tShift[u]),C=v;for(;o<i;){let H=e.src.charCodeAt(o);if(H===9)C+=4-(C+e.bsCount[u])%4;else if(H===32)C++;else break;o++}let I=o,F;I>=i?F=1:F=C-v,F>4&&(F=1);let j=v+F;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(h);let B=[u,0];s.map=B,d&&(s.info=e.src.slice(a,f-1));let G=e.tight,S=e.tShift[u],N=e.sCount[u],P=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=j,e.tight=!0,e.tShift[u]=I-e.bMarks[u],e.sCount[u]=C,I>=i&&e.isEmpty(u+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,u,r,!0),(!e.tight||D)&&(c=!1),D=e.line-u>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=P,e.tShift[u]=S,e.sCount[u]=N,e.tight=G,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(h),u=e.line,B[1]=u,u>=r||e.sCount[u]<e.blkIndent||e.sCount[u]-e.blkIndent>=4)break;let _=!1;for(let H=0,R=k.length;H<R;H++)if(k[H](e,u,r,!0)){_=!0;break}if(_)break;if(d){if(f=Cx(e,u),f<0)break;a=e.bMarks[u]+e.tShift[u]}else if(f=Tx(e,u),f<0)break;if(h!==e.src.charCodeAt(f-1))break}return d?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(h),w[1]=u,e.line=u,e.parentType=T,c&&A4(e,b),!0}p();function Uf(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function s(k){let T=e.lineMax;if(k>=T||e.isEmpty(k))return null;let v=!1;if(e.sCount[k]-e.blkIndent>3&&(v=!0),e.sCount[k]<0&&(v=!0),!v){let F=e.md.block.ruler.getRules("reference"),j=e.parentType;e.parentType="reference";let B=!1;for(let G=0,S=F.length;G<S;G++)if(F[G](e,k,T,!0)){B=!0;break}if(e.parentType=j,B)return null}let C=e.bMarks[k]+e.tShift[k],I=e.eMarks[k];return e.src.slice(C,I+1)}let u=e.src.slice(i,o+1);o=u.length;let c=-1;for(i=1;i<o;i++){let k=u.charCodeAt(i);if(k===91)return!1;if(k===93){c=i;break}else if(k===10){let T=s(a);T!==null&&(u+=T,o=u.length,a++)}else if(k===92&&(i++,i<o&&u.charCodeAt(i)===10)){let T=s(a);T!==null&&(u+=T,o=u.length,a++)}}if(c<0||u.charCodeAt(c+1)!==58)return!1;for(i=c+2;i<o;i++){let k=u.charCodeAt(i);if(k===10){let T=s(a);T!==null&&(u+=T,o=u.length,a++)}else if(!Ue(k))break}let l=e.md.helpers.parseLinkDestination(u,i,o);if(!l.ok)return!1;let d=e.md.normalizeLink(l.str);if(!e.md.validateLink(d))return!1;i=l.pos;let m=i,f=a,h=i;for(;i<o;i++){let k=u.charCodeAt(i);if(k===10){let T=s(a);T!==null&&(u+=T,o=u.length,a++)}else if(!Ue(k))break}let b=e.md.helpers.parseLinkTitle(u,i,o);for(;b.can_continue;){let k=s(a);if(k===null)break;u+=k,i=o,o=u.length,a++,b=e.md.helpers.parseLinkTitle(u,i,o,b)}let w;for(i<o&&h!==i&&b.ok?(w=b.str,i=b.pos):(w="",i=m,a=f);i<o;){let k=u.charCodeAt(i);if(!Ue(k))break;i++}if(i<o&&u.charCodeAt(i)!==10&&w)for(w="",i=m,a=f;i<o;){let k=u.charCodeAt(i);if(!Ue(k))break;i++}if(i<o&&u.charCodeAt(i)!==10)return!1;let D=yo(u.slice(1,c));return D?(n||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[D]>"u"&&(e.env.references[D]={title:w,href:d}),e.line=a),!0):!1}p();p();var Dx=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"];p();var k4="[a-zA-Z_:][a-zA-Z0-9:._-]*",T4="[^\"'=<>`\\x00-\\x20]+",C4="'[^']*'",D4='"[^"]*"',I4="(?:"+T4+"|"+C4+"|"+D4+")",N4="(?:\\s+"+k4+"(?:\\s*=\\s*"+I4+")?)",Ix="<[A-Za-z][A-Za-z0-9\\-]*"+N4+"*\\s*\\/?>",Nx="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",R4="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",L4="<[?][\\s\\S]*?[?]>",M4="<![A-Za-z][^>]*>",O4="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Rx=new RegExp("^(?:"+Ix+"|"+Nx+"|"+R4+"|"+L4+"|"+M4+"|"+O4+")"),Lx=new RegExp("^(?:"+Ix+"|"+Nx+")");var _o=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Dx.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Lx.source+"\\s*$"),/^$/,!1]];function qf(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let a=e.src.slice(i,o),s=0;for(;s<_o.length&&!_o[s][0].test(a);s++);if(s===_o.length)return!1;if(n)return _o[s][2];let u=t+1,c=_o[s][1].test("");if(!_o[s][1].test(a)){for(;u<r&&!(e.sCount[u]<e.blkIndent&&(c||!e.isEmpty(u)));u++)if(i=e.bMarks[u]+e.tShift[u],o=e.eMarks[u],a=e.src.slice(i,o),_o[s][1].test(a)){a.length!==0&&u++;break}}e.line=u;let l=e.push("html_block","",0);return l.map=[t,u],l.content=e.getLines(t,u,e.blkIndent,!0),!0}p();function Wf(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(i);if(a!==35||i>=o)return!1;let s=1;for(a=e.src.charCodeAt(++i);a===35&&i<o&&s<=6;)s++,a=e.src.charCodeAt(++i);if(s>6||i<o&&!Ue(a))return!1;if(n)return!0;o=e.skipSpacesBack(o,i);let u=e.skipCharsBack(o,35,i);u>i&&Ue(e.src.charCodeAt(u-1))&&(o=u),e.line=t+1;let c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];let l=e.push("inline","",0);l.content=wo(e.src.slice(i,o)),l.map=[t,e.line],l.children=[];let d=e.push("heading_close","h"+String(s),-1);return d.markup="########".slice(0,s),!0}p();function Kf(e,t,r){let n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.parentType;e.parentType="paragraph";let o=0,a,s=t+1;for(;s<r&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let f=e.bMarks[s]+e.tShift[s],h=e.eMarks[s];if(f<h&&(a=e.src.charCodeAt(f),(a===45||a===61)&&(f=e.skipChars(f,a),f=e.skipSpaces(f),f>=h))){o=a===61?1:2;break}}if(e.sCount[s]<0)continue;let m=!1;for(let f=0,h=n.length;f<h;f++)if(n[f](e,s,r,!0)){m=!0;break}if(m)break}if(!o)return e.parentType=i,!1;let u=wo(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;let c=e.push("heading_open","h"+String(o),1);c.markup=String.fromCharCode(a),c.map=[t,e.line];let l=e.push("inline","",0);l.content=u,l.map=[t,e.line-1],l.children=[];let d=e.push("heading_close","h"+String(o),-1);return d.markup=String.fromCharCode(a),e.parentType=i,!0}p();function jf(e,t,r){let n=e.md.block.ruler.getRules("paragraph"),i=e.parentType,o=t+1;for(e.parentType="paragraph";o<r&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let c=!1;for(let l=0,d=n.length;l<d;l++)if(n[l](e,o,r,!0)){c=!0;break}if(c)break}let a=wo(e.getLines(t,o,e.blkIndent,!1));e.line=o;let s=e.push("paragraph_open","p",1);s.map=[t,e.line];let u=e.push("inline","",0);return u.content=a,u.map=[t,e.line],u.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}var yc=[["table",Of,["paragraph","reference"]],["code",Ff],["fence",Pf,["paragraph","reference","blockquote","list"]],["blockquote",Bf,["paragraph","reference","blockquote","list"]],["hr",Hf,["paragraph","reference","blockquote","list"]],["list",$f,["paragraph","reference","blockquote"]],["reference",Uf],["html_block",qf,["paragraph","reference","blockquote"]],["heading",Wf,["paragraph","reference","blockquote"]],["lheading",Kf],["paragraph",jf]];function wc(){this.ruler=new Eo;for(let e=0;e<yc.length;e++)this.ruler.push(yc[e][0],yc[e][1],{alt:(yc[e][2]||[]).slice()})}wc.prototype.tokenize=function(e,t,r){let n=this.ruler.getRules(""),i=n.length,o=e.md.options.maxNesting,a=t,s=!1;for(;a<r&&(e.line=a=e.skipEmptyLines(a),!(a>=r||e.sCount[a]<e.blkIndent));){if(e.level>=o){e.line=r;break}let u=e.line,c=!1;for(let l=0;l<i;l++)if(c=n[l](e,a,r,!1),c){if(u>=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a<r&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}};wc.prototype.parse=function(e,t,r,n){if(!e)return;let i=new this.State(e,t,r,n);this.tokenize(i,i.line,i.lineMax)};wc.prototype.State=Ax;var Mx=wc;p();p();function Rs(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Rs.prototype.pushPending=function(){let e=new Jr("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};Rs.prototype.push=function(e,t,r){this.pending&&this.pushPending();let n=new Jr(e,t,r),i=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(i),n};Rs.prototype.scanDelims=function(e,t){let r=this.posMax,n=this.src.charCodeAt(e),i;if(e===0)i=32;else if(e===1)i=this.src.charCodeAt(0),(i&63488)===55296&&(i=65533);else if(i=this.src.charCodeAt(e-1),(i&64512)===56320){let w=this.src.charCodeAt(e-2);i=(w&64512)===55296?65536+(w-55296<<10)+(i-56320):65533}else(i&64512)===55296&&(i=65533);let o=e;for(;o<r&&this.src.charCodeAt(o)===n;)o++;let a=o-e,s=o<r?this.src.charCodeAt(o):32;if((s&64512)===55296){let w=this.src.charCodeAt(o+1);s=(w&64512)===56320?65536+(s-55296<<10)+(w-56320):65533}else(s&64512)===56320&&(s=65533);let u=bo(i)||xo(i),c=bo(s)||xo(s),l=go(i),d=go(s),m=!d&&(!c||l||u),f=!l&&(!u||d||c);return{can_open:m&&(t||!f||u),can_close:f&&(t||!m||c),length:a}};Rs.prototype.Token=Jr;var Ox=Rs;p();function F4(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function Vf(e,t){let r=e.pos;for(;r<e.posMax&&!F4(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}p();var P4=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function zf(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let r=e.pos,n=e.posMax;if(r+3>n||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47)return!1;let i=e.pending.match(P4);if(!i)return!1;let o=i[1],a=e.md.linkify.matchAtStart(e.src.slice(r-o.length));if(!a)return!1;let s=a.url;if(s.length<=o.length)return!1;let u=s.length;for(;u>0&&s.charCodeAt(u-1)===42;)u--;u!==s.length&&(s=s.slice(0,u));let c=e.md.normalizeLink(s);if(!e.md.validateLink(c))return!1;if(!t){e.pending=e.pending.slice(0,-o.length);let l=e.push("link_open","a",1);l.attrs=[["href",c]],l.markup="linkify",l.info="auto";let d=e.push("text","",0);d.content=e.md.normalizeLinkText(s);let m=e.push("link_close","a",-1);m.markup="linkify",m.info="auto"}return e.pos+=s.length-o.length,!0}p();function Jf(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==10)return!1;let n=e.pending.length-1,i=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let o=n-1;for(;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(r++;r<i&&Ue(e.src.charCodeAt(r));)r++;return e.pos=r,!0}p();var Gf=[];for(let e=0;e<256;e++)Gf.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){Gf[e.charCodeAt(0)]=1});function Xf(e,t){let r=e.pos,n=e.posMax;if(e.src.charCodeAt(r)!==92||(r++,r>=n))return!1;let i=e.src.charCodeAt(r);if(i===10){for(t||e.push("hardbreak","br",0),r++;r<n&&(i=e.src.charCodeAt(r),!!Ue(i));)r++;return e.pos=r,!0}let o=e.src[r];if(i>=55296&&i<=56319&&r+1<n){let s=e.src.charCodeAt(r+1);s>=56320&&s<=57343&&(o+=e.src[r+1],r++)}let a="\\"+o;if(!t){let s=e.push("text_special","",0);i<256&&Gf[i]!==0?s.content=o:s.content=a,s.markup=a,s.info="escape"}return e.pos=r+1,!0}p();function Yf(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==96)return!1;let i=r;r++;let o=e.posMax;for(;r<o&&e.src.charCodeAt(r)===96;)r++;let a=e.src.slice(i,r),s=a.length;if(e.backticksScanned&&(e.backticks[s]||0)<=i)return t||(e.pending+=a),e.pos+=s,!0;let u=r,c;for(;(c=e.src.indexOf("`",u))!==-1;){for(u=c+1;u<o&&e.src.charCodeAt(u)===96;)u++;let l=u-c;if(l===s){if(!t){let d=e.push("code_inline","code",0);d.markup=a,d.content=e.src.slice(r,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=u,!0}e.backticks[l]=c}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=s,!0}p();function B4(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||n!==126)return!1;let i=e.scanDelims(e.pos,!0),o=i.length,a=String.fromCharCode(n);if(o<2)return!1;let s;o%2&&(s=e.push("text","",0),s.content=a,o--);for(let u=0;u<o;u+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function Fx(e,t){let r,n=[],i=t.length;for(let o=0;o<i;o++){let a=t[o];if(a.marker!==126||a.end===-1)continue;let s=t[a.end];r=e.tokens[a.token],r.type="s_open",r.tag="s",r.nesting=1,r.markup="~~",r.content="",r=e.tokens[s.token],r.type="s_close",r.tag="s",r.nesting=-1,r.markup="~~",r.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&n.push(s.token-1)}for(;n.length;){let o=n.pop(),a=o+1;for(;a<e.tokens.length&&e.tokens[a].type==="s_close";)a++;a--,o!==a&&(r=e.tokens[a],e.tokens[a]=e.tokens[o],e.tokens[o]=r)}}function H4(e){let t=e.tokens_meta,r=e.tokens_meta.length;Fx(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&Fx(e,t[n].delimiters)}var Zf={tokenize:B4,postProcess:H4};p();function $4(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||n!==95&&n!==42)return!1;let i=e.scanDelims(e.pos,n===42);for(let o=0;o<i.length;o++){let a=e.push("text","",0);a.content=String.fromCharCode(n),e.delimiters.push({marker:n,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function Px(e,t){let r=t.length;for(let n=r-1;n>=0;n--){let i=t[n];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;let o=t[i.end],a=n>0&&t[n-1].end===i.end+1&&t[n-1].marker===i.marker&&t[n-1].token===i.token-1&&t[i.end+1].token===o.token+1,s=String.fromCharCode(i.marker),u=e.tokens[i.token];u.type=a?"strong_open":"em_open",u.tag=a?"strong":"em",u.nesting=1,u.markup=a?s+s:s,u.content="";let c=e.tokens[o.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?s+s:s,c.content="",a&&(e.tokens[t[n-1].token].content="",e.tokens[t[i.end+1].token].content="",n--)}}function U4(e){let t=e.tokens_meta,r=e.tokens_meta.length;Px(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&Px(e,t[n].delimiters)}var Qf={tokenize:$4,postProcess:U4};p();function ed(e,t){let r,n,i,o,a="",s="",u=e.pos,c=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;let l=e.pos,d=e.posMax,m=e.pos+1,f=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(f<0)return!1;let h=f+1;if(h<d&&e.src.charCodeAt(h)===40){for(c=!1,h++;h<d&&(r=e.src.charCodeAt(h),!(!Ue(r)&&r!==10));h++);if(h>=d)return!1;if(u=h,i=e.md.helpers.parseLinkDestination(e.src,h,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?h=i.pos:a="",u=h;h<d&&(r=e.src.charCodeAt(h),!(!Ue(r)&&r!==10));h++);if(i=e.md.helpers.parseLinkTitle(e.src,h,e.posMax),h<d&&u!==h&&i.ok)for(s=i.str,h=i.pos;h<d&&(r=e.src.charCodeAt(h),!(!Ue(r)&&r!==10));h++);}(h>=d||e.src.charCodeAt(h)!==41)&&(c=!0),h++}if(c){if(typeof e.env.references>"u")return!1;if(h<d&&e.src.charCodeAt(h)===91?(u=h+1,h=e.md.helpers.parseLinkLabel(e,h),h>=0?n=e.src.slice(u,h++):h=f+1):h=f+1,n||(n=e.src.slice(m,f)),o=e.env.references[yo(n)],!o)return e.pos=l,!1;a=o.href,s=o.title}if(!t){e.pos=m,e.posMax=f;let b=e.push("link_open","a",1),w=[["href",a]];b.attrs=w,s&&w.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=h,e.posMax=d,!0}p();function td(e,t){let r,n,i,o,a,s,u,c,l="",d=e.pos,m=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let f=e.pos+2,h=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(h<0)return!1;if(o=h+1,o<m&&e.src.charCodeAt(o)===40){for(o++;o<m&&(r=e.src.charCodeAt(o),!(!Ue(r)&&r!==10));o++);if(o>=m)return!1;for(c=o,s=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),s.ok&&(l=e.md.normalizeLink(s.str),e.md.validateLink(l)?o=s.pos:l=""),c=o;o<m&&(r=e.src.charCodeAt(o),!(!Ue(r)&&r!==10));o++);if(s=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<m&&c!==o&&s.ok)for(u=s.str,o=s.pos;o<m&&(r=e.src.charCodeAt(o),!(!Ue(r)&&r!==10));o++);else u="";if(o>=m||e.src.charCodeAt(o)!==41)return e.pos=d,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<m&&e.src.charCodeAt(o)===91?(c=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?i=e.src.slice(c,o++):o=h+1):o=h+1,i||(i=e.src.slice(f,h)),a=e.env.references[yo(i)],!a)return e.pos=d,!1;l=a.href,u=a.title}if(!t){n=e.src.slice(f,h);let b=[];e.md.inline.parse(n,e.md,e.env,b);let w=e.push("image","img",0),D=[["src",l],["alt",""]];w.attrs=D,w.children=b,w.content=n,u&&D.push(["title",u])}return e.pos=o,e.posMax=m,!0}p();var q4=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,W4=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function rd(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==60)return!1;let n=e.pos,i=e.posMax;for(;;){if(++r>=i)return!1;let a=e.src.charCodeAt(r);if(a===60)return!1;if(a===62)break}let o=e.src.slice(n+1,r);if(W4.test(o)){let a=e.md.normalizeLink(o);if(!e.md.validateLink(a))return!1;if(!t){let s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";let u=e.push("text","",0);u.content=e.md.normalizeLinkText(o);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=o.length+2,!0}if(q4.test(o)){let a=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(a))return!1;if(!t){let s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";let u=e.push("text","",0);u.content=e.md.normalizeLinkText(o);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=o.length+2,!0}return!1}p();function K4(e){return/^<a[>\s]/i.test(e)}function j4(e){return/^<\/a\s*>/i.test(e)}function V4(e){let t=e|32;return t>=97&&t<=122}function nd(e,t){if(!e.md.options.html)return!1;let r=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=r)return!1;let i=e.src.charCodeAt(n+1);if(i!==33&&i!==63&&i!==47&&!V4(i))return!1;let o=e.src.slice(n).match(Rx);if(!o)return!1;if(!t){let a=e.push("html_inline","",0);a.content=o[0],K4(a.content)&&e.linkLevel++,j4(a.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}p();var z4=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,J4=/^&([a-z][a-z0-9]{1,31});/i;function id(e,t){let r=e.pos,n=e.posMax;if(e.src.charCodeAt(r)!==38||r+1>=n)return!1;if(e.src.charCodeAt(r+1)===35){let o=e.src.slice(r).match(z4);if(o){if(!t){let a=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),s=e.push("text_special","",0);s.content=xc(a)?da(a):da(65533),s.markup=o[0],s.info="entity"}return e.pos+=o[0].length,!0}}else{let o=e.src.slice(r).match(J4);if(o){let a=Ns(o[0]);if(a!==o[0]){if(!t){let s=e.push("text_special","",0);s.content=a,s.markup=o[0],s.info="entity"}return e.pos+=o[0].length,!0}}}return!1}p();function Bx(e){let t={},r=e.length;if(!r)return;let n=0,i=-2,o=[];for(let a=0;a<r;a++){let s=e[a];if(o.push(0),(e[n].marker!==s.marker||i!==s.token-1)&&(n=a),i=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);let u=t[s.marker][(s.open?3:0)+s.length%3],c=n-o[n]-1,l=c;for(;c>u;c-=o[c]+1){let d=e[c];if(d.marker===s.marker&&d.open&&d.end<0){let m=!1;if((d.close||s.open)&&(d.length+s.length)%3===0&&(d.length%3!==0||s.length%3!==0)&&(m=!0),!m){let f=c>0&&!e[c-1].open?o[c-1]+1:0;o[a]=a-c+f,o[c]=f,s.open=!1,d.end=a,d.close=!1,l=-1,i=-2;break}}}l!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=l)}}function od(e){let t=e.tokens_meta,r=e.tokens_meta.length;Bx(e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&Bx(t[n].delimiters)}p();function ad(e){let t,r,n=0,i=e.tokens,o=e.tokens.length;for(t=r=0;t<o;t++)i[t].nesting<0&&n--,i[t].level=n,i[t].nesting>0&&n++,i[t].type==="text"&&t+1<o&&i[t+1].type==="text"?i[t+1].content=i[t].content+i[t+1].content:(t!==r&&(i[r]=i[t]),r++);t!==r&&(i.length=r)}var sd=[["text",Vf],["linkify",zf],["newline",Jf],["escape",Xf],["backticks",Yf],["strikethrough",Zf.tokenize],["emphasis",Qf.tokenize],["link",ed],["image",td],["autolink",rd],["html_inline",nd],["entity",id]],ud=[["balance_pairs",od],["strikethrough",Zf.postProcess],["emphasis",Qf.postProcess],["fragments_join",ad]];function Ls(){this.ruler=new Eo;for(let e=0;e<sd.length;e++)this.ruler.push(sd[e][0],sd[e][1]);this.ruler2=new Eo;for(let e=0;e<ud.length;e++)this.ruler2.push(ud[e][0],ud[e][1])}Ls.prototype.skipToken=function(e){let t=e.pos,r=this.ruler.getRules(""),n=r.length,i=e.md.options.maxNesting,o=e.cache;if(typeof o[t]<"u"){e.pos=o[t];return}let a=!1;if(e.level<i){for(let s=0;s<n;s++)if(e.level++,a=r[s](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos};Ls.prototype.tokenize=function(e){let t=this.ruler.getRules(""),r=t.length,n=e.posMax,i=e.md.options.maxNesting;for(;e.pos<n;){let o=e.pos,a=!1;if(e.level<i){for(let s=0;s<r;s++)if(a=t[s](e,!1),a){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};Ls.prototype.parse=function(e,t,r,n){let i=new this.State(e,t,r,n);this.tokenize(i);let o=this.ruler2.getRules(""),a=o.length;for(let s=0;s<a;s++)o[s](i)};Ls.prototype.State=Ox;var Hx=Ls;p();p();function $x(e){let t={};e=e||{},t.src_Any=lc.source,t.src_Cc=fc.source,t.src_Z=pc.source,t.src_P=ca.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");let r="[><\uFF5C]";return t.src_pseudo_letter="(?:(?!"+r+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+r+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+t.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+t.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function cd(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){r&&Object.keys(r).forEach(function(n){e[n]=r[n]})}),e}function _c(e){return Object.prototype.toString.call(e)}function G4(e){return _c(e)==="[object String]"}function X4(e){return _c(e)==="[object Object]"}function Y4(e){return _c(e)==="[object RegExp]"}function Ux(e){return _c(e)==="[object Function]"}function Z4(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Wx={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Q4(e){return Object.keys(e||{}).reduce(function(t,r){return t||Wx.hasOwnProperty(r)},!1)}var eA={"http:":{validate:function(e,t,r){let n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){let n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){let n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},tA="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",rA="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function nA(e){return function(t,r){let n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}function qx(){return function(e,t){t.normalize(e)}}function Ec(e){let t=e.re=$x(e.__opts__),r=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||r.push(tA),r.push(t.src_xn),t.src_tlds=r.join("|");function n(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.email_fuzzy_global=RegExp(n(t.tpl_email_fuzzy),"ig"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_fuzzy_global=RegExp(n(t.tpl_link_fuzzy),"ig"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.link_no_ip_fuzzy_global=RegExp(n(t.tpl_link_no_ip_fuzzy),"ig"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");let i=[];e.__compiled__={};function o(s,u){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+u)}Object.keys(e.__schemas__).forEach(function(s){let u=e.__schemas__[s];if(u===null)return;let c={validate:null,link:null};if(e.__compiled__[s]=c,X4(u)){Y4(u.validate)?c.validate=nA(u.validate):Ux(u.validate)?c.validate=u.validate:o(s,u),Ux(u.normalize)?c.normalize=u.normalize:u.normalize?o(s,u):c.normalize=qx();return}if(G4(u)){i.push(s);return}o(s,u)}),i.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:qx()};let a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(Z4).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i")}function Kx(e,t,r,n){let i=e.slice(r,n);this.schema=t.toLowerCase(),this.index=r,this.lastIndex=n,this.raw=i,this.text=i,this.url=i}function Gr(e,t){if(!(this instanceof Gr))return new Gr(e,t);t||Q4(e)&&(t=e,e={}),this.__opts__=cd({},Wx,t),this.__schemas__=cd({},eA,e),this.__compiled__={},this.__tlds__=rA,this.__tlds_replaced__=!1,this.re={},Ec(this)}Gr.prototype.add=function(t,r){return this.__schemas__[t]=r,Ec(this),this};Gr.prototype.set=function(t){return this.__opts__=cd(this.__opts__,t),this};Gr.prototype.test=function(t){if(!t.length)return!1;let r,n;if(this.re.schema_test.test(t)){for(n=this.re.schema_search,n.lastIndex=0;(r=n.exec(t))!==null;)if(this.testSchemaAt(t,r[2],n.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&t.search(this.re.host_fuzzy_test)>=0&&t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&t.indexOf("@")>=0&&t.match(this.re.email_fuzzy)!==null)};Gr.prototype.pretest=function(t){return this.re.pretest.test(t)};Gr.prototype.testSchemaAt=function(t,r,n){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(t,n,this):0};Gr.prototype.match=function(t){let r=[],n=[],i=[],o=[],a,s,u;function c(m,f){return m?f?m.index!==f.index?m.index<f.index?m:f:m.lastIndex>=f.lastIndex?m:f:m:f}if(!t.length)return null;if(this.re.schema_test.test(t))for(u=this.re.schema_search,u.lastIndex=0;(a=u.exec(t))!==null;)s=this.testSchemaAt(t,a[2],u.lastIndex),s&&n.push({schema:a[2],index:a.index+a[1].length,lastIndex:a.index+a[0].length+s});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(u=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,u.lastIndex=0;(a=u.exec(t))!==null;)i.push({schema:"",index:a.index+a[1].length,lastIndex:a.index+a[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(u=this.re.email_fuzzy_global,u.lastIndex=0;(a=u.exec(t))!==null;)o.push({schema:"mailto:",index:a.index+a[1].length,lastIndex:a.index+a[0].length});let l=[0,0,0],d=0;for(;;){let m=[n[l[0]],o[l[1]],i[l[2]]],f=c(c(m[0],m[1]),m[2]);if(!f)break;if(f===m[0]?l[0]++:f===m[1]?l[1]++:l[2]++,f.index<d)continue;let h=new Kx(t,f.schema,f.index,f.lastIndex);this.__compiled__[h.schema].normalize(h,this),r.push(h),d=f.lastIndex}return r.length?r:null};Gr.prototype.matchAtStart=function(t){if(!t.length)return null;let r=this.re.schema_at_start.exec(t);if(!r)return null;let n=this.testSchemaAt(t,r[2],r[0].length);if(!n)return null;let i=new Kx(t,r[2],r.index+r[1].length,r.index+r[0].length+n);return this.__compiled__[i.schema].normalize(i,this),i};Gr.prototype.tlds=function(t,r){return t=Array.isArray(t)?t:[t],r?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(n,i,o){return n!==o[i-1]}).reverse(),Ec(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Ec(this),this)};Gr.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Gr.prototype.onCompile=function(){};var jx=Gr;p();var iA=/^xn--/,oA=/[^\0-\x7F]/,aA=/[\x2E\u3002\uFF0E\uFF61]/g,sA={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ld=35,Un=Math.floor,fd=String.fromCharCode;function $i(e){throw new RangeError(sA[e])}function uA(e,t){let r=[],n=e.length;for(;n--;)r[n]=t(e[n]);return r}function zx(e,t){let r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(aA,".");let i=e.split("."),o=uA(i,t).join(".");return n+o}function Jx(e){let t=[],r=0,n=e.length;for(;r<n;){let i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){let o=e.charCodeAt(r++);(o&64512)==56320?t.push(((i&1023)<<10)+(o&1023)+65536):(t.push(i),r--)}else t.push(i)}return t}var cA=e=>String.fromCodePoint(...e),lA=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},Vx=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Gx=function(e,t,r){let n=0;for(e=r?Un(e/700):e>>1,e+=Un(e/t);e>ld*26>>1;n+=36)e=Un(e/ld);return Un(n+(ld+1)*e/(e+38))},Xx=function(e){let t=[],r=e.length,n=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let s=0;s<a;++s)e.charCodeAt(s)>=128&&$i("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s<r;){let u=n;for(let l=1,d=36;;d+=36){s>=r&&$i("invalid-input");let m=lA(e.charCodeAt(s++));m>=36&&$i("invalid-input"),m>Un((2147483647-n)/l)&&$i("overflow"),n+=m*l;let f=d<=o?1:d>=o+26?26:d-o;if(m<f)break;let h=36-f;l>Un(2147483647/h)&&$i("overflow"),l*=h}let c=t.length+1;o=Gx(n-u,c,u==0),Un(n/c)>2147483647-i&&$i("overflow"),i+=Un(n/c),n%=c,t.splice(n++,0,i)}return String.fromCodePoint(...t)},Yx=function(e){let t=[];e=Jx(e);let r=e.length,n=128,i=0,o=72;for(let u of e)u<128&&t.push(fd(u));let a=t.length,s=a;for(a&&t.push("-");s<r;){let u=2147483647;for(let l of e)l>=n&&l<u&&(u=l);let c=s+1;u-n>Un((2147483647-i)/c)&&$i("overflow"),i+=(u-n)*c,n=u;for(let l of e)if(l<n&&++i>2147483647&&$i("overflow"),l===n){let d=i;for(let m=36;;m+=36){let f=m<=o?1:m>=o+26?26:m-o;if(d<f)break;let h=d-f,b=36-f;t.push(fd(Vx(f+h%b,0))),d=Un(h/b)}t.push(fd(Vx(d,0))),o=Gx(i,c,s===a),i=0,++s}++i,++n}return t.join("")},fA=function(e){return zx(e,function(t){return iA.test(t)?Xx(t.slice(4).toLowerCase()):t})},dA=function(e){return zx(e,function(t){return oA.test(t)?"xn--"+Yx(t):t})},pA={version:"2.3.1",ucs2:{decode:Jx,encode:cA},decode:Xx,encode:Yx,toASCII:dA,toUnicode:fA};var dd=pA;p();var Zx={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}};p();var Qx={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}};p();var e2={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}};var hA={default:Zx,zero:Qx,commonmark:e2},mA=/^(vbscript|javascript|file|data):/,gA=/^data:image\/(gif|png|jpeg|webp);/;function xA(e){let t=e.trim().toLowerCase();return mA.test(t)?gA.test(t):!0}var t2=["http:","https:","mailto:"];function bA(e){let t=Is(e,!0);if(t.hostname&&(!t.protocol||t2.indexOf(t.protocol)>=0))try{t.hostname=dd.toASCII(t.hostname)}catch{}return sc(ua(t))}function yA(e){let t=Is(e,!0);if(t.hostname&&(!t.protocol||t2.indexOf(t.protocol)>=0))try{t.hostname=dd.toUnicode(t.hostname)}catch{}return Ds(ua(t),Ds.defaultChars+"%")}function on(e,t){if(!(this instanceof on))return new on(e,t);t||gc(e)||(t=e||{},e="default"),this.inline=new Hx,this.block=new Mx,this.core=new Sx,this.renderer=new bx,this.linkify=new jx,this.validateLink=xA,this.normalizeLink=bA,this.normalizeLinkText=yA,this.utils=wf,this.helpers=fa({},Sf),this.options={},this.configure(e),t&&this.set(t)}on.prototype.set=function(e){return fa(this.options,e),this};on.prototype.configure=function(e){let t=this;if(gc(e)){let r=e;if(e=hA[r],!e)throw new Error('Wrong `markdown-it` preset "'+r+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this};on.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){r=r.concat(this[i].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));let n=e.filter(function(i){return r.indexOf(i)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};on.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){r=r.concat(this[i].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));let n=e.filter(function(i){return r.indexOf(i)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};on.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};on.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");let r=new this.core.State(e,this,t);return this.core.process(r),r.tokens};on.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};on.prototype.parseInline=function(e,t){let r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens};on.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var kr=on;p();p();p();var al=ce(jn(),1);function ol(e){let t=e?.trim().match(/^(\d+(?:\.\d+)?)(?:px)?$/i),r=t?Number(t[1]):0;return Number.isFinite(r)&&r>0?r:void 0}function ay(e){let t=e.getAttribute("style")?.match(/(?:^|;)\s*width\s*:\s*([^;]+)/i)?.[1];return ol(t??null)}function mi(e){let t=Array.from(e.children).filter(n=>n.tagName==="COLGROUP").flatMap(n=>Array.from(n.children).filter(i=>i.tagName==="COL")).map(n=>ay(n)??ol(n.getAttribute("width")));return{width:ol(e.getAttribute("data-table-width"))??ay(e)??ol(e.getAttribute("width"))??(t.length&&t.every(n=>n!==void 0)?t.reduce((n,i)=>n+i,0):void 0),columns:t}}function Na(e){return e.width!==void 0||e.columns.some(t=>t!==void 0)}function Ro(e,t,r=!1){if(t.width!==void 0){let n=(e.getAttribute("style")??"").split(";").map(i=>i.trim()).filter(i=>i&&!/^(?:width|table-layout)\s*:/i.test(i)).join("; ");e.setAttribute("style",`${n?n+"; ":""}width: ${t.width}px; table-layout: fixed;`),r&&(e.setAttribute("data-table-width",String(t.width)),e.hasAttribute("data-layout")||e.setAttribute("data-layout","default"))}if(t.columns.length){for(let i of Array.from(e.children).filter(o=>o.tagName==="COLGROUP"))i.remove();let n=e.ownerDocument.createElement("colgroup");for(let i of t.columns){let o=e.ownerDocument.createElement("col");i!==void 0&&o.setAttribute("style",`width: ${i}px;`),n.appendChild(o)}e.insertBefore(n,e.firstChild)}}function sy(e,t){if(!t)return e;let r=Array.from((0,al.createDocument)(t).querySelectorAll("table")).map(mi);if(!r.some(Na))return e;let n=(0,al.createDocument)(e),i=Array.from(n.querySelectorAll("table"));return i.length!==r.length?e:(i.forEach((o,a)=>{Na(r[a])&&Ro(o,r[a])}),n.body.innerHTML)}function Qs(e,t){if(!/<table[\s>]/i.test(e))return e;let r=ji().parse(e,{}),n=e.split(`
30
+ `);for(let i of r.reverse()){if(i.type!=="html_block"||!i.map||!/<table[\s>]/i.test(i.content))continue;let o=(0,al.createDocument)(i.content),a=!1;for(let s of Array.from(o.querySelectorAll("table a[href]"))){let u=s.getAttribute("href"),c=t(u);c!==u&&(s.setAttribute("href",c),a=!0)}a&&n.splice(i.map[0],i.map[1]-i.map[0],o.body.innerHTML.trimEnd())}return n.join(`
31
+ `)}var uy=/^\s*(?:```|~~~)/,Ra=/(!?)\[\[([^[\]|#]*)(#[^[\]|]+)?(?:\\?\|([^[\]]*))?\]\]/g;function La(e,t,r,n){let i=s=>s.replace(/\\$/,"").trim(),o=i(t??""),a=r?i(r.slice(1)):null;return!o&&!a?null:{embed:e==="!",target:o,fragment:a||null,alias:n?.trim()||null}}function nT(e){return e.replace(/!?\[([^\]]*)\]\([^)]*\)/g,"$1").replace(Ra,(t,...r)=>{let n=La(r[0],r[1],r[2],r[3]);return n?n.alias??(n.target||n.fragment)??t:t}).replace(/`+/g,"").replace(/\*\*|~~|\*/g,"").trim()}function cy(e){return nT(e).toLowerCase().replace(/[^\p{L}\p{N}\s_-]/gu,"").replace(/\s/g,"-")}function gi(e){let t=[],r=new Map,n=!1;for(let i of e.split(`
32
+ `)){if(uy.test(i)){n=!n;continue}if(n)continue;let o=i.match(/^(#{1,6})\s+(.*?)(?:\s+#+)?\s*$/);if(!o)continue;let a=o[2].trim();if(!a)continue;let s=cy(a),u=r.get(s)??0;r.set(s,u+1),t.push({text:a,slug:u?`${s}-${u}`:s,level:o[1].length})}return t}function eu(e){let t=new Map;for(let r of gi(e))t.has(r.slug)||t.set(r.slug,r.text);return t}var Vi=e=>{try{return decodeURIComponent(e)}catch{return e}},Np=e=>e.normalize("NFC").toLowerCase().replace(/[^\p{L}\p{N}]+/gu,"");function sl(e,t,r){let n=Np(Vi(e));if(!n)return null;let i=Np(r),o=null,a=0;for(let s of t){let u=Np(s.text);if(u){if(n===u||n===i+u)return s;n.endsWith(u)&&u.length>a&&(o=s,a=u.length)}}return o}function ul(e){let t=e.split("#").filter(Boolean).pop();return!t||t.startsWith("^")?null:cy(t)||null}var iT=/\[([^\]]*)\]\((<[^>]+>|[^()\s]+)\)/g;function ly(e){let t=[],r=!1;for(let n of e.split(`
33
+ `)){if(uy.test(n)){r=!r;continue}if(r)continue;let i=n.split(/(`+[^`]*`+)/).filter((o,a)=>a%2===0).join("");for(let o of i.matchAll(iT)){if(i[o.index-1]==="!")continue;let a=Vi(o[2].replace(/^<(.*)>$/,"$1")),s=a.indexOf("#");s<0||s===a.length-1||/^(https?:|mailto:)/i.test(a)||t.push({dest:a.slice(0,s),fragment:a.slice(s+1),wiki:!1})}for(let o of i.matchAll(Ra)){let a=La(o[1],o[2],o[3],o[4]);!a||a.embed||!a.fragment||t.push({dest:a.target,fragment:a.fragment,wiki:!0})}}return Qs(e,n=>{let i=Vi(n),o=i.indexOf("#");return o>=0&&o<i.length-1&&!/^[a-z][a-z\d+.-]*:|^\/\//i.test(i)&&t.push({dest:i.slice(0,o),fragment:i.slice(o+1),wiki:!1}),n}),t}function Lo(e){return`<ac:structured-macro ac:name="anchor"><ac:parameter ac:name="">${e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}</ac:parameter></ac:structured-macro>`}var Mo="csync-callout-v1-",cl={note:{title:"\uB178\uD2B8",color:"#526078",background:"#f4f5f7"},abstract:{title:"\uC694\uC57D",color:"#006b76",background:"#e6fcff"},info:{title:"\uC548\uB0B4",color:"#0747a6",background:"#deebff"},todo:{title:"\uD560 \uC77C",color:"#0747a6",background:"#deebff"},tip:{title:"\uD301",color:"#006b76",background:"#e6fcff"},success:{title:"\uC131\uACF5",color:"#006644",background:"#e3fcef"},question:{title:"\uC9C8\uBB38",color:"#974f0c",background:"#fff0b3"},warning:{title:"\uC8FC\uC758",color:"#974f0c",background:"#fff0b3"},failure:{title:"\uC2E4\uD328",color:"#ae2a19",background:"#ffebe6"},danger:{title:"\uC704\uD5D8",color:"#ae2a19",background:"#ffebe6"},bug:{title:"\uBC84\uADF8",color:"#ae2a19",background:"#ffebe6"},example:{title:"\uC608\uC2DC",color:"#403294",background:"#eae6ff"},quote:{title:"\uC778\uC6A9",color:"#526078",background:"#f4f5f7"}},fy={summary:"abstract",tldr:"abstract",hint:"tip",important:"tip",check:"success",done:"success",help:"question",faq:"question",caution:"warning",attention:"warning",fail:"failure",missing:"failure",error:"danger",cite:"quote"};function Rp(e){let t=Object.hasOwn(fy,e.toLowerCase())?fy[e.toLowerCase()]:e.toLowerCase();return Object.hasOwn(cl,t)?cl[t]:cl.note}function py(e,t){return Object.entries(cl).find(([,r])=>r.title===e&&r.background===t.toLowerCase())?.[0]??"note"}var dy=e=>e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;");function hy(e,t){e.core.ruler.after("inline","obsidian_callouts",r=>{if(r.env?.legacyCallouts===!0)return;let n=r.tokens,i=0;for(let o=0;o<n.length;o++){if(n[o].type!=="blockquote_open"||n[o+1]?.type!=="paragraph_open"||n[o+2]?.type!=="inline"||n[o+3]?.type!=="paragraph_close")continue;let a=n[o+2],s=a.content.indexOf(`
34
+ `),c=(s<0?a.content:a.content.slice(0,s)).match(/^\[!([a-z\d_-]+)\]([+-]?)(?:[ \t]+(.*))?[ \t]*$/i);if(!c)continue;let l=o+1,d=1;for(;l<n.length&&(n[l].type==="blockquote_open"&&d++,!(n[l].type==="blockquote_close"&&--d===0));l++);if(l===n.length)continue;let m=Rp(c[1]),f=t==="html"||r.env?.legacyCallouts==="panels"?"":Lo(Mo+E.Buffer.from(JSON.stringify({type:c[1],fold:c[2],explicit:!!c[3]?.trim(),index:i++})).toString("base64url"));n[o].type="callout_open",n[o].meta={...m,title:c[3]?.trim()||m.title,marker:f},n[l].type="callout_close",s<0?n.splice(o+1,3):(a.content=a.content.slice(s+1),a.children=[],r.md.inline.parse(a.content,r.md,r.env,a.children))}}),e.renderer.rules.callout_open=(r,n)=>{let{title:i,color:o,background:a,marker:s}=r[n].meta;if(t==="html")return`<blockquote style="background-color:${a};color:${o}"><p><strong>${dy(i)}</strong></p>
35
+ `;let u=(c,l)=>`<ac:parameter ac:name="${c}">${dy(l)}</ac:parameter>`;return'<ac:structured-macro ac:name="panel">'+u("title",i)+u("borderColor",o)+u("titleColor",o)+u("titleBGColor",a)+u("bgColor",a)+`<ac:rich-text-body>
36
+ `+s},e.renderer.rules.callout_close=()=>t==="html"?`</blockquote>
37
+ `:`</ac:rich-text-body></ac:structured-macro>
38
+ `}function ji(e="html"){let t=new kr({html:!0,linkify:!0,breaks:!1});return t.block.ruler.before("html_block","html_table",(r,n,i,o)=>{if(r.sCount[n]-r.blkIndent>=4)return!1;let a=r.getLines(n,i,r.blkIndent,!1);if(!/^ {0,3}<table(?:\s|>)/i.test(a))return!1;let s=0;for(let u of a.matchAll(/<\/?table\b(?:[^"'<>]|"[^"]*"|'[^']*')*>/gi)){if(s+=/^<\//.test(u[0])?-1:1,s)continue;if(o)return!0;let c=n+a.slice(0,u.index+u[0].length).split(`
39
+ `).length,l=r.push("html_block","",0);return l.content=r.getLines(n,c,r.blkIndent,!0),l.map=[n,c],r.line=c,!0}return!1}),hy(t,e),t}p();var vy=ce(jn(),1);p();p();function oT(e,t,r,n){let i=Number(e[t].meta.id+1).toString(),o="";return typeof n.docId=="string"&&(o=`-${n.docId}-`),o+i}function aT(e,t){let r=Number(e[t].meta.id+1).toString();return e[t].meta.subId>0&&(r+=`:${e[t].meta.subId}`),`[${r}]`}function sT(e,t,r,n,i){let o=i.rules.footnote_anchor_name(e,t,r,n,i),a=i.rules.footnote_caption(e,t,r,n,i),s=o;return e[t].meta.subId>0&&(s+=`:${e[t].meta.subId}`),`<sup class="footnote-ref"><a href="#fn${o}" id="fnref${s}">${a}</a></sup>`}function uT(e,t,r){return(r.xhtmlOut?`<hr class="footnotes-sep" />
40
+ `:`<hr class="footnotes-sep">
41
+ `)+`<section class="footnotes">
42
+ <ol class="footnotes-list">
43
+ `}function cT(){return`</ol>
44
+ </section>
45
+ `}function lT(e,t,r,n,i){let o=i.rules.footnote_anchor_name(e,t,r,n,i);return e[t].meta.subId>0&&(o+=`:${e[t].meta.subId}`),`<li id="fn${o}" class="footnote-item">`}function fT(){return`</li>
46
+ `}function dT(e,t,r,n,i){let o=i.rules.footnote_anchor_name(e,t,r,n,i);return e[t].meta.subId>0&&(o+=`:${e[t].meta.subId}`),` <a href="#fnref${o}" class="footnote-backref">\u21A9\uFE0E</a>`}function tu(e){let t=e.helpers.parseLinkLabel,r=e.utils.isSpace;e.renderer.rules.footnote_ref=sT,e.renderer.rules.footnote_block_open=uT,e.renderer.rules.footnote_block_close=cT,e.renderer.rules.footnote_open=lT,e.renderer.rules.footnote_close=fT,e.renderer.rules.footnote_anchor=dT,e.renderer.rules.footnote_caption=aT,e.renderer.rules.footnote_anchor_name=oT;function n(s,u,c,l){let d=s.bMarks[u]+s.tShift[u],m=s.eMarks[u];if(d+4>m||s.src.charCodeAt(d)!==91||s.src.charCodeAt(d+1)!==94)return!1;let f;for(f=d+2;f<m;f++){if(s.src.charCodeAt(f)===32)return!1;if(s.src.charCodeAt(f)===93)break}if(f===d+2||f+1>=m||s.src.charCodeAt(++f)!==58)return!1;if(l)return!0;f++,s.env.footnotes||(s.env.footnotes={}),s.env.footnotes.refs||(s.env.footnotes.refs={});let h=s.src.slice(d+2,f-2);s.env.footnotes.refs[`:${h}`]=-1;let b=new s.Token("footnote_reference_open","",1);b.meta={label:h},b.level=s.level++,s.tokens.push(b);let w=s.bMarks[u],D=s.tShift[u],k=s.sCount[u],T=s.parentType,v=f,C=s.sCount[u]+f-(s.bMarks[u]+s.tShift[u]),I=C;for(;f<m;){let j=s.src.charCodeAt(f);if(r(j))j===9?I+=4-I%4:I++;else break;f++}s.tShift[u]=f-v,s.sCount[u]=I-C,s.bMarks[u]=v,s.blkIndent+=4,s.parentType="footnote",s.sCount[u]<s.blkIndent&&(s.sCount[u]+=s.blkIndent),s.md.block.tokenize(s,u,c,!0),s.parentType=T,s.blkIndent-=4,s.tShift[u]=D,s.sCount[u]=k,s.bMarks[u]=w;let F=new s.Token("footnote_reference_close","",-1);return F.level=--s.level,s.tokens.push(F),!0}function i(s,u){let c=s.posMax,l=s.pos;if(l+2>=c||s.src.charCodeAt(l)!==94||s.src.charCodeAt(l+1)!==91)return!1;let d=l+2,m=t(s,l+1);if(m<0)return!1;if(!u){s.env.footnotes||(s.env.footnotes={}),s.env.footnotes.list||(s.env.footnotes.list=[]);let f=s.env.footnotes.list.length,h=[];s.md.inline.parse(s.src.slice(d,m),s.md,s.env,h);let b=s.push("footnote_ref","",0);b.meta={id:f},s.env.footnotes.list[f]={content:s.src.slice(d,m),tokens:h}}return s.pos=m+1,s.posMax=c,!0}function o(s,u){let c=s.posMax,l=s.pos;if(l+3>c||!s.env.footnotes||!s.env.footnotes.refs||s.src.charCodeAt(l)!==91||s.src.charCodeAt(l+1)!==94)return!1;let d;for(d=l+2;d<c;d++){if(s.src.charCodeAt(d)===32||s.src.charCodeAt(d)===10)return!1;if(s.src.charCodeAt(d)===93)break}if(d===l+2||d>=c)return!1;d++;let m=s.src.slice(l+2,d-1);if(typeof s.env.footnotes.refs[`:${m}`]>"u")return!1;if(!u){s.env.footnotes.list||(s.env.footnotes.list=[]);let f;s.env.footnotes.refs[`:${m}`]<0?(f=s.env.footnotes.list.length,s.env.footnotes.list[f]={label:m,count:0},s.env.footnotes.refs[`:${m}`]=f):f=s.env.footnotes.refs[`:${m}`];let h=s.env.footnotes.list[f].count;s.env.footnotes.list[f].count++;let b=s.push("footnote_ref","",0);b.meta={id:f,subId:h,label:m}}return s.pos=d,s.posMax=c,!0}function a(s){let u,c,l,d=!1,m={};if(!s.env.footnotes||(s.tokens=s.tokens.filter(function(h){return h.type==="footnote_reference_open"?(d=!0,c=[],l=h.meta.label,!1):h.type==="footnote_reference_close"?(d=!1,m[":"+l]=c,!1):(d&&c.push(h),!d)}),!s.env.footnotes.list))return;let f=s.env.footnotes.list;s.tokens.push(new s.Token("footnote_block_open","",1));for(let h=0,b=f.length;h<b;h++){let w=new s.Token("footnote_open","",1);if(w.meta={id:h,label:f[h].label},s.tokens.push(w),f[h].tokens){u=[];let T=new s.Token("paragraph_open","p",1);T.block=!0,u.push(T);let v=new s.Token("inline","",0);v.children=f[h].tokens,v.content=f[h].content,u.push(v);let C=new s.Token("paragraph_close","p",-1);C.block=!0,u.push(C)}else f[h].label&&(u=m[`:${f[h].label}`]);u&&(s.tokens=s.tokens.concat(u));let D;s.tokens[s.tokens.length-1].type==="paragraph_close"?D=s.tokens.pop():D=null;let k=f[h].count>0?f[h].count:1;for(let T=0;T<k;T++){let v=new s.Token("footnote_anchor","",0);v.meta={id:h,subId:T,label:f[h].label},s.tokens.push(v)}D&&s.tokens.push(D),s.tokens.push(new s.Token("footnote_close","",-1))}s.tokens.push(new s.Token("footnote_block_close","",-1))}e.block.ruler.before("reference","footnote_def",n,{alt:["paragraph","reference"]}),e.inline.ruler.after("image","footnote_inline",i),e.inline.ruler.after("footnote_inline","footnote_ref",o),e.core.ruler.after("inline","footnote_tail",a)}p();p();var zi=ce(Ke(),1);function ll(e,t){return(0,zi.join)((0,zi.dirname)((0,zi.relative)(t,e)),"attachments",(0,zi.basename)(e).replace(/\.md$/i,"")).split("\\").join("/")}Wt();$e();var qr=ce(Ke(),1);p();$e();var my=ce(Ke());async function gy(e,t){let r=new Map;for(let n of e)r.has(n.file)||r.set(n.file,[]),(t||!J(n.target))&&r.get(n.file).push(n);for(let[n,i]of r)if(i.length)try{let o=await globalThis.csyncRenderPdf({bytes:new Uint8Array(ie(n)),pages:i.map(a=>a.page),dryRun:t});if(!t)for(let a=0;a<i.length;a++)Re((0,my.dirname)(i[a].target),{recursive:!0}),it(i[a].target,new Uint8Array(o[a]))}catch(o){throw Error(`PDF \uC774\uBBF8\uC9C0 \uBCC0\uD658 \uC2E4\uD328 (${n}): ${o.message}`)}}var xy=e=>E.Buffer.from(JSON.stringify(e)).toString("base64"),pT=e=>JSON.parse(E.Buffer.from(e,"base64").toString()),by=new kr({html:!0});function vn(e,t,r){let n=e.split(`
47
+ `),i=[0];for(let c of n)i.push(i[i.length-1]+c.length+1);let o=by.parse(e,{}).filter(c=>["fence","code_block","html_block"].includes(c.type)&&c.map).map(c=>[i[c.map[0]],Math.min(i[c.map[1]],e.length),c.type==="html_block"?1:0]),a=0,s="",u=c=>hT(c,t);for(let[c,l,d]of o)c<a||(s+=u(e.slice(a,c))+(d&&r?r(e.slice(c,l)):e.slice(c,l)),a=l);return s+u(e.slice(a))}function hT(e,t){let r=/(`+)([\s\S]*?)(?<!`)\1(?!`)/g,n=0,i="";for(let o of e.matchAll(r))i+=t(e.slice(n,o.index))+o[0],n=o.index+o[0].length;return i+t(e.slice(n))}var mT=/\[([^\]\n]*)\]\(#[^\s)]+\)<!-- csync-pdf:v1 ([A-Za-z0-9+/=]+) -->/g,gT=/!\[([^\]\n]*)\]\((?:<[^>\n]+>|[^()\s]+)\)<!-- csync-pdf-inline:v1 ([A-Za-z0-9+/=]+) -->/g,xT=/\n*<!-- csync-pdf-pages:v1 -->\n[\s\S]*?<!-- \/csync-pdf-pages -->\n*/g;function Lp(e,t,r){let n=[],i=(a,s,u)=>{let c=pT(u);if(typeof c.path!="string"||!/\.pdf$/i.test(c.path)||!Number.isSafeInteger(c.page)||c.page<1)throw new Error("PDF \uC5ED\uBCC0\uD658 \uC815\uBCF4\uC758 \uACBD\uB85C \uB610\uB294 \uCABD \uBC88\uD638\uAC00 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");let l=(0,qr.resolve)((0,qr.dirname)(t),c.path);if(yy(l,r),!J(l))throw new Error(`\uC5ED\uBCC0\uD658\uC5D0 \uD544\uC694\uD55C \uC6D0\uBCF8 PDF\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4: ${l}`);n.push(l);let d=(0,qr.relative)(r,l).split("\\").join("/");return`${c.embed?"!":""}[[${d}#page=${c.page}|${s||c.label}]]`},o=Ma(Ma(e,gT,i),mT,i);return{text:Ma(o,xT,()=>`
48
+
49
+ `),assets:[...new Set(n)],pages:0}}function Ma(e,t,r){let n=e.split(`
50
+ `),i=[0];for(let a of n)i.push(i[i.length-1]+a.length+1);let o=by.parse(e,{}).filter(a=>["fence","code_block"].includes(a.type)&&a.map).map(a=>[i[a.map[0]],Math.min(i[a.map[1]],e.length)]);for(let a of e.matchAll(/(`+)([\s\S]*?)(?<!`)\1(?!`)/g))o.push([a.index,a.index+a[0].length]);return e.replace(t,(...a)=>{let u=a[a.length-2]+a[0].search(/\S/);return o.some(([c,l])=>u>=c&&u<l)?a[0]:r(...a)})}function yy(e,t){let r=(0,qr.relative)(lt(t),J(e)?lt(e):e);if(r===".."||r.startsWith("../")||r.startsWith("..\\"))throw new Error(`PDF\uB294 --base \uC548\uC5D0 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4: ${e}`)}async function wy(e,t,r,n,i,o=s=>s,a=!0){let s=new Set,u=new Set(gi(e).map(D=>D.slug)),c=new Map,l=new Map,d=[],m=/(?<!!)(!?)\[([^\]\n]*)\]\((<[^>\n]+>|[^()\s]+)\)/g,f=(D,k)=>vn(D,T=>T.replace(m,(v,C,I,F,j)=>{if((T.slice(0,j).match(/\\+$/)?.[0].length??0)%2)return v;let B;try{B=decodeURIComponent(F.replace(/^<(.*)>$/,"$1"))}catch{return v}if(/^[a-z][a-z\d+.-]*:/i.test(B)||Bi(B))return v;let G=B.match(/^(.*\.pdf)#page=(\d+)$/i);if(!G)return v;let S=(0,qr.resolve)((0,qr.dirname)(t),G[1]),N=o(S);if(N===S&&yy(S,r),!J(N))throw new Error(`PDF \uD30C\uC77C\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: ${N}`);let P=Number(G[2]);if(!Number.isSafeInteger(P)||P<1)throw new Error(`\uC798\uBABB\uB41C PDF \uCABD \uBC88\uD638: ${B}`);s.add(N);let _=l.get(N);_||(_=Ne("sha256").update(ie(N)).digest("hex").slice(0,24),l.set(N,_));let H=`${_}-${P}`,R=c.get(H);if(!R){let q=`PDF \uC6D0\uBB38 ${c.size+1} - ${P}\uCABD`,W=`pdf-\uC6D0\uBB38-${c.size+1}---${P}\uCABD`,V=0,Ae=q,be=W;for(;u.has(W);)q=`${Ae}-${++V}`,W=`${be}-${V}`;u.add(W);let Y=`${ll(t,r)}/pdfjs-${H}.png`,K=(0,qr.resolve)(n,Y);d.push({file:N,page:P,target:K});let Ce=(0,qr.resolve)(n,(0,qr.relative)(r,t)),at=(0,qr.relative)((0,qr.dirname)(Ce),K).split("\\").join("/");R={heading:q,anchor:W,image:at,gallery:!1},c.set(H,R)}let M={path:G[1],page:P,label:I,embed:C==="!"};return k?`![${I||`PDF ${P}\uCABD`}](<${R.image}>)<!-- csync-pdf-inline:v1 ${xy(M)} -->`:(R.gallery=!0,`[${I||`PDF ${P}\uCABD`}](#${R.anchor})<!-- csync-pdf:v1 ${xy(M)} -->`)})),h=Ma(e,/<!-- csync-footnote:v1 [A-Za-z0-9+/=]+ -->\n[\s\S]*?<!-- \/csync-footnote -->/g,D=>f(D,!0)),b=f(h,!1);if(!c.size)return{text:e,assets:a?Lp(e,t,r).assets:[],pages:0};await gy(d,i);let w=[...c.values()].filter(D=>D.gallery).map(D=>`### ${D.heading}
51
+
52
+ ![${D.heading}](<${D.image}>)`).join(`
53
+
54
+ `);return{text:b.trimEnd()+(w?`
55
+
56
+ <!-- csync-pdf-pages:v1 -->
57
+ ${w}
58
+ <!-- /csync-pdf-pages -->
59
+ `:`
60
+ `),assets:[...s],pages:c.size}}function Mp(e,t){let r=e.getRules("");e.disable(t);let n=new Set(e.getRules(""));e.enable(t);let i=r.find(o=>!n.has(o));if(!i)throw new Error(`\uAC01\uC8FC \uD30C\uC11C \uADDC\uCE59\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: ${t}`);return i}function bT(e){let t=new kr({html:!0}).use(tu),r=Mp(t.inline.ruler,"footnote_inline"),n=[],i=new Set,o=[],a=0,s=0;t.inline.ruler.at("footnote_inline",(h,b)=>{let w=h.pos;a++;let D;try{D=r(h,b)}finally{a--}if(D&&!b&&a===0){let k;do k=`csync-inline-${++s}`;while(e.includes(`[^${k}]`));i.add(k),n.push(`[^${k}]: ${h.src.slice(w+2,h.pos-1).replace(/\n/g,`
61
+ `)}`),o.push({start:w,end:h.pos,text:`[^${k}]`})}return D});let u=e.split(`
62
+ `),c=[0];for(let h of u)c.push(c[c.length-1]+h.length+1);let l=new kr({html:!0}).parse(e,{}).filter(h=>["fence","code_block","html_block"].includes(h.type)&&h.map).map(h=>[c[h.map[0]],Math.min(c[h.map[1]],e.length)]),d=h=>{o=[],t.inline.parse(h,t,{},[]);for(let b of o.sort((w,D)=>D.start-w.start))h=h.slice(0,b.start)+b.text+h.slice(b.end);return h},m=0,f="";for(let[h,b]of l)h<m||(f+=d(e.slice(m,h))+e.slice(h,b),m=b);return f+=d(e.slice(m)),{text:n.length?f.trimEnd()+`
63
+
64
+ `+n.join(`
65
+
66
+ `)+`
67
+ `:e,labels:i}}function _y(e){if(!e.includes("[^")&&!e.includes("^["))return e;let t=bT(e);e=t.text;let r=new kr({html:!0}).use(tu),n=[],i=e.split(`
68
+ `),o=[0];for(let v of i)o.push(o[o.length-1]+v.length+1);let a=Mp(r.block.ruler,"footnote_def");r.block.ruler.at("footnote_def",(v,C,I,F)=>{let j=a(v,C,I,F);if(j&&!F){let B=i[C].match(/^ {0,3}\[\^([^\]]+)\]:\s*(.*)$/);B&&n.push({start:o[C],end:Math.min(o[v.line],e.length),label:B[1],body:[B[2],...i.slice(C+1,v.line).map(G=>G.replace(/^(?: {4}|\t)/,""))].join(`
69
+ `).trimEnd()})}return j},{alt:["paragraph","reference"]});let s={},u=r.parse(e,s);if(!n.length)return e;let c=new Set(gi(e).map(v=>v.slug)),l=new Set(n.map(v=>v.label)),d=new Map,m=[],f=Mp(r.inline.ruler,"footnote_ref"),h=[];r.inline.ruler.at("footnote_ref",(v,C)=>{let I=v.pos,F=f(v,C);if(F&&!C){let j=v.src.slice(I+2,v.pos-1);if(!l.has(j))return F;let B=d.get(j);if(!B){let G=d.size+1,S=`\uAC01\uC8FC ${G}`,N=`\uAC01\uC8FC-${G}`,P=0;for(;c.has(N);)S=`\uAC01\uC8FC ${G}-${++P}`,N=`\uAC01\uC8FC-${G}-${P}`;c.add(N),B={number:G,heading:S,anchor:N},d.set(j,B)}h.push({start:I,end:v.pos,text:`<sup>[${B.number}](#${B.anchor})</sup>`})}return F}),r.inline.ruler.disable("footnote_inline");let b=v=>{h=[],r.inline.parse(v,r,s,[]);for(let C of h.sort((I,F)=>F.start-I.start))v=v.slice(0,C.start)+C.text+v.slice(C.end);return v},w=[...n.map(v=>({start:v.start,end:v.end,definition:!0})),...u.filter(v=>(v.type==="fence"||v.type==="code_block"||v.type==="html_block")&&v.map).map(v=>({start:o[v.map[0]],end:Math.min(o[v.map[1]],e.length),definition:!1}))].sort((v,C)=>v.start-C.start),D=0;for(let v of w)v.start<D||(m.push({start:D,end:v.start,text:b(e.slice(D,v.start))}),v.definition&&m.push({start:v.start,end:v.end,text:""}),D=v.end);m.push({start:D,end:e.length,text:b(e.slice(D))});for(let v of n)d.has(v.label)||b(`[^${v.label}]`);let k=e;for(let v of m.sort((C,I)=>I.start-C.start))k=k.slice(0,v.start)+v.text+k.slice(v.end);let T=new Map(n.map(v=>[v.label,v.body]));return k.trimEnd()+`
70
+
71
+ `+[...d].map(([v,C])=>`<!-- csync-footnote:v1 ${E.Buffer.from(JSON.stringify({label:v,anchor:C.anchor,...t.labels.has(v)?{inline:!0}:{}})).toString("base64")} -->
72
+ ###### ${C.heading}
73
+
74
+ ${b(T.get(v)??"")}
75
+ <!-- /csync-footnote -->`).join(`
76
+
77
+ `)+`
78
+ `}function fl(e){let t=new Map,r=[],n=new Set,i=new kr({html:!0}).use(tu),o=Ma(e,/<!-- csync-footnote:v1 ([A-Za-z0-9+/=]+) -->\n+#{1,6} [^\n]+\n\n([\s\S]*?)\n<!-- \/csync-footnote -->/g,(c,l,d)=>{let m=Oa(l);if(!m)return c;let{label:f,anchor:h}=m;return t.set(h,{label:f,body:d.trimEnd(),inline:m.inline===!0}),m.inline||r.push(`[^${f}]: ${d.trimEnd().split(`
79
+ `).join(`
80
+ `)}`),""});if(!t.size)return e;let a=c=>vn(c,l=>l.replace(/<sup>\[\d+\]\(#([^\s)]+)\)<\/sup>/g,(d,m)=>{let f=t.get(Ey(m));if(!f)return d;if(f.inline&&!/\n\s*\n/.test(f.body)){let h=`^[${f.body}]`,b=[];if(i.inline.parse(h,i,{},b),b.length===1&&b[0].type==="footnote_ref")return n.add(Ey(m)),h}return`[^${f.label}]`})),s=a(o).trimEnd();for(let[c,l]of t)l.inline&&!n.has(c)&&r.push(`[^${l.label}]: ${l.body.split(`
81
+ `).join(`
82
+ `)}`);let u=r.map(a).join(`
83
+
84
+ `);return s+(u?`
85
+
86
+ `+u:"")+`
87
+ `}function Oa(e){if(!(e.length>8e3))try{let t=JSON.parse(E.Buffer.from(e,"base64").toString("utf8"));if(t&&typeof t.label=="string"&&/^[^\s\[\]\r\n]+$/.test(t.label)&&typeof t.anchor=="string"&&/^[\p{L}\p{N}_-]+$/u.test(t.anchor)&&(t.inline===void 0||typeof t.inline=="boolean"))return t}catch{}}function Ey(e){try{return decodeURIComponent(e)}catch{return e}}var Sy="csync-footnote-v1-",Ay=e=>`<!-- csync-footnote:v1 ${e} -->`,Op="<!-- /csync-footnote -->",Oo=(e,t)=>Sy+(t?"end-":"start-")+E.Buffer.from(e,"base64").toString("base64url");function ky(e){let t;return e.replace(/<!\[CDATA\[[\s\S]*?\]\]>|<!-- csync-footnote:v1 ([A-Za-z0-9+/=]+) -->|<!-- \/csync-footnote -->/g,(r,n)=>{if(n)return Oa(n)?(t=n,Lo(Oo(n,!1))):r;if(r===Op&&t){let i=Lo(Oo(t,!0));return t=void 0,i}return r})}function Ty(e){return e.replace(/<!\[CDATA\[[\s\S]*?\]\]>|<ac:structured-macro ac:name="anchor"><ac:parameter ac:name="">csync-footnote-v1-(start|end)-([A-Za-z0-9_-]+)<\/ac:parameter><\/ac:structured-macro>/g,(t,r,n)=>{if(!r||!n)return t;let i=E.Buffer.from(n,"base64url").toString("base64");return Oa(i)?r==="start"?Ay(i):Op:t})}function Cy(e,t,r){let n=(0,vy.createDocument)(e);for(let l of Array.from(n.querySelectorAll("[data-csync-footnote]")))l.removeAttribute("data-csync-footnote");if(!t?.includes(Sy))return n.body.innerHTML;let i=new Map,o=new Set,a=new Set;for(let l of t.matchAll(/<ac:structured-macro\b[^>]*ac:name="anchor"[^>]*>\s*<ac:parameter\b[^>]*ac:name=""[^>]*>csync-footnote-v1-(start|end)-([A-Za-z0-9_-]+)<\/ac:parameter>\s*<\/ac:structured-macro>/g)){let d=E.Buffer.from(l[2],"base64url").toString("base64");Oa(d)&&(l[1]==="start"?o:a).add(d)}for(let l of o)a.has(l)&&(i.set(Oo(l,!1),{encoded:l,end:!1}),i.set(Oo(l,!0),{encoded:l,end:!0}));if(!i.size)return n.body.innerHTML;let s=new Map;for(let l of Array.from(n.querySelectorAll("[id], [name]"))){let d=l.getAttribute("id")??l.getAttribute("name")??"",m=[...i].find(([f])=>d.endsWith(f));if(m){let f=s.get(m[0])??[];f.push(l),s.set(m[0],f)}}let u=[...o].filter(l=>s.get(Oo(l,!1))?.length===1&&s.get(Oo(l,!0))?.length===1),c=u.map(l=>{let d=Oa(l);return{text:d.anchor,slug:d.anchor,level:6}});for(let l of Array.from(n.querySelectorAll("sup a[href]"))){let d=l.getAttribute("href"),m=d.match(/\/pages\/(\d+)/)?.[1]??d.match(/[?&]pageId=(\d+)/)?.[1];if(!d.startsWith("#")&&(!r||m!==r))continue;let f=d.split("#").slice(1).join("#"),h=sl(f,c,"");h&&l.setAttribute("href",`#${h.slug}`)}for(let l of u)for(let d of[!1,!0]){let m=s.get(Oo(l,d))[0];m.setAttribute("data-csync-footnote",JSON.stringify({encoded:l,end:d})),m.textContent="csync-footnote-marker"}return n.body.innerHTML}function Dy(e){e.addRule("confluenceFootnoteMetadata",{filter:t=>!!t.hasAttribute?.("data-csync-footnote"),replacement:(t,r)=>{let{encoded:n,end:i}=JSON.parse(r.getAttribute("data-csync-footnote"));return`
88
+
89
+ ${i?Op:Ay(n)}
90
+
91
+ `}}),e.addRule("superscript",{filter:"sup",replacement:t=>`<sup>${t}</sup>`})}var By=ce(jn(),1);p();var yT=/^\s*(?:```|~~~)/;function It(e){let t=e.match(/^---\r?\n([\s\S]*?)\r?\n---[ \t]*(?:\r?\n|$)/);if(!t)return{data:{},body:e};let r={};for(let n of t[1].split(/\r?\n/)){let i=n.match(/^([A-Za-z_][\w-]*)\s*:\s*(.*)$/);i&&(r[i[1]]=i[2].trim().replace(/^["'](.*)["']$/,"$1"))}return{data:r,body:e.slice(t[0].length)}}function Ry(e){let t=Object.entries(e).filter(([,r])=>r!=null&&r!=="").map(([r,n])=>`${r}: ${/[:#"'\n]|^\s|\s$/.test(n)?JSON.stringify(n):n}`);return t.length?`---
92
+ ${t.join(`
93
+ `)}
94
+ ---
95
+
96
+ `:""}var Iy=e=>/\s/.test(e)?`<${e}>`:e,dl=e=>e.replace(/\\([\\_])/g,"$1"),Ny=e=>e.replace(/[\\_]/g,"\\$&");function Ly(e,t){let r=!1;return e.split(`
97
+ `).map(n=>yT.test(n)?(r=!r,n):r?n:n.split(/(`+[^`]*`+)/).map((i,o)=>o%2?i:t(i)).join("")).join(`
98
+ `)}function pl(e,t){return Ly(e,r=>r.replace(Ra,(n,i,o,a,s)=>{let u=La(i,o,a,s);if(!u)return n;let c=u.fragment?/\.pdf$/i.test(u.target)?u.fragment:ul(u.fragment):null;if(!u.target)return c?`[${Ny(u.alias??u.fragment??"")}](#${c})`:n;let l=t(u.target,u.embed);if(!l)return n;let d=Ny(u.alias??u.target);return u.embed?`![${d}](${Iy(l+(/\.pdf$/i.test(u.target)&&c?`#${c}`:""))})`:`[${d}](${Iy(l+(c?`#${c}`:""))})`}))}var wT=/(!?)\[([^\]]*)\]\((<[^>]+>|[^()\s]+)\)/g;function My(e,t){return Ly(e,r=>r.replace(wT,(n,i,o,a)=>{if(i==="!")return n;let s=a.replace(/^<(.*)>$/,"$1");return t(s,dl(o))??n}))}p();Wt();var Oy="23392b90-4271-4239-98ca-a3e96c663cbb/63d4d207-ac2f-4273-865c-0240d37f044a/static/mermaid-diagram";function Fy(e,t){let r=Ne("sha256").update(`csync:mermaid:${e}:${t}`).digest("hex"),n=`${r.slice(0,8)}-${r.slice(8,12)}-5${r.slice(13,16)}-a${r.slice(17,20)}-${r.slice(20,32)}`,i=`<ac:adf-node type="extension"><ac:adf-attribute key="extension-type">com.atlassian.ecosystem</ac:adf-attribute><ac:adf-attribute key="extension-key">${Oy}</ac:adf-attribute><ac:adf-attribute key="parameters"><ac:adf-parameter key="local-id">${n}</ac:adf-parameter><ac:adf-parameter key="extension-id">ari:cloud:ecosystem::extension/${Oy}</ac:adf-parameter><ac:adf-parameter key="extension-title">Mermaid diagram</ac:adf-parameter></ac:adf-attribute><ac:adf-attribute key="text">Mermaid diagram</ac:adf-attribute><ac:adf-attribute key="layout">default</ac:adf-attribute><ac:adf-attribute key="local-id">${n}</ac:adf-attribute></ac:adf-node>`;return`<ac:adf-extension>${i}<ac:adf-fallback>${i}</ac:adf-fallback></ac:adf-extension>
99
+ `}var xi=e=>e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"),Hy=e=>Ne("sha256").update(e).digest("hex"),Fa=e=>{try{return decodeURIComponent(e)}catch{return e}},Ir=ji("storage"),$y=()=>({fileDir:"",titleIndex:{},anchorIndex:{},selfRel:"",selfTitle:"",anchorNames:new Set,bodySlugs:[],headingSeq:0,mermaidSeq:0,anchorsPlaced:0,images:[],attachments:[],internalLinks:0,anchorLinks:0,deadAnchors:[],linkStack:[],linkedTitles:new Set}),je=$y(),Pa="";function Py(e,t,r){let n=Fa(Vi(t)).toLowerCase(),i=je.anchorIndex[e]?.get(n);return i?i===r?null:n:(je.deadAnchors.push(`#${n}`),null)}function ET(e){if(!e||/^(https?:|mailto:)/i.test(e))return null;if(e.startsWith("#")){let a=Py(je.selfRel,e.slice(1),je.selfTitle);return a?{title:null,anchor:a}:null}let[t,...r]=e.split("#");if(!t||!/\.md$/i.test(t))return null;let n=(0,Or.relative)(Pa,(0,Or.resolve)(Pa,je.fileDir,Fa(t))).split("\\").join("/"),i=je.titleIndex[n];if(!i)return null;let o=r.join("#");return{title:i,anchor:o?Py(n,o,i):null}}Ir.renderer.rules.heading_open=(e,t,r,n,i)=>{let o=je.bodySlugs[je.headingSeq++],a=i.renderToken(e,t,r);return!o||!je.anchorNames.has(o)?a:(je.anchorsPlaced++,Lo(o)+a)};Ir.renderer.rules.fence=(e,t)=>{let r=e[t],n=(r.info||"").trim().split(/\s+/)[0],i=n.toLowerCase()==="mermaid"?"mermaid":n;if(i==="confluence-iframe"){let u=r.content.trim();if(!/^https?:\/\/[^\s<>]+$/i.test(u))throw new Error("confluence-iframe\uC5D0\uB294 HTTP(S) URL \uD55C \uC904\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.");return`<ac:structured-macro ac:name="iframe"><ac:parameter ac:name="url">${xi(u)}</ac:parameter><ac:parameter ac:name="width">100%</ac:parameter><ac:parameter ac:name="height">900</ac:parameter></ac:structured-macro>
100
+ `}let o=r.content.split("]]>").join("]]]]><![CDATA[>");return`<ac:structured-macro ac:name="code">${i?`<ac:parameter ac:name="language">${xi(i)}</ac:parameter>`:""}<ac:plain-text-body><![CDATA[${o}]]></ac:plain-text-body></ac:structured-macro>
101
+ `+(i==="mermaid"?Fy(je.selfRel,je.mermaidSeq++):"")};function Uy(e){let t=je.attachments.find(n=>n.abs===e);if(t)return t.filename;let r=(0,Or.basename)(e);if(je.attachments.some(n=>n.filename===r)){let n=(0,Or.extname)(r),i=(0,Or.basename)(r,n),o=Hy((0,Or.relative)(Pa,e).split("\\").join("/")).slice(0,12);r=`${i}-${o}${n}`;let a=1;for(;je.attachments.some(s=>s.filename===r);)r=`${i}-${o}-${a++}${n}`}return je.attachments.push({filename:r,abs:e}),r}Ir.renderer.rules.link_open=(e,t,r,n,i)=>{let o=e[t].attrGet("href")||"";if(Bi(o))return je.linkStack.push(!1),i.renderToken(e,t,r);let a=je.rewriteHref?.(o)??o;e[t].attrSet("href",a);let s=ET(a);if(s&&(s.title||s.anchor)){je.linkStack.push(!0),je.internalLinks++,s.title&&je.linkedTitles.add(s.title),s.anchor&&je.anchorLinks++;let c=s.anchor?` ac:anchor="${xi(s.anchor)}"`:"",l=s.title?`<ri:page ri:content-title="${xi(s.title)}" />`:"";return`<ac:link${c}>${l}<ac:link-body>`}let u=a.split("#")[0];if(u&&!/^[a-z][a-z\d+.-]*:|^\/\//i.test(u)&&!/\.md$/i.test(Fa(u))){let c=(0,Or.resolve)(Pa,je.fileDir,Fa(u));if(J(c)&&Et(c).isFile()){let l=Uy(c);return je.linkStack.push(!0),`<ac:link${a.includes("#")?` ac:anchor="${xi(Fa(a.slice(a.indexOf("#")+1)))}"`:""}><ri:attachment ri:filename="${xi(l)}" /><ac:link-body>`}}return je.linkStack.push(!1),i.renderToken(e,t,r)};Ir.renderer.rules.link_close=(e,t,r,n,i)=>je.linkStack.pop()?"</ac:link-body></ac:link>":i.renderToken(e,t,r);var _T=760;Ir.renderer.rules.image=(e,t)=>{let r=e[t],n=r.attrGet("src")||"",o=(r.attrGet("title")||"").match(/width\s*=\s*(\d+)/i),a=o?o[1]:String(_T),s=a?` ac:width="${xi(a)}"`:"";if(/^https?:\/\//i.test(n))return`<ac:image${s}><ri:url ri:value="${xi(n)}" /></ac:image>`;let u=(0,Or.resolve)(Pa,je.fileDir,Fa(n.split("#")[0])),c=Uy(u);return je.images.push({filename:c,abs:u}),`<ac:image${s}><ri:attachment ri:filename="${xi(c)}" /></ac:image>`};Ir.renderer.rules.html_block=(e,t)=>{let r=e[t].content;if(!/<table[\s>]/i.test(r))return r;let n=(0,By.createDocument)(r);for(let o of Array.from(n.querySelectorAll("table"))){let a=mi(o);Na(a)&&Ro(o,a,!0)}let i=n.body.innerHTML;for(let o of Array.from(n.querySelectorAll("table a[href]"))){let a=new Jr("link_open","a",1);a.attrs=Array.from(o.attributes).map(c=>[c.name,c.value]);let s=Ir.renderer.rules.link_open([a],0,Ir.options,{},Ir.renderer),u=Ir.renderer.rules.link_close([new Jr("link_close","a",-1)],0,Ir.options,{},Ir.renderer);i=i.replace(o.outerHTML,s+o.innerHTML+u)}for(let o of Array.from(n.querySelectorAll("table img[src]"))){let a=new Jr("image","img",0);a.attrs=Array.from(o.attributes).map(u=>[u.name,u.value]);let s=o.getAttribute("width")??o.getAttribute("style")?.match(/(?:^|;)\s*width:\s*(\d+(?:\.\d+)?)px/i)?.[1];s&&/^\d+$/.test(s)&&a.attrSet("title",`width=${s}`),i=i.replace(o.outerHTML,Ir.renderer.rules.image([a],0,Ir.options,{},Ir.renderer))}for(let o of Array.from(n.querySelectorAll("col, br, hr, img, input, wbr")))i=i.split(o.outerHTML).join(o.outerHTML.slice(0,-1)+" />");return i+`
102
+ `};function qy(e,t){let r=e.split(`
103
+ `),n=r.findIndex(o=>/^#\s+/.test(o));if(n===-1)return{title:t,body:e};let i=r[n].replace(/^#\s+/,"").trim();return r.splice(n,1),{title:i,body:r.join(`
104
+ `)}}function Wy(e,t,r,n,i={}){Pa=n,je={...$y(),rewriteHref:i.rewriteHref,fileDir:(0,Or.dirname)(t)==="."?"":(0,Or.dirname)(t),titleIndex:r,anchorIndex:i.anchorIndex??{},selfRel:t,selfTitle:i.title??"",anchorNames:i.anchorNames??new Set,bodySlugs:i.bodySlugs??[]};let o=i.resolveLink?pl(e,i.resolveLink):e;return{storage:ky(Ir.render(o,{legacyCallouts:i.legacyCallouts})),images:je.images,attachments:je.attachments,internalLinks:je.internalLinks,anchorLinks:je.anchorLinks,anchorsPlaced:je.anchorsPlaced,deadAnchors:je.deadAnchors,linkedTitles:[...je.linkedTitles]}}function Nt(e,t){let r=[e,Ty(t.storage)];for(let n of t.attachments){let i="missing";try{J(n.abs)&&(i=Ne("sha256").update(ie(n.abs)).digest("hex"))}catch{}r.push(`${n.filename}:${i}`)}return Hy(r.join("\0"))}var vT=e=>e.startsWith(".")||e==="node_modules";function Pp(e,t){let r=[];for(let n of mn(e,{withFileTypes:!0})){let i=(0,Nr.join)(e,n.name);n.isDirectory()?vT(n.name)||r.push(...Pp(i,t)):n.isFile()&&t(n.name)&&r.push(i)}return r}var jy=e=>e.toLowerCase().endsWith(".md");function hr(e){return Pp(e,jy)}function Ba(e){return Pp(e,t=>!jy(t))}function ru(e,t){let{data:r,body:n}=It(ie((0,Nr.resolve)(e,t),"utf8")),i=gi(n),o=eu(n),{title:a,body:s}=qy(n,(0,Nr.basename)(t).replace(/\.md$/i,"")),u=i.findIndex(c=>c.level===1);return{title:(r.title||a).trim(),body:s,fm:r,anchors:o,bodySlugs:i.filter((c,l)=>l!==u).map(c=>c.slug),linkAnchors:ly(n)}}function Vy(e,t){let r={},n={},i={};for(let o of e){let a=ru(t,o);r[o]=a.title,n[o]=a.anchors,i[o]=a}return{titles:r,anchors:n,docs:i}}function ST(e,t){let r=(e?`${e}/${t}`:t).split("/"),n=[];for(let i of r)if(!(i===""||i==="."))if(i===".."){if(!n.length)return null;n.pop()}else n.push(i);return n.join("/")}function zy(e,t,r){let n={};for(let[i,o]of Object.entries(e)){let a=(0,Nr.dirname)(i)==="."?"":(0,Nr.dirname)(i);for(let s of o.linkAnchors){let u,c;s.wiki?(u=s.dest===""?i:t.notes[s.dest.toLowerCase().replace(/\.md$/i,"")]??null,c=ul(s.fragment)):(u=s.dest===""?i:ST(a,Vi(s.dest)),u&&!/\.md$/i.test(u)&&(u=null),c=Vi(s.fragment).toLowerCase()),r&&s.dest&&(u=r(i,s.dest,s.wiki)),!(!u||!c)&&e[u]?.anchors.has(c)&&(n[u]??=new Set).add(c)}}return n}function Ha(e,t){let r=(n,i)=>{let o={};for(let a of[...n].sort()){let s=i?a.replace(/\.md$/i,""):a;for(let u of[s,(0,Nr.basename)(s)]){let c=u.toLowerCase();c in o||(o[c]=a)}}return o};return{notes:r(e,!0),assets:r(t,!1)}}function ml(e,t){let r=(0,Nr.dirname)(e)==="."?"":(0,Nr.dirname)(e);return(n,i)=>{let o=n.toLowerCase().replace(/\.md$/i,""),a=i?t.assets[n.toLowerCase()]??t.notes[o]:t.notes[o]??t.assets[n.toLowerCase()];return a&&(0,Nr.relative)(r||".",a).split("\\").join("/")||null}}var Bp=e=>/README\.md$/.test(e);function Fo(e){let t={};for(let r of e){let n=r.split("/");Bp(n[n.length-1])&&(t[n.slice(0,-1).join("/")]=r)}return t}var Fp=e=>e.includes("/")?e.slice(0,e.lastIndexOf("/")):"";function hl(e,t){return e===""?null:t[e]??`${e}/`}function Ji(e,t){let r=e.split("/"),n=r.slice(0,-1).join("/");return Bp(r[r.length-1])?hl(Fp(n),t):hl(n,t)}function Ky(e){let t=e.split("/"),r=t[t.length-1],n=t.slice(0,-1).join("/"),i=Bp(r)?"":r;return n===""?i:n+"/"+i}function Jy(e){return[...e].sort((t,r)=>{let n=Ky(t),i=Ky(r);return n<i?-1:n>i?1:0})}function Gy(e,t,r){let n=new Set;for(let i of t){let o=(0,Nr.resolve)(r,i),a=(0,Nr.relative)(r,o).split("\\").join("/");if(a.startsWith("..")){console.error(` \u26A0 base \uBC16 \uACBD\uB85C \uBB34\uC2DC: ${i}`);continue}let s=e.filter(u=>!a||u===a||u.startsWith(a+"/"));s.length===0&&console.error(` \u26A0 \uB9E4\uCE6D\uB418\uB294 \uBB38\uC11C \uC5C6\uC74C: ${i}`),s.forEach(u=>n.add(u))}return[...n]}function Xy(e,t){let r=new Set(e);for(let n of e){let i=Fp(n);for(;i!=="";)t[i]&&r.add(t[i]),i=Fp(i)}return[...r]}p();p();p();var Sn=()=>{};p();$e();var Fr=ce(Ke(),1);Wt();p();$e();var Rt=ce(Ke(),1),aw=ce(Po(),1);p();$e();var $a=ce(Ke(),1),An=".csync",rw=".csync/mapping.json",nw=".csync/workspace.json",iw=".csync/ignore",Up={mapping:[rw,".confluence-sync.json"],workspace:[nw,".confluence-workspace.json"],ignore:[iw,".confluence-syncignore"]};function qp(e,t){let r=(0,$a.join)(e,An);if(J(r)&&(!ct(r).isDirectory()||ct(r).isSymbolicLink()))throw new Error(`\uBA54\uD0C0\uB370\uC774\uD130 \uD3F4\uB354\uAC00 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4: ${r}`);let[n,i]=Up[t].map(o=>(0,$a.join)(e,o));for(let o of[n,i])if(J(o)&&(!ct(o).isFile()||ct(o).isSymbolicLink()))throw new Error(`\uBA54\uD0C0\uB370\uC774\uD130 \uD30C\uC77C\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4: ${o}`);if(J(n)&&J(i)&&!ie(n).equals(ie(i)))throw new Error(`\uAE30\uC874\xB7\uC0C8 \uBA54\uD0C0\uB370\uC774\uD130\uAC00 \uCDA9\uB3CC\uD569\uB2C8\uB2E4: ${i}, ${n}. \uC0AC\uC6A9\uD560 \uAE30\uC900\uC744 \uBA3C\uC800 \uC815\uB9AC\uD558\uC138\uC694.`);return J(n)||!J(i)?n:i}var Kt=e=>qp(e,"mapping"),Bo=e=>qp(e,"workspace"),ow=e=>qp(e,"ignore");function Wp(e){return J((0,$a.join)(e,An))||["mapping","workspace"].some(t=>J((0,$a.join)(e,Up[t][1])))}function xl(e){return Object.values(Up).flatMap(t=>t.map(r=>(0,$a.join)(e,r)))}function ot(e,t){let r=(0,Rt.relative)(e,t);return!(0,Rt.isAbsolute)(r)&&r!==".."&&!r.startsWith(`..${y.platform==="win32"?"\\":"/"}`)}function Kp(e){for(let t=(0,Rt.resolve)(e);;t=(0,Rt.dirname)(t)){if(Wp(t))return t;if((0,Rt.dirname)(t)===t)return}}function Vn(e){if(e)return(0,Rt.resolve)(e);if(y.env.CONFLUENCE_SYNC_BASE)return(0,Rt.resolve)(y.env.CONFLUENCE_SYNC_BASE);let t=Kp(y.cwd());if(t)return t;let r=(0,Rt.join)(y.cwd(),".env"),n=J(r)?(0,aw.parse)(ie(r)).CONFLUENCE_SYNC_BASE:void 0;return n?(0,Rt.resolve)(n):void 0}function dt(e){let t=Bo(e);if(!J(t))return{version:1};let r=JSON.parse(ie(t,"utf8"));if(!r||![1,2].includes(r.version)||r.syncPaths!==void 0&&(!Array.isArray(r.syncPaths)||!r.syncPaths.length||r.syncPaths.some(n=>typeof n!="string"||!n))||r.root!==void 0&&(!r.root||typeof r.root.id!="string"||!r.root.id||!["page","folder"].includes(r.root.type)||typeof r.root.baseUrl!="string"||typeof r.root.spaceKey!="string"))throw new Error(`\uC798\uBABB\uB41C \uC791\uC5C5\uACF5\uAC04 \uC124\uC815: ${t}`);r.scope?.id&&(r.remoteRoot=r.scope,delete r.scope);for(let n of r.syncPaths??[])if(Ua(e,n)!==n)throw new Error(`\uAD00\uB9AC \uBC94\uC704\uB294 \uC815\uADDC\uD654\uB41C \uC0C1\uB300 \uACBD\uB85C\uC5EC\uC57C \uD569\uB2C8\uB2E4: ${n}`);if(r.scopeCheckRequired!==void 0&&typeof r.scopeCheckRequired!="boolean")throw new Error("\uC798\uBABB\uB41C \uC2A4\uCF54\uD504 \uAC80\uC99D \uC124\uC815\uC785\uB2C8\uB2E4.");if(r.connection&&(typeof r.connection.baseUrl!="string"||typeof r.connection.spaceKey!="string"))throw new Error("\uC798\uBABB\uB41C \uC5F0\uACB0 \uC124\uC815\uC785\uB2C8\uB2E4.");if(r.scope&&(!["file","folder"].includes(r.scope.type)||typeof r.scope.path!="string"||Ua(e,r.scope.path)!==r.scope.path))throw new Error("\uB85C\uCEEC \uC2A4\uCF54\uD504\uAC00 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uAE30\uC900 \uD3F4\uB354 \uC548\uC758 \uD30C\uC77C\xB7\uD3F4\uB354\uB97C \uC9C0\uC815\uD558\uC138\uC694.");if(r.version===2&&(!r.remoteRoot||typeof r.remoteRoot.id!="string"||!r.remoteRoot.id||!["page","folder"].includes(r.remoteRoot.type)||typeof r.remoteRoot.path!="string"||!r.remoteRoot.path.startsWith("/")||!r.connection?.baseUrl||!r.connection.spaceKey||!r.connection.spaceId||!r.connection.homepageId))throw new Error("\uC2A4\uD398\uC774\uC2A4 \uC5F0\uACB0\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. csync init --connect\uB85C \uB2E4\uC2DC \uC5F0\uACB0\uD558\uC138\uC694.");return delete r.scope,delete r.syncPaths,r}function jp(e,t){let r=Bo(e);Re((0,Rt.dirname)(r),{recursive:!0}),it(r,JSON.stringify(t,null,2)+`
105
+ `)}function Ua(e,t){let r=(0,Rt.resolve)(e,t);if(!ot(e,r))throw new Error(`\uAD00\uB9AC \uBC94\uC704\uAC00 \uC791\uC5C5\uACF5\uAC04 \uBC16\uC785\uB2C8\uB2E4: ${t}`);let n=r;for(;!J(n)&&(0,Rt.dirname)(n)!==n;)n=(0,Rt.dirname)(n);if(J(e)&&!ot(lt(e),lt(n)))throw new Error(`\uAD00\uB9AC \uBC94\uC704\uAC00 \uC791\uC5C5\uACF5\uAC04 \uBC16\uC785\uB2C8\uB2E4: ${t}`);return(0,Rt.relative)(e,r).split("\\").join("/")||"."}function mr(e,t){return t.version===2&&!!t.remoteRoot&&!!t.connection}function jt(e){if(e.version!==2||!e.remoteRoot||!e.connection)throw new Error("\uC2A4\uD398\uC774\uC2A4 \uC5F0\uACB0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. csync init --connect\uB85C \uAE30\uC900 \uD3F4\uB354\uB97C \uC5F0\uACB0\uD558\uAC70\uB098 \uCD5C\uCD08 Pull\uC744 \uC2E4\uD589\uD558\uC138\uC694.");return e.remoteRoot}function zn(e,t){let r=e.connection;if(r&&(r.baseUrl.replace(/\/$/,"")!==t.baseUrl?.replace(/\/$/,"")||r.spaceKey!==t.spaceKey))throw new Error("\uC791\uC5C5\uACF5\uAC04\uC758 Confluence \uC0AC\uC774\uD2B8\xB7\uC2A4\uD398\uC774\uC2A4\uAC00 \uD604\uC7AC \uC124\uC815\uACFC \uB2E4\uB985\uB2C8\uB2E4.")}function Lt(e,t){for(let r=(0,Rt.dirname)((0,Rt.resolve)(e,t));r!==e&&ot(e,r);r=(0,Rt.dirname)(r))if(Wp(r))return!0;return!1}function sw(e=[]){let t=e.filter(r=>r.previousPath&&r.previousPath!==r.path).map(r=>({from:r.previousPath,to:r.path,pageId:r.pageId})).sort((r,n)=>r.from.length-n.from.length);return t.filter(r=>!t.some(n=>n!==r&&r.from.startsWith(n.from)&&r.to===n.to+r.from.slice(n.from.length)))}function uw(e,t){let r=t.find(n=>e.startsWith(n.from));return r?r.to+e.slice(r.from.length):e}function Vp(e,t){let r=(0,Fr.resolve)(e,t),n=[],i=o=>{let a=ct(o);if(a.isSymbolicLink())throw Error(`\uD3F4\uB354 \uC774\uB3D9 \uC911 \uC2EC\uBCFC\uB9AD \uB9C1\uD06C\uB294 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4: ${t}`);if(a.isDirectory()){n.push([(0,Fr.relative)(r,o),"directory"]);for(let s of mn(o).sort()){if([".csync",".git",".confluence-workspace.json",".confluence-sync.json"].includes(s))throw Error(`\uBCC4\uB3C4 \uC791\uC5C5\uACF5\uAC04\uC774 \uC788\uB294 \uD3F4\uB354\uB294 \uC790\uB3D9 \uC774\uB3D9\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4: ${t}`);i((0,Fr.join)(o,s))}}else if(a.isFile())n.push([(0,Fr.relative)(r,o),Ne("sha256").update(ie(o)).digest("hex")]);else throw Error(`\uC77C\uBC18 \uD30C\uC77C\uC774 \uC544\uB2CC \uD56D\uBAA9\uC774 \uC788\uC5B4 \uD3F4\uB354\uB97C \uC774\uB3D9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: ${t}`)};return i(r),Ne("sha256").update(JSON.stringify(n)).digest("hex")}function zp(e,t){let r=(0,Fr.resolve)(e,t.from),n=(0,Fr.resolve)(e,t.to);if(!ot(e,r)||!ot(e,n)||r===(0,Fr.resolve)(e)||n===(0,Fr.resolve)(e)||ot(r,n)||ot(n,r))throw Error(`\uC548\uC804\uD558\uC9C0 \uC54A\uC740 \uD3F4\uB354 \uC774\uB3D9: ${t.from} \u2192 ${t.to}`);if(!J(r)||!ct(r).isDirectory()||ct(r).isSymbolicLink())throw Error(`\uC774\uB3D9\uD560 \uB85C\uCEEC \uD3F4\uB354\uB97C \uD655\uC778\uD558\uC138\uC694: ${t.from}`);if(J(n))throw Error(`\uD3F4\uB354 \uC774\uB3D9 \uB300\uC0C1 \uACBD\uB85C\uAC00 \uC774\uBBF8 \uC874\uC7AC\uD569\uB2C8\uB2E4: ${t.to}`);for(let i=(0,Fr.dirname)(n);ot(e,i);i=(0,Fr.dirname)(i)){if(J(i)&&(!ct(i).isDirectory()||ct(i).isSymbolicLink()))throw Error(`\uD3F4\uB354 \uC774\uB3D9 \uB300\uC0C1\uC758 \uC0C1\uC704 \uACBD\uB85C\uB97C \uD655\uC778\uD558\uC138\uC694: ${t.to}`);if(i===(0,Fr.resolve)(e))break}}async function cw(e,t,r){for(let n=0;n<t.length;n+=100){let i=t.slice(n,n+100),o=new Map(i.map(c=>[c.pageId,r.find(l=>l.pageId===c.pageId)])),a=new URLSearchParams({cql:`id in (${i.map(c=>c.pageId).join(",")})`,expand:"ancestors,space",limit:"100"}),s=await e.api("/rest/api/content/search?"+a);if(!Array.isArray(s?.results)||s.results.length!==o.size)throw Error("\uC774\uB3D9\uD560 \uC6D0\uACA9 \uD3F4\uB354\uB97C \uB2E4\uC2DC \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB85C\uCEEC \uD3F4\uB354\uB294 \uC720\uC9C0\uD569\uB2C8\uB2E4.");let u=new Set;for(let c of s.results){let l=String(c?.id),d=c?.ancestors?.at(-1)?.id;if(!o.has(l)||u.has(l)||c.type!=="folder"||d==null||String(d)!==o.get(l)?.parentId||c.title!==o.get(l)?.title)throw Error("\uAC00\uC838\uC624\uAE30 \uB3C4\uC911 \uC6D0\uACA9 \uD3F4\uB354 \uC704\uCE58\uAC00 \uBC14\uB00C\uC5C8\uAC70\uB098 \uC774\uB984\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. Fetch \uD6C4 \uB2E4\uC2DC \uD655\uC778\uD558\uC138\uC694.");u.add(l)}}}p();p();$e();Wt();var lw=ce(Ke(),1);function gr(e){let t;try{t=JSON.parse(ie(e,"utf8"))}catch(n){if(n.code==="ENOENT")return{};throw new Error(`\uB9E4\uD551 \uD30C\uC77C\uC744 \uC77D\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: ${e}`)}if(!t||typeof t!="object"||Array.isArray(t)||Object.values(t).some(n=>!n||typeof n.pageId!="string"||!n.pageId||n.sourceObject!==void 0&&(typeof n.sourceObject!="string"||!/^[a-f0-9]{64}$/.test(n.sourceObject))||n.localHash!==void 0&&(typeof n.localHash!="string"||!/^[a-f0-9]{64}$/.test(n.localHash))||n.remoteParentId!==void 0&&(typeof n.remoteParentId!="string"||!n.remoteParentId)||n.remoteVersion!==void 0&&(!Number.isInteger(n.remoteVersion)||n.remoteVersion<1)))throw new Error(`\uC798\uBABB\uB41C \uB9E4\uD551 \uD30C\uC77C: ${e}`);let r=Object.values(t).map(n=>n.pageId);if(new Set(r).size!==r.length)throw new Error(`\uB9E4\uD551 pageId \uC911\uBCF5: ${e}`);return t}function Jn(e,t){Re((0,lw.dirname)(e),{recursive:!0});let r=`${e}.${Sr()}.tmp`;try{it(r,JSON.stringify(t,null,2)+`
106
+ `,{flag:"wx",mode:384}),nn(r,e)}finally{Gt(r,{force:!0})}}$e();p();$e();var r3=ce(Ke(),1);p();p();p();p();p();function fw(){if(typeof navigator<"u"&&navigator.product==="ReactNative")return!0;if(typeof y<"u"){let e=y.type;return e==="renderer"||e==="worker"?!1:!!(y.versions&&y.versions.node)}return!1}var R_=ce(pw(),1);p();var hw={toWeb(){throw new Error("Vercel Blob: Sorry, we cannot get a Readable stream in this environment. If you see this message please open an issue here: https://github.com/vercel/storage/ with details on your environment.")}};var O_=ce(h_(),1),H_=ce(E_(),1);p();var as=globalThis.fetch.bind(globalThis);var j_=ce(Kh(),1),G_=ce(Kh(),1),dC=new Promise(e=>{try{let t=new Uint8Array([104,101,108,108,111]);new Blob([t]).text().then(n=>{e(n==="hello")}).catch(()=>{e(!1)})}catch{e(!1)}});async function L_(e){if(e instanceof ReadableStream)return e;if(e instanceof Blob)return e.stream();if(M_(e))return hw.toWeb(e);let t;return e instanceof ArrayBuffer?t=new Uint8Array(e):hC(e)?t=e:t=pC(e),await dC?new Blob([t]).stream():new ReadableStream({start(r){r.enqueue(t),r.close()}})}function M_(e){return typeof e=="object"&&typeof e.pipe=="function"&&e.readable&&typeof e._read=="function"&&typeof e._readableState=="object"}function pC(e){return new TextEncoder().encode(e)}function hC(e){return(0,R_.default)(e)}async function mC(){try{let e=(await(0,O_.getVercelOidcToken)()).trim();return e===""?void 0:e}catch{return}}var gC=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i,xC={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:1024**4,pb:1024**5};function cn(e){if(typeof e=="number"&&!Number.isNaN(e))return e;if(typeof e!="string")return null;let t=gC.exec(e),r,n="b";if(!t)r=parseInt(e,10);else{let[,i,,,o]=t;if(!i)return null;r=parseFloat(i),o&&(n=o.toLowerCase())}return Number.isNaN(r)?null:Math.floor(xC[n]*r)}var bC="https://vercel.com/api/blob";function v_(e){try{let t=y.env[e];return typeof t=="string"&&t.trim()!==""?t.trim():void 0}catch{return}}function jh(e){let[,,,t=""]=e.split("_");return t}function yC(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r=4-t.length%4;if(r!==4&&(t+="=".repeat(r)),typeof atob=="function")return atob(t);if(typeof E.Buffer<"u")return E.Buffer.from(t,"base64").toString("utf8");throw new ge("Cannot decode base64: no atob or Buffer available.")}function wC(e){let t=e.indexOf(".");if(t<0)throw new ge("Invalid delegation token format.");let r=e.slice(0,t),n;try{n=JSON.parse(yC(r))}catch{throw new ge("Invalid delegation token payload.")}if(!n.storeId||typeof n.storeId!="string")throw new ge("Delegation token payload is missing `storeId`.");return Vh(n.storeId)}function Vh(e){return e.startsWith("store_")?e.slice(6):e}async function EC(e){var t,r;if(e?.presignedUrlPayload)return{kind:"presigned",storeId:wC(e.presignedUrlPayload.delegationToken)};if(e?.token){let a=jh(e.token);return{kind:"readWrite",token:e.token,storeId:a}}let n=(t=e?.oidcToken)==null?void 0:t.trim(),i=n||await mC();if(i){let a=(r=e?.storeId)==null?void 0:r.trim();if(a)return{kind:"oidc",token:i,storeId:Vh(a)};let s=v_("BLOB_STORE_ID");if(s)return{kind:"oidc",token:i,storeId:Vh(s)};if(n)throw new ge("oidcToken was passed, but no storeId was found. Pass a `storeId` option or set `BLOB_STORE_ID` to use OIDC auth")}let o=v_("BLOB_READ_WRITE_TOKEN");if(o){let a=jh(o);return{kind:"readWrite",token:o,storeId:a}}throw new ge("No blob credentials found. Pass a `token` option, set `BLOB_READ_WRITE_TOKEN`, or use `oidcToken` (or `VERCEL_OIDC_TOKEN`) with `storeId` or `BLOB_STORE_ID`.")}var ge=class extends Error{constructor(e){super(`Vercel Blob: ${e}`)}};function Xh(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var _C=["//"],F_=(()=>{if(fw())return!0;if(zh().startsWith("http://localhost"))return!1;let t=!1,r=new Request(zh(),{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!r})();function vC(){try{return y.env.VERCEL_BLOB_API_URL||y.env.NEXT_PUBLIC_VERCEL_BLOB_API_URL||null}catch{return null}}function zh(e=""){var t;return`${(t=vC())!=null?t:bC}${e}`}var S_=typeof TextEncoder=="function"?new TextEncoder:null;function r0(e){return e?typeof e=="string"?S_?S_.encode(e).byteLength:new Blob([e]).size:"byteLength"in e&&typeof e.byteLength=="number"?e.byteLength:"size"in e&&typeof e.size=="number"?e.size:0:0}var SC=(e,t)=>{let r=new Uint8Array(0);return new TransformStream({transform(n,i){let o=new Uint8Array(r.length+n.byteLength);for(o.set(r),o.set(new Uint8Array(n),r.length),r=o;r.length>=e;){let a=r.slice(0,e);i.enqueue(a),t?.(a.byteLength),r=r.slice(e)}},flush(n){r.length>0&&(n.enqueue(r),t?.(r.byteLength))}})};function P_(e){return globalThis.ReadableStream&&e instanceof ReadableStream}function B_(e){return!!(P_(e)||M_(e))}var AC=(e,t)=>{let r=new URL(e);for(let[n,i]of Object.entries(t.params))r.searchParams.set(n,i);return r.searchParams.set("vercel-blob-delegation",t.delegationToken),r.searchParams.set("vercel-blob-signature",t.signature),r.toString()};var $_=!1,A_,k_;try{((A_=y.env.DEBUG)!=null&&A_.includes("blob")||(k_=y.env.NEXT_PUBLIC_DEBUG)!=null&&k_.includes("blob"))&&($_=!0)}catch{}function Kr(e,...t){$_&&console.debug(`vercel-blob: ${e}`,...t)}var T_,kC=(T_=globalThis.DOMException)!=null?T_:(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})(),TC=Object.prototype.toString,CC=e=>TC.call(e)==="[object Error]",DC=new Set(["network error","Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Load failed","Network request failed","fetch failed","terminated"]);function IC(e){return e&&CC(e)&&e.name==="TypeError"&&typeof e.message=="string"?e.message==="Load failed"?e.stack===void 0:DC.has(e.message):!1}var U_=typeof as=="function",NC=U_&&F_,RC=64*1024,C_=async({input:e,init:t,onUploadProgress:r})=>{Kr("using fetch");let n;if(t.body)if(r){let o=await L_(t.body),a=0,s=SC(RC,u=>{a+=u,r(a)});n=o.pipeThrough(s)}else n=t.body;let i=F_&&n&&B_(n)?"half":void 0;return as(e,{...t,...t.body?{body:n}:{},duplex:i})},D_=typeof XMLHttpRequest<"u",I_=async({input:e,init:t,onUploadProgress:r})=>{Kr("using xhr");let n=null;return t.body&&(P_(t.body)?n=await new Response(t.body).blob():n=t.body),new Promise((i,o)=>{let a=new XMLHttpRequest;if(a.open(t.method||"GET",e.toString(),!0),r&&a.upload.addEventListener("progress",s=>{s.lengthComputable&&r(s.loaded)}),a.onload=()=>{var s;if((s=t.signal)!=null&&s.aborted){o(new DOMException("The user aborted the request.","AbortError"));return}let u=new Headers;a.getAllResponseHeaders().trim().split(/[\r\n]+/).forEach(d=>{let m=d.split(": "),f=m.shift(),h=m.join(": ");f&&u.set(f.toLowerCase(),h)});let l=new Response(a.response,{status:a.status,statusText:a.statusText,headers:u});i(l)},a.onerror=()=>{o(new TypeError("Network request failed"))},a.ontimeout=()=>{o(new TypeError("Network request timed out"))},a.onabort=()=>{o(new DOMException("The user aborted a request.","AbortError"))},t.headers&&new Headers(t.headers).forEach((u,c)=>{a.setRequestHeader(c,u)}),t.signal&&(t.signal.addEventListener("abort",()=>{a.abort()}),t.signal.aborted)){a.abort();return}a.send(n)})},LC=async({input:e,init:t,onUploadProgress:r})=>{if(r){if(NC)return C_({input:e,init:t,onUploadProgress:r});if(D_)return I_({input:e,init:t,onUploadProgress:r})}if(U_)return C_({input:e,init:t});if(D_)return I_({input:e,init:t});throw new Error("No request implementation available")},N_=950,MC=class extends ge{constructor(){super("Access denied, please provide a valid token for this resource.")}},OC=class extends ge{constructor(e){super(e??"OIDC is enabled for this project, but not for this token's environment.")}},FC=class extends ge{constructor(e){super(`Content type mismatch, ${e}.`)}},PC=class extends ge{constructor(e){super(`Pathname mismatch, ${e}. Check the pathname used in upload() or put() matches the one from the client token.`)}},BC=class extends ge{constructor(){super("Client token has expired.")}},HC=class extends ge{constructor(e){super(`File is too large, ${e}.`)}},$C=class extends ge{constructor(){super("This store does not exist.")}},UC=class extends ge{constructor(){super("This store has been suspended.")}},q_=class extends ge{constructor(){super("Unknown error, please visit https://vercel.com/help.")}},qC=class extends ge{constructor(){super("The requested blob does not exist")}},n0=class extends ge{constructor(){super("The blob service is currently not available. Please try again.")}},WC=class extends ge{constructor(e){super(`Too many requests please lower the number of concurrent requests ${e?` - try again in ${e} seconds`:""}.`),this.retryAfter=e??0}},KC=class extends ge{constructor(){super("The request was aborted.")}},jC=class extends ge{constructor(){super("Precondition failed: ETag mismatch.")}},VC=13;function zC(){let e=null;try{e=y.env.VERCEL_BLOB_API_VERSION_OVERRIDE||y.env.NEXT_PUBLIC_VERCEL_BLOB_API_VERSION_OVERRIDE}catch{}return`${e??VC}`}function JC(){try{let e=y.env.VERCEL_BLOB_RETRIES||"10";return parseInt(e,10)}catch{return 10}}function GC(e){let t=e.headers.get("retry-after");return new WC(t?parseInt(t,10):void 0)}async function XC(e){var t,r,n;let i,o;try{let s=await e.json();i=(r=(t=s.error)==null?void 0:t.code)!=null?r:"unknown_error",o=(n=s.error)==null?void 0:n.message}catch{i="unknown_error"}o?.includes("contentType")&&o.includes("is not allowed")&&(i="content_type_not_allowed"),o?.includes('"pathname"')&&o.includes("does not match the token payload")&&(i="client_token_pathname_mismatch"),o==="Token expired"&&(i="client_token_expired"),o?.includes("the file length cannot be greater than")&&(i="file_too_large"),o?.startsWith("OIDC is enabled for this project, but not for the")&&o.includes("environment.")&&(i="oidc_environment_not_allowed");let a;switch(i){case"store_suspended":a=new UC;break;case"forbidden":a=new MC;break;case"oidc_environment_not_allowed":a=new OC(o);break;case"content_type_not_allowed":a=new FC(o);break;case"client_token_pathname_mismatch":a=new PC(o);break;case"client_token_expired":a=new BC;break;case"file_too_large":a=new HC(o);break;case"not_found":a=new qC;break;case"client_token_not_allowed":a=new ge(o??"This operation is not available when using a client token. Use a read\u2013write or OIDC token on the server.");break;case"store_not_found":a=new $C;break;case"bad_request":a=new ge(o??"Bad request");break;case"service_unavailable":a=new n0;break;case"rate_limited":a=GC(e);break;case"precondition_failed":a=new jC;break;default:a=new q_;break}return{code:i,error:a}}async function xu(e,t,r){let n=zC(),i=await EC(r),o=i.kind==="presigned"?void 0:i.token,a=YC(),s=zh(e);r?.presignedUrlPayload&&(s=AC(s,r.presignedUrlPayload));let u=`${i.storeId}:${Date.now()}:${Math.random().toString(16).slice(2)}`,c=0,l=0,d=0,m=r?.onUploadProgress||ZC();t.body&&m&&(l=r0(t.body)),r?.onUploadProgress&&r.onUploadProgress({loaded:0,total:l,percentage:0});let f=await(0,H_.default)(async h=>{let b;try{b=await LC({input:s,init:{...t,headers:{"x-api-blob-request-id":u,"x-vercel-blob-store-id":i.storeId,"x-api-blob-request-attempt":String(c),"x-api-version":n,...m?{"x-content-length":String(l)}:{},...o!==void 0?{authorization:`Bearer ${o}`}:{},...a,...t.headers}},onUploadProgress:r?.onUploadProgress?k=>{var T;let v=l!==0?l:k;d=k;let C=l>0?Number((k/v*100).toFixed(2)):0;C===100&&l>0||(T=r.onUploadProgress)==null||T.call(r,{loaded:k,total:v,percentage:C})}:void 0})}catch(k){if(k instanceof kC&&k.name==="AbortError"){h(new KC);return}if(IC(k))throw k;if(k instanceof TypeError){h(k);return}throw k}if(b.ok)return b;let{code:w,error:D}=await XC(b);if(w==="unknown_error"||w==="service_unavailable"||w==="internal_server_error")throw D;h(D)},{retries:JC(),onRetry:h=>{h instanceof Error&&Kr(`retrying API request to ${e}`,h.message),c=c+1}});if(!f)throw new q_;return r?.onUploadProgress&&r.onUploadProgress({loaded:d,total:d,percentage:100}),await f.json()}function YC(){let e={};try{"VERCEL_BLOB_PROXY_THROUGH_ALTERNATIVE_API"in y.env&&y.env.VERCEL_BLOB_PROXY_THROUGH_ALTERNATIVE_API!==void 0?e["x-proxy-through-alternative-api"]=y.env.VERCEL_BLOB_PROXY_THROUGH_ALTERNATIVE_API:"NEXT_PUBLIC_VERCEL_BLOB_PROXY_THROUGH_ALTERNATIVE_API"in y.env&&y.env.NEXT_PUBLIC_VERCEL_BLOB_PROXY_THROUGH_ALTERNATIVE_API!==void 0&&(e["x-proxy-through-alternative-api"]=y.env.NEXT_PUBLIC_VERCEL_BLOB_PROXY_THROUGH_ALTERNATIVE_API)}catch{}return e}function ZC(){try{return y.env.VERCEL_BLOB_USE_X_CONTENT_LENGTH==="1"}catch{return!1}}var Jh={jpeg:"image/jpeg",png:"image/png",webp:"image/webp",avif:"image/avif"};function QC(e){if(typeof e!="object"||e===null)throw new ge("optimizeImage must be an object, see usage");let{width:t,quality:r,format:n}=e;if(!Number.isInteger(t)||t<1||t>8192)throw new ge("optimizeImage.width must be an integer between 1 and 8192");if(r!==void 0&&(!Number.isInteger(r)||r<1||r>100))throw new ge("optimizeImage.quality must be an integer between 1 and 100");if(n!==void 0&&!(n in Jh))throw new ge(`optimizeImage.format must be one of: ${Object.keys(Jh).join(", ")}`)}function eD(e){if(e&&e!=="application/octet-stream"&&!e.startsWith("image/"))throw new ge(`optimizeImage requires an image body, but the content type is "${e}"`)}function tD(e,t){var r;QC(t),e.set("width",String(t.width)),e.set("quality",String((r=t.quality)!=null?r:75)),t.format&&e.set("format",Jh[t.format])}var Vo={cacheControlMaxAge:"x-cache-control-max-age",addRandomSuffix:"x-add-random-suffix",allowOverwrite:"x-allow-overwrite",contentType:"x-content-type",access:"x-vercel-blob-access",ifMatch:"x-if-match"};function bu(e,t){let r={};if(r[Vo.access]=t.access,e.includes("contentType")&&t.contentType&&(r[Vo.contentType]=t.contentType),e.includes("addRandomSuffix")&&t.addRandomSuffix!==void 0&&(r[Vo.addRandomSuffix]=t.addRandomSuffix?"1":"0"),e.includes("ifMatch")&&t.ifMatch){if(t.allowOverwrite===!1)throw new ge("ifMatch and allowOverwrite: false are contradictory. ifMatch is used for conditional overwrites, which requires allowOverwrite to be true.");r[Vo.ifMatch]=t.ifMatch,e.includes("allowOverwrite")&&t.allowOverwrite===void 0&&(r[Vo.allowOverwrite]="1")}return e.includes("allowOverwrite")&&t.allowOverwrite!==void 0&&(r[Vo.allowOverwrite]=t.allowOverwrite?"1":"0"),e.includes("cacheControlMaxAge")&&t.cacheControlMaxAge!==void 0&&(r[Vo.cacheControlMaxAge]=t.cacheControlMaxAge.toString()),r}async function yu({pathname:e,options:t,extraChecks:r,getToken:n}){if(!e)throw new ge("pathname is required");if(e.length>N_)throw new ge(`pathname is too long, maximum length is ${N_}`);for(let i of _C)if(e.includes(i))throw new ge(`pathname cannot contain "${i}", please encode it if needed`);if(!t)throw new ge("missing options, see usage");if(t.access!=="public"&&t.access!=="private")throw new ge('access must be "private" or "public", see https://vercel.com/docs/vercel-blob');return r&&r(t),n&&(t.token=await n(e,t)),t}function W_({allowedOptions:e,getToken:t,extraChecks:r}){return async(n,i,o)=>{let a=await yu({pathname:n,options:o,extraChecks:r,getToken:t}),s=bu(e,a);return Yh({uploadId:a.uploadId,key:a.key,pathname:n,headers:s,options:a,parts:i})}}async function Yh({uploadId:e,key:t,pathname:r,parts:n,headers:i,options:o}){let a=new URLSearchParams({pathname:r});try{let s=await xu(`/mpu?${a.toString()}`,{method:"POST",headers:{...i,"content-type":"application/json","x-mpu-action":"complete","x-mpu-upload-id":e,"x-mpu-key":encodeURIComponent(t)},body:JSON.stringify(n),signal:o.abortSignal},o);return Kr("mpu: complete",s),s}catch(s){throw s instanceof TypeError&&(s.message==="Failed to fetch"||s.message==="fetch failed")?new n0:s}}function K_({allowedOptions:e,getToken:t,extraChecks:r}){return async(n,i)=>{let o=await yu({pathname:n,options:i,extraChecks:r,getToken:t}),a=bu(e,o),s=await Zh(n,a,o);return{key:s.key,uploadId:s.uploadId}}}async function Zh(e,t,r){Kr("mpu: create","pathname:",e);let n=new URLSearchParams({pathname:e});try{let i=await xu(`/mpu?${n.toString()}`,{method:"POST",headers:{...t,"x-mpu-action":"create"},signal:r.abortSignal},r);return Kr("mpu: create",i),i}catch(i){throw i instanceof TypeError&&(i.message==="Failed to fetch"||i.message==="fetch failed")?new n0:i}}function V_({allowedOptions:e,getToken:t,extraChecks:r}){return async(n,i,o)=>{let a=await yu({pathname:n,options:o,extraChecks:r,getToken:t}),s=bu(e,a);if(Xh(i))throw new ge("Body must be a string, buffer or stream. You sent a plain JavaScript object, double check what you're trying to upload.");return{etag:(await Qh({uploadId:a.uploadId,key:a.key,pathname:n,part:{blob:i,partNumber:a.partNumber},headers:s,options:a})).etag,partNumber:a.partNumber}}}async function Qh({uploadId:e,key:t,pathname:r,headers:n,options:i,internalAbortController:o=new AbortController,part:a}){var s,u,c;let l=new URLSearchParams({pathname:r}),d=xu(`/mpu?${l.toString()}`,{signal:o.signal,method:"POST",headers:{...n,"x-mpu-action":"upload","x-mpu-key":encodeURIComponent(t),"x-mpu-upload-id":e,"x-mpu-part-number":a.partNumber.toString()},body:a.blob},i);function m(){o.abort()}(s=i.abortSignal)!=null&&s.aborted?m():(u=i.abortSignal)==null||u.addEventListener("abort",m);let f=await d;return(c=i.abortSignal)==null||c.removeEventListener("abort",m),f}var z_=typeof window<"u"?6:8,Gh=8*1024*1024,gu=z_*Gh*2;function rD({uploadId:e,key:t,pathname:r,stream:n,headers:i,options:o,totalToLoad:a}){Kr("mpu: upload init","key:",t);let s=new AbortController;return new Promise((u,c)=>{let l=[],d=[],m=n.getReader(),f=0,h=!1,b=1,w=!1,D=0,k=!1,T=0,v=[],C=0,I,F={};o.onUploadProgress&&(I=(0,j_.default)(()=>{var N;let P=Object.values(F).reduce((R,M)=>R+M,0),_=a||P,H=a>0?Number(((P/a||P)*100).toFixed(2)):0;(N=o.onUploadProgress)==null||N.call(o,{loaded:P,total:_,percentage:H})},150)),j().catch(S);async function j(){for(Kr("mpu: upload read start","activeUploads:",f,"currentBytesInMemory:",`${cn(D)}/${cn(gu)}`,"bytesSent:",cn(T)),h=!0;D<gu&&!w;)try{let{value:N,done:P}=await m.read();if(P){k=!0,Kr("mpu: upload read consumed the whole stream"),v.length>0?(l.push({partNumber:b++,blob:new Blob(v,{type:"application/octet-stream"})}),G()):f===0&&(m.releaseLock(),u(d)),h=!1;return}D+=N.byteLength;let _=0;for(;_<N.byteLength;){let H=Gh-C,R=Math.min(_+H,N.byteLength),M=N.slice(_,R);v.push(M),C+=M.byteLength,_=R,C===Gh&&(l.push({partNumber:b++,blob:new Blob(v,{type:"application/octet-stream"})}),v=[],C=0,G())}}catch(N){S(N)}Kr("mpu: upload read end","activeUploads:",f,"currentBytesInMemory:",`${cn(D)}/${cn(gu)}`,"bytesSent:",cn(T)),h=!1}async function B(N){f++,Kr("mpu: upload send part start","partNumber:",N.partNumber,"size:",N.blob.size,"activeUploads:",f,"currentBytesInMemory:",`${cn(D)}/${cn(gu)}`,"bytesSent:",cn(T));try{let P=o.onUploadProgress?H=>{F[N.partNumber]=H.loaded,I&&I()}:void 0,_=await Qh({uploadId:e,key:t,pathname:r,headers:i,options:{...o,onUploadProgress:P},internalAbortController:s,part:N});if(Kr("mpu: upload send part end","partNumber:",N.partNumber,"activeUploads",f,"currentBytesInMemory:",`${cn(D)}/${cn(gu)}`,"bytesSent:",cn(T)),w)return;if(d.push({partNumber:N.partNumber,etag:_.etag}),D-=N.blob.size,f--,T+=N.blob.size,l.length>0&&G(),k){f===0&&(m.releaseLock(),u(d));return}h||j().catch(S)}catch(P){S(P)}}function G(){if(!w)for(Kr("send parts","activeUploads",f,"partsToUpload",l.length);f<z_&&l.length>0;){let N=l.shift();N&&B(N)}}function S(N){w||(w=!0,s.abort(),m.releaseLock(),N instanceof TypeError&&(N.message==="Failed to fetch"||N.message==="fetch failed")?c(new n0):c(N))}})}function J_({allowedOptions:e,getToken:t,extraChecks:r}){return async(n,i)=>{let o=await yu({pathname:n,options:i,extraChecks:r,getToken:t}),a=bu(e,o),s=await Zh(n,a,o);return{key:s.key,uploadId:s.uploadId,async uploadPart(u,c){if(Xh(c))throw new ge("Body must be a string, buffer or stream. You sent a plain JavaScript object, double check what you're trying to upload.");return{etag:(await Qh({uploadId:s.uploadId,key:s.key,pathname:n,part:{partNumber:u,blob:c},headers:a,options:o})).etag,partNumber:u}},async complete(u){return Yh({uploadId:s.uploadId,key:s.key,pathname:n,parts:u,headers:a,options:o})}}}}async function nD(e,t,r,n){Kr("mpu: init","pathname:",e,"headers:",r);let i={...n,onUploadProgress:void 0};if(n.maximumSizeInBytes!==void 0&&!B_(t)&&r0(t)>n.maximumSizeInBytes)throw new ge(`Body size of ${r0(t)} bytes exceeds the maximum allowed size of ${n.maximumSizeInBytes} bytes`);let o=await Zh(e,r,i),a=r0(t),s=await L_(t),u=await rD({uploadId:o.uploadId,key:o.key,pathname:e,stream:s,headers:r,options:n,totalToLoad:a});return await Yh({uploadId:o.uploadId,key:o.key,pathname:e,parts:u,headers:r,options:i})}function i0({allowedOptions:e,getToken:t,getPresignedUrlPayload:r,extraChecks:n}){return async function(o,a,s){var u;if(!a)throw new ge("body is required");if(Xh(a))throw new ge("Body must be a string, buffer or stream. You sent a plain JavaScript object, double check what you're trying to upload.");let c=await yu({pathname:o,options:s,extraChecks:n,getToken:t}),l=await r?.(o,c),d={...c,presignedUrlPayload:l},m=bu(e,c);if(c.optimizeImage){if(c.multipart===!0)throw new ge("optimizeImage cannot be combined with multipart uploads");eD((u=c.contentType)!=null?u:typeof Blob<"u"&&a instanceof Blob?a.type:void 0);let w=new URLSearchParams({pathname:o});tD(w,c.optimizeImage);let D=await xu(`/put-optimized?${w.toString()}`,{method:"POST",body:a,headers:m,signal:c.abortSignal},d);return{url:D.url,downloadUrl:D.downloadUrl,pathname:D.pathname,contentType:D.contentType,contentDisposition:D.contentDisposition,etag:D.etag}}if(c.multipart===!0)return nD(o,a,m,d);let f=c.onUploadProgress?(0,G_.default)(c.onUploadProgress,100):void 0,h=new URLSearchParams({pathname:o}),b=await xu(`/?${h.toString()}`,{method:"PUT",body:a,headers:m,signal:c.abortSignal},{...d,onUploadProgress:f});return{url:b.url,downloadUrl:b.downloadUrl,pathname:b.pathname,contentType:b.contentType,contentDisposition:b.contentDisposition,etag:b.etag}}}var $j=365*24*60*60;var Uj=new TextEncoder;Wt();function wu(e){return function(r){if(!r.token.startsWith("vercel_blob_client_"))throw new ge(`${e} must be called with a client token`);if(r.addRandomSuffix!==void 0||r.allowOverwrite!==void 0||r.cacheControlMaxAge!==void 0)throw new ge(`${e} doesn't allow \`addRandomSuffix\`, \`cacheControlMaxAge\` or \`allowOverwrite\`. Configure these options at the server side when generating client tokens.`)}}var lV=i0({allowedOptions:["contentType"],extraChecks:wu("client/`put`")}),fV=K_({allowedOptions:["contentType"],extraChecks:wu("client/`createMultipartUpload`")}),dV=J_({allowedOptions:["contentType"],extraChecks:wu("client/`createMultipartUpload`")}),pV=V_({allowedOptions:["contentType"],extraChecks:wu("client/`multipartUpload`")}),hV=W_({allowedOptions:["contentType"],extraChecks:wu("client/`completeMultipartUpload`")}),X_=i0({allowedOptions:["contentType"],extraChecks(e){if(e.handleUploadUrl===void 0)throw new ge("client/`upload` requires the 'handleUploadUrl' parameter");if(e.addRandomSuffix!==void 0||e.allowOverwrite!==void 0||e.cacheControlMaxAge!==void 0||e.ifMatch!==void 0)throw new ge("client/`upload` doesn't allow `addRandomSuffix`, `cacheControlMaxAge`, `allowOverwrite` or `ifMatch`. Configure these options at the server side when generating client tokens.")},async getToken(e,t){var r,n;return iD({handleUploadUrl:t.handleUploadUrl,pathname:e,clientPayload:(r=t.clientPayload)!=null?r:null,multipart:(n=t.multipart)!=null?n:!1,headers:t.headers})}}),mV=i0({allowedOptions:["contentType"],extraChecks(e){if(e.handleUploadUrl===void 0)throw new ge("client/`upload` requires the 'handleUploadUrl' parameter");if(e.addRandomSuffix!==void 0||e.allowOverwrite!==void 0||e.cacheControlMaxAge!==void 0||e.ifMatch!==void 0)throw new ge("client/`uploadPresigned` doesn't allow `addRandomSuffix`, `cacheControlMaxAge`, `allowOverwrite` or `ifMatch`. Configure these options at the server side when generating presigned URLs.")},async getPresignedUrlPayload(e,t){var r,n;return oD({pathname:e,handleUploadUrl:t.handleUploadUrl,clientPayload:(r=t.clientPayload)!=null?r:null,multipart:(n=t.multipart)!=null?n:!1,headers:t.headers})}});var Y_={generateClientToken:"blob.generate-client-token",generatePresignedUrl:"blob.generate-presigned-url",uploadCompleted:"blob.upload-completed"};async function iD(e){let{handleUploadUrl:t,pathname:r}=e,n=Q_(t)?t:Z_(t),i={type:Y_.generateClientToken,payload:{pathname:r,clientPayload:e.clientPayload,multipart:e.multipart}},o=await as(n,{method:"POST",body:JSON.stringify(i),headers:{"content-type":"application/json",...e.headers},signal:e.abortSignal});if(!o.ok)throw new ge("Failed to retrieve the client token");try{let{clientToken:a}=await o.json();return a}catch{throw new ge("Failed to retrieve the client token")}}async function oD(e){let{handleUploadUrl:t,pathname:r}=e,n=Q_(t)?t:Z_(t),i={type:Y_.generatePresignedUrl,payload:{pathname:r,clientPayload:e.clientPayload,multipart:e.multipart}},o=await as(n,{method:"POST",body:JSON.stringify(i),headers:{"content-type":"application/json",...e.headers},signal:e.abortSignal});if(!o.ok)throw new ge("Failed to retrieve the presigned URL");try{let{presignedUrlPayload:a}=await o.json();if(a)return a;throw new ge("Missing presignedUrlPayload")}catch(a){throw a instanceof ge?a:new ge("Failed to retrieve the presigned URL")}}function Z_(e){return new URL(e,location.href).href}function Q_(e){try{return!!new URL(e)}catch{return!1}}var aD=3*1024*1024;async function sD(e,t){let r=new TextEncoder().encode(e+`
107
+ `+t);return"csync-transfer/"+[...new Uint8Array(await crypto.subtle.digest("SHA-256",r))].map(i=>i.toString(16).padStart(2,"0")).join("")+"/"}function e3({fetch:e,origin:t,uploadFile:r=X_}){return async(n,i={})=>{let o=n instanceof Request?new Request(n,i):new Request(new URL(String(n),t),i);if(new URL(o.url).origin===t)return e(o);let a=o.method,s=o.headers.get("authorization")??"",u={"X-Csync-Target":o.url,"X-Csync-Method":a,Authorization:s};for(let l of["content-type","x-atlassian-token","accept"])o.headers.has(l)&&(u[l]=o.headers.get(l));let c=["GET","HEAD"].includes(a)?void 0:await o.arrayBuffer();if(c?.byteLength>aD){let l=await sD(s,o.url),d=l+crypto.randomUUID(),m=await r(d,new Blob([c],{type:o.headers.get("content-type")??"application/octet-stream"}),{access:"private",handleUploadUrl:t+"/api/blob-upload",multipart:!0,abortSignal:o.signal,clientPayload:JSON.stringify({target:o.url,authorization:s})});u["X-Csync-Upload"]=m.url,c=void 0}return e(t+"/api/confluence",{method:"POST",headers:u,body:c,signal:o.signal,credentials:"omit",redirect:"error"})}}var em,tm;function t3(e){em=e,tm=void 0}function ss(e,t){return em?em(e,t):(tm??=e3({fetch:globalThis.fetch.bind(globalThis),origin:globalThis.location.origin}),tm(e,t))}p();var uD=!y.env.NO_COLOR&&y.env.TERM!=="dumb"&&!y.argv.includes("--no-color")&&(y.env.FORCE_COLOR==="0"?!1:y.env.FORCE_COLOR?!0:y.stdout.isTTY===!0),vi=(e,t)=>r=>uD?`\x1B[${e}m${r}\x1B[${t}m`:String(r),zo=vi(1,22),xe=vi(2,22),Vt=vi(31,39),jr=vi(32,39),Qt=vi(33,39),SV=vi(34,39),AV=vi(35,39),Me=vi(36,39),Cn=vi(90,39);var Eu=class extends Error{constructor(r,n,i,o){super(`Confluence API ${r} ${o}
108
+ ${n}
109
+ ${i}`);this.status=r;this.responseBody=i}status;responseBody},_u=class extends Error{constructor(r,n,i){super(`download ${r} ${n}
110
+ ${i}`);this.status=r}status};function us(e,t){let r=()=>"Basic "+E.Buffer.from(`${e.email}:${e.token}`).toString("base64");async function n(S,N,P){let _=t.requestTimeoutMs?AbortSignal.timeout(t.requestTimeoutMs):void 0;try{let H=await ss(`${e.baseUrl}${S}`,{...N,..._?{signal:_}:{},headers:{Authorization:r(),"Content-Type":"application/json",Accept:"application/json",...N?.headers??{}}});if(!H.ok)throw new Eu(H.status,S,await H.text(),H.statusText);return P?.(H.headers),H.status===204?null:await H.json()}catch(H){throw _?.aborted?new Error(`Confluence \uBA54\uD0C0\uB370\uC774\uD130 \uC751\uB2F5 \uB300\uAE30 \uC2DC\uAC04\uC774 \uCD08\uACFC\uB418\uC5C8\uC2B5\uB2C8\uB2E4 (${t.requestTimeoutMs/1e3}\uCD08). \uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694. \uC694\uCCAD: ${S}`):H}}async function i(S,N=!1){let P=await ss(`${e.baseUrl}/api/v2/pages/${S}${N?"?body-format=storage":""}`,{headers:{Authorization:r(),Accept:"application/json"}});if(P.status===404)return null;if(!P.ok)throw new Error(`Confluence API ${P.status} ${P.statusText}
111
+ /api/v2/pages/${S}
112
+ ${await P.text()}`);return P.json()}async function o(S){return(await a(S)).id}async function a(S){let P=(await n(`/api/v2/spaces?keys=${encodeURIComponent(S)}`)).results?.[0];if(!P)throw new Error(`Space key '${S}' \uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.`);return{id:String(P.id),homepageId:P.homepageId?String(P.homepageId):void 0}}async function s(S,N){return(await n(`/rest/api/content/${S}/child/attachment?filename=${encodeURIComponent(N)}`))?.results?.[0]?.id??null}async function u(S,N,P){let _=ie(P);for(let H=0;H<3;H++){let R=await s(S,N);await m(S);let M=R?`/rest/api/content/${S}/child/attachment/${R}/data`:`/rest/api/content/${S}/child/attachment`,q=new FormData;q.append("file",new Blob([_]),N),q.append("minorEdit","true");let W=await ss(`${e.baseUrl}${M}`,{method:"POST",headers:{Authorization:r(),"X-Atlassian-Token":"nocheck"},body:q});if(W.ok)return;let V=await W.text();if(W.status===500&&/UnexpectedRollbackException|rollback-only/i.test(V)&&H<2){console.error(Qt(` \u21BB \uCCA8\uBD80 \uD2B8\uB79C\uC7AD\uC158 \uB864\uBC31, \uC7AC\uC2DC\uB3C4 ${H+1}/2: ${N}`)),await new Promise(be=>setTimeout(be,1e3*2**H));continue}let Ae=W.headers.get("atl-traceid")??W.headers.get("x-arequestid");throw new Error(`attachment ${W.status} ${W.statusText}
113
+ POST ${M}${Ae?`
114
+ traceId: ${Ae}`:""}
115
+ ${V}`)}}async function c(S,N,P){let _=0;for(let H of N){if(!J(H.abs)){console.error(Qt(` \u26A0 \uCCA8\uBD80 \uC5C6\uC74C: ${(0,r3.relative)(P,H.abs)}`));continue}try{await u(S,H.filename,H.abs),_++}catch(R){console.error(Vt(` \u2717 \uCCA8\uBD80 \uC5C5\uB85C\uB4DC \uC2E4\uD328 ${H.filename}`)+`
116
+ ${R.message}`)}}return _}let l=c;async function d(S){let N=await w(`/rest/api/content/${encodeURIComponent(S)}?expand=ancestors,space,version`);if(String(N.id)!==S||!["page","folder"].includes(N.type)||!N.space?.id||!Array.isArray(N.ancestors))throw new Error(`\uCF58\uD150\uCE20 \uC704\uCE58\uB97C \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: ${S}`);let P=N.parentId??N.ancestors.at(-1)?.id;return{id:String(N.id),title:N.title,type:N.type,spaceId:String(N.space.id),...P?{parentId:String(P)}:{},ancestors:N.ancestors.map(_=>({id:String(_.id),title:_.title}))}}async function m(S){if(!t.scope)return;let N=await d(S);if(N.spaceId!==t.scope.spaceId||!t.scope.spaceOnly&&N.id!==t.scope.id&&!N.ancestors.some(P=>P.id===t.scope.id))throw new Error(`\uC120\uD0DD\uD55C \uC6D0\uACA9 \uC2A4\uCF54\uD504 \uBC16\uC785\uB2C8\uB2E4: #${S}`);return N}async function f(S,N,P,_,H=!1){let R=S[P];if(!R?.pageId)return;let M=R.hash!==_||t.force||H;if(!M&&!t.verify&&!R.pendingMove&&!t.scope)return;await m(R.pageId);let q=await i(R.pageId);h(R,q,N,P,M||!!R.pendingMove)}function h(S,N,P,_,H){if(!N)throw new Error(`\uC6D0\uACA9 \uD398\uC774\uC9C0 #${S.pageId}\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4: ${_}. \uC790\uB3D9 \uC7AC\uC0DD\uC131\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.`);if(N.spaceId!==void 0&&String(N.spaceId)!==P)throw new Error(`\uD398\uC774\uC9C0 \uC2A4\uD398\uC774\uC2A4\uAC00 \uB2E4\uB985\uB2C8\uB2E4: ${_}`);if(H&&S.remoteParentId&&typeof N.parentId=="string"&&N.parentId!==S.remoteParentId)throw new Error(`\uC6D0\uACA9 \uC704\uCE58 \uCDA9\uB3CC: ${_} (\uAE30\uC900 \uBD80\uBAA8 #${S.remoteParentId}, \uD604\uC7AC #${N.parentId}) \u2014 pull\uB85C \uC6D0\uACA9 \uC704\uCE58\uB97C \uD655\uC778\uD558\uC138\uC694.`);if(S.remoteVersion===void 0){if(H)throw new Error(`\uC6D0\uACA9 \uBC84\uC804 \uAE30\uC900\uC774 \uC5C6\uC2B5\uB2C8\uB2E4: ${_}. \uB85C\uCEEC \uBCC0\uACBD\uC744 \uBCF4\uAD00\uD55C \uB4A4 pull\uB85C \uAE30\uC900\uC744 \uD655\uBCF4\uD558\uC138\uC694.`);return}if(N.version?.number!==S.remoteVersion)throw new Error(`\uC6D0\uACA9 \uBCC0\uACBD \uCDA9\uB3CC: ${_} (\uAE30\uC900 v${S.remoteVersion}, \uD604\uC7AC v${N.version?.number??"?"}) \u2014 pull\uB85C \uC6D0\uACA9 \uB0B4\uC6A9\uC744 \uD655\uC778\uD558\uC138\uC694.`)}async function b(S,N,P,_,H,R,M,q=!1){let W=S[P];if(W?.pageId){let be=W.hash!==R||t.force||q;if(!be&&!t.verify&&!W.pendingMove&&!t.scope)return"skipped";if(await m(W.pageId),W.pendingMove&&W.pageId===t.scope?.id)throw new Error("\uC2A4\uCF54\uD504 \uB8E8\uD2B8\uB294 \uC774\uB3D9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");let Y=await i(W.pageId,!!W.pendingMove);if(h(W,Y,N,P,be||!!W.pendingMove),Y){let K=!1;if(W.pendingMove){if(String(Y.spaceId)!==N)throw new Error("\uC774\uB3D9 \uB300\uC0C1 \uD398\uC774\uC9C0\uC758 \uC2A4\uD398\uC774\uC2A4\uAC00 \uC124\uC815\uACFC \uB2E4\uB985\uB2C8\uB2E4.");if((Y.parentId??void 0)!==M){let Je=M,L="append";if(!Je){if(Je=(await n(`/api/v2/spaces/${N}`)).homepageId,!Je)throw new Error("\uCD5C\uC0C1\uC704 \uC774\uB3D9 \uAE30\uC900 \uD648\uD398\uC774\uC9C0\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. \uC6D0\uACA9 \uC2A4\uCF54\uD504\uB97C \uB2E4\uC2DC \uC124\uC815\uD558\uC138\uC694.");let Se=await i(Je);if(!Se||Se.parentId||String(Se.spaceId)!==N)throw new Error("\uCD5C\uC0C1\uC704 \uC774\uB3D9 \uAE30\uC900 \uD648\uD398\uC774\uC9C0\uB97C \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");L="after"}if(Je===W.pageId)throw new Error("\uD398\uC774\uC9C0\uB97C \uC790\uAE30 \uC790\uC2E0 \uC544\uB798\uB85C \uC774\uB3D9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");let Z=Y.body?.storage?.value,he=Y.title;if(typeof Z!="string")throw new Error("\uC774\uB3D9 \uC804 \uC6D0\uACA9 \uBCF8\uBB38\uC744 \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");if(M&&await m(M),await n(`/rest/api/content/${W.pageId}/move/${L}/${Je}`,{method:"PUT"}),Y=await i(W.pageId,!0),Y?.body?.storage?.value!==Z||Y?.title!==he)throw new Error("\uC774\uB3D9 \uB3C4\uC911 \uC6D0\uACA9 \uBCF8\uBB38\xB7\uC81C\uBAA9\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBCF8\uBB38\uC744 \uB36E\uC5B4\uC4F0\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");if(!Y||(Y.parentId??void 0)!==M)throw new Error("\uC774\uB3D9 \uD6C4 \uBD80\uBAA8 \uC704\uCE58 \uAC80\uC99D\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC sync\uD558\uC138\uC694.");K=!0}}if(!be)return delete W.pendingMove,typeof Y.parentId=="string"&&(W.remoteParentId=Y.parentId),K&&Y.version?.number&&(W.remoteVersion=Y.version.number),K?"moved":"skipped";await m(W.pageId);let Ce=(Y.version?.number??1)+1;await n(`/api/v2/pages/${W.pageId}`,{method:"PUT",body:JSON.stringify({id:W.pageId,status:"current",title:_,body:{representation:"storage",value:H},version:{number:Ce,message:`sync from git: ${P}`}})});let at=typeof Y.parentId=="string"?Y.parentId:W.remoteParentId;return S[P]={pageId:W.pageId,title:_,hash:R,remoteVersion:Ce,...at?{remoteParentId:at}:{}},"updated"}}if(t.scope&&!M)throw new Error("\uC2A4\uCF54\uD504 \uC548\uC758 \uBD80\uBAA8\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4.");M&&await m(M);let V={spaceId:N,status:"current",title:_,body:{representation:"storage",value:H}};M&&(V.parentId=M);let Ae=await n("/api/v2/pages",{method:"POST",body:JSON.stringify(V)});return S[P]={pageId:Ae.id,title:_,hash:R,remoteVersion:Ae.version?.number??1,...M?{remoteParentId:M}:{}},"created"}async function w(S){return n(S)}async function D(S){let N=await w(`/rest/api/content/${S}?expand=body.export_view,body.storage,version`),P=N._links?.base,_=N._links?.webui;return{id:N.id,type:N.type??"page",title:N.title??S,html:N.body?.export_view?.value??"",storage:N.body?.storage?.value??"",url:P&&_?`${P}${_}`:void 0,updated:N.version?.when,...N.version?.number!==void 0?{version:N.version.number}:{}}}async function k(S,N){let P=[],_=`/rest/api/content/${S}/child/${N}?limit=100`;for(;_;){let H=await w(_);for(let M of H.results??[])P.push({id:String(M.id),title:M.title});let R=H._links?.next;_=R?R.startsWith("/")?R:`/${R}`:null}return P}let T=S=>k(S,"page"),v=S=>k(S,"folder");async function C(S){let N=[],P=`/rest/api/content/${S}/child/attachment?limit=100`;for(;P;){let _=await w(P);for(let R of _.results??[]){let M=R._links?.download;M&&N.push({filename:R.title,downloadPath:M})}let H=_._links?.next;P=H?H.startsWith("/")?H:`/${H}`:null}return N}async function I(S){let N=S.startsWith("http")?S:`${e.baseUrl}${S}`,P=await ss(N,{headers:{Authorization:r()}});if(!P.ok)throw new _u(P.status,P.statusText,S);return E.Buffer.from(await P.arrayBuffer())}async function F(S){let N=await ss(`${e.baseUrl}/rest/api/content/${S}`,{headers:{Authorization:r(),Accept:"application/json"}});if(N.status===404)return null;if(!N.ok)throw new Error(`Confluence API ${N.status} ${N.statusText}
117
+ /rest/api/content/${S}
118
+ ${await N.text()}`);return N.json()}async function j(S,N,P,_){let H=`type = folder AND space = ${JSON.stringify(N)} AND title = ${JSON.stringify(P)}`,R=`/rest/api/content/search?cql=${encodeURIComponent(H)}&limit=100`,M=new Set,q=new Set,W;for(;R;){let V=await w(R);for(let be of V.results??[]){if(be.type!=="folder"||be.title!==P)continue;let Y=await w(`/rest/api/content/${encodeURIComponent(be.id)}?expand=ancestors,space`);if(!Array.isArray(Y.ancestors)||!Y.space?.id)throw new Error(`\uD3F4\uB354 \uC704\uCE58 \uBA54\uD0C0\uB370\uC774\uD130\uB97C \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: ${be.id}`);if(Y.type!=="folder"||String(Y.space.id)!==S||Y.title!==P)continue;let K=Y.ancestors.at(-1)?.id;!_&&K&&W===void 0&&(W=String((await n(`/api/v2/spaces/${S}`)).homepageId??"")),K===_||!_&&K===W?M.add(String(Y.id)):q.add(K??"ROOT")}let Ae=V._links?.next;R=Ae?new URL(Ae,"https://pagination.invalid").pathname.replace(/^\/wiki(?=\/rest\/)/,"")+new URL(Ae,"https://pagination.invalid").search:null}if(M.size>1)throw new Error(`\uAC19\uC740 \uC704\uCE58\uC5D0 \uB3D9\uBA85 \uD3F4\uB354\uAC00 \uC5EC\uB7EC \uAC1C \uC788\uC2B5\uB2C8\uB2E4: ${P}`);if(!M.size&&q.size)throw new Error(`\uB3D9\uBA85 \uD3F4\uB354 '${P}'\uAC00 \uB2E4\uB978 \uC704\uCE58\uC5D0 \uC788\uC2B5\uB2C8\uB2E4 (\uD604\uC7AC \uBD80\uBAA8: ${[...q].join(", ")}, \uC694\uCCAD \uBD80\uBAA8: ${_??"ROOT/\uD648\uD398\uC774\uC9C0"}). \uBD80\uBAA8 \uC124\uC815 \uB610\uB294 \uD3F4\uB354 \uAD6C\uC870\uB97C \uD655\uC778\uD558\uC138\uC694.`);return[...M][0]??null}async function B(S,N,P){if(t.scope&&!P)throw new Error("\uC2A4\uCF54\uD504 \uC548\uC758 \uBD80\uBAA8\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4.");P&&await m(P);let _={spaceId:S,title:N};return P&&(_.parentId=P),(await n("/api/v2/folders",{method:"POST",body:JSON.stringify(_)})).id}async function G(S,N,P,_,H){if(_=_?.trim()||void 0,_&&await m(_),H&&await m(H),H){let M;try{M=await n(`/rest/api/content/${encodeURIComponent(H)}?expand=ancestors,space`)}catch(q){if(!(q instanceof Eu)||q.status!==404)throw q}if(M){if(!Array.isArray(M.ancestors)||!M.space?.id)throw new Error(`\uD3F4\uB354 \uC704\uCE58 \uBA54\uD0C0\uB370\uC774\uD130\uB97C \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: ${H}`);let q=M.ancestors.at(-1)?.id,W=!_&&q?String((await n(`/api/v2/spaces/${S}`)).homepageId??""):void 0;if(M.type!=="folder"||String(M.space.id)!==S||M.title!==P||!(q===_||!_&&q===W))throw new Error(`\uB9E4\uD551 \uD3F4\uB354 #${H}\uC758 \uC2A4\uD398\uC774\uC2A4\xB7\uC81C\uBAA9\xB7\uBD80\uBAA8\uAC00 '${P}'\uC758 \uC694\uCCAD \uC704\uCE58\uC640 \uB2E4\uB985\uB2C8\uB2E4.`);return{id:H,created:!1}}throw new Error(`\uB9E4\uD551 \uD3F4\uB354 #${H}\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. \uC790\uB3D9 \uC7AC\uC0DD\uC131\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.`)}let R=await j(S,N,P,_);if(R)return{id:R,created:!1};try{return{id:await B(S,P,_),created:!0}}catch(M){if(!(M instanceof Eu&&(M.status===409||M.status===400&&/folder exists with the same title/i.test(M.responseBody))))throw M;let W=await j(S,N,P,_);if(W)return{id:W,created:!1};throw M}}return{api:n,getContentInfo:d,assertInScope:m,getPageOrNull:i,getSpaceId:o,getSpaceInfo:a,uploadImages:l,uploadAttachments:c,upsertPage:b,checkPage:f,getNode:D,getChildPages:T,getChildFolders:v,listAttachments:C,downloadAttachment:I,getContentOrNull:F,findFolder:j,createFolder:B,upsertFolder:G}}function vu(e){if(!e.baseUrl||!e.email||!e.token||!e.spaceKey)throw new Error("\uC0AC\uC774\uD2B8\xB7\uACC4\uC815\xB7API \uD1A0\uD070\xB7\uC2A4\uD398\uC774\uC2A4 \uC124\uC815\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.");let t=new URL(e.baseUrl);if(t.protocol!=="https:"||t.username||t.password||t.search||t.hash)throw new Error("Confluence BASE_URL\uC740 \uC778\uC99D\uC815\uBCF4\xB7\uCFFC\uB9AC\uAC00 \uC5C6\uB294 HTTPS \uC8FC\uC18C\uC5EC\uC57C \uD569\uB2C8\uB2E4.");return us({baseUrl:e.baseUrl,email:e.email,token:e.token},{force:!1,verify:!1,requestTimeoutMs:2e4})}async function o0(e,t){if(!J(e)||!Et(e).isDirectory())throw new Error("\uAE30\uC900 \uD3F4\uB354\uB294 \uC874\uC7AC\uD558\uB294 \uD3F4\uB354\uC5EC\uC57C \uD569\uB2C8\uB2E4.");let r=dt(e);if(r.connection&&zn(r,t),r.version===2&&r.connection?.spaceId&&r.connection.homepageId&&r.remoteRoot){let s={version:2,connection:r.connection,remoteRoot:r.remoteRoot};return jp(e,s),s}let n=vu(t),i=await n.getSpaceInfo(t.spaceKey);if(!i.homepageId)throw new Error("\uC2A4\uD398\uC774\uC2A4 \uD648\uD398\uC774\uC9C0\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");let o=gr(Kt(e))["README.md"];if(o&&o.pageId!==i.homepageId)throw new Error("\uB8E8\uD2B8 README\uAC00 \uB2E4\uB978 \uC6D0\uACA9 \uD398\uC774\uC9C0\uC5D0 \uC5F0\uACB0\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. \uC2A4\uD398\uC774\uC2A4 \uC804\uCCB4\uB97C \uC704\uD55C \uBCC4\uB3C4 \uAE30\uC900 \uD3F4\uB354\uB97C \uC0AC\uC6A9\uD558\uC138\uC694.");let a={version:2,connection:{baseUrl:t.baseUrl,spaceKey:t.spaceKey,spaceId:i.id,homepageId:i.homepageId},remoteRoot:{id:i.homepageId,type:"page",path:"/"}};return jp(e,a),a}async function a0(e,t){let r=jt(t),n=t.connection,i=await e.getSpaceInfo(n.spaceKey);if(i.id!==n.spaceId||i.homepageId!==n.homepageId)throw new Error("\uC2A4\uD398\uC774\uC2A4 \uC5F0\uACB0 \uAE30\uC900\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC124\uC815\uD558\uC138\uC694.");let o=await e.getContentInfo(r.id);if(o.spaceId!==i.id||o.type!==r.type)throw new Error("\uC2A4\uD398\uC774\uC2A4 \uB8E8\uD2B8 \uC5F0\uACB0\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");return i.id}p();Wt();$e();var s0=ce(Ke(),1);var n3=e=>Ne("sha256").update(e).digest("hex");function i3(e,t){if(!/^[a-f0-9]{64}$/.test(t))throw new Error("\uBE44\uAD50 \uAE30\uC900 \uC2DD\uBCC4\uC790\uAC00 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");Bo(e);let r=(0,s0.join)(e,".csync/objects");try{if(!ct(r).isDirectory())throw new Error("\uBE44\uAD50 \uAE30\uC900 \uD3F4\uB354\uB294 \uC77C\uBC18 \uD3F4\uB354\uC5EC\uC57C \uD569\uB2C8\uB2E4.")}catch(i){if(i.code!=="ENOENT")throw i}let n=(0,s0.join)(r,t+".md");try{if(!ct(n).isFile())throw new Error("\uBE44\uAD50 \uAE30\uC900\uC740 \uC77C\uBC18 \uD30C\uC77C\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.")}catch(i){if(i.code!=="ENOENT")throw i}return n}function cs(e,t){let r=n3(t),n=i3(e,r);if(Re((0,s0.join)(e,".csync/objects"),{recursive:!0}),J(n)||it(n,t,{flag:"wx",mode:384}),ie(n,"utf8")!==t)throw new Error("\uC800\uC7A5\uB41C \uBE44\uAD50 \uAE30\uC900\uC758 \uB0B4\uC6A9\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");return r}function o3(e,t){let r=ie(i3(e,t),"utf8");if(n3(r)!==t)throw new Error("\uC800\uC7A5\uB41C \uBE44\uAD50 \uAE30\uC900\uC774 \uC190\uC0C1\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");return r}p();Wt();$e();var a3=ce(Ke(),1);function Jo(e,t,r){let n=Ne("sha256").update(ie((0,a3.resolve)(e,t)));for(let i of[...r.attachments].sort((o,a)=>o.filename.localeCompare(a.filename)))n.update("\0"+i.filename+"\0"),n.update(Ne("sha256").update(ie(i.abs)).digest());return n.digest("hex")}p();p();$e();var ht=ce(Ke(),1),x3=ce(Po(),1);p();$e();var g3=ce(m3(),1);function zt(e,t){let r=(0,g3.default)(),n=!1,i=ow(e);return J(i)&&(r.add(ie(i,"utf8")),n=!0),t.length&&(r.add(t),n=!0),{ignores:o=>n&&r.ignores(o),active:n}}var ds=e=>e.normalize("NFC").toLowerCase(),ps=e=>e.split("\\").join("/"),DD=e=>{try{return decodeURIComponent(e)}catch{return e}};function f0(e,t){let r=lt(e);return[...new Set(t.map(n=>{let i=lt((0,ht.resolve)(n));if(!Et(i).isDirectory()||(0,ht.dirname)(i)===i)throw new Error("\uCC38\uC870 \uBB38\uC11C \uD3F4\uB354\uB97C \uD655\uC778\uD558\uC138\uC694: "+n);let o=ps((0,ht.relative)(r,i));if(o&&o!==".."&&!o.startsWith("../")&&!(0,ht.isAbsolute)(o))throw new Error("\uCC38\uC870 \uD3F4\uB354\uB294 \uC5C5\uB85C\uB4DC \uAE30\uC900 \uD3F4\uB354 \uBC16\uC5D0 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4: "+n);return i}))].filter(n=>n!==r)}function b3(e,t,r,n){let i=t.map(u=>({root:e,rel:u,local:!0})),o=n?.replace(/\/$/,"");for(let u of f0(e,r)){let c=(0,ht.join)(u,".env"),l=J(c)?(0,x3.parse)(ie(c)).CONFLUENCE_BASE_URL?.replace(/\/$/,""):void 0;if(l&&l!==o)throw new Error("\uCC38\uC870 \uD3F4\uB354\uC758 Confluence \uC11C\uBC84\uAC00 \uD604\uC7AC \uC124\uC815\uACFC \uB2E4\uB985\uB2C8\uB2E4: "+u);let d={},m=Kt(u);if(J(m)&&(d=JSON.parse(ie(m,"utf8")),!d||typeof d!="object"||Array.isArray(d)||Object.values(d).some(h=>!h||typeof h.pageId!="string")))throw new Error("\uCC38\uC870 \uD398\uC774\uC9C0 \uB9E4\uD551\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4: "+m);let f=zt(u,[]);for(let h of hr(u)){let b=ps((0,ht.relative)(lt(e),h));if(b!==".."&&!b.startsWith("../")&&!(0,ht.isAbsolute)(b))continue;let w=ps((0,ht.relative)(u,h));f.ignores(w)||i.push({root:u,rel:w,local:!1,pageId:d[w]?.pageId})}}let a=[...new Map(i.map(u=>[lt((0,ht.join)(u.root,u.rel)),u])).values()];function s(u,c,l){let d=DD(c).replace(/\.md$/i,"")+".md",m=l?d:ps((0,ht.relative)(e,(0,ht.resolve)(e,(0,ht.dirname)(u),d))),f=a.filter(b=>b.local&&ds(b.rel)===ds(m));if(f.length)return f;let h=a.filter(b=>!b.local&&ds(b.rel)===ds(d));return h.length?h:a.filter(b=>ds((0,ht.basename)(b.rel))===ds((0,ht.basename)(ps(d))))}return{localTarget(u,c,l){let d=s(u,c,l);return d.length===1&&d[0].local?d[0].rel:null},resolve(u,c,l,d,m=()=>{}){let f=s(u,c,l);if(f.length!==1)return d(f.length?`\uC911\uBCF5 \uBB38\uC11C \uB9C1\uD06C: ${c} \u2192 ${f.map(w=>(0,ht.join)(w.root,w.rel)).join(", ")}`:`\uB300\uC0C1 \uC5C6\uB294 \uBB38\uC11C \uB9C1\uD06C: ${c}`),null;let h=f[0];return h.local?ps((0,ht.relative)((0,ht.dirname)(u),h.rel)):!h.pageId||!/^\d+$/.test(h.pageId)?(d(`\uAC8C\uC2DC \uB9E4\uD551 \uC5C6\uB294 \uBB38\uC11C \uB9C1\uD06C: ${c} \u2192 ${(0,ht.join)(h.root,h.rel)}`),null):!o||!/^https?:\/\//i.test(o)?(d(`\uCC38\uC870 \uB9C1\uD06C\uC5D0 CONFLUENCE_BASE_URL\uC774 \uD544\uC694\uD569\uB2C8\uB2E4: ${c}`),null):(m(`${c} \u2192 pageId ${h.pageId} (${(0,ht.join)(h.root,h.rel)})`),`${new URL(o).hostname==="api.atlassian.com"?"/wiki":o}/pages/viewpage.action?pageId=${encodeURIComponent(h.pageId)}`)}}}var y3=ce(Ke(),1);function Ai(e,t,r){let{titles:n,anchors:i,docs:o}=Vy(t,e),a=Ha(t,Ba(e).map(l=>(0,y3.relative)(e,l))),s=r?b3(r.referenceBase??e,t,r.referenceRoots,r.baseUrl):null,u=zy(o,a,s?.localTarget);return{titles:n,docs:o,render:(l,d,m,f=!1)=>{let h=new Set,b=new Set,w=v=>b.add(v),D=v=>h.add(v),k=ml(l,a);return{...Wy(d,l,n,e,{legacyCallouts:f,resolveLink:(v,C)=>!s||C||a.assets[v.toLowerCase()]?k(v,C):s.resolve(l,v,!0,D,w),rewriteHref:s?v=>{if(/^[a-z][a-z0-9+.-]*:|^\/\//i.test(v))return v;let C=v.indexOf("#"),I=C<0?v:v.slice(0,C);if(!/\.md$/i.test(I))return v;let F=s.resolve(l,I,!1,D,w);return F?F+(C<0?"":v.slice(C)):v}:void 0,anchorIndex:i,title:m,anchorNames:u[l],bodySlugs:o[l]?.bodySlugs}),linkWarnings:[...h],referenceLinks:[...b]}}}}$e();var te=ce(Ke(),1);p();Wt();$e();var wr=ce(Ke(),1);p();$e();var d0=ce(Ke(),1),w3=ce(Po(),1);function ki(e){let t=i=>J((0,d0.join)(i,".env"))?(0,w3.parse)(ie((0,d0.join)(i,".env"))):{},r=e&&J((0,d0.join)(e,".env"))?e:y.cwd(),n={...t(r),...y.env};return{baseUrl:n.CONFLUENCE_BASE_URL,email:n.CONFLUENCE_EMAIL,token:n.CONFLUENCE_API_TOKEN,spaceKey:n.CONFLUENCE_SPACE_KEY}}function p0(e){let t=[["CONFLUENCE_BASE_URL",e.baseUrl],["CONFLUENCE_EMAIL",e.email],["CONFLUENCE_API_TOKEN",e.token],["CONFLUENCE_SPACE_KEY",e.spaceKey]].filter(([,r])=>!r).map(([r])=>r);t.length&&(console.error(Vt(`\uD658\uACBD\uBCC0\uC218 \uB204\uB77D: ${t.join(", ")}`)+`
119
+ ${Me("confluence-sync init")} \uC73C\uB85C .env \uB97C \uB9CC\uB4E4 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`),y.exit(1))}var cm=12e4,h0=100,E3=20,_3="\uC6D0\uACA9 \uC0C1\uC704 \uD3F4\uB354\uB97C \uC870\uD68C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC0AD\uC81C\xB7\uAD8C\uD55C \uBCC0\uACBD \uC5EC\uBD80\uB97C \uD655\uC778\uD558\uC138\uC694.",v3=e=>`\uC6D0\uACA9 \uC0C1\uC704 \uD3F4\uB354 \uC704\uCE58 \uBCC0\uACBD${(0,wr.basename)(e.previousPath.replace(/\/$/,""))!==(0,wr.basename)(e.path.replace(/\/$/,""))?" (\uD3F4\uB354 \uC774\uB984 \uBCC0\uACBD \uD3EC\uD568)":""}: ${e.previousPath} \u2192 ${e.path}`,S3=new Set(["unchanged","changed","unavailable","unknown","new"]),m0=e=>Ne("sha256").update(JSON.stringify(e)).digest("hex");function A3(e){Kt(e);let t=(0,wr.join)(e,An,"remote.json");if(J(t)&&(!ct(t).isFile()||ct(t).isSymbolicLink()))throw new Error("\uC6D0\uACA9 \uC870\uD68C \uCE90\uC2DC\uB294 \uC77C\uBC18 \uD30C\uC77C\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.");return t}function k3(e,t,r={}){let n=lt.native?.(e)??lt(e),i=dt(n),o=jt(i);zn(i,t);let a=gr(r.mappingFile??Kt(n)),s=zt(n,[]),u=Object.entries(a).filter(([w])=>mr(w.replace(/\/$/,""),i)&&!s.ignores(w)&&!Lt(n,w)),c=u.filter(([w,D])=>D.type!=="folder"&&/\.md$/i.test(w)).sort(([w],[D])=>w.localeCompare(D));if(c.some(([,w])=>!/^\d+$/.test(w.pageId)))throw new Error("\uB9E4\uD551\uC758 \uD398\uC774\uC9C0 ID\uAC00 \uC22B\uC790\uAC00 \uC544\uB2D9\uB2C8\uB2E4. \uB9E4\uD551\uC744 \uD655\uC778\uD558\uC138\uC694.");let l=Fo(Object.keys(a).filter(w=>/\.md$/i.test(w))),d=new Map(c.map(([w])=>{let D=Ji(w,l);return[w,w==="README.md"&&a[w].pageId===o.id?void 0:a[w].remoteParentId??(D?a[D]?.pageId:o.id)]})),m=m0(["discovery-v3",n,i,t.baseUrl,t.spaceKey,m0([t.email,t.token]),c,[...d],u.filter(([,w])=>w.type==="folder")]),f=m0([n,i,t.baseUrl,t.spaceKey,m0([t.email,t.token])]),h=A3(n),b=Date.now();return{base:n,workspace:i,root:o,mapping:a,pages:c,scoped:u,expectedParents:d,key:m,path:h,now:b,binding:f}}function um(e,t=!1){try{let r=JSON.parse(ie(e.path,"utf8")),n=e.now-Date.parse(r?.checkedAt);if(r?.version!==1||r.key!==e.key||n<0||!Number.isFinite(n)||!t&&n>=cm||!Array.isArray(r.items)||r.folders!==void 0&&(!Array.isArray(r.folders)||r.folders.some(o=>!o||typeof o.path!="string"||!o.path.endsWith("/")||!/^\d+$/.test(o.pageId)||typeof o.title!="string"||o.previousPath!==void 0&&(typeof o.previousPath!="string"||!o.previousPath.endsWith("/")||!ot(e.base,(0,wr.resolve)(e.base,o.previousPath)))||!ot(e.base,(0,wr.resolve)(e.base,o.path)))))return null;let i=new Set;for(let o of r.items){if(!o||typeof o.path!="string"||!ot(e.base,(0,wr.resolve)(e.base,o.path))||!/\.md$/i.test(o.path)||!/^\d+$/.test(o.pageId)||i.has(o.pageId)||!S3.has(o.state)||!Array.isArray(o.reasons)||o.reasons.some(a=>typeof a!="string"))return null;i.add(o.pageId)}return e.pages.some(([,o])=>!i.has(o.pageId))?null:r}catch(r){if(r.code==="ENOENT"||r instanceof SyntaxError)return null;throw r}}function T3(e,t){let r=k3(e,t),n=um(r,!0);if(n)return n;let i;try{i=JSON.parse(ie(r.path,"utf8"))}catch(a){if(a.code==="ENOENT"||a instanceof SyntaxError)return null;throw a}if(i?.binding!==r.binding||!um({...r,key:i.key},!0))return null;let o=new Map(r.pages.map(([a,s])=>[s.pageId,{path:a,entry:s}]));return{...i,key:r.key,items:i.items.map(a=>{let s=o.get(a.pageId);if(!s)return a;let{path:u,entry:c}=s,l=[];if(a.state==="unavailable"||a.state==="unknown"&&a.reasons.includes(_3))return{...a,path:u,baselineVersion:c.remoteVersion};if(!c.remoteVersion||!a.remoteVersion||a.remoteVersion<c.remoteVersion)return{...a,path:u,baselineVersion:c.remoteVersion,state:"unknown",reasons:["\uC6D0\uACA9 \uBC84\uC804 \uAE30\uC900\uC744 \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. Fetch\uB85C \uAC31\uC2E0\uD558\uC138\uC694."]};a.remoteVersion!==c.remoteVersion&&l.push(`\uBC84\uC804 v${c.remoteVersion} \u2192 v${a.remoteVersion}`),c.title&&a.title&&c.title!==a.title&&l.push("\uC81C\uBAA9 \uBCC0\uACBD");let d=r.expectedParents.get(u);d&&a.parentId&&d!==a.parentId&&l.push("\uC6D0\uACA9 \uBD80\uBAA8 \uC704\uCE58 \uBCC0\uACBD");for(let m of i.folders??[])m.previousPath&&u.startsWith(m.previousPath)&&r.mapping[m.previousPath]?.pageId===m.pageId&&l.push(v3(m));return{...a,path:u,baselineVersion:c.remoteVersion,state:l.length?"changed":"unchanged",reasons:l}})}}async function lm(e,t,r={}){let n=k3(e,t,r),{base:i,workspace:o,pages:a,scoped:s,key:u,path:c,now:l,expectedParents:d,binding:m}=n,f=r.refresh?null:um(n);if(f)return{snapshot:f,cached:!0,requests:0};let h=vu({...t,baseUrl:t.baseUrl?.replace(/\/$/,"")}),b=new Map,w=0,D=new URLSearchParams({"space-id":o.connection.spaceId,status:"current",limit:String(h0)}),k="",T=new Set;do{if(w>=E3)throw new Error("\uC6D0\uACA9 \uC870\uD68C\uAC00 \uCD5C\uB300 20\uD68C\uC5D0 \uB3C4\uB2EC\uD588\uC2B5\uB2C8\uB2E4. \uAE30\uC874 \uCE90\uC2DC\uB294 \uC720\uC9C0\uD569\uB2C8\uB2E4.");Sn(`\uC2A4\uD398\uC774\uC2A4 \uC6D0\uACA9 \uBA54\uD0C0\uB370\uC774\uD130 \uD655\uC778 \xB7 ${b.size}\uAC1C \uBC1C\uACAC`);let R=new URLSearchParams(D);k&&R.set("cursor",k);let M="";w++;let q=await h.api("/api/v2/pages?"+R,void 0,V=>{M=V.get("link")??""});if(!q||!Array.isArray(q.results))throw new Error("\uC6D0\uACA9 \uD398\uC774\uC9C0 \uBAA9\uB85D \uC751\uB2F5\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");for(let V of q.results){if(!V||!/^\d+$/.test(String(V.id))||V.parentId!=null&&!/^\d+$/.test(String(V.parentId))||String(V.spaceId)!==o.connection.spaceId||b.has(String(V.id)))throw new Error("\uC6D0\uACA9 \uD398\uC774\uC9C0 \uBAA9\uB85D\uC758 ID\xB7\uC2A4\uD398\uC774\uC2A4 \uB610\uB294 \uC911\uBCF5 \uC751\uB2F5\uC744 \uD655\uC778\uD558\uC138\uC694.");b.set(String(V.id),{...V,id:String(V.id),parentId:V.parentId==null?void 0:String(V.parentId)})}let W=q._links?.next||M.split(",").find(V=>/rel\s*=\s*"?next"?/i.test(V))?.match(/<([^>]+)>/)?.[1];if(k="",W){let V=new URL(W,t.baseUrl.replace(/\/$/,"")+"/api/v2/pages");if(V.origin!==new URL(t.baseUrl).origin||!/\/api\/v2\/pages$/.test(V.pathname)||!V.searchParams.get("cursor"))throw new Error("\uC6D0\uACA9 \uD398\uC774\uC9C0 \uBAA9\uB85D\uC758 \uB2E4\uC74C \uD398\uC774\uC9C0 \uC8FC\uC18C\uAC00 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");if(k=V.searchParams.get("cursor"),T.has(k))throw new Error("\uC6D0\uACA9 \uD398\uC774\uC9C0 \uBAA9\uB85D\uC758 \uD398\uC774\uC9C0\uB124\uC774\uC158\uC774 \uBC18\uBCF5\uB429\uB2C8\uB2E4.");T.add(k)}}while(k);let v=a.map(([R,M])=>{let q=b.get(M.pageId),W={path:R,pageId:M.pageId,baselineVersion:M.remoteVersion,state:"unknown",reasons:[]};if(!q)return{...W,state:"unavailable",reasons:["\uC870\uD68C \uACB0\uACFC\uC5D0 \uC5C6\uC74C \u2014 \uC0AD\uC81C\xB7\uAD8C\uD55C \uBCC0\uACBD\xB7\uBCF4\uAD00 \uC5EC\uBD80\uB294 \uD655\uC778\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."]};if(typeof q.title=="string"&&(W.title=q.title),typeof q.parentId=="string"&&(W.parentId=q.parentId),Number.isInteger(q.version?.number)&&q.version.number>0&&(W.remoteVersion=q.version.number),!M.remoteVersion||!W.remoteVersion||W.remoteVersion<M.remoteVersion)W.reasons.push("\uBE44\uAD50\uD560 \uAE30\uC900 \uBC84\uC804 \uB610\uB294 \uC6D0\uACA9 \uBC84\uC804\uC744 \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");else{W.state="unchanged",W.remoteVersion!==M.remoteVersion&&W.reasons.push(`\uBC84\uC804 v${M.remoteVersion} \u2192 v${W.remoteVersion}`),M.title&&W.title&&M.title!==W.title&&W.reasons.push("\uC81C\uBAA9 \uBCC0\uACBD");let V=d.get(R);V&&W.parentId&&V!==W.parentId&&W.reasons.push("\uC6D0\uACA9 \uBD80\uBAA8 \uC704\uCE58 \uBCC0\uACBD"),W.reasons.length&&(W.state="changed")}return W}),C=new Map(Object.entries(n.mapping).map(([R,M])=>[M.pageId,{path:R,entry:M}])),I=new Map,F=R=>{let M=R.replace(/[\/\\:*?"<>|]/g,"-").replace(/\s+/g," ").trim();return!M||/^\.+$/.test(M)?"untitled":M.startsWith(".")||["attachments","node_modules"].includes(M)?"_"+M:M},j=new Map(b),B=new Set,G=n.scoped.filter(([R,M])=>M.type==="folder"&&a.some(([q])=>q.startsWith(R))).map(([,R])=>R.pageId),S=[...new Set([...G,...[...b].filter(([R])=>!C.has(R)).map(([,R])=>String(R.parentId??"")).filter(R=>R&&R!==n.root.id&&!j.has(R)&&!C.has(R))])];for(let R=0;R<S.length;R+=h0){let M=S.slice(R,R+h0),q=new Set(M),W=new Set,V="";do{if(w>=E3)throw new Error("\uC6D0\uACA9 \uC870\uD68C\uAC00 \uCD5C\uB300 20\uD68C\uC5D0 \uB3C4\uB2EC\uD588\uC2B5\uB2C8\uB2E4. \uAE30\uC874 \uCE90\uC2DC\uB294 \uC720\uC9C0\uD569\uB2C8\uB2E4.");let Ae=new URLSearchParams({cql:`id in (${M.join(",")})`,expand:"ancestors,space",limit:String(h0)});V&&Ae.set("start",V),w++,Sn(`\uC6D0\uACA9 \uD3F4\uB354 \uBA54\uD0C0\uB370\uC774\uD130 \uC870\uD68C \xB7 ${R+1}\u2013${R+M.length}`);let be=await h.api("/rest/api/content/search?"+Ae);if(!Array.isArray(be?.results))throw new Error("\uC6D0\uACA9 \uBD80\uBAA8 \uD3F4\uB354 \uBAA9\uB85D\uC744 \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");for(let Y of be.results){let K=String(Y?.id);if(!q.has(K)||Y.type!=="folder"||String(Y.space?.id)!==o.connection.spaceId||!Array.isArray(Y.ancestors))throw new Error("\uC6D0\uACA9 \uBD80\uBAA8 \uD3F4\uB354\uC758 ID\xB7\uC2A4\uD398\uC774\uC2A4\xB7\uC720\uD615\uC744 \uD655\uC778\uD558\uC138\uC694.");q.delete(K);for(let Ce=0;Ce<Y.ancestors.length;Ce++){let at=Y.ancestors[Ce];if(!/^\d+$/.test(String(at.id))||typeof at.title!="string")throw new Error("\uC6D0\uACA9 \uC0C1\uC704 \uD3F4\uB354 \uC815\uBCF4\uB97C \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");j.has(String(at.id))||j.set(String(at.id),{id:String(at.id),title:at.title,type:"folder",parentId:Y.ancestors[Ce-1]?.id})}j.set(K,{id:K,title:Y.title,type:"folder",parentId:Y.ancestors.at(-1)?.id})}if(V="",be._links?.next){let Y=new URL(be._links.next,t.baseUrl);if(Y.origin!==new URL(t.baseUrl).origin||!/\/rest\/api\/content\/search$/.test(Y.pathname)||!/^\d+$/.test(Y.searchParams.get("start")??""))throw new Error("\uBD80\uBAA8 \uD3F4\uB354 \uBAA9\uB85D\uC758 \uB2E4\uC74C \uD398\uC774\uC9C0 \uC8FC\uC18C\uAC00 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");if(V=Y.searchParams.get("start"),W.has(V))throw new Error("\uBD80\uBAA8 \uD3F4\uB354 \uD398\uC774\uC9C0\uB124\uC774\uC158\uC774 \uBC18\uBCF5\uB429\uB2C8\uB2E4.");W.add(V)}}while(V);if([...q].some(Ae=>!G.includes(Ae)))throw new Error("\uC2E0\uADDC \uC6D0\uACA9 \uBB38\uC11C\uC758 \uBD80\uBAA8 \uD3F4\uB354\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uAE30\uC874 \uCE90\uC2DC\uB294 \uC720\uC9C0\uD569\uB2C8\uB2E4.");for(let Ae of q)B.add(Ae)}async function N(R,M=new Set){if(R===n.root.id)return"";if(M.has(R))throw new Error("\uC6D0\uACA9 \uBD80\uBAA8 \uAD00\uACC4\uAC00 \uC21C\uD658\uD569\uB2C8\uB2E4.");M.add(R);let q=C.get(R);if(q){if(q.entry.type!=="folder")return(0,wr.dirname)(q.path)==="."?"":(0,wr.dirname)(q.path);let be=q.path.replace(/\/$/,""),Y=j.get(R);if(!Y)return be;if(typeof Y.title!="string"||!Y.title.trim())throw new Error(`\uC6D0\uACA9 \uD3F4\uB354 \uC81C\uBAA9\uC744 \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: #${R}`);let K=Y.parentId?await N(String(Y.parentId),M):"",Ce=F(Y.title)!==F(q.entry.title??(0,wr.basename)(be)),at=[K,Ce?F(Y.title):(0,wr.basename)(be)].filter(Boolean).join("/");return at!==be&&I.set(R,{path:at+"/",previousPath:be+"/",pageId:R,title:Y.title,parentId:Y.parentId?String(Y.parentId):void 0}),at}let W=j.get(R);if(!W)throw new Error(`\uC6D0\uACA9 \uBD80\uBAA8 \uC815\uBCF4\uB97C \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: #${R}`);if(typeof W.title!="string"||!W.title.trim())throw new Error(`\uC6D0\uACA9 \uC81C\uBAA9\uC744 \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: #${R}`);let Ae=[W.parentId?await N(String(W.parentId),M):"",F(W.title)].filter(Boolean).join("/");return b.has(R)||I.set(R,{path:Ae+"/",pageId:R,title:W.title}),Ae}for(let R of G)await N(R);for(let R of v){if(R.state==="unavailable"||R.state==="unknown")continue;let M=R.parentId,q=!1,W=new Set;for(;M&&M!==n.root.id;){if(B.has(M)||W.has(M)){q=!0;break}W.add(M);let V=j.get(M);M=V?.parentId?String(V.parentId):void 0}if(q){R.state="unknown",R.reasons.push(_3);continue}for(let V of I.values())V.previousPath&&R.path.startsWith(V.previousPath)&&(R.state="changed",R.reasons.push(v3(V)))}let P=new Set(Object.values(n.mapping).map(R=>R.pageId));for(let[R,M]of b)!P.has(R)&&M.parentId&&await N(String(M.parentId));for(let[R,M]of b){if(P.has(R))continue;if(typeof M.title!="string"||!Number.isInteger(M.version?.number)||M.version.number<1)throw new Error(`\uC2E0\uADDC \uC6D0\uACA9 \uBB38\uC11C\uC758 \uC81C\uBAA9\xB7\uBC84\uC804\uC744 \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: #${R}`);let q=M.parentId?await N(String(M.parentId)):"",W=[...j.values()].some(Ae=>String(Ae.parentId)===R),V=R===n.root.id?"README.md":[q,F(M.title)+(W?"/README.md":".md")].filter(Boolean).join("/");!mr(V,o)||zt(i,[]).ignores(V)||Lt(i,V)||v.push({path:V,pageId:R,title:M.title,parentId:M.parentId,remoteVersion:M.version.number,state:"new",reasons:["\uC544\uC9C1 \uB85C\uCEEC\uC5D0 \uBC1B\uC9C0 \uC54A\uC740 \uC6D0\uACA9 \uBB38\uC11C"]})}let _={version:1,key:u,binding:m,checkedAt:new Date(l).toISOString(),scope:".",requests:w,items:v,folders:[...I.values()],foldersSkipped:s.filter(([,R])=>R.type==="folder").length};A3(i),Re((0,wr.dirname)(c),{recursive:!0});let H=(0,wr.join)((0,wr.dirname)(c),`.remote-${Sr()}.tmp`);try{it(H,JSON.stringify(_,null,2)+`
120
+ `,{mode:384,flag:"wx"}),nn(H,c)}finally{Gt(H,{force:!0})}return{snapshot:_,cached:!1,requests:w}}async function C3(e){for(let u=0;u<e.length;u++)if(e[u]==="--base"){if(!e[u+1]||e[u+1].startsWith("-"))throw new Error("--base\uC5D0 \uAE30\uC900 \uD3F4\uB354\uB97C \uC9C0\uC815\uD558\uC138\uC694.");u++}else if(!["fetch","--no-color","--refresh"].includes(e[u]))throw new Error("fetch\uB294 \uC5F0\uACB0\uB41C \uC791\uC5C5\uACF5\uAC04\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \uC635\uC158\uC740 --base\uC640 --refresh\uB9CC \uC9C0\uC815\uD558\uC138\uC694.");let t=e.indexOf("--base"),r=Vn(t>=0?e[t+1]:void 0);if(!r)throw new Error("\uC791\uC5C5\uACF5\uAC04\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. --base\uB85C \uAE30\uC900 \uD3F4\uB354\uB97C \uC9C0\uC815\uD558\uC138\uC694.");let{snapshot:n,cached:i,requests:o}=await lm(r,ki(r),{refresh:e.includes("--refresh")}),a=Object.fromEntries([...S3].map(u=>[u,n.items.filter(c=>c.state===u).length]));console.log(`${zo(Me("\uC6D0\uACA9 \uBCC0\uACBD \uD655\uC778 \xB7 \uC2A4\uD398\uC774\uC2A4 \uC791\uC5C5\uACF5\uAC04"))}
121
+ ${xe(`\uC870\uD68C \uC2DC\uAC01: ${n.checkedAt}${i?" \xB7 2\uBD84 \uC774\uB0B4 \uCE90\uC2DC \uC0AC\uC6A9":""}`)}
122
+ \uC774\uBC88 API \uC694\uCCAD: ${Me(`${o}\uD68C`)} \xB7 \uB300\uC0C1 ${n.items.length}\uAC74`);let s={new:Me,changed:Me,unavailable:Vt,unknown:Qt,unchanged:jr};for(let u of n.items.filter(c=>c.state!=="unchanged"))console.log(` ${s[u.state](`[${{new:"\uC6D0\uACA9 \uC2E0\uADDC",changed:"\uC6D0\uACA9 \uBCC0\uACBD",unavailable:"\uC870\uD68C \uBD88\uAC00",unknown:"\uD655\uC778 \uD544\uC694",unchanged:"\uBC84\uC804 \uB3D9\uC77C"}[u.state]}]`)} ${u.path} ${xe(`(#${u.pageId})`)} \xB7 ${u.reasons.join(", ")}`);console.log(`${jr(`\uBC84\uC804 \uB3D9\uC77C ${a.unchanged}`)} \xB7 ${Me(`\uC6D0\uACA9 \uC2E0\uADDC ${a.new}`)} \xB7 ${Me(`\uC6D0\uACA9 \uBCC0\uACBD ${a.changed}`)} \xB7 ${a.unavailable?Vt(`\uC870\uD68C \uBD88\uAC00 ${a.unavailable}`):xe("\uC870\uD68C \uBD88\uAC00 0")} \xB7 ${a.unknown?Qt(`\uD655\uC778 \uD544\uC694 ${a.unknown}`):xe("\uD655\uC778 \uD544\uC694 0")}`),n.items.length||console.log(xe("\uC2A4\uD398\uC774\uC2A4\uC5D0\uC11C \uAC00\uC838\uC62C \uBB38\uC11C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")),console.log(xe("\uBB38\uC11C\xB7\uB3D9\uAE30\uD654 \uAE30\uC900\uC740 \uC720\uC9C0\uD569\uB2C8\uB2E4. \uC2A4\uD398\uC774\uC2A4\uC758 \uC0C8 \uBB38\uC11C\uC640 \uBC84\uC804\xB7\uC704\uCE58 \uBCC0\uACBD\uC744 \uD655\uC778\uD588\uC2B5\uB2C8\uB2E4. \uAC00\uC838\uC624\uAE30: csync pull"))}p();function ti(e){let t=new Set(["--base","--reference-root","--mapping","--from-mapping","--exclude","--to","--out","--port","--scope","--confirm-scope"]),r=[];for(let n=0;n<e.length;n++){if(t.has(e[n])){n++;continue}e[n].startsWith("-")||r.push(e[n])}return r}Cs();Wt();p();p();function ID(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}function hm(e,t){return Array(t+1).join(e)}function N3(e){return e.replace(/^\n*/,"")}function R3(e){for(var t=e.length;t>0&&e[t-1]===`
123
+ `;)t--;return e.substring(0,t)}function L3(e){return R3(N3(e))}var ND=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function mm(e){return gm(e,ND)}var M3=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function O3(e){return gm(e,M3)}function RD(e){return P3(e,M3)}var F3=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function LD(e){return gm(e,F3)}function MD(e){return P3(e,F3)}function gm(e,t){return t.indexOf(e.nodeName)>=0}function P3(e,t){return e.getElementsByTagName&&t.some(function(r){return e.getElementsByTagName(r).length})}var OD=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function B3(e){return OD.reduce(function(t,r){return t.replace(r[0],r[1])},e)}var Lr={};Lr.paragraph={filter:"p",replacement:function(e){return`
124
+
125
+ `+e+`
126
+
127
+ `}};Lr.lineBreak={filter:"br",replacement:function(e,t,r){return r.br+`
128
+ `}};Lr.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(e,t,r){var n=Number(t.nodeName.charAt(1));if(r.headingStyle==="setext"&&n<3){var i=hm(n===1?"=":"-",e.length);return`
129
+
130
+ `+e+`
131
+ `+i+`
132
+
133
+ `}else return`
134
+
135
+ `+hm("#",n)+" "+e+`
136
+
137
+ `}};Lr.blockquote={filter:"blockquote",replacement:function(e){return e=L3(e).replace(/^/gm,"> "),`
138
+
139
+ `+e+`
140
+
141
+ `}};Lr.list={filter:["ul","ol"],replacement:function(e,t){var r=t.parentNode;return r.nodeName==="LI"&&r.lastElementChild===t?`
142
+ `+e:`
143
+
144
+ `+e+`
145
+
146
+ `}};Lr.listItem={filter:"li",replacement:function(e,t,r){var n=r.bulletListMarker+" ",i=t.parentNode;if(i.nodeName==="OL"){var o=i.getAttribute("start"),a=Array.prototype.indexOf.call(i.children,t);n=(o?Number(o)+a:a+1)+". "}var s=/\n$/.test(e);return e=L3(e)+(s?`
147
+ `:""),e=e.replace(/\n/gm,`
148
+ `+" ".repeat(n.length)),n+e+(t.nextSibling?`
149
+ `:"")}};Lr.indentedCodeBlock={filter:function(e,t){return t.codeBlockStyle==="indented"&&e.nodeName==="PRE"&&e.firstChild&&e.firstChild.nodeName==="CODE"},replacement:function(e,t,r){return`
150
+
151
+ `+t.firstChild.textContent.replace(/\n/g,`
152
+ `)+`
153
+
154
+ `}};Lr.fencedCodeBlock={filter:function(e,t){return t.codeBlockStyle==="fenced"&&e.nodeName==="PRE"&&e.firstChild&&e.firstChild.nodeName==="CODE"},replacement:function(e,t,r){for(var n=t.firstChild.getAttribute("class")||"",i=(n.match(/language-(\S+)/)||[null,""])[1],o=t.firstChild.textContent,a=r.fence.charAt(0),s=3,u=new RegExp("^"+a+"{3,}","gm"),c;c=u.exec(o);)c[0].length>=s&&(s=c[0].length+1);var l=hm(a,s);return`
155
+
156
+ `+l+i+`
157
+ `+o.replace(/\n$/,"")+`
158
+ `+l+`
159
+
160
+ `}};Lr.horizontalRule={filter:"hr",replacement:function(e,t,r){return`
161
+
162
+ `+r.hr+`
163
+
164
+ `}};Lr.inlineLink={filter:function(e,t){return t.linkStyle==="inlined"&&e.nodeName==="A"&&e.getAttribute("href")},replacement:function(e,t){var r=xm(t.getAttribute("href")),n=bm(g0(t.getAttribute("title"))),i=n?' "'+n+'"':"";return"["+e+"]("+r+i+")"}};Lr.referenceLink={filter:function(e,t){return t.linkStyle==="referenced"&&e.nodeName==="A"&&e.getAttribute("href")},replacement:function(e,t,r){var n=xm(t.getAttribute("href")),i=g0(t.getAttribute("title"));i&&(i=' "'+bm(i)+'"');var o,a;switch(r.linkReferenceStyle){case"collapsed":o="["+e+"][]",a="["+e+"]: "+n+i;break;case"shortcut":o="["+e+"]",a="["+e+"]: "+n+i;break;default:var s=this.references.length+1;o="["+e+"]["+s+"]",a="["+s+"]: "+n+i}return this.references.push(a),o},references:[],append:function(e){var t="";return this.references.length&&(t=`
165
+
166
+ `+this.references.join(`
167
+ `)+`
168
+
169
+ `,this.references=[]),t}};Lr.emphasis={filter:["em","i"],replacement:function(e,t,r){return e.trim()?r.emDelimiter+e+r.emDelimiter:""}};Lr.strong={filter:["strong","b"],replacement:function(e,t,r){return e.trim()?r.strongDelimiter+e+r.strongDelimiter:""}};Lr.code={filter:function(e){var t=e.previousSibling||e.nextSibling,r=e.parentNode.nodeName==="PRE"&&!t;return e.nodeName==="CODE"&&!r},replacement:function(e){if(!e)return"";e=e.replace(/\r?\n|\r/g," ");for(var t=/^`|^ .*?[^ ].* $|`$/.test(e)?" ":"",r="`",n=e.match(/`+/gm)||[];n.indexOf(r)!==-1;)r=r+"`";return r+t+e+t+r}};Lr.image={filter:"img",replacement:function(e,t){var r=B3(g0(t.getAttribute("alt"))),n=xm(t.getAttribute("src")||""),i=g0(t.getAttribute("title")),o=i?' "'+bm(i)+'"':"";return n?"!["+r+"]("+n+o+")":""}};function g0(e){return e?e.replace(/(\n+\s*)+/g,`
170
+ `):""}function xm(e){var t=e.replace(/([<>()])/g,"\\$1");return t.indexOf(" ")>=0?"<"+t+">":t}function bm(e){return e.replace(/"/g,'\\"')}function H3(e){this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[];for(var t in e.rules)this.array.push(e.rules[t])}H3.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return""}})},forNode:function(e){if(e.isBlank)return this.blankRule;var t;return(t=fm(this.array,e,this.options))||(t=fm(this._keep,e,this.options))||(t=fm(this._remove,e,this.options))?t:this.defaultRule},forEach:function(e){for(var t=0;t<this.array.length;t++)e(this.array[t],t)}};function fm(e,t,r){for(var n=0;n<e.length;n++){var i=e[n];if(FD(i,t,r))return i}}function FD(e,t,r){var n=e.filter;if(typeof n=="string"){if(n===t.nodeName.toLowerCase())return!0}else if(Array.isArray(n)){if(n.indexOf(t.nodeName.toLowerCase())>-1)return!0}else if(typeof n=="function"){if(n.call(e,t,r))return!0}else throw new TypeError("`filter` needs to be a string, array, or function")}function PD(e){var t=e.element,r=e.isBlock,n=e.isVoid,i=e.isPre||function(d){return d.nodeName==="PRE"};if(!(!t.firstChild||i(t))){for(var o=null,a=!1,s=null,u=D3(s,t,i);u!==t;){if(u.nodeType===3||u.nodeType===4){var c=u.data.replace(/[ \r\n\t]+/g," ");if((!o||/ $/.test(o.data))&&!a&&c[0]===" "&&(c=c.substr(1)),!c){u=dm(u);continue}u.data=c,o=u}else if(u.nodeType===1)r(u)||u.nodeName==="BR"?(o&&(o.data=o.data.replace(/ $/,"")),o=null,a=!1):n(u)||i(u)?(o=null,a=!0):o&&(a=!1);else{u=dm(u);continue}var l=D3(s,u,i);s=u,u=l}o&&(o.data=o.data.replace(/ $/,""),o.data||dm(o))}}function dm(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function D3(e,t,r){return e&&e.parentNode===t||r(t)?t.nextSibling||t.parentNode:t.firstChild||t.nextSibling||t.parentNode}var $3=typeof window<"u"?window:{};function BD(){var e=$3.DOMParser,t=!1;try{new e().parseFromString("","text/html")&&(t=!0)}catch{}return t}function HD(){var e=function(){};{var t=jn();e.prototype.parseFromString=function(r){return t.createDocument(r)}}return e}var $D=BD()?$3.DOMParser:HD();function UD(e,t){var r;if(typeof e=="string"){var n=qD().parseFromString('<x-turndown id="turndown-root">'+e+"</x-turndown>","text/html");r=n.getElementById("turndown-root")}else r=e.cloneNode(!0);return PD({element:r,isBlock:mm,isVoid:O3,isPre:t.preformattedCode?WD:null}),r}var pm;function qD(){return pm=pm||new $D,pm}function WD(e){return e.nodeName==="PRE"||e.nodeName==="CODE"}function KD(e,t){return e.isBlock=mm(e),e.isCode=e.nodeName==="CODE"||e.parentNode.isCode,e.isBlank=jD(e),e.flankingWhitespace=VD(e,t),e}function jD(e){return!O3(e)&&!LD(e)&&/^\s*$/i.test(e.textContent)&&!RD(e)&&!MD(e)}function VD(e,t){if(e.isBlock||t.preformattedCode&&e.isCode)return{leading:"",trailing:""};var r=zD(e.textContent);return r.leadingAscii&&I3("left",e,t)&&(r.leading=r.leadingNonAscii),r.trailingAscii&&I3("right",e,t)&&(r.trailing=r.trailingNonAscii),{leading:r.leading,trailing:r.trailing}}function zD(e){var t=e.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/);return{leading:t[1],leadingAscii:t[2],leadingNonAscii:t[3],trailing:t[4],trailingNonAscii:t[5],trailingAscii:t[6]}}function I3(e,t,r){var n,i,o;return e==="left"?(n=t.previousSibling,i=/ $/):(n=t.nextSibling,i=/^ /),n&&(n.nodeType===3?o=i.test(n.nodeValue):r.preformattedCode&&n.nodeName==="CODE"?o=!1:n.nodeType===1&&!mm(n)&&(o=i.test(n.textContent))),o}var JD=Array.prototype.reduce;function Au(e){if(!(this instanceof Au))return new Au(e);var t={rules:Lr,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(r,n){return n.isBlock?`
171
+
172
+ `:""},keepReplacement:function(r,n){return n.isBlock?`
173
+
174
+ `+n.outerHTML+`
175
+
176
+ `:n.outerHTML},defaultReplacement:function(r,n){return n.isBlock?`
177
+
178
+ `+r+`
179
+
180
+ `:r}};this.options=ID({},t,e),this.rules=new H3(this.options)}Au.prototype={turndown:function(e){if(!YD(e))throw new TypeError(e+" is not a string, or an element/document/fragment node.");if(e==="")return"";var t=U3.call(this,new UD(e,this.options));return GD.call(this,t)},use:function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.use(e[t]);else if(typeof e=="function")e(this);else throw new TypeError("plugin must be a Function or an Array of Functions");return this},addRule:function(e,t){return this.rules.add(e,t),this},keep:function(e){return this.rules.keep(e),this},remove:function(e){return this.rules.remove(e),this},escape:function(e){return B3(e)}};function U3(e){var t=this;return JD.call(e.childNodes,function(r,n){n=new KD(n,t.options);var i="";return n.nodeType===3?i=n.isCode?n.nodeValue:t.escape(n.nodeValue):n.nodeType===1&&(i=XD.call(t,n)),q3(r,i)},"")}function GD(e){var t=this;return this.rules.forEach(function(r){typeof r.append=="function"&&(e=q3(e,r.append(t.options)))}),e.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function XD(e){var t=this.rules.forNode(e),r=U3.call(this,e),n=e.flankingWhitespace;return(n.leading||n.trailing)&&(r=r.trim()),n.leading+t.replacement(r,e,this.options)+n.trailing}function q3(e,t){var r=R3(e),n=N3(t),i=Math.max(e.length-r.length,t.length-n.length),o=`
181
+
182
+ `.substring(0,i);return r+o+n}function YD(e){return e!=null&&(typeof e=="string"||e.nodeType&&(e.nodeType===1||e.nodeType===9||e.nodeType===11))}p();var ym=ce(jn(),1);var x0=(e,t)=>Array.from(e.children).find(r=>r.nodeName.toLowerCase()===t);function ZD(e){let t=x0(e,"ac:rich-text-body"),r=t&&x0(t,"ac:structured-macro");if(r?.getAttribute("ac:name")!=="anchor")return;let n=x0(r,"ac:parameter")?.textContent??"";if(!(!n.startsWith(Mo)||n.length>2e3))try{let i=JSON.parse(E.Buffer.from(n.slice(Mo.length),"base64url").toString("utf8"));if(typeof i.type=="string"&&/^[a-z\d_-]+$/i.test(i.type)&&["","+","-"].includes(i.fold)&&typeof i.explicit=="boolean")return i}catch{}}function W3(e){let t=Array.from(e.children);return{header:t.find(r=>r.classList.contains("panelHeader")),body:t.find(r=>r.classList.contains("panelContent"))}}function K3(e,t){let r=(0,ym.createDocument)(e);for(let s of Array.from(r.querySelectorAll("[data-csync-callout]")))s.removeAttribute("data-csync-callout");let n=Array.from(r.querySelectorAll("div.panel")).filter(s=>!!W3(s).body),i=t?.replace(/<!\[CDATA\[([\s\S]*?)\]\]>/g,(s,u)=>u.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")),o=i?Array.from((0,ym.createDocument)(i).querySelectorAll("*")).filter(s=>s.nodeName.toLowerCase()==="ac:structured-macro"&&s.getAttribute("ac:name")==="panel"):[],a=n.length===o.length;return n.forEach((s,u)=>{let{header:c,body:l}=W3(s),d=c?.textContent?.trim()??"",m=a?o[u]:void 0,f=w=>m&&Array.from(m.children).find(D=>D.nodeName.toLowerCase()==="ac:parameter"&&D.getAttribute("ac:name")===w)?.textContent?.trim(),h=m&&f("title")===d?ZD(m):void 0,b=f("bgColor")??"";s.setAttribute("data-csync-callout",JSON.stringify({type:h?.type??py(d,b),fold:h?.fold??"",explicit:h?.explicit??!0,title:d}));for(let w of Array.from(l.querySelectorAll("[id], [name]")))((w.getAttribute("id")??"").includes(Mo)||(w.getAttribute("name")??"").includes(Mo))&&w.remove();for(let w of Array.from(l.querySelectorAll("*")))w.nodeName.toLowerCase()==="ac:structured-macro"&&w.getAttribute("ac:name")==="anchor"&&x0(w,"ac:parameter")?.textContent?.startsWith(Mo)&&w.remove()}),r.body.innerHTML}function j3(e,t){e.addRule("confluencePanelTitle",{filter:r=>{let n=r;return!!n.classList?.contains("panelHeader")&&!!n.parentElement?.hasAttribute("data-csync-callout")},replacement:()=>""}),e.addRule("confluencePanel",{filter:r=>r.hasAttribute?.("data-csync-callout")??!1,replacement:(r,n)=>{let{type:i,fold:o,explicit:a,title:s}=JSON.parse(n.getAttribute("data-csync-callout")),u=String(s).replace(/[\r\n]+/g," ").trim(),c=d=>d.split(`
183
+ `).map(m=>m?`> ${m}`:">").join(`
184
+ `),l=t?`[!${i}]${o}${u&&(a||u!==Rp(i).title)?` ${u}`:""}`:u?`**${e.escape(u)}**`:"";return`
185
+
186
+ ${c([l,r.trim()].filter(Boolean).join(t?`
187
+ `:`
188
+
189
+ `))}
190
+
191
+ `}})}function ku(e){let t=[],r=/<ac:structured-macro[^>]*ac:name="code"[\s\S]*?<\/ac:structured-macro>/g,n;for(;(n=r.exec(e))!==null;){let i=n[0].match(/ac:name="language"[^>]*>([^<]*)</);t.push(i?i[1].trim():"")}return t}var V3=e=>/\s/.test(e)?`<${e}>`:e;function Tu(e){return vn(e,t=>t.split(`
192
+ `).map(r=>{let n=r.match(/^\s*(?:\\[-+>#]|\d+\\\.)?/)?.[0]??"",i=r.slice(n.length).replace(/\\([-+.>])/g,"$1").replace(/(?<=[\p{L}\p{N}\p{M}_])(?:\\_)+(?=[\p{L}\p{N}\p{M}_])/gu,o=>o.replace(/\\/g,"")).replace(/\\\[([^[\]\n]*)\\\](?!\s*[([])/g,"[$1]");return n+i}).join(`
193
+ `))}function Cu(e,t={}){e=Cy(K3(sy(e,t.storage),t.storage),t.storage,t.pageId);let r=new kr({html:!0}),n=new Au({headingStyle:"atx",codeBlockStyle:"fenced",bulletListMarker:"-",hr:"---",emDelimiter:"_"});j3(n,t.obsidian??!1),Dy(n),n.remove(["style","script","noscript","head","meta","link"]);let i=n.escape.bind(n);n.escape=c=>i(c).replace(/(?<=[\p{L}\p{N}\p{M}_])(?:\\_)+(?=[\p{L}\p{N}\p{M}_])/gu,l=>l.replace(/\\/g,"")),n.addRule("liParagraph",{filter:c=>c.nodeName==="P"&&c.parentNode?.nodeName==="LI",replacement:(c,l)=>l.previousElementSibling?`
194
+
195
+ ${c}`:c});let o=(e.match(/<pre[\s>]/gi)||[]).length,a=t.codeLangs&&t.codeLangs.length===o?t.codeLangs:void 0,s=0;n.addRule("confCode",{filter:c=>c.nodeName==="PRE",replacement:(c,l)=>{let d=l,m=s++,f;if(a)f=a[m]??"";else{let w=(d.getAttribute("data-syntaxhighlighter-params")||"").match(/brush:\s*([^;]+)/i);f=w?w[1].trim():""}let h=(d.textContent||"").replace(/[ \t]+$/gm,"").replace(/\n+$/,"");return`
196
+
197
+ \`\`\`${f||"plaintext"}
198
+ ${h}
199
+ \`\`\`
200
+
201
+ `}}),n.addRule("confImage",{filter:"img",replacement:(c,l)=>{let d=l,m=d.getAttribute("src")||"",f=d.getAttribute("alt")||"",h=d.getAttribute("data-linked-resource-type")==="attachment"||/\/download\/(attachments|thumbnails)\//.test(m);if(!h&&/(?:^|\s)waiting-image(?:\s|$)/.test(d.getAttribute("class")||"")&&/\/images\/icons\/wait\.gif(?:[?#]|$)/i.test(m))return"";if(!h&&/^https?:\/\//i.test(m))return`![${f}](${V3(m)})`;let w=d.getAttribute("data-linked-resource-default-alias")||""||decodeURIComponent((m.split("?")[0].split("/").pop()||"").trim());w&&t.onImage?.(w);let D=t.attachmentDestination?.(w,m)??(t.assetPrefix?`${t.assetPrefix}/${w}`:w);return`![${f||w}](${V3(D)})`}}),n.addRule("confTable",{filter:"table",replacement:(c,l)=>{let d=l,m=mi(d);if(Na(m)||d.querySelector("th[colspan], td[colspan], th[rowspan], td[rowspan]")){let v=d.cloneNode(!0);for(let C of Array.from(v.querySelectorAll("a[href]"))){let I=C.getAttribute("href");if(!/\/download\/attachments\//.test(I))continue;let F=C.getAttribute("data-linked-resource-default-alias")||decodeURIComponent(I.split("?")[0].split("#")[0].split("/").pop()||"");F&&(t.onImage?.(F),C.setAttribute("href",t.attachmentDestination?.(F,I)??(t.assetPrefix?`${t.assetPrefix}/${F}`:F)))}for(let C of Array.from(v.querySelectorAll("th, td")))C.innerHTML=r.render(n.turndown(C.innerHTML));return Ro(v,m),v.removeAttribute("data-table-width"),v.removeAttribute("data-layout"),v.removeAttribute("ac:local-id"),`
202
+
203
+ ${v.outerHTML}
204
+
205
+ `}let f=v=>n.turndown(v.innerHTML||"").replace(/\n+/g," ").replace(/\|/g,"\\|").trim(),w=Array.from(l.querySelectorAll("tr")).map(v=>Array.from(v.children).filter(C=>C.nodeName==="TD"||C.nodeName==="TH").map(f)).filter(v=>v.length);if(!w.length)return"";let D=w[0],k=D.map(()=>"---"),T=`
206
+
207
+ | ${D.join(" | ")} |
208
+ | ${k.join(" | ")} |
209
+ `;for(let v of w.slice(1))T+=`| ${v.join(" | ")} |
210
+ `;return`${T}
211
+ `}});let u=Tu(n.turndown(e)).trim()+`
212
+ `;return t.obsidian?fl(u):u}p();$e();var Vr=ce(Ke(),1);Cs();p();var no=ce(Ke(),1);p();var J3=ce(jn(),1);Wt();$e();var ur=ce(Ke(),1);p();var z3=e=>decodeURIComponent(new URL(e).pathname);function b0(e,t){let r=new Map;function n(s){if(!s||s.startsWith("#")||s.startsWith("//")||Bi(s))return null;if(/^file:/i.test(s))return z3(s);if(!(0,ur.isAbsolute)(s)&&/^[a-z][a-z\d+.-]*:/i.test(s))return null;try{return(0,ur.resolve)((0,ur.dirname)(e),decodeURIComponent(s))}catch{return null}}function i(s,u=!1){let c=s.indexOf("#"),l=c<0?s:s.slice(0,c),d=c<0?"":s.slice(c),m=u&&!l.startsWith("/")&&!l.startsWith(".")&&!/^file:/i.test(l)?(0,ur.resolve)(t,l):n(l);if(!m||/\.md$/i.test(m)||!J(m)||!Et(m).isFile())return null;let f=ll(e,t),h=(0,ur.basename)(m),b=`${f}/${h}`,w=r.get(b)??(0,ur.resolve)(t,b);if(w!==m&&J(w)&&Et(w).isFile()&&!ie(w).equals(ie(m))){let k=Ne("sha256").update(ie(m)).digest("hex").slice(0,24),T=(0,ur.extname)(h);b=`${f}/${(0,ur.basename)(h,T)}-${k}${T}`}return r.set(b,m),(u?b:(0,ur.relative)((0,ur.dirname)(e),(0,ur.resolve)(t,b)).split("\\").join("/"))+d}function o(s){return s.replace(/<!--[\s\S]*?-->|<(script|style|pre|code)\b[^>]*>[\s\S]*?<\/\1\s*>|<(img|a)\b(?:[^"'<>]|"[^"]*"|'[^']*')*>/gi,(u,c,l)=>{if(!l)return u;let d=l.toLowerCase()==="img"?"src":"href",m=(0,J3.createDocument)(u).querySelector(l)?.getAttribute(d);if(!m)return u;let f=i(m);if(f===null)return u;let h=f.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;");return u.replace(new RegExp(`(\\s${d}\\s*=\\s*)("[^"]*"|'[^']*'|[^\\s>]+)`,"i"),(b,w)=>`${w}"${h}"`)})}function a(s){return vn(s,u=>{let c=u.replace(/(?<!!)(!?)\[([^\]\n]*)\]\((<[^>\n]+>|[^()\s]+)\)/g,(d,m,f,h,b)=>{if((u.slice(0,b).match(/\\+$/)?.[0].length??0)%2)return d;let w=i(h.replace(/^<(.*)>$/,"$1"));return w===null?d:`${m}[${f}](<${w.replace(/</g,"%3C").replace(/>/g,"%3E")}>)`}),l=c.replace(/(!?)\[\[([^\]|\n]+)(?:\|([^\]\n]*))?\]\]/g,(d,m,f,h,b)=>{if((c.slice(0,b).match(/\\+$/)?.[0].length??0)%2)return d;let w=i(f,!0);return w===null?d:`${m}[[${w}${h===void 0?"":"|"+h}]]`});return o(l)},o)}return{copies:r,rewrite:a,source:s=>r.get((0,ur.relative)(t,s).split("\\").join("/"))??s}}async function y0(e,t,r,n,i,o,a=b0(t,r),s=!0){let u=m=>m.split("\\").join("/"),c=u((0,no.relative)(r,t)),l=ml(c,n);return e=a.rewrite(e),e=pl(e,(m,f)=>{let h=(0,no.resolve)(r,m);return a.copies.has(u((0,no.relative)(r,h)))?u((0,no.relative)((0,no.dirname)(t),h)):l(m,f)}),e=_y(a.rewrite(e)),vn(e,m=>{if(/\[\[[^\]\n]*\.pdf#page=[^\]\n]*\]\]/i.test(m))throw new Error(`PDF \uC704\uD0A4\uB9C1\uD06C\uB97C \uD574\uC11D\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4 (${c}). --base\uC5D0 PDF\uAC00 \uD3EC\uD568\uB418\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694.`);return m}),{...await wy(e,t,r,i,o,a.source,s),copies:a.copies}}async function Go(e,t,r,n){let i=Pn((0,Vr.join)(ci(),"csync-push-")),o=()=>Gt(i,{recursive:!0,force:!0});try{let a=new Set(r),s=Ai(e,t),u=Ha(t,Ba(e).map(c=>(0,Vr.relative)(e,c).split("\\").join("/")));for(let c of t){let l=(0,Vr.resolve)(e,c),d=(0,Vr.resolve)(i,c),m=ie(l,"utf8");if(a.has(c)){let f=await y0(m,l,e,u,i,!1,void 0,!1);m=f.text;for(let[h,b]of f.copies){let w=(0,Vr.resolve)(i,h);Re((0,Vr.dirname)(w),{recursive:!0}),zr(b,w)}}if(a.has(c)){let f=s.docs[c];for(let h of s.render(c,f.body,f.title).attachments){if(!ot(e,h.abs)||!J(h.abs))continue;let b=(0,Vr.resolve)(i,(0,Vr.relative)(e,h.abs));J(b)||(Re((0,Vr.dirname)(b),{recursive:!0}),zr(h.abs,b))}}Re((0,Vr.dirname)(d),{recursive:!0}),it(d,m)}return{...Ai(i,t,n?{...n,referenceBase:e}:void 0),dispose:o}}catch(a){throw o(),a}}var w0=class extends Error{},QD="attachments",eI=/\[([^\]]*)\]\(<?(https?:\/\/[^\s)<>]*?\/pages\/(\d+)[^\s)<>]*?)>?\)/g,G3=/\[([^\]]*)\]\(#([^)\s]+)\)/g,tI=/(\[[^\]]*\]\(<?https?:\/\/[^\s)<>]*?\/pages\/(\d+)[^\s)<>#]*)#([^\s)<>]+?)(>?\))/g;function _m(e,t,r,n=!1){let i=(0,te.relative)(e.stageBase,t).split("\\").join("/");if(!ot(e.stageBase,t)||!mr(i||".",e.workspace)||Lt(e.baseDir,n?`${i}/.boundary`:i))throw new Error(`\uAD00\uB9AC \uBC94\uC704 \uBC16 pull \uB300\uC0C1: ${i}`);let o=e.claimed.get(t);if(o&&o!==r)throw new Error(`\uAC19\uC740 \uB85C\uCEEC \uACBD\uB85C\uC5D0 \uC5EC\uB7EC \uC6D0\uACA9 \uD56D\uBAA9\uC774 \uB300\uC751\uD569\uB2C8\uB2E4: ${i}`);e.claimed.set(t,r)}function wm(e,t){let r=e.indexOf(t);return r>=0&&r+1<e.length?e[r+1]:void 0}function rI(e){return/^\d+$/.test(e)?e:e.match(/\/(?:pages|folder)\/(\d+)/)?.[1]??e.match(/[?&]pageId=(\d+)/)?.[1]??null}function Em(e){let t=e.replace(/[\/\\:*?"<>|]/g,"-").replace(/\s+/g," ").trim();return!t||/^\.+$/.test(t)?"untitled":t}var nI=e=>/\s/.test(e)?`<${e}>`:e;async function iI(e,t,r){let{client:n}=e,{id:i,title:o,html:a,storage:s}=t,u=e.incremental?[]:await n.getChildFolders(i),c=e.incremental?[]:await n.getChildPages(i),l=u.length+c.length>0,d=i===e.rootId,f=e.knownPaths.get(i)??(d?(0,te.join)(r,"README.md"):l?(0,te.join)(r,Em(o),"README.md"):(0,te.join)(r,`${Em(o)}.md`)),h=(0,te.dirname)(f);_m(e,f,i),t.version!==void 0&&e.versions.set(i,t.version),Re((0,te.dirname)(f),{recursive:!0});let b=(0,te.basename)(f).replace(/\.md$/,""),w=`${QD}/${b}`,D=new Set,k=Cu(a,{obsidian:e.obsidian,pageId:i,onImage:I=>D.add(I),assetPrefix:w,codeLangs:ku(s),storage:s});if(D.size){let I=await n.listAttachments(i),F=new Map(I.map(S=>[S.filename,S.downloadPath])),j=(0,te.join)((0,te.dirname)(f),w),B=new Set,G=(S,N)=>{B.add(S),e.missingAttachments++,console.log(`[\uACBD\uACE0] \uC6D0\uACA9 \uCCA8\uBD80 \uB204\uB77D #${i}: ${S} (${N}). \uC6D0\uACA9 \uCC38\uC870\uB97C \uC720\uC9C0\uD558\uACE0 \uACC4\uC18D\uD569\uB2C8\uB2E4.`)};for(let S of D){if((0,te.basename)(S)!==S||S==="."||S===".."||S.includes("\\"))throw new Error(`\uC798\uBABB\uB41C \uCCA8\uBD80 \uD30C\uC77C\uBA85: ${S}`);let N=F.get(S);if(!N){G(S,"\uC774 \uD398\uC774\uC9C0 \uCCA8\uBD80 \uBAA9\uB85D\uC5D0 \uC5C6\uC74C");continue}let P;try{P=await n.downloadAttachment(N)}catch(H){if(H instanceof _u&&H.status===404){G(S,"\uB2E4\uC6B4\uB85C\uB4DC 404");continue}throw H}Re(j,{recursive:!0});let _=(0,te.join)(j,S);e.assetOwners.set(_,i),it(_,P)}B.size&&(k=Cu(a,{obsidian:e.obsidian,pageId:i,assetPrefix:w,codeLangs:ku(s),storage:s,attachmentDestination:(S,N)=>{if(!B.has(S))return`${w}/${S}`;if(/^https?:\/\//i.test(N))return N;let P=e.remoteBaseUrl.replace(/\/$/,"");return N.startsWith("/wiki/")?P.replace(/\/wiki$/,"")+N:N.startsWith("/")?P+N:`${P}/download/attachments/${i}/${encodeURIComponent(S)}`}}))}let T=Ry({title:o,pageId:i,spaceKey:e.spaceKey,source:t.url??"",updated:t.updated??""});it(f,T?`${T}${k}`:`# ${o}
213
+
214
+ ${k}`),e.written.push(f),e.pathById.set(i,f);let v=D.size?`, \uC774\uBBF8\uC9C0 ${D.size}`:"";console.log(` ${Me("\u2193 \uB2E4\uC6B4\uB85C\uB4DC \uC900\uBE44")} ${(0,te.join)(e.baseDir,(0,te.relative)(e.stageBase,f))} ${xe(`(#${i}${v}, \uAC80\uC99D \uD6C4 \uC800\uC7A5)`)}`);let C={pages:1,folders:0};for(let I of u)Du(C,await Iu(e,I.id,h));for(let I of c)Du(C,await Iu(e,I.id,h));return C}function Du(e,t){e.pages+=t.pages,e.folders+=t.folders}async function Iu(e,t,r){let{client:n}=e;if(e.visited.has(t))return{pages:0,folders:0};let i=e.knownPaths.get(t);if(i&&!mr((0,te.relative)(e.stageBase,i).split("\\").join("/"),e.workspace))return{pages:0,folders:0};e.visited.add(t),Sn(`\uC6D0\uACA9 \uBB38\uC11C\xB7\uD3F4\uB354 #${t} \uAC00\uC838\uC624\uAE30 \xB7 ${e.visited.size}\uBC88\uC9F8 \uD56D\uBAA9`);try{let o=await n.assertInScope(t);o?.parentId&&e.parents.set(t,o.parentId);let a=await n.getNode(t);if(e.incremental&&(String(a.id)!==t||a.type!=="page"))throw new Error(`\uB9E4\uD551\uB41C \uC6D0\uACA9 \uD398\uC774\uC9C0\uAC00 \uC544\uB2D9\uB2C8\uB2E4: #${t}`);let s=e.expectedVersions.get(t);if(e.incremental&&(!Number.isInteger(a.version)||!a.version||s!==void 0&&a.version<s))throw new Error(`\uC6D0\uACA9 \uBC84\uC804\uC744 \uD655\uC778\uD560 \uC218 \uC5C6\uAC70\uB098 Fetch\uBCF4\uB2E4 \uC774\uC804 \uBC84\uC804\uC785\uB2C8\uB2E4: #${t}. \uB2E4\uC2DC Fetch\uD55C \uD6C4 Pull\uD558\uC138\uC694.`);if(a.type==="folder"){let u=e.knownPaths.get(t)??(t===e.rootId?r:(0,te.join)(r,Em(a.title)));_m(e,u,t,!0),Re(u,{recursive:!0}),e.folderIds.set(u,t),console.log(` ${Me("\u{1F4C1} \uD3F4\uB354 \uC900\uBE44")} ${(0,te.join)(e.baseDir,(0,te.relative)(e.stageBase,u))} ${xe(`(#${t}, \uAC80\uC99D \uD6C4 \uC800\uC7A5)`)}`);let c={pages:0,folders:1};for(let l of await n.getChildFolders(t))Du(c,await Iu(e,l.id,u));for(let l of await n.getChildPages(t))Du(c,await Iu(e,l.id,u));return c}return await iI(e,a,r)}catch(o){throw o instanceof w0?o:new w0(`pull \uC2E4\uD328 #${t}: ${o.message}`)}}function X3(e){let{data:t,body:r}=It(ie(e,"utf8")),n=gi(r);return{title:t.title??"",headings:n,textBySlug:new Map(n.map(i=>[i.slug,i.text]))}}function oI(e,t,r=new Map){let n=new Map(r);for(let o of e)n.set(o,X3(o));let i=0;for(let o of e){let a=n.get(o),s=ie(o,"utf8"),u=(l,d)=>d.textBySlug.has(l)?null:sl(l,d.headings,d.title)?.slug??null,c=s.replace(G3,(l,d,m)=>{let f=u(m,a);return f?(i++,`[${d}](#${f})`):l});c=c.replace(tI,(l,d,m,f,h)=>{let b=t.get(m),w=b&&n.get(b);if(!w)return l;let D=u(f,w);return D?(i++,`${d}#${D}${h}`):l}),c=Qs(c,l=>{let d=l.match(/^(https?:\/\/[^\s]*?\/pages\/(\d+)[^#]*)#(.+)$/),m=d?t.get(d[2]):void 0,f=l.startsWith("#")?a:m?n.get(m):void 0,h=l.startsWith("#")?l.slice(1):d?.[3],b=f&&h?u(h,f):null;return b?(i++,l.startsWith("#")?`#${b}`:`${d[1]}#${b}`):l}),c!==s&&it(o,c)}return{count:i,info:n}}function aI(e,t,r,n){let i=s=>(0,te.basename)(s).replace(/\.md$/i,""),o=new Map;for(let s of t.values())o.set(i(s),(o.get(i(s))??0)+1);let a=0;for(let s of e){let u=ie(s,"utf8"),c=u.replace(eI,(l,d,m,f)=>{let h=t.get(f);if(!h||h===s)return l;a++;let b=i(h),w=(d||b).trim(),D=m.includes("#")?m.split("#").slice(1).join("#"):"";if(r&&o.get(b)===1){let T=D?n?.get(h)?.textBySlug.get(D):void 0,v=dl(w);return T?`[[${b}#${T}|${v}]]`:v===b?`[[${b}]]`:`[[${b}|${v}]]`}let k=(0,te.relative)((0,te.dirname)(s),h).split("\\").join("/");return`[${w}](${nI(k+(D?`#${D}`:""))})`});c=Qs(c,l=>{let d=l.match(/^https?:\/\/[^\s]*?\/pages\/(\d+)[^#]*(#.*)?$/),m=d?t.get(d[1]):void 0;return!m||m===s?l:(a++,(0,te.relative)((0,te.dirname)(s),m).split("\\").join("/")+(d[2]??""))}),r&&(c=c.replace(G3,(l,d,m)=>{let f=n?.get(s)?.textBySlug.get(m);if(!f)return l;a++;let h=dl(d.trim());return h&&h!==f?`[[#${f}|${h}]]`:`[[#${f}]]`})),c!==u&&it(s,c)}return a}async function sI(e,t,r,n,i=new Map,o=new Map,a){let s=h=>h.split("\\").join("/"),u=zt(e,[]),c=hr(e).map(h=>s((0,te.relative)(e,h))).filter(h=>!u.ignores(h));Sn("\uAC00\uC838\uC628 \uBB38\uC11C\uC758 \uB3D9\uAE30\uD654 \uAE30\uC900 \uACC4\uC0B0");let l=J(t)?ie(t,"utf8"):void 0,d=gr(t),m=[],f=await Go(e,c,[...r.values()].map(h=>s((0,te.relative)(e,h))).filter(h=>c.includes(h)));try{let{docs:h,render:b}=f,w=[],D=new Set([...r.keys(),...n.values()]);for(let[T,v]of Object.entries(d))D.has(v.pageId)&&delete d[T];let k=0;for(let[T,v]of r){let C=s((0,te.relative)(e,v)),I=C.startsWith("..")?void 0:h[C];I&&(d[C]={pageId:T,title:I.title,hash:Nt(I.title,b(C,I.body,I.title)),localHash:Jo(e,C,b(C,I.body,I.title)),...i.has(T)?{remoteVersion:i.get(T)}:{},...o.has(T)?{remoteParentId:o.get(T)}:{}},w.push({rel:C,text:ie(v,"utf8")}),k++)}for(let[T,v]of n){let C=s((0,te.relative)(e,T));!C||C.startsWith("..")||(d[`${C}/`]={pageId:v,title:(0,te.basename)(T),type:"folder",...o.has(v)?{remoteParentId:o.get(v)}:{}},k++)}a?.();for(let{rel:T,text:v}of w){let C=Ne("sha256").update(v).digest("hex"),I=(0,te.join)(e,An,"objects",C+".md");J(I)||m.push(I),d[T].sourceObject=cs(e,v)}if(a?.(),(J(t)?ie(t,"utf8"):void 0)!==l)throw new Error("\uAE30\uC900 \uACC4\uC0B0 \uC911 \uB9E4\uD551\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uAC00\uC838\uC624\uC138\uC694.");return Jn(t,d),k}catch(h){let b=new Set;try{b=new Set(Object.values(gr(t)).map(w=>w.sourceObject??""))}catch{throw h}for(let w of m)!b.has((0,te.basename)(w,".md"))&&J(w)&&Gt(w,{force:!0});throw h}finally{f.dispose()}}function Xo(e,t,r=!1){if(!t.length)throw new Error("\uBCF5\uAD6C\uD560 \uD30C\uC77C\uC744 \uC9C1\uC811 \uC9C0\uC815\uD558\uC138\uC694: csync restore README.md");jt(dt(e));let n=gr(Kt(e)),i=zt(e,[]),o=[...new Set(t.map(s=>Ua(e,s)))];for(let s of o){let u=n[s];if(!/\.md$/i.test(s)||!u||u.type==="folder")throw new Error(`\uB9E4\uD551\uB41C Markdown \uD30C\uC77C\uB9CC \uBCF5\uAD6C\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4: ${s}`);if(i.ignores(s)||Lt(e,s))throw new Error(`\uC81C\uC678\uB418\uC5C8\uAC70\uB098 \uB3C5\uB9BD \uC791\uC5C5\uACF5\uAC04\uC5D0 \uC18D\uD55C \uD30C\uC77C\uC785\uB2C8\uB2E4: ${s}`);if(u.pendingMove)throw new Error(`\uC774\uB3D9 \uB300\uAE30 \uC911\uC778 \uD30C\uC77C\uC740 \uBCF5\uAD6C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: ${s}`);try{let c=ct((0,te.resolve)(e,s));if(r&&c.isFile()&&!c.isSymbolicLink()){let l=It(ie((0,te.resolve)(e,s),"utf8")).data.pageId;if(l&&l!==u.pageId)throw new Error(`\uB9E4\uD551\uACFC \uB85C\uCEEC pageId\uAC00 \uB2E4\uB985\uB2C8\uB2E4: ${s}`);continue}}catch(c){if(c.code==="ENOENT")continue;throw c}throw new Error(`\uC774\uBBF8 \uC874\uC7AC\uD558\uB294 \uB85C\uCEEC \uD30C\uC77C\uC740 \uBCF5\uAD6C\uB85C \uB36E\uC5B4\uC4F0\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4: ${s}. \uC77C\uBC18 \uD30C\uC77C\uC758 \uC218\uC815\uC744 \uBC84\uB9AC\uB824\uBA74 --overwrite\uB97C \uC9C0\uC815\uD558\uC138\uC694.`)}let a=new Set(o.map(s=>n[s].pageId));for(let s of hr(e)){let u=(0,te.relative)(e,s).split("\\").join("/");if(Lt(e,u))continue;let c=It(ie(s,"utf8")).data.pageId;if(c&&a.has(c)&&!(r&&o.includes(u)&&n[u].pageId===c))throw new Error(`\uAC19\uC740 pageId\uC758 \uB85C\uCEEC \uBB38\uC11C\uAC00 \uC774\uBBF8 \uC788\uC2B5\uB2C8\uB2E4: ${u}. \uD30C\uC77C \uC774\uB3D9 \uC5EC\uBD80\uB97C \uD655\uC778\uD558\uC138\uC694.`)}return o}async function E0(e,t={}){let r=t.restorePaths!==void 0,n=r&&t.restoreOverwrite===!0;if(e.includes("--scope"))throw new Error("--scope\uB294 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4. Pull\uC740 \uC2A4\uD398\uC774\uC2A4 \uC791\uC5C5\uACF5\uAC04\uC744 \uAE30\uC900\uC73C\uB85C \uC2E4\uD589\uD569\uB2C8\uB2E4.");if(e.includes("--no-mapping"))throw new Error("Pull\uC740 \uB9E4\uD551\uC744 \uC720\uC9C0\uD574\uC57C \uD569\uB2C8\uB2E4.");if(e.includes("--root"))throw new Error("--root\uB294 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uAE30\uC900 \uD3F4\uB354\uB294 \uC2A4\uD398\uC774\uC2A4 \uB8E8\uD2B8\uC5D0 \uC5F0\uACB0\uB429\uB2C8\uB2E4.");let i=e.includes("--remote-only"),o=!r&&(e.includes("--full")||e.includes("--space")||ti(e).length>1),a=!r&&!o;if(i&&(e.includes("--full")||e.includes("--space")||ti(e).length>1))throw new Error("--remote-only\uB294 \uC804\uCCB4 \uD0D0\uC0C9\xB7\uAC1C\uBCC4 \uD398\uC774\uC9C0 \uC9C0\uC815\uACFC \uD568\uAED8 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");let s=wm(e,"--base"),u=(0,te.resolve)(wm(e,"--out")??Vn(s)??y.cwd()),c=(0,te.resolve)(s??Kp(u)??u);if(!ot(c,u))throw new Error(`--out \uC774 base \uBC16\uC785\uB2C8\uB2E4: ${u}`);if(c!==u)throw new Error("Pull\uC740 \uAE30\uC900 \uD3F4\uB354 \uC548\uC758 \uC6D0\uB798 \uACBD\uB85C\uC5D0 \uC800\uC7A5\uD569\uB2C8\uB2E4. --base\uC640 --out\uC740 \uAC19\uC544\uC57C \uD569\uB2C8\uB2E4.");let l=(0,te.resolve)(wm(e,"--mapping")??Kt(c)),d=r?Xo(c,t.restorePaths,n):void 0,m=dt(c),f=ki(c);p0(f),m.version!==2&&(Re(c,{recursive:!0}),m=await o0(c,f));let h=jt(m),b=gr(l),w=L=>J(L)?Ne("sha256").update(ie(L)).digest("hex"):void 0,D=new Map([l,(0,te.join)(c,".env"),...xl(c)].map(L=>[L,w(L)])),k=()=>{for(let[L,Z]of D)if(w(L)!==Z)throw new Error("pull \uB3C4\uC911 \uC124\uC815\xB7\uB9E4\uD551\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.")};zn(m,f);let T=us({baseUrl:f.baseUrl,email:f.email,token:f.token},{force:!1,verify:!1,scope:{id:h.id,spaceId:m.connection.spaceId,spaceOnly:!o}}),v=ti(e)[1],C=new Map(Object.entries(b).map(([L,Z])=>[Z.pageId,L])),I;if(v){let L=rI(v);if(!L||!(L===h.id||C.has(L)&&mr(C.get(L).replace(/\/$/,""),m)))throw new Error("\uAC00\uC838\uC62C \uD398\uC774\uC9C0\uAC00 \uC791\uC5C5\uACF5\uAC04\uC5D0 \uB9E4\uD551\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.");I=[L]}else I=[h.id];let F=!o,j=0,B,G=new Set,S=new Set,N=new Map;if(d){I=d.map(L=>b[L].pageId);for(let L of d)b[L].remoteVersion&&N.set(b[L].pageId,b[L].remoteVersion);console.log(`\uC6D0\uACA9\uC5D0\uC11C ${n?"\uC120\uD0DD \uBB38\uC11C \uC6D0\uBCF5(\uB85C\uCEEC \uC218\uC815 \uB36E\uC5B4\uC4F0\uAE30)":"\uB204\uB77D \uBB38\uC11C \uBCF5\uAD6C"} \xB7 ${d.length}\uAC1C \xB7 \uD558\uC704 \uD56D\uBAA9 \uD0D0\uC0C9 \uC5C6\uC74C`)}else if(o)console.log("\uAE30\uC874 \uC804\uCCB4 \uD0D0\uC0C9 \uC635\uC158 \uD638\uD658 \uC2E4\uD589 \xB7 \uC77C\uBC18 \uAC00\uC838\uC624\uAE30\uB294 csync pull\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.");else{let{snapshot:L,cached:Z,requests:he}=await lm(c,f,{mappingFile:l});B=L;let st=new Map;for(let ve of hr(c)){let $t=(0,te.relative)(c,ve).split("\\").join("/");if(Lt(c,$t))continue;let Ut=It(ie(ve,"utf8")).data.pageId;Ut&&st.set(Ut,[...st.get(Ut)??[],$t])}I=L.items.filter(ve=>{if(v&&!I.includes(ve.pageId))return!1;if(ve.state!=="changed"&&ve.state!=="new")return j++,!1;if(ve.remoteVersion!==void 0&&N.set(ve.pageId,ve.remoteVersion),ve.state==="new"){if(st.get(ve.pageId)?.some($t=>$t!==ve.path))return console.log(`\uAC19\uC740 pageId\uC758 \uB2E4\uB978 \uB85C\uCEEC \uBB38\uC11C\uAC00 \uC788\uC5B4 \uBCF4\uC874: ${ve.path}`),j++,!1;try{let $t=ct((0,te.resolve)(c,ve.path)),Ut=$t.isFile()&&!$t.isSymbolicLink()?It(ie((0,te.resolve)(c,ve.path),"utf8")).data:{};if(Ut.pageId===ve.pageId&&Ut.spaceKey===f.spaceKey)S.add(ve.path),console.log(`\uBC1B\uAE30 \uBBF8\uC644\uB8CC \uBB38\uC11C \uC7AC\uAC80\uC99D: ${ve.path}`);else return console.log(`\uAE30\uC874 \uB85C\uCEEC \uACBD\uB85C\uAC00 \uC788\uC5B4 \uBCF4\uC874: ${ve.path}`),j++,!1}catch($t){if($t.code!=="ENOENT")throw $t}if(Lt(c,ve.path)||zt(c,[]).ignores(ve.path))return!1;C.set(ve.pageId,ve.path),S.has(ve.path)||G.add(ve.path)}return!0}).map(ve=>ve.pageId),console.log(`Fetch \uAE30\uBC18 Pull \xB7 \uC870\uD68C \uC2DC\uAC01 ${L.checkedAt}${Z?" (\uCE90\uC2DC)":""} \xB7 \uBA54\uD0C0\uB370\uC774\uD130 \uC694\uCCAD ${he}\uD68C`),console.log(`\uAC00\uC838\uC62C \uC6D0\uACA9 \uC2E0\uADDC\xB7\uBCC0\uACBD ${I.length}\uAC74 \xB7 \uAC74\uB108\uB700 ${j}\uAC74`);let Se=L.items.filter(ve=>ve.state==="unavailable");Se.length&&console.log(`[\uACBD\uACE0] \uC6D0\uACA9 \uC870\uD68C \uBD88\uAC00 ${Se.length}\uAC74\uC740 \uBB38\uC11C\uC640 \uB9E4\uD551\uC744 \uC720\uC9C0\uD569\uB2C8\uB2E4.`)}k();let P=I.includes(h.id)?h.id:void 0;if(P&&C.has(P)&&C.get(P)!=="README.md")throw new Error("\uC2A4\uD398\uC774\uC2A4 \uB8E8\uD2B8 \uB9E4\uD551\uC740 README.md\uC5EC\uC57C \uD569\uB2C8\uB2E4. \uAE30\uC874 \uB9E4\uD551\uC744 \uD655\uC778\uD558\uC138\uC694.");if(F&&!I.length){console.log("\uC644\uB8CC \xB7 Fetch \uAE30\uC900 \uB0B4\uB824\uBC1B\uC744 \uC6D0\uACA9 \uBCC0\uACBD\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. \uBB38\uC11C\xB7\uB9E4\uD551\uC744 \uC720\uC9C0\uD569\uB2C8\uB2E4.");return}await a0(T,m),k();let _=new Map,H=L=>{if(J(L))for(let Z of mn(L,{withFileTypes:!0})){let he=(0,te.join)(L,Z.name);Z.isDirectory()&&!Z.name.startsWith(".")&&Z.name!=="node_modules"?H(he):Z.isFile()&&_.set(he,w(he))}};H(c);for(let L of[l,(0,te.join)(c,".env"),...xl(c)])_.set(L,w(L));let R=zt(c,[]),M=(J(c)?hr(c):[]).map(L=>(0,te.relative)(c,L).split("\\").join("/")).filter(L=>!Lt(c,L)&&!R.ignores(L)),q=new Set(I),W=M.filter(L=>mr(L,m)&&(!F||q.has(b[L]?.pageId)));Sn("\uB36E\uC5B4\uC4F0\uAE30 \uC804 \uB85C\uCEEC \uBCC0\uACBD\xB7\uCCA8\uBD80 \uD655\uC778");let V=await Go(c,M,W),Ae=new Set;try{let L=Ai(c,M);for(let Z of W){let he=V.docs[Z],st=V.render(Z,he.body,he.title),Se=b[Z];(Se?.localHash?Se.localHash===Jo(c,Z,st):Se?.hash&&(Se.hash===Nt(he.title,st)||Se.hash===Nt(L.docs[Z].title,L.render(Z,L.docs[Z].body,L.docs[Z].title))||Se.hash===Nt(he.title,V.render(Z,he.body,he.title,"panels"))||Se.hash===Nt(he.title,V.render(Z,he.body,he.title,!0))||Se.hash===Nt(L.docs[Z].title,L.render(Z,L.docs[Z].body,L.docs[Z].title,"panels"))||Se.hash===Nt(L.docs[Z].title,L.render(Z,L.docs[Z].body,L.docs[Z].title,!0))))&&Ae.add(Z)}}finally{V.dispose()}if(a&&F&&(I=I.filter(L=>{let Z=C.get(L),he=!!Z&&(G.has(Z)||S.has(Z)||Ae.has(Z))&&!b[Z]?.pendingMove;return he||(j++,console.log(`\uB85C\uCEEC \uBCC0\uACBD\xB7\uD655\uC778 \uD544\uC694\uB85C \uBCF4\uC874: ${Z??L}`)),he}),P=I.includes(h.id)?h.id:void 0,!I.length)){console.log("\uC644\uB8CC \xB7 \uC548\uC804\uD558\uAC8C \uAC00\uC838\uC62C \uC6D0\uACA9 \uC804\uC6A9 \uBCC0\uACBD\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. \uB85C\uCEEC \uBCC0\uACBD\uC740 \uC720\uC9C0\uD569\uB2C8\uB2E4.");return}let be=[];for(let L of sw(B?.folders)){let Z=Object.entries(b).filter(([st,Se])=>Se.type!=="folder"&&st.startsWith(L.from)&&/\.md$/i.test(st));if(!Z.some(([,st])=>I.includes(st.pageId)))continue;if(Z.some(([st,Se])=>!Ae.has(st)||Se.pendingMove||!I.includes(Se.pageId))){if(!a)throw Error(`\uB85C\uCEEC \uBCC0\uACBD\xB7\uB204\uB77D \uB610\uB294 \uC77C\uBD80 \uBB38\uC11C \uC120\uD0DD\uC73C\uB85C \uD3F4\uB354 \uC774\uB3D9\uC744 \uBCF4\uB958\uD569\uB2C8\uB2E4: ${L.from}`);let st=new Set([...Z.map(([,Se])=>Se.pageId),...(B?.items??[]).filter(Se=>Se.state==="new"&&Se.path.startsWith(L.to)).map(Se=>Se.pageId)]);I=I.filter(Se=>!st.has(Se)),console.log(`\uB85C\uCEEC \uBCC0\uACBD\xB7\uB204\uB77D\uC774 \uC788\uC5B4 \uD3F4\uB354\uC640 \uD558\uC704 \uBB38\uC11C\uB97C \uBCF4\uC874: ${L.from}`);continue}if(be.some(st=>L.from.startsWith(st.from)||st.from.startsWith(L.from)))throw Error("\uC11C\uB85C \uB2E4\uB978 \uC704\uCE58\uB85C \uC774\uB3D9\uD55C \uC911\uCCA9 \uD3F4\uB354\uB294 \uD55C \uBC88\uC5D0 \uC801\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB85C\uCEEC \uD30C\uC77C\uC740 \uC720\uC9C0\uD569\uB2C8\uB2E4.");zp(c,L),be.push(L)}if(F&&!I.length){console.log("\uC644\uB8CC \xB7 \uD3F4\uB354 \uC774\uB3D9\uC744 \uD3EC\uD568\uD574 \uC548\uC804\uD558\uAC8C \uAC00\uC838\uC62C \uBB38\uC11C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. \uB85C\uCEEC \uBCC0\uACBD\uC740 \uC720\uC9C0\uD569\uB2C8\uB2E4.");return}let Y=new Map(be.map(L=>[L.from,Vp(c,L.from)])),K=L=>uw(L,be),Ce=Pn((0,te.join)(ci(),"csync-pull-")),at=(0,te.join)(Ce,(0,te.relative)(c,u)),Je={client:T,remoteBaseUrl:f.baseUrl,missingAttachments:0,incremental:F,expectedVersions:N,obsidian:e.includes("--obsidian"),spaceKey:f.spaceKey,written:[],pathById:new Map,folderIds:new Map,versions:new Map,parents:new Map,assetOwners:new Map,knownPaths:new Map([...C].map(([L,Z])=>[L,(0,te.resolve)(Ce,K(Z))])),stageBase:Ce,baseDir:c,workspace:m,rootId:P,claimed:new Map,visited:new Set};try{if(B?.folders)for(let le of B.folders){if(![...G,...S,...I.map(De=>K(C.get(De)??""))].some(De=>De.startsWith(le.path)))continue;let ke=b[le.path];if(ke&&ke.pageId!==le.pageId)throw new Error(`\uC6D0\uACA9 \uD3F4\uB354 \uACBD\uB85C \uCDA9\uB3CC: ${le.path}`);let Q=(0,te.resolve)(Ce,le.path);_m(Je,Q,le.pageId,!0),Re(Q,{recursive:!0}),Je.folderIds.set(Q,le.pageId),le.parentId&&Je.parents.set(le.pageId,le.parentId)}P&&Je.knownPaths.delete(P);let L={pages:0,folders:0};for(let le of[...new Set(I)]){if(P===le&&b["README.md"]&&b["README.md"].pageId!==le)throw new Error("\uB8E8\uD2B8 README.md\uAC00 \uB2E4\uB978 \uD398\uC774\uC9C0\uC5D0 \uC5F0\uACB0\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.");Du(L,await Iu(Je,le,at))}let Z=new Map(Je.pathById),he=new Map;if(F)for(let[le,ke]of C){if(Z.has(le)||!/\.md$/i.test(ke)||R.ignores(ke)||Lt(c,ke))continue;let Q=(0,te.resolve)(c,ke),De=(0,te.resolve)(Ce,ke);!ot(c,Q)||!ot(Ce,De)||!J(Q)||!ct(Q).isFile()||ct(Q).isSymbolicLink()||!ot(lt(c),lt(Q))||(Z.set(le,De),he.set(De,X3(Q)))}let{count:st,info:Se}=oI(Je.written,Z,he),ve=aI(Je.written,Z,Je.obsidian,Se),$t=[],Ut=[],Er=le=>{for(let ke of mn(le,{withFileTypes:!0})){let Q=(0,te.join)(le,ke.name);ke.isDirectory()?(Ut.push(Q),Er(Q)):$t.push(Q)}};Er(Ce);let Dn=new Set(Je.written),Yr=(le,ke)=>{let Q=(0,te.resolve)(c,le);for(let De=Q;ot(c,De);De=(0,te.dirname)(De)){if(J(De)){let ze=ct(De);if(ze.isSymbolicLink()||!ot(lt(c),lt(De)))throw new Error(`\uC2EC\uBCFC\uB9AD \uB9C1\uD06C pull \uB300\uC0C1\uC740 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4: ${le}`);if(De===Q&&!ke?!ze.isFile():!ze.isDirectory())throw new Error(`\uD30C\uC77C\xB7\uD3F4\uB354 \uACBD\uB85C \uCDA9\uB3CC: ${le}`)}if(De===c)break}};for(let le of Ut)Yr((0,te.relative)(Ce,le),!0);for(let le of $t){let ke=(0,te.relative)(Ce,le).split("\\").join("/"),Q=(0,te.resolve)(c,ke);if(R.ignores(ke))throw new Error(`\uC81C\uC678\uB41C pull \uB300\uC0C1: ${ke}`);if(Yr(ke,!1),w(Q)!==_.get(Q))throw new Error(`pull \uB3C4\uC911 \uB85C\uCEEC \uD30C\uC77C\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4: ${ke}`);if(J(Q)){if(Dn.has(le)){let De=b[ke];if(S.has(ke)){if(!ie(le).equals(ie(Q)))throw new Error(`\uBC1B\uAE30 \uBBF8\uC644\uB8CC \uBB38\uC11C\uAC00 \uC6D0\uACA9\uACFC \uB2E4\uB985\uB2C8\uB2E4: ${ke}. \uB85C\uCEEC \uC218\uC815\uC740 \uC720\uC9C0\uD569\uB2C8\uB2E4. \uC6D0\uACA9\uACFC \uBE44\uAD50\uD558\uACE0 \uD544\uC694\uD55C \uBCC0\uACBD\uC744 \uBCF4\uAD00\uD55C \uB4A4 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.`);continue}if(!De||!Ae.has(ke)&&!(n&&d?.includes(ke))||De.pendingMove)throw new Error(`\uB85C\uCEEC \uBCC0\uACBD \uCDA9\uB3CC: ${ke}. \uBCC0\uACBD\uC744 \uBCF4\uAD00\uD558\uAC70\uB098 \uBE44\uAD50\uD55C \uB4A4 \uB2E4\uC2DC pull\uD558\uC138\uC694.`)}else if(w(le)!==w(Q)){let De=Je.assetOwners.get(le),ze=De?C.get(De):void 0;if(!ze||!Ae.has(ze)&&!(n&&d?.includes(ze)))throw new Error(`\uCCA8\uBD80 \uD30C\uC77C \uCDA9\uB3CC: ${ke}. \uBCC4\uB3C4 --out\uC73C\uB85C \uBC1B\uC544 \uBE44\uAD50\uD558\uC138\uC694.`)}}}for(let le of[l,(0,te.join)(c,".env"),...xl(c)])if(w(le)!==_.get(le))throw new Error("pull \uB3C4\uC911 \uC124\uC815\xB7\uB9E4\uD551\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");d&&Xo(c,d,n),await cw(T,be,B?.folders??[]);let dn=Pn((0,te.join)(ci(),"csync-pull-backup-")),_r=[],Ve=[],er=[],Pe,ii=!1,qt=le=>{if(J(le))return;let ke=[];for(let Q=le;ot(c,Q)&&!J(Q);Q=(0,te.dirname)(Q))ke.push(Q);Re(le,{recursive:!0}),Ve.push(...ke.reverse())};try{qt(c);for(let Q of be)if(zp(c,Q),Vp(c,Q.from)!==Y.get(Q.from))throw Error(`pull \uB3C4\uC911 \uC774\uB3D9\uD560 \uD3F4\uB354\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4: ${Q.from}`);for(let Q of be){let De=(0,te.resolve)(c,Q.from),ze=(0,te.resolve)(c,Q.to);qt((0,te.dirname)(ze)),nn(De,ze),er.push(Q);for(let[ee,z]of[..._])ot(De,ee)&&_.set((0,te.resolve)(ze,(0,te.relative)(De,ee)),z);console.log(`\uB85C\uCEEC \uD3F4\uB354 \uC774\uB3D9: ${Q.from} \u2192 ${Q.to}`)}for(let Q of Ut)qt((0,te.join)(c,(0,te.relative)(Ce,Q)));for(let Q of $t){let De=(0,te.relative)(Ce,Q).split("\\").join("/"),ze=(0,te.join)(c,(0,te.relative)(Ce,Q));if(S.has(De)&&Dn.has(Q)||d&&J(ze)&&!Dn.has(Q)&&w(ze)===w(Q))continue;if(w(ze)!==_.get(ze))throw new Error(`pull \uB3C4\uC911 \uB85C\uCEEC \uD30C\uC77C\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4: ${De}`);qt((0,te.dirname)(ze));let ee={dest:ze,hash:w(Q)};J(ze)&&(ee.prior=(0,te.join)(dn,String(_r.length)),zr(ze,ee.prior)),_r.push(ee);try{zr(Q,ze,d&&!n||G.has(De)?Fi.COPYFILE_EXCL:0)}catch(z){throw z.code==="EEXIST"&&(d&&!n||G.has(De))?(_r.pop(),z):(ee.hash=w(ze),z)}}let le=new Map([...Je.pathById].map(([Q,De])=>[Q,(0,te.join)(c,(0,te.relative)(Ce,De))])),ke=new Map([...Je.folderIds].map(([Q,De])=>[(0,te.join)(c,(0,te.relative)(Ce,Q)),De]));Pe=await sI(c,l,le,ke,Je.versions,Je.parents,()=>{for(let Q of Je.written)if(w((0,te.join)(c,(0,te.relative)(Ce,Q)))!==w(Q))throw new Error("\uAE30\uC900 \uACC4\uC0B0 \uC911 \uB85C\uCEEC \uBB38\uC11C\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uCD94\uAC00 \uC218\uC815\uC740 \uBCF4\uC874\uD569\uB2C8\uB2E4.");for(let Q of _r)if(w(Q.dest)!==Q.hash)throw new Error("\uAE30\uC900 \uACC4\uC0B0 \uC911 \uB85C\uCEEC \uBB38\uC11C\xB7\uCCA8\uBD80\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uCD94\uAC00 \uC218\uC815\uC740 \uBCF4\uC874\uD569\uB2C8\uB2E4.")})}catch(le){let ke=0;for(let Q of _r.reverse()){if(w(Q.dest)!==Q.hash){ke++;continue}try{Q.prior?zr(Q.prior,Q.dest):Gt(Q.dest,{force:!0})}catch{ii=!0}}for(let Q of er.reverse())try{nn((0,te.resolve)(c,Q.to),(0,te.resolve)(c,Q.from))}catch{ii=!0}for(let Q of[...new Set(Ve)].reverse())try{As(Q)}catch{}throw console.log(ke?`[\uACBD\uACE0] \uC801\uC6A9 \uC2E4\uD328\uB85C \uC800\uC7A5\uC744 \uCDE8\uC18C\uD588\uC2B5\uB2C8\uB2E4. \uB3C4\uC911 \uCD94\uAC00 \uC218\uC815\uB41C ${ke}\uAC1C \uD30C\uC77C\uC740 \uBCF4\uC874\uD588\uC2B5\uB2C8\uB2E4.`:"\uC801\uC6A9 \uC2E4\uD328\uB85C \uBB38\uC11C\xB7\uCCA8\uBD80 \uC800\uC7A5\uC744 \uCDE8\uC18C\uD588\uC2B5\uB2C8\uB2E4. \uAE30\uC874 \uB85C\uCEEC \uD30C\uC77C\uC740 \uBCF5\uC6D0\uD588\uC2B5\uB2C8\uB2E4."),ii?new Error(`${le.message} \xB7 \uC77C\uBD80 \uD30C\uC77C \uBCF5\uC6D0 \uC2E4\uD328. \uBCF5\uAD6C\uC6A9 \uBC31\uC5C5: ${dn}`):le}finally{ii||Gt(dn,{recursive:!0,force:!0})}console.log(`
215
+ ${jr("\uC644\uB8CC")} \uD398\uC774\uC9C0 ${L.pages}\uAC1C, \uD3F4\uB354 ${L.folders}\uAC1C${F?`, \uAC74\uB108\uB700 ${j}\uAC1C`:""} \uB9E4\uD551 ${Pe}\uAC74 \uB0B4\uBD80\uB9C1\uD06C ${ve}\uAC1C, \uC575\uCEE4 ${st}\uAC1C`),console.log(xe(` base: ${c}`)),Je.missingAttachments&&console.log(`[\uACBD\uACE0 \uC694\uC57D] \uC6D0\uACA9 \uCCA8\uBD80 ${Je.missingAttachments}\uAC1C\uB97C \uB85C\uCEEC\uB85C \uC800\uC7A5\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uBB38\uC11C\uB294 \uC800\uC7A5\uD588\uC73C\uBA70 \uC6D0\uACA9 \uCC38\uC870\uB97C \uC720\uC9C0\uD588\uC2B5\uB2C8\uB2E4.`)}finally{Gt(Ce,{recursive:!0,force:!0})}}p();$e();var Y3=ce(Ke(),1);function vm(e,t,r){let n=null,i;try{n=T3(e,r)}catch{i="\uC6D0\uACA9 \uC870\uD68C \uCE90\uC2DC\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC5F0\uACB0 \uC124\uC815\uC744 \uD655\uC778\uD558\uACE0 csync fetch\uB85C \uB2E4\uC2DC \uC870\uD68C\uD558\uC138\uC694."}let o=new Map(n?.items.map(c=>[c.pageId,c])??[]),a=t.map(({entry:c,...l})=>{let d=o.get(l.pageId??"");return{...l,...l.unmapped?{recoverable:!!l.recoverable&&d?.state==="new"&&d.path===l.path}:{},remoteState:d?.state,remoteVersion:d?.remoteVersion,baselineVersion:d?.baselineVersion,remoteReasons:d?.reasons}}),s=new Set(a.map(c=>c.pageId)),u=zt(e,[]);for(let[c,l]of Object.entries(gr(Kt(e)))){if(!/\.md$/i.test(c)||l.type==="folder"||u.ignores(c)||Lt(e,c)||s.has(l.pageId))continue;let d=o.get(l.pageId);s.add(l.pageId),a.push({path:c,pageId:l.pageId,status:"unavailable",staged:!1,stale:!1,remoteState:d?.state,remoteVersion:d?.remoteVersion,baselineVersion:l.remoteVersion,remoteReasons:d?.reasons})}for(let c of n?.items??[])c.state!=="new"||s.has(c.pageId)||u.ignores(c.path)||Lt(e,c.path)||(a.push({path:c.path,pageId:c.pageId,status:J((0,Y3.resolve)(e,c.path))?"new":"unavailable",staged:!1,stale:!1,remoteState:"new",remoteVersion:c.remoteVersion,remoteReasons:c.reasons}),s.add(c.pageId));return{rows:a,remoteCheckedAt:n?.checkedAt??null,remoteExpired:!!n&&Date.now()-Date.parse(n.checkedAt)>=cm,remoteError:i}}p();$e();var Z3=ce(Ke(),1);async function Q3(e,t,r={}){let n=dt(e);jt(n);let i=Ua(e,t);if(!/\.md$/i.test(i)||!mr(i,n)||Lt(e,i)||zt(e,[]).ignores(i))throw new Error("\uC791\uC5C5\uACF5\uAC04 \uC548\uC758 Markdown \uBB38\uC11C\uB97C \uC120\uD0DD\uD558\uC138\uC694.");let o=(0,Z3.resolve)(e,i);if(!Et(o).isFile()||Et(o).size>2e6)throw new Error("\uBE44\uAD50\uD560 \uBB38\uC11C\uB294 2MB \uC774\uD558 \uC77C\uBC18 \uD30C\uC77C\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.");let a=ie(o,"utf8"),s=gr(Kt(e)),u=It(a).data.pageId,c=s[i]??Object.values(s).find(l=>l.pageId===String(u));if(r.remote){if(!c?.pageId)return{path:i,before:"",after:a,source:"new",canRemote:!1,note:"\uC6D0\uACA9 \uC5F0\uACB0\uC774 \uC5C6\uB294 \uC0C8 \uBB38\uC11C\uC785\uB2C8\uB2E4. \uC804\uCCB4 \uB0B4\uC6A9\uC774 \uCD94\uAC00\uB85C \uD45C\uC2DC\uB429\uB2C8\uB2E4."};let l=r.env??ki(e);zn(n,l);let d=await vu(l).getNode(c.pageId);if(String(d.id)!==c.pageId||d.type!=="page")throw new Error("\uC5F0\uACB0\uB41C \uC6D0\uACA9 \uD398\uC774\uC9C0\uB97C \uD655\uC778\uD558\uC138\uC694.");let m=It(a).body,f=m!==a?m.replace(/^\r?\n/,""):m;return{path:i,before:Cu(d.html,{obsidian:/^ {0,3}(?:> ?)+\[![\w-]+\]|\[\^[^\]\s]+\]:|(?<!\\)\^\[/m.test(f),pageId:c.pageId,storage:d.storage,codeLangs:ku(d.storage)}),after:f,source:"remote",canRemote:!0,note:`\uD604\uC7AC \uC6D0\uACA9 v${d.version??"?"} \u2192 \uB85C\uCEEC \uBCF8\uBB38 \uBE44\uAD50\uC785\uB2C8\uB2E4. \uC6D0\uACA9 HTML\uC758 \uADFC\uC0AC \uBCC0\uD658\uC774\uBA70 frontmatter\uB294 \uC81C\uC678\uD569\uB2C8\uB2E4. \uACFC\uAC70 \uB3D9\uAE30\uD654 \uAE30\uC900\uACFC\uC758 \uBE44\uAD50\uB294 \uC544\uB2D9\uB2C8\uB2E4. \uBCC0\uACBD \uBAA9\uB85D\uC5D0\uB294 \uBCF8\uBB38 \uC678 \uC81C\uBAA9\xB7\uC6D0\uACA9 \uC704\uCE58 \uBCC0\uACBD\uB3C4 \uD3EC\uD568\uB429\uB2C8\uB2E4.`}}return c?.sourceObject?{path:i,before:o3(e,c.sourceObject),after:a,source:"baseline",canRemote:!0,note:"\uB9C8\uC9C0\uB9C9 Pull\xB7Push \uC131\uACF5 \uC2DC \uC800\uC7A5\uD55C Markdown \u2192 \uD604\uC7AC \uB85C\uCEEC \uBB38\uC11C\uC785\uB2C8\uB2E4. \uCCA8\uBD80 \uD30C\uC77C\uC758 \uBC14\uC774\uD2B8 \uCC28\uC774\uB294 \uBCF8\uBB38 diff\uC5D0 \uD45C\uC2DC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."}:c?{path:i,before:null,after:a,source:"unavailable",canRemote:!0,note:"\uC774 \uBB38\uC11C\uC758 \uACFC\uAC70 \uBCF8\uBB38\uC740 \uC800\uC7A5\uB418\uC5B4 \uC788\uC9C0 \uC54A\uC544 \uD574\uC2DC\uB9CC\uC73C\uB85C diff\uB97C \uBCF5\uC6D0\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC6D0\uACA9\uACFC \uBE44\uAD50\uB97C \uB204\uB974\uBA74 \uD574\uB2F9 \uD398\uC774\uC9C0 \uBCF8\uBB38\uB9CC 1\uD68C \uC870\uD68C\uD569\uB2C8\uB2E4. \uC774\uD6C4 Pull\xB7Push \uC131\uACF5\uBD80\uD130 \uB85C\uCEEC \uAE30\uC900\uBCF8\uC774 \uC800\uC7A5\uB429\uB2C8\uB2E4."}:{path:i,before:"",after:a,source:"new",canRemote:!1,note:"\uC0C8 \uBB38\uC11C\uC785\uB2C8\uB2E4. \uC804\uCCB4 \uB0B4\uC6A9\uC774 \uCD94\uAC00\uB85C \uD45C\uC2DC\uB429\uB2C8\uB2E4."}}p();p();$e();var ev=ce(Ke(),1);function _0(e,t,r,n,i){let o=structuredClone(t),a=new Map(Object.entries(t).map(([d,m])=>[m.pageId,{key:d,entry:m}])),s=Fo(Object.keys(t).filter(d=>d.endsWith(".md"))),u=Fo(r),c=new Map(r.map(d=>[d,ru(e,d)])),l=new Map;for(let[d,m]of c){let f=m.fm.pageId??t[d]?.pageId;if(f){if(t[d]&&t[d].pageId!==f)throw new Error(`pageId \uCDA9\uB3CC: ${d}`);if(l.has(f))throw new Error(`\uBB38\uC11C pageId \uC911\uBCF5: ${l.get(f)}, ${d} (#${f})`);if(l.set(f,d),f===i.id&&(i.type!=="page"||d!=="README.md"))throw new Error("\uC2A4\uCF54\uD504 \uB8E8\uD2B8\uC758 \uB9E4\uD551 \uACBD\uB85C\uB294 README.md\uB85C \uC720\uC9C0\uD574\uC57C \uD569\uB2C8\uB2E4.")}}for(let d of n){let m=c.get(d),f=m.fm.pageId??t[d]?.pageId;if(!f)continue;let h=a.get(f);if(h?.entry.type==="folder")throw new Error(`\uD3F4\uB354 ID\uB97C \uBB38\uC11C\uC5D0 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4: ${d}`);if(h&&h.key!==d&&J((0,ev.resolve)(e,h.key)))throw new Error(`\uAE30\uC874 pageId \uACBD\uB85C\uAC00 \uB0A8\uC544 \uC788\uC2B5\uB2C8\uB2E4: ${h.key}, ${d}`);let b={...h?.entry??{pageId:f,title:m.title}},w=Ji(d,u),D=h?Ji(h.key,s):void 0,k=w?t[w]?.pageId??c.get(w)?.fm.pageId:i.id,T=!!h&&(D===w||!!k&&h.entry.remoteParentId===k);if(f===i.id){if(b.pendingMove)throw new Error("\uC2A4\uCF54\uD504 \uB8E8\uD2B8\uB294 \uC774\uB3D9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.")}else(!h||!T||b.pendingMove)&&(b.pendingMove={parentKey:w});h&&h.key!==d&&delete o[h.key],o[d]=b}return o}Wt();$e();var ri=ce(Ke(),1);var Sm=e=>Ne("sha256").update(e).digest("hex"),Am=(e,t)=>Sm(ie((0,ri.resolve)(e,t)));function tv(e){Bo(e);let t=(0,ri.join)(e,".csync/index.json");try{if(!ct(t).isFile())throw new Error("\uC5C5\uB85C\uB4DC \uB300\uC0C1 \uD30C\uC77C\uC740 \uC77C\uBC18 \uD30C\uC77C\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.")}catch(r){if(r.code!=="ENOENT")throw r}return t}function uI(e){let t=dt(e);jt(t);let r=[t.connection?.baseUrl,t.connection?.spaceKey,t.connection?.spaceId,t.remoteRoot?.id,t.remoteRoot?.type];return{portable:Sm(JSON.stringify(r)),legacy:Sm(JSON.stringify([lt(e),...r]))}}function cI(e){return!!e&&!e.startsWith("/")&&!e.includes("\\")&&e.split("/").every(t=>t&&t!=="."&&t!=="..")&&/\.md$/i.test(e)}function ln(e){let t=tv(e),r=uI(e);if(!J(t))return{version:2,binding:r.portable,entries:{}};let n=JSON.parse(ie(t,"utf8"));if(![1,2].includes(n?.version)||typeof n.binding!="string"||!/^[a-f0-9]{64}$/.test(n.binding)||!n.entries||Array.isArray(n.entries)||typeof n.entries!="object"||Object.entries(n.entries).some(([a,s])=>!cI(a)||!s||!/^[a-f0-9]{64}$/.test(s.source)||!/^[a-f0-9]{64}$/.test(s.hash)||s.reviewRequired!==void 0&&typeof s.reviewRequired!="boolean"))throw new Error(".csync/index.json\uC774 \uC190\uC0C1\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uC5C5\uB85C\uB4DC \uC120\uD0DD \uC815\uBCF4\uB97C \uD655\uC778\uD558\uC138\uC694.");let i=n.binding===(n.version===1?r.legacy:r.portable),o=Object.fromEntries(Object.entries(n.entries).map(([a,s])=>[a,i?s:{...s,reviewRequired:!0}]));return{version:2,binding:r.portable,entries:o}}function rv(e,t){let r=tv(e);Re((0,ri.dirname)(r),{recursive:!0});let n=`${r}.${Sr()}.tmp`;try{it(n,JSON.stringify(t,null,2)+`
216
+ `,{flag:"wx",mode:384}),nn(n,r)}finally{J(n)&&oa(n)}}function v0(e){let t=ln(e),r=dt(e),n=Object.keys(t.entries);if(!n.length)throw new Error("\uC5C5\uB85C\uB4DC \uB300\uC0C1\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. csync add <\uD30C\uC77C\xB7\uD3F4\uB354>\uB85C \uBB38\uC11C\uB97C \uCD94\uAC00\uD558\uC138\uC694.");if(n.some(i=>t.entries[i].reviewRequired))throw new Error("\uC791\uC5C5\uACF5\uAC04 \uC5F0\uACB0 \uB610\uB294 \uC774\uC804 \uC5C5\uB85C\uB4DC \uC120\uD0DD\uC744 \uB2E4\uC2DC \uD655\uC778\uD574\uC57C \uD569\uB2C8\uB2E4. csync add\uB85C \uBB38\uC11C\uB97C \uB2E4\uC2DC \uCD94\uAC00\uD558\uC138\uC694.");for(let i of n)if(!mr(i,r))throw new Error(`\uC5C5\uB85C\uB4DC \uB300\uC0C1\uC774 \uC791\uC5C5\uACF5\uAC04 \uBC16\uC785\uB2C8\uB2E4: ${i}. unstage\uB85C \uD574\uC81C\uD558\uACE0 \uAE30\uC900 \uD3F4\uB354\uB97C \uD655\uC778\uD558\uC138\uC694.`);return n}function km(e,t,r,n){if(n.reviewRequired)throw new Error(`\uC5C5\uB85C\uB4DC \uC120\uD0DD\uC744 \uB2E4\uC2DC \uD655\uC778\uD574\uC57C \uD569\uB2C8\uB2E4: ${t}. csync add\uB85C \uB2E4\uC2DC \uCD94\uAC00\uD558\uC138\uC694.`);if(Am(e,t)!==n.source||r!==n.hash)throw new Error(`\uCD94\uAC00 \uD6C4 \uBB38\uC11C\xB7\uCCA8\uBD80\xB7\uB9C1\uD06C\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4: ${t}. csync add\uB85C \uB2E4\uC2DC \uCD94\uAC00\uD558\uC138\uC694.`)}function Yo(e,t,r){if(!r)return;let n=ln(e);JSON.stringify(n.entries[t])===JSON.stringify(r)&&(delete n.entries[t],rv(e,n))}async function Tm(e,t={},r){let n=dt(e);jt(n);let i=ln(e),o=zt(e,[]),a=hr(e).map(l=>(0,ri.relative)(e,l).split("\\").join("/")).filter(l=>!o.ignores(l)&&!Lt(e,l)),s=a.filter(l=>mr(l,n)&&(!r||r.some(d=>!d||l===d||l.startsWith(d+"/")))),u=Object.fromEntries(s.map(l=>[l,Am(e,l)])),c=await Go(e,a,s,{referenceRoots:t.referenceRoots??[],baseUrl:t.baseUrl});try{let l=gr(Kt(e)),d=_0(e,l,a,s,jt(n)),m=Ai(e,a),f=s.map(h=>{let b=c.docs[h],w=c.render(h,b.body,b.title),D=Nt(b.title,w);if(Am(e,h)!==u[h])throw new Error("\uC870\uD68C \uC911 \uBB38\uC11C\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.");let k=b.fm.pageId&&Object.keys(l).find(N=>l[N].pageId===b.fm.pageId&&!N.endsWith("/")),T=l[h]??(k?l[k]:void 0),v=d[h],C=T?.localHash?T.localHash===Jo(e,h,w):!!T?.hash&&(T.hash===D||T.hash===Nt(m.docs[h].title,m.render(h,m.docs[h].body,m.docs[h].title))||T.hash===Nt(b.title,c.render(h,b.body,b.title,"panels"))||T.hash===Nt(b.title,c.render(h,b.body,b.title,!0))||T.hash===Nt(m.docs[h].title,m.render(h,m.docs[h].body,m.docs[h].title,"panels"))||T.hash===Nt(m.docs[h].title,m.render(h,m.docs[h].body,m.docs[h].title,!0))),I=!!T?.pageId&&!v?.pendingMove&&!!k&&k!==h,F=T?.pageId?v?.pendingMove?"moved":I||!C?"changed":"same":"new",j={source:u[h],hash:D},B=!T?.pageId&&!!b.fm.pageId,G=!!i.entries[h],S=G&&(B||!!i.entries[h].reviewRequired||JSON.stringify(i.entries[h])!==JSON.stringify(j));return{path:h,status:F,staged:G,stale:S,entry:j,...I&&C?{renamed:!0}:{},pageId:T?.pageId??b.fm.pageId,...!T?.pageId&&b.fm.pageId?{unmapped:!0,recoverable:b.fm.spaceKey===n.connection?.spaceKey}:{}}});for(let h of Object.keys(i.entries))f.some(b=>b.path===h)||f.push({path:h,status:"unavailable",staged:!0,stale:!0,entry:i.entries[h],pageId:d[h]?.pageId});return f}finally{c.dispose()}}async function nv(e,t,r,n={}){if(!t.length)throw new Error("\uD30C\uC77C \uB610\uB294 \uD3F4\uB354\uB97C \uC9C0\uC815\uD558\uC138\uC694. \uC804\uCCB4 \uBC94\uC704\uB294 . \uC73C\uB85C \uC9C0\uC815\uD558\uC138\uC694.");let i=ln(e),o=t.map(c=>{let l=(0,ri.relative)(e,(0,ri.resolve)(e,c)).split("\\").join("/");if(l===".."||l.startsWith("../"))throw new Error("\uAE30\uC900 \uD3F4\uB354 \uBC16\uC758 \uACBD\uB85C\uB294 \uCD94\uAC00\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");return l}),a=r==="add"?await Tm(e,n,o):Object.keys(i.entries).map(c=>({path:c,status:"",entry:i.entries[c]})),s=[];for(let c of o){let l=a.filter(d=>(!c||d.path===c||d.path.startsWith(c+"/"))&&(r!=="add"||d.status!=="unavailable"));if(!l.length)throw new Error(`\uC791\uC5C5\uACF5\uAC04\uC5D0\uC11C \uC120\uD0DD\uD560 \uBB38\uC11C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4: ${c||"."}`);s.push(...l);for(let d of l)r==="add"?i.entries[d.path]=d.entry:delete i.entries[d.path]}let u=ln(e);for(let c of new Set([...Object.keys(u.entries),...Object.keys(i.entries)]))o.some(l=>!l||c===l||c.startsWith(l+"/"))&&(i.entries[c]?u.entries[c]=i.entries[c]:delete u.entries[c]);return rv(e,u),s}p();var iv=ce(Po(),1),hs=["CONFLUENCE_BASE_URL","CONFLUENCE_EMAIL","CONFLUENCE_API_TOKEN","CONFLUENCE_SPACE_KEY"],ov=()=>/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function av(e){if(typeof e!="string"||E.Buffer.byteLength(e)>12e3||e.includes("\0"))throw new Error(".env \uD30C\uC77C\uC740 12KB \uC774\uD558 \uD14D\uC2A4\uD2B8\uC5EC\uC57C \uD569\uB2C8\uB2E4.");let t=(0,iv.parse)(e);if(!hs.some(o=>Object.hasOwn(t,o)))throw new Error("Confluence \uC5F0\uACB0 \uD658\uACBD\uBCC0\uC218\uAC00 \uC5C6\uB294 \uD30C\uC77C\uC785\uB2C8\uB2E4.");let r={},n={};for(let o of e.matchAll(ov()))n[o[1]]=o[2]??"";for(let o of hs)r[o]=t[o]?.trim()??"";let i=hs.map(o=>`${o}=${n[o]??""}`).join(`
217
+ `)+`
218
+ `;return{env:r,content:i}}function sv(e,t){let r=e.replace(ov(),(n,i)=>hs.includes(i)?"":n);return`${r.trimEnd()}${r.trim()?`
219
+
220
+ `:""}${t}`}p();p();p();$e();var ms=ce(Ke(),1);async function uv(e){if(e.includes("--rebuild"))throw new Error("--rebuild\uB294 v2\uC5D0\uC11C \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uD30C\uC77C \uC774\uB3D9\xB7\uAC31\uC2E0\uC740 push, \uBCF8\uBB38 \uAC15\uC81C \uAC31\uC2E0\uC740 push --force\uB97C \uC0AC\uC6A9\uD558\uC138\uC694. \uAE30\uC874 \uD398\uC774\uC9C0\uB294 \uC0AD\uC81C\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");if(e.includes("--scope"))throw new Error("--scope\uB294 \uC81C\uAC70\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uAE30\uC900 \uD3F4\uB354 \uC548\uC5D0\uC11C \uCD94\uAC00\uD55C \uBB38\uC11C\uB9CC \uC5C5\uB85C\uB4DC\uD569\uB2C8\uB2E4.");let t=e.includes("--dry-run"),r=e.includes("--list"),n=e.includes("--force"),i=e.includes("--verify");function o(L){let Z=e.indexOf(L);return Z>=0&&Z+1<e.length?e[Z+1]:void 0}function a(L){let Z=[];for(let he=0;he<e.length;he++)e[he]===L&&he+1<e.length&&Z.push(e[++he]);return Z}let s=a("--exclude"),u=ti(e),c=Vn(o("--base"));c||(console.error(Vt("\u2717 \uB3D9\uAE30\uD654 \uB8E8\uD2B8\uAC00 \uC9C0\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.")+`
221
+ --base <dir> \uC778\uC790 \uB610\uB294 env CONFLUENCE_SYNC_BASE \uB85C \uB3D9\uAE30\uD654\uD560 \uB514\uB809\uD1A0\uB9AC\uB97C \uC9C0\uC815\uD558\uC138\uC694.
222
+ \uC608) ${Me("confluence-sync push --base ./docs")}
223
+ \uC124\uC815(.env)\uC744 \uB9CC\uB4E4\uB824\uBA74: ${Me("confluence-sync init")}
224
+ \uC804\uCCB4 \uB3C4\uC6C0\uB9D0: ${Me("confluence-sync --help")}`),y.exit(1));let l=(0,ms.resolve)(c),d=o("--mapping"),m=d?(0,ms.resolve)(d):Kt(l),f=ki(l),h=dt(l),b=jt(h);(!t&&!r||i&&!r)&&zn(h,f),(!J(l)||!Et(l).isDirectory())&&(console.error(Vt(`\uB3D9\uAE30\uD654 \uB8E8\uD2B8\uAC00 \uB514\uB809\uD1A0\uB9AC\uAC00 \uC544\uB2D9\uB2C8\uB2E4: ${l}`)),y.exit(1)),(!t&&!r||i&&!r)&&p0(f);let w=zt(l,s),D=hr(l).map(L=>(0,ms.relative)(l,L).split("\\").join("/")),k=D.filter(L=>!w.ignores(L)&&!Lt(l,L)),T=D.length-k.length,v=Fo(k),C=Object.fromEntries(k.map(L=>[L,ru(l,L).title])),I=!u.length&&!r?ln(l).entries:void 0,F=u.length?Gy(k,u,l):r?k:v0(l);if(F.some(L=>!k.includes(L)))throw new Error("\uC5C5\uB85C\uB4DC \uB300\uC0C1 \uBB38\uC11C\uAC00 \uC5C6\uAC70\uB098 \uC81C\uC678\uB418\uC5C8\uC2B5\uB2C8\uB2E4. unstage \uD6C4 \uB2E4\uC2DC \uCD94\uAC00\uD558\uC138\uC694.");let j=F.filter(L=>mr(L,h)),B=new Set(j),G=Xy(j,v),S=Jy(G),N=L=>!B.has(L),P=u.length?`\uC120\uD0DD ${B.size}/${k.length}\uAC74`+(S.length>B.size?xe(` (+\uC0C1\uC704 ${S.length-B.size})`):""):`${S.length}\uAC74`,_=T?xe(` (\uC81C\uC678 ${T})`):"";console.log(`${xe("base:")} ${Me(l)}
225
+ ${xe("\uC2A4\uD398\uC774\uC2A4 \uB8E8\uD2B8:")} ${Me(`${b.path} (#${b.id})`)}
226
+ ${xe("\uC791\uC5C5\uACF5\uAC04:")} ${Me(l)}
227
+ ${xe("\uB300\uC0C1:")} ${P}${_}`);let H=L=>/README\.md$/.test(L),R=L=>L===""?0:L.split("/").length,M=L=>L.split("/").slice(0,-1).join("/"),q=L=>L.includes("/")?L.slice(0,L.lastIndexOf("/")):"",W=L=>H(L)?Math.max(0,R(M(L))-1):R(M(L)),V=L=>Math.max(0,R(L)-1),Ae=L=>{let Z=[];for(let he=M(L);he!=="";he=q(he))v[he]||Z.unshift(he);return Z};if(r){let L=new Set;for(let Z of S){for(let he of Ae(Z))L.has(he)||(L.add(he),console.log(` ${" ".repeat(V(he))}${Me(`\u{1F4C1} ${he}/`)}`));console.log(` ${" ".repeat(W(Z))}${Z} ${xe("\u2014")} ${Me(`"${C[Z]}"`)}`)}return}let be=gr(m),Y=_0(l,be,k,j,b),K=new Set(j.filter(L=>!be[L]&&Y[L]?.pageId));for(let L of S)if(N(L)&&!Y[L]?.pageId)throw new Error(`\uC0C1\uC704 \uBB38\uC11C\uC758 \uB9E4\uD551\uC774 \uC5C6\uC2B5\uB2C8\uB2E4: ${L}. \uBA3C\uC800 Pull\uB85C \uAE30\uC874 \uC0C1\uC704 \uBB38\uC11C\uB97C \uC5F0\uACB0\uD558\uAC70\uB098 \uC0C1\uC704 \uBB38\uC11C\uB3C4 \uD568\uAED8 \uCD94\uAC00\uD558\uC138\uC694.`);let Ce=b;if(Ce.type==="page"&&B.has("README.md")&&Y["README.md"]?.pageId!==Ce.id)throw new Error("\uB8E8\uD2B8 README.md\uB294 \uC120\uD0DD\uD55C \uC6D0\uACA9 \uD398\uC774\uC9C0\uC758 \uBCF8\uBB38\uC785\uB2C8\uB2E4. pull\uB85C \uAE30\uC900\uC744 \uD655\uBCF4\uD558\uAC70\uB098 \uC0C8 \uD558\uC704 \uBB38\uC11C\uB294 \uB2E4\uB978 \uD30C\uC77C\uBA85\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.");let at=Ce.id;console.log(xe("Markdown \uC804\uCC98\uB9AC: \uC704\uD0A4\uB9C1\uD06C\xB7\uAC01\uC8FC\xB7PDF \uD398\uC774\uC9C0 \uCC38\uC870\uB97C \uC900\uBE44\uD569\uB2C8\uB2E4. \uC6D0\uBCF8\uC740 \uBCC0\uACBD\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.")),Sn("\uC120\uD0DD\uD55C \uBB38\uC11C\xB7\uCCA8\uBD80 \uC804\uCC98\uB9AC");let Je=await Go(l,k,j,{referenceRoots:a("--reference-root"),baseUrl:f.baseUrl});try{let{render:L,docs:Z}=Je,he=Object.fromEntries(j.map(ee=>[ee,Nt(Z[ee].title,L(ee,Z[ee].body,Z[ee].title))]));if(I)for(let ee of j)km(l,ee,he[ee],I[ee]);let st=Object.fromEntries(j.map(ee=>[ee,ie((0,ms.resolve)(l,ee),"utf8")])),Se=Object.fromEntries(j.map(ee=>[ee,Jo(l,ee,L(ee,Z[ee].body,Z[ee].title))])),ve=Ai(l,k),$t=ee=>{let z=Y[ee];return z?.localHash?z.localHash===Se[ee]:!!z?.hash&&(z.hash===he[ee]||z.hash===Nt(ve.docs[ee].title,ve.render(ee,ve.docs[ee].body,ve.docs[ee].title))||z.hash===Nt(Z[ee].title,L(ee,Z[ee].body,Z[ee].title,"panels"))||z.hash===Nt(Z[ee].title,L(ee,Z[ee].body,Z[ee].title,!0))||z.hash===Nt(ve.docs[ee].title,ve.render(ee,ve.docs[ee].body,ve.docs[ee].title,"panels"))||z.hash===Nt(ve.docs[ee].title,ve.render(ee,ve.docs[ee].body,ve.docs[ee].title,!0)))},Ut=ee=>!n&&$t(ee)?Y[ee].hash:he[ee],Er=ee=>!n&&!i&&$t(ee)&&!Y[ee]?.pendingMove,Dn=j.some(ee=>!Er(ee)),Yr,dn="";if(Dn&&(!t||i)){Yr=us({baseUrl:f.baseUrl,email:f.email,token:f.token},{force:n,verify:i,scope:{id:Ce.id,spaceId:h.connection.spaceId}}),Sn("\uC6D0\uACA9 \uC5F0\uACB0\uACFC \uBB38\uC11C \uBC84\uC804 \uAC80\uC99D"),dn=await a0(Yr,h);for(let ee of S){if(!N(ee)&&Er(ee))continue;if(N(ee)&&Y[ee]?.pageId){await Yr.assertInScope(Y[ee].pageId);continue}let{title:z,body:Te,fm:fe}=Z[ee],Xe=Ut(ee),yt=Y[ee]??(fe.pageId?{pageId:fe.pageId,title:z}:void 0);yt&&await Yr.checkPage({[ee]:yt},dn,ee,Xe)}}if(t){let ee=new Set;for(let z of S){for(let vr of Ae(z))if(!ee.has(vr)){ee.add(vr);let Ti=Y[`${vr}/`];console.log(` [${Ti?.pageId?Cn("\uD3F4\uB354"):jr("\uD3F4\uB354+")}] \u{1F4C1} ${vr}/`)}let Te=Y[z];if(N(z)&&Te?.pageId){console.log(` [${Cn("\uC0C1\uC704")}] ${z} ${xe(`(pageId #${Te.pageId} \uB9CC \uC0AC\uC6A9)`)}`);continue}let{title:fe,body:Xe,fm:yt}=Z[z],Ie=L(z,Xe,fe);for(let vr of Ie.referenceLinks)console.log(xe(` \uCC38\uC870 \uB9C1\uD06C: ${vr}`));for(let vr of Ie.linkWarnings)console.error(Qt(` \u26A0 ${z}: ${vr}`));let Zr=Ut(z),Jt=Y[z],_e=Jt?.pageId?Jt.pendingMove?Me(!n&&Jt.hash===Zr?"\uC704\uCE58 \uD655\uC778/\uC774\uB3D9":"\uC704\uCE58 \uD655\uC778/\uC774\uB3D9 + \uBCC0\uACBD"):!n&&$t(z)?Cn(K.has(z)?"\uB85C\uCEEC \uACBD\uB85C \uC5F0\uACB0":"\uB3D9\uC77C"):Qt("\uBCC0\uACBD"):yt.pageId?Me("\uC5F0\uACB0"):jr("\uC2E0\uADDC"),oi=Ji(z,v),Ot=Ie.anchorLinks||Ie.anchorsPlaced?`, \uC139\uC158\uB9C1\uD06C: ${Ie.anchorLinks}, \uC575\uCEE4: ${Ie.anchorsPlaced}`:"";console.log(` [${_e}] ${z} ${xe("\u2192")} ${Me(`"${fe}"`)} ${xe(`(\uBD80\uBAA8: ${oi??"ROOT"}, \uB0B4\uBD80\uB9C1\uD06C: ${Ie.internalLinks}${Ot}, \uC774\uBBF8\uC9C0: ${Ie.images.length}, \uCCA8\uBD80: ${Ie.attachments.length})`)}`),Ie.deadAnchors.length&&console.error(Qt(` \u26A0 \uB300\uC751 \uD5E4\uB529 \uC5C6\uB294 \uC575\uCEE4 ${Ie.deadAnchors.length}\uAC1C: `)+xe(Ie.deadAnchors.slice(0,3).join(" ")))}console.log(`
228
+ `+xe(i?"--dry-run --verify: \uC6D0\uACA9 \uC870\uD68C\uB9CC \uC218\uD589, \uBCC0\uACBD \uC5C6\uC74C.":"--dry-run: \uC2E4\uC81C \uD638\uCD9C \uC5C6\uC74C."));return}let _r=Yr,Ve=Y,er=0,Pe=0,ii=0,qt=0,le=0,ke=0,Q=0,De=new Map,ze=async ee=>{let z=`${ee}/`,Te=hl(q(ee),v),fe=Te?Ve[Te]?.pageId:at;if(Te&&!fe)return console.error(Qt(` \u2717 \uD3F4\uB354 \uAC74\uB108\uB700 ${ee}/ (\uBD80\uBAA8 '${Te}' \uAC00 \uC544\uC9C1 \uC5C6\uC74C)`)),!1;let Xe=Ve[z];try{let yt=ee.split("/").pop(),Ie=await _r.upsertFolder(dn,f.spaceKey,yt,fe,Xe?.type==="folder"?Xe.pageId:void 0),Zr=Ie.id;return Ve[z]=Xe?.pageId===Zr?Xe:{pageId:Zr,title:yt,type:"folder"},Jn(m,Ve),console.log(` ${Me(Ie.created?"\u{1F4C1} \uD3F4\uB354":"\u{1F4C1} \uD3F4\uB354 \uC5F0\uACB0")} ${ee}/ ${xe(`(\uBD80\uBAA8: ${Te??"ROOT"})`)}`),Ie.created&&ke++,!0}catch(yt){return console.error(Vt(` \u2717 \uD3F4\uB354 \uC900\uBE44 \uC2E4\uD328 ${ee}/`)+`
229
+ ${yt.message}`),!1}};for(let[ee,z]of S.entries()){if(Sn(`\uBB38\uC11C \uCC98\uB9AC ${ee+1}/${S.length} \xB7 ${z}`),!N(z)&&Er(z)){K.has(z)&&(Jn(m,Ve),console.log(` ${Cn("\uB85C\uCEEC \uACBD\uB85C \uC5F0\uACB0")} ${z} ${xe("(\uC6D0\uACA9 \uBCF8\uBB38\xB7\uC81C\uBAA9\xB7\uC704\uCE58 \uC720\uC9C0)")}`)),console.log(` = \uBCC0\uACBD\uC5C6\uC74C ${z}`),le++,Yo(l,z,I?.[z]);continue}if(N(z)&&!Dn){Q++;continue}let Te=!0;for(let Ot of Ae(z))if(De.has(Ot)||De.set(Ot,await ze(Ot)),De.get(Ot)||(Te=!1),!Te)break;if(!Te){er++,console.error(Qt(` \u2717 \uAC74\uB108\uB700 ${z} (\uC0C1\uC704 \uD3F4\uB354 \uBBF8\uC0DD\uC131)`));continue}if(N(z)&&Ve[z]?.pageId){console.log(` ${Cn("\xB7 \uC0C1\uC704")} ${z} ${xe(`(pageId #${Ve[z].pageId} \uB9CC \uC0AC\uC6A9)`)}`),Q++;continue}let{title:fe,body:Xe,fm:yt}=Z[z],Ie=L(z,Xe,fe);for(let Ot of Ie.referenceLinks)console.log(xe(` \uCC38\uC870 \uB9C1\uD06C: ${Ot}`));for(let Ot of Ie.linkWarnings)console.error(Qt(` \u26A0 ${z}: ${Ot}`));let Zr=Ut(z),Jt=Ji(z,v);Ie.deadAnchors.length&&console.error(Qt(` \u26A0 \uB300\uC751 \uD5E4\uB529 \uC5C6\uB294 \uC575\uCEE4 ${z}`)+xe(` ${Ie.deadAnchors.slice(0,3).join(" ")}${Ie.deadAnchors.length>3?` \uC678 ${Ie.deadAnchors.length-3}`:""}`));let oi=(Ve[z]?.pendingMove?void 0:Ve[z]?.remoteParentId)??(Jt?Ve[Jt]?.pageId:at);if(Jt&&!oi){er++,console.error(Qt(` \u2717 \uAC74\uB108\uB700 ${z} (\uBD80\uBAA8 '${Jt}' \uAC00 \uC544\uC9C1 \uC5C6\uC74C)`));continue}!Ve[z]?.pageId&&yt.pageId&&(Ve[z]={pageId:yt.pageId,title:fe});try{I&&km(l,z,he[z],I[z]);let Ot=await _r.upsertPage(Ve,dn,z,fe,Ie.storage,Zr,oi);if(Jn(m,Ve),Ot==="skipped"){Ve[z].localHash=Se[z],Ve[z].sourceObject=cs(l,st[z]),Jn(m,Ve),console.log(` ${Cn("= \uBCC0\uACBD\uC5C6\uC74C")} ${z}`),le++,Yo(l,z,I?.[z]);continue}if(Ot==="moved"){Ve[z].localHash=Se[z],Ve[z].sourceObject=cs(l,st[z]),Jn(m,Ve),console.log(` ${Me("\u2192 \uC774\uB3D9")} ${z} (\uBD80\uBAA8: ${Jt??"ROOT"})`),Pe++,Yo(l,z,I?.[z]);continue}let vr=await _r.uploadAttachments(Ve[z].pageId,Ie.attachments,l),Ti=Ie.attachments.length?`, \uCCA8\uBD80 ${vr}/${Ie.attachments.length}`:"";vr!==Ie.attachments.length&&(er++,delete Ve[z].hash,Jn(m,Ve)),vr===Ie.attachments.length&&(Ve[z].localHash=Se[z],Ve[z].sourceObject=cs(l,st[z]),Jn(m,Ve)),vr===Ie.attachments.length&&Yo(l,z,I?.[z]);let ao=Ot==="created"?jr("\uFF0B \uC0DD\uC131"):Qt("\u21BB \uAC31\uC2E0");console.log(` ${ao} ${z} ${xe("\u2192")} ${Me(`"${fe}"`)} ${xe(`(\uBD80\uBAA8: ${Jt??"ROOT"}${Ti})`)}`),Ot==="created"?ii++:qt++}catch(Ot){er++,console.error(Vt(` \u2717 \uC2E4\uD328 ${z}`)+`
230
+ ${Ot.message}`)}}er&&(y.exitCode=1),console.log(`
231
+ `+zo(er?"\uC77C\uBD80 \uC2E4\uD328":"\uC644\uB8CC")+` ${jr(`\uC0DD\uC131 ${ii}`)} ${Qt(`\uAC31\uC2E0 ${qt}`)} ${Me(`\uC774\uB3D9 ${Pe}`)} ${Cn(`\uBCC0\uACBD\uC5C6\uC74C ${le}`)}`+(ke?` ${Me(`\uD3F4\uB354 ${ke}`)}`:"")+(Q?` ${Cn(`\uC0C1\uC704 ${Q}`)}`:"")+` ${xe(`\uB300\uC0C1 ${S.length-Q}`)}`)}finally{Je.dispose()}}p();async function cv(e){let t;for(let a=0;a<e.length;a++)if(e[a]==="--base"){let s=e[++a];if(!s||s.startsWith("-"))throw new Error("--base \uB4A4\uC5D0 \uC791\uC5C5\uACF5\uAC04 \uD3F4\uB354\uB97C \uC9C0\uC815\uD558\uC138\uC694.");t=s}else if(e[a].startsWith("-")&&!["--no-color","--obsidian","--overwrite"].includes(e[a]))throw new Error(`\uC9C0\uC6D0\uD558\uC9C0 \uC54A\uB294 restore \uC635\uC158: ${e[a]}. csync restore --help\uB97C \uD655\uC778\uD558\uC138\uC694.`);let r=Vn(t);if(!r)throw new Error("\uC791\uC5C5\uACF5\uAC04\uC744 \uC9C0\uC815\uD558\uC138\uC694: csync restore README.md --base <\uD3F4\uB354>");let n=e.includes("--overwrite"),i=Xo(r,ti(e).slice(1),n),o=ln(r).entries;await E0(["pull","--base",r,...e.includes("--obsidian")?["--obsidian"]:[]],{restorePaths:i,restoreOverwrite:n});for(let a of i)Yo(r,a,o[a]);console.log("\uBCF5\uAD6C\uD55C \uBB38\uC11C\uB294 \uC5C5\uB85C\uB4DC \uB300\uC0C1\uC73C\uB85C \uCD94\uAC00\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uC5C5\uB85C\uB4DC\uD558\uB824\uBA74 \uC9C1\uC811 csync add\uB85C \uC120\uD0DD\uD558\uC138\uC694.")}p();$e();var Fe=ce(Ke(),1);p();var lI=()=>({cssJunk:0,codeLang:0,trailingWs:0,escapes:0,tightList:0,dupTitle:0}),Cm=e=>Object.values(e).reduce((t,r)=>t+r,0),fv=/^\s*(?:```|~~~)/;function lv(e){return/^[ \t]*[-*+]\s/.test(e)?"ul":/^[ \t]*\d+[.)]\s/.test(e)?"ol":null}function fI(e){return e.replace(/\\?\[data-colorid=[^\]]*\\?\]\s*\{[^}]*\}/g,"").replace(/\\?\[data-colorid=[^\]]*\\?\]/g,"").replace(/\{\s*color\s*:\s*[^}]*\}/g,"")}function dI(e){return/^\s*(package|import)\s+(java|javax|com|org)\b/m.test(e)||/\b(public|private|protected)\s+(static\s+)?(final\s+)?(class|interface|enum|void)\b/.test(e)||/\bSystem\.(out|err)\.print/.test(e)||/@Override\b/.test(e)}function pI(e,t){let r=[],n=!1;for(let i=0;i<e.length;i++){let o=e[i];if(fv.test(o)&&(n=!n),!n&&o.trim()===""&&r.length){let a=lv(r[r.length-1]),s=lv(e[i+1]??"");if(a&&a===s){t.tightList++;continue}}r.push(o)}return r}function hI(e,t){let{data:r,body:n}=It(e);if(!r.title)return e;let i=n.split(`
232
+ `),o=i.findIndex(u=>u.trim()!=="");if(o===-1)return e;let a=i[o].match(/^#\s+(.*)$/);if(!a||a[1].trim()!==r.title.trim())return e;for(i.splice(o,1);i[o]?.trim()==="";)i.splice(o,1);return t.dupTitle++,e.slice(0,e.length-n.length)+i.join(`
233
+ `)}function dv(e){let t=lI(),r=hI(e,t),n=r.split(`
234
+ `),i=[],o=!1,a=-1;for(let c of n){if(fv.test(c)){if(!o)o=!0,a=i.length,i.push(c);else{o=!1;let m=i[a];if(/^\s*(?:```|~~~)java\s*$/.test(m)){let f=i.slice(a+1).join(`
235
+ `);dI(f)||(i[a]=m.replace(/java\s*$/,"plaintext"),t.codeLang++)}i.push(c)}continue}if(o){let m=c.replace(/[ \t]+$/,"");m!==c&&t.trailingWs++,i.push(m);continue}let l=c,d=fI(c);d!==c&&(t.cssJunk++,l=d.replace(/[ \t]{2,}/g," ").replace(/[ \t]+$/,"")),i.push(l)}let s=Tu(pI(i,t).join(`
236
+ `)),u=c=>(c.match(/\\/g)||[]).length;return t.escapes=Math.max(0,u(r)-u(s)),s=s.replace(/^#{1,6}[ \t]*$/gm,""),{text:s,stats:t}}function Dm(e,t){let r=e.indexOf(t);return r>=0&&r+1<e.length?e[r+1]:void 0}var Nm=e=>{try{return decodeURIComponent(e)}catch{return e}},S0=e=>e.split("\\").join("/"),pv=(e,t)=>{let r=(0,Fe.relative)(e,t);return r===""||r!==".."&&!r.startsWith("../")&&!r.startsWith("..\\")&&!(0,Fe.isAbsolute)(r)};function Rm(e){if(J(e))return lt(e);let t=(0,Fe.dirname)(e);return t===e?e:(0,Fe.join)(Rm(t),(0,Fe.basename)(e))}var mI=/!?\[[^\]]*\]\((<[^>]+>|[^()\s]+)\)/g;function Im(e,t){let r=[];for(let n of e.matchAll(mI)){let i=Nm(n[1].replace(/^<(.*)>$/,"$1")).split("#")[0];if(/^(https?:|data:)/i.test(i))continue;let o=(0,Fe.resolve)((0,Fe.dirname)(t),i);J(o)&&Et(o).isFile()&&!/\.md$/i.test(o)&&r.push(o)}return r}function gI(e){if(!e.length)return null;let t=e.map(o=>{let a=(0,Fe.resolve)(o);return Et(a).isDirectory()?a:(0,Fe.dirname)(a)}),r=t.map(o=>o.split("/")),n=r[0],i=0;for(;i<n.length&&r.every(o=>o[i]===n[i]);)i++;return r.length===1?t[0]:n.slice(0,i).join("/")||"/"}function xI(e,t,r,n,i,o,a=s=>s){return My(e,(s,u)=>{if(/^(https?:|mailto:)/i.test(s))return null;if(s.startsWith("#")){let D=o(Nm(s.slice(1)));if(!D)return null;let k=u.trim();return k&&k!==D?`[[#${D}|${k}]]`:`[[#${D}]]`}let[c,...l]=Nm(s).split("#");if(/\.pdf$/i.test(c)){let D=(0,Fe.resolve)((0,Fe.dirname)(t),c),k=(0,Fe.relative)(r,D).split("\\").join("/");return!J(a(D))||k.startsWith("../")?null:`[[${k}${l.length?"#"+l.join("#"):""}|${u}]]`}if(!/\.md$/i.test(c))return null;let d=(0,Fe.resolve)((0,Fe.dirname)(t),c);if(!J(d)||(0,Fe.relative)(r,d).startsWith(".."))return null;let m=(0,Fe.basename)(d).replace(/\.md$/i,"");if(n.get(m)!==1)return null;let f=l.join("#"),h=f?i(d,f):void 0,b=h?`#${h}`:"",w=u.trim();return w&&w!==m?`[[${m}${b}|${w}]]`:b?`[[${m}${b}|${m}]]`:`[[${m}]]`})}async function hv(e){let t=Dm(e,"--to"),r=e.includes("--fix");t!==void 0&&t!=="obsidian"&&t!=="markdown"&&(console.error(Vt(`\u2717 \uC54C \uC218 \uC5C6\uB294 \uBCC0\uD658 \uBC29\uD5A5: ${t}`)+`
237
+ --to obsidian | --to markdown`),y.exit(1));let n=t;!n&&!r&&(console.error(Vt("\u2717 \uD560 \uC77C\uC744 \uC9C0\uC815\uD558\uC138\uC694: --to <\uD615\uC2DD> \uB610\uB294 --fix")+`
238
+ \uC608) ${Me("confluence-sync convert --to obsidian ./docs")}
239
+ ${Me("confluence-sync convert --fix ./docs")} ${xe("(\uC61B pull \uACB0\uACFC \uBCF4\uC815)")}
240
+ ${Me("confluence-sync convert --to obsidian --fix ./docs")} ${xe("(\uB458 \uB2E4)")}`),y.exit(1));let i=e.includes("--dry-run"),o=Dm(e,"--out"),a=o?(0,Fe.resolve)(o):void 0,s=[];for(let B=0;B<e.length;B++){if(e[B]==="--to"||e[B]==="--base"||e[B]==="--out"){B++;continue}e[B].startsWith("-")||s.push(e[B])}let u=s.slice(1);for(let B of u)J((0,Fe.resolve)(B))||(console.error(Vt(`\u2717 \uC5C6\uB294 \uACBD\uB85C: ${B}`)),y.exit(1));let c=Dm(e,"--base"),l=(0,Fe.resolve)(c??gI(u)??y.cwd());(!J(l)||!Et(l).isDirectory())&&(console.error(Vt(`\u2717 --base \uAC00 \uB514\uB809\uD1A0\uB9AC\uAC00 \uC544\uB2D9\uB2C8\uB2E4: ${l}`)),y.exit(1));let d=hr(l),m=d.map(B=>S0((0,Fe.relative)(l,B))),f=Ha(m,Ba(l).map(B=>S0((0,Fe.relative)(l,B)))),h=new Map;for(let B of d){let G=(0,Fe.basename)(B).replace(/\.md$/i,"");h.set(G,(h.get(G)??0)+1)}let b=new Map,w=(B,G)=>{let S=b.get(B);return S||(S=eu(It(ie(B,"utf8")).body),b.set(B,S)),S.get(G.toLowerCase())},D=u.length?d.filter(B=>u.some(G=>{let S=(0,Fe.resolve)(G);return pv(S,B)})):d,k=u.map(B=>(0,Fe.resolve)(B)).filter(B=>Et(B).isFile()&&!d.includes(B));k.length&&console.error(Qt(`\u26A0 --base(${l}) \uBC16\uC758 \uD30C\uC77C\uC740 \uAC74\uB108\uB701\uB2C8\uB2E4:`)+`
241
+ `+k.join(`
242
+ `)),D.length||(console.error(Vt("\u2717 \uB300\uC0C1 .md \uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.")+xe(`
243
+ (\uD30C\uC77C\uC744 \uC9C1\uC811 \uC9C0\uBAA9\uD588\uB2E4\uBA74 --base \uB85C \uBB38\uC11C \uD2B8\uB9AC \uB8E8\uD2B8\uB97C \uC54C\uB824\uC8FC\uC138\uC694)`)),y.exit(1));let T=D,v=[n==="obsidian"?"\uC0C1\uB300 .md \uB9C1\uD06C \u2192 [[wikilink]]":n==="markdown"?"[[wikilink]] \u2192 \uC0C1\uB300 .md \uB9C1\uD06C":"",r?"\uBCC0\uD658 \uD754\uC801 \uBCF4\uC815":""].filter(Boolean).join(" + "),C=T.length===d.length?`${T.length}\uAC74`:`\uC120\uD0DD ${T.length}/${d.length}\uAC74`;a&&pv(Rm(l),Rm(a))&&(console.error(Vt(`\u2717 --out \uC774 base \uC548\uC5D0 \uC788\uC2B5\uB2C8\uB2E4: ${a}`)+xe(`
244
+ \uC6D0\uBCF8 \uD2B8\uB9AC\uB97C \uB36E\uC5B4\uC4F0\uC9C0 \uC54A\uB3C4\uB85D base \uBC16\uC758 \uACBD\uB85C\uB97C \uC4F0\uC138\uC694.`)),y.exit(1)),console.log(`${xe("base:")} ${Me(l)}
245
+ ${xe("\uB300\uC0C1:")} ${C} ${xe("\u2014")} ${v}`+(a?`
246
+ ${xe("\uCD9C\uB825:")} ${Me(a)} ${xe("(\uC6D0\uBCF8 \uC720\uC9C0)")}`:"")+(i?xe(" (dry-run)"):""));let I=0,F=new Set,j={cssJunk:0,codeLang:0,trailingWs:0,escapes:0,tightList:0,dupTitle:0};for(let B of T){let G=S0((0,Fe.relative)(l,B)),S=ie(B,"utf8"),N=S,P=new Set(n==="obsidian"?[]:Im(S,B)),_=[],H=b0(B,l);if(r){let R=dv(N);N=R.text;let M=Cm(R.stats);if(M){for(let q of Object.keys(j))j[q]+=R.stats[q];_.push(xe(`\uBCF4\uC815 ${M}`))}}if(n==="obsidian"){let R=Lp(N,B,l);R.assets.forEach(q=>P.add(q)),Im(R.text,B).forEach(q=>P.add(q)),N=H.rewrite(fl(R.text));let M=eu(It(N).body);N=xI(N,B,l,h,w,q=>M.get(q.toLowerCase()),H.source)}else if(n==="markdown"){let R=await y0(N,B,l,f,a??l,i,H);R.assets.forEach(M=>P.add(M)),N=R.text,R.pages&&_.push(xe(`PDF ${R.pages}\uCABD \uC774\uBBF8\uC9C0`))}else a&&(N=H.rewrite(N));if(!(!a&&N===S)){if(!i)for(let[R,M]of H.copies){let q=(0,Fe.join)(a??l,R);q!==M&&(Re((0,Fe.dirname)(q),{recursive:!0}),zr(M,q)),F.add(R)}if(a){let R=(0,Fe.join)(a,G);if(!i){Re((0,Fe.dirname)(R),{recursive:!0}),it(R,N);for(let M of new Set([...P,...Im(N,B)])){if([...H.copies.values()].includes(M))continue;let q=S0((0,Fe.relative)(l,M));if(q.startsWith("..")||F.has(q))continue;let W=(0,Fe.join)(a,q);Re((0,Fe.dirname)(W),{recursive:!0}),zr(M,W),F.add(q)}}}else i||it(B,N);N!==S&&(I++,console.log(` ${Me("\u21BB")} ${G}${_.length?" "+_.join(" "):""}`))}}console.log(`
247
+ `+zo("\uC644\uB8CC")+` ${I?jr(`${I}\uAC1C \uD30C\uC77C \uBCC0\uACBD`):Cn("\uACE0\uCE60 \uAC83 \uC5C6\uC74C")}`+(a?` ${Me(`${T.length}\uAC1C \uD30C\uC77C \uCD9C\uB825`)}${F.size?xe(`, \uCCA8\uBD80 ${F.size}`):""}`:"")+` ${xe(`\uB300\uC0C1 ${T.length}`)}`),r&&Cm(j)&&console.log(xe(" \uBCF4\uC815:")+` \uC911\uBCF5 \uC81C\uBAA9 ${j.dupTitle} \uCF54\uB4DC\uBE14\uB85D \uC5B8\uC5B4 ${j.codeLang} CSS \uC794\uD574 ${j.cssJunk} \uC774\uC2A4\uCF00\uC774\uD504 ${j.escapes} \uB9AC\uC2A4\uD2B8 \uBE48 \uC904 ${j.tightList} \uC904\uB05D \uACF5\uBC31 ${j.trailingWs}`),i&&console.log(xe("--dry-run: \uD30C\uC77C\uC744 \uC4F0\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."))}async function mv(e,t,r,n){let i=y.env,o=["log","error","warn","info"],a=o.map(s=>console[s]);y.env={NO_COLOR:"1",...t},y.argv=e,y.exitCode=0;for(let s of o)console[s]=(...u)=>r(u.map(c=>typeof c=="string"?c:JSON.stringify(c)).join(" ")+`
248
+ `);try{return await n(),y.exitCode??0}finally{y.env=i,o.forEach((s,u)=>{console[s]=a[u]})}}var A0=async(e,t,r)=>{let n={push:uv,pull:E0,fetch:C3,restore:cv};if(!n[e[0]])throw Error("\uC9C0\uC6D0\uD558\uC9C0 \uC54A\uB294 \uBE0C\uB77C\uC6B0\uC800 \uBA85\uB839\uC785\uB2C8\uB2E4.");return mv(e,t,r,()=>n[e[0]](e[0]==="push"?e.slice(1):e))};async function gv(e){let t="";if(await mv(e,{},n=>{t+=n},()=>hv(["convert",...e])))throw Error(t||"\uBB38\uC11C \uBCC0\uD658\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4.");return{stdout:t}}$e();Wt();$e();var mt=ce(Ke(),1),yv=ce(Po(),1);p();$e();$e();Wt();var At=ce(Ke(),1),fn=(e,t)=>{let r=(0,At.relative)(e,t);return!(0,At.isAbsolute)(r)&&r!==".."&&!r.startsWith("../")&&!r.startsWith("..\\")},Mm=e=>e.code==="ENOENT";async function Om(e){try{return await gt(e)}catch(t){if(!Mm(t))throw t;let r=(0,At.dirname)(e);if(r===e)throw t;return(0,At.join)(await Om(r),(0,At.basename)(e))}}async function Lm(e){let t=Ne("sha256");for await(let r of aa(e))t.update(r);return t.digest("hex")}var gs=class extends Error{constructor(r){super(`\uB0B4\uC6A9\uC774 \uB2E4\uB978 \uAE30\uC874 \uD30C\uC77C ${r.length}\uAC1C\uAC00 \uC788\uC2B5\uB2C8\uB2E4. \uB36E\uC5B4\uC4F0\uAE30\uB97C \uD655\uC778\uD574 \uC8FC\uC138\uC694.`);this.conflicts=r}conflicts};async function xv(e,t,r={}){let n=[],i=async f=>{for(let h of await Bn(f,{withFileTypes:!0})){let b=(0,At.join)(f,h.name);if(h.isDirectory())await i(b);else if(h.isFile())n.push((0,At.relative)(e,b));else throw new Error("\uCD9C\uB825\uC5D0 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uB294 \uD30C\uC77C \uD615\uC2DD\uC774 \uC788\uC2B5\uB2C8\uB2E4.")}};await i(e);let o=new Set,a=new Set,s=[];for(let f of n){let h=(0,At.join)(t,f),b=h;for(;fn(t,b);){try{let w=await Hr(b);if(b===h&&w.isFile()&&!w.isSymbolicLink()){let D=await Lm(b);w.size===(await Hr((0,At.join)(e,f))).size&&D===await Lm((0,At.join)(e,f))?o.add(f):(a.add(f),r[f]!==D&&s.push({path:f,hash:D}))}else if(b===h||w.isSymbolicLink()||!w.isDirectory())throw new Error(`\uCD9C\uB825 \uACBD\uB85C\uAC00 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4: ${b}
249
+ \uB2E4\uB978 \uCD9C\uB825 \uD3F4\uB354\uB97C \uC9C0\uC815\uD574 \uC8FC\uC138\uC694.`)}catch(w){if(!Mm(w))throw w}if(b===t)break;b=(0,At.dirname)(b)}}if(s.length)throw new gs(s);let u,c=[],l=[],d=[],m=async f=>{try{let h=await Hr(f);if(!h.isDirectory()||h.isSymbolicLink())throw new Error(`\uCD9C\uB825 \uD3F4\uB354\uB97C \uD655\uC778\uD574 \uC8FC\uC138\uC694: ${f}`)}catch(h){if(!Mm(h))throw h;await m((0,At.dirname)(f)),await sa(f),l.push(f)}};try{for(let f of n){if(o.has(f))continue;let h=(0,At.resolve)(t,f);if(await m((0,At.dirname)(h)),a.has(f)){let b=await Hr(h);if(!b.isFile()||b.isSymbolicLink())throw new Error(`\uCD9C\uB825 \uD30C\uC77C\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4: ${h}`);let w=await Lm(h);if(r[f]!==w)throw new gs([{path:f,hash:w}]);u??=await Pi((0,At.join)(t,".csync-backup-"));let D=(0,At.join)(u,String(c.length));await gn(h,D),c.push({target:h,backup:D})}await nc((0,At.join)(e,f),h,Fi.COPYFILE_EXCL),d.push(h)}}catch(f){for(let h of d.reverse())await Ts(h);for(let h of c.reverse())await nc(h.backup,h.target,Fi.COPYFILE_EXCL);u&&await xn(u,{recursive:!0,force:!0});for(let h of l.reverse())await ff(h);throw f}return u&&await xn(u,{recursive:!0,force:!0}),{created:d.length-c.length,overwritten:c.length,reused:o.size}}var Pm=hs;function bv(e){let t=e?.format;if(t!==void 0&&t!=="markdown"&&t!=="obsidian")throw new Error("\uB0B4\uBD80 \uB9C1\uD06C \uD615\uC2DD\uC744 \uD655\uC778\uD558\uC138\uC694. Markdown \uB610\uB294 Obsidian\uC744 \uC120\uD0DD\uD558\uC138\uC694.");return t??"markdown"}async function io(e,t,r){if(t){let a=r.get(t);if(!a)throw new Error("\uAC00\uC838\uC628 .env \uC124\uC815\uC774 \uB9CC\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uD30C\uC77C\uC744 \uB2E4\uC2DC \uAC00\uC838\uC624\uC138\uC694.");return{env:a.env,source:a.source}}let n=(0,mt.join)(e,".env"),i={};try{i=(0,yv.parse)(await Ft(n))}catch(a){if(a.code!=="ENOENT")throw new Error("\uAE30\uC900 \uD3F4\uB354\uC758 .env \uD30C\uC77C\uC744 \uC77D\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.")}let o={};for(let a of Pm)o[a]=i[a]?.trim()??"";return{env:o,source:n}}function oo(e,t,r){return{source:t,baseUrl:e.CONFLUENCE_BASE_URL,email:e.CONFLUENCE_EMAIL,spaceKey:e.CONFLUENCE_SPACE_KEY,connected:r?.version===2&&!!r.remoteRoot&&r.connection?.baseUrl.replace(/\/$/,"")===e.CONFLUENCE_BASE_URL?.replace(/\/$/,"")&&r.connection?.spaceKey===e.CONFLUENCE_SPACE_KEY,rootPath:r?.remoteRoot?.path??null,hasToken:!!e.CONFLUENCE_API_TOKEN,missing:Pm.slice(0,4).filter(n=>!e[n])}}async function k0(e,t,r=!1){let n=Ne("sha256").update(JSON.stringify(t)),i=async o=>{let a=(await Bn(o,{withFileTypes:!0})).sort((s,u)=>s.name.localeCompare(u.name));for(let s of a){if(s.name==="node_modules"||s.name.startsWith(".")&&![An,".confluence-sync.json",".confluence-syncignore",".confluence-workspace.json"].includes(s.name))continue;let u=(0,mt.join)(o,s.name);if(!((0,mt.relative)(e,u).split("\\").join("/")===`${An}/remote.json`||r&&(0,mt.relative)(e,u).split("\\").join("/")===`${An}/index.json`)){if(s.isDirectory())await i(u);else if(s.isFile())if(r){let c=await _t(u);n.update(JSON.stringify([(0,mt.relative)(e,u),c.size,c.mtimeMs,c.ctimeMs])),(/\.md$/i.test(u)||s.name.startsWith(".")||(0,mt.relative)(e,u).split(/[\\/]/).includes(An))&&n.update(await Ft(u))}else{let c=Ne("sha256");for await(let l of aa(u))c.update(l);n.update(JSON.stringify([(0,mt.relative)(e,u),c.digest("hex")]))}}}};return await i(e),n.digest("hex")}async function Fm(e,t){let r=e;if(!r||typeof r.base!="string"||typeof r.target!="string"||typeof r.envId!="string"||typeof r.verify!="boolean")throw new Error("\uB3D9\uAE30\uD654 \uC635\uC158\uC744 \uD655\uC778\uD574 \uC8FC\uC138\uC694.");let n=await gt((0,mt.resolve)(r.base));if((0,mt.dirname)(n)===n||!(await _t(n)).isDirectory())throw new Error("\uBB38\uC11C\uC758 \uAE30\uC900 \uD3F4\uB354\uB97C \uC120\uD0DD\uD574 \uC8FC\uC138\uC694.");if(r.referenceRoots!==void 0&&(!Array.isArray(r.referenceRoots)||r.referenceRoots.some(b=>typeof b!="string"||!b.trim())))throw new Error("\uCC38\uC870 \uD3F4\uB354 \uBAA9\uB85D\uC744 \uD655\uC778\uD574 \uC8FC\uC138\uC694.");let i=f0(n,r.referenceRoots??[]),o=r.target?await gt((0,mt.resolve)(r.target)):n;if(!fn(n,o))throw new Error("\uB3D9\uAE30\uD654 \uB300\uC0C1\uC740 \uAE30\uC900 \uD3F4\uB354 \uC548\uC5D0 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4.");if(o!==n)throw new Error("\uC6F9 Push\uB294 \uAE30\uC900 \uD3F4\uB354 \uC804\uCCB4\uB97C \uB300\uC0C1\uC73C\uB85C \uD569\uB2C8\uB2E4. \uAC1C\uBCC4 \uD30C\uC77C\uC740 csync push <\uD30C\uC77C>\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.");let a=zt(n,[]),s=hr(n).map(b=>(0,mt.relative)(n,b).split("\\").join("/")).filter(b=>!a.ignores(b)),u=dt(n);if(jt(u),!s.filter(b=>mr(b,u)&&!Lt(n,b)).length)throw new Error("\uB3D9\uAE30\uD654\uD560 Markdown \uBB38\uC11C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. \uC120\uD0DD \uBC94\uC704\uC640 .csync/ignore(\uB610\uB294 \uAE30\uC874 \uC81C\uC678 \uD30C\uC77C)\uB97C \uD655\uC778\uD574 \uC8FC\uC138\uC694.");let l=Kt(n);try{if(!(await Hr(l)).isFile())throw new Error("invalid mapping");let b=JSON.parse(await Ft(l,"utf8"));if(!b||Array.isArray(b)||typeof b!="object"||Object.values(b).some(w=>!w||typeof w!="object"||typeof w.pageId!="string"))throw new Error("invalid mapping")}catch(b){if(b.code!=="ENOENT")throw new Error("\uD398\uC774\uC9C0 \uB9E4\uD551 \uD30C\uC77C\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. .csync/mapping.json \uB610\uB294 \uAE30\uC874 \uB9E4\uD551\uC744 \uD655\uC778\uD574 \uC8FC\uC138\uC694.")}v0(n);let{env:d,source:m}=await io(n,r.envId,t),f={base:n,target:o===n?"":o,envId:r.envId,verify:r.verify,referenceRoots:i},h=await Promise.all([n,...i].map(async b=>{let w=await Ft((0,mt.join)(b,".env"),"utf8").catch(D=>{if(D.code==="ENOENT")return"";throw D});return[b,await k0(b,d),Ne("sha256").update(w).digest("hex")]}));return{selection:f,env:d,config:oo(d,m,u),fingerprint:JSON.stringify(h)}}function wv(e=A0,t=[]){let r=new Map(t),n=null,i=null,o=!1,a=null,s,u=async d=>{let m=d;if(!m||typeof m.base!="string"||typeof m.envId!="string")throw new Error("\uC124\uC815 \uACBD\uB85C\uB97C \uD655\uC778\uD558\uC138\uC694.");let f=await gt((0,mt.resolve)(m.base));if(!(await _t(f)).isDirectory()||(0,mt.dirname)(f)===f)throw new Error("\uB85C\uCEEC \uAE30\uC900 \uD3F4\uB354\uB97C \uC120\uD0DD\uD558\uC138\uC694.");let{env:h}=await io(f,m.envId,r),b={baseUrl:h.CONFLUENCE_BASE_URL,email:h.CONFLUENCE_EMAIL,token:h.CONFLUENCE_API_TOKEN,spaceKey:h.CONFLUENCE_SPACE_KEY};return{base:f,config:b,body:m}},c=()=>o||n?.state==="running",l=(d,m)=>{let f={id:Sr(),kind:d,state:"running",log:"",selection:m.selection,config:m.config,planId:null,startedAt:new Date().toISOString()};n=f,i=null;let{base:h,target:b,verify:w}=m.selection,D=[d==="pull"?"pull":d==="fetch"?"fetch":d==="restore"?"restore":"push","--base",h];for(let C of d==="pull"||d==="fetch"||d==="restore"?[]:m.selection.referenceRoots)D.push("--reference-root",C);b&&d!=="pull"&&D.push(b),d==="preview"&&D.push("--dry-run"),d==="fetch"&&D.push("--refresh"),d==="restore"&&(D.push(...m.selection.restorePaths),m.selection.restoreOverwrite&&D.push("--overwrite")),["pull","restore"].includes(d)&&m.selection.format==="obsidian"&&D.push("--obsidian"),d==="pull"&&m.selection.full&&D.push("--full"),d==="pull"&&m.selection.remoteOnly&&D.push("--remote-only"),w&&d!=="pull"&&D.push("--verify");let k=!1,T=[m.env.CONFLUENCE_API_TOKEN,E.Buffer.from(`${m.env.CONFLUENCE_EMAIL}:${m.env.CONFLUENCE_API_TOKEN}`).toString("base64")].filter(Boolean),v=C=>{(C.includes("\u2717")||C.includes("\u26A0 \uC774\uBBF8\uC9C0 \uC5C6\uC74C")||C.includes("\u26A0 \uCCA8\uBD80 \uC5C6\uC74C"))&&(k=!0);for(let I of T)C=C.split(I).join("[\uBE44\uACF5\uAC1C]");f.log=(f.log+C).slice(-512e3)};return(async()=>{try{let I=await e(D,m.env,v)===0&&!k;if(I||v(`
250
+ \uC77C\uBD80 \uC791\uC5C5\uC774 \uC2E4\uD328\uD588\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC704 \uB0B4\uC5ED\uC744 \uD655\uC778\uD558\uACE0 \uB2E4\uC2DC \uBBF8\uB9AC\uBCF4\uAE30\uD574 \uC8FC\uC138\uC694.
251
+ `),d==="preview"&&I){if((await Fm(m.selection,r)).fingerprint!==m.fingerprint)throw new Error("\uBBF8\uB9AC\uBCF4\uAE30 \uC911 \uBB38\uC11C\uB098 \uC124\uC815\uC774 \uBC14\uB00C\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uBBF8\uB9AC\uBCF4\uAE30\uD574 \uC8FC\uC138\uC694.");i={id:Sr(),prepared:m},f.planId=i.id}if(I&&["push","pull"].includes(d)){f.phase="fetch",v(`
252
+ [\uC790\uB3D9 Fetch] \uCD5C\uC2E0 \uC6D0\uACA9 \uC0C1\uD0DC\uB97C \uB2E4\uC2DC \uD655\uC778\uD569\uB2C8\uB2E4.
253
+ `),k=!1;try{if(await e(["fetch","--base",h,"--refresh"],m.env,v)!==0||k)throw new Error("\uD6C4\uC18D Fetch\uAC00 \uC644\uB8CC\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.")}catch(F){f.refreshFailed=!0,v(`[\uD6C4\uC18D Fetch \uC2E4\uD328] ${F instanceof Error?F.message:String(F)} \uC774\uBBF8 \uC644\uB8CC\uB41C ${d==="push"?"\uC5C5\uB85C\uB4DC":"\uAC00\uC838\uC624\uAE30"}\uB294 \uC720\uC9C0\uB429\uB2C8\uB2E4. Fetch\uB97C \uB2E4\uC2DC \uC2E4\uD589\uD558\uC138\uC694.
254
+ `)}finally{delete f.phase}}f.warningCount=Number(f.log.match(/(?:^|\n)\[경고 요약\] 원격 첨부 (\d+)개/)?.[1]??0),f.state=I?"succeeded":"failed"}catch(C){f.state="failed",v((C instanceof Error?C.message:String(C))+`
255
+ `)}finally{f.finishedAt=new Date().toISOString()}})(),f};return{connectionImports:()=>[...r],running:c,diff:async d=>{if(c())throw new Error("\uB2E4\uB978 \uC791\uC5C5\uC774 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4.");o=!0;try{let{base:m,config:f}=await u(d),h=d;if(typeof h.path!="string"||h.remote!==void 0&&typeof h.remote!="boolean")throw new Error("\uBE44\uAD50\uD560 \uBB38\uC11C\uB97C \uC120\uD0DD\uD558\uC138\uC694.");return await Q3(m,h.path,{remote:h.remote,env:f})}finally{o=!1}},staging:async d=>{if(c())throw new Error("\uB2E4\uB978 \uC791\uC5C5\uC774 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4.");o=!0;try{let{base:m,config:f}=await u(d),h=d;if(h.remoteOnly!==void 0&&typeof h.remoteOnly!="boolean")throw new Error("\uC6D0\uACA9 \uBAA9\uB85D \uC870\uD68C \uC635\uC158\uC744 \uD655\uC778\uD558\uC138\uC694.");if(h.remoteOnly){if(h.action!==void 0)throw new Error("\uC6D0\uACA9 \uBAA9\uB85D \uC870\uD68C\uC5D0\uC11C\uB294 \uC5C5\uB85C\uB4DC \uC120\uD0DD\uC744 \uBCC0\uACBD\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");let F=vm(m,[],f),j=F.rows.filter(B=>B.remoteState&&B.remoteState!=="unchanged").map(B=>({...B,localUnverified:!(B.remoteState==="new"&&B.status==="unavailable")}));return{...F,rows:j,revision:JSON.stringify([F.remoteCheckedAt,j])}}if(h.referenceRoots!==void 0&&(!Array.isArray(h.referenceRoots)||h.referenceRoots.some(F=>typeof F!="string")))throw new Error("\uCC38\uC870 \uD3F4\uB354\uB97C \uD655\uC778\uD558\uC138\uC694.");let b={referenceRoots:h.referenceRoots??[],baseUrl:f.baseUrl},w=JSON.stringify([m,b,dt(m)]),k=await(async()=>JSON.stringify(await Promise.all([m,...f0(m,b.referenceRoots)].map(F=>k0(F,{connection:JSON.stringify(f)},!0)))))(),T,v=s?.key===w&&s.revision===k;if(h.action!==void 0){if(!["add","remove"].includes(String(h.action))||!Array.isArray(h.paths)||h.paths.some(S=>typeof S!="string"))throw new Error("\uBB38\uC11C \uC120\uD0DD\uC744 \uD655\uC778\uD558\uC138\uC694.");i=null;let F=await nv(m,h.paths,h.action,b),j=s?.key===w?s.rows:[],B=new Map(j.map(S=>[S.path,S]));if(h.action==="add")for(let S of F)B.set(S.path,{...S,pageId:S.pageId,staged:!0,stale:!1});let G=ln(m).entries;T=[...B.values()].map(S=>({...S,staged:!!G[S.path],stale:!!G[S.path]&&(!!S.unmapped||JSON.stringify(G[S.path])!==JSON.stringify(S.entry))})),v||(k="")}else T=s?.key===w&&s.revision===k?s.rows:await Tm(m,b);let C=ln(m).entries;T=T.map(F=>({...F,staged:!!C[F.path],stale:!!C[F.path]&&(!!F.unmapped||JSON.stringify(C[F.path])!==JSON.stringify(F.entry))}));for(let[F,j]of Object.entries(C))T.some(B=>B.path===F)||T.push({path:F,status:"unavailable",staged:!0,stale:!0,entry:j});s={key:w,rows:T,revision:k};let I=vm(m,T,f);return{...I,revision:JSON.stringify([k,C,I.remoteCheckedAt,I.rows])}}finally{o=!1}},importEnv:async d=>{if(c())throw new Error("\uB2E4\uB978 Confluence \uC791\uC5C5\uC774 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4.");let m=d;if(!m||typeof m.base!="string"||typeof m.text!="string"||typeof m.name!="string"||m.name.length>255)throw new Error(".env \uD30C\uC77C\uC744 \uC120\uD0DD\uD574 \uC8FC\uC138\uC694.");let f=await gt((0,mt.resolve)(m.base));if(!(await _t(f)).isDirectory()||(0,mt.dirname)(f)===f)throw new Error("\uB85C\uCEEC \uAE30\uC900 \uD3F4\uB354\uB97C \uC120\uD0DD\uD558\uC138\uC694.");let h={...av(m.text),source:`\uAC00\uC838\uC628 \uD30C\uC77C \xB7 ${m.name}`},b=Sr();return r.set(b,h),i=null,r.size>20&&r.delete(r.keys().next().value),{envId:b,config:oo(h.env,h.source,dt(f))}},saveEnv:async d=>{if(c())throw new Error("\uB2E4\uB978 Confluence \uC791\uC5C5\uC774 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4.");o=!0;let m;try{let f=d;if(!f||typeof f.base!="string"||typeof f.envId!="string")throw new Error("\uAC00\uC838\uC628 .env \uC124\uC815\uC744 \uD655\uC778\uD558\uC138\uC694.");let h=r.get(f.envId);if(!h||Pm.some(C=>!h.env[C]))throw new Error("\uD544\uC218 \uC5F0\uACB0 \uC124\uC815\uC744 \uBAA8\uB450 \uD3EC\uD568\uD55C .env\uB97C \uAC00\uC838\uC624\uC138\uC694.");let b=await gt((0,mt.resolve)(f.base));if(!(await _t(b)).isDirectory()||(0,mt.dirname)(b)===b)throw new Error("\uB85C\uCEEC \uAE30\uC900 \uD3F4\uB354\uB97C \uC120\uD0DD\uD558\uC138\uC694.");let w=(0,mt.join)(b,".env"),D=async()=>{try{if(!(await Hr(w)).isFile())throw new Error(".env\uB294 \uC77C\uBC18 \uD30C\uC77C\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uC2EC\uBCFC\uB9AD \uB9C1\uD06C\uB294 \uC800\uC7A5\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");let C=await Ft(w,"utf8");return{content:C,hash:Ne("sha256").update(C).digest("hex")}}catch(C){if(C.code==="ENOENT")return{content:"",hash:null};throw C}},k=await D();if(!Object.hasOwn(f,"expectedHash"))return{needsConfirmation:k.hash!==null,expectedHash:k.hash,path:w};if(f.expectedHash!==k.hash)throw new Error(".env\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uC800\uC7A5\uC744 \uB2E4\uC2DC \uC2DC\uB3C4\uD574 \uC8FC\uC138\uC694.");if(m=(0,mt.join)(b,`.csync-env-${Sr()}.tmp`),await ks(m,sv(k.content,h.content),{mode:384,flag:"wx"}),(await D()).hash!==k.hash)throw new Error(".env\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uC800\uC7A5\uC744 \uB2E4\uC2DC \uC2DC\uB3C4\uD574 \uC8FC\uC138\uC694.");await gn(m,w),m=void 0,i=null;let{env:T,source:v}=await io(b,"",r);return{saved:!0,config:oo(T,v,dt(b))}}finally{m&&await Ts(m).catch(()=>{}),o=!1}},connect:async d=>{if(c())throw new Error("\uB2E4\uB978 Confluence \uC791\uC5C5\uC774 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4.");o=!0,i=null;try{let{base:m,config:f,body:h}=await u(d);await o0(m,f);let{env:b,source:w}=await io(m,h.envId,r);return oo(b,w,dt(m))}finally{o=!1}},current:()=>n,config:async(d,m)=>{let f=await gt((0,mt.resolve)(d)),{env:h,source:b}=await io(f,m,r);return oo(h,b,dt(f))},fetch:async d=>{if(c())throw new Error("\uB2E4\uB978 \uC791\uC5C5\uC774 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4.");o=!0,i=null;try{let{base:m,config:f,body:h}=await u(d),b=dt(m);jt(b);let{env:w,source:D}=await io(m,h.envId,r),k=oo(w,D,b);if(k.missing.length)throw new Error(`\uC124\uC815 \uB204\uB77D: ${k.missing.join(", ")}`);let T=new URL(f.baseUrl);if(T.protocol!=="https:"||T.username||T.password||T.search||T.hash)throw new Error("Confluence BASE_URL\uC740 \uC778\uC99D\uC815\uBCF4\xB7\uCFFC\uB9AC\uAC00 \uC5C6\uB294 HTTPS \uC8FC\uC18C\uC5EC\uC57C \uD569\uB2C8\uB2E4.");return l("fetch",{selection:{base:m,target:"",envId:h.envId,verify:!1,referenceRoots:[]},env:w,config:k,fingerprint:""})}finally{o=!1}},restore:async d=>{if(c())throw new Error("\uB2E4\uB978 \uC791\uC5C5\uC774 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4.");o=!0;try{let{base:m,body:f}=await u(d),h=d,b=bv(d),w=dt(m);jt(w);let{env:D,source:k}=await io(m,f.envId,r),T=oo(D,k,w);if(!T.connected||T.missing.length)throw new Error("\uC2A4\uD398\uC774\uC2A4 \uC5F0\uACB0\uACFC .env \uC124\uC815\uC744 \uD655\uC778\uD558\uC138\uC694.");let v=new URL(T.baseUrl);if(v.protocol!=="https:"||v.username||v.password||v.search||v.hash)throw new Error("Confluence BASE_URL\uC740 \uC778\uC99D\uC815\uBCF4\xB7\uCFFC\uB9AC\uAC00 \uC5C6\uB294 HTTPS \uC8FC\uC18C\uC5EC\uC57C \uD569\uB2C8\uB2E4.");if(h.confirmationId!==void 0){let F=a;if(a=null,!F||h.confirmationId!==F.id||F.prepared.selection.base!==m||F.prepared.selection.envId!==f.envId||F.prepared.selection.format!==b)throw new Error("\uBCF5\uAD6C \uB300\uC0C1\uC744 \uB2E4\uC2DC \uD655\uC778\uD558\uC138\uC694.");if(await k0(m,D)!==F.prepared.fingerprint)throw new Error("\uD655\uC778 \uC774\uD6C4 \uB85C\uCEEC \uBB38\uC11C\uB098 \uC124\uC815\uC774 \uBC14\uB00C\uC5C8\uC2B5\uB2C8\uB2E4. \uBCF5\uAD6C \uB300\uC0C1\uC744 \uB2E4\uC2DC \uD655\uC778\uD558\uC138\uC694.");return Xo(m,F.prepared.selection.restorePaths,F.prepared.selection.restoreOverwrite),{job:l("restore",F.prepared)}}if(typeof h.path!="string"||typeof h.overwrite!="boolean")throw new Error("\uBCF5\uAD6C\uD560 \uBB38\uC11C\uC640 \uB36E\uC5B4\uC4F0\uAE30 \uC5EC\uBD80\uB97C \uD655\uC778\uD558\uC138\uC694.");let C=Xo(m,[h.path],h.overwrite),I=Sr();return a={id:I,prepared:{selection:{base:m,target:"",envId:f.envId,verify:!1,referenceRoots:[],format:b,restorePaths:C,restoreOverwrite:h.overwrite},env:D,config:T,fingerprint:await k0(m,D)}},{confirmationId:I,path:C[0],overwrite:h.overwrite,format:b}}finally{o=!1}},pull:async d=>{if(c())throw new Error("\uB2E4\uB978 \uC791\uC5C5\uC774 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4.");o=!0,i=null;try{let{base:m,config:f,body:h}=await u(d),b=bv(d),w=h.full,D=h.remoteOnly;if(D!==void 0&&typeof D!="boolean"||D&&w)throw new Error("\uC6D0\uACA9 \uBCC0\uACBD \uAC00\uC838\uC624\uAE30 \uC635\uC158\uC744 \uD655\uC778\uD558\uC138\uC694.");if(w!==void 0&&typeof w!="boolean")throw new Error("\uC804\uCCB4 \uD0D0\uC0C9 \uC124\uC815\uC744 \uD655\uC778\uD558\uC138\uC694.");let k=dt(m);jt(k);let{env:T,source:v}=await io(m,h.envId,r),C=oo(T,v,k);if(C.missing.length)throw new Error(`\uC124\uC815 \uB204\uB77D: ${C.missing.join(", ")}`);let I=new URL(f.baseUrl);if(I.protocol!=="https:"||I.username||I.password||I.search||I.hash)throw new Error("Confluence BASE_URL\uC740 \uC778\uC99D\uC815\uBCF4\xB7\uCFFC\uB9AC\uAC00 \uC5C6\uB294 HTTPS \uC8FC\uC18C\uC5EC\uC57C \uD569\uB2C8\uB2E4.");return l("pull",{selection:{base:m,target:"",envId:h.envId,verify:!1,referenceRoots:[],format:b,...w?{full:!0}:{},...D?{remoteOnly:!0}:{}},env:T,config:C,fingerprint:""})}finally{o=!1}},preview:async d=>{if(c())throw new Error("\uB2E4\uB978 Confluence \uC791\uC5C5\uC774 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4.");o=!0,i=null;try{return l("preview",await Fm(d,r))}finally{o=!1}},push:async d=>{if(c())throw new Error("\uB2E4\uB978 Confluence \uC791\uC5C5\uC774 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4.");if(typeof d!="string"||!i||i.id!==d)throw new Error("\uBA3C\uC800 \uC5C5\uB85C\uB4DC \uB300\uC0C1\uC744 \uBBF8\uB9AC\uBCF4\uAE30\uD574 \uC8FC\uC138\uC694.");o=!0;let m=i;i=null;try{let f=await Fm(m.prepared.selection,r);if(f.fingerprint!==m.prepared.fingerprint)throw new Error("\uBB38\uC11C\uB098 \uC124\uC815\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uBBF8\uB9AC\uBCF4\uAE30\uD574 \uC8FC\uC138\uC694.");if(f.config.missing.length)throw new Error(`\uC124\uC815 \uB204\uB77D: ${f.config.missing.join(", ")}`);let h=new URL(f.env.CONFLUENCE_BASE_URL);if(h.protocol!=="https:"||h.username||h.password||h.search||h.hash)throw new Error("Confluence BASE_URL\uC740 \uC778\uC99D\uC815\uBCF4\xB7\uCFFC\uB9AC\uAC00 \uC5C6\uB294 HTTPS \uC8FC\uC18C\uC5EC\uC57C \uD569\uB2C8\uB2E4.");return l("push",f)}finally{o=!1}}}}p();$e();var bs=ce(Ke(),1),Tv=ce(jn(),1);p();$e();var Ev=ce(Ke(),1);var Bm=(e,t)=>(0,Ev.relative)(e,t).split(/[\\/]/).some(r=>r.startsWith(".")||r==="node_modules");async function xs(e,t){let r=await gt(e),n=await gt(t);if(!(await _t(r)).isDirectory()||!fn(r,n)||Bm(r,n)||!/\.md$/i.test(n)||!(await _t(n)).isFile())throw new Error("\uC120\uD0DD\uD55C \uD3F4\uB354 \uC548\uC758 Markdown \uD30C\uC77C\uC744 \uC120\uD0DD\uD574 \uC8FC\uC138\uC694.");if((await _t(n)).size>1e6)throw new Error("\uBB38\uC11C \uBBF8\uB9AC\uBCF4\uAE30\uB294 1MB \uC774\uD558 \uD30C\uC77C\uC744 \uC9C0\uC6D0\uD569\uB2C8\uB2E4.");return{source:await Ft(n,"utf8"),base:r,path:n}}p();$e();Wt();var Nu=ce(Ke(),1),Ru=ce(jn(),1);p();var Hm=new kr({html:!0}),_v=e=>Array.from(e).reduce((t,r)=>t+(/\p{Script=Hangul}|\p{Script=Han}/u.test(r)?2:1),0);function bI(e){let t=[],r="",n=0,i=0;for(let o=0;o<e.length;o++){let a=e[o];if(a==="`"&&n%2===0){let s=o;for(;e[s]==="`";)s++;let u=s-o;i=i===u?0:i||u,r+=e.slice(o,s),o=s-1,n=0;continue}a==="|"&&!i&&n%2===0?(t.push(r.trim()),r=""):r+=a,n=a==="\\"?n+1:0}return t.push(r.trim()),e.trimStart().startsWith("|")&&t.shift(),e.trimEnd().endsWith("|")&&!t.at(-1)&&t.pop(),t}function vv(e){let{body:t}=It(e),r=e.slice(0,e.length-t.length),n=r?t.match(/^(?:[ \t]*\r?\n)*/)?.[0]??"":"",i=r+n,o=e.includes(`\r
256
+ `)?`\r
257
+ `:`
258
+ `,a=t.slice(n.length).replace(/\r\n/g,`
259
+ `),s=a.split(`
260
+ `),u=Hm.parse(a,{}),c=new Set,l=new Set,d=new Set,m=-1,f=0;for(let b of a.matchAll(/<\/?table\b(?:[^"'<>]|"[^"]*"|'[^']*')*>/gi))if(!b[0].startsWith("</"))f++===0&&(m=b.index);else if(f&&--f===0){let w=a.slice(0,m).split(`
261
+ `).length-1,D=a.slice(0,b.index+b[0].length).split(`
262
+ `).length;for(let k=w;k<D;k++)c.add(k),l.add(k)}for(let b of a.matchAll(/(`+)([\s\S]*?)(?<!`)\1(?!`)/g)){let w=a.slice(0,b.index).split(`
263
+ `).length-1,D=w+b[0].split(`
264
+ `).length;for(let k=w;k<D;k++)c.add(k)}for(let b of u){if(!b.map)continue;let[w,D]=b.map;if(["fence","code_block","html_block","table_open"].includes(b.type))for(let k=w;k<D;k++)c.add(k);if(b.type==="heading_open"&&!c.has(w)&&b.level===0&&D===w+1&&/^ {0,3}#{1,6}\s/.test(s[w])&&(d.add(w),s[w]=s[w].replace(/^ {0,3}(#{1,6})[ \t]+(.*?)(?:[ \t]+#+[ \t]*)?$/,"$1 $2")),b.type==="list_item_open"&&!c.has(w)&&(s[w]=s[w].replace(/^(\s*)(?:[-+*](\s+)|(\d+)[.)](\s+))/,(k,T,v,C,I)=>T+(C?C+"."+I:"-"+v))),b.type==="table_open"&&!l.has(w)&&b.level===0){let k=s.slice(w,D).map(bI),T=k[0]?.length;if(T&&k.every(v=>v.length===T)){let v=Array.from({length:T},(I,F)=>Math.max(3,...k.map(j=>_v(j[F])))),C=k.map((I,F)=>"| "+I.map((j,B)=>F===1?(j.startsWith(":")?":":"")+"-".repeat(Math.max(3,v[B]-Number(j.startsWith(":"))-Number(j.endsWith(":"))))+(j.endsWith(":")?":":""):j+" ".repeat(v[B]-_v(j))).join(" | ")+" |");Hm.render(C.join(`
265
+ `))===Hm.render(s.slice(w,D).join(`
266
+ `))&&s.splice(w,D-w,...C)}}}let h=[];for(let b=0;b<s.length;b++){if(c.has(b)){h.push(s[b]);continue}let w=s[b].replace(/[\t ]+$/,D=>/ {2,}$/.test(D)&&s[b].trim()?" ":"");!/[\[\]<>`]/.test(w)&&!/^ {0,3}(?:>|[-+*]\s|\d+[.)]\s)/.test(w)&&(w=Tu(w)),!(!w.trim()&&!h.at(-1)?.trim())&&(d.has(b)&&h.length&&h.at(-1)?.trim()&&h.push(""),h.push(w),d.has(b)&&b+1<s.length&&s[b+1].trim()&&h.push(""))}for(;h.length&&!h.at(-1)?.trim();)h.pop();return i+(h.length?h.join(o)+o:"")}var T0=e=>Ne("sha256").update(e).digest("hex");function Sv(e){let{body:t}=It(e),r=e.length-t.length,n=t.split(`
267
+ `),i=[r];for(let u of n)i.push(i.at(-1)+u.length+1);let o=ji(),a=o.parse(t,{}),s=[];for(let u=0;u<a.length;u++){let c=a[u];if(c.type==="table_open"&&c.map){let l=u;for(;a[l]?.type!=="table_close";)l++;s.push(c.level===0?{start:i[c.map[0]],end:Math.min(e.length,i[c.map[1]]),html:o.renderer.render(a.slice(u,l+1),o.options,{}),markdown:!0}:null),u=l}else if(c.type==="html_block"&&c.map){let l=(0,Ru.createDocument)(c.content).querySelectorAll("table").length,d=i[c.map[0]],m=e.slice(d,Math.min(e.length,i[c.map[1]])),f=m.match(/^\s*<table\b(?:[^"'<>]|"[^"]*"|'[^']*')*>/i),h=m.match(/<\/table\s*>/i),b=l===1&&c.level===0&&f&&h?{start:d+m.indexOf("<"),end:d+h.index+h[0].length,html:m.slice(m.indexOf("<"),h.index+h[0].length),markdown:!1}:null;for(let w=0;w<l;w++)s.push(b)}}return s}function Av(e,t){let r=[],n=0,i=Array.from(e.querySelectorAll("tr"));return i.forEach((o,a)=>{let s=0;for(let u of Array.from(o.children).filter(c=>/^(TD|TH)$/.test(c.tagName))){for(;(r[s]??0)>a;)s++;let c=Math.max(1,Number(u.getAttribute("colspan"))||1),l=u.getAttribute("rowspan"),d=l==="0"?i.length-a:Math.max(1,Number(l)||1);if(!Number.isInteger(c)||c>32||!Number.isInteger(d))return;t?.(u,s,c);for(let m=0;m<c;m++)r[s+m]=a+d;s+=c}n=Math.max(n,s,r.length)}),n}function yI(e,t){let r=Array.from({length:t},()=>[]);return Av(e,(n,i,o)=>{let a=(n.textContent??"").normalize("NFC").replace(/\s+/g," ").trim(),s=0;for(let u of a)/\p{Mark}|[\u200d\ufe0e\ufe0f]/u.test(u)||(s+=/\p{Script=Hangul}|\p{Script=Han}|\p{Script=Hiragana}|\p{Script=Katakana}|\p{Extended_Pictographic}/u.test(u)?2:1);for(let u=i;u<Math.min(t,i+o);u++)r[u].push(s/o)}),r.map(n=>{n.sort((a,s)=>a-s);let i=n[Math.ceil((n.length-1)*.75)]??0,o=n.at(-1)??0;return Math.max(1,Math.sqrt(i)*.8+Math.sqrt(Math.min(o,i*2))*.2)})}function C0(e){return Sv(e).map((t,r)=>{let n=t&&(0,Ru.createDocument)(t.html).querySelector("table"),i=n?Av(n):0;if(!n||i<1||i>32)return{index:r,widths:[],editable:!1};let o=mi(n),a=Math.round(Math.max(i*40,Math.min(3e3,o.width??760))),s=o.columns.length===i&&o.columns.every(d=>d!==void 0)?o.columns:Array(i).fill(1),u=s.reduce((d,m)=>d+m,0),c=s.map(d=>Math.max(40,Math.floor(d/u*a))),l=a-c.reduce((d,m)=>d+m,0);for(;l!==0;){let d=l>0?c.indexOf(Math.min(...c)):c.indexOf(Math.max(...c));c[d]+=l>0?1:-1,l+=l>0?-1:1}return{index:r,widths:c,editable:!0,contentWeights:yI(n,i)}})}function $m(e,t,r){let i=Sv(e)[t],o=C0(e)[t];if(!i||!o?.editable||!Number.isInteger(t))throw new Error("\uC774 \uD45C\uB294 \uB108\uBE44 \uD3B8\uC9D1\uC744 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");if(!Array.isArray(r)||r.length!==o.widths.length||r.some(m=>!Number.isInteger(m)||m<40||m>3e3)||r.reduce((m,f)=>m+f,0)>3e3)throw new Error("\uC5F4 \uB108\uBE44\uB294 40px \uC774\uC0C1, \uC804\uCCB4 \uB108\uBE44\uB294 3000px \uC774\uD558\uC5EC\uC57C \uD569\uB2C8\uB2E4.");let a=(0,Ru.createDocument)(i.html).querySelector("table"),s=m=>Array.from(m.querySelectorAll("th, td")).map(f=>[f.innerHTML,f.getAttribute("colspan"),f.getAttribute("rowspan")]),u=s(a),c=r.reduce((m,f)=>m+f,0);Ro(a,{width:c,columns:r}),a.hasAttribute("data-table-width")&&a.setAttribute("data-table-width",String(c));let l;if(i.markdown)l=a.outerHTML+`
268
+ `;else{let f=a.cloneNode(!1).outerHTML.slice(0,-8),h=a.querySelector("colgroup").outerHTML,b=i.html.replace(/^<table\b(?:[^"'<>]|"[^"]*"|'[^']*')*>/i,f);l=/<colgroup\b/i.test(b)?b.replace(/<colgroup\b[^>]*>[\s\S]*?<\/colgroup\s*>/i,h):b.replace(f,f+`
269
+ `+h)}let d=(0,Ru.createDocument)(l).querySelector("table");if(JSON.stringify(s(d))!==JSON.stringify(u)||mi(d).width!==c||JSON.stringify(mi(d).columns)!==JSON.stringify(r))throw new Error("\uD45C \uB0B4\uC6A9\uC744 \uBCF4\uC874\uD560 \uC218 \uC5C6\uC5B4 \uBCC0\uACBD\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.");return e.slice(0,i.start)+l+e.slice(i.end)}function wI(e,t){let r=e;for(let n of C0(e).filter(i=>i.editable)){let i=n.widths.reduce((f,h)=>f+h,0),o=n.widths.length,a=t==="fit"?n.contentWeights:Array(o).fill(1),s=i-o*40,u=a.reduce((f,h)=>f+h,0),c=a.map(f=>f/u*s),l=c.map(f=>40+Math.floor(f)),d=c.map((f,h)=>({i:h,fraction:f-Math.floor(f)})).sort((f,h)=>h.fraction-f.fraction),m=i-l.reduce((f,h)=>f+h,0);for(let f=0;f<m;f++)l[d[f].i]++;r=$m(r,n.index,l)}return r}function kv(){let e=new Map,t=(r,n,i,o)=>{if(E.Buffer.byteLength(o)>1e6)throw new Error("\uBCC0\uACBD \uACB0\uACFC\uAC00 \uBBF8\uB9AC\uBCF4\uAE30 \uC9C0\uC6D0 \uD06C\uAE30\uC778 1MB\uB97C \uB118\uC2B5\uB2C8\uB2E4.");let a=Sr();return e.size>=20&&e.delete(e.keys().next().value),e.set(a,{base:r,file:n,before:i,after:o}),{planId:a,before:i,after:o}};return{async documentPreview(r,n,i,o,a,s=[]){if(typeof o!="boolean"||!["keep","fit","equal"].includes(a))throw new Error("\uBB38\uC11C \uC11C\uC2DD \uC635\uC158\uC744 \uD655\uC778\uD574 \uC8FC\uC138\uC694.");let{source:u,path:c}=await xs(r,n);if(T0(u)!==i)throw new Error("\uD30C\uC77C\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBB38\uC11C \uBBF8\uB9AC\uBCF4\uAE30\uB97C \uC0C8\uB85C\uACE0\uCE68\uD574 \uC8FC\uC138\uC694.");if(!Array.isArray(s)||s.length>100||new Set(s.map(d=>d?.index)).size!==s.length)throw new Error("\uD45C \uBCC0\uACBD \uBAA9\uB85D\uC744 \uD655\uC778\uD574 \uC8FC\uC138\uC694.");let l=u;for(let d of s)l=$m(l,d?.index,d?.widths);return o&&(l=vv(l)),a!=="keep"&&(l=wI(l,a)),t(r,c,u,l)},async preview(r,n,i,o,a,s){let{source:u,path:c}=await xs(r,n);if(T0(u)!==i)throw new Error("\uD30C\uC77C\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBB38\uC11C \uBBF8\uB9AC\uBCF4\uAE30\uB97C \uC0C8\uB85C\uACE0\uCE68\uD574 \uC8FC\uC138\uC694.");let l=s??[{index:o,widths:a}];if(!Array.isArray(l)||!l.length||l.length>100||new Set(l.map(m=>m?.index)).size!==l.length)throw new Error("\uD45C \uBCC0\uACBD \uBAA9\uB85D\uC744 \uD655\uC778\uD574 \uC8FC\uC138\uC694.");let d=u;for(let m of l)d=$m(d,m?.index,m?.widths);return t(r,c,u,d)},async save(r){let n=e.get(r);if(!n)throw new Error("\uBCC0\uACBD \uBE44\uAD50\uB97C \uB2E4\uC2DC \uC2E4\uD589\uD574 \uC8FC\uC138\uC694.");let{source:i,path:o}=await xs(n.base,n.file);if(i!==n.before||o!==n.file)throw new Error("\uD30C\uC77C\uC774 \uBCC0\uACBD\uB418\uC5B4 \uC800\uC7A5\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uC0C8\uB85C\uACE0\uCE68 \uD6C4 \uB2E4\uC2DC \uBE44\uAD50\uD574 \uC8FC\uC138\uC694.");let a=(await _t(o)).mode&511,s=await Pi((0,Nu.join)((0,Nu.dirname)(o),".csync-table-"));try{let u=(0,Nu.join)(s,"document.md");if(await ks(u,n.after,{mode:a}),await gt(n.file)!==o||await Ft(o,"utf8")!==n.before)throw new Error("\uD30C\uC77C\uC774 \uBCC0\uACBD\uB418\uC5B4 \uC800\uC7A5\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.");await gn(u,o),e.delete(r)}finally{await xn(s,{recursive:!0,force:!0})}return{saved:o}}}}p();Wt();var EI=new Set("h1 h2 h3 h4 h5 h6 p a img ul ol li dl dt dd blockquote pre code em strong s del b i u sub sup br hr table caption colgroup col thead tbody tfoot tr th td span div details summary".split(" ")),_I=new Set("SCRIPT STYLE IFRAME OBJECT EMBED FORM INPUT BUTTON TEXTAREA SELECT META LINK BASE SVG MATH TEMPLATE".split(" ")),vI=new Set(["alt","title","colspan","rowspan","span","start","scope","id"]),SI={".png":"image/png",".jpg":"image/jpeg",".jpeg":"image/jpeg",".gif":"image/gif",".webp":"image/webp",".avif":"image/avif"},AI=/^(?:width|max-width|height|text-align|vertical-align|table-layout|color|background-color|white-space|font-weight|font-style|text-decoration)$/i;async function Cv(e,t,r){let{source:n,base:i,path:o}=await xs(e,t),{body:a}=It(n),s=(0,Tv.createDocument)(ji().render(a));for(let f of Array.from(s.body.querySelectorAll("*"))){if(_I.has(f.tagName)){f.remove();continue}if(!EI.has(f.tagName.toLowerCase())){for(;f.firstChild;)f.parentNode?.insertBefore(f.firstChild,f);f.remove();continue}let h=f.tagName==="IMG"?f.getAttribute("src"):null;for(let b of Array.from(f.attributes))if(b.name==="style"){let w=b.value.split(";").filter(D=>{let k=D.indexOf(":");return k>0&&AI.test(D.slice(0,k).trim())&&!/url\s*\(|expression|@|\\|[<>]/i.test(D.slice(k+1))}).join(";");f.setAttribute("style",w)}else vI.has(b.name)||b.name==="href"&&b.value.startsWith("#")||f.removeAttribute(b.name);if(h)try{if(/^[a-z][a-z\d+.-]*:|^[/\\]/i.test(h))continue;let b=await gt((0,bs.resolve)((0,bs.dirname)(o),decodeURIComponent(h.split(/[?#]/)[0]))),w=SI[(0,bs.extname)(b).toLowerCase()];if(!w||!fn(i,b)||Bm(i,b))continue;let D=await _t(b);if(!D.isFile()||D.size>5e6)continue;f.setAttribute("src",`data:${w};base64,${(await Ft(b)).toString("base64")}`)}catch{}}let u=C0(n),c=Array.from(s.querySelectorAll("table"));c.length!==u.length&&u.forEach(f=>{f.editable=!1}),u.forEach((f,h)=>{f.editable&&c[h]?.setAttribute("data-csync-table",String(f.index))});let l=na(24).toString("hex"),m=r?`<script nonce="${r}" data-channel="${l}">(function tableEditorBridge() {
270
+ const channel = document.currentScript.getAttribute('data-channel');
271
+ let enabled = false, selected = null, index = -1, widths = [];
272
+ let handles = [];
273
+ const send = (type) => parent.postMessage({ type, channel, index, widths }, '*');
274
+ const clear = () => { handles.forEach(h => h.remove()); handles = []; selected?.classList.remove('csync-selected'); };
275
+ const place = () => {
276
+ if (!selected)
277
+ return;
278
+ const rect = selected.getBoundingClientRect();
279
+ const total = widths.reduce((a, b) => a + b, 0);
280
+ let left = rect.left + scrollX;
281
+ handles.forEach((h, i) => {
282
+ left += widths[i] / total * rect.width;
283
+ Object.assign(h.style, { left: (left - 5) + 'px', top: (rect.top + scrollY) + 'px', height: rect.height + 'px' });
284
+ });
285
+ };
286
+ const apply = () => {
287
+ if (!selected)
288
+ return;
289
+ for (const group of Array.from(selected.children).filter(el => el.tagName === 'COLGROUP'))
290
+ group.remove();
291
+ const group = document.createElement('colgroup');
292
+ widths.forEach(width => { const col = document.createElement('col'); col.style.width = width + 'px'; group.append(col); });
293
+ selected.prepend(group);
294
+ selected.style.width = widths.reduce((a, b) => a + b, 0) + 'px';
295
+ selected.style.tableLayout = 'fixed';
296
+ place();
297
+ };
298
+ const select = (table, next, values) => {
299
+ clear();
300
+ selected = table;
301
+ index = next;
302
+ widths = values.slice();
303
+ selected.classList.add('csync-selected');
304
+ widths.slice(1).forEach((_, i) => {
305
+ const h = document.createElement('div');
306
+ h.className = 'csync-resize';
307
+ h.title = '\uC5F4 \uB108\uBE44 \uC870\uC808';
308
+ h.onpointerdown = event => {
309
+ event.preventDefault();
310
+ const start = event.clientX, original = widths.slice();
311
+ const scale = original.reduce((a, b) => a + b, 0) / selected.getBoundingClientRect().width;
312
+ h.setPointerCapture(event.pointerId);
313
+ h.onpointermove = move => {
314
+ const delta = Math.round((move.clientX - start) * scale);
315
+ const change = Math.max(40 - original[i], Math.min(original[i + 1] - 40, delta));
316
+ widths[i] = original[i] + change;
317
+ widths[i + 1] = original[i + 1] - change;
318
+ apply();
319
+ send('csync-table-change');
320
+ };
321
+ const end = () => { h.onpointermove = null; h.onpointerup = null; h.onpointercancel = null; };
322
+ h.onpointerup = end;
323
+ h.onpointercancel = end;
324
+ };
325
+ document.body.append(h);
326
+ handles.push(h);
327
+ });
328
+ apply();
329
+ };
330
+ document.addEventListener('click', event => {
331
+ if (!enabled || !(event.target instanceof Element))
332
+ return;
333
+ const table = event.target.closest('table[data-csync-table]');
334
+ if (!table)
335
+ return;
336
+ index = Number(table.dataset.csyncTable);
337
+ send('csync-table-select');
338
+ });
339
+ window.addEventListener('message', event => {
340
+ if (event.source !== parent || event.data?.channel !== channel)
341
+ return;
342
+ const data = event.data;
343
+ if (data.type === 'csync-table-edit') {
344
+ enabled = data.enabled === true;
345
+ document.body.classList.toggle('csync-editing', enabled);
346
+ if (!enabled) {
347
+ clear();
348
+ selected = null;
349
+ }
350
+ }
351
+ if (data.type === 'csync-table-widths' && enabled && Number.isInteger(data.index)
352
+ && Array.isArray(data.widths) && data.widths.length <= 32 && data.widths.every((w) => typeof w === 'number' && Number.isInteger(w) && w >= 40 && w <= 3000)) {
353
+ const table = document.querySelector(\`table[data-csync-table="\${data.index}"]\`);
354
+ if (!table)
355
+ return;
356
+ if (table === selected) {
357
+ widths = data.widths.slice();
358
+ apply();
359
+ }
360
+ else
361
+ select(table, data.index, data.widths);
362
+ }
363
+ });
364
+ window.addEventListener('resize', place);
365
+ window.addEventListener('scroll', place);
366
+ })()<\/script>`:"";return{hash:T0(n),channel:l,tables:u,html:`<!doctype html><html lang="ko"><head><meta charset="utf-8"><meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src ${r?`'nonce-${r}'`:"'none'"}; img-src data:; style-src 'unsafe-inline'; base-uri 'none'; form-action 'none'"><meta name="viewport" content="width=device-width,initial-scale=1"><style>
367
+ *{box-sizing:border-box}body{margin:0;padding:24px;color:#172b4d;background:white;font:15px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}main{max-width:760px;margin:auto}h1,h2,h3,h4{line-height:1.4}h1{font-size:26px}h2{font-size:22px}h3{font-size:18px}table{border-collapse:collapse;margin:16px 0}th,td{border:1px solid #c7cfdb;padding:8px;vertical-align:top;overflow-wrap:anywhere}th{background:#f0f3f8}td p,th p{margin:0}img{max-width:100%;height:auto}pre{padding:14px;background:#f4f6f9;overflow:auto}code{font-size:.88em;overflow-wrap:anywhere}blockquote{border-left:3px solid #c7cfdb;margin-left:0;padding-left:16px;color:#526078}a{color:#315fd8}hr{border:0;border-top:1px solid #dde3ec}
368
+ .csync-editing table[data-csync-table]{cursor:pointer}.csync-editing table[data-csync-table]:hover{outline:2px dashed #8192e3}.csync-selected{outline:3px solid #5466d8!important}.csync-resize{position:absolute;width:10px;cursor:col-resize;z-index:10;touch-action:none;border-left:2px solid #5466d8;background:#5466d82a}
369
+ </style></head><body><main>${s.body.innerHTML}</main>${m}</body></html>`}}var Um=e=>e instanceof Error?e.message:String(e);function Dv(e){let t=e.start,r=e.previewNonce??na(24).toString("hex"),n=kv(),i=wv(e.syncRunner,e.connectionImports),o=new Set,a=null,s=!1,u=()=>{if(a)return`${a} \uC791\uC5C5\uC774 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4. \uC644\uB8CC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574 \uC8FC\uC138\uC694.`;let c=i.current();return`${c?.state==="running"?{restore:"\uBB38\uC11C \uBCF5\uAD6C",pull:"\uAC00\uC838\uC624\uAE30(Pull)",push:"\uC5C5\uB85C\uB4DC(Push)",preview:"\uC5C5\uB85C\uB4DC \uBBF8\uB9AC\uBCF4\uAE30",fetch:"\uC6D0\uACA9 \uBCC0\uACBD \uD655\uC778"}[c.kind]:"Confluence \uC694\uCCAD \uCC98\uB9AC"} \uC791\uC5C5\uC774 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4. \uC644\uB8CC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574 \uC8FC\uC138\uC694.`};return{connectionImports:i.connectionImports,isRunning:()=>!!(a||i.running()),async request(c,l,d){let m={status:404,body:{error:"\uC5C6\uB294 \uC694\uCCAD\uC785\uB2C8\uB2E4."}},f=(h,b)=>{m={status:h,body:b}};try{await(async()=>{if(c==="GET"&&l.pathname==="/api/sync/job"){f(200,{job:i.current()});return}if(c==="GET"&&l.pathname==="/api/browse"){let R=await gt(l.searchParams.get("path")||t),M=(await Bn(R,{withFileTypes:!0})).filter(q=>!q.name.startsWith(".")&&q.name!=="node_modules"&&!(q.isDirectory()&&q.name.toLowerCase()==="attachments")&&(q.isDirectory()||q.isFile()&&/\.md$/i.test(q.name))).map(q=>({name:q.name,path:(0,Ht.join)(R,q.name),directory:q.isDirectory()})).sort((q,W)=>Number(W.directory)-Number(q.directory)||q.name.localeCompare(W.name,"ko"));f(200,{path:R,parent:(0,Ht.dirname)(R),home:ic(),entries:M});return}if(c==="GET"&&l.pathname==="/api/search"){let R=await gt(l.searchParams.get("path")||t),M=(l.searchParams.get("q")||"").trim().normalize("NFC").toLocaleLowerCase();if(!(await _t(R)).isDirectory())throw new Error("\uAC80\uC0C9 \uAE30\uC900 \uD3F4\uB354\uB97C \uD655\uC778\uD574 \uC8FC\uC138\uC694.");let q=[],W=0,V=M?[R]:[];for(;V.length;){let Ae=V.pop(),be;try{be=await Bn(Ae,{withFileTypes:!0})}catch(Y){if(Ae===R)throw Y;W++;continue}for(let Y of be){if(Y.name.startsWith(".")||Y.name==="node_modules"||Y.isDirectory()&&Y.name.toLowerCase()==="attachments")continue;let K=(0,Ht.join)(Ae,Y.name);Y.isDirectory()?V.push(K):Y.isFile()&&/\.md$/i.test(Y.name)&&Y.name.normalize("NFC").toLocaleLowerCase().includes(M)&&q.push({name:Y.name,path:K,relativePath:(0,Ht.relative)(R,K).split("\\").join("/"),directory:!1})}}q.sort((Ae,be)=>Ae.relativePath.localeCompare(be.relativePath,"ko")),f(200,{root:R,entries:q,skipped:W});return}if(c!=="POST"||!["/api/document-format/preview","/api/table-format/preview","/api/table-format/save","/api/document-preview","/api/convert","/api/open","/api/pick-folder","/api/sync/diff","/api/sync/staging","/api/sync/config","/api/sync/env/import","/api/sync/env/save","/api/sync/connect","/api/sync/preview","/api/sync/push","/api/sync/pull","/api/sync/fetch","/api/sync/restore"].includes(l.pathname)){f(404,{error:"\uC5C6\uB294 \uC694\uCCAD\uC785\uB2C8\uB2E4."});return}if(!d||typeof d!="object"||Array.isArray(d))throw new Error("\uC694\uCCAD \uB0B4\uC6A9\uC744 \uD655\uC778\uD574 \uC8FC\uC138\uC694.");if(l.pathname==="/api/document-preview"){if(typeof d.base!="string"||typeof d.file!="string")throw new Error("\uBB38\uC11C \uACBD\uB85C\uB97C \uD655\uC778\uD574 \uC8FC\uC138\uC694.");f(200,await Cv(d.base,d.file,r));return}if(l.pathname==="/api/document-format/preview"){if(a||i.running()){f(409,{error:u()});return}if(typeof d.base!="string"||typeof d.file!="string"||typeof d.hash!="string")throw new Error("\uBB38\uC11C \uC11C\uC2DD \uC694\uCCAD\uC744 \uD655\uC778\uD574 \uC8FC\uC138\uC694.");f(200,await n.documentPreview(d.base,d.file,d.hash,d.basic,d.tables,d.changes));return}if(l.pathname.startsWith("/api/table-format/")){if(a||i.running()){f(409,{error:u()});return}if(l.pathname.endsWith("/preview")){if(typeof d.base!="string"||typeof d.file!="string"||typeof d.hash!="string"||!Number.isInteger(d.index)||!Array.isArray(d.widths))throw new Error("\uD45C \uC11C\uC2DD \uC694\uCCAD\uC744 \uD655\uC778\uD574 \uC8FC\uC138\uC694.");f(200,await n.preview(d.base,d.file,d.hash,d.index,d.widths,d.changes))}else{if(typeof d.planId!="string")throw new Error("\uBCC0\uACBD \uBE44\uAD50\uB97C \uBA3C\uC800 \uC2E4\uD589\uD574 \uC8FC\uC138\uC694.");a="\uD45C \uC11C\uC2DD \uC800\uC7A5";try{f(200,await n.save(d.planId))}finally{a=null}}return}if(l.pathname==="/api/sync/connect"){if(a||i.running()){f(409,{error:u()});return}a="\uC2A4\uD398\uC774\uC2A4 \uC5F0\uACB0 \uC800\uC7A5";try{f(200,await i.connect(d))}finally{a=null}return}if(l.pathname==="/api/sync/env/import"||l.pathname==="/api/sync/env/save"){if(a||i.running()){f(409,{error:u()});return}a=l.pathname.endsWith("/import")?".env \uAC00\uC838\uC624\uAE30":".env \uC800\uC7A5";try{f(200,l.pathname.endsWith("/import")?await i.importEnv(d):await i.saveEnv(d))}finally{a=null}return}if(l.pathname==="/api/sync/diff"){if(a||i.running()){f(409,{error:u()});return}f(200,await i.diff(d));return}if(l.pathname==="/api/sync/restore"){if(a||i.running()){f(409,{error:u()});return}let R=await i.restore(d);f("job"in R?202:200,R);return}if(l.pathname==="/api/sync/staging"){if(a||i.running()){f(409,{error:u()});return}f(200,await i.staging(d));return}if(l.pathname==="/api/sync/config"){if(typeof d.base!="string"||typeof d.envId!="string")throw new Error("\uC124\uC815 \uACBD\uB85C\uB97C \uD655\uC778\uD574 \uC8FC\uC138\uC694.");f(200,await i.config(d.base,d.envId));return}if(l.pathname==="/api/sync/preview"||l.pathname==="/api/sync/push"||l.pathname==="/api/sync/pull"||l.pathname==="/api/sync/fetch"){if(a||i.running()){f(409,{error:u()});return}let R=l.pathname.endsWith("/preview")?await i.preview(d):l.pathname.endsWith("/pull")?await i.pull(d):l.pathname.endsWith("/fetch")?await i.fetch(d):await i.push(d.planId);f(202,{job:R});return}if(l.pathname==="/api/pick-folder"){if(s){f(409,{error:"\uC774\uBBF8 \uC5F4\uB9B0 \uD3F4\uB354 \uB2E4\uC774\uC5BC\uB85C\uADF8\uB97C \uBA3C\uC800 \uB2EB\uC544 \uC8FC\uC138\uC694."});return}if(d.kind!=="base"&&d.kind!=="out"&&d.kind!=="reference")throw new Error("\uD3F4\uB354 \uC120\uD0DD \uC6A9\uB3C4\uB97C \uD655\uC778\uD574 \uC8FC\uC138\uC694.");let R=t;if(typeof d.start=="string"&&d.start)try{let M=await gt(d.start);(await _t(M)).isDirectory()&&(R=M)}catch{}if(s){f(409,{error:"\uC774\uBBF8 \uC5F4\uB9B0 \uD3F4\uB354 \uB2E4\uC774\uC5BC\uB85C\uADF8\uB97C \uBA3C\uC800 \uB2EB\uC544 \uC8FC\uC138\uC694."});return}s=!0;try{let M=await e.pickFolder(R,d.kind==="reference"?"\uCC38\uC870 \uBB38\uC11C\uC758 \uB3D9\uAE30\uD654 \uD3F4\uB354 \uC120\uD0DD":d.kind==="base"?"\uBB38\uC11C\uC758 \uAE30\uC900 \uD3F4\uB354 \uC120\uD0DD":"\uBCC0\uD658 \uACB0\uACFC\uB97C \uC800\uC7A5\uD560 \uCD9C\uB825 \uD3F4\uB354 \uC120\uD0DD"),q=M?await gt(M):null;if(q&&!(await _t(q)).isDirectory())throw new Error("\uD3F4\uB354\uB97C \uC120\uD0DD\uD574 \uC8FC\uC138\uC694.");f(200,{path:q})}finally{s=!1}return}if(l.pathname==="/api/open"){if(typeof d.path!="string"||!o.has(d.path))throw new Error("\uC774\uBC88 \uC2E4\uD589\uC5D0\uC11C \uC800\uC7A5\uD55C \uACB0\uACFC\uB9CC \uC5F4 \uC218 \uC788\uC2B5\uB2C8\uB2E4.");await e.open(d.path),f(200,{ok:!0});return}if(a||i.running()){f(409,{error:u()});return}if(typeof d.base!="string"||typeof d.file!="string"||!["markdown","obsidian","repair"].includes(d.to)||typeof d.fix!="boolean"||typeof d.preview!="boolean")throw new Error("\uBCC0\uD658 \uC635\uC158\uC744 \uD655\uC778\uD574 \uC8FC\uC138\uC694.");let h=await gt(d.base),b=await gt(d.file),w=d.scope??"legacy";if(!["file","folder","legacy"].includes(w))throw new Error("\uD30C\uC77C \uB610\uB294 \uD3F4\uB354\uB97C \uC120\uD0DD\uD574 \uC8FC\uC138\uC694.");let D=await _t(b);if(!(await _t(h)).isDirectory()||!fn(h,b)||(w==="folder"?!D.isDirectory():!D.isFile()||!/\.md$/i.test(b)))throw new Error("\uD0D0\uC0C9 \uD3F4\uB354 \uC548\uC758 Markdown \uD30C\uC77C \uB610\uB294 \uD3F4\uB354\uB97C \uC120\uD0DD\uD574 \uC8FC\uC138\uC694.");let k=(0,Ht.relative)(h,b).split(/[\\/]/);if((w==="folder"?k:k.slice(0,-1)).some(R=>R.startsWith(".")||R==="node_modules"))throw new Error("\uC228\uAE40 \uD3F4\uB354\uC640 node_modules \uC548\uC758 \uBB38\uC11C\uB294 \uBCC0\uD658 \uB300\uC0C1\uC774 \uC544\uB2D9\uB2C8\uB2E4.");let T=w==="legacy"?h:w==="folder"?b:(0,Ht.dirname)(b);if((0,Ht.dirname)(T)===T)throw new Error("\uBB38\uC11C\uAC00 \uC788\uB294 \uD558\uC704 \uD3F4\uB354\uB97C \uC120\uD0DD\uD574 \uC8FC\uC138\uC694.");let v=w==="folder"?hr(b):[b];if(!v.length)throw new Error("\uC120\uD0DD\uD55C \uD3F4\uB354\uC5D0 \uBCC0\uD658\uD560 Markdown \uBB38\uC11C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.");if(d.out!==void 0&&typeof d.out!="string")throw new Error("\uCD9C\uB825 \uACBD\uB85C\uB97C \uD655\uC778\uD574 \uC8FC\uC138\uC694.");let C=d.approvedOverwrites??{};if(!C||typeof C!="object"||Array.isArray(C)||Object.values(C).some(R=>typeof R!="string"||!/^[a-f0-9]{64}$/.test(R)))throw new Error("\uB36E\uC5B4\uC4F0\uAE30 \uD655\uC778 \uC815\uBCF4\uB97C \uD655\uC778\uD574 \uC8FC\uC138\uC694.");let I=d.out?.trim()?await Om((0,Ht.resolve)(d.out.trim())):null,F=I!==null&&(I===h||I===T),j=F?T:I;if(I&&!F&&(fn(T,I)||fn(I,T)))throw new Error("\uCD9C\uB825 \uD3F4\uB354\uB294 \uAE30\uC900 \uD3F4\uB354\uC640 \uACB9\uCE58\uC9C0 \uC54A\uB294 \uBCC4\uB3C4 \uACBD\uB85C\uB85C \uC9C0\uC815\uD574 \uC8FC\uC138\uC694.");if(a||i.running()){f(409,{error:u()});return}a="\uBB38\uC11C \uBCC0\uD658";let B,G=null,S=!1,N,P=200,_,H=async()=>{if(F)for(let[R,M]of Object.entries(C)){let q=(0,Ht.resolve)(T,R);if(!fn(T,q))throw new Error("\uB36E\uC5B4\uC4F0\uAE30 \uD655\uC778 \uACBD\uB85C\uB97C \uD655\uC778\uD558\uC138\uC694.");try{let W=await Hr(q);if(W.isFile()&&!W.isSymbolicLink()&&Ne("sha256").update(await Ft(q)).digest("hex")===M)continue}catch(W){if(W.code!=="ENOENT")throw W}throw Object.assign(new Error(`\uD655\uC778 \uC774\uD6C4 \uC6D0\uBCF8 \uD30C\uC77C\uC774 \uBCC0\uACBD\uB418\uC5C8\uAC70\uB098 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4: ${R}. \uBBF8\uB9AC\uBCF4\uAE30\uBD80\uD130 \uB2E4\uC2DC \uC9C4\uD589\uD558\uC138\uC694.`),{code:"SOURCE_CHANGED"})}};try{await H(),B=await Pi((0,Ht.join)(ci(),"csync-preview-"));let R=["--base",T,b,"--out",B];d.to!=="repair"&&R.push("--to",d.to),(d.fix||d.to==="repair")&&R.push("--fix");let{stdout:M}=await e.convert(R),q=async be=>(await _t(be)).size>2e5?"\uBB38\uC11C\uAC00 200KB\uB97C \uB118\uC5B4 \uBCF8\uBB38 \uBBF8\uB9AC\uBCF4\uAE30\uB97C \uC0DD\uB7B5\uD569\uB2C8\uB2E4.":Ft(be,"utf8"),W=await Promise.all(v.slice(0,20).map(async be=>({path:(0,Ht.relative)(T,be),before:await q(be),after:await q((0,Ht.join)(B,(0,Ht.relative)(T,be)))}))),{before:V,after:Ae}=W[0];d.preview||(await H(),G=j??await Pi((0,Ht.join)((0,Ht.dirname)(T),`${(0,Ht.basename)(T)}-converted-`)),S=!j,_=await xv(B,G,C),o.add(G)),N={before:V,after:Ae,previews:W,saved:_,inPlace:F,documentCount:v.length,log:M.split(B).join(G??"(\uBBF8\uB9AC\uBCF4\uAE30)"),output:G}}catch(R){if(G&&S&&await xn(G,{recursive:!0,force:!0}),R.code==="SOURCE_CHANGED")P=409,N={error:Um(R),code:"SOURCE_CHANGED"};else if(R instanceof gs)P=409,N=F&&R.conflicts.some(q=>C[q.path]&&C[q.path]!==q.hash)?{error:"\uD655\uC778 \uC774\uD6C4 \uC6D0\uBCF8 \uD30C\uC77C\uC774 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBBF8\uB9AC\uBCF4\uAE30\uBD80\uD130 \uB2E4\uC2DC \uC9C4\uD589\uD558\uC138\uC694.",code:"SOURCE_CHANGED"}:{error:R.message,code:"OVERWRITE_REQUIRED",conflicts:R.conflicts,inPlace:F,output:G};else{let M=R;throw new Error(M.killed?"\uBCC0\uD658 \uC2DC\uAC04\uC774 2\uBD84\uC744 \uCD08\uACFC\uD588\uC2B5\uB2C8\uB2E4.":M.stderr?.trim()||Um(R))}}finally{try{B&&await xn(B,{recursive:!0,force:!0})}finally{a=null}}f(P,N)})()}catch(h){f(400,{error:Um(h)})}return m}}}$e();p();async function Iv(e,t){if(typeof indexedDB>"u")return;let r=await new Promise((n,i)=>{let o=indexedDB.open("csync.worker-sessions",1);o.onupgradeneeded=()=>o.result.createObjectStore("sessions"),o.onsuccess=()=>n(o.result),o.onerror=()=>i(o.error)});try{return await new Promise((n,i)=>{let o=r.transaction("sessions",t===void 0?"readonly":"readwrite"),a=o.objectStore("sessions"),s=t===void 0?a.get(e):t===null?a.delete(e):a.put(t,e),u;s.onsuccess=()=>{u=s.result},o.oncomplete=()=>n(u),o.onerror=()=>i(o.error)})}finally{r.close()}}p();$e();var Pr=ce(Ke(),1);Wt();var Nv=ce(jn(),1),Rv=ce(Po(),1);var qm=100*1024*1024,Wm=512*1024*1024,Km=2e4,jm=e=>Ne("sha256").update(e).digest("hex");function Lu(e){if(!e||e.includes("\\")||/[\x00-\x1f:]/.test(e)||e.startsWith("/")||e.split("/").some(t=>!t||t==="."||t===".."))throw Error("\uC798\uBABB\uB41C \uD30C\uC77C \uACBD\uB85C\uC785\uB2C8\uB2E4.");return e}function Vm(e){return!e.split("/").some((r,n)=>r==="node_modules"||r===".git"||r.startsWith(".")&&!(n===0&&[".csync",".env",".confluence-sync.json",".confluence-workspace.json",".confluence-syncignore"].includes(r)))}function ni(e,t){let r=e.find(i=>t===i.virtual||t.startsWith(i.virtual+"/"));if(!r)throw Error("\uC120\uD0DD\uD55C \uBE0C\uB77C\uC6B0\uC800 \uD3F4\uB354 \uC548\uC758 \uACBD\uB85C\uB9CC \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.");let n=t.slice(r.virtual.length).replace(/^\//,"");return n&&Lu(n),(0,Pr.join)(r.root,n)}function Lv(e,t){for(let r of e){let n=(0,Pr.relative)(r.root,t);if(!n)return r.virtual;if(ot(r.root,t))return r.virtual+"/"+n.split("\\").join("/")}throw Error("\uC791\uC5C5\uACF5\uAC04 \uBC16\uC758 \uACBD\uB85C\uC785\uB2C8\uB2E4.")}async function D0(e,t=new Map){let r=[],n=0;async function i(o,a){for(let s of await Bn(a,{withFileTypes:!0})){let u=(0,Pr.join)(a,s.name),c=(0,Pr.relative)(o.root,u).split("\\").join("/");if(!Vm(c))continue;Lu(c);let l=await Hr(u);if(l.isSymbolicLink())throw Error("\uC791\uC5C5\uACF5\uAC04\uC758 \uC2EC\uBCFC\uB9AD \uB9C1\uD06C\uB294 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");if(l.isDirectory()){await i(o,u);continue}if(!l.isFile())continue;if(n+=l.size,r.length>=Km||l.size>qm||n>Wm)throw Error("\uC791\uC5C5\uACF5\uAC04 \uD55C\uB3C4\uB97C \uCD08\uACFC\uD588\uC2B5\uB2C8\uB2E4(\uD30C\uC77C 100MiB, \uC804\uCCB4 512MiB, 20,000\uAC1C).");let d=`${l.size}:${l.mtimeMs}:${l.ctimeMs}`,m=t.get(u),f=m?.stamp===d?m.hash:jm(await Ft(u));t.set(u,{stamp:d,hash:f}),r.push({path:Lv(e,u),size:l.size,hash:f})}}for(let o of e)await i(o,o.root);return r.sort((o,a)=>o.path<a.path?-1:o.path>a.path?1:0)}function zm(e){let r=(0,Rv.parse)(e).CONFLUENCE_BASE_URL;if(!r)return;let n=new URL(r);if(n.protocol!=="https:"||n.username||n.password||n.search||n.hash||!(n.hostname==="api.atlassian.com"||n.hostname.endsWith(".atlassian.net")))throw Error("\uBC30\uD3EC \uC6F9\uC740 Atlassian Cloud\uC758 HTTPS \uC8FC\uC18C\uB9CC \uC9C0\uC6D0\uD569\uB2C8\uB2E4.")}async function Mv(e,t=!0,r=!0,n){let i=new kr({html:!0}),o=await D0(e.filter((s,u)=>u===0||s.readonly)),a=(s,u,c=!1)=>{try{u=u.replace(/^<(.*)>$/,"$1");for(let d=0;d<4;d++){let m=decodeURIComponent(u);if(m===u)break;u=m}}catch{throw Error("\uD574\uC11D\uD560 \uC218 \uC5C6\uB294 \uB9C1\uD06C \uACBD\uB85C\uC785\uB2C8\uB2E4.")}if(!u||u.startsWith("#")||/^(?:https?:|mailto:|data:)/i.test(u)||c&&Bi(u))return;if(/^[a-z][a-z\d+.-]*:|^\/\//i.test(u)||u.startsWith("/")||u.includes("\\"))throw Error(`${Lv(e,s)}: \uC11C\uBC84\uC758 \uC808\uB300 \uACBD\uB85C\uB97C \uCC38\uC870\uD558\uB294 \uBB38\uC11C\uB294 \uCC98\uB9AC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.`);let l=(0,Pr.resolve)((0,Pr.dirname)(s),u.split(/[?#]/)[0]);if(!e.some(d=>ot(d.root,l)))throw Error("\uC120\uD0DD\uD55C \uD3F4\uB354 \uBC16\uC758 \uCCA8\uBD80\xB7\uBB38\uC11C\uB97C \uCC38\uC870\uD569\uB2C8\uB2E4. \uCC38\uC870 \uD3F4\uB354\uB97C \uCD94\uAC00\uD558\uAC70\uB098 \uB9C1\uD06C\uB97C \uC218\uC815\uD558\uC138\uC694.")};for(let s of o){let u=ni(e,s.path),c=(0,Pr.relative)(e.find(f=>s.path.startsWith(f.virtual+"/")).root,u).split("\\").join("/");if(c===".env"){t&&zm(await Ft(u,"utf8"));continue}if(c===".csync/mapping.json"||c===".confluence-sync.json"||c===".csync/index.json"){let f=JSON.parse(await Ft(u,"utf8"));for(let h of Object.keys(c.endsWith("index.json")?f.entries??{}:f))Lu(h.replace(/\/$/,""))}if(!r||!/\.md$/i.test(u)||c.startsWith(".csync/")||n&&!n.some(f=>ot(f,u)))continue;let l=await Ft(u,"utf8"),d=f=>{for(let h of f.matchAll(/(?<!!)(!?)\[([^\]\n]*)\]\((<[^>\n]+>|[^()\s]+)\)/g))(f.slice(0,h.index).match(/\\+$/)?.[0].length??0)%2||a(u,h[3],!h[1]);for(let h of f.matchAll(Ra)){if((f.slice(0,h.index).match(/\\+$/)?.[0].length??0)%2)continue;let b=La(h[1],h[2],h[3],h[4]);b?.target&&a(u,b.target,!b.embed)}return f};vn(l,d,f=>d(f.replace(/<!--[\s\S]*?-->|<(script|style|pre|code)\b[^>]*>[\s\S]*?<\/\1\s*>/gi,"")));let m=f=>{for(let h of f)if(h.type==="image"&&a(u,h.attrGet("src")??""),h.type==="link_open"&&a(u,h.attrGet("href")??"",!0),h.children&&m(h.children),h.type==="html_block"||h.type==="html_inline")for(let b of Array.from((0,Nv.createDocument)(h.content).querySelectorAll("[href], [src]")))b.hasAttribute("href")&&a(u,b.getAttribute("href")??"",b.localName==="a"),b.hasAttribute("src")&&a(u,b.getAttribute("src")??"")};m(i.parse(l,{}))}}async function Ov(e,t,r,n){let i=[],o=[];await sa((0,Pr.join)(t,"backup"),{recursive:!0});try{for(let a of[...r.map(s=>s.path),...n]){let s=ni(e,a);try{let u=await Hr(s);if(!u.isFile()||u.isSymbolicLink())throw Error("\uD30C\uC77C \uCDA9\uB3CC\uC744 \uD655\uC778\uD558\uC138\uC694.");let c=(0,Pr.join)(t,"backup",String(o.length));await gn(s,c),o.push({file:s,backup:c})}catch(u){if(u.code!=="ENOENT")throw u}}for(let a=0;a<r.length;a++){let s=ni(e,r[a].path);await sa((0,Pr.dirname)(s),{recursive:!0}),await gn((0,Pr.join)(t,String(a)),s),i.push(s)}}catch(a){for(let s of i.reverse())await xn(s,{force:!0});for(let s of o.reverse())await gn(s.backup,s.file);throw a}}p();function Fv({store:e=Iv,fetch:t}={}){t3(t);let r,n,i=[],o=[],a,s=null,u="",c=[],l=()=>{y.chdir(r.base),n=Dv({start:r.base,syncRunner:A0,connectionImports:c,convert:gv,open:async()=>{},pickFolder:async()=>{throw Error("\uBE0C\uB77C\uC6B0\uC800 \uD3F4\uB354 \uC120\uD0DD\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.")}})},d=new Map,m=async()=>{let b=await D0(i,d),w=new Map(o.map(k=>[k.path,k.hash])),D=new Set(b.map(k=>k.path));return{files:b.filter(k=>w.get(k.path)!==k.hash),removed:o.filter(k=>!D.has(k.path)).map(k=>k.path),snapshot:b}},f=(b,w)=>({status:b,headers:{"Content-Type":"application/json"},body:JSON.stringify(w)}),h=async({path:b,method:w="GET",headers:D={},body:k})=>{try{let T=new URL(b,"https://local.invalid"),v=typeof k=="string"?JSON.parse(k):k;if(T.pathname==="/api/browser/session"&&w==="POST"){if(n?.isRunning())throw Error("\uC791\uC5C5 \uC644\uB8CC \uD6C4 \uD3F4\uB354\uB97C \uBCC0\uACBD\uD558\uC138\uC694.");let I=Lu(String(v.name??"\uBB38\uC11C"));if(I.includes("/"))throw Error("\uD3F4\uB354 \uC774\uB984\uC744 \uD655\uC778\uD558\uC138\uC694.");return Ss(),d.clear(),a=void 0,Re("/workspace"),Re("/workspace/"+I),Re("/output"),y.chdir("/workspace/"+I),r={id:crypto.randomUUID(),token:crypto.randomUUID(),base:"/workspace/"+I,output:"/output",version:"2.0.1"},i=[{virtual:r.base,root:r.base},{virtual:"/output",root:"/output"}],o=[],s=null,u="",c=[],l(),f(201,r)}if(!r&&D["x-csync-session"]){let I=await e(D["x-csync-session"]);I&&I.session.token===D["x-csync-token"]&&({session:r,mounts:i,baseline:o,lastJob:s}=I,c=I.imports??[],lf(I.files),l(),s?.state==="running"&&(s={...s,state:"failed",planId:null,log:s.log+`
370
+ \uBE0C\uB77C\uC6B0\uC800 \uC885\uB8CC\uB85C \uC791\uC5C5\uC774 \uC911\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. Fetch\uB85C \uC6D0\uACA9 \uC0C1\uD0DC\uB97C \uD655\uC778\uD55C \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.
371
+ `}))}if(!r||D["x-csync-session"]!==r.id||D["x-csync-token"]!==r.token)return f(401,{error:"\uBE0C\uB77C\uC6B0\uC800 \uC791\uC5C5\uACF5\uAC04\uC744 \uB2E4\uC2DC \uC5F0\uACB0\uD558\uC138\uC694."});if(T.pathname==="/api/browser/session"&&w==="DELETE"){if(n.isRunning())throw Error("\uC791\uC5C5 \uC644\uB8CC \uD6C4 \uC5F0\uACB0\uC744 \uD574\uC81C\uD558\uC138\uC694.");return await e(r.id,null),Ss(),r=void 0,f(200,{ok:!0})}if(T.pathname==="/api/browser/changes"){if(n.isRunning())throw Error("\uC791\uC5C5 \uC644\uB8CC \uD6C4 \uACB0\uACFC\uB97C \uBC18\uC601\uD558\uC138\uC694.");return f(200,await m())}if(T.pathname==="/api/browser/file"&&w==="GET"){let I=ie(ni(i,T.searchParams.get("path")??""));return{status:200,headers:{"Content-Type":"application/octet-stream"},body:I.buffer.slice(I.byteOffset,I.byteOffset+I.byteLength)}}if(n.isRunning()&&T.pathname!=="/api/sync/job")return f(409,{error:"\uB2E4\uB978 \uC791\uC5C5\uC774 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4."});if(T.pathname==="/api/browser/mount"&&w==="POST"){if(v.kind!=="reference"||i.filter(F=>F.readonly).length>=8)throw Error("\uCC38\uC870 \uD3F4\uB354\uB97C \uD655\uC778\uD558\uC138\uC694.");let I="/references/"+crypto.randomUUID();return Re(I,{recursive:!0}),i.push({virtual:I,root:I,readonly:!0}),f(201,{path:I})}if(T.pathname==="/api/browser/ack"&&w==="POST"){let I=await m();if(JSON.stringify(v.files)!==JSON.stringify(I.snapshot))throw Error("\uACB0\uACFC \uD30C\uC77C\uC774 \uBC14\uB00C\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uD655\uC778\uD558\uC138\uC694.");return o=I.snapshot,f(200,{ok:!0})}if(T.pathname==="/api/browser/mirror"&&w==="POST"){let I=await m();if(I.files.length||I.removed.length)return f(409,{error:"\uC2E4\uD589 \uACB0\uACFC\uB97C \uB85C\uCEEC\uC5D0 \uBA3C\uC800 \uBC18\uC601\uD558\uC138\uC694.",code:"APPLY_PENDING"});if(!Array.isArray(v.files)||v.files.length>Km)throw Error("\uD30C\uC77C \uBAA9\uB85D \uD55C\uB3C4\uB97C \uD655\uC778\uD558\uC138\uC694.");let F=new Set,j=0;for(let G of v.files){if(typeof G.path!="string"||!Number.isSafeInteger(G.size)||G.size<0||G.size>qm||!/^[a-f0-9]{64}$/.test(G.hash)||F.has(G.path))throw Error("\uD30C\uC77C \uBAA9\uB85D\uC744 \uD655\uC778\uD558\uC138\uC694.");ni(i,G.path);let S=i.find(N=>G.path.startsWith(N.virtual+"/"));if(!S||!Vm(G.path.slice(S.virtual.length+1)))throw Error("\uC9C0\uC6D0\uD558\uC9C0 \uC54A\uB294 \uD30C\uC77C \uACBD\uB85C\uC785\uB2C8\uB2E4.");F.add(G.path),j+=G.size}if(j>Wm)throw Error("\uC791\uC5C5\uACF5\uAC04\uC774 512MiB\uB97C \uCD08\uACFC\uD588\uC2B5\uB2C8\uB2E4.");a&&Gt(a.stage,{recursive:!0,force:!0});let B=new Map(o.map(G=>[G.path,G.hash]));return a={stage:Pn("/tmp/mirror-"),manifest:v.files,uploads:v.files.filter(G=>B.get(G.path)!==G.hash),received:new Set},f(200,{uploads:a.uploads})}if(T.pathname==="/api/browser/file"&&w==="PUT"){let I=a?.uploads.findIndex(B=>B.path===T.searchParams.get("path"))??-1;if(I<0)throw Error("\uD30C\uC77C \uC804\uC1A1\uC744 \uB2E4\uC2DC \uC2DC\uC791\uD558\uC138\uC694.");let F=new Uint8Array(k),j=a.uploads[I];if(F.length!==j.size||jm(F)!==j.hash)throw Error("\uD30C\uC77C \uC804\uC1A1 \uC911 \uB0B4\uC6A9\uC774 \uBC14\uB00C\uC5C8\uC2B5\uB2C8\uB2E4.");return it(a.stage+"/"+I,F),a.received.add(j.path),f(200,{ok:!0})}if(T.pathname==="/api/browser/commit"&&w==="POST"){if(!a||a.received.size!==a.uploads.length)throw Error("\uD30C\uC77C \uC804\uC1A1\uC744 \uBA3C\uC800 \uC644\uB8CC\uD558\uC138\uC694.");let I=new Set(a.manifest.map(F=>F.path));return await Ov(i,a.stage,a.uploads,o.filter(F=>!I.has(F.path)).map(F=>F.path)),o=await D0(i,d),Gt(a.stage,{recursive:!0,force:!0}),a=void 0,f(200,{ok:!0})}if(T.pathname==="/api/sync/env/import"&&zm(v.text),v)for(let I of["base","file","out"])typeof v[I]=="string"&&v[I]&&ni(i,v[I]);if(v?.base&&v.base!==r.base&&!v.base.startsWith(r.base+"/"))throw Error("\uBB38\uC11C \uD3F4\uB354\uB97C \uAE30\uC900\uC73C\uB85C \uC791\uC5C5\uD558\uC138\uC694.");if(v?.out&&i.some(I=>I.readonly&&(v.out===I.root||v.out.startsWith(I.root+"/"))))throw Error("\uCC38\uC870 \uD3F4\uB354\uB294 \uC77D\uAE30 \uC804\uC6A9\uC785\uB2C8\uB2E4.");if(typeof v?.path=="string"&&v.path.startsWith("/")&&ni(i,v.path),v?.referenceRoots)for(let I of v.referenceRoots)ni(i,I);(T.pathname==="/api/browse"||T.pathname==="/api/search")&&ni(i,T.searchParams.get("path")||r.base),["/api/sync/config","/api/sync/job","/api/browse","/api/search"].includes(T.pathname)||await Mv(i,T.pathname.startsWith("/api/sync/")&&!v?.envId&&!T.pathname.endsWith("/env/import"),T.pathname!=="/api/sync/fetch"&&!(T.pathname==="/api/sync/staging"&&v?.remoteOnly===!0),T.pathname==="/api/convert"?typeof v?.file=="string"?[v.file]:[]:void 0);let C=await n.request(w,T,v);return T.pathname==="/api/browse"&&C.body.path===r.base&&(C.body.parent=r.base,C.body.home=r.base),C.body?.job&&(s=C.body.job),T.pathname==="/api/sync/job"&&!C.body.job&&(C.body.job=s?{...s,planId:null}:null),f(C.status,C.body)}catch(T){return f(400,{error:T.message,code:T.code})}};return async b=>{let w=await h(b);if(r&&!a&&(!n.isRunning()||/\/api\/sync\/(push|pull|preview|fetch|restore)$/.test(b.path))){c=n.connectionImports();let D=JSON.stringify([uf(),o,s,c]);D!==u&&(await e(r.id,{session:r,mounts:i,baseline:o,lastJob:s,imports:c,files:cf()}),u=D)}return w}}var kI=Fv(),TI=0,Jm=new Map;globalThis.csyncRenderPdf=e=>new Promise((t,r)=>{let n=++TI;Jm.set(n,{resolve:t,reject:r}),globalThis.postMessage({kind:"pdf",id:n,request:e},[e.bytes.buffer])});var Pv=Promise.resolve();globalThis.onmessage=({data:e})=>{if(e.kind==="pdf-result"){let t=Jm.get(e.id);t&&(Jm.delete(e.id),e.error?t.reject(Error(e.error)):t.resolve(e.pages));return}Pv=Pv.catch(()=>{}).then(async()=>{try{let t=await kI(e);globalThis.postMessage({id:e.id,...t},t.body instanceof ArrayBuffer?[t.body]:[])}catch(t){globalThis.postMessage({id:e.id,error:t.message})}})};
372
+ /*! Bundled license information:
373
+
374
+ ieee754/index.js:
375
+ (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
376
+
377
+ buffer/index.js:
378
+ (*!
379
+ * The buffer module from node.js, for the browser.
380
+ *
381
+ * @author Feross Aboukhadijeh <https://feross.org>
382
+ * @license MIT
383
+ *)
384
+
385
+ @mixmark-io/domino/lib/style_parser.js:
386
+ (**
387
+ * @license
388
+ * Copyright Google LLC All Rights Reserved.
389
+ *
390
+ * Use of this source code is governed by an MIT-style license that can be
391
+ * found in the LICENSE file at https://angular.io/license
392
+ *)
393
+
394
+ is-buffer/index.js:
395
+ (*!
396
+ * Determine if an object is a Buffer
397
+ *
398
+ * @author Feross Aboukhadijeh <https://feross.org>
399
+ * @license MIT
400
+ *)
401
+
402
+ @vercel/blob/dist/chunk-XKVPKJPO.js:
403
+ (*!
404
+ * bytes
405
+ * Copyright(c) 2012-2014 TJ Holowaychuk
406
+ * Copyright(c) 2015 Jed Watson
407
+ * MIT Licensed
408
+ *)
409
+ */