@airalogy/aimd-recorder 1.26.0 → 1.27.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 (72) hide show
  1. package/README.md +4 -0
  2. package/README.zh-CN.md +4 -0
  3. package/dist/{AimdDnaSequenceField-CKfd3-_9.js → AimdDnaSequenceField-CcH4iNkt.js} +1 -1
  4. package/dist/{AimdEditor.vue_vue_type_style_index_0_lang-C1XlvrNT.js → AimdEditor.vue_vue_type_style_index_0_lang-CdfAwAUt.js} +2284 -2309
  5. package/dist/{AimdEntityRefField-CX67car3.js → AimdEntityRefField-D_oWNpqr.js} +1 -1
  6. package/dist/{AimdEntityRefField.vue_vue_type_script_setup_true_lang-JISqbfKY.js → AimdEntityRefField.vue_vue_type_script_setup_true_lang-Db_LDoBh.js} +1 -1
  7. package/dist/{AimdMarkdownField-BuRsjOB5.js → AimdMarkdownField-BKFxcFlr.js} +3 -3
  8. package/dist/{AimdMarkdownNoteField-NRA9ut3_.js → AimdMarkdownNoteField-BT9p-czP.js} +2 -2
  9. package/dist/{AimdResourceRefField-B71MVFFK.js → AimdResourceRefField-DTJrzEk0.js} +2 -2
  10. package/dist/{arc-2NNDEUZL.js → arc-C4wUYsPP.js} +1 -1
  11. package/dist/{architectureDiagram-3BPJPVTR-BGU_a_9z.js → architectureDiagram-3BPJPVTR-CsDNdq7Q.js} +2 -2
  12. package/dist/{blockDiagram-GPEHLZMM-ChLqLSJn.js → blockDiagram-GPEHLZMM-fKeT2D5b.js} +4 -4
  13. package/dist/{c4Diagram-AAUBKEIU-BXt823OA.js → c4Diagram-AAUBKEIU-DVwh7NRj.js} +2 -2
  14. package/dist/{channel-D1EuKFn5.js → channel-CH-usREe.js} +1 -1
  15. package/dist/{chunk-2J33WTMH-XJPmqQtr.js → chunk-2J33WTMH-wsLH41rI.js} +1 -1
  16. package/dist/{chunk-4BX2VUAB-CbV5jCeG.js → chunk-4BX2VUAB-DAJr3925.js} +1 -1
  17. package/dist/{chunk-55IACEB6-C8gv1Mc0.js → chunk-55IACEB6-Da4Ne6oY.js} +1 -1
  18. package/dist/{chunk-727SXJPM-Bs2EpCWN.js → chunk-727SXJPM-CP1g1Jx1.js} +5 -5
  19. package/dist/{chunk-AQP2D5EJ-CngahRo6.js → chunk-AQP2D5EJ-CrUHvBMG.js} +3 -3
  20. package/dist/{chunk-FMBD7UC4-DPBfEP1E.js → chunk-FMBD7UC4-2BS6vQ14.js} +1 -1
  21. package/dist/{chunk-ND2GUHAM-BlEzeiST.js → chunk-ND2GUHAM-DbptczhZ.js} +1 -1
  22. package/dist/{chunk-QZHKN3VN-DGOFj8Bc.js → chunk-QZHKN3VN-CmzoHGkh.js} +1 -1
  23. package/dist/{classDiagram-v2-Q7XG4LA2-BUQqoFF9.js → classDiagram-4FO5ZUOK-BhWOa0pe.js} +2 -2
  24. package/dist/{classDiagram-4FO5ZUOK-BUQqoFF9.js → classDiagram-v2-Q7XG4LA2-BhWOa0pe.js} +2 -2
  25. package/dist/components.js +7 -7
  26. package/dist/composables.js +2 -2
  27. package/dist/{cose-bilkent-S5V4N54A-Qxs9suxa.js → cose-bilkent-S5V4N54A-CVq2L78n.js} +1 -1
  28. package/dist/{dagre-BM42HDAG-CqV8IXIy.js → dagre-BM42HDAG-DgdlE5dv.js} +3 -3
  29. package/dist/{diagram-2AECGRRQ-D0mYOaE1.js → diagram-2AECGRRQ-Bp_4Kx4E.js} +2 -2
  30. package/dist/{diagram-5GNKFQAL-Dvjcs9SL.js → diagram-5GNKFQAL-CvhaI19W.js} +3 -3
  31. package/dist/{diagram-KO2AKTUF-rSovr72L.js → diagram-KO2AKTUF-zzkdurRu.js} +2 -2
  32. package/dist/{diagram-LMA3HP47-CirCeq88.js → diagram-LMA3HP47-LTnq6yjw.js} +2 -2
  33. package/dist/{diagram-OG6HWLK6-rk46c1hT.js → diagram-OG6HWLK6-Cuz0JAg_.js} +3 -3
  34. package/dist/{erDiagram-TEJ5UH35--_m5yDSV.js → erDiagram-TEJ5UH35-CIPjTfTT.js} +4 -4
  35. package/dist/example-record-BJC4OLXj.js +92 -0
  36. package/dist/{flowDiagram-I6XJVG4X-DU-TlDfY.js → flowDiagram-I6XJVG4X-CPaK4Xbu.js} +6 -6
  37. package/dist/{ganttDiagram-6RSMTGT7-CrMwQSQi.js → ganttDiagram-6RSMTGT7-DgW97z1_.js} +2 -2
  38. package/dist/{gitGraphDiagram-PVQCEYII-Q-bwtX2H.js → gitGraphDiagram-PVQCEYII-B5nDBDDz.js} +3 -3
  39. package/dist/{graph-CvyYQarK.js → graph-BPBu5cW4.js} +1 -1
  40. package/dist/index.js +117 -115
  41. package/dist/{infoDiagram-5YYISTIA-BejjAcMI.js → infoDiagram-5YYISTIA-BRL6QS3D.js} +1 -1
  42. package/dist/{ishikawaDiagram-YF4QCWOH-CbRBA5Ak.js → ishikawaDiagram-YF4QCWOH-Clx8yAcX.js} +1 -1
  43. package/dist/{journeyDiagram-JHISSGLW-D_6-qOB8.js → journeyDiagram-JHISSGLW-BgDIGN-f.js} +4 -4
  44. package/dist/{kanban-definition-UN3LZRKU-DyGjEqu5.js → kanban-definition-UN3LZRKU-CzITmCY8.js} +2 -2
  45. package/dist/{layout-Z5g42JDg.js → layout-CN9EF1w3.js} +2 -2
  46. package/dist/{linear-DSunMwcT.js → linear-8L3HEUrZ.js} +1 -1
  47. package/dist/{mermaid.core-B-O2uDZ3.js → mermaid.core-BKkg18RI.js} +34 -34
  48. package/dist/{mindmap-definition-RKZ34NQL-CC_NhwV9.js → mindmap-definition-RKZ34NQL-CmOIakhY.js} +3 -3
  49. package/dist/{pieDiagram-4H26LBE5-CHlBAazu.js → pieDiagram-4H26LBE5-Db3KkXWV.js} +3 -3
  50. package/dist/{quadrantDiagram-W4KKPZXB-BM6pMzVZ.js → quadrantDiagram-W4KKPZXB-B3vtZnG7.js} +2 -2
  51. package/dist/record.js +99 -97
  52. package/dist/{requirementDiagram-4Y6WPE33-CNkZDYpb.js → requirementDiagram-4Y6WPE33-Ck8oKzEP.js} +3 -3
  53. package/dist/{sankeyDiagram-5OEKKPKP-Cq6DjItn.js → sankeyDiagram-5OEKKPKP-CSeh32Zo.js} +1 -1
  54. package/dist/{sequenceDiagram-3UESZ5HK-BIzn9dmF.js → sequenceDiagram-3UESZ5HK-NbBPwpmy.js} +3 -3
  55. package/dist/{stateDiagram-AJRCARHV-DbSpH-v9.js → stateDiagram-AJRCARHV-4_Vpe-Zo.js} +4 -4
  56. package/dist/{stateDiagram-v2-BHNVJYJU-Cnv8BTgy.js → stateDiagram-v2-BHNVJYJU-7SjLjguc.js} +2 -2
  57. package/dist/{timeline-definition-PNZ67QCA-Bhs5_-8Z.js → timeline-definition-PNZ67QCA-BNHrT4au.js} +2 -2
  58. package/dist/{useFieldRendering-r1bAnHjk.js → useFieldRendering-DR71Yx2E.js} +28 -28
  59. package/dist/{useVarHelpers-xrbf4f60.js → useVarHelpers-DCu81vu6.js} +609 -609
  60. package/dist/{validation-ZmPcMCY0.js → validation-7k-val2c.js} +1 -1
  61. package/dist/validation-messages-DSKIAWbr.js +33 -0
  62. package/dist/{vennDiagram-CIIHVFJN-DJSLUotN.js → vennDiagram-CIIHVFJN-Dg6RsGJi.js} +1 -1
  63. package/dist/{wardleyDiagram-YWT4CUSO-Bk66hVLg.js → wardleyDiagram-YWT4CUSO-BKzJyt8_.js} +2 -2
  64. package/dist/{xychartDiagram-2RQKCTM6-Bss5MLVp.js → xychartDiagram-2RQKCTM6-DwYEckjZ.js} +2 -2
  65. package/package.json +7 -7
  66. package/src/__tests__/example-record.test.ts +56 -0
  67. package/src/index.ts +1 -0
  68. package/src/locales.ts +3 -28
  69. package/src/record/example-record.ts +66 -0
  70. package/src/record/index.ts +1 -0
  71. package/src/record/validation-messages.ts +32 -0
  72. package/src/styles/index.css +4 -0
@@ -1,5 +1,7 @@
1
- import { defineAsyncComponent as ir, h as Ni } from "vue";
2
- const Pn = /* @__PURE__ */ new Set(["none", "nonetype", "null", "undefined"]);
1
+ import { defineAsyncComponent as rr, h as Ni } from "vue";
2
+ const On = /* @__PURE__ */ JSON.parse('{"UserName":{"type_name":"UserName","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"current-user","type":"string","description":"The user name of the current Airalogy user","preview":{"kind":"skip"}},"CurrentTime":{"type_name":"CurrentTime","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"current-time","type":"string","description":"The current time. The timezone is based on the user\'s browser.","preview":{"kind":"skip"}},"CurrentProtocolId":{"type_name":"CurrentProtocolId","import_from":"airalogy.types","storage_kind":"scalar","type":"string","description":"The ID of the current Airalogy Protocol.","preview":{"kind":"skip"}},"CurrentRecordId":{"type_name":"CurrentRecordId","import_from":"airalogy.types","storage_kind":"scalar","type":"string","description":"The ID of the current Airalogy Record.","preview":{"kind":"skip"}},"EntityRef":{"type_name":"EntityRef","import_from":"airalogy.types","storage_kind":"reference","ui_kind":"entity-ref","type":"object","title":"EntityRef","description":"Reference to a named entity in a connector-backed source.\\n\\n`entity` is the entity namespace, such as plasmid or strain. `id` is the\\nstable identifier inside that namespace/source. Extra fields are allowed so\\nhosts can retain display snapshots or source-specific reference metadata.","preview":{"kind":"skip"}},"ResourceRef":{"type_name":"ResourceRef","import_from":"airalogy.types","storage_kind":"reference","ui_kind":"resource-ref","type":"object","title":"ResourceRef","description":"Stable reference to a Platform-managed resource.\\n\\nQuantities are represented by :class:`~decimal.Decimal` in Python and are\\nserialized as strings so a Record never loses precision while crossing a\\nJSON or JavaScript boundary.","preview":{"kind":"skip"}},"Observation":{"type_name":"Observation","import_from":"airalogy.types","storage_kind":"structured","ui_kind":"observation","type":"object","title":"Observation","description":"A typed value with observation time, receipt time, and provenance.","preview":{"kind":"skip"}},"ObservationSeriesRef":{"type_name":"ObservationSeriesRef","import_from":"airalogy.types","storage_kind":"reference","ui_kind":"observation-series","type":"object","title":"ObservationSeriesRef","description":"Reference to a file-backed high-volume observation series.","preview":{"kind":"skip"}},"BloodType":{"type_name":"BloodType","import_from":"airalogy.types","storage_kind":"scalar","type":"string","title":"Blood type","description":"Common ABO blood group values. Values such as A+ or A- combine an ABO group with Rh positive or Rh negative status. Rh+ and Rh- are allowed when only Rh factor is recorded.","enum":["A","B","AB","O","A+","A-","B+","B-","AB+","AB-","O+","O-","Rh+","Rh-"],"preview":{"kind":"enum"}},"ChineseEducationLevel":{"type_name":"ChineseEducationLevel","import_from":"airalogy.types","storage_kind":"scalar","type":"string","title":"文化程度","description":"中国居民信息登记中常用的文化程度分类。","enum":["无学历","小学","初中","高中","中专","大专","本科","硕士","博士"],"preview":{"kind":"enum"}},"ChineseEthnicGroup":{"type_name":"ChineseEthnicGroup","import_from":"airalogy.types","storage_kind":"scalar","type":"string","title":"民族","description":"中国国务院公布的 56 个法定民族之一。","enum":["汉族","蒙古族","回族","藏族","维吾尔族","苗族","彝族","壮族","布依族","朝鲜族","满族","侗族","瑶族","白族","土家族","哈尼族","哈萨克族","傣族","黎族","傈僳族","佤族","畲族","高山族","拉祜族","水族","东乡族","纳西族","景颇族","柯尔克孜族","土族","达斡尔族","仫佬族","羌族","布朗族","撒拉族","毛南族","仡佬族","锡伯族","阿昌族","普米族","塔吉克族","怒族","乌孜别克族","俄罗斯族","鄂温克族","德昂族","保安族","裕固族","京族","塔塔尔族","独龙族","鄂伦春族","赫哲族","门巴族","珞巴族","基诺族"],"preview":{"kind":"enum"}},"ChineseGender":{"type_name":"ChineseGender","import_from":"airalogy.types","storage_kind":"scalar","type":"string","title":"性别","description":"中国居民信息登记中常用的性别分类。","enum":["男","女"],"preview":{"kind":"enum"}},"ChineseMaritalStatus":{"type_name":"ChineseMaritalStatus","import_from":"airalogy.types","storage_kind":"scalar","type":"string","title":"婚姻状况","description":"中国居民信息登记中常用的婚姻状况分类。","enum":["未婚","已婚","丧偶","离婚","再婚"],"preview":{"kind":"enum"}},"ChineseProvinceLevelRegion":{"type_name":"ChineseProvinceLevelRegion","import_from":"airalogy.types","storage_kind":"scalar","type":"string","title":"省级行政区","description":"中国现行省级行政区(省、自治区、直辖市、特别行政区)。","enum":["北京","天津","上海","重庆","河北","山西","辽宁","吉林","黑龙江","江苏","浙江","安徽","福建","江西","山东","河南","湖北","湖南","广东","海南","四川","贵州","云南","陕西","甘肃","青海","台湾","西藏","内蒙古","广西","宁夏","新疆","香港","澳门"],"preview":{"kind":"enum"}},"AiralogyMarkdown":{"type_name":"AiralogyMarkdown","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"markdown","type":"string","description":"An Airalogy Markdown string","preview":{"kind":"examples","values":[]}},"RecordId":{"type_name":"RecordId","import_from":"airalogy.types","storage_kind":"scalar","type":"string","preview":{"kind":"skip"}},"FileIdPNG":{"type_name":"FileIdPNG","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdPNG. This type allows users to upload a .png file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdJPG":{"type_name":"FileIdJPG","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdJPG. This type allows users to upload a .jpg file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdSVG":{"type_name":"FileIdSVG","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdSVG. This type allows users to upload a .svg file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdWEBP":{"type_name":"FileIdWEBP","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdWEBP. This type allows users to upload a .webp file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdTIFF":{"type_name":"FileIdTIFF","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdTIFF. This type allows users to upload a .tiff file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdMP4":{"type_name":"FileIdMP4","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdMP4. This type allows users to upload a .mp4 file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdMP3":{"type_name":"FileIdMP3","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdMP3. This type allows users to upload a .mp3 file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdAIMD":{"type_name":"FileIdAIMD","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdAIMD. This type allows users to upload a .aimd file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdMD":{"type_name":"FileIdMD","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdMD. This type allows users to upload a .md file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdTXT":{"type_name":"FileIdTXT","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdTXT. This type allows users to upload a .txt file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdCSV":{"type_name":"FileIdCSV","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdCSV. This type allows users to upload a .csv file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdJSON":{"type_name":"FileIdJSON","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdJSON. This type allows users to upload a .json file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdDOCX":{"type_name":"FileIdDOCX","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdDOCX. This type allows users to upload a .docx file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdXLSX":{"type_name":"FileIdXLSX","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdXLSX. This type allows users to upload a .xlsx file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdPPTX":{"type_name":"FileIdPPTX","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdPPTX. This type allows users to upload a .pptx file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdPDF":{"type_name":"FileIdPDF","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdPDF. This type allows users to upload a .pdf file and inject it into the related data field.","preview":{"kind":"skip"}},"FileIdDNA":{"type_name":"FileIdDNA","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdDNA. This type allows users to upload a .dna file and inject it into the related data field.","preview":{"kind":"skip"}},"Recommended":{"type_name":"Recommended","import_from":"airalogy.types","storage_kind":"scalar","type":"object","preview":{"kind":"skip"}},"IgnoreStr":{"type_name":"IgnoreStr","import_from":"airalogy.types","storage_kind":"scalar","type":"string","description":"In an Airalogy Field of this type, a user may provide a string; however, when the Airalogy Record is submitted, the string is not persisted. This is intended for sensitive input (such as an API key) that the Airalogy Protocol Assigner can consume during processing but that should never be stored in the final Record.","preview":{"kind":"skip"}},"CodeStr":{"type_name":"CodeStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (plaintext). Strings of this type contain language-agnostic code or structured text and are rendered in a plain code editor.","preview":{"kind":"examples","values":[]}},"PyStr":{"type_name":"PyStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (python). Strings of this type contain python source code and are rendered in an editor with python syntax highlighting.","preview":{"kind":"examples","values":[]}},"JsStr":{"type_name":"JsStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (javascript). Strings of this type contain javascript source code and are rendered in an editor with javascript syntax highlighting.","preview":{"kind":"examples","values":[]}},"TsStr":{"type_name":"TsStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (typescript). Strings of this type contain typescript source code and are rendered in an editor with typescript syntax highlighting.","preview":{"kind":"examples","values":[]}},"JsonStr":{"type_name":"JsonStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (json). Strings of this type contain json source code and are rendered in an editor with json syntax highlighting.","preview":{"kind":"examples","values":[]}},"TomlStr":{"type_name":"TomlStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (toml). Strings of this type contain toml source code and are rendered in an editor with toml syntax highlighting.","preview":{"kind":"examples","values":[]}},"YamlStr":{"type_name":"YamlStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (yaml). Strings of this type contain yaml source code and are rendered in an editor with yaml syntax highlighting.","preview":{"kind":"examples","values":[]}},"ATCG":{"type_name":"ATCG","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"dna-text","type":"string","preview":{"kind":"examples","values":["ATCG"]},"pattern":"^[ATCG]*$"},"DNASequence":{"type_name":"DNASequence","import_from":"airalogy.types","storage_kind":"structured","ui_kind":"dna-sequence","type":"object","title":"DNASequence","description":"Structured DNA sequence value used by Airalogy\'s dedicated sequence editor.\\n\\nThis model intentionally stays simpler than full GenBank flatfiles while\\npreserving the core pieces needed for practical import/export alignment:\\nmulti-segment feature locations, partial flags, and qualifier rows.","preview":{"kind":"skip"}},"SnakeStr":{"type_name":"SnakeStr","import_from":"airalogy.types","storage_kind":"scalar","type":"string","preview":{"kind":"examples","values":["example_sample"]},"pattern":"^(?!.*__)[a-z](?:[a-z\\\\d_]*[a-z\\\\d])?$"},"VersionStr":{"type_name":"VersionStr","import_from":"airalogy.types","storage_kind":"scalar","type":"string","preview":{"kind":"examples","values":["0.1.0"]},"pattern":"^\\\\d+\\\\.\\\\d+\\\\.\\\\d+$"},"ProtocolId":{"type_name":"ProtocolId","import_from":"airalogy.types","storage_kind":"scalar","type":"string","preview":{"kind":"skip"}}}'), Ln = {
3
+ types: On
4
+ }, Vn = /* @__PURE__ */ new Set(["none", "nonetype", "null", "undefined"]);
3
5
  function Ti(e, t) {
4
6
  const i = [];
5
7
  let r = 0, n = 0, s = "", a = !1;
@@ -9,24 +11,24 @@ function Ti(e, t) {
9
11
  }
10
12
  return i.push(e.slice(r).trim()), i;
11
13
  }
