useblocks 1.1.85-dev.9 → 1.1.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (516) hide show
  1. package/CHANGELOG.md +91 -0
  2. package/README.md +74 -41
  3. package/compat-globals.js +1 -1
  4. package/iframe/.vite/manifest.json +4 -4
  5. package/iframe/css/sandbox.css +35 -1
  6. package/iframe/{iframe.bb6d921f.html → iframe-eblock.1c4e77a0.html} +2 -2
  7. package/iframe/{iframe-eblock.bb6d921f.html → iframe.1c4e77a0.html} +2 -2
  8. package/iframe/js/discussHandlers.Xh4-JUcT.js +88 -0
  9. package/iframe/js/{iframe-eblock.body.js → iframe-eblock.body.1c4e77a0.js} +1 -1
  10. package/iframe/js/iframe-eblock.js +2 -2
  11. package/iframe/js/iframe.body.1c4e77a0.js +319 -0
  12. package/iframe/js/iframe.js +2 -2
  13. package/package.json +8 -1
  14. package/runtime/THIRD_PARTY_LICENSES.txt +49 -42
  15. package/runtime/package.json +4 -1
  16. package/runtime/react/index.js +1 -1
  17. package/runtime/uuid/index.js +21 -0
  18. package/static/core/11b821ed.js +1 -0
  19. package/static/core/160bf060.js +104 -0
  20. package/static/core/1b68c0f0.js +1 -0
  21. package/static/core/1ed86ed3.js +1 -0
  22. package/static/core/26cc947d.js +1 -0
  23. package/static/core/{67f78cad.js → 3ec42945.js} +7 -7
  24. package/static/core/3fb172c7.js +1 -0
  25. package/static/core/448f03f8.js +1 -0
  26. package/static/core/44d2c046.js +1 -0
  27. package/static/core/{79749848.js → 4c8d0155.js} +5 -5
  28. package/static/core/53103851.js +4 -0
  29. package/static/core/{a767f327.js → 5d849eef.js} +1 -1
  30. package/static/core/5e7c221f.js +28 -0
  31. package/static/core/64be048b.js +27 -0
  32. package/static/core/{de07cade.js → 6a671446.js} +3 -3
  33. package/static/core/{db82c42b.js → 756874c6.js} +1 -1
  34. package/static/core/{4c3f5897.js → 847338a8.js} +2 -2
  35. package/static/core/91e07171.js +2 -0
  36. package/static/core/a2e57e5f.js +1 -0
  37. package/static/core/{a5996860.js → a6303cb2.js} +1 -1
  38. package/static/core/{9f137764.js → a98b6879.js} +1 -1
  39. package/static/core/ae22b7f6.js +93 -0
  40. package/static/core/{44a83e21.js → b653f9c5.js} +1 -1
  41. package/static/core/{cb46784e.js → b7aa9fec.js} +1 -1
  42. package/static/core/{d8bbcfbd.js → ca4dad9b.js} +2 -2
  43. package/static/core/{6faa23a1.js → cc180859.js} +1 -1
  44. package/static/core/d7666ad0.js +291 -0
  45. package/static/core/dcc37768.js +1 -0
  46. package/static/core/edf450a1.js +7 -0
  47. package/static/core/f1ee2bef.js +1 -0
  48. package/static/core/{1e3078da.js → f323e60e.js} +1 -1
  49. package/static/core/{175b5b0f.js → ff7d14e8.js} +1 -1
  50. package/static/esm/2490dab8.js +1 -0
  51. package/static/esm/668ee399.js +1 -0
  52. package/static/esm/971f1b2c.js +1 -0
  53. package/static/esm/f76c9d9d.js +1 -0
  54. package/static/umd/6639d610.js +1 -0
  55. package/static/umd-runtime/B7h7P1Np.js +1 -0
  56. package/static/umd-runtime/{DHIkHsbq.js → BAqQTgiL.js} +1 -1
  57. package/static/umd-runtime/{DiNHpyis.js → BB6AXfHj.js} +1 -1
  58. package/static/umd-runtime/{CnUGCoaH.js → BauvM4c_.js} +1 -1
  59. package/static/umd-runtime/{cL_ha9ef.js → CgVJ4rE0.js} +1 -1
  60. package/static/umd-runtime/Cvm7BS4_.js +341 -0
  61. package/static/umd-runtime/{BnE05QKl.js → D7DggGzi.js} +1 -1
  62. package/static/umd-runtime/{2iAslXEF.js → DBbch1O-.js} +1 -1
  63. package/static/umd-runtime/{Bcqtk2f7.js → Dqoi-pC_.js} +2 -2
  64. package/static/umd-runtime/{CDTBLHGd.js → G2k8ELiO.js} +3 -3
  65. package/static/umd-runtime/{CVtPwspX.js → SFp4nbvq.js} +1 -1
  66. package/static/umd-runtime/{DVB_-O4B.js → UsRzAWs2.js} +1 -1
  67. package/static/umd-runtime/runtime.2paN090q.js +1 -0
  68. package/static/umd-runtime/{ui-kit-icons.js → ui-kit-icons.DqlZwgBU.js} +1 -1
  69. package/static/umd-runtime/{ui-kit.js → ui-kit.CoVNet0I.js} +2 -2
  70. package/static/umd-runtime/{DP3QTW77.js → uk9LyZos.js} +1 -1
  71. package/ui-kit/icons.js +2 -0
  72. package/useblocks-core.1c4e77a0.js +859 -0
  73. package/useblocks-esm.js +11 -10
  74. package/{useblocks-po.bb6d921f.js → useblocks-po.1c4e77a0.js} +1 -1
  75. package/useblocks.d.ts +162 -28
  76. package/useblocks.js +39 -15
  77. package/vendor/@rc-component/cascader/package.json +1 -1
  78. package/vendor/@rc-component/dialog/es/Dialog/Content/Panel.js +3 -2
  79. package/vendor/@rc-component/dialog/package.json +1 -1
  80. package/vendor/@rc-component/image/es/Preview/index.js +3 -3
  81. package/vendor/@rc-component/image/package.json +1 -1
  82. package/vendor/@rc-component/input/es/BaseInput.js +3 -3
  83. package/vendor/@rc-component/input/es/Input.js +20 -27
  84. package/vendor/@rc-component/{textarea → input}/es/ResizableTextArea.js +5 -4
  85. package/vendor/@rc-component/{textarea → input}/es/TextArea.js +30 -40
  86. package/vendor/@rc-component/{textarea → input}/es/calculateNodeHeight.js +4 -4
  87. package/vendor/@rc-component/input/es/hooks/useCountDisplay.js +25 -0
  88. package/vendor/@rc-component/input/es/hooks/useCountExceed.js +25 -0
  89. package/vendor/@rc-component/input/es/hooks/useMergedValue.js +13 -0
  90. package/vendor/@rc-component/input/es/index.js +3 -1
  91. package/vendor/@rc-component/input/package.json +1 -1
  92. package/vendor/@rc-component/mentions/es/DropdownMenu.js +1 -1
  93. package/vendor/@rc-component/mentions/es/Mentions.js +35 -8
  94. package/vendor/@rc-component/mentions/package.json +1 -1
  95. package/vendor/@rc-component/menu/es/Menu.js +1 -0
  96. package/vendor/@rc-component/menu/es/MenuItem.js +1 -0
  97. package/vendor/@rc-component/menu/es/MenuItemGroup.js +1 -0
  98. package/vendor/@rc-component/menu/es/SubMenu/PopupTrigger.js +1 -0
  99. package/vendor/@rc-component/menu/es/SubMenu/index.js +1 -0
  100. package/vendor/@rc-component/menu/es/context/MenuContext.js +1 -0
  101. package/vendor/@rc-component/menu/es/hooks/useAccessibility.js +1 -0
  102. package/vendor/@rc-component/menu/es/hooks/useKeyRecords.js +1 -0
  103. package/vendor/@rc-component/menu/es/utils/commonUtil.js +1 -0
  104. package/vendor/@rc-component/menu/es/utils/nodeUtil.js +2 -1
  105. package/vendor/@rc-component/menu/es/utils/warnUtil.js +1 -0
  106. package/vendor/@rc-component/menu/package.json +1 -1
  107. package/vendor/@rc-component/notification/LICENSE +21 -0
  108. package/vendor/@rc-component/notification/_/@rc-component/util/LICENSE +22 -0
  109. package/vendor/@rc-component/notification/_/@rc-component/util/es/Children/toArray.js +15 -0
  110. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/canUseDom.js +6 -0
  111. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/contains.js +13 -0
  112. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/dynamicCSS.js +94 -0
  113. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/findDOMNode.js +14 -0
  114. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/focus.js +99 -0
  115. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/isVisible.js +18 -0
  116. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/shadow.js +12 -0
  117. package/vendor/@rc-component/notification/_/@rc-component/util/es/Dom/styleChecker.js +2 -0
  118. package/vendor/@rc-component/notification/_/@rc-component/util/es/KeyCode.js +499 -0
  119. package/vendor/@rc-component/notification/_/@rc-component/util/es/Portal.js +28 -0
  120. package/vendor/@rc-component/notification/_/@rc-component/util/es/React/isFragment.js +12 -0
  121. package/vendor/@rc-component/notification/_/@rc-component/util/es/React/render.js +2 -0
  122. package/vendor/@rc-component/notification/_/@rc-component/util/es/getScrollBarSize.js +2 -0
  123. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useControlledState.js +3 -0
  124. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useDelayState.js +4 -0
  125. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useEvent.js +9 -0
  126. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useId.js +23 -0
  127. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useLayoutEffect.js +26 -0
  128. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useMemo.js +12 -0
  129. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useMergedState.js +4 -0
  130. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useState.js +24 -0
  131. package/vendor/@rc-component/notification/_/@rc-component/util/es/hooks/useSyncState.js +20 -0
  132. package/vendor/@rc-component/notification/_/@rc-component/util/es/index.js +36 -0
  133. package/vendor/@rc-component/notification/_/@rc-component/util/es/is.js +21 -0
  134. package/vendor/@rc-component/notification/_/@rc-component/util/es/isEqual.js +35 -0
  135. package/vendor/@rc-component/notification/_/@rc-component/util/es/isMobile.js +11 -0
  136. package/vendor/@rc-component/notification/_/@rc-component/util/es/mergeProps.js +14 -0
  137. package/vendor/@rc-component/notification/_/@rc-component/util/es/omit.js +1 -0
  138. package/vendor/@rc-component/notification/_/@rc-component/util/es/pickAttrs.js +50 -0
  139. package/vendor/@rc-component/notification/_/@rc-component/util/es/proxyObject.js +1 -0
  140. package/vendor/@rc-component/notification/_/@rc-component/util/es/raf.js +36 -0
  141. package/vendor/@rc-component/notification/_/@rc-component/util/es/ref.js +38 -0
  142. package/vendor/@rc-component/notification/_/@rc-component/util/es/test/domHook.js +36 -0
  143. package/vendor/@rc-component/notification/_/@rc-component/util/es/utils/get.js +11 -0
  144. package/vendor/@rc-component/notification/_/@rc-component/util/es/utils/set.js +58 -0
  145. package/vendor/@rc-component/notification/_/@rc-component/util/es/warning.js +46 -0
  146. package/vendor/@rc-component/notification/_/@rc-component/util/package.json +6 -0
  147. package/vendor/@rc-component/notification/es/Notification.js +129 -0
  148. package/vendor/@rc-component/notification/es/NotificationList/Content.js +33 -0
  149. package/vendor/@rc-component/notification/es/NotificationList/index.js +174 -0
  150. package/vendor/@rc-component/notification/es/NotificationProvider.js +4 -3
  151. package/vendor/@rc-component/notification/es/Notifications.js +28 -31
  152. package/vendor/@rc-component/notification/es/Progress.js +10 -0
  153. package/vendor/@rc-component/notification/es/hooks/useClosable.js +30 -0
  154. package/vendor/@rc-component/notification/es/hooks/useListPosition/index.js +50 -0
  155. package/vendor/@rc-component/notification/es/hooks/useListPosition/useSizes.js +33 -0
  156. package/vendor/@rc-component/notification/es/hooks/useNoticeTimer.js +58 -0
  157. package/vendor/@rc-component/notification/es/hooks/useNotification.js +27 -18
  158. package/vendor/@rc-component/notification/es/hooks/useStack.js +4 -4
  159. package/vendor/@rc-component/notification/es/index.js +4 -2
  160. package/vendor/@rc-component/notification/package.json +1 -1
  161. package/vendor/@rc-component/picker/es/PickerInput/Selector/SingleSelector/MultipleDates.js +13 -3
  162. package/vendor/@rc-component/picker/es/PickerInput/Selector/SingleSelector/index.js +3 -1
  163. package/vendor/@rc-component/picker/es/PickerInput/SinglePicker.js +2 -1
  164. package/vendor/@rc-component/picker/package.json +1 -1
  165. package/vendor/@rc-component/table/LICENSE +21 -0
  166. package/vendor/@rc-component/table/es/Body/MeasureCell.js +1 -0
  167. package/vendor/@rc-component/table/es/Body/MeasureRow.js +1 -0
  168. package/vendor/@rc-component/table/es/Cell/useCellRender.js +1 -0
  169. package/vendor/@rc-component/table/es/FixedHolder/index.js +1 -0
  170. package/vendor/@rc-component/table/es/Table.js +17 -9
  171. package/vendor/@rc-component/table/es/VirtualTable/BodyGrid.js +10 -4
  172. package/vendor/@rc-component/table/es/VirtualTable/BodyLine.js +13 -5
  173. package/vendor/@rc-component/table/es/hooks/useColumns/index.js +1 -0
  174. package/vendor/@rc-component/table/es/hooks/useExpand.js +1 -0
  175. package/vendor/@rc-component/table/es/hooks/useFixedInfo.js +1 -0
  176. package/vendor/@rc-component/table/es/hooks/useSticky.js +1 -0
  177. package/vendor/@rc-component/table/es/index.js +2 -1
  178. package/vendor/@rc-component/table/es/stickyScrollBar.js +1 -0
  179. package/vendor/@rc-component/table/es/utils/legacyUtil.js +1 -0
  180. package/vendor/@rc-component/table/es/utils/offsetUtil.js +1 -0
  181. package/vendor/@rc-component/table/package.json +1 -1
  182. package/vendor/@rc-component/tabs/es/TabNavList/OperationNode.js +4 -2
  183. package/vendor/@rc-component/tabs/es/TabNavList/TabNode.js +5 -4
  184. package/vendor/@rc-component/tabs/es/TabNavList/index.js +11 -4
  185. package/vendor/@rc-component/tabs/es/Tabs.js +1 -0
  186. package/vendor/@rc-component/tabs/es/hooks/useAnimateConfig.js +1 -0
  187. package/vendor/@rc-component/tabs/es/hooks/useIndicator.js +1 -0
  188. package/vendor/@rc-component/tabs/es/hooks/useUpdate.js +1 -0
  189. package/vendor/@rc-component/tabs/package.json +1 -1
  190. package/vendor/@rc-component/tour/es/TourStep/DefaultPanel.js +4 -1
  191. package/vendor/@rc-component/tour/package.json +1 -1
  192. package/vendor/@rc-component/tree/es/MotionTreeNode.js +1 -0
  193. package/vendor/@rc-component/tree/es/NodeList.js +2 -2
  194. package/vendor/@rc-component/tree/es/Tree.js +4 -5
  195. package/vendor/@rc-component/tree/es/TreeNode.js +7 -2
  196. package/vendor/@rc-component/tree/es/index.js +3 -0
  197. package/vendor/@rc-component/tree/es/useUnmount.js +1 -0
  198. package/vendor/@rc-component/tree/es/util.js +1 -0
  199. package/vendor/@rc-component/tree/es/utils/conductUtil.js +1 -0
  200. package/vendor/@rc-component/tree/es/utils/treeUtil.js +1 -0
  201. package/vendor/@rc-component/tree/package.json +1 -1
  202. package/vendor/@rc-component/tree-select/package.json +1 -1
  203. package/vendor/@rc-component/util/es/index.js +10 -10
  204. package/vendor/antd/es/_util/ActionButton.js +2 -3
  205. package/vendor/antd/es/_util/ContextIsolator.js +1 -1
  206. package/vendor/antd/es/_util/PurePanel.js +7 -4
  207. package/vendor/antd/es/_util/convertToTooltipProps.js +2 -2
  208. package/vendor/antd/es/_util/fallbackProp.js +15 -0
  209. package/vendor/antd/es/_util/gapSize.js +2 -1
  210. package/vendor/antd/es/_util/getRenderPropValue.js +2 -1
  211. package/vendor/antd/es/_util/getScroll.js +4 -4
  212. package/vendor/antd/es/_util/hooks/index.js +2 -2
  213. package/vendor/antd/es/_util/hooks/useAllowClear.js +25 -0
  214. package/vendor/antd/es/_util/hooks/useClosable.js +6 -5
  215. package/vendor/antd/es/_util/hooks/{useMergeSemantic.js → useMergeSemantic/index.js} +14 -24
  216. package/vendor/antd/es/_util/hooks/useMergeSemantic/utils.js +14 -0
  217. package/vendor/antd/es/_util/hooks/useMergedMask.js +2 -1
  218. package/vendor/antd/es/_util/is.js +27 -0
  219. package/vendor/antd/es/_util/motion.js +8 -8
  220. package/vendor/antd/es/_util/normalizeIcon.js +9 -0
  221. package/vendor/antd/es/_util/placements.js +2 -1
  222. package/vendor/antd/es/_util/reactNode.js +2 -1
  223. package/vendor/antd/es/_util/responsiveObserver.js +3 -2
  224. package/vendor/antd/es/_util/scrollTo.js +3 -1
  225. package/vendor/antd/es/_util/styleChecker.js +1 -0
  226. package/vendor/antd/es/_util/throttleByAnimationFrame.js +1 -0
  227. package/vendor/antd/es/_util/toList.js +1 -1
  228. package/vendor/antd/es/_util/wave/WaveEffect.js +3 -1
  229. package/vendor/antd/es/_util/wave/index.js +14 -4
  230. package/vendor/antd/es/_util/wave/util.js +5 -3
  231. package/vendor/antd/es/alert/Alert.js +12 -10
  232. package/vendor/antd/es/alert/ErrorBoundary.js +1 -1
  233. package/vendor/antd/es/alert/style/index.js +16 -10
  234. package/vendor/antd/es/anchor/Anchor.js +23 -16
  235. package/vendor/antd/es/anchor/AnchorLink.js +4 -4
  236. package/vendor/antd/es/app/App.js +7 -3
  237. package/vendor/antd/es/auto-complete/AutoComplete.js +7 -8
  238. package/vendor/antd/es/avatar/Avatar.js +5 -3
  239. package/vendor/antd/es/back-top/index.js +1 -0
  240. package/vendor/antd/es/badge/Badge.js +5 -6
  241. package/vendor/antd/es/badge/Ribbon.js +1 -2
  242. package/vendor/antd/es/badge/style/index.js +4 -3
  243. package/vendor/antd/es/border-beam/BorderBeam.js +42 -0
  244. package/vendor/antd/es/border-beam/BorderBeamEffect.js +24 -0
  245. package/vendor/antd/es/border-beam/hooks/useBorderSize.js +37 -0
  246. package/vendor/antd/es/border-beam/hooks/useChildDom.js +24 -0
  247. package/vendor/antd/es/border-beam/index.js +7 -0
  248. package/vendor/antd/es/border-beam/style/index.js +60 -0
  249. package/vendor/antd/es/border-beam/util.js +26 -0
  250. package/vendor/antd/es/breadcrumb/Breadcrumb.js +1 -2
  251. package/vendor/antd/es/breadcrumb/BreadcrumbItem.js +1 -1
  252. package/vendor/antd/es/breadcrumb/useItemRender.js +3 -2
  253. package/vendor/antd/es/button/Button.js +7 -6
  254. package/vendor/antd/es/button/buttonHelpers.js +4 -8
  255. package/vendor/antd/es/button/index.js +2 -2
  256. package/vendor/antd/es/button/style/index.js +5 -0
  257. package/vendor/antd/es/calendar/generateCalendar.js +20 -8
  258. package/vendor/antd/es/card/Card.js +5 -7
  259. package/vendor/antd/es/card/CardMeta.js +1 -2
  260. package/vendor/antd/es/carousel/index.js +2 -1
  261. package/vendor/antd/es/cascader/Panel.js +1 -1
  262. package/vendor/antd/es/cascader/index.js +23 -16
  263. package/vendor/antd/es/cascader/style/columns.js +6 -2
  264. package/vendor/antd/es/checkbox/Checkbox.js +2 -3
  265. package/vendor/antd/es/checkbox/Group.js +2 -1
  266. package/vendor/antd/es/checkbox/style/index.js +1 -5
  267. package/vendor/antd/es/checkbox/useBubbleLock.js +1 -0
  268. package/vendor/antd/es/collapse/Collapse.js +3 -3
  269. package/vendor/antd/es/collapse/style/index.js +1 -4
  270. package/vendor/antd/es/color-picker/ColorPicker.js +1 -2
  271. package/vendor/antd/es/color-picker/ColorPickerPanel.js +2 -1
  272. package/vendor/antd/es/color-picker/components/ColorTrigger.js +3 -1
  273. package/vendor/antd/es/color-picker/components/PanelPicker/index.js +1 -0
  274. package/vendor/antd/es/config-provider/hooks/useSize.js +3 -2
  275. package/vendor/antd/es/config-provider/hooks/useTheme.js +2 -0
  276. package/vendor/antd/es/config-provider/index.js +11 -3
  277. package/vendor/antd/es/date-picker/generatePicker/generateRangePicker.js +20 -10
  278. package/vendor/antd/es/date-picker/generatePicker/generateSinglePicker.js +17 -8
  279. package/vendor/antd/es/date-picker/generatePicker/useSuffixIcon.js +1 -1
  280. package/vendor/antd/es/date-picker/hooks/useMergedPickerSemantic.js +1 -2
  281. package/vendor/antd/es/date-picker/style/index.js +13 -3
  282. package/vendor/antd/es/date-picker/style/multiple.js +3 -4
  283. package/vendor/antd/es/date-picker/style/panel.js +5 -20
  284. package/vendor/antd/es/date-picker/util.js +14 -13
  285. package/vendor/antd/es/descriptions/Cell.js +2 -3
  286. package/vendor/antd/es/descriptions/hooks/useItems.js +2 -1
  287. package/vendor/antd/es/descriptions/index.js +3 -3
  288. package/vendor/antd/es/divider/index.js +3 -2
  289. package/vendor/antd/es/drawer/Drawer.js +10 -5
  290. package/vendor/antd/es/drawer/DrawerPanel.js +3 -2
  291. package/vendor/antd/es/dropdown/dropdown.js +11 -8
  292. package/vendor/antd/es/dropdown/style/index.js +2 -6
  293. package/vendor/antd/es/empty/index.js +1 -2
  294. package/vendor/antd/es/flex/index.js +2 -2
  295. package/vendor/antd/es/float-button/BackTop.js +1 -0
  296. package/vendor/antd/es/float-button/FloatButton.js +3 -3
  297. package/vendor/antd/es/float-button/FloatButtonGroup.js +2 -2
  298. package/vendor/antd/es/form/ErrorList.js +13 -6
  299. package/vendor/antd/es/form/Form.js +7 -6
  300. package/vendor/antd/es/form/FormItem/ItemHolder.js +1 -1
  301. package/vendor/antd/es/form/FormItem/index.js +6 -6
  302. package/vendor/antd/es/form/FormItemInput.js +5 -3
  303. package/vendor/antd/es/form/FormItemLabel.js +2 -1
  304. package/vendor/antd/es/form/FormList.js +1 -0
  305. package/vendor/antd/es/form/hooks/useChildren.js +4 -3
  306. package/vendor/antd/es/form/hooks/useForm.js +3 -1
  307. package/vendor/antd/es/form/hooks/useFrameState.js +1 -0
  308. package/vendor/antd/es/form/hooks/useItemRef.js +7 -5
  309. package/vendor/antd/es/form/style/index.js +1 -3
  310. package/vendor/antd/es/grid/col.js +5 -7
  311. package/vendor/antd/es/grid/hooks/useBreakpoint.js +1 -0
  312. package/vendor/antd/es/grid/hooks/useGutter.js +2 -1
  313. package/vendor/antd/es/grid/row.js +7 -6
  314. package/vendor/antd/es/image/PreviewGroup.js +1 -2
  315. package/vendor/antd/es/image/Progress.js +58 -0
  316. package/vendor/antd/es/image/hooks/useMergedPreviewConfig.js +3 -1
  317. package/vendor/antd/es/image/hooks/usePlaceholderConfig.js +15 -0
  318. package/vendor/antd/es/image/hooks/usePreviewConfig.js +3 -2
  319. package/vendor/antd/es/image/index.js +36 -5
  320. package/vendor/antd/es/image/style/index.js +114 -4
  321. package/vendor/antd/es/image/style/progressAnimation.js +26 -0
  322. package/vendor/antd/es/index.js +2 -1
  323. package/vendor/antd/es/input/Input.js +9 -4
  324. package/vendor/antd/es/input/OTP/OTPInput.js +1 -0
  325. package/vendor/antd/es/input/OTP/index.js +3 -3
  326. package/vendor/antd/es/input/Password.js +45 -26
  327. package/vendor/antd/es/input/Search.js +6 -5
  328. package/vendor/antd/es/input/TextArea.js +13 -7
  329. package/vendor/antd/es/input/style/index.js +17 -11
  330. package/vendor/antd/es/input/style/otp.js +2 -1
  331. package/vendor/antd/es/input/style/variants.js +16 -10
  332. package/vendor/antd/es/input-number/index.js +3 -3
  333. package/vendor/antd/es/input-number/style/index.js +9 -9
  334. package/vendor/antd/es/layout/Sider.js +3 -2
  335. package/vendor/antd/es/list/index.js +5 -3
  336. package/vendor/antd/es/locale/en_US.js +3 -1
  337. package/vendor/antd/es/locale/ru_RU.js +3 -1
  338. package/vendor/antd/es/locale/useLocale.js +2 -1
  339. package/vendor/antd/es/masonry/Masonry.js +4 -3
  340. package/vendor/antd/es/mentions/index.js +28 -14
  341. package/vendor/antd/es/menu/MenuItem.js +2 -1
  342. package/vendor/antd/es/menu/OverrideContext.js +1 -0
  343. package/vendor/antd/es/menu/SubMenu.js +1 -1
  344. package/vendor/antd/es/menu/menu.js +5 -5
  345. package/vendor/antd/es/menu/style/index.js +21 -36
  346. package/vendor/antd/es/menu/style/vertical.js +2 -1
  347. package/vendor/antd/es/message/PureList.js +49 -0
  348. package/vendor/antd/es/message/PurePanel.js +28 -36
  349. package/vendor/antd/es/message/index.js +6 -3
  350. package/vendor/antd/es/message/style/index.js +102 -99
  351. package/vendor/antd/es/message/useMessage.js +29 -33
  352. package/vendor/antd/es/message/util.js +1 -1
  353. package/vendor/antd/es/modal/ConfirmDialog.js +11 -9
  354. package/vendor/antd/es/modal/Modal.js +12 -7
  355. package/vendor/antd/es/modal/PurePanel.js +1 -2
  356. package/vendor/antd/es/modal/confirm.js +4 -3
  357. package/vendor/antd/es/modal/shared.js +3 -2
  358. package/vendor/antd/es/modal/useModal/HookModal.js +2 -1
  359. package/vendor/antd/es/notification/PureList.js +46 -0
  360. package/vendor/antd/es/notification/PurePanel.js +37 -56
  361. package/vendor/antd/es/notification/hooks/useStackConfig.js +13 -0
  362. package/vendor/antd/es/notification/index.js +3 -1
  363. package/vendor/antd/es/notification/style/index.js +103 -170
  364. package/vendor/antd/es/notification/style/notification.js +191 -0
  365. package/vendor/antd/es/notification/style/placement.js +117 -60
  366. package/vendor/antd/es/notification/useNotification.js +37 -40
  367. package/vendor/antd/es/notification/util.js +9 -50
  368. package/vendor/antd/es/pagination/Pagination.js +1 -2
  369. package/vendor/antd/es/pagination/useShowSizeChanger.js +2 -1
  370. package/vendor/antd/es/popconfirm/PurePanel.js +4 -1
  371. package/vendor/antd/es/popconfirm/index.js +1 -2
  372. package/vendor/antd/es/popover/PurePanel.js +1 -2
  373. package/vendor/antd/es/popover/index.js +1 -2
  374. package/vendor/antd/es/progress/Circle.js +2 -1
  375. package/vendor/antd/es/progress/progress.js +3 -3
  376. package/vendor/antd/es/progress/utils.js +4 -3
  377. package/vendor/antd/es/qr-code/index.js +4 -4
  378. package/vendor/antd/es/radio/group.js +4 -3
  379. package/vendor/antd/es/radio/radio.js +2 -2
  380. package/vendor/antd/es/radio/style/index.js +1 -1
  381. package/vendor/antd/es/rate/index.js +2 -4
  382. package/vendor/antd/es/result/index.js +6 -5
  383. package/vendor/antd/es/result/style/index.js +10 -6
  384. package/vendor/antd/es/segmented/index.js +5 -3
  385. package/vendor/antd/es/select/index.js +23 -12
  386. package/vendor/antd/es/select/style/dropdown.js +1 -1
  387. package/vendor/antd/es/select/style/select-input.js +23 -15
  388. package/vendor/antd/es/select/useIcons.js +43 -26
  389. package/vendor/antd/es/skeleton/Element.js +2 -1
  390. package/vendor/antd/es/skeleton/Skeleton.js +3 -3
  391. package/vendor/antd/es/slider/SliderTooltip.js +1 -0
  392. package/vendor/antd/es/slider/index.js +5 -3
  393. package/vendor/antd/es/slider/useRafLock.js +1 -0
  394. package/vendor/antd/es/space/Compact.js +1 -1
  395. package/vendor/antd/es/space/Item.js +1 -1
  396. package/vendor/antd/es/space/index.js +2 -2
  397. package/vendor/antd/es/space/style/addon.js +5 -2
  398. package/vendor/antd/es/spin/Indicator/Progress.js +2 -1
  399. package/vendor/antd/es/spin/index.js +1 -2
  400. package/vendor/antd/es/splitter/Panel.js +7 -3
  401. package/vendor/antd/es/splitter/SplitBar.js +5 -4
  402. package/vendor/antd/es/splitter/Splitter.js +9 -6
  403. package/vendor/antd/es/splitter/hooks/useItems.js +2 -1
  404. package/vendor/antd/es/splitter/hooks/useSizes.js +1 -1
  405. package/vendor/antd/es/splitter/style/index.js +8 -6
  406. package/vendor/antd/es/statistic/Number.js +8 -4
  407. package/vendor/antd/es/statistic/Statistic.js +14 -10
  408. package/vendor/antd/es/steps/index.js +4 -4
  409. package/vendor/antd/es/style/compact-item-vertical.js +2 -1
  410. package/vendor/antd/es/style/compact-item.js +6 -6
  411. package/vendor/antd/es/switch/index.js +1 -2
  412. package/vendor/antd/es/table/InternalTable.js +23 -14
  413. package/vendor/antd/es/table/hooks/useFilledColumns.js +23 -0
  414. package/vendor/antd/es/table/hooks/useFilter/FilterDropdown.js +22 -16
  415. package/vendor/antd/es/table/hooks/useFilter/FilterWrapper.js +1 -0
  416. package/vendor/antd/es/table/hooks/useFilter/index.js +34 -18
  417. package/vendor/antd/es/table/hooks/useLazyKVMap.js +2 -1
  418. package/vendor/antd/es/table/hooks/usePagination.js +7 -4
  419. package/vendor/antd/es/table/hooks/useSelection.js +32 -21
  420. package/vendor/antd/es/table/hooks/useSorter.js +10 -5
  421. package/vendor/antd/es/table/style/bordered.js +5 -27
  422. package/vendor/antd/es/table/style/empty.js +1 -4
  423. package/vendor/antd/es/table/style/index.js +1 -4
  424. package/vendor/antd/es/table/util.js +6 -6
  425. package/vendor/antd/es/tabs/hooks/useAnimateConfig.js +2 -1
  426. package/vendor/antd/es/tabs/index.js +1 -2
  427. package/vendor/antd/es/tag/CheckableTagGroup.js +8 -5
  428. package/vendor/antd/es/tag/hooks/useColor.js +4 -3
  429. package/vendor/antd/es/tag/index.js +13 -7
  430. package/vendor/antd/es/theme/themes/dark/colors.js +2 -1
  431. package/vendor/antd/es/theme/themes/default/colors.js +2 -1
  432. package/vendor/antd/es/theme/useToken.js +2 -2
  433. package/vendor/antd/es/theme/util/alias.js +34 -29
  434. package/vendor/antd/es/timeline/Timeline.js +3 -4
  435. package/vendor/antd/es/tooltip/PurePanel.js +1 -2
  436. package/vendor/antd/es/tooltip/UniqueProvider/index.js +2 -1
  437. package/vendor/antd/es/tooltip/index.js +9 -7
  438. package/vendor/antd/es/tour/PurePanel.js +2 -2
  439. package/vendor/antd/es/tour/index.js +1 -1
  440. package/vendor/antd/es/tour/panelRender.js +4 -2
  441. package/vendor/antd/es/transfer/ListBody.js +3 -1
  442. package/vendor/antd/es/transfer/ListItem.js +2 -1
  443. package/vendor/antd/es/transfer/Section.js +17 -8
  444. package/vendor/antd/es/transfer/index.js +51 -16
  445. package/vendor/antd/es/transfer/style/index.js +5 -1
  446. package/vendor/antd/es/tree/Tree.js +1 -2
  447. package/vendor/antd/es/tree/style/index.js +5 -1
  448. package/vendor/antd/es/tree/utils/iconUtil.js +5 -4
  449. package/vendor/antd/es/tree-select/index.js +3 -3
  450. package/vendor/antd/es/typography/Base/CopyBtn.js +3 -2
  451. package/vendor/antd/es/typography/Base/Ellipsis.js +3 -3
  452. package/vendor/antd/es/typography/Base/index.js +38 -31
  453. package/vendor/antd/es/typography/Editable.js +10 -4
  454. package/vendor/antd/es/typography/Link.js +1 -0
  455. package/vendor/antd/es/typography/Text.js +2 -1
  456. package/vendor/antd/es/typography/Typography.js +20 -10
  457. package/vendor/antd/es/typography/hooks/useCopyClick.js +2 -1
  458. package/vendor/antd/es/typography/hooks/useMergedConfig.js +13 -7
  459. package/vendor/antd/es/typography/hooks/useTooltipProps.js +2 -1
  460. package/vendor/antd/es/typography/hooks/useTypographySemantic.js +33 -0
  461. package/vendor/antd/es/typography/style/index.js +12 -27
  462. package/vendor/antd/es/typography/style/mixins.js +46 -13
  463. package/vendor/antd/es/upload/Upload.js +13 -7
  464. package/vendor/antd/es/upload/UploadList/ListItem.js +6 -5
  465. package/vendor/antd/es/upload/UploadList/index.js +4 -3
  466. package/vendor/antd/es/upload/utils.js +18 -1
  467. package/vendor/antd/es/version/version.js +1 -1
  468. package/vendor/antd/es/watermark/index.js +6 -4
  469. package/vendor/antd/es/watermark/useSingletonCache.js +1 -0
  470. package/vendor/antd/es/watermark/useWatermark.js +3 -3
  471. package/vendor/antd/package.json +1 -1
  472. package/vendor/useblocks-ui-kit/es/components/DataEntry/Input/index.js +1 -1
  473. package/vendor/useblocks-ui-kit/es/components/General/EmIcons/deprecationNotice.js +1 -1
  474. package/vendor/useblocks-ui-kit/package.json +1 -1
  475. package/vite/index.cjs +2 -2
  476. package/vite/index.js +2 -2
  477. package/iframe/js/discussHandlers.ozU2Hn_l.js +0 -87
  478. package/iframe/js/iframe.body.js +0 -319
  479. package/static/core/1c535081.js +0 -1
  480. package/static/core/1cee0d36.js +0 -1
  481. package/static/core/4fbdd8b6.js +0 -2
  482. package/static/core/55a38638.js +0 -93
  483. package/static/core/605c665e.js +0 -28
  484. package/static/core/68cbe23d.js +0 -1
  485. package/static/core/89431649.js +0 -7
  486. package/static/core/8b821a61.js +0 -1
  487. package/static/core/9718977a.js +0 -1
  488. package/static/core/b7e9202e.js +0 -27
  489. package/static/core/b877f7b4.js +0 -1
  490. package/static/core/baded0c1.js +0 -1
  491. package/static/core/c6cc104d.js +0 -4
  492. package/static/core/d70aac44.js +0 -291
  493. package/static/core/e0d71533.js +0 -100
  494. package/static/core/fb57f60b.js +0 -1
  495. package/static/core/fe756e4d.js +0 -1
  496. package/static/esm/349f9e2c.js +0 -1
  497. package/static/esm/50fbfdf6.js +0 -1
  498. package/static/media/icon-sets/lucide.json +0 -6275
  499. package/static/media/icon-sets/tabler.json +0 -19336
  500. package/static/umd-runtime/Cl8heeC3.js +0 -1
  501. package/static/umd-runtime/D0xo8o9c.js +0 -335
  502. package/static/umd-runtime/runtime.js +0 -1
  503. package/useblocks-core.bb6d921f.js +0 -859
  504. package/vendor/@rc-component/notification/es/Notice.js +0 -106
  505. package/vendor/@rc-component/notification/es/NoticeList.js +0 -98
  506. package/vendor/@rc-component/textarea/LICENSE.md +0 -9
  507. package/vendor/@rc-component/textarea/es/index.js +0 -6
  508. package/vendor/@rc-component/textarea/package.json +0 -6
  509. package/vendor/antd/es/_util/extendsObject.js +0 -12
  510. package/vendor/antd/es/_util/getAllowClear.js +0 -12
  511. package/vendor/antd/es/_util/isNonNullable.js +0 -6
  512. package/vendor/antd/es/_util/isPrimitive.js +0 -4
  513. package/vendor/antd/es/notification/style/pure-panel.js +0 -18
  514. package/vendor/antd/es/notification/style/stack.js +0 -85
  515. /package/static/monaco/{index.js → index.CO7s5UdA.js} +0 -0
  516. /package/static/umd-runtime/{delivery-libs.js → delivery-libs.3Svr0avG.js} +0 -0
