decocms 4.113.3 → 4.114.0

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 (437) hide show
  1. package/dist/client/assets/{AlertCircle-C3yBEe62.js → AlertCircle-u3-jN7cm.js} +1 -1
  2. package/dist/client/assets/{AreaChart-infhzD-o.js → AreaChart-BW8WzRm-.js} +1 -1
  3. package/dist/client/assets/{ArrowRight-csX1J00v.js → ArrowRight-mNj20Zjh.js} +1 -1
  4. package/dist/client/assets/{ArrowUp-BMUqiZDH.js → ArrowUp-L9cgM-6a.js} +1 -1
  5. package/dist/client/assets/{ArrowUpRight-B0lTHBei.js → ArrowUpRight-H1UBXt5Z.js} +1 -1
  6. package/dist/client/assets/{Check-BOCHVTek.js → Check-CaYU5aLO.js} +1 -1
  7. package/dist/client/assets/{CheckCircle-C06fMtNJ.js → CheckCircle-CMKcMKAK.js} +1 -1
  8. package/dist/client/assets/{ChevronDown-yHcuw3Yi.js → ChevronDown-CX9YkMBs.js} +1 -1
  9. package/dist/client/assets/{ChevronRight-BvtCGcbv.js → ChevronRight-DbHUX8I-.js} +1 -1
  10. package/dist/client/assets/{ChevronUp-ClBbaiAV.js → ChevronUp-DIB-4lf0.js} +1 -1
  11. package/dist/client/assets/{Copy01-DjMityLv.js → Copy01-CjNrDuBL.js} +1 -1
  12. package/dist/client/assets/{DotsVertical-C4ZbABhl.js → DotsVertical-Bp1NHhTP.js} +1 -1
  13. package/dist/client/assets/{Eye-Drm0H5R_.js → Eye-FOTe0Dsm.js} +1 -1
  14. package/dist/client/assets/{FilterLines-DqKeoryA.js → FilterLines-BZTwbbeF.js} +1 -1
  15. package/dist/client/assets/{Globe01-BQOw_Ub7.js → Globe01-DOxk62wN.js} +1 -1
  16. package/dist/client/assets/{Globe04-CGcQW0g-.js → Globe04-9hsl-3e6.js} +1 -1
  17. package/dist/client/assets/{HardDrive-CWWkxzA_.js → HardDrive-ynMUj-ia.js} +1 -1
  18. package/dist/client/assets/{Image01-DlFSq1lp.js → Image01-av9S7TeF.js} +1 -1
  19. package/dist/client/assets/{Key01-DrW6AdUh.js → Key01-CwuF_1BL.js} +1 -1
  20. package/dist/client/assets/{LayoutLeft-DcUppE8c.js → LayoutLeft-D_cBv5Sy.js} +1 -1
  21. package/dist/client/assets/{LinkExternal01-BboRX9pE.js → LinkExternal01-B1nrIFqo.js} +1 -1
  22. package/dist/client/assets/{LogOut01-BB-7O4XA.js → LogOut01-BZi_DqYW.js} +1 -1
  23. package/dist/client/assets/{Monitor01-CcN96Otm.js → Monitor01-ymd1mMPU.js} +1 -1
  24. package/dist/client/assets/{Package-BzQD_Ty_.js → Package-CM9ahKwn.js} +1 -1
  25. package/dist/client/assets/{Palette-Blkp2e-R.js → Palette-Ct1p9svP.js} +1 -1
  26. package/dist/client/assets/{Play-D8x6tbEi.js → Play-DVEIH1ry.js} +1 -1
  27. package/dist/client/assets/{Plus-CzNYCMBF.js → Plus-B2hbLmYg.js} +1 -1
  28. package/dist/client/assets/{SearchLg-ChhVm0Qf.js → SearchLg-CtS3seao.js} +1 -1
  29. package/dist/client/assets/{SearchMd-CTSIioHN.js → SearchMd-D3MjkhDD.js} +1 -1
  30. package/dist/client/assets/{Settings02-Cw_4rjJK.js → Settings02-BetwzLEO.js} +1 -1
  31. package/dist/client/assets/{Shield01-DSa5H3Oo.js → Shield01-BAlJAwp4.js} +1 -1
  32. package/dist/client/assets/{Star01-D85zX6Wg.js → Star01-Cp-5Xhim.js} +1 -1
  33. package/dist/client/assets/{Stars01-DTnCAiJN.js → Stars01-CvaXntTQ.js} +1 -1
  34. package/dist/client/assets/{Stars02-BOwVjfZL.js → Stars02-DyviDCrE.js} +1 -1
  35. package/dist/client/assets/{Sun-BgpgdJOh.js → Sun-Y3l5BCJc.js} +1 -1
  36. package/dist/client/assets/{SwitchHorizontal01-DdzfKexZ.js → SwitchHorizontal01-q1XlSXKm.js} +1 -1
  37. package/dist/client/assets/{Tool01-BHPElJg3.js → Tool01-DiRWeEXb.js} +1 -1
  38. package/dist/client/assets/{Tool02-B1WxUTRS.js → Tool02-aqrHyC0g.js} +1 -1
  39. package/dist/client/assets/{Trash01-CQs4hG5x.js → Trash01-COnrCNth.js} +1 -1
  40. package/dist/client/assets/{TrendUp01-Cjtdx_Mr.js → TrendUp01-Bn-PWo-g.js} +1 -1
  41. package/dist/client/assets/{Upload01-2aufxkFJ.js → Upload01-DGTw7Jar.js} +1 -1
  42. package/dist/client/assets/{User01-qg2q5EXG.js → User01-BIMIGJ25.js} +1 -1
  43. package/dist/client/assets/{Users01-DecEGc0z.js → Users01-CZUvnM1S.js} +1 -1
  44. package/dist/client/assets/{Users03-DvyrEhaR.js → Users03-CVsX8nJx.js} +1 -1
  45. package/dist/client/assets/{X-ByT759cs.js → X-DNu2-GhF.js} +1 -1
  46. package/dist/client/assets/{XCircle-bCCgCduZ.js → XCircle-C_rSb0eR.js} +1 -1
  47. package/dist/client/assets/{XClose-CZnGWolh.js → XClose-DW-dDUEB.js} +1 -1
  48. package/dist/client/assets/{Zap-CqiaHzzF.js → Zap-De1_wbpV.js} +1 -1
  49. package/dist/client/assets/{ZapSquare-c0rQSrXf.js → ZapSquare-Bp4aYGIH.js} +1 -1
  50. package/dist/client/assets/{ZoomOut-CrXsudJp.js → ZoomOut-BgItYrX3.js} +1 -1
  51. package/dist/client/assets/{access-gate-v1EkWw_v.js → access-gate-CvPG2rlY.js} +1 -1
  52. package/dist/client/assets/{add-section-modal-CCmZDfGj.js → add-section-modal-BA2tqrcH.js} +1 -1
  53. package/dist/client/assets/{agent-icon-BOnTghRl.js → agent-icon-CtZCFShI.js} +1 -1
  54. package/dist/client/assets/{agents-list-Bh9Nz4Fw.js → agents-list-j6YU2i_U.js} +1 -1
  55. package/dist/client/assets/{ai-providers-B78j6u61.js → ai-providers-DLZzYNyZ.js} +1 -1
  56. package/dist/client/assets/{alert-D-rAiL9n.js → alert-EAq1jY4N.js} +1 -1
  57. package/dist/client/assets/{alert-dialog-BV1C1gcm.js → alert-dialog-aAfJenSo.js} +1 -1
  58. package/dist/client/assets/{app-editor-0kysJGlw.js → app-editor-az0PkUZQ.js} +1 -1
  59. package/dist/client/assets/{auth-catchall-OgqNGUQu.js → auth-catchall-DBwvY4WS.js} +1 -1
  60. package/dist/client/assets/{auth-entry-Bu-wAE4C.js → auth-entry-BPBAWmPC.js} +1 -1
  61. package/dist/client/assets/{auth-split-layout-BPjEQYcT.js → auth-split-layout-DDWwxUG2.js} +1 -1
  62. package/dist/client/assets/{auth-DrixEdZV.js → auth-uUmd_yUz.js} +1 -1
  63. package/dist/client/assets/{authenticate-and-persist-oauth-trH0piDT.js → authenticate-and-persist-oauth-nQ-5iboz.js} +1 -1
  64. package/dist/client/assets/{automation-list-row-Hhbhn6Ve.js → automation-list-row-DLSYuPO0.js} +1 -1
  65. package/dist/client/assets/{automation-runs-Cl8NKzOf.js → automation-runs-BvVxkEL_.js} +1 -1
  66. package/dist/client/assets/{automations-C0XROIdQ.js → automations-Dg5iM9D-.js} +1 -1
  67. package/dist/client/assets/{autosend-bk9SGLB7.js → autosend-DNGUJUeU.js} +1 -1
  68. package/dist/client/assets/{avatar-TfVrzXcD.js → avatar-yTPDq5I2.js} +1 -1
  69. package/dist/client/assets/{badge-Dq8tKfND.js → badge-BYYz59-0.js} +1 -1
  70. package/dist/client/assets/{block-document-CSSMbpaN.js → block-document-D_2P8u2S.js} +1 -1
  71. package/dist/client/assets/{brand-context-BpSXT9j1.js → brand-context-BdmZewbA.js} +1 -1
  72. package/dist/client/assets/{buckets-CSQzXH56.js → buckets-BalCtIX4.js} +1 -1
  73. package/dist/client/assets/{bulk-category-panel-BnemcYrz.js → bulk-category-panel-CziXKZ4f.js} +1 -1
  74. package/dist/client/assets/{calendar-C4A-LflQ.js → calendar-DWFDhFNo.js} +1 -1
  75. package/dist/client/assets/{capability-load-error-BVansliv.js → capability-load-error-BVSx_lmj.js} +1 -1
  76. package/dist/client/assets/{card-CYIXg6Tz.js → card-C3QUqs2n.js} +1 -1
  77. package/dist/client/assets/{category-editor-CQlm8YTD.js → category-editor-yjOQrzEJ.js} +1 -1
  78. package/dist/client/assets/{chat-context-C0qm1cNd.js → chat-context-DZnGXN4a.js} +1 -1
  79. package/dist/client/assets/{checkbox-CJlLtjz4.js → checkbox-CBFK8MAq.js} +1 -1
  80. package/dist/client/assets/{cli-auth-success-xyy-6T0v.js → cli-auth-success-2A3RVtIL.js} +1 -1
  81. package/dist/client/assets/{collection-detail-Ber5gOC6.js → collection-detail-Fw_SCIDN.js} +1 -1
  82. package/dist/client/assets/{collection-display-button-_9VLEjYD.js → collection-display-button-CMt3Z67p.js} +1 -1
  83. package/dist/client/assets/{collection-search-DMVP7tq9.js → collection-search-B9mHZ3UO.js} +1 -1
  84. package/dist/client/assets/{collection-table-wrapper-CfaNknkJ.js → collection-table-wrapper-C2UsHzHD.js} +1 -1
  85. package/dist/client/assets/{collection-tabs-BYtcgqcY.js → collection-tabs-BDkyuUR4.js} +1 -1
  86. package/dist/client/assets/{command-55Q776qF.js → command-BPpRMP2H.js} +1 -1
  87. package/dist/client/assets/{commerce-onboarding-CwQohRCA.js → commerce-onboarding-C0k3wy77.js} +1 -1
  88. package/dist/client/assets/{companions-core-BsogTMm0.js → companions-core-DiyBwoGG.js} +1 -1
  89. package/dist/client/assets/{connect-Dzubmbm6.js → connect-D2oqeqWc.js} +1 -1
  90. package/dist/client/assets/{connect-desktop-dialog-BRyqkebt.js → connect-desktop-dialog-DNUW6BIf.js} +1 -1
  91. package/dist/client/assets/{connection-card-CnHj36QW.js → connection-card-QCEeFg-E.js} +1 -1
  92. package/dist/client/assets/{connection-detail-DioIwvgq.js → connection-detail-BuvcWRak.js} +1 -1
  93. package/dist/client/assets/{connection-form-helpers-C36oVpDa.js → connection-form-helpers--HrBI-cC.js} +1 -1
  94. package/dist/client/assets/{connections-CMhMeidX.js → connections-CWtydlE_.js} +1 -1
  95. package/dist/client/assets/{decopilot-sse-pool-DbXyz4b2.js → decopilot-sse-pool-D68vKjC2.js} +1 -1
  96. package/dist/client/assets/{dialog-Mssh4wvU.js → dialog-CrWMCat9.js} +1 -1
  97. package/dist/client/assets/{domain-settings-D5jbLq0-.js → domain-settings-qXQKOoeU.js} +1 -1
  98. package/dist/client/assets/{drawer-Df2dZjAh.js → drawer-DVTkiBrG.js} +1 -1
  99. package/dist/client/assets/{dropdown-menu-BOgizJmB.js → dropdown-menu-CWVq2kdv.js} +1 -1
  100. package/dist/client/assets/{empty-state-CajaBMj9.js → empty-state-BtX-gDuD.js} +1 -1
  101. package/dist/client/assets/{extract-connection-data-Bd7ZbKmz.js → extract-connection-data-DfO_43Ui.js} +1 -1
  102. package/dist/client/assets/{file-explorer-C0-F0HB8.js → file-explorer-nlzTvV0U.js} +1 -1
  103. package/dist/client/assets/{file-type-icon-DeZBzLiN.js → file-type-icon-Blhm8rpp.js} +1 -1
  104. package/dist/client/assets/{files-DMRbcRYD.js → files-CB-VCQ9J.js} +1 -1
  105. package/dist/client/assets/{form-a5EhWS__.js → form-JvR3caoV.js} +1 -1
  106. package/dist/client/assets/{general-BXzwd9kr.js → general-ofhGwPwk.js} +1 -1
  107. package/dist/client/assets/{github-repo-picker-BF2G7ylb.js → github-repo-picker-BzqT9Pn1.js} +1 -1
  108. package/dist/client/assets/{hooks-BYKqudQZ.js → hooks-CX-tJdCi.js} +1 -1
  109. package/dist/client/assets/{index-DKYptawH.js → index-BF9MIXYh.js} +1 -1
  110. package/dist/client/assets/{index-i4iJK1qu.js → index-BQKAFkvb.js} +3 -3
  111. package/dist/client/assets/{index-wa1mGSJt.js → index-Bl8jlw7D.js} +5 -5
  112. package/dist/client/assets/{index-D3QnFu3t.js → index-Bm91_nbV.js} +3 -3
  113. package/dist/client/assets/{index-D6Qe38nY.js → index-BuHs6OTD.js} +1 -1
  114. package/dist/client/assets/{index-D0XkAkng.js → index-CZGf-QlT.js} +1 -1
  115. package/dist/client/assets/{index-D8_uS6ju.js → index-CdqOC8p4.js} +1 -1
  116. package/dist/client/assets/{index-ChR3SC6w.js → index-D8itVaOh.js} +1 -1
  117. package/dist/client/assets/{index-Dd318vVc.js → index-DeAa7cPD.js} +1 -1
  118. package/dist/client/assets/{index-CDAhksmq.js → index-TgTbYxQM.js} +1 -1
  119. package/dist/client/assets/{index-BjFrw_Cz.js → index-cM-0JEJy.js} +1 -1
  120. package/dist/client/assets/{index-BvXIjHT6.js → index-jrZjRdSI.js} +1 -1
  121. package/dist/client/assets/{index-BzKhWus-.js → index-k2B6oHDy.js} +1 -1
  122. package/dist/client/assets/{index-redirect-DAwJl3u9.js → index-redirect-pd-pFoY5.js} +1 -1
  123. package/dist/client/assets/{input-DBTIXVeB.js → input-CfDoPzy7.js} +1 -1
  124. package/dist/client/assets/{integration-icon-Cws5p9F1.js → integration-icon-ChBrp2uX.js} +1 -1
  125. package/dist/client/assets/{invite-member-dialog-U14K8dLP.js → invite-member-dialog-7T9uI3o5.js} +1 -1
  126. package/dist/client/assets/{label-hZbHKQe4.js → label-Br-zNLTG.js} +1 -1
  127. package/dist/client/assets/{layout-BbmfwSeT.js → layout-DMOlkuOh.js} +1 -1
  128. package/dist/client/assets/{login-CYk7QqzO.js → login-CWIddfiC.js} +1 -1
  129. package/dist/client/assets/{mcp-oauth-BBJ-dCGK.js → mcp-oauth-DhzxU0XK.js} +1 -1
  130. package/dist/client/assets/{members-Br5ZzfAU.js → members-CGKVy4T3.js} +1 -1
  131. package/dist/client/assets/{monaco-editor-B7XD9jse.js → monaco-editor-BcwFx31f.js} +1 -1
  132. package/dist/client/assets/{monitoring-stats-row-CiB1VTGS.js → monitoring-stats-row-DKIXNyFS.js} +1 -1
  133. package/dist/client/assets/{multi-select-DtCSfvTi.js → multi-select-DwEYUWQk.js} +1 -1
  134. package/dist/client/assets/{oauth-callback-CuoSY6yW.js → oauth-callback-CRC-TNHK.js} +1 -1
  135. package/dist/client/assets/{oauth-callback-ai-provider-DTd9RCl8.js → oauth-callback-ai-provider-Bn5ecNQ9.js} +1 -1
  136. package/dist/client/assets/{onboarding-VI53SQy5.js → onboarding-ChQBM6P7.js} +1 -1
  137. package/dist/client/assets/{org-install-BpRHfBoz.js → org-install-B2VYuIrV.js} +1 -1
  138. package/dist/client/assets/{org-layout-Ip0hYM6i.js → org-layout-CXw1-r8T.js} +1 -1
  139. package/dist/client/assets/{organization-choice-Ccir5zvX.js → organization-choice-thMPBy_H.js} +1 -1
  140. package/dist/client/assets/{orgs-BK0nOPLw.js → orgs-DpewEJO4.js} +1 -1
  141. package/dist/client/assets/{page-seo-form-CBAWdwBB.js → page-seo-form-Bj8agFDN.js} +1 -1
  142. package/dist/client/assets/page-seo-sheet-xYyduq_3.js +1 -0
  143. package/dist/client/assets/{popover-WvXSsr2A.js → popover-PFUSi04J.js} +1 -1
  144. package/dist/client/assets/{post-editor-GEIG3Qbs.js → post-editor-fudBfEMW.js} +1 -1
  145. package/dist/client/assets/{primitives-B4b9OMlU.js → primitives-CRg4BEbe.js} +1 -1
  146. package/dist/client/assets/{profile-BJOXihUj.js → profile-krVPqEis.js} +1 -1
  147. package/dist/client/assets/project-app-view-F_105CvS.js +1 -0
  148. package/dist/client/assets/record-editor-B9z6hPr0.js +1 -0
  149. package/dist/client/assets/redirect-editor-pmxNft8I.js +1 -0
  150. package/dist/client/assets/registry-BBaBGga3.js +2 -0
  151. package/dist/client/assets/{registry-layout-CUSBCALf.js → registry-layout-D0if0uky.js} +2 -2
  152. package/dist/client/assets/{reports-CJYmnCRR.js → reports-DQRCq5Dl.js} +2 -2
  153. package/dist/client/assets/{require-capability-BOqOfzCO.js → require-capability-lUm3WxQW.js} +1 -1
  154. package/dist/client/assets/{required-auth-layout-C1iQaX9e.js → required-auth-layout-zgA3qXU6.js} +1 -1
  155. package/dist/client/assets/{reset-password-ChmXlYVK.js → reset-password-d6_AkYAQ.js} +1 -1
  156. package/dist/client/assets/{roles-CuzTIzcA.js → roles-B_zG47r7.js} +1 -1
  157. package/dist/client/assets/{search-input-Di_KVfz5.js → search-input-Im3obJ_5.js} +1 -1
  158. package/dist/client/assets/{secrets-Cwnb5SFR.js → secrets-DZpWBr7n.js} +1 -1
  159. package/dist/client/assets/{sections-editor-BnUP7eos.js → sections-editor-D7TakwFG.js} +1 -1
  160. package/dist/client/assets/{select-CS3vGjLf.js → select-BDOR27tE.js} +1 -1
  161. package/dist/client/assets/{select-model-CBkA3Qex.js → select-model-BRQ-V94m.js} +1 -1
  162. package/dist/client/assets/{self-tool-result-olaCzjy8.js → self-tool-result-VStIScqg.js} +1 -1
  163. package/dist/client/assets/{seo-editor-BS3PrYY5.js → seo-editor-DgKKLq5W.js} +1 -1
  164. package/dist/client/assets/{settings-layout-BWiwB1ve.js → settings-layout-CxNvsg8J.js} +1 -1
  165. package/dist/client/assets/{settings-section-B42r-p4q.js → settings-section-BWS26hMF.js} +1 -1
  166. package/dist/client/assets/{shell-controls-CG47bgem.js → shell-controls-HSPoO0mS.js} +1 -1
  167. package/dist/client/assets/{shell-layout-C2jFubEc.js → shell-layout-D_sblBCw.js} +1 -1
  168. package/dist/client/assets/{sidebar-DhNO0hbl.js → sidebar-BvGzib5A.js} +1 -1
  169. package/dist/client/assets/{skeleton-CkFFLL1Z.js → skeleton-BUe_WzkR.js} +1 -1
  170. package/dist/client/assets/{sso-DvIYBwsX.js → sso-dMXAkSfn.js} +1 -1
  171. package/dist/client/assets/{store-D2kZokQ2.js → store-qzvEGiXH.js} +1 -1
  172. package/dist/client/assets/store-registry-C0M7zBzp.js +2 -0
  173. package/dist/client/assets/{studio-tools-Dj_suUV-.js → studio-tools-CvoMFYCt.js} +1 -1
  174. package/dist/client/assets/{switch-CWGgmiWZ.js → switch-muGjhkBJ.js} +1 -1
  175. package/dist/client/assets/{table-B7Z84RDB.js → table-BUQ1sil8.js} +1 -1
  176. package/dist/client/assets/{tabs-CSjEyx_g.js → tabs-DHpcGpHH.js} +1 -1
  177. package/dist/client/assets/{textarea-DNrJISFS.js → textarea-Bt_QtOk0.js} +1 -1
  178. package/dist/client/assets/{toggle-group-DngQXFC1.js → toggle-group-CQKX4oUd.js} +1 -1
  179. package/dist/client/assets/{toolbar-BJAhXpws.js → toolbar-0DwtxERz.js} +1 -1
  180. package/dist/client/assets/{toolbar-icon-button-BPZ8JgHL.js → toolbar-icon-button-DZhVI9-2.js} +1 -1
  181. package/dist/client/assets/{tooltip-BoYfeb4r.js → tooltip-BigwhDSP.js} +1 -1
  182. package/dist/client/assets/{use-ai-providers-B0uEL6GU.js → use-ai-providers-WKbvbsVL.js} +1 -1
  183. package/dist/client/assets/{use-api-keys-BUXdsmWE.js → use-api-keys-Te5PgtxD.js} +1 -1
  184. package/dist/client/assets/{use-automations-BX-f2xPQ.js → use-automations--GMik9NX.js} +1 -1
  185. package/dist/client/assets/{use-autosave-D2xExJSi.js → use-autosave-M2ceoril.js} +1 -1
  186. package/dist/client/assets/{use-capability-zn_dFQCr.js → use-capability-Bh8YlueK.js} +1 -1
  187. package/dist/client/assets/{use-clock-tick-Daz3W4ZL.js → use-clock-tick-IRvpmO0_.js} +1 -1
  188. package/dist/client/assets/{use-connection-CI4KVjBL.js → use-connection-COZgUeU0.js} +1 -1
  189. package/dist/client/assets/{use-copy-BFe-yhR7.js → use-copy-CFyLSHsK.js} +1 -1
  190. package/dist/client/assets/{use-create-virtual-mcp-BruuOj8R.js → use-create-virtual-mcp-VVjBeALb.js} +1 -1
  191. package/dist/client/assets/{use-debounced-autosave-C18-WjK7.js → use-debounced-autosave-BxkO-_ca.js} +1 -1
  192. package/dist/client/assets/{use-debounced-value-CgLjUKeF.js → use-debounced-value-DmIl8W6n.js} +1 -1
  193. package/dist/client/assets/{use-deco-credits-Cl6XjjTb.js → use-deco-credits-CmiQbTPM.js} +1 -1
  194. package/dist/client/assets/{use-decopilot-events-Opg95yOG.js → use-decopilot-events-O1Gk-ETR.js} +1 -1
  195. package/dist/client/assets/{use-delete-connection-CkYrHV-n.js → use-delete-connection-B5quwMM9.js} +1 -1
  196. package/dist/client/assets/{use-deployment-admin-CWMJlws-.js → use-deployment-admin-BElTs8M7.js} +1 -1
  197. package/dist/client/assets/{use-file-configs-CU2Y0Emb.js → use-file-configs-B0d07k9Y.js} +1 -1
  198. package/dist/client/assets/{use-infinite-scroll-mXDq9sbk.js → use-infinite-scroll-BZlKDm5N.js} +1 -1
  199. package/dist/client/assets/{use-join-requests-zFCwv89L.js → use-join-requests-CZ3onEZJ.js} +1 -1
  200. package/dist/client/assets/{use-mcp-auth-status-BoHM8OB0.js → use-mcp-auth-status-BeMiAxE7.js} +1 -1
  201. package/dist/client/assets/{use-mcp-client-DL89siIV.js → use-mcp-client-CZsvR6c7.js} +1 -1
  202. package/dist/client/assets/{use-mcp-tools-C4CClJFZ.js → use-mcp-tools-C86d_75c.js} +1 -1
  203. package/dist/client/assets/{use-members-A3agoGMA.js → use-members-DmoF-3Ie.js} +1 -1
  204. package/dist/client/assets/{use-mobile-BwfgD4pT.js → use-mobile-BVFGUH1V.js} +1 -1
  205. package/dist/client/assets/{use-navigate-to-agent-Bc0CpSD2.js → use-navigate-to-agent-CID4qRVq.js} +1 -1
  206. package/dist/client/assets/{use-org-auth-client-BTfVRkCO.js → use-org-auth-client-CcOUerBq.js} +1 -1
  207. package/dist/client/assets/{use-org-sso-DYo24v3_.js → use-org-sso-DK1YMh-o.js} +1 -1
  208. package/dist/client/assets/{use-organization-roles-DYKLAq-n.js → use-organization-roles-DGfdPMyJ.js} +1 -1
  209. package/dist/client/assets/{use-organization-settings-DoCpZun-.js → use-organization-settings-C8zNTcuC.js} +1 -1
  210. package/dist/client/assets/{use-registry-app-nEihaLca.js → use-registry-app-DOaPd1Kq.js} +1 -1
  211. package/dist/client/assets/{use-registry-connections-DuneVuyO.js → use-registry-connections-BLLrfs0c.js} +1 -1
  212. package/dist/client/assets/{use-secrets-CG9MzH4M.js → use-secrets-CmLaq4UW.js} +1 -1
  213. package/dist/client/assets/{use-status-sounds-C-LWwT7t.js → use-status-sounds-C_iNgi5N.js} +1 -1
  214. package/dist/client/assets/{use-view-mode--BSnFAw6.js → use-view-mode-Be73RvXD.js} +1 -1
  215. package/dist/client/assets/{use-virtual-mcp-C6uu6xME.js → use-virtual-mcp-BGZZhgI8.js} +1 -1
  216. package/dist/client/assets/useInfiniteQuery-Cdk9mXL-.js +1 -0
  217. package/dist/client/assets/{useQueries-BT8q2MfJ.js → useQueries-C11UDtFe.js} +1 -1
  218. package/dist/client/assets/{useRouterState-BMgTcVFU.js → useRouterState-B8sLgF57.js} +1 -1
  219. package/dist/client/assets/useSuspenseInfiniteQuery-LZ9xlW1Z.js +1 -0
  220. package/dist/client/assets/{users-BXaOYgw2.js → users-B_lOVuoe.js} +1 -1
  221. package/dist/client/assets/{variant-calendar-C61DYxyp.js → variant-calendar-3-o3D_Rr.js} +1 -1
  222. package/dist/client/assets/{view-mode-toggle-C8Ikqgl7.js → view-mode-toggle-DnN-vUal.js} +1 -1
  223. package/dist/client/index.html +1 -1
  224. package/dist/client/report-og-fallback.png +0 -0
  225. package/dist/server/cli.js +680 -686
  226. package/dist/server/migrate.js +5 -5
  227. package/dist/server/node_modules/@resvg/resvg-js/LICENSE +373 -0
  228. package/dist/server/node_modules/@resvg/resvg-js/README.md +314 -0
  229. package/dist/server/node_modules/@resvg/resvg-js/index.js +23 -0
  230. package/dist/server/node_modules/@resvg/resvg-js/js-binding.js +1 -0
  231. package/dist/server/node_modules/@resvg/resvg-js/package.json +152 -0
  232. package/dist/server/node_modules/@shuding/opentype.js/LICENSE +20 -0
  233. package/dist/server/node_modules/@shuding/opentype.js/README.md +9 -0
  234. package/dist/server/node_modules/@shuding/opentype.js/RELEASES.md +272 -0
  235. package/dist/server/node_modules/@shuding/opentype.js/bin/ot +84 -0
  236. package/dist/server/node_modules/@shuding/opentype.js/bin/server.js +64 -0
  237. package/dist/server/node_modules/@shuding/opentype.js/bin/test-render +96 -0
  238. package/dist/server/node_modules/@shuding/opentype.js/dist/opentype.js +11655 -0
  239. package/dist/server/node_modules/@shuding/opentype.js/dist/opentype.min.js +2 -0
  240. package/dist/server/node_modules/@shuding/opentype.js/dist/opentype.module.js +11639 -0
  241. package/dist/server/node_modules/@shuding/opentype.js/package.json +73 -0
  242. package/dist/server/node_modules/@shuding/opentype.js/src/bbox.js +158 -0
  243. package/dist/server/node_modules/@shuding/opentype.js/src/bidi.js +243 -0
  244. package/dist/server/node_modules/@shuding/opentype.js/src/char.js +43 -0
  245. package/dist/server/node_modules/@shuding/opentype.js/src/check.js +16 -0
  246. package/dist/server/node_modules/@shuding/opentype.js/src/encoding.js +1032 -0
  247. package/dist/server/node_modules/@shuding/opentype.js/src/features/applySubstitution.js +74 -0
  248. package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/arabicPresentationForms.js +83 -0
  249. package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/arabicRequiredLigatures.js +41 -0
  250. package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/contextCheck/arabicSentence.js +43 -0
  251. package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/contextCheck/arabicWord.js +31 -0
  252. package/dist/server/node_modules/@shuding/opentype.js/src/features/featureQuery.js +483 -0
  253. package/dist/server/node_modules/@shuding/opentype.js/src/features/latn/contextCheck/latinWord.js +31 -0
  254. package/dist/server/node_modules/@shuding/opentype.js/src/features/latn/latinLigatures.js +40 -0
  255. package/dist/server/node_modules/@shuding/opentype.js/src/font.js +433 -0
  256. package/dist/server/node_modules/@shuding/opentype.js/src/glyph.js +274 -0
  257. package/dist/server/node_modules/@shuding/opentype.js/src/glyphset.js +150 -0
  258. package/dist/server/node_modules/@shuding/opentype.js/src/hintingtt.js +3062 -0
  259. package/dist/server/node_modules/@shuding/opentype.js/src/index.js +5 -0
  260. package/dist/server/node_modules/@shuding/opentype.js/src/layout.js +357 -0
  261. package/dist/server/node_modules/@shuding/opentype.js/src/opentype.js +375 -0
  262. package/dist/server/node_modules/@shuding/opentype.js/src/parse.js +628 -0
  263. package/dist/server/node_modules/@shuding/opentype.js/src/path.js +212 -0
  264. package/dist/server/node_modules/@shuding/opentype.js/src/position.js +77 -0
  265. package/dist/server/node_modules/@shuding/opentype.js/src/substitution.js +447 -0
  266. package/dist/server/node_modules/@shuding/opentype.js/src/table.js +215 -0
  267. package/dist/server/node_modules/@shuding/opentype.js/src/tables/cff.js +1156 -0
  268. package/dist/server/node_modules/@shuding/opentype.js/src/tables/cmap.js +145 -0
  269. package/dist/server/node_modules/@shuding/opentype.js/src/tables/fvar.js +71 -0
  270. package/dist/server/node_modules/@shuding/opentype.js/src/tables/gdef.js +62 -0
  271. package/dist/server/node_modules/@shuding/opentype.js/src/tables/glyf.js +349 -0
  272. package/dist/server/node_modules/@shuding/opentype.js/src/tables/gpos.js +146 -0
  273. package/dist/server/node_modules/@shuding/opentype.js/src/tables/gsub.js +251 -0
  274. package/dist/server/node_modules/@shuding/opentype.js/src/tables/head.js +35 -0
  275. package/dist/server/node_modules/@shuding/opentype.js/src/tables/hhea.js +27 -0
  276. package/dist/server/node_modules/@shuding/opentype.js/src/tables/hmtx.js +51 -0
  277. package/dist/server/node_modules/@shuding/opentype.js/src/tables/kern.js +69 -0
  278. package/dist/server/node_modules/@shuding/opentype.js/src/tables/loca.js +31 -0
  279. package/dist/server/node_modules/@shuding/opentype.js/src/tables/ltag.js +33 -0
  280. package/dist/server/node_modules/@shuding/opentype.js/src/tables/maxp.js +32 -0
  281. package/dist/server/node_modules/@shuding/opentype.js/src/tables/meta.js +30 -0
  282. package/dist/server/node_modules/@shuding/opentype.js/src/tables/name.js +680 -0
  283. package/dist/server/node_modules/@shuding/opentype.js/src/tables/os2.js +65 -0
  284. package/dist/server/node_modules/@shuding/opentype.js/src/tables/post.js +41 -0
  285. package/dist/server/node_modules/@shuding/opentype.js/src/tokenizer.js +522 -0
  286. package/dist/server/node_modules/@shuding/opentype.js/src/types.js +976 -0
  287. package/dist/server/node_modules/@shuding/opentype.js/src/util.js +17 -0
  288. package/dist/server/node_modules/base64-js/.travis.yml +5 -0
  289. package/dist/server/node_modules/base64-js/LICENSE.MIT +21 -0
  290. package/dist/server/node_modules/base64-js/README.md +31 -0
  291. package/dist/server/node_modules/base64-js/bench/bench.js +19 -0
  292. package/dist/server/node_modules/base64-js/lib/b64.js +124 -0
  293. package/dist/server/node_modules/base64-js/package.json +34 -0
  294. package/dist/server/node_modules/base64-js/test/convert.js +51 -0
  295. package/dist/server/node_modules/base64-js/test/url-safe.js +18 -0
  296. package/dist/server/node_modules/camelize/.eslintrc +24 -0
  297. package/dist/server/node_modules/camelize/.github/FUNDING.yml +12 -0
  298. package/dist/server/node_modules/camelize/CHANGELOG.md +64 -0
  299. package/dist/server/node_modules/camelize/LICENSE +18 -0
  300. package/dist/server/node_modules/camelize/README.md +81 -0
  301. package/dist/server/node_modules/camelize/example/camel.js +12 -0
  302. package/dist/server/node_modules/camelize/index.js +61 -0
  303. package/dist/server/node_modules/camelize/package.json +84 -0
  304. package/dist/server/node_modules/camelize/test/camel.js +48 -0
  305. package/dist/server/node_modules/color-name/LICENSE +8 -0
  306. package/dist/server/node_modules/color-name/README.md +11 -0
  307. package/dist/server/node_modules/color-name/index.js +152 -0
  308. package/dist/server/node_modules/color-name/package.json +28 -0
  309. package/dist/server/node_modules/css-background-parser/LICENSE +22 -0
  310. package/dist/server/node_modules/css-background-parser/README.md +149 -0
  311. package/dist/server/node_modules/css-background-parser/index.js +162 -0
  312. package/dist/server/node_modules/css-background-parser/package.json +19 -0
  313. package/dist/server/node_modules/css-box-shadow/README.md +27 -0
  314. package/dist/server/node_modules/css-box-shadow/index.js +64 -0
  315. package/dist/server/node_modules/css-box-shadow/package.json +14 -0
  316. package/dist/server/node_modules/css-box-shadow/test.js +204 -0
  317. package/dist/server/node_modules/css-color-keywords/LICENSE +15 -0
  318. package/dist/server/node_modules/css-color-keywords/README.md +47 -0
  319. package/dist/server/node_modules/css-color-keywords/colors.json +148 -0
  320. package/dist/server/node_modules/css-color-keywords/index.js +3 -0
  321. package/dist/server/node_modules/css-color-keywords/package.json +27 -0
  322. package/dist/server/node_modules/css-gradient-parser/LICENSE +21 -0
  323. package/dist/server/node_modules/css-gradient-parser/README.md +75 -0
  324. package/dist/server/node_modules/css-gradient-parser/dist/index.cjs +2 -0
  325. package/dist/server/node_modules/css-gradient-parser/dist/index.js +2 -0
  326. package/dist/server/node_modules/css-gradient-parser/package.json +54 -0
  327. package/dist/server/node_modules/css-to-react-native/LICENSE.md +21 -0
  328. package/dist/server/node_modules/css-to-react-native/README.md +115 -0
  329. package/dist/server/node_modules/css-to-react-native/index.js +886 -0
  330. package/dist/server/node_modules/css-to-react-native/package.json +65 -0
  331. package/dist/server/node_modules/css-to-react-native/src/TokenStream.js +74 -0
  332. package/dist/server/node_modules/css-to-react-native/src/__tests__/aspectRatio.js +23 -0
  333. package/dist/server/node_modules/css-to-react-native/src/__tests__/border.js +85 -0
  334. package/dist/server/node_modules/css-to-react-native/src/__tests__/borderColor.js +37 -0
  335. package/dist/server/node_modules/css-to-react-native/src/__tests__/boxModel.js +136 -0
  336. package/dist/server/node_modules/css-to-react-native/src/__tests__/boxShadow.js +83 -0
  337. package/dist/server/node_modules/css-to-react-native/src/__tests__/colors.js +31 -0
  338. package/dist/server/node_modules/css-to-react-native/src/__tests__/flex.js +122 -0
  339. package/dist/server/node_modules/css-to-react-native/src/__tests__/flexFlow.js +22 -0
  340. package/dist/server/node_modules/css-to-react-native/src/__tests__/font.js +117 -0
  341. package/dist/server/node_modules/css-to-react-native/src/__tests__/fontFamily.js +43 -0
  342. package/dist/server/node_modules/css-to-react-native/src/__tests__/fontVariant.js +15 -0
  343. package/dist/server/node_modules/css-to-react-native/src/__tests__/fontWeight.js +8 -0
  344. package/dist/server/node_modules/css-to-react-native/src/__tests__/index.js +204 -0
  345. package/dist/server/node_modules/css-to-react-native/src/__tests__/placeContent.js +19 -0
  346. package/dist/server/node_modules/css-to-react-native/src/__tests__/shadowOffsets.js +13 -0
  347. package/dist/server/node_modules/css-to-react-native/src/__tests__/textDecoration.js +103 -0
  348. package/dist/server/node_modules/css-to-react-native/src/__tests__/textDecorationLine.js +23 -0
  349. package/dist/server/node_modules/css-to-react-native/src/__tests__/textShadow.js +30 -0
  350. package/dist/server/node_modules/css-to-react-native/src/__tests__/transform.js +55 -0
  351. package/dist/server/node_modules/css-to-react-native/src/__tests__/units.js +132 -0
  352. package/dist/server/node_modules/css-to-react-native/src/devPropertiesWithoutUnitsRegExp.js +19 -0
  353. package/dist/server/node_modules/css-to-react-native/src/index.js +90 -0
  354. package/dist/server/node_modules/css-to-react-native/src/tokenTypes.js +75 -0
  355. package/dist/server/node_modules/css-to-react-native/src/transforms/aspectRatio.js +12 -0
  356. package/dist/server/node_modules/css-to-react-native/src/transforms/border.js +53 -0
  357. package/dist/server/node_modules/css-to-react-native/src/transforms/boxShadow.js +11 -0
  358. package/dist/server/node_modules/css-to-react-native/src/transforms/flex.js +65 -0
  359. package/dist/server/node_modules/css-to-react-native/src/transforms/flexFlow.js +37 -0
  360. package/dist/server/node_modules/css-to-react-native/src/transforms/font.js +63 -0
  361. package/dist/server/node_modules/css-to-react-native/src/transforms/fontFamily.js +20 -0
  362. package/dist/server/node_modules/css-to-react-native/src/transforms/fontVariant.js +14 -0
  363. package/dist/server/node_modules/css-to-react-native/src/transforms/index.js +77 -0
  364. package/dist/server/node_modules/css-to-react-native/src/transforms/placeContent.js +24 -0
  365. package/dist/server/node_modules/css-to-react-native/src/transforms/textDecoration.js +53 -0
  366. package/dist/server/node_modules/css-to-react-native/src/transforms/textDecorationLine.js +18 -0
  367. package/dist/server/node_modules/css-to-react-native/src/transforms/textShadow.js +10 -0
  368. package/dist/server/node_modules/css-to-react-native/src/transforms/transform.js +74 -0
  369. package/dist/server/node_modules/css-to-react-native/src/transforms/util.js +99 -0
  370. package/dist/server/node_modules/hex-rgb/index.js +47 -0
  371. package/dist/server/node_modules/hex-rgb/license +9 -0
  372. package/dist/server/node_modules/hex-rgb/package.json +39 -0
  373. package/dist/server/node_modules/hex-rgb/readme.md +86 -0
  374. package/dist/server/node_modules/linebreak/LICENSE +21 -0
  375. package/dist/server/node_modules/linebreak/dist/main.cjs +1369 -0
  376. package/dist/server/node_modules/linebreak/dist/module.mjs +1368 -0
  377. package/dist/server/node_modules/linebreak/package.json +57 -0
  378. package/dist/server/node_modules/linebreak/readme.md +62 -0
  379. package/dist/server/node_modules/parse-css-color/CHANGELOG.md +54 -0
  380. package/dist/server/node_modules/parse-css-color/LICENSE +21 -0
  381. package/dist/server/node_modules/parse-css-color/README.md +110 -0
  382. package/dist/server/node_modules/parse-css-color/dist/index.cjs.js +171 -0
  383. package/dist/server/node_modules/parse-css-color/dist/index.esm.js +167 -0
  384. package/dist/server/node_modules/parse-css-color/dist/index.umd.js +7 -0
  385. package/dist/server/node_modules/parse-css-color/package.json +55 -0
  386. package/dist/server/node_modules/postcss-value-parser/LICENSE +22 -0
  387. package/dist/server/node_modules/postcss-value-parser/README.md +263 -0
  388. package/dist/server/node_modules/postcss-value-parser/lib/index.js +28 -0
  389. package/dist/server/node_modules/postcss-value-parser/lib/parse.js +321 -0
  390. package/dist/server/node_modules/postcss-value-parser/lib/stringify.js +48 -0
  391. package/dist/server/node_modules/postcss-value-parser/lib/unit.js +120 -0
  392. package/dist/server/node_modules/postcss-value-parser/lib/walk.js +22 -0
  393. package/dist/server/node_modules/postcss-value-parser/package.json +58 -0
  394. package/dist/server/node_modules/satori/LICENSE +373 -0
  395. package/dist/server/node_modules/satori/README.md +516 -0
  396. package/dist/server/node_modules/satori/dist/index.cjs +8 -0
  397. package/dist/server/node_modules/satori/dist/index.cjs.LEGAL.txt +4 -0
  398. package/dist/server/node_modules/satori/dist/index.js +8 -0
  399. package/dist/server/node_modules/satori/dist/index.js.LEGAL.txt +4 -0
  400. package/dist/server/node_modules/satori/dist/jsx/index.cjs +2 -0
  401. package/dist/server/node_modules/satori/dist/jsx/index.cjs.LEGAL.txt +0 -0
  402. package/dist/server/node_modules/satori/dist/jsx/index.js +2 -0
  403. package/dist/server/node_modules/satori/dist/jsx/index.js.LEGAL.txt +0 -0
  404. package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.cjs +2 -0
  405. package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.cjs.LEGAL.txt +0 -0
  406. package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.js +2 -0
  407. package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.js.LEGAL.txt +0 -0
  408. package/dist/server/node_modules/satori/dist/standalone.cjs +8 -0
  409. package/dist/server/node_modules/satori/dist/standalone.cjs.LEGAL.txt +4 -0
  410. package/dist/server/node_modules/satori/dist/standalone.js +8 -0
  411. package/dist/server/node_modules/satori/dist/standalone.js.LEGAL.txt +4 -0
  412. package/dist/server/node_modules/satori/package.json +149 -0
  413. package/dist/server/node_modules/satori/yoga.wasm +0 -0
  414. package/dist/server/node_modules/tiny-inflate/LICENSE +21 -0
  415. package/dist/server/node_modules/tiny-inflate/index.js +375 -0
  416. package/dist/server/node_modules/tiny-inflate/package.json +28 -0
  417. package/dist/server/node_modules/tiny-inflate/readme.md +31 -0
  418. package/dist/server/node_modules/tiny-inflate/test/index.js +75 -0
  419. package/dist/server/node_modules/tiny-inflate/test/lorem.txt +199 -0
  420. package/dist/server/node_modules/unicode-trie/LICENSE +8 -0
  421. package/dist/server/node_modules/unicode-trie/README.md +77 -0
  422. package/dist/server/node_modules/unicode-trie/builder.js +966 -0
  423. package/dist/server/node_modules/unicode-trie/index.js +136 -0
  424. package/dist/server/node_modules/unicode-trie/package.json +27 -0
  425. package/dist/server/node_modules/unicode-trie/swap.js +25 -0
  426. package/dist/server/node_modules/unicode-trie/test/mocha.opts +1 -0
  427. package/dist/server/node_modules/unicode-trie/test/test.js +243 -0
  428. package/dist/server/server.js +664 -670
  429. package/package.json +3 -1
  430. package/dist/client/assets/page-seo-sheet-BVOTKmAi.js +0 -1
  431. package/dist/client/assets/project-app-view-BJPw6BEN.js +0 -1
  432. package/dist/client/assets/record-editor-DGNLZeof.js +0 -1
  433. package/dist/client/assets/redirect-editor-rNADegcF.js +0 -1
  434. package/dist/client/assets/registry-DSHcnwR4.js +0 -2
  435. package/dist/client/assets/store-registry-q7deglpz.js +0 -2
  436. package/dist/client/assets/useInfiniteQuery-DVl8ILZo.js +0 -1
  437. package/dist/client/assets/useSuspenseInfiniteQuery-ClimnWE2.js +0 -1
