decocms 4.113.3 → 4.113.4

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-D3NSbtte.js} +1 -1
  2. package/dist/client/assets/{AreaChart-infhzD-o.js → AreaChart-CVVwbKz-.js} +1 -1
  3. package/dist/client/assets/{ArrowRight-csX1J00v.js → ArrowRight-ByO1s01w.js} +1 -1
  4. package/dist/client/assets/{ArrowUp-BMUqiZDH.js → ArrowUp-Cd7BXS0r.js} +1 -1
  5. package/dist/client/assets/{ArrowUpRight-B0lTHBei.js → ArrowUpRight-OT_eUSGv.js} +1 -1
  6. package/dist/client/assets/{Check-BOCHVTek.js → Check-DexGeb34.js} +1 -1
  7. package/dist/client/assets/{CheckCircle-C06fMtNJ.js → CheckCircle-BHeeUcEs.js} +1 -1
  8. package/dist/client/assets/{ChevronDown-yHcuw3Yi.js → ChevronDown-CHuNudj6.js} +1 -1
  9. package/dist/client/assets/{ChevronRight-BvtCGcbv.js → ChevronRight-CMzdRCrr.js} +1 -1
  10. package/dist/client/assets/{ChevronUp-ClBbaiAV.js → ChevronUp-lRFXwe0H.js} +1 -1
  11. package/dist/client/assets/{Copy01-DjMityLv.js → Copy01-uMwlKnXA.js} +1 -1
  12. package/dist/client/assets/{DotsVertical-C4ZbABhl.js → DotsVertical-BYSP2N_n.js} +1 -1
  13. package/dist/client/assets/{Eye-Drm0H5R_.js → Eye-BctMyF-b.js} +1 -1
  14. package/dist/client/assets/{FilterLines-DqKeoryA.js → FilterLines-CN2zN3dy.js} +1 -1
  15. package/dist/client/assets/{Globe01-BQOw_Ub7.js → Globe01-CdsyprSD.js} +1 -1
  16. package/dist/client/assets/{Globe04-CGcQW0g-.js → Globe04-Bsu11XTy.js} +1 -1
  17. package/dist/client/assets/{HardDrive-CWWkxzA_.js → HardDrive-BbGoyEqj.js} +1 -1
  18. package/dist/client/assets/{Image01-DlFSq1lp.js → Image01-CEPIXDUJ.js} +1 -1
  19. package/dist/client/assets/{Key01-DrW6AdUh.js → Key01-I5rdl_Gb.js} +1 -1
  20. package/dist/client/assets/{LayoutLeft-DcUppE8c.js → LayoutLeft-DUKr-FQx.js} +1 -1
  21. package/dist/client/assets/{LinkExternal01-BboRX9pE.js → LinkExternal01-CerBDso7.js} +1 -1
  22. package/dist/client/assets/{LogOut01-BB-7O4XA.js → LogOut01-BQcYh9Ui.js} +1 -1
  23. package/dist/client/assets/{Monitor01-CcN96Otm.js → Monitor01-bBKqAlRi.js} +1 -1
  24. package/dist/client/assets/{Package-BzQD_Ty_.js → Package-C1L6WXbG.js} +1 -1
  25. package/dist/client/assets/{Palette-Blkp2e-R.js → Palette-DkA-m4II.js} +1 -1
  26. package/dist/client/assets/{Play-D8x6tbEi.js → Play-D5AlhRua.js} +1 -1
  27. package/dist/client/assets/{Plus-CzNYCMBF.js → Plus-B78kfbrH.js} +1 -1
  28. package/dist/client/assets/{SearchLg-ChhVm0Qf.js → SearchLg-HLi9z3k2.js} +1 -1
  29. package/dist/client/assets/{SearchMd-CTSIioHN.js → SearchMd-D9xCjcBT.js} +1 -1
  30. package/dist/client/assets/{Settings02-Cw_4rjJK.js → Settings02-D4D7dHyq.js} +1 -1
  31. package/dist/client/assets/{Shield01-DSa5H3Oo.js → Shield01-C0sINRXL.js} +1 -1
  32. package/dist/client/assets/{Star01-D85zX6Wg.js → Star01-Hh5rtrm_.js} +1 -1
  33. package/dist/client/assets/{Stars01-DTnCAiJN.js → Stars01-BIr-9im_.js} +1 -1
  34. package/dist/client/assets/{Stars02-BOwVjfZL.js → Stars02-x-FNLmKd.js} +1 -1
  35. package/dist/client/assets/{Sun-BgpgdJOh.js → Sun-CbURsFMr.js} +1 -1
  36. package/dist/client/assets/{SwitchHorizontal01-DdzfKexZ.js → SwitchHorizontal01-CI53Hh9k.js} +1 -1
  37. package/dist/client/assets/{Tool01-BHPElJg3.js → Tool01-CrK-zdU8.js} +1 -1
  38. package/dist/client/assets/{Tool02-B1WxUTRS.js → Tool02-BLqj76jE.js} +1 -1
  39. package/dist/client/assets/{Trash01-CQs4hG5x.js → Trash01-Df4dKmk-.js} +1 -1
  40. package/dist/client/assets/{TrendUp01-Cjtdx_Mr.js → TrendUp01-CDAx5KLE.js} +1 -1
  41. package/dist/client/assets/{Upload01-2aufxkFJ.js → Upload01-Dy7G4Vqj.js} +1 -1
  42. package/dist/client/assets/{User01-qg2q5EXG.js → User01-B00HeJ3v.js} +1 -1
  43. package/dist/client/assets/{Users01-DecEGc0z.js → Users01-demha86n.js} +1 -1
  44. package/dist/client/assets/{Users03-DvyrEhaR.js → Users03-CK3Zfb7D.js} +1 -1
  45. package/dist/client/assets/{X-ByT759cs.js → X-CehcuOdv.js} +1 -1
  46. package/dist/client/assets/{XCircle-bCCgCduZ.js → XCircle-BaIgTqjQ.js} +1 -1
  47. package/dist/client/assets/{XClose-CZnGWolh.js → XClose-Bf6_Xwqn.js} +1 -1
  48. package/dist/client/assets/{Zap-CqiaHzzF.js → Zap-CqCVe0AY.js} +1 -1
  49. package/dist/client/assets/{ZapSquare-c0rQSrXf.js → ZapSquare-UWBEBtze.js} +1 -1
  50. package/dist/client/assets/{ZoomOut-CrXsudJp.js → ZoomOut-kGLYh1vh.js} +1 -1
  51. package/dist/client/assets/{access-gate-v1EkWw_v.js → access-gate-Brf1uq7w.js} +1 -1
  52. package/dist/client/assets/{add-section-modal-CCmZDfGj.js → add-section-modal-hl41gB3e.js} +1 -1
  53. package/dist/client/assets/{agent-icon-BOnTghRl.js → agent-icon-C5hkjd9d.js} +1 -1
  54. package/dist/client/assets/{agents-list-Bh9Nz4Fw.js → agents-list-DUZLZiO7.js} +1 -1
  55. package/dist/client/assets/{ai-providers-B78j6u61.js → ai-providers-Ddtnde82.js} +1 -1
  56. package/dist/client/assets/{alert-D-rAiL9n.js → alert-C0nUQV3Z.js} +1 -1
  57. package/dist/client/assets/{alert-dialog-BV1C1gcm.js → alert-dialog-CoSPCPpg.js} +1 -1
  58. package/dist/client/assets/{app-editor-0kysJGlw.js → app-editor-C022NrTg.js} +1 -1
  59. package/dist/client/assets/{auth-DrixEdZV.js → auth-3hywqU0Z.js} +1 -1
  60. package/dist/client/assets/{auth-catchall-OgqNGUQu.js → auth-catchall-B4Hu45Ne.js} +1 -1
  61. package/dist/client/assets/{auth-entry-Bu-wAE4C.js → auth-entry-Bd0jbgb_.js} +1 -1
  62. package/dist/client/assets/{auth-split-layout-BPjEQYcT.js → auth-split-layout-CY08Qy2Q.js} +1 -1
  63. package/dist/client/assets/{authenticate-and-persist-oauth-trH0piDT.js → authenticate-and-persist-oauth-C97UAKVm.js} +1 -1
  64. package/dist/client/assets/{automation-list-row-Hhbhn6Ve.js → automation-list-row-CzqgyFTo.js} +1 -1
  65. package/dist/client/assets/{automation-runs-Cl8NKzOf.js → automation-runs-BJXzFuc5.js} +1 -1
  66. package/dist/client/assets/{automations-C0XROIdQ.js → automations-BNgdqlWi.js} +1 -1
  67. package/dist/client/assets/{autosend-bk9SGLB7.js → autosend-DKunmHJC.js} +1 -1
  68. package/dist/client/assets/{avatar-TfVrzXcD.js → avatar-bZ-OyZ4C.js} +1 -1
  69. package/dist/client/assets/{badge-Dq8tKfND.js → badge-BEoEV_-s.js} +1 -1
  70. package/dist/client/assets/{block-document-CSSMbpaN.js → block-document-Bsh4SSZF.js} +1 -1
  71. package/dist/client/assets/{brand-context-BpSXT9j1.js → brand-context-DsI_N6jC.js} +1 -1
  72. package/dist/client/assets/{buckets-CSQzXH56.js → buckets-66qFPEUl.js} +1 -1
  73. package/dist/client/assets/{bulk-category-panel-BnemcYrz.js → bulk-category-panel-Cufz0WM3.js} +1 -1
  74. package/dist/client/assets/{calendar-C4A-LflQ.js → calendar-CtwiiKBb.js} +1 -1
  75. package/dist/client/assets/{capability-load-error-BVansliv.js → capability-load-error-BIVVxP4I.js} +1 -1
  76. package/dist/client/assets/{card-CYIXg6Tz.js → card-BzIUIhXj.js} +1 -1
  77. package/dist/client/assets/{category-editor-CQlm8YTD.js → category-editor-CvwKblO3.js} +1 -1
  78. package/dist/client/assets/{chat-context-C0qm1cNd.js → chat-context-Crb9rWHK.js} +1 -1
  79. package/dist/client/assets/{checkbox-CJlLtjz4.js → checkbox-B7FxhNJt.js} +1 -1
  80. package/dist/client/assets/{cli-auth-success-xyy-6T0v.js → cli-auth-success-B13-d7YS.js} +1 -1
  81. package/dist/client/assets/{collection-detail-Ber5gOC6.js → collection-detail-CEn6RIOn.js} +1 -1
  82. package/dist/client/assets/{collection-display-button-_9VLEjYD.js → collection-display-button-CzT8Gsvj.js} +1 -1
  83. package/dist/client/assets/{collection-search-DMVP7tq9.js → collection-search-CnQx2Rcs.js} +1 -1
  84. package/dist/client/assets/{collection-table-wrapper-CfaNknkJ.js → collection-table-wrapper-1UMvZ3fa.js} +1 -1
  85. package/dist/client/assets/{collection-tabs-BYtcgqcY.js → collection-tabs-CBtRCQQL.js} +1 -1
  86. package/dist/client/assets/{command-55Q776qF.js → command-C5gxZS1R.js} +1 -1
  87. package/dist/client/assets/{commerce-onboarding-CwQohRCA.js → commerce-onboarding-CB-WZK2l.js} +1 -1
  88. package/dist/client/assets/{companions-core-BsogTMm0.js → companions-core-42eUIML2.js} +1 -1
  89. package/dist/client/assets/{connect-Dzubmbm6.js → connect-DrIqorJQ.js} +1 -1
  90. package/dist/client/assets/{connect-desktop-dialog-BRyqkebt.js → connect-desktop-dialog-BTzMpZn4.js} +1 -1
  91. package/dist/client/assets/{connection-card-CnHj36QW.js → connection-card-CBIOrMcr.js} +1 -1
  92. package/dist/client/assets/{connection-detail-DioIwvgq.js → connection-detail-CUFaaTIx.js} +1 -1
  93. package/dist/client/assets/{connection-form-helpers-C36oVpDa.js → connection-form-helpers-51wU-tA4.js} +1 -1
  94. package/dist/client/assets/{connections-CMhMeidX.js → connections-fJWiq9na.js} +1 -1
  95. package/dist/client/assets/{decopilot-sse-pool-DbXyz4b2.js → decopilot-sse-pool-JL7UXTva.js} +1 -1
  96. package/dist/client/assets/{dialog-Mssh4wvU.js → dialog-BopH09uO.js} +1 -1
  97. package/dist/client/assets/{domain-settings-D5jbLq0-.js → domain-settings-UBCepEd-.js} +1 -1
  98. package/dist/client/assets/{drawer-Df2dZjAh.js → drawer-4wGUz3NV.js} +1 -1
  99. package/dist/client/assets/{dropdown-menu-BOgizJmB.js → dropdown-menu-CqUwPgCM.js} +1 -1
  100. package/dist/client/assets/{empty-state-CajaBMj9.js → empty-state-DMQGyp-2.js} +1 -1
  101. package/dist/client/assets/{extract-connection-data-Bd7ZbKmz.js → extract-connection-data-Dg2OurD8.js} +1 -1
  102. package/dist/client/assets/{file-explorer-C0-F0HB8.js → file-explorer-Cr2rWfg3.js} +1 -1
  103. package/dist/client/assets/{file-type-icon-DeZBzLiN.js → file-type-icon-Dq1fYczo.js} +1 -1
  104. package/dist/client/assets/{files-DMRbcRYD.js → files-D11P-V12.js} +1 -1
  105. package/dist/client/assets/{form-a5EhWS__.js → form-DGbrQv7O.js} +1 -1
  106. package/dist/client/assets/{general-BXzwd9kr.js → general-ByuqDQPP.js} +1 -1
  107. package/dist/client/assets/{github-repo-picker-BF2G7ylb.js → github-repo-picker-CsJtF4k1.js} +1 -1
  108. package/dist/client/assets/{hooks-BYKqudQZ.js → hooks-Bqa3-ZMc.js} +1 -1
  109. package/dist/client/assets/{index-CDAhksmq.js → index-2cPeCHTJ.js} +1 -1
  110. package/dist/client/assets/{index-D0XkAkng.js → index-BU5jOX-E.js} +1 -1
  111. package/dist/client/assets/{index-ChR3SC6w.js → index-BZ6EPALd.js} +1 -1
  112. package/dist/client/assets/{index-Dd318vVc.js → index-BsEzp8oj.js} +1 -1
  113. package/dist/client/assets/{index-D3QnFu3t.js → index-BzpPy3wE.js} +3 -3
  114. package/dist/client/assets/{index-D8_uS6ju.js → index-CYhwzBFB.js} +1 -1
  115. package/dist/client/assets/{index-BjFrw_Cz.js → index-Cfzztnsx.js} +1 -1
  116. package/dist/client/assets/{index-D6Qe38nY.js → index-D0ar0WVw.js} +1 -1
  117. package/dist/client/assets/{index-BzKhWus-.js → index-D3an6z2y.js} +1 -1
  118. package/dist/client/assets/{index-wa1mGSJt.js → index-DJOz2VN0.js} +5 -5
  119. package/dist/client/assets/{index-i4iJK1qu.js → index-DNl9xlj2.js} +3 -3
  120. package/dist/client/assets/{index-BvXIjHT6.js → index-JokIayzs.js} +1 -1
  121. package/dist/client/assets/{index-DKYptawH.js → index-MOQFWNpJ.js} +1 -1
  122. package/dist/client/assets/{index-redirect-DAwJl3u9.js → index-redirect-C8kzuGQD.js} +1 -1
  123. package/dist/client/assets/{input-DBTIXVeB.js → input-BgKPAcUy.js} +1 -1
  124. package/dist/client/assets/{integration-icon-Cws5p9F1.js → integration-icon-COAmfKM2.js} +1 -1
  125. package/dist/client/assets/{invite-member-dialog-U14K8dLP.js → invite-member-dialog-D_2ikydr.js} +1 -1
  126. package/dist/client/assets/{label-hZbHKQe4.js → label-Bit-k39a.js} +1 -1
  127. package/dist/client/assets/{layout-BbmfwSeT.js → layout-bmMNsy2b.js} +1 -1
  128. package/dist/client/assets/{login-CYk7QqzO.js → login-Bme8dehk.js} +1 -1
  129. package/dist/client/assets/{mcp-oauth-BBJ-dCGK.js → mcp-oauth-DtUJKJBX.js} +1 -1
  130. package/dist/client/assets/{members-Br5ZzfAU.js → members-BdjB5MAU.js} +1 -1
  131. package/dist/client/assets/{monaco-editor-B7XD9jse.js → monaco-editor-BrEGduvG.js} +1 -1
  132. package/dist/client/assets/{monitoring-stats-row-CiB1VTGS.js → monitoring-stats-row-CNmPKGSb.js} +1 -1
  133. package/dist/client/assets/{multi-select-DtCSfvTi.js → multi-select-Bu-8nHIy.js} +1 -1
  134. package/dist/client/assets/{oauth-callback-CuoSY6yW.js → oauth-callback-DVtgM464.js} +1 -1
  135. package/dist/client/assets/{oauth-callback-ai-provider-DTd9RCl8.js → oauth-callback-ai-provider-D0dOkVqX.js} +1 -1
  136. package/dist/client/assets/{onboarding-VI53SQy5.js → onboarding-BT0PHxMW.js} +1 -1
  137. package/dist/client/assets/{org-install-BpRHfBoz.js → org-install-CVKBAdf6.js} +1 -1
  138. package/dist/client/assets/{org-layout-Ip0hYM6i.js → org-layout-Dv1Blc3Y.js} +1 -1
  139. package/dist/client/assets/{organization-choice-Ccir5zvX.js → organization-choice-B6BWp_1y.js} +1 -1
  140. package/dist/client/assets/{orgs-BK0nOPLw.js → orgs-Cy8dbVQf.js} +1 -1
  141. package/dist/client/assets/{page-seo-form-CBAWdwBB.js → page-seo-form-CBHtkQ-1.js} +1 -1
  142. package/dist/client/assets/page-seo-sheet-BEV8Rj_2.js +1 -0
  143. package/dist/client/assets/{popover-WvXSsr2A.js → popover-Bk7l46es.js} +1 -1
  144. package/dist/client/assets/{post-editor-GEIG3Qbs.js → post-editor-BFFD4TxR.js} +1 -1
  145. package/dist/client/assets/{primitives-B4b9OMlU.js → primitives-BUqBmg2w.js} +1 -1
  146. package/dist/client/assets/{profile-BJOXihUj.js → profile-_UM8G-04.js} +1 -1
  147. package/dist/client/assets/project-app-view-d8NlTW9s.js +1 -0
  148. package/dist/client/assets/record-editor-D87inyPk.js +1 -0
  149. package/dist/client/assets/redirect-editor-B5p1mIS_.js +1 -0
  150. package/dist/client/assets/registry-Cgy8gH4Y.js +2 -0
  151. package/dist/client/assets/{registry-layout-CUSBCALf.js → registry-layout-DZTQ7Enm.js} +2 -2
  152. package/dist/client/assets/{reports-CJYmnCRR.js → reports-CogLmgwx.js} +2 -2
  153. package/dist/client/assets/{require-capability-BOqOfzCO.js → require-capability-DAXk0d5y.js} +1 -1
  154. package/dist/client/assets/{required-auth-layout-C1iQaX9e.js → required-auth-layout-DVJ0P1R1.js} +1 -1
  155. package/dist/client/assets/{reset-password-ChmXlYVK.js → reset-password-Ba_pBAvO.js} +1 -1
  156. package/dist/client/assets/{roles-CuzTIzcA.js → roles-CXTr00hX.js} +1 -1
  157. package/dist/client/assets/{search-input-Di_KVfz5.js → search-input-C-UMJodP.js} +1 -1
  158. package/dist/client/assets/{secrets-Cwnb5SFR.js → secrets-D88X3IUQ.js} +1 -1
  159. package/dist/client/assets/{sections-editor-BnUP7eos.js → sections-editor-BFKZY_dP.js} +1 -1
  160. package/dist/client/assets/{select-CS3vGjLf.js → select-C-jyJoDt.js} +1 -1
  161. package/dist/client/assets/{select-model-CBkA3Qex.js → select-model-Dgd4xGjo.js} +1 -1
  162. package/dist/client/assets/{self-tool-result-olaCzjy8.js → self-tool-result-DPMrglQq.js} +1 -1
  163. package/dist/client/assets/{seo-editor-BS3PrYY5.js → seo-editor-BY6DSXGz.js} +1 -1
  164. package/dist/client/assets/{settings-layout-BWiwB1ve.js → settings-layout-CkDQpCLh.js} +1 -1
  165. package/dist/client/assets/{settings-section-B42r-p4q.js → settings-section-6MwJAdqF.js} +1 -1
  166. package/dist/client/assets/{shell-controls-CG47bgem.js → shell-controls-CnX0OdDH.js} +1 -1
  167. package/dist/client/assets/{shell-layout-C2jFubEc.js → shell-layout-CN7hhO1J.js} +1 -1
  168. package/dist/client/assets/{sidebar-DhNO0hbl.js → sidebar-C_iv7Nh9.js} +1 -1
  169. package/dist/client/assets/{skeleton-CkFFLL1Z.js → skeleton-DbS6ExIt.js} +1 -1
  170. package/dist/client/assets/{sso-DvIYBwsX.js → sso-B8CdFzAl.js} +1 -1
  171. package/dist/client/assets/{store-D2kZokQ2.js → store-Bnyy1WiV.js} +1 -1
  172. package/dist/client/assets/store-registry-BSo6cvku.js +2 -0
  173. package/dist/client/assets/{studio-tools-Dj_suUV-.js → studio-tools-IiJMHnzv.js} +1 -1
  174. package/dist/client/assets/{switch-CWGgmiWZ.js → switch-yqZ24tl_.js} +1 -1
  175. package/dist/client/assets/{table-B7Z84RDB.js → table-CmSWRFMQ.js} +1 -1
  176. package/dist/client/assets/{tabs-CSjEyx_g.js → tabs-7R3MGlLI.js} +1 -1
  177. package/dist/client/assets/{textarea-DNrJISFS.js → textarea-BE6VI2Sm.js} +1 -1
  178. package/dist/client/assets/{toggle-group-DngQXFC1.js → toggle-group-lTjODskL.js} +1 -1
  179. package/dist/client/assets/{toolbar-icon-button-BPZ8JgHL.js → toolbar-icon-button-DysigV8P.js} +1 -1
  180. package/dist/client/assets/{toolbar-BJAhXpws.js → toolbar-mS39lMFz.js} +1 -1
  181. package/dist/client/assets/{tooltip-BoYfeb4r.js → tooltip-CQ993dHl.js} +1 -1
  182. package/dist/client/assets/{use-ai-providers-B0uEL6GU.js → use-ai-providers-CcQLY3nb.js} +1 -1
  183. package/dist/client/assets/{use-api-keys-BUXdsmWE.js → use-api-keys-DJYutKrk.js} +1 -1
  184. package/dist/client/assets/{use-automations-BX-f2xPQ.js → use-automations-Dhj1E9Ph.js} +1 -1
  185. package/dist/client/assets/{use-autosave-D2xExJSi.js → use-autosave-C2xapmR1.js} +1 -1
  186. package/dist/client/assets/{use-capability-zn_dFQCr.js → use-capability-DyYemPOJ.js} +1 -1
  187. package/dist/client/assets/{use-clock-tick-Daz3W4ZL.js → use-clock-tick-Cy_Qdrwk.js} +1 -1
  188. package/dist/client/assets/{use-connection-CI4KVjBL.js → use-connection-DgItAPXg.js} +1 -1
  189. package/dist/client/assets/{use-copy-BFe-yhR7.js → use-copy-Cl4f2mnT.js} +1 -1
  190. package/dist/client/assets/{use-create-virtual-mcp-BruuOj8R.js → use-create-virtual-mcp-Cr2zciLP.js} +1 -1
  191. package/dist/client/assets/{use-debounced-autosave-C18-WjK7.js → use-debounced-autosave-DacEdb47.js} +1 -1
  192. package/dist/client/assets/{use-debounced-value-CgLjUKeF.js → use-debounced-value-COWnhTlx.js} +1 -1
  193. package/dist/client/assets/{use-deco-credits-Cl6XjjTb.js → use-deco-credits-C258e8Gu.js} +1 -1
  194. package/dist/client/assets/{use-decopilot-events-Opg95yOG.js → use-decopilot-events-C8Qld7KH.js} +1 -1
  195. package/dist/client/assets/{use-delete-connection-CkYrHV-n.js → use-delete-connection-D8xzfXPS.js} +1 -1
  196. package/dist/client/assets/{use-deployment-admin-CWMJlws-.js → use-deployment-admin-CUVPi201.js} +1 -1
  197. package/dist/client/assets/{use-file-configs-CU2Y0Emb.js → use-file-configs-BS9XBoPf.js} +1 -1
  198. package/dist/client/assets/{use-infinite-scroll-mXDq9sbk.js → use-infinite-scroll-CHbZVRlR.js} +1 -1
  199. package/dist/client/assets/{use-join-requests-zFCwv89L.js → use-join-requests-BnVp32Ft.js} +1 -1
  200. package/dist/client/assets/{use-mcp-auth-status-BoHM8OB0.js → use-mcp-auth-status-C_bc7znM.js} +1 -1
  201. package/dist/client/assets/{use-mcp-client-DL89siIV.js → use-mcp-client-rUzkHeFC.js} +1 -1
  202. package/dist/client/assets/{use-mcp-tools-C4CClJFZ.js → use-mcp-tools-wZzusmBD.js} +1 -1
  203. package/dist/client/assets/{use-members-A3agoGMA.js → use-members-Bs4G8Gn6.js} +1 -1
  204. package/dist/client/assets/{use-mobile-BwfgD4pT.js → use-mobile-Dfk9gz4P.js} +1 -1
  205. package/dist/client/assets/{use-navigate-to-agent-Bc0CpSD2.js → use-navigate-to-agent-D_ROb12r.js} +1 -1
  206. package/dist/client/assets/{use-org-auth-client-BTfVRkCO.js → use-org-auth-client-C2bpFjJB.js} +1 -1
  207. package/dist/client/assets/{use-org-sso-DYo24v3_.js → use-org-sso-o6qtDNhz.js} +1 -1
  208. package/dist/client/assets/{use-organization-roles-DYKLAq-n.js → use-organization-roles-CIhMiXnm.js} +1 -1
  209. package/dist/client/assets/{use-organization-settings-DoCpZun-.js → use-organization-settings-BN6Mbe3T.js} +1 -1
  210. package/dist/client/assets/{use-registry-app-nEihaLca.js → use-registry-app-CdXrR-uL.js} +1 -1
  211. package/dist/client/assets/{use-registry-connections-DuneVuyO.js → use-registry-connections-DUTwru2C.js} +1 -1
  212. package/dist/client/assets/{use-secrets-CG9MzH4M.js → use-secrets-BGQjv51d.js} +1 -1
  213. package/dist/client/assets/{use-status-sounds-C-LWwT7t.js → use-status-sounds-DNfyHXSY.js} +1 -1
  214. package/dist/client/assets/{use-view-mode--BSnFAw6.js → use-view-mode-3AUQk446.js} +1 -1
  215. package/dist/client/assets/{use-virtual-mcp-C6uu6xME.js → use-virtual-mcp-EXgj09hR.js} +1 -1
  216. package/dist/client/assets/useInfiniteQuery-BuJ4N0EZ.js +1 -0
  217. package/dist/client/assets/{useQueries-BT8q2MfJ.js → useQueries-BTxFVSBJ.js} +1 -1
  218. package/dist/client/assets/{useRouterState-BMgTcVFU.js → useRouterState-CSm1vh-t.js} +1 -1
  219. package/dist/client/assets/useSuspenseInfiniteQuery-CnxU3y26.js +1 -0
  220. package/dist/client/assets/{users-BXaOYgw2.js → users-BUKZ3ENb.js} +1 -1
  221. package/dist/client/assets/{variant-calendar-C61DYxyp.js → variant-calendar-BkY_wbhM.js} +1 -1
  222. package/dist/client/assets/{view-mode-toggle-C8Ikqgl7.js → view-mode-toggle-cynxUaRv.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 +656 -656
  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 +640 -640
  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,483 @@
1
+ /**
2
+ * Query a feature by some of it's properties to lookup a glyph substitution.
3
+ */
4
+
5
+ import { ContextParams } from '../tokenizer';
6
+ import { isTashkeelArabicChar } from '../char';
7
+
8
+ /**
9
+ * Create feature query instance
10
+ * @param {Font} font opentype font instance
11
+ */
12
+ function FeatureQuery(font) {
13
+ this.font = font;
14
+ this.features = {};
15
+ }
16
+
17
+ /**
18
+ * @typedef SubstitutionAction
19
+ * @type Object
20
+ * @property {number} id substitution type
21
+ * @property {string} tag feature tag
22
+ * @property {any} substitution substitution value(s)
23
+ */
24
+
25
+ /**
26
+ * Create a substitution action instance
27
+ * @param {SubstitutionAction} action
28
+ */
29
+ function SubstitutionAction(action) {
30
+ this.id = action.id;
31
+ this.tag = action.tag;
32
+ this.substitution = action.substitution;
33
+ }
34
+
35
+ /**
36
+ * Lookup a coverage table
37
+ * @param {number} glyphIndex glyph index
38
+ * @param {CoverageTable} coverage coverage table
39
+ */
40
+ function lookupCoverage(glyphIndex, coverage) {
41
+ if (!glyphIndex) return -1;
42
+ switch (coverage.format) {
43
+ case 1:
44
+ return coverage.glyphs.indexOf(glyphIndex);
45
+
46
+ case 2:
47
+ let ranges = coverage.ranges;
48
+ for (let i = 0; i < ranges.length; i++) {
49
+ const range = ranges[i];
50
+ if (glyphIndex >= range.start && glyphIndex <= range.end) {
51
+ let offset = glyphIndex - range.start;
52
+ return range.index + offset;
53
+ }
54
+ }
55
+ break;
56
+ default:
57
+ return -1; // not found
58
+ }
59
+ return -1;
60
+ }
61
+
62
+ /**
63
+ * Handle a single substitution - format 1
64
+ * @param {ContextParams} contextParams context params to lookup
65
+ */
66
+ function singleSubstitutionFormat1(glyphIndex, subtable) {
67
+ let substituteIndex = lookupCoverage(glyphIndex, subtable.coverage);
68
+ if (substituteIndex === -1) return null;
69
+ return glyphIndex + subtable.deltaGlyphId;
70
+ }
71
+
72
+ /**
73
+ * Handle a single substitution - format 2
74
+ * @param {ContextParams} contextParams context params to lookup
75
+ */
76
+ function singleSubstitutionFormat2(glyphIndex, subtable) {
77
+ let substituteIndex = lookupCoverage(glyphIndex, subtable.coverage);
78
+ if (substituteIndex === -1) return null;
79
+ return subtable.substitute[substituteIndex];
80
+ }
81
+
82
+ /**
83
+ * Lookup a list of coverage tables
84
+ * @param {any} coverageList a list of coverage tables
85
+ * @param {ContextParams} contextParams context params to lookup
86
+ */
87
+ function lookupCoverageList(coverageList, contextParams) {
88
+ let lookupList = [];
89
+ for (let i = 0; i < coverageList.length; i++) {
90
+ const coverage = coverageList[i];
91
+ let glyphIndex = contextParams.current;
92
+ glyphIndex = Array.isArray(glyphIndex) ? glyphIndex[0] : glyphIndex;
93
+ const lookupIndex = lookupCoverage(glyphIndex, coverage);
94
+ if (lookupIndex !== -1) {
95
+ lookupList.push(lookupIndex);
96
+ }
97
+ }
98
+ if (lookupList.length !== coverageList.length) return -1;
99
+ return lookupList;
100
+ }
101
+
102
+ /**
103
+ * Handle chaining context substitution - format 3
104
+ * @param {ContextParams} contextParams context params to lookup
105
+ */
106
+ function chainingSubstitutionFormat3(contextParams, subtable) {
107
+ const lookupsCount = (
108
+ subtable.inputCoverage.length +
109
+ subtable.lookaheadCoverage.length +
110
+ subtable.backtrackCoverage.length
111
+ );
112
+ if (contextParams.context.length < lookupsCount) return [];
113
+ // INPUT LOOKUP //
114
+ let inputLookups = lookupCoverageList(
115
+ subtable.inputCoverage, contextParams
116
+ );
117
+ if (inputLookups === -1) return [];
118
+ // LOOKAHEAD LOOKUP //
119
+ const lookaheadOffset = subtable.inputCoverage.length - 1;
120
+ if (contextParams.lookahead.length < subtable.lookaheadCoverage.length) return [];
121
+ let lookaheadContext = contextParams.lookahead.slice(lookaheadOffset);
122
+ while (lookaheadContext.length && isTashkeelArabicChar(lookaheadContext[0].char)) {
123
+ lookaheadContext.shift();
124
+ }
125
+ const lookaheadParams = new ContextParams(lookaheadContext, 0);
126
+ let lookaheadLookups = lookupCoverageList(
127
+ subtable.lookaheadCoverage, lookaheadParams
128
+ );
129
+ // BACKTRACK LOOKUP //
130
+ let backtrackContext = [].concat(contextParams.backtrack);
131
+ backtrackContext.reverse();
132
+ while (backtrackContext.length && isTashkeelArabicChar(backtrackContext[0].char)) {
133
+ backtrackContext.shift();
134
+ }
135
+ if (backtrackContext.length < subtable.backtrackCoverage.length) return [];
136
+ const backtrackParams = new ContextParams(backtrackContext, 0);
137
+ let backtrackLookups = lookupCoverageList(
138
+ subtable.backtrackCoverage, backtrackParams
139
+ );
140
+ const contextRulesMatch = (
141
+ inputLookups.length === subtable.inputCoverage.length &&
142
+ lookaheadLookups.length === subtable.lookaheadCoverage.length &&
143
+ backtrackLookups.length === subtable.backtrackCoverage.length
144
+ );
145
+ let substitutions = [];
146
+ if (contextRulesMatch) {
147
+ for (let i = 0; i < subtable.lookupRecords.length; i++) {
148
+ const lookupRecord = subtable.lookupRecords[i];
149
+ const lookupListIndex = lookupRecord.lookupListIndex;
150
+ const lookupTable = this.getLookupByIndex(lookupListIndex);
151
+ for (let s = 0; s < lookupTable.subtables.length; s++) {
152
+ const subtable = lookupTable.subtables[s];
153
+ const lookup = this.getLookupMethod(lookupTable, subtable);
154
+ const substitutionType = this.getSubstitutionType(lookupTable, subtable);
155
+ if (substitutionType === '12') {
156
+ for (let n = 0; n < inputLookups.length; n++) {
157
+ const glyphIndex = contextParams.get(n);
158
+ const substitution = lookup(glyphIndex);
159
+ if (substitution) substitutions.push(substitution);
160
+ }
161
+ }
162
+ }
163
+ }
164
+ }
165
+ return substitutions;
166
+ }
167
+
168
+ /**
169
+ * Handle ligature substitution - format 1
170
+ * @param {ContextParams} contextParams context params to lookup
171
+ */
172
+ function ligatureSubstitutionFormat1(contextParams, subtable) {
173
+ // COVERAGE LOOKUP //
174
+ let glyphIndex = contextParams.current;
175
+ let ligSetIndex = lookupCoverage(glyphIndex, subtable.coverage);
176
+ if (ligSetIndex === -1) return null;
177
+ // COMPONENTS LOOKUP
178
+ // (!) note, components are ordered in the written direction.
179
+ let ligature;
180
+ let ligatureSet = subtable.ligatureSets[ligSetIndex];
181
+ for (let s = 0; s < ligatureSet.length; s++) {
182
+ ligature = ligatureSet[s];
183
+ for (let l = 0; l < ligature.components.length; l++) {
184
+ const lookaheadItem = contextParams.lookahead[l];
185
+ const component = ligature.components[l];
186
+ if (lookaheadItem !== component) break;
187
+ if (l === ligature.components.length - 1) return ligature;
188
+ }
189
+ }
190
+ return null;
191
+ }
192
+
193
+ /**
194
+ * Handle decomposition substitution - format 1
195
+ * @param {number} glyphIndex glyph index
196
+ * @param {any} subtable subtable
197
+ */
198
+ function decompositionSubstitutionFormat1(glyphIndex, subtable) {
199
+ let substituteIndex = lookupCoverage(glyphIndex, subtable.coverage);
200
+ if (substituteIndex === -1) return null;
201
+ return subtable.sequences[substituteIndex];
202
+ }
203
+
204
+ /**
205
+ * Get default script features indexes
206
+ */
207
+ FeatureQuery.prototype.getDefaultScriptFeaturesIndexes = function () {
208
+ const scripts = this.font.tables.gsub.scripts;
209
+ for (let s = 0; s < scripts.length; s++) {
210
+ const script = scripts[s];
211
+ if (script.tag === 'DFLT') return (
212
+ script.script.defaultLangSys.featureIndexes
213
+ );
214
+ }
215
+ return [];
216
+ };
217
+
218
+ /**
219
+ * Get feature indexes of a specific script
220
+ * @param {string} scriptTag script tag
221
+ */
222
+ FeatureQuery.prototype.getScriptFeaturesIndexes = function(scriptTag) {
223
+ const tables = this.font.tables;
224
+ if (!tables.gsub) return [];
225
+ if (!scriptTag) return this.getDefaultScriptFeaturesIndexes();
226
+ const scripts = this.font.tables.gsub.scripts;
227
+ for (let i = 0; i < scripts.length; i++) {
228
+ const script = scripts[i];
229
+ if (script.tag === scriptTag && script.script.defaultLangSys) {
230
+ return script.script.defaultLangSys.featureIndexes;
231
+ } else {
232
+ let langSysRecords = script.langSysRecords;
233
+ if (!!langSysRecords) {
234
+ for (let j = 0; j < langSysRecords.length; j++) {
235
+ const langSysRecord = langSysRecords[j];
236
+ if (langSysRecord.tag === scriptTag) {
237
+ let langSys = langSysRecord.langSys;
238
+ return langSys.featureIndexes;
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ return this.getDefaultScriptFeaturesIndexes();
245
+ };
246
+
247
+ /**
248
+ * Map a feature tag to a gsub feature
249
+ * @param {any} features gsub features
250
+ * @param {string} scriptTag script tag
251
+ */
252
+ FeatureQuery.prototype.mapTagsToFeatures = function (features, scriptTag) {
253
+ let tags = {};
254
+ for (let i = 0; i < features.length; i++) {
255
+ const tag = features[i].tag;
256
+ const feature = features[i].feature;
257
+ tags[tag] = feature;
258
+ }
259
+ this.features[scriptTag].tags = tags;
260
+ };
261
+
262
+ /**
263
+ * Get features of a specific script
264
+ * @param {string} scriptTag script tag
265
+ */
266
+ FeatureQuery.prototype.getScriptFeatures = function (scriptTag) {
267
+ let features = this.features[scriptTag];
268
+ if (this.features.hasOwnProperty(scriptTag)) return features;
269
+ const featuresIndexes = this.getScriptFeaturesIndexes(scriptTag);
270
+ if (!featuresIndexes) return null;
271
+ const gsub = this.font.tables.gsub;
272
+ features = featuresIndexes.map(index => gsub.features[index]);
273
+ this.features[scriptTag] = features;
274
+ this.mapTagsToFeatures(features, scriptTag);
275
+ return features;
276
+ };
277
+
278
+ /**
279
+ * Get substitution type
280
+ * @param {any} lookupTable lookup table
281
+ * @param {any} subtable subtable
282
+ */
283
+ FeatureQuery.prototype.getSubstitutionType = function(lookupTable, subtable) {
284
+ const lookupType = lookupTable.lookupType.toString();
285
+ const substFormat = subtable.substFormat.toString();
286
+ return lookupType + substFormat;
287
+ };
288
+
289
+ /**
290
+ * Get lookup method
291
+ * @param {any} lookupTable lookup table
292
+ * @param {any} subtable subtable
293
+ */
294
+ FeatureQuery.prototype.getLookupMethod = function(lookupTable, subtable) {
295
+ let substitutionType = this.getSubstitutionType(lookupTable, subtable);
296
+ switch (substitutionType) {
297
+ case '11':
298
+ return glyphIndex => singleSubstitutionFormat1.apply(
299
+ this, [glyphIndex, subtable]
300
+ );
301
+ case '12':
302
+ return glyphIndex => singleSubstitutionFormat2.apply(
303
+ this, [glyphIndex, subtable]
304
+ );
305
+ case '63':
306
+ return contextParams => chainingSubstitutionFormat3.apply(
307
+ this, [contextParams, subtable]
308
+ );
309
+ case '41':
310
+ return contextParams => ligatureSubstitutionFormat1.apply(
311
+ this, [contextParams, subtable]
312
+ );
313
+ case '21':
314
+ return glyphIndex => decompositionSubstitutionFormat1.apply(
315
+ this, [glyphIndex, subtable]
316
+ );
317
+ default:
318
+ throw new Error(
319
+ `lookupType: ${lookupTable.lookupType} - ` +
320
+ `substFormat: ${subtable.substFormat} ` +
321
+ `is not yet supported`
322
+ );
323
+ }
324
+ };
325
+
326
+ /**
327
+ * [ LOOKUP TYPES ]
328
+ * -------------------------------
329
+ * Single 1;
330
+ * Multiple 2;
331
+ * Alternate 3;
332
+ * Ligature 4;
333
+ * Context 5;
334
+ * ChainingContext 6;
335
+ * ExtensionSubstitution 7;
336
+ * ReverseChainingContext 8;
337
+ * -------------------------------
338
+ *
339
+ */
340
+
341
+ /**
342
+ * @typedef FQuery
343
+ * @type Object
344
+ * @param {string} tag feature tag
345
+ * @param {string} script feature script
346
+ * @param {ContextParams} contextParams context params
347
+ */
348
+
349
+ /**
350
+ * Lookup a feature using a query parameters
351
+ * @param {FQuery} query feature query
352
+ */
353
+ FeatureQuery.prototype.lookupFeature = function (query) {
354
+ let contextParams = query.contextParams;
355
+ let currentIndex = contextParams.index;
356
+ const feature = this.getFeature({
357
+ tag: query.tag, script: query.script
358
+ });
359
+ if (!feature) return new Error(
360
+ `font '${this.font.names.fullName.en}' ` +
361
+ `doesn't support feature '${query.tag}' ` +
362
+ `for script '${query.script}'.`
363
+ );
364
+ const lookups = this.getFeatureLookups(feature);
365
+ const substitutions = [].concat(contextParams.context);
366
+ for (let l = 0; l < lookups.length; l++) {
367
+ const lookupTable = lookups[l];
368
+ const subtables = this.getLookupSubtables(lookupTable);
369
+ for (let s = 0; s < subtables.length; s++) {
370
+ const subtable = subtables[s];
371
+ const substType = this.getSubstitutionType(lookupTable, subtable);
372
+ const lookup = this.getLookupMethod(lookupTable, subtable);
373
+ let substitution;
374
+ switch (substType) {
375
+ case '11':
376
+ substitution = lookup(contextParams.current);
377
+ if (substitution) {
378
+ substitutions.splice(currentIndex, 1, new SubstitutionAction({
379
+ id: 11, tag: query.tag, substitution
380
+ }));
381
+ }
382
+ break;
383
+ case '12':
384
+ substitution = lookup(contextParams.current);
385
+ if (substitution) {
386
+ substitutions.splice(currentIndex, 1, new SubstitutionAction({
387
+ id: 12, tag: query.tag, substitution
388
+ }));
389
+ }
390
+ break;
391
+ case '63':
392
+ substitution = lookup(contextParams);
393
+ if (Array.isArray(substitution) && substitution.length) {
394
+ substitutions.splice(currentIndex, 1, new SubstitutionAction({
395
+ id: 63, tag: query.tag, substitution
396
+ }));
397
+ }
398
+ break;
399
+ case '41':
400
+ substitution = lookup(contextParams);
401
+ if (substitution) {
402
+ substitutions.splice(currentIndex, 1, new SubstitutionAction({
403
+ id: 41, tag: query.tag, substitution
404
+ }));
405
+ }
406
+ break;
407
+ case '21':
408
+ substitution = lookup(contextParams.current);
409
+ if (substitution) {
410
+ substitutions.splice(currentIndex, 1, new SubstitutionAction({
411
+ id: 21, tag: query.tag, substitution
412
+ }));
413
+ }
414
+ break;
415
+ }
416
+ contextParams = new ContextParams(substitutions, currentIndex);
417
+ if (Array.isArray(substitution) && !substitution.length) continue;
418
+ substitution = null;
419
+ }
420
+ }
421
+ return substitutions.length ? substitutions : null;
422
+ };
423
+
424
+ /**
425
+ * Checks if a font supports a specific features
426
+ * @param {FQuery} query feature query object
427
+ */
428
+ FeatureQuery.prototype.supports = function (query) {
429
+ if (!query.script) return false;
430
+ this.getScriptFeatures(query.script);
431
+ const supportedScript = this.features.hasOwnProperty(query.script);
432
+ if (!query.tag) return supportedScript;
433
+ const supportedFeature = (
434
+ this.features[query.script].some(feature => feature.tag === query.tag)
435
+ );
436
+ return supportedScript && supportedFeature;
437
+ };
438
+
439
+ /**
440
+ * Get lookup table subtables
441
+ * @param {any} lookupTable lookup table
442
+ */
443
+ FeatureQuery.prototype.getLookupSubtables = function (lookupTable) {
444
+ return lookupTable.subtables || null;
445
+ };
446
+
447
+ /**
448
+ * Get lookup table by index
449
+ * @param {number} index lookup table index
450
+ */
451
+ FeatureQuery.prototype.getLookupByIndex = function (index) {
452
+ const lookups = this.font.tables.gsub.lookups;
453
+ return lookups[index] || null;
454
+ };
455
+
456
+ /**
457
+ * Get lookup tables for a feature
458
+ * @param {string} feature
459
+ */
460
+ FeatureQuery.prototype.getFeatureLookups = function (feature) {
461
+ // TODO: memoize
462
+ return feature.lookupListIndexes.map(this.getLookupByIndex.bind(this));
463
+ };
464
+
465
+ /**
466
+ * Query a feature by it's properties
467
+ * @param {any} query an object that describes the properties of a query
468
+ */
469
+ FeatureQuery.prototype.getFeature = function getFeature(query) {
470
+ if (!this.font) return { FAIL: `No font was found`};
471
+ if (!this.features.hasOwnProperty(query.script)) {
472
+ this.getScriptFeatures(query.script);
473
+ }
474
+ const scriptFeatures = this.features[query.script];
475
+ if (!scriptFeatures) return (
476
+ { FAIL: `No feature for script ${query.script}`}
477
+ );
478
+ if (!scriptFeatures.tags[query.tag]) return null;
479
+ return this.features[query.script].tags[query.tag];
480
+ };
481
+
482
+ export default FeatureQuery;
483
+ export { FeatureQuery, SubstitutionAction };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Latin word context checkers
3
+ */
4
+
5
+ import { isLatinChar } from '../../../char';
6
+
7
+ function latinWordStartCheck(contextParams) {
8
+ const char = contextParams.current;
9
+ const prevChar = contextParams.get(-1);
10
+ return (
11
+ // ? latin first char
12
+ (prevChar === null && isLatinChar(char)) ||
13
+ // ? latin char preceded with a non latin char
14
+ (!isLatinChar(prevChar) && isLatinChar(char))
15
+ );
16
+ }
17
+
18
+ function latinWordEndCheck(contextParams) {
19
+ const nextChar = contextParams.get(1);
20
+ return (
21
+ // ? last latin char
22
+ (nextChar === null) ||
23
+ // ? next char is not latin
24
+ (!isLatinChar(nextChar))
25
+ );
26
+ }
27
+
28
+ export default {
29
+ startCheck: latinWordStartCheck,
30
+ endCheck: latinWordEndCheck
31
+ };
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Apply Latin ligature feature to a range of tokens
3
+ */
4
+
5
+ import { ContextParams } from '../../tokenizer';
6
+ import applySubstitution from '../applySubstitution';
7
+
8
+ /**
9
+ * Update context params
10
+ * @param {any} tokens a list of tokens
11
+ * @param {number} index current item index
12
+ */
13
+ function getContextParams(tokens, index) {
14
+ const context = tokens.map(token => token.activeState.value);
15
+ return new ContextParams(context, index || 0);
16
+ }
17
+
18
+ /**
19
+ * Apply Arabic required ligatures to a context range
20
+ * @param {ContextRange} range a range of tokens
21
+ */
22
+ function latinLigature(range) {
23
+ const script = 'latn';
24
+ let tokens = this.tokenizer.getRangeTokens(range);
25
+ let contextParams = getContextParams(tokens);
26
+ contextParams.context.forEach((glyphIndex, index) => {
27
+ contextParams.setCurrentIndex(index);
28
+ let substitutions = this.query.lookupFeature({
29
+ tag: 'liga', script, contextParams
30
+ });
31
+ if (substitutions.length) {
32
+ substitutions.forEach(
33
+ action => applySubstitution(action, tokens, index)
34
+ );
35
+ contextParams = getContextParams(tokens);
36
+ }
37
+ });
38
+ }
39
+
40
+ export default latinLigature;