12
- function rr(e) {
14
+ function nr(e) {
13
15
  const t = Ti(e, "|");
14
16
  if (t.length > 1) return { union: t };
15
17
  const i = e.match(/^(?:(?:typing|typing_extensions)\.)?(Optional|Union)\s*\[([\s\S]*)\]$/i);
16
18
  return i?.[1].toLowerCase() === "optional" ? { optional: i[2].trim(), union: [] } : { union: i ? Ti(i[2], ",") : t };
17
19
  }
18
- function nr(e) {
19
- return Pn.has(e.toLowerCase());
20
+ function sr(e) {
21
+ return Vn.has(e.toLowerCase());
20
22
  }
21
23
  function Fe(e) {
22
24
  let t = typeof e == "string" ? e.trim() : "";
23
25
  for (let i = 0; i < 32; i += 1) {
24
- const { optional: r, union: n } = rr(t);
26
+ const { optional: r, union: n } = nr(t);
25
27
  if (r !== void 0 && r !== t) {
26
28
  t = r;
27
29
  continue;
28
30
  }
29
- const s = n.filter((a) => !nr(a));
31
+ const s = n.filter((a) => !sr(a));
30
32
  if (n.length > 1 && s.length === 1 && s[0]) {
31
33
  t = s[0];
32
34
  continue;
@@ -35,23 +37,21 @@ function Fe(e) {
35
37
  }
36
38
  return t;
37
39
  }
38
- function On(e) {
40
+ function Dn(e) {
39
41
  if (typeof e != "string") return !1;
40
- const { optional: t, union: i } = rr(e.trim());
41
- return t !== void 0 || i.length > 1 && i.some(nr);
42
+ const { optional: t, union: i } = nr(e.trim());
43
+ return t !== void 0 || i.length > 1 && i.some(sr);
42
44
  }
43
- const Ln = /* @__PURE__ */ JSON.parse('{"UserName":{"type_name":"UserName","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"current-user","type":"string","description":"The user name of the current Airalogy user"},"CurrentTime":{"type_name":"CurrentTime","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"current-time","type":"string","description":"The current time. The timezone is based on the user\'s browser."},"CurrentProtocolId":{"type_name":"CurrentProtocolId","import_from":"airalogy.types","storage_kind":"scalar","type":"string","description":"The ID of the current Airalogy Protocol."},"CurrentRecordId":{"type_name":"CurrentRecordId","import_from":"airalogy.types","storage_kind":"scalar","type":"string","description":"The ID of the current Airalogy Record."},"EntityRef":{"type_name":"EntityRef","import_from":"airalogy.types","storage_kind":"reference","ui_kind":"entity-ref","type":"object","title":"EntityRef","description":"Reference to a named entity in a connector-backed source.\\n\\n`entity` is the entity namespace, such as plasmid or strain. `id` is the\\nstable identifier inside that namespace/source. Extra fields are allowed so\\nhosts can retain display snapshots or source-specific reference metadata."},"ResourceRef":{"type_name":"ResourceRef","import_from":"airalogy.types","storage_kind":"reference","ui_kind":"resource-ref","type":"object","title":"ResourceRef","description":"Stable reference to a Platform-managed resource.\\n\\nQuantities are represented by :class:`~decimal.Decimal` in Python and are\\nserialized as strings so a Record never loses precision while crossing a\\nJSON or JavaScript boundary."},"Observation":{"type_name":"Observation","import_from":"airalogy.types","storage_kind":"structured","ui_kind":"observation","type":"object","title":"Observation","description":"A typed value with observation time, receipt time, and provenance."},"ObservationSeriesRef":{"type_name":"ObservationSeriesRef","import_from":"airalogy.types","storage_kind":"reference","ui_kind":"observation-series","type":"object","title":"ObservationSeriesRef","description":"Reference to a file-backed high-volume observation series."},"BloodType":{"type_name":"BloodType","import_from":"airalogy.types","storage_kind":"scalar","type":"string","title":"Blood type","description":"Common ABO blood group values. Values such as A+ or A- combine an ABO group with Rh positive or Rh negative status. Rh+ and Rh- are allowed when only Rh factor is recorded.","enum":["A","B","AB","O","A+","A-","B+","B-","AB+","AB-","O+","O-","Rh+","Rh-"]},"ChineseEducationLevel":{"type_name":"ChineseEducationLevel","import_from":"airalogy.types","storage_kind":"scalar","type":"string","title":"文化程度","description":"中国居民信息登记中常用的文化程度分类。","enum":["无学历","小学","初中","高中","中专","大专","本科","硕士","博士"]},"ChineseEthnicGroup":{"type_name":"ChineseEthnicGroup","import_from":"airalogy.types","storage_kind":"scalar","type":"string","title":"民族","description":"中国国务院公布的 56 个法定民族之一。","enum":["汉族","蒙古族","回族","藏族","维吾尔族","苗族","彝族","壮族","布依族","朝鲜族","满族","侗族","瑶族","白族","土家族","哈尼族","哈萨克族","傣族","黎族","傈僳族","佤族","畲族","高山族","拉祜族","水族","东乡族","纳西族","景颇族","柯尔克孜族","土族","达斡尔族","仫佬族","羌族","布朗族","撒拉族","毛南族","仡佬族","锡伯族","阿昌族","普米族","塔吉克族","怒族","乌孜别克族","俄罗斯族","鄂温克族","德昂族","保安族","裕固族","京族","塔塔尔族","独龙族","鄂伦春族","赫哲族","门巴族","珞巴族","基诺族"]},"ChineseGender":{"type_name":"ChineseGender","import_from":"airalogy.types","storage_kind":"scalar","type":"string","title":"性别","description":"中国居民信息登记中常用的性别分类。","enum":["男","女"]},"ChineseMaritalStatus":{"type_name":"ChineseMaritalStatus","import_from":"airalogy.types","storage_kind":"scalar","type":"string","title":"婚姻状况","description":"中国居民信息登记中常用的婚姻状况分类。","enum":["未婚","已婚","丧偶","离婚","再婚"]},"ChineseProvinceLevelRegion":{"type_name":"ChineseProvinceLevelRegion","import_from":"airalogy.types","storage_kind":"scalar","type":"string","title":"省级行政区","description":"中国现行省级行政区(省、自治区、直辖市、特别行政区)。","enum":["北京","天津","上海","重庆","河北","山西","辽宁","吉林","黑龙江","江苏","浙江","安徽","福建","江西","山东","河南","湖北","湖南","广东","海南","四川","贵州","云南","陕西","甘肃","青海","台湾","西藏","内蒙古","广西","宁夏","新疆","香港","澳门"]},"AiralogyMarkdown":{"type_name":"AiralogyMarkdown","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"markdown","type":"string","description":"An Airalogy Markdown string"},"RecordId":{"type_name":"RecordId","import_from":"airalogy.types","storage_kind":"scalar","type":"string"},"FileIdPNG":{"type_name":"FileIdPNG","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdPNG. This type allows users to upload a .png file and inject it into the related data field."},"FileIdJPG":{"type_name":"FileIdJPG","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdJPG. This type allows users to upload a .jpg file and inject it into the related data field."},"FileIdSVG":{"type_name":"FileIdSVG","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdSVG. This type allows users to upload a .svg file and inject it into the related data field."},"FileIdWEBP":{"type_name":"FileIdWEBP","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdWEBP. This type allows users to upload a .webp file and inject it into the related data field."},"FileIdTIFF":{"type_name":"FileIdTIFF","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdTIFF. This type allows users to upload a .tiff file and inject it into the related data field."},"FileIdMP4":{"type_name":"FileIdMP4","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdMP4. This type allows users to upload a .mp4 file and inject it into the related data field."},"FileIdMP3":{"type_name":"FileIdMP3","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdMP3. This type allows users to upload a .mp3 file and inject it into the related data field."},"FileIdAIMD":{"type_name":"FileIdAIMD","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdAIMD. This type allows users to upload a .aimd file and inject it into the related data field."},"FileIdMD":{"type_name":"FileIdMD","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdMD. This type allows users to upload a .md file and inject it into the related data field."},"FileIdTXT":{"type_name":"FileIdTXT","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdTXT. This type allows users to upload a .txt file and inject it into the related data field."},"FileIdCSV":{"type_name":"FileIdCSV","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdCSV. This type allows users to upload a .csv file and inject it into the related data field."},"FileIdJSON":{"type_name":"FileIdJSON","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdJSON. This type allows users to upload a .json file and inject it into the related data field."},"FileIdDOCX":{"type_name":"FileIdDOCX","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdDOCX. This type allows users to upload a .docx file and inject it into the related data field."},"FileIdXLSX":{"type_name":"FileIdXLSX","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdXLSX. This type allows users to upload a .xlsx file and inject it into the related data field."},"FileIdPPTX":{"type_name":"FileIdPPTX","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdPPTX. This type allows users to upload a .pptx file and inject it into the related data field."},"FileIdPDF":{"type_name":"FileIdPDF","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdPDF. This type allows users to upload a .pdf file and inject it into the related data field."},"FileIdDNA":{"type_name":"FileIdDNA","import_from":"airalogy.types","storage_kind":"file-id","ui_kind":"file","type":"string","description":"Airalogy built-in type: FileIdDNA. This type allows users to upload a .dna file and inject it into the related data field."},"Recommended":{"type_name":"Recommended","import_from":"airalogy.types","storage_kind":"scalar","type":"object"},"IgnoreStr":{"type_name":"IgnoreStr","import_from":"airalogy.types","storage_kind":"scalar","type":"string","description":"In an Airalogy Field of this type, a user may provide a string; however, when the Airalogy Record is submitted, the string is not persisted. This is intended for sensitive input (such as an API key) that the Airalogy Protocol Assigner can consume during processing but that should never be stored in the final Record."},"CodeStr":{"type_name":"CodeStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (plaintext). Strings of this type contain language-agnostic code or structured text and are rendered in a plain code editor."},"PyStr":{"type_name":"PyStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (python). Strings of this type contain python source code and are rendered in an editor with python syntax highlighting."},"JsStr":{"type_name":"JsStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (javascript). Strings of this type contain javascript source code and are rendered in an editor with javascript syntax highlighting."},"TsStr":{"type_name":"TsStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (typescript). Strings of this type contain typescript source code and are rendered in an editor with typescript syntax highlighting."},"JsonStr":{"type_name":"JsonStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (json). Strings of this type contain json source code and are rendered in an editor with json syntax highlighting."},"TomlStr":{"type_name":"TomlStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (toml). Strings of this type contain toml source code and are rendered in an editor with toml syntax highlighting."},"YamlStr":{"type_name":"YamlStr","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"code","type":"string","description":"Airalogy built-in type: CodeStr (yaml). Strings of this type contain yaml source code and are rendered in an editor with yaml syntax highlighting."},"ATCG":{"type_name":"ATCG","import_from":"airalogy.types","storage_kind":"scalar","ui_kind":"dna-text","type":"string"},"DNASequence":{"type_name":"DNASequence","import_from":"airalogy.types","storage_kind":"structured","ui_kind":"dna-sequence","type":"object","title":"DNASequence","description":"Structured DNA sequence value used by Airalogy\'s dedicated sequence editor.\\n\\nThis model intentionally stays simpler than full GenBank flatfiles while\\npreserving the core pieces needed for practical import/export alignment:\\nmulti-segment feature locations, partial flags, and qualifier rows."},"SnakeStr":{"type_name":"SnakeStr","import_from":"airalogy.types","storage_kind":"scalar","type":"string"},"VersionStr":{"type_name":"VersionStr","import_from":"airalogy.types","storage_kind":"scalar","type":"string"},"ProtocolId":{"type_name":"ProtocolId","import_from":"airalogy.types","storage_kind":"scalar","type":"string"}}'), Vn = {
44
- types: Ln
45
- }, sr = Vn, Dn = Object.fromEntries(
46
- Object.values(sr.types).flatMap((e) => [
45
+ const ar = Ln, Pi = Object.fromEntries(
46
+ Object.values(ar.types).flatMap((e) => [
47
47
  [e.type_name, e],
48
48
  ...(e.aliases ?? []).map((t) => [t, e])
49
49
  ])
50
50
  );
51
- function ar(e) {
51
+ function or(e) {
52
52
  return typeof e == "string" && e.trim() ? e.trim() : void 0;
53
53
  }
54
- function Pi(e) {
54
+ function Oi(e) {
55
55
  return Array.isArray(e) ? e.filter((t) => t != null) : e == null || e === "" ? [] : [e];
56
56
  }
57
57
  function Rn(e) {
@@ -73,33 +73,33 @@ function Mn(e) {
73
73
  }
74
74
  function Bn(e) {
75
75
  const t = Mn(e);
76
- return t ? Dn[t] : void 0;
76
+ return t && Object.prototype.hasOwnProperty.call(Pi, t) ? Pi[t] : void 0;
77
77
  }
78
78
  function Oo() {
79
- return Object.keys(sr.types);
79
+ return Object.keys(ar.types);
80
80
  }
81
- function or(e) {
81
+ function ur(e) {
82
82
  return Qt(Bn(e)?.enum);
83
83
  }
84
84
  function jn(e) {
85
- return ar(e?.kwargs?.title);
85
+ return or(e?.kwargs?.title);
86
86
  }
87
87
  function Lo(e) {
88
- return ar(e?.kwargs?.description);
88
+ return or(e?.kwargs?.description);
89
89
  }
90
90
  function Vo(e) {
91
91
  const t = e?.kwargs;
92
92
  if (!t)
93
93
  return [];
94
- const i = Pi(t.examples);
95
- return i.length > 0 ? i : Pi(t.example);
94
+ const i = Oi(t.examples);
95
+ return i.length > 0 ? i : Oi(t.example);
96
96
  }
97
97
  function Do(e) {
98
98
  const t = Qt(e?.enum);
99
99
  if (t.length > 0)
100
100
  return t;
101
101
  const i = Qt(e?.kwargs?.enum);
102
- return i.length > 0 ? i : or(e?.type);
102
+ return i.length > 0 ? i : ur(e?.type);
103
103
  }
104
104
  function Ro(e, t) {
105
105
  return jn(t) ?? e;
@@ -125,7 +125,7 @@ const $n = ["var", "var_table", "step", "check", "quiz"], Vt = {
125
125
  csv: "CSV",
126
126
  text: "TXT",
127
127
  document: "DOC"
128
- }, ur = {
128
+ }, lr = {
129
129
  csv: "csv",
130
130
  png: "image",
131
131
  jpg: "image",
@@ -148,7 +148,7 @@ const $n = ["var", "var_table", "step", "check", "quiz"], Vt = {
148
148
  docx: "document",
149
149
  xlsx: "document",
150
150
  pptx: "document"
151
- }, lr = {
151
+ }, cr = {
152
152
  csv: "text/csv",
153
153
  png: "image/png",
154
154
  jpg: "image/jpeg",
@@ -171,7 +171,7 @@ const $n = ["var", "var_table", "step", "check", "quiz"], Vt = {
171
171
  docx: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
172
172
  xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
173
173
  pptx: "application/vnd.openxmlformats-officedocument.presentationml.presentation"
174
- }, cr = {
174
+ }, fr = {
175
175
  file: { kind: "file", badge: "FILE" },
176
176
  upload: { kind: "file", badge: "FILE" },
177
177
  csv: { kind: "csv", accept: ".csv,text/csv", badge: "CSV" },
@@ -232,7 +232,7 @@ function Mo(e) {
232
232
  }
233
233
  return i;
234
234
  }
235
- function fr(e) {
235
+ function pr(e) {
236
236
  return xt(e);
237
237
  }
238
238
  function Gn(e) {
@@ -249,7 +249,7 @@ function Gn(e) {
249
249
  }
250
250
  }
251
251
  function Kn(e) {
252
- const t = fr(e);
252
+ const t = pr(e);
253
253
  if (t == null)
254
254
  return "";
255
255
  if (typeof t == "string")
@@ -268,7 +268,7 @@ function Kn(e) {
268
268
  }
269
269
  }
270
270
  function Jn(e) {
271
- const t = fr(e);
271
+ const t = pr(e);
272
272
  if (typeof t == "boolean") return t;
273
273
  if (typeof t == "number") return t !== 0;
274
274
  if (typeof t == "string") {
@@ -291,20 +291,20 @@ function ui(e, t) {
291
291
  const i = xe(t?.fileExtension);
292
292
  return i || (xe(e?.file_extension) ?? xe(e?.fileExtension) ?? xe(e?.extension));
293
293
  }
294
- function Oi(e) {
294
+ function Li(e) {
295
295
  const t = Ye(e);
296
296
  if (!t)
297
297
  return;
298
298
  const r = (t.split(/[?#]/, 1)[0] ?? t).match(/\.([A-Za-z0-9]+)$/);
299
299
  return xe(r?.[1]);
300
300
  }
301
- function Li(e) {
302
- const t = e.replace(/^\./, "").toLowerCase(), i = lr[t];
301
+ function Vi(e) {
302
+ const t = e.replace(/^\./, "").toLowerCase(), i = cr[t];
303
303
  return i ? `.${t},${i}` : `.${t}`;
304
304
  }
305
305
  function Re(e) {
306
306
  const t = xe(e);
307
- return t ? ur[t] : void 0;
307
+ return t ? lr[t] : void 0;
308
308
  }
309
309
  function hr(e) {
310
310
  const t = W(e);
@@ -312,7 +312,7 @@ function hr(e) {
312
312
  return;
313
313
  const i = xe(t.slice(6));
314
314
  if (i)
315
- return ur[i] || lr[i] ? i : void 0;
315
+ return lr[i] || cr[i] ? i : void 0;
316
316
  }
317
317
  function Qn(e) {
318
318
  if (!e)
@@ -345,15 +345,15 @@ function Hn(e, t, i) {
345
345
  return u || (s === "file" || s === "upload" || s.startsWith("fileid") ? "file" : Re(ui(t, i)));
346
346
  }
347
347
  function ct(e) {
348
- return e ? !!cr[e] || e.startsWith("fileid") : !1;
348
+ return e ? !!fr[e] || e.startsWith("fileid") : !1;
349
349
  }
350
350
  function Yn(e, t, i) {
351
- const r = W(i?.inputType), n = ct(r) ? r : Ae(e), s = ui(t, i), a = Ye(i?.accept) ?? oi(t, ["accept", "file_accept", "fileAccept"]), u = cr[n], l = hr(n);
351
+ const r = W(i?.inputType), n = ct(r) ? r : Ae(e), s = ui(t, i), a = Ye(i?.accept) ?? oi(t, ["accept", "file_accept", "fileAccept"]), u = fr[n], l = hr(n);
352
352
  if (s) {
353
353
  const c = Re(s) ?? "file";
354
354
  return {
355
355
  kind: c,
356
- accept: a ?? Li(s),
356
+ accept: a ?? Vi(s),
357
357
  badge: u?.badge ?? Vt[c]
358
358
  };
359
359
  }
@@ -366,7 +366,7 @@ function Yn(e, t, i) {
366
366
  const c = Re(l) ?? "file";
367
367
  return {
368
368
  kind: c,
369
- accept: a ?? Li(l),
369
+ accept: a ?? Vi(l),
370
370
  badge: Vt[c]
371
371
  };
372
372
  }
@@ -380,14 +380,14 @@ function Xn(e, t, i) {
380
380
  const r = Ae(e), n = W(i?.inputType);
381
381
  return ct(r) || ct(n) || !!ui(t, i) || !!Ye(i?.accept);
382
382
  }
383
- function pr(e, t = zn) {
383
+ function dr(e, t = zn) {
384
384
  const i = xt(e);
385
385
  if (typeof i == "string")
386
386
  return i.trim() || void 0;
387
387
  if (fe(i))
388
388
  return oi(i, t);
389
389
  }
390
- function dr(e) {
390
+ function mr(e) {
391
391
  return typeof e == "string" && Wn.test(e);
392
392
  }
393
393
  function Zn(e, t, i = {}) {
@@ -395,7 +395,7 @@ function Zn(e, t, i = {}) {
395
395
  if (r)
396
396
  return r;
397
397
  const n = xt(e);
398
- return typeof n == "string" ? i.hideAiralogyFileIds && dr(n) ? "" : n : fe(n) ? oi(n, i.keys ?? [
398
+ return typeof n == "string" ? i.hideAiralogyFileIds && mr(n) ? "" : n : fe(n) ? oi(n, i.keys ?? [
399
399
  "name",
400
400
  "fileName",
401
401
  "file_name",
@@ -410,7 +410,7 @@ function Zn(e, t, i = {}) {
410
410
  ]) ?? "" : "";
411
411
  }
412
412
  function Bo(e, t, i, r, n) {
413
- return e?.kind ?? Qn(e?.mimeType) ?? Hn(i, r, n) ?? Re(Oi(e?.filename ?? e?.name ?? e?.downloadName)) ?? Re(Oi(pr(t, Un))) ?? "file";
413
+ return e?.kind ?? Qn(e?.mimeType) ?? Hn(i, r, n) ?? Re(Li(e?.filename ?? e?.name ?? e?.downloadName)) ?? Re(Li(dr(t, Un))) ?? "file";
414
414
  }
415
415
  function es(e) {
416
416
  return !!(e && /^(blob:|data:|https?:|file:|\/|\.\/|\.\.\/)/i.test(e));
@@ -434,7 +434,7 @@ function Uo(e, t, i) {
434
434
  const r = W(i?.inputType ?? t?.input_type ?? t?.inputType) || W(e);
435
435
  return r === "bool" || r === "boolean" || r === "checkbox";
436
436
  }
437
- const li = /* @__PURE__ */ Symbol.for("yaml.alias"), ts = /* @__PURE__ */ Symbol.for("yaml.document"), Se = /* @__PURE__ */ Symbol.for("yaml.map"), mr = /* @__PURE__ */ Symbol.for("yaml.pair"), ci = /* @__PURE__ */ Symbol.for("yaml.scalar"), Xe = /* @__PURE__ */ Symbol.for("yaml.seq"), ee = /* @__PURE__ */ Symbol.for("yaml.node.type"), Ce = (e) => !!e && typeof e == "object" && e[ee] === li, vt = (e) => !!e && typeof e == "object" && e[ee] === ts, gr = (e) => !!e && typeof e == "object" && e[ee] === Se, D = (e) => !!e && typeof e == "object" && e[ee] === mr, L = (e) => !!e && typeof e == "object" && e[ee] === ci, fi = (e) => !!e && typeof e == "object" && e[ee] === Xe;
437
+ const li = /* @__PURE__ */ Symbol.for("yaml.alias"), ts = /* @__PURE__ */ Symbol.for("yaml.document"), Se = /* @__PURE__ */ Symbol.for("yaml.map"), gr = /* @__PURE__ */ Symbol.for("yaml.pair"), ci = /* @__PURE__ */ Symbol.for("yaml.scalar"), Xe = /* @__PURE__ */ Symbol.for("yaml.seq"), ee = /* @__PURE__ */ Symbol.for("yaml.node.type"), Ce = (e) => !!e && typeof e == "object" && e[ee] === li, vt = (e) => !!e && typeof e == "object" && e[ee] === ts, yr = (e) => !!e && typeof e == "object" && e[ee] === Se, D = (e) => !!e && typeof e == "object" && e[ee] === gr, L = (e) => !!e && typeof e == "object" && e[ee] === ci, fi = (e) => !!e && typeof e == "object" && e[ee] === Xe;
438
438
  function $(e) {
439
439
  if (e && typeof e == "object")
440
440
  switch (e[ee]) {
@@ -455,7 +455,7 @@ function F(e) {
455
455
  }
456
456
  return !1;
457
457
  }
458
- const yr = (e) => (L(e) || $(e)) && !!e.anchor, be = /* @__PURE__ */ Symbol("break visit"), is = /* @__PURE__ */ Symbol("skip children"), Ue = /* @__PURE__ */ Symbol("remove node");
458
+ const br = (e) => (L(e) || $(e)) && !!e.anchor, be = /* @__PURE__ */ Symbol("break visit"), is = /* @__PURE__ */ Symbol("skip children"), Ue = /* @__PURE__ */ Symbol("remove node");
459
459
  function _t(e, t) {
460
460
  const i = rs(t);
461
461
  vt(e) ? Oe(null, e.contents, i, Object.freeze([e])) === Ue && (e.contents = null) : Oe(null, e, i, Object.freeze([]));
@@ -512,7 +512,7 @@ function rs(e) {
512
512
  function ns(e, t, i, r) {
513
513
  if (typeof i == "function")
514
514
  return i(e, t, r);
515
- if (gr(t))
515
+ if (yr(t))
516
516
  return i.Map?.(e, t, r);
517
517
  if (fi(t))
518
518
  return i.Seq?.(e, t, r);
@@ -536,7 +536,7 @@ function ss(e, t, i) {
536
536
  throw new Error(`Cannot replace node with ${n} parent`);
537
537
  }
538
538
  }
539
- function br(e) {
539
+ function xr(e) {
540
540
  if (/[\x00-\x19\s,[\]{}]/.test(e)) {
541
541
  const i = `Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;
542
542
  throw new Error(i);
@@ -571,7 +571,7 @@ function H(e, t, i) {
571
571
  if (Array.isArray(e))
572
572
  return e.map((r, n) => H(r, String(n), i));
573
573
  if (e && typeof e.toJSON == "function") {
574
- if (!i || !yr(e))
574
+ if (!i || !br(e))
575
575
  return e.toJSON(t, i);
576
576
  const r = { aliasCount: 0, count: 1, res: void 0 };
577
577
  i.anchors.set(e, r), i.onCreate = (s) => {
@@ -582,7 +582,7 @@ function H(e, t, i) {
582
582
  }
583
583
  return typeof e == "bigint" && !i?.keep ? Number(e) : e;
584
584
  }
585
- class hi {
585
+ class pi {
586
586
  constructor(t) {
587
587
  Object.defineProperty(this, ee, { value: t });
588
588
  }
@@ -609,7 +609,7 @@ class hi {
609
609
  return typeof s == "function" ? ze(s, { "": u }, "", u) : u;
610
610
  }
611
611
  }
612
- class as extends hi {
612
+ class as extends pi {
613
613
  constructor(t) {
614
614
  super(li), this.source = t, Object.defineProperty(this, "tag", {
615
615
  set() {
@@ -625,7 +625,7 @@ class as extends hi {
625
625
  let r;
626
626
  i?.aliasResolveCache ? r = i.aliasResolveCache : (r = [], _t(t, {
627
627
  Node: (s, a) => {
628
- (Ce(a) || yr(a)) && r.push(a);
628
+ (Ce(a) || br(a)) && r.push(a);
629
629
  }
630
630
  }), i && (i.aliasResolveCache = r));
631
631
  let n;
@@ -658,7 +658,7 @@ class as extends hi {
658
658
  toString(t, i, r) {
659
659
  const n = `*${this.source}`;
660
660
  if (t) {
661
- if (br(this.source), t.options.verifyAliasOrder && !t.anchors.has(this.source)) {
661
+ if (xr(this.source), t.options.verifyAliasOrder && !t.anchors.has(this.source)) {
662
662
  const s = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
663
663
  throw new Error(s);
664
664
  }
@@ -685,8 +685,8 @@ function at(e, t, i) {
685
685
  }
686
686
  return 1;
687
687
  }
688
- const xr = (e) => !e || typeof e != "function" && typeof e != "object";
689
- class T extends hi {
688
+ const vr = (e) => !e || typeof e != "function" && typeof e != "object";
689
+ class T extends pi {
690
690
  constructor(t) {
691
691
  super(ci), this.value = t;
692
692
  }
@@ -729,10 +729,10 @@ function ft(e, t, i) {
729
729
  c = e instanceof Map ? a[Se] : Symbol.iterator in Object(e) ? a[Xe] : a[Se];
730
730
  }
731
731
  s && (s(c), delete i.onTagObj);
732
- const h = c?.createNode ? c.createNode(i.schema, e, i) : typeof c?.nodeClass?.from == "function" ? c.nodeClass.from(i.schema, e, i) : new T(e);
733
- return c.default || (h.tag = c.tag), l && (l.node = h), h;
732
+ const p = c?.createNode ? c.createNode(i.schema, e, i) : typeof c?.nodeClass?.from == "function" ? c.nodeClass.from(i.schema, e, i) : new T(e);
733
+ return c.default || (p.tag = c.tag), l && (l.node = p), p;
734
734
  }
735
- function Vi(e, t, i) {
735
+ function Di(e, t, i) {
736
736
  let r = i;
737
737
  for (let n = t.length - 1; n >= 0; --n) {
738
738
  const s = t[n];
@@ -753,7 +753,7 @@ function Vi(e, t, i) {
753
753
  });
754
754
  }
755
755
  const us = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next().done;
756
- class vr extends hi {
756
+ class _r extends pi {
757
757
  constructor(t, i) {
758
758
  super(t), Object.defineProperty(this, "schema", {
759
759
  value: i,
@@ -784,7 +784,7 @@ class vr extends hi {
784
784
  if ($(s))
785
785
  s.addIn(n, i);
786
786
  else if (s === void 0 && this.schema)
787
- this.set(r, Vi(this.schema, n, i));
787
+ this.set(r, Di(this.schema, n, i));
788
788
  else
789
789
  throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`);
790
790
  }
@@ -842,7 +842,7 @@ class vr extends hi {
842
842
  if ($(s))
843
843
  s.setIn(n, i);
844
844
  else if (s === void 0 && this.schema)
845
- this.set(r, Vi(this.schema, n, i));
845
+ this.set(r, Di(this.schema, n, i));
846
846
  else
847
847
  throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`);
848
848
  }
@@ -855,7 +855,7 @@ function Je(e, t) {
855
855
  const Le = (e, t, i) => e.endsWith(`
856
856
  `) ? Je(i, t) : i.includes(`
857
857
  `) ? `
858
- ` + Je(i, t) : (e.endsWith(" ") ? "" : " ") + i, _r = "flow", Ht = "block", ot = "quoted";
858
+ ` + Je(i, t) : (e.endsWith(" ") ? "" : " ") + i, Sr = "flow", Ht = "block", ot = "quoted";
859
859
  function St(e, t, i = "flow", { indentAtStart: r, lineWidth: n = 80, minContentWidth: s = 20, onFold: a, onOverflow: u } = {}) {
860
860
  if (!n || n < 0)
861
861
  return e;
@@ -863,48 +863,48 @@ function St(e, t, i = "flow", { indentAtStart: r, lineWidth: n = 80, minContentW
863
863
  const l = Math.max(1 + s, 1 + n - t.length);
864
864
  if (e.length <= l)
865
865
  return e;
866
- const c = [], h = {};
866
+ const c = [], p = {};
867
867
  let f = n - t.length;
868
868
  typeof r == "number" && (r > n - Math.max(2, s) ? c.push(0) : f = n - r);
869
- let d, g, y = !1, p = -1, m = -1, _ = -1;
870
- i === Ht && (p = Di(e, p, t.length), p !== -1 && (f = p + l));
871
- for (let C; C = e[p += 1]; ) {
869
+ let d, g, y = !1, h = -1, m = -1, _ = -1;
870
+ i === Ht && (h = Ri(e, h, t.length), h !== -1 && (f = h + l));
871
+ for (let C; C = e[h += 1]; ) {
872
872
  if (i === ot && C === "\\") {
873
- switch (m = p, e[p + 1]) {
873
+ switch (m = h, e[h + 1]) {
874
874
  case "x":
875
- p += 3;
875
+ h += 3;
876
876
  break;
877
877
  case "u":
878
- p += 5;
878
+ h += 5;
879
879
  break;
880
880
  case "U":
881
- p += 9;
881
+ h += 9;
882
882
  break;
883
883
  default:
884
- p += 1;
884
+ h += 1;
885
885
  }
886
- _ = p;
886
+ _ = h;
887
887
  }
888
888
  if (C === `
889
889
  `)
890
- i === Ht && (p = Di(e, p, t.length)), f = p + t.length + l, d = void 0;
890
+ i === Ht && (h = Ri(e, h, t.length)), f = h + t.length + l, d = void 0;
891
891
  else {
892
892
  if (C === " " && g && g !== " " && g !== `
893
893
  ` && g !== " ") {
894
- const E = e[p + 1];
894
+ const E = e[h + 1];
895
895
  E && E !== " " && E !== `
896
- ` && E !== " " && (d = p);
896
+ ` && E !== " " && (d = h);
897
897
  }
898
- if (p >= f)
898
+ if (h >= f)
899
899
  if (d)
900
900
  c.push(d), f = d + l, d = void 0;
901
901
  else if (i === ot) {
902
902
  for (; g === " " || g === " "; )
903
- g = C, C = e[p += 1], y = !0;
904
- const E = p > _ + 1 ? p - 2 : m - 1;
905
- if (h[E])
903
+ g = C, C = e[h += 1], y = !0;
904
+ const E = h > _ + 1 ? h - 2 : m - 1;
905
+ if (p[E])
906
906
  return e;
907
- c.push(E), h[E] = !0, f = E + l, d = void 0;
907
+ c.push(E), p[E] = !0, f = E + l, d = void 0;
908
908
  } else
909
909
  y = !0;
910
910
  }
@@ -917,12 +917,12 @@ function St(e, t, i = "flow", { indentAtStart: r, lineWidth: n = 80, minContentW
917
917
  for (let C = 0; C < c.length; ++C) {
918
918
  const E = c[C], P = c[C + 1] || e.length;
919
919
  E === 0 ? A = `
920
- ${t}${e.slice(0, P)}` : (i === ot && h[E] && (A += `${e[E]}\\`), A += `
920
+ ${t}${e.slice(0, P)}` : (i === ot && p[E] && (A += `${e[E]}\\`), A += `
921
921
  ${t}${e.slice(E + 1, P)}`);
922
922
  }
923
923
  return A;
924
924
  }
925
- function Di(e, t, i) {
925
+ function Ri(e, t, i) {
926
926
  let r = t, n = t + 1, s = e[n];
927
927
  for (; s === " " || s === " "; )
928
928
  if (t < n + i)
@@ -936,11 +936,11 @@ function Di(e, t, i) {
936
936
  }
937
937
  return r;
938
938
  }
939
- const wt = (e, t) => ({
939
+ const kt = (e, t) => ({
940
940
  indentAtStart: t ? e.indent.length : e.indentAtStart,
941
941
  lineWidth: e.options.lineWidth,
942
942
  minContentWidth: e.options.minContentWidth
943
- }), kt = (e) => /^(%|---|\.\.\.)/m.test(e);
943
+ }), wt = (e) => /^(%|---|\.\.\.)/m.test(e);
944
944
  function cs(e, t, i) {
945
945
  if (!t || t < 0)
946
946
  return !1;
@@ -961,7 +961,7 @@ function qe(e, t) {
961
961
  const i = JSON.stringify(e);
962
962
  if (t.options.doubleQuotedAsJSON)
963
963
  return i;
964
- const { implicitKey: r } = t, n = t.options.doubleQuotedMinMultiLineLength, s = t.indent || (kt(e) ? " " : "");
964
+ const { implicitKey: r } = t, n = t.options.doubleQuotedMinMultiLineLength, s = t.indent || (wt(e) ? " " : "");
965
965
  let a = "", u = 0;
966
966
  for (let l = 0, c = i[l]; c; c = i[++l])
967
967
  if (c === " " && i[l + 1] === "\\" && i[l + 2] === "n" && (a += i.slice(u, l) + "\\ ", l += 1, u = l, c = "\\"), c === "\\")
@@ -969,8 +969,8 @@ function qe(e, t) {
969
969
  case "u":
970
970
  {
971
971
  a += i.slice(u, l);
972
- const h = i.substr(l + 2, 4);
973
- switch (h) {
972
+ const p = i.substr(l + 2, 4);
973
+ switch (p) {
974
974
  case "0000":
975
975
  a += "\\0";
976
976
  break;
@@ -996,7 +996,7 @@ function qe(e, t) {
996
996
  a += "\\P";
997
997
  break;
998
998
  default:
999
- h.substr(0, 2) === "00" ? a += "\\x" + h.substr(2) : a += i.substr(l, 6);
999
+ p.substr(0, 2) === "00" ? a += "\\x" + p.substr(2) : a += i.substr(l, 6);
1000
1000
  }
1001
1001
  l += 5, u = l + 1;
1002
1002
  }
@@ -1016,15 +1016,15 @@ function qe(e, t) {
1016
1016
  default:
1017
1017
  l += 1;
1018
1018
  }
1019
- return a = u ? a + i.slice(u) : i, r ? a : St(a, s, ot, wt(t, !1));
1019
+ return a = u ? a + i.slice(u) : i, r ? a : St(a, s, ot, kt(t, !1));
1020
1020
  }
1021
1021
  function Yt(e, t) {
1022
1022
  if (t.options.singleQuote === !1 || t.implicitKey && e.includes(`
1023
1023
  `) || /[ \t]\n|\n[ \t]/.test(e))
1024
1024
  return qe(e, t);
1025
- const i = t.indent || (kt(e) ? " " : ""), r = "'" + e.replace(/'/g, "''").replace(/\n+/g, `$&
1025
+ const i = t.indent || (wt(e) ? " " : ""), r = "'" + e.replace(/'/g, "''").replace(/\n+/g, `$&
1026
1026
  ${i}`) + "'";
1027
- return t.implicitKey ? r : St(r, i, _r, wt(t, !1));
1027
+ return t.implicitKey ? r : St(r, i, Sr, kt(t, !1));
1028
1028
  }
1029
1029
  function Ve(e, t) {
1030
1030
  const { singleQuote: i } = t.options;
@@ -1050,9 +1050,9 @@ function ut({ comment: e, type: t, value: i }, r, n, s) {
1050
1050
  const { blockQuote: a, commentString: u, lineWidth: l } = r.options;
1051
1051
  if (!a || /\n[\t ]+$/.test(i))
1052
1052
  return Ve(i, r);
1053
- const c = r.indent || (r.forceBlockIndent || kt(i) ? " " : ""), h = a === "literal" ? !0 : a === "folded" || t === T.BLOCK_FOLDED ? !1 : t === T.BLOCK_LITERAL ? !0 : !cs(i, l, c.length);
1053
+ const c = r.indent || (r.forceBlockIndent || wt(i) ? " " : ""), p = a === "literal" ? !0 : a === "folded" || t === T.BLOCK_FOLDED ? !1 : t === T.BLOCK_LITERAL ? !0 : !cs(i, l, c.length);
1054
1054
  if (!i)
1055
- return h ? `|
1055
+ return p ? `|
1056
1056
  ` : `>
1057
1057
  `;
1058
1058
  let f, d;
@@ -1067,11 +1067,11 @@ function ut({ comment: e, type: t, value: i }, r, n, s) {
1067
1067
  `);
1068
1068
  y === -1 ? f = "-" : i === g || y !== g.length - 1 ? (f = "+", s && s()) : f = "", g && (i = i.slice(0, -g.length), g[g.length - 1] === `
1069
1069
  ` && (g = g.slice(0, -1)), g = g.replace(Xt, `$&${c}`));
1070
- let p = !1, m, _ = -1;
1070
+ let h = !1, m, _ = -1;
1071
1071
  for (m = 0; m < i.length; ++m) {
1072
1072
  const P = i[m];
1073
1073
  if (P === " ")
1074
- p = !0;
1074
+ h = !0;
1075
1075
  else if (P === `
1076
1076
  `)
1077
1077
  _ = m;
@@ -1080,12 +1080,12 @@ function ut({ comment: e, type: t, value: i }, r, n, s) {
1080
1080
  }
1081
1081
  let A = i.substring(0, _ < m ? _ + 1 : m);
1082
1082
  A && (i = i.substring(A.length), A = A.replace(/\n+/g, `$&${c}`));
1083
- let E = (p ? c ? "2" : "1" : "") + f;
1084
- if (e && (E += " " + u(e.replace(/ ?[\r\n]+/g, " ")), n && n()), !h) {
1083
+ let E = (h ? c ? "2" : "1" : "") + f;
1084
+ if (e && (E += " " + u(e.replace(/ ?[\r\n]+/g, " ")), n && n()), !p) {
1085
1085
  const P = i.replace(/\n+/g, `
1086
1086
  $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${c}`);
1087
1087
  let K = !1;
1088
- const Y = wt(r, !0);
1088
+ const Y = kt(r, !0);
1089
1089
  a !== "folded" && t !== T.BLOCK_FOLDED && (Y.onOverflow = () => {
1090
1090
  K = !0;
1091
1091
  });
@@ -1098,17 +1098,17 @@ ${c}${We}`;
1098
1098
  ${c}${A}${i}${g}`;
1099
1099
  }
1100
1100
  function fs(e, t, i, r) {
1101
- const { type: n, value: s } = e, { actualString: a, implicitKey: u, indent: l, indentStep: c, inFlow: h } = t;
1101
+ const { type: n, value: s } = e, { actualString: a, implicitKey: u, indent: l, indentStep: c, inFlow: p } = t;
1102
1102
  if (u && s.includes(`
1103
- `) || h && /[[\]{},]/.test(s))
1103
+ `) || p && /[[\]{},]/.test(s))
1104
1104
  return Ve(s, t);
1105
1105
  if (/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))
1106
- return u || h || !s.includes(`
1106
+ return u || p || !s.includes(`
1107
1107
  `) ? Ve(s, t) : ut(e, t, i, r);
1108
- if (!u && !h && n !== T.PLAIN && s.includes(`
1108
+ if (!u && !p && n !== T.PLAIN && s.includes(`
1109
1109
  `))
1110
1110
  return ut(e, t, i, r);
1111
- if (kt(s)) {
1111
+ if (wt(s)) {
1112
1112
  if (l === "")
1113
1113
  return t.forceBlockIndent = !0, ut(e, t, i, r);
1114
1114
  if (u && l === c)
@@ -1117,18 +1117,18 @@ function fs(e, t, i, r) {
1117
1117
  const f = s.replace(/\n+/g, `$&
1118
1118
  ${l}`);
1119
1119
  if (a) {
1120
- const d = (p) => p.default && p.tag !== "tag:yaml.org,2002:str" && p.test?.test(f), { compat: g, tags: y } = t.doc.schema;
1120
+ const d = (h) => h.default && h.tag !== "tag:yaml.org,2002:str" && h.test?.test(f), { compat: g, tags: y } = t.doc.schema;
1121
1121
  if (y.some(d) || g?.some(d))
1122
1122
  return Ve(s, t);
1123
1123
  }
1124
- return u ? f : St(f, l, _r, wt(t, !1));
1124
+ return u ? f : St(f, l, Sr, kt(t, !1));
1125
1125
  }
1126
- function hs(e, t, i, r) {
1126
+ function ps(e, t, i, r) {
1127
1127
  const { implicitKey: n, inFlow: s } = t, a = typeof e.value == "string" ? e : Object.assign({}, e, { value: String(e.value) });
1128
1128
  let { type: u } = e;
1129
1129
  u !== T.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value) && (u = T.QUOTE_DOUBLE);
1130
- const l = (h) => {
1131
- switch (h) {
1130
+ const l = (p) => {
1131
+ switch (p) {
1132
1132
  case T.BLOCK_FOLDED:
1133
1133
  case T.BLOCK_LITERAL:
1134
1134
  return n || s ? Ve(a.value, t) : ut(a, t, i, r);
@@ -1144,13 +1144,13 @@ function hs(e, t, i, r) {
1144
1144
  };
1145
1145
  let c = l(u);
1146
1146
  if (c === null) {
1147
- const { defaultKeyType: h, defaultStringType: f } = t.options, d = n && h || f;
1147
+ const { defaultKeyType: p, defaultStringType: f } = t.options, d = n && p || f;
1148
1148
  if (c = l(d), c === null)
1149
1149
  throw new Error(`Unsupported default string type ${d}`);
1150
1150
  }
1151
1151
  return c;
1152
1152
  }
1153
- function ps(e, t) {
1153
+ function hs(e, t) {
1154
1154
  const i = Object.assign({
1155
1155
  blockQuote: !0,
1156
1156
  commentString: ls,
@@ -1218,11 +1218,11 @@ function ms(e, t, { anchors: i, doc: r }) {
1218
1218
  if (!r.directives)
1219
1219
  return "";
1220
1220
  const n = [], s = (L(e) || $(e)) && e.anchor;
1221
- s && br(s) && (i.add(s), n.push(`&${s}`));
1221
+ s && xr(s) && (i.add(s), n.push(`&${s}`));
1222
1222
  const a = e.tag ?? (t.default ? null : t.tag);
1223
1223
  return a && n.push(r.directives.tagString(a)), n.join(" ");
1224
1224
  }
1225
- function ht(e, t, i, r) {
1225
+ function pt(e, t, i, r) {
1226
1226
  if (D(e))
1227
1227
  return e.toString(t, i, r);
1228
1228
  if (Ce(e)) {
@@ -1237,12 +1237,12 @@ function ht(e, t, i, r) {
1237
1237
  n ?? (n = ds(t.doc.schema.tags, s));
1238
1238
  const a = ms(s, n, t);
1239
1239
  a.length > 0 && (t.indentAtStart = (t.indentAtStart ?? 0) + a.length + 1);
1240
- const u = typeof n.stringify == "function" ? n.stringify(s, t, i, r) : L(s) ? hs(s, t, i, r) : s.toString(t, i, r);
1240
+ const u = typeof n.stringify == "function" ? n.stringify(s, t, i, r) : L(s) ? ps(s, t, i, r) : s.toString(t, i, r);
1241
1241
  return a ? L(s) || u[0] === "{" || u[0] === "[" ? `${a} ${u}` : `${a}
1242
1242
  ${t.indent}${u}` : u;
1243
1243
  }
1244
1244
  function gs({ key: e, value: t }, i, r, n) {
1245
- const { allNullValues: s, doc: a, indent: u, indentStep: l, options: { commentString: c, indentSeq: h, simpleKeys: f } } = i;
1245
+ const { allNullValues: s, doc: a, indent: u, indentStep: l, options: { commentString: c, indentSeq: p, simpleKeys: f } } = i;
1246
1246
  let d = F(e) && e.comment || null;
1247
1247
  if (f) {
1248
1248
  if (d)
@@ -1258,7 +1258,7 @@ function gs({ key: e, value: t }, i, r, n) {
1258
1258
  implicitKey: !g && (f || !s),
1259
1259
  indent: u + l
1260
1260
  });
1261
- let y = !1, p = !1, m = ht(e, i, () => y = !0, () => p = !0);
1261
+ let y = !1, h = !1, m = pt(e, i, () => y = !0, () => h = !0);
1262
1262
  if (!g && !i.inFlow && m.length > 1024) {
1263
1263
  if (f)
1264
1264
  throw new Error("With simple keys, single line scalar must not span more than 1024 characters");
@@ -1268,13 +1268,13 @@ function gs({ key: e, value: t }, i, r, n) {
1268
1268
  if (s || t == null)
1269
1269
  return y && r && r(), m === "" ? "?" : g ? `? ${m}` : m;
1270
1270
  } else if (s && !f || t == null && g)
1271
- return m = `? ${m}`, d && !y ? m += Le(m, i.indent, c(d)) : p && n && n(), m;
1271
+ return m = `? ${m}`, d && !y ? m += Le(m, i.indent, c(d)) : h && n && n(), m;
1272
1272
  y && (d = null), g ? (d && (m += Le(m, i.indent, c(d))), m = `? ${m}
1273
1273
  ${u}:`) : (m = `${m}:`, d && (m += Le(m, i.indent, c(d))));
1274
1274
  let _, A, C;
1275
- F(t) ? (_ = !!t.spaceBefore, A = t.commentBefore, C = t.comment) : (_ = !1, A = null, C = null, t && typeof t == "object" && (t = a.createNode(t))), i.implicitKey = !1, !g && !d && L(t) && (i.indentAtStart = m.length + 1), p = !1, !h && l.length >= 2 && !i.inFlow && !g && fi(t) && !t.flow && !t.tag && !t.anchor && (i.indent = i.indent.substring(2));
1275
+ F(t) ? (_ = !!t.spaceBefore, A = t.commentBefore, C = t.comment) : (_ = !1, A = null, C = null, t && typeof t == "object" && (t = a.createNode(t))), i.implicitKey = !1, !g && !d && L(t) && (i.indentAtStart = m.length + 1), h = !1, !p && l.length >= 2 && !i.inFlow && !g && fi(t) && !t.flow && !t.tag && !t.anchor && (i.indent = i.indent.substring(2));
1276
1276
  let E = !1;
1277
- const P = ht(t, i, () => E = !0, () => p = !0);
1277
+ const P = pt(t, i, () => E = !0, () => h = !0);
1278
1278
  let K = " ";
1279
1279
  if (d || _ || A) {
1280
1280
  if (K = _ ? `
@@ -1290,8 +1290,8 @@ ${Je(Y, i.indent)}`;
1290
1290
  ${i.indent}`;
1291
1291
  } else if (!g && $(t)) {
1292
1292
  const Y = P[0], We = P.indexOf(`
1293
- `), Ei = We !== -1, Tn = i.inFlow ?? t.flow ?? t.items.length === 0;
1294
- if (Ei || !Tn) {
1293
+ `), Ei = We !== -1, Pn = i.inFlow ?? t.flow ?? t.items.length === 0;
1294
+ if (Ei || !Pn) {
1295
1295
  let Ii = !1;
1296
1296
  if (Ei && (Y === "&" || Y === "!")) {
1297
1297
  let ye = P.indexOf(" ");
@@ -1302,7 +1302,7 @@ ${i.indent}`);
1302
1302
  }
1303
1303
  } else (P === "" || P[0] === `
1304
1304
  `) && (K = "");
1305
- return m += K + P, i.inFlow ? E && r && r() : C && !E ? m += Le(m, i.indent, c(C)) : p && n && n(), m;
1305
+ return m += K + P, i.inFlow ? E && r && r() : C && !E ? m += Le(m, i.indent, c(C)) : h && n && n(), m;
1306
1306
  }
1307
1307
  function ys(e, t) {
1308
1308
  (e === "debug" || e === "warn") && console.warn(t);
@@ -1313,11 +1313,11 @@ const rt = "<<", Dt = {
1313
1313
  tag: "tag:yaml.org,2002:merge",
1314
1314
  test: /^<<$/,
1315
1315
  resolve: () => Object.assign(new T(Symbol(rt)), {
1316
- addToJSMap: Sr
1316
+ addToJSMap: kr
1317
1317
  }),
1318
1318
  stringify: () => rt
1319
1319
  }, bs = (e, t) => (Dt.identify(t) || L(t) && (!t.type || t.type === T.PLAIN) && Dt.identify(t.value)) && e?.doc.schema.tags.some((i) => i.tag === Dt.tag && i.default);
1320
- function Sr(e, t, i) {
1320
+ function kr(e, t, i) {
1321
1321
  if (i = e && Ce(i) ? i.resolve(e.doc) : i, fi(i))
1322
1322
  for (const r of i.items)
1323
1323
  Rt(e, t, r);
@@ -1329,7 +1329,7 @@ function Sr(e, t, i) {
1329
1329
  }
1330
1330
  function Rt(e, t, i) {
1331
1331
  const r = e && Ce(i) ? i.resolve(e.doc) : i;
1332
- if (!gr(r))
1332
+ if (!yr(r))
1333
1333
  throw new Error("Merge sources must be maps or map aliases");
1334
1334
  const n = r.toJSON(null, e, Map);
1335
1335
  for (const [s, a] of n)
@@ -1345,7 +1345,7 @@ function wr(e, t, { key: i, value: r }) {
1345
1345
  if (F(i) && i.addToJSMap)
1346
1346
  i.addToJSMap(e, t, r);
1347
1347
  else if (bs(e, i))
1348
- Sr(e, t, r);
1348
+ kr(e, t, r);
1349
1349
  else {
1350
1350
  const n = H(i, "", e);
1351
1351
  if (t instanceof Map)
@@ -1370,7 +1370,7 @@ function xs(e, t, i) {
1370
1370
  if (typeof t != "object")
1371
1371
  return String(t);
1372
1372
  if (F(e) && i?.doc) {
1373
- const r = ps(i.doc, {});
1373
+ const r = hs(i.doc, {});
1374
1374
  r.anchors = /* @__PURE__ */ new Set();
1375
1375
  for (const s of i.anchors.keys())
1376
1376
  r.anchors.add(s.anchor);
@@ -1384,13 +1384,13 @@ function xs(e, t, i) {
1384
1384
  }
1385
1385
  return JSON.stringify(t);
1386
1386
  }
1387
- function pi(e, t, i) {
1387
+ function hi(e, t, i) {
1388
1388
  const r = ft(e, void 0, i), n = ft(t, void 0, i);
1389
1389
  return new ne(r, n);
1390
1390
  }
1391
1391
  class ne {
1392
1392
  constructor(t, i = null) {
1393
- Object.defineProperty(this, ee, { value: mr }), this.key = t, this.value = i;
1393
+ Object.defineProperty(this, ee, { value: gr }), this.key = t, this.value = i;
1394
1394
  }
1395
1395
  clone(t) {
1396
1396
  let { key: i, value: r } = this;
@@ -1404,24 +1404,24 @@ class ne {
1404
1404
  return t?.doc ? gs(this, t, i, r) : JSON.stringify(this);
1405
1405
  }
1406
1406
  }
1407
- function kr(e, t, i) {
1407
+ function Ar(e, t, i) {
1408
1408
  return (t.inFlow ?? e.flow ? _s : vs)(e, t, i);
1409
1409
  }
1410
1410
  function vs({ comment: e, items: t }, i, { blockItemPrefix: r, flowChars: n, itemIndent: s, onChompKeep: a, onComment: u }) {
1411
- const { indent: l, options: { commentString: c } } = i, h = Object.assign({}, i, { indent: s, type: null });
1411
+ const { indent: l, options: { commentString: c } } = i, p = Object.assign({}, i, { indent: s, type: null });
1412
1412
  let f = !1;
1413
1413
  const d = [];
1414
1414
  for (let y = 0; y < t.length; ++y) {
1415
- const p = t[y];
1415
+ const h = t[y];
1416
1416
  let m = null;
1417
- if (F(p))
1418
- !f && p.spaceBefore && d.push(""), pt(i, d, p.commentBefore, f), p.comment && (m = p.comment);
1419
- else if (D(p)) {
1420
- const A = F(p.key) ? p.key : null;
1421
- A && (!f && A.spaceBefore && d.push(""), pt(i, d, A.commentBefore, f));
1417
+ if (F(h))
1418
+ !f && h.spaceBefore && d.push(""), ht(i, d, h.commentBefore, f), h.comment && (m = h.comment);
1419
+ else if (D(h)) {
1420
+ const A = F(h.key) ? h.key : null;
1421
+ A && (!f && A.spaceBefore && d.push(""), ht(i, d, A.commentBefore, f));
1422
1422
  }
1423
1423
  f = !1;
1424
- let _ = ht(p, h, () => m = null, () => f = !0);
1424
+ let _ = pt(h, p, () => m = null, () => f = !0);
1425
1425
  m && (_ += Le(_, s, c(m))), f && m && (f = !1), d.push(r + _);
1426
1426
  }
1427
1427
  let g;
@@ -1430,9 +1430,9 @@ function vs({ comment: e, items: t }, i, { blockItemPrefix: r, flowChars: n, ite
1430
1430
  else {
1431
1431
  g = d[0];
1432
1432
  for (let y = 1; y < d.length; ++y) {
1433
- const p = d[y];
1434
- g += p ? `
1435
- ${l}${p}` : `
1433
+ const h = d[y];
1434
+ g += h ? `
1435
+ ${l}${h}` : `
1436
1436
  `;
1437
1437
  }
1438
1438
  }
@@ -1447,43 +1447,43 @@ function _s({ items: e }, t, { flowChars: i, itemIndent: r }) {
1447
1447
  inFlow: !0,
1448
1448
  type: null
1449
1449
  });
1450
- let c = !1, h = 0;
1450
+ let c = !1, p = 0;
1451
1451
  const f = [];
1452
1452
  for (let y = 0; y < e.length; ++y) {
1453
- const p = e[y];
1453
+ const h = e[y];
1454
1454
  let m = null;
1455
- if (F(p))
1456
- p.spaceBefore && f.push(""), pt(t, f, p.commentBefore, !1), p.comment && (m = p.comment);
1457
- else if (D(p)) {
1458
- const A = F(p.key) ? p.key : null;
1459
- A && (A.spaceBefore && f.push(""), pt(t, f, A.commentBefore, !1), A.comment && (c = !0));
1460
- const C = F(p.value) ? p.value : null;
1461
- C ? (C.comment && (m = C.comment), C.commentBefore && (c = !0)) : p.value == null && A?.comment && (m = A.comment);
1455
+ if (F(h))
1456
+ h.spaceBefore && f.push(""), ht(t, f, h.commentBefore, !1), h.comment && (m = h.comment);
1457
+ else if (D(h)) {
1458
+ const A = F(h.key) ? h.key : null;
1459
+ A && (A.spaceBefore && f.push(""), ht(t, f, A.commentBefore, !1), A.comment && (c = !0));
1460
+ const C = F(h.value) ? h.value : null;
1461
+ C ? (C.comment && (m = C.comment), C.commentBefore && (c = !0)) : h.value == null && A?.comment && (m = A.comment);
1462
1462
  }
1463
1463
  m && (c = !0);
1464
- let _ = ht(p, l, () => m = null);
1465
- y < e.length - 1 && (_ += ","), m && (_ += Le(_, r, u(m))), !c && (f.length > h || _.includes(`
1466
- `)) && (c = !0), f.push(_), h = f.length;
1464
+ let _ = pt(h, l, () => m = null);
1465
+ y < e.length - 1 && (_ += ","), m && (_ += Le(_, r, u(m))), !c && (f.length > p || _.includes(`
1466
+ `)) && (c = !0), f.push(_), p = f.length;
1467
1467
  }
1468
1468
  const { start: d, end: g } = i;
1469
1469
  if (f.length === 0)
1470
1470
  return d + g;
1471
1471
  if (!c) {
1472
- const y = f.reduce((p, m) => p + m.length + 2, 2);
1472
+ const y = f.reduce((h, m) => h + m.length + 2, 2);
1473
1473
  c = t.options.lineWidth > 0 && y > t.options.lineWidth;
1474
1474
  }
1475
1475
  if (c) {
1476
1476
  let y = d;
1477
- for (const p of f)
1478
- y += p ? `
1479
- ${s}${n}${p}` : `
1477
+ for (const h of f)
1478
+ y += h ? `
1479
+ ${s}${n}${h}` : `
1480
1480
  `;
1481
1481
  return `${y}
1482
1482
  ${n}${g}`;
1483
1483
  } else
1484
1484
  return `${d}${a}${f.join(" ")}${a}${g}`;
1485
1485
  }
1486
- function pt({ indent: e, options: { commentString: t } }, i, r, n) {
1486
+ function ht({ indent: e, options: { commentString: t } }, i, r, n) {
1487
1487
  if (r && n && (r = r.replace(/^\n+/, "")), r) {
1488
1488
  const s = Je(t(r), e);
1489
1489
  i.push(s.trimStart());
@@ -1495,7 +1495,7 @@ function ve(e, t) {
1495
1495
  if (D(r) && (r.key === t || r.key === i || L(r.key) && r.key.value === i))
1496
1496
  return r;
1497
1497
  }
1498
- class Te extends vr {
1498
+ class Te extends _r {
1499
1499
  static get tagName() {
1500
1500
  return "tag:yaml.org,2002:map";
1501
1501
  }
@@ -1512,7 +1512,7 @@ class Te extends vr {
1512
1512
  c = s.call(i, l, c);
1513
1513
  else if (Array.isArray(s) && !s.includes(l))
1514
1514
  return;
1515
- (c !== void 0 || n) && a.items.push(pi(l, c, r));
1515
+ (c !== void 0 || n) && a.items.push(hi(l, c, r));
1516
1516
  };
1517
1517
  if (i instanceof Map)
1518
1518
  for (const [l, c] of i)
@@ -1535,7 +1535,7 @@ class Te extends vr {
1535
1535
  if (n) {
1536
1536
  if (!i)
1537
1537
  throw new Error(`Key ${r.key} already set`);
1538
- L(n.value) && xr(r.value) ? n.value.value = r.value : n.value = r.value;
1538
+ L(n.value) && vr(r.value) ? n.value.value = r.value : n.value = r.value;
1539
1539
  } else if (s) {
1540
1540
  const a = this.items.findIndex((u) => s(r, u) < 0);
1541
1541
  a === -1 ? this.items.push(r) : this.items.splice(a, 0, r);
@@ -1574,7 +1574,7 @@ class Te extends vr {
1574
1574
  for (const n of this.items)
1575
1575
  if (!D(n))
1576
1576
  throw new Error(`Map items must all be pairs; found ${JSON.stringify(n)} instead`);
1577
- return !t.allNullValues && this.hasAllNullValues(!1) && (t = Object.assign({}, t, { allNullValues: !0 })), kr(this, t, {
1577
+ return !t.allNullValues && this.hasAllNullValues(!1) && (t = Object.assign({}, t, { allNullValues: !0 })), Ar(this, t, {
1578
1578
  blockItemPrefix: "",
1579
1579
  flowChars: { start: "{", end: "}" },
1580
1580
  itemIndent: t.indent || "",
@@ -1583,7 +1583,7 @@ class Te extends vr {
1583
1583
  });
1584
1584
  }
1585
1585
  }
1586
- class Ar extends vr {
1586
+ class Cr extends _r {
1587
1587
  static get tagName() {
1588
1588
  return "tag:yaml.org,2002:seq";
1589
1589
  }
@@ -1634,7 +1634,7 @@ class Ar extends vr {
1634
1634
  if (typeof r != "number")
1635
1635
  throw new Error(`Expected a valid index, not ${t}.`);
1636
1636
  const n = this.items[r];
1637
- L(n) && xr(i) ? n.value = i : this.items[r] = i;
1637
+ L(n) && vr(i) ? n.value = i : this.items[r] = i;
1638
1638
  }
1639
1639
  toJSON(t, i) {
1640
1640
  const r = [];
@@ -1645,7 +1645,7 @@ class Ar extends vr {
1645
1645
  return r;
1646
1646
  }
1647
1647
  toString(t, i, r) {
1648
- return t ? kr(this, t, {
1648
+ return t ? Ar(this, t, {
1649
1649
  blockItemPrefix: "- ",
1650
1650
  flowChars: { start: "[", end: "]" },
1651
1651
  itemIndent: (t.indent || "") + " ",
@@ -1673,7 +1673,7 @@ function nt(e) {
1673
1673
  return t && typeof t == "string" && (t = Number(t)), typeof t == "number" && Number.isInteger(t) && t >= 0 ? t : null;
1674
1674
  }
1675
1675
  function Ss(e, t, i) {
1676
- const { replacer: r } = i, n = new Ar(e);
1676
+ const { replacer: r } = i, n = new Cr(e);
1677
1677
  n.tag = "tag:yaml.org,2002:pairs";
1678
1678
  let s = 0;
1679
1679
  if (t && Symbol.iterator in Object(t))
@@ -1693,11 +1693,11 @@ function Ss(e, t, i) {
1693
1693
  throw new TypeError(`Expected tuple with one key, not ${c.length} keys`);
1694
1694
  } else
1695
1695
  u = a;
1696
- n.items.push(pi(u, l, i));
1696
+ n.items.push(hi(u, l, i));
1697
1697
  }
1698
1698
  return n;
1699
1699
  }
1700
- class di extends Ar {
1700
+ class di extends Cr {
1701
1701
  constructor() {
1702
1702
  super(), this.add = Te.prototype.add.bind(this), this.delete = Te.prototype.delete.bind(this), this.get = Te.prototype.get.bind(this), this.has = Te.prototype.has.bind(this), this.set = Te.prototype.set.bind(this), this.tag = di.tag;
1703
1703
  }
@@ -1760,7 +1760,7 @@ class mi extends Te {
1760
1760
  const { replacer: n } = r, s = new this(t);
1761
1761
  if (i && Symbol.iterator in Object(i))
1762
1762
  for (let a of i)
1763
- typeof n == "function" && (a = n.call(i, a, a)), s.items.push(pi(a, null, r));
1763
+ typeof n == "function" && (a = n.call(i, a, a)), s.items.push(hi(a, null, r));
1764
1764
  return s;
1765
1765
  }
1766
1766
  }
@@ -1770,11 +1770,11 @@ new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=
1770
1770
  new Set(",[]{}");
1771
1771
  new Set(` ,[]{}
1772
1772
  \r `);
1773
- var we = 1e6, Ri = 1e6, Ze = "[big.js] ", et = Ze + "Invalid ", At = et + "decimal places", ws = et + "rounding mode", Cr = Ze + "Division by zero", I = {}, se = void 0;
1773
+ var ke = 1e6, Fi = 1e6, Ze = "[big.js] ", et = Ze + "Invalid ", At = et + "decimal places", ks = et + "rounding mode", Er = Ze + "Division by zero", I = {}, se = void 0;
1774
1774
  function Ee(e, t, i, r) {
1775
1775
  var n = e.c;
1776
1776
  if (i === se && (i = e.constructor.RM), i !== 0 && i !== 1 && i !== 2 && i !== 3)
1777
- throw Error(ws);
1777
+ throw Error(ks);
1778
1778
  if (t < 1)
1779
1779
  r = i === 3 && (r || !!n[0]) || t === 0 && (i === 1 && n[0] >= 5 || i === 2 && (n[0] > 5 || n[0] === 5 && (r || n[1] !== se))), n.length = 1, r ? (e.e = e.e - t + 1, n[0] = 1) : n[0] = e.e = 0;
1780
1780
  else if (t < n.length) {
@@ -1818,39 +1818,39 @@ I.cmp = function(e) {
1818
1818
  };
1819
1819
  I.div = function(e) {
1820
1820
  var t = this, i = t.constructor, r = t.c, n = (e = new i(e)).c, s = t.s == e.s ? 1 : -1, a = i.DP;
1821
- if (a !== ~~a || a < 0 || a > we)
1821
+ if (a !== ~~a || a < 0 || a > ke)
1822
1822
  throw Error(At);
1823
1823
  if (!n[0])
1824
- throw Error(Cr);
1824
+ throw Error(Er);
1825
1825
  if (!r[0])
1826
1826
  return e.s = s, e.c = [e.e = 0], e;
1827
- var u, l, c, h, f, d = n.slice(), g = u = n.length, y = r.length, p = r.slice(0, u), m = p.length, _ = e, A = _.c = [], C = 0, E = a + (_.e = t.e - e.e) + 1;
1828
- for (_.s = s, s = E < 0 ? 0 : E, d.unshift(0); m++ < u; ) p.push(0);
1827
+ var u, l, c, p, f, d = n.slice(), g = u = n.length, y = r.length, h = r.slice(0, u), m = h.length, _ = e, A = _.c = [], C = 0, E = a + (_.e = t.e - e.e) + 1;
1828
+ for (_.s = s, s = E < 0 ? 0 : E, d.unshift(0); m++ < u; ) h.push(0);
1829
1829
  do {
1830
1830
  for (c = 0; c < 10; c++) {
1831
- if (u != (m = p.length))
1832
- h = u > m ? 1 : -1;
1831
+ if (u != (m = h.length))
1832
+ p = u > m ? 1 : -1;
1833
1833
  else
1834
- for (f = -1, h = 0; ++f < u; )
1835
- if (n[f] != p[f]) {
1836
- h = n[f] > p[f] ? 1 : -1;
1834
+ for (f = -1, p = 0; ++f < u; )
1835
+ if (n[f] != h[f]) {
1836
+ p = n[f] > h[f] ? 1 : -1;
1837
1837
  break;
1838
1838
  }
1839
- if (h < 0) {
1839
+ if (p < 0) {
1840
1840
  for (l = m == u ? n : d; m; ) {
1841
- if (p[--m] < l[m]) {
1842
- for (f = m; f && !p[--f]; ) p[f] = 9;
1843
- --p[f], p[m] += 10;
1841
+ if (h[--m] < l[m]) {
1842
+ for (f = m; f && !h[--f]; ) h[f] = 9;
1843
+ --h[f], h[m] += 10;
1844
1844
  }
1845
- p[m] -= l[m];
1845
+ h[m] -= l[m];
1846
1846
  }
1847
- for (; !p[0]; ) p.shift();
1847
+ for (; !h[0]; ) h.shift();
1848
1848
  } else
1849
1849
  break;
1850
1850
  }
1851
- A[C++] = h ? c : ++c, p[0] && h ? p[m] = r[g] || 0 : p = [r[g]];
1852
- } while ((g++ < y || p[0] !== se) && s--);
1853
- return !A[0] && C != 1 && (A.shift(), _.e--, E--), C > E && Ee(_, E, i.RM, p[0] !== se), _;
1851
+ A[C++] = p ? c : ++c, h[0] && p ? h[m] = r[g] || 0 : h = [r[g]];
1852
+ } while ((g++ < y || h[0] !== se) && s--);
1853
+ return !A[0] && C != 1 && (A.shift(), _.e--, E--), C > E && Ee(_, E, i.RM, h[0] !== se), _;
1854
1854
  };
1855
1855
  I.eq = function(e) {
1856
1856
  return this.cmp(e) === 0;
@@ -1871,11 +1871,11 @@ I.minus = I.sub = function(e) {
1871
1871
  var t, i, r, n, s = this, a = s.constructor, u = s.s, l = (e = new a(e)).s;
1872
1872
  if (u != l)
1873
1873
  return e.s = -l, s.plus(e);
1874
- var c = s.c.slice(), h = s.e, f = e.c, d = e.e;
1874
+ var c = s.c.slice(), p = s.e, f = e.c, d = e.e;
1875
1875
  if (!c[0] || !f[0])
1876
1876
  return f[0] ? e.s = -l : c[0] ? e = new a(s) : e.s = 1, e;
1877
- if (u = h - d) {
1878
- for ((n = u < 0) ? (u = -u, r = c) : (d = h, r = f), r.reverse(), l = u; l--; ) r.push(0);
1877
+ if (u = p - d) {
1878
+ for ((n = u < 0) ? (u = -u, r = c) : (d = p, r = f), r.reverse(), l = u; l--; ) r.push(0);
1879
1879
  r.reverse();
1880
1880
  } else
1881
1881
  for (i = ((n = c.length < f.length) ? c : f).length, u = l = 0; l < i; l++)
@@ -1899,7 +1899,7 @@ I.minus = I.sub = function(e) {
1899
1899
  I.mod = function(e) {
1900
1900
  var t, i = this, r = i.constructor, n = i.s, s = (e = new r(e)).s;
1901
1901
  if (!e.c[0])
1902
- throw Error(Cr);
1902
+ throw Error(Er);
1903
1903
  return i.s = e.s = 1, t = e.cmp(i) == 1, i.s = n, e.s = s, t ? new r(i) : (n = r.DP, s = r.RM, r.DP = r.RM = 0, i = i.div(e), r.DP = n, r.RM = s, this.minus(i.times(e)));
1904
1904
  };
1905
1905
  I.neg = function() {
@@ -1923,20 +1923,20 @@ I.plus = I.add = function(e) {
1923
1923
  };
1924
1924
  I.pow = function(e) {
1925
1925
  var t = this, i = new t.constructor("1"), r = i, n = e < 0;
1926
- if (e !== ~~e || e < -Ri || e > Ri)
1926
+ if (e !== ~~e || e < -Fi || e > Fi)
1927
1927
  throw Error(et + "exponent");
1928
1928
  for (n && (e = -e); e & 1 && (r = r.times(t)), e >>= 1, !!e; )
1929
1929
  t = t.times(t);
1930
1930
  return n ? i.div(r) : r;
1931
1931
  };
1932
1932
  I.prec = function(e, t) {
1933
- if (e !== ~~e || e < 1 || e > we)
1933
+ if (e !== ~~e || e < 1 || e > ke)
1934
1934
  throw Error(et + "precision");
1935
1935
  return Ee(new this.constructor(this), e, t);
1936
1936
  };
1937
1937
  I.round = function(e, t) {
1938
1938
  if (e === se) e = 0;
1939
- else if (e !== ~~e || e < -we || e > we)
1939
+ else if (e !== ~~e || e < -ke || e > ke)
1940
1940
  throw Error(At);
1941
1941
  return Ee(new this.constructor(this), e + this.e + 1, t);
1942
1942
  };
@@ -1967,7 +1967,7 @@ I.times = I.mul = function(e) {
1967
1967
  I.toExponential = function(e, t) {
1968
1968
  var i = this, r = i.c[0];
1969
1969
  if (e !== se) {
1970
- if (e !== ~~e || e < 0 || e > we)
1970
+ if (e !== ~~e || e < 0 || e > ke)
1971
1971
  throw Error(At);
1972
1972
  for (i = Ee(new i.constructor(i), ++e, t); i.c.length < e; ) i.c.push(0);
1973
1973
  }
@@ -1976,7 +1976,7 @@ I.toExponential = function(e, t) {
1976
1976
  I.toFixed = function(e, t) {
1977
1977
  var i = this, r = i.c[0];
1978
1978
  if (e !== se) {
1979
- if (e !== ~~e || e < 0 || e > we)
1979
+ if (e !== ~~e || e < 0 || e > ke)
1980
1980
  throw Error(At);
1981
1981
  for (i = Ee(new i.constructor(i), e + i.e + 1, t), e = e + i.e + 1; i.c.length < e; ) i.c.push(0);
1982
1982
  }
@@ -1995,7 +1995,7 @@ I.toNumber = function() {
1995
1995
  I.toPrecision = function(e, t) {
1996
1996
  var i = this, r = i.constructor, n = i.c[0];
1997
1997
  if (e !== se) {
1998
- if (e !== ~~e || e < 1 || e > we)
1998
+ if (e !== ~~e || e < 1 || e > ke)
1999
1999
  throw Error(et + "precision");
2000
2000
  for (i = Ee(new r(i), e, t); i.c.length < e; ) i.c.push(0);
2001
2001
  }
@@ -2007,7 +2007,7 @@ I.valueOf = function() {
2007
2007
  throw Error(Ze + "valueOf disallowed");
2008
2008
  return Ie(e, e.e <= t.NE || e.e >= t.PE, !0);
2009
2009
  };
2010
- function ks() {
2010
+ function ws() {
2011
2011
  return {
2012
2012
  var: {},
2013
2013
  step: {},
@@ -2021,7 +2021,7 @@ function gi() {
2021
2021
  annotation: ""
2022
2022
  };
2023
2023
  }
2024
- function Er() {
2024
+ function Ir() {
2025
2025
  return {
2026
2026
  ...gi(),
2027
2027
  elapsed_ms: 0,
@@ -2130,7 +2130,7 @@ function Zt(e) {
2130
2130
  return e == null || typeof e != "object" ? JSON.stringify(e) : Array.isArray(e) ? `[${e.map((i) => Zt(i)).join(",")}]` : `{${Object.entries(e).sort(([i], [r]) => i.localeCompare(r)).map(([i, r]) => `${JSON.stringify(i)}:${Zt(r)}`).join(",")}}`;
2131
2131
  }
2132
2132
  function iu(e) {
2133
- return Zt(Ir(e));
2133
+ return Zt(Nr(e));
2134
2134
  }
2135
2135
  function Es(e) {
2136
2136
  if (!e || typeof e != "object" || Array.isArray(e))
@@ -2143,7 +2143,7 @@ function Es(e) {
2143
2143
  }
2144
2144
  function Is(e) {
2145
2145
  if (!e || typeof e != "object" || Array.isArray(e))
2146
- return Er();
2146
+ return Ir();
2147
2147
  const t = e;
2148
2148
  return {
2149
2149
  checked: !!t.checked,
@@ -2151,8 +2151,8 @@ function Is(e) {
2151
2151
  ...Cs(t)
2152
2152
  };
2153
2153
  }
2154
- function Ir(e) {
2155
- const t = ks();
2154
+ function Nr(e) {
2155
+ const t = ws();
2156
2156
  if (!e || typeof e != "object")
2157
2157
  return t;
2158
2158
  if (e.var && typeof e.var == "object" && (t.var = { ...e.var }), e.quiz && typeof e.quiz == "object" && (t.quiz = { ...e.quiz }), e.step && typeof e.step == "object")
@@ -2172,7 +2172,7 @@ function Ns(e, t) {
2172
2172
  st(e.var, t.var), st(e.step, t.step), st(e.check, t.check), st(e.quiz, t.quiz);
2173
2173
  }
2174
2174
  function ru(e, t) {
2175
- Ns(e, Ir(t));
2175
+ Ns(e, Nr(t));
2176
2176
  }
2177
2177
  function Ts(e) {
2178
2178
  return Array.isArray(e) ? e.map((t) => typeof t == "string" && t.trim() ? { name: t.trim() } : t && typeof t == "object" && typeof t.name == "string" ? { name: t.name } : null).filter((t) => t !== null) : [];
@@ -2203,7 +2203,7 @@ function Os(e) {
2203
2203
  function Ls(e) {
2204
2204
  return Array.isArray(e) ? e.filter((t) => !!t && typeof t == "object" && typeof t.id == "string" && Array.isArray(t.subvars)) : [];
2205
2205
  }
2206
- function Fi(e) {
2206
+ function Mi(e) {
2207
2207
  return (e.type === "choice" || e.type === "true_false") && Array.isArray(e.options) && e.options.some((t) => Array.isArray(t.followups) && t.followups.length > 0);
2208
2208
  }
2209
2209
  function Ft(e, t) {
@@ -2220,7 +2220,7 @@ function Ft(e, t) {
2220
2220
  }
2221
2221
  function Vs(e) {
2222
2222
  if (e.type === "choice") {
2223
- const t = new Set((e.options || []).map((n) => n.key)), i = Fi(e);
2223
+ const t = new Set((e.options || []).map((n) => n.key)), i = Mi(e);
2224
2224
  if (e.mode === "multiple") {
2225
2225
  let n = [];
2226
2226
  return Array.isArray(e.default) && (n = e.default.filter((s) => typeof s == "string" && t.has(s))), i ? {
@@ -2236,7 +2236,7 @@ function Vs(e) {
2236
2236
  }
2237
2237
  if (e.type === "true_false") {
2238
2238
  const t = typeof e.default == "boolean" ? e.default : null;
2239
- return t !== null && Fi(e) ? {
2239
+ return t !== null && Mi(e) ? {
2240
2240
  selected: t,
2241
2241
  followups: Ft(e, [String(t)])
2242
2242
  } : t;
@@ -2274,7 +2274,7 @@ function lt(e) {
2274
2274
  t[i] = "";
2275
2275
  return t;
2276
2276
  }
2277
- function Mi(e, t) {
2277
+ function Bi(e, t) {
2278
2278
  if (!Array.isArray(e))
2279
2279
  return [lt(t)];
2280
2280
  const i = e.map((r) => {
@@ -2289,7 +2289,7 @@ function Mi(e, t) {
2289
2289
  });
2290
2290
  return i.length === 0 && i.push(lt(t)), i;
2291
2291
  }
2292
- function Bi(e, t) {
2292
+ function ji(e, t) {
2293
2293
  return e.length !== 1 ? !1 : t.every((i) => e[0]?.[i] === "");
2294
2294
  }
2295
2295
  function nu(e) {
@@ -2308,39 +2308,39 @@ function su(e, t, i, r, n, s) {
2308
2308
  return { rowsAdded: 0, changedCells: a };
2309
2309
  const u = new Set(s?.disabledColumns ?? []);
2310
2310
  let l = 0;
2311
- for (const [c, h] of n.entries()) {
2312
- const f = i + c, d = h.map((y, p) => ({
2311
+ for (const [c, p] of n.entries()) {
2312
+ const f = i + c, d = p.map((y, h) => ({
2313
2313
  value: y,
2314
- columnIndex: r + p
2315
- })).filter(({ columnIndex: y }) => y >= 0 && y < t.length).map(({ value: y, columnIndex: p }) => ({
2314
+ columnIndex: r + h
2315
+ })).filter(({ columnIndex: y }) => y >= 0 && y < t.length).map(({ value: y, columnIndex: h }) => ({
2316
2316
  value: y,
2317
- column: t[p]
2317
+ column: t[h]
2318
2318
  })).filter(({ column: y }) => !u.has(y));
2319
2319
  if (d.length === 0)
2320
2320
  continue;
2321
2321
  for (; f >= e.length; )
2322
2322
  e.push(lt(t)), l += 1;
2323
2323
  const g = e[f];
2324
- for (const { column: y, value: p } of d)
2325
- g[y] !== p && (g[y] = p, a.push({ rowIndex: f, column: y, value: p }));
2324
+ for (const { column: y, value: h } of d)
2325
+ g[y] !== h && (g[y] = h, a.push({ rowIndex: f, column: y, value: h }));
2326
2326
  }
2327
2327
  return { rowsAdded: l, changedCells: a };
2328
2328
  }
2329
2329
  function au(e, t) {
2330
2330
  let i = !1;
2331
2331
  for (const r of Ls(t.var_table)) {
2332
- const n = r.subvars.map((f) => f.id), s = r.id in e.var, a = Array.isArray(r.default) && r.default.length > 0 ? Mi(r.default, n) : void 0, u = s ? e.var[r.id] : a ?? r.default, l = Mi(u, n), h = !!(s && a && Bi(l, n) && !Bi(a, n)) && a ? a : l;
2333
- (!s || JSON.stringify(h) !== JSON.stringify(u)) && (e.var[r.id] = h, i = !0);
2332
+ const n = r.subvars.map((f) => f.id), s = r.id in e.var, a = Array.isArray(r.default) && r.default.length > 0 ? Bi(r.default, n) : void 0, u = s ? e.var[r.id] : a ?? r.default, l = Bi(u, n), p = !!(s && a && ji(l, n) && !ji(a, n)) && a ? a : l;
2333
+ (!s || JSON.stringify(p) !== JSON.stringify(u)) && (e.var[r.id] = p, i = !0);
2334
2334
  }
2335
2335
  for (const r of Ts(t.step))
2336
- r.name in e.step || (e.step[r.name] = Er(), i = !0);
2336
+ r.name in e.step || (e.step[r.name] = Ir(), i = !0);
2337
2337
  for (const r of Ps(t.check))
2338
2338
  r.name in e.check || (e.check[r.name] = gi(), i = !0);
2339
2339
  for (const r of Os(t.quiz))
2340
2340
  r.id in e.quiz || (e.quiz[r.id] = Vs(r), i = !0);
2341
2341
  return i;
2342
2342
  }
2343
- var Ds = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], Nr = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], Rs = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", Tr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Mt = {
2343
+ var Ds = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], Tr = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], Rs = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", Pr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Mt = {
2344
2344
  3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",
2345
2345
  5: "class enum extends super const export import",
2346
2346
  6: "enum",
@@ -2350,7 +2350,7 @@ var Ds = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166,
2350
2350
  5: Bt,
2351
2351
  "5module": Bt + " export import",
2352
2352
  6: Bt + " const class extends export import super"
2353
- }, Ms = /^in(stanceof)?$/, Bs = new RegExp("[" + Tr + "]"), js = new RegExp("[" + Tr + Rs + "]");
2353
+ }, Ms = /^in(stanceof)?$/, Bs = new RegExp("[" + Pr + "]"), js = new RegExp("[" + Pr + Rs + "]");
2354
2354
  function ei(e, t) {
2355
2355
  for (var i = 65536, r = 0; r < t.length; r += 2) {
2356
2356
  if (i += t[r], i > e)
@@ -2361,47 +2361,47 @@ function ei(e, t) {
2361
2361
  return !1;
2362
2362
  }
2363
2363
  function Z(e, t) {
2364
- return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Bs.test(String.fromCharCode(e)) : t === !1 ? !1 : ei(e, Nr);
2364
+ return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Bs.test(String.fromCharCode(e)) : t === !1 ? !1 : ei(e, Tr);
2365
2365
  }
2366
- function he(e, t) {
2367
- return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && js.test(String.fromCharCode(e)) : t === !1 ? !1 : ei(e, Nr) || ei(e, Ds);
2366
+ function pe(e, t) {
2367
+ return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && js.test(String.fromCharCode(e)) : t === !1 ? !1 : ei(e, Tr) || ei(e, Ds);
2368
2368
  }
2369
- var k = function(t, i) {
2369
+ var w = function(t, i) {
2370
2370
  i === void 0 && (i = {}), this.label = t, this.keyword = i.keyword, this.beforeExpr = !!i.beforeExpr, this.startsExpr = !!i.startsExpr, this.isLoop = !!i.isLoop, this.isAssign = !!i.isAssign, this.prefix = !!i.prefix, this.postfix = !!i.postfix, this.binop = i.binop || null, this.updateContext = null;
2371
2371
  };
2372
2372
  function z(e, t) {
2373
- return new k(e, { beforeExpr: !0, binop: t });
2373
+ return new w(e, { beforeExpr: !0, binop: t });
2374
2374
  }
2375
2375
  var U = { beforeExpr: !0 }, B = { startsExpr: !0 }, yi = {};
2376
- function w(e, t) {
2377
- return t === void 0 && (t = {}), t.keyword = e, yi[e] = new k(e, t);
2376
+ function k(e, t) {
2377
+ return t === void 0 && (t = {}), t.keyword = e, yi[e] = new w(e, t);
2378
2378
  }
2379
2379
  var o = {
2380
- num: new k("num", B),
2381
- regexp: new k("regexp", B),
2382
- string: new k("string", B),
2383
- name: new k("name", B),
2384
- privateId: new k("privateId", B),
2385
- eof: new k("eof"),
2380
+ num: new w("num", B),
2381
+ regexp: new w("regexp", B),
2382
+ string: new w("string", B),
2383
+ name: new w("name", B),
2384
+ privateId: new w("privateId", B),
2385
+ eof: new w("eof"),
2386
2386
  // Punctuation token types.
2387
- bracketL: new k("[", { beforeExpr: !0, startsExpr: !0 }),
2388
- bracketR: new k("]"),
2389
- braceL: new k("{", { beforeExpr: !0, startsExpr: !0 }),
2390
- braceR: new k("}"),
2391
- parenL: new k("(", { beforeExpr: !0, startsExpr: !0 }),
2392
- parenR: new k(")"),
2393
- comma: new k(",", U),
2394
- semi: new k(";", U),
2395
- colon: new k(":", U),
2396
- dot: new k("."),
2397
- question: new k("?", U),
2398
- questionDot: new k("?."),
2399
- arrow: new k("=>", U),
2400
- template: new k("template"),
2401
- invalidTemplate: new k("invalidTemplate"),
2402
- ellipsis: new k("...", U),
2403
- backQuote: new k("`", B),
2404
- dollarBraceL: new k("${", { beforeExpr: !0, startsExpr: !0 }),
2387
+ bracketL: new w("[", { beforeExpr: !0, startsExpr: !0 }),
2388
+ bracketR: new w("]"),
2389
+ braceL: new w("{", { beforeExpr: !0, startsExpr: !0 }),
2390
+ braceR: new w("}"),
2391
+ parenL: new w("(", { beforeExpr: !0, startsExpr: !0 }),
2392
+ parenR: new w(")"),
2393
+ comma: new w(",", U),
2394
+ semi: new w(";", U),
2395
+ colon: new w(":", U),
2396
+ dot: new w("."),
2397
+ question: new w("?", U),
2398
+ questionDot: new w("?."),
2399
+ arrow: new w("=>", U),
2400
+ template: new w("template"),
2401
+ invalidTemplate: new w("invalidTemplate"),
2402
+ ellipsis: new w("...", U),
2403
+ backQuote: new w("`", B),
2404
+ dollarBraceL: new w("${", { beforeExpr: !0, startsExpr: !0 }),
2405
2405
  // Operators. These carry several kinds of properties to help the
2406
2406
  // parser use them properly (the presence of these properties is
2407
2407
  // what categorizes them as operators).
@@ -2415,10 +2415,10 @@ var o = {
2415
2415
  // `isAssign` marks all of `=`, `+=`, `-=` etcetera, which act as
2416
2416
  // binary operators with a very low precedence, that should result
2417
2417
  // in AssignmentExpression nodes.
2418
- eq: new k("=", { beforeExpr: !0, isAssign: !0 }),
2419
- assign: new k("_=", { beforeExpr: !0, isAssign: !0 }),
2420
- incDec: new k("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }),
2421
- prefix: new k("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2418
+ eq: new w("=", { beforeExpr: !0, isAssign: !0 }),
2419
+ assign: new w("_=", { beforeExpr: !0, isAssign: !0 }),
2420
+ incDec: new w("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }),
2421
+ prefix: new w("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2422
2422
  logicalOR: z("||", 1),
2423
2423
  logicalAND: z("&&", 2),
2424
2424
  bitwiseOR: z("|", 3),
@@ -2427,53 +2427,53 @@ var o = {
2427
2427
  equality: z("==/!=/===/!==", 6),
2428
2428
  relational: z("</>/<=/>=", 7),
2429
2429
  bitShift: z("<</>>/>>>", 8),
2430
- plusMin: new k("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
2430
+ plusMin: new w("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
2431
2431
  modulo: z("%", 10),
2432
2432
  star: z("*", 10),
2433
2433
  slash: z("/", 10),
2434
- starstar: new k("**", { beforeExpr: !0 }),
2434
+ starstar: new w("**", { beforeExpr: !0 }),
2435
2435
  coalesce: z("??", 1),
2436
2436
  // Keyword token types.
2437
- _break: w("break"),
2438
- _case: w("case", U),
2439
- _catch: w("catch"),
2440
- _continue: w("continue"),
2441
- _debugger: w("debugger"),
2442
- _default: w("default", U),
2443
- _do: w("do", { isLoop: !0, beforeExpr: !0 }),
2444
- _else: w("else", U),
2445
- _finally: w("finally"),
2446
- _for: w("for", { isLoop: !0 }),
2447
- _function: w("function", B),
2448
- _if: w("if"),
2449
- _return: w("return", U),
2450
- _switch: w("switch"),
2451
- _throw: w("throw", U),
2452
- _try: w("try"),
2453
- _var: w("var"),
2454
- _const: w("const"),
2455
- _while: w("while", { isLoop: !0 }),
2456
- _with: w("with"),
2457
- _new: w("new", { beforeExpr: !0, startsExpr: !0 }),
2458
- _this: w("this", B),
2459
- _super: w("super", B),
2460
- _class: w("class", B),
2461
- _extends: w("extends", U),
2462
- _export: w("export"),
2463
- _import: w("import", B),
2464
- _null: w("null", B),
2465
- _true: w("true", B),
2466
- _false: w("false", B),
2467
- _in: w("in", { beforeExpr: !0, binop: 7 }),
2468
- _instanceof: w("instanceof", { beforeExpr: !0, binop: 7 }),
2469
- _typeof: w("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2470
- _void: w("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2471
- _delete: w("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
2437
+ _break: k("break"),
2438
+ _case: k("case", U),
2439
+ _catch: k("catch"),
2440
+ _continue: k("continue"),
2441
+ _debugger: k("debugger"),
2442
+ _default: k("default", U),
2443
+ _do: k("do", { isLoop: !0, beforeExpr: !0 }),
2444
+ _else: k("else", U),
2445
+ _finally: k("finally"),
2446
+ _for: k("for", { isLoop: !0 }),
2447
+ _function: k("function", B),
2448
+ _if: k("if"),
2449
+ _return: k("return", U),
2450
+ _switch: k("switch"),
2451
+ _throw: k("throw", U),
2452
+ _try: k("try"),
2453
+ _var: k("var"),
2454
+ _const: k("const"),
2455
+ _while: k("while", { isLoop: !0 }),
2456
+ _with: k("with"),
2457
+ _new: k("new", { beforeExpr: !0, startsExpr: !0 }),
2458
+ _this: k("this", B),
2459
+ _super: k("super", B),
2460
+ _class: k("class", B),
2461
+ _extends: k("extends", U),
2462
+ _export: k("export"),
2463
+ _import: k("import", B),
2464
+ _null: k("null", B),
2465
+ _true: k("true", B),
2466
+ _false: k("false", B),
2467
+ _in: k("in", { beforeExpr: !0, binop: 7 }),
2468
+ _instanceof: k("instanceof", { beforeExpr: !0, binop: 7 }),
2469
+ _typeof: k("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2470
+ _void: k("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2471
+ _delete: k("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
2472
2472
  }, j = /\r\n?|\n|\u2028|\u2029/, $s = new RegExp(j.source, "g");
2473
2473
  function Me(e) {
2474
2474
  return e === 10 || e === 13 || e === 8232 || e === 8233;
2475
2475
  }
2476
- function Pr(e, t, i) {
2476
+ function Or(e, t, i) {
2477
2477
  i === void 0 && (i = e.length);
2478
2478
  for (var r = t; r < i; r++) {
2479
2479
  var n = e.charCodeAt(r);
@@ -2482,13 +2482,13 @@ function Pr(e, t, i) {
2482
2482
  }
2483
2483
  return -1;
2484
2484
  }
2485
- var Or = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, R = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, Lr = Object.prototype, Ws = Lr.hasOwnProperty, zs = Lr.toString, Be = Object.hasOwn || (function(e, t) {
2485
+ var Lr = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, R = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, Vr = Object.prototype, Ws = Vr.hasOwnProperty, zs = Vr.toString, Be = Object.hasOwn || (function(e, t) {
2486
2486
  return Ws.call(e, t);
2487
- }), ji = Array.isArray || (function(e) {
2487
+ }), $i = Array.isArray || (function(e) {
2488
2488
  return zs.call(e) === "[object Array]";
2489
- }), $i = /* @__PURE__ */ Object.create(null);
2489
+ }), Wi = /* @__PURE__ */ Object.create(null);
2490
2490
  function ce(e) {
2491
- return $i[e] || ($i[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
2491
+ return Wi[e] || (Wi[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
2492
2492
  }
2493
2493
  function ae(e) {
2494
2494
  return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
@@ -2502,9 +2502,9 @@ Qe.prototype.offset = function(t) {
2502
2502
  var It = function(t, i, r) {
2503
2503
  this.start = i, this.end = r, t.sourceFile !== null && (this.source = t.sourceFile);
2504
2504
  };
2505
- function Vr(e, t) {
2505
+ function Dr(e, t) {
2506
2506
  for (var i = 1, r = 0; ; ) {
2507
- var n = Pr(e, r, t);
2507
+ var n = Or(e, r, t);
2508
2508
  if (n < 0)
2509
2509
  return new Qe(i, t - r);
2510
2510
  ++i, r = n;
@@ -2606,19 +2606,19 @@ var ti = {
2606
2606
  // When enabled, parenthesized expressions are represented by
2607
2607
  // (non-standard) ParenthesizedExpression nodes
2608
2608
  preserveParens: !1
2609
- }, Wi = !1;
2609
+ }, zi = !1;
2610
2610
  function qs(e) {
2611
2611
  var t = {};
2612
2612
  for (var i in ti)
2613
2613
  t[i] = e && Be(e, i) ? e[i] : ti[i];
2614
- if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!Wi && typeof console == "object" && console.warn && (Wi = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
2615
- Defaulting to 2020, but this will stop working in the future.`)), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved == null && (t.allowReserved = t.ecmaVersion < 5), (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), ji(t.onToken)) {
2614
+ if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!zi && typeof console == "object" && console.warn && (zi = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
2615
+ Defaulting to 2020, but this will stop working in the future.`)), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved == null && (t.allowReserved = t.ecmaVersion < 5), (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), $i(t.onToken)) {
2616
2616
  var r = t.onToken;
2617
2617
  t.onToken = function(n) {
2618
2618
  return r.push(n);
2619
2619
  };
2620
2620
  }
2621
- return ji(t.onComment) && (t.onComment = Gs(t, t.onComment)), t;
2621
+ return $i(t.onComment) && (t.onComment = Gs(t, t.onComment)), t;
2622
2622
  }
2623
2623
  function Gs(e, t) {
2624
2624
  return function(i, r, n, s, a, u) {
@@ -2631,11 +2631,11 @@ function Gs(e, t) {
2631
2631
  e.locations && (l.loc = new It(this, a, u)), e.ranges && (l.range = [n, s]), t.push(l);
2632
2632
  };
2633
2633
  }
2634
- var He = 1, je = 2, bi = 4, Dr = 8, xi = 16, Rr = 32, Nt = 64, Fr = 128, Ne = 256, tt = 512, Tt = He | je | Ne;
2634
+ var He = 1, je = 2, bi = 4, Rr = 8, xi = 16, Fr = 32, Nt = 64, Mr = 128, Ne = 256, tt = 512, Tt = He | je | Ne;
2635
2635
  function vi(e, t) {
2636
- return je | (e ? bi : 0) | (t ? Dr : 0);
2636
+ return je | (e ? bi : 0) | (t ? Rr : 0);
2637
2637
  }
2638
- var dt = 0, _i = 1, ue = 2, Mr = 3, Br = 4, jr = 5, V = function(t, i, r) {
2638
+ var dt = 0, _i = 1, ue = 2, Br = 3, jr = 4, $r = 5, V = function(t, i, r) {
2639
2639
  this.options = t = qs(t), this.sourceFile = t.sourceFile, this.keywords = ce(Fs[t.ecmaVersion >= 6 ? 6 : t.sourceType === "module" ? "5module" : 5]);
2640
2640
  var n = "";
2641
2641
  t.allowReserved !== !0 && (n = Mt[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (n += " await")), this.reservedWords = ce(n);
@@ -2651,7 +2651,7 @@ te.inFunction.get = function() {
2651
2651
  return (this.currentVarScope().flags & je) > 0;
2652
2652
  };
2653
2653
  te.inGenerator.get = function() {
2654
- return (this.currentVarScope().flags & Dr) > 0;
2654
+ return (this.currentVarScope().flags & Rr) > 0;
2655
2655
  };
2656
2656
  te.inAsync.get = function() {
2657
2657
  return (this.currentVarScope().flags & bi) > 0;
@@ -2671,7 +2671,7 @@ te.allowSuper.get = function() {
2671
2671
  return (t & Nt) > 0 || this.options.allowSuperOutsideMethod;
2672
2672
  };
2673
2673
  te.allowDirectSuper.get = function() {
2674
- return (this.currentThisScope().flags & Fr) > 0;
2674
+ return (this.currentThisScope().flags & Mr) > 0;
2675
2675
  };
2676
2676
  te.treatFunctionsAsVar.get = function() {
2677
2677
  return this.treatFunctionsAsVarInScope(this.currentScope());
@@ -2804,7 +2804,7 @@ x.isLet = function(e) {
2804
2804
  if (r === 123 || r > 55295 && r < 56320)
2805
2805
  return !0;
2806
2806
  if (Z(r, !0)) {
2807
- for (var n = i + 1; he(r = this.input.charCodeAt(n), !0); )
2807
+ for (var n = i + 1; pe(r = this.input.charCodeAt(n), !0); )
2808
2808
  ++n;
2809
2809
  if (r === 92 || r > 55295 && r < 56320)
2810
2810
  return !0;
@@ -2819,7 +2819,7 @@ x.isAsyncFunction = function() {
2819
2819
  return !1;
2820
2820
  R.lastIndex = this.pos;
2821
2821
  var e = R.exec(this.input), t = this.pos + e[0].length, i;
2822
- return !j.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(he(i = this.input.charCodeAt(t + 8)) || i > 55295 && i < 56320));
2822
+ return !j.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(pe(i = this.input.charCodeAt(t + 8)) || i > 55295 && i < 56320));
2823
2823
  };
2824
2824
  x.isUsingKeyword = function(e, t) {
2825
2825
  if (this.options.ecmaVersion < 17 || !this.isContextual(e ? "await" : "using"))
@@ -2830,7 +2830,7 @@ x.isUsingKeyword = function(e, t) {
2830
2830
  return !1;
2831
2831
  if (e) {
2832
2832
  var n = r + 5, s;
2833
- if (this.input.slice(r, n) !== "using" || n === this.input.length || he(s = this.input.charCodeAt(n)) || s > 55295 && s < 56320)
2833
+ if (this.input.slice(r, n) !== "using" || n === this.input.length || pe(s = this.input.charCodeAt(n)) || s > 55295 && s < 56320)
2834
2834
  return !1;
2835
2835
  R.lastIndex = n;
2836
2836
  var a = R.exec(this.input);
@@ -2839,7 +2839,7 @@ x.isUsingKeyword = function(e, t) {
2839
2839
  }
2840
2840
  if (t) {
2841
2841
  var u = r + 2, l;
2842
- if (this.input.slice(r, u) === "of" && (u === this.input.length || !he(l = this.input.charCodeAt(u)) && !(l > 55295 && l < 56320)))
2842
+ if (this.input.slice(r, u) === "of" && (u === this.input.length || !pe(l = this.input.charCodeAt(u)) && !(l > 55295 && l < 56320)))
2843
2843
  return !1;
2844
2844
  }
2845
2845
  var c = this.input.charCodeAt(r);
@@ -2908,8 +2908,8 @@ x.parseStatement = function(e, t, i) {
2908
2908
  var c = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
2909
2909
  if (c)
2910
2910
  return t && this.options.sourceType === "script" && this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`"), c === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(n, !1, c), this.semicolon(), this.finishNode(n, "VariableDeclaration");
2911
- var h = this.value, f = this.parseExpression();
2912
- return r === o.name && f.type === "Identifier" && this.eat(o.colon) ? this.parseLabeledStatement(n, h, f, e) : this.parseExpressionStatement(n, f);
2911
+ var p = this.value, f = this.parseExpression();
2912
+ return r === o.name && f.type === "Identifier" && this.eat(o.colon) ? this.parseLabeledStatement(n, p, f, e) : this.parseExpressionStatement(n, f);
2913
2913
  }
2914
2914
  };
2915
2915
  x.parseBreakContinueStatement = function(e, t) {
@@ -2943,8 +2943,8 @@ x.parseForStatement = function(e) {
2943
2943
  var l = this.startNode();
2944
2944
  return this.next(), u === "await using" && this.next(), this.parseVar(l, !0, u), this.finishNode(l, "VariableDeclaration"), this.parseForAfterInit(e, l, t);
2945
2945
  }
2946
- var c = this.containsEsc, h = new Pt(), f = this.start, d = t > -1 ? this.parseExprSubscripts(h, "await") : this.parseExpression(!0, h);
2947
- return this.type === o._in || (a = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === o._in && this.unexpected(t), e.await = !0) : a && this.options.ecmaVersion >= 8 && (d.start === f && !c && d.type === "Identifier" && d.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), s && a && this.raise(d.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(d, !1, h), this.checkLValPattern(d), this.parseForIn(e, d)) : (this.checkExpressionErrors(h, !0), t > -1 && this.unexpected(t), this.parseFor(e, d));
2946
+ var c = this.containsEsc, p = new Pt(), f = this.start, d = t > -1 ? this.parseExprSubscripts(p, "await") : this.parseExpression(!0, p);
2947
+ return this.type === o._in || (a = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === o._in && this.unexpected(t), e.await = !0) : a && this.options.ecmaVersion >= 8 && (d.start === f && !c && d.type === "Identifier" && d.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), s && a && this.raise(d.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(d, !1, p), this.checkLValPattern(d), this.parseForIn(e, d)) : (this.checkExpressionErrors(p, !0), t > -1 && this.unexpected(t), this.parseFor(e, d));
2948
2948
  };
2949
2949
  x.parseForAfterInit = function(e, t, i) {
2950
2950
  return (this.type === o._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === o._in ? i > -1 && this.unexpected(i) : e.await = i > -1), this.parseForIn(e, t)) : (i > -1 && this.unexpected(i), this.parseFor(e, t));
@@ -2974,7 +2974,7 @@ x.parseThrowStatement = function(e) {
2974
2974
  var Qs = [];
2975
2975
  x.parseCatchClauseParam = function() {
2976
2976
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
2977
- return this.enterScope(t ? Rr : 0), this.checkLValPattern(e, t ? Br : ue), this.expect(o.parenR), e;
2977
+ return this.enterScope(t ? Fr : 0), this.checkLValPattern(e, t ? jr : ue), this.expect(o.parenR), e;
2978
2978
  };
2979
2979
  x.parseTryStatement = function(e) {
2980
2980
  if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === o._catch) {
@@ -3040,9 +3040,9 @@ x.parseVar = function(e, t, i, r) {
3040
3040
  x.parseVarId = function(e, t) {
3041
3041
  e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? _i : ue, !1);
3042
3042
  };
3043
- var Ge = 1, ii = 2, $r = 4;
3043
+ var Ge = 1, ii = 2, Wr = 4;
3044
3044
  x.parseFunction = function(e, t, i, r, n) {
3045
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === o.star && t & ii && this.unexpected(), e.generator = this.eat(o.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & Ge && (e.id = t & $r && this.type !== o.name ? null : this.parseIdent(), e.id && !(t & ii) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? _i : ue : Mr));
3045
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === o.star && t & ii && this.unexpected(), e.generator = this.eat(o.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & Ge && (e.id = t & Wr && this.type !== o.name ? null : this.parseIdent(), e.id && !(t & ii) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? _i : ue : Br));
3046
3046
  var s = this.yieldPos, a = this.awaitPos, u = this.awaitIdentPos;
3047
3047
  return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(vi(e.async, e.generator)), t & Ge || (e.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, i, !1, n), this.yieldPos = s, this.awaitPos = a, this.awaitIdentPos = u, this.finishNode(e, t & Ge ? "FunctionDeclaration" : "FunctionExpression");
3048
3048
  };
@@ -3074,8 +3074,8 @@ x.parseClassElement = function(e) {
3074
3074
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? a = l : r = l);
3075
3075
  }
3076
3076
  if (r ? (i.computed = !1, i.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), i.key.name = r, this.finishNode(i.key, "Identifier")) : this.parseClassElementName(i), t < 13 || this.type === o.parenL || a !== "method" || n || s) {
3077
- var c = !i.static && mt(i, "constructor"), h = c && e;
3078
- c && a !== "method" && this.raise(i.key.start, "Constructor can't have get/set modifier"), i.kind = c ? "constructor" : a, this.parseClassMethod(i, n, s, h);
3077
+ var c = !i.static && mt(i, "constructor"), p = c && e;
3078
+ c && a !== "method" && this.raise(i.key.start, "Constructor can't have get/set modifier"), i.kind = c ? "constructor" : a, this.parseClassMethod(i, n, s, p);
3079
3079
  } else
3080
3080
  this.parseClassField(i);
3081
3081
  return i;
@@ -3161,7 +3161,7 @@ x.parseExportDefaultDeclaration = function() {
3161
3161
  var e;
3162
3162
  if (this.type === o._function || (e = this.isAsyncFunction())) {
3163
3163
  var t = this.startNode();
3164
- return this.next(), e && this.next(), this.parseFunction(t, Ge | $r, !1, e);
3164
+ return this.next(), e && this.next(), this.parseFunction(t, Ge | Wr, !1, e);
3165
3165
  } else if (this.type === o._class) {
3166
3166
  var i = this.startNode();
3167
3167
  return this.parseClass(i, "nullableID");
@@ -3392,7 +3392,7 @@ G.checkLValSimple = function(e, t, i) {
3392
3392
  var r = t !== dt;
3393
3393
  switch (e.type) {
3394
3394
  case "Identifier":
3395
- this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === ue && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), i && (Be(i, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), i[e.name] = !0), t !== jr && this.declareName(e.name, t, e.start));
3395
+ this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === ue && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), i && (Be(i, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), i[e.name] = !0), t !== $r && this.declareName(e.name, t, e.start));
3396
3396
  break;
3397
3397
  case "ChainExpression":
3398
3398
  this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
@@ -3575,8 +3575,8 @@ v.parseMaybeAssign = function(e, t, i) {
3575
3575
  (this.type === o.parenL || this.type === o.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
3576
3576
  var c = this.parseMaybeConditional(e, t);
3577
3577
  if (i && (c = i.call(this, c, u, l)), this.type.isAssign) {
3578
- var h = this.startNodeAt(u, l);
3579
- return h.operator = this.value, this.type === o.eq && (c = this.toAssignable(c, !1, t)), r || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= c.start && (t.shorthandAssign = -1), this.type === o.eq ? this.checkLValPattern(c) : this.checkLValSimple(c), h.left = c, this.next(), h.right = this.parseMaybeAssign(e), a > -1 && (t.doubleProto = a), this.finishNode(h, "AssignmentExpression");
3578
+ var p = this.startNodeAt(u, l);
3579
+ return p.operator = this.value, this.type === o.eq && (c = this.toAssignable(c, !1, t)), r || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= c.start && (t.shorthandAssign = -1), this.type === o.eq ? this.checkLValPattern(c) : this.checkLValSimple(c), p.left = c, this.next(), p.right = this.parseMaybeAssign(e), a > -1 && (t.doubleProto = a), this.finishNode(p, "AssignmentExpression");
3580
3580
  } else
3581
3581
  r && this.checkExpressionErrors(t, !0);
3582
3582
  return n > -1 && (t.parenthesizedAssign = n), s > -1 && (t.trailingComma = s), c;
@@ -3602,7 +3602,7 @@ v.parseExprOp = function(e, t, i, r, n) {
3602
3602
  u && (s = o.logicalAND.binop);
3603
3603
  var l = this.value;
3604
3604
  this.next();
3605
- var c = this.start, h = this.startLoc, f = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, n), c, h, s, n), d = this.buildBinary(t, i, e, f, l, a || u);
3605
+ var c = this.start, p = this.startLoc, f = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, n), c, p, s, n), d = this.buildBinary(t, i, e, f, l, a || u);
3606
3606
  return (a && this.type === o.coalesce || u && (this.type === o.logicalOR || this.type === o.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(d, t, i, r, n);
3607
3607
  }
3608
3608
  return e;
@@ -3618,7 +3618,7 @@ v.parseMaybeUnary = function(e, t, i, r) {
3618
3618
  a = this.parseAwait(r), t = !0;
3619
3619
  else if (this.type.prefix) {
3620
3620
  var u = this.startNode(), l = this.type === o.incDec;
3621
- u.operator = this.value, u.prefix = !0, this.next(), u.argument = this.parseMaybeUnary(null, !0, l, r), this.checkExpressionErrors(e, !0), l ? this.checkLValSimple(u.argument) : this.strict && u.operator === "delete" && Wr(u.argument) ? this.raiseRecoverable(u.start, "Deleting local variable in strict mode") : u.operator === "delete" && ri(u.argument) ? this.raiseRecoverable(u.start, "Private fields can not be deleted") : t = !0, a = this.finishNode(u, l ? "UpdateExpression" : "UnaryExpression");
3621
+ u.operator = this.value, u.prefix = !0, this.next(), u.argument = this.parseMaybeUnary(null, !0, l, r), this.checkExpressionErrors(e, !0), l ? this.checkLValSimple(u.argument) : this.strict && u.operator === "delete" && zr(u.argument) ? this.raiseRecoverable(u.start, "Deleting local variable in strict mode") : u.operator === "delete" && ri(u.argument) ? this.raiseRecoverable(u.start, "Private fields can not be deleted") : t = !0, a = this.finishNode(u, l ? "UpdateExpression" : "UnaryExpression");
3622
3622
  } else if (!t && this.type === o.privateId)
3623
3623
  (r || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), a = this.parsePrivateIdent(), this.type !== o._in && this.unexpected();
3624
3624
  else {
@@ -3637,8 +3637,8 @@ v.parseMaybeUnary = function(e, t, i, r) {
3637
3637
  else
3638
3638
  return a;
3639
3639
  };
3640
- function Wr(e) {
3641
- return e.type === "Identifier" || e.type === "ParenthesizedExpression" && Wr(e.expression);
3640
+ function zr(e) {
3641
+ return e.type === "Identifier" || e.type === "ParenthesizedExpression" && zr(e.expression);
3642
3642
  }
3643
3643
  function ri(e) {
3644
3644
  return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && ri(e.expression) || e.type === "ParenthesizedExpression" && ri(e.expression);
@@ -3674,17 +3674,17 @@ v.parseSubscript = function(e, t, i, r, n, s, a) {
3674
3674
  r && l && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
3675
3675
  var c = this.eat(o.bracketL);
3676
3676
  if (c || l && this.type !== o.parenL && this.type !== o.backQuote || this.eat(o.dot)) {
3677
- var h = this.startNodeAt(t, i);
3678
- h.object = e, c ? (h.property = this.parseExpression(), this.expect(o.bracketR)) : this.type === o.privateId && e.type !== "Super" ? h.property = this.parsePrivateIdent() : h.property = this.parseIdent(this.options.allowReserved !== "never"), h.computed = !!c, u && (h.optional = l), e = this.finishNode(h, "MemberExpression");
3677
+ var p = this.startNodeAt(t, i);
3678
+ p.object = e, c ? (p.property = this.parseExpression(), this.expect(o.bracketR)) : this.type === o.privateId && e.type !== "Super" ? p.property = this.parsePrivateIdent() : p.property = this.parseIdent(this.options.allowReserved !== "never"), p.computed = !!c, u && (p.optional = l), e = this.finishNode(p, "MemberExpression");
3679
3679
  } else if (!r && this.eat(o.parenL)) {
3680
3680
  var f = new Pt(), d = this.yieldPos, g = this.awaitPos, y = this.awaitIdentPos;
3681
3681
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
3682
- var p = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, f);
3682
+ var h = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, f);
3683
3683
  if (n && !l && this.shouldParseAsyncArrow())
3684
- return this.checkPatternErrors(f, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = d, this.awaitPos = g, this.awaitIdentPos = y, this.parseSubscriptAsyncArrow(t, i, p, a);
3684
+ return this.checkPatternErrors(f, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = d, this.awaitPos = g, this.awaitIdentPos = y, this.parseSubscriptAsyncArrow(t, i, h, a);
3685
3685
  this.checkExpressionErrors(f, !0), this.yieldPos = d || this.yieldPos, this.awaitPos = g || this.awaitPos, this.awaitIdentPos = y || this.awaitIdentPos;
3686
3686
  var m = this.startNodeAt(t, i);
3687
- m.callee = e, m.arguments = p, u && (m.optional = l), e = this.finishNode(m, "CallExpression");
3687
+ m.callee = e, m.arguments = h, u && (m.optional = l), e = this.finishNode(m, "CallExpression");
3688
3688
  } else if (this.type === o.backQuote) {
3689
3689
  (l || s) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
3690
3690
  var _ = this.startNodeAt(t, i);
@@ -3722,8 +3722,8 @@ v.parseExprAtom = function(e, t, i) {
3722
3722
  case o._false:
3723
3723
  return r = this.startNode(), r.value = this.type === o._null ? null : this.type === o._true, r.raw = this.type.keyword, this.next(), this.finishNode(r, "Literal");
3724
3724
  case o.parenL:
3725
- var h = this.start, f = this.parseParenAndDistinguishExpression(n, t);
3726
- return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(f) && (e.parenthesizedAssign = h), e.parenthesizedBind < 0 && (e.parenthesizedBind = h)), f;
3725
+ var p = this.start, f = this.parseParenAndDistinguishExpression(n, t);
3726
+ return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(f) && (e.parenthesizedAssign = p), e.parenthesizedBind < 0 && (e.parenthesizedBind = p)), f;
3727
3727
  case o.bracketL:
3728
3728
  return r = this.startNode(), this.next(), r.elements = this.parseExprList(o.bracketR, !0, !0, e), this.finishNode(r, "ArrayExpression");
3729
3729
  case o.braceL:
@@ -3785,10 +3785,10 @@ v.parseParenAndDistinguishExpression = function(e, t) {
3785
3785
  var i = this.start, r = this.startLoc, n, s = this.options.ecmaVersion >= 8;
3786
3786
  if (this.options.ecmaVersion >= 6) {
3787
3787
  this.next();
3788
- var a = this.start, u = this.startLoc, l = [], c = !0, h = !1, f = new Pt(), d = this.yieldPos, g = this.awaitPos, y;
3788
+ var a = this.start, u = this.startLoc, l = [], c = !0, p = !1, f = new Pt(), d = this.yieldPos, g = this.awaitPos, y;
3789
3789
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== o.parenR; )
3790
3790
  if (c ? c = !1 : this.expect(o.comma), s && this.afterTrailingComma(o.parenR, !0)) {
3791
- h = !0;
3791
+ p = !0;
3792
3792
  break;
3793
3793
  } else if (this.type === o.ellipsis) {
3794
3794
  y = this.start, l.push(this.parseParenItem(this.parseRestBinding())), this.type === o.comma && this.raiseRecoverable(
@@ -3798,10 +3798,10 @@ v.parseParenAndDistinguishExpression = function(e, t) {
3798
3798
  break;
3799
3799
  } else
3800
3800
  l.push(this.parseMaybeAssign(!1, f, this.parseParenItem));
3801
- var p = this.lastTokEnd, m = this.lastTokEndLoc;
3801
+ var h = this.lastTokEnd, m = this.lastTokEndLoc;
3802
3802
  if (this.expect(o.parenR), e && this.shouldParseArrow(l) && this.eat(o.arrow))
3803
3803
  return this.checkPatternErrors(f, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = d, this.awaitPos = g, this.parseParenArrowList(i, r, l, t);
3804
- (!l.length || h) && this.unexpected(this.lastTokStart), y && this.unexpected(y), this.checkExpressionErrors(f, !0), this.yieldPos = d || this.yieldPos, this.awaitPos = g || this.awaitPos, l.length > 1 ? (n = this.startNodeAt(a, u), n.expressions = l, this.finishNodeAt(n, "SequenceExpression", p, m)) : n = l[0];
3804
+ (!l.length || p) && this.unexpected(this.lastTokStart), y && this.unexpected(y), this.checkExpressionErrors(f, !0), this.yieldPos = d || this.yieldPos, this.awaitPos = g || this.awaitPos, l.length > 1 ? (n = this.startNodeAt(a, u), n.expressions = l, this.finishNodeAt(n, "SequenceExpression", h, m)) : n = l[0];
3805
3805
  } else
3806
3806
  n = this.parseParenExpression();
3807
3807
  if (this.options.preserveParens) {
@@ -3901,7 +3901,7 @@ v.initFunction = function(e) {
3901
3901
  };
3902
3902
  v.parseMethod = function(e, t, i) {
3903
3903
  var r = this.startNode(), n = this.yieldPos, s = this.awaitPos, a = this.awaitIdentPos;
3904
- return this.initFunction(r), this.options.ecmaVersion >= 6 && (r.generator = e), this.options.ecmaVersion >= 8 && (r.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(vi(t, r.generator) | Nt | (i ? Fr : 0)), this.expect(o.parenL), r.params = this.parseBindingList(o.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(r, !1, !0, !1), this.yieldPos = n, this.awaitPos = s, this.awaitIdentPos = a, this.finishNode(r, "FunctionExpression");
3904
+ return this.initFunction(r), this.options.ecmaVersion >= 6 && (r.generator = e), this.options.ecmaVersion >= 8 && (r.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(vi(t, r.generator) | Nt | (i ? Mr : 0)), this.expect(o.parenL), r.params = this.parseBindingList(o.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(r, !1, !0, !1), this.yieldPos = n, this.awaitPos = s, this.awaitIdentPos = a, this.finishNode(r, "FunctionExpression");
3905
3905
  };
3906
3906
  v.parseArrowExpression = function(e, t, i, r) {
3907
3907
  var n = this.yieldPos, s = this.awaitPos, a = this.awaitIdentPos;
@@ -3915,7 +3915,7 @@ v.parseFunctionBody = function(e, t, i, r) {
3915
3915
  var u = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
3916
3916
  (!s || u) && (a = this.strictDirective(this.end), a && u && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
3917
3917
  var l = this.labels;
3918
- this.labels = [], a && (this.strict = !0), this.checkParams(e, !s && !a && !t && !i && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, jr), e.body = this.parseBlock(!1, void 0, a && !s), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = l;
3918
+ this.labels = [], a && (this.strict = !0), this.checkParams(e, !s && !a && !t && !i && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, $r), e.body = this.parseBlock(!1, void 0, a && !s), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = l;
3919
3919
  }
3920
3920
  this.exitScope();
3921
3921
  };
@@ -3975,7 +3975,7 @@ v.parseAwait = function(e) {
3975
3975
  };
3976
3976
  var gt = V.prototype;
3977
3977
  gt.raise = function(e, t) {
3978
- var i = Vr(this.input, e);
3978
+ var i = Dr(this.input, e);
3979
3979
  t += " (" + i.line + ":" + i.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
3980
3980
  var r = new SyntaxError(t);
3981
3981
  throw r.pos = e, r.loc = i, r.raisedAt = this.pos, r;
@@ -4002,16 +4002,16 @@ de.declareName = function(e, t, i) {
4002
4002
  if (t === ue) {
4003
4003
  var n = this.currentScope();
4004
4004
  r = n.lexical.indexOf(e) > -1 || n.functions.indexOf(e) > -1 || n.var.indexOf(e) > -1, n.lexical.push(e), this.inModule && n.flags & He && delete this.undefinedExports[e];
4005
- } else if (t === Br) {
4005
+ } else if (t === jr) {
4006
4006
  var s = this.currentScope();
4007
4007
  s.lexical.push(e);
4008
- } else if (t === Mr) {
4008
+ } else if (t === Br) {
4009
4009
  var a = this.currentScope();
4010
4010
  this.treatFunctionsAsVar ? r = a.lexical.indexOf(e) > -1 : r = a.lexical.indexOf(e) > -1 || a.var.indexOf(e) > -1, a.functions.push(e);
4011
4011
  } else
4012
4012
  for (var u = this.scopeStack.length - 1; u >= 0; --u) {
4013
4013
  var l = this.scopeStack[u];
4014
- if (l.lexical.indexOf(e) > -1 && !(l.flags & Rr && l.lexical[0] === e) || !this.treatFunctionsAsVarInScope(l) && l.functions.indexOf(e) > -1) {
4014
+ if (l.lexical.indexOf(e) > -1 && !(l.flags & Fr && l.lexical[0] === e) || !this.treatFunctionsAsVarInScope(l) && l.functions.indexOf(e) > -1) {
4015
4015
  r = !0;
4016
4016
  break;
4017
4017
  }
@@ -4049,14 +4049,14 @@ it.startNode = function() {
4049
4049
  it.startNodeAt = function(e, t) {
4050
4050
  return new Ot(this, e, t);
4051
4051
  };
4052
- function zr(e, t, i, r) {
4052
+ function Ur(e, t, i, r) {
4053
4053
  return e.type = t, e.end = i, this.options.locations && (e.loc.end = r), this.options.ranges && (e.range[1] = i), e;
4054
4054
  }
4055
4055
  it.finishNode = function(e, t) {
4056
- return zr.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
4056
+ return Ur.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
4057
4057
  };
4058
4058
  it.finishNodeAt = function(e, t, i, r) {
4059
- return zr.call(this, e, t, i, r);
4059
+ return Ur.call(this, e, t, i, r);
4060
4060
  };
4061
4061
  it.copyNode = function(e) {
4062
4062
  var t = new Ot(this, e.start, this.startLoc);
@@ -4064,12 +4064,12 @@ it.copyNode = function(e) {
4064
4064
  t[i] = e[i];
4065
4065
  return t;
4066
4066
  };
4067
- var Zs = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", Ur = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", qr = Ur + " Extended_Pictographic", Gr = qr, Kr = Gr + " EBase EComp EMod EPres ExtPict", Jr = Kr, ea = Jr, ta = {
4068
- 9: Ur,
4069
- 10: qr,
4070
- 11: Gr,
4071
- 12: Kr,
4072
- 13: Jr,
4067
+ var Zs = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", qr = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", Gr = qr + " Extended_Pictographic", Kr = Gr, Jr = Kr + " EBase EComp EMod EPres ExtPict", Qr = Jr, ea = Qr, ta = {
4068
+ 9: qr,
4069
+ 10: Gr,
4070
+ 11: Kr,
4071
+ 12: Jr,
4072
+ 13: Qr,
4073
4073
  14: ea
4074
4074
  }, ia = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", ra = {
4075
4075
  9: "",
@@ -4078,27 +4078,27 @@ var Zs = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai
4078
4078
  12: "",
4079
4079
  13: "",
4080
4080
  14: ia
4081
- }, zi = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", Qr = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", Hr = Qr + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", Yr = Hr + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Xr = Yr + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Zr = Xr + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", na = Zr + " " + Zs, sa = {
4082
- 9: Qr,
4083
- 10: Hr,
4084
- 11: Yr,
4085
- 12: Xr,
4086
- 13: Zr,
4081
+ }, Ui = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", Hr = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", Yr = Hr + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", Xr = Yr + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Zr = Xr + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", en = Zr + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", na = en + " " + Zs, sa = {
4082
+ 9: Hr,
4083
+ 10: Yr,
4084
+ 11: Xr,
4085
+ 12: Zr,
4086
+ 13: en,
4087
4087
  14: na
4088
- }, en = {};
4088
+ }, tn = {};
4089
4089
  function aa(e) {
4090
- var t = en[e] = {
4091
- binary: ce(ta[e] + " " + zi),
4090
+ var t = tn[e] = {
4091
+ binary: ce(ta[e] + " " + Ui),
4092
4092
  binaryOfStrings: ce(ra[e]),
4093
4093
  nonBinary: {
4094
- General_Category: ce(zi),
4094
+ General_Category: ce(Ui),
4095
4095
  Script: ce(sa[e])
4096
4096
  }
4097
4097
  };
4098
4098
  t.nonBinary.Script_Extensions = t.nonBinary.Script, t.nonBinary.gc = t.nonBinary.General_Category, t.nonBinary.sc = t.nonBinary.Script, t.nonBinary.scx = t.nonBinary.Script_Extensions;
4099
4099
  }
4100
- for (var jt = 0, Ui = [9, 10, 11, 12, 13, 14]; jt < Ui.length; jt += 1) {
4101
- var oa = Ui[jt];
4100
+ for (var jt = 0, qi = [9, 10, 11, 12, 13, 14]; jt < qi.length; jt += 1) {
4101
+ var oa = qi[jt];
4102
4102
  aa(oa);
4103
4103
  }
4104
4104
  var b = V.prototype, yt = function(t, i) {
@@ -4115,7 +4115,7 @@ yt.prototype.sibling = function() {
4115
4115
  return new yt(this.parent, this.base);
4116
4116
  };
4117
4117
  var ie = function(t) {
4118
- this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options.ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = en[t.options.ecmaVersion >= 14 ? 14 : t.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
4118
+ this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options.ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = tn[t.options.ecmaVersion >= 14 ? 14 : t.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
4119
4119
  };
4120
4120
  ie.prototype.reset = function(t, i, r) {
4121
4121
  var n = r.indexOf("v") !== -1, s = r.indexOf("u") !== -1;
@@ -4398,13 +4398,13 @@ b.regexp_eatInvalidBracedQuantifier = function(e) {
4398
4398
  };
4399
4399
  b.regexp_eatSyntaxCharacter = function(e) {
4400
4400
  var t = e.current();
4401
- return tn(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
4401
+ return rn(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
4402
4402
  };
4403
- function tn(e) {
4403
+ function rn(e) {
4404
4404
  return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
4405
4405
  }
4406
4406
  b.regexp_eatPatternCharacters = function(e) {
4407
- for (var t = e.pos, i = 0; (i = e.current()) !== -1 && !tn(i); )
4407
+ for (var t = e.pos, i = 0; (i = e.current()) !== -1 && !rn(i); )
4408
4408
  e.advance();
4409
4409
  return e.pos !== t;
4410
4410
  };
@@ -4464,7 +4464,7 @@ b.regexp_eatRegExpIdentifierPart = function(e) {
4464
4464
  return e.advance(i), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (r = e.lastIntValue), fa(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
4465
4465
  };
4466
4466
  function fa(e) {
4467
- return he(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
4467
+ return pe(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
4468
4468
  }
4469
4469
  b.regexp_eatAtomEscape = function(e) {
4470
4470
  return this.regexp_eatBackReference(e) || this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e) || e.switchN && this.regexp_eatKGroupName(e) ? !0 : (e.switchU && (e.current() === 99 && e.raise("Invalid unicode escape"), e.raise("Invalid escape")), !1);
@@ -4516,9 +4516,9 @@ b.regexp_eatControlEscape = function(e) {
4516
4516
  };
4517
4517
  b.regexp_eatControlLetter = function(e) {
4518
4518
  var t = e.current();
4519
- return rn(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
4519
+ return nn(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
4520
4520
  };
4521
- function rn(e) {
4521
+ function nn(e) {
4522
4522
  return e >= 65 && e <= 90 || e >= 97 && e <= 122;
4523
4523
  }
4524
4524
  b.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
@@ -4553,13 +4553,13 @@ b.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
4553
4553
  ) && this.regexp_eatHexDigits(e) && e.eat(
4554
4554
  125
4555
4555
  /* } */
4556
- ) && ha(e.lastIntValue))
4556
+ ) && pa(e.lastIntValue))
4557
4557
  return !0;
4558
4558
  r && e.raise("Invalid unicode escape"), e.pos = i;
4559
4559
  }
4560
4560
  return !1;
4561
4561
  };
4562
- function ha(e) {
4562
+ function pa(e) {
4563
4563
  return e >= 0 && e <= 1114111;
4564
4564
  }
4565
4565
  b.regexp_eatIdentityEscape = function(e) {
@@ -4582,10 +4582,10 @@ b.regexp_eatDecimalEscape = function(e) {
4582
4582
  }
4583
4583
  return !1;
4584
4584
  };
4585
- var nn = 0, oe = 1, q = 2;
4585
+ var sn = 0, oe = 1, q = 2;
4586
4586
  b.regexp_eatCharacterClassEscape = function(e) {
4587
4587
  var t = e.current();
4588
- if (pa(t))
4588
+ if (ha(t))
4589
4589
  return e.lastIntValue = -1, e.advance(), oe;
4590
4590
  var i = !1;
4591
4591
  if (e.switchU && this.options.ecmaVersion >= 9 && ((i = t === 80) || t === 112)) {
@@ -4601,9 +4601,9 @@ b.regexp_eatCharacterClassEscape = function(e) {
4601
4601
  return i && r === q && e.raise("Invalid property name"), r;
4602
4602
  e.raise("Invalid property name");
4603
4603
  }
4604
- return nn;
4604
+ return sn;
4605
4605
  };
4606
- function pa(e) {
4606
+ function ha(e) {
4607
4607
  return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
4608
4608
  }
4609
4609
  b.regexp_eatUnicodePropertyValueExpression = function(e) {
@@ -4622,7 +4622,7 @@ b.regexp_eatUnicodePropertyValueExpression = function(e) {
4622
4622
  var n = e.lastStringValue;
4623
4623
  return this.regexp_validateUnicodePropertyNameOrValue(e, n);
4624
4624
  }
4625
- return nn;
4625
+ return sn;
4626
4626
  };
4627
4627
  b.regexp_validateUnicodePropertyNameAndValue = function(e, t, i) {
4628
4628
  Be(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(i) || e.raise("Invalid property value");
@@ -4636,12 +4636,12 @@ b.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
4636
4636
  };
4637
4637
  b.regexp_eatUnicodePropertyName = function(e) {
4638
4638
  var t = 0;
4639
- for (e.lastStringValue = ""; sn(t = e.current()); )
4639
+ for (e.lastStringValue = ""; an(t = e.current()); )
4640
4640
  e.lastStringValue += ae(t), e.advance();
4641
4641
  return e.lastStringValue !== "";
4642
4642
  };
4643
- function sn(e) {
4644
- return rn(e) || e === 95;
4643
+ function an(e) {
4644
+ return nn(e) || e === 95;
4645
4645
  }
4646
4646
  b.regexp_eatUnicodePropertyValue = function(e) {
4647
4647
  var t = 0;
@@ -4650,7 +4650,7 @@ b.regexp_eatUnicodePropertyValue = function(e) {
4650
4650
  return e.lastStringValue !== "";
4651
4651
  };
4652
4652
  function da(e) {
4653
- return sn(e) || Lt(e);
4653
+ return an(e) || Lt(e);
4654
4654
  }
4655
4655
  b.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
4656
4656
  return this.regexp_eatUnicodePropertyValue(e);
@@ -4696,7 +4696,7 @@ b.regexp_eatClassAtom = function(e) {
4696
4696
  return !0;
4697
4697
  if (e.switchU) {
4698
4698
  var i = e.current();
4699
- (i === 99 || un(i)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
4699
+ (i === 99 || ln(i)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
4700
4700
  }
4701
4701
  e.pos = t;
4702
4702
  }
@@ -4891,14 +4891,14 @@ function Lt(e) {
4891
4891
  }
4892
4892
  b.regexp_eatHexDigits = function(e) {
4893
4893
  var t = e.pos, i = 0;
4894
- for (e.lastIntValue = 0; an(i = e.current()); )
4895
- e.lastIntValue = 16 * e.lastIntValue + on(i), e.advance();
4894
+ for (e.lastIntValue = 0; on(i = e.current()); )
4895
+ e.lastIntValue = 16 * e.lastIntValue + un(i), e.advance();
4896
4896
  return e.pos !== t;
4897
4897
  };
4898
- function an(e) {
4898
+ function on(e) {
4899
4899
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
4900
4900
  }
4901
- function on(e) {
4901
+ function un(e) {
4902
4902
  return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
4903
4903
  }
4904
4904
  b.regexp_eatLegacyOctalEscapeSequence = function(e) {
@@ -4915,9 +4915,9 @@ b.regexp_eatLegacyOctalEscapeSequence = function(e) {
4915
4915
  };
4916
4916
  b.regexp_eatOctalDigit = function(e) {
4917
4917
  var t = e.current();
4918
- return un(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
4918
+ return ln(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
4919
4919
  };
4920
- function un(e) {
4920
+ function ln(e) {
4921
4921
  return e >= 48 && e <= 55;
4922
4922
  }
4923
4923
  b.regexp_eatFixedHexDigits = function(e, t) {
@@ -4925,20 +4925,20 @@ b.regexp_eatFixedHexDigits = function(e, t) {
4925
4925
  e.lastIntValue = 0;
4926
4926
  for (var r = 0; r < t; ++r) {
4927
4927
  var n = e.current();
4928
- if (!an(n))
4928
+ if (!on(n))
4929
4929
  return e.pos = i, !1;
4930
- e.lastIntValue = 16 * e.lastIntValue + on(n), e.advance();
4930
+ e.lastIntValue = 16 * e.lastIntValue + un(n), e.advance();
4931
4931
  }
4932
4932
  return !0;
4933
4933
  };
4934
- var wi = function(t) {
4934
+ var ki = function(t) {
4935
4935
  this.type = t.type, this.value = t.value, this.start = t.start, this.end = t.end, t.options.locations && (this.loc = new It(t, t.startLoc, t.endLoc)), t.options.ranges && (this.range = [t.start, t.end]);
4936
4936
  }, S = V.prototype;
4937
4937
  S.next = function(e) {
4938
- !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new wi(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
4938
+ !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new ki(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
4939
4939
  };
4940
4940
  S.getToken = function() {
4941
- return this.next(), new wi(this);
4941
+ return this.next(), new ki(this);
4942
4942
  };
4943
4943
  typeof Symbol < "u" && (S[Symbol.iterator] = function() {
4944
4944
  var e = this;
@@ -4973,7 +4973,7 @@ S.fullCharCodeAtPos = function() {
4973
4973
  S.skipBlockComment = function() {
4974
4974
  var e = this.options.onComment && this.curPosition(), t = this.pos, i = this.input.indexOf("*/", this.pos += 2);
4975
4975
  if (i === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = i + 2, this.options.locations)
4976
- for (var r = void 0, n = t; (r = Pr(this.input, n, this.pos)) > -1; )
4976
+ for (var r = void 0, n = t; (r = Or(this.input, n, this.pos)) > -1; )
4977
4977
  ++this.curLine, n = this.lineStart = r;
4978
4978
  this.options.onComment && this.options.onComment(
4979
4979
  !0,
@@ -5024,7 +5024,7 @@ S.skipSpace = function() {
5024
5024
  }
5025
5025
  break;
5026
5026
  default:
5027
- if (e > 8 && e < 14 || e >= 5760 && Or.test(String.fromCharCode(e)))
5027
+ if (e > 8 && e < 14 || e >= 5760 && Lr.test(String.fromCharCode(e)))
5028
5028
  ++this.pos;
5029
5029
  else
5030
5030
  break e;
@@ -5228,28 +5228,28 @@ S.readRegexp = function() {
5228
5228
  };
5229
5229
  S.readInt = function(e, t, i) {
5230
5230
  for (var r = this.options.ecmaVersion >= 12 && t === void 0, n = i && this.input.charCodeAt(this.pos) === 48, s = this.pos, a = 0, u = 0, l = 0, c = t ?? 1 / 0; l < c; ++l, ++this.pos) {
5231
- var h = this.input.charCodeAt(this.pos), f = void 0;
5232
- if (r && h === 95) {
5233
- n && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), u === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), l === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), u = h;
5231
+ var p = this.input.charCodeAt(this.pos), f = void 0;
5232
+ if (r && p === 95) {
5233
+ n && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), u === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), l === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), u = p;
5234
5234
  continue;
5235
5235
  }
5236
- if (h >= 97 ? f = h - 97 + 10 : h >= 65 ? f = h - 65 + 10 : h >= 48 && h <= 57 ? f = h - 48 : f = 1 / 0, f >= e)
5236
+ if (p >= 97 ? f = p - 97 + 10 : p >= 65 ? f = p - 65 + 10 : p >= 48 && p <= 57 ? f = p - 48 : f = 1 / 0, f >= e)
5237
5237
  break;
5238
- u = h, a = a * e + f;
5238
+ u = p, a = a * e + f;
5239
5239
  }
5240
5240
  return r && u === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === s || t != null && this.pos - s !== t ? null : a;
5241
5241
  };
5242
5242
  function ba(e, t) {
5243
5243
  return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
5244
5244
  }
5245
- function ln(e) {
5245
+ function cn(e) {
5246
5246
  return typeof BigInt != "function" ? null : BigInt(e.replace(/_/g, ""));
5247
5247
  }
5248
5248
  S.readRadixNumber = function(e) {
5249
5249
  var t = this.pos;
5250
5250
  this.pos += 2;
5251
5251
  var i = this.readInt(e);
5252
- return i == null && this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (i = ln(this.input.slice(t, this.pos)), ++this.pos) : Z(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(o.num, i);
5252
+ return i == null && this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (i = cn(this.input.slice(t, this.pos)), ++this.pos) : Z(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(o.num, i);
5253
5253
  };
5254
5254
  S.readNumber = function(e) {
5255
5255
  var t = this.pos;
@@ -5258,7 +5258,7 @@ S.readNumber = function(e) {
5258
5258
  i && this.strict && this.raise(t, "Invalid number");
5259
5259
  var r = this.input.charCodeAt(this.pos);
5260
5260
  if (!i && !e && this.options.ecmaVersion >= 11 && r === 110) {
5261
- var n = ln(this.input.slice(t, this.pos));
5261
+ var n = cn(this.input.slice(t, this.pos));
5262
5262
  return ++this.pos, Z(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(o.num, n);
5263
5263
  }
5264
5264
  i && /[89]/.test(this.input.slice(t, this.pos)) && (i = !1), r === 46 && !i && (++this.pos, this.readInt(10), r = this.input.charCodeAt(this.pos)), (r === 69 || r === 101) && !i && (r = this.input.charCodeAt(++this.pos), (r === 43 || r === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), Z(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
@@ -5285,13 +5285,13 @@ S.readString = function(e) {
5285
5285
  }
5286
5286
  return t += this.input.slice(i, this.pos++), this.finishToken(o.string, t);
5287
5287
  };
5288
- var cn = {};
5288
+ var fn = {};
5289
5289
  S.tryReadTemplateToken = function() {
5290
5290
  this.inTemplateElement = !0;
5291
5291
  try {
5292
5292
  this.readTmplToken();
5293
5293
  } catch (e) {
5294
- if (e === cn)
5294
+ if (e === fn)
5295
5295
  this.readInvalidTemplateToken();
5296
5296
  else
5297
5297
  throw e;
@@ -5300,7 +5300,7 @@ S.tryReadTemplateToken = function() {
5300
5300
  };
5301
5301
  S.invalidStringToken = function(e, t) {
5302
5302
  if (this.inTemplateElement && this.options.ecmaVersion >= 9)
5303
- throw cn;
5303
+ throw fn;
5304
5304
  this.raise(e, t);
5305
5305
  };
5306
5306
  S.readTmplToken = function() {
@@ -5417,14 +5417,14 @@ S.readWord1 = function() {
5417
5417
  this.containsEsc = !1;
5418
5418
  for (var e = "", t = !0, i = this.pos, r = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
5419
5419
  var n = this.fullCharCodeAtPos();
5420
- if (he(n, r))
5420
+ if (pe(n, r))
5421
5421
  this.pos += n <= 65535 ? 1 : 2;
5422
5422
  else if (n === 92) {
5423
5423
  this.containsEsc = !0, e += this.input.slice(i, this.pos);
5424
5424
  var s = this.pos;
5425
5425
  this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
5426
5426
  var a = this.readCodePoint();
5427
- (t ? Z : he)(a, r) || this.invalidStringToken(s, "Invalid Unicode escape"), e += ae(a), i = this.pos;
5427
+ (t ? Z : pe)(a, r) || this.invalidStringToken(s, "Invalid Unicode escape"), e += ae(a), i = this.pos;
5428
5428
  } else
5429
5429
  break;
5430
5430
  t = !1;
@@ -5442,25 +5442,25 @@ V.acorn = {
5442
5442
  defaultOptions: ti,
5443
5443
  Position: Qe,
5444
5444
  SourceLocation: It,
5445
- getLineInfo: Vr,
5445
+ getLineInfo: Dr,
5446
5446
  Node: Ot,
5447
- TokenType: k,
5447
+ TokenType: w,
5448
5448
  tokTypes: o,
5449
5449
  keywordTypes: yi,
5450
5450
  TokContext: J,
5451
5451
  tokContexts: N,
5452
- isIdentifierChar: he,
5452
+ isIdentifierChar: pe,
5453
5453
  isIdentifierStart: Z,
5454
- Token: wi,
5454
+ Token: ki,
5455
5455
  isNewLine: Me,
5456
5456
  lineBreak: j,
5457
5457
  lineBreakG: $s,
5458
- nonASCIIwhitespace: Or
5458
+ nonASCIIwhitespace: Lr
5459
5459
  };
5460
5460
  function ou(e, t) {
5461
5461
  return V.parse(e, t);
5462
5462
  }
5463
- function pe(e) {
5463
+ function he(e) {
5464
5464
  const t = [];
5465
5465
  let i = "", r = null, n = !1, s = 0, a = 0, u = 0;
5466
5466
  for (const c of e) {
@@ -5501,8 +5501,8 @@ function pe(e) {
5501
5501
  continue;
5502
5502
  }
5503
5503
  if (c === "," && s === 0 && a === 0 && u === 0) {
5504
- const h = i.trim();
5505
- h && t.push(h), i = "";
5504
+ const p = i.trim();
5505
+ p && t.push(p), i = "";
5506
5506
  continue;
5507
5507
  }
5508
5508
  i += c;
@@ -5513,7 +5513,7 @@ function pe(e) {
5513
5513
  function va(e, t) {
5514
5514
  return e.replace(/\\\\/g, "\\").replace(t === '"' ? /\\"/g : /\\'/g, t);
5515
5515
  }
5516
- function ki(e) {
5516
+ function wi(e) {
5517
5517
  const t = e.trim();
5518
5518
  if (!t)
5519
5519
  return "";
@@ -5526,48 +5526,48 @@ function ki(e) {
5526
5526
  }
5527
5527
  if (t.startsWith("[") && t.endsWith("]")) {
5528
5528
  const r = t.slice(1, -1).trim();
5529
- return r ? pe(r).map(ki) : [];
5529
+ return r ? he(r).map(wi) : [];
5530
5530
  }
5531
5531
  return t === "True" || t === "true" ? !0 : t === "False" || t === "false" ? !1 : t === "None" || t === "null" ? null : /^-?\d+$/.test(t) ? Number.parseInt(t, 10) : /^-?(?:\d+\.\d*|\.\d+)(?:[eE][+-]?\d+)?$/.test(t) || /^-?\d+[eE][+-]?\d+$/.test(t) ? Number.parseFloat(t) : t;
5532
5532
  }
5533
5533
  function bt(e) {
5534
5534
  const t = {};
5535
- for (const i of pe(e)) {
5535
+ for (const i of he(e)) {
5536
5536
  const r = i.match(/^(\w+)\s*=\s*([\s\S]+)$/);
5537
- r && (t[r[1]] = ki(r[2]));
5537
+ r && (t[r[1]] = wi(r[2]));
5538
5538
  }
5539
5539
  return t;
5540
5540
  }
5541
5541
  function _a(e) {
5542
5542
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null;
5543
5543
  }
5544
- function fn(e) {
5544
+ function pn(e) {
5545
5545
  return Array.isArray(e) ? e.filter(_a) : [];
5546
5546
  }
5547
5547
  function Sa(e) {
5548
5548
  const t = Fe(e).match(/^(?:(?:typing|typing_extensions)\.)?Literal\s*\[([\s\S]*)\]$/);
5549
- return t ? fn(
5550
- pe(t[1]).map(ki)
5549
+ return t ? pn(
5550
+ he(t[1]).map(wi)
5551
5551
  ) : [];
5552
5552
  }
5553
5553
  function hn(e, t) {
5554
- const i = fn(t?.enum);
5554
+ const i = pn(t?.enum);
5555
5555
  if (i.length > 0)
5556
5556
  return i;
5557
5557
  const r = Sa(e);
5558
- return r.length > 0 ? r : or(e);
5558
+ return r.length > 0 ? r : ur(e);
5559
5559
  }
5560
- function wa(e) {
5560
+ function ka(e) {
5561
5561
  const t = Fe(e), i = t.match(/^(?:(?:typing|typing_extensions)\.)?(?:list|List)\s*\[/);
5562
5562
  if (!i) return [];
5563
5563
  const r = i[0].length - 1;
5564
- return pn(t, r) !== t.length - 1 ? [] : hn(t.slice(r + 1, -1));
5564
+ return dn(t, r) !== t.length - 1 ? [] : hn(t.slice(r + 1, -1));
5565
5565
  }
5566
5566
  function $t(e) {
5567
5567
  const t = hn(e.type, e.kwargs);
5568
5568
  return t.length > 0 && (e.enum = t), e;
5569
5569
  }
5570
- function pn(e, t) {
5570
+ function dn(e, t) {
5571
5571
  let i = null, r = !1, n = 0;
5572
5572
  for (let s = t; s < e.length; s += 1) {
5573
5573
  const a = e[s];
@@ -5592,7 +5592,7 @@ function pn(e, t) {
5592
5592
  }
5593
5593
  return -1;
5594
5594
  }
5595
- const Wt = /(\d+(?:\.\d+)?)\s*(ms|s|m|h|d)/gi, ka = /* @__PURE__ */ new Set(["elapsed", "countdown", "both"]), Aa = /* @__PURE__ */ new Set(["int", "integer", "float", "number"]), Ca = ["gt", "ge", "lt", "le", "multiple_of"];
5595
+ const Wt = /(\d+(?:\.\d+)?)\s*(ms|s|m|h|d)/gi, wa = /* @__PURE__ */ new Set(["elapsed", "countdown", "both"]), Aa = /* @__PURE__ */ new Set(["int", "integer", "float", "number"]), Ca = ["gt", "ge", "lt", "le", "multiple_of"];
5596
5596
  function Ea(e) {
5597
5597
  return e !== void 0 && Aa.has(e.toLowerCase());
5598
5598
  }
@@ -5625,11 +5625,11 @@ function Ta(e) {
5625
5625
  if (typeof e != "string")
5626
5626
  return;
5627
5627
  const t = e.trim().toLowerCase();
5628
- if (ka.has(t))
5628
+ if (wa.has(t))
5629
5629
  return t;
5630
5630
  }
5631
5631
  function uu(e) {
5632
- const t = e.trim(), i = pe(t), r = i[0].trim();
5632
+ const t = e.trim(), i = he(t), r = i[0].trim();
5633
5633
  let n = 1, s = !1, a, u, l, c = !1;
5634
5634
  for (let g = 1; g < i.length; g++) {
5635
5635
  const y = i[g].trim();
@@ -5637,14 +5637,14 @@ function uu(e) {
5637
5637
  n = Number.parseInt(y, 10);
5638
5638
  continue;
5639
5639
  }
5640
- const p = bt(y);
5641
- "check" in p && (s = !!p.check), /^title\s*=/.test(y) && (a = dn(y, "Step")), "subtitle" in p && (u = String(p.subtitle)), "checked_message" in p && (l = String(p.checked_message)), "result" in p && (c = !!p.result), "level" in p && (n = Number(p.level));
5640
+ const h = bt(y);
5641
+ "check" in h && (s = !!h.check), /^title\s*=/.test(y) && (a = mn(y, "Step")), "subtitle" in h && (u = String(h.subtitle)), "checked_message" in h && (l = String(h.checked_message)), "result" in h && (c = !!h.result), "level" in h && (n = Number(h.level));
5642
5642
  }
5643
5643
  n = Math.max(1, Math.min(3, n));
5644
- const h = bt(t), f = Na(h), d = Ta(h.timer);
5645
- return { id: r, level: n, check: s, title: a, subtitle: u, checked_message: l, estimated_duration_ms: f, timer_mode: d, result: c, props: h };
5644
+ const p = bt(t), f = Na(p), d = Ta(p.timer);
5645
+ return { id: r, level: n, check: s, title: a, subtitle: u, checked_message: l, estimated_duration_ms: f, timer_mode: d, result: c, props: p };
5646
5646
  }
5647
- function dn(e, t) {
5647
+ function mn(e, t) {
5648
5648
  const i = e.slice(e.indexOf("=") + 1).trim();
5649
5649
  if (!/^(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1$/.test(i))
5650
5650
  throw new Error(`${t} title must be a quoted string`);
@@ -5652,10 +5652,10 @@ function dn(e, t) {
5652
5652
  `, r: "\r", t: " " })[n] ?? n)).trim() || void 0;
5653
5653
  }
5654
5654
  function lu(e) {
5655
- const t = e.trim(), i = pe(t), r = i[0].trim();
5655
+ const t = e.trim(), i = he(t), r = i[0].trim();
5656
5656
  let n, s;
5657
5657
  for (let a = 1; a < i.length; a++) {
5658
- /^title\s*=/.test(i[a].trim()) && (s = dn(i[a], "Checkpoint"));
5658
+ /^title\s*=/.test(i[a].trim()) && (s = mn(i[a], "Checkpoint"));
5659
5659
  const u = bt(i[a]);
5660
5660
  "checked_message" in u && (n = String(u.checked_message));
5661
5661
  }
@@ -5667,50 +5667,50 @@ function cu(e) {
5667
5667
  if (i !== -1) {
5668
5668
  const u = t.indexOf("[", i);
5669
5669
  if (u !== -1) {
5670
- const l = pn(t, u);
5670
+ const l = dn(t, u);
5671
5671
  l !== -1 && (r = t.slice(u + 1, l));
5672
5672
  }
5673
5673
  }
5674
5674
  if (r) {
5675
- const u = pe(r);
5675
+ const u = he(r);
5676
5676
  n = {};
5677
5677
  for (const l of u)
5678
5678
  if (/^var\s*\(/.test(l) || /^[A-Za-z_]\w*\s*[:=]/.test(l)) {
5679
- const c = qi(l);
5679
+ const c = Gi(l);
5680
5680
  n[c.id] = c;
5681
5681
  } else
5682
5682
  n[l] = { id: l };
5683
5683
  }
5684
- const s = pe(t).filter((u) => !/^subvars\s*=/.test(u)).join(", "), a = qi(s);
5684
+ const s = he(t).filter((u) => !/^subvars\s*=/.test(u)).join(", "), a = Gi(s);
5685
5685
  return n ? {
5686
5686
  ...a,
5687
5687
  subvars: n
5688
5688
  } : a;
5689
5689
  }
5690
- function qi(e) {
5690
+ function Gi(e) {
5691
5691
  let t = e.trim();
5692
5692
  t.startsWith("var(") && t.endsWith(")") ? t = t.slice(4, -1).trim() : t.startsWith("var (") && t.endsWith(")") && (t = t.slice(5, -1).trim());
5693
- const i = pe(t), r = (i[0] || "").trim(), n = i.slice(1).filter((y) => /^\w+\s*=/.test(y)), s = bt(n.join(", "));
5693
+ const i = he(t), r = (i[0] || "").trim(), n = i.slice(1).filter((y) => /^\w+\s*=/.test(y)), s = bt(n.join(", "));
5694
5694
  if (!r.includes(":")) {
5695
5695
  const y = r.indexOf("=");
5696
5696
  if (y > 0) {
5697
5697
  const m = r.slice(y + 1).trim(), _ = {
5698
5698
  id: r.slice(0, y).trim(),
5699
- default: Gi(m),
5699
+ default: Ki(m),
5700
5700
  defaultRaw: m
5701
5701
  };
5702
5702
  return Object.keys(s).length > 0 && (_.kwargs = s), $t(_);
5703
5703
  }
5704
- const p = { id: r.split(/\s/)[0].trim() };
5705
- return Object.keys(s).length > 0 && (p.kwargs = s), $t(p);
5704
+ const h = { id: r.split(/\s/)[0].trim() };
5705
+ return Object.keys(s).length > 0 && (h.kwargs = s), $t(h);
5706
5706
  }
5707
5707
  const a = r.indexOf(":"), u = r.slice(0, a).trim(), l = r.slice(a + 1).trim(), c = l.indexOf("=");
5708
- let h, f, d;
5709
- c > 0 ? (h = l.slice(0, c).trim(), d = l.slice(c + 1).trim(), f = Gi(d)) : h = l.trim();
5710
- const g = { id: u, type: h };
5708
+ let p, f, d;
5709
+ c > 0 ? (p = l.slice(0, c).trim(), d = l.slice(c + 1).trim(), f = Ki(d)) : p = l.trim();
5710
+ const g = { id: u, type: p };
5711
5711
  return f !== void 0 && (g.default = f, g.defaultRaw = d), Object.keys(s).length > 0 && (g.kwargs = s), $t(g);
5712
5712
  }
5713
- function Gi(e) {
5713
+ function Ki(e) {
5714
5714
  const t = e.trim();
5715
5715
  if (t === "true" || t === "True")
5716
5716
  return !0;
@@ -5759,7 +5759,7 @@ function Pa(e) {
5759
5759
  }
5760
5760
  return t;
5761
5761
  }
5762
- function mn(e) {
5762
+ function gn(e) {
5763
5763
  const t = [], i = e.kwargs, r = e.type?.toLowerCase();
5764
5764
  if (i) {
5765
5765
  const n = Ca.filter(
@@ -5778,23 +5778,23 @@ function mn(e) {
5778
5778
  }
5779
5779
  if (e.subvars)
5780
5780
  for (const n of Object.values(e.subvars))
5781
- t.push(...mn(n));
5781
+ t.push(...gn(n));
5782
5782
  return t;
5783
5783
  }
5784
- function gn(e) {
5784
+ function yn(e) {
5785
5785
  const t = Pa(e);
5786
5786
  if (e.subvars)
5787
5787
  for (const i of Object.values(e.subvars))
5788
- t.push(...gn(i));
5788
+ t.push(...yn(i));
5789
5789
  return t;
5790
5790
  }
5791
5791
  function fu(e) {
5792
5792
  return [
5793
- ...gn(e),
5794
- ...mn(e)
5793
+ ...yn(e),
5794
+ ...gn(e)
5795
5795
  ];
5796
5796
  }
5797
- function Ki(e) {
5797
+ function Ji(e) {
5798
5798
  const t = e.trim();
5799
5799
  if (t.length >= 2) {
5800
5800
  const i = t[0];
@@ -5817,28 +5817,28 @@ function Oa(e) {
5817
5817
  continue;
5818
5818
  const l = u.match(/^(\w+):\s*(.*)$/);
5819
5819
  if (l) {
5820
- r && (i[r] = Ki(n)), r = l[1];
5820
+ r && (i[r] = Ji(n)), r = l[1];
5821
5821
  const c = l[2];
5822
5822
  c === "|" ? (s = !0, n = "") : (s = !1, n = c);
5823
5823
  } else r && (s || u) && (n ? n += `
5824
5824
  ${a}` : n = a);
5825
5825
  }
5826
- return r && (i[r] = Ki(n)), i;
5826
+ return r && (i[r] = Ji(n)), i;
5827
5827
  }
5828
5828
  const La = ["video", "audio", "file"];
5829
- function yn(e) {
5829
+ function bn(e) {
5830
5830
  return (e || "file").trim().toLowerCase() || "file";
5831
5831
  }
5832
5832
  function Va(e) {
5833
- return La.includes(yn(e));
5833
+ return La.includes(bn(e));
5834
5834
  }
5835
- function hu(e) {
5836
- const t = yn(e.kind);
5835
+ function pu(e) {
5836
+ const t = bn(e.kind);
5837
5837
  return Va(t) ? [] : [
5838
5838
  `media "${e.id}": unsupported kind "${e.kind}". Supported media kinds are video, audio, and file; static images must use a fig block.`
5839
5839
  ];
5840
5840
  }
5841
- function pu(e) {
5841
+ function hu(e) {
5842
5842
  const t = Oa(e);
5843
5843
  if (!t.id || !t.src)
5844
5844
  throw new Error('media block must have "id" and "src" fields');
@@ -5911,15 +5911,15 @@ function Ba(e, t) {
5911
5911
  const r = ni(t?.inputType);
5912
5912
  return r || ni(e);
5913
5913
  }
5914
- function bn(e, t) {
5914
+ function xn(e, t) {
5915
5915
  return Ba(e, t) !== null;
5916
5916
  }
5917
5917
  const zt = "airalogy_dna_v1", ja = new Set("ACGTRYSWKMBDHVN".split("")), $a = ["JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC"];
5918
- function Ji(e, t) {
5918
+ function Qi(e, t) {
5919
5919
  const i = typeof e == "string" ? e.trim() : String(e ?? ""), r = Number.parseInt(i, 10);
5920
5920
  return Number.isFinite(r) && r > 0 ? r : t;
5921
5921
  }
5922
- function Qi(e) {
5922
+ function Hi(e) {
5923
5923
  return e === !0 || e === "true" || e === 1 || e === "1";
5924
5924
  }
5925
5925
  function Wa(e) {
@@ -5937,7 +5937,7 @@ function du(e) {
5937
5937
  ja.has(i) || t.add(i);
5938
5938
  return [...t];
5939
5939
  }
5940
- function xn() {
5940
+ function vn() {
5941
5941
  return {
5942
5942
  start: 1,
5943
5943
  end: 1,
@@ -5958,7 +5958,7 @@ function Ua(e = "ann_1") {
5958
5958
  type: "misc_feature",
5959
5959
  strand: 1,
5960
5960
  color: "#2563eb",
5961
- segments: [xn()],
5961
+ segments: [vn()],
5962
5962
  qualifiers: []
5963
5963
  };
5964
5964
  }
@@ -5969,16 +5969,16 @@ function mu(e) {
5969
5969
  i += 1;
5970
5970
  return `ann_${i}`;
5971
5971
  }
5972
- function Hi(e) {
5973
- const t = xn();
5972
+ function Yi(e) {
5973
+ const t = vn();
5974
5974
  if (!e || typeof e != "object" || Array.isArray(e))
5975
5975
  return t;
5976
- const i = e, r = Ji(i.start, t.start), n = Ji(i.end, Math.max(r, t.end));
5976
+ const i = e, r = Qi(i.start, t.start), n = Qi(i.end, Math.max(r, t.end));
5977
5977
  return {
5978
5978
  start: r,
5979
5979
  end: n,
5980
- partial_start: Qi(i.partial_start),
5981
- partial_end: Qi(i.partial_end)
5980
+ partial_start: Hi(i.partial_start),
5981
+ partial_end: Hi(i.partial_end)
5982
5982
  };
5983
5983
  }
5984
5984
  function qa(e, t = 0) {
@@ -6018,7 +6018,7 @@ function Ja(e, t = 0) {
6018
6018
  const i = Ua(`ann_${t + 1}`);
6019
6019
  if (!e || typeof e != "object" || Array.isArray(e))
6020
6020
  return i;
6021
- const r = e, n = Array.isArray(r.segments) && r.segments.length > 0 ? r.segments.map((s) => Hi(s)) : "start" in r || "end" in r ? [Hi({
6021
+ const r = e, n = Array.isArray(r.segments) && r.segments.length > 0 ? r.segments.map((s) => Yi(s)) : "start" in r || "end" in r ? [Yi({
6022
6022
  start: r.start,
6023
6023
  end: r.end,
6024
6024
  partial_start: r.partial_start,
@@ -6034,7 +6034,7 @@ function Ja(e, t = 0) {
6034
6034
  qualifiers: Ka(r.qualifiers, r.note)
6035
6035
  };
6036
6036
  }
6037
- function Yi(e) {
6037
+ function Xi(e) {
6038
6038
  if (typeof e == "string")
6039
6039
  return {
6040
6040
  format: zt,
@@ -6076,7 +6076,7 @@ function Ha(e = /* @__PURE__ */ new Date()) {
6076
6076
  const t = String(e.getDate()).padStart(2, "0"), i = $a[e.getMonth()] ?? "JAN", r = String(e.getFullYear());
6077
6077
  return `${t}-${i}-${r}`;
6078
6078
  }
6079
- function vn(e, t, i = e, r = 79) {
6079
+ function _n(e, t, i = e, r = 79) {
6080
6080
  const n = t.replace(/\s+/g, " ").trim();
6081
6081
  if (!n)
6082
6082
  return [e.trimEnd()];
@@ -6103,7 +6103,7 @@ function Xa(e) {
6103
6103
  }
6104
6104
  function Za(e, t) {
6105
6105
  const i = e.trim() || "note", r = t.replace(/"/g, "'").trim();
6106
- return r ? vn(
6106
+ return r ? _n(
6107
6107
  " ",
6108
6108
  `/${i}="${r}"`,
6109
6109
  " "
@@ -6127,7 +6127,7 @@ function bu(e, t) {
6127
6127
  a.padEnd(9, " "),
6128
6128
  Ha(t?.date)
6129
6129
  ].join(""),
6130
- ...vn("DEFINITION ", u, " "),
6130
+ ..._n("DEFINITION ", u, " "),
6131
6131
  `ACCESSION ${s}`,
6132
6132
  `VERSION ${s}.1`,
6133
6133
  "KEYWORDS .",
@@ -6136,21 +6136,21 @@ function bu(e, t) {
6136
6136
  " other sequences; artificial sequences.",
6137
6137
  "FEATURES Location/Qualifiers"
6138
6138
  ];
6139
- for (const h of e.annotations) {
6140
- c.push(` ${(h.type.trim() || "misc_feature").slice(0, 16).padEnd(16, " ")}${Xa(h)}`);
6141
- for (const f of eo(h))
6139
+ for (const p of e.annotations) {
6140
+ c.push(` ${(p.type.trim() || "misc_feature").slice(0, 16).padEnd(16, " ")}${Xa(p)}`);
6141
+ for (const f of eo(p))
6142
6142
  c.push(...Za(f.key, f.value));
6143
6143
  }
6144
6144
  c.push("ORIGIN");
6145
- for (let h = 0; h < i.length; h += 60) {
6146
- const f = i.slice(h, h + 60).toLowerCase(), d = f.match(/.{1,10}/g)?.join(" ") ?? f;
6147
- c.push(`${String(h + 1).padStart(9, " ")} ${d}`);
6145
+ for (let p = 0; p < i.length; p += 60) {
6146
+ const f = i.slice(p, p + 60).toLowerCase(), d = f.match(/.{1,10}/g)?.join(" ") ?? f;
6147
+ c.push(`${String(p + 1).padStart(9, " ")} ${d}`);
6148
6148
  }
6149
6149
  return c.push("//"), `${c.join(`
6150
6150
  `)}
6151
6151
  `;
6152
6152
  }
6153
- const to = ir(() => import("./AimdDnaSequenceField-CKfd3-_9.js")), io = ir(() => import("./AimdMarkdownField-BuRsjOB5.js")), ro = Fa.map((e) => ({
6153
+ const to = rr(() => import("./AimdDnaSequenceField-CcH4iNkt.js")), io = rr(() => import("./AimdMarkdownField-BKFxcFlr.js")), ro = Fa.map((e) => ({
6154
6154
  type: e,
6155
6155
  inputKind: "code"
6156
6156
  }));
@@ -6201,7 +6201,7 @@ const oo = [
6201
6201
  assignerControl: u,
6202
6202
  assignerStatus: l,
6203
6203
  assignerError: c,
6204
- emitChange: h,
6204
+ emitChange: p,
6205
6205
  emitBlur: f
6206
6206
  }) => Ni(io, {
6207
6207
  class: a,
@@ -6214,15 +6214,15 @@ const oo = [
6214
6214
  assignerControl: u,
6215
6215
  assignerStatus: l,
6216
6216
  assignerError: c,
6217
- "onUpdate:modelValue": (d) => h(d),
6217
+ "onUpdate:modelValue": (d) => p(d),
6218
6218
  onBlur: f
6219
6219
  })
6220
6220
  },
6221
6221
  {
6222
6222
  type: "DNASequence",
6223
6223
  inputKind: "dna",
6224
- getInitialValue: () => Yi(void 0),
6225
- normalizeValue: ({ value: e }) => Yi(e),
6224
+ getInitialValue: () => Xi(void 0),
6225
+ normalizeValue: ({ value: e }) => Xi(e),
6226
6226
  renderField: ({
6227
6227
  node: e,
6228
6228
  value: t,
@@ -6246,7 +6246,7 @@ const oo = [
6246
6246
  })
6247
6247
  }
6248
6248
  ];
6249
- function _n(e, t) {
6249
+ function Sn(e, t) {
6250
6250
  if (!t?.length)
6251
6251
  return;
6252
6252
  const i = Ke(e);
@@ -6272,10 +6272,10 @@ function _u(e) {
6272
6272
  };
6273
6273
  }
6274
6274
  function Su(e) {
6275
- return dr(e);
6275
+ return mr(e);
6276
6276
  }
6277
- function wu(e) {
6278
- return pr(e);
6277
+ function ku(e) {
6278
+ return dr(e);
6279
6279
  }
6280
6280
  function lo(e) {
6281
6281
  return Zn(e, void 0, {
@@ -6294,7 +6294,7 @@ function lo(e) {
6294
6294
  ]
6295
6295
  });
6296
6296
  }
6297
- function ku(e, t) {
6297
+ function wu(e, t) {
6298
6298
  const i = ge(t), r = e.findIndex((n) => Object.is(n.value, i));
6299
6299
  if (r >= 0)
6300
6300
  return String(r);
@@ -6310,7 +6310,7 @@ function Au(e, t, i = "") {
6310
6310
  return Number.isInteger(r) && r >= 0 && r < e.length ? e[r].value : i;
6311
6311
  }
6312
6312
  function co(e, t) {
6313
- if (bn(void 0, { inputType: e, codeLanguage: t }))
6313
+ if (xn(void 0, { inputType: e, codeLanguage: t }))
6314
6314
  return "code";
6315
6315
  const i = Ae(e);
6316
6316
  if (i) {
@@ -6340,22 +6340,22 @@ function co(e, t) {
6340
6340
  return "text";
6341
6341
  }
6342
6342
  }
6343
- function ke(e) {
6343
+ function we(e) {
6344
6344
  return Ae(e);
6345
6345
  }
6346
6346
  function le(e) {
6347
6347
  return typeof e == "string" ? e.trim().replace(/\s+/g, "").toLowerCase() : "";
6348
6348
  }
6349
- const me = Fe, Sn = On;
6349
+ const me = Fe, kn = Dn;
6350
6350
  function fo(e) {
6351
- const t = ke(me(e));
6351
+ const t = we(me(e));
6352
6352
  return t === "float" || t === "int" || t === "integer" || t === "number";
6353
6353
  }
6354
6354
  function Cu(e) {
6355
- const t = ke(me(e));
6355
+ const t = we(me(e));
6356
6356
  return t === "int" || t === "integer";
6357
6357
  }
6358
- function Xi(e) {
6358
+ function Zi(e) {
6359
6359
  const t = le(e).replace(/^typing\./, "");
6360
6360
  if (t === "str" || t === "string" || t === "builtins.str")
6361
6361
  return "string";
@@ -6389,7 +6389,7 @@ function Kt(e) {
6389
6389
  const t = le(e).replace(/^typing\./, "");
6390
6390
  return /^(?:airalogy\.types\.)?resourceref(?:\[.*\])?$/.test(t);
6391
6391
  }
6392
- function ho(e, t, i) {
6392
+ function po(e, t, i) {
6393
6393
  const r = me(e), n = le(r).replace(/^typing\./, "");
6394
6394
  let s = !1, a = qt(r), u = Kt(r);
6395
6395
  const l = n.match(/^(?:list|array)\[(.*)\]$/);
@@ -6401,19 +6401,19 @@ function ho(e, t, i) {
6401
6401
  a = qt(f), u = Kt(f);
6402
6402
  }
6403
6403
  if (!u) return;
6404
- const c = i?.resource_role ?? t?.resource_role, h = ["input", "output", "reference", "equipment"].includes(String(c)) ? c : "reference";
6404
+ const c = i?.resource_role ?? t?.resource_role, p = ["input", "output", "reference", "equipment"].includes(String(c)) ? c : "reference";
6405
6405
  return {
6406
6406
  multiple: s,
6407
6407
  entity: X(i?.entity) ?? X(t?.entity) ?? a,
6408
6408
  source: X(i?.source) ?? X(t?.source),
6409
- role: h,
6409
+ role: p,
6410
6410
  quantityField: X(i?.quantity_field) ?? X(t?.quantity_field),
6411
6411
  containerRequired: i?.container_required === !0 || t?.container_required === !0,
6412
6412
  bookingRequired: i?.booking_required === !0 || t?.booking_required === !0
6413
6413
  };
6414
6414
  }
6415
- function po(e, t, i) {
6416
- return ho(e, t, i) !== void 0;
6415
+ function ho(e, t, i) {
6416
+ return po(e, t, i) !== void 0;
6417
6417
  }
6418
6418
  function mo(e, t, i) {
6419
6419
  const r = me(e), n = le(r).replace(/^typing\./, ""), s = Ut(r);
@@ -6423,8 +6423,8 @@ function mo(e, t, i) {
6423
6423
  a = !0, u = Ut(c[1]), l = Gt(c[1]);
6424
6424
  else if (n.endsWith("[]")) {
6425
6425
  a = !0;
6426
- const h = n.slice(0, -2);
6427
- u = Ut(h), l = Gt(h);
6426
+ const p = n.slice(0, -2);
6427
+ u = Ut(p), l = Gt(p);
6428
6428
  }
6429
6429
  if (l)
6430
6430
  return {
@@ -6439,33 +6439,33 @@ function go(e, t, i) {
6439
6439
  function Ai(e) {
6440
6440
  const t = le(me(e)).replace(/^typing\./, "");
6441
6441
  if (t.endsWith("[]"))
6442
- return Xi(t.slice(0, -2));
6442
+ return Zi(t.slice(0, -2));
6443
6443
  const i = t.match(/^(?:list|array)\[(.*)\]$/);
6444
- return i ? Xi(i[1]) : void 0;
6444
+ return i ? Zi(i[1]) : void 0;
6445
6445
  }
6446
6446
  function yo(e) {
6447
6447
  return Ai(e) !== void 0;
6448
6448
  }
6449
6449
  function Ci(e) {
6450
- const t = me(e), i = le(t).replace(/^typing\./, ""), r = ke(t);
6450
+ const t = me(e), i = le(t).replace(/^typing\./, ""), r = we(t);
6451
6451
  return r === "json" || r === "list" || i.startsWith("list[") || r === "array" || i.startsWith("array[") || r === "dict" || i.startsWith("dict[") || r === "map" || i.startsWith("map[") || r === "object" || r === "record";
6452
6452
  }
6453
6453
  function Eu(e, t = {}) {
6454
6454
  const i = co(t.inputType, t.codeLanguage);
6455
6455
  if (i)
6456
6456
  return i;
6457
- const r = t.typePlugin ?? _n(e, t.typePlugins);
6457
+ const r = t.typePlugin ?? Sn(e, t.typePlugins);
6458
6458
  if (r?.inputKind)
6459
6459
  return r.inputKind;
6460
- if (po(e, t.kwargs, t.fieldMeta))
6460
+ if (ho(e, t.kwargs, t.fieldMeta))
6461
6461
  return "resource-ref";
6462
6462
  if (go(e, t.kwargs, t.fieldMeta))
6463
6463
  return "entity-ref";
6464
6464
  if (yo(e))
6465
6465
  return "scalar-list";
6466
- if (wa(e).length) return "multi-select";
6467
- const n = me(e), s = ke(n);
6468
- return s === "float" || s === "int" || s === "integer" || s === "number" ? "number" : s === "bool" || s === "boolean" || s === "checkbox" ? Sn(e) ? "boolean-select" : "checkbox" : s === "date" ? "date" : s === "datetime" || s === "currenttime" ? "datetime" : s === "time" || s === "duration" ? "time" : s === "dnasequence" ? "dna" : s === "md" || s === "markdown" || s === "airalogymarkdown" || Ci(e) ? "textarea" : uo(n, t.kwargs, t.fieldMeta) ? "file" : bn(n, { codeLanguage: t.codeLanguage }) ? "code" : "text";
6466
+ if (ka(e).length) return "multi-select";
6467
+ const n = me(e), s = we(n);
6468
+ return s === "float" || s === "int" || s === "integer" || s === "number" ? "number" : s === "bool" || s === "boolean" || s === "checkbox" ? kn(e) ? "boolean-select" : "checkbox" : s === "date" ? "date" : s === "datetime" || s === "currenttime" ? "datetime" : s === "time" || s === "duration" ? "time" : s === "dnasequence" ? "dna" : s === "md" || s === "markdown" || s === "airalogymarkdown" || Ci(e) ? "textarea" : uo(n, t.kwargs, t.fieldMeta) ? "file" : xn(n, { codeLanguage: t.codeLanguage }) ? "code" : "text";
6469
6469
  }
6470
6470
  function bo(e) {
6471
6471
  if (typeof e == "string")
@@ -6482,10 +6482,10 @@ function xo(e, t) {
6482
6482
  const i = Number(e);
6483
6483
  return !Number.isFinite(i) || t === "int" && !Number.isInteger(i) ? e : i;
6484
6484
  }
6485
- function kn(e, t = "string") {
6485
+ function An(e, t = "string") {
6486
6486
  return e.map((i) => i === null || typeof i > "u" ? "" : String(i).trim()).filter((i) => i.length > 0).map((i) => t === "string" ? i : xo(i, t));
6487
6487
  }
6488
- function An(e) {
6488
+ function Cn(e) {
6489
6489
  const t = ge(e);
6490
6490
  if (Array.isArray(t))
6491
6491
  return t.map((i) => i === null || typeof i > "u" ? "" : String(i));
@@ -6505,7 +6505,7 @@ function An(e) {
6505
6505
  }
6506
6506
  return t === null || typeof t > "u" ? [] : [String(t)];
6507
6507
  }
6508
- function Zi(e) {
6508
+ function er(e) {
6509
6509
  const t = ge(e);
6510
6510
  if (typeof t == "string")
6511
6511
  return t.trim();
@@ -6516,7 +6516,7 @@ function Zi(e) {
6516
6516
  }
6517
6517
  function vo(e) {
6518
6518
  const t = ge(e);
6519
- return Array.isArray(t) ? t.map((i) => Zi(i)).filter(Boolean).join(", ") : Zi(t);
6519
+ return Array.isArray(t) ? t.map((i) => er(i)).filter(Boolean).join(", ") : er(t);
6520
6520
  }
6521
6521
  function Pe(e) {
6522
6522
  if (typeof e == "number")
@@ -6526,14 +6526,14 @@ function Pe(e) {
6526
6526
  return Number.isFinite(t) ? t : void 0;
6527
6527
  }
6528
6528
  }
6529
- function Cn(e, t) {
6529
+ function En(e, t) {
6530
6530
  if (!fo(e) || !t)
6531
6531
  return {};
6532
6532
  const i = {}, r = Pe(t.gt), n = Pe(t.ge), s = Pe(t.lt), a = Pe(t.le), u = Pe(t.multiple_of);
6533
6533
  return r !== void 0 && (i.gt = r), n !== void 0 && (i.ge = n), s !== void 0 && (i.lt = s), a !== void 0 && (i.le = a), u !== void 0 && u > 0 && (i.multiple_of = u), i;
6534
6534
  }
6535
6535
  function Iu(e, t) {
6536
- const i = Cn(e, t), r = [i.gt, i.ge].filter((s) => s !== void 0), n = [i.lt, i.le].filter((s) => s !== void 0);
6536
+ const i = En(e, t), r = [i.gt, i.ge].filter((s) => s !== void 0), n = [i.lt, i.le].filter((s) => s !== void 0);
6537
6537
  return {
6538
6538
  min: r.length ? Math.max(...r) : void 0,
6539
6539
  max: n.length ? Math.min(...n) : void 0,
@@ -6541,7 +6541,7 @@ function Iu(e, t) {
6541
6541
  };
6542
6542
  }
6543
6543
  function Nu(e, t, i) {
6544
- const r = Cn(t, i);
6544
+ const r = En(t, i);
6545
6545
  if (Object.keys(r).length === 0 || e === null || typeof e > "u" || typeof e == "string" && e.trim() === "")
6546
6546
  return null;
6547
6547
  const n = Pe(e);
@@ -6568,7 +6568,7 @@ function ge(e) {
6568
6568
  function Tu(e) {
6569
6569
  return Jn(e);
6570
6570
  }
6571
- function En(e) {
6571
+ function In(e) {
6572
6572
  const t = ge(e);
6573
6573
  if (t instanceof Date)
6574
6574
  return Number.isNaN(t.getTime()) ? null : t;
@@ -6589,7 +6589,7 @@ function _o(e) {
6589
6589
  const t = -e.getTimezoneOffset(), i = t >= 0 ? "+" : "-", r = Math.abs(t), n = Math.floor(r / 60), s = r % 60;
6590
6590
  return `${i}${Q(n)}:${Q(s)}`;
6591
6591
  }
6592
- function er(e) {
6592
+ function tr(e) {
6593
6593
  const t = e.getFullYear(), i = Q(e.getMonth() + 1), r = Q(e.getDate()), n = Q(e.getHours()), s = Q(e.getMinutes());
6594
6594
  return `${t}-${i}-${r}T${n}:${s}${_o(e)}`;
6595
6595
  }
@@ -6603,28 +6603,28 @@ function So(e) {
6603
6603
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(?::\d{2})?(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/.test(n))
6604
6604
  return n;
6605
6605
  const s = new Date(n);
6606
- return Number.isNaN(s.getTime()) ? e : er(s);
6606
+ return Number.isNaN(s.getTime()) ? e : tr(s);
6607
6607
  }
6608
6608
  if (t === null || typeof t > "u")
6609
6609
  return "";
6610
- const i = En(t);
6611
- return i ? er(i) : e;
6610
+ const i = In(t);
6611
+ return i ? tr(i) : e;
6612
6612
  }
6613
- function wo(e, t) {
6613
+ function ko(e, t) {
6614
6614
  const i = ge(e);
6615
6615
  if (typeof i == "string" && i.trim()) {
6616
- const h = i.trim();
6617
- if (t === "date" && /^\d{4}-\d{2}-\d{2}/.test(h))
6618
- return h.slice(0, 10);
6616
+ const p = i.trim();
6617
+ if (t === "date" && /^\d{4}-\d{2}-\d{2}/.test(p))
6618
+ return p.slice(0, 10);
6619
6619
  if (t === "datetime") {
6620
- const f = h.replace(" ", "T");
6620
+ const f = p.replace(" ", "T");
6621
6621
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}/.test(f))
6622
6622
  return f.slice(0, 16);
6623
6623
  }
6624
- if (t === "time" && /^\d{2}:\d{2}/.test(h))
6625
- return h.slice(0, 8);
6624
+ if (t === "time" && /^\d{2}:\d{2}/.test(p))
6625
+ return p.slice(0, 8);
6626
6626
  }
6627
- const r = En(i);
6627
+ const r = In(i);
6628
6628
  if (!r)
6629
6629
  return "";
6630
6630
  const n = r.getFullYear(), s = Q(r.getMonth() + 1), a = Q(r.getDate()), u = Q(r.getHours()), l = Q(r.getMinutes()), c = Q(r.getSeconds());
@@ -6635,7 +6635,7 @@ function Pu(e, t, i = {}) {
6635
6635
  if (r?.getDisplayValue) {
6636
6636
  const s = {
6637
6637
  type: i.type || "str",
6638
- normalizedType: ke(i.type),
6638
+ normalizedType: we(i.type),
6639
6639
  fieldKey: i.nodeFieldKey ?? "",
6640
6640
  node: {},
6641
6641
  value: e,
@@ -6646,7 +6646,7 @@ function Pu(e, t, i = {}) {
6646
6646
  }
6647
6647
  const n = ge(e);
6648
6648
  if (t === "date" || t === "datetime" || t === "time")
6649
- return wo(n, t);
6649
+ return ko(n, t);
6650
6650
  if (t === "number")
6651
6651
  return typeof n == "number" || typeof n == "string" ? n : "";
6652
6652
  if (t === "boolean-select") {
@@ -6661,17 +6661,17 @@ function Pu(e, t, i = {}) {
6661
6661
  }
6662
6662
  return "";
6663
6663
  }
6664
- return t === "dna" ? typeof n == "string" ? n : JSON.stringify(n) : t === "file" ? lo(n) : t === "scalar-list" ? JSON.stringify(kn(
6665
- An(n),
6664
+ return t === "dna" ? typeof n == "string" ? n : JSON.stringify(n) : t === "file" ? lo(n) : t === "scalar-list" ? JSON.stringify(An(
6665
+ Cn(n),
6666
6666
  Ai(i.type) ?? "string"
6667
6667
  )) : t === "entity-ref" || t === "resource-ref" ? vo(n) : Ci(i.type) ? bo(n) : typeof n == "string" ? n : n === null || typeof n > "u" ? "" : String(n);
6668
6668
  }
6669
6669
  function Ou(e, t, i, r = {}) {
6670
- const n = r.typePlugin ?? _n(t, r.typePlugins);
6670
+ const n = r.typePlugin ?? Sn(t, r.typePlugins);
6671
6671
  if (n?.parseInputValue) {
6672
6672
  const u = {
6673
6673
  type: t || "str",
6674
- normalizedType: ke(t),
6674
+ normalizedType: we(t),
6675
6675
  fieldKey: r.nodeFieldKey ?? "",
6676
6676
  node: {},
6677
6677
  rawValue: e,
@@ -6680,7 +6680,7 @@ function Ou(e, t, i, r = {}) {
6680
6680
  };
6681
6681
  return n.parseInputValue(u);
6682
6682
  }
6683
- const s = Sn(t), a = ke(me(t));
6683
+ const s = kn(t), a = we(me(t));
6684
6684
  if ((i === "date" || i === "datetime" || i === "time") && s && e.trim() === "")
6685
6685
  return null;
6686
6686
  if (i === "datetime")
@@ -6693,8 +6693,8 @@ function Ou(e, t, i, r = {}) {
6693
6693
  return Number.isNaN(l) ? e : l;
6694
6694
  }
6695
6695
  if (i === "scalar-list")
6696
- return kn(
6697
- An(e),
6696
+ return An(
6697
+ Cn(e),
6698
6698
  Ai(t) ?? "string"
6699
6699
  );
6700
6700
  if (i === "boolean-select") {
@@ -6713,7 +6713,7 @@ function Ou(e, t, i, r = {}) {
6713
6713
  }
6714
6714
  return s && e.trim() === "" ? null : e;
6715
6715
  }
6716
- function In(e) {
6716
+ function Nn(e) {
6717
6717
  switch (e) {
6718
6718
  case "checkbox":
6719
6719
  return 64;
@@ -6731,7 +6731,7 @@ function In(e) {
6731
6731
  return 0;
6732
6732
  }
6733
6733
  }
6734
- function ko(e) {
6734
+ function wo(e) {
6735
6735
  switch (e) {
6736
6736
  case "datetime":
6737
6737
  return 36;
@@ -6762,7 +6762,7 @@ function Ao(e) {
6762
6762
  }
6763
6763
  }
6764
6764
  function Lu(e, t) {
6765
- const i = Math.max(e.length + 7, 10), s = Math.round(i * 8 + 16), a = In(t);
6765
+ const i = Math.max(e.length + 7, 10), s = Math.round(i * 8 + 16), a = Nn(t);
6766
6766
  return `${Math.max(a, s)}px`;
6767
6767
  }
6768
6768
  function O(e) {
@@ -6770,11 +6770,11 @@ function O(e) {
6770
6770
  return Number.isFinite(t) ? t : 0;
6771
6771
  }
6772
6772
  let Jt = null;
6773
- function Nn() {
6773
+ function Tn() {
6774
6774
  return typeof window > "u" ? null : (Jt || (Jt = document.createElement("canvas")), Jt.getContext("2d"));
6775
6775
  }
6776
6776
  function Co(e, t) {
6777
- const i = Nn();
6777
+ const i = Tn();
6778
6778
  if (!i)
6779
6779
  return 0;
6780
6780
  const r = t.fontSize || "16px", n = t.fontFamily || "sans-serif", s = t.fontWeight || "400", a = t.fontStyle || "normal";
@@ -6812,15 +6812,15 @@ function No(e) {
6812
6812
  function To(e) {
6813
6813
  if (typeof window > "u")
6814
6814
  return e.scrollWidth;
6815
- const t = Nn();
6815
+ const t = Tn();
6816
6816
  if (!t)
6817
6817
  return e.scrollWidth;
6818
6818
  const i = window.getComputedStyle(e), r = i.fontSize || "16px", n = i.fontFamily || "sans-serif", s = i.fontWeight || "400", a = i.fontStyle || "normal";
6819
6819
  t.font = `${a} ${s} ${r} ${n}`;
6820
- const u = e instanceof HTMLSelectElement ? Array.from(e.options).map((h) => h.text).reduce((h, f) => t.measureText(f).width > t.measureText(h).width ? f : h, "") : "value" in e ? e.value || e.placeholder || "" : (e.textContent || "").trim(), l = t.measureText(u).width, c = O(i.paddingLeft) + O(i.paddingRight);
6820
+ const u = e instanceof HTMLSelectElement ? Array.from(e.options).map((p) => p.text).reduce((p, f) => t.measureText(f).width > t.measureText(p).width ? f : p, "") : "value" in e ? e.value || e.placeholder || "" : (e.textContent || "").trim(), l = t.measureText(u).width, c = O(i.paddingLeft) + O(i.paddingRight);
6821
6821
  return l + c + (e instanceof HTMLSelectElement ? 26 : 2);
6822
6822
  }
6823
- function tr(e, t, i) {
6823
+ function ir(e, t, i) {
6824
6824
  const r = e.querySelector(t);
6825
6825
  return r ? r.offsetWidth || i : 0;
6826
6826
  }
@@ -6851,25 +6851,25 @@ function Du(e, t) {
6851
6851
  }
6852
6852
  const r = No(i);
6853
6853
  let n = 0;
6854
- const s = i.querySelector(".aimd-rec-inline__input--stacked, .aimd-rec-inline__textarea--stacked-text, .aimd-rec-inline__file-control, .aimd-rec-inline__scalar-list"), a = Math.max(In(t), Ao(s));
6855
- s && (n = To(s) + ko(t)), i.querySelector(".aimd-rec-inline__control-row") && (n += tr(i, ".aimd-rec-inline__assigner-prefix", 36) + tr(i, ".aimd-rec-inline__assigner-status", 30));
6854
+ const s = i.querySelector(".aimd-rec-inline__input--stacked, .aimd-rec-inline__textarea--stacked-text, .aimd-rec-inline__file-control, .aimd-rec-inline__scalar-list"), a = Math.max(Nn(t), Ao(s));
6855
+ s && (n = To(s) + wo(t)), i.querySelector(".aimd-rec-inline__control-row") && (n += ir(i, ".aimd-rec-inline__assigner-prefix", 36) + ir(i, ".aimd-rec-inline__assigner-status", 30));
6856
6856
  const u = Math.max(a, r, n);
6857
6857
  i.style.width = `${Math.ceil(u)}px`, i.style.maxWidth = "100%";
6858
6858
  }
6859
6859
  export {
6860
6860
  Os as $,
6861
6861
  zt as A,
6862
- An as B,
6862
+ Cn as B,
6863
6863
  Ai as C,
6864
6864
  Et as D,
6865
6865
  Ho as E,
6866
- ku as F,
6866
+ wu as F,
6867
6867
  Au as G,
6868
6868
  Pu as H,
6869
6869
  Eu as I,
6870
6870
  eu as J,
6871
6871
  uo as K,
6872
- po as L,
6872
+ ho as L,
6873
6873
  yo as M,
6874
6874
  Ct as N,
6875
6875
  Yo as O,
@@ -6881,19 +6881,19 @@ export {
6881
6881
  So as U,
6882
6882
  Ja as V,
6883
6883
  qa as W,
6884
- Hi as X,
6884
+ Yi as X,
6885
6885
  si as Y,
6886
- Yi as Z,
6887
- Ir as _,
6886
+ Xi as Z,
6887
+ Nr as _,
6888
6888
  ru as a,
6889
6889
  xt as a$,
6890
- kn as a0,
6890
+ An as a0,
6891
6891
  Ts as a1,
6892
6892
  Is as a2,
6893
6893
  Cs as a3,
6894
6894
  Ls as a4,
6895
- Mi as a5,
6896
- ke as a6,
6895
+ Bi as a5,
6896
+ we as a6,
6897
6897
  Ou as a7,
6898
6898
  As as a8,
6899
6899
  st as a9,
@@ -6901,11 +6901,11 @@ export {
6901
6901
  Re as aB,
6902
6902
  Qn as aC,
6903
6903
  Hn as aD,
6904
- pr as aE,
6904
+ dr as aE,
6905
6905
  oi as aF,
6906
6906
  iu as aG,
6907
6907
  Bo as aH,
6908
- dr as aI,
6908
+ mr as aI,
6909
6909
  Uo as aJ,
6910
6910
  Wo as aK,
6911
6911
  zo as aL,
@@ -6931,56 +6931,56 @@ export {
6931
6931
  qo as ae,
6932
6932
  Vu as af,
6933
6933
  Tu as ag,
6934
- En as ah,
6934
+ In as ah,
6935
6935
  ge as ai,
6936
6936
  Wn as aj,
6937
6937
  Vt as ak,
6938
6938
  zn as al,
6939
- cr as am,
6940
- ur as an,
6939
+ fr as am,
6940
+ lr as an,
6941
6941
  Un as ao,
6942
- lr as ap,
6942
+ cr as ap,
6943
6943
  $n as aq,
6944
6944
  su as ar,
6945
- ks as as,
6946
- Li as at,
6945
+ ws as as,
6946
+ Vi as at,
6947
6947
  jo as au,
6948
6948
  ui as av,
6949
- fr as aw,
6949
+ pr as aw,
6950
6950
  Zn as ax,
6951
- Oi as ay,
6951
+ Li as ay,
6952
6952
  hr as az,
6953
6953
  Ns as b,
6954
6954
  oo as b0,
6955
6955
  xu as b1,
6956
- _n as b2,
6957
- ou as b3,
6958
- wu as b4,
6959
- Su as b5,
6960
- fo as b6,
6961
- Nu as b7,
6962
- Vo as b8,
6963
- Fo as b9,
6964
- Sn as ba,
6965
- Ro as bb,
6966
- Cu as bc,
6967
- Ba as bd,
6968
- Iu as be,
6969
- wa as bf,
6970
- mo as bg,
6971
- jn as bh,
6972
- Lo as bi,
6973
- Do as bj,
6974
- cu as bk,
6975
- Bn as bl,
6976
- Fe as bm,
6956
+ Sn as b2,
6957
+ Bn as b3,
6958
+ Fe as b4,
6959
+ Do as b5,
6960
+ ou as b6,
6961
+ ku as b7,
6962
+ Su as b8,
6963
+ fo as b9,
6964
+ Nu as ba,
6965
+ Vo as bb,
6966
+ Fo as bc,
6967
+ kn as bd,
6968
+ Ro as be,
6969
+ Cu as bf,
6970
+ Ba as bg,
6971
+ Iu as bh,
6972
+ ka as bi,
6973
+ mo as bj,
6974
+ jn as bk,
6975
+ Lo as bl,
6976
+ cu as bm,
6977
6977
  Oo as bn,
6978
- On as bo,
6978
+ Dn as bo,
6979
6979
  lu as bp,
6980
6980
  uu as bq,
6981
6981
  fu as br,
6982
- hu as bs,
6983
- pu as bt,
6982
+ pu as bs,
6983
+ hu as bt,
6984
6984
  Du as c,
6985
6985
  gu as d,
6986
6986
  Lu as e,
@@ -6989,13 +6989,13 @@ export {
6989
6989
  gi as h,
6990
6990
  Ua as i,
6991
6991
  za as j,
6992
- xn as k,
6993
- Er as l,
6992
+ vn as k,
6993
+ Ir as l,
6994
6994
  lt as m,
6995
6995
  _u as n,
6996
6996
  au as o,
6997
- wo as p,
6998
- er as q,
6997
+ ko as p,
6998
+ tr as q,
6999
6999
  Jo as r,
7000
7000
  yu as s,
7001
7001
  lo as t,
@@ -7004,5 +7004,5 @@ export {
7004
7004
  Xo as w,
7005
7005
  Zo as x,
7006
7006
  Vs as y,
7007
- ho as z
7007
+ po as z
7008
7008
  };