@@ -1 +1 @@
1
- __useblocks__.define("static/core/a5996860.js",["require","exports","module","static/core/2ff39ddf.js","static/core/175b5b0f.js"],function(k,z,Mt){const Rt=k("./2ff39ddf.js"),_=k("./175b5b0f.js");var x=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});function d(s,f){if(!(s instanceof f))throw TypeError("Cannot call a class as a function")}a.default=function s(f,l){d(this,s),this.data=f,this.text=l.text||f,this.options=l}})),V=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.CODE39=void 0;var d=(function(){function y(v,b){for(var j=0;j<b.length;j++){var g=b[j];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(v,g.key,g)}}return function(v,b,j){return b&&y(v.prototype,b),j&&y(v,j),v}})(),s=f(x());function f(y){return y&&y.__esModule?y:{default:y}}function l(y,v){if(!(y instanceof v))throw TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function p(y,v){if(typeof v!="function"&&v!==null)throw TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var o=(function(y){p(v,y);function v(b,j){return l(this,v),b=b.toUpperCase(),j.mod43&&(b+=i(h(b))),c(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,b,j))}return d(v,[{key:"encode",value:function(){for(var b=n("*"),j=0;j<this.data.length;j++)b+=n(this.data[j])+"0";return b+=n("*"),{data:b,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),v})(s.default),e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%*".split(""),t=[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 n(y){return r(u(y))}function r(y){return t[y].toString(2)}function i(y){return e[y]}function u(y){return e.indexOf(y)}function h(y){for(var v=0,b=0;b<y.length;b++)v+=u(y[b]);return v%=43,v}a.CODE39=o})),S=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d;function s(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var f=a.SET_A=0,l=a.SET_B=1,c=a.SET_C=2;a.SHIFT=98;var p=a.START_A=103,o=a.START_B=104,e=a.START_C=105;a.MODULO=103,a.STOP=106,a.FNC1=207,a.SET_BY_CODE=(d={},s(d,p,f),s(d,o,l),s(d,e,c),d),a.SWAP={101:f,100:l,99:c},a.A_START_CHAR="Ð",a.B_START_CHAR="Ñ",a.C_START_CHAR="Ò",a.A_CHARS="[\0-_È-Ï]",a.B_CHARS="[ -È-Ï]",a.C_CHARS="(Ï*[0-9]{2}Ï*)",a.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]})),M=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=l(x()),f=S();function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function o(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.default=(function(e){o(t,e);function t(n,r){c(this,t);var i=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n.substring(1),r));return i.bytes=n.split("").map(function(u){return u.charCodeAt(0)}),i}return d(t,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var n=this.bytes,r=n.shift()-105,i=f.SET_BY_CODE[r];if(i===void 0)throw RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&n.unshift(f.FNC1);var u=t.next(n,1,i);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:t.getBar(r)+u.result+t.getBar((u.checksum+r)%f.MODULO)+t.getBar(f.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 f.BARS[n]?f.BARS[n].toString():""}},{key:"correctIndex",value:function(n,r){if(r===f.SET_A){var i=n.shift();return i<32?i+64:i-32}return r===f.SET_B?n.shift()-32:(n.shift()-48)*10+n.shift()-48}},{key:"next",value:function(n,r,i){if(!n.length)return{result:"",checksum:0};var u=void 0,h=void 0;if(n[0]>=200){h=n.shift()-105;var y=f.SWAP[h];y===void 0?((i===f.SET_A||i===f.SET_B)&&h===f.SHIFT&&(n[0]=i===f.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),u=t.next(n,r+1,i)):u=t.next(n,r+1,y)}else h=t.correctIndex(n,i),u=t.next(n,r+1,i);var v=t.getBar(h),b=h*r;return{result:v+u.result,checksum:b+u.checksum}}}]),t})(s.default)})),U=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=S(),s=function(o){return o.match(RegExp("^"+d.A_CHARS+"*"))[0].length},f=function(o){return o.match(RegExp("^"+d.B_CHARS+"*"))[0].length},l=function(o){return o.match(RegExp("^"+d.C_CHARS+"*"))[0]};function c(o,e){var t=e?d.A_CHARS:d.B_CHARS,n=o.match(RegExp("^("+t+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(n)return n[1]+"Ì"+p(o.substring(n[1].length));var r=o.match(RegExp("^"+t+"+"))[0];return r.length===o.length?o:r+String.fromCharCode(e?205:206)+c(o.substring(r.length),!e)}function p(o){var e=l(o),t=e.length;if(t===o.length)return o;o=o.substring(t);var n=s(o)>=f(o);return e+String.fromCharCode(n?206:205)+c(o,n)}a.default=function(o){var e=void 0;if(l(o).length>=2)e=d.C_START_CHAR+p(o);else{var t=s(o)>f(o);e=(t?d.A_START_CHAR:d.B_START_CHAR)+c(o,t)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(n,r){return"Ë"+r})}})),F=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=f(M()),s=f(U());function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.default=(function(o){p(e,o);function e(t,n){if(l(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(t))var r=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,s.default)(t),n));else var r=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return c(r)}return e})(d.default)})),W=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=l(M()),f=S();function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function o(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.default=(function(e){o(t,e);function t(n,r){return c(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,f.A_START_CHAR+n,r))}return d(t,[{key:"valid",value:function(){return RegExp("^"+f.A_CHARS+"+$").test(this.data)}}]),t})(s.default)})),Y=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=l(M()),f=S();function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function o(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.default=(function(e){o(t,e);function t(n,r){return c(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,f.B_START_CHAR+n,r))}return d(t,[{key:"valid",value:function(){return RegExp("^"+f.B_CHARS+"+$").test(this.data)}}]),t})(s.default)})),J=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=l(M()),f=S();function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function o(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.default=(function(e){o(t,e);function t(n,r){return c(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,f.C_START_CHAR+n,r))}return d(t,[{key:"valid",value:function(){return RegExp("^"+f.C_CHARS+"+$").test(this.data)}}]),t})(s.default)})),Q=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.CODE128C=a.CODE128B=a.CODE128A=a.CODE128=void 0;var d=c(F()),s=c(W()),f=c(Y()),l=c(J());function c(p){return p&&p.__esModule?p:{default:p}}a.CODE128=d.default,a.CODE128A=s.default,a.CODE128B=f.default,a.CODE128C=l.default})),C=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.SIDE_BIN="101",a.MIDDLE_BIN="01010",a.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"]},a.EAN2_STRUCTURE=["LL","LG","GL","GG"],a.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],a.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]})),A=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=C();a.default=function(s,f,l){var c=s.split("").map(function(o,e){return d.BINARIES[f[e]]}).map(function(o,e){return o?o[s[e]]:""});if(l){var p=s.length-1;c=c.map(function(o,e){return e<p?o+l:o})}return c.join("")}})),I=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function t(n,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}return function(n,r,i){return r&&t(n.prototype,r),i&&t(n,i),n}})(),s=C(),f=c(A()),l=c(x());function c(t){return t&&t.__esModule?t:{default:t}}function p(t,n){if(!(t instanceof n))throw TypeError("Cannot call a class as a function")}function o(t,n){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:t}function e(t,n){if(typeof n!="function"&&n!==null)throw TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}a.default=(function(t){e(n,t);function n(r,i){p(this,n);var u=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,r,i));return u.fontSize=!i.flat&&i.fontSize>i.width*10?i.width*10:i.fontSize,u.guardHeight=i.height+u.fontSize/2+i.textMargin,u}return d(n,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(r,i){return this.text.substr(r,i)}},{key:"leftEncode",value:function(r,i){return(0,f.default)(r,i)}},{key:"rightText",value:function(r,i){return this.text.substr(r,i)}},{key:"rightEncode",value:function(r,i){return(0,f.default)(r,i)}},{key:"encodeGuarded",value:function(){var r={fontSize:this.fontSize},i={height:this.guardHeight};return[{data:s.SIDE_BIN,options:i},{data:this.leftEncode(),text:this.leftText(),options:r},{data:s.MIDDLE_BIN,options:i},{data:this.rightEncode(),text:this.rightText(),options:r},{data:s.SIDE_BIN,options:i}]}},{key:"encodeFlat",value:function(){return{data:[s.SIDE_BIN,this.leftEncode(),s.MIDDLE_BIN,this.rightEncode(),s.SIDE_BIN].join(""),text:this.text}}}]),n})(l.default)})),Z=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function n(r,i){for(var u=0;u<i.length;u++){var h=i[u];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(r,h.key,h)}}return function(r,i,u){return i&&n(r.prototype,i),u&&n(r,u),r}})(),s=function n(r,i,u){r===null&&(r=Function.prototype);var h=Object.getOwnPropertyDescriptor(r,i);if(h===void 0){var y=Object.getPrototypeOf(r);return y===null?void 0:n(y,i,u)}if("value"in h)return h.value;var v=h.get;return v===void 0?void 0:v.call(u)},f=C(),l=c(I());function c(n){return n&&n.__esModule?n:{default:n}}function p(n,r){if(!(n instanceof r))throw TypeError("Cannot call a class as a function")}function o(n,r){if(!n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function e(n,r){if(typeof r!="function"&&r!==null)throw TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var t=function(n){return(10-n.substr(0,12).split("").map(function(r){return+r}).reduce(function(r,i,u){return u%2?r+i*3:r+i},0)%10)%10};a.default=(function(n){e(r,n);function r(i,u){p(this,r),i.search(/^[0-9]{12}$/)!==-1&&(i+=t(i));var h=o(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,i,u));return h.lastChar=u.lastChar,h}return d(r,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===t(this.data)}},{key:"leftText",value:function(){return s(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var i=this.data.substr(1,6),u=f.EAN13_STRUCTURE[this.data[0]];return s(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"leftEncode",this).call(this,i,u)}},{key:"rightText",value:function(){return s(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var i=this.data.substr(7,6);return s(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"rightEncode",this).call(this,i,"RRRRRR")}},{key:"encodeGuarded",value:function(){var i=s(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(i.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(i.push({data:"00"}),i.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),i}}]),r})(l.default)})),K=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function t(n,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}return function(n,r,i){return r&&t(n.prototype,r),i&&t(n,i),n}})(),s=function t(n,r,i){n===null&&(n=Function.prototype);var u=Object.getOwnPropertyDescriptor(n,r);if(u===void 0){var h=Object.getPrototypeOf(n);return h===null?void 0:t(h,r,i)}if("value"in u)return u.value;var y=u.get;return y===void 0?void 0:y.call(i)},f=l(I());function l(t){return t&&t.__esModule?t:{default:t}}function c(t,n){if(!(t instanceof n))throw TypeError("Cannot call a class as a function")}function p(t,n){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:t}function o(t,n){if(typeof n!="function"&&n!==null)throw TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}var e=function(t){return(10-t.substr(0,7).split("").map(function(n){return+n}).reduce(function(n,r,i){return i%2?n+r:n+r*3},0)%10)%10};a.default=(function(t){o(n,t);function n(r,i){return c(this,n),r.search(/^[0-9]{7}$/)!==-1&&(r+=e(r)),p(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,r,i))}return d(n,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===e(this.data)}},{key:"leftText",value:function(){return s(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var r=this.data.substr(0,4);return s(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"leftEncode",this).call(this,r,"LLLL")}},{key:"rightText",value:function(){return s(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var r=this.data.substr(4,4);return s(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"rightEncode",this).call(this,r,"RRRR")}}]),n})(f.default)})),q=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function n(r,i){for(var u=0;u<i.length;u++){var h=i[u];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(r,h.key,h)}}return function(r,i,u){return i&&n(r.prototype,i),u&&n(r,u),r}})(),s=C(),f=c(A()),l=c(x());function c(n){return n&&n.__esModule?n:{default:n}}function p(n,r){if(!(n instanceof r))throw TypeError("Cannot call a class as a function")}function o(n,r){if(!n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function e(n,r){if(typeof r!="function"&&r!==null)throw TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var t=function(n){return n.split("").map(function(r){return+r}).reduce(function(r,i,u){return u%2?r+i*9:r+i*3},0)%10};a.default=(function(n){e(r,n);function r(i,u){return p(this,r),o(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,i,u))}return d(r,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var i=s.EAN5_STRUCTURE[t(this.data)];return{data:"1011"+(0,f.default)(this.data,i,"01"),text:this.text}}}]),r})(l.default)})),tt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function t(n,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}return function(n,r,i){return r&&t(n.prototype,r),i&&t(n,i),n}})(),s=C(),f=c(A()),l=c(x());function c(t){return t&&t.__esModule?t:{default:t}}function p(t,n){if(!(t instanceof n))throw TypeError("Cannot call a class as a function")}function o(t,n){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:t}function e(t,n){if(typeof n!="function"&&n!==null)throw TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}a.default=(function(t){e(n,t);function n(r,i){return p(this,n),o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,r,i))}return d(n,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var r=s.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,f.default)(this.data,r,"01"),text:this.text}}}]),n})(l.default)})),B=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function n(r,i){for(var u=0;u<i.length;u++){var h=i[u];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(r,h.key,h)}}return function(r,i,u){return i&&n(r.prototype,i),u&&n(r,u),r}})();a.checksum=t;var s=l(A()),f=l(x());function l(n){return n&&n.__esModule?n:{default:n}}function c(n,r){if(!(n instanceof r))throw TypeError("Cannot call a class as a function")}function p(n,r){if(!n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function o(n,r){if(typeof r!="function"&&r!==null)throw TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var e=(function(n){o(r,n);function r(i,u){c(this,r),i.search(/^[0-9]{11}$/)!==-1&&(i+=t(i));var h=p(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,i,u));return h.displayValue=u.displayValue,h.fontSize=u.fontSize>u.width*10?u.width*10:u.fontSize,h.guardHeight=u.height+h.fontSize/2+u.textMargin,h}return d(r,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==t(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var i="";return i+="101",i+=(0,s.default)(this.data.substr(0,6),"LLLLLL"),i+="01010",i+=(0,s.default)(this.data.substr(6,6),"RRRRRR"),i+="101",{data:i,text:this.text}}},{key:"guardedEncoding",value:function(){var i=[];return this.displayValue&&i.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),i.push({data:"101"+(0,s.default)(this.data[0],"L"),options:{height:this.guardHeight}}),i.push({data:(0,s.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),i.push({data:"01010",options:{height:this.guardHeight}}),i.push({data:(0,s.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),i.push({data:(0,s.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&i.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),i}}]),r})(f.default);function t(n){for(var r=0,i=1;i<11;i+=2)r+=parseInt(n[i]);for(i=0;i<11;i+=2)r+=parseInt(n[i])*3;return(10-r%10)%10}a.default=e})),et=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function u(h,y){for(var v=0;v<y.length;v++){var b=y[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(h,b.key,b)}}return function(h,y,v){return y&&u(h.prototype,y),v&&u(h,v),h}})(),s=c(A()),f=c(x()),l=B();function c(u){return u&&u.__esModule?u:{default:u}}function p(u,h){if(!(u instanceof h))throw TypeError("Cannot call a class as a function")}function o(u,h){if(!u)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:u}function e(u,h){if(typeof h!="function"&&h!==null)throw TypeError("Super expression must either be null or a function, not "+typeof h);u.prototype=Object.create(h&&h.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(u,h):u.__proto__=h)}var t=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],n=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],r=(function(u){e(h,u);function h(y,v){p(this,h);var b=o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,y,v));if(b.isValid=!1,y.search(/^[0-9]{6}$/)!==-1)b.middleDigits=y,b.upcA=i(y,"0"),b.text=v.text||""+b.upcA[0]+y+b.upcA[b.upcA.length-1],b.isValid=!0;else if(y.search(/^[01][0-9]{7}$/)!==-1)if(b.middleDigits=y.substring(1,y.length-1),b.upcA=i(b.middleDigits,y[0]),b.upcA[b.upcA.length-1]===y[y.length-1])b.isValid=!0;else return o(b);else return o(b);return b.displayValue=v.displayValue,b.fontSize=v.fontSize>v.width*10?v.width*10:v.fontSize,b.guardHeight=v.height+b.fontSize/2+v.textMargin,b}return d(h,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var y="";return y+="101",y+=this.encodeMiddleDigits(),y+="010101",{data:y,text:this.text}}},{key:"guardedEncoding",value:function(){var y=[];return this.displayValue&&y.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),y.push({data:"101",options:{height:this.guardHeight}}),y.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),y.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&y.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),y}},{key:"encodeMiddleDigits",value:function(){var y=this.upcA[0],v=this.upcA[this.upcA.length-1],b=n[parseInt(v)][parseInt(y)];return(0,s.default)(this.middleDigits,b)}}]),h})(f.default);function i(u,h){for(var y=t[parseInt(u[u.length-1])],v="",b=0,j=0;j<y.length;j++){var g=y[j];v+=g==="X"?u[b++]:g}return v=""+h+v,""+v+(0,l.checksum)(v)}a.default=r})),nt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.UPCE=a.UPC=a.EAN2=a.EAN5=a.EAN8=a.EAN13=void 0;var d=o(Z()),s=o(K()),f=o(q()),l=o(tt()),c=o(B()),p=o(et());function o(e){return e&&e.__esModule?e:{default:e}}a.EAN13=d.default,a.EAN8=s.default,a.EAN5=f.default,a.EAN2=l.default,a.UPC=c.default,a.UPCE=p.default})),rt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.START_BIN="1010",a.END_BIN="11101",a.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]})),G=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=rt(),f=l(x());function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function o(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.default=(function(e){o(t,e);function t(){return c(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var n=this,r=this.data.match(/.{2}/g).map(function(i){return n.encodePair(i)}).join("");return{data:s.START_BIN+r+s.END_BIN,text:this.text}}},{key:"encodePair",value:function(n){var r=s.BINARIES[n[1]];return s.BINARIES[n[0]].split("").map(function(i,u){return(i==="1"?"111":"1")+(r[u]==="1"?"000":"0")}).join("")}}]),t})(f.default)})),ot=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=f(G());function f(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function p(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=function(e){var t=e.substr(0,13).split("").map(function(n){return parseInt(n,10)}).reduce(function(n,r,i){return n+r*(3-i%2*2)},0);return Math.ceil(t/10)*10-t};a.default=(function(e){p(t,e);function t(n,r){return l(this,t),n.search(/^[0-9]{13}$/)!==-1&&(n+=o(n)),c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,r))}return d(t,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===o(this.data)}}]),t})(s.default)})),it=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.ITF14=a.ITF=void 0;var d=f(G()),s=f(ot());function f(l){return l&&l.__esModule?l:{default:l}}a.ITF=d.default,a.ITF14=s.default})),T=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function t(n,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}return function(n,r,i){return r&&t(n.prototype,r),i&&t(n,i),n}})(),s=f(x());function f(t){return t&&t.__esModule?t:{default:t}}function l(t,n){if(!(t instanceof n))throw TypeError("Cannot call a class as a function")}function c(t,n){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:t}function p(t,n){if(typeof n!="function"&&n!==null)throw TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}var o=(function(t){p(n,t);function n(r,i){return l(this,n),c(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,r,i))}return d(n,[{key:"encode",value:function(){for(var r="110",i=0;i<this.data.length;i++){var u=parseInt(this.data[i]).toString(2);u=e(u,4-u.length);for(var h=0;h<u.length;h++)r+=u[h]=="0"?"100":"110"}return r+="1001",{data:r,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),n})(s.default);function e(t,n){for(var r=0;r<n;r++)t="0"+t;return t}a.default=o})),R=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.mod10=d,a.mod11=s;function d(f){for(var l=0,c=0;c<f.length;c++){var p=parseInt(f[c]);(c+f.length)%2==0?l+=p:l+=p*2%10+Math.floor(p*2/10)}return(10-l%10)%10}function s(f){for(var l=0,c=[2,3,4,5,6,7],p=0;p<f.length;p++){var o=parseInt(f[f.length-1-p]);l+=c[p%c.length]*o}return(11-l%11)%11}})),at=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=f(T()),s=R();function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.default=(function(o){p(e,o);function e(t,n){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t+(0,s.mod10)(t),n))}return e})(d.default)})),ut=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=f(T()),s=R();function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.default=(function(o){p(e,o);function e(t,n){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t+(0,s.mod11)(t),n))}return e})(d.default)})),ft=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=f(T()),s=R();function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.default=(function(o){p(e,o);function e(t,n){return l(this,e),t+=(0,s.mod10)(t),t+=(0,s.mod10)(t),c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return e})(d.default)})),st=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=f(T()),s=R();function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.default=(function(o){p(e,o);function e(t,n){return l(this,e),t+=(0,s.mod11)(t),t+=(0,s.mod10)(t),c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return e})(d.default)})),ct=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.MSI1110=a.MSI1010=a.MSI11=a.MSI10=a.MSI=void 0;var d=p(T()),s=p(at()),f=p(ut()),l=p(ft()),c=p(st());function p(o){return o&&o.__esModule?o:{default:o}}a.MSI=d.default,a.MSI10=s.default,a.MSI11=f.default,a.MSI1010=l.default,a.MSI1110=c.default})),lt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.pharmacode=void 0;var d=(function(){function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}})(),s=f(x());function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.pharmacode=(function(o){p(e,o);function e(t,n){l(this,e);var r=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.number=parseInt(t,10),r}return d(e,[{key:"encode",value:function(){for(var t=this.number,n="";!isNaN(t)&&t!=0;)t%2==0?(n="11100"+n,t=(t-2)/2):(n="100"+n,t=(t-1)/2);return n=n.slice(0,-2),{data:n,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),e})(s.default)})),pt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.codabar=void 0;var d=(function(){function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}})(),s=f(x());function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.codabar=(function(o){p(e,o);function e(t,n){l(this,e),t.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(t="A"+t+"A");var r=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t.toUpperCase(),n));return r.text=r.options.text||r.text.replace(/[A-D]/g,""),r}return d(e,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var t=[],n=this.getEncodings(),r=0;r<this.data.length;r++)t.push(n[this.data.charAt(r)]),r!==this.data.length-1&&t.push("0");return{text:this.text,data:t.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})(s.default)})),dt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.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,-,., ,$,/,+,%,($),(%),(/),(+),ÿ".split(","),a.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".split("."),a.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"]}})),D=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=dt(),f=l(x());function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function o(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.default=(function(e){o(t,e);function t(n,r){return c(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,r))}return d(t,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var n=this.data.split("").flatMap(function(h){return s.MULTI_SYMBOLS[h]||h}),r=n.map(function(h){return t.getEncoding(h)}).join(""),i=t.checksum(n,20),u=t.checksum(n.concat(i),15);return{text:this.text,data:t.getEncoding("ÿ")+r+t.getEncoding(i)+t.getEncoding(u)+t.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(n){return s.BINARIES[t.symbolValue(n)]}},{key:"getSymbol",value:function(n){return s.SYMBOLS[n]}},{key:"symbolValue",value:function(n){return s.SYMBOLS.indexOf(n)}},{key:"checksum",value:function(n,r){var i=n.slice().reverse().reduce(function(u,h,y){var v=y%r+1;return u+t.symbolValue(h)*v},0);return t.getSymbol(i%47)}}]),t})(f.default)})),ht=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}})(),s=f(D());function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.default=(function(o){p(e,o);function e(t,n){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return d(e,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),e})(s.default)})),yt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.CODE93FullASCII=a.CODE93=void 0;var d=f(D()),s=f(ht());function f(l){return l&&l.__esModule?l:{default:l}}a.CODE93=d.default,a.CODE93FullASCII=s.default})),vt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.GenericBarcode=void 0;var d=(function(){function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}})(),s=f(x());function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.GenericBarcode=(function(o){p(e,o);function e(t,n){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return d(e,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e})(s.default)})),bt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=V(),s=Q(),f=nt(),l=it(),c=ct(),p=lt(),o=pt(),e=yt(),t=vt();a.default={CODE39:d.CODE39,CODE128:s.CODE128,CODE128A:s.CODE128A,CODE128B:s.CODE128B,CODE128C:s.CODE128C,EAN13:f.EAN13,EAN8:f.EAN8,EAN5:f.EAN5,EAN2:f.EAN2,UPC:f.UPC,UPCE:f.UPCE,ITF14:l.ITF14,ITF:l.ITF,MSI:c.MSI,MSI10:c.MSI10,MSI11:c.MSI11,MSI1010:c.MSI1010,MSI1110:c.MSI1110,pharmacode:p.pharmacode,codabar:o.codabar,CODE93:e.CODE93,CODE93FullASCII:e.CODE93FullASCII,GenericBarcode:t.GenericBarcode}})),L=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=Object.assign||function(s){for(var f=1;f<arguments.length;f++){var l=arguments[f];for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&(s[c]=l[c])}return s};a.default=function(s,f){return d({},s,f)}})),_t=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.default=d;function d(s){var f=[];function l(c){if(Array.isArray(c))for(var p=0;p<c.length;p++)l(c[p]);else c.text=c.text||"",c.data=c.data||"",f.push(c)}return l(s),f}})),gt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.default=d;function d(s){return s.marginTop=s.marginTop||s.margin,s.marginBottom=s.marginBottom||s.margin,s.marginRight=s.marginRight||s.margin,s.marginLeft=s.marginLeft||s.margin,s}})),N=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.default=d;function d(s){var f=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var l in f)f.hasOwnProperty(l)&&(l=f[l],typeof s[l]=="string"&&(s[l]=parseInt(s[l],10)));return typeof s.displayValue=="string"&&(s.displayValue=s.displayValue!="false"),s}})),$=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.default={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(){}}})),Ot=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=f(N()),s=f($());function f(c){return c&&c.__esModule?c:{default:c}}function l(c){var p={};for(var o in s.default)s.default.hasOwnProperty(o)&&(c.hasAttribute("jsbarcode-"+o.toLowerCase())&&(p[o]=c.getAttribute("jsbarcode-"+o.toLowerCase())),c.hasAttribute("data-"+o.toLowerCase())&&(p[o]=c.getAttribute("data-"+o.toLowerCase())));return p.value=c.getAttribute("jsbarcode-value")||c.getAttribute("data-value"),p=(0,d.default)(p),p}a.default=l})),X=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.getTotalWidthOfEncodings=a.calculateEncodingAttributes=a.getBarcodePadding=a.getEncodingHeight=a.getMaximumHeightOfEncodings=void 0;var d=s(L());function s(t){return t&&t.__esModule?t:{default:t}}function f(t,n){return n.height+(n.displayValue&&t.text.length>0?n.fontSize+n.textMargin:0)+n.marginTop+n.marginBottom}function l(t,n,r){if(r.displayValue&&n<t){if(r.textAlign=="center")return Math.floor((t-n)/2);if(r.textAlign=="left")return 0;if(r.textAlign=="right")return Math.floor(t-n)}return 0}function c(t,n,r){for(var i=0;i<t.length;i++){var u=t[i],h=(0,d.default)(n,u.options),y=h.displayValue?e(u.text,h,r):0,v=u.data.length*h.width;u.width=Math.ceil(Math.max(y,v)),u.height=f(u,h),u.barcodePadding=l(y,v,h)}}function p(t){for(var n=0,r=0;r<t.length;r++)n+=t[r].width;return n}function o(t){for(var n=0,r=0;r<t.length;r++)t[r].height>n&&(n=t[r].height);return n}function e(t,n,r){var i;if(r)i=r;else if(typeof document<"u")i=document.createElement("canvas").getContext("2d");else return 0;i.font=n.fontOptions+" "+n.fontSize+"px "+n.font;var u=i.measureText(t);return u?u.width:0}a.getMaximumHeightOfEncodings=o,a.getEncodingHeight=f,a.getBarcodePadding=l,a.calculateEncodingAttributes=c,a.getTotalWidthOfEncodings=p})),Et=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function p(o,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(o,n.key,n)}}return function(o,e,t){return e&&p(o.prototype,e),t&&p(o,t),o}})(),s=l(L()),f=X();function l(p){return p&&p.__esModule?p:{default:p}}function c(p,o){if(!(p instanceof o))throw TypeError("Cannot call a class as a function")}a.default=(function(){function p(o,e,t){c(this,p),this.canvas=o,this.encodings=e,this.options=t}return d(p,[{key:"render",value:function(){if(!this.canvas.getContext)throw Error("The browser does not support canvas.");this.prepareCanvas();for(var o=0;o<this.encodings.length;o++){var e=(0,s.default)(this.options,this.encodings[o].options);this.drawCanvasBarcode(e,this.encodings[o]),this.drawCanvasText(e,this.encodings[o]),this.moveCanvasDrawing(this.encodings[o])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var o=this.canvas.getContext("2d");o.save(),(0,f.calculateEncodingAttributes)(this.encodings,this.options,o);var e=(0,f.getTotalWidthOfEncodings)(this.encodings),t=(0,f.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=e+this.options.marginLeft+this.options.marginRight,this.canvas.height=t,o.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(o.fillStyle=this.options.background,o.fillRect(0,0,this.canvas.width,this.canvas.height)),o.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(o,e){var t=this.canvas.getContext("2d"),n=e.data,r=o.textPosition=="top"?o.marginTop+o.fontSize+o.textMargin:o.marginTop;t.fillStyle=o.lineColor;for(var i=0;i<n.length;i++){var u=i*o.width+e.barcodePadding;n[i]==="1"?t.fillRect(u,r,o.width,o.height):n[i]&&t.fillRect(u,r,o.width,o.height*n[i])}}},{key:"drawCanvasText",value:function(o,e){var t=this.canvas.getContext("2d"),n=o.fontOptions+" "+o.fontSize+"px "+o.font;if(o.displayValue){var r,i=o.textPosition=="top"?o.marginTop+o.fontSize-o.textMargin:o.height+o.textMargin+o.marginTop+o.fontSize;t.font=n,o.textAlign=="left"||e.barcodePadding>0?(r=0,t.textAlign="left"):o.textAlign=="right"?(r=e.width-1,t.textAlign="right"):(r=e.width/2,t.textAlign="center"),t.fillText(e.text,r,i)}}},{key:"moveCanvasDrawing",value:function(o){this.canvas.getContext("2d").translate(o.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore()}}]),p})()})),mt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}})(),s=l(L()),f=X();function l(o){return o&&o.__esModule?o:{default:o}}function c(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}var p="http://www.w3.org/2000/svg";a.default=(function(){function o(e,t,n){c(this,o),this.svg=e,this.encodings=t,this.options=n,this.document=n.xmlDocument||document}return d(o,[{key:"render",value:function(){var e=this.options.marginLeft;this.prepareSVG();for(var t=0;t<this.encodings.length;t++){var n=this.encodings[t],r=(0,s.default)(this.options,n.options),i=this.createGroup(e,r.marginTop,this.svg);this.setGroupOptions(i,r),this.drawSvgBarcode(i,r,n),this.drawSVGText(i,r,n),e+=n.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,f.calculateEncodingAttributes)(this.encodings,this.options);var e=(0,f.getTotalWidthOfEncodings)(this.encodings),t=(0,f.getMaximumHeightOfEncodings)(this.encodings),n=e+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(n,t),this.options.background&&this.drawRect(0,0,n,t,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(e,t,n){for(var r=n.data,i=t.textPosition=="top"?t.fontSize+t.textMargin:0,u=0,h=0,y=0;y<r.length;y++)h=y*t.width+n.barcodePadding,r[y]==="1"?u++:u>0&&(this.drawRect(h-t.width*u,i,t.width*u,t.height,e),u=0);u>0&&this.drawRect(h-t.width*(u-1),i,t.width*u,t.height,e)}},{key:"drawSVGText",value:function(e,t,n){var r=this.document.createElementNS(p,"text");if(t.displayValue){var i,u;r.setAttribute("font-family",t.font),r.setAttribute("font-size",t.fontSize),t.fontOptions.includes("bold")&&r.setAttribute("font-weight","bold"),t.fontOptions.includes("italic")&&r.setAttribute("font-style","italic"),u=t.textPosition=="top"?t.fontSize-t.textMargin:t.height+t.textMargin+t.fontSize,t.textAlign=="left"||n.barcodePadding>0?(i=0,r.setAttribute("text-anchor","start")):t.textAlign=="right"?(i=n.width-1,r.setAttribute("text-anchor","end")):(i=n.width/2,r.setAttribute("text-anchor","middle")),r.setAttribute("x",i),r.setAttribute("y",u),r.appendChild(this.document.createTextNode(n.text)),e.appendChild(r)}}},{key:"setSvgAttributes",value:function(e,t){var n=this.svg;n.setAttribute("width",e+"px"),n.setAttribute("height",t+"px"),n.setAttribute("x","0px"),n.setAttribute("y","0px"),n.setAttribute("viewBox","0 0 "+e+" "+t),n.setAttribute("xmlns",p),n.setAttribute("version","1.1")}},{key:"createGroup",value:function(e,t,n){var r=this.document.createElementNS(p,"g");return r.setAttribute("transform","translate("+e+", "+t+")"),n.appendChild(r),r}},{key:"setGroupOptions",value:function(e,t){e.setAttribute("fill",t.lineColor)}},{key:"drawRect",value:function(e,t,n,r,i){var u=this.document.createElementNS(p,"rect");return u.setAttribute("x",e),u.setAttribute("y",t),u.setAttribute("width",n),u.setAttribute("height",r),i.appendChild(u),u}}]),o})()})),jt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function f(l,c){for(var p=0;p<c.length;p++){var o=c[p];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(l,o.key,o)}}return function(l,c,p){return c&&f(l.prototype,c),p&&f(l,p),l}})();function s(f,l){if(!(f instanceof l))throw TypeError("Cannot call a class as a function")}a.default=(function(){function f(l,c,p){s(this,f),this.object=l,this.encodings=c,this.options=p}return d(f,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),f})()})),wt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=l(Et()),s=l(mt()),f=l(jt());function l(c){return c&&c.__esModule?c:{default:c}}a.default={CanvasRenderer:d.default,SVGRenderer:s.default,ObjectRenderer:f.default}})),H=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});function d(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function s(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function f(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}var l=(function(o){f(e,o);function e(t,n){d(this,e);var r=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.name="InvalidInputException",r.symbology=t,r.input=n,r.message='"'+r.input+'" is not a valid input for '+r.symbology,r}return e})(Error),c=(function(o){f(e,o);function e(){d(this,e);var t=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.name="InvalidElementException",t.message="Not supported type to render on",t}return e})(Error),p=(function(o){f(e,o);function e(){d(this,e);var t=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.name="NoElementException",t.message="No element to render on.",t}return e})(Error);a.InvalidInputException=l,a.InvalidElementException=c,a.NoElementException=p})),xt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=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},s=c(Ot()),f=c(wt()),l=H();function c(t){return t&&t.__esModule?t:{default:t}}function p(t){if(typeof t=="string")return o(t);if(Array.isArray(t)){for(var n=[],r=0;r<t.length;r++)n.push(p(t[r]));return n}if(typeof HTMLCanvasElement<"u"&&t instanceof HTMLImageElement)return e(t);if(t&&t.nodeName&&t.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&t instanceof SVGElement)return{element:t,options:(0,s.default)(t),renderer:f.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&t instanceof HTMLCanvasElement)return{element:t,options:(0,s.default)(t),renderer:f.default.CanvasRenderer};if(t&&t.getContext)return{element:t,renderer:f.default.CanvasRenderer};if(t&&(t===void 0?"undefined":d(t))==="object"&&!t.nodeName)return{element:t,renderer:f.default.ObjectRenderer};throw new l.InvalidElementException}function o(t){var n=document.querySelectorAll(t);if(n.length!==0){for(var r=[],i=0;i<n.length;i++)r.push(p(n[i]));return r}}function e(t){var n=document.createElement("canvas");return{element:n,options:(0,s.default)(t),renderer:f.default.CanvasRenderer,afterRender:function(){t.setAttribute("src",n.toDataURL())}}}a.default=p})),Pt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function f(l,c){for(var p=0;p<c.length;p++){var o=c[p];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(l,o.key,o)}}return function(l,c,p){return c&&f(l.prototype,c),p&&f(l,p),l}})();function s(f,l){if(!(f instanceof l))throw TypeError("Cannot call a class as a function")}a.default=(function(){function f(l){s(this,f),this.api=l}return d(f,[{key:"handleCatch",value:function(l){if(l.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw l.message;else throw l;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(l){try{var c=l.apply(void 0,arguments);return this.api._options.valid(!0),c}catch(p){return this.handleCatch(p),this.api}}}]),f})()})),St=_.s(((a,d)=>{var s=r(bt()),f=r(L()),l=r(_t()),c=r(gt()),p=r(xt()),o=r(N()),e=r(Pt()),t=H(),n=r($());function r(g){return g&&g.__esModule?g:{default:g}}var i=function(){},u=function(g,m,O){var E=new i;if(g===void 0)throw Error("No element to render on was provided.");return E._renderProperties=(0,p.default)(g),E._encodings=[],E._options=n.default,E._errorHandler=new e.default(E),m!==void 0&&(O||={},O.format||(O.format=b()),E.options(O)[O.format](m,O).render()),E};for(var h in u.getModule=function(g){return s.default[g]},s.default)s.default.hasOwnProperty(h)&&y(s.default,h);function y(g,m){i.prototype[m]=i.prototype[m.toUpperCase()]=i.prototype[m.toLowerCase()]=function(O,E){var w=this;return w._errorHandler.wrapBarcodeCall(function(){E.text=E.text===void 0?void 0:""+E.text;var P=(0,f.default)(w._options,E);P=(0,o.default)(P);var At=g[m],Tt=v(O,At,P);return w._encodings.push(Tt),w})}}function v(g,m,O){g=""+g;var E=new m(g,O);if(!E.valid())throw new t.InvalidInputException(E.constructor.name,g);var w=E.encode();w=(0,l.default)(w);for(var P=0;P<w.length;P++)w[P].options=(0,f.default)(O,w[P].options);return w}function b(){return s.default.CODE128?"CODE128":Object.keys(s.default)[0]}i.prototype.options=function(g){return this._options=(0,f.default)(this._options,g),this},i.prototype.blank=function(g){var m=Array(g+1).join("0");return this._encodings.push({data:m}),this},i.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var g;for(var m in this._renderProperties){g=this._renderProperties[m];var O=(0,f.default)(this._options,g.options);O.format=="auto"&&(O.format=b()),this._errorHandler.wrapBarcodeCall(function(){var E=O.value,w=s.default[O.format.toUpperCase()],P=v(E,w,O);j(g,P,O)})}}},i.prototype.render=function(){if(!this._renderProperties)throw new t.NoElementException;if(Array.isArray(this._renderProperties))for(var g=0;g<this._renderProperties.length;g++)j(this._renderProperties[g],this._encodings,this._options);else j(this._renderProperties,this._encodings,this._options);return this},i.prototype._defaults=n.default;function j(g,m,O){m=(0,l.default)(m);for(var E=0;E<m.length;E++)m[E].options=(0,f.default)(O,m[E].options),(0,c.default)(m[E].options);(0,c.default)(O);var w=g.renderer;new w(g.element,m,O).render(),g.afterRender&&g.afterRender()}typeof window<"u"&&(window.JsBarcode=u),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(g,m){var O=[];return jQuery(this).each(function(){O.push(this)}),u(O,g,m)}),d.exports=u})),Ct=St();z.default=Ct});
1
+ __useblocks__.define("static/core/a6303cb2.js",["require","exports","module","static/core/2ff39ddf.js","static/core/ff7d14e8.js"],function(k,z,Mt){const Rt=k("./2ff39ddf.js"),_=k("./ff7d14e8.js");var x=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});function d(s,f){if(!(s instanceof f))throw TypeError("Cannot call a class as a function")}a.default=function s(f,l){d(this,s),this.data=f,this.text=l.text||f,this.options=l}})),V=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.CODE39=void 0;var d=(function(){function y(v,b){for(var j=0;j<b.length;j++){var g=b[j];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(v,g.key,g)}}return function(v,b,j){return b&&y(v.prototype,b),j&&y(v,j),v}})(),s=f(x());function f(y){return y&&y.__esModule?y:{default:y}}function l(y,v){if(!(y instanceof v))throw TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function p(y,v){if(typeof v!="function"&&v!==null)throw TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var o=(function(y){p(v,y);function v(b,j){return l(this,v),b=b.toUpperCase(),j.mod43&&(b+=i(h(b))),c(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,b,j))}return d(v,[{key:"encode",value:function(){for(var b=n("*"),j=0;j<this.data.length;j++)b+=n(this.data[j])+"0";return b+=n("*"),{data:b,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),v})(s.default),e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%*".split(""),t=[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 n(y){return r(u(y))}function r(y){return t[y].toString(2)}function i(y){return e[y]}function u(y){return e.indexOf(y)}function h(y){for(var v=0,b=0;b<y.length;b++)v+=u(y[b]);return v%=43,v}a.CODE39=o})),S=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d;function s(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var f=a.SET_A=0,l=a.SET_B=1,c=a.SET_C=2;a.SHIFT=98;var p=a.START_A=103,o=a.START_B=104,e=a.START_C=105;a.MODULO=103,a.STOP=106,a.FNC1=207,a.SET_BY_CODE=(d={},s(d,p,f),s(d,o,l),s(d,e,c),d),a.SWAP={101:f,100:l,99:c},a.A_START_CHAR="Ð",a.B_START_CHAR="Ñ",a.C_START_CHAR="Ò",a.A_CHARS="[\0-_È-Ï]",a.B_CHARS="[ -È-Ï]",a.C_CHARS="(Ï*[0-9]{2}Ï*)",a.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]})),M=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=l(x()),f=S();function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function o(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.default=(function(e){o(t,e);function t(n,r){c(this,t);var i=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n.substring(1),r));return i.bytes=n.split("").map(function(u){return u.charCodeAt(0)}),i}return d(t,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var n=this.bytes,r=n.shift()-105,i=f.SET_BY_CODE[r];if(i===void 0)throw RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&n.unshift(f.FNC1);var u=t.next(n,1,i);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:t.getBar(r)+u.result+t.getBar((u.checksum+r)%f.MODULO)+t.getBar(f.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 f.BARS[n]?f.BARS[n].toString():""}},{key:"correctIndex",value:function(n,r){if(r===f.SET_A){var i=n.shift();return i<32?i+64:i-32}return r===f.SET_B?n.shift()-32:(n.shift()-48)*10+n.shift()-48}},{key:"next",value:function(n,r,i){if(!n.length)return{result:"",checksum:0};var u=void 0,h=void 0;if(n[0]>=200){h=n.shift()-105;var y=f.SWAP[h];y===void 0?((i===f.SET_A||i===f.SET_B)&&h===f.SHIFT&&(n[0]=i===f.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),u=t.next(n,r+1,i)):u=t.next(n,r+1,y)}else h=t.correctIndex(n,i),u=t.next(n,r+1,i);var v=t.getBar(h),b=h*r;return{result:v+u.result,checksum:b+u.checksum}}}]),t})(s.default)})),U=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=S(),s=function(o){return o.match(RegExp("^"+d.A_CHARS+"*"))[0].length},f=function(o){return o.match(RegExp("^"+d.B_CHARS+"*"))[0].length},l=function(o){return o.match(RegExp("^"+d.C_CHARS+"*"))[0]};function c(o,e){var t=e?d.A_CHARS:d.B_CHARS,n=o.match(RegExp("^("+t+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(n)return n[1]+"Ì"+p(o.substring(n[1].length));var r=o.match(RegExp("^"+t+"+"))[0];return r.length===o.length?o:r+String.fromCharCode(e?205:206)+c(o.substring(r.length),!e)}function p(o){var e=l(o),t=e.length;if(t===o.length)return o;o=o.substring(t);var n=s(o)>=f(o);return e+String.fromCharCode(n?206:205)+c(o,n)}a.default=function(o){var e=void 0;if(l(o).length>=2)e=d.C_START_CHAR+p(o);else{var t=s(o)>f(o);e=(t?d.A_START_CHAR:d.B_START_CHAR)+c(o,t)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(n,r){return"Ë"+r})}})),F=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=f(M()),s=f(U());function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.default=(function(o){p(e,o);function e(t,n){if(l(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(t))var r=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,s.default)(t),n));else var r=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return c(r)}return e})(d.default)})),W=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=l(M()),f=S();function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function o(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.default=(function(e){o(t,e);function t(n,r){return c(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,f.A_START_CHAR+n,r))}return d(t,[{key:"valid",value:function(){return RegExp("^"+f.A_CHARS+"+$").test(this.data)}}]),t})(s.default)})),Y=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=l(M()),f=S();function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function o(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.default=(function(e){o(t,e);function t(n,r){return c(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,f.B_START_CHAR+n,r))}return d(t,[{key:"valid",value:function(){return RegExp("^"+f.B_CHARS+"+$").test(this.data)}}]),t})(s.default)})),J=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=l(M()),f=S();function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function o(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.default=(function(e){o(t,e);function t(n,r){return c(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,f.C_START_CHAR+n,r))}return d(t,[{key:"valid",value:function(){return RegExp("^"+f.C_CHARS+"+$").test(this.data)}}]),t})(s.default)})),Q=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.CODE128C=a.CODE128B=a.CODE128A=a.CODE128=void 0;var d=c(F()),s=c(W()),f=c(Y()),l=c(J());function c(p){return p&&p.__esModule?p:{default:p}}a.CODE128=d.default,a.CODE128A=s.default,a.CODE128B=f.default,a.CODE128C=l.default})),C=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.SIDE_BIN="101",a.MIDDLE_BIN="01010",a.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"]},a.EAN2_STRUCTURE=["LL","LG","GL","GG"],a.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],a.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]})),A=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=C();a.default=function(s,f,l){var c=s.split("").map(function(o,e){return d.BINARIES[f[e]]}).map(function(o,e){return o?o[s[e]]:""});if(l){var p=s.length-1;c=c.map(function(o,e){return e<p?o+l:o})}return c.join("")}})),I=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function t(n,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}return function(n,r,i){return r&&t(n.prototype,r),i&&t(n,i),n}})(),s=C(),f=c(A()),l=c(x());function c(t){return t&&t.__esModule?t:{default:t}}function p(t,n){if(!(t instanceof n))throw TypeError("Cannot call a class as a function")}function o(t,n){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:t}function e(t,n){if(typeof n!="function"&&n!==null)throw TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}a.default=(function(t){e(n,t);function n(r,i){p(this,n);var u=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,r,i));return u.fontSize=!i.flat&&i.fontSize>i.width*10?i.width*10:i.fontSize,u.guardHeight=i.height+u.fontSize/2+i.textMargin,u}return d(n,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(r,i){return this.text.substr(r,i)}},{key:"leftEncode",value:function(r,i){return(0,f.default)(r,i)}},{key:"rightText",value:function(r,i){return this.text.substr(r,i)}},{key:"rightEncode",value:function(r,i){return(0,f.default)(r,i)}},{key:"encodeGuarded",value:function(){var r={fontSize:this.fontSize},i={height:this.guardHeight};return[{data:s.SIDE_BIN,options:i},{data:this.leftEncode(),text:this.leftText(),options:r},{data:s.MIDDLE_BIN,options:i},{data:this.rightEncode(),text:this.rightText(),options:r},{data:s.SIDE_BIN,options:i}]}},{key:"encodeFlat",value:function(){return{data:[s.SIDE_BIN,this.leftEncode(),s.MIDDLE_BIN,this.rightEncode(),s.SIDE_BIN].join(""),text:this.text}}}]),n})(l.default)})),Z=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function n(r,i){for(var u=0;u<i.length;u++){var h=i[u];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(r,h.key,h)}}return function(r,i,u){return i&&n(r.prototype,i),u&&n(r,u),r}})(),s=function n(r,i,u){r===null&&(r=Function.prototype);var h=Object.getOwnPropertyDescriptor(r,i);if(h===void 0){var y=Object.getPrototypeOf(r);return y===null?void 0:n(y,i,u)}if("value"in h)return h.value;var v=h.get;return v===void 0?void 0:v.call(u)},f=C(),l=c(I());function c(n){return n&&n.__esModule?n:{default:n}}function p(n,r){if(!(n instanceof r))throw TypeError("Cannot call a class as a function")}function o(n,r){if(!n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function e(n,r){if(typeof r!="function"&&r!==null)throw TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var t=function(n){return(10-n.substr(0,12).split("").map(function(r){return+r}).reduce(function(r,i,u){return u%2?r+i*3:r+i},0)%10)%10};a.default=(function(n){e(r,n);function r(i,u){p(this,r),i.search(/^[0-9]{12}$/)!==-1&&(i+=t(i));var h=o(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,i,u));return h.lastChar=u.lastChar,h}return d(r,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===t(this.data)}},{key:"leftText",value:function(){return s(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var i=this.data.substr(1,6),u=f.EAN13_STRUCTURE[this.data[0]];return s(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"leftEncode",this).call(this,i,u)}},{key:"rightText",value:function(){return s(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var i=this.data.substr(7,6);return s(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"rightEncode",this).call(this,i,"RRRRRR")}},{key:"encodeGuarded",value:function(){var i=s(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(i.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(i.push({data:"00"}),i.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),i}}]),r})(l.default)})),K=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function t(n,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}return function(n,r,i){return r&&t(n.prototype,r),i&&t(n,i),n}})(),s=function t(n,r,i){n===null&&(n=Function.prototype);var u=Object.getOwnPropertyDescriptor(n,r);if(u===void 0){var h=Object.getPrototypeOf(n);return h===null?void 0:t(h,r,i)}if("value"in u)return u.value;var y=u.get;return y===void 0?void 0:y.call(i)},f=l(I());function l(t){return t&&t.__esModule?t:{default:t}}function c(t,n){if(!(t instanceof n))throw TypeError("Cannot call a class as a function")}function p(t,n){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:t}function o(t,n){if(typeof n!="function"&&n!==null)throw TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}var e=function(t){return(10-t.substr(0,7).split("").map(function(n){return+n}).reduce(function(n,r,i){return i%2?n+r:n+r*3},0)%10)%10};a.default=(function(t){o(n,t);function n(r,i){return c(this,n),r.search(/^[0-9]{7}$/)!==-1&&(r+=e(r)),p(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,r,i))}return d(n,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===e(this.data)}},{key:"leftText",value:function(){return s(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var r=this.data.substr(0,4);return s(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"leftEncode",this).call(this,r,"LLLL")}},{key:"rightText",value:function(){return s(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var r=this.data.substr(4,4);return s(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"rightEncode",this).call(this,r,"RRRR")}}]),n})(f.default)})),q=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function n(r,i){for(var u=0;u<i.length;u++){var h=i[u];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(r,h.key,h)}}return function(r,i,u){return i&&n(r.prototype,i),u&&n(r,u),r}})(),s=C(),f=c(A()),l=c(x());function c(n){return n&&n.__esModule?n:{default:n}}function p(n,r){if(!(n instanceof r))throw TypeError("Cannot call a class as a function")}function o(n,r){if(!n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function e(n,r){if(typeof r!="function"&&r!==null)throw TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var t=function(n){return n.split("").map(function(r){return+r}).reduce(function(r,i,u){return u%2?r+i*9:r+i*3},0)%10};a.default=(function(n){e(r,n);function r(i,u){return p(this,r),o(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,i,u))}return d(r,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var i=s.EAN5_STRUCTURE[t(this.data)];return{data:"1011"+(0,f.default)(this.data,i,"01"),text:this.text}}}]),r})(l.default)})),tt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function t(n,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}return function(n,r,i){return r&&t(n.prototype,r),i&&t(n,i),n}})(),s=C(),f=c(A()),l=c(x());function c(t){return t&&t.__esModule?t:{default:t}}function p(t,n){if(!(t instanceof n))throw TypeError("Cannot call a class as a function")}function o(t,n){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:t}function e(t,n){if(typeof n!="function"&&n!==null)throw TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}a.default=(function(t){e(n,t);function n(r,i){return p(this,n),o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,r,i))}return d(n,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var r=s.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,f.default)(this.data,r,"01"),text:this.text}}}]),n})(l.default)})),B=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function n(r,i){for(var u=0;u<i.length;u++){var h=i[u];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(r,h.key,h)}}return function(r,i,u){return i&&n(r.prototype,i),u&&n(r,u),r}})();a.checksum=t;var s=l(A()),f=l(x());function l(n){return n&&n.__esModule?n:{default:n}}function c(n,r){if(!(n instanceof r))throw TypeError("Cannot call a class as a function")}function p(n,r){if(!n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function o(n,r){if(typeof r!="function"&&r!==null)throw TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var e=(function(n){o(r,n);function r(i,u){c(this,r),i.search(/^[0-9]{11}$/)!==-1&&(i+=t(i));var h=p(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,i,u));return h.displayValue=u.displayValue,h.fontSize=u.fontSize>u.width*10?u.width*10:u.fontSize,h.guardHeight=u.height+h.fontSize/2+u.textMargin,h}return d(r,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==t(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var i="";return i+="101",i+=(0,s.default)(this.data.substr(0,6),"LLLLLL"),i+="01010",i+=(0,s.default)(this.data.substr(6,6),"RRRRRR"),i+="101",{data:i,text:this.text}}},{key:"guardedEncoding",value:function(){var i=[];return this.displayValue&&i.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),i.push({data:"101"+(0,s.default)(this.data[0],"L"),options:{height:this.guardHeight}}),i.push({data:(0,s.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),i.push({data:"01010",options:{height:this.guardHeight}}),i.push({data:(0,s.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),i.push({data:(0,s.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&i.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),i}}]),r})(f.default);function t(n){for(var r=0,i=1;i<11;i+=2)r+=parseInt(n[i]);for(i=0;i<11;i+=2)r+=parseInt(n[i])*3;return(10-r%10)%10}a.default=e})),et=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function u(h,y){for(var v=0;v<y.length;v++){var b=y[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(h,b.key,b)}}return function(h,y,v){return y&&u(h.prototype,y),v&&u(h,v),h}})(),s=c(A()),f=c(x()),l=B();function c(u){return u&&u.__esModule?u:{default:u}}function p(u,h){if(!(u instanceof h))throw TypeError("Cannot call a class as a function")}function o(u,h){if(!u)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:u}function e(u,h){if(typeof h!="function"&&h!==null)throw TypeError("Super expression must either be null or a function, not "+typeof h);u.prototype=Object.create(h&&h.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(u,h):u.__proto__=h)}var t=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],n=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],r=(function(u){e(h,u);function h(y,v){p(this,h);var b=o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,y,v));if(b.isValid=!1,y.search(/^[0-9]{6}$/)!==-1)b.middleDigits=y,b.upcA=i(y,"0"),b.text=v.text||""+b.upcA[0]+y+b.upcA[b.upcA.length-1],b.isValid=!0;else if(y.search(/^[01][0-9]{7}$/)!==-1)if(b.middleDigits=y.substring(1,y.length-1),b.upcA=i(b.middleDigits,y[0]),b.upcA[b.upcA.length-1]===y[y.length-1])b.isValid=!0;else return o(b);else return o(b);return b.displayValue=v.displayValue,b.fontSize=v.fontSize>v.width*10?v.width*10:v.fontSize,b.guardHeight=v.height+b.fontSize/2+v.textMargin,b}return d(h,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var y="";return y+="101",y+=this.encodeMiddleDigits(),y+="010101",{data:y,text:this.text}}},{key:"guardedEncoding",value:function(){var y=[];return this.displayValue&&y.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),y.push({data:"101",options:{height:this.guardHeight}}),y.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),y.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&y.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),y}},{key:"encodeMiddleDigits",value:function(){var y=this.upcA[0],v=this.upcA[this.upcA.length-1],b=n[parseInt(v)][parseInt(y)];return(0,s.default)(this.middleDigits,b)}}]),h})(f.default);function i(u,h){for(var y=t[parseInt(u[u.length-1])],v="",b=0,j=0;j<y.length;j++){var g=y[j];v+=g==="X"?u[b++]:g}return v=""+h+v,""+v+(0,l.checksum)(v)}a.default=r})),nt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.UPCE=a.UPC=a.EAN2=a.EAN5=a.EAN8=a.EAN13=void 0;var d=o(Z()),s=o(K()),f=o(q()),l=o(tt()),c=o(B()),p=o(et());function o(e){return e&&e.__esModule?e:{default:e}}a.EAN13=d.default,a.EAN8=s.default,a.EAN5=f.default,a.EAN2=l.default,a.UPC=c.default,a.UPCE=p.default})),rt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.START_BIN="1010",a.END_BIN="11101",a.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]})),G=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=rt(),f=l(x());function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function o(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.default=(function(e){o(t,e);function t(){return c(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var n=this,r=this.data.match(/.{2}/g).map(function(i){return n.encodePair(i)}).join("");return{data:s.START_BIN+r+s.END_BIN,text:this.text}}},{key:"encodePair",value:function(n){var r=s.BINARIES[n[1]];return s.BINARIES[n[0]].split("").map(function(i,u){return(i==="1"?"111":"1")+(r[u]==="1"?"000":"0")}).join("")}}]),t})(f.default)})),ot=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=f(G());function f(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function p(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=function(e){var t=e.substr(0,13).split("").map(function(n){return parseInt(n,10)}).reduce(function(n,r,i){return n+r*(3-i%2*2)},0);return Math.ceil(t/10)*10-t};a.default=(function(e){p(t,e);function t(n,r){return l(this,t),n.search(/^[0-9]{13}$/)!==-1&&(n+=o(n)),c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,r))}return d(t,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===o(this.data)}}]),t})(s.default)})),it=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.ITF14=a.ITF=void 0;var d=f(G()),s=f(ot());function f(l){return l&&l.__esModule?l:{default:l}}a.ITF=d.default,a.ITF14=s.default})),T=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function t(n,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}return function(n,r,i){return r&&t(n.prototype,r),i&&t(n,i),n}})(),s=f(x());function f(t){return t&&t.__esModule?t:{default:t}}function l(t,n){if(!(t instanceof n))throw TypeError("Cannot call a class as a function")}function c(t,n){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:t}function p(t,n){if(typeof n!="function"&&n!==null)throw TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}var o=(function(t){p(n,t);function n(r,i){return l(this,n),c(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,r,i))}return d(n,[{key:"encode",value:function(){for(var r="110",i=0;i<this.data.length;i++){var u=parseInt(this.data[i]).toString(2);u=e(u,4-u.length);for(var h=0;h<u.length;h++)r+=u[h]=="0"?"100":"110"}return r+="1001",{data:r,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),n})(s.default);function e(t,n){for(var r=0;r<n;r++)t="0"+t;return t}a.default=o})),R=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.mod10=d,a.mod11=s;function d(f){for(var l=0,c=0;c<f.length;c++){var p=parseInt(f[c]);(c+f.length)%2==0?l+=p:l+=p*2%10+Math.floor(p*2/10)}return(10-l%10)%10}function s(f){for(var l=0,c=[2,3,4,5,6,7],p=0;p<f.length;p++){var o=parseInt(f[f.length-1-p]);l+=c[p%c.length]*o}return(11-l%11)%11}})),at=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=f(T()),s=R();function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.default=(function(o){p(e,o);function e(t,n){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t+(0,s.mod10)(t),n))}return e})(d.default)})),ut=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=f(T()),s=R();function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.default=(function(o){p(e,o);function e(t,n){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t+(0,s.mod11)(t),n))}return e})(d.default)})),ft=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=f(T()),s=R();function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.default=(function(o){p(e,o);function e(t,n){return l(this,e),t+=(0,s.mod10)(t),t+=(0,s.mod10)(t),c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return e})(d.default)})),st=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=f(T()),s=R();function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.default=(function(o){p(e,o);function e(t,n){return l(this,e),t+=(0,s.mod11)(t),t+=(0,s.mod10)(t),c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return e})(d.default)})),ct=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.MSI1110=a.MSI1010=a.MSI11=a.MSI10=a.MSI=void 0;var d=p(T()),s=p(at()),f=p(ut()),l=p(ft()),c=p(st());function p(o){return o&&o.__esModule?o:{default:o}}a.MSI=d.default,a.MSI10=s.default,a.MSI11=f.default,a.MSI1010=l.default,a.MSI1110=c.default})),lt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.pharmacode=void 0;var d=(function(){function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}})(),s=f(x());function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.pharmacode=(function(o){p(e,o);function e(t,n){l(this,e);var r=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.number=parseInt(t,10),r}return d(e,[{key:"encode",value:function(){for(var t=this.number,n="";!isNaN(t)&&t!=0;)t%2==0?(n="11100"+n,t=(t-2)/2):(n="100"+n,t=(t-1)/2);return n=n.slice(0,-2),{data:n,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),e})(s.default)})),pt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.codabar=void 0;var d=(function(){function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}})(),s=f(x());function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.codabar=(function(o){p(e,o);function e(t,n){l(this,e),t.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(t="A"+t+"A");var r=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t.toUpperCase(),n));return r.text=r.options.text||r.text.replace(/[A-D]/g,""),r}return d(e,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var t=[],n=this.getEncodings(),r=0;r<this.data.length;r++)t.push(n[this.data.charAt(r)]),r!==this.data.length-1&&t.push("0");return{text:this.text,data:t.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})(s.default)})),dt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.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,-,., ,$,/,+,%,($),(%),(/),(+),ÿ".split(","),a.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".split("."),a.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"]}})),D=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}})(),s=dt(),f=l(x());function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function o(e,t){if(typeof t!="function"&&t!==null)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.default=(function(e){o(t,e);function t(n,r){return c(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,r))}return d(t,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var n=this.data.split("").flatMap(function(h){return s.MULTI_SYMBOLS[h]||h}),r=n.map(function(h){return t.getEncoding(h)}).join(""),i=t.checksum(n,20),u=t.checksum(n.concat(i),15);return{text:this.text,data:t.getEncoding("ÿ")+r+t.getEncoding(i)+t.getEncoding(u)+t.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(n){return s.BINARIES[t.symbolValue(n)]}},{key:"getSymbol",value:function(n){return s.SYMBOLS[n]}},{key:"symbolValue",value:function(n){return s.SYMBOLS.indexOf(n)}},{key:"checksum",value:function(n,r){var i=n.slice().reverse().reduce(function(u,h,y){var v=y%r+1;return u+t.symbolValue(h)*v},0);return t.getSymbol(i%47)}}]),t})(f.default)})),ht=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}})(),s=f(D());function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.default=(function(o){p(e,o);function e(t,n){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return d(e,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),e})(s.default)})),yt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.CODE93FullASCII=a.CODE93=void 0;var d=f(D()),s=f(ht());function f(l){return l&&l.__esModule?l:{default:l}}a.CODE93=d.default,a.CODE93FullASCII=s.default})),vt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.GenericBarcode=void 0;var d=(function(){function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}})(),s=f(x());function f(o){return o&&o.__esModule?o:{default:o}}function l(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function c(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function p(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}a.GenericBarcode=(function(o){p(e,o);function e(t,n){return l(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return d(e,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e})(s.default)})),bt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=V(),s=Q(),f=nt(),l=it(),c=ct(),p=lt(),o=pt(),e=yt(),t=vt();a.default={CODE39:d.CODE39,CODE128:s.CODE128,CODE128A:s.CODE128A,CODE128B:s.CODE128B,CODE128C:s.CODE128C,EAN13:f.EAN13,EAN8:f.EAN8,EAN5:f.EAN5,EAN2:f.EAN2,UPC:f.UPC,UPCE:f.UPCE,ITF14:l.ITF14,ITF:l.ITF,MSI:c.MSI,MSI10:c.MSI10,MSI11:c.MSI11,MSI1010:c.MSI1010,MSI1110:c.MSI1110,pharmacode:p.pharmacode,codabar:o.codabar,CODE93:e.CODE93,CODE93FullASCII:e.CODE93FullASCII,GenericBarcode:t.GenericBarcode}})),L=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=Object.assign||function(s){for(var f=1;f<arguments.length;f++){var l=arguments[f];for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&(s[c]=l[c])}return s};a.default=function(s,f){return d({},s,f)}})),_t=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.default=d;function d(s){var f=[];function l(c){if(Array.isArray(c))for(var p=0;p<c.length;p++)l(c[p]);else c.text=c.text||"",c.data=c.data||"",f.push(c)}return l(s),f}})),gt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.default=d;function d(s){return s.marginTop=s.marginTop||s.margin,s.marginBottom=s.marginBottom||s.margin,s.marginRight=s.marginRight||s.margin,s.marginLeft=s.marginLeft||s.margin,s}})),N=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.default=d;function d(s){var f=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var l in f)f.hasOwnProperty(l)&&(l=f[l],typeof s[l]=="string"&&(s[l]=parseInt(s[l],10)));return typeof s.displayValue=="string"&&(s.displayValue=s.displayValue!="false"),s}})),$=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.default={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(){}}})),Ot=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=f(N()),s=f($());function f(c){return c&&c.__esModule?c:{default:c}}function l(c){var p={};for(var o in s.default)s.default.hasOwnProperty(o)&&(c.hasAttribute("jsbarcode-"+o.toLowerCase())&&(p[o]=c.getAttribute("jsbarcode-"+o.toLowerCase())),c.hasAttribute("data-"+o.toLowerCase())&&(p[o]=c.getAttribute("data-"+o.toLowerCase())));return p.value=c.getAttribute("jsbarcode-value")||c.getAttribute("data-value"),p=(0,d.default)(p),p}a.default=l})),X=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0}),a.getTotalWidthOfEncodings=a.calculateEncodingAttributes=a.getBarcodePadding=a.getEncodingHeight=a.getMaximumHeightOfEncodings=void 0;var d=s(L());function s(t){return t&&t.__esModule?t:{default:t}}function f(t,n){return n.height+(n.displayValue&&t.text.length>0?n.fontSize+n.textMargin:0)+n.marginTop+n.marginBottom}function l(t,n,r){if(r.displayValue&&n<t){if(r.textAlign=="center")return Math.floor((t-n)/2);if(r.textAlign=="left")return 0;if(r.textAlign=="right")return Math.floor(t-n)}return 0}function c(t,n,r){for(var i=0;i<t.length;i++){var u=t[i],h=(0,d.default)(n,u.options),y=h.displayValue?e(u.text,h,r):0,v=u.data.length*h.width;u.width=Math.ceil(Math.max(y,v)),u.height=f(u,h),u.barcodePadding=l(y,v,h)}}function p(t){for(var n=0,r=0;r<t.length;r++)n+=t[r].width;return n}function o(t){for(var n=0,r=0;r<t.length;r++)t[r].height>n&&(n=t[r].height);return n}function e(t,n,r){var i;if(r)i=r;else if(typeof document<"u")i=document.createElement("canvas").getContext("2d");else return 0;i.font=n.fontOptions+" "+n.fontSize+"px "+n.font;var u=i.measureText(t);return u?u.width:0}a.getMaximumHeightOfEncodings=o,a.getEncodingHeight=f,a.getBarcodePadding=l,a.calculateEncodingAttributes=c,a.getTotalWidthOfEncodings=p})),Et=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function p(o,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(o,n.key,n)}}return function(o,e,t){return e&&p(o.prototype,e),t&&p(o,t),o}})(),s=l(L()),f=X();function l(p){return p&&p.__esModule?p:{default:p}}function c(p,o){if(!(p instanceof o))throw TypeError("Cannot call a class as a function")}a.default=(function(){function p(o,e,t){c(this,p),this.canvas=o,this.encodings=e,this.options=t}return d(p,[{key:"render",value:function(){if(!this.canvas.getContext)throw Error("The browser does not support canvas.");this.prepareCanvas();for(var o=0;o<this.encodings.length;o++){var e=(0,s.default)(this.options,this.encodings[o].options);this.drawCanvasBarcode(e,this.encodings[o]),this.drawCanvasText(e,this.encodings[o]),this.moveCanvasDrawing(this.encodings[o])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var o=this.canvas.getContext("2d");o.save(),(0,f.calculateEncodingAttributes)(this.encodings,this.options,o);var e=(0,f.getTotalWidthOfEncodings)(this.encodings),t=(0,f.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=e+this.options.marginLeft+this.options.marginRight,this.canvas.height=t,o.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(o.fillStyle=this.options.background,o.fillRect(0,0,this.canvas.width,this.canvas.height)),o.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(o,e){var t=this.canvas.getContext("2d"),n=e.data,r=o.textPosition=="top"?o.marginTop+o.fontSize+o.textMargin:o.marginTop;t.fillStyle=o.lineColor;for(var i=0;i<n.length;i++){var u=i*o.width+e.barcodePadding;n[i]==="1"?t.fillRect(u,r,o.width,o.height):n[i]&&t.fillRect(u,r,o.width,o.height*n[i])}}},{key:"drawCanvasText",value:function(o,e){var t=this.canvas.getContext("2d"),n=o.fontOptions+" "+o.fontSize+"px "+o.font;if(o.displayValue){var r,i=o.textPosition=="top"?o.marginTop+o.fontSize-o.textMargin:o.height+o.textMargin+o.marginTop+o.fontSize;t.font=n,o.textAlign=="left"||e.barcodePadding>0?(r=0,t.textAlign="left"):o.textAlign=="right"?(r=e.width-1,t.textAlign="right"):(r=e.width/2,t.textAlign="center"),t.fillText(e.text,r,i)}}},{key:"moveCanvasDrawing",value:function(o){this.canvas.getContext("2d").translate(o.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore()}}]),p})()})),mt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}})(),s=l(L()),f=X();function l(o){return o&&o.__esModule?o:{default:o}}function c(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}var p="http://www.w3.org/2000/svg";a.default=(function(){function o(e,t,n){c(this,o),this.svg=e,this.encodings=t,this.options=n,this.document=n.xmlDocument||document}return d(o,[{key:"render",value:function(){var e=this.options.marginLeft;this.prepareSVG();for(var t=0;t<this.encodings.length;t++){var n=this.encodings[t],r=(0,s.default)(this.options,n.options),i=this.createGroup(e,r.marginTop,this.svg);this.setGroupOptions(i,r),this.drawSvgBarcode(i,r,n),this.drawSVGText(i,r,n),e+=n.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,f.calculateEncodingAttributes)(this.encodings,this.options);var e=(0,f.getTotalWidthOfEncodings)(this.encodings),t=(0,f.getMaximumHeightOfEncodings)(this.encodings),n=e+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(n,t),this.options.background&&this.drawRect(0,0,n,t,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(e,t,n){for(var r=n.data,i=t.textPosition=="top"?t.fontSize+t.textMargin:0,u=0,h=0,y=0;y<r.length;y++)h=y*t.width+n.barcodePadding,r[y]==="1"?u++:u>0&&(this.drawRect(h-t.width*u,i,t.width*u,t.height,e),u=0);u>0&&this.drawRect(h-t.width*(u-1),i,t.width*u,t.height,e)}},{key:"drawSVGText",value:function(e,t,n){var r=this.document.createElementNS(p,"text");if(t.displayValue){var i,u;r.setAttribute("font-family",t.font),r.setAttribute("font-size",t.fontSize),t.fontOptions.includes("bold")&&r.setAttribute("font-weight","bold"),t.fontOptions.includes("italic")&&r.setAttribute("font-style","italic"),u=t.textPosition=="top"?t.fontSize-t.textMargin:t.height+t.textMargin+t.fontSize,t.textAlign=="left"||n.barcodePadding>0?(i=0,r.setAttribute("text-anchor","start")):t.textAlign=="right"?(i=n.width-1,r.setAttribute("text-anchor","end")):(i=n.width/2,r.setAttribute("text-anchor","middle")),r.setAttribute("x",i),r.setAttribute("y",u),r.appendChild(this.document.createTextNode(n.text)),e.appendChild(r)}}},{key:"setSvgAttributes",value:function(e,t){var n=this.svg;n.setAttribute("width",e+"px"),n.setAttribute("height",t+"px"),n.setAttribute("x","0px"),n.setAttribute("y","0px"),n.setAttribute("viewBox","0 0 "+e+" "+t),n.setAttribute("xmlns",p),n.setAttribute("version","1.1")}},{key:"createGroup",value:function(e,t,n){var r=this.document.createElementNS(p,"g");return r.setAttribute("transform","translate("+e+", "+t+")"),n.appendChild(r),r}},{key:"setGroupOptions",value:function(e,t){e.setAttribute("fill",t.lineColor)}},{key:"drawRect",value:function(e,t,n,r,i){var u=this.document.createElementNS(p,"rect");return u.setAttribute("x",e),u.setAttribute("y",t),u.setAttribute("width",n),u.setAttribute("height",r),i.appendChild(u),u}}]),o})()})),jt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function f(l,c){for(var p=0;p<c.length;p++){var o=c[p];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(l,o.key,o)}}return function(l,c,p){return c&&f(l.prototype,c),p&&f(l,p),l}})();function s(f,l){if(!(f instanceof l))throw TypeError("Cannot call a class as a function")}a.default=(function(){function f(l,c,p){s(this,f),this.object=l,this.encodings=c,this.options=p}return d(f,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),f})()})),wt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=l(Et()),s=l(mt()),f=l(jt());function l(c){return c&&c.__esModule?c:{default:c}}a.default={CanvasRenderer:d.default,SVGRenderer:s.default,ObjectRenderer:f.default}})),H=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});function d(o,e){if(!(o instanceof e))throw TypeError("Cannot call a class as a function")}function s(o,e){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:o}function f(o,e){if(typeof e!="function"&&e!==null)throw TypeError("Super expression must either be null or a function, not "+typeof e);o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(o,e):o.__proto__=e)}var l=(function(o){f(e,o);function e(t,n){d(this,e);var r=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.name="InvalidInputException",r.symbology=t,r.input=n,r.message='"'+r.input+'" is not a valid input for '+r.symbology,r}return e})(Error),c=(function(o){f(e,o);function e(){d(this,e);var t=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.name="InvalidElementException",t.message="Not supported type to render on",t}return e})(Error),p=(function(o){f(e,o);function e(){d(this,e);var t=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.name="NoElementException",t.message="No element to render on.",t}return e})(Error);a.InvalidInputException=l,a.InvalidElementException=c,a.NoElementException=p})),xt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=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},s=c(Ot()),f=c(wt()),l=H();function c(t){return t&&t.__esModule?t:{default:t}}function p(t){if(typeof t=="string")return o(t);if(Array.isArray(t)){for(var n=[],r=0;r<t.length;r++)n.push(p(t[r]));return n}if(typeof HTMLCanvasElement<"u"&&t instanceof HTMLImageElement)return e(t);if(t&&t.nodeName&&t.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&t instanceof SVGElement)return{element:t,options:(0,s.default)(t),renderer:f.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&t instanceof HTMLCanvasElement)return{element:t,options:(0,s.default)(t),renderer:f.default.CanvasRenderer};if(t&&t.getContext)return{element:t,renderer:f.default.CanvasRenderer};if(t&&(t===void 0?"undefined":d(t))==="object"&&!t.nodeName)return{element:t,renderer:f.default.ObjectRenderer};throw new l.InvalidElementException}function o(t){var n=document.querySelectorAll(t);if(n.length!==0){for(var r=[],i=0;i<n.length;i++)r.push(p(n[i]));return r}}function e(t){var n=document.createElement("canvas");return{element:n,options:(0,s.default)(t),renderer:f.default.CanvasRenderer,afterRender:function(){t.setAttribute("src",n.toDataURL())}}}a.default=p})),Pt=_.s((a=>{Object.defineProperty(a,"__esModule",{value:!0});var d=(function(){function f(l,c){for(var p=0;p<c.length;p++){var o=c[p];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(l,o.key,o)}}return function(l,c,p){return c&&f(l.prototype,c),p&&f(l,p),l}})();function s(f,l){if(!(f instanceof l))throw TypeError("Cannot call a class as a function")}a.default=(function(){function f(l){s(this,f),this.api=l}return d(f,[{key:"handleCatch",value:function(l){if(l.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw l.message;else throw l;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(l){try{var c=l.apply(void 0,arguments);return this.api._options.valid(!0),c}catch(p){return this.handleCatch(p),this.api}}}]),f})()})),St=_.s(((a,d)=>{var s=r(bt()),f=r(L()),l=r(_t()),c=r(gt()),p=r(xt()),o=r(N()),e=r(Pt()),t=H(),n=r($());function r(g){return g&&g.__esModule?g:{default:g}}var i=function(){},u=function(g,m,O){var E=new i;if(g===void 0)throw Error("No element to render on was provided.");return E._renderProperties=(0,p.default)(g),E._encodings=[],E._options=n.default,E._errorHandler=new e.default(E),m!==void 0&&(O||={},O.format||(O.format=b()),E.options(O)[O.format](m,O).render()),E};for(var h in u.getModule=function(g){return s.default[g]},s.default)s.default.hasOwnProperty(h)&&y(s.default,h);function y(g,m){i.prototype[m]=i.prototype[m.toUpperCase()]=i.prototype[m.toLowerCase()]=function(O,E){var w=this;return w._errorHandler.wrapBarcodeCall(function(){E.text=E.text===void 0?void 0:""+E.text;var P=(0,f.default)(w._options,E);P=(0,o.default)(P);var At=g[m],Tt=v(O,At,P);return w._encodings.push(Tt),w})}}function v(g,m,O){g=""+g;var E=new m(g,O);if(!E.valid())throw new t.InvalidInputException(E.constructor.name,g);var w=E.encode();w=(0,l.default)(w);for(var P=0;P<w.length;P++)w[P].options=(0,f.default)(O,w[P].options);return w}function b(){return s.default.CODE128?"CODE128":Object.keys(s.default)[0]}i.prototype.options=function(g){return this._options=(0,f.default)(this._options,g),this},i.prototype.blank=function(g){var m=Array(g+1).join("0");return this._encodings.push({data:m}),this},i.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var g;for(var m in this._renderProperties){g=this._renderProperties[m];var O=(0,f.default)(this._options,g.options);O.format=="auto"&&(O.format=b()),this._errorHandler.wrapBarcodeCall(function(){var E=O.value,w=s.default[O.format.toUpperCase()],P=v(E,w,O);j(g,P,O)})}}},i.prototype.render=function(){if(!this._renderProperties)throw new t.NoElementException;if(Array.isArray(this._renderProperties))for(var g=0;g<this._renderProperties.length;g++)j(this._renderProperties[g],this._encodings,this._options);else j(this._renderProperties,this._encodings,this._options);return this},i.prototype._defaults=n.default;function j(g,m,O){m=(0,l.default)(m);for(var E=0;E<m.length;E++)m[E].options=(0,f.default)(O,m[E].options),(0,c.default)(m[E].options);(0,c.default)(O);var w=g.renderer;new w(g.element,m,O).render(),g.afterRender&&g.afterRender()}typeof window<"u"&&(window.JsBarcode=u),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(g,m){var O=[];return jQuery(this).each(function(){O.push(this)}),u(O,g,m)}),d.exports=u})),Ct=St();z.default=Ct});
@@ -1 +1 @@
1
- __useblocks__.define("static/core/9f137764.js",["require","exports","module","static/core/2ff39ddf.js","static/core/44a83e21.js"],function(e,t,r){const l=e("./2ff39ddf.js");var o={wordwrap:200,tables:!0,selectors:[...e("./44a83e21.js").DEFAULT_OPTIONS.selectors||[],{selector:"table",format:"dataTable"},{selector:"ul",format:"list"},{selector:"ol",format:"list"},{selector:"pre",format:"block"},{selector:"blockquote",format:"blockquote"}],baseElements:{selectors:["body","table"]},preserveNewlines:!1,longWordSplit:{forceWrapOnLimit:!1}};t.EmailTextPlainConvertOptions=o});
1
+ __useblocks__.define("static/core/a98b6879.js",["require","exports","module","static/core/2ff39ddf.js","static/core/b653f9c5.js"],function(e,t,r){const l=e("./2ff39ddf.js");var o={wordwrap:200,tables:!0,selectors:[...e("./b653f9c5.js").DEFAULT_OPTIONS.selectors||[],{selector:"table",format:"dataTable"},{selector:"ul",format:"list"},{selector:"ol",format:"list"},{selector:"pre",format:"block"},{selector:"blockquote",format:"blockquote"}],baseElements:{selectors:["body","table"]},preserveNewlines:!1,longWordSplit:{forceWrapOnLimit:!1}};t.EmailTextPlainConvertOptions=o});