@xframework-ca-test/cli 1.0.33 → 1.0.35

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 (377) hide show
  1. package/dist/ui/assets/AIVision-0025192f.js +4 -0
  2. package/dist/ui/assets/AccountDetails-42610e44.js +1 -0
  3. package/dist/ui/assets/AccountDetails-5b4cd3f7.js +1 -0
  4. package/dist/ui/assets/AccountServices-f68f471d.js +1 -0
  5. package/dist/ui/assets/AccountsList-262479cf.js +1 -0
  6. package/dist/ui/assets/ActionLink-9db8b1c2.js +1 -0
  7. package/dist/ui/assets/AdaptableCard-3d1e1f96.js +1 -0
  8. package/dist/ui/assets/AddAccount-2cd72664.js +1 -0
  9. package/dist/ui/assets/AddEditFile-6ae10d57.js +1 -0
  10. package/dist/ui/assets/AddEditTranslation-3812ff0f.js +1 -0
  11. package/dist/ui/assets/AiApiLogList-1eac39b7.js +1 -0
  12. package/dist/ui/assets/AiCa-2e90495f.js +1 -0
  13. package/dist/ui/assets/Alert-59d09a99.js +1 -0
  14. package/dist/ui/assets/ApiService-df126758.js +1 -0
  15. package/dist/ui/assets/AppLandingPage-afcea727.js +4 -0
  16. package/dist/ui/assets/AuditLogsList-ea37686b.js +1 -0
  17. package/dist/ui/assets/Auth0Callback-00729568.js +1 -0
  18. package/dist/ui/assets/BarCodes-4ff49536.js +1 -0
  19. package/dist/ui/assets/BlankLayout-7085ab88.js +1 -0
  20. package/dist/ui/assets/{BrainServices-a4bb698e.js → BrainServices-4cb93af5.js} +1 -1
  21. package/dist/ui/assets/CalendarList-689ed66a.js +2 -0
  22. package/dist/ui/assets/CalendarList-f4a9aa21.css +8 -0
  23. package/dist/ui/assets/CategoryList-a6d01041.js +1 -0
  24. package/dist/ui/assets/CategoryList-c03f4259.js +1 -0
  25. package/dist/ui/assets/ChatContainer-fec7b84d.js +1 -0
  26. package/dist/ui/assets/ChatsList-4b3194e4.js +1 -0
  27. package/dist/ui/assets/Check-af681a30.js +1 -0
  28. package/dist/ui/assets/CheckInVideo-aa9f50b2.js +6 -0
  29. package/dist/ui/assets/ClassicLayout-a9866742.js +2 -0
  30. package/dist/ui/assets/CompanyList-94119d71.js +1 -0
  31. package/dist/ui/assets/{CompanyService-1bf7c3c8.js → CompanyService-491a9cc1.js} +1 -1
  32. package/dist/ui/assets/{Component-59e4c14b.js → Component-566d01e0.js} +1 -1
  33. package/dist/ui/assets/ConfirmDialog-2838a642.js +1 -0
  34. package/dist/ui/assets/ContactDetails-c9dc0ed1.js +1 -0
  35. package/dist/ui/assets/{ContactService-92281a90.js → ContactService-8afcaeb7.js} +1 -1
  36. package/dist/ui/assets/ContactsList-5b06c9b8.js +1 -0
  37. package/dist/ui/assets/CountiesList-18b23cf7.js +1 -0
  38. package/dist/ui/assets/CountyDetails-ea024f14.js +1 -0
  39. package/dist/ui/assets/CourseDetails-8a5f8d63.js +1 -0
  40. package/dist/ui/assets/CourseList-3564fec3.js +1 -0
  41. package/dist/ui/assets/{CourseService-f0dc3bf1.js → CourseService-29ad460c.js} +1 -1
  42. package/dist/ui/assets/CreateSignature-c22e4a71.js +7 -0
  43. package/dist/ui/assets/{CustomerInfoField-fff65ace.js → CustomerInfoField-4bf880e2.js} +1 -1
  44. package/dist/ui/assets/DeckedLayout-610fe851.js +1 -0
  45. package/dist/ui/assets/DensitySelector-5d2e901f.js +1 -0
  46. package/dist/ui/assets/{DepartmentServices-3d56a9e7.js → DepartmentServices-a53e998b.js} +1 -1
  47. package/dist/ui/assets/{DigitalSignature-fff42e33.js → DigitalSignature-69eaf80c.js} +1 -1
  48. package/dist/ui/assets/{DocumemtManagementService-6501a5c1.js → DocumemtManagementService-85cde51a.js} +1 -1
  49. package/dist/ui/assets/DocumentActivity-bc938c61.js +1 -0
  50. package/dist/ui/assets/DocumentLayout-a12982d7.js +1 -0
  51. package/dist/ui/assets/DocumentList2-9c8c6284.js +23 -0
  52. package/dist/ui/assets/DocumentLists-1cdaae06.js +1 -0
  53. package/dist/ui/assets/DocumentUserSigned-f7371fc5.js +7 -0
  54. package/dist/ui/assets/DocumentsList-3b25907c.js +1 -0
  55. package/dist/ui/assets/DoubleSidedImage-b4bd3915.js +1 -0
  56. package/dist/ui/assets/{Drawer-949c18c6.js → Drawer-4f97e662.js} +1 -1
  57. package/dist/ui/assets/DynamicDashboard-0a41d287.js +1 -0
  58. package/dist/ui/assets/{DynamicTablesService-963fe77b.js → DynamicTablesService-6aa57f52.js} +1 -1
  59. package/dist/ui/assets/EditAccount-e42d66af.js +1 -0
  60. package/dist/ui/assets/EditLead-c8c9760a.js +1 -0
  61. package/dist/ui/assets/FaqItems-25d66543.js +6 -0
  62. package/dist/ui/assets/{FileManagementServices-25fd64c5.js → FileManagementServices-19b47568.js} +1 -1
  63. package/dist/ui/assets/{FolderOpen-88bfcc74.js → FolderOpen-7b0e2ac0.js} +1 -1
  64. package/dist/ui/assets/FormContainer-9a52b9e8.js +1 -0
  65. package/dist/ui/assets/{GeneralSettings-a7f805e8.js → GeneralSettings-c8c2f051.js} +5 -5
  66. package/dist/ui/assets/GenericPage-81e41302.js +1 -0
  67. package/dist/ui/assets/GridMapDetails-38f50b3c.js +1 -0
  68. package/dist/ui/assets/HorizontalMenuContent-fd559f4d.js +1 -0
  69. package/dist/ui/assets/{ImportFile-3f60d715.js → ImportFile-026b1771.js} +1 -1
  70. package/dist/ui/assets/{InlineSignaturePad-09c06619.js → InlineSignaturePad-f5630151.js} +1 -1
  71. package/dist/ui/assets/InvoicesList-9723bc5a.js +1 -0
  72. package/dist/ui/assets/{KeyVaultService-874d83fe.js → KeyVaultService-9608f0ff.js} +1 -1
  73. package/dist/ui/assets/LeadDetails-8cdaae0e.js +1 -0
  74. package/dist/ui/assets/{LeadSourceService-e46fa85e.js → LeadSourceService-cf71ea64.js} +1 -1
  75. package/dist/ui/assets/LeadsList-1ec20a77.js +1 -0
  76. package/dist/ui/assets/Logo-dd6f7656.js +1 -0
  77. package/dist/ui/assets/MapView-dcab88b3.js +1 -0
  78. package/dist/ui/assets/MarketingPage-998d10b0.js +4 -0
  79. package/dist/ui/assets/MenuNew-79fc95f3.js +1 -0
  80. package/dist/ui/assets/{MenuTable-c2c65021.js → MenuTable-f69e0fe4.js} +1 -1
  81. package/dist/ui/assets/MessageInput-07fcc5cb.js +21 -0
  82. package/dist/ui/assets/MessagesList-21d2b034.js +1 -0
  83. package/dist/ui/assets/ModernLayout-05af7cf7.js +1 -0
  84. package/dist/ui/assets/{NoData-8c485a3a.js → NoData-4cc4af03.js} +1 -1
  85. package/dist/ui/assets/Notify-8fb74d48.js +1 -0
  86. package/dist/ui/assets/OpportunitiesList-2f96958f.js +1 -0
  87. package/dist/ui/assets/OpportunityDetails-aaec3200.js +1 -0
  88. package/dist/ui/assets/{OpportunityServices-fa4fabfd.js → OpportunityServices-c4510dd2.js} +1 -1
  89. package/dist/ui/assets/OpportunityStatus-ea3b5ee2.js +1 -0
  90. package/dist/ui/assets/PageBreadcrumb-cf54a6e9.js +1 -0
  91. package/dist/ui/assets/{Password-d9294711.js → Password-21414dc6.js} +1 -1
  92. package/dist/ui/assets/PasswordInput-333c82ca.js +1 -0
  93. package/dist/ui/assets/{PreferenceService-75bf9db6.js → PreferenceService-d2b3e003.js} +1 -1
  94. package/dist/ui/assets/Profile-8c9fd2fc.js +1 -0
  95. package/dist/ui/assets/{ReportEditor-8880f57e.js → ReportEditor-4e4f6d53.js} +3 -3
  96. package/dist/ui/assets/{ReportViewer-9f1080f7.js → ReportViewer-616d3cfc.js} +30 -30
  97. package/dist/ui/assets/RoleEdit-a076ea85.js +1 -0
  98. package/dist/ui/assets/RoleForm-47691f91.js +1 -0
  99. package/dist/ui/assets/{RoleNew-49fadb16.js → RoleNew-e86a1513.js} +1 -1
  100. package/dist/ui/assets/{RoleService-7008da2c.js → RoleService-2f9ed883.js} +1 -1
  101. package/dist/ui/assets/ScheduleCycle-0ae23631.js +1 -0
  102. package/dist/ui/assets/{ScheduleService-7228f0a3.js → ScheduleService-41a88c41.js} +1 -1
  103. package/dist/ui/assets/ScreenList-8f58150b.js +1 -0
  104. package/dist/ui/assets/Settings-fc91c9d2.js +2 -0
  105. package/dist/ui/assets/{SetupWizard-4172e377.js → SetupWizard-d1363582.js} +1 -1
  106. package/dist/ui/assets/SimpleLayout-77cfb778.js +1 -0
  107. package/dist/ui/assets/StackedSideLayout-2f1ee9d1.js +1 -0
  108. package/dist/ui/assets/StickyFooter-3e569b80.js +1 -0
  109. package/dist/ui/assets/SupportRequets-0ecd4ab8.js +1 -0
  110. package/dist/ui/assets/{Switcher-c8648037.js → Switcher-e2fba588.js} +1 -1
  111. package/dist/ui/assets/TimeLogApprovalDataList-7b49a432.js +1 -0
  112. package/dist/ui/assets/TimeLogApprovalList-78cab2b6.js +1 -0
  113. package/dist/ui/assets/TimeLogList-592b29aa.js +1 -0
  114. package/dist/ui/assets/{TimeLogService-cd7b2f61.js → TimeLogService-83166cbc.js} +1 -1
  115. package/dist/ui/assets/TimesheetsList-d1520efb.js +1 -0
  116. package/dist/ui/assets/TranslationList-88d7d5d7.js +1 -0
  117. package/dist/ui/assets/TweaksPanel-bc10bc47.js +112 -0
  118. package/dist/ui/assets/{Upload-fb34ce03.js → Upload-be937eb6.js} +4 -4
  119. package/dist/ui/assets/UserEdit-1f8208f3.js +1 -0
  120. package/dist/ui/assets/UserForm-e9b56aff.js +1 -0
  121. package/dist/ui/assets/{UserNew-b36c342c.js → UserNew-31fa258f.js} +1 -1
  122. package/dist/ui/assets/{UserService-047aef51.js → UserService-1b93ceb0.js} +1 -1
  123. package/dist/ui/assets/ViewTimeLogForApproval-ae077050.js +1 -0
  124. package/dist/ui/assets/Views-1359da48.js +1 -0
  125. package/dist/ui/assets/WelcomeList-dc8666ec.js +9 -0
  126. package/dist/ui/assets/WidgetLayoutsService-49730609.js +1 -0
  127. package/dist/ui/assets/{WrapperCell-a7981b07.js → WrapperCell-3d5592cf.js} +1 -1
  128. package/dist/ui/assets/actioncell-6b5ebd6c.js +1 -0
  129. package/dist/ui/assets/{ar-3c9c213e.js → ar-fb4f0ea8.js} +1 -1
  130. package/dist/ui/assets/calendarList-ac838a86.js +2 -0
  131. package/dist/ui/assets/{cjs-162261df.js → cjs-998de55c.js} +1 -1
  132. package/dist/ui/assets/createSvgIcon-aba65987.js +1 -0
  133. package/dist/ui/assets/documentsList-4e2e061e.js +1 -0
  134. package/dist/ui/assets/{es-be649ede.js → es-cd58d3ad.js} +1 -1
  135. package/dist/ui/assets/{esm-f306d015.js → esm-c40433f8.js} +1 -1
  136. package/dist/ui/assets/gridList-e1571c87.js +1 -0
  137. package/dist/ui/assets/gridMapTable-d95f9c70.js +1 -0
  138. package/dist/ui/assets/{index-f6be0390.js → index-00a8eb64.js} +1 -1
  139. package/dist/ui/assets/index-04438b6b.js +22 -0
  140. package/dist/ui/assets/index-058738bc.js +1 -0
  141. package/dist/ui/assets/{index-e4c6057f.js → index-0b08ce18.js} +1 -1
  142. package/dist/ui/assets/index-0d730815.js +4 -0
  143. package/dist/ui/assets/index-0efcf53a.js +1 -0
  144. package/dist/ui/assets/index-0f432250.js +1 -0
  145. package/dist/ui/assets/{index-cebd880b.js → index-0fd6e996.js} +1 -1
  146. package/dist/ui/assets/{index-49a94e54.js → index-11297f4a.js} +1 -1
  147. package/dist/ui/assets/index-14c1c1d7.js +1 -0
  148. package/dist/ui/assets/index-15e1f4be.js +1 -0
  149. package/dist/ui/assets/index-16586c21.js +1 -0
  150. package/dist/ui/assets/index-19346c14.js +1 -0
  151. package/dist/ui/assets/{index-16bb10a6.js → index-1dc2b9d2.js} +1 -1
  152. package/dist/ui/assets/index-211fbe21.js +1 -0
  153. package/dist/ui/assets/index-23e16bff.js +1 -0
  154. package/dist/ui/assets/index-27aef8b5.js +1 -0
  155. package/dist/ui/assets/{index-36228db5.js → index-289b3fd9.js} +1 -1
  156. package/dist/ui/assets/{index-a22a3546.js → index-2dae59b1.js} +1 -1
  157. package/dist/ui/assets/index-353fd6dd.js +1 -0
  158. package/dist/ui/assets/{index-ea125a16.js → index-359d245d.js} +1 -1
  159. package/dist/ui/assets/{index-c62ac197.js → index-3b5ce20a.js} +70 -62
  160. package/dist/ui/assets/index-3b929ba4.js +34 -0
  161. package/dist/ui/assets/index-42e3a337.js +1 -0
  162. package/dist/ui/assets/index-44b6de3a.js +1 -0
  163. package/dist/ui/assets/index-46d3ca9a.js +7 -0
  164. package/dist/ui/assets/{index-e3cc723f.js → index-49016ad0.js} +1 -1
  165. package/dist/ui/assets/index-51132258.js +1 -0
  166. package/dist/ui/assets/{index-dc103f22.js → index-52963879.js} +1 -1
  167. package/dist/ui/assets/{index-fcc1c999.js → index-533fd007.js} +1 -1
  168. package/dist/ui/assets/index-59ec468b.js +13 -0
  169. package/dist/ui/assets/index-5e2d5279.js +1 -0
  170. package/dist/ui/assets/{index-d17da176.js → index-62f95885.js} +1 -1
  171. package/dist/ui/assets/index-659c6412.js +1 -0
  172. package/dist/ui/assets/index-6873dfc3.js +1 -0
  173. package/dist/ui/assets/index-69a68d9e.js +1 -0
  174. package/dist/ui/assets/index-6a6902c7.js +1 -0
  175. package/dist/ui/assets/index-7596c6bb.js +1 -0
  176. package/dist/ui/assets/{index-47dcc43a.js → index-8045c5f0.js} +1 -1
  177. package/dist/ui/assets/{index-b028e652.js → index-8677acd1.js} +1 -1
  178. package/dist/ui/assets/{index-42e65911.js → index-88c52b97.js} +1 -1
  179. package/dist/ui/assets/index-89cfefab.js +1 -0
  180. package/dist/ui/assets/{index-bea4c3dc.js → index-8c0643fd.js} +1 -1
  181. package/dist/ui/assets/index-8d5b6a1f.js +1 -0
  182. package/dist/ui/assets/index-8d5d70f9.js +1 -0
  183. package/dist/ui/assets/{index-9b41371d.js → index-91505016.js} +1 -1
  184. package/dist/ui/assets/{index-ffc00dbb.js → index-92314073.js} +1 -1
  185. package/dist/ui/assets/index-985cf3f6.js +1 -0
  186. package/dist/ui/assets/index-a14e51de.js +1 -0
  187. package/dist/ui/assets/index-a733f80b.js +1 -0
  188. package/dist/ui/assets/index-a84d5808.js +1 -0
  189. package/dist/ui/assets/index-acac6006.js +1 -0
  190. package/dist/ui/assets/index-b0ef7ac3.js +1 -0
  191. package/dist/ui/assets/index-b6ef5984.js +1 -0
  192. package/dist/ui/assets/{index-fc9071e0.js → index-bd4edda3.js} +1 -1
  193. package/dist/ui/assets/{index-0ec72c4b.js → index-c29b8474.js} +1 -1
  194. package/dist/ui/assets/index-c88c7790.js +19 -0
  195. package/dist/ui/assets/index-ce89a95e.css +7 -0
  196. package/dist/ui/assets/index-d221d69e.js +1 -0
  197. package/dist/ui/assets/{index-f1576468.js → index-d33facae.js} +1 -1
  198. package/dist/ui/assets/index-e46c57a5.js +1 -0
  199. package/dist/ui/assets/index-e863817c.js +1 -0
  200. package/dist/ui/assets/index-f4af2342.js +1 -0
  201. package/dist/ui/assets/{index-77e820d0.js → index-fc9f8c4b.js} +1 -1
  202. package/dist/ui/assets/{index-ec2010d2.js → index-ff23edc5.js} +1 -1
  203. package/dist/ui/assets/{index.esm-70ab539c.js → index.esm-b2d342b5.js} +1 -1
  204. package/dist/ui/assets/liveLocation-8e0bb2f3.js +1 -0
  205. package/dist/ui/assets/{mapView-ab35acaa.js → mapView-c8063ed6.js} +1 -1
  206. package/dist/ui/assets/modeuls-setup-4b06843c.js +1 -0
  207. package/dist/ui/assets/{permissionHoc-6f787658.js → permissionHoc-0818bfb0.js} +1 -1
  208. package/dist/ui/assets/{react-21134174.js → react-12ddbe48.js} +1 -1
  209. package/dist/ui/assets/{react-4d5dc208.js → react-61e0b284.js} +1 -1
  210. package/dist/ui/assets/{strongPassword-bbec776a.js → strongPassword-6bc8786f.js} +1 -1
  211. package/dist/ui/assets/{styles-0608350c.js → styles-b7ae7bf6.js} +1 -1
  212. package/dist/ui/assets/{tableV2-4d1c9fd2.js → tableV2-99c808c0.js} +1 -1
  213. package/dist/ui/assets/tableV3-24eed052.js +1 -0
  214. package/dist/ui/assets/ticketRequestDetails-8b299fbd.js +1 -0
  215. package/dist/ui/assets/{useDidUpdate-25c4d4ed.js → useDidUpdate-de319a18.js} +1 -1
  216. package/dist/ui/assets/{useDrop-02b0e5d7.js → useDrop-8f0d11a7.js} +1 -1
  217. package/dist/ui/assets/useFilteredData-e8fad668.js +1 -0
  218. package/dist/ui/assets/{usePermission-d94b4984.js → usePermission-4689548c.js} +1 -1
  219. package/dist/ui/assets/{vendor-charts-eccea5d1.js → vendor-charts-4be0b5ab.js} +1 -1
  220. package/dist/ui/assets/{vendor-codemirror-c8203b49.js → vendor-codemirror-1a1216c9.js} +11 -11
  221. package/dist/ui/assets/{vendor-devex-33a39e11.js → vendor-devex-4076ffeb.js} +2 -2
  222. package/dist/ui/assets/{vendor-excel-ee8fc4e5.js → vendor-excel-3b3553df.js} +1 -1
  223. package/dist/ui/assets/{vendor-i18n-2fcb1983.js → vendor-i18n-b89304ef.js} +1 -1
  224. package/dist/ui/assets/vendor-mui-98daa63f.js +185 -0
  225. package/dist/ui/assets/{vendor-pdf-b2a5d8b1.js → vendor-pdf-3c29882d.js} +1 -1
  226. package/dist/ui/assets/withHeaderItem-df2cc5d9.js +1 -0
  227. package/dist/ui/assets/{zh-cn-1881e930.js → zh-cn-13c6c696.js} +1 -1
  228. package/dist/ui/config.js +16 -20
  229. package/dist/ui/index.html +9 -9
  230. package/dist/ui/manifest.json +2 -2
  231. package/index.bundle.js +60 -46
  232. package/package.json +1 -1
  233. package/dist/ui/assets/AIVision-4f515575.js +0 -4
  234. package/dist/ui/assets/AccountDetails-2b42d262.js +0 -1
  235. package/dist/ui/assets/AccountDetails-492dee8f.js +0 -1
  236. package/dist/ui/assets/AccountServices-62599aae.js +0 -1
  237. package/dist/ui/assets/AccountsList-fe7cb5f9.js +0 -1
  238. package/dist/ui/assets/ActionLink-33e476e1.js +0 -1
  239. package/dist/ui/assets/AdaptableCard-df7695d6.js +0 -1
  240. package/dist/ui/assets/AddAccount-a05910e8.js +0 -1
  241. package/dist/ui/assets/AddEditFile-063c229b.js +0 -1
  242. package/dist/ui/assets/AddEditTranslation-43beae49.js +0 -1
  243. package/dist/ui/assets/AiApiLogList-a488921d.js +0 -1
  244. package/dist/ui/assets/AiCa-9c1b25b2.js +0 -1
  245. package/dist/ui/assets/Alert-7dfbd254.js +0 -1
  246. package/dist/ui/assets/ApiService-2b99757f.js +0 -1
  247. package/dist/ui/assets/AppLandingPage-3956cf0c.js +0 -4
  248. package/dist/ui/assets/AuditLogsList-7a2ce37d.js +0 -1
  249. package/dist/ui/assets/Auth0Callback-b943f19f.js +0 -1
  250. package/dist/ui/assets/BarCodes-17ed5da4.js +0 -1
  251. package/dist/ui/assets/BlankLayout-2f6e1153.js +0 -1
  252. package/dist/ui/assets/CalendarList-25834ddb.css +0 -11
  253. package/dist/ui/assets/CalendarList-72739043.js +0 -2
  254. package/dist/ui/assets/CategoryList-9f82e9a3.js +0 -1
  255. package/dist/ui/assets/CategoryList-c97891e7.js +0 -1
  256. package/dist/ui/assets/ChatContainer-4a38b179.js +0 -1
  257. package/dist/ui/assets/ChatsList-6c2c3e2f.js +0 -1
  258. package/dist/ui/assets/Check-71f21a49.js +0 -1
  259. package/dist/ui/assets/CheckInVideo-cb5fa9a2.js +0 -6
  260. package/dist/ui/assets/ClassicLayout-7d09e5ac.js +0 -1
  261. package/dist/ui/assets/CompanyList-9532f511.js +0 -1
  262. package/dist/ui/assets/ConfirmDialog-3202eb3d.js +0 -1
  263. package/dist/ui/assets/ContactDetails-3b70919b.js +0 -1
  264. package/dist/ui/assets/ContactsList-e9ac0fa3.js +0 -1
  265. package/dist/ui/assets/CountiesList-6ad338a5.js +0 -1
  266. package/dist/ui/assets/CountyDetails-22d4bc89.js +0 -1
  267. package/dist/ui/assets/CourseDetails-18040b49.js +0 -1
  268. package/dist/ui/assets/CourseList-e502f89d.js +0 -1
  269. package/dist/ui/assets/CreateSignature-375d191b.js +0 -7
  270. package/dist/ui/assets/DeckedLayout-909ac220.js +0 -1
  271. package/dist/ui/assets/DensitySelector-a2c1c68f.js +0 -1
  272. package/dist/ui/assets/DocumentActivity-d63dacec.js +0 -1
  273. package/dist/ui/assets/DocumentLayout-637075fd.js +0 -1
  274. package/dist/ui/assets/DocumentList2-518d2fa4.js +0 -23
  275. package/dist/ui/assets/DocumentLists-2da9ff88.js +0 -1
  276. package/dist/ui/assets/DocumentUserSigned-27bfa6e6.js +0 -7
  277. package/dist/ui/assets/DocumentsList-9f56db71.js +0 -1
  278. package/dist/ui/assets/DoubleSidedImage-ae98733b.js +0 -1
  279. package/dist/ui/assets/DynamicDashboard-6f177244.js +0 -1
  280. package/dist/ui/assets/EditAccount-1c1a8318.js +0 -1
  281. package/dist/ui/assets/EditLead-cc38d2a2.js +0 -1
  282. package/dist/ui/assets/FaqItems-c1c85af7.js +0 -6
  283. package/dist/ui/assets/FormContainer-91c2b0e4.js +0 -1
  284. package/dist/ui/assets/GenericPage-25a5d92a.js +0 -1
  285. package/dist/ui/assets/GridMapDetails-851a5781.js +0 -1
  286. package/dist/ui/assets/HorizontalMenuContent-96da38e1.js +0 -1
  287. package/dist/ui/assets/InvoicesList-8e66a112.js +0 -1
  288. package/dist/ui/assets/LeadDetails-ad63b3df.js +0 -1
  289. package/dist/ui/assets/LeadsList-bd7d9804.js +0 -1
  290. package/dist/ui/assets/Logo-3f3c9ee6.js +0 -1
  291. package/dist/ui/assets/MapView-afd1c913.js +0 -1
  292. package/dist/ui/assets/MarketingPage-89a860b1.js +0 -4
  293. package/dist/ui/assets/MenuEdit-d6e0d64c.js +0 -1
  294. package/dist/ui/assets/MessageInput-6dc83761.js +0 -21
  295. package/dist/ui/assets/MessagesList-966b69c5.js +0 -1
  296. package/dist/ui/assets/ModernLayout-03f30574.js +0 -1
  297. package/dist/ui/assets/Notify-bb3ce372.js +0 -1
  298. package/dist/ui/assets/OpportunitiesList-62eb34f6.js +0 -1
  299. package/dist/ui/assets/OpportunityDetails-356a8580.js +0 -1
  300. package/dist/ui/assets/OpportunityStatus-fa8108ea.js +0 -1
  301. package/dist/ui/assets/PasswordInput-8619a9df.js +0 -1
  302. package/dist/ui/assets/Profile-9104808b.js +0 -1
  303. package/dist/ui/assets/RoleEdit-98a6410b.js +0 -1
  304. package/dist/ui/assets/RoleForm-cc251eba.js +0 -1
  305. package/dist/ui/assets/ScheduleCycle-22c8e809.js +0 -1
  306. package/dist/ui/assets/ScreenList-9f7afa1c.js +0 -1
  307. package/dist/ui/assets/SidePanelContent-6b13836f.js +0 -1
  308. package/dist/ui/assets/SimpleLayout-d5445c0d.js +0 -2
  309. package/dist/ui/assets/StackedSideLayout-51127dc5.js +0 -1
  310. package/dist/ui/assets/StickyFooter-5b934274.js +0 -1
  311. package/dist/ui/assets/SupportRequets-be6542a9.js +0 -1
  312. package/dist/ui/assets/TimeLogApprovalDataList-c16d8bae.js +0 -1
  313. package/dist/ui/assets/TimeLogApprovalList-f6a75a20.js +0 -1
  314. package/dist/ui/assets/TimeLogList-ea288cce.js +0 -1
  315. package/dist/ui/assets/TimesheetsList-4a20e96c.js +0 -1
  316. package/dist/ui/assets/TranslationList-7a989333.js +0 -1
  317. package/dist/ui/assets/UserEdit-87262ea5.js +0 -1
  318. package/dist/ui/assets/UserForm-31fdd3b3.js +0 -1
  319. package/dist/ui/assets/ViewTimeLogForApproval-43b24a1a.js +0 -1
  320. package/dist/ui/assets/Views-74429e81.js +0 -1
  321. package/dist/ui/assets/WelcomeList-6c693eae.js +0 -9
  322. package/dist/ui/assets/actioncell-17e12e21.js +0 -1
  323. package/dist/ui/assets/calendarList-511b4d8f.js +0 -2
  324. package/dist/ui/assets/createSvgIcon-c5fc0d04.js +0 -1
  325. package/dist/ui/assets/documentsList-ac2c91ec.js +0 -1
  326. package/dist/ui/assets/dxicons-4c1b2089.ttf +0 -0
  327. package/dist/ui/assets/dxicons-ade3c9ed.woff2 +0 -0
  328. package/dist/ui/assets/dxicons-b4cd1226.woff +0 -0
  329. package/dist/ui/assets/gridList-cb9a14b1.js +0 -1
  330. package/dist/ui/assets/gridMapTable-c19770a8.js +0 -1
  331. package/dist/ui/assets/index-1d60e514.js +0 -1
  332. package/dist/ui/assets/index-26466d9d.js +0 -1
  333. package/dist/ui/assets/index-289cfedb.js +0 -1
  334. package/dist/ui/assets/index-2ce5b358.js +0 -1
  335. package/dist/ui/assets/index-307ce6d7.js +0 -1
  336. package/dist/ui/assets/index-36ba4ea7.js +0 -1
  337. package/dist/ui/assets/index-3f02e05a.js +0 -1
  338. package/dist/ui/assets/index-44662933.js +0 -13
  339. package/dist/ui/assets/index-51ee35f9.js +0 -1
  340. package/dist/ui/assets/index-54372d82.js +0 -1
  341. package/dist/ui/assets/index-569a9d2c.js +0 -1
  342. package/dist/ui/assets/index-62de659f.js +0 -13
  343. package/dist/ui/assets/index-6589dd2d.js +0 -1
  344. package/dist/ui/assets/index-6b6d0f06.js +0 -1
  345. package/dist/ui/assets/index-6c618440.js +0 -1
  346. package/dist/ui/assets/index-785ad361.js +0 -1
  347. package/dist/ui/assets/index-7df8779c.js +0 -1
  348. package/dist/ui/assets/index-82c9477e.js +0 -1
  349. package/dist/ui/assets/index-8ab45286.js +0 -1
  350. package/dist/ui/assets/index-8c229076.css +0 -7
  351. package/dist/ui/assets/index-a205cfed.js +0 -34
  352. package/dist/ui/assets/index-a23f9c87.js +0 -1
  353. package/dist/ui/assets/index-a455424a.js +0 -1
  354. package/dist/ui/assets/index-a4f78ee1.js +0 -1
  355. package/dist/ui/assets/index-aaad94c2.js +0 -1
  356. package/dist/ui/assets/index-b1b6b0f6.js +0 -1
  357. package/dist/ui/assets/index-c1f92742.js +0 -4
  358. package/dist/ui/assets/index-c2088808.js +0 -1
  359. package/dist/ui/assets/index-cbc29fa8.js +0 -1
  360. package/dist/ui/assets/index-cd2b7d32.js +0 -1
  361. package/dist/ui/assets/index-cf3804f1.js +0 -19
  362. package/dist/ui/assets/index-d0ef2cc2.js +0 -1
  363. package/dist/ui/assets/index-d1145737.js +0 -7
  364. package/dist/ui/assets/index-d58fb185.js +0 -1
  365. package/dist/ui/assets/index-d5b5a7e1.js +0 -1
  366. package/dist/ui/assets/index-daeff047.js +0 -1
  367. package/dist/ui/assets/index-ded3b055.js +0 -1
  368. package/dist/ui/assets/index-ede23a2b.js +0 -1
  369. package/dist/ui/assets/index-f8144346.js +0 -1
  370. package/dist/ui/assets/index-fd68b510.js +0 -1
  371. package/dist/ui/assets/index-fe3409ae.js +0 -1
  372. package/dist/ui/assets/liveLocation-646eef95.js +0 -1
  373. package/dist/ui/assets/modeuls-setup-402f891e.js +0 -1
  374. package/dist/ui/assets/tableV3-3d2f4952.js +0 -1
  375. package/dist/ui/assets/ticketRequestDetails-f78147f7.js +0 -1
  376. package/dist/ui/assets/vendor-mui-69397583.js +0 -185
  377. package/dist/ui/menudata/menus.json +0 -606