@@ -0,0 +1,146 @@
1
+ // The `GPOS` table contains kerning pairs, among other things.
2
+ // https://docs.microsoft.com/en-us/typography/opentype/spec/gpos
3
+
4
+ import check from '../check';
5
+ import { Parser } from '../parse';
6
+
7
+ const subtableParsers = new Array(10); // subtableParsers[0] is unused
8
+
9
+ // https://docs.microsoft.com/en-us/typography/opentype/spec/gpos#lookup-type-1-single-adjustment-positioning-subtable
10
+ // this = Parser instance
11
+ subtableParsers[1] = function parseLookup1() {
12
+ const start = this.offset + this.relativeOffset;
13
+ const posformat = this.parseUShort();
14
+ if (posformat === 1) {
15
+ return {
16
+ posFormat: 1,
17
+ coverage: this.parsePointer(Parser.coverage),
18
+ value: this.parseValueRecord(),
19
+ };
20
+ } else if (posformat === 2) {
21
+ return {
22
+ posFormat: 2,
23
+ coverage: this.parsePointer(Parser.coverage),
24
+ values: this.parseValueRecordList(),
25
+ };
26
+ }
27
+ check.assert(
28
+ false,
29
+ '0x' +
30
+ start.toString(16) +
31
+ ': GPOS lookup type 1 format must be 1 or 2.'
32
+ );
33
+ };
34
+
35
+ // https://docs.microsoft.com/en-us/typography/opentype/spec/gpos#lookup-type-2-pair-adjustment-positioning-subtable
36
+ subtableParsers[2] = function parseLookup2() {
37
+ const start = this.offset + this.relativeOffset;
38
+ const posFormat = this.parseUShort();
39
+ check.assert(
40
+ posFormat === 1 || posFormat === 2,
41
+ '0x' +
42
+ start.toString(16) +
43
+ ': GPOS lookup type 2 format must be 1 or 2.'
44
+ );
45
+ const coverage = this.parsePointer(Parser.coverage);
46
+ const valueFormat1 = this.parseUShort();
47
+ const valueFormat2 = this.parseUShort();
48
+ if (posFormat === 1) {
49
+ // Adjustments for Glyph Pairs
50
+ return {
51
+ posFormat: posFormat,
52
+ coverage: coverage,
53
+ valueFormat1: valueFormat1,
54
+ valueFormat2: valueFormat2,
55
+ pairSets: this.parseList(
56
+ Parser.pointer(
57
+ Parser.list(function () {
58
+ return {
59
+ // pairValueRecord
60
+ secondGlyph: this.parseUShort(),
61
+ value1: this.parseValueRecord(valueFormat1),
62
+ value2: this.parseValueRecord(valueFormat2),
63
+ };
64
+ })
65
+ )
66
+ ),
67
+ };
68
+ } else if (posFormat === 2) {
69
+ const classDef1 = this.parsePointer(Parser.classDef);
70
+ const classDef2 = this.parsePointer(Parser.classDef);
71
+ const class1Count = this.parseUShort();
72
+ const class2Count = this.parseUShort();
73
+ return {
74
+ // Class Pair Adjustment
75
+ posFormat: posFormat,
76
+ coverage: coverage,
77
+ valueFormat1: valueFormat1,
78
+ valueFormat2: valueFormat2,
79
+ classDef1: classDef1,
80
+ classDef2: classDef2,
81
+ class1Count: class1Count,
82
+ class2Count: class2Count,
83
+ classRecords: this.parseList(
84
+ class1Count,
85
+ Parser.list(class2Count, function () {
86
+ return {
87
+ value1: this.parseValueRecord(valueFormat1),
88
+ value2: this.parseValueRecord(valueFormat2),
89
+ };
90
+ })
91
+ ),
92
+ };
93
+ }
94
+ };
95
+
96
+ subtableParsers[3] = function parseLookup3() {
97
+ return { error: 'GPOS Lookup 3 not supported' };
98
+ };
99
+ subtableParsers[4] = function parseLookup4() {
100
+ return { error: 'GPOS Lookup 4 not supported' };
101
+ };
102
+ subtableParsers[5] = function parseLookup5() {
103
+ return { error: 'GPOS Lookup 5 not supported' };
104
+ };
105
+ subtableParsers[6] = function parseLookup6() {
106
+ return { error: 'GPOS Lookup 6 not supported' };
107
+ };
108
+ subtableParsers[7] = function parseLookup7() {
109
+ return { error: 'GPOS Lookup 7 not supported' };
110
+ };
111
+ subtableParsers[8] = function parseLookup8() {
112
+ return { error: 'GPOS Lookup 8 not supported' };
113
+ };
114
+ subtableParsers[9] = function parseLookup9() {
115
+ return { error: 'GPOS Lookup 9 not supported' };
116
+ };
117
+
118
+ // https://docs.microsoft.com/en-us/typography/opentype/spec/gpos
119
+ function parseGposTable(data, start) {
120
+ start = start || 0;
121
+ const p = new Parser(data, start);
122
+ const tableVersion = p.parseVersion(1);
123
+ check.argument(
124
+ tableVersion === 1 || tableVersion === 1.1,
125
+ 'Unsupported GPOS table version ' + tableVersion
126
+ );
127
+
128
+ if (tableVersion === 1) {
129
+ return {
130
+ version: tableVersion,
131
+ scripts: p.parseScriptList(),
132
+ features: p.parseFeatureList(),
133
+ lookups: p.parseLookupList(subtableParsers),
134
+ };
135
+ } else {
136
+ return {
137
+ version: tableVersion,
138
+ scripts: p.parseScriptList(),
139
+ features: p.parseFeatureList(),
140
+ lookups: p.parseLookupList(subtableParsers),
141
+ variations: p.parseFeatureVariationsList(),
142
+ };
143
+ }
144
+ }
145
+
146
+ export default { parse: parseGposTable };
@@ -0,0 +1,251 @@
1
+ // The `GSUB` table contains ligatures, among other things.
2
+ // https://www.microsoft.com/typography/OTSPEC/gsub.htm
3
+
4
+ import check from '../check';
5
+ import { Parser } from '../parse';
6
+
7
+ const subtableParsers = new Array(9); // subtableParsers[0] is unused
8
+
9
+ // https://www.microsoft.com/typography/OTSPEC/GSUB.htm#SS
10
+ subtableParsers[1] = function parseLookup1() {
11
+ const start = this.offset + this.relativeOffset;
12
+ const substFormat = this.parseUShort();
13
+ if (substFormat === 1) {
14
+ return {
15
+ substFormat: 1,
16
+ coverage: this.parsePointer(Parser.coverage),
17
+ deltaGlyphId: this.parseUShort(),
18
+ };
19
+ } else if (substFormat === 2) {
20
+ return {
21
+ substFormat: 2,
22
+ coverage: this.parsePointer(Parser.coverage),
23
+ substitute: this.parseOffset16List(),
24
+ };
25
+ }
26
+ check.assert(
27
+ false,
28
+ '0x' + start.toString(16) + ': lookup type 1 format must be 1 or 2.'
29
+ );
30
+ };
31
+
32
+ // https://www.microsoft.com/typography/OTSPEC/GSUB.htm#MS
33
+ subtableParsers[2] = function parseLookup2() {
34
+ const substFormat = this.parseUShort();
35
+ check.argument(
36
+ substFormat === 1,
37
+ 'GSUB Multiple Substitution Subtable identifier-format must be 1'
38
+ );
39
+ return {
40
+ substFormat: substFormat,
41
+ coverage: this.parsePointer(Parser.coverage),
42
+ sequences: this.parseListOfLists(),
43
+ };
44
+ };
45
+
46
+ // https://www.microsoft.com/typography/OTSPEC/GSUB.htm#AS
47
+ subtableParsers[3] = function parseLookup3() {
48
+ const substFormat = this.parseUShort();
49
+ check.argument(
50
+ substFormat === 1,
51
+ 'GSUB Alternate Substitution Subtable identifier-format must be 1'
52
+ );
53
+ return {
54
+ substFormat: substFormat,
55
+ coverage: this.parsePointer(Parser.coverage),
56
+ alternateSets: this.parseListOfLists(),
57
+ };
58
+ };
59
+
60
+ // https://www.microsoft.com/typography/OTSPEC/GSUB.htm#LS
61
+ subtableParsers[4] = function parseLookup4() {
62
+ const substFormat = this.parseUShort();
63
+ check.argument(
64
+ substFormat === 1,
65
+ 'GSUB ligature table identifier-format must be 1'
66
+ );
67
+ return {
68
+ substFormat: substFormat,
69
+ coverage: this.parsePointer(Parser.coverage),
70
+ ligatureSets: this.parseListOfLists(function () {
71
+ return {
72
+ ligGlyph: this.parseUShort(),
73
+ components: this.parseUShortList(this.parseUShort() - 1),
74
+ };
75
+ }),
76
+ };
77
+ };
78
+
79
+ const lookupRecordDesc = {
80
+ sequenceIndex: Parser.uShort,
81
+ lookupListIndex: Parser.uShort,
82
+ };
83
+
84
+ // https://www.microsoft.com/typography/OTSPEC/GSUB.htm#CSF
85
+ subtableParsers[5] = function parseLookup5() {
86
+ const start = this.offset + this.relativeOffset;
87
+ const substFormat = this.parseUShort();
88
+
89
+ if (substFormat === 1) {
90
+ return {
91
+ substFormat: substFormat,
92
+ coverage: this.parsePointer(Parser.coverage),
93
+ ruleSets: this.parseListOfLists(function () {
94
+ const glyphCount = this.parseUShort();
95
+ const substCount = this.parseUShort();
96
+ return {
97
+ input: this.parseUShortList(glyphCount - 1),
98
+ lookupRecords: this.parseRecordList(
99
+ substCount,
100
+ lookupRecordDesc
101
+ ),
102
+ };
103
+ }),
104
+ };
105
+ } else if (substFormat === 2) {
106
+ return {
107
+ substFormat: substFormat,
108
+ coverage: this.parsePointer(Parser.coverage),
109
+ classDef: this.parsePointer(Parser.classDef),
110
+ classSets: this.parseListOfLists(function () {
111
+ const glyphCount = this.parseUShort();
112
+ const substCount = this.parseUShort();
113
+ return {
114
+ classes: this.parseUShortList(glyphCount - 1),
115
+ lookupRecords: this.parseRecordList(
116
+ substCount,
117
+ lookupRecordDesc
118
+ ),
119
+ };
120
+ }),
121
+ };
122
+ } else if (substFormat === 3) {
123
+ const glyphCount = this.parseUShort();
124
+ const substCount = this.parseUShort();
125
+ return {
126
+ substFormat: substFormat,
127
+ coverages: this.parseList(
128
+ glyphCount,
129
+ Parser.pointer(Parser.coverage)
130
+ ),
131
+ lookupRecords: this.parseRecordList(substCount, lookupRecordDesc),
132
+ };
133
+ }
134
+ check.assert(
135
+ false,
136
+ '0x' + start.toString(16) + ': lookup type 5 format must be 1, 2 or 3.'
137
+ );
138
+ };
139
+
140
+ // https://www.microsoft.com/typography/OTSPEC/GSUB.htm#CC
141
+ subtableParsers[6] = function parseLookup6() {
142
+ const start = this.offset + this.relativeOffset;
143
+ const substFormat = this.parseUShort();
144
+ if (substFormat === 1) {
145
+ return {
146
+ substFormat: 1,
147
+ coverage: this.parsePointer(Parser.coverage),
148
+ chainRuleSets: this.parseListOfLists(function () {
149
+ return {
150
+ backtrack: this.parseUShortList(),
151
+ input: this.parseUShortList(this.parseShort() - 1),
152
+ lookahead: this.parseUShortList(),
153
+ lookupRecords: this.parseRecordList(lookupRecordDesc),
154
+ };
155
+ }),
156
+ };
157
+ } else if (substFormat === 2) {
158
+ return {
159
+ substFormat: 2,
160
+ coverage: this.parsePointer(Parser.coverage),
161
+ backtrackClassDef: this.parsePointer(Parser.classDef),
162
+ inputClassDef: this.parsePointer(Parser.classDef),
163
+ lookaheadClassDef: this.parsePointer(Parser.classDef),
164
+ chainClassSet: this.parseListOfLists(function () {
165
+ return {
166
+ backtrack: this.parseUShortList(),
167
+ input: this.parseUShortList(this.parseShort() - 1),
168
+ lookahead: this.parseUShortList(),
169
+ lookupRecords: this.parseRecordList(lookupRecordDesc),
170
+ };
171
+ }),
172
+ };
173
+ } else if (substFormat === 3) {
174
+ return {
175
+ substFormat: 3,
176
+ backtrackCoverage: this.parseList(Parser.pointer(Parser.coverage)),
177
+ inputCoverage: this.parseList(Parser.pointer(Parser.coverage)),
178
+ lookaheadCoverage: this.parseList(Parser.pointer(Parser.coverage)),
179
+ lookupRecords: this.parseRecordList(lookupRecordDesc),
180
+ };
181
+ }
182
+ check.assert(
183
+ false,
184
+ '0x' + start.toString(16) + ': lookup type 6 format must be 1, 2 or 3.'
185
+ );
186
+ };
187
+
188
+ // https://www.microsoft.com/typography/OTSPEC/GSUB.htm#ES
189
+ subtableParsers[7] = function parseLookup7() {
190
+ // Extension Substitution subtable
191
+ const substFormat = this.parseUShort();
192
+ check.argument(
193
+ substFormat === 1,
194
+ 'GSUB Extension Substitution subtable identifier-format must be 1'
195
+ );
196
+ const extensionLookupType = this.parseUShort();
197
+ const extensionParser = new Parser(
198
+ this.data,
199
+ this.offset + this.parseULong()
200
+ );
201
+ return {
202
+ substFormat: 1,
203
+ lookupType: extensionLookupType,
204
+ extension: subtableParsers[extensionLookupType].call(extensionParser),
205
+ };
206
+ };
207
+
208
+ // https://www.microsoft.com/typography/OTSPEC/GSUB.htm#RCCS
209
+ subtableParsers[8] = function parseLookup8() {
210
+ const substFormat = this.parseUShort();
211
+ check.argument(
212
+ substFormat === 1,
213
+ 'GSUB Reverse Chaining Contextual Single Substitution Subtable identifier-format must be 1'
214
+ );
215
+ return {
216
+ substFormat: substFormat,
217
+ coverage: this.parsePointer(Parser.coverage),
218
+ backtrackCoverage: this.parseList(Parser.pointer(Parser.coverage)),
219
+ lookaheadCoverage: this.parseList(Parser.pointer(Parser.coverage)),
220
+ substitutes: this.parseUShortList(),
221
+ };
222
+ };
223
+
224
+ // https://www.microsoft.com/typography/OTSPEC/gsub.htm
225
+ function parseGsubTable(data, start) {
226
+ start = start || 0;
227
+ const p = new Parser(data, start);
228
+ const tableVersion = p.parseVersion(1);
229
+ check.argument(
230
+ tableVersion === 1 || tableVersion === 1.1,
231
+ 'Unsupported GSUB table version.'
232
+ );
233
+ if (tableVersion === 1) {
234
+ return {
235
+ version: tableVersion,
236
+ scripts: p.parseScriptList(),
237
+ features: p.parseFeatureList(),
238
+ lookups: p.parseLookupList(subtableParsers),
239
+ };
240
+ } else {
241
+ return {
242
+ version: tableVersion,
243
+ scripts: p.parseScriptList(),
244
+ features: p.parseFeatureList(),
245
+ lookups: p.parseLookupList(subtableParsers),
246
+ variations: p.parseFeatureVariationsList(),
247
+ };
248
+ }
249
+ }
250
+
251
+ export default { parse: parseGsubTable };
@@ -0,0 +1,35 @@
1
+ // The `head` table contains global information about the font.
2
+ // https://www.microsoft.com/typography/OTSPEC/head.htm
3
+
4
+ import check from '../check';
5
+ import parse from '../parse';
6
+
7
+ // Parse the header `head` table
8
+ function parseHeadTable(data, start) {
9
+ const head = {};
10
+ const p = new parse.Parser(data, start);
11
+ head.version = p.parseVersion();
12
+ head.fontRevision = Math.round(p.parseFixed() * 1000) / 1000;
13
+ head.checkSumAdjustment = p.parseULong();
14
+ head.magicNumber = p.parseULong();
15
+ check.argument(
16
+ head.magicNumber === 0x5f0f3cf5,
17
+ 'Font header has wrong magic number.'
18
+ );
19
+ head.flags = p.parseUShort();
20
+ head.unitsPerEm = p.parseUShort();
21
+ head.created = p.parseLongDateTime();
22
+ head.modified = p.parseLongDateTime();
23
+ head.xMin = p.parseShort();
24
+ head.yMin = p.parseShort();
25
+ head.xMax = p.parseShort();
26
+ head.yMax = p.parseShort();
27
+ head.macStyle = p.parseUShort();
28
+ head.lowestRecPPEM = p.parseUShort();
29
+ head.fontDirectionHint = p.parseShort();
30
+ head.indexToLocFormat = p.parseShort();
31
+ head.glyphDataFormat = p.parseShort();
32
+ return head;
33
+ }
34
+
35
+ export default { parse: parseHeadTable };
@@ -0,0 +1,27 @@
1
+ // The `hhea` table contains information for horizontal layout.
2
+ // https://www.microsoft.com/typography/OTSPEC/hhea.htm
3
+
4
+ import parse from '../parse';
5
+
6
+ // Parse the horizontal header `hhea` table
7
+ function parseHheaTable(data, start) {
8
+ const hhea = {};
9
+ const p = new parse.Parser(data, start);
10
+ hhea.version = p.parseVersion();
11
+ hhea.ascender = p.parseShort();
12
+ hhea.descender = p.parseShort();
13
+ hhea.lineGap = p.parseShort();
14
+ hhea.advanceWidthMax = p.parseUShort();
15
+ hhea.minLeftSideBearing = p.parseShort();
16
+ hhea.minRightSideBearing = p.parseShort();
17
+ hhea.xMaxExtent = p.parseShort();
18
+ hhea.caretSlopeRise = p.parseShort();
19
+ hhea.caretSlopeRun = p.parseShort();
20
+ hhea.caretOffset = p.parseShort();
21
+ p.relativeOffset += 8;
22
+ hhea.metricDataFormat = p.parseShort();
23
+ hhea.numberOfHMetrics = p.parseUShort();
24
+ return hhea;
25
+ }
26
+
27
+ export default { parse: parseHheaTable };
@@ -0,0 +1,51 @@
1
+ // The `hmtx` table contains the horizontal metrics for all glyphs.
2
+ // https://www.microsoft.com/typography/OTSPEC/hmtx.htm
3
+
4
+ import parse from '../parse';
5
+
6
+ function parseHmtxTableAll(data, start, numMetrics, numGlyphs, glyphs) {
7
+ let advanceWidth;
8
+ let leftSideBearing;
9
+ const p = new parse.Parser(data, start);
10
+ for (let i = 0; i < numGlyphs; i += 1) {
11
+ // If the font is monospaced, only one entry is needed. This last entry applies to all subsequent glyphs.
12
+ if (i < numMetrics) {
13
+ advanceWidth = p.parseUShort();
14
+ leftSideBearing = p.parseShort();
15
+ }
16
+
17
+ const glyph = glyphs.get(i);
18
+ glyph.advanceWidth = advanceWidth;
19
+ glyph.leftSideBearing = leftSideBearing;
20
+ }
21
+ }
22
+
23
+ function parseHmtxTableOnLowMemory(font, data, start, numMetrics, numGlyphs) {
24
+ font._hmtxTableData = {};
25
+
26
+ let advanceWidth;
27
+ let leftSideBearing;
28
+ const p = new parse.Parser(data, start);
29
+ for (let i = 0; i < numGlyphs; i += 1) {
30
+ // If the font is monospaced, only one entry is needed. This last entry applies to all subsequent glyphs.
31
+ if (i < numMetrics) {
32
+ advanceWidth = p.parseUShort();
33
+ leftSideBearing = p.parseShort();
34
+ }
35
+
36
+ font._hmtxTableData[i] = {
37
+ advanceWidth: advanceWidth,
38
+ leftSideBearing: leftSideBearing,
39
+ };
40
+ }
41
+ }
42
+
43
+ // Parse the `hmtx` table, which contains the horizontal metrics for all glyphs.
44
+ // This function augments the glyph array, adding the advanceWidth and leftSideBearing to each glyph.
45
+ function parseHmtxTable(font, data, start, numMetrics, numGlyphs, glyphs, opt) {
46
+ if (opt.lowMemory)
47
+ parseHmtxTableOnLowMemory(font, data, start, numMetrics, numGlyphs);
48
+ else parseHmtxTableAll(data, start, numMetrics, numGlyphs, glyphs);
49
+ }
50
+
51
+ export default { parse: parseHmtxTable };
@@ -0,0 +1,69 @@
1
+ // The `kern` table contains kerning pairs.
2
+ // Note that some fonts use the GPOS OpenType layout table to specify kerning.
3
+ // https://www.microsoft.com/typography/OTSPEC/kern.htm
4
+
5
+ import check from '../check';
6
+ import parse from '../parse';
7
+
8
+ function parseWindowsKernTable(p) {
9
+ const pairs = {};
10
+ // Skip nTables.
11
+ p.skip('uShort');
12
+ const subtableVersion = p.parseUShort();
13
+ check.argument(subtableVersion === 0, 'Unsupported kern sub-table version.');
14
+ // Skip subtableLength, subtableCoverage
15
+ p.skip('uShort', 2);
16
+ const nPairs = p.parseUShort();
17
+ // Skip searchRange, entrySelector, rangeShift.
18
+ p.skip('uShort', 3);
19
+ for (let i = 0; i < nPairs; i += 1) {
20
+ const leftIndex = p.parseUShort();
21
+ const rightIndex = p.parseUShort();
22
+ const value = p.parseShort();
23
+ pairs[leftIndex + ',' + rightIndex] = value;
24
+ }
25
+ return pairs;
26
+ }
27
+
28
+ function parseMacKernTable(p) {
29
+ const pairs = {};
30
+ // The Mac kern table stores the version as a fixed (32 bits) but we only loaded the first 16 bits.
31
+ // Skip the rest.
32
+ p.skip('uShort');
33
+ const nTables = p.parseULong();
34
+ //check.argument(nTables === 1, 'Only 1 subtable is supported (got ' + nTables + ').');
35
+ if (nTables > 1) {
36
+ console.warn('Only the first kern subtable is supported.');
37
+ }
38
+ p.skip('uLong');
39
+ const coverage = p.parseUShort();
40
+ const subtableVersion = coverage & 0xFF;
41
+ p.skip('uShort');
42
+ if (subtableVersion === 0) {
43
+ const nPairs = p.parseUShort();
44
+ // Skip searchRange, entrySelector, rangeShift.
45
+ p.skip('uShort', 3);
46
+ for (let i = 0; i < nPairs; i += 1) {
47
+ const leftIndex = p.parseUShort();
48
+ const rightIndex = p.parseUShort();
49
+ const value = p.parseShort();
50
+ pairs[leftIndex + ',' + rightIndex] = value;
51
+ }
52
+ }
53
+ return pairs;
54
+ }
55
+
56
+ // Parse the `kern` table which contains kerning pairs.
57
+ function parseKernTable(data, start) {
58
+ const p = new parse.Parser(data, start);
59
+ const tableVersion = p.parseUShort();
60
+ if (tableVersion === 0) {
61
+ return parseWindowsKernTable(p);
62
+ } else if (tableVersion === 1) {
63
+ return parseMacKernTable(p);
64
+ } else {
65
+ throw new Error('Unsupported kern table version (' + tableVersion + ').');
66
+ }
67
+ }
68
+
69
+ export default { parse: parseKernTable };
@@ -0,0 +1,31 @@
1
+ // The `loca` table stores the offsets to the locations of the glyphs in the font.
2
+ // https://www.microsoft.com/typography/OTSPEC/loca.htm
3
+
4
+ import parse from '../parse';
5
+
6
+ // Parse the `loca` table. This table stores the offsets to the locations of the glyphs in the font,
7
+ // relative to the beginning of the glyphData table.
8
+ // The number of glyphs stored in the `loca` table is specified in the `maxp` table (under numGlyphs)
9
+ // The loca table has two versions: a short version where offsets are stored as uShorts, and a long
10
+ // version where offsets are stored as uLongs. The `head` table specifies which version to use
11
+ // (under indexToLocFormat).
12
+ function parseLocaTable(data, start, numGlyphs, shortVersion) {
13
+ const p = new parse.Parser(data, start);
14
+ const parseFn = shortVersion ? p.parseUShort : p.parseULong;
15
+ // There is an extra entry after the last index element to compute the length of the last glyph.
16
+ // That's why we use numGlyphs + 1.
17
+ const glyphOffsets = [];
18
+ for (let i = 0; i < numGlyphs + 1; i += 1) {
19
+ let glyphOffset = parseFn.call(p);
20
+ if (shortVersion) {
21
+ // The short table version stores the actual offset divided by 2.
22
+ glyphOffset *= 2;
23
+ }
24
+
25
+ glyphOffsets.push(glyphOffset);
26
+ }
27
+
28
+ return glyphOffsets;
29
+ }
30
+
31
+ export default { parse: parseLocaTable };
@@ -0,0 +1,33 @@
1
+ // The `ltag` table stores IETF BCP-47 language tags. It allows supporting
2
+ // languages for which TrueType does not assign a numeric code.
3
+ // https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6ltag.html
4
+ // http://www.w3.org/International/articles/language-tags/
5
+ // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
6
+
7
+ import check from '../check';
8
+ import parse from '../parse';
9
+
10
+ function parseLtagTable(data, start) {
11
+ const p = new parse.Parser(data, start);
12
+ const tableVersion = p.parseULong();
13
+ check.argument(tableVersion === 1, 'Unsupported ltag table version.');
14
+ // The 'ltag' specification does not define any flags; skip the field.
15
+ p.skip('uLong', 1);
16
+ const numTags = p.parseULong();
17
+
18
+ const tags = [];
19
+ for (let i = 0; i < numTags; i++) {
20
+ let tag = '';
21
+ const offset = start + p.parseUShort();
22
+ const length = p.parseUShort();
23
+ for (let j = offset; j < offset + length; ++j) {
24
+ tag += String.fromCharCode(data.getInt8(j));
25
+ }
26
+
27
+ tags.push(tag);
28
+ }
29
+
30
+ return tags;
31
+ }
32
+
33
+ export default { parse: parseLtagTable };
@@ -0,0 +1,32 @@
1
+ // The `maxp` table establishes the memory requirements for the font.
2
+ // We need it just to get the number of glyphs in the font.
3
+ // https://www.microsoft.com/typography/OTSPEC/maxp.htm
4
+
5
+ import parse from '../parse';
6
+
7
+ // Parse the maximum profile `maxp` table.
8
+ function parseMaxpTable(data, start) {
9
+ const maxp = {};
10
+ const p = new parse.Parser(data, start);
11
+ maxp.version = p.parseVersion();
12
+ maxp.numGlyphs = p.parseUShort();
13
+ if (maxp.version === 1.0) {
14
+ maxp.maxPoints = p.parseUShort();
15
+ maxp.maxContours = p.parseUShort();
16
+ maxp.maxCompositePoints = p.parseUShort();
17
+ maxp.maxCompositeContours = p.parseUShort();
18
+ maxp.maxZones = p.parseUShort();
19
+ maxp.maxTwilightPoints = p.parseUShort();
20
+ maxp.maxStorage = p.parseUShort();
21
+ maxp.maxFunctionDefs = p.parseUShort();
22
+ maxp.maxInstructionDefs = p.parseUShort();
23
+ maxp.maxStackElements = p.parseUShort();
24
+ maxp.maxSizeOfInstructions = p.parseUShort();
25
+ maxp.maxComponentElements = p.parseUShort();
26
+ maxp.maxComponentDepth = p.parseUShort();
27
+ }
28
+
29
+ return maxp;
30
+ }
31
+
32
+ export default { parse: parseMaxpTable };