@xframework-ca-test/cli 1.0.33 → 1.0.34
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.
- package/dist/ui/assets/AIVision-0025192f.js +4 -0
- package/dist/ui/assets/AccountDetails-42610e44.js +1 -0
- package/dist/ui/assets/AccountDetails-5b4cd3f7.js +1 -0
- package/dist/ui/assets/AccountServices-f68f471d.js +1 -0
- package/dist/ui/assets/AccountsList-262479cf.js +1 -0
- package/dist/ui/assets/ActionLink-9db8b1c2.js +1 -0
- package/dist/ui/assets/AdaptableCard-3d1e1f96.js +1 -0
- package/dist/ui/assets/AddAccount-2cd72664.js +1 -0
- package/dist/ui/assets/AddEditFile-6ae10d57.js +1 -0
- package/dist/ui/assets/AddEditTranslation-3812ff0f.js +1 -0
- package/dist/ui/assets/AiApiLogList-1eac39b7.js +1 -0
- package/dist/ui/assets/AiCa-2e90495f.js +1 -0
- package/dist/ui/assets/Alert-59d09a99.js +1 -0
- package/dist/ui/assets/ApiService-df126758.js +1 -0
- package/dist/ui/assets/AppLandingPage-afcea727.js +4 -0
- package/dist/ui/assets/AuditLogsList-ea37686b.js +1 -0
- package/dist/ui/assets/Auth0Callback-00729568.js +1 -0
- package/dist/ui/assets/BarCodes-4ff49536.js +1 -0
- package/dist/ui/assets/BlankLayout-7085ab88.js +1 -0
- package/dist/ui/assets/{BrainServices-a4bb698e.js → BrainServices-4cb93af5.js} +1 -1
- package/dist/ui/assets/CalendarList-689ed66a.js +2 -0
- package/dist/ui/assets/CalendarList-f4a9aa21.css +8 -0
- package/dist/ui/assets/CategoryList-a6d01041.js +1 -0
- package/dist/ui/assets/CategoryList-c03f4259.js +1 -0
- package/dist/ui/assets/ChatContainer-fec7b84d.js +1 -0
- package/dist/ui/assets/ChatsList-4b3194e4.js +1 -0
- package/dist/ui/assets/Check-af681a30.js +1 -0
- package/dist/ui/assets/CheckInVideo-aa9f50b2.js +6 -0
- package/dist/ui/assets/ClassicLayout-a9866742.js +2 -0
- package/dist/ui/assets/CompanyList-94119d71.js +1 -0
- package/dist/ui/assets/{CompanyService-1bf7c3c8.js → CompanyService-491a9cc1.js} +1 -1
- package/dist/ui/assets/{Component-59e4c14b.js → Component-566d01e0.js} +1 -1
- package/dist/ui/assets/ConfirmDialog-2838a642.js +1 -0
- package/dist/ui/assets/ContactDetails-c9dc0ed1.js +1 -0
- package/dist/ui/assets/{ContactService-92281a90.js → ContactService-8afcaeb7.js} +1 -1
- package/dist/ui/assets/ContactsList-5b06c9b8.js +1 -0
- package/dist/ui/assets/CountiesList-18b23cf7.js +1 -0
- package/dist/ui/assets/CountyDetails-ea024f14.js +1 -0
- package/dist/ui/assets/CourseDetails-8a5f8d63.js +1 -0
- package/dist/ui/assets/CourseList-3564fec3.js +1 -0
- package/dist/ui/assets/{CourseService-f0dc3bf1.js → CourseService-29ad460c.js} +1 -1
- package/dist/ui/assets/CreateSignature-c22e4a71.js +7 -0
- package/dist/ui/assets/{CustomerInfoField-fff65ace.js → CustomerInfoField-4bf880e2.js} +1 -1
- package/dist/ui/assets/DeckedLayout-610fe851.js +1 -0
- package/dist/ui/assets/DensitySelector-5d2e901f.js +1 -0
- package/dist/ui/assets/{DepartmentServices-3d56a9e7.js → DepartmentServices-a53e998b.js} +1 -1
- package/dist/ui/assets/{DigitalSignature-fff42e33.js → DigitalSignature-69eaf80c.js} +1 -1
- package/dist/ui/assets/{DocumemtManagementService-6501a5c1.js → DocumemtManagementService-85cde51a.js} +1 -1
- package/dist/ui/assets/DocumentActivity-bc938c61.js +1 -0
- package/dist/ui/assets/DocumentLayout-a12982d7.js +1 -0
- package/dist/ui/assets/DocumentList2-9c8c6284.js +23 -0
- package/dist/ui/assets/DocumentLists-1cdaae06.js +1 -0
- package/dist/ui/assets/DocumentUserSigned-f7371fc5.js +7 -0
- package/dist/ui/assets/DocumentsList-3b25907c.js +1 -0
- package/dist/ui/assets/DoubleSidedImage-b4bd3915.js +1 -0
- package/dist/ui/assets/{Drawer-949c18c6.js → Drawer-4f97e662.js} +1 -1
- package/dist/ui/assets/DynamicDashboard-0a41d287.js +1 -0
- package/dist/ui/assets/{DynamicTablesService-963fe77b.js → DynamicTablesService-6aa57f52.js} +1 -1
- package/dist/ui/assets/EditAccount-e42d66af.js +1 -0
- package/dist/ui/assets/EditLead-c8c9760a.js +1 -0
- package/dist/ui/assets/FaqItems-25d66543.js +6 -0
- package/dist/ui/assets/{FileManagementServices-25fd64c5.js → FileManagementServices-19b47568.js} +1 -1
- package/dist/ui/assets/{FolderOpen-88bfcc74.js → FolderOpen-7b0e2ac0.js} +1 -1
- package/dist/ui/assets/FormContainer-9a52b9e8.js +1 -0
- package/dist/ui/assets/{GeneralSettings-a7f805e8.js → GeneralSettings-c8c2f051.js} +5 -5
- package/dist/ui/assets/GenericPage-81e41302.js +1 -0
- package/dist/ui/assets/GridMapDetails-38f50b3c.js +1 -0
- package/dist/ui/assets/HorizontalMenuContent-fd559f4d.js +1 -0
- package/dist/ui/assets/{ImportFile-3f60d715.js → ImportFile-026b1771.js} +1 -1
- package/dist/ui/assets/{InlineSignaturePad-09c06619.js → InlineSignaturePad-f5630151.js} +1 -1
- package/dist/ui/assets/InvoicesList-9723bc5a.js +1 -0
- package/dist/ui/assets/{KeyVaultService-874d83fe.js → KeyVaultService-9608f0ff.js} +1 -1
- package/dist/ui/assets/LeadDetails-8cdaae0e.js +1 -0
- package/dist/ui/assets/{LeadSourceService-e46fa85e.js → LeadSourceService-cf71ea64.js} +1 -1
- package/dist/ui/assets/LeadsList-1ec20a77.js +1 -0
- package/dist/ui/assets/Logo-dd6f7656.js +1 -0
- package/dist/ui/assets/MapView-dcab88b3.js +1 -0
- package/dist/ui/assets/MarketingPage-998d10b0.js +4 -0
- package/dist/ui/assets/MenuNew-79fc95f3.js +1 -0
- package/dist/ui/assets/{MenuTable-c2c65021.js → MenuTable-f69e0fe4.js} +1 -1
- package/dist/ui/assets/MessageInput-07fcc5cb.js +21 -0
- package/dist/ui/assets/MessagesList-21d2b034.js +1 -0
- package/dist/ui/assets/ModernLayout-05af7cf7.js +1 -0
- package/dist/ui/assets/{NoData-8c485a3a.js → NoData-4cc4af03.js} +1 -1
- package/dist/ui/assets/Notify-8fb74d48.js +1 -0
- package/dist/ui/assets/OpportunitiesList-2f96958f.js +1 -0
- package/dist/ui/assets/OpportunityDetails-aaec3200.js +1 -0
- package/dist/ui/assets/{OpportunityServices-fa4fabfd.js → OpportunityServices-c4510dd2.js} +1 -1
- package/dist/ui/assets/OpportunityStatus-ea3b5ee2.js +1 -0
- package/dist/ui/assets/PageBreadcrumb-cf54a6e9.js +1 -0
- package/dist/ui/assets/{Password-d9294711.js → Password-21414dc6.js} +1 -1
- package/dist/ui/assets/PasswordInput-333c82ca.js +1 -0
- package/dist/ui/assets/{PreferenceService-75bf9db6.js → PreferenceService-d2b3e003.js} +1 -1
- package/dist/ui/assets/Profile-8c9fd2fc.js +1 -0
- package/dist/ui/assets/{ReportEditor-8880f57e.js → ReportEditor-4e4f6d53.js} +3 -3
- package/dist/ui/assets/{ReportViewer-9f1080f7.js → ReportViewer-616d3cfc.js} +30 -30
- package/dist/ui/assets/RoleEdit-a076ea85.js +1 -0
- package/dist/ui/assets/RoleForm-47691f91.js +1 -0
- package/dist/ui/assets/{RoleNew-49fadb16.js → RoleNew-e86a1513.js} +1 -1
- package/dist/ui/assets/{RoleService-7008da2c.js → RoleService-2f9ed883.js} +1 -1
- package/dist/ui/assets/ScheduleCycle-0ae23631.js +1 -0
- package/dist/ui/assets/{ScheduleService-7228f0a3.js → ScheduleService-41a88c41.js} +1 -1
- package/dist/ui/assets/ScreenList-8f58150b.js +1 -0
- package/dist/ui/assets/Settings-fc91c9d2.js +2 -0
- package/dist/ui/assets/{SetupWizard-4172e377.js → SetupWizard-d1363582.js} +1 -1
- package/dist/ui/assets/SimpleLayout-77cfb778.js +1 -0
- package/dist/ui/assets/StackedSideLayout-2f1ee9d1.js +1 -0
- package/dist/ui/assets/StickyFooter-3e569b80.js +1 -0
- package/dist/ui/assets/SupportRequets-0ecd4ab8.js +1 -0
- package/dist/ui/assets/{Switcher-c8648037.js → Switcher-e2fba588.js} +1 -1
- package/dist/ui/assets/TimeLogApprovalDataList-7b49a432.js +1 -0
- package/dist/ui/assets/TimeLogApprovalList-78cab2b6.js +1 -0
- package/dist/ui/assets/TimeLogList-592b29aa.js +1 -0
- package/dist/ui/assets/{TimeLogService-cd7b2f61.js → TimeLogService-83166cbc.js} +1 -1
- package/dist/ui/assets/TimesheetsList-d1520efb.js +1 -0
- package/dist/ui/assets/TranslationList-88d7d5d7.js +1 -0
- package/dist/ui/assets/TweaksPanel-bc10bc47.js +112 -0
- package/dist/ui/assets/{Upload-fb34ce03.js → Upload-be937eb6.js} +4 -4
- package/dist/ui/assets/UserEdit-1f8208f3.js +1 -0
- package/dist/ui/assets/UserForm-e9b56aff.js +1 -0
- package/dist/ui/assets/{UserNew-b36c342c.js → UserNew-31fa258f.js} +1 -1
- package/dist/ui/assets/{UserService-047aef51.js → UserService-1b93ceb0.js} +1 -1
- package/dist/ui/assets/ViewTimeLogForApproval-ae077050.js +1 -0
- package/dist/ui/assets/Views-1359da48.js +1 -0
- package/dist/ui/assets/WelcomeList-dc8666ec.js +9 -0
- package/dist/ui/assets/WidgetLayoutsService-49730609.js +1 -0
- package/dist/ui/assets/{WrapperCell-a7981b07.js → WrapperCell-3d5592cf.js} +1 -1
- package/dist/ui/assets/actioncell-6b5ebd6c.js +1 -0
- package/dist/ui/assets/{ar-3c9c213e.js → ar-fb4f0ea8.js} +1 -1
- package/dist/ui/assets/calendarList-ac838a86.js +2 -0
- package/dist/ui/assets/{cjs-162261df.js → cjs-998de55c.js} +1 -1
- package/dist/ui/assets/createSvgIcon-aba65987.js +1 -0
- package/dist/ui/assets/documentsList-4e2e061e.js +1 -0
- package/dist/ui/assets/{es-be649ede.js → es-cd58d3ad.js} +1 -1
- package/dist/ui/assets/{esm-f306d015.js → esm-c40433f8.js} +1 -1
- package/dist/ui/assets/gridList-e1571c87.js +1 -0
- package/dist/ui/assets/gridMapTable-d95f9c70.js +1 -0
- package/dist/ui/assets/{index-f6be0390.js → index-00a8eb64.js} +1 -1
- package/dist/ui/assets/index-04438b6b.js +22 -0
- package/dist/ui/assets/index-058738bc.js +1 -0
- package/dist/ui/assets/{index-e4c6057f.js → index-0b08ce18.js} +1 -1
- package/dist/ui/assets/index-0d730815.js +4 -0
- package/dist/ui/assets/index-0efcf53a.js +1 -0
- package/dist/ui/assets/index-0f432250.js +1 -0
- package/dist/ui/assets/{index-cebd880b.js → index-0fd6e996.js} +1 -1
- package/dist/ui/assets/{index-49a94e54.js → index-11297f4a.js} +1 -1
- package/dist/ui/assets/index-14c1c1d7.js +1 -0
- package/dist/ui/assets/index-15e1f4be.js +1 -0
- package/dist/ui/assets/index-16586c21.js +1 -0
- package/dist/ui/assets/index-19346c14.js +1 -0
- package/dist/ui/assets/{index-16bb10a6.js → index-1dc2b9d2.js} +1 -1
- package/dist/ui/assets/index-211fbe21.js +1 -0
- package/dist/ui/assets/index-23e16bff.js +1 -0
- package/dist/ui/assets/index-27aef8b5.js +1 -0
- package/dist/ui/assets/{index-36228db5.js → index-289b3fd9.js} +1 -1
- package/dist/ui/assets/{index-a22a3546.js → index-2dae59b1.js} +1 -1
- package/dist/ui/assets/index-353fd6dd.js +1 -0
- package/dist/ui/assets/{index-ea125a16.js → index-359d245d.js} +1 -1
- package/dist/ui/assets/{index-c62ac197.js → index-3b5ce20a.js} +70 -62
- package/dist/ui/assets/index-3b929ba4.js +34 -0
- package/dist/ui/assets/index-42e3a337.js +1 -0
- package/dist/ui/assets/index-44b6de3a.js +1 -0
- package/dist/ui/assets/index-46d3ca9a.js +7 -0
- package/dist/ui/assets/{index-e3cc723f.js → index-49016ad0.js} +1 -1
- package/dist/ui/assets/index-51132258.js +1 -0
- package/dist/ui/assets/{index-dc103f22.js → index-52963879.js} +1 -1
- package/dist/ui/assets/{index-fcc1c999.js → index-533fd007.js} +1 -1
- package/dist/ui/assets/index-59ec468b.js +13 -0
- package/dist/ui/assets/index-5e2d5279.js +1 -0
- package/dist/ui/assets/{index-d17da176.js → index-62f95885.js} +1 -1
- package/dist/ui/assets/index-659c6412.js +1 -0
- package/dist/ui/assets/index-6873dfc3.js +1 -0
- package/dist/ui/assets/index-69a68d9e.js +1 -0
- package/dist/ui/assets/index-6a6902c7.js +1 -0
- package/dist/ui/assets/index-7596c6bb.js +1 -0
- package/dist/ui/assets/{index-47dcc43a.js → index-8045c5f0.js} +1 -1
- package/dist/ui/assets/{index-b028e652.js → index-8677acd1.js} +1 -1
- package/dist/ui/assets/{index-42e65911.js → index-88c52b97.js} +1 -1
- package/dist/ui/assets/index-89cfefab.js +1 -0
- package/dist/ui/assets/{index-bea4c3dc.js → index-8c0643fd.js} +1 -1
- package/dist/ui/assets/index-8d5b6a1f.js +1 -0
- package/dist/ui/assets/index-8d5d70f9.js +1 -0
- package/dist/ui/assets/{index-9b41371d.js → index-91505016.js} +1 -1
- package/dist/ui/assets/{index-ffc00dbb.js → index-92314073.js} +1 -1
- package/dist/ui/assets/index-985cf3f6.js +1 -0
- package/dist/ui/assets/index-a14e51de.js +1 -0
- package/dist/ui/assets/index-a733f80b.js +1 -0
- package/dist/ui/assets/index-a84d5808.js +1 -0
- package/dist/ui/assets/index-acac6006.js +1 -0
- package/dist/ui/assets/index-b0ef7ac3.js +1 -0
- package/dist/ui/assets/index-b6ef5984.js +1 -0
- package/dist/ui/assets/{index-fc9071e0.js → index-bd4edda3.js} +1 -1
- package/dist/ui/assets/{index-0ec72c4b.js → index-c29b8474.js} +1 -1
- package/dist/ui/assets/index-c88c7790.js +19 -0
- package/dist/ui/assets/index-ce89a95e.css +7 -0
- package/dist/ui/assets/index-d221d69e.js +1 -0
- package/dist/ui/assets/{index-f1576468.js → index-d33facae.js} +1 -1
- package/dist/ui/assets/index-e46c57a5.js +1 -0
- package/dist/ui/assets/index-e863817c.js +1 -0
- package/dist/ui/assets/index-f4af2342.js +1 -0
- package/dist/ui/assets/{index-77e820d0.js → index-fc9f8c4b.js} +1 -1
- package/dist/ui/assets/{index-ec2010d2.js → index-ff23edc5.js} +1 -1
- package/dist/ui/assets/{index.esm-70ab539c.js → index.esm-b2d342b5.js} +1 -1
- package/dist/ui/assets/liveLocation-8e0bb2f3.js +1 -0
- package/dist/ui/assets/{mapView-ab35acaa.js → mapView-c8063ed6.js} +1 -1
- package/dist/ui/assets/modeuls-setup-4b06843c.js +1 -0
- package/dist/ui/assets/{permissionHoc-6f787658.js → permissionHoc-0818bfb0.js} +1 -1
- package/dist/ui/assets/{react-21134174.js → react-12ddbe48.js} +1 -1
- package/dist/ui/assets/{react-4d5dc208.js → react-61e0b284.js} +1 -1
- package/dist/ui/assets/{strongPassword-bbec776a.js → strongPassword-6bc8786f.js} +1 -1
- package/dist/ui/assets/{styles-0608350c.js → styles-b7ae7bf6.js} +1 -1
- package/dist/ui/assets/{tableV2-4d1c9fd2.js → tableV2-99c808c0.js} +1 -1
- package/dist/ui/assets/tableV3-24eed052.js +1 -0
- package/dist/ui/assets/ticketRequestDetails-8b299fbd.js +1 -0
- package/dist/ui/assets/{useDidUpdate-25c4d4ed.js → useDidUpdate-de319a18.js} +1 -1
- package/dist/ui/assets/{useDrop-02b0e5d7.js → useDrop-8f0d11a7.js} +1 -1
- package/dist/ui/assets/useFilteredData-e8fad668.js +1 -0
- package/dist/ui/assets/{usePermission-d94b4984.js → usePermission-4689548c.js} +1 -1
- package/dist/ui/assets/{vendor-charts-eccea5d1.js → vendor-charts-4be0b5ab.js} +1 -1
- package/dist/ui/assets/{vendor-codemirror-c8203b49.js → vendor-codemirror-1a1216c9.js} +11 -11
- package/dist/ui/assets/{vendor-devex-33a39e11.js → vendor-devex-4076ffeb.js} +2 -2
- package/dist/ui/assets/{vendor-excel-ee8fc4e5.js → vendor-excel-3b3553df.js} +1 -1
- package/dist/ui/assets/{vendor-i18n-2fcb1983.js → vendor-i18n-b89304ef.js} +1 -1
- package/dist/ui/assets/vendor-mui-98daa63f.js +185 -0
- package/dist/ui/assets/{vendor-pdf-b2a5d8b1.js → vendor-pdf-3c29882d.js} +1 -1
- package/dist/ui/assets/withHeaderItem-df2cc5d9.js +1 -0
- package/dist/ui/assets/{zh-cn-1881e930.js → zh-cn-13c6c696.js} +1 -1
- package/dist/ui/config.js +16 -20
- package/dist/ui/index.html +9 -9
- package/dist/ui/manifest.json +2 -2
- package/index.bundle.js +22 -8
- package/package.json +1 -1
- package/dist/ui/assets/AIVision-4f515575.js +0 -4
- package/dist/ui/assets/AccountDetails-2b42d262.js +0 -1
- package/dist/ui/assets/AccountDetails-492dee8f.js +0 -1
- package/dist/ui/assets/AccountServices-62599aae.js +0 -1
- package/dist/ui/assets/AccountsList-fe7cb5f9.js +0 -1
- package/dist/ui/assets/ActionLink-33e476e1.js +0 -1
- package/dist/ui/assets/AdaptableCard-df7695d6.js +0 -1
- package/dist/ui/assets/AddAccount-a05910e8.js +0 -1
- package/dist/ui/assets/AddEditFile-063c229b.js +0 -1
- package/dist/ui/assets/AddEditTranslation-43beae49.js +0 -1
- package/dist/ui/assets/AiApiLogList-a488921d.js +0 -1
- package/dist/ui/assets/AiCa-9c1b25b2.js +0 -1
- package/dist/ui/assets/Alert-7dfbd254.js +0 -1
- package/dist/ui/assets/ApiService-2b99757f.js +0 -1
- package/dist/ui/assets/AppLandingPage-3956cf0c.js +0 -4
- package/dist/ui/assets/AuditLogsList-7a2ce37d.js +0 -1
- package/dist/ui/assets/Auth0Callback-b943f19f.js +0 -1
- package/dist/ui/assets/BarCodes-17ed5da4.js +0 -1
- package/dist/ui/assets/BlankLayout-2f6e1153.js +0 -1
- package/dist/ui/assets/CalendarList-25834ddb.css +0 -11
- package/dist/ui/assets/CalendarList-72739043.js +0 -2
- package/dist/ui/assets/CategoryList-9f82e9a3.js +0 -1
- package/dist/ui/assets/CategoryList-c97891e7.js +0 -1
- package/dist/ui/assets/ChatContainer-4a38b179.js +0 -1
- package/dist/ui/assets/ChatsList-6c2c3e2f.js +0 -1
- package/dist/ui/assets/Check-71f21a49.js +0 -1
- package/dist/ui/assets/CheckInVideo-cb5fa9a2.js +0 -6
- package/dist/ui/assets/ClassicLayout-7d09e5ac.js +0 -1
- package/dist/ui/assets/CompanyList-9532f511.js +0 -1
- package/dist/ui/assets/ConfirmDialog-3202eb3d.js +0 -1
- package/dist/ui/assets/ContactDetails-3b70919b.js +0 -1
- package/dist/ui/assets/ContactsList-e9ac0fa3.js +0 -1
- package/dist/ui/assets/CountiesList-6ad338a5.js +0 -1
- package/dist/ui/assets/CountyDetails-22d4bc89.js +0 -1
- package/dist/ui/assets/CourseDetails-18040b49.js +0 -1
- package/dist/ui/assets/CourseList-e502f89d.js +0 -1
- package/dist/ui/assets/CreateSignature-375d191b.js +0 -7
- package/dist/ui/assets/DeckedLayout-909ac220.js +0 -1
- package/dist/ui/assets/DensitySelector-a2c1c68f.js +0 -1
- package/dist/ui/assets/DocumentActivity-d63dacec.js +0 -1
- package/dist/ui/assets/DocumentLayout-637075fd.js +0 -1
- package/dist/ui/assets/DocumentList2-518d2fa4.js +0 -23
- package/dist/ui/assets/DocumentLists-2da9ff88.js +0 -1
- package/dist/ui/assets/DocumentUserSigned-27bfa6e6.js +0 -7
- package/dist/ui/assets/DocumentsList-9f56db71.js +0 -1
- package/dist/ui/assets/DoubleSidedImage-ae98733b.js +0 -1
- package/dist/ui/assets/DynamicDashboard-6f177244.js +0 -1
- package/dist/ui/assets/EditAccount-1c1a8318.js +0 -1
- package/dist/ui/assets/EditLead-cc38d2a2.js +0 -1
- package/dist/ui/assets/FaqItems-c1c85af7.js +0 -6
- package/dist/ui/assets/FormContainer-91c2b0e4.js +0 -1
- package/dist/ui/assets/GenericPage-25a5d92a.js +0 -1
- package/dist/ui/assets/GridMapDetails-851a5781.js +0 -1
- package/dist/ui/assets/HorizontalMenuContent-96da38e1.js +0 -1
- package/dist/ui/assets/InvoicesList-8e66a112.js +0 -1
- package/dist/ui/assets/LeadDetails-ad63b3df.js +0 -1
- package/dist/ui/assets/LeadsList-bd7d9804.js +0 -1
- package/dist/ui/assets/Logo-3f3c9ee6.js +0 -1
- package/dist/ui/assets/MapView-afd1c913.js +0 -1
- package/dist/ui/assets/MarketingPage-89a860b1.js +0 -4
- package/dist/ui/assets/MenuEdit-d6e0d64c.js +0 -1
- package/dist/ui/assets/MessageInput-6dc83761.js +0 -21
- package/dist/ui/assets/MessagesList-966b69c5.js +0 -1
- package/dist/ui/assets/ModernLayout-03f30574.js +0 -1
- package/dist/ui/assets/Notify-bb3ce372.js +0 -1
- package/dist/ui/assets/OpportunitiesList-62eb34f6.js +0 -1
- package/dist/ui/assets/OpportunityDetails-356a8580.js +0 -1
- package/dist/ui/assets/OpportunityStatus-fa8108ea.js +0 -1
- package/dist/ui/assets/PasswordInput-8619a9df.js +0 -1
- package/dist/ui/assets/Profile-9104808b.js +0 -1
- package/dist/ui/assets/RoleEdit-98a6410b.js +0 -1
- package/dist/ui/assets/RoleForm-cc251eba.js +0 -1
- package/dist/ui/assets/ScheduleCycle-22c8e809.js +0 -1
- package/dist/ui/assets/ScreenList-9f7afa1c.js +0 -1
- package/dist/ui/assets/SidePanelContent-6b13836f.js +0 -1
- package/dist/ui/assets/SimpleLayout-d5445c0d.js +0 -2
- package/dist/ui/assets/StackedSideLayout-51127dc5.js +0 -1
- package/dist/ui/assets/StickyFooter-5b934274.js +0 -1
- package/dist/ui/assets/SupportRequets-be6542a9.js +0 -1
- package/dist/ui/assets/TimeLogApprovalDataList-c16d8bae.js +0 -1
- package/dist/ui/assets/TimeLogApprovalList-f6a75a20.js +0 -1
- package/dist/ui/assets/TimeLogList-ea288cce.js +0 -1
- package/dist/ui/assets/TimesheetsList-4a20e96c.js +0 -1
- package/dist/ui/assets/TranslationList-7a989333.js +0 -1
- package/dist/ui/assets/UserEdit-87262ea5.js +0 -1
- package/dist/ui/assets/UserForm-31fdd3b3.js +0 -1
- package/dist/ui/assets/ViewTimeLogForApproval-43b24a1a.js +0 -1
- package/dist/ui/assets/Views-74429e81.js +0 -1
- package/dist/ui/assets/WelcomeList-6c693eae.js +0 -9
- package/dist/ui/assets/actioncell-17e12e21.js +0 -1
- package/dist/ui/assets/calendarList-511b4d8f.js +0 -2
- package/dist/ui/assets/createSvgIcon-c5fc0d04.js +0 -1
- package/dist/ui/assets/documentsList-ac2c91ec.js +0 -1
- package/dist/ui/assets/dxicons-4c1b2089.ttf +0 -0
- package/dist/ui/assets/dxicons-ade3c9ed.woff2 +0 -0
- package/dist/ui/assets/dxicons-b4cd1226.woff +0 -0
- package/dist/ui/assets/gridList-cb9a14b1.js +0 -1
- package/dist/ui/assets/gridMapTable-c19770a8.js +0 -1
- package/dist/ui/assets/index-1d60e514.js +0 -1
- package/dist/ui/assets/index-26466d9d.js +0 -1
- package/dist/ui/assets/index-289cfedb.js +0 -1
- package/dist/ui/assets/index-2ce5b358.js +0 -1
- package/dist/ui/assets/index-307ce6d7.js +0 -1
- package/dist/ui/assets/index-36ba4ea7.js +0 -1
- package/dist/ui/assets/index-3f02e05a.js +0 -1
- package/dist/ui/assets/index-44662933.js +0 -13
- package/dist/ui/assets/index-51ee35f9.js +0 -1
- package/dist/ui/assets/index-54372d82.js +0 -1
- package/dist/ui/assets/index-569a9d2c.js +0 -1
- package/dist/ui/assets/index-62de659f.js +0 -13
- package/dist/ui/assets/index-6589dd2d.js +0 -1
- package/dist/ui/assets/index-6b6d0f06.js +0 -1
- package/dist/ui/assets/index-6c618440.js +0 -1
- package/dist/ui/assets/index-785ad361.js +0 -1
- package/dist/ui/assets/index-7df8779c.js +0 -1
- package/dist/ui/assets/index-82c9477e.js +0 -1
- package/dist/ui/assets/index-8ab45286.js +0 -1
- package/dist/ui/assets/index-8c229076.css +0 -7
- package/dist/ui/assets/index-a205cfed.js +0 -34
- package/dist/ui/assets/index-a23f9c87.js +0 -1
- package/dist/ui/assets/index-a455424a.js +0 -1
- package/dist/ui/assets/index-a4f78ee1.js +0 -1
- package/dist/ui/assets/index-aaad94c2.js +0 -1
- package/dist/ui/assets/index-b1b6b0f6.js +0 -1
- package/dist/ui/assets/index-c1f92742.js +0 -4
- package/dist/ui/assets/index-c2088808.js +0 -1
- package/dist/ui/assets/index-cbc29fa8.js +0 -1
- package/dist/ui/assets/index-cd2b7d32.js +0 -1
- package/dist/ui/assets/index-cf3804f1.js +0 -19
- package/dist/ui/assets/index-d0ef2cc2.js +0 -1
- package/dist/ui/assets/index-d1145737.js +0 -7
- package/dist/ui/assets/index-d58fb185.js +0 -1
- package/dist/ui/assets/index-d5b5a7e1.js +0 -1
- package/dist/ui/assets/index-daeff047.js +0 -1
- package/dist/ui/assets/index-ded3b055.js +0 -1
- package/dist/ui/assets/index-ede23a2b.js +0 -1
- package/dist/ui/assets/index-f8144346.js +0 -1
- package/dist/ui/assets/index-fd68b510.js +0 -1
- package/dist/ui/assets/index-fe3409ae.js +0 -1
- package/dist/ui/assets/liveLocation-646eef95.js +0 -1
- package/dist/ui/assets/modeuls-setup-402f891e.js +0 -1
- package/dist/ui/assets/tableV3-3d2f4952.js +0 -1
- package/dist/ui/assets/ticketRequestDetails-f78147f7.js +0 -1
- package/dist/ui/assets/vendor-mui-69397583.js +0 -185
- package/dist/ui/menudata/menus.json +0 -606
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{j as e}from"./vendor-mui-98daa63f.js";import{r as j}from"./vendor-react-ece1c85f.js";import{L}from"./Logo-dd6f7656.js";import"./index-3b5ce20a.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-pdf-3c29882d.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";const p=({name:t,size:s=18,stroke:i=1.8})=>{const r={width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:i,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 flex flex-col",style:{height:200},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:"var(--custom-600)"}}),"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",className:"flex-1 w-full",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:"var(--custom-600)",stopOpacity:"0.32"}),e.jsx("stop",{offset:"1",stopColor:"var(--custom-600)",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:"var(--custom-600)",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(p,{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(p,{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, color-mix(in oklab, var(--custom-600) 18%, transparent), 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(p,{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, var(--custom-600) 0%, var(--custom-500) 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(p,{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(p,{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))})]})}),B=[{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"]}],C=()=>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:B.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(p,{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",o="#646464",l="var(--custom-600)",g="#16A34A",F=()=>e.jsxs("div",{className:"flex flex-col h-full",children:[e.jsxs("div",{className:"flex items-center",style:{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":o},children:t},t)),e.jsx("span",{className:"flex-1"}),e.jsx("span",{className:"inline-flex items-center",style:{gap:6,fontSize:11,fontWeight:700,background:f,color:l,padding:"4px 10px",borderRadius:999},children:"⌘B"})]}),e.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr",gap:14},children:[e.jsxs("div",{className:"relative",style:{border:`1.5px solid ${l}`,borderRadius:14,padding:22,background:`linear-gradient(180deg, ${f}, #fff)`},children:[e.jsx("div",{className:"absolute",style:{top:14,right:14,fontSize:10,fontWeight:700,background:l,color:"#fff",padding:"3px 10px",borderRadius:999},children:"Most used"}),e.jsx("div",{className:"grid",style:{width:40,height:40,borderRadius:10,background:l,color:"#fff",placeItems:"center",marginBottom:16},children:e.jsx(p,{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:o,margin:"0 0 14px",lineHeight:1.5},children:"A focused screen — table, form, detail or workflow."}),e.jsx("div",{className:"flex flex-wrap",style:{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",{className:"grid",style:{width:40,height:40,borderRadius:10,background:a,color:l,placeItems:"center",marginBottom:16},children:e.jsx(p,{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:o,margin:"0 0 14px",lineHeight:1.5},children:"Live grid of widgets that auto-refresh."}),e.jsx("div",{className:"flex flex-wrap",style:{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",{className:"flex justify-between items-center",style:{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:l,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,i,r])=>e.jsxs("div",{className:"flex items-center",style:{gap:10,padding:"8px 0",borderTop:`1px solid ${d}`},children:[e.jsx("div",{className:"grid",style:{width:26,height:26,borderRadius:6,background:"#fff",placeItems:"center",color:l},children:e.jsx(p,{name:t,size:14})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{style:{fontSize:12,fontWeight:700,color:a},children:s}),e.jsx("div",{style:{fontSize:10,color:o},children:i})]}),e.jsx("div",{style:{fontSize:10,color:o},children:r})]},s))]})]}),D=()=>e.jsxs("div",{className:"grid h-full",style:{gridTemplateColumns:"200px 1fr",gap:14},children:[e.jsx("div",{className:"flex flex-col",style:{background:h,borderRadius:12,padding:14,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:o,textTransform:"uppercase",letterSpacing:"0.08em",padding:"8px 10px 4px"},children:t}),s.map(([i,r,c])=>e.jsxs("div",{className:"flex items-center",style:{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",{className:"grid",style:{width:22,height:22,borderRadius:5,background:c?l:"#fff",placeItems:"center",color:c?"#fff":l},children:e.jsx(p,{name:i,size:12})}),r]},r))]},t))}),e.jsxs("div",{className:"flex flex-col",style:{background:"#fff",border:`2px dashed ${d}`,borderRadius:12,padding:16,gap:10},children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{style:{fontSize:13,fontWeight:900,color:a},children:"Driver Performance · canvas"}),e.jsx("span",{style:{fontSize:11,color:o,fontWeight:700},children:"auto-pack: ON"})]}),e.jsx("div",{className:"grid",style:{background:f,border:"1px solid color-mix(in oklab, var(--custom-600) 20%, transparent)",borderRadius:10,padding:14,gridTemplateColumns:"repeat(3,1fr)",gap:10},children:[["On-time","94.6%","▲ 2.4"],["Avg idle","18m","▼ 6m"],["Routes","142","▲ 8"]].map(([t,s,i])=>e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:9,color:o,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:g,fontWeight:700},children:i})]},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",{className:"grid items-center",style:{gridTemplateColumns:"1fr 60px 60px 50px",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:o},children:["R-0",s+1]}),e.jsx("span",{style:{color:s===2?"#E8A33A":g,fontWeight:700},children:s===2?"Idle":"On route"}),e.jsxs("span",{className:"text-right",style:{fontWeight:700,color:a},children:[[98,95,82,99][s],"%"]})]},t))]}),e.jsx("div",{className:"text-center",style:{border:`2px dashed ${l}`,background:f,color:l,fontWeight:700,padding:28,fontSize:13,borderRadius:10},children:"+ Drop 'Graph' here"})]})]}),W=()=>e.jsxs("div",{className:"grid h-full",style:{gridTemplateColumns:"1.1fr 1fr",gap:14},children:[e.jsx("div",{className:"overflow-hidden",style:{background:h,borderRadius:12,padding:18},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",{className:"flex flex-col",style:{gap:6,marginBottom:14},children:[e.jsx("label",{style:{fontSize:11,fontWeight:700,color:o,textTransform:"uppercase",letterSpacing:"0.06em"},children:t.label}),t.type==="input"&&e.jsx("div",{className:"flex items-center",style:{background:"#fff",border:`1px solid ${l}`,borderRadius:8,padding:"8px 12px",fontSize:13,color:a,fontWeight:500,boxShadow:"0 0 0 3px color-mix(in oklab, var(--custom-600) 15%, transparent)"},children:t.value}),t.type==="seg"&&e.jsx("div",{className:"flex",style:{background:"#fff",border:`1px solid ${d}`,borderRadius:8,padding:3},children:t.opts.map(s=>e.jsx("button",{className:"flex-1 cursor-pointer",style:{fontSize:11,fontWeight:700,padding:"6px 8px",background:s===t.active?a:"transparent",border:0,borderRadius:6,color:s===t.active?"#fff":o},children:s},s))}),t.type==="chips"&&e.jsx("div",{className:"flex flex-wrap",style:{gap:6},children:t.opts.map(s=>{var i,r,c;return e.jsx("span",{style:{fontSize:11,fontWeight:700,padding:"4px 10px",borderRadius:999,background:(i=t.active)!=null&&i.includes(s)?l:"#fff",border:`1px solid ${(r=t.active)!=null&&r.includes(s)?l:d}`,color:(c=t.active)!=null&&c.includes(s)?"#fff":"#333"},children:s},s)})})]},t.label))}),e.jsxs("div",{className:"flex flex-col",style:{background:"#fff",border:`1px solid ${d}`,borderRadius:12,padding:16},children:[e.jsxs("div",{className:"flex items-center",style:{fontSize:10,fontWeight:700,color:o,textTransform:"uppercase",letterSpacing:"0.08em",marginBottom:12,gap:8},children:[e.jsx("span",{style:{width:7,height:7,borderRadius:999,background:g,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",className:"w-full",style:{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?l:a},s))})]}),e.jsxs("div",{className:"grid",style:{marginTop:12,gridTemplateColumns:"1fr 1fr",gap:8},children:[e.jsxs("div",{style:{background:h,borderRadius:8,padding:10},children:[e.jsx("div",{style:{fontSize:9,color:o,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:o,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.06em"},children:"vs LY"}),e.jsx("div",{style:{fontSize:18,fontWeight:900,color:g,letterSpacing:"-0.02em"},children:"+18.2%"})]})]})]})]}),M=()=>e.jsxs("div",{className:"flex flex-col h-full",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:o,marginBottom:14},children:"9 native adapters. Schemas auto-introspect on connect."}),e.jsx("div",{className:"grid",style:{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,i,r])=>e.jsxs("div",{className:"flex flex-col items-center text-center relative",style:{background:r?f:"#fff",border:`1.5px solid ${r?l:d}`,borderRadius:10,padding:"12px 10px",gap:6,fontSize:11,fontWeight:700,color:a},children:[r&&e.jsx("span",{className:"absolute grid",style:{top:6,right:8,width:14,height:14,borderRadius:999,background:g,color:"#fff",fontSize:9,fontWeight:900,placeItems:"center"},children:"✓"}),e.jsx("div",{className:"grid",style:{width:32,height:32,borderRadius:8,background:t,placeItems:"center",fontWeight:900,fontSize:14,color:"#fff"},children:s}),i]},i))}),e.jsxs("div",{className:"flex-1",style:{background:a,color:"#fff",borderRadius:10,padding:16,fontFamily:"IBM Plex Mono, monospace",fontSize:12,lineHeight:1.7},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"}),";"]})]})]}),A=()=>e.jsxs("div",{className:"h-full flex flex-col",style:{gap:12},children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h4",{style:{fontWeight:900,fontSize:18,color:a,margin:0},children:"Operations · live"}),e.jsxs("span",{className:"flex items-center",style:{fontSize:11,color:g,fontWeight:700,gap:6},children:[e.jsx("i",{style:{width:7,height:7,background:g,borderRadius:999,boxShadow:"0 0 0 4px rgba(22,163,74,0.2)",display:"inline-block"}}),"auto · 5m"]})]}),e.jsxs("div",{className:"grid flex-1",style:{gridTemplateColumns:"repeat(4,1fr)",gridAutoRows:80,gap:10},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",{className:"flex flex-col",style:{background:t.dark?a:t.accent?f:"#fff",border:`1px solid ${t.dark?a:t.accent?"color-mix(in oklab, var(--custom-600) 20%, transparent)":d}`,borderRadius:10,padding:12},children:[e.jsx("div",{style:{fontSize:9,color:t.dark?"rgba(255,255,255,0.5)":o,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:g,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:o,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?l: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:o,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.06em"},children:"On-time trend"}),e.jsxs("svg",{viewBox:"0 0 200 90",className:"w-full",style:{marginTop:6},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:l,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:l,fillOpacity:"0.12"})]})]})]})]}),E=()=>e.jsxs("div",{className:"h-full flex flex-col",style:{gap:14},children:[e.jsx("div",{style:{fontWeight:900,fontSize:18,color:a},children:"Publish · production"}),e.jsx("div",{className:"grid",style:{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)":o,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",{className:"flex-1",style:{background:"#fff",border:`1px solid ${d}`,borderRadius:12,padding:14},children:[e.jsx("div",{style:{fontSize:11,fontWeight:700,color:o,textTransform:"uppercase",letterSpacing:"0.08em",marginBottom:6},children:"Roles & permissions"}),[{av:"BO",avBg:l,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:l}},{av:"MR",avBg:"#646464",name:"Maria Reyes",role:"Dispatch (East)",perm:"Viewer",permStyle:{background:"#E6F4EC",color:g}}].map((t,s)=>e.jsxs("div",{className:"flex items-center",style:{gap:10,padding:"8px 0",borderTop:s===0?"0":`1px solid ${d}`},children:[e.jsx("div",{className:"grid",style:{width:28,height:28,borderRadius:999,background:t.avBg,placeItems:"center",color:"#fff",fontSize:11,fontWeight:900},children:t.av}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{style:{fontSize:12,fontWeight:700,color:a},children:t.name}),e.jsx("div",{style:{fontSize:11,color:o},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:F},{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:W},{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:M},{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:A},{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:E}],P=()=>{const[t,s]=j.useState(0),[i,r]=j.useState(0),c=j.useRef([]),k=j.useRef(null);j.useEffect(()=>{const x=()=>{const n=window.innerHeight;let m=0,w=1/0;if(c.current.forEach((u,b)=>{if(!u)return;const y=u.getBoundingClientRect(),N=Math.abs(y.top+y.height/2-n*.45);N<w&&(w=N,m=b)}),s(m),k.current){const u=k.current.getBoundingClientRect(),b=u.height-n,y=Math.min(Math.max(-u.top,0),b);r(b>0?y/b:0)}};return x(),window.addEventListener("scroll",x,{passive:!0}),window.addEventListener("resize",x),()=>{window.removeEventListener("scroll",x),window.removeEventListener("resize",x)}},[]);const S=x=>{const n=c.current[x];n&&window.scrollTo({top:n.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:l,height:`${i*100}%`}})}),e.jsx("div",{className:"flex flex-col",children:v.map((x,n)=>e.jsxs("div",{ref:m=>{c.current[n]=m},className:"py-[60px] cursor-pointer transition-opacity duration-[400ms]",style:{borderTop:n===0?"0":"1px solid rgba(255,255,255,0.1)",opacity:t===n?1:.35},onClick:()=>S(n),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:x.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:l,width:t===n?"100%":"0%"}})}),e.jsxs("span",{style:{color:"rgba(255,255,255,0.4)"},children:[String(n+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:x.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:x.body}),e.jsx("div",{className:"flex gap-2 flex-wrap",children:x.tags.map(m=>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:m},m))})]},n))}),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:o,borderColor:d},children:[e.jsx("i",{className:"w-2.5 h-2.5 rounded-[2px] inline-block",style:{background:l}}),"xframework.app / step ",t+1," — ",v[t].n]})]}),e.jsx("div",{className:"relative overflow-hidden",style:{height:580-38},children:v.map((x,n)=>{const m=x.frame;return e.jsx("div",{className:"absolute inset-0 p-6 pointer-events-none transition-all duration-[400ms] overflow-hidden",style:{opacity:t===n?1:0,transform:t===n?"translateY(0)":"translateY(16px)",pointerEvents:t===n?"auto":"none"},children:e.jsx(m,{})},n)})})]})})]})]})})},I=[[["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",{className:"overflow-hidden",style:{background:"#0F0F0F",border:"1px solid rgba(255,255,255,0.08)",borderRadius:16,fontFamily:"IBM Plex Mono, monospace",fontSize:13},children:[e.jsxs("div",{className:"flex items-center",style:{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",{className:"cursor-pointer",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},children:"copy"})]}),e.jsx("pre",{className:"overflow-x-auto",style:{margin:0,padding:"20px 22px",lineHeight:1.75,color:"#C9D1D9",whiteSpace:"pre"},children:e.jsx("code",{children:I.map((t,s)=>e.jsx("div",{style:{minHeight:"1em"},children:t.length===0?" ":t.map(([i,r],c)=>i===" "?e.jsx("span",{children:r},c):e.jsx("span",{style:{color:O[i]??"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:"color-mix(in oklab, var(--custom-600) 16%, transparent)"},children:e.jsx(p,{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, color-mix(in oklab, var(--custom-600) 30%, transparent), 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(p,{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(p,{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 grid",style:{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:"#",className:"block",style:{fontSize:14,color:"rgba(255,255,255,0.85)",textDecoration:"none",padding:"4px 0"},onMouseEnter:i=>i.currentTarget.style.color=l,onMouseLeave:i=>i.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
|
+
`}),ie=()=>{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(C,{}),e.jsx(P,{}),e.jsx(G,{}),e.jsx(K,{}),e.jsx(Q,{onCta:t}),e.jsx(_,{})]})};export{ie as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as q,j as t,I as F}from"./vendor-mui-98daa63f.js";import{A as k}from"./AdaptableCard-3d1e1f96.js";import{r as c}from"./vendor-react-ece1c85f.js";import{b as B,c as O,a as Q}from"./vendor-redux-a1f00e6b.js";import{i as U}from"./AccountServices-f68f471d.js";import{_ as V,D as M,k as G,r as H,a0 as J,eQ as K,eR as W,ai as N}from"./index-3b5ce20a.js";import{P as X}from"./PageBreadcrumb-cf54a6e9.js";import"./Alert-59d09a99.js";import"./index-7596c6bb.js";import{c as Z}from"./index-a14e51de.js";import"./Drawer-4f97e662.js";import"./FormContainer-9a52b9e8.js";import"./Switcher-e2fba588.js";import"./index-289b3fd9.js";import"./Upload-be937eb6.js";import{I as ee}from"./index.es-d5c880b3.js";import{_ as te}from"./lodash-306e3f66.js";import{g as ae,r as se}from"./index-d221d69e.js";import{r as re}from"./createSvgIcon-aba65987.js";import"./vendor-pdf-3c29882d.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";import"./useControllableState-d0909575.js";import"./useDidUpdate-de319a18.js";import"./UserService-1b93ceb0.js";const Y="LogsData",ie={total:0,pageIndex:1,pageSize:10,query:"",sort:{order:"",key:""}},le={loading:!1,deleteConfirmation:!1,selectedRowData:"",tableData:ie,filterData:{dateRange:[null,null],activityType:""},AuditLog:[]},b=B(`${Y}/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 U(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}}),I=O({name:`${Y}`,initialState:le,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})}});I.actions;const oe=I.reducer,ne=Q({data:oe}),v=V;var A={},ce=q;Object.defineProperty(A,"__esModule",{value:!0});var $=A.default=void 0,de=ce(re()),ue=t;$=A.default=(0,de.default)((0,ue.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");M("users",se);M("LogsData",ne);const ze=()=>{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=ae({isActive:!0});l(e)},[]),c.useEffect(()=>{D(1),d(!0),S(1)},[o,f,n,r]);const _=()=>{const e=j+1;D(e),S(e)},E=()=>{D(1),d(!0),S(1)},w=c.useCallback(te.debounce(e=>{m(e)},1e3),[]);c.useEffect(()=>()=>{w.cancel()},[w]);const P=e=>{const s=e.target.value;h(s),w(s)},R=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.jsxs("div",{className:"topbar py-4 px-6 border-gray-200 border-b",children:[t.jsx(X,{items:[{label:"Settings"},{label:"Activity Logs"}]}),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 borderless",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(Z,{singleDate:!0,value:r,clearable:!1,onClose:z,onChange:R})}),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(J,{placeholder:"Search logs...",value:p,onChange:P,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(K,{}):t.jsx(W,{})})}),t.jsx("div",{children:t.jsx(F,{onClick:E,children:t.jsx($,{sx:{fontSize:20}})})})]})]}),t.jsx(k,{children:t.jsx("div",{className:"logs-list",id:"scrollableDiv",children:t.jsx(ee,{loader:t.jsx("p",{className:"text-center",children:"...loading"}),dataLength:a==null?void 0:a.length,next:_,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{ze as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./vendor-mui-98daa63f.js";import{f as l,r as s}from"./vendor-react-ece1c85f.js";import{u as m,Z as d,E as o,F as n}from"./index-3b5ce20a.js";import"./Alert-59d09a99.js";import"./index-7596c6bb.js";import"./index-a14e51de.js";import"./Drawer-4f97e662.js";import"./FormContainer-9a52b9e8.js";import"./Switcher-e2fba588.js";import"./index-289b3fd9.js";import"./Upload-be937eb6.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-pdf-3c29882d.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";import"./useControllableState-d0909575.js";import"./useDidUpdate-de319a18.js";const I=()=>{const i=l(),{signInExternal:p}=m(),[c,a]=s.useState(!1),r=new URLSearchParams(window.location.search).get("code");return s.useEffect(()=>{(async()=>{if(r){a(!0);try{const t=await p(4,r);(t==null?void 0:t.status)==="failed"&&(o.push(e.jsx(n,{title:"Login Failed",type:"danger",duration:5e3,children:t.message||"Sign-in failed. Please try again."}),{placement:"top-center"}),i("/sign-in")),a(!1)}catch{o.push(e.jsx(n,{title:"Login Failed",type:"danger",duration:3e3,children:"There was an issue signing in. Please try again."}),{placement:"top-center"}),i("/sign-in"),a(!1)}}else o.push(e.jsx(n,{title:"Error",type:"danger",duration:2500,children:"No authorization code provided."}),{placement:"top-center"}),i("/sign-in"),a(!1)})()},[r]),e.jsx("div",{children:e.jsx(d,{loading:c})})};export{I as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as r}from"./vendor-mui-98daa63f.js";import{A as zt}from"./AdaptableCard-3d1e1f96.js";import{P as Ut}from"./PageBreadcrumb-cf54a6e9.js";import"./Alert-59d09a99.js";import{a0 as qt,r as Ht,B as s}from"./index-3b5ce20a.js";import"./index-7596c6bb.js";import"./index-a14e51de.js";import{D as x}from"./Drawer-4f97e662.js";import{F as Xt}from"./FormContainer-9a52b9e8.js";import{r as _,g as Vt}from"./vendor-react-ece1c85f.js";import"./Switcher-e2fba588.js";import"./index-289b3fd9.js";import"./Upload-be937eb6.js";import{_ as Qt}from"./vendor-pdf-3c29882d.js";import{S as Wt}from"./StickyFooter-3e569b80.js";import{a as Jt}from"./index-0b08ce18.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";import"./useControllableState-d0909575.js";import"./useDidUpdate-de319a18.js";const w=t=>{const e=t.data,i=_.useRef();return _.useEffect(()=>{t&&Qt(()=>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 Yt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Kt=function t(e,i){Yt(this,t),this.data=e,this.text=i.text||e,this.options=i};f.default=Kt;Object.defineProperty(ee,"__esModule",{value:!0});ee.CODE39=void 0;var Zt=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}}(),en=f,tn=nn(en);function nn(t){return t&&t.__esModule?t:{default:t}}function rn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function an(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 on(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 ln=function(t){on(e,t);function e(i,n){return rn(this,e),i=i.toUpperCase(),n.mod43&&(i+=dn(sn(i))),an(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return Zt(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}(tn.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","-","."," ","$","/","+","%","*"],cn=[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 un(pt(t))}function un(t){return cn[t].toString(2)}function dn(t){return gt[t]}function pt(t){return gt.indexOf(t)}function sn(t){for(var e=0,i=0;i<t.length;i++)e+=pt(t[i]);return e=e%43,e}ee.CODE39=ln;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 fn=d.START_A=103,hn=d.START_B=104,vn=d.START_C=105;d.MODULO=103;d.STOP=106;d.FNC1=207;d.SET_BY_CODE=(L={},he(L,fn,_t),he(L,hn,mt),he(L,vn,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 xn=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}}(),gn=f,pn=_n(gn),g=d;function _n(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 yn(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 jn(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 bn=function(t){jn(e,t);function e(i,n){mn(this,e);var a=yn(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 xn(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}(pn.default);N.default=bn;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 On=N,En=wt(On),wn=Ee,Sn=wt(wn);function wt(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 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 Rn(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 An=function(t){Rn(e,t);function e(i,n){if($n(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(i))var a=ve(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,Sn.default)(i),n));else var a=ve(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n));return ve(a)}return e}(En.default);Oe.default=An;var Se={};Object.defineProperty(Se,"__esModule",{value:!0});var Cn=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}}(),Pn=N,kn=Mn(Pn),tt=d;function Mn(t){return t&&t.__esModule?t:{default:t}}function In(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(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 Tn(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 Dn=function(t){Tn(e,t);function e(i,n){return In(this,e),Nn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,tt.A_START_CHAR+i,n))}return Cn(e,[{key:"valid",value:function(){return new RegExp("^"+tt.A_CHARS+"+$").test(this.data)}}]),e}(kn.default);Se.default=Dn;var $e={};Object.defineProperty($e,"__esModule",{value:!0});var Bn=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}}(),Ln=N,Gn=Fn(Ln),nt=d;function Fn(t){return t&&t.__esModule?t:{default:t}}function zn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(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 qn(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 Hn=function(t){qn(e,t);function e(i,n){return zn(this,e),Un(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,nt.B_START_CHAR+i,n))}return Bn(e,[{key:"valid",value:function(){return new RegExp("^"+nt.B_CHARS+"+$").test(this.data)}}]),e}(Gn.default);$e.default=Hn;var Re={};Object.defineProperty(Re,"__esModule",{value:!0});var Xn=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}}(),Vn=N,Qn=Wn(Vn),rt=d;function Wn(t){return t&&t.__esModule?t:{default:t}}function Jn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yn(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 Kn(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 Zn=function(t){Kn(e,t);function e(i,n){return Jn(this,e),Yn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,rt.C_START_CHAR+i,n))}return Xn(e,[{key:"valid",value:function(){return new RegExp("^"+rt.C_CHARS+"+$").test(this.data)}}]),e}(Qn.default);Re.default=Zn;Object.defineProperty(j,"__esModule",{value:!0});j.CODE128C=j.CODE128B=j.CODE128A=j.CODE128=void 0;var er=Oe,tr=te(er),nr=Se,rr=te(nr),ir=$e,ar=te(ir),or=Re,lr=te(or);function te(t){return t&&t.__esModule?t:{default:t}}j.CODE128=tr.default;j.CODE128A=rr.default;j.CODE128B=ar.default;j.CODE128C=lr.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 cr=y,ur=function(e,i,n){var a=e.split("").map(function(l,c){return cr.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=ur;Object.defineProperty(ne,"__esModule",{value:!0});var dr=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,sr=$,it=St(sr),fr=f,hr=St(fr);function St(t){return t&&t.__esModule?t:{default:t}}function vr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xr(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 gr(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 pr=function(t){gr(e,t);function e(i,n){vr(this,e);var a=xr(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 dr(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}(hr.default);ne.default=pr;Object.defineProperty(Ae,"__esModule",{value:!0});var _r=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)}},mr=y,yr=ne,jr=br(yr);function br(t){return t&&t.__esModule?t:{default:t}}function Or(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Er(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 wr(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},Sr=function(t){wr(e,t);function e(i,n){Or(this,e),i.search(/^[0-9]{12}$/)!==-1&&(i+=at(i));var a=Er(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n));return a.lastChar=n.lastChar,a}return _r(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=mr.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}(jr.default);Ae.default=Sr;var Ce={};Object.defineProperty(Ce,"__esModule",{value:!0});var $r=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)}},Rr=ne,Ar=Cr(Rr);function Cr(t){return t&&t.__esModule?t:{default:t}}function Pr(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 Mr(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},Ir=function(t){Mr(e,t);function e(i,n){return Pr(this,e),i.search(/^[0-9]{7}$/)!==-1&&(i+=ot(i)),kr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return $r(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}(Ar.default);Ce.default=Ir;var Pe={};Object.defineProperty(Pe,"__esModule",{value:!0});var Nr=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}}(),Tr=y,Dr=$,Br=$t(Dr),Lr=f,Gr=$t(Lr);function $t(t){return t&&t.__esModule?t:{default:t}}function Fr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zr(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 Ur(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 qr=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},Hr=function(t){Ur(e,t);function e(i,n){return Fr(this,e),zr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return Nr(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var n=Tr.EAN5_STRUCTURE[qr(this.data)];return{data:"1011"+(0,Br.default)(this.data,n,"01"),text:this.text}}}]),e}(Gr.default);Pe.default=Hr;var ke={};Object.defineProperty(ke,"__esModule",{value:!0});var Xr=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}}(),Vr=y,Qr=$,Wr=Rt(Qr),Jr=f,Yr=Rt(Jr);function Rt(t){return t&&t.__esModule?t:{default:t}}function Kr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(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 ei(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 ti=function(t){ei(e,t);function e(i,n){return Kr(this,e),Zr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return Xr(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var n=Vr.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,Wr.default)(this.data,n,"01"),text:this.text}}}]),e}(Yr.default);ke.default=ti;var U={};Object.defineProperty(U,"__esModule",{value:!0});var ni=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 ri=$,P=At(ri),ii=f,ai=At(ii);function At(t){return t&&t.__esModule?t:{default:t}}function oi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function li(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 ci(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 ui=function(t){ci(e,t);function e(i,n){oi(this,e),i.search(/^[0-9]{11}$/)!==-1&&(i+=me(i));var a=li(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 ni(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}(ai.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=ui;var Me={};Object.defineProperty(Me,"__esModule",{value:!0});var di=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}}(),si=$,fi=Ct(si),hi=f,vi=Ct(hi),xi=U;function Ct(t){return t&&t.__esModule?t:{default:t}}function gi(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 pi(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 _i=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],mi=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],yi=function(t){pi(e,t);function e(i,n){gi(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 di(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=mi[parseInt(a)][parseInt(n)];return(0,fi.default)(this.middleDigits,o)}}]),e}(vi.default);function lt(t,e){for(var i=parseInt(t[t.length-1]),n=_i[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,xi.checksum)(a)}Me.default=yi;Object.defineProperty(h,"__esModule",{value:!0});h.UPCE=h.UPC=h.EAN2=h.EAN5=h.EAN8=h.EAN13=void 0;var ji=Ae,bi=T(ji),Oi=Ce,Ei=T(Oi),wi=Pe,Si=T(wi),$i=ke,Ri=T($i),Ai=U,Ci=T(Ai),Pi=Me,ki=T(Pi);function T(t){return t&&t.__esModule?t:{default:t}}h.EAN13=bi.default;h.EAN8=Ei.default;h.EAN5=Si.default;h.EAN2=Ri.default;h.UPC=Ci.default;h.UPCE=ki.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 Mi=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,Ii=f,Ni=Ti(Ii);function Ti(t){return t&&t.__esModule?t:{default:t}}function Di(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bi(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 Gi=function(t){Li(e,t);function e(){return Di(this,e),Bi(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return Mi(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}(Ni.default);re.default=Gi;var Ie={};Object.defineProperty(Ie,"__esModule",{value:!0});var Fi=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=re,Ui=qi(zi);function qi(t){return t&&t.__esModule?t:{default:t}}function Hi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xi(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 Vi(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},Qi=function(t){Vi(e,t);function e(i,n){return Hi(this,e),i.search(/^[0-9]{13}$/)!==-1&&(i+=ct(i)),Xi(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return Fi(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===ct(this.data)}}]),e}(Ui.default);Ie.default=Qi;Object.defineProperty(M,"__esModule",{value:!0});M.ITF14=M.ITF=void 0;var Wi=re,Ji=Pt(Wi),Yi=Ie,Ki=Pt(Yi);function Pt(t){return t&&t.__esModule?t:{default:t}}M.ITF=Ji.default;M.ITF14=Ki.default;var m={},R={};Object.defineProperty(R,"__esModule",{value:!0});var Zi=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}}(),ea=f,ta=na(ea);function na(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 ia(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 aa(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 oa=function(t){aa(e,t);function e(i,n){return ra(this,e),ia(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return Zi(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=la(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}(ta.default);function la(t,e){for(var i=0;i<e;i++)t="0"+t;return t}R.default=oa;var Ne={},A={};Object.defineProperty(A,"__esModule",{value:!0});A.mod10=ca;A.mod11=ua;function ca(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 ua(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 da=R,sa=ha(da),fa=A;function ha(t){return t&&t.__esModule?t:{default:t}}function va(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xa(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 ga(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){ga(e,t);function e(i,n){return va(this,e),xa(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i+(0,fa.mod10)(i),n))}return e}(sa.default);Ne.default=pa;var Te={};Object.defineProperty(Te,"__esModule",{value:!0});var _a=R,ma=ja(_a),ya=A;function ja(t){return t&&t.__esModule?t:{default:t}}function ba(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oa(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 Ea(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 wa=function(t){Ea(e,t);function e(i,n){return ba(this,e),Oa(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i+(0,ya.mod11)(i),n))}return e}(ma.default);Te.default=wa;var De={};Object.defineProperty(De,"__esModule",{value:!0});var Sa=R,$a=Ra(Sa),ut=A;function Ra(t){return t&&t.__esModule?t:{default:t}}function Aa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ca(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 Pa(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 ka=function(t){Pa(e,t);function e(i,n){return Aa(this,e),i+=(0,ut.mod10)(i),i+=(0,ut.mod10)(i),Ca(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return e}($a.default);De.default=ka;var Be={};Object.defineProperty(Be,"__esModule",{value:!0});var Ma=R,Ia=Na(Ma),dt=A;function Na(t){return t&&t.__esModule?t:{default:t}}function Ta(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Da(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 Ba(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 La=function(t){Ba(e,t);function e(i,n){return Ta(this,e),i+=(0,dt.mod11)(i),i+=(0,dt.mod10)(i),Da(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return e}(Ia.default);Be.default=La;Object.defineProperty(m,"__esModule",{value:!0});m.MSI1110=m.MSI1010=m.MSI11=m.MSI10=m.MSI=void 0;var Ga=R,Fa=H(Ga),za=Ne,Ua=H(za),qa=Te,Ha=H(qa),Xa=De,Va=H(Xa),Qa=Be,Wa=H(Qa);function H(t){return t&&t.__esModule?t:{default:t}}m.MSI=Fa.default;m.MSI10=Ua.default;m.MSI11=Ha.default;m.MSI1010=Va.default;m.MSI1110=Wa.default;var ie={};Object.defineProperty(ie,"__esModule",{value:!0});ie.pharmacode=void 0;var Ja=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}}(),Ya=f,Ka=Za(Ya);function Za(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 to(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 no(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 ro=function(t){no(e,t);function e(i,n){eo(this,e);var a=to(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n));return a.number=parseInt(i,10),a}return Ja(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}(Ka.default);ie.pharmacode=ro;var ae={};Object.defineProperty(ae,"__esModule",{value:!0});ae.codabar=void 0;var io=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}}(),ao=f,oo=lo(ao);function lo(t){return t&&t.__esModule?t:{default:t}}function co(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uo(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 fo=function(t){so(e,t);function e(i,n){co(this,e),i.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(i="A"+i+"A");var a=uo(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 io(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}(oo.default);ae.codabar=fo;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 ho=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,vo=f,xo=go(vo);function go(t){return t&&t.__esModule?t:{default:t}}function po(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _o(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 mo(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 yo=function(t){mo(e,t);function e(i,n){return po(this,e),_o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return ho(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}(xo.default);oe.default=yo;var Le={};Object.defineProperty(Le,"__esModule",{value:!0});var jo=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}}(),bo=oe,Oo=Eo(bo);function Eo(t){return t&&t.__esModule?t:{default:t}}function wo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function So(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 Ro=function(t){$o(e,t);function e(i,n){return wo(this,e),So(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return jo(e,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),e}(Oo.default);Le.default=Ro;Object.defineProperty(I,"__esModule",{value:!0});I.CODE93FullASCII=I.CODE93=void 0;var Ao=oe,Co=kt(Ao),Po=Le,ko=kt(Po);function kt(t){return t&&t.__esModule?t:{default:t}}I.CODE93=Co.default;I.CODE93FullASCII=ko.default;var le={};Object.defineProperty(le,"__esModule",{value:!0});le.GenericBarcode=void 0;var Mo=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,No=To(Io);function To(t){return t&&t.__esModule?t:{default:t}}function Do(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bo(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 Lo(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 Go=function(t){Lo(e,t);function e(i,n){return Do(this,e),Bo(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i,n))}return Mo(e,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e}(No.default);le.GenericBarcode=Go;Object.defineProperty(be,"__esModule",{value:!0});var Fo=ee,K=j,k=h,st=M,F=m,zo=ie,Uo=ae,ft=I,qo=le;be.default={CODE39:Fo.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:zo.pharmacode,codabar:Uo.codabar,CODE93:ft.CODE93,CODE93FullASCII:ft.CODE93FullASCII,GenericBarcode:qo.GenericBarcode};var D={};Object.defineProperty(D,"__esModule",{value:!0});var Ho=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 Ho({},t,e)};var Ge={};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.default=Xo;function Xo(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=Vo;function Vo(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=Qo;function Qo(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 Wo={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=Wo;Object.defineProperty(Ue,"__esModule",{value:!0});var Jo=ce,Yo=Mt(Jo),Ko=ue,ht=Mt(Ko);function Mt(t){return t&&t.__esModule?t:{default:t}}function Zo(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,Yo.default)(e),e}Ue.default=Zo;var qe={},He={},p={};Object.defineProperty(p,"__esModule",{value:!0});p.getTotalWidthOfEncodings=p.calculateEncodingAttributes=p.getBarcodePadding=p.getEncodingHeight=p.getMaximumHeightOfEncodings=void 0;var el=D,tl=nl(el);function nl(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 rl(t,e,i){for(var n=0;n<t.length;n++){var a=t[n],o=(0,tl.default)(e,a.options),l;o.displayValue?l=ol(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 il(t){for(var e=0,i=0;i<t.length;i++)e+=t[i].width;return e}function al(t){for(var e=0,i=0;i<t.length;i++)t[i].height>e&&(e=t[i].height);return e}function ol(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=al;p.getEncodingHeight=It;p.getBarcodePadding=Nt;p.calculateEncodingAttributes=rl;p.getTotalWidthOfEncodings=il;Object.defineProperty(He,"__esModule",{value:!0});var ll=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}}(),cl=D,ul=dl(cl),ge=p;function dl(t){return t&&t.__esModule?t:{default:t}}function sl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var fl=function(){function t(e,i,n){sl(this,t),this.canvas=e,this.encodings=i,this.options=n}return ll(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,ul.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=fl;var Xe={};Object.defineProperty(Xe,"__esModule",{value:!0});var hl=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}}(),vl=D,xl=gl(vl),pe=p;function gl(t){return t&&t.__esModule?t:{default:t}}function pl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Z="http://www.w3.org/2000/svg",_l=function(){function t(e,i,n){pl(this,t),this.svg=e,this.encodings=i,this.options=n,this.document=n.xmlDocument||document}return hl(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,xl.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=_l;var Ve={};Object.defineProperty(Ve,"__esModule",{value:!0});var ml=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 yl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var jl=function(){function t(e,i,n){yl(this,t),this.object=e,this.encodings=i,this.options=n}return ml(t,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),t}();Ve.default=jl;Object.defineProperty(qe,"__esModule",{value:!0});var bl=He,Ol=Qe(bl),El=Xe,wl=Qe(El),Sl=Ve,$l=Qe(Sl);function Qe(t){return t&&t.__esModule?t:{default:t}}qe.default={CanvasRenderer:Ol.default,SVGRenderer:wl.default,ObjectRenderer:$l.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 Rl=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),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="InvalidElementException",i.message="Not supported type to render on",i}return e}(Error),Cl=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=Rl;B.InvalidElementException=Al;B.NoElementException=Cl;Object.defineProperty(ze,"__esModule",{value:!0});var Pl=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},kl=Ue,ye=Tt(kl),Ml=qe,z=Tt(Ml),Il=B;function Tt(t){return t&&t.__esModule?t:{default:t}}function Ke(t){if(typeof t=="string")return Nl(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 Tl(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":Pl(t))==="object"&&!t.nodeName)return{element:t,renderer:z.default.ObjectRenderer};throw new Il.InvalidElementException}}function Nl(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 Tl(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 Dl=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 Bl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Ll=function(){function t(e){Bl(this,t),this.api=e}return Dl(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=Ll;var Gl=be,S=E(Gl),Fl=D,V=E(Fl),zl=Ge,Dt=E(zl),Ul=Fe,vt=E(Ul),ql=ze,Hl=E(ql),Xl=ce,Vl=E(Xl),Ql=Ze,Wl=E(Ql),Bt=B,Jl=ue,Lt=E(Jl);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,Hl.default)(e),a._encodings=[],a._options=Lt.default,a._errorHandler=new Wl.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)&&Yl(S.default,xt);function Yl(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,Vl.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 Kl=de;const Zl=Vt(Kl),_e=t=>{console.log("props",t);const e=t.data,i=_.useRef();return _.useEffect(()=>{if(t)try{console.log("inside use effect props",t),Zl(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})})},ec=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(Xt,{children:[r.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-1 gap-4",children:[r.jsx(qt,{textArea:!0,style:{marginRight:"0.5rem"},placeholder:"Enter Text",value:e,onChange:u=>i(u.target.value)}),r.jsx(Ht,{isMulti:!0,options:o,value:n,onChange:u=>a(u)})]}),r.jsx(Wt,{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(Jt,{}),type:"button",children:"Generate"})]})})]})})},Ec=()=>{_.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.jsxs("div",{className:"topbar py-4 px-6 border-gray-200 border-b",children:[r.jsx(Ut,{items:[{label:"Build"},{label:"Bar Codes"}]}),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(ec,{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 flex justify-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 flex justify-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 flex justify-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 flex justify-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 flex justify-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 flex justify-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 flex justify-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 flex justify-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 flex justify-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 flex justify-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{Ec as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./vendor-mui-98daa63f.js";import{r as y,c as N}from"./vendor-react-ece1c85f.js";import{V as L}from"./Views-1359da48.js";import{j as D,c as n,k as d,l as T,S,m as w,g as m,L as E,n as M,o as P,p as R,q as _,s as I,r as v,t as A,v as O,w as Y,x as B,y as U,B as $,T as j,N as h,z as G,A as f,C as p}from"./index-3b5ce20a.js";import{D as V}from"./Drawer-4f97e662.js";import{S as z}from"./Switcher-e2fba588.js";import{R as F,a as H}from"./index-ff23edc5.js";import{S as b,B as q,I as K,R as x}from"./index-7596c6bb.js";import{D as J}from"./DoubleSidedImage-b4bd3915.js";import{w as Q}from"./withHeaderItem-df2cc5d9.js";import"./vendor-pdf-3c29882d.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-devex-4076ffeb.js";import"./vendor-i18n-b89304ef.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-4be0b5ab.js";import"./useControllableState-d0909575.js";const W=()=>{const[l,t]=D(),o=y.useCallback(s=>{t(s?"dark":"light")},[t]),a=s=>e.jsx("div",{className:"text-lg",children:s});return e.jsx("div",{children:e.jsx(z,{defaultChecked:l,onChange:s=>o(s),unCheckedContent:a(e.jsx(F,{})),checkedContent:a(e.jsx(H,{}))})})},X=[{value:E,label:"Classic",src:"/img/thumbs/layouts/classic.jpg",srcDark:"/img/thumbs/layouts/classic-dark.jpg"},{value:M,label:"Mordern",src:"/img/thumbs/layouts/modern.jpg",srcDark:"/img/thumbs/layouts/modern-dark.jpg"},{value:P,label:"Simple",src:"/img/thumbs/layouts/simple.jpg",srcDark:"/img/thumbs/layouts/simple-dark.jpg"},{value:R,label:"Decked",src:"/img/thumbs/layouts/decked.jpg",srcDark:"/img/thumbs/layouts/decked-dark.jpg"},{value:_,label:"Blank",src:"/img/thumbs/layouts/blank.jpg",srcDark:"/img/thumbs/layouts/blank-dark.jpg"}],Z=()=>{const l=n(s=>s.theme.layout.type),t=d(),o=s=>{t(I(s))},{textTheme:a}=T();return e.jsx("div",{children:e.jsx(b,{className:"w-full",value:[l],onChange:s=>o(s[0]),children:e.jsx("div",{className:"grid grid-cols-3 gap-4 w-full",children:X.map(s=>e.jsx(b.Item,{value:s.value,children:({active:r,onSegmentItemClick:u,disabled:c})=>e.jsxs("div",{className:"text-center",children:[e.jsx(S,{hoverable:!0,active:r,disabled:c,defaultGutter:!1,className:"relative min-h-[80px] w-full",customCheck:e.jsx(w,{className:m(a,"absolute top-2 right-2 text-lg")}),onSegmentItemClick:u,children:e.jsx(J,{className:"rounded-md",src:s.src,darkModeSrc:s.srcDark,alt:""})}),e.jsx("div",{className:m(r&&a,"mt-2 font-semibold"),children:s.label})]})},s.value))})})})},{Control:ee}=B,g=[{label:"Red",value:"red"},{label:"Orange",value:"orange"},{label:"Amber",value:"amber"},{label:"Yellow",value:"yellow"},{label:"Lime",value:"lime"},{label:"Green",value:"green"},{label:"Emerald",value:"emerald"},{label:"Teal",value:"teal"},{label:"Cyan",value:"cyan"},{label:"Sky",value:"sky"},{label:"Blue",value:"blue"},{label:"Indigo",value:"indigo"},{label:"Violet",value:"violet"},{label:"Purple",value:"purple"},{label:"Fuchsia",value:"fuchsia"},{label:"Pink",value:"pink"},{label:"Rose",value:"rose"}],C=[{label:"400",value:400},{label:"500",value:500},{label:"600",value:600},{label:"700",value:700},{label:"800",value:800},{label:"900",value:900}],k=({className:l,themeColor:t})=>{const o=n(a=>a.theme.primaryColorLevel);return e.jsx(q,{className:l,innerClass:m(`bg-${t}-${o}`)})},se=({innerProps:l,label:t,data:o,isSelected:a})=>e.jsxs("div",{className:`flex items-center justify-between p-2 ${a?"bg-gray-100 dark:bg-gray-500":"hover:bg-gray-50 dark:hover:bg-gray-600"}`,...l,children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(k,{themeColor:o.value}),e.jsx("span",{children:t})]}),a&&e.jsx(A,{className:"text-emerald-500 text-xl"})]}),le=({children:l,...t})=>{const o=t.getValue()[0],a=n(s=>s.theme.themeColor);return e.jsxs(ee,{...t,children:[o&&e.jsx(k,{themeColor:a,className:"ltr:ml-4 rtl:mr-4"}),l]})},ae=()=>{const l=d(),t=n(r=>r.theme.themeColor),o=n(r=>r.theme.primaryColorLevel),a=({value:r})=>{l(O(r))},s=({value:r})=>{l(Y(r))};return e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsx(v,{size:"sm",options:g,components:{Option:se,Control:le},value:g.filter(r=>r.value===t),onChange:r=>a(r)}),e.jsx(v,{size:"sm",options:C,value:C.filter(r=>r.value===o),onChange:r=>s(r)})]})},te=[{value:j.DIR_LTR,label:"LTR"},{value:j.DIR_RTL,label:"RTL"}],re=({callBackClose:l})=>{const[t,o]=U(),a=s=>{o(s),l==null||l()};return e.jsx(K,{size:"sm",children:te.map(s=>e.jsx($,{active:t===s.value,onClick:()=>a(s.value),children:s.label},s.value))})},oe=()=>{const l=n(a=>a.theme.navMode),t=d(),o=a=>{t(G(a))};return e.jsxs(x.Group,{value:l===h?h:"default",onChange:o,children:[e.jsx(x,{value:"default",children:"Default"}),e.jsx(x,{value:h,children:"Themed"})]})},ne=({callBackClose:l})=>e.jsx("div",{className:"flex flex-col h-full justify-between",children:e.jsxs("div",{className:"flex flex-col gap-y-10 mb-6",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h6",{children:"Dark Mode"}),e.jsx("span",{children:"Switch theme to dark mode"})]}),e.jsx(W,{})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h6",{children:"Direction"}),e.jsx("span",{children:"Select a direction"})]}),e.jsx(re,{callBackClose:l})]}),e.jsxs("div",{children:[e.jsx("h6",{className:"mb-3",children:"Nav Mode"}),e.jsx(oe,{})]}),e.jsxs("div",{children:[e.jsx("h6",{className:"mb-3",children:"Theme"}),e.jsx(ae,{})]}),e.jsxs("div",{children:[e.jsx("h6",{className:"mb-3",children:"Layout"}),e.jsx(Z,{})]})]})}),ie=l=>e.jsx(ne,{...l}),ce=l=>{const t=d(),{className:o,...a}=l,s=n(i=>i.theme.panelExpand),r=n(i=>i.theme.direction),u=()=>{t(p(!0))},c=()=>{t(p(!1));const i=document.body.classList;i.contains("drawer-lock-scroll")&&i.remove("drawer-lock-scroll","drawer-open")};return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:m("text-2xl",o),onClick:u,...a,children:e.jsx(f,{})}),e.jsx(V,{title:"Theme Config",isOpen:s,placement:r==="rtl"?"left":"right",portalClassName:"w30",onClose:c,onRequestClose:c,children:e.jsx(ie,{callBackClose:c})})]})},me=Q(ce),de=()=>{const l=d(),t=n(a=>a.theme.themeColor),o=n(a=>a.theme.primaryColorLevel);return e.jsx("div",{className:m("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-${t}-${o}`),onClick:()=>{l(p(!0))},children:e.jsx(f,{})})},ue=()=>e.jsxs("div",{className:"app-layout-blank flex flex-auto flex-col h-[100vh]",children:[e.jsx(L,{}),e.jsx(de,{}),e.jsx(me,{className:"hidden"})]}),Ee=N.memo(ue);export{Ee as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c8 as t}from"./index-3b5ce20a.js";async function r(a,e,n){return(await t.apiV10BrainAskAQuestionPost("Test",a||void 0,!0,e,n)).data}async function i(a,e){return(await t.apiV10BrainUploadAndAskPost(a,e)).data}async function c(){return(await t.apiV10BrainGetSchemaContextsGet()).data}async function p(a,e){return(await t.apiV10BrainPutSchemaContextIdPut(a,e)).data}async function u(a){return(await t.apiV10BrainPostSchemaContextPost(a)).data}async function d(a){return(await t.apiV10BrainDeleteSchemaContextIdDelete(a)).data}async function m(){return(await t.apiV10BrainGetSchemaTablesGet()).data}async function h(a){return(await t.getSchemaTableColumns(a)).data}export{r as a,i as b,h as c,m as d,d as e,c as f,p as g,u as h};
|