@@ -1,4 +0,0 @@
1
- import{j as e}from"./vendor-mui-69397583.js";import{r as y}from"./vendor-react-ece1c85f.js";import{L}from"./Logo-3f3c9ee6.js";import"./index-c62ac197.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-pdf-b2a5d8b1.js";import"./vendor-devex-33a39e11.js";import"./vendor-i18n-2fcb1983.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-eccea5d1.js";const x=({name:t,size:s=18,stroke:l=1.8})=>{const r={width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:l,strokeLinecap:"round",strokeLinejoin:"round"};switch(t){case"arrow":return e.jsx("svg",{...r,children:e.jsx("path",{d:"M5 12h14M13 6l6 6-6 6"})});case"play":return e.jsx("svg",{...r,children:e.jsx("polygon",{points:"5,3 19,12 5,21",fill:"currentColor",stroke:"none"})});case"code":return e.jsxs("svg",{...r,children:[e.jsx("polyline",{points:"16 18 22 12 16 6"}),e.jsx("polyline",{points:"8 6 2 12 8 18"})]});case"layers":return e.jsxs("svg",{...r,children:[e.jsx("path",{d:"M12 2 2 7l10 5 10-5-10-5z"}),e.jsx("path",{d:"M2 17l10 5 10-5"}),e.jsx("path",{d:"M2 12l10 5 10-5"})]});case"grid":return e.jsxs("svg",{...r,children:[e.jsx("rect",{x:"3",y:"3",width:"7",height:"7"}),e.jsx("rect",{x:"14",y:"3",width:"7",height:"7"}),e.jsx("rect",{x:"3",y:"14",width:"7",height:"7"}),e.jsx("rect",{x:"14",y:"14",width:"7",height:"7"})]});case"sliders":return e.jsxs("svg",{...r,children:[e.jsx("line",{x1:"4",y1:"21",x2:"4",y2:"14"}),e.jsx("line",{x1:"4",y1:"10",x2:"4",y2:"3"}),e.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"12"}),e.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"3"}),e.jsx("line",{x1:"20",y1:"21",x2:"20",y2:"16"}),e.jsx("line",{x1:"20",y1:"12",x2:"20",y2:"3"}),e.jsx("line",{x1:"1",y1:"14",x2:"7",y2:"14"}),e.jsx("line",{x1:"9",y1:"8",x2:"15",y2:"8"}),e.jsx("line",{x1:"17",y1:"16",x2:"23",y2:"16"})]});case"plug":return e.jsxs("svg",{...r,children:[e.jsx("path",{d:"M9 2v6"}),e.jsx("path",{d:"M15 2v6"}),e.jsx("path",{d:"M5 8h14v3a7 7 0 0 1-14 0z"}),e.jsx("path",{d:"M12 18v4"})]});case"rocket":return e.jsxs("svg",{...r,children:[e.jsx("path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"}),e.jsx("path",{d:"M12 15l-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"}),e.jsx("path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"}),e.jsx("path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"})]});case"shield":return e.jsx("svg",{...r,children:e.jsx("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"})});case"users":return e.jsxs("svg",{...r,children:[e.jsx("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),e.jsx("circle",{cx:"9",cy:"7",r:"4"}),e.jsx("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),e.jsx("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]});case"check":return e.jsx("svg",{...r,children:e.jsx("polyline",{points:"20 6 9 17 4 12"})});case"git":return e.jsxs("svg",{...r,children:[e.jsx("circle",{cx:"18",cy:"18",r:"3"}),e.jsx("circle",{cx:"6",cy:"6",r:"3"}),e.jsx("path",{d:"M6 21V9a9 9 0 0 0 9 9"})]});case"spark":return e.jsx("svg",{...r,children:e.jsx("path",{d:"M12 2l2.4 7.4H22l-6 4.4 2.3 7.2-6.3-4.6-6.3 4.6L8 13.8 2 9.4h7.6z"})});case"table":return e.jsxs("svg",{...r,children:[e.jsx("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),e.jsx("line",{x1:"3",y1:"9",x2:"21",y2:"9"}),e.jsx("line",{x1:"3",y1:"15",x2:"21",y2:"15"}),e.jsx("line",{x1:"9",y1:"3",x2:"9",y2:"21"})]});case"chart":return e.jsxs("svg",{...r,children:[e.jsx("line",{x1:"18",y1:"20",x2:"18",y2:"10"}),e.jsx("line",{x1:"12",y1:"20",x2:"12",y2:"4"}),e.jsx("line",{x1:"6",y1:"20",x2:"6",y2:"14"})]});case"form":return e.jsxs("svg",{...r,children:[e.jsx("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),e.jsx("path",{d:"M8 8h8M8 12h8M8 16h5"})]});case"kpi":return e.jsxs("svg",{...r,children:[e.jsx("path",{d:"M3 3v18h18"}),e.jsx("path",{d:"M7 14l4-4 4 4 5-5"})]});case"lock":return e.jsxs("svg",{...r,children:[e.jsx("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2"}),e.jsx("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]});default:return null}},T=()=>e.jsxs("div",{className:"relative",style:{height:520},children:[e.jsxs("div",{className:"absolute inset-0 rounded-[18px] bg-white overflow-hidden border border-ca-slate-100",style:{boxShadow:"0 30px 80px rgba(20,20,20,0.12), 0 4px 12px rgba(20,20,20,0.06)"},children:[e.jsxs("div",{className:"flex items-center gap-1.5 h-9 px-3.5 border-b border-ca-slate-100",style:{background:"#F5F4F1"},children:[e.jsx("span",{className:"w-2.5 h-2.5 rounded-full",style:{background:"#FC6058"}}),e.jsx("span",{className:"w-2.5 h-2.5 rounded-full",style:{background:"#FDBC40"}}),e.jsx("span",{className:"w-2.5 h-2.5 rounded-full",style:{background:"#34C949"}}),e.jsx("span",{className:"ml-3 text-[11px] text-ca-slate-500 font-ibm-mono bg-white px-3 py-1 rounded-full border border-ca-slate-100",children:"app.acme.com / fleet · operations"})]}),e.jsxs("div",{className:"p-6 grid grid-cols-2 gap-3.5",children:[e.jsxs("div",{className:"rounded-[12px] p-3.5 border border-black/[.04]",style:{background:"#FBF2EA"},children:[e.jsx("div",{className:"text-[11px] font-bold uppercase tracking-[0.06em] text-ca-slate-500",children:"On-time rate"}),e.jsx("div",{className:"text-[28px] font-black text-ca-ink mt-1.5 leading-none tracking-[-0.02em]",children:"94.6%"}),e.jsx("div",{className:"text-[12px] font-bold mt-1",style:{color:"#16A34A"},children:"▲ 2.4 vs. last week"})]}),e.jsxs("div",{className:"rounded-[12px] p-3.5 border border-black/[.04]",style:{background:"#FBF2EA"},children:[e.jsx("div",{className:"text-[11px] font-bold uppercase tracking-[0.06em] text-ca-slate-500",children:"Loads in transit"}),e.jsx("div",{className:"text-[28px] font-black text-ca-ink mt-1.5 leading-none tracking-[-0.02em]",children:"1,284"}),e.jsx("div",{className:"text-[12px] font-bold mt-1",style:{color:"#16A34A"},children:"▲ 118 since 9am"})]}),e.jsxs("div",{className:"col-span-2 bg-white border border-ca-slate-100 rounded-[12px] p-3.5",style:{height:200,display:"flex",flexDirection:"column"},children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("div",{className:"text-[12px] font-bold text-ca-ink",children:"Throughput · last 12 weeks"}),e.jsxs("div",{className:"flex gap-2.5 text-[10px] text-ca-slate-500",children:[e.jsxs("span",{children:[e.jsx("i",{className:"inline-block w-2 h-2 rounded-[2px] mr-1 align-middle",style:{background:"#F15A22"}}),"This year"]}),e.jsxs("span",{children:[e.jsx("i",{className:"inline-block w-2 h-2 rounded-[2px] mr-1 align-middle bg-ca-slate-200"}),"Last year"]})]})]}),e.jsxs("svg",{viewBox:"0 0 320 110",preserveAspectRatio:"none",style:{flex:1,width:"100%"},children:[e.jsx("defs",{children:e.jsxs("linearGradient",{id:"hg",x1:"0",x2:"0",y1:"0",y2:"1",children:[e.jsx("stop",{offset:"0",stopColor:"#F15A22",stopOpacity:"0.32"}),e.jsx("stop",{offset:"1",stopColor:"#F15A22",stopOpacity:"0"})]})}),e.jsx("path",{d:"M0 78 L26 70 L52 75 L78 60 L104 65 L130 50 L156 55 L182 38 L208 42 L234 30 L260 22 L286 18 L320 10 L320 110 L0 110 Z",fill:"url(#hg)"}),e.jsx("path",{d:"M0 78 L26 70 L52 75 L78 60 L104 65 L130 50 L156 55 L182 38 L208 42 L234 30 L260 22 L286 18 L320 10",fill:"none",stroke:"#F15A22",strokeWidth:"2.4"}),e.jsx("path",{d:"M0 88 L26 86 L52 80 L78 84 L104 76 L130 78 L156 70 L182 72 L208 64 L234 66 L260 58 L286 60 L320 50",fill:"none",stroke:"#D9D9D9",strokeWidth:"1.6",strokeDasharray:"3 4"})]})]})]})]}),e.jsxs("div",{className:"absolute flex items-center gap-2.5 bg-white rounded-[12px] px-3.5 py-3 border border-ca-slate-100 text-[13px]",style:{bottom:24,left:-40,boxShadow:"0 20px 50px rgba(20,20,20,0.18)",animation:"pbFloatA 4s ease-in-out infinite"},children:[e.jsx("div",{className:"w-[30px] h-[30px] rounded-[8px] bg-ca-orange-500 text-white grid place-items-center flex-shrink-0",children:e.jsx(x,{name:"rocket",size:16})}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold text-ca-ink text-[12px]",children:"Deployed in 3.2s"}),e.jsx("div",{className:"text-[11px] text-ca-slate-500",children:"production · v0.41.2"})]})]}),e.jsxs("div",{className:"absolute flex items-center gap-2.5 bg-white rounded-[12px] px-3.5 py-3 border border-ca-slate-100 text-[13px]",style:{top:50,right:-30,boxShadow:"0 20px 50px rgba(20,20,20,0.18)",animation:"pbFloatB 5s ease-in-out infinite"},children:[e.jsx("div",{className:"w-[30px] h-[30px] rounded-[8px] grid place-items-center flex-shrink-0 text-white",style:{background:"#1B1B1B"},children:e.jsx(x,{name:"code",size:16})}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold text-ca-ink text-[12px]",children:"~ 240 lines saved"}),e.jsx("div",{className:"text-[11px] text-ca-slate-500",children:"vs hand-rolled"})]})]})]}),R=({onCta:t})=>e.jsxs("section",{className:"relative pt-[90px] px-10 overflow-hidden",children:[e.jsx("div",{className:"absolute pointer-events-none",style:{top:-120,right:-160,width:540,height:540,background:"radial-gradient(circle, rgba(241,90,34,0.18), transparent 70%)"}}),e.jsxs("div",{className:"max-w-[1320px] mx-auto grid gap-16 items-center",style:{gridTemplateColumns:"1.05fr 1fr"},children:[e.jsxs("div",{children:[e.jsxs("div",{className:"inline-flex items-center gap-2.5 text-[13px] font-bold text-ca-ink bg-white border border-ca-slate-100 rounded-full px-3.5 py-1.5 mb-7",children:[e.jsx("span",{className:"bg-ca-orange-500 text-white text-[11px] px-2.5 py-[3px] rounded-full uppercase tracking-[0.04em]",children:"v2.0 · Sonoma"}),"AI-assisted layout suggestions are live",e.jsx(x,{name:"arrow",size:12,stroke:2.4})]}),e.jsxs("h1",{className:"font-lato font-black text-ca-ink mb-7 leading-[0.98] tracking-[-0.035em]",style:{fontSize:76},children:["The framework devs use to ship"," ",e.jsx("em",{className:"not-italic",style:{background:"linear-gradient(120deg, #F15A22 0%, #F49A5C 100%)",WebkitBackgroundClip:"text",backgroundClip:"text",color:"transparent",display:"inline-block"},children:"internal apps in hours."})]}),e.jsx("p",{className:"text-[19px] leading-relaxed text-ca-slate-500 font-light max-w-[540px] mb-10",children:"xFramework is a low-code runtime for software teams. Drop in components, connect your data, theme it to your brand — and get a production app with auth, perms and audit baked in. No more “internal tool tax.”"}),e.jsxs("div",{className:"flex items-center gap-3.5 flex-wrap",children:[e.jsxs("button",{onClick:t,className:"inline-flex items-center gap-2.5 font-lato font-bold text-[16px] px-7 py-4 rounded-full border-0 cursor-pointer text-white transition-all duration-200 active:scale-[0.98]",style:{background:"#1B1B1B"},children:["Start building free",e.jsx(x,{name:"arrow",size:16,stroke:2.4})]}),e.jsxs("a",{href:"#pb-tour",className:"inline-flex items-center gap-2.5 font-lato font-bold text-[16px] px-7 py-4 rounded-full border border-ca-slate-100 text-ca-ink no-underline hover:border-ca-ink transition-all duration-200",children:[e.jsx(x,{name:"play",size:14})," Take the tour"]})]}),e.jsxs("div",{className:"flex items-center gap-4 mt-6 text-[13px] text-ca-slate-500",children:[e.jsxs("span",{children:[e.jsx("span",{className:"inline-grid place-items-center w-4 h-4 rounded-full mr-1 font-black text-[10px]",style:{background:"#DBF1E1",color:"#16A34A"},children:"✓"})," No credit card"]}),e.jsxs("span",{children:[e.jsx("span",{className:"inline-grid place-items-center w-4 h-4 rounded-full mr-1 font-black text-[10px]",style:{background:"#DBF1E1",color:"#16A34A"},children:"✓"})," SOC 2 Type II"]}),e.jsxs("span",{children:[e.jsx("span",{className:"inline-grid place-items-center w-4 h-4 rounded-full mr-1 font-black text-[10px]",style:{background:"#DBF1E1",color:"#16A34A"},children:"✓"})," Self-host or cloud"]})]})]}),e.jsx(T,{})]})]}),z=()=>e.jsx("section",{className:"mt-[110px] py-[30px] px-10 border-t border-b border-ca-slate-100",children:e.jsxs("div",{className:"max-w-[1320px] mx-auto flex items-center gap-[60px] flex-wrap",children:[e.jsx("div",{className:"text-[12px] font-bold uppercase tracking-[0.14em] text-ca-slate-500 flex-shrink-0",children:"Trusted by software teams at"}),e.jsx("div",{className:"flex-1 flex gap-[50px] flex-wrap items-center",children:["CARGOWAVE","Lumenly","Northstar.io","MHX Logistics","Foundry42","Hyperloop"].map(t=>e.jsx("span",{className:"font-lato font-black text-[19px] tracking-[-0.01em]",style:{color:"#999",opacity:.75},children:t},t))})]})}),C=[{icon:"code",title:"For developers",body:"Stop writing the same CRUD screen for the fourth time this quarter. Compose pages from typed components, override anything in code.",items:["TypeScript SDK + REST & GraphQL adapters","Drop into Next, Remix, or any React app","Custom components with full hot reload"]},{icon:"layers",title:"For software companies",body:"Turn your back-office tools into a product surface. White-label themes, multi-tenant orgs, audit logs — all in the box.",items:["Theme to your brand in < 5 minutes","RBAC, SSO (SAML, OIDC), SCIM provisioning","Per-customer subdomains & data scoping"]},{icon:"rocket",title:"For shipping fast",body:"Click build, configure, ship. Roles, permissions and audit are wired automatically — you never touch a migration just to add a column.",items:["One-click deploy to xFramework Cloud","Self-host with Docker or Helm in 10 minutes","Versioned releases with rollback"]}],F=()=>e.jsx("section",{className:"pt-[110px] px-10",id:"pb-why",children:e.jsxs("div",{className:"max-w-[1320px] mx-auto",children:[e.jsxs("div",{className:"grid gap-[60px] mb-[60px] items-end",style:{gridTemplateColumns:"1fr 1fr"},children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[12px] font-bold tracking-[0.14em] uppercase text-ca-orange-500 mb-5",children:"Why xFramework"}),e.jsx("h2",{className:"font-lato font-black text-ca-ink m-0 leading-[1.02] tracking-[-0.03em]",style:{fontSize:56},children:"Built for the people who get pinged on Slack at midnight."})]}),e.jsx("p",{className:"text-[18px] text-ca-slate-500 font-light leading-relaxed max-w-[480px] m-0",children:"A framework that respects your stack. Use it as a full app, embed it inside your product, or call it like a library — your call."})]}),e.jsx("div",{className:"grid grid-cols-3 gap-[18px]",children:C.map(t=>e.jsxs("article",{className:"bg-white border border-ca-slate-100 rounded-[18px] p-8 transition-all duration-200 hover:-translate-y-0.5",style:{"--tw-shadow":"0 12px 30px rgba(20,20,20,0.06)"},onMouseEnter:s=>{s.currentTarget.style.borderColor="#1B1B1B",s.currentTarget.style.boxShadow="0 12px 30px rgba(20,20,20,0.06)"},onMouseLeave:s=>{s.currentTarget.style.borderColor="",s.currentTarget.style.boxShadow=""},children:[e.jsx("div",{className:"w-11 h-11 rounded-[10px] grid place-items-center text-ca-orange-500 mb-5",style:{background:"#FBF2EA"},children:e.jsx(x,{name:t.icon,size:22})}),e.jsx("h3",{className:"font-lato font-black text-[22px] text-ca-ink tracking-[-0.01em] mb-3 mt-0",children:t.title}),e.jsx("p",{className:"text-[15px] leading-relaxed text-ca-slate-500 font-light mb-4 mt-0",children:t.body}),e.jsx("ul",{className:"list-none p-0 m-0 flex flex-col gap-2",children:t.items.map(s=>e.jsxs("li",{className:"flex gap-2.5 text-[14px] text-ca-slate-700",children:[e.jsx("span",{className:"inline-grid place-items-center w-4 h-4 rounded-full bg-ca-orange-500 flex-shrink-0 mt-0.5 text-[9px] font-black text-white",children:"✓"}),s]},s))})]},t.title))})]})}),h="#F6F4F1",f="#FBF2EA",d="#E9E9E9",a="#1B1B1B",n="#646464",i="#F15A22",m="#16A34A",B=()=>e.jsxs("div",{style:{display:"flex",flexDirection:"column",height:"100%"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"8px 0 14px",borderBottom:`1px solid ${d}`,marginBottom:18},children:[["Build","Templates","Recents"].map((t,s)=>e.jsx("span",{style:{fontSize:12,fontWeight:700,padding:"6px 12px",borderRadius:999,background:s===0?a:h,color:s===0?"#fff":n},children:t},t)),e.jsx("span",{style:{flex:1}}),e.jsx("span",{style:{display:"inline-flex",alignItems:"center",gap:6,fontSize:11,fontWeight:700,background:f,color:i,padding:"4px 10px",borderRadius:999},children:"⌘B"})]}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:14},children:[e.jsxs("div",{style:{border:`1.5px solid ${i}`,borderRadius:14,padding:22,background:`linear-gradient(180deg, ${f}, #fff)`,position:"relative"},children:[e.jsx("div",{style:{position:"absolute",top:14,right:14,fontSize:10,fontWeight:700,background:i,color:"#fff",padding:"3px 10px",borderRadius:999},children:"Most used"}),e.jsx("div",{style:{width:40,height:40,borderRadius:10,background:i,color:"#fff",display:"grid",placeItems:"center",marginBottom:16},children:e.jsx(x,{name:"layers",size:20})}),e.jsx("h4",{style:{fontWeight:900,fontSize:18,margin:"0 0 6px",color:a},children:"Page"}),e.jsx("p",{style:{fontSize:13,color:n,margin:"0 0 14px",lineHeight:1.5},children:"A focused screen — table, form, detail or workflow."}),e.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:["Driver list","Create order","Invoice detail"].map(t=>e.jsx("span",{style:{fontSize:10,padding:"3px 8px",borderRadius:999,background:h,color:"#333",fontWeight:700},children:t},t))})]}),e.jsxs("div",{style:{border:`1.5px solid ${d}`,borderRadius:14,padding:22,background:"#fff"},children:[e.jsx("div",{style:{width:40,height:40,borderRadius:10,background:a,color:i,display:"grid",placeItems:"center",marginBottom:16},children:e.jsx(x,{name:"grid",size:20})}),e.jsx("h4",{style:{fontWeight:900,fontSize:18,margin:"0 0 6px",color:a},children:"Dashboard"}),e.jsx("p",{style:{fontSize:13,color:n,margin:"0 0 14px",lineHeight:1.5},children:"Live grid of widgets that auto-refresh."}),e.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:["Ops overview","Sales pipeline","Site health"].map(t=>e.jsx("span",{style:{fontSize:10,padding:"3px 8px",borderRadius:999,background:h,color:"#333",fontWeight:700},children:t},t))})]})]}),e.jsxs("div",{style:{marginTop:18,background:h,borderRadius:12,padding:"14px 16px"},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:10},children:[e.jsx("span",{style:{fontSize:12,fontWeight:700,color:a},children:"Continue where you left off"}),e.jsx("span",{style:{fontSize:11,color:i,fontWeight:700},children:"View all →"})]}),[["kpi","Executive Overview","Analytics / Executive overview","2h ago"],["table","Driver Performance","Operations / Fleet","Yesterday"],["form","Ticket Intake Form","Support / Tickets","3d ago"]].map(([t,s,l,r])=>e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,padding:"8px 0",borderTop:`1px solid ${d}`},children:[e.jsx("div",{style:{width:26,height:26,borderRadius:6,background:"#fff",display:"grid",placeItems:"center",color:i},children:e.jsx(x,{name:t,size:14})}),e.jsxs("div",{style:{flex:1},children:[e.jsx("div",{style:{fontSize:12,fontWeight:700,color:a},children:s}),e.jsx("div",{style:{fontSize:10,color:n},children:l})]}),e.jsx("div",{style:{fontSize:10,color:n},children:r})]},s))]})]}),D=()=>e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"200px 1fr",height:"100%",gap:14},children:[e.jsx("div",{style:{background:h,borderRadius:12,padding:14,display:"flex",flexDirection:"column",gap:4},children:[{grp:"Data",items:[["table","Data Table",!0],["kpi","KPI Stats"],["form","Form"]]},{grp:"Visualize",items:[["chart","Graph"],["grid","Donut"]]},{grp:"Layout",items:[["layers","Header"]]}].map(({grp:t,items:s})=>e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:10,fontWeight:700,color:n,textTransform:"uppercase",letterSpacing:"0.08em",padding:"8px 10px 4px"},children:t}),s.map(([l,r,c])=>e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,padding:"8px 10px",borderRadius:8,fontSize:12,color:c?a:"#333",fontWeight:c?700:500,background:c?"#fff":"transparent",boxShadow:c?"0 1px 2px rgba(0,0,0,0.04)":"none"},children:[e.jsx("div",{style:{width:22,height:22,borderRadius:5,background:c?i:"#fff",display:"grid",placeItems:"center",color:c?"#fff":i},children:e.jsx(x,{name:l,size:12})}),r]},r))]},t))}),e.jsxs("div",{style:{background:"#fff",border:`2px dashed ${d}`,borderRadius:12,padding:16,display:"flex",flexDirection:"column",gap:10},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[e.jsx("span",{style:{fontSize:13,fontWeight:900,color:a},children:"Driver Performance · canvas"}),e.jsx("span",{style:{fontSize:11,color:n,fontWeight:700},children:"auto-pack: ON"})]}),e.jsx("div",{style:{background:f,border:"1px solid rgba(241,90,34,0.2)",borderRadius:10,padding:14,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:10},children:[["On-time","94.6%","▲ 2.4"],["Avg idle","18m","▼ 6m"],["Routes","142","▲ 8"]].map(([t,s,l])=>e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:9,color:n,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.06em"},children:t}),e.jsx("div",{style:{fontSize:22,fontWeight:900,color:a,marginTop:2,lineHeight:1},children:s}),e.jsx("div",{style:{fontSize:10,color:m,fontWeight:700},children:l})]},t))}),e.jsxs("div",{style:{background:"#fff",border:`1px solid ${d}`,borderRadius:10,padding:12},children:[e.jsx("div",{style:{fontSize:11,fontWeight:700,color:a,marginBottom:8},children:"Driver list"}),["M. Reyes","T. Okafor","B. Andrade","S. Han"].map((t,s)=>e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 60px 60px 50px",alignItems:"center",fontSize:11,gap:8,padding:"5px 0",borderTop:s===0?"0":`1px solid ${d}`},children:[e.jsx("span",{style:{fontWeight:700,color:a},children:t}),e.jsxs("span",{style:{color:n},children:["R-0",s+1]}),e.jsx("span",{style:{color:s===2?"#E8A33A":m,fontWeight:700},children:s===2?"Idle":"On route"}),e.jsxs("span",{style:{textAlign:"right",fontWeight:700,color:a},children:[[98,95,82,99][s],"%"]})]},t))]}),e.jsx("div",{style:{border:`2px dashed ${i}`,background:f,color:i,fontWeight:700,textAlign:"center",padding:28,fontSize:13,borderRadius:10},children:"+ Drop 'Graph' here"})]})]}),A=()=>e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1.1fr 1fr",height:"100%",gap:14},children:[e.jsx("div",{style:{background:h,borderRadius:12,padding:18,overflow:"hidden"},children:[{label:"Widget title",type:"input",value:"Throughput · last 12 months"},{label:"Chart type",type:"seg",opts:["Bar","Line","Area","Stack"],active:"Bar"},{label:"Series",type:"chips",opts:["This year","Last year","Forecast","Target"],active:["This year","Last year"]},{label:"Refresh",type:"seg",opts:["Off","1m","5m","15m"],active:"5m"},{label:"Width",type:"seg",opts:["¼","½","Full"],active:"Full"}].map(t=>e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6,marginBottom:14},children:[e.jsx("label",{style:{fontSize:11,fontWeight:700,color:n,textTransform:"uppercase",letterSpacing:"0.06em"},children:t.label}),t.type==="input"&&e.jsx("div",{style:{background:"#fff",border:`1px solid ${i}`,borderRadius:8,padding:"8px 12px",fontSize:13,color:a,fontWeight:500,display:"flex",alignItems:"center",boxShadow:"0 0 0 3px rgba(241,90,34,0.15)"},children:t.value}),t.type==="seg"&&e.jsx("div",{style:{display:"flex",background:"#fff",border:`1px solid ${d}`,borderRadius:8,padding:3},children:t.opts.map(s=>e.jsx("button",{style:{flex:1,fontSize:11,fontWeight:700,padding:"6px 8px",background:s===t.active?a:"transparent",border:0,borderRadius:6,color:s===t.active?"#fff":n,cursor:"pointer"},children:s},s))}),t.type==="chips"&&e.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:t.opts.map(s=>{var l,r,c;return e.jsx("span",{style:{fontSize:11,fontWeight:700,padding:"4px 10px",borderRadius:999,background:(l=t.active)!=null&&l.includes(s)?i:"#fff",border:`1px solid ${(r=t.active)!=null&&r.includes(s)?i:d}`,color:(c=t.active)!=null&&c.includes(s)?"#fff":"#333"},children:s},s)})})]},t.label))}),e.jsxs("div",{style:{background:"#fff",border:`1px solid ${d}`,borderRadius:12,padding:16,display:"flex",flexDirection:"column"},children:[e.jsxs("div",{style:{fontSize:10,fontWeight:700,color:n,textTransform:"uppercase",letterSpacing:"0.08em",marginBottom:12,display:"flex",alignItems:"center",gap:8},children:[e.jsx("span",{style:{width:7,height:7,borderRadius:999,background:m,boxShadow:"0 0 0 4px rgba(22,163,74,0.18)",display:"inline-block"}}),"Live preview · real data"]}),e.jsxs("div",{style:{background:f,borderRadius:10,padding:14},children:[e.jsx("div",{style:{fontSize:13,fontWeight:900,color:a,marginBottom:8},children:"Throughput · last 12 months"}),e.jsx("svg",{viewBox:"0 0 280 100",style:{width:"100%",height:90},children:[36,44,30,52,48,60,55,68,62,74,80,88].map((t,s)=>e.jsx("rect",{x:s*22+6,y:100-t,width:"14",height:t,rx:"2",fill:s>9?i:a},s))})]}),e.jsxs("div",{style:{marginTop:12,display:"grid",gridTemplateColumns:"1fr 1fr",gap:8},children:[e.jsxs("div",{style:{background:h,borderRadius:8,padding:10},children:[e.jsx("div",{style:{fontSize:9,color:n,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.06em"},children:"Total YTD"}),e.jsx("div",{style:{fontSize:18,fontWeight:900,color:a,letterSpacing:"-0.02em"},children:"184,420"})]}),e.jsxs("div",{style:{background:h,borderRadius:8,padding:10},children:[e.jsx("div",{style:{fontSize:9,color:n,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.06em"},children:"vs LY"}),e.jsx("div",{style:{fontSize:18,fontWeight:900,color:m,letterSpacing:"-0.02em"},children:"+18.2%"})]})]})]})]}),W=()=>e.jsxs("div",{style:{display:"flex",flexDirection:"column",height:"100%"},children:[e.jsx("div",{style:{fontWeight:900,fontSize:16,color:a,marginBottom:6},children:"Connect a data source"}),e.jsx("div",{style:{fontSize:12,color:n,marginBottom:14},children:"9 native adapters. Schemas auto-introspect on connect."}),e.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(4,1fr)",gap:10,marginBottom:16},children:[["#336791","Pg","Postgres",!0],["#00758F","My","MySQL"],["#13AA52","Mo","MongoDB",!0],["#29B5E8","SF","Snowflake"],["#E10098","GQ","GraphQL"],["#1B1B1B","RX","REST"],["#FF9900","S3","Amazon S3"],["#5C2D91","BQ","BigQuery"]].map(([t,s,l,r])=>e.jsxs("div",{style:{background:r?f:"#fff",border:`1.5px solid ${r?i:d}`,borderRadius:10,padding:"12px 10px",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",gap:6,position:"relative",fontSize:11,fontWeight:700,color:a},children:[r&&e.jsx("span",{style:{position:"absolute",top:6,right:8,width:14,height:14,borderRadius:999,background:m,color:"#fff",fontSize:9,fontWeight:900,display:"grid",placeItems:"center"},children:"✓"}),e.jsx("div",{style:{width:32,height:32,borderRadius:8,background:t,display:"grid",placeItems:"center",fontWeight:900,fontSize:14,color:"#fff"},children:s}),l]},l))}),e.jsxs("div",{style:{background:a,color:"#fff",borderRadius:10,padding:16,fontFamily:"IBM Plex Mono, monospace",fontSize:12,lineHeight:1.7,flex:1},children:[e.jsx("div",{children:e.jsx("span",{style:{color:"#6e7681"},children:"// driver_performance · Postgres"})}),e.jsxs("div",{children:[e.jsx("span",{style:{color:"#ff7b72"},children:"select"})," d.id, d.name,"]}),e.jsxs("div",{children:["  ",e.jsx("span",{style:{color:"#d2a8ff"},children:"avg"}),"(r.on_time)::",e.jsx("span",{style:{color:"#ff7b72"},children:"numeric"}),"(",e.jsx("span",{style:{color:"#79c0ff"},children:"5"}),",",e.jsx("span",{style:{color:"#79c0ff"},children:"2"}),") ",e.jsx("span",{style:{color:"#ff7b72"},children:"as"})," rate,"]}),e.jsxs("div",{children:["  ",e.jsx("span",{style:{color:"#d2a8ff"},children:"count"}),"(r.id) ",e.jsx("span",{style:{color:"#ff7b72"},children:"as"})," trips"]}),e.jsxs("div",{children:[e.jsx("span",{style:{color:"#ff7b72"},children:"from"})," drivers d"]}),e.jsxs("div",{children:[e.jsx("span",{style:{color:"#ff7b72"},children:"join"})," routes r ",e.jsx("span",{style:{color:"#ff7b72"},children:"on"})," r.driver_id = d.id"]}),e.jsxs("div",{children:[e.jsx("span",{style:{color:"#ff7b72"},children:"where"})," r.completed_at > ",e.jsx("span",{style:{color:"#a5d6ff"},children:"'2026-04-01'"})]}),e.jsxs("div",{children:[e.jsx("span",{style:{color:"#ff7b72"},children:"group by"})," ",e.jsx("span",{style:{color:"#79c0ff"},children:"1"}),", ",e.jsx("span",{style:{color:"#79c0ff"},children:"2"}),";"]})]})]}),M=()=>e.jsxs("div",{style:{height:"100%",display:"flex",flexDirection:"column",gap:12},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[e.jsx("h4",{style:{fontWeight:900,fontSize:18,color:a,margin:0},children:"Operations · live"}),e.jsxs("span",{style:{fontSize:11,color:m,fontWeight:700,display:"flex",alignItems:"center",gap:6},children:[e.jsx("i",{style:{width:7,height:7,background:m,borderRadius:999,boxShadow:"0 0 0 4px rgba(22,163,74,0.2)",display:"inline-block"}}),"auto · 5m"]})]}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(4,1fr)",gridAutoRows:80,gap:10,flex:1},children:[[{l:"On-time",v:"94.6%",d:"▲ 2.4",accent:!0},{l:"In transit",v:"1,284",d:"▲ 118"},{l:"Avg idle",v:"18m",d:"▼ 6m"},{l:"Exceptions",v:"7",dark:!0}].map(t=>e.jsxs("div",{style:{background:t.dark?a:t.accent?f:"#fff",border:`1px solid ${t.dark?a:t.accent?"rgba(241,90,34,0.2)":d}`,borderRadius:10,padding:12,display:"flex",flexDirection:"column"},children:[e.jsx("div",{style:{fontSize:9,color:t.dark?"rgba(255,255,255,0.5)":n,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.06em"},children:t.l}),e.jsx("div",{style:{fontSize:22,fontWeight:900,color:t.dark?"#fff":a,lineHeight:1,marginTop:4},children:t.v}),t.d&&e.jsx("div",{style:{fontSize:10,color:m,fontWeight:700,marginTop:2},children:t.d})]},t.l)),e.jsxs("div",{style:{gridColumn:"span 2",gridRow:"span 2",background:"#fff",border:`1px solid ${d}`,borderRadius:10,padding:12},children:[e.jsx("div",{style:{fontSize:9,color:n,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.06em"},children:"Throughput · 12m"}),e.jsx("svg",{viewBox:"0 0 200 90",style:{marginTop:6},children:[24,32,26,40,36,48,44,54,58,64,70,80].map((t,s)=>e.jsx("rect",{x:s*15+6,y:90-t,width:"9",height:t,rx:"1.5",fill:s>9?i:a},s))})]}),e.jsxs("div",{style:{gridColumn:"span 2",gridRow:"span 2",background:"#fff",border:`1px solid ${d}`,borderRadius:10,padding:12},children:[e.jsx("div",{style:{fontSize:9,color:n,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.06em"},children:"On-time trend"}),e.jsxs("svg",{viewBox:"0 0 200 90",style:{marginTop:6,width:"100%"},children:[e.jsx("path",{d:"M0 60 L20 50 L40 56 L60 42 L80 46 L100 32 L120 38 L140 22 L160 28 L180 18 L200 12",fill:"none",stroke:i,strokeWidth:"2.4"}),e.jsx("path",{d:"M0 60 L20 50 L40 56 L60 42 L80 46 L100 32 L120 38 L140 22 L160 28 L180 18 L200 12 L200 90 L0 90 Z",fill:i,fillOpacity:"0.12"})]})]})]})]}),I=()=>e.jsxs("div",{style:{height:"100%",display:"flex",flexDirection:"column",gap:14},children:[e.jsx("div",{style:{fontWeight:900,fontSize:18,color:a},children:"Publish · production"}),e.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:10},children:[{l:"Version",v:"v0.41.2 · just now",dark:!1},{l:"URL",v:"app.acme.com/fleet",dark:!0,code:!0},{l:"Build",v:"3.2s ✓",dark:!0},{l:"Auth",v:"SSO · Okta",dark:!1}].map(t=>e.jsxs("div",{style:{background:t.dark?a:h,borderRadius:12,padding:14},children:[e.jsx("div",{style:{fontSize:10,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.08em",color:t.dark?"rgba(255,255,255,0.5)":n,marginBottom:8},children:t.l}),e.jsx("div",{style:{fontSize:14,fontWeight:700,color:t.dark?"#fff":a},children:t.code?e.jsx("code",{style:{background:"rgba(255,255,255,0.08)",padding:"2px 8px",borderRadius:4,fontFamily:"IBM Plex Mono, monospace",fontSize:11,color:"#ffd9b8"},children:t.v}):t.v})]},t.l))}),e.jsxs("div",{style:{background:"#fff",border:`1px solid ${d}`,borderRadius:12,padding:14,flex:1},children:[e.jsx("div",{style:{fontSize:11,fontWeight:700,color:n,textTransform:"uppercase",letterSpacing:"0.08em",marginBottom:6},children:"Roles & permissions"}),[{av:"BO",avBg:i,name:"Brian Olivier",role:"Workspace Admin · all apps",perm:"Admin",permStyle:{background:a,color:"#fff"}},{av:"SH",avBg:a,name:"Sara Han",role:"Operations team",perm:"Editor",permStyle:{background:f,color:i}},{av:"MR",avBg:"#646464",name:"Maria Reyes",role:"Dispatch (East)",perm:"Viewer",permStyle:{background:"#E6F4EC",color:m}}].map((t,s)=>e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,padding:"8px 0",borderTop:s===0?"0":`1px solid ${d}`},children:[e.jsx("div",{style:{width:28,height:28,borderRadius:999,background:t.avBg,display:"grid",placeItems:"center",color:"#fff",fontSize:11,fontWeight:900},children:t.av}),e.jsxs("div",{style:{flex:1},children:[e.jsx("div",{style:{fontSize:12,fontWeight:700,color:a},children:t.name}),e.jsx("div",{style:{fontSize:11,color:n},children:t.role})]}),e.jsx("div",{style:{fontSize:11,fontWeight:700,padding:"4px 10px",borderRadius:999,...t.permStyle},children:t.perm})]},t.name))]})]}),v=[{n:"01",title:"Start with Build, not a blank file.",body:"Every screen begins from one button. Pick a Page for a structured workflow — table, form, detail. Pick a Dashboard to monitor what's happening. Pick up where you left off from Recents.",tags:["Pages","Dashboards","Recents","Templates"],frame:B},{n:"02",title:"Drag in components, not bug tickets.",body:"13 first-class building blocks — data tables, forms, KPIs, graphs, donuts, alerts, file uploads, headers. Drag, drop, snap. Layouts auto-pack so you can't break the grid.",tags:["Data Table","Form","KPI","Graph","Donut","Alert"],frame:D},{n:"03",title:"Configure live, no preview-pane lies.",body:"Every component opens a configurator. Tweak titles, columns, breakpoints, filters, units. The preview re-renders against real data as you type — so what you see in dev is what ships.",tags:["Live preview","Real data","Validation","Conditional logic"],frame:A},{n:"04",title:"Connect anything that has a URL.",body:"Postgres, MySQL, Mongo, REST, GraphQL, Snowflake, S3 — point it, query it, cache it. Bring credentials from your secrets manager, or roll xFramework's vault.",tags:["Postgres","REST","GraphQL","Snowflake","S3"],frame:W},{n:"05",title:"Roll up to dashboards stakeholders won't ignore.",body:"Mix KPIs, charts, donuts, and tables on a true grid. Refresh intervals are per-widget. Filters cascade. Export PNG or PDF. Pin a dashboard to a TV in ops with one URL.",tags:["Auto-refresh","Drilldown","TV mode","Cascading filters"],frame:M},{n:"06",title:"Ship with auth, audit, and rollback for free.",body:"Publish puts your app on a real URL with versioning, role-based access, SSO, and a full audit log. Roll back to any prior version in one click. No infra ticket.",tags:["SSO / SAML","RBAC","Audit log","Versioning"],frame:I}],E=()=>{const[t,s]=y.useState(0),[l,r]=y.useState(0),c=y.useRef([]),k=y.useRef(null);y.useEffect(()=>{const p=()=>{const o=window.innerHeight;let g=0,w=1/0;if(c.current.forEach((u,b)=>{if(!u)return;const j=u.getBoundingClientRect(),S=Math.abs(j.top+j.height/2-o*.45);S<w&&(w=S,g=b)}),s(g),k.current){const u=k.current.getBoundingClientRect(),b=u.height-o,j=Math.min(Math.max(-u.top,0),b);r(b>0?j/b:0)}};return p(),window.addEventListener("scroll",p,{passive:!0}),window.addEventListener("resize",p),()=>{window.removeEventListener("scroll",p),window.removeEventListener("resize",p)}},[]);const N=p=>{const o=c.current[p];o&&window.scrollTo({top:o.getBoundingClientRect().top+window.scrollY-window.innerHeight*.35,behavior:"smooth"})};return e.jsx("section",{ref:k,className:"mt-[140px] px-6 rounded-t-[32px]",style:{background:a,color:"#fff"},id:"pb-tour",children:e.jsxs("div",{className:"max-w-[1320px] mx-auto pt-[100px]",children:[e.jsxs("div",{className:"grid gap-[60px] mb-[60px] items-end",style:{gridTemplateColumns:"1fr 1fr"},children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[12px] font-bold tracking-[0.14em] uppercase text-ca-orange-500 mb-[18px]",children:"The tour · 90 seconds"}),e.jsxs("h2",{className:"font-lato font-black leading-none tracking-[-0.03em] m-0 text-white",style:{fontSize:60},children:["Watch a developer ship an app, ",e.jsx("em",{className:"not-italic text-ca-orange-500",children:"scroll by scroll."})]})]}),e.jsx("p",{className:"text-[18px] font-light leading-relaxed m-0",style:{color:"rgba(255,255,255,0.65)"},children:"Six steps — same path you'll take the first time you sign in. Scroll through to see the framework think."})]}),e.jsxs("div",{className:"relative grid gap-[80px] pb-[100px]",style:{gridTemplateColumns:"1fr 1.25fr"},children:[e.jsx("div",{className:"absolute rounded-full",style:{left:-28,top:100,width:2,height:"calc(100% - 200px)",background:"rgba(255,255,255,0.08)"},children:e.jsx("i",{className:"block w-full rounded-full transition-all duration-200",style:{background:i,height:`${l*100}%`}})}),e.jsx("div",{className:"flex flex-col",children:v.map((p,o)=>e.jsxs("div",{ref:g=>{c.current[o]=g},className:"py-[60px] cursor-pointer transition-opacity duration-[400ms]",style:{borderTop:o===0?"0":"1px solid rgba(255,255,255,0.1)",opacity:t===o?1:.35},onClick:()=>N(o),children:[e.jsxs("div",{className:"font-ibm-mono text-[13px] text-ca-orange-500 tracking-[0.1em] mb-[18px] flex items-center gap-3",children:[e.jsx("span",{children:p.n}),e.jsx("span",{className:"h-px flex-1 relative max-w-[40px]",style:{background:"rgba(255,255,255,0.15)"},children:e.jsx("i",{className:"absolute left-0 top-0 h-full rounded-full transition-all duration-[600ms]",style:{background:i,width:t===o?"100%":"0%"}})}),e.jsxs("span",{style:{color:"rgba(255,255,255,0.4)"},children:[String(o+1).padStart(2,"0")," / ",String(v.length).padStart(2,"0")]})]}),e.jsx("h3",{className:"font-lato font-black leading-[1.05] tracking-[-0.02em] mb-5 mt-0 text-white",style:{fontSize:38},children:p.title}),e.jsx("p",{className:"text-[16px] leading-relaxed font-light mb-5 mt-0 max-w-[460px]",style:{color:"rgba(255,255,255,0.7)"},children:p.body}),e.jsx("div",{className:"flex gap-2 flex-wrap",children:p.tags.map(g=>e.jsx("span",{className:"text-[12px] font-bold px-3 py-[5px] rounded-full whitespace-nowrap",style:{background:"rgba(255,255,255,0.07)",border:"1px solid rgba(255,255,255,0.12)",color:"rgba(255,255,255,0.85)"},children:g},g))})]},o))}),e.jsx("div",{className:"relative",children:e.jsxs("div",{className:"sticky overflow-hidden",style:{top:100,height:580,background:"#fff",borderRadius:18,boxShadow:"0 30px 80px rgba(0,0,0,0.4)",color:a},children:[e.jsxs("div",{className:"flex items-center gap-1.5 h-[38px] px-3.5 border-b",style:{background:h,borderColor:d},children:[e.jsx("span",{className:"w-2.5 h-2.5 rounded-full",style:{background:"#DDD"}}),e.jsx("span",{className:"w-2.5 h-2.5 rounded-full",style:{background:"#DDD"}}),e.jsx("span",{className:"w-2.5 h-2.5 rounded-full",style:{background:"#DDD"}}),e.jsxs("span",{className:"ml-3.5 font-ibm-mono text-[11px] bg-white px-3.5 py-1 rounded-full border flex items-center gap-1.5",style:{color:n,borderColor:d},children:[e.jsx("i",{className:"w-2.5 h-2.5 rounded-[2px] inline-block",style:{background:i}}),"xframework.app / step ",t+1," — ",v[t].n]})]}),e.jsx("div",{className:"relative overflow-hidden",style:{height:580-38},children:v.map((p,o)=>{const g=p.frame;return e.jsx("div",{className:"absolute inset-0 p-6 pointer-events-none transition-all duration-[400ms]",style:{opacity:t===o?1:0,transform:t===o?"translateY(0)":"translateY(16px)",pointerEvents:t===o?"auto":"none",overflow:"hidden"},children:e.jsx(g,{})},o)})})]})})]})]})})},P=[[["kw","import"],[" ","{ Page, DataTable, KPIRow } "],["kw","from"],[" ",""],["str",'"@xframework/react"'],[" ",";"]],[["kw","import"],[" ","{ db } "],["kw","from"],[" ",""],["str",'"@/lib/db"'],[" ",";"]],[],[["com","// Fleet performance — auto-wires auth, perms, audit"]],[["kw","export default function"],[" ",""],["fn","FleetPage"],[" ","() {"]],[[" "," "],["kw","return"],[" "," ("]],[[" "," <"],["tag","Page"],[" "," "],["att","title"],[" ","="],["str",'"Fleet"'],[" "," "],["att","role"],[" ","="],["str",'"ops.viewer"'],[" ",">"]],[[" "," <"],["tag","KPIRow"],[" "," "],["att","source"],[" ","="],["str",'"sql:fleet_kpis"'],[" "," />"]],[[" "," <"],["tag","DataTable"]],[[" "," "],["att","source"],[" ","="],["str",'"sql:driver_performance"']],[[" "," "],["att","columns"],[" ",'={["Driver", "Route", "Status", "On-time"]}']],[[" "," "],["att","refresh"],[" ","="],["str",'"5m"']],[[" "," />"]],[[" "," </"],["tag","Page"],[" ",">"]],[[" "," );"]],[[" ","}"]]],O={kw:"#ff7b72",str:"#a5d6ff",fn:"#d2a8ff",tag:"#7ee787",att:"#ffa657",com:"#6e7681"},H=()=>e.jsxs("div",{style:{background:"#0F0F0F",border:"1px solid rgba(255,255,255,0.08)",borderRadius:16,overflow:"hidden",fontFamily:"IBM Plex Mono, monospace",fontSize:13},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,padding:"12px 16px",borderBottom:"1px solid rgba(255,255,255,0.06)",background:"rgba(255,255,255,0.02)"},children:[e.jsx("span",{style:{width:10,height:10,borderRadius:999,background:"rgba(255,255,255,0.2)"}}),e.jsx("span",{style:{width:10,height:10,borderRadius:999,background:"rgba(255,255,255,0.2)"}}),e.jsx("span",{style:{width:10,height:10,borderRadius:999,background:"rgba(255,255,255,0.2)"}}),e.jsx("span",{style:{fontSize:11,color:"rgba(255,255,255,0.6)",marginLeft:8},children:"app/fleet/page.tsx"}),e.jsx("span",{style:{marginLeft:"auto",fontSize:11,color:"rgba(255,255,255,0.6)",padding:"4px 10px",border:"1px solid rgba(255,255,255,0.1)",borderRadius:6,cursor:"pointer"},children:"copy"})]}),e.jsx("pre",{style:{margin:0,padding:"20px 22px",lineHeight:1.75,color:"#C9D1D9",overflowX:"auto",whiteSpace:"pre"},children:e.jsx("code",{children:P.map((t,s)=>e.jsx("div",{style:{minHeight:"1em"},children:t.length===0?" ":t.map(([l,r],c)=>l===" "?e.jsx("span",{children:r},c):e.jsx("span",{style:{color:O[l]??"inherit"},children:r},c))},s))})})]}),$=[{icon:"git",title:"Code-first or no-code, your call",body:"Build in the visual editor and eject to TSX whenever you outgrow it. The artifacts are real React components — no proprietary AST."},{icon:"plug",title:"SDK + adapters in one install",body:e.jsx(e.Fragment,{children:"npm i @xframework/react ships the React SDK, CLI, and adapters for Postgres, REST, GraphQL and Snowflake."})},{icon:"shield",title:"Auth & perms at the prop level",body:'Gate any component or column with role="…". RBAC, SSO, audit log are wired automatically.'},{icon:"rocket",title:"Self-host or cloud",body:"Run xFramework Cloud, or pull the Docker image and put it behind your own load balancer. Same SDK, same APIs, same dashboard."}],G=()=>e.jsx("section",{style:{background:a,color:"#fff",padding:"100px 40px 110px",margin:"0 24px",borderRadius:"0 0 32px 32px"},id:"pb-developers",children:e.jsxs("div",{className:"max-w-[1320px] mx-auto",children:[e.jsxs("div",{className:"mb-[60px] max-w-[720px]",children:[e.jsx("div",{className:"text-[12px] font-bold tracking-[0.14em] uppercase text-ca-orange-500 mb-[18px]",children:"For developers"}),e.jsx("h2",{className:"font-lato font-black leading-[1.02] tracking-[-0.03em] m-0 text-white",style:{fontSize:56},children:"Drop xFramework into the codebase you already have."})]}),e.jsxs("div",{className:"grid gap-10",style:{gridTemplateColumns:"1.05fr 1fr"},children:[e.jsx(H,{}),e.jsx("div",{className:"flex flex-col gap-7",children:$.map(t=>e.jsxs("div",{className:"flex gap-4",children:[e.jsx("div",{className:"w-[38px] h-[38px] rounded-[10px] grid place-items-center flex-shrink-0 text-ca-orange-500",style:{background:"rgba(241,90,34,0.16)"},children:e.jsx(x,{name:t.icon,size:18})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-lato font-black text-[18px] text-white mb-1.5 mt-0",children:t.title}),e.jsx("p",{className:"text-[14px] leading-relaxed m-0",style:{color:"rgba(255,255,255,0.65)"},children:t.body})]})]},t.title))})]})]})}),V=[{num:"~4×",em:null,label:"Faster to ship",sub:"Median first-app time vs. building from scratch"},{num:"13",label:"Native components",sub:"Tables, forms, KPIs, charts and more — no NPM hunt"},{num:"9",label:"Data adapters",sub:"Postgres, MySQL, Mongo, Snowflake, REST, GraphQL…"},{num:"99.95%",label:"Cloud uptime",sub:"Last 12 months · multi-region failover"}],K=()=>e.jsx("section",{className:"py-[100px] px-10",children:e.jsx("div",{className:"max-w-[1320px] mx-auto grid grid-cols-4 border-t border-b border-ca-slate-100",style:{gap:0},children:V.map((t,s)=>e.jsxs("div",{className:"py-10 px-8",style:{borderRight:s<3?"1px solid #E9E9E9":"0"},children:[e.jsx("div",{className:"font-lato font-black leading-none tracking-[-0.03em] text-ca-ink flex items-baseline gap-1",style:{fontSize:56},children:t.num}),e.jsx("div",{className:"text-[14px] font-bold text-ca-ink mt-3.5",children:t.label}),e.jsx("div",{className:"text-[13px] font-light text-ca-slate-500 mt-1",children:t.sub})]},t.label))})}),Q=({onCta:t})=>e.jsxs("section",{className:"mx-6 mb-7 px-10 rounded-[32px] relative overflow-hidden",style:{background:f,padding:"90px 40px"},children:[e.jsx("div",{className:"absolute pointer-events-none",style:{right:-120,bottom:-120,width:380,height:380,background:"radial-gradient(circle, rgba(241,90,34,0.3), transparent 70%)"}}),e.jsxs("div",{className:"relative max-w-[1320px] mx-auto grid gap-[60px] items-center",style:{gridTemplateColumns:"1fr 1fr"},children:[e.jsxs("div",{children:[e.jsx("h2",{className:"font-lato font-black leading-none tracking-[-0.03em] text-ca-ink mb-6 mt-0",style:{fontSize:64},children:"Stop hand-rolling internal tools."}),e.jsx("p",{className:"text-[18px] text-ca-slate-500 font-light leading-relaxed mb-8 mt-0",children:"Spin up a free workspace, point it at your DB, and have a real app on a real URL before lunch. Your future self — and your roadmap — will thank you."}),e.jsxs("div",{className:"flex gap-3.5 flex-wrap",children:[e.jsxs("button",{onClick:t,className:"inline-flex items-center gap-2.5 font-lato font-bold text-[16px] px-7 py-4 rounded-full border-0 cursor-pointer text-white bg-ca-orange-500 hover:bg-ca-orange-600 transition-all duration-200 active:scale-[0.98]",children:["Start building free ",e.jsx(x,{name:"arrow",size:16,stroke:2.4})]}),e.jsx("a",{href:"#pb-tour",className:"inline-flex items-center gap-2.5 font-lato font-bold text-[16px] px-7 py-4 rounded-full border border-ca-slate-100 text-ca-ink no-underline hover:border-ca-ink transition-all duration-200",children:"Re-watch the tour"})]})]}),e.jsx("div",{className:"flex flex-col gap-3.5 p-7 rounded-[18px]",style:{background:"rgba(255,255,255,0.6)",backdropFilter:"blur(8px)"},children:[{icon:"check",title:"Free forever",body:"for personal & OSS — 3 apps, unlimited views."},{icon:"lock",title:"SOC 2 Type II",body:"GDPR & HIPAA-ready. Self-host for air-gap."},{icon:"users",title:"Migration support",body:"from Retool, Appsmith & Tooljet on team plans."}].map(s=>e.jsxs("div",{className:"flex items-center gap-3 text-[14px]",children:[e.jsx("div",{className:"w-7 h-7 bg-ca-orange-500 text-white rounded-[8px] grid place-items-center flex-shrink-0",children:e.jsx(x,{name:s.icon,size:14})}),e.jsxs("div",{children:[e.jsx("b",{className:"text-ca-ink",children:s.title})," ",s.body]})]},s.title))})]})]}),Y=[{title:"Product",links:["Tour","Why xFramework","For developers","Pricing","Changelog"]},{title:"Developers",links:["Documentation","SDK reference","CLI","Templates","GitHub"]},{title:"Company",links:["About","Customers","Blog","Careers","Contact"]},{title:"Trust",links:["Security","SOC 2 / GDPR","Status","Terms","Privacy"]}],_=()=>e.jsxs("footer",{style:{background:a,color:"rgba(255,255,255,0.7)",padding:"60px 40px 32px"},children:[e.jsxs("div",{className:"max-w-[1320px] mx-auto",style:{display:"grid",gridTemplateColumns:"1.4fr 1fr 1fr 1fr 1fr",gap:40},children:[e.jsxs("div",{children:[e.jsx("div",{className:"mb-4",children:e.jsx(L,{type:"full",mode:"dark",logoWidth:140})}),e.jsx("p",{style:{fontSize:14,color:"rgba(255,255,255,0.6)",lineHeight:1.55,margin:0},children:"The internal-app framework for software teams. Build, theme, ship — without burning a sprint."})]}),Y.map(t=>e.jsxs("div",{children:[e.jsx("h5",{style:{fontSize:12,fontWeight:700,letterSpacing:"0.14em",textTransform:"uppercase",color:"rgba(255,255,255,0.5)",margin:"0 0 16px"},children:t.title}),t.links.map(s=>e.jsx("a",{href:"#",style:{display:"block",fontSize:14,color:"rgba(255,255,255,0.85)",textDecoration:"none",padding:"4px 0"},onMouseEnter:l=>l.currentTarget.style.color=i,onMouseLeave:l=>l.currentTarget.style.color="rgba(255,255,255,0.85)",children:s},s))]},t.title))]}),e.jsxs("div",{className:"max-w-[1320px] mx-auto mt-[50px] pt-6 flex justify-between items-center",style:{borderTop:"1px solid rgba(255,255,255,0.1)",fontSize:13,color:"rgba(255,255,255,0.5)"},children:[e.jsx("span",{children:"© 2026 xFramework, Inc."}),e.jsx("span",{children:"Made for the people who get pinged at midnight."})]})]}),U=()=>e.jsx("style",{children:`
2
- @keyframes pbFloatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
3
- @keyframes pbFloatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }
4
- `}),le=()=>{const t=()=>{window.location.href="/build/build-grids"};return e.jsxs("div",{className:"font-lato font-light text-ca-slate-700 bg-white overflow-x-hidden",children:[e.jsx(U,{}),e.jsx(R,{onCta:t}),e.jsx(z,{}),e.jsx(F,{}),e.jsx(E,{}),e.jsx(G,{}),e.jsx(K,{}),e.jsx(Q,{onCta:t}),e.jsx(_,{})]})};export{le as default};
@@ -1 +0,0 @@
1
- import{s as F,j as t,I as P}from"./vendor-mui-69397583.js";import{A as k}from"./AdaptableCard-df7695d6.js";import{r as c}from"./vendor-react-ece1c85f.js";import{b as O,c as U,a as V}from"./vendor-redux-a1f00e6b.js";import{i as B}from"./AccountServices-62599aae.js";import{F as Q,Y,l as G,W as H,I as W,dp as Z,dq as J,Z as N}from"./index-c62ac197.js";import"./Alert-7dfbd254.js";import"./index-6b6d0f06.js";import{c as K}from"./index-c2088808.js";import"./Drawer-949c18c6.js";import"./FormContainer-91c2b0e4.js";import"./Switcher-c8648037.js";import"./index-36228db5.js";import"./Upload-fb34ce03.js";import{I as X}from"./index.es-d5c880b3.js";import{_ as ee}from"./lodash-306e3f66.js";import{g as te,r as ae}from"./index-6589dd2d.js";import{r as se}from"./createSvgIcon-c5fc0d04.js";import"./vendor-pdf-b2a5d8b1.js";import"./vendor-devex-33a39e11.js";import"./vendor-i18n-2fcb1983.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-eccea5d1.js";import"./useControllableState-d0909575.js";import"./useDidUpdate-25c4d4ed.js";import"./UserService-047aef51.js";const I="LogsData",re={total:0,pageIndex:1,pageSize:10,query:"",sort:{order:"",key:""}},ie={loading:!1,deleteConfirmation:!1,selectedRowData:"",tableData:re,filterData:{dateRange:[null,null],activityType:""},AuditLog:[]},b=O(`${I}/getAuditLogs`,async({page:l=1,pageSize:a=10,sortOrder:o,user:u,startDate:f,endDate:m,searchParam:p})=>{var g,d,j;let h={pageNumber:l,pageSize:a,sortBy:"operationDateTime",isAscending:o!=="newest"},n={};u&&(n={...n,userId:u}),p&&(n={...n,searchParam:p}),console.log(u),m&&(n={...n,startDate:f,endDate:m});const x=await B(h,n);return{data:((d=(g=x.data)==null?void 0:g.result)==null?void 0:d.$values)??[],page:l,totalCount:((j=x.data)==null?void 0:j.totalCount)??0}}),M=U({name:`${I}`,initialState:ie,reducers:{setTableData:(l,a)=>{l.tableData=a.payload},toggleDeleteConfirmation:(l,a)=>{l.deleteConfirmation=a.payload},setSelectedRowData:(l,a)=>{l.selectedRowData=a.payload},setFilterData:(l,a)=>{l.filterData=a.payload}},extraReducers:l=>{l.addCase(b.pending,a=>{a.loading=!0}).addCase(b.fulfilled,(a,o)=>{a.loading=!1,o.payload.page===1?a.AuditLog=o.payload.data:a.AuditLog=[...a.AuditLog,...o.payload.data]}).addCase(b.rejected,(a,o)=>{a.loading=!1})}});M.actions;const le=M.reducer,oe=V({data:le}),v=Q;var A={},ne=F;Object.defineProperty(A,"__esModule",{value:!0});var $=A.default=void 0,ce=ne(se()),de=t;$=A.default=(0,ce.default)((0,de.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh");Y("users",ae);Y("LogsData",oe);const Re=()=>{const l=G(),a=v(e=>{var s,i;return((i=(s=e.LogsData)==null?void 0:s.data)==null?void 0:i.AuditLog)||[]});v(e=>{var s,i;return(i=(s=e.LogsData)==null?void 0:s.data)==null?void 0:i.loading}),v(e=>{var s,i;return(i=(s=e.LogsData)==null?void 0:s.data)==null?void 0:i.filterData});const[o,u]=c.useState(null),[f,m]=c.useState(""),[p,h]=c.useState(""),[n,x]=c.useState("newest"),[g,d]=c.useState(!0),[j,D]=c.useState(1),[r,y]=c.useState([new Date,new Date]),T=v(e=>{var s,i,C;return((C=(i=(s=e==null?void 0:e.users)==null?void 0:s.data)==null?void 0:i.usersList)==null?void 0:C.map(L=>({value:L.id,label:`${L.firstName} ${L.lastName}`})))||[]}),S=e=>{l(b({page:e,pageSize:10,searchParam:f,sortOrder:n,user:(o==null?void 0:o.value)??null,startDate:r!=null&&r[0]?N(r==null?void 0:r[0]).format("YYYY-MM-DD"):null,endDate:r!=null&&r[1]?N(r==null?void 0:r[1]).format("YYYY-MM-DD"):null})).then(s=>{var i;((i=s==null?void 0:s.payload)==null?void 0:i.totalCount)<=a.length&&d(!1)})};c.useEffect(()=>{const e=te({isActive:!0});l(e)},[]),c.useEffect(()=>{D(1),d(!0),S(1)},[o,f,n,r]);const E=()=>{const e=j+1;D(e),S(e)},_=()=>{D(1),d(!0),S(1)},w=c.useCallback(ee.debounce(e=>{m(e)},1e3),[]);c.useEffect(()=>()=>{w.cancel()},[w]);const R=e=>{const s=e.target.value;h(s),w(s)},q=e=>{e.length===1?y([e[0],e[0]]):y(e)},z=()=>{(r.length===1||!r[1])&&y([r[0],r[0]])};return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"topbar py-4 px-6 border-gray-200 border-b",children:t.jsx("div",{className:"lg:flex items-center justify-between",children:t.jsx("h3",{className:"mb-4 lg:mb-0",children:"Activity Logs"})})}),t.jsx(k,{className:"m-4 p-4",children:t.jsxs("div",{className:"audit-logs-container dark:bg-[#292f3c]",children:[t.jsxs("div",{className:"grid lg:grid-cols-4 gap-3 mb-5 pl-4 dark:bg-[#292f3c]",children:[t.jsx("div",{children:t.jsx(K,{singleDate:!0,value:r,clearable:!1,onClose:z,onChange:q})}),t.jsx("div",{children:t.jsx(H,{value:o,placeholder:"Select User",isClearable:!0,onChange:e=>{u(e)},options:T})}),t.jsx("div",{children:t.jsx(W,{placeholder:"Search logs...",value:p,onChange:R,suffix:t.jsx("span",{style:{visibility:p?"visible":"hidden",cursor:"pointer"},className:"cursor-pointer text-gray-500 hover:text-gray-700",onClick:()=>{h(""),m("")},children:"×"})})}),t.jsxs("div",{className:"logs-header w-full",children:[t.jsx("div",{className:"md:col-span-1 col-span-12 flex items-center justify-end",children:t.jsx("span",{className:"cursor-pointer text-gray-600 hover:text-gray-900 text-xl",onClick:()=>x(n==="newest"?"oldest":"newest"),children:n==="newest"?t.jsx(Z,{}):t.jsx(J,{})})}),t.jsx("div",{children:t.jsx(P,{onClick:_,children:t.jsx($,{sx:{fontSize:20}})})})]})]}),t.jsx(k,{children:t.jsx("div",{className:"logs-list",id:"scrollableDiv",children:t.jsx(X,{loader:t.jsx("p",{className:"text-center",children:"...loading"}),dataLength:a==null?void 0:a.length,next:E,hasMore:g,endMessage:t.jsx("p",{style:{textAlign:"center"},children:t.jsxs("b",{children:[(a==null?void 0:a.length)>0?"You have seen it all!":"No Logs data available"," "]})}),scrollableTarget:"scrollableDiv",children:a==null?void 0:a.map((e,s)=>{var i;return t.jsx("div",{className:"log-entry flex flex-col sm:flex-row sm:items-center sm:gap-4 p-3 border-b border-gray-200 dark:bg-[#292f3c] dark:text-white",children:t.jsxs("div",{className:"flex w-full sm:flex-row flex-row items-start sm:items-center",children:[t.jsx("div",{className:"w-1/5 sm:w-10 sm:h-10 h-full flex items-center justify-center",children:t.jsx("div",{className:"avatar w-10 h-10 rounded-full bg-orange-500 text-white flex items-center justify-center font-bold text-lg shrink-0 dark:bg-orange-500 dark:text-white",children:((i=e==null?void 0:e.userName)==null?void 0:i[0])??""})}),t.jsxs("div",{className:"w-4/5 sm:w-auto flex flex-col sm:flex-row sm:items-center sm:gap-2 dark:bg-[#292f3c]",children:[t.jsx("strong",{className:"text-gray-600 dark:text-white",children:e==null?void 0:e.userName}),t.jsx("p",{className:"sm:ml-2 dark:bg-[#292f3c] dark:text-white",children:(e==null?void 0:e.operation)==="LogIn"?`Logged into the ${e.source} portal using ${e.ssoType} sign-in at`:`Logged out from the ${e.source} portal at`}),t.jsx("strong",{className:"sm:ml-2 text-gray-600 whitespace-nowrap dark:text-white",children:e!=null&&e.operationDateTime?N.utc(e==null?void 0:e.operationDateTime).local().format("MM-DD-YYYY h:mm a"):""})]})]})},s)})})})})]})})]})};export{Re as default};
@@ -1 +0,0 @@
1
- import{j as r}from"./vendor-mui-69397583.js";import{f as c,r as i}from"./vendor-react-ece1c85f.js";import{u as m,E as l,O as o,Q as s}from"./index-c62ac197.js";import"./Alert-7dfbd254.js";import"./index-6b6d0f06.js";import"./index-c2088808.js";import"./Drawer-949c18c6.js";import"./FormContainer-91c2b0e4.js";import"./Switcher-c8648037.js";import"./index-36228db5.js";import"./Upload-fb34ce03.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-pdf-b2a5d8b1.js";import"./vendor-devex-33a39e11.js";import"./vendor-i18n-2fcb1983.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-eccea5d1.js";import"./useControllableState-d0909575.js";import"./useDidUpdate-25c4d4ed.js";const I=()=>{const a=c(),{signInExternal:n}=m(),[p,t]=i.useState(!1),e=new URLSearchParams(window.location.search).get("code");return i.useEffect(()=>{(async()=>{if(e){t(!0);try{await n(4,e),t(!1)}catch{o.push(r.jsx(s,{title:"Login Failed",type:"danger",duration:3e3,children:"There was an issue signing in. Please try again."}),{placement:"top-center"}),a("/sign-in"),t(!1)}}else o.push(r.jsx(s,{title:"Error",type:"danger",duration:2500,children:"No authorization code provided."}),{placement:"top-center"}),a("/sign-in"),t(!1)})()},[e]),r.jsx("div",{children:r.jsx(l,{loading:p})})};export{I as default};
@@ -1 +0,0 @@
1
- import{j as r}from"./vendor-mui-69397583.js";import{A as zt}from"./AdaptableCard-df7695d6.js";import"./Alert-7dfbd254.js";import{I as Ut,W as qt,B as s}from"./index-c62ac197.js";import"./index-6b6d0f06.js";import"./index-c2088808.js";import{D as x}from"./Drawer-949c18c6.js";import{F as Ht}from"./FormContainer-91c2b0e4.js";import{r as _,g as Xt}from"./vendor-react-ece1c85f.js";import"./Switcher-c8648037.js";import"./index-36228db5.js";import"./Upload-fb34ce03.js";import{_ as Vt}from"./vendor-pdf-b2a5d8b1.js";import{S as Qt}from"./StickyFooter-5b934274.js";import{a as Wt}from"./index-e4c6057f.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-devex-33a39e11.js";import"./vendor-i18n-2fcb1983.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-eccea5d1.js";import"./useControllableState-d0909575.js";import"./useDidUpdate-25c4d4ed.js";const w=t=>{const e=t.data,i=_.useRef();return _.useEffect(()=>{t&&Vt(()=>import("./vendor-barcode-12467f84.js").then(n=>n.b),["assets/vendor-barcode-12467f84.js","assets/vendor-react-ece1c85f.js"]).then(({default:n})=>{try{n.toCanvas(i.current,{bcid:e.type,text:e.text,scale:3,height:20,width:20,includetext:!1})}catch(a){console.error(a)}})},[t]),r.jsx(r.Fragment,{children:r.jsx("canvas",{style:{maxWidth:"200px;"},ref:i})})};var be={},ee={},f={};Object.defineProperty(f,"__esModule",{value:!0});function Jt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Yt=function t(e,i){Jt(this,t),this.data=e,this.text=i.text||e,this.options=i};f.default=Yt;Object.defineProperty(ee,"__esModule",{value:!0});ee.CODE39=void 0;var Kt=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Zt=f,en=tn(Zt);function tn(t){return t&&t.__esModule?t:{default:t}}function nn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rn(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function an(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var on=function(t){an(e,t);function e(i,n){return nn(this,e),i=i.toUpperCase(),n.mod43&&(i+=un(dn(i))),rn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return Kt(e,[{key:"encode",value:function(){for(var n=fe("*"),a=0;a<this.data.length;a++)n+=fe(this.data[a])+"0";return n+=fe("*"),{data:n,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),e}(en.default),gt=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],ln=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function fe(t){return cn(pt(t))}function cn(t){return ln[t].toString(2)}function un(t){return gt[t]}function pt(t){return gt.indexOf(t)}function dn(t){for(var e=0,i=0;i<t.length;i++)e+=pt(t[i]);return e=e%43,e}ee.CODE39=on;var j={},Oe={},N={},d={};Object.defineProperty(d,"__esModule",{value:!0});var L;function he(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var _t=d.SET_A=0,mt=d.SET_B=1,yt=d.SET_C=2;d.SHIFT=98;var sn=d.START_A=103,fn=d.START_B=104,hn=d.START_C=105;d.MODULO=103;d.STOP=106;d.FNC1=207;d.SET_BY_CODE=(L={},he(L,sn,_t),he(L,fn,mt),he(L,hn,yt),L);d.SWAP={101:_t,100:mt,99:yt};d.A_START_CHAR=String.fromCharCode(208);d.B_START_CHAR=String.fromCharCode(209);d.C_START_CHAR=String.fromCharCode(210);d.A_CHARS="[\0-_È-Ï]";d.B_CHARS="[ -È-Ï]";d.C_CHARS="(Ï*[0-9]{2}Ï*)";d.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011];Object.defineProperty(N,"__esModule",{value:!0});var vn=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),xn=f,gn=pn(xn),g=d;function pn(t){return t&&t.__esModule?t:{default:t}}function _n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mn(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function yn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var jn=function(t){yn(e,t);function e(i,n){_n(this,e);var a=mn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i.substring(1),n));return a.bytes=i.split("").map(function(o){return o.charCodeAt(0)}),a}return vn(e,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var n=this.bytes,a=n.shift()-105,o=g.SET_BY_CODE[a];if(o===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&n.unshift(g.FNC1);var l=e.next(n,1,o);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:e.getBar(a)+l.result+e.getBar((l.checksum+a)%g.MODULO)+e.getBar(g.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var n=this.options.ean128||!1;return typeof n=="string"&&(n=n.toLowerCase()==="true"),n}}],[{key:"getBar",value:function(n){return g.BARS[n]?g.BARS[n].toString():""}},{key:"correctIndex",value:function(n,a){if(a===g.SET_A){var o=n.shift();return o<32?o+64:o-32}else return a===g.SET_B?n.shift()-32:(n.shift()-48)*10+n.shift()-48}},{key:"next",value:function(n,a,o){if(!n.length)return{result:"",checksum:0};var l=void 0,c=void 0;if(n[0]>=200){c=n.shift()-105;var u=g.SWAP[c];u!==void 0?l=e.next(n,a+1,u):((o===g.SET_A||o===g.SET_B)&&c===g.SHIFT&&(n[0]=o===g.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),l=e.next(n,a+1,o))}else c=e.correctIndex(n,o),l=e.next(n,a+1,o);var v=e.getBar(c),se=c*a;return{result:v+l.result,checksum:se+l.checksum}}}]),e}(gn.default);N.default=jn;var Ee={};Object.defineProperty(Ee,"__esModule",{value:!0});var O=d,jt=function(e){return e.match(new RegExp("^"+O.A_CHARS+"*"))[0].length},bt=function(e){return e.match(new RegExp("^"+O.B_CHARS+"*"))[0].length},Ot=function(e){return e.match(new RegExp("^"+O.C_CHARS+"*"))[0]};function we(t,e){var i=e?O.A_CHARS:O.B_CHARS,n=t.match(new RegExp("^("+i+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(n)return n[1]+String.fromCharCode(204)+Et(t.substring(n[1].length));var a=t.match(new RegExp("^"+i+"+"))[0];return a.length===t.length?t:a+String.fromCharCode(e?205:206)+we(t.substring(a.length),!e)}function Et(t){var e=Ot(t),i=e.length;if(i===t.length)return t;t=t.substring(i);var n=jt(t)>=bt(t);return e+String.fromCharCode(n?206:205)+we(t,n)}Ee.default=function(t){var e=void 0,i=Ot(t).length;if(i>=2)e=O.C_START_CHAR+Et(t);else{var n=jt(t)>bt(t);e=(n?O.A_START_CHAR:O.B_START_CHAR)+we(t,n)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(a,o){return String.fromCharCode(203)+o})};Object.defineProperty(Oe,"__esModule",{value:!0});var bn=N,On=wt(bn),En=Ee,wn=wt(En);function wt(t){return t&&t.__esModule?t:{default:t}}function Sn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ve(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function $n(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Rn=function(t){$n(e,t);function e(i,n){if(Sn(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(i))var a=ve(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,wn.default)(i),n));else var a=ve(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n));return ve(a)}return e}(On.default);Oe.default=Rn;var Se={};Object.defineProperty(Se,"__esModule",{value:!0});var An=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Cn=N,Pn=kn(Cn),tt=d;function kn(t){return t&&t.__esModule?t:{default:t}}function Mn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function In(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Nn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Tn=function(t){Nn(e,t);function e(i,n){return Mn(this,e),In(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,tt.A_START_CHAR+i,n))}return An(e,[{key:"valid",value:function(){return new RegExp("^"+tt.A_CHARS+"+$").test(this.data)}}]),e}(Pn.default);Se.default=Tn;var $e={};Object.defineProperty($e,"__esModule",{value:!0});var Dn=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Bn=N,Ln=Gn(Bn),nt=d;function Gn(t){return t&&t.__esModule?t:{default:t}}function Fn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Un(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var qn=function(t){Un(e,t);function e(i,n){return Fn(this,e),zn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,nt.B_START_CHAR+i,n))}return Dn(e,[{key:"valid",value:function(){return new RegExp("^"+nt.B_CHARS+"+$").test(this.data)}}]),e}(Ln.default);$e.default=qn;var Re={};Object.defineProperty(Re,"__esModule",{value:!0});var Hn=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Xn=N,Vn=Qn(Xn),rt=d;function Qn(t){return t&&t.__esModule?t:{default:t}}function Wn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jn(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Yn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Kn=function(t){Yn(e,t);function e(i,n){return Wn(this,e),Jn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,rt.C_START_CHAR+i,n))}return Hn(e,[{key:"valid",value:function(){return new RegExp("^"+rt.C_CHARS+"+$").test(this.data)}}]),e}(Vn.default);Re.default=Kn;Object.defineProperty(j,"__esModule",{value:!0});j.CODE128C=j.CODE128B=j.CODE128A=j.CODE128=void 0;var Zn=Oe,er=te(Zn),tr=Se,nr=te(tr),rr=$e,ir=te(rr),ar=Re,or=te(ar);function te(t){return t&&t.__esModule?t:{default:t}}j.CODE128=er.default;j.CODE128A=nr.default;j.CODE128B=ir.default;j.CODE128C=or.default;var h={},Ae={},y={};Object.defineProperty(y,"__esModule",{value:!0});y.SIDE_BIN="101";y.MIDDLE_BIN="01010";y.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]};y.EAN2_STRUCTURE=["LL","LG","GL","GG"];y.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"];y.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"];var ne={},$={};Object.defineProperty($,"__esModule",{value:!0});var lr=y,cr=function(e,i,n){var a=e.split("").map(function(l,c){return lr.BINARIES[i[c]]}).map(function(l,c){return l?l[e[c]]:""});if(n){var o=e.length-1;a=a.map(function(l,c){return c<o?l+n:l})}return a.join("")};$.default=cr;Object.defineProperty(ne,"__esModule",{value:!0});var ur=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),C=y,dr=$,it=St(dr),sr=f,fr=St(sr);function St(t){return t&&t.__esModule?t:{default:t}}function hr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vr(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function xr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var gr=function(t){xr(e,t);function e(i,n){hr(this,e);var a=vr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n));return a.fontSize=!n.flat&&n.fontSize>n.width*10?n.width*10:n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return ur(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(n,a){return this.text.substr(n,a)}},{key:"leftEncode",value:function(n,a){return(0,it.default)(n,a)}},{key:"rightText",value:function(n,a){return this.text.substr(n,a)}},{key:"rightEncode",value:function(n,a){return(0,it.default)(n,a)}},{key:"encodeGuarded",value:function(){var n={fontSize:this.fontSize},a={height:this.guardHeight};return[{data:C.SIDE_BIN,options:a},{data:this.leftEncode(),text:this.leftText(),options:n},{data:C.MIDDLE_BIN,options:a},{data:this.rightEncode(),text:this.rightText(),options:n},{data:C.SIDE_BIN,options:a}]}},{key:"encodeFlat",value:function(){var n=[C.SIDE_BIN,this.leftEncode(),C.MIDDLE_BIN,this.rightEncode(),C.SIDE_BIN];return{data:n.join(""),text:this.text}}}]),e}(fr.default);ne.default=gr;Object.defineProperty(Ae,"__esModule",{value:!0});var pr=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),G=function t(e,i,n){e===null&&(e=Function.prototype);var a=Object.getOwnPropertyDescriptor(e,i);if(a===void 0){var o=Object.getPrototypeOf(e);return o===null?void 0:t(o,i,n)}else{if("value"in a)return a.value;var l=a.get;return l===void 0?void 0:l.call(n)}},_r=y,mr=ne,yr=jr(mr);function jr(t){return t&&t.__esModule?t:{default:t}}function br(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Or(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Er(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var at=function(e){var i=e.substr(0,12).split("").map(function(n){return+n}).reduce(function(n,a,o){return o%2?n+a*3:n+a},0);return(10-i%10)%10},wr=function(t){Er(e,t);function e(i,n){br(this,e),i.search(/^[0-9]{12}$/)!==-1&&(i+=at(i));var a=Or(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n));return a.lastChar=n.lastChar,a}return pr(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===at(this.data)}},{key:"leftText",value:function(){return G(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var n=this.data.substr(1,6),a=_r.EAN13_STRUCTURE[this.data[0]];return G(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,n,a)}},{key:"rightText",value:function(){return G(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var n=this.data.substr(7,6);return G(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,n,"RRRRRR")}},{key:"encodeGuarded",value:function(){var n=G(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(n.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(n.push({data:"00"}),n.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),n}}]),e}(yr.default);Ae.default=wr;var Ce={};Object.defineProperty(Ce,"__esModule",{value:!0});var Sr=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),W=function t(e,i,n){e===null&&(e=Function.prototype);var a=Object.getOwnPropertyDescriptor(e,i);if(a===void 0){var o=Object.getPrototypeOf(e);return o===null?void 0:t(o,i,n)}else{if("value"in a)return a.value;var l=a.get;return l===void 0?void 0:l.call(n)}},$r=ne,Rr=Ar($r);function Ar(t){return t&&t.__esModule?t:{default:t}}function Cr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pr(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function kr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ot=function(e){var i=e.substr(0,7).split("").map(function(n){return+n}).reduce(function(n,a,o){return o%2?n+a:n+a*3},0);return(10-i%10)%10},Mr=function(t){kr(e,t);function e(i,n){return Cr(this,e),i.search(/^[0-9]{7}$/)!==-1&&(i+=ot(i)),Pr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return Sr(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===ot(this.data)}},{key:"leftText",value:function(){return W(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var n=this.data.substr(0,4);return W(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,n,"LLLL")}},{key:"rightText",value:function(){return W(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var n=this.data.substr(4,4);return W(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,n,"RRRR")}}]),e}(Rr.default);Ce.default=Mr;var Pe={};Object.defineProperty(Pe,"__esModule",{value:!0});var Ir=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Nr=y,Tr=$,Dr=$t(Tr),Br=f,Lr=$t(Br);function $t(t){return t&&t.__esModule?t:{default:t}}function Gr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fr(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function zr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ur=function(e){var i=e.split("").map(function(n){return+n}).reduce(function(n,a,o){return o%2?n+a*9:n+a*3},0);return i%10},qr=function(t){zr(e,t);function e(i,n){return Gr(this,e),Fr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return Ir(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var n=Nr.EAN5_STRUCTURE[Ur(this.data)];return{data:"1011"+(0,Dr.default)(this.data,n,"01"),text:this.text}}}]),e}(Lr.default);Pe.default=qr;var ke={};Object.defineProperty(ke,"__esModule",{value:!0});var Hr=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Xr=y,Vr=$,Qr=Rt(Vr),Wr=f,Jr=Rt(Wr);function Rt(t){return t&&t.__esModule?t:{default:t}}function Yr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kr(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Zr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ei=function(t){Zr(e,t);function e(i,n){return Yr(this,e),Kr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return Hr(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var n=Xr.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,Qr.default)(this.data,n,"01"),text:this.text}}}]),e}(Jr.default);ke.default=ei;var U={};Object.defineProperty(U,"__esModule",{value:!0});var ti=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();U.checksum=me;var ni=$,P=At(ni),ri=f,ii=At(ri);function At(t){return t&&t.__esModule?t:{default:t}}function ai(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oi(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function li(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ci=function(t){li(e,t);function e(i,n){ai(this,e),i.search(/^[0-9]{11}$/)!==-1&&(i+=me(i));var a=oi(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n));return a.displayValue=n.displayValue,n.fontSize>n.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return ti(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==me(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=(0,P.default)(this.data.substr(0,6),"LLLLLL"),n+="01010",n+=(0,P.default)(this.data.substr(6,6),"RRRRRR"),n+="101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101"+(0,P.default)(this.data[0],"L"),options:{height:this.guardHeight}}),n.push({data:(0,P.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),n.push({data:"01010",options:{height:this.guardHeight}}),n.push({data:(0,P.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),n.push({data:(0,P.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),n}}]),e}(ii.default);function me(t){var e=0,i;for(i=1;i<11;i+=2)e+=parseInt(t[i]);for(i=0;i<11;i+=2)e+=parseInt(t[i])*3;return(10-e%10)%10}U.default=ci;var Me={};Object.defineProperty(Me,"__esModule",{value:!0});var ui=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),di=$,si=Ct(di),fi=f,hi=Ct(fi),vi=U;function Ct(t){return t&&t.__esModule?t:{default:t}}function xi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xe(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function gi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var pi=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],_i=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],mi=function(t){gi(e,t);function e(i,n){xi(this,e);var a=xe(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n));if(a.isValid=!1,i.search(/^[0-9]{6}$/)!==-1)a.middleDigits=i,a.upcA=lt(i,"0"),a.text=n.text||""+a.upcA[0]+i+a.upcA[a.upcA.length-1],a.isValid=!0;else if(i.search(/^[01][0-9]{7}$/)!==-1)if(a.middleDigits=i.substring(1,i.length-1),a.upcA=lt(a.middleDigits,i[0]),a.upcA[a.upcA.length-1]===i[i.length-1])a.isValid=!0;else return xe(a);else return xe(a);return a.displayValue=n.displayValue,n.fontSize>n.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return ui(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=this.encodeMiddleDigits(),n+="010101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101",options:{height:this.guardHeight}}),n.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),n.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),n}},{key:"encodeMiddleDigits",value:function(){var n=this.upcA[0],a=this.upcA[this.upcA.length-1],o=_i[parseInt(a)][parseInt(n)];return(0,si.default)(this.middleDigits,o)}}]),e}(hi.default);function lt(t,e){for(var i=parseInt(t[t.length-1]),n=pi[i],a="",o=0,l=0;l<n.length;l++){var c=n[l];c==="X"?a+=t[o++]:a+=c}return a=""+e+a,""+a+(0,vi.checksum)(a)}Me.default=mi;Object.defineProperty(h,"__esModule",{value:!0});h.UPCE=h.UPC=h.EAN2=h.EAN5=h.EAN8=h.EAN13=void 0;var yi=Ae,ji=T(yi),bi=Ce,Oi=T(bi),Ei=Pe,wi=T(Ei),Si=ke,$i=T(Si),Ri=U,Ai=T(Ri),Ci=Me,Pi=T(Ci);function T(t){return t&&t.__esModule?t:{default:t}}h.EAN13=ji.default;h.EAN8=Oi.default;h.EAN5=wi.default;h.EAN2=$i.default;h.UPC=Ai.default;h.UPCE=Pi.default;var M={},re={},q={};Object.defineProperty(q,"__esModule",{value:!0});q.START_BIN="1010";q.END_BIN="11101";q.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"];Object.defineProperty(re,"__esModule",{value:!0});var ki=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),J=q,Mi=f,Ii=Ni(Mi);function Ni(t){return t&&t.__esModule?t:{default:t}}function Ti(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Di(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Bi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Li=function(t){Bi(e,t);function e(){return Ti(this,e),Di(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return ki(e,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var n=this,a=this.data.match(/.{2}/g).map(function(o){return n.encodePair(o)}).join("");return{data:J.START_BIN+a+J.END_BIN,text:this.text}}},{key:"encodePair",value:function(n){var a=J.BINARIES[n[1]];return J.BINARIES[n[0]].split("").map(function(o,l){return(o==="1"?"111":"1")+(a[l]==="1"?"000":"0")}).join("")}}]),e}(Ii.default);re.default=Li;var Ie={};Object.defineProperty(Ie,"__esModule",{value:!0});var Gi=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Fi=re,zi=Ui(Fi);function Ui(t){return t&&t.__esModule?t:{default:t}}function qi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hi(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Xi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ct=function(e){var i=e.substr(0,13).split("").map(function(n){return parseInt(n,10)}).reduce(function(n,a,o){return n+a*(3-o%2*2)},0);return Math.ceil(i/10)*10-i},Vi=function(t){Xi(e,t);function e(i,n){return qi(this,e),i.search(/^[0-9]{13}$/)!==-1&&(i+=ct(i)),Hi(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return Gi(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===ct(this.data)}}]),e}(zi.default);Ie.default=Vi;Object.defineProperty(M,"__esModule",{value:!0});M.ITF14=M.ITF=void 0;var Qi=re,Wi=Pt(Qi),Ji=Ie,Yi=Pt(Ji);function Pt(t){return t&&t.__esModule?t:{default:t}}M.ITF=Wi.default;M.ITF14=Yi.default;var m={},R={};Object.defineProperty(R,"__esModule",{value:!0});var Ki=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Zi=f,ea=ta(Zi);function ta(t){return t&&t.__esModule?t:{default:t}}function na(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ra(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ia(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var aa=function(t){ia(e,t);function e(i,n){return na(this,e),ra(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return Ki(e,[{key:"encode",value:function(){for(var n="110",a=0;a<this.data.length;a++){var o=parseInt(this.data[a]),l=o.toString(2);l=oa(l,4-l.length);for(var c=0;c<l.length;c++)n+=l[c]=="0"?"100":"110"}return n+="1001",{data:n,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),e}(ea.default);function oa(t,e){for(var i=0;i<e;i++)t="0"+t;return t}R.default=aa;var Ne={},A={};Object.defineProperty(A,"__esModule",{value:!0});A.mod10=la;A.mod11=ca;function la(t){for(var e=0,i=0;i<t.length;i++){var n=parseInt(t[i]);(i+t.length)%2===0?e+=n:e+=n*2%10+Math.floor(n*2/10)}return(10-e%10)%10}function ca(t){for(var e=0,i=[2,3,4,5,6,7],n=0;n<t.length;n++){var a=parseInt(t[t.length-1-n]);e+=i[n%i.length]*a}return(11-e%11)%11}Object.defineProperty(Ne,"__esModule",{value:!0});var ua=R,da=fa(ua),sa=A;function fa(t){return t&&t.__esModule?t:{default:t}}function ha(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function va(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function xa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ga=function(t){xa(e,t);function e(i,n){return ha(this,e),va(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i+(0,sa.mod10)(i),n))}return e}(da.default);Ne.default=ga;var Te={};Object.defineProperty(Te,"__esModule",{value:!0});var pa=R,_a=ya(pa),ma=A;function ya(t){return t&&t.__esModule?t:{default:t}}function ja(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ba(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Oa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ea=function(t){Oa(e,t);function e(i,n){return ja(this,e),ba(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i+(0,ma.mod11)(i),n))}return e}(_a.default);Te.default=Ea;var De={};Object.defineProperty(De,"__esModule",{value:!0});var wa=R,Sa=$a(wa),ut=A;function $a(t){return t&&t.__esModule?t:{default:t}}function Ra(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Aa(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ca(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Pa=function(t){Ca(e,t);function e(i,n){return Ra(this,e),i+=(0,ut.mod10)(i),i+=(0,ut.mod10)(i),Aa(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return e}(Sa.default);De.default=Pa;var Be={};Object.defineProperty(Be,"__esModule",{value:!0});var ka=R,Ma=Ia(ka),dt=A;function Ia(t){return t&&t.__esModule?t:{default:t}}function Na(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ta(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Da(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ba=function(t){Da(e,t);function e(i,n){return Na(this,e),i+=(0,dt.mod11)(i),i+=(0,dt.mod10)(i),Ta(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return e}(Ma.default);Be.default=Ba;Object.defineProperty(m,"__esModule",{value:!0});m.MSI1110=m.MSI1010=m.MSI11=m.MSI10=m.MSI=void 0;var La=R,Ga=H(La),Fa=Ne,za=H(Fa),Ua=Te,qa=H(Ua),Ha=De,Xa=H(Ha),Va=Be,Qa=H(Va);function H(t){return t&&t.__esModule?t:{default:t}}m.MSI=Ga.default;m.MSI10=za.default;m.MSI11=qa.default;m.MSI1010=Xa.default;m.MSI1110=Qa.default;var ie={};Object.defineProperty(ie,"__esModule",{value:!0});ie.pharmacode=void 0;var Wa=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Ja=f,Ya=Ka(Ja);function Ka(t){return t&&t.__esModule?t:{default:t}}function Za(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eo(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function to(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var no=function(t){to(e,t);function e(i,n){Za(this,e);var a=eo(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n));return a.number=parseInt(i,10),a}return Wa(e,[{key:"encode",value:function(){for(var n=this.number,a="";!isNaN(n)&&n!=0;)n%2===0?(a="11100"+a,n=(n-2)/2):(a="100"+a,n=(n-1)/2);return a=a.slice(0,-2),{data:a,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),e}(Ya.default);ie.pharmacode=no;var ae={};Object.defineProperty(ae,"__esModule",{value:!0});ae.codabar=void 0;var ro=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),io=f,ao=oo(io);function oo(t){return t&&t.__esModule?t:{default:t}}function lo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function co(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function uo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var so=function(t){uo(e,t);function e(i,n){lo(this,e),i.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(i="A"+i+"A");var a=co(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i.toUpperCase(),n));return a.text=a.options.text||a.text.replace(/[A-D]/g,""),a}return ro(e,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var n=[],a=this.getEncodings(),o=0;o<this.data.length;o++)n.push(a[this.data.charAt(o)]),o!==this.data.length-1&&n.push("0");return{text:this.text,data:n.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),e}(ao.default);ae.codabar=so;var I={},oe={},X={};Object.defineProperty(X,"__esModule",{value:!0});X.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"];X.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"];X.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"]," ":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"\x1B":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"":["(%)","T"]};Object.defineProperty(oe,"__esModule",{value:!0});var fo=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Y=X,ho=f,vo=xo(ho);function xo(t){return t&&t.__esModule?t:{default:t}}function go(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function po(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function _o(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var mo=function(t){_o(e,t);function e(i,n){return go(this,e),po(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return fo(e,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var n=this.data.split("").flatMap(function(c){return Y.MULTI_SYMBOLS[c]||c}),a=n.map(function(c){return e.getEncoding(c)}).join(""),o=e.checksum(n,20),l=e.checksum(n.concat(o),15);return{text:this.text,data:e.getEncoding("ÿ")+a+e.getEncoding(o)+e.getEncoding(l)+e.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(n){return Y.BINARIES[e.symbolValue(n)]}},{key:"getSymbol",value:function(n){return Y.SYMBOLS[n]}},{key:"symbolValue",value:function(n){return Y.SYMBOLS.indexOf(n)}},{key:"checksum",value:function(n,a){var o=n.slice().reverse().reduce(function(l,c,u){var v=u%a+1;return l+e.symbolValue(c)*v},0);return e.getSymbol(o%47)}}]),e}(vo.default);oe.default=mo;var Le={};Object.defineProperty(Le,"__esModule",{value:!0});var yo=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),jo=oe,bo=Oo(jo);function Oo(t){return t&&t.__esModule?t:{default:t}}function Eo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wo(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function So(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var $o=function(t){So(e,t);function e(i,n){return Eo(this,e),wo(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return yo(e,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),e}(bo.default);Le.default=$o;Object.defineProperty(I,"__esModule",{value:!0});I.CODE93FullASCII=I.CODE93=void 0;var Ro=oe,Ao=kt(Ro),Co=Le,Po=kt(Co);function kt(t){return t&&t.__esModule?t:{default:t}}I.CODE93=Ao.default;I.CODE93FullASCII=Po.default;var le={};Object.defineProperty(le,"__esModule",{value:!0});le.GenericBarcode=void 0;var ko=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Mo=f,Io=No(Mo);function No(t){return t&&t.__esModule?t:{default:t}}function To(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Do(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Bo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Lo=function(t){Bo(e,t);function e(i,n){return To(this,e),Do(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return ko(e,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e}(Io.default);le.GenericBarcode=Lo;Object.defineProperty(be,"__esModule",{value:!0});var Go=ee,K=j,k=h,st=M,F=m,Fo=ie,zo=ae,ft=I,Uo=le;be.default={CODE39:Go.CODE39,CODE128:K.CODE128,CODE128A:K.CODE128A,CODE128B:K.CODE128B,CODE128C:K.CODE128C,EAN13:k.EAN13,EAN8:k.EAN8,EAN5:k.EAN5,EAN2:k.EAN2,UPC:k.UPC,UPCE:k.UPCE,ITF14:st.ITF14,ITF:st.ITF,MSI:F.MSI,MSI10:F.MSI10,MSI11:F.MSI11,MSI1010:F.MSI1010,MSI1110:F.MSI1110,pharmacode:Fo.pharmacode,codabar:zo.codabar,CODE93:ft.CODE93,CODE93FullASCII:ft.CODE93FullASCII,GenericBarcode:Uo.GenericBarcode};var D={};Object.defineProperty(D,"__esModule",{value:!0});var qo=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};D.default=function(t,e){return qo({},t,e)};var Ge={};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.default=Ho;function Ho(t){var e=[];function i(n){if(Array.isArray(n))for(var a=0;a<n.length;a++)i(n[a]);else n.text=n.text||"",n.data=n.data||"",e.push(n)}return i(t),e}var Fe={};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.default=Xo;function Xo(t){return t.marginTop=t.marginTop||t.margin,t.marginBottom=t.marginBottom||t.margin,t.marginRight=t.marginRight||t.margin,t.marginLeft=t.marginLeft||t.margin,t}var ze={},Ue={},ce={};Object.defineProperty(ce,"__esModule",{value:!0});ce.default=Vo;function Vo(t){var e=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var i in e)e.hasOwnProperty(i)&&(i=e[i],typeof t[i]=="string"&&(t[i]=parseInt(t[i],10)));return typeof t.displayValue=="string"&&(t.displayValue=t.displayValue!="false"),t}var ue={};Object.defineProperty(ue,"__esModule",{value:!0});var Qo={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};ue.default=Qo;Object.defineProperty(Ue,"__esModule",{value:!0});var Wo=ce,Jo=Mt(Wo),Yo=ue,ht=Mt(Yo);function Mt(t){return t&&t.__esModule?t:{default:t}}function Ko(t){var e={};for(var i in ht.default)ht.default.hasOwnProperty(i)&&(t.hasAttribute("jsbarcode-"+i.toLowerCase())&&(e[i]=t.getAttribute("jsbarcode-"+i.toLowerCase())),t.hasAttribute("data-"+i.toLowerCase())&&(e[i]=t.getAttribute("data-"+i.toLowerCase())));return e.value=t.getAttribute("jsbarcode-value")||t.getAttribute("data-value"),e=(0,Jo.default)(e),e}Ue.default=Ko;var qe={},He={},p={};Object.defineProperty(p,"__esModule",{value:!0});p.getTotalWidthOfEncodings=p.calculateEncodingAttributes=p.getBarcodePadding=p.getEncodingHeight=p.getMaximumHeightOfEncodings=void 0;var Zo=D,el=tl(Zo);function tl(t){return t&&t.__esModule?t:{default:t}}function It(t,e){return e.height+(e.displayValue&&t.text.length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function Nt(t,e,i){if(i.displayValue&&e<t){if(i.textAlign=="center")return Math.floor((t-e)/2);if(i.textAlign=="left")return 0;if(i.textAlign=="right")return Math.floor(t-e)}return 0}function nl(t,e,i){for(var n=0;n<t.length;n++){var a=t[n],o=(0,el.default)(e,a.options),l;o.displayValue?l=al(a.text,o,i):l=0;var c=a.data.length*o.width;a.width=Math.ceil(Math.max(l,c)),a.height=It(a,o),a.barcodePadding=Nt(l,c,o)}}function rl(t){for(var e=0,i=0;i<t.length;i++)e+=t[i].width;return e}function il(t){for(var e=0,i=0;i<t.length;i++)t[i].height>e&&(e=t[i].height);return e}function al(t,e,i){var n;if(i)n=i;else if(typeof document<"u")n=document.createElement("canvas").getContext("2d");else return 0;n.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var a=n.measureText(t);if(!a)return 0;var o=a.width;return o}p.getMaximumHeightOfEncodings=il;p.getEncodingHeight=It;p.getBarcodePadding=Nt;p.calculateEncodingAttributes=nl;p.getTotalWidthOfEncodings=rl;Object.defineProperty(He,"__esModule",{value:!0});var ol=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),ll=D,cl=ul(ll),ge=p;function ul(t){return t&&t.__esModule?t:{default:t}}function dl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var sl=function(){function t(e,i,n){dl(this,t),this.canvas=e,this.encodings=i,this.options=n}return ol(t,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var i=0;i<this.encodings.length;i++){var n=(0,cl.default)(this.options,this.encodings[i].options);this.drawCanvasBarcode(n,this.encodings[i]),this.drawCanvasText(n,this.encodings[i]),this.moveCanvasDrawing(this.encodings[i])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var i=this.canvas.getContext("2d");i.save(),(0,ge.calculateEncodingAttributes)(this.encodings,this.options,i);var n=(0,ge.getTotalWidthOfEncodings)(this.encodings),a=(0,ge.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=n+this.options.marginLeft+this.options.marginRight,this.canvas.height=a,i.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(i.fillStyle=this.options.background,i.fillRect(0,0,this.canvas.width,this.canvas.height)),i.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(i,n){var a=this.canvas.getContext("2d"),o=n.data,l;i.textPosition=="top"?l=i.marginTop+i.fontSize+i.textMargin:l=i.marginTop,a.fillStyle=i.lineColor;for(var c=0;c<o.length;c++){var u=c*i.width+n.barcodePadding;o[c]==="1"?a.fillRect(u,l,i.width,i.height):o[c]&&a.fillRect(u,l,i.width,i.height*o[c])}}},{key:"drawCanvasText",value:function(i,n){var a=this.canvas.getContext("2d"),o=i.fontOptions+" "+i.fontSize+"px "+i.font;if(i.displayValue){var l,c;i.textPosition=="top"?c=i.marginTop+i.fontSize-i.textMargin:c=i.height+i.textMargin+i.marginTop+i.fontSize,a.font=o,i.textAlign=="left"||n.barcodePadding>0?(l=0,a.textAlign="left"):i.textAlign=="right"?(l=n.width-1,a.textAlign="right"):(l=n.width/2,a.textAlign="center"),a.fillText(n.text,l,c)}}},{key:"moveCanvasDrawing",value:function(i){var n=this.canvas.getContext("2d");n.translate(i.width,0)}},{key:"restoreCanvas",value:function(){var i=this.canvas.getContext("2d");i.restore()}}]),t}();He.default=sl;var Xe={};Object.defineProperty(Xe,"__esModule",{value:!0});var fl=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),hl=D,vl=xl(hl),pe=p;function xl(t){return t&&t.__esModule?t:{default:t}}function gl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Z="http://www.w3.org/2000/svg",pl=function(){function t(e,i,n){gl(this,t),this.svg=e,this.encodings=i,this.options=n,this.document=n.xmlDocument||document}return fl(t,[{key:"render",value:function(){var i=this.options.marginLeft;this.prepareSVG();for(var n=0;n<this.encodings.length;n++){var a=this.encodings[n],o=(0,vl.default)(this.options,a.options),l=this.createGroup(i,o.marginTop,this.svg);this.setGroupOptions(l,o),this.drawSvgBarcode(l,o,a),this.drawSVGText(l,o,a),i+=a.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,pe.calculateEncodingAttributes)(this.encodings,this.options);var i=(0,pe.getTotalWidthOfEncodings)(this.encodings),n=(0,pe.getMaximumHeightOfEncodings)(this.encodings),a=i+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(a,n),this.options.background&&this.drawRect(0,0,a,n,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(i,n,a){var o=a.data,l;n.textPosition=="top"?l=n.fontSize+n.textMargin:l=0;for(var c=0,u=0,v=0;v<o.length;v++)u=v*n.width+a.barcodePadding,o[v]==="1"?c++:c>0&&(this.drawRect(u-n.width*c,l,n.width*c,n.height,i),c=0);c>0&&this.drawRect(u-n.width*(c-1),l,n.width*c,n.height,i)}},{key:"drawSVGText",value:function(i,n,a){var o=this.document.createElementNS(Z,"text");if(n.displayValue){var l,c;o.setAttribute("font-family",n.font),o.setAttribute("font-size",n.fontSize),n.fontOptions.includes("bold")&&o.setAttribute("font-weight","bold"),n.fontOptions.includes("italic")&&o.setAttribute("font-style","italic"),n.textPosition=="top"?c=n.fontSize-n.textMargin:c=n.height+n.textMargin+n.fontSize,n.textAlign=="left"||a.barcodePadding>0?(l=0,o.setAttribute("text-anchor","start")):n.textAlign=="right"?(l=a.width-1,o.setAttribute("text-anchor","end")):(l=a.width/2,o.setAttribute("text-anchor","middle")),o.setAttribute("x",l),o.setAttribute("y",c),o.appendChild(this.document.createTextNode(a.text)),i.appendChild(o)}}},{key:"setSvgAttributes",value:function(i,n){var a=this.svg;a.setAttribute("width",i+"px"),a.setAttribute("height",n+"px"),a.setAttribute("x","0px"),a.setAttribute("y","0px"),a.setAttribute("viewBox","0 0 "+i+" "+n),a.setAttribute("xmlns",Z),a.setAttribute("version","1.1")}},{key:"createGroup",value:function(i,n,a){var o=this.document.createElementNS(Z,"g");return o.setAttribute("transform","translate("+i+", "+n+")"),a.appendChild(o),o}},{key:"setGroupOptions",value:function(i,n){i.setAttribute("fill",n.lineColor)}},{key:"drawRect",value:function(i,n,a,o,l){var c=this.document.createElementNS(Z,"rect");return c.setAttribute("x",i),c.setAttribute("y",n),c.setAttribute("width",a),c.setAttribute("height",o),l.appendChild(c),c}}]),t}();Xe.default=pl;var Ve={};Object.defineProperty(Ve,"__esModule",{value:!0});var _l=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function ml(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var yl=function(){function t(e,i,n){ml(this,t),this.object=e,this.encodings=i,this.options=n}return _l(t,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),t}();Ve.default=yl;Object.defineProperty(qe,"__esModule",{value:!0});var jl=He,bl=Qe(jl),Ol=Xe,El=Qe(Ol),wl=Ve,Sl=Qe(wl);function Qe(t){return t&&t.__esModule?t:{default:t}}qe.default={CanvasRenderer:bl.default,SVGRenderer:El.default,ObjectRenderer:Sl.default};var B={};Object.defineProperty(B,"__esModule",{value:!0});function We(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Je(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ye(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var $l=function(t){Ye(e,t);function e(i,n){We(this,e);var a=Je(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return a.name="InvalidInputException",a.symbology=i,a.input=n,a.message='"'+a.input+'" is not a valid input for '+a.symbology,a}return e}(Error),Rl=function(t){Ye(e,t);function e(){We(this,e);var i=Je(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.name="InvalidElementException",i.message="Not supported type to render on",i}return e}(Error),Al=function(t){Ye(e,t);function e(){We(this,e);var i=Je(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.name="NoElementException",i.message="No element to render on.",i}return e}(Error);B.InvalidInputException=$l;B.InvalidElementException=Rl;B.NoElementException=Al;Object.defineProperty(ze,"__esModule",{value:!0});var Cl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pl=Ue,ye=Tt(Pl),kl=qe,z=Tt(kl),Ml=B;function Tt(t){return t&&t.__esModule?t:{default:t}}function Ke(t){if(typeof t=="string")return Il(t);if(Array.isArray(t)){for(var e=[],i=0;i<t.length;i++)e.push(Ke(t[i]));return e}else{if(typeof HTMLCanvasElement<"u"&&t instanceof HTMLImageElement)return Nl(t);if(t&&t.nodeName&&t.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&t instanceof SVGElement)return{element:t,options:(0,ye.default)(t),renderer:z.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&t instanceof HTMLCanvasElement)return{element:t,options:(0,ye.default)(t),renderer:z.default.CanvasRenderer};if(t&&t.getContext)return{element:t,renderer:z.default.CanvasRenderer};if(t&&(typeof t>"u"?"undefined":Cl(t))==="object"&&!t.nodeName)return{element:t,renderer:z.default.ObjectRenderer};throw new Ml.InvalidElementException}}function Il(t){var e=document.querySelectorAll(t);if(e.length!==0){for(var i=[],n=0;n<e.length;n++)i.push(Ke(e[n]));return i}}function Nl(t){var e=document.createElement("canvas");return{element:e,options:(0,ye.default)(t),renderer:z.default.CanvasRenderer,afterRender:function(){t.setAttribute("src",e.toDataURL())}}}ze.default=Ke;var Ze={};Object.defineProperty(Ze,"__esModule",{value:!0});var Tl=function(){function t(e,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function Dl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Bl=function(){function t(e){Dl(this,t),this.api=e}return Tl(t,[{key:"handleCatch",value:function(i){if(i.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw i.message;else throw i;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(i){try{var n=i.apply(void 0,arguments);return this.api._options.valid(!0),n}catch(a){return this.handleCatch(a),this.api}}}]),t}();Ze.default=Bl;var Ll=be,S=E(Ll),Gl=D,V=E(Gl),Fl=Ge,Dt=E(Fl),zl=Fe,vt=E(zl),Ul=ze,ql=E(Ul),Hl=ce,Xl=E(Hl),Vl=Ze,Ql=E(Vl),Bt=B,Wl=ue,Lt=E(Wl);function E(t){return t&&t.__esModule?t:{default:t}}var b=function(){},de=function(e,i,n){var a=new b;if(typeof e>"u")throw Error("No element to render on was provided.");return a._renderProperties=(0,ql.default)(e),a._encodings=[],a._options=Lt.default,a._errorHandler=new Ql.default(a),typeof i<"u"&&(n=n||{},n.format||(n.format=Ft()),a.options(n)[n.format](i,n).render()),a};de.getModule=function(t){return S.default[t]};for(var xt in S.default)S.default.hasOwnProperty(xt)&&Jl(S.default,xt);function Jl(t,e){b.prototype[e]=b.prototype[e.toUpperCase()]=b.prototype[e.toLowerCase()]=function(i,n){var a=this;return a._errorHandler.wrapBarcodeCall(function(){n.text=typeof n.text>"u"?void 0:""+n.text;var o=(0,V.default)(a._options,n);o=(0,Xl.default)(o);var l=t[e],c=Gt(i,l,o);return a._encodings.push(c),a})}}function Gt(t,e,i){t=""+t;var n=new e(t,i);if(!n.valid())throw new Bt.InvalidInputException(n.constructor.name,t);var a=n.encode();a=(0,Dt.default)(a);for(var o=0;o<a.length;o++)a[o].options=(0,V.default)(i,a[o].options);return a}function Ft(){return S.default.CODE128?"CODE128":Object.keys(S.default)[0]}b.prototype.options=function(t){return this._options=(0,V.default)(this._options,t),this};b.prototype.blank=function(t){var e=new Array(t+1).join("0");return this._encodings.push({data:e}),this};b.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var t;for(var e in this._renderProperties){t=this._renderProperties[e];var i=(0,V.default)(this._options,t.options);i.format=="auto"&&(i.format=Ft()),this._errorHandler.wrapBarcodeCall(function(){var n=i.value,a=S.default[i.format.toUpperCase()],o=Gt(n,a,i);je(t,o,i)})}}};b.prototype.render=function(){if(!this._renderProperties)throw new Bt.NoElementException;if(Array.isArray(this._renderProperties))for(var t=0;t<this._renderProperties.length;t++)je(this._renderProperties[t],this._encodings,this._options);else je(this._renderProperties,this._encodings,this._options);return this};b.prototype._defaults=Lt.default;function je(t,e,i){e=(0,Dt.default)(e);for(var n=0;n<e.length;n++)e[n].options=(0,V.default)(i,e[n].options),(0,vt.default)(e[n].options);(0,vt.default)(i);var a=t.renderer,o=new a(t.element,e,i);o.render(),t.afterRender&&t.afterRender()}typeof window<"u"&&(window.JsBarcode=de);typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(t,e){var i=[];return jQuery(this).each(function(){i.push(this)}),de(i,t,e)});var Yl=de;const Kl=Xt(Yl),_e=t=>{console.log("props",t);const e=t.data,i=_.useRef();return _.useEffect(()=>{if(t)try{console.log("inside use effect props",t),Kl(i.current,e.text,{format:e.type,displayValue:!0})}catch(n){console.error(n)}},[t]),r.jsx(r.Fragment,{children:r.jsx("canvas",{ref:i})})},Zl=t=>{const[e,i]=_.useState("");_.useState(!1);const[n,a]=_.useState([]),o=[{value:"qrcode",label:"QR Code"},{value:"code128",label:"1D Barcode"},{value:"datamatrix",label:"Data Matrix Code"},{value:"pdf417",label:"PDF417"},{value:"azteccode",label:"Aztec Code"},{value:"maxicode",label:"Maxi Code"},{value:"codabar",label:"Codabar Code"},{value:"microqr",label:"QR Code Micro"},{value:"isbn",label:"ISBN Barcode"},{value:"interleaved2of5",label:"Interleaved 2 of 5"},{value:"gs1-128",label:"EAN-128 (GS1)"}],l=()=>{t.onClose()},c=()=>{console.log("onFormSubmit");const u=n.map(v=>v.value);t.onFormSubmit(u,e),t.onClose()};return r.jsx(r.Fragment,{children:r.jsxs(Ht,{children:[r.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-1 gap-4",children:[r.jsx(Ut,{textArea:!0,style:{marginRight:"0.5rem"},placeholder:"Enter Text",value:e,onChange:u=>i(u.target.value)}),r.jsx(qt,{isMulti:!0,options:o,value:n,onChange:u=>a(u)})]}),r.jsx(Qt,{className:"px-8 flex items-center justify-between py-4",stickyClass:"bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700",children:r.jsxs("div",{className:"md:flex items-center justify-between w-full",children:[r.jsx(s,{size:"sm",className:"ltr:mr-3 rtl:ml-3",type:"button",onClick:l,children:"Cancel"}),r.jsx(s,{size:"sm",variant:"solid",onClick:c,icon:r.jsx(Wt,{}),type:"button",children:"Generate"})]})})]})})},bc=()=>{_.useState("");const[t,e]=_.useState("12345"),[i,n]=_.useState(!1),[a,o]=_.useState([]),[l,c]=_.useState(null),u=Q=>{c(Q)},v=()=>{n(!1)},se=(Q,et)=>{console.log("onBarcodeGenerationSubmit",Q),console.log("onBarcodeGenerationSubmit",et),o(Q),e(et)};return r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"topbar py-4 px-6 border-gray-200 border-b",children:r.jsxs("div",{className:"lg:flex items-center justify-between",children:[r.jsx("h3",{className:"mb-4 lg:mb-0",children:"Bar Codes"}),r.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-center lg:space-x-2 space-y-2 lg:space-y-0",children:[r.jsx(s,{style:{marginRight:"0.5rem"},onClick:()=>n(!0),variant:"solid",children:"Generate Code"}),r.jsx(s,{onClick:()=>u("comparison"),variant:"solid",children:"Comparison Chart"}),r.jsx(x,{title:"Generate Code",isOpen:i,onClose:v,portalClassName:"w30",children:r.jsx(Zl,{onClose:v,onFormSubmit:se})})]})]})}),r.jsx(zt,{className:"m-6 h-full !bg-transparent borderless",bodyClass:"h-full",children:r.jsxs("div",{className:"codeItem grid grid-cols-1 sm:grid-cols-2 md:grid-cols-5 gap-5",children:[(a.length==0||a.length>0&&a.indexOf("qrcode")>-1)&&r.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6 h-full flex flex-col justify-between",children:[r.jsx("div",{className:"w-[75%] mx-auto mb-4",style:{display:"flex",justifyContent:"center"},children:r.jsx(w,{data:{type:"qrcode",text:t}})}),r.jsx("h4",{children:"QR Code"}),r.jsx("small",{children:"Quick Response Code"}),r.jsx("hr",{className:"my-4"}),r.jsx("div",{children:r.jsxs("ul",{children:[r.jsx("li",{children:"Product tracking and inventory management"}),r.jsx("li",{children:"Marketing (e.g., linking to websites or promotions)"}),r.jsx("li",{children:"Payment systems (e.g., mobile wallet QR codes)"}),r.jsx("li",{children:"Business cards (digital information sharing)"})]})}),r.jsx("hr",{className:"my-4"}),r.jsx(s,{onClick:()=>u("qr"),variant:"solid",size:"xs",children:"Learn More"})]}),(a.length==0||a.length>0&&a.indexOf("code128")>-1)&&r.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6 h-full flex flex-col justify-between",children:[r.jsx("div",{className:"w-[75%] mx-auto mb-4",style:{display:"flex",justifyContent:"center"},children:r.jsx(w,{data:{type:"code128",text:t}})}),r.jsx("h4",{children:"1D Barcode"}),r.jsx("small",{children:"Linear Barcodes"}),r.jsx("hr",{className:"my-4"}),r.jsx("div",{children:r.jsxs("ul",{children:[r.jsx("li",{children:"Retail product identification (UPC/EAN)"}),r.jsx("li",{children:"Inventory management"}),r.jsx("li",{children:"Shipping and logistics (Code 128)"}),r.jsx("li",{children:"Asset management"})]})}),r.jsx("hr",{className:"my-4"}),r.jsx(s,{onClick:()=>u("1d"),variant:"solid",size:"xs",children:"Learn More"})]}),(a.length==0||a.length>0&&a.indexOf("datamatrix")>-1)&&r.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6 h-full flex flex-col justify-between",children:[r.jsx("div",{className:"w-[75%] mx-auto mb-4",style:{display:"flex",justifyContent:"center"},children:r.jsx(w,{data:{type:"datamatrix",text:t}})}),r.jsx("h4",{children:"Data Matrix Code"}),r.jsx("small",{children:"2D Barcode"}),r.jsx("hr",{className:"my-4"}),r.jsx("div",{children:r.jsxs("ul",{children:[r.jsx("li",{children:"Electronics and small product packaging"}),r.jsx("li",{children:"Manufacturing and industrial asset tracking"}),r.jsx("li",{children:"Medical devices and pharmaceuticals (due to compact size)"})]})}),r.jsx("hr",{className:"my-4"}),r.jsx(s,{onClick:()=>u("matrix"),variant:"solid",size:"xs",children:"Learn More"})]}),(a.length==0||a.length>0&&a.indexOf("pdf417")>-1)&&r.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6 h-full flex flex-col justify-between",children:[r.jsx("div",{className:"w-[75%] mx-auto mb-4",style:{display:"flex",justifyContent:"center"},children:r.jsx(w,{data:{type:"pdf417",text:t}})}),r.jsx("h4",{children:"PDF417"}),r.jsx("small",{children:"2D Barcode"}),r.jsx("hr",{className:"my-4"}),r.jsx("div",{children:r.jsxs("ul",{children:[r.jsx("li",{children:"Transport and logistics (e.g., airline boarding passes, shipping labels)"}),r.jsx("li",{children:"ID cards (e.g., driver’s licenses, government IDs)"}),r.jsx("li",{children:"Document management (e.g., archiving)"})]})}),r.jsx("hr",{className:"my-4"}),r.jsx(s,{onClick:()=>u("pdf"),variant:"solid",size:"xs",children:"Learn More"})]}),(a.length==0||a.length>0&&a.indexOf("azteccode")>-1)&&r.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6 h-full flex flex-col justify-between",children:[r.jsx("div",{className:"w-[75%] mx-auto mb-4",style:{display:"flex",justifyContent:"center"},children:r.jsx(w,{data:{type:"azteccode",text:t}})}),r.jsx("h4",{children:"Aztec Code"}),r.jsx("small",{children:"2D Barcode"}),r.jsx("hr",{className:"my-4"}),r.jsx("div",{children:r.jsxs("ul",{children:[r.jsx("li",{children:"Mobile tickets and boarding passes"}),r.jsx("li",{children:"Train and bus ticketing"}),r.jsx("li",{children:"Mobile marketing"})]})}),r.jsx("hr",{className:"my-4"}),r.jsx(s,{variant:"solid",size:"xs",onClick:()=>u("aztec"),children:"Learn More"})]}),(a.length==0||a.length>0&&a.indexOf("maxicode")>-1)&&r.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6 h-full flex flex-col justify-between",children:[r.jsx("img",{src:`https://barcode.tec-it.com/barcode.ashx?data=${encodeURIComponent(t)}&code=Maxicode&translate-esc=false`,className:"w-[75%] mx-auto mb-4",alt:"Maxi Code"}),r.jsx("h4",{children:"Maxi Code"}),r.jsx("small",{children:"2D Barcode"}),r.jsx("hr",{className:"my-4"}),r.jsx("div",{children:r.jsxs("ul",{children:[r.jsx("li",{children:"Package and shipping labels (used by UPS and other couriers)"}),r.jsx("li",{children:"Tracking systems in logistics"})]})}),r.jsx("hr",{className:"my-4"}),r.jsx(s,{variant:"solid",size:"xs",children:"Learn More"})]}),(a.length==0||a.length>0&&a.indexOf("codabar")>-1)&&r.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6 h-full flex flex-col justify-between",children:[r.jsx("div",{className:"w-[75%] mx-auto mb-4",style:{display:"flex",justifyContent:"center"},children:r.jsx(_e,{data:{type:"codabar",text:t}})}),r.jsx("h4",{children:"Codabar Code"}),r.jsx("small",{children:"1D Barcode"}),r.jsx("hr",{className:"my-4"}),r.jsx("div",{children:r.jsxs("ul",{children:[r.jsx("li",{children:"Blood banks"}),r.jsx("li",{children:"Libraries"}),r.jsx("li",{children:"Package shipping and tracking"})]})}),r.jsx("hr",{className:"my-4"}),r.jsx(s,{onClick:()=>u("coda"),variant:"solid",size:"xs",children:"Learn More"})]}),(a.length==0||a.length>0&&a.indexOf("microqr")>-1)&&r.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6 h-full flex flex-col justify-between",children:[r.jsx("div",{className:"w-[75%] mx-auto mb-4",style:{display:"flex",justifyContent:"center"},children:r.jsx(w,{data:{type:"qrcode",text:t}})}),r.jsx("h4",{children:"QR Code Micro"}),r.jsx("small",{children:"Micro QR Code"}),r.jsx("hr",{className:"my-4"}),r.jsx("div",{children:r.jsxs("ul",{children:[r.jsx("li",{children:"Small packaging, such as electronics or cosmetics"}),r.jsx("li",{children:"Industrial equipment where space is limited"})]})}),r.jsx("hr",{className:"my-4"}),r.jsx(s,{onClick:()=>u("qrmicro"),variant:"solid",size:"xs",children:"Learn More"})]}),(a.length==0||a.length>0&&a.indexOf("isbn")>-1)&&r.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6 h-full flex flex-col justify-between",children:[r.jsx("img",{src:"/img/codes/code-isbn.jpg",className:"w-[75%] mx-auto mb-4",alt:"ISBN Barcode"}),r.jsx("div",{className:"w-[75%] mx-auto mb-4",style:{display:"flex",justifyContent:"center"},children:r.jsx(_e,{data:{type:"EAN13",text:t}})}),r.jsx("h4",{children:"ISBN Barcode"}),r.jsx("small",{children:"Bookland EAN"}),r.jsx("hr",{className:"my-4"}),r.jsx("div",{children:r.jsxs("ul",{children:[r.jsx("li",{children:"Bookstore product identification and retail"}),r.jsx("li",{children:"Library and book tracking"})]})}),r.jsx("hr",{className:"my-4"}),r.jsx(s,{onClick:()=>u("isbn"),variant:"solid",size:"xs",children:"Learn More"})]}),(a.length==0||a.length>0&&a.indexOf("interleaved2of5")>-1)&&r.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6 h-full flex flex-col justify-between",children:[r.jsx("div",{className:"w-[75%] mx-auto mb-4",style:{display:"flex",justifyContent:"center"},children:r.jsx(w,{data:{type:"interleaved2of5",text:t}})}),r.jsx("h4",{children:"Interleaved 2 of 5"}),r.jsx("small",{children:"1D Barcode"}),r.jsx("hr",{className:"my-4"}),r.jsx("div",{children:r.jsxs("ul",{children:[r.jsx("li",{children:"Warehouse inventory management"}),r.jsx("li",{children:"Retail logistics"}),r.jsx("li",{children:"Manufacturing and packaging"})]})}),r.jsx("hr",{className:"my-4"}),r.jsx(s,{onClick:()=>u("inter"),variant:"solid",size:"xs",children:"Learn More"})]}),(a.length==0||a.length>0&&a.indexOf("gs1-128")>-1)&&r.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6 h-full flex flex-col justify-between",children:[r.jsx("div",{className:"w-[75%] mx-auto mb-4",style:{display:"flex",justifyContent:"center"},children:r.jsx(_e,{data:{type:"gs1-128",text:"ñ"+t}})}),r.jsx("h4",{children:"EAN-128"}),r.jsx("small",{children:"Also known as GS1-128"}),r.jsx("hr",{className:"my-4"}),r.jsx("div",{children:r.jsxs("ul",{children:[r.jsx("li",{children:"Retail packaging"}),r.jsx("li",{children:"Shipping and logistics"}),r.jsx("li",{children:"Global supply chains (e.g., GS1 standards)"})]})}),r.jsx("hr",{className:"my-4"}),r.jsx(s,{onClick:()=>u("ean"),variant:"solid",size:"xs",children:"Learn More"})]})]})}),r.jsx(x,{title:"Comparison Chart",isOpen:l==="comparison",onClose:()=>c(null),portalClassName:"w90",children:r.jsxs("table",{className:"comparison w-full",children:[r.jsx("thead",{children:r.jsxs("tr",{className:"text-left",children:[r.jsx("th",{children:r.jsx("b",{children:"Format"})}),r.jsx("th",{children:r.jsx("b",{children:"Data Capacity"})}),r.jsx("th",{children:r.jsx("b",{children:"Pros"})}),r.jsx("th",{children:r.jsx("b",{children:"Cons"})}),r.jsx("th",{children:r.jsx("b",{children:"Typical Use"})})]})}),r.jsxs("tbody",{children:[r.jsxs("tr",{children:[r.jsx("td",{children:"UPC‑A / UPC‑E"}),r.jsx("td",{children:"6–12 digits"}),r.jsx("td",{children:"Ubiquitous retail, fast scanning"}),r.jsx("td",{children:"Numeric only, limited data"}),r.jsx("td",{children:"Product barcodes, POS"})]}),r.jsxs("tr",{children:[r.jsx("td",{children:"EAN‑13 / EAN‑8"}),r.jsx("td",{children:"8–13 digits"}),r.jsx("td",{children:"International standard, compact"}),r.jsx("td",{children:"Numeric only"}),r.jsx("td",{children:"Global retail product labeling"})]}),r.jsxs("tr",{children:[r.jsx("td",{children:"Code 128 / GS1‑128"}),r.jsx("td",{children:"Up to ~48 symbols"}),r.jsx("td",{children:"High‐density, GS1 data support"}),r.jsx("td",{children:"Slightly longer for mixed data"}),r.jsx("td",{children:"Logistics, shipping, lot tracking"})]}),r.jsxs("tr",{children:[r.jsx("td",{children:"Code 39"}),r.jsx("td",{children:"~43 chars"}),r.jsx("td",{children:"Simple, human‐readable"}),r.jsx("td",{children:"Low density"}),r.jsx("td",{children:"Industrial, military tagging"})]}),r.jsxs("tr",{children:[r.jsx("td",{children:"DataBar Expanded"}),r.jsx("td",{children:"~74 chars"}),r.jsx("td",{children:"Compact GTIN + attribute data"}),r.jsx("td",{children:"Needs imaging scanners"}),r.jsx("td",{children:"Coupons, fresh produce, healthcare"})]}),r.jsxs("tr",{children:[r.jsx("td",{children:"QR Code (Model 2)"}),r.jsx("td",{children:"≤7,089 numbers"}),r.jsx("td",{children:"High capacity, mobile-friendly scanning"}),r.jsx("td",{children:"Requires camera/imaging"}),r.jsx("td",{children:"Marketing, tickets, vCards"})]}),r.jsxs("tr",{children:[r.jsx("td",{children:"Micro QR"}),r.jsx("td",{children:"~35 chars"}),r.jsx("td",{children:"Minimal size"}),r.jsx("td",{children:"Very limited capacity"}),r.jsx("td",{children:"Tiny packaging codes"})]}),r.jsxs("tr",{children:[r.jsx("td",{children:"iQR Code"}),r.jsx("td",{children:"~40,000 numbers"}),r.jsx("td",{children:"Rectangular, high density, error resilience"}),r.jsx("td",{children:"Proprietary format"}),r.jsx("td",{children:"Industrial labels, narrow spaces"})]}),r.jsxs("tr",{children:[r.jsx("td",{children:"SQRC"}),r.jsx("td",{children:"Similar to QR"}),r.jsx("td",{children:"Secure/encrypted data"}),r.jsx("td",{children:"Limited tool support"}),r.jsx("td",{children:"Secure internal passes"})]}),r.jsxs("tr",{children:[r.jsx("td",{children:"FrameQR / HCC2D"}),r.jsx("td",{children:"Varies"}),r.jsx("td",{children:"Supports logo/embed, high visual appeal"}),r.jsx("td",{children:"Experimental, less supported"}),r.jsx("td",{children:"Promotional/branding campaigns"})]}),r.jsxs("tr",{children:[r.jsx("td",{children:"Data Matrix"}),r.jsx("td",{children:"~thousands"}),r.jsx("td",{children:"Very dense, small footprint, robust"}),r.jsx("td",{children:"Requires imaging scanners"}),r.jsx("td",{children:"Microelectronics, pharmaceuticals"})]}),r.jsxs("tr",{children:[r.jsx("td",{children:"PDF417"}),r.jsx("td",{children:"~1 KB"}),r.jsx("td",{children:"Encodes large documents, certificates"}),r.jsx("td",{children:"Bullseye footprint, slower scans"}),r.jsx("td",{children:"IDs, boarding passes, credentials"})]}),r.jsxs("tr",{children:[r.jsx("td",{children:"DotCode"}),r.jsx("td",{children:"~300 alphanumeric"}),r.jsx("td",{children:"Industrial marking, error resilience"}),r.jsx("td",{children:"Niche usage"}),r.jsx("td",{children:"High-speed industrial encoding"})]})]})]})}),r.jsx(x,{title:"QR Code",isOpen:l==="qr",onClose:()=>c(null),portalClassName:"w50",children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"codeItem grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 gap-5",children:[r.jsxs("div",{children:[r.jsx("h5",{children:"Character Limit:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Numeric: Up to 7,089 characters"}),r.jsx("li",{children:"Alphanumeric: Up to 4,296 characters"}),r.jsx("li",{children:"Binary (8-bit): Up to 2,953 bytes"}),r.jsx("li",{children:"Kanji: Up to 1,817 characters"})]}),r.jsx("h5",{children:"Advantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"High storage capacity compared to traditional barcodes"}),r.jsx("li",{children:"Can encode different data types like text, URLs, contact information, etc."}),r.jsx("li",{children:"Can be scanned quickly from a variety of angles (360° scanning)"}),r.jsx("li",{children:"Can store much more data than barcodes (e.g., website links, Wi-Fi information)"}),r.jsx("li",{children:"Can be used for both small and large data applications"})]}),r.jsx("h5",{children:"Disadvantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Larger physical size compared to traditional barcodes for the same data"}),r.jsx("li",{children:"Requires higher-quality printing to ensure readability"}),r.jsx("li",{children:"Not universally supported by all devices or apps (especially in older devices)"})]}),r.jsx("h5",{children:"Applications:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Product tracking and inventory management"}),r.jsx("li",{children:"Marketing (e.g., linking to websites or promotions)"}),r.jsx("li",{children:"Payment systems (e.g., mobile wallet QR codes)"}),r.jsx("li",{children:"Business cards (digital information sharing)"})]})]}),r.jsx("div",{children:r.jsx("img",{src:"/img/codes/code-qr.jpg",className:"w-[75%] mx-auto mb-4",alt:"QR Code"})})]})})}),r.jsx(x,{title:"1D Barcode",isOpen:l==="1d",onClose:()=>c(null),portalClassName:"w50",children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"codeItem grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 gap-5",children:[r.jsxs("div",{children:[r.jsx("h5",{children:"Character Limit:"}),r.jsx("ul",{children:r.jsx("li",{children:"Typically 20-25 characters, depending on the barcode type and data encoding."})}),r.jsx("h5",{children:"Common Types:"}),r.jsxs("ul",{children:[r.jsxs("li",{children:[r.jsx("strong",{children:"UPC (Universal Product Code):"})," Standard in retail for product identification (12 characters)."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"EAN (European Article Number):"})," Similar to UPC but used more globally (13 characters)."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Code 39:"})," 43 characters maximum (letters, numbers, and a few special characters)."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Code 128:"})," Up to 128 characters, including ASCII characters."]})]}),r.jsx("h5",{children:"Advantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Simple and easy to implement"}),r.jsx("li",{children:"Low cost for printing and scanning"}),r.jsx("li",{children:"Supported by a wide range of devices and systems"}),r.jsx("li",{children:"Ideal for smaller amounts of data"})]}),r.jsx("h5",{children:"Disadvantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Limited data storage (compared to 2D barcodes like QR codes)"}),r.jsx("li",{children:"Requires line-of-sight scanning (can be slower or less efficient in certain environments)"}),r.jsx("li",{children:"Cannot store diverse data types like QR codes (e.g., URLs or contact information)"})]}),r.jsx("h5",{children:"Applications:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Retail product identification (UPC/EAN)"}),r.jsx("li",{children:"Inventory management"}),r.jsx("li",{children:"Shipping and logistics (Code 128)"}),r.jsx("li",{children:"Asset management"})]})]}),r.jsx("div",{children:r.jsx("img",{src:"/img/codes/code-1d.jpg",className:"w-[75%] mx-auto mb-4",alt:"QR Code"})})]})})}),r.jsx(x,{title:"Data Matrix Code",isOpen:l==="matrix",onClose:()=>c(null),portalClassName:"w50",children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"codeItem grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 gap-5",children:[r.jsxs("div",{children:[r.jsx("h5",{children:"Character Limit:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Numeric: Up to 3,116 characters"}),r.jsx("li",{children:"Alphanumeric: Up to 2,335 characters"}),r.jsx("li",{children:"Binary (8-bit): Up to 1,556 bytes"})]}),r.jsx("h5",{children:"Advantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"High data density (can store more data than traditional barcodes)"}),r.jsx("li",{children:"Scans well even if damaged or printed at a small size"}),r.jsx("li",{children:"Compact and highly efficient, can encode small amounts of data in a tiny space"})]}),r.jsx("h5",{children:"Disadvantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Limited by the physical size of the printed code (requires high-quality printing)"}),r.jsx("li",{children:"May not be supported by all older scanning systems"})]}),r.jsx("h5",{children:"Applications:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Electronics and small product packaging"}),r.jsx("li",{children:"Manufacturing and industrial asset tracking"}),r.jsx("li",{children:"Medical devices and pharmaceuticals (due to compact size)"})]})]}),r.jsx("div",{children:r.jsx("img",{src:"/img/codes/code-datamatix.jpg",className:"w-[75%] mx-auto mb-4",alt:"QR Code"})})]})})}),r.jsx(x,{title:"PDF417",isOpen:l==="pdf",onClose:()=>c(null),portalClassName:"w50",children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"codeItem grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 gap-5",children:[r.jsxs("div",{children:[r.jsx("h5",{children:"Character Limit:"}),r.jsx("ul",{children:r.jsx("li",{children:"Can store up to 1,850 alphanumeric characters."})}),r.jsx("h5",{children:"Advantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Can store large amounts of data (compared to 1D barcodes)"}),r.jsx("li",{children:"Can encode both text and binary data"}),r.jsx("li",{children:"Error correction capability (can still be read even if part of the code is damaged)"})]}),r.jsx("h5",{children:"Disadvantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Larger than QR or Data Matrix codes, requiring more space"}),r.jsx("li",{children:"More complex to generate and scan compared to 1D barcodes"})]}),r.jsx("h5",{children:"Applications:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Transport and logistics (e.g., airline boarding passes, shipping labels)"}),r.jsx("li",{children:"ID cards (e.g., driver’s licenses, government IDs)"}),r.jsx("li",{children:"Document management (e.g., archiving)"})]})]}),r.jsx("div",{children:r.jsx("img",{src:"/img/codes/code-pdf417.jpg",className:"w-[75%] mx-auto mb-4",alt:"QR Code"})})]})})}),r.jsx(x,{title:"Aztec Code",isOpen:l==="aztec",onClose:()=>c(null),portalClassName:"w50",children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"codeItem grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 gap-5",children:[r.jsxs("div",{children:[r.jsx("h5",{children:"Character Limit:"}),r.jsx("ul",{children:r.jsx("li",{children:"Up to 3,832 characters (alphanumeric)"})}),r.jsx("h5",{children:"Advantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Very compact (ideal for small spaces like mobile phone screens or ticketing)"}),r.jsx("li",{children:"High data density and fast scanning"}),r.jsx("li",{children:"Can be read even with partial damage or poor-quality printing"})]}),r.jsx("h5",{children:"Disadvantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Not as widely recognized or supported as QR codes or UPCs"}),r.jsx("li",{children:"May require higher-resolution scanners for effective reading"})]}),r.jsx("h5",{children:"Applications:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Mobile tickets and boarding passes"}),r.jsx("li",{children:"Train and bus ticketing"}),r.jsx("li",{children:"Mobile marketing"})]})]}),r.jsx("div",{children:r.jsx("img",{src:"/img/codes/code-aztec.jpg",className:"w-[75%] mx-auto mb-4",alt:"QR Code"})})]})})}),r.jsx(x,{title:"Maxi Code",isOpen:l==="maxi",onClose:()=>c(null),portalClassName:"w50",children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"codeItem grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 gap-5",children:[r.jsxs("div",{children:[r.jsx("h5",{children:"Character Limit:"}),r.jsx("ul",{children:r.jsx("li",{children:"Up to 93 characters (alphanumeric)"})}),r.jsx("h5",{children:"Advantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Primarily used in logistics and shipping"}),r.jsx("li",{children:"Can store information such as tracking numbers"}),r.jsx("li",{children:"Works well under harsh environmental conditions (e.g., damaged or dirty)"})]}),r.jsx("h5",{children:"Disadvantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Not as commonly used in non-logistics applications"}),r.jsx("li",{children:"Limited support in consumer applications"})]}),r.jsx("h5",{children:"Applications:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Package and shipping labels (used by UPS and other couriers)"}),r.jsx("li",{children:"Tracking systems in logistics"})]})]}),r.jsx("div",{children:r.jsx("img",{src:"/img/codes/code-maxi.jpg",className:"w-[75%] mx-auto mb-4",alt:"QR Code"})})]})})}),r.jsx(x,{title:"Codabar Code",isOpen:l==="coda",onClose:()=>c(null),portalClassName:"w50",children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"codeItem grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 gap-5",children:[r.jsxs("div",{children:[r.jsx("h5",{children:"Character Limit:"}),r.jsx("ul",{children:r.jsx("li",{children:"Up to 16 characters"})}),r.jsx("h5",{children:"Advantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Simple and widely used in specific industries"}),r.jsx("li",{children:"Can encode numbers, letters, and a few symbols"}),r.jsx("li",{children:"High read accuracy"})]}),r.jsx("h5",{children:"Disadvantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Limited character set and data capacity"}),r.jsx("li",{children:"Less secure than more advanced formats like QR codes"})]}),r.jsx("h5",{children:"Applications:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Blood banks"}),r.jsx("li",{children:"Libraries"}),r.jsx("li",{children:"Package shipping and tracking"})]})]}),r.jsx("div",{children:r.jsx("img",{src:"/img/codes/code-codebar.jpg",className:"w-[75%] mx-auto mb-4",alt:"QR Code"})})]})})}),r.jsx(x,{title:"QR MICRO Code",isOpen:l==="qrmicro",onClose:()=>c(null),portalClassName:"w50",children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"codeItem grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 gap-5",children:[r.jsxs("div",{children:[r.jsx("h5",{children:"Character Limit:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Numeric: Up to 35 characters"}),r.jsx("li",{children:"Alphanumeric: Up to 25 characters"}),r.jsx("li",{children:"Binary (8-bit): Up to 17 bytes"})]}),r.jsx("h5",{children:"Advantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Smaller than standard QR codes, ideal for space-limited applications"}),r.jsx("li",{children:"Maintains the same high-speed scanning properties of full QR codes"})]}),r.jsx("h5",{children:"Disadvantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Much lower data capacity than standard QR codes"}),r.jsx("li",{children:"Not as commonly supported as regular QR codes"})]}),r.jsx("h5",{children:"Applications:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Small packaging, such as electronics or cosmetics"}),r.jsx("li",{children:"Industrial equipment where space is limited"})]})]}),r.jsx("div",{children:r.jsx("img",{src:"/img/codes/code-qrmicro.jpg",className:"w-[75%] mx-auto mb-4",alt:"QR Code"})})]})})}),r.jsx(x,{title:"ISBN Code",isOpen:l==="isbn",onClose:()=>c(null),portalClassName:"w50",children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"codeItem grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 gap-5",children:[r.jsxs("div",{children:[r.jsx("h5",{children:"Character Limit:"}),r.jsx("ul",{children:r.jsx("li",{children:"13 digits (Standard ISBN format for books)"})}),r.jsx("h5",{children:"Advantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Universal standard for identifying books"}),r.jsx("li",{children:"EAN format supports global recognition and tracking"})]}),r.jsx("h5",{children:"Disadvantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Limited to books and related materials"}),r.jsx("li",{children:"Can only represent numeric data"})]}),r.jsx("h5",{children:"Applications:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Bookstore product identification and retail"}),r.jsx("li",{children:"Library and book tracking"})]})]}),r.jsx("div",{children:r.jsx("img",{src:"/img/codes/code-isbn.jpg",className:"w-[75%] mx-auto mb-4",alt:"QR Code"})})]})})}),r.jsx(x,{title:"Interleaved 2 of 5",isOpen:l==="inter",onClose:()=>c(null),portalClassName:"w50",children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"codeItem grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 gap-5",children:[r.jsxs("div",{children:[r.jsx("h5",{children:"Character Limit:"}),r.jsx("ul",{children:r.jsx("li",{children:"Can encode numeric data in pairs (e.g., 2, 4, 6, 8 digits)"})}),r.jsx("h5",{children:"Advantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Efficient for encoding large quantities of numbers (in pairs)"}),r.jsx("li",{children:"High-density barcode for numeric data"})]}),r.jsx("h5",{children:"Disadvantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Cannot encode alphabetic or special characters"}),r.jsx("li",{children:"Relatively bulky when encoding larger numbers"})]}),r.jsx("h5",{children:"Applications:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Warehouse inventory management"}),r.jsx("li",{children:"Retail logistics"}),r.jsx("li",{children:"Manufacturing and packaging"})]})]}),r.jsx("div",{children:r.jsx("img",{src:"/img/codes/code-interlieved.jpg",className:"w-[75%] mx-auto mb-4",alt:"QR Code"})})]})})}),r.jsx(x,{title:"EAN-128",isOpen:l==="ean",onClose:()=>c(null),portalClassName:"w50",children:r.jsx(r.Fragment,{children:r.jsxs("div",{className:"codeItem grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 gap-5",children:[r.jsxs("div",{children:[r.jsx("h5",{children:"Character Limit:"}),r.jsx("ul",{children:r.jsx("li",{children:"Variable length, can encode up to 48 characters (alphanumeric, including special characters)"})}),r.jsx("h5",{children:"Advantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Standard used for shipping and packaging labels"}),r.jsx("li",{children:"Flexible and highly customizable for use with different product types"}),r.jsx("li",{children:"Supports both product and shipment data"})]}),r.jsx("h5",{children:"Disadvantages:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Complex to set up due to the GS1 specifications"}),r.jsx("li",{children:"Requires specialized scanners to read"})]}),r.jsx("h5",{children:"Applications:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"Retail packaging"}),r.jsx("li",{children:"Shipping and logistics"}),r.jsx("li",{children:"Global supply chains (e.g., GS1 standards)"})]})]}),r.jsx("div",{children:r.jsx("img",{src:"/img/codes/code-ean128.jpg",className:"w-[75%] mx-auto mb-4",alt:"QR Code"})})]})})})]})};export{bc as default};
@@ -1 +0,0 @@
1
- import{j as e}from"./vendor-mui-69397583.js";import{c as u}from"./vendor-react-ece1c85f.js";import{V as f}from"./Views-74429e81.js";import{l as m,h as s,d as c,m as p,s as i}from"./index-c62ac197.js";import{D as C}from"./Drawer-949c18c6.js";import{w as j,S as w}from"./SidePanelContent-6b13836f.js";import"./vendor-pdf-b2a5d8b1.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-devex-33a39e11.js";import"./vendor-i18n-2fcb1983.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-eccea5d1.js";import"./Switcher-c8648037.js";import"./index-ec2010d2.js";import"./index-6b6d0f06.js";import"./useControllableState-d0909575.js";import"./DoubleSidedImage-ae98733b.js";const g=l=>{const r=m(),{className:a,...o}=l,d=s(t=>t.theme.panelExpand),x=s(t=>t.theme.direction),h=()=>{r(i(!0))},n=()=>{r(i(!1));const t=document.body.classList;t.contains("drawer-lock-scroll")&&t.remove("drawer-lock-scroll","drawer-open")};return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:c("text-2xl",a),onClick:h,...o,children:e.jsx(p,{})}),e.jsx(C,{title:"Theme Config",isOpen:d,placement:x==="rtl"?"left":"right",portalClassName:"w30",onClose:n,onRequestClose:n,children:e.jsx(w,{callBackClose:n})})]})},k=j(g),v=()=>{const l=m(),r=s(o=>o.theme.themeColor),a=s(o=>o.theme.primaryColorLevel);return e.jsx("div",{className:c("fixed ltr:right-0 rtl:left-0 top-96 p-3 ltr:rounded-tl-md ltr:rounded-bl-md rtl:rounded-tr-md rtl:rounded-br-md text-white text-xl cursor-pointer select-none",`bg-${r}-${a}`),onClick:()=>{l(i(!0))},children:e.jsx(p,{})})},y=()=>e.jsxs("div",{className:"app-layout-blank flex flex-auto flex-col h-[100vh]",children:[e.jsx(f,{}),e.jsx(v,{}),e.jsx(k,{className:"hidden"})]}),I=u.memo(y);export{I as default};