useblocks 1.1.60 → 1.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/iframe/js/amp.BP7EklKo.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.4N5s3OV-.js +1 -1
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -1
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/{2007a4de.js → 19572306.js} +3 -3
- package/static/core/{3af8f3592.js → 1a415abd2.js} +11 -11
- package/static/core/{beb0bf082.js → 1c82c2d52.js} +3 -3
- package/static/core/{a15b80f92.js → 1cbab2af2.js} +5 -5
- package/static/core/{d7248545.js → 1d173e97.js} +3 -3
- package/static/core/{2da397242.js → 1d2a32d02.js} +4 -4
- package/static/core/{afb88a152.js → 205266672.js} +3 -3
- package/static/core/{881b2d5e2.js → 211ca90b.js} +3 -3
- package/static/core/{64bea1a9.js → 220b2c2a.js} +3 -3
- package/static/core/{f3974b0a2.js → 2515c6a52.js} +3 -3
- package/static/core/{7a15fa8b.js → 261ad211.js} +3 -3
- package/static/core/{b158ecf42.js → 292fe55d2.js} +3 -3
- package/static/core/{ffee9a77.js → 2d13936a.js} +7 -7
- package/static/core/{633e7b35.js → 2d8a7133.js} +5 -5
- package/static/core/{fddd2a08.js → 2e9906f7.js} +3 -3
- package/static/core/{6156301b2.js → 31ba662c2.js} +5 -5
- package/static/core/{d8d6485e.js → 3ab5d1a4.js} +3 -3
- package/static/core/{29a717042.js → 3c6f1d122.js} +3 -3
- package/static/core/{1b943f90.js → 40d6d494.js} +3 -3
- package/static/core/40f1c391.js +43109 -0
- package/static/core/{40f73dfb.js → 411c06d9.js} +1639 -1490
- package/static/core/{9ff20d5b2.js → 42e9eb802.js} +3 -3
- package/static/core/{dc408d7c2.js → 43108a122.js} +4 -4
- package/static/core/43764f5b.js +2404 -0
- package/static/core/{82d7f399.js → 45da436c.js} +3 -3
- package/static/core/{68256f192.js → 45fcca4f2.js} +3 -3
- package/static/core/47513981.js +465 -0
- package/static/core/{abcd50f42.js → 49a037b02.js} +3 -3
- package/static/core/{fafd21ff.js → 4a9bd173.js} +3 -3
- package/static/core/{2afb9a3f.js → 4b0f73af.js} +3 -3
- package/static/core/{8c1004d0.js → 4b9709dc.js} +3 -3
- package/static/core/{4346fdb62.js → 4c5c889d.js} +5 -5
- package/static/core/{6e7ba901.js → 54e7728d.js} +5 -5
- package/static/core/{4d980cba.js → 5d0c727e.js} +3 -3
- package/static/core/5ea0fc40.js +1072 -0
- package/static/core/{5b49f8dc.js → 601b4e7b.js} +3 -3
- package/static/core/{394b90142.js → 62dd04ca2.js} +3 -3
- package/static/core/63b7b25e.js +68 -0
- package/static/core/{ed68b0a12.js → 656a0edc2.js} +3 -3
- package/static/core/{14169856.js → 664c38f8.js} +3 -3
- package/static/core/{5b1e8b15.js → 668ae858.js} +3 -3
- package/static/core/{83b2598c.js → 66f4dea3.js} +3 -3
- package/static/core/{6ad78ee0.js → 678594cd.js} +3 -3
- package/static/core/{c5a48f77.js → 68edd344.js} +3 -3
- package/static/core/{161d1254.js → 6c0b4555.js} +266 -257
- package/static/core/{918c986e.js → 6e177eb6.js} +3 -3
- package/static/core/{aacda7212.js → 6eb316fe2.js} +6 -6
- package/static/core/{687795b52.js → 6f0d961a2.js} +11 -11
- package/static/core/{b7c8a718.js → 712b11ba.js} +3 -3
- package/static/core/{13d2d05e2.js → 72e2612a2.js} +3 -3
- package/static/core/{b7bad9a32.js → 75e8d4672.js} +3 -3
- package/static/core/{d9baa55e.js → 7735c90f.js} +229 -208
- package/static/core/{ae20f0992.js → 7ad0031e2.js} +19 -19
- package/static/core/{8815eb5b.js → 7dd91b5f.js} +10000 -9922
- package/static/core/{d9398296.js → 7fd85aa0.js} +7 -7
- package/static/core/{d60257cb2.js → 81a5ffb92.js} +3 -3
- package/static/core/8460710a.js +27 -0
- package/static/core/{3e8d89192.js → 84df1edd2.js} +3 -3
- package/static/core/{86b547102.js → 85ea16112.js} +3 -3
- package/static/core/{bd36b180.js → 86577bae.js} +268 -327
- package/static/core/{59a3c6b12.js → 873142eb.js} +3 -3
- package/static/core/{a1355a35.js → 89e7cc57.js} +7 -7
- package/static/core/{2cd93f382.js → 8aa09f022.js} +3 -3
- package/static/core/{18434080.js → 8b28b024.js} +5 -5
- package/static/core/{7111a541.js → 8b8811812.js} +3 -3
- package/static/core/{680236f4.js → 8d4aa933.js} +5 -5
- package/static/core/{d1a1d4902.js → 8e6e6aaa2.js} +3 -3
- package/static/core/{53463a60.js → 90f16a4b.js} +272 -273
- package/static/core/{3ca175fa2.js → 925a1cfd2.js} +3 -3
- package/static/core/{205a8ff1.js → 951b9e3d.js} +3 -3
- package/static/core/{4359f341.js → 958e85b5.js} +3 -3
- package/static/core/{8ba13f332.js → 95d1d1aa2.js} +3 -3
- package/static/core/{951924bb.js → 96417e98.js} +4 -4
- package/static/core/{f2642aba2.js → 9954153b2.js} +3 -3
- package/static/core/{5f142e2b2.js → 99fd0b342.js} +3 -3
- package/static/core/{8eb5e3b9.js → 9c236031.js} +3 -3
- package/static/core/{d6dc48c22.js → 9d1a7a182.js} +3 -3
- package/static/core/{ab73c8a9.js → 9d8297c7.js} +3 -3
- package/static/core/{4e75b331.js → 9e889fa1.js} +610 -556
- package/static/core/{195ca4a32.js → a35fd8d22.js} +13 -13
- package/static/core/{43c3f160.js → a44b0f6c.js} +1600 -1599
- package/static/core/{4a68abd52.js → a79573972.js} +3 -3
- package/static/core/{2b39692f.js → a83b01cb2.js} +4 -4
- package/static/core/a88996b3.js +15008 -0
- package/static/core/{71b92036.js → a898230f.js} +3 -3
- package/static/core/{9fac001b2.js → a953bf24.js} +3 -3
- package/static/core/{951375572.js → a97bdbc8.js} +3 -3
- package/static/core/{ec11f92f.js → aa783b9b.js} +13 -13
- package/static/core/{26ddf93e2.js → af691d1f.js} +9 -9
- package/static/core/{28db3c86.js → affffdf2.js} +7 -7
- package/static/core/{17d3ee0b.js → b04145ff2.js} +15 -15
- package/static/core/{4c39852e.js → b0712bbb.js} +118 -118
- package/static/core/{59135c752.js → b09300472.js} +3 -3
- package/static/core/b165c6f6.js +1241 -0
- package/static/core/{abd3f34c.js → b1b3186f.js} +3 -3
- package/static/core/{236ebb40.js → b283b340.js} +3 -3
- package/static/core/{6d19deb5.js → b303b2a4.js} +3 -3
- package/static/core/b450a16a.js +389 -0
- package/static/core/{6a7b6bbf.js → b54ad117.js} +3 -3
- package/static/core/{02511310.js → b57c9e1f.js} +3 -3
- package/static/core/{d0ccb615.js → bc1a9cb2.js} +3 -3
- package/static/core/{a82f6fec.js → bc557d9c.js} +5 -5
- package/static/core/{c9e59b34.js → bcee99d6.js} +209 -175
- package/static/core/{ff87896a.js → c52e08d6.js} +4 -4
- package/static/core/c7588e5f.js +2695 -0
- package/static/core/{dcb9c562.js → c8cb5d88.js} +3 -3
- package/static/core/{72f86b2d.js → cee370ea.js} +8 -8
- package/static/core/{6508abf02.js → ceffb8322.js} +3 -3
- package/static/core/{82221b8a.js → d2f93451.js} +3 -3
- package/static/core/{7bb22a6f2.js → d32841a32.js} +3 -3
- package/static/core/{80b5fb35.js → d46cb9672.js} +3 -3
- package/static/core/{b76a26ed.js → d54353e72.js} +3 -3
- package/static/core/{6c597d3b.js → d6b377d3.js} +7 -7
- package/static/core/{b0135ed82.js → d7a9fd822.js} +3 -3
- package/static/core/{f9bd85e6.js → d85e34c42.js} +3 -3
- package/static/core/{7a4017562.js → d892d2c82.js} +3 -3
- package/static/core/{8432f11e.js → d8df6d5a.js} +3 -3
- package/static/core/{4325aa3b2.js → da25e8fc.js} +4 -4
- package/static/core/{48cc8951.js → da4b0874.js} +3 -3
- package/static/core/{64ef3feb2.js → db4e60fa2.js} +3 -3
- package/static/core/{f71ec5fe.js → dc19c4fa.js} +195 -194
- package/static/core/{f14a92ed.js → de2e2a02.js} +4 -4
- package/static/core/{a36c3ab62.js → e47711662.js} +5 -5
- package/static/core/{2eea3fda.js → e7c982c02.js} +3 -3
- package/static/core/{f953827c.js → e96aadfa.js} +1694 -1693
- package/static/core/{14b52fb12.js → e9ff66762.js} +3 -3
- package/static/core/{6864e3c9.js → eaa635532.js} +3 -3
- package/static/core/{cbffb9dd2.js → f3b4a3102.js} +3 -3
- package/static/core/{28fc3553.js → f562fb51.js} +3 -3
- package/static/core/{87e6b74a2.js → f5d4906d2.js} +5 -5
- package/static/core/f61e3e55.js +29 -0
- package/static/core/{eb3b1cc8.js → fa23ae7b.js} +3 -3
- package/static/core/{bc2333e72.js → fb834fb22.js} +6 -6
- package/static/core/{4a27bba92.js → fd9034a2.js} +19 -19
- package/static/core/{6572fce22.js → fff1a8622.js} +3 -3
- package/static/media/image-editor/fonts/Rubik-Black.woff2 +0 -0
- package/static/media/image-editor/fonts/Rubik-Bold.woff2 +0 -0
- package/static/media/image-editor/fonts/Rubik-Light.woff2 +0 -0
- package/static/media/image-editor/fonts/Rubik-Regular.woff2 +0 -0
- package/static/media/image-editor/fonts/caveat-v23-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/commissioner-v24-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/inter-v20-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/oswald-v57-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/pacifico-v23-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/playfair-display-v40-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/images/brushes/black/circle.png +0 -0
- package/static/media/image-editor/images/brushes/black/diamond.png +0 -0
- package/static/media/image-editor/images/brushes/black/hline.png +0 -0
- package/static/media/image-editor/images/brushes/black/pencil.png +0 -0
- package/static/media/image-editor/images/brushes/black/spray.png +0 -0
- package/static/media/image-editor/images/brushes/black/square.png +0 -0
- package/static/media/image-editor/images/brushes/black/vline.png +0 -0
- package/static/media/image-editor/images/brushes/white/circle.png +0 -0
- package/static/media/image-editor/images/brushes/white/diamond.png +0 -0
- package/static/media/image-editor/images/brushes/white/hline.png +0 -0
- package/static/media/image-editor/images/brushes/white/pencil.png +0 -0
- package/static/media/image-editor/images/brushes/white/spray.png +0 -0
- package/static/media/image-editor/images/brushes/white/square.png +0 -0
- package/static/media/image-editor/images/brushes/white/vline.png +0 -0
- package/static/media/image-editor/images/filter/blackWhite.jpg +0 -0
- package/static/media/image-editor/images/filter/blendColor.jpg +0 -0
- package/static/media/image-editor/images/filter/blur.jpg +0 -0
- package/static/media/image-editor/images/filter/brightness.jpg +0 -0
- package/static/media/image-editor/images/filter/brownie.jpg +0 -0
- package/static/media/image-editor/images/filter/emboss.jpg +0 -0
- package/static/media/image-editor/images/filter/gamma.jpg +0 -0
- package/static/media/image-editor/images/filter/grayscale.jpg +0 -0
- package/static/media/image-editor/images/filter/invert.jpg +0 -0
- package/static/media/image-editor/images/filter/kodachrome.jpg +0 -0
- package/static/media/image-editor/images/filter/noise.jpg +0 -0
- package/static/media/image-editor/images/filter/original.jpg +0 -0
- package/static/media/image-editor/images/filter/pixelate.jpg +0 -0
- package/static/media/image-editor/images/filter/polaroid.jpg +0 -0
- package/static/media/image-editor/images/filter/removeColor.jpg +0 -0
- package/static/media/image-editor/images/filter/sepia.jpg +0 -0
- package/static/media/image-editor/images/filter/sharpen.jpg +0 -0
- package/static/media/image-editor/images/filter/technicolor.jpg +0 -0
- package/static/media/image-editor/images/filter/vintage.jpg +0 -0
- package/static/media/image-editor/images/frames/art1/bottom.png +0 -0
- package/static/media/image-editor/images/frames/art1/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/art1/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/art1/left.png +0 -0
- package/static/media/image-editor/images/frames/art1/right.png +0 -0
- package/static/media/image-editor/images/frames/art1/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/art1/top.png +0 -0
- package/static/media/image-editor/images/frames/art1/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/art1/topRight.png +0 -0
- package/static/media/image-editor/images/frames/art2/bottom.png +0 -0
- package/static/media/image-editor/images/frames/art2/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/art2/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/art2/left.png +0 -0
- package/static/media/image-editor/images/frames/art2/right.png +0 -0
- package/static/media/image-editor/images/frames/art2/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/art2/top.png +0 -0
- package/static/media/image-editor/images/frames/art2/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/art2/topRight.png +0 -0
- package/static/media/image-editor/images/frames/basic/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/ebony/bottom.png +0 -0
- package/static/media/image-editor/images/frames/ebony/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/ebony/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/ebony/left.png +0 -0
- package/static/media/image-editor/images/frames/ebony/right.png +0 -0
- package/static/media/image-editor/images/frames/ebony/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/ebony/top.png +0 -0
- package/static/media/image-editor/images/frames/ebony/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/ebony/topRight.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/bottom.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/left.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/right.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/top.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/topRight.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/bottom.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/left.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/right.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/top.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/topRight.png +0 -0
- package/static/media/image-editor/images/frames/oak/bottom.png +0 -0
- package/static/media/image-editor/images/frames/oak/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/oak/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/oak/left.png +0 -0
- package/static/media/image-editor/images/frames/oak/right.png +0 -0
- package/static/media/image-editor/images/frames/oak/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/oak/top.png +0 -0
- package/static/media/image-editor/images/frames/oak/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/oak/topRight.png +0 -0
- package/static/media/image-editor/images/frames/pine/bottom.png +0 -0
- package/static/media/image-editor/images/frames/pine/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/pine/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/pine/left.png +0 -0
- package/static/media/image-editor/images/frames/pine/right.png +0 -0
- package/static/media/image-editor/images/frames/pine/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/pine/top.png +0 -0
- package/static/media/image-editor/images/frames/pine/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/pine/topRight.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/bottom.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/left.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/right.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/top.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/topRight.png +0 -0
- package/static/media/image-editor/images/gradients/0.png +0 -0
- package/static/media/image-editor/images/gradients/1.png +0 -0
- package/static/media/image-editor/images/gradients/10.png +0 -0
- package/static/media/image-editor/images/gradients/11.png +0 -0
- package/static/media/image-editor/images/gradients/12.png +0 -0
- package/static/media/image-editor/images/gradients/2.png +0 -0
- package/static/media/image-editor/images/gradients/3.png +0 -0
- package/static/media/image-editor/images/gradients/4.png +0 -0
- package/static/media/image-editor/images/gradients/5.png +0 -0
- package/static/media/image-editor/images/gradients/6.png +0 -0
- package/static/media/image-editor/images/gradients/7.png +0 -0
- package/static/media/image-editor/images/gradients/8.png +0 -0
- package/static/media/image-editor/images/gradients/9.png +0 -0
- package/static/media/image-editor/images/samples/sample1.jpg +0 -0
- package/static/media/image-editor/images/samples/sample1_thumbnail.jpg +0 -0
- package/static/media/image-editor/images/samples/sample2.jpg +0 -0
- package/static/media/image-editor/images/samples/sample2_thumbnail.jpg +0 -0
- package/static/media/image-editor/images/samples/sample3.jpg +0 -0
- package/static/media/image-editor/images/samples/sample3_thumbnail.jpg +0 -0
- package/static/media/image-editor/images/samples/sample4.json +871 -871
- package/static/media/image-editor/images/stickers/beach/0.svg +25 -25
- package/static/media/image-editor/images/stickers/beach/1.svg +14 -14
- package/static/media/image-editor/images/stickers/beach/10.svg +34 -34
- package/static/media/image-editor/images/stickers/beach/11.svg +27 -27
- package/static/media/image-editor/images/stickers/beach/12.svg +10 -10
- package/static/media/image-editor/images/stickers/beach/13.svg +25 -25
- package/static/media/image-editor/images/stickers/beach/14.svg +16 -16
- package/static/media/image-editor/images/stickers/beach/15.svg +14 -14
- package/static/media/image-editor/images/stickers/beach/16.svg +44 -44
- package/static/media/image-editor/images/stickers/beach/17.svg +35 -35
- package/static/media/image-editor/images/stickers/beach/18.svg +32 -32
- package/static/media/image-editor/images/stickers/beach/19.svg +23 -23
- package/static/media/image-editor/images/stickers/beach/2.svg +14 -14
- package/static/media/image-editor/images/stickers/beach/20.svg +24 -24
- package/static/media/image-editor/images/stickers/beach/21.svg +11 -11
- package/static/media/image-editor/images/stickers/beach/3.svg +26 -26
- package/static/media/image-editor/images/stickers/beach/4.svg +25 -25
- package/static/media/image-editor/images/stickers/beach/5.svg +22 -22
- package/static/media/image-editor/images/stickers/beach/6.svg +20 -20
- package/static/media/image-editor/images/stickers/beach/7.svg +32 -32
- package/static/media/image-editor/images/stickers/beach/8.svg +28 -28
- package/static/media/image-editor/images/stickers/beach/9.svg +18 -18
- package/static/media/image-editor/images/stickers/bubbles/0.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/1.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/10.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/100.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/101.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/102.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/103.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/105.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/11.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/12.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/13.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/14.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/15.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/16.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/17.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/18.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/19.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/2.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/20.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/21.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/22.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/23.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/24.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/25.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/26.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/27.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/28.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/29.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/3.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/30.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/31.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/32.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/33.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/34.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/35.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/36.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/37.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/38.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/39.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/4.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/40.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/41.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/42.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/43.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/44.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/45.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/46.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/47.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/48.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/49.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/5.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/50.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/51.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/52.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/53.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/54.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/55.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/56.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/57.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/58.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/59.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/6.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/60.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/61.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/62.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/63.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/64.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/65.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/66.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/67.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/68.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/69.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/7.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/70.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/71.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/72.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/73.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/74.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/75.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/76.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/77.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/78.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/79.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/8.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/80.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/81.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/82.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/83.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/84.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/85.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/86.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/87.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/88.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/89.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/9.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/90.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/91.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/92.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/93.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/94.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/95.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/96.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/97.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/98.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/99.png +0 -0
- package/static/media/image-editor/images/stickers/categories/beach.svg +17 -17
- package/static/media/image-editor/images/stickers/categories/clouds.svg +14 -14
- package/static/media/image-editor/images/stickers/categories/doodles.svg +12 -12
- package/static/media/image-editor/images/stickers/categories/emoticon.svg +9 -9
- package/static/media/image-editor/images/stickers/categories/landmark.svg +19 -19
- package/static/media/image-editor/images/stickers/categories/speech-bubble.svg +5 -5
- package/static/media/image-editor/images/stickers/categories/star.svg +5 -5
- package/static/media/image-editor/images/stickers/categories/transportation.svg +17 -17
- package/static/media/image-editor/images/stickers/clouds/0.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/1.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/10.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/11.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/12.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/13.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/14.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/2.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/3.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/4.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/5.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/6.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/7.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/8.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/9.png +0 -0
- package/static/media/image-editor/images/stickers/doodles/0.svg +201 -201
- package/static/media/image-editor/images/stickers/doodles/1.svg +255 -255
- package/static/media/image-editor/images/stickers/doodles/10.svg +160 -160
- package/static/media/image-editor/images/stickers/doodles/11.svg +393 -393
- package/static/media/image-editor/images/stickers/doodles/12.svg +293 -293
- package/static/media/image-editor/images/stickers/doodles/13.svg +251 -251
- package/static/media/image-editor/images/stickers/doodles/14.svg +370 -370
- package/static/media/image-editor/images/stickers/doodles/15.svg +194 -194
- package/static/media/image-editor/images/stickers/doodles/16.svg +383 -383
- package/static/media/image-editor/images/stickers/doodles/17.svg +346 -346
- package/static/media/image-editor/images/stickers/doodles/18.svg +286 -286
- package/static/media/image-editor/images/stickers/doodles/19.svg +241 -241
- package/static/media/image-editor/images/stickers/doodles/2.svg +227 -227
- package/static/media/image-editor/images/stickers/doodles/20.svg +330 -330
- package/static/media/image-editor/images/stickers/doodles/21.svg +200 -200
- package/static/media/image-editor/images/stickers/doodles/22.svg +308 -308
- package/static/media/image-editor/images/stickers/doodles/23.svg +518 -518
- package/static/media/image-editor/images/stickers/doodles/24.svg +207 -207
- package/static/media/image-editor/images/stickers/doodles/25.svg +260 -260
- package/static/media/image-editor/images/stickers/doodles/26.svg +380 -380
- package/static/media/image-editor/images/stickers/doodles/27.svg +222 -222
- package/static/media/image-editor/images/stickers/doodles/28.svg +164 -164
- package/static/media/image-editor/images/stickers/doodles/29.svg +271 -271
- package/static/media/image-editor/images/stickers/doodles/3.svg +272 -272
- package/static/media/image-editor/images/stickers/doodles/30.svg +283 -283
- package/static/media/image-editor/images/stickers/doodles/31.svg +257 -257
- package/static/media/image-editor/images/stickers/doodles/32.svg +276 -276
- package/static/media/image-editor/images/stickers/doodles/33.svg +198 -198
- package/static/media/image-editor/images/stickers/doodles/34.svg +314 -314
- package/static/media/image-editor/images/stickers/doodles/35.svg +236 -236
- package/static/media/image-editor/images/stickers/doodles/36.svg +273 -273
- package/static/media/image-editor/images/stickers/doodles/37.svg +284 -284
- package/static/media/image-editor/images/stickers/doodles/38.svg +167 -167
- package/static/media/image-editor/images/stickers/doodles/39.svg +381 -381
- package/static/media/image-editor/images/stickers/doodles/4.svg +216 -216
- package/static/media/image-editor/images/stickers/doodles/40.svg +198 -198
- package/static/media/image-editor/images/stickers/doodles/41.svg +259 -259
- package/static/media/image-editor/images/stickers/doodles/42.svg +371 -371
- package/static/media/image-editor/images/stickers/doodles/43.svg +198 -198
- package/static/media/image-editor/images/stickers/doodles/44.svg +174 -174
- package/static/media/image-editor/images/stickers/doodles/45.svg +178 -178
- package/static/media/image-editor/images/stickers/doodles/46.svg +211 -211
- package/static/media/image-editor/images/stickers/doodles/47.svg +195 -195
- package/static/media/image-editor/images/stickers/doodles/48.svg +293 -293
- package/static/media/image-editor/images/stickers/doodles/49.svg +191 -191
- package/static/media/image-editor/images/stickers/doodles/5.svg +179 -179
- package/static/media/image-editor/images/stickers/doodles/50.svg +323 -323
- package/static/media/image-editor/images/stickers/doodles/51.svg +308 -308
- package/static/media/image-editor/images/stickers/doodles/52.svg +162 -162
- package/static/media/image-editor/images/stickers/doodles/53.svg +263 -263
- package/static/media/image-editor/images/stickers/doodles/54.svg +175 -175
- package/static/media/image-editor/images/stickers/doodles/55.svg +177 -177
- package/static/media/image-editor/images/stickers/doodles/56.svg +160 -160
- package/static/media/image-editor/images/stickers/doodles/57.svg +115 -115
- package/static/media/image-editor/images/stickers/doodles/58.svg +327 -327
- package/static/media/image-editor/images/stickers/doodles/59.svg +197 -197
- package/static/media/image-editor/images/stickers/doodles/6.svg +388 -388
- package/static/media/image-editor/images/stickers/doodles/60.svg +414 -414
- package/static/media/image-editor/images/stickers/doodles/61.svg +287 -287
- package/static/media/image-editor/images/stickers/doodles/62.svg +193 -193
- package/static/media/image-editor/images/stickers/doodles/63.svg +329 -329
- package/static/media/image-editor/images/stickers/doodles/64.svg +150 -150
- package/static/media/image-editor/images/stickers/doodles/65.svg +275 -275
- package/static/media/image-editor/images/stickers/doodles/66.svg +174 -174
- package/static/media/image-editor/images/stickers/doodles/67.svg +343 -343
- package/static/media/image-editor/images/stickers/doodles/68.svg +242 -242
- package/static/media/image-editor/images/stickers/doodles/69.svg +160 -160
- package/static/media/image-editor/images/stickers/doodles/7.svg +194 -194
- package/static/media/image-editor/images/stickers/doodles/70.svg +365 -365
- package/static/media/image-editor/images/stickers/doodles/71.svg +454 -454
- package/static/media/image-editor/images/stickers/doodles/72.svg +162 -162
- package/static/media/image-editor/images/stickers/doodles/73.svg +393 -393
- package/static/media/image-editor/images/stickers/doodles/74.svg +206 -206
- package/static/media/image-editor/images/stickers/doodles/75.svg +275 -275
- package/static/media/image-editor/images/stickers/doodles/76.svg +350 -350
- package/static/media/image-editor/images/stickers/doodles/77.svg +323 -323
- package/static/media/image-editor/images/stickers/doodles/78.svg +316 -316
- package/static/media/image-editor/images/stickers/doodles/79.svg +503 -503
- package/static/media/image-editor/images/stickers/doodles/8.svg +185 -185
- package/static/media/image-editor/images/stickers/doodles/80.svg +235 -235
- package/static/media/image-editor/images/stickers/doodles/81.svg +184 -184
- package/static/media/image-editor/images/stickers/doodles/82.svg +246 -246
- package/static/media/image-editor/images/stickers/doodles/83.svg +125 -125
- package/static/media/image-editor/images/stickers/doodles/84.svg +168 -168
- package/static/media/image-editor/images/stickers/doodles/85.svg +138 -138
- package/static/media/image-editor/images/stickers/doodles/86.svg +223 -223
- package/static/media/image-editor/images/stickers/doodles/87.svg +475 -475
- package/static/media/image-editor/images/stickers/doodles/88.svg +172 -172
- package/static/media/image-editor/images/stickers/doodles/89.svg +199 -199
- package/static/media/image-editor/images/stickers/doodles/9.svg +368 -368
- package/static/media/image-editor/images/stickers/doodles/90.svg +298 -298
- package/static/media/image-editor/images/stickers/doodles/91.svg +176 -176
- package/static/media/image-editor/images/stickers/doodles/92.svg +152 -152
- package/static/media/image-editor/images/stickers/doodles/93.svg +206 -206
- package/static/media/image-editor/images/stickers/doodles/94.svg +202 -202
- package/static/media/image-editor/images/stickers/doodles/95.svg +114 -114
- package/static/media/image-editor/images/stickers/doodles/96.svg +149 -149
- package/static/media/image-editor/images/stickers/doodles/97.svg +197 -197
- package/static/media/image-editor/images/stickers/doodles/98.svg +397 -397
- package/static/media/image-editor/images/stickers/doodles/99.svg +502 -502
- package/static/media/image-editor/images/stickers/emoticons/afro-1.svg +122 -122
- package/static/media/image-editor/images/stickers/emoticons/afro.svg +85 -85
- package/static/media/image-editor/images/stickers/emoticons/agent.svg +114 -114
- package/static/media/image-editor/images/stickers/emoticons/alien-1.svg +60 -60
- package/static/media/image-editor/images/stickers/emoticons/alien.svg +64 -64
- package/static/media/image-editor/images/stickers/emoticons/angel.svg +47 -47
- package/static/media/image-editor/images/stickers/emoticons/angry-1.svg +83 -83
- package/static/media/image-editor/images/stickers/emoticons/angry-2.svg +48 -48
- package/static/media/image-editor/images/stickers/emoticons/angry-3.svg +45 -45
- package/static/media/image-editor/images/stickers/emoticons/angry-4.svg +52 -52
- package/static/media/image-editor/images/stickers/emoticons/angry-5.svg +62 -62
- package/static/media/image-editor/images/stickers/emoticons/angry.svg +78 -78
- package/static/media/image-editor/images/stickers/emoticons/arguing.svg +49 -49
- package/static/media/image-editor/images/stickers/emoticons/arrogant.svg +98 -98
- package/static/media/image-editor/images/stickers/emoticons/asian-1.svg +52 -52
- package/static/media/image-editor/images/stickers/emoticons/asian.svg +54 -54
- package/static/media/image-editor/images/stickers/emoticons/avatar.svg +49 -49
- package/static/media/image-editor/images/stickers/emoticons/baby-1.svg +51 -51
- package/static/media/image-editor/images/stickers/emoticons/baby-2.svg +54 -54
- package/static/media/image-editor/images/stickers/emoticons/baby.svg +66 -66
- package/static/media/image-editor/images/stickers/emoticons/bully.svg +68 -68
- package/static/media/image-editor/images/stickers/emoticons/burglar.svg +75 -75
- package/static/media/image-editor/images/stickers/emoticons/businessman.svg +52 -52
- package/static/media/image-editor/images/stickers/emoticons/cheeky-1.svg +83 -83
- package/static/media/image-editor/images/stickers/emoticons/cheeky.svg +73 -73
- package/static/media/image-editor/images/stickers/emoticons/clown.svg +75 -75
- package/static/media/image-editor/images/stickers/emoticons/confused-1.svg +74 -74
- package/static/media/image-editor/images/stickers/emoticons/confused-2.svg +55 -55
- package/static/media/image-editor/images/stickers/emoticons/confused-3.svg +45 -45
- package/static/media/image-editor/images/stickers/emoticons/confused.svg +66 -66
- package/static/media/image-editor/images/stickers/emoticons/creepy.svg +60 -60
- package/static/media/image-editor/images/stickers/emoticons/crying-1.svg +55 -55
- package/static/media/image-editor/images/stickers/emoticons/crying-2.svg +83 -83
- package/static/media/image-editor/images/stickers/emoticons/crying-3.svg +53 -53
- package/static/media/image-editor/images/stickers/emoticons/crying.svg +59 -59
- package/static/media/image-editor/images/stickers/emoticons/dazed-1.svg +63 -63
- package/static/media/image-editor/images/stickers/emoticons/dazed-2.svg +51 -51
- package/static/media/image-editor/images/stickers/emoticons/dazed-3.svg +55 -55
- package/static/media/image-editor/images/stickers/emoticons/dazed.svg +56 -56
- package/static/media/image-editor/images/stickers/emoticons/dead-1.svg +61 -61
- package/static/media/image-editor/images/stickers/emoticons/dead-2.svg +80 -80
- package/static/media/image-editor/images/stickers/emoticons/dead-3.svg +66 -66
- package/static/media/image-editor/images/stickers/emoticons/dead-4.svg +54 -54
- package/static/media/image-editor/images/stickers/emoticons/dead-5.svg +52 -52
- package/static/media/image-editor/images/stickers/emoticons/dead-6.svg +53 -53
- package/static/media/image-editor/images/stickers/emoticons/dead.svg +54 -54
- package/static/media/image-editor/images/stickers/emoticons/desperate-1.svg +47 -47
- package/static/media/image-editor/images/stickers/emoticons/desperate.svg +75 -75
- package/static/media/image-editor/images/stickers/emoticons/detective.svg +75 -75
- package/static/media/image-editor/images/stickers/emoticons/dissapointment.svg +70 -70
- package/static/media/image-editor/images/stickers/emoticons/doctor.svg +61 -61
- package/static/media/image-editor/images/stickers/emoticons/drunk.svg +55 -55
- package/static/media/image-editor/images/stickers/emoticons/dumb.svg +50 -50
- package/static/media/image-editor/images/stickers/emoticons/emo-1.svg +104 -104
- package/static/media/image-editor/images/stickers/emoticons/emo-2.svg +111 -111
- package/static/media/image-editor/images/stickers/emoticons/emo.svg +56 -56
- package/static/media/image-editor/images/stickers/emoticons/emoticon.svg +84 -84
- package/static/media/image-editor/images/stickers/emoticons/evil.svg +59 -59
- package/static/media/image-editor/images/stickers/emoticons/faint-1.svg +75 -75
- package/static/media/image-editor/images/stickers/emoticons/faint.svg +84 -84
- package/static/media/image-editor/images/stickers/emoticons/flirt-1.svg +81 -81
- package/static/media/image-editor/images/stickers/emoticons/flirt-2.svg +68 -68
- package/static/media/image-editor/images/stickers/emoticons/flirt.svg +71 -71
- package/static/media/image-editor/images/stickers/emoticons/flirty.svg +60 -60
- package/static/media/image-editor/images/stickers/emoticons/gangster.svg +54 -54
- package/static/media/image-editor/images/stickers/emoticons/geek-1.svg +76 -76
- package/static/media/image-editor/images/stickers/emoticons/geek.svg +69 -69
- package/static/media/image-editor/images/stickers/emoticons/gentleman-1.svg +82 -82
- package/static/media/image-editor/images/stickers/emoticons/gentleman-2.svg +58 -58
- package/static/media/image-editor/images/stickers/emoticons/gentleman-3.svg +54 -54
- package/static/media/image-editor/images/stickers/emoticons/gentleman-4.svg +59 -59
- package/static/media/image-editor/images/stickers/emoticons/gentleman.svg +57 -57
- package/static/media/image-editor/images/stickers/emoticons/ginger.svg +55 -55
- package/static/media/image-editor/images/stickers/emoticons/girl-1.svg +70 -70
- package/static/media/image-editor/images/stickers/emoticons/girl.svg +73 -73
- package/static/media/image-editor/images/stickers/emoticons/goofy-1.svg +46 -46
- package/static/media/image-editor/images/stickers/emoticons/goofy-2.svg +79 -79
- package/static/media/image-editor/images/stickers/emoticons/goofy-3.svg +79 -79
- package/static/media/image-editor/images/stickers/emoticons/goofy-4.svg +46 -46
- package/static/media/image-editor/images/stickers/emoticons/goofy.svg +79 -79
- package/static/media/image-editor/images/stickers/emoticons/grubby-1.svg +114 -114
- package/static/media/image-editor/images/stickers/emoticons/grubby.svg +165 -165
- package/static/media/image-editor/images/stickers/emoticons/happy-1.svg +49 -49
- package/static/media/image-editor/images/stickers/emoticons/happy-10.svg +62 -62
- package/static/media/image-editor/images/stickers/emoticons/happy-11.svg +55 -55
- package/static/media/image-editor/images/stickers/emoticons/happy-12.svg +53 -53
- package/static/media/image-editor/images/stickers/emoticons/happy-13.svg +58 -58
- package/static/media/image-editor/images/stickers/emoticons/happy-14.svg +62 -62
- package/static/media/image-editor/images/stickers/emoticons/happy-15.svg +49 -49
- package/static/media/image-editor/images/stickers/emoticons/happy-16.svg +49 -49
- package/static/media/image-editor/images/stickers/emoticons/happy-2.svg +71 -71
- package/static/media/image-editor/images/stickers/emoticons/happy-3.svg +74 -74
- package/static/media/image-editor/images/stickers/emoticons/happy-4.svg +77 -77
- package/static/media/image-editor/images/stickers/emoticons/happy-5.svg +52 -52
- package/static/media/image-editor/images/stickers/emoticons/happy-6.svg +54 -54
- package/static/media/image-editor/images/stickers/emoticons/happy-7.svg +58 -58
- package/static/media/image-editor/images/stickers/emoticons/happy-8.svg +42 -42
- package/static/media/image-editor/images/stickers/emoticons/happy-9.svg +45 -45
- package/static/media/image-editor/images/stickers/emoticons/happy.svg +48 -48
- package/static/media/image-editor/images/stickers/emoticons/harry-potter.svg +68 -68
- package/static/media/image-editor/images/stickers/emoticons/heisenberg.svg +80 -80
- package/static/media/image-editor/images/stickers/emoticons/hipster-1.svg +118 -118
- package/static/media/image-editor/images/stickers/emoticons/hipster-2.svg +49 -49
- package/static/media/image-editor/images/stickers/emoticons/hipster.svg +48 -48
- package/static/media/image-editor/images/stickers/emoticons/in-love-1.svg +62 -62
- package/static/media/image-editor/images/stickers/emoticons/in-love-2.svg +48 -48
- package/static/media/image-editor/images/stickers/emoticons/in-love-3.svg +49 -49
- package/static/media/image-editor/images/stickers/emoticons/in-love-4.svg +50 -50
- package/static/media/image-editor/images/stickers/emoticons/in-love-5.svg +49 -49
- package/static/media/image-editor/images/stickers/emoticons/in-love-6.svg +53 -53
- package/static/media/image-editor/images/stickers/emoticons/in-love.svg +57 -57
- package/static/media/image-editor/images/stickers/emoticons/japan.svg +79 -79
- package/static/media/image-editor/images/stickers/emoticons/jew.svg +83 -83
- package/static/media/image-editor/images/stickers/emoticons/joyful-1.svg +72 -72
- package/static/media/image-editor/images/stickers/emoticons/joyful-2.svg +45 -45
- package/static/media/image-editor/images/stickers/emoticons/joyful.svg +47 -47
- package/static/media/image-editor/images/stickers/emoticons/kiss-1.svg +48 -48
- package/static/media/image-editor/images/stickers/emoticons/kiss-2.svg +59 -59
- package/static/media/image-editor/images/stickers/emoticons/kiss-3.svg +53 -53
- package/static/media/image-editor/images/stickers/emoticons/kiss-4.svg +59 -59
- package/static/media/image-editor/images/stickers/emoticons/kiss.svg +67 -67
- package/static/media/image-editor/images/stickers/emoticons/laughing-1.svg +54 -54
- package/static/media/image-editor/images/stickers/emoticons/laughing-2.svg +57 -57
- package/static/media/image-editor/images/stickers/emoticons/laughing-3.svg +55 -55
- package/static/media/image-editor/images/stickers/emoticons/laughing.svg +56 -56
- package/static/media/image-editor/images/stickers/emoticons/listening.svg +55 -55
- package/static/media/image-editor/images/stickers/emoticons/love.svg +74 -74
- package/static/media/image-editor/images/stickers/emoticons/manly.svg +75 -75
- package/static/media/image-editor/images/stickers/emoticons/miserly-1.svg +90 -90
- package/static/media/image-editor/images/stickers/emoticons/miserly.svg +82 -82
- package/static/media/image-editor/images/stickers/emoticons/nerd-1.svg +88 -88
- package/static/media/image-editor/images/stickers/emoticons/nerd-2.svg +73 -73
- package/static/media/image-editor/images/stickers/emoticons/nerd-3.svg +60 -60
- package/static/media/image-editor/images/stickers/emoticons/nerd-4.svg +70 -70
- package/static/media/image-editor/images/stickers/emoticons/nerd.svg +88 -88
- package/static/media/image-editor/images/stickers/emoticons/ninja.svg +51 -51
- package/static/media/image-editor/images/stickers/emoticons/pirate-1.svg +92 -92
- package/static/media/image-editor/images/stickers/emoticons/pirate-2.svg +48 -48
- package/static/media/image-editor/images/stickers/emoticons/pirate.svg +286 -286
- package/static/media/image-editor/images/stickers/emoticons/punk-1.svg +134 -134
- package/static/media/image-editor/images/stickers/emoticons/punk-2.svg +153 -153
- package/static/media/image-editor/images/stickers/emoticons/punk.svg +82 -82
- package/static/media/image-editor/images/stickers/emoticons/rapper.svg +51 -51
- package/static/media/image-editor/images/stickers/emoticons/relieved.svg +56 -56
- package/static/media/image-editor/images/stickers/emoticons/rich-1.svg +59 -59
- package/static/media/image-editor/images/stickers/emoticons/rich-2.svg +93 -93
- package/static/media/image-editor/images/stickers/emoticons/rich.svg +88 -88
- package/static/media/image-editor/images/stickers/emoticons/rockstar.svg +177 -177
- package/static/media/image-editor/images/stickers/emoticons/sad-1.svg +43 -43
- package/static/media/image-editor/images/stickers/emoticons/sad-2.svg +49 -49
- package/static/media/image-editor/images/stickers/emoticons/sad-3.svg +49 -49
- package/static/media/image-editor/images/stickers/emoticons/sad-4.svg +49 -49
- package/static/media/image-editor/images/stickers/emoticons/sad-5.svg +45 -45
- package/static/media/image-editor/images/stickers/emoticons/sad-6.svg +47 -47
- package/static/media/image-editor/images/stickers/emoticons/sad.svg +47 -47
- package/static/media/image-editor/images/stickers/emoticons/scared-1.svg +79 -79
- package/static/media/image-editor/images/stickers/emoticons/scared-2.svg +59 -59
- package/static/media/image-editor/images/stickers/emoticons/scared-3.svg +52 -52
- package/static/media/image-editor/images/stickers/emoticons/scared.svg +45 -45
- package/static/media/image-editor/images/stickers/emoticons/sceptic-1.svg +59 -59
- package/static/media/image-editor/images/stickers/emoticons/sceptic-2.svg +80 -80
- package/static/media/image-editor/images/stickers/emoticons/sceptic-3.svg +59 -59
- package/static/media/image-editor/images/stickers/emoticons/sceptic-4.svg +46 -46
- package/static/media/image-editor/images/stickers/emoticons/sceptic-5.svg +43 -43
- package/static/media/image-editor/images/stickers/emoticons/sceptic-6.svg +42 -42
- package/static/media/image-editor/images/stickers/emoticons/sceptic-7.svg +50 -50
- package/static/media/image-editor/images/stickers/emoticons/sceptic.svg +44 -44
- package/static/media/image-editor/images/stickers/emoticons/secret.svg +48 -48
- package/static/media/image-editor/images/stickers/emoticons/shocked-1.svg +67 -67
- package/static/media/image-editor/images/stickers/emoticons/shocked-2.svg +44 -44
- package/static/media/image-editor/images/stickers/emoticons/shocked-3.svg +48 -48
- package/static/media/image-editor/images/stickers/emoticons/shocked.svg +46 -46
- package/static/media/image-editor/images/stickers/emoticons/sick-1.svg +55 -55
- package/static/media/image-editor/images/stickers/emoticons/sick-2.svg +48 -48
- package/static/media/image-editor/images/stickers/emoticons/sick-3.svg +49 -49
- package/static/media/image-editor/images/stickers/emoticons/sick-4.svg +52 -52
- package/static/media/image-editor/images/stickers/emoticons/sick.svg +52 -52
- package/static/media/image-editor/images/stickers/emoticons/silent.svg +43 -43
- package/static/media/image-editor/images/stickers/emoticons/skeleton.svg +64 -64
- package/static/media/image-editor/images/stickers/emoticons/smile.svg +43 -43
- package/static/media/image-editor/images/stickers/emoticons/smiling-1.svg +47 -47
- package/static/media/image-editor/images/stickers/emoticons/smiling.svg +75 -75
- package/static/media/image-editor/images/stickers/emoticons/smoked.svg +131 -131
- package/static/media/image-editor/images/stickers/emoticons/smug-1.svg +74 -74
- package/static/media/image-editor/images/stickers/emoticons/smug-2.svg +82 -82
- package/static/media/image-editor/images/stickers/emoticons/smug-3.svg +71 -71
- package/static/media/image-editor/images/stickers/emoticons/smug-4.svg +50 -50
- package/static/media/image-editor/images/stickers/emoticons/smug-5.svg +64 -64
- package/static/media/image-editor/images/stickers/emoticons/smug-6.svg +82 -82
- package/static/media/image-editor/images/stickers/emoticons/smug.svg +96 -96
- package/static/media/image-editor/images/stickers/emoticons/sporty.svg +68 -68
- package/static/media/image-editor/images/stickers/emoticons/stunned.svg +72 -72
- package/static/media/image-editor/images/stickers/emoticons/superhero-1.svg +60 -60
- package/static/media/image-editor/images/stickers/emoticons/superhero-2.svg +47 -47
- package/static/media/image-editor/images/stickers/emoticons/superhero-3.svg +48 -48
- package/static/media/image-editor/images/stickers/emoticons/superhero-4.svg +52 -52
- package/static/media/image-editor/images/stickers/emoticons/superhero.svg +45 -45
- package/static/media/image-editor/images/stickers/emoticons/surprised-1.svg +47 -47
- package/static/media/image-editor/images/stickers/emoticons/surprised.svg +58 -58
- package/static/media/image-editor/images/stickers/emoticons/thinking.svg +43 -43
- package/static/media/image-editor/images/stickers/emoticons/tired-1.svg +78 -78
- package/static/media/image-editor/images/stickers/emoticons/tired-2.svg +65 -65
- package/static/media/image-editor/images/stickers/emoticons/tired-3.svg +59 -59
- package/static/media/image-editor/images/stickers/emoticons/tired.svg +83 -83
- package/static/media/image-editor/images/stickers/emoticons/tough-1.svg +65 -65
- package/static/media/image-editor/images/stickers/emoticons/tough.svg +158 -158
- package/static/media/image-editor/images/stickers/emoticons/trendy.svg +57 -57
- package/static/media/image-editor/images/stickers/emoticons/vampire-1.svg +56 -56
- package/static/media/image-editor/images/stickers/emoticons/vampire.svg +59 -59
- package/static/media/image-editor/images/stickers/emoticons/wink-1.svg +54 -54
- package/static/media/image-editor/images/stickers/emoticons/wink-2.svg +64 -64
- package/static/media/image-editor/images/stickers/emoticons/wink.svg +73 -73
- package/static/media/image-editor/images/stickers/emoticons/winking-1.svg +52 -52
- package/static/media/image-editor/images/stickers/emoticons/winking.svg +43 -43
- package/static/media/image-editor/images/stickers/emoticons/yawning-1.svg +62 -62
- package/static/media/image-editor/images/stickers/emoticons/yawning-2.svg +51 -51
- package/static/media/image-editor/images/stickers/emoticons/yawning-3.svg +51 -51
- package/static/media/image-editor/images/stickers/emoticons/yawning.svg +73 -73
- package/static/media/image-editor/images/stickers/emoticons/yelling.svg +80 -80
- package/static/media/image-editor/images/stickers/emoticons/zombie.svg +65 -65
- package/static/media/image-editor/images/stickers/landmarks/0.svg +38 -38
- package/static/media/image-editor/images/stickers/landmarks/1.svg +46 -46
- package/static/media/image-editor/images/stickers/landmarks/10.svg +18 -18
- package/static/media/image-editor/images/stickers/landmarks/11.svg +81 -81
- package/static/media/image-editor/images/stickers/landmarks/12.svg +77 -77
- package/static/media/image-editor/images/stickers/landmarks/13.svg +42 -42
- package/static/media/image-editor/images/stickers/landmarks/14.svg +78 -78
- package/static/media/image-editor/images/stickers/landmarks/15.svg +84 -84
- package/static/media/image-editor/images/stickers/landmarks/16.svg +87 -87
- package/static/media/image-editor/images/stickers/landmarks/17.svg +60 -60
- package/static/media/image-editor/images/stickers/landmarks/18.svg +30 -30
- package/static/media/image-editor/images/stickers/landmarks/19.svg +36 -36
- package/static/media/image-editor/images/stickers/landmarks/2.svg +28 -28
- package/static/media/image-editor/images/stickers/landmarks/20.svg +137 -137
- package/static/media/image-editor/images/stickers/landmarks/21.svg +63 -63
- package/static/media/image-editor/images/stickers/landmarks/22.svg +26 -26
- package/static/media/image-editor/images/stickers/landmarks/23.svg +52 -52
- package/static/media/image-editor/images/stickers/landmarks/24.svg +56 -56
- package/static/media/image-editor/images/stickers/landmarks/25.svg +40 -40
- package/static/media/image-editor/images/stickers/landmarks/26.svg +34 -34
- package/static/media/image-editor/images/stickers/landmarks/27.svg +32 -32
- package/static/media/image-editor/images/stickers/landmarks/28.svg +19 -19
- package/static/media/image-editor/images/stickers/landmarks/29.svg +23 -23
- package/static/media/image-editor/images/stickers/landmarks/3.svg +36 -36
- package/static/media/image-editor/images/stickers/landmarks/30.svg +36 -36
- package/static/media/image-editor/images/stickers/landmarks/31.svg +27 -27
- package/static/media/image-editor/images/stickers/landmarks/32.svg +25 -25
- package/static/media/image-editor/images/stickers/landmarks/33.svg +29 -29
- package/static/media/image-editor/images/stickers/landmarks/34.svg +72 -72
- package/static/media/image-editor/images/stickers/landmarks/35.svg +18 -18
- package/static/media/image-editor/images/stickers/landmarks/36.svg +45 -45
- package/static/media/image-editor/images/stickers/landmarks/37.svg +46 -46
- package/static/media/image-editor/images/stickers/landmarks/38.svg +44 -44
- package/static/media/image-editor/images/stickers/landmarks/39.svg +23 -23
- package/static/media/image-editor/images/stickers/landmarks/4.svg +33 -33
- package/static/media/image-editor/images/stickers/landmarks/40.svg +25 -25
- package/static/media/image-editor/images/stickers/landmarks/41.svg +69 -69
- package/static/media/image-editor/images/stickers/landmarks/42.svg +75 -75
- package/static/media/image-editor/images/stickers/landmarks/43.svg +44 -44
- package/static/media/image-editor/images/stickers/landmarks/44.svg +65 -65
- package/static/media/image-editor/images/stickers/landmarks/45.svg +19 -19
- package/static/media/image-editor/images/stickers/landmarks/46.svg +47 -47
- package/static/media/image-editor/images/stickers/landmarks/47.svg +544 -544
- package/static/media/image-editor/images/stickers/landmarks/48.svg +162 -162
- package/static/media/image-editor/images/stickers/landmarks/49.svg +70 -70
- package/static/media/image-editor/images/stickers/landmarks/5.svg +36 -36
- package/static/media/image-editor/images/stickers/landmarks/50.svg +52 -52
- package/static/media/image-editor/images/stickers/landmarks/51.svg +110 -110
- package/static/media/image-editor/images/stickers/landmarks/52.svg +41 -41
- package/static/media/image-editor/images/stickers/landmarks/53.svg +74 -74
- package/static/media/image-editor/images/stickers/landmarks/54.svg +36 -36
- package/static/media/image-editor/images/stickers/landmarks/55.svg +84 -84
- package/static/media/image-editor/images/stickers/landmarks/56.svg +93 -93
- package/static/media/image-editor/images/stickers/landmarks/57.svg +67 -67
- package/static/media/image-editor/images/stickers/landmarks/58.svg +101 -101
- package/static/media/image-editor/images/stickers/landmarks/59.svg +47 -47
- package/static/media/image-editor/images/stickers/landmarks/6.svg +59 -59
- package/static/media/image-editor/images/stickers/landmarks/60.svg +134 -134
- package/static/media/image-editor/images/stickers/landmarks/61.svg +79 -79
- package/static/media/image-editor/images/stickers/landmarks/62.svg +43 -43
- package/static/media/image-editor/images/stickers/landmarks/63.svg +83 -83
- package/static/media/image-editor/images/stickers/landmarks/64.svg +99 -99
- package/static/media/image-editor/images/stickers/landmarks/65.svg +79 -79
- package/static/media/image-editor/images/stickers/landmarks/66.svg +37 -37
- package/static/media/image-editor/images/stickers/landmarks/67.svg +82 -82
- package/static/media/image-editor/images/stickers/landmarks/68.svg +216 -216
- package/static/media/image-editor/images/stickers/landmarks/69.svg +17 -17
- package/static/media/image-editor/images/stickers/landmarks/7.svg +16 -16
- package/static/media/image-editor/images/stickers/landmarks/70.svg +45 -45
- package/static/media/image-editor/images/stickers/landmarks/71.svg +37 -37
- package/static/media/image-editor/images/stickers/landmarks/72.svg +28 -28
- package/static/media/image-editor/images/stickers/landmarks/73.svg +25 -25
- package/static/media/image-editor/images/stickers/landmarks/74.svg +23 -23
- package/static/media/image-editor/images/stickers/landmarks/75.svg +88 -88
- package/static/media/image-editor/images/stickers/landmarks/76.svg +25 -25
- package/static/media/image-editor/images/stickers/landmarks/77.svg +23 -23
- package/static/media/image-editor/images/stickers/landmarks/78.svg +63 -63
- package/static/media/image-editor/images/stickers/landmarks/79.svg +25 -25
- package/static/media/image-editor/images/stickers/landmarks/8.svg +52 -52
- package/static/media/image-editor/images/stickers/landmarks/80.svg +29 -29
- package/static/media/image-editor/images/stickers/landmarks/81.svg +44 -44
- package/static/media/image-editor/images/stickers/landmarks/82.svg +83 -83
- package/static/media/image-editor/images/stickers/landmarks/83.svg +65 -65
- package/static/media/image-editor/images/stickers/landmarks/84.svg +31 -31
- package/static/media/image-editor/images/stickers/landmarks/85.svg +30 -30
- package/static/media/image-editor/images/stickers/landmarks/86.svg +26 -26
- package/static/media/image-editor/images/stickers/landmarks/87.svg +132 -132
- package/static/media/image-editor/images/stickers/landmarks/88.svg +93 -93
- package/static/media/image-editor/images/stickers/landmarks/89.svg +91 -91
- package/static/media/image-editor/images/stickers/landmarks/9.svg +70 -70
- package/static/media/image-editor/images/stickers/landmarks/90.svg +65 -65
- package/static/media/image-editor/images/stickers/landmarks/91.svg +36 -36
- package/static/media/image-editor/images/stickers/landmarks/92.svg +66 -66
- package/static/media/image-editor/images/stickers/landmarks/93.svg +65 -65
- package/static/media/image-editor/images/stickers/landmarks/94.svg +28 -28
- package/static/media/image-editor/images/stickers/landmarks/95.svg +31 -31
- package/static/media/image-editor/images/stickers/landmarks/96.svg +25 -25
- package/static/media/image-editor/images/stickers/landmarks/97.svg +31 -31
- package/static/media/image-editor/images/stickers/landmarks/98.svg +52 -52
- package/static/media/image-editor/images/stickers/landmarks/99.svg +56 -56
- package/static/media/image-editor/images/stickers/stars/0.png +0 -0
- package/static/media/image-editor/images/stickers/stars/1.png +0 -0
- package/static/media/image-editor/images/stickers/stars/2.png +0 -0
- package/static/media/image-editor/images/stickers/stars/3.png +0 -0
- package/static/media/image-editor/images/stickers/stars/4.png +0 -0
- package/static/media/image-editor/images/stickers/stars/5.png +0 -0
- package/static/media/image-editor/images/stickers/transportation/0.svg +26 -26
- package/static/media/image-editor/images/stickers/transportation/1.svg +10 -10
- package/static/media/image-editor/images/stickers/transportation/10.svg +16 -16
- package/static/media/image-editor/images/stickers/transportation/11.svg +30 -30
- package/static/media/image-editor/images/stickers/transportation/12.svg +22 -22
- package/static/media/image-editor/images/stickers/transportation/13.svg +24 -24
- package/static/media/image-editor/images/stickers/transportation/14.svg +19 -19
- package/static/media/image-editor/images/stickers/transportation/15.svg +23 -23
- package/static/media/image-editor/images/stickers/transportation/16.svg +25 -25
- package/static/media/image-editor/images/stickers/transportation/17.svg +34 -34
- package/static/media/image-editor/images/stickers/transportation/18.svg +29 -29
- package/static/media/image-editor/images/stickers/transportation/19.svg +24 -24
- package/static/media/image-editor/images/stickers/transportation/2.svg +27 -27
- package/static/media/image-editor/images/stickers/transportation/20.svg +25 -25
- package/static/media/image-editor/images/stickers/transportation/21.svg +22 -22
- package/static/media/image-editor/images/stickers/transportation/3.svg +18 -18
- package/static/media/image-editor/images/stickers/transportation/4.svg +24 -24
- package/static/media/image-editor/images/stickers/transportation/5.svg +15 -15
- package/static/media/image-editor/images/stickers/transportation/6.svg +25 -25
- package/static/media/image-editor/images/stickers/transportation/7.svg +17 -17
- package/static/media/image-editor/images/stickers/transportation/8.svg +28 -28
- package/static/media/image-editor/images/stickers/transportation/9.svg +23 -23
- package/static/media/image-editor/images/textures/0.png +0 -0
- package/static/media/image-editor/images/textures/1.png +0 -0
- package/static/media/image-editor/images/textures/10.png +0 -0
- package/static/media/image-editor/images/textures/11.png +0 -0
- package/static/media/image-editor/images/textures/12.png +0 -0
- package/static/media/image-editor/images/textures/13.png +0 -0
- package/static/media/image-editor/images/textures/14.png +0 -0
- package/static/media/image-editor/images/textures/15.png +0 -0
- package/static/media/image-editor/images/textures/16.png +0 -0
- package/static/media/image-editor/images/textures/17.png +0 -0
- package/static/media/image-editor/images/textures/18.png +0 -0
- package/static/media/image-editor/images/textures/19.png +0 -0
- package/static/media/image-editor/images/textures/2.png +0 -0
- package/static/media/image-editor/images/textures/20.png +0 -0
- package/static/media/image-editor/images/textures/21.png +0 -0
- package/static/media/image-editor/images/textures/22.png +0 -0
- package/static/media/image-editor/images/textures/23.png +0 -0
- package/static/media/image-editor/images/textures/24.png +0 -0
- package/static/media/image-editor/images/textures/25.png +0 -0
- package/static/media/image-editor/images/textures/26.png +0 -0
- package/static/media/image-editor/images/textures/27.png +0 -0
- package/static/media/image-editor/images/textures/28.png +0 -0
- package/static/media/image-editor/images/textures/3.png +0 -0
- package/static/media/image-editor/images/textures/4.png +0 -0
- package/static/media/image-editor/images/textures/5.png +0 -0
- package/static/media/image-editor/images/textures/6.png +0 -0
- package/static/media/image-editor/images/textures/7.png +0 -0
- package/static/media/image-editor/images/textures/8.png +0 -0
- package/static/media/image-editor/images/textures/9.png +0 -0
- package/static/umd-runtime/n8zqoGYh.js +109057 -0
- package/static/umd-runtime/runtime.js +1260 -0
- package/static/umd-runtime/ui-kit.js +7025 -0
- package/two_step_headless_plugin.html +1 -1
- package/ui-kit/index.js +192 -187
- package/{useblocks-core.f6bb8947.js → useblocks-core.d874510b.js} +8 -8
- package/useblocks-esm.js +3 -3
- package/useblocks.d.ts +158 -158
- package/useblocks.js +8 -5
- package/static/core/2569fac8.js +0 -378
- package/static/core/30c5fe5f.js +0 -10624
- package/static/core/5345bef8.js +0 -2749
- package/static/core/581ce428.js +0 -173
- package/static/core/8a496b64.js +0 -1357
- package/static/core/951903fb.js +0 -58974
- package/static/core/ba6c356e.js +0 -466
- package/static/core/dbf19c2e.js +0 -811
- /package/iframe/{iframe-eblock.f6bb8947.html → iframe-eblock.d874510b.html} +0 -0
- /package/iframe/{iframe.f6bb8947.html → iframe.d874510b.html} +0 -0
package/static/core/5345bef8.js
DELETED
|
@@ -1,2749 +0,0 @@
|
|
|
1
|
-
__useblocks__.define("static/core/5345bef8.js", [
|
|
2
|
-
"require",
|
|
3
|
-
"exports",
|
|
4
|
-
"module",
|
|
5
|
-
"static/core/bd36b180.js",
|
|
6
|
-
"static/core/951903fb.js"
|
|
7
|
-
], function(Tt, $e, _n) {
|
|
8
|
-
Tt("./bd36b180.js");
|
|
9
|
-
const Xe = Tt("./951903fb.js");
|
|
10
|
-
var Mt, Rt, U = {}, L = {}, F = {};
|
|
11
|
-
function m() {
|
|
12
|
-
return Mt ? F : (Mt = 1, Object.defineProperty(F, "__esModule", { value: !0 }), F.default = function f(s, c) {
|
|
13
|
-
(function(u, o) {
|
|
14
|
-
if (!(u instanceof o)) throw new TypeError("Cannot call a class as a function");
|
|
15
|
-
})(this, f), this.data = s, this.text = c.text || s, this.options = c;
|
|
16
|
-
}, F);
|
|
17
|
-
}
|
|
18
|
-
function ze() {
|
|
19
|
-
if (Rt) return L;
|
|
20
|
-
Rt = 1, Object.defineProperty(L, "__esModule", { value: !0 }), L.CODE39 = void 0;
|
|
21
|
-
var f, s = (function() {
|
|
22
|
-
function e(r, i) {
|
|
23
|
-
for (var a = 0; a < i.length; a++) {
|
|
24
|
-
var l = i[a];
|
|
25
|
-
l.enumerable = l.enumerable || !1, l.configurable = !0, "value" in l && (l.writable = !0), Object.defineProperty(r, l.key, l);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return function(r, i, a) {
|
|
29
|
-
return i && e(r.prototype, i), a && e(r, a), r;
|
|
30
|
-
};
|
|
31
|
-
})(), c = (function(e) {
|
|
32
|
-
function r(i, a) {
|
|
33
|
-
return (function(l, p) {
|
|
34
|
-
if (!(l instanceof p)) throw new TypeError("Cannot call a class as a function");
|
|
35
|
-
})(this, r), i = i.toUpperCase(), a.mod43 && (i += (function(l) {
|
|
36
|
-
return u[l];
|
|
37
|
-
})((function(l) {
|
|
38
|
-
for (var p = 0, d = 0; d < l.length; d++) p += t(l[d]);
|
|
39
|
-
return p %= 43;
|
|
40
|
-
})(i))), (function(l, p) {
|
|
41
|
-
if (!l) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
42
|
-
return !p || typeof p != "object" && typeof p != "function" ? l : p;
|
|
43
|
-
})(this, (r.__proto__ || Object.getPrototypeOf(r)).call(this, i, a));
|
|
44
|
-
}
|
|
45
|
-
return (function(i, a) {
|
|
46
|
-
if (typeof a != "function" && a !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof a);
|
|
47
|
-
i.prototype = Object.create(a && a.prototype, { constructor: {
|
|
48
|
-
value: i,
|
|
49
|
-
enumerable: !1,
|
|
50
|
-
writable: !0,
|
|
51
|
-
configurable: !0
|
|
52
|
-
} }), a && (Object.setPrototypeOf ? Object.setPrototypeOf(i, a) : i.__proto__ = a);
|
|
53
|
-
})(r, e), s(r, [{
|
|
54
|
-
key: "encode",
|
|
55
|
-
value: function() {
|
|
56
|
-
for (var i = n("*"), a = 0; a < this.data.length; a++) i += n(this.data[a]) + "0";
|
|
57
|
-
return {
|
|
58
|
-
data: i += n("*"),
|
|
59
|
-
text: this.text
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
}, {
|
|
63
|
-
key: "valid",
|
|
64
|
-
value: function() {
|
|
65
|
-
return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/) !== -1;
|
|
66
|
-
}
|
|
67
|
-
}]), r;
|
|
68
|
-
})(((f = m()) && f.__esModule ? f : { default: f }).default), u = [
|
|
69
|
-
"0",
|
|
70
|
-
"1",
|
|
71
|
-
"2",
|
|
72
|
-
"3",
|
|
73
|
-
"4",
|
|
74
|
-
"5",
|
|
75
|
-
"6",
|
|
76
|
-
"7",
|
|
77
|
-
"8",
|
|
78
|
-
"9",
|
|
79
|
-
"A",
|
|
80
|
-
"B",
|
|
81
|
-
"C",
|
|
82
|
-
"D",
|
|
83
|
-
"E",
|
|
84
|
-
"F",
|
|
85
|
-
"G",
|
|
86
|
-
"H",
|
|
87
|
-
"I",
|
|
88
|
-
"J",
|
|
89
|
-
"K",
|
|
90
|
-
"L",
|
|
91
|
-
"M",
|
|
92
|
-
"N",
|
|
93
|
-
"O",
|
|
94
|
-
"P",
|
|
95
|
-
"Q",
|
|
96
|
-
"R",
|
|
97
|
-
"S",
|
|
98
|
-
"T",
|
|
99
|
-
"U",
|
|
100
|
-
"V",
|
|
101
|
-
"W",
|
|
102
|
-
"X",
|
|
103
|
-
"Y",
|
|
104
|
-
"Z",
|
|
105
|
-
"-",
|
|
106
|
-
".",
|
|
107
|
-
" ",
|
|
108
|
-
"$",
|
|
109
|
-
"/",
|
|
110
|
-
"+",
|
|
111
|
-
"%",
|
|
112
|
-
"*"
|
|
113
|
-
], o = [
|
|
114
|
-
20957,
|
|
115
|
-
29783,
|
|
116
|
-
23639,
|
|
117
|
-
30485,
|
|
118
|
-
20951,
|
|
119
|
-
29813,
|
|
120
|
-
23669,
|
|
121
|
-
20855,
|
|
122
|
-
29789,
|
|
123
|
-
23645,
|
|
124
|
-
29975,
|
|
125
|
-
23831,
|
|
126
|
-
30533,
|
|
127
|
-
22295,
|
|
128
|
-
30149,
|
|
129
|
-
24005,
|
|
130
|
-
21623,
|
|
131
|
-
29981,
|
|
132
|
-
23837,
|
|
133
|
-
22301,
|
|
134
|
-
30023,
|
|
135
|
-
23879,
|
|
136
|
-
30545,
|
|
137
|
-
22343,
|
|
138
|
-
30161,
|
|
139
|
-
24017,
|
|
140
|
-
21959,
|
|
141
|
-
30065,
|
|
142
|
-
23921,
|
|
143
|
-
22385,
|
|
144
|
-
29015,
|
|
145
|
-
18263,
|
|
146
|
-
29141,
|
|
147
|
-
17879,
|
|
148
|
-
29045,
|
|
149
|
-
18293,
|
|
150
|
-
17783,
|
|
151
|
-
29021,
|
|
152
|
-
18269,
|
|
153
|
-
17477,
|
|
154
|
-
17489,
|
|
155
|
-
17681,
|
|
156
|
-
20753,
|
|
157
|
-
35770
|
|
158
|
-
];
|
|
159
|
-
function n(e) {
|
|
160
|
-
return (function(r) {
|
|
161
|
-
return o[r].toString(2);
|
|
162
|
-
})(t(e));
|
|
163
|
-
}
|
|
164
|
-
function t(e) {
|
|
165
|
-
return u.indexOf(e);
|
|
166
|
-
}
|
|
167
|
-
return L.CODE39 = c, L;
|
|
168
|
-
}
|
|
169
|
-
var Lt, kt, S = {}, W = {}, Y = {}, g = {};
|
|
170
|
-
function k() {
|
|
171
|
-
if (Lt) return g;
|
|
172
|
-
var f;
|
|
173
|
-
function s(r, i, a) {
|
|
174
|
-
return i in r ? Object.defineProperty(r, i, {
|
|
175
|
-
value: a,
|
|
176
|
-
enumerable: !0,
|
|
177
|
-
configurable: !0,
|
|
178
|
-
writable: !0
|
|
179
|
-
}) : r[i] = a, r;
|
|
180
|
-
}
|
|
181
|
-
Lt = 1, Object.defineProperty(g, "__esModule", { value: !0 });
|
|
182
|
-
var c = g.SET_A = 0, u = g.SET_B = 1, o = g.SET_C = 2;
|
|
183
|
-
g.SHIFT = 98;
|
|
184
|
-
var n = g.START_A = 103, t = g.START_B = 104, e = g.START_C = 105;
|
|
185
|
-
return g.MODULO = 103, g.STOP = 106, g.FNC1 = 207, g.SET_BY_CODE = (s(f = {}, n, c), s(f, t, u), s(f, e, o), f), g.SWAP = {
|
|
186
|
-
101: c,
|
|
187
|
-
100: u,
|
|
188
|
-
99: o
|
|
189
|
-
}, g.A_START_CHAR = "Ð", g.B_START_CHAR = "Ñ", g.C_START_CHAR = "Ò", g.A_CHARS = "[\0-_È-Ï]", g.B_CHARS = "[ -È-Ï]", g.C_CHARS = "(Ï*[0-9]{2}Ï*)", g.BARS = [
|
|
190
|
-
11011001100,
|
|
191
|
-
11001101100,
|
|
192
|
-
11001100110,
|
|
193
|
-
10010011e3,
|
|
194
|
-
10010001100,
|
|
195
|
-
10001001100,
|
|
196
|
-
10011001e3,
|
|
197
|
-
10011000100,
|
|
198
|
-
10001100100,
|
|
199
|
-
11001001e3,
|
|
200
|
-
11001000100,
|
|
201
|
-
11000100100,
|
|
202
|
-
10110011100,
|
|
203
|
-
10011011100,
|
|
204
|
-
10011001110,
|
|
205
|
-
10111001100,
|
|
206
|
-
10011101100,
|
|
207
|
-
10011100110,
|
|
208
|
-
11001110010,
|
|
209
|
-
11001011100,
|
|
210
|
-
11001001110,
|
|
211
|
-
11011100100,
|
|
212
|
-
11001110100,
|
|
213
|
-
11101101110,
|
|
214
|
-
11101001100,
|
|
215
|
-
11100101100,
|
|
216
|
-
11100100110,
|
|
217
|
-
11101100100,
|
|
218
|
-
11100110100,
|
|
219
|
-
11100110010,
|
|
220
|
-
11011011e3,
|
|
221
|
-
11011000110,
|
|
222
|
-
11000110110,
|
|
223
|
-
10100011e3,
|
|
224
|
-
10001011e3,
|
|
225
|
-
10001000110,
|
|
226
|
-
10110001e3,
|
|
227
|
-
10001101e3,
|
|
228
|
-
10001100010,
|
|
229
|
-
11010001e3,
|
|
230
|
-
11000101e3,
|
|
231
|
-
11000100010,
|
|
232
|
-
10110111e3,
|
|
233
|
-
10110001110,
|
|
234
|
-
10001101110,
|
|
235
|
-
10111011e3,
|
|
236
|
-
10111000110,
|
|
237
|
-
10001110110,
|
|
238
|
-
11101110110,
|
|
239
|
-
11010001110,
|
|
240
|
-
11000101110,
|
|
241
|
-
11011101e3,
|
|
242
|
-
11011100010,
|
|
243
|
-
11011101110,
|
|
244
|
-
11101011e3,
|
|
245
|
-
11101000110,
|
|
246
|
-
11100010110,
|
|
247
|
-
11101101e3,
|
|
248
|
-
11101100010,
|
|
249
|
-
11100011010,
|
|
250
|
-
11101111010,
|
|
251
|
-
11001000010,
|
|
252
|
-
11110001010,
|
|
253
|
-
1010011e4,
|
|
254
|
-
10100001100,
|
|
255
|
-
1001011e4,
|
|
256
|
-
10010000110,
|
|
257
|
-
10000101100,
|
|
258
|
-
10000100110,
|
|
259
|
-
1011001e4,
|
|
260
|
-
10110000100,
|
|
261
|
-
1001101e4,
|
|
262
|
-
10011000010,
|
|
263
|
-
10000110100,
|
|
264
|
-
10000110010,
|
|
265
|
-
11000010010,
|
|
266
|
-
1100101e4,
|
|
267
|
-
11110111010,
|
|
268
|
-
11000010100,
|
|
269
|
-
10001111010,
|
|
270
|
-
10100111100,
|
|
271
|
-
10010111100,
|
|
272
|
-
10010011110,
|
|
273
|
-
10111100100,
|
|
274
|
-
10011110100,
|
|
275
|
-
10011110010,
|
|
276
|
-
11110100100,
|
|
277
|
-
11110010100,
|
|
278
|
-
11110010010,
|
|
279
|
-
11011011110,
|
|
280
|
-
11011110110,
|
|
281
|
-
11110110110,
|
|
282
|
-
10101111e3,
|
|
283
|
-
10100011110,
|
|
284
|
-
10001011110,
|
|
285
|
-
10111101e3,
|
|
286
|
-
10111100010,
|
|
287
|
-
11110101e3,
|
|
288
|
-
11110100010,
|
|
289
|
-
10111011110,
|
|
290
|
-
10111101110,
|
|
291
|
-
11101011110,
|
|
292
|
-
11110101110,
|
|
293
|
-
11010000100,
|
|
294
|
-
1101001e4,
|
|
295
|
-
11010011100,
|
|
296
|
-
1100011101011
|
|
297
|
-
], g;
|
|
298
|
-
}
|
|
299
|
-
function J() {
|
|
300
|
-
if (kt) return Y;
|
|
301
|
-
kt = 1, Object.defineProperty(Y, "__esModule", { value: !0 });
|
|
302
|
-
var f, s = (function() {
|
|
303
|
-
function o(n, t) {
|
|
304
|
-
for (var e = 0; e < t.length; e++) {
|
|
305
|
-
var r = t[e];
|
|
306
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(n, r.key, r);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
return function(n, t, e) {
|
|
310
|
-
return t && o(n.prototype, t), e && o(n, e), n;
|
|
311
|
-
};
|
|
312
|
-
})(), c = (f = m()) && f.__esModule ? f : { default: f }, u = k();
|
|
313
|
-
return Y.default = (function(o) {
|
|
314
|
-
function n(t, e) {
|
|
315
|
-
(function(i, a) {
|
|
316
|
-
if (!(i instanceof a)) throw new TypeError("Cannot call a class as a function");
|
|
317
|
-
})(this, n);
|
|
318
|
-
var r = (function(i, a) {
|
|
319
|
-
if (!i) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
320
|
-
return !a || typeof a != "object" && typeof a != "function" ? i : a;
|
|
321
|
-
})(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t.substring(1), e));
|
|
322
|
-
return r.bytes = t.split("").map(function(i) {
|
|
323
|
-
return i.charCodeAt(0);
|
|
324
|
-
}), r;
|
|
325
|
-
}
|
|
326
|
-
return (function(t, e) {
|
|
327
|
-
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
328
|
-
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
329
|
-
value: t,
|
|
330
|
-
enumerable: !1,
|
|
331
|
-
writable: !0,
|
|
332
|
-
configurable: !0
|
|
333
|
-
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
334
|
-
})(n, o), s(n, [
|
|
335
|
-
{
|
|
336
|
-
key: "valid",
|
|
337
|
-
value: function() {
|
|
338
|
-
return /^[\x00-\x7F\xC8-\xD3]+$/.test(this.data);
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
key: "encode",
|
|
343
|
-
value: function() {
|
|
344
|
-
var t = this.bytes, e = t.shift() - 105, r = u.SET_BY_CODE[e];
|
|
345
|
-
if (r === void 0) throw new RangeError("The encoding does not start with a start character.");
|
|
346
|
-
this.shouldEncodeAsEan128() === !0 && t.unshift(u.FNC1);
|
|
347
|
-
var i = n.next(t, 1, r);
|
|
348
|
-
return {
|
|
349
|
-
text: this.text === this.data ? this.text.replace(/[^\x20-\x7E]/g, "") : this.text,
|
|
350
|
-
data: n.getBar(e) + i.result + n.getBar((i.checksum + e) % u.MODULO) + n.getBar(u.STOP)
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
key: "shouldEncodeAsEan128",
|
|
356
|
-
value: function() {
|
|
357
|
-
var t = this.options.ean128 || !1;
|
|
358
|
-
return typeof t == "string" && (t = t.toLowerCase() === "true"), t;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
], [
|
|
362
|
-
{
|
|
363
|
-
key: "getBar",
|
|
364
|
-
value: function(t) {
|
|
365
|
-
return u.BARS[t] ? u.BARS[t].toString() : "";
|
|
366
|
-
}
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
key: "correctIndex",
|
|
370
|
-
value: function(t, e) {
|
|
371
|
-
if (e === u.SET_A) {
|
|
372
|
-
var r = t.shift();
|
|
373
|
-
return r < 32 ? r + 64 : r - 32;
|
|
374
|
-
}
|
|
375
|
-
return e === u.SET_B ? t.shift() - 32 : 10 * (t.shift() - 48) + t.shift() - 48;
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
key: "next",
|
|
380
|
-
value: function(t, e, r) {
|
|
381
|
-
if (!t.length) return {
|
|
382
|
-
result: "",
|
|
383
|
-
checksum: 0
|
|
384
|
-
};
|
|
385
|
-
var i = void 0, a = void 0;
|
|
386
|
-
if (t[0] >= 200) {
|
|
387
|
-
a = t.shift() - 105;
|
|
388
|
-
var l = u.SWAP[a];
|
|
389
|
-
l !== void 0 ? i = n.next(t, e + 1, l) : (r !== u.SET_A && r !== u.SET_B || a !== u.SHIFT || (t[0] = r === u.SET_A ? t[0] > 95 ? t[0] - 96 : t[0] : t[0] < 32 ? t[0] + 96 : t[0]), i = n.next(t, e + 1, r));
|
|
390
|
-
} else a = n.correctIndex(t, r), i = n.next(t, e + 1, r);
|
|
391
|
-
var p = a * e;
|
|
392
|
-
return {
|
|
393
|
-
result: n.getBar(a) + i.result,
|
|
394
|
-
checksum: p + i.checksum
|
|
395
|
-
};
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
]), n;
|
|
399
|
-
})(c.default), Y;
|
|
400
|
-
}
|
|
401
|
-
var It, Gt, Q = {};
|
|
402
|
-
function He() {
|
|
403
|
-
if (Gt) return W;
|
|
404
|
-
Gt = 1, Object.defineProperty(W, "__esModule", { value: !0 });
|
|
405
|
-
var f = c(J()), s = c((function() {
|
|
406
|
-
if (It) return Q;
|
|
407
|
-
It = 1, Object.defineProperty(Q, "__esModule", { value: !0 });
|
|
408
|
-
var o = k(), n = function(a) {
|
|
409
|
-
return a.match(new RegExp("^" + o.A_CHARS + "*"))[0].length;
|
|
410
|
-
}, t = function(a) {
|
|
411
|
-
return a.match(new RegExp("^" + o.B_CHARS + "*"))[0].length;
|
|
412
|
-
}, e = function(a) {
|
|
413
|
-
return a.match(new RegExp("^" + o.C_CHARS + "*"))[0];
|
|
414
|
-
};
|
|
415
|
-
function r(a, l) {
|
|
416
|
-
var p = l ? o.A_CHARS : o.B_CHARS, d = a.match(new RegExp("^(" + p + "+?)(([0-9]{2}){2,})([^0-9]|$)"));
|
|
417
|
-
if (d) return d[1] + "Ì" + i(a.substring(d[1].length));
|
|
418
|
-
var h = a.match(new RegExp("^" + p + "+"))[0];
|
|
419
|
-
return h.length === a.length ? a : h + String.fromCharCode(l ? 205 : 206) + r(a.substring(h.length), !l);
|
|
420
|
-
}
|
|
421
|
-
function i(a) {
|
|
422
|
-
var l = e(a), p = l.length;
|
|
423
|
-
if (p === a.length) return a;
|
|
424
|
-
a = a.substring(p);
|
|
425
|
-
var d = n(a) >= t(a);
|
|
426
|
-
return l + String.fromCharCode(d ? 206 : 205) + r(a, d);
|
|
427
|
-
}
|
|
428
|
-
return Q.default = function(a) {
|
|
429
|
-
var l = void 0;
|
|
430
|
-
if (e(a).length >= 2) l = o.C_START_CHAR + i(a);
|
|
431
|
-
else {
|
|
432
|
-
var p = n(a) > t(a);
|
|
433
|
-
l = (p ? o.A_START_CHAR : o.B_START_CHAR) + r(a, p);
|
|
434
|
-
}
|
|
435
|
-
return l.replace(/[\xCD\xCE]([^])[\xCD\xCE]/, function(d, h) {
|
|
436
|
-
return "Ë" + h;
|
|
437
|
-
});
|
|
438
|
-
}, Q;
|
|
439
|
-
})());
|
|
440
|
-
function c(o) {
|
|
441
|
-
return o && o.__esModule ? o : { default: o };
|
|
442
|
-
}
|
|
443
|
-
function u(o, n) {
|
|
444
|
-
if (!o) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
445
|
-
return !n || typeof n != "object" && typeof n != "function" ? o : n;
|
|
446
|
-
}
|
|
447
|
-
return W.default = (function(o) {
|
|
448
|
-
function n(t, e) {
|
|
449
|
-
if ((function(i, a) {
|
|
450
|
-
if (!(i instanceof a)) throw new TypeError("Cannot call a class as a function");
|
|
451
|
-
})(this, n), /^[\x00-\x7F\xC8-\xD3]+$/.test(t)) var r = u(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, (0, s.default)(t), e));
|
|
452
|
-
else r = u(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t, e));
|
|
453
|
-
return u(r);
|
|
454
|
-
}
|
|
455
|
-
return (function(t, e) {
|
|
456
|
-
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
457
|
-
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
458
|
-
value: t,
|
|
459
|
-
enumerable: !1,
|
|
460
|
-
writable: !0,
|
|
461
|
-
configurable: !0
|
|
462
|
-
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
463
|
-
})(n, o), n;
|
|
464
|
-
})(f.default), W;
|
|
465
|
-
}
|
|
466
|
-
var Bt, Z = {};
|
|
467
|
-
function Ve() {
|
|
468
|
-
if (Bt) return Z;
|
|
469
|
-
Bt = 1, Object.defineProperty(Z, "__esModule", { value: !0 });
|
|
470
|
-
var f, s = (function() {
|
|
471
|
-
function o(n, t) {
|
|
472
|
-
for (var e = 0; e < t.length; e++) {
|
|
473
|
-
var r = t[e];
|
|
474
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(n, r.key, r);
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
return function(n, t, e) {
|
|
478
|
-
return t && o(n.prototype, t), e && o(n, e), n;
|
|
479
|
-
};
|
|
480
|
-
})(), c = (f = J()) && f.__esModule ? f : { default: f }, u = k();
|
|
481
|
-
return Z.default = (function(o) {
|
|
482
|
-
function n(t, e) {
|
|
483
|
-
return (function(r, i) {
|
|
484
|
-
if (!(r instanceof i)) throw new TypeError("Cannot call a class as a function");
|
|
485
|
-
})(this, n), (function(r, i) {
|
|
486
|
-
if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
487
|
-
return !i || typeof i != "object" && typeof i != "function" ? r : i;
|
|
488
|
-
})(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, u.A_START_CHAR + t, e));
|
|
489
|
-
}
|
|
490
|
-
return (function(t, e) {
|
|
491
|
-
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
492
|
-
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
493
|
-
value: t,
|
|
494
|
-
enumerable: !1,
|
|
495
|
-
writable: !0,
|
|
496
|
-
configurable: !0
|
|
497
|
-
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
498
|
-
})(n, o), s(n, [{
|
|
499
|
-
key: "valid",
|
|
500
|
-
value: function() {
|
|
501
|
-
return new RegExp("^" + u.A_CHARS + "+$").test(this.data);
|
|
502
|
-
}
|
|
503
|
-
}]), n;
|
|
504
|
-
})(c.default), Z;
|
|
505
|
-
}
|
|
506
|
-
var Dt, K = {};
|
|
507
|
-
function Ue() {
|
|
508
|
-
if (Dt) return K;
|
|
509
|
-
Dt = 1, Object.defineProperty(K, "__esModule", { value: !0 });
|
|
510
|
-
var f, s = (function() {
|
|
511
|
-
function o(n, t) {
|
|
512
|
-
for (var e = 0; e < t.length; e++) {
|
|
513
|
-
var r = t[e];
|
|
514
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(n, r.key, r);
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
return function(n, t, e) {
|
|
518
|
-
return t && o(n.prototype, t), e && o(n, e), n;
|
|
519
|
-
};
|
|
520
|
-
})(), c = (f = J()) && f.__esModule ? f : { default: f }, u = k();
|
|
521
|
-
return K.default = (function(o) {
|
|
522
|
-
function n(t, e) {
|
|
523
|
-
return (function(r, i) {
|
|
524
|
-
if (!(r instanceof i)) throw new TypeError("Cannot call a class as a function");
|
|
525
|
-
})(this, n), (function(r, i) {
|
|
526
|
-
if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
527
|
-
return !i || typeof i != "object" && typeof i != "function" ? r : i;
|
|
528
|
-
})(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, u.B_START_CHAR + t, e));
|
|
529
|
-
}
|
|
530
|
-
return (function(t, e) {
|
|
531
|
-
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
532
|
-
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
533
|
-
value: t,
|
|
534
|
-
enumerable: !1,
|
|
535
|
-
writable: !0,
|
|
536
|
-
configurable: !0
|
|
537
|
-
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
538
|
-
})(n, o), s(n, [{
|
|
539
|
-
key: "valid",
|
|
540
|
-
value: function() {
|
|
541
|
-
return new RegExp("^" + u.B_CHARS + "+$").test(this.data);
|
|
542
|
-
}
|
|
543
|
-
}]), n;
|
|
544
|
-
})(c.default), K;
|
|
545
|
-
}
|
|
546
|
-
var Nt, $t, q = {};
|
|
547
|
-
function Fe() {
|
|
548
|
-
if (Nt) return q;
|
|
549
|
-
Nt = 1, Object.defineProperty(q, "__esModule", { value: !0 });
|
|
550
|
-
var f, s = (function() {
|
|
551
|
-
function o(n, t) {
|
|
552
|
-
for (var e = 0; e < t.length; e++) {
|
|
553
|
-
var r = t[e];
|
|
554
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(n, r.key, r);
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
return function(n, t, e) {
|
|
558
|
-
return t && o(n.prototype, t), e && o(n, e), n;
|
|
559
|
-
};
|
|
560
|
-
})(), c = (f = J()) && f.__esModule ? f : { default: f }, u = k();
|
|
561
|
-
return q.default = (function(o) {
|
|
562
|
-
function n(t, e) {
|
|
563
|
-
return (function(r, i) {
|
|
564
|
-
if (!(r instanceof i)) throw new TypeError("Cannot call a class as a function");
|
|
565
|
-
})(this, n), (function(r, i) {
|
|
566
|
-
if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
567
|
-
return !i || typeof i != "object" && typeof i != "function" ? r : i;
|
|
568
|
-
})(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, u.C_START_CHAR + t, e));
|
|
569
|
-
}
|
|
570
|
-
return (function(t, e) {
|
|
571
|
-
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
572
|
-
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
573
|
-
value: t,
|
|
574
|
-
enumerable: !1,
|
|
575
|
-
writable: !0,
|
|
576
|
-
configurable: !0
|
|
577
|
-
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
578
|
-
})(n, o), s(n, [{
|
|
579
|
-
key: "valid",
|
|
580
|
-
value: function() {
|
|
581
|
-
return new RegExp("^" + u.C_CHARS + "+$").test(this.data);
|
|
582
|
-
}
|
|
583
|
-
}]), n;
|
|
584
|
-
})(c.default), q;
|
|
585
|
-
}
|
|
586
|
-
var Xt, E = {}, tt = {}, C = {};
|
|
587
|
-
function I() {
|
|
588
|
-
return Xt || (Xt = 1, Object.defineProperty(C, "__esModule", { value: !0 }), C.SIDE_BIN = "101", C.MIDDLE_BIN = "01010", C.BINARIES = {
|
|
589
|
-
L: [
|
|
590
|
-
"0001101",
|
|
591
|
-
"0011001",
|
|
592
|
-
"0010011",
|
|
593
|
-
"0111101",
|
|
594
|
-
"0100011",
|
|
595
|
-
"0110001",
|
|
596
|
-
"0101111",
|
|
597
|
-
"0111011",
|
|
598
|
-
"0110111",
|
|
599
|
-
"0001011"
|
|
600
|
-
],
|
|
601
|
-
G: [
|
|
602
|
-
"0100111",
|
|
603
|
-
"0110011",
|
|
604
|
-
"0011011",
|
|
605
|
-
"0100001",
|
|
606
|
-
"0011101",
|
|
607
|
-
"0111001",
|
|
608
|
-
"0000101",
|
|
609
|
-
"0010001",
|
|
610
|
-
"0001001",
|
|
611
|
-
"0010111"
|
|
612
|
-
],
|
|
613
|
-
R: [
|
|
614
|
-
"1110010",
|
|
615
|
-
"1100110",
|
|
616
|
-
"1101100",
|
|
617
|
-
"1000010",
|
|
618
|
-
"1011100",
|
|
619
|
-
"1001110",
|
|
620
|
-
"1010000",
|
|
621
|
-
"1000100",
|
|
622
|
-
"1001000",
|
|
623
|
-
"1110100"
|
|
624
|
-
],
|
|
625
|
-
O: [
|
|
626
|
-
"0001101",
|
|
627
|
-
"0011001",
|
|
628
|
-
"0010011",
|
|
629
|
-
"0111101",
|
|
630
|
-
"0100011",
|
|
631
|
-
"0110001",
|
|
632
|
-
"0101111",
|
|
633
|
-
"0111011",
|
|
634
|
-
"0110111",
|
|
635
|
-
"0001011"
|
|
636
|
-
],
|
|
637
|
-
E: [
|
|
638
|
-
"0100111",
|
|
639
|
-
"0110011",
|
|
640
|
-
"0011011",
|
|
641
|
-
"0100001",
|
|
642
|
-
"0011101",
|
|
643
|
-
"0111001",
|
|
644
|
-
"0000101",
|
|
645
|
-
"0010001",
|
|
646
|
-
"0001001",
|
|
647
|
-
"0010111"
|
|
648
|
-
]
|
|
649
|
-
}, C.EAN2_STRUCTURE = [
|
|
650
|
-
"LL",
|
|
651
|
-
"LG",
|
|
652
|
-
"GL",
|
|
653
|
-
"GG"
|
|
654
|
-
], C.EAN5_STRUCTURE = [
|
|
655
|
-
"GGLLL",
|
|
656
|
-
"GLGLL",
|
|
657
|
-
"GLLGL",
|
|
658
|
-
"GLLLG",
|
|
659
|
-
"LGGLL",
|
|
660
|
-
"LLGGL",
|
|
661
|
-
"LLLGG",
|
|
662
|
-
"LGLGL",
|
|
663
|
-
"LGLLG",
|
|
664
|
-
"LLGLG"
|
|
665
|
-
], C.EAN13_STRUCTURE = [
|
|
666
|
-
"LLLLLL",
|
|
667
|
-
"LLGLGG",
|
|
668
|
-
"LLGGLG",
|
|
669
|
-
"LLGGGL",
|
|
670
|
-
"LGLLGG",
|
|
671
|
-
"LGGLLG",
|
|
672
|
-
"LGGGLL",
|
|
673
|
-
"LGLGLG",
|
|
674
|
-
"LGLGGL",
|
|
675
|
-
"LGGLGL"
|
|
676
|
-
]), C;
|
|
677
|
-
}
|
|
678
|
-
var zt, Ht, Vt, et = {}, nt = {};
|
|
679
|
-
function G() {
|
|
680
|
-
if (zt) return nt;
|
|
681
|
-
zt = 1, Object.defineProperty(nt, "__esModule", { value: !0 });
|
|
682
|
-
var f = I();
|
|
683
|
-
return nt.default = function(s, c, u) {
|
|
684
|
-
var o = s.split("").map(function(t, e) {
|
|
685
|
-
return f.BINARIES[c[e]];
|
|
686
|
-
}).map(function(t, e) {
|
|
687
|
-
return t ? t[s[e]] : "";
|
|
688
|
-
});
|
|
689
|
-
if (u) {
|
|
690
|
-
var n = s.length - 1;
|
|
691
|
-
o = o.map(function(t, e) {
|
|
692
|
-
return e < n ? t + u : t;
|
|
693
|
-
});
|
|
694
|
-
}
|
|
695
|
-
return o.join("");
|
|
696
|
-
}, nt;
|
|
697
|
-
}
|
|
698
|
-
function Ut() {
|
|
699
|
-
if (Ht) return et;
|
|
700
|
-
Ht = 1, Object.defineProperty(et, "__esModule", { value: !0 });
|
|
701
|
-
var f = (function() {
|
|
702
|
-
function o(n, t) {
|
|
703
|
-
for (var e = 0; e < t.length; e++) {
|
|
704
|
-
var r = t[e];
|
|
705
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(n, r.key, r);
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
return function(n, t, e) {
|
|
709
|
-
return t && o(n.prototype, t), e && o(n, e), n;
|
|
710
|
-
};
|
|
711
|
-
})(), s = I(), c = u(G());
|
|
712
|
-
function u(o) {
|
|
713
|
-
return o && o.__esModule ? o : { default: o };
|
|
714
|
-
}
|
|
715
|
-
return et.default = (function(o) {
|
|
716
|
-
function n(t, e) {
|
|
717
|
-
(function(i, a) {
|
|
718
|
-
if (!(i instanceof a)) throw new TypeError("Cannot call a class as a function");
|
|
719
|
-
})(this, n);
|
|
720
|
-
var r = (function(i, a) {
|
|
721
|
-
if (!i) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
722
|
-
return !a || typeof a != "object" && typeof a != "function" ? i : a;
|
|
723
|
-
})(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t, e));
|
|
724
|
-
return r.fontSize = !e.flat && e.fontSize > 10 * e.width ? 10 * e.width : e.fontSize, r.guardHeight = e.height + r.fontSize / 2 + e.textMargin, r;
|
|
725
|
-
}
|
|
726
|
-
return (function(t, e) {
|
|
727
|
-
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
728
|
-
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
729
|
-
value: t,
|
|
730
|
-
enumerable: !1,
|
|
731
|
-
writable: !0,
|
|
732
|
-
configurable: !0
|
|
733
|
-
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
734
|
-
})(n, o), f(n, [
|
|
735
|
-
{
|
|
736
|
-
key: "encode",
|
|
737
|
-
value: function() {
|
|
738
|
-
return this.options.flat ? this.encodeFlat() : this.encodeGuarded();
|
|
739
|
-
}
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
key: "leftText",
|
|
743
|
-
value: function(t, e) {
|
|
744
|
-
return this.text.substr(t, e);
|
|
745
|
-
}
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
key: "leftEncode",
|
|
749
|
-
value: function(t, e) {
|
|
750
|
-
return (0, c.default)(t, e);
|
|
751
|
-
}
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
key: "rightText",
|
|
755
|
-
value: function(t, e) {
|
|
756
|
-
return this.text.substr(t, e);
|
|
757
|
-
}
|
|
758
|
-
},
|
|
759
|
-
{
|
|
760
|
-
key: "rightEncode",
|
|
761
|
-
value: function(t, e) {
|
|
762
|
-
return (0, c.default)(t, e);
|
|
763
|
-
}
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
key: "encodeGuarded",
|
|
767
|
-
value: function() {
|
|
768
|
-
var t = { fontSize: this.fontSize }, e = { height: this.guardHeight };
|
|
769
|
-
return [
|
|
770
|
-
{
|
|
771
|
-
data: s.SIDE_BIN,
|
|
772
|
-
options: e
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
data: this.leftEncode(),
|
|
776
|
-
text: this.leftText(),
|
|
777
|
-
options: t
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
data: s.MIDDLE_BIN,
|
|
781
|
-
options: e
|
|
782
|
-
},
|
|
783
|
-
{
|
|
784
|
-
data: this.rightEncode(),
|
|
785
|
-
text: this.rightText(),
|
|
786
|
-
options: t
|
|
787
|
-
},
|
|
788
|
-
{
|
|
789
|
-
data: s.SIDE_BIN,
|
|
790
|
-
options: e
|
|
791
|
-
}
|
|
792
|
-
];
|
|
793
|
-
}
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
key: "encodeFlat",
|
|
797
|
-
value: function() {
|
|
798
|
-
return {
|
|
799
|
-
data: [
|
|
800
|
-
s.SIDE_BIN,
|
|
801
|
-
this.leftEncode(),
|
|
802
|
-
s.MIDDLE_BIN,
|
|
803
|
-
this.rightEncode(),
|
|
804
|
-
s.SIDE_BIN
|
|
805
|
-
].join(""),
|
|
806
|
-
text: this.text
|
|
807
|
-
};
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
]), n;
|
|
811
|
-
})(u(m()).default), et;
|
|
812
|
-
}
|
|
813
|
-
function We() {
|
|
814
|
-
if (Vt) return tt;
|
|
815
|
-
Vt = 1, Object.defineProperty(tt, "__esModule", { value: !0 });
|
|
816
|
-
var f, s = (function() {
|
|
817
|
-
function t(e, r) {
|
|
818
|
-
for (var i = 0; i < r.length; i++) {
|
|
819
|
-
var a = r[i];
|
|
820
|
-
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a);
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
return function(e, r, i) {
|
|
824
|
-
return r && t(e.prototype, r), i && t(e, i), e;
|
|
825
|
-
};
|
|
826
|
-
})(), c = function t(e, r, i) {
|
|
827
|
-
e === null && (e = Function.prototype);
|
|
828
|
-
var a = Object.getOwnPropertyDescriptor(e, r);
|
|
829
|
-
if (a === void 0) {
|
|
830
|
-
var l = Object.getPrototypeOf(e);
|
|
831
|
-
return l === null ? void 0 : t(l, r, i);
|
|
832
|
-
}
|
|
833
|
-
if ("value" in a) return a.value;
|
|
834
|
-
var p = a.get;
|
|
835
|
-
return p !== void 0 ? p.call(i) : void 0;
|
|
836
|
-
}, u = I(), o = (f = Ut()) && f.__esModule ? f : { default: f }, n = function(t) {
|
|
837
|
-
return (10 - t.substr(0, 12).split("").map(function(e) {
|
|
838
|
-
return +e;
|
|
839
|
-
}).reduce(function(e, r, i) {
|
|
840
|
-
return i % 2 ? e + 3 * r : e + r;
|
|
841
|
-
}, 0) % 10) % 10;
|
|
842
|
-
};
|
|
843
|
-
return tt.default = (function(t) {
|
|
844
|
-
function e(r, i) {
|
|
845
|
-
(function(l, p) {
|
|
846
|
-
if (!(l instanceof p)) throw new TypeError("Cannot call a class as a function");
|
|
847
|
-
})(this, e), r.search(/^[0-9]{12}$/) !== -1 && (r += n(r));
|
|
848
|
-
var a = (function(l, p) {
|
|
849
|
-
if (!l) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
850
|
-
return !p || typeof p != "object" && typeof p != "function" ? l : p;
|
|
851
|
-
})(this, (e.__proto__ || Object.getPrototypeOf(e)).call(this, r, i));
|
|
852
|
-
return a.lastChar = i.lastChar, a;
|
|
853
|
-
}
|
|
854
|
-
return (function(r, i) {
|
|
855
|
-
if (typeof i != "function" && i !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof i);
|
|
856
|
-
r.prototype = Object.create(i && i.prototype, { constructor: {
|
|
857
|
-
value: r,
|
|
858
|
-
enumerable: !1,
|
|
859
|
-
writable: !0,
|
|
860
|
-
configurable: !0
|
|
861
|
-
} }), i && (Object.setPrototypeOf ? Object.setPrototypeOf(r, i) : r.__proto__ = i);
|
|
862
|
-
})(e, t), s(e, [
|
|
863
|
-
{
|
|
864
|
-
key: "valid",
|
|
865
|
-
value: function() {
|
|
866
|
-
return this.data.search(/^[0-9]{13}$/) !== -1 && +this.data[12] === n(this.data);
|
|
867
|
-
}
|
|
868
|
-
},
|
|
869
|
-
{
|
|
870
|
-
key: "leftText",
|
|
871
|
-
value: function() {
|
|
872
|
-
return c(e.prototype.__proto__ || Object.getPrototypeOf(e.prototype), "leftText", this).call(this, 1, 6);
|
|
873
|
-
}
|
|
874
|
-
},
|
|
875
|
-
{
|
|
876
|
-
key: "leftEncode",
|
|
877
|
-
value: function() {
|
|
878
|
-
var r = this.data.substr(1, 6), i = u.EAN13_STRUCTURE[this.data[0]];
|
|
879
|
-
return c(e.prototype.__proto__ || Object.getPrototypeOf(e.prototype), "leftEncode", this).call(this, r, i);
|
|
880
|
-
}
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
key: "rightText",
|
|
884
|
-
value: function() {
|
|
885
|
-
return c(e.prototype.__proto__ || Object.getPrototypeOf(e.prototype), "rightText", this).call(this, 7, 6);
|
|
886
|
-
}
|
|
887
|
-
},
|
|
888
|
-
{
|
|
889
|
-
key: "rightEncode",
|
|
890
|
-
value: function() {
|
|
891
|
-
var r = this.data.substr(7, 6);
|
|
892
|
-
return c(e.prototype.__proto__ || Object.getPrototypeOf(e.prototype), "rightEncode", this).call(this, r, "RRRRRR");
|
|
893
|
-
}
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
key: "encodeGuarded",
|
|
897
|
-
value: function() {
|
|
898
|
-
var r = c(e.prototype.__proto__ || Object.getPrototypeOf(e.prototype), "encodeGuarded", this).call(this);
|
|
899
|
-
return this.options.displayValue && (r.unshift({
|
|
900
|
-
data: "000000000000",
|
|
901
|
-
text: this.text.substr(0, 1),
|
|
902
|
-
options: {
|
|
903
|
-
textAlign: "left",
|
|
904
|
-
fontSize: this.fontSize
|
|
905
|
-
}
|
|
906
|
-
}), this.options.lastChar && (r.push({ data: "00" }), r.push({
|
|
907
|
-
data: "00000",
|
|
908
|
-
text: this.options.lastChar,
|
|
909
|
-
options: { fontSize: this.fontSize }
|
|
910
|
-
}))), r;
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
]), e;
|
|
914
|
-
})(o.default), tt;
|
|
915
|
-
}
|
|
916
|
-
var Ft, rt = {};
|
|
917
|
-
function Ye() {
|
|
918
|
-
if (Ft) return rt;
|
|
919
|
-
Ft = 1, Object.defineProperty(rt, "__esModule", { value: !0 });
|
|
920
|
-
var f, s = (function() {
|
|
921
|
-
function n(t, e) {
|
|
922
|
-
for (var r = 0; r < e.length; r++) {
|
|
923
|
-
var i = e[r];
|
|
924
|
-
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
return function(t, e, r) {
|
|
928
|
-
return e && n(t.prototype, e), r && n(t, r), t;
|
|
929
|
-
};
|
|
930
|
-
})(), c = function n(t, e, r) {
|
|
931
|
-
t === null && (t = Function.prototype);
|
|
932
|
-
var i = Object.getOwnPropertyDescriptor(t, e);
|
|
933
|
-
if (i === void 0) {
|
|
934
|
-
var a = Object.getPrototypeOf(t);
|
|
935
|
-
return a === null ? void 0 : n(a, e, r);
|
|
936
|
-
}
|
|
937
|
-
if ("value" in i) return i.value;
|
|
938
|
-
var l = i.get;
|
|
939
|
-
return l !== void 0 ? l.call(r) : void 0;
|
|
940
|
-
}, u = (f = Ut()) && f.__esModule ? f : { default: f }, o = function(n) {
|
|
941
|
-
return (10 - n.substr(0, 7).split("").map(function(t) {
|
|
942
|
-
return +t;
|
|
943
|
-
}).reduce(function(t, e, r) {
|
|
944
|
-
return r % 2 ? t + e : t + 3 * e;
|
|
945
|
-
}, 0) % 10) % 10;
|
|
946
|
-
};
|
|
947
|
-
return rt.default = (function(n) {
|
|
948
|
-
function t(e, r) {
|
|
949
|
-
return (function(i, a) {
|
|
950
|
-
if (!(i instanceof a)) throw new TypeError("Cannot call a class as a function");
|
|
951
|
-
})(this, t), e.search(/^[0-9]{7}$/) !== -1 && (e += o(e)), (function(i, a) {
|
|
952
|
-
if (!i) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
953
|
-
return !a || typeof a != "object" && typeof a != "function" ? i : a;
|
|
954
|
-
})(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, r));
|
|
955
|
-
}
|
|
956
|
-
return (function(e, r) {
|
|
957
|
-
if (typeof r != "function" && r !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof r);
|
|
958
|
-
e.prototype = Object.create(r && r.prototype, { constructor: {
|
|
959
|
-
value: e,
|
|
960
|
-
enumerable: !1,
|
|
961
|
-
writable: !0,
|
|
962
|
-
configurable: !0
|
|
963
|
-
} }), r && (Object.setPrototypeOf ? Object.setPrototypeOf(e, r) : e.__proto__ = r);
|
|
964
|
-
})(t, n), s(t, [
|
|
965
|
-
{
|
|
966
|
-
key: "valid",
|
|
967
|
-
value: function() {
|
|
968
|
-
return this.data.search(/^[0-9]{8}$/) !== -1 && +this.data[7] === o(this.data);
|
|
969
|
-
}
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
key: "leftText",
|
|
973
|
-
value: function() {
|
|
974
|
-
return c(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), "leftText", this).call(this, 0, 4);
|
|
975
|
-
}
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
key: "leftEncode",
|
|
979
|
-
value: function() {
|
|
980
|
-
var e = this.data.substr(0, 4);
|
|
981
|
-
return c(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), "leftEncode", this).call(this, e, "LLLL");
|
|
982
|
-
}
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
key: "rightText",
|
|
986
|
-
value: function() {
|
|
987
|
-
return c(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), "rightText", this).call(this, 4, 4);
|
|
988
|
-
}
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
key: "rightEncode",
|
|
992
|
-
value: function() {
|
|
993
|
-
var e = this.data.substr(4, 4);
|
|
994
|
-
return c(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), "rightEncode", this).call(this, e, "RRRR");
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
]), t;
|
|
998
|
-
})(u.default), rt;
|
|
999
|
-
}
|
|
1000
|
-
var Wt, ot = {};
|
|
1001
|
-
function Je() {
|
|
1002
|
-
if (Wt) return ot;
|
|
1003
|
-
Wt = 1, Object.defineProperty(ot, "__esModule", { value: !0 });
|
|
1004
|
-
var f = (function() {
|
|
1005
|
-
function n(t, e) {
|
|
1006
|
-
for (var r = 0; r < e.length; r++) {
|
|
1007
|
-
var i = e[r];
|
|
1008
|
-
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
return function(t, e, r) {
|
|
1012
|
-
return e && n(t.prototype, e), r && n(t, r), t;
|
|
1013
|
-
};
|
|
1014
|
-
})(), s = I(), c = o(G()), u = o(m());
|
|
1015
|
-
function o(n) {
|
|
1016
|
-
return n && n.__esModule ? n : { default: n };
|
|
1017
|
-
}
|
|
1018
|
-
return ot.default = (function(n) {
|
|
1019
|
-
function t(e, r) {
|
|
1020
|
-
return (function(i, a) {
|
|
1021
|
-
if (!(i instanceof a)) throw new TypeError("Cannot call a class as a function");
|
|
1022
|
-
})(this, t), (function(i, a) {
|
|
1023
|
-
if (!i) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1024
|
-
return !a || typeof a != "object" && typeof a != "function" ? i : a;
|
|
1025
|
-
})(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, r));
|
|
1026
|
-
}
|
|
1027
|
-
return (function(e, r) {
|
|
1028
|
-
if (typeof r != "function" && r !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof r);
|
|
1029
|
-
e.prototype = Object.create(r && r.prototype, { constructor: {
|
|
1030
|
-
value: e,
|
|
1031
|
-
enumerable: !1,
|
|
1032
|
-
writable: !0,
|
|
1033
|
-
configurable: !0
|
|
1034
|
-
} }), r && (Object.setPrototypeOf ? Object.setPrototypeOf(e, r) : e.__proto__ = r);
|
|
1035
|
-
})(t, n), f(t, [{
|
|
1036
|
-
key: "valid",
|
|
1037
|
-
value: function() {
|
|
1038
|
-
return this.data.search(/^[0-9]{5}$/) !== -1;
|
|
1039
|
-
}
|
|
1040
|
-
}, {
|
|
1041
|
-
key: "encode",
|
|
1042
|
-
value: function() {
|
|
1043
|
-
var e, r = s.EAN5_STRUCTURE[e = this.data, e.split("").map(function(i) {
|
|
1044
|
-
return +i;
|
|
1045
|
-
}).reduce(function(i, a, l) {
|
|
1046
|
-
return l % 2 ? i + 9 * a : i + 3 * a;
|
|
1047
|
-
}, 0) % 10];
|
|
1048
|
-
return {
|
|
1049
|
-
data: "1011" + (0, c.default)(this.data, r, "01"),
|
|
1050
|
-
text: this.text
|
|
1051
|
-
};
|
|
1052
|
-
}
|
|
1053
|
-
}]), t;
|
|
1054
|
-
})(u.default), ot;
|
|
1055
|
-
}
|
|
1056
|
-
var Yt, it = {};
|
|
1057
|
-
function Qe() {
|
|
1058
|
-
if (Yt) return it;
|
|
1059
|
-
Yt = 1, Object.defineProperty(it, "__esModule", { value: !0 });
|
|
1060
|
-
var f = (function() {
|
|
1061
|
-
function o(n, t) {
|
|
1062
|
-
for (var e = 0; e < t.length; e++) {
|
|
1063
|
-
var r = t[e];
|
|
1064
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(n, r.key, r);
|
|
1065
|
-
}
|
|
1066
|
-
}
|
|
1067
|
-
return function(n, t, e) {
|
|
1068
|
-
return t && o(n.prototype, t), e && o(n, e), n;
|
|
1069
|
-
};
|
|
1070
|
-
})(), s = I(), c = u(G());
|
|
1071
|
-
function u(o) {
|
|
1072
|
-
return o && o.__esModule ? o : { default: o };
|
|
1073
|
-
}
|
|
1074
|
-
return it.default = (function(o) {
|
|
1075
|
-
function n(t, e) {
|
|
1076
|
-
return (function(r, i) {
|
|
1077
|
-
if (!(r instanceof i)) throw new TypeError("Cannot call a class as a function");
|
|
1078
|
-
})(this, n), (function(r, i) {
|
|
1079
|
-
if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1080
|
-
return !i || typeof i != "object" && typeof i != "function" ? r : i;
|
|
1081
|
-
})(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t, e));
|
|
1082
|
-
}
|
|
1083
|
-
return (function(t, e) {
|
|
1084
|
-
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
1085
|
-
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
1086
|
-
value: t,
|
|
1087
|
-
enumerable: !1,
|
|
1088
|
-
writable: !0,
|
|
1089
|
-
configurable: !0
|
|
1090
|
-
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
1091
|
-
})(n, o), f(n, [{
|
|
1092
|
-
key: "valid",
|
|
1093
|
-
value: function() {
|
|
1094
|
-
return this.data.search(/^[0-9]{2}$/) !== -1;
|
|
1095
|
-
}
|
|
1096
|
-
}, {
|
|
1097
|
-
key: "encode",
|
|
1098
|
-
value: function() {
|
|
1099
|
-
var t = s.EAN2_STRUCTURE[parseInt(this.data) % 4];
|
|
1100
|
-
return {
|
|
1101
|
-
data: "1011" + (0, c.default)(this.data, t, "01"),
|
|
1102
|
-
text: this.text
|
|
1103
|
-
};
|
|
1104
|
-
}
|
|
1105
|
-
}]), n;
|
|
1106
|
-
})(u(m()).default), it;
|
|
1107
|
-
}
|
|
1108
|
-
var Jt, B = {};
|
|
1109
|
-
function Qt() {
|
|
1110
|
-
if (Jt) return B;
|
|
1111
|
-
Jt = 1, Object.defineProperty(B, "__esModule", { value: !0 });
|
|
1112
|
-
var f = (function() {
|
|
1113
|
-
function n(t, e) {
|
|
1114
|
-
for (var r = 0; r < e.length; r++) {
|
|
1115
|
-
var i = e[r];
|
|
1116
|
-
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1119
|
-
return function(t, e, r) {
|
|
1120
|
-
return e && n(t.prototype, e), r && n(t, r), t;
|
|
1121
|
-
};
|
|
1122
|
-
})();
|
|
1123
|
-
B.checksum = o;
|
|
1124
|
-
var s = c(G());
|
|
1125
|
-
function c(n) {
|
|
1126
|
-
return n && n.__esModule ? n : { default: n };
|
|
1127
|
-
}
|
|
1128
|
-
var u = (function(n) {
|
|
1129
|
-
function t(e, r) {
|
|
1130
|
-
(function(a, l) {
|
|
1131
|
-
if (!(a instanceof l)) throw new TypeError("Cannot call a class as a function");
|
|
1132
|
-
})(this, t), e.search(/^[0-9]{11}$/) !== -1 && (e += o(e));
|
|
1133
|
-
var i = (function(a, l) {
|
|
1134
|
-
if (!a) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1135
|
-
return !l || typeof l != "object" && typeof l != "function" ? a : l;
|
|
1136
|
-
})(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, r));
|
|
1137
|
-
return i.displayValue = r.displayValue, r.fontSize > 10 * r.width ? i.fontSize = 10 * r.width : i.fontSize = r.fontSize, i.guardHeight = r.height + i.fontSize / 2 + r.textMargin, i;
|
|
1138
|
-
}
|
|
1139
|
-
return (function(e, r) {
|
|
1140
|
-
if (typeof r != "function" && r !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof r);
|
|
1141
|
-
e.prototype = Object.create(r && r.prototype, { constructor: {
|
|
1142
|
-
value: e,
|
|
1143
|
-
enumerable: !1,
|
|
1144
|
-
writable: !0,
|
|
1145
|
-
configurable: !0
|
|
1146
|
-
} }), r && (Object.setPrototypeOf ? Object.setPrototypeOf(e, r) : e.__proto__ = r);
|
|
1147
|
-
})(t, n), f(t, [
|
|
1148
|
-
{
|
|
1149
|
-
key: "valid",
|
|
1150
|
-
value: function() {
|
|
1151
|
-
return this.data.search(/^[0-9]{12}$/) !== -1 && this.data[11] == o(this.data);
|
|
1152
|
-
}
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
key: "encode",
|
|
1156
|
-
value: function() {
|
|
1157
|
-
return this.options.flat ? this.flatEncoding() : this.guardedEncoding();
|
|
1158
|
-
}
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
key: "flatEncoding",
|
|
1162
|
-
value: function() {
|
|
1163
|
-
var e = "";
|
|
1164
|
-
return e += "101", e += (0, s.default)(this.data.substr(0, 6), "LLLLLL"), e += "01010", e += (0, s.default)(this.data.substr(6, 6), "RRRRRR"), {
|
|
1165
|
-
data: e += "101",
|
|
1166
|
-
text: this.text
|
|
1167
|
-
};
|
|
1168
|
-
}
|
|
1169
|
-
},
|
|
1170
|
-
{
|
|
1171
|
-
key: "guardedEncoding",
|
|
1172
|
-
value: function() {
|
|
1173
|
-
var e = [];
|
|
1174
|
-
return this.displayValue && e.push({
|
|
1175
|
-
data: "00000000",
|
|
1176
|
-
text: this.text.substr(0, 1),
|
|
1177
|
-
options: {
|
|
1178
|
-
textAlign: "left",
|
|
1179
|
-
fontSize: this.fontSize
|
|
1180
|
-
}
|
|
1181
|
-
}), e.push({
|
|
1182
|
-
data: "101" + (0, s.default)(this.data[0], "L"),
|
|
1183
|
-
options: { height: this.guardHeight }
|
|
1184
|
-
}), e.push({
|
|
1185
|
-
data: (0, s.default)(this.data.substr(1, 5), "LLLLL"),
|
|
1186
|
-
text: this.text.substr(1, 5),
|
|
1187
|
-
options: { fontSize: this.fontSize }
|
|
1188
|
-
}), e.push({
|
|
1189
|
-
data: "01010",
|
|
1190
|
-
options: { height: this.guardHeight }
|
|
1191
|
-
}), e.push({
|
|
1192
|
-
data: (0, s.default)(this.data.substr(6, 5), "RRRRR"),
|
|
1193
|
-
text: this.text.substr(6, 5),
|
|
1194
|
-
options: { fontSize: this.fontSize }
|
|
1195
|
-
}), e.push({
|
|
1196
|
-
data: (0, s.default)(this.data[11], "R") + "101",
|
|
1197
|
-
options: { height: this.guardHeight }
|
|
1198
|
-
}), this.displayValue && e.push({
|
|
1199
|
-
data: "00000000",
|
|
1200
|
-
text: this.text.substr(11, 1),
|
|
1201
|
-
options: {
|
|
1202
|
-
textAlign: "right",
|
|
1203
|
-
fontSize: this.fontSize
|
|
1204
|
-
}
|
|
1205
|
-
}), e;
|
|
1206
|
-
}
|
|
1207
|
-
}
|
|
1208
|
-
]), t;
|
|
1209
|
-
})(c(m()).default);
|
|
1210
|
-
function o(n) {
|
|
1211
|
-
var t, e = 0;
|
|
1212
|
-
for (t = 1; t < 11; t += 2) e += parseInt(n[t]);
|
|
1213
|
-
for (t = 0; t < 11; t += 2) e += 3 * parseInt(n[t]);
|
|
1214
|
-
return (10 - e % 10) % 10;
|
|
1215
|
-
}
|
|
1216
|
-
return B.default = u, B;
|
|
1217
|
-
}
|
|
1218
|
-
var Zt, Kt, at = {};
|
|
1219
|
-
function Ze() {
|
|
1220
|
-
if (Zt) return at;
|
|
1221
|
-
Zt = 1, Object.defineProperty(at, "__esModule", { value: !0 });
|
|
1222
|
-
var f = (function() {
|
|
1223
|
-
function a(l, p) {
|
|
1224
|
-
for (var d = 0; d < p.length; d++) {
|
|
1225
|
-
var h = p[d];
|
|
1226
|
-
h.enumerable = h.enumerable || !1, h.configurable = !0, "value" in h && (h.writable = !0), Object.defineProperty(l, h.key, h);
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
return function(l, p, d) {
|
|
1230
|
-
return p && a(l.prototype, p), d && a(l, d), l;
|
|
1231
|
-
};
|
|
1232
|
-
})(), s = o(G()), c = o(m()), u = Qt();
|
|
1233
|
-
function o(a) {
|
|
1234
|
-
return a && a.__esModule ? a : { default: a };
|
|
1235
|
-
}
|
|
1236
|
-
function n(a, l) {
|
|
1237
|
-
if (!a) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1238
|
-
return !l || typeof l != "object" && typeof l != "function" ? a : l;
|
|
1239
|
-
}
|
|
1240
|
-
var t = [
|
|
1241
|
-
"XX00000XXX",
|
|
1242
|
-
"XX10000XXX",
|
|
1243
|
-
"XX20000XXX",
|
|
1244
|
-
"XXX00000XX",
|
|
1245
|
-
"XXXX00000X",
|
|
1246
|
-
"XXXXX00005",
|
|
1247
|
-
"XXXXX00006",
|
|
1248
|
-
"XXXXX00007",
|
|
1249
|
-
"XXXXX00008",
|
|
1250
|
-
"XXXXX00009"
|
|
1251
|
-
], e = [
|
|
1252
|
-
["EEEOOO", "OOOEEE"],
|
|
1253
|
-
["EEOEOO", "OOEOEE"],
|
|
1254
|
-
["EEOOEO", "OOEEOE"],
|
|
1255
|
-
["EEOOOE", "OOEEEO"],
|
|
1256
|
-
["EOEEOO", "OEOOEE"],
|
|
1257
|
-
["EOOEEO", "OEEOOE"],
|
|
1258
|
-
["EOOOEE", "OEEEOO"],
|
|
1259
|
-
["EOEOEO", "OEOEOE"],
|
|
1260
|
-
["EOEOOE", "OEOEEO"],
|
|
1261
|
-
["EOOEOE", "OEEOEO"]
|
|
1262
|
-
], r = (function(a) {
|
|
1263
|
-
function l(p, d) {
|
|
1264
|
-
(function(O, P) {
|
|
1265
|
-
if (!(O instanceof P)) throw new TypeError("Cannot call a class as a function");
|
|
1266
|
-
})(this, l);
|
|
1267
|
-
var h = n(this, (l.__proto__ || Object.getPrototypeOf(l)).call(this, p, d));
|
|
1268
|
-
if (h.isValid = !1, p.search(/^[0-9]{6}$/) !== -1) h.middleDigits = p, h.upcA = i(p, "0"), h.text = d.text || "" + h.upcA[0] + p + h.upcA[h.upcA.length - 1], h.isValid = !0;
|
|
1269
|
-
else {
|
|
1270
|
-
if (p.search(/^[01][0-9]{7}$/) === -1 || (h.middleDigits = p.substring(1, p.length - 1), h.upcA = i(h.middleDigits, p[0]), h.upcA[h.upcA.length - 1] !== p[p.length - 1])) return n(h);
|
|
1271
|
-
h.isValid = !0;
|
|
1272
|
-
}
|
|
1273
|
-
return h.displayValue = d.displayValue, d.fontSize > 10 * d.width ? h.fontSize = 10 * d.width : h.fontSize = d.fontSize, h.guardHeight = d.height + h.fontSize / 2 + d.textMargin, h;
|
|
1274
|
-
}
|
|
1275
|
-
return (function(p, d) {
|
|
1276
|
-
if (typeof d != "function" && d !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof d);
|
|
1277
|
-
p.prototype = Object.create(d && d.prototype, { constructor: {
|
|
1278
|
-
value: p,
|
|
1279
|
-
enumerable: !1,
|
|
1280
|
-
writable: !0,
|
|
1281
|
-
configurable: !0
|
|
1282
|
-
} }), d && (Object.setPrototypeOf ? Object.setPrototypeOf(p, d) : p.__proto__ = d);
|
|
1283
|
-
})(l, a), f(l, [
|
|
1284
|
-
{
|
|
1285
|
-
key: "valid",
|
|
1286
|
-
value: function() {
|
|
1287
|
-
return this.isValid;
|
|
1288
|
-
}
|
|
1289
|
-
},
|
|
1290
|
-
{
|
|
1291
|
-
key: "encode",
|
|
1292
|
-
value: function() {
|
|
1293
|
-
return this.options.flat ? this.flatEncoding() : this.guardedEncoding();
|
|
1294
|
-
}
|
|
1295
|
-
},
|
|
1296
|
-
{
|
|
1297
|
-
key: "flatEncoding",
|
|
1298
|
-
value: function() {
|
|
1299
|
-
var p = "";
|
|
1300
|
-
return p += "101", p += this.encodeMiddleDigits(), {
|
|
1301
|
-
data: p += "010101",
|
|
1302
|
-
text: this.text
|
|
1303
|
-
};
|
|
1304
|
-
}
|
|
1305
|
-
},
|
|
1306
|
-
{
|
|
1307
|
-
key: "guardedEncoding",
|
|
1308
|
-
value: function() {
|
|
1309
|
-
var p = [];
|
|
1310
|
-
return this.displayValue && p.push({
|
|
1311
|
-
data: "00000000",
|
|
1312
|
-
text: this.text[0],
|
|
1313
|
-
options: {
|
|
1314
|
-
textAlign: "left",
|
|
1315
|
-
fontSize: this.fontSize
|
|
1316
|
-
}
|
|
1317
|
-
}), p.push({
|
|
1318
|
-
data: "101",
|
|
1319
|
-
options: { height: this.guardHeight }
|
|
1320
|
-
}), p.push({
|
|
1321
|
-
data: this.encodeMiddleDigits(),
|
|
1322
|
-
text: this.text.substring(1, 7),
|
|
1323
|
-
options: { fontSize: this.fontSize }
|
|
1324
|
-
}), p.push({
|
|
1325
|
-
data: "010101",
|
|
1326
|
-
options: { height: this.guardHeight }
|
|
1327
|
-
}), this.displayValue && p.push({
|
|
1328
|
-
data: "00000000",
|
|
1329
|
-
text: this.text[7],
|
|
1330
|
-
options: {
|
|
1331
|
-
textAlign: "right",
|
|
1332
|
-
fontSize: this.fontSize
|
|
1333
|
-
}
|
|
1334
|
-
}), p;
|
|
1335
|
-
}
|
|
1336
|
-
},
|
|
1337
|
-
{
|
|
1338
|
-
key: "encodeMiddleDigits",
|
|
1339
|
-
value: function() {
|
|
1340
|
-
var p = this.upcA[0], d = this.upcA[this.upcA.length - 1], h = e[parseInt(d)][parseInt(p)];
|
|
1341
|
-
return (0, s.default)(this.middleDigits, h);
|
|
1342
|
-
}
|
|
1343
|
-
}
|
|
1344
|
-
]), l;
|
|
1345
|
-
})(c.default);
|
|
1346
|
-
function i(a, l) {
|
|
1347
|
-
for (var p = t[parseInt(a[a.length - 1])], d = "", h = 0, O = 0; O < p.length; O++) {
|
|
1348
|
-
var P = p[O];
|
|
1349
|
-
d += P === "X" ? a[h++] : P;
|
|
1350
|
-
}
|
|
1351
|
-
return (d = "" + l + d) + (0, u.checksum)(d);
|
|
1352
|
-
}
|
|
1353
|
-
return at.default = r, at;
|
|
1354
|
-
}
|
|
1355
|
-
var qt, te, T = {}, ut = {}, D = {};
|
|
1356
|
-
function ee() {
|
|
1357
|
-
if (te) return ut;
|
|
1358
|
-
te = 1, Object.defineProperty(ut, "__esModule", { value: !0 });
|
|
1359
|
-
var f, s = (function() {
|
|
1360
|
-
function u(o, n) {
|
|
1361
|
-
for (var t = 0; t < n.length; t++) {
|
|
1362
|
-
var e = n[t];
|
|
1363
|
-
e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(o, e.key, e);
|
|
1364
|
-
}
|
|
1365
|
-
}
|
|
1366
|
-
return function(o, n, t) {
|
|
1367
|
-
return n && u(o.prototype, n), t && u(o, t), o;
|
|
1368
|
-
};
|
|
1369
|
-
})(), c = (qt || (qt = 1, Object.defineProperty(D, "__esModule", { value: !0 }), D.START_BIN = "1010", D.END_BIN = "11101", D.BINARIES = [
|
|
1370
|
-
"00110",
|
|
1371
|
-
"10001",
|
|
1372
|
-
"01001",
|
|
1373
|
-
"11000",
|
|
1374
|
-
"00101",
|
|
1375
|
-
"10100",
|
|
1376
|
-
"01100",
|
|
1377
|
-
"00011",
|
|
1378
|
-
"10010",
|
|
1379
|
-
"01010"
|
|
1380
|
-
]), D);
|
|
1381
|
-
return ut.default = (function(u) {
|
|
1382
|
-
function o() {
|
|
1383
|
-
return (function(n, t) {
|
|
1384
|
-
if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
1385
|
-
})(this, o), (function(n, t) {
|
|
1386
|
-
if (!n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1387
|
-
return !t || typeof t != "object" && typeof t != "function" ? n : t;
|
|
1388
|
-
})(this, (o.__proto__ || Object.getPrototypeOf(o)).apply(this, arguments));
|
|
1389
|
-
}
|
|
1390
|
-
return (function(n, t) {
|
|
1391
|
-
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
1392
|
-
n.prototype = Object.create(t && t.prototype, { constructor: {
|
|
1393
|
-
value: n,
|
|
1394
|
-
enumerable: !1,
|
|
1395
|
-
writable: !0,
|
|
1396
|
-
configurable: !0
|
|
1397
|
-
} }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
|
|
1398
|
-
})(o, u), s(o, [
|
|
1399
|
-
{
|
|
1400
|
-
key: "valid",
|
|
1401
|
-
value: function() {
|
|
1402
|
-
return this.data.search(/^([0-9]{2})+$/) !== -1;
|
|
1403
|
-
}
|
|
1404
|
-
},
|
|
1405
|
-
{
|
|
1406
|
-
key: "encode",
|
|
1407
|
-
value: function() {
|
|
1408
|
-
var n = this, t = this.data.match(/.{2}/g).map(function(e) {
|
|
1409
|
-
return n.encodePair(e);
|
|
1410
|
-
}).join("");
|
|
1411
|
-
return {
|
|
1412
|
-
data: c.START_BIN + t + c.END_BIN,
|
|
1413
|
-
text: this.text
|
|
1414
|
-
};
|
|
1415
|
-
}
|
|
1416
|
-
},
|
|
1417
|
-
{
|
|
1418
|
-
key: "encodePair",
|
|
1419
|
-
value: function(n) {
|
|
1420
|
-
var t = c.BINARIES[n[1]];
|
|
1421
|
-
return c.BINARIES[n[0]].split("").map(function(e, r) {
|
|
1422
|
-
return (e === "1" ? "111" : "1") + (t[r] === "1" ? "000" : "0");
|
|
1423
|
-
}).join("");
|
|
1424
|
-
}
|
|
1425
|
-
}
|
|
1426
|
-
]), o;
|
|
1427
|
-
})(((f = m()) && f.__esModule ? f : { default: f }).default), ut;
|
|
1428
|
-
}
|
|
1429
|
-
var ne, re, ft = {};
|
|
1430
|
-
function Ke() {
|
|
1431
|
-
if (ne) return ft;
|
|
1432
|
-
ne = 1, Object.defineProperty(ft, "__esModule", { value: !0 });
|
|
1433
|
-
var f, s = (function() {
|
|
1434
|
-
function o(n, t) {
|
|
1435
|
-
for (var e = 0; e < t.length; e++) {
|
|
1436
|
-
var r = t[e];
|
|
1437
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(n, r.key, r);
|
|
1438
|
-
}
|
|
1439
|
-
}
|
|
1440
|
-
return function(n, t, e) {
|
|
1441
|
-
return t && o(n.prototype, t), e && o(n, e), n;
|
|
1442
|
-
};
|
|
1443
|
-
})(), c = (f = ee()) && f.__esModule ? f : { default: f }, u = function(o) {
|
|
1444
|
-
var n = o.substr(0, 13).split("").map(function(t) {
|
|
1445
|
-
return parseInt(t, 10);
|
|
1446
|
-
}).reduce(function(t, e, r) {
|
|
1447
|
-
return t + e * (3 - r % 2 * 2);
|
|
1448
|
-
}, 0);
|
|
1449
|
-
return 10 * Math.ceil(n / 10) - n;
|
|
1450
|
-
};
|
|
1451
|
-
return ft.default = (function(o) {
|
|
1452
|
-
function n(t, e) {
|
|
1453
|
-
return (function(r, i) {
|
|
1454
|
-
if (!(r instanceof i)) throw new TypeError("Cannot call a class as a function");
|
|
1455
|
-
})(this, n), t.search(/^[0-9]{13}$/) !== -1 && (t += u(t)), (function(r, i) {
|
|
1456
|
-
if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1457
|
-
return !i || typeof i != "object" && typeof i != "function" ? r : i;
|
|
1458
|
-
})(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t, e));
|
|
1459
|
-
}
|
|
1460
|
-
return (function(t, e) {
|
|
1461
|
-
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
1462
|
-
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
1463
|
-
value: t,
|
|
1464
|
-
enumerable: !1,
|
|
1465
|
-
writable: !0,
|
|
1466
|
-
configurable: !0
|
|
1467
|
-
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
1468
|
-
})(n, o), s(n, [{
|
|
1469
|
-
key: "valid",
|
|
1470
|
-
value: function() {
|
|
1471
|
-
return this.data.search(/^[0-9]{14}$/) !== -1 && +this.data[13] === u(this.data);
|
|
1472
|
-
}
|
|
1473
|
-
}]), n;
|
|
1474
|
-
})(c.default), ft;
|
|
1475
|
-
}
|
|
1476
|
-
var oe, j = {}, ct = {};
|
|
1477
|
-
function N() {
|
|
1478
|
-
if (oe) return ct;
|
|
1479
|
-
oe = 1, Object.defineProperty(ct, "__esModule", { value: !0 });
|
|
1480
|
-
var f, s = (function() {
|
|
1481
|
-
function o(n, t) {
|
|
1482
|
-
for (var e = 0; e < t.length; e++) {
|
|
1483
|
-
var r = t[e];
|
|
1484
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(n, r.key, r);
|
|
1485
|
-
}
|
|
1486
|
-
}
|
|
1487
|
-
return function(n, t, e) {
|
|
1488
|
-
return t && o(n.prototype, t), e && o(n, e), n;
|
|
1489
|
-
};
|
|
1490
|
-
})(), c = (function(o) {
|
|
1491
|
-
function n(t, e) {
|
|
1492
|
-
return (function(r, i) {
|
|
1493
|
-
if (!(r instanceof i)) throw new TypeError("Cannot call a class as a function");
|
|
1494
|
-
})(this, n), (function(r, i) {
|
|
1495
|
-
if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1496
|
-
return !i || typeof i != "object" && typeof i != "function" ? r : i;
|
|
1497
|
-
})(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t, e));
|
|
1498
|
-
}
|
|
1499
|
-
return (function(t, e) {
|
|
1500
|
-
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
1501
|
-
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
1502
|
-
value: t,
|
|
1503
|
-
enumerable: !1,
|
|
1504
|
-
writable: !0,
|
|
1505
|
-
configurable: !0
|
|
1506
|
-
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
1507
|
-
})(n, o), s(n, [{
|
|
1508
|
-
key: "encode",
|
|
1509
|
-
value: function() {
|
|
1510
|
-
for (var t = "110", e = 0; e < this.data.length; e++) {
|
|
1511
|
-
var r = parseInt(this.data[e]).toString(2);
|
|
1512
|
-
r = u(r, 4 - r.length);
|
|
1513
|
-
for (var i = 0; i < r.length; i++) t += r[i] == "0" ? "100" : "110";
|
|
1514
|
-
}
|
|
1515
|
-
return {
|
|
1516
|
-
data: t += "1001",
|
|
1517
|
-
text: this.text
|
|
1518
|
-
};
|
|
1519
|
-
}
|
|
1520
|
-
}, {
|
|
1521
|
-
key: "valid",
|
|
1522
|
-
value: function() {
|
|
1523
|
-
return this.data.search(/^[0-9]+$/) !== -1;
|
|
1524
|
-
}
|
|
1525
|
-
}]), n;
|
|
1526
|
-
})(((f = m()) && f.__esModule ? f : { default: f }).default);
|
|
1527
|
-
function u(o, n) {
|
|
1528
|
-
for (var t = 0; t < n; t++) o = "0" + o;
|
|
1529
|
-
return o;
|
|
1530
|
-
}
|
|
1531
|
-
return ct.default = c, ct;
|
|
1532
|
-
}
|
|
1533
|
-
var ie, ae, lt = {}, $ = {};
|
|
1534
|
-
function st() {
|
|
1535
|
-
return ie || (ie = 1, Object.defineProperty($, "__esModule", { value: !0 }), $.mod10 = function(f) {
|
|
1536
|
-
for (var s = 0, c = 0; c < f.length; c++) {
|
|
1537
|
-
var u = parseInt(f[c]);
|
|
1538
|
-
(c + f.length) % 2 == 0 ? s += u : s += 2 * u % 10 + Math.floor(2 * u / 10);
|
|
1539
|
-
}
|
|
1540
|
-
return (10 - s % 10) % 10;
|
|
1541
|
-
}, $.mod11 = function(f) {
|
|
1542
|
-
for (var s = 0, c = [
|
|
1543
|
-
2,
|
|
1544
|
-
3,
|
|
1545
|
-
4,
|
|
1546
|
-
5,
|
|
1547
|
-
6,
|
|
1548
|
-
7
|
|
1549
|
-
], u = 0; u < f.length; u++) {
|
|
1550
|
-
var o = parseInt(f[f.length - 1 - u]);
|
|
1551
|
-
s += c[u % c.length] * o;
|
|
1552
|
-
}
|
|
1553
|
-
return (11 - s % 11) % 11;
|
|
1554
|
-
}), $;
|
|
1555
|
-
}
|
|
1556
|
-
function qe() {
|
|
1557
|
-
if (ae) return lt;
|
|
1558
|
-
ae = 1, Object.defineProperty(lt, "__esModule", { value: !0 });
|
|
1559
|
-
var f, s = (f = N()) && f.__esModule ? f : { default: f }, c = st();
|
|
1560
|
-
return lt.default = (function(u) {
|
|
1561
|
-
function o(n, t) {
|
|
1562
|
-
return (function(e, r) {
|
|
1563
|
-
if (!(e instanceof r)) throw new TypeError("Cannot call a class as a function");
|
|
1564
|
-
})(this, o), (function(e, r) {
|
|
1565
|
-
if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1566
|
-
return !r || typeof r != "object" && typeof r != "function" ? e : r;
|
|
1567
|
-
})(this, (o.__proto__ || Object.getPrototypeOf(o)).call(this, n + (0, c.mod10)(n), t));
|
|
1568
|
-
}
|
|
1569
|
-
return (function(n, t) {
|
|
1570
|
-
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
1571
|
-
n.prototype = Object.create(t && t.prototype, { constructor: {
|
|
1572
|
-
value: n,
|
|
1573
|
-
enumerable: !1,
|
|
1574
|
-
writable: !0,
|
|
1575
|
-
configurable: !0
|
|
1576
|
-
} }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
|
|
1577
|
-
})(o, u), o;
|
|
1578
|
-
})(s.default), lt;
|
|
1579
|
-
}
|
|
1580
|
-
var ue, pt = {};
|
|
1581
|
-
function tn() {
|
|
1582
|
-
if (ue) return pt;
|
|
1583
|
-
ue = 1, Object.defineProperty(pt, "__esModule", { value: !0 });
|
|
1584
|
-
var f, s = (f = N()) && f.__esModule ? f : { default: f }, c = st();
|
|
1585
|
-
return pt.default = (function(u) {
|
|
1586
|
-
function o(n, t) {
|
|
1587
|
-
return (function(e, r) {
|
|
1588
|
-
if (!(e instanceof r)) throw new TypeError("Cannot call a class as a function");
|
|
1589
|
-
})(this, o), (function(e, r) {
|
|
1590
|
-
if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1591
|
-
return !r || typeof r != "object" && typeof r != "function" ? e : r;
|
|
1592
|
-
})(this, (o.__proto__ || Object.getPrototypeOf(o)).call(this, n + (0, c.mod11)(n), t));
|
|
1593
|
-
}
|
|
1594
|
-
return (function(n, t) {
|
|
1595
|
-
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
1596
|
-
n.prototype = Object.create(t && t.prototype, { constructor: {
|
|
1597
|
-
value: n,
|
|
1598
|
-
enumerable: !1,
|
|
1599
|
-
writable: !0,
|
|
1600
|
-
configurable: !0
|
|
1601
|
-
} }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
|
|
1602
|
-
})(o, u), o;
|
|
1603
|
-
})(s.default), pt;
|
|
1604
|
-
}
|
|
1605
|
-
var fe, dt = {};
|
|
1606
|
-
function en() {
|
|
1607
|
-
if (fe) return dt;
|
|
1608
|
-
fe = 1, Object.defineProperty(dt, "__esModule", { value: !0 });
|
|
1609
|
-
var f, s = (f = N()) && f.__esModule ? f : { default: f }, c = st();
|
|
1610
|
-
return dt.default = (function(u) {
|
|
1611
|
-
function o(n, t) {
|
|
1612
|
-
return (function(e, r) {
|
|
1613
|
-
if (!(e instanceof r)) throw new TypeError("Cannot call a class as a function");
|
|
1614
|
-
})(this, o), n += (0, c.mod10)(n), n += (0, c.mod10)(n), (function(e, r) {
|
|
1615
|
-
if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1616
|
-
return !r || typeof r != "object" && typeof r != "function" ? e : r;
|
|
1617
|
-
})(this, (o.__proto__ || Object.getPrototypeOf(o)).call(this, n, t));
|
|
1618
|
-
}
|
|
1619
|
-
return (function(n, t) {
|
|
1620
|
-
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
1621
|
-
n.prototype = Object.create(t && t.prototype, { constructor: {
|
|
1622
|
-
value: n,
|
|
1623
|
-
enumerable: !1,
|
|
1624
|
-
writable: !0,
|
|
1625
|
-
configurable: !0
|
|
1626
|
-
} }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
|
|
1627
|
-
})(o, u), o;
|
|
1628
|
-
})(s.default), dt;
|
|
1629
|
-
}
|
|
1630
|
-
var ce, le, ht = {};
|
|
1631
|
-
function nn() {
|
|
1632
|
-
if (ce) return ht;
|
|
1633
|
-
ce = 1, Object.defineProperty(ht, "__esModule", { value: !0 });
|
|
1634
|
-
var f, s = (f = N()) && f.__esModule ? f : { default: f }, c = st();
|
|
1635
|
-
return ht.default = (function(u) {
|
|
1636
|
-
function o(n, t) {
|
|
1637
|
-
return (function(e, r) {
|
|
1638
|
-
if (!(e instanceof r)) throw new TypeError("Cannot call a class as a function");
|
|
1639
|
-
})(this, o), n += (0, c.mod11)(n), n += (0, c.mod10)(n), (function(e, r) {
|
|
1640
|
-
if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1641
|
-
return !r || typeof r != "object" && typeof r != "function" ? e : r;
|
|
1642
|
-
})(this, (o.__proto__ || Object.getPrototypeOf(o)).call(this, n, t));
|
|
1643
|
-
}
|
|
1644
|
-
return (function(n, t) {
|
|
1645
|
-
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
1646
|
-
n.prototype = Object.create(t && t.prototype, { constructor: {
|
|
1647
|
-
value: n,
|
|
1648
|
-
enumerable: !1,
|
|
1649
|
-
writable: !0,
|
|
1650
|
-
configurable: !0
|
|
1651
|
-
} }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
|
|
1652
|
-
})(o, u), o;
|
|
1653
|
-
})(s.default), ht;
|
|
1654
|
-
}
|
|
1655
|
-
var se, X = {};
|
|
1656
|
-
function rn() {
|
|
1657
|
-
if (se) return X;
|
|
1658
|
-
se = 1, Object.defineProperty(X, "__esModule", { value: !0 }), X.pharmacode = void 0;
|
|
1659
|
-
var f, s = (function() {
|
|
1660
|
-
function c(u, o) {
|
|
1661
|
-
for (var n = 0; n < o.length; n++) {
|
|
1662
|
-
var t = o[n];
|
|
1663
|
-
t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(u, t.key, t);
|
|
1664
|
-
}
|
|
1665
|
-
}
|
|
1666
|
-
return function(u, o, n) {
|
|
1667
|
-
return o && c(u.prototype, o), n && c(u, n), u;
|
|
1668
|
-
};
|
|
1669
|
-
})();
|
|
1670
|
-
return X.pharmacode = (function(c) {
|
|
1671
|
-
function u(o, n) {
|
|
1672
|
-
(function(e, r) {
|
|
1673
|
-
if (!(e instanceof r)) throw new TypeError("Cannot call a class as a function");
|
|
1674
|
-
})(this, u);
|
|
1675
|
-
var t = (function(e, r) {
|
|
1676
|
-
if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1677
|
-
return !r || typeof r != "object" && typeof r != "function" ? e : r;
|
|
1678
|
-
})(this, (u.__proto__ || Object.getPrototypeOf(u)).call(this, o, n));
|
|
1679
|
-
return t.number = parseInt(o, 10), t;
|
|
1680
|
-
}
|
|
1681
|
-
return (function(o, n) {
|
|
1682
|
-
if (typeof n != "function" && n !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof n);
|
|
1683
|
-
o.prototype = Object.create(n && n.prototype, { constructor: {
|
|
1684
|
-
value: o,
|
|
1685
|
-
enumerable: !1,
|
|
1686
|
-
writable: !0,
|
|
1687
|
-
configurable: !0
|
|
1688
|
-
} }), n && (Object.setPrototypeOf ? Object.setPrototypeOf(o, n) : o.__proto__ = n);
|
|
1689
|
-
})(u, c), s(u, [{
|
|
1690
|
-
key: "encode",
|
|
1691
|
-
value: function() {
|
|
1692
|
-
for (var o = this.number, n = ""; !isNaN(o) && o != 0;) o % 2 == 0 ? (n = "11100" + n, o = (o - 2) / 2) : (n = "100" + n, o = (o - 1) / 2);
|
|
1693
|
-
return {
|
|
1694
|
-
data: n = n.slice(0, -2),
|
|
1695
|
-
text: this.text
|
|
1696
|
-
};
|
|
1697
|
-
}
|
|
1698
|
-
}, {
|
|
1699
|
-
key: "valid",
|
|
1700
|
-
value: function() {
|
|
1701
|
-
return this.number >= 3 && this.number <= 131070;
|
|
1702
|
-
}
|
|
1703
|
-
}]), u;
|
|
1704
|
-
})(((f = m()) && f.__esModule ? f : { default: f }).default), X;
|
|
1705
|
-
}
|
|
1706
|
-
var pe, z = {};
|
|
1707
|
-
function on() {
|
|
1708
|
-
if (pe) return z;
|
|
1709
|
-
pe = 1, Object.defineProperty(z, "__esModule", { value: !0 }), z.codabar = void 0;
|
|
1710
|
-
var f, s = (function() {
|
|
1711
|
-
function c(u, o) {
|
|
1712
|
-
for (var n = 0; n < o.length; n++) {
|
|
1713
|
-
var t = o[n];
|
|
1714
|
-
t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(u, t.key, t);
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
return function(u, o, n) {
|
|
1718
|
-
return o && c(u.prototype, o), n && c(u, n), u;
|
|
1719
|
-
};
|
|
1720
|
-
})();
|
|
1721
|
-
return z.codabar = (function(c) {
|
|
1722
|
-
function u(o, n) {
|
|
1723
|
-
(function(e, r) {
|
|
1724
|
-
if (!(e instanceof r)) throw new TypeError("Cannot call a class as a function");
|
|
1725
|
-
})(this, u), o.search(/^[0-9\-\$\:\.\+\/]+$/) === 0 && (o = "A" + o + "A");
|
|
1726
|
-
var t = (function(e, r) {
|
|
1727
|
-
if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1728
|
-
return !r || typeof r != "object" && typeof r != "function" ? e : r;
|
|
1729
|
-
})(this, (u.__proto__ || Object.getPrototypeOf(u)).call(this, o.toUpperCase(), n));
|
|
1730
|
-
return t.text = t.options.text || t.text.replace(/[A-D]/g, ""), t;
|
|
1731
|
-
}
|
|
1732
|
-
return (function(o, n) {
|
|
1733
|
-
if (typeof n != "function" && n !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof n);
|
|
1734
|
-
o.prototype = Object.create(n && n.prototype, { constructor: {
|
|
1735
|
-
value: o,
|
|
1736
|
-
enumerable: !1,
|
|
1737
|
-
writable: !0,
|
|
1738
|
-
configurable: !0
|
|
1739
|
-
} }), n && (Object.setPrototypeOf ? Object.setPrototypeOf(o, n) : o.__proto__ = n);
|
|
1740
|
-
})(u, c), s(u, [
|
|
1741
|
-
{
|
|
1742
|
-
key: "valid",
|
|
1743
|
-
value: function() {
|
|
1744
|
-
return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/) !== -1;
|
|
1745
|
-
}
|
|
1746
|
-
},
|
|
1747
|
-
{
|
|
1748
|
-
key: "encode",
|
|
1749
|
-
value: function() {
|
|
1750
|
-
for (var o = [], n = this.getEncodings(), t = 0; t < this.data.length; t++) o.push(n[this.data.charAt(t)]), t !== this.data.length - 1 && o.push("0");
|
|
1751
|
-
return {
|
|
1752
|
-
text: this.text,
|
|
1753
|
-
data: o.join("")
|
|
1754
|
-
};
|
|
1755
|
-
}
|
|
1756
|
-
},
|
|
1757
|
-
{
|
|
1758
|
-
key: "getEncodings",
|
|
1759
|
-
value: function() {
|
|
1760
|
-
return {
|
|
1761
|
-
0: "101010011",
|
|
1762
|
-
1: "101011001",
|
|
1763
|
-
2: "101001011",
|
|
1764
|
-
3: "110010101",
|
|
1765
|
-
4: "101101001",
|
|
1766
|
-
5: "110101001",
|
|
1767
|
-
6: "100101011",
|
|
1768
|
-
7: "100101101",
|
|
1769
|
-
8: "100110101",
|
|
1770
|
-
9: "110100101",
|
|
1771
|
-
"-": "101001101",
|
|
1772
|
-
$: "101100101",
|
|
1773
|
-
":": "1101011011",
|
|
1774
|
-
"/": "1101101011",
|
|
1775
|
-
".": "1101101101",
|
|
1776
|
-
"+": "1011011011",
|
|
1777
|
-
A: "1011001001",
|
|
1778
|
-
B: "1001001011",
|
|
1779
|
-
C: "1010010011",
|
|
1780
|
-
D: "1010011001"
|
|
1781
|
-
};
|
|
1782
|
-
}
|
|
1783
|
-
}
|
|
1784
|
-
]), u;
|
|
1785
|
-
})(((f = m()) && f.__esModule ? f : { default: f }).default), z;
|
|
1786
|
-
}
|
|
1787
|
-
var de, he, M = {}, vt = {}, H = {};
|
|
1788
|
-
function ve() {
|
|
1789
|
-
if (he) return vt;
|
|
1790
|
-
he = 1, Object.defineProperty(vt, "__esModule", { value: !0 });
|
|
1791
|
-
var f, s = (function() {
|
|
1792
|
-
function u(o, n) {
|
|
1793
|
-
for (var t = 0; t < n.length; t++) {
|
|
1794
|
-
var e = n[t];
|
|
1795
|
-
e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(o, e.key, e);
|
|
1796
|
-
}
|
|
1797
|
-
}
|
|
1798
|
-
return function(o, n, t) {
|
|
1799
|
-
return n && u(o.prototype, n), t && u(o, t), o;
|
|
1800
|
-
};
|
|
1801
|
-
})(), c = (de || (de = 1, Object.defineProperty(H, "__esModule", { value: !0 }), H.SYMBOLS = [
|
|
1802
|
-
"0",
|
|
1803
|
-
"1",
|
|
1804
|
-
"2",
|
|
1805
|
-
"3",
|
|
1806
|
-
"4",
|
|
1807
|
-
"5",
|
|
1808
|
-
"6",
|
|
1809
|
-
"7",
|
|
1810
|
-
"8",
|
|
1811
|
-
"9",
|
|
1812
|
-
"A",
|
|
1813
|
-
"B",
|
|
1814
|
-
"C",
|
|
1815
|
-
"D",
|
|
1816
|
-
"E",
|
|
1817
|
-
"F",
|
|
1818
|
-
"G",
|
|
1819
|
-
"H",
|
|
1820
|
-
"I",
|
|
1821
|
-
"J",
|
|
1822
|
-
"K",
|
|
1823
|
-
"L",
|
|
1824
|
-
"M",
|
|
1825
|
-
"N",
|
|
1826
|
-
"O",
|
|
1827
|
-
"P",
|
|
1828
|
-
"Q",
|
|
1829
|
-
"R",
|
|
1830
|
-
"S",
|
|
1831
|
-
"T",
|
|
1832
|
-
"U",
|
|
1833
|
-
"V",
|
|
1834
|
-
"W",
|
|
1835
|
-
"X",
|
|
1836
|
-
"Y",
|
|
1837
|
-
"Z",
|
|
1838
|
-
"-",
|
|
1839
|
-
".",
|
|
1840
|
-
" ",
|
|
1841
|
-
"$",
|
|
1842
|
-
"/",
|
|
1843
|
-
"+",
|
|
1844
|
-
"%",
|
|
1845
|
-
"($)",
|
|
1846
|
-
"(%)",
|
|
1847
|
-
"(/)",
|
|
1848
|
-
"(+)",
|
|
1849
|
-
"ÿ"
|
|
1850
|
-
], H.BINARIES = [
|
|
1851
|
-
"100010100",
|
|
1852
|
-
"101001000",
|
|
1853
|
-
"101000100",
|
|
1854
|
-
"101000010",
|
|
1855
|
-
"100101000",
|
|
1856
|
-
"100100100",
|
|
1857
|
-
"100100010",
|
|
1858
|
-
"101010000",
|
|
1859
|
-
"100010010",
|
|
1860
|
-
"100001010",
|
|
1861
|
-
"110101000",
|
|
1862
|
-
"110100100",
|
|
1863
|
-
"110100010",
|
|
1864
|
-
"110010100",
|
|
1865
|
-
"110010010",
|
|
1866
|
-
"110001010",
|
|
1867
|
-
"101101000",
|
|
1868
|
-
"101100100",
|
|
1869
|
-
"101100010",
|
|
1870
|
-
"100110100",
|
|
1871
|
-
"100011010",
|
|
1872
|
-
"101011000",
|
|
1873
|
-
"101001100",
|
|
1874
|
-
"101000110",
|
|
1875
|
-
"100101100",
|
|
1876
|
-
"100010110",
|
|
1877
|
-
"110110100",
|
|
1878
|
-
"110110010",
|
|
1879
|
-
"110101100",
|
|
1880
|
-
"110100110",
|
|
1881
|
-
"110010110",
|
|
1882
|
-
"110011010",
|
|
1883
|
-
"101101100",
|
|
1884
|
-
"101100110",
|
|
1885
|
-
"100110110",
|
|
1886
|
-
"100111010",
|
|
1887
|
-
"100101110",
|
|
1888
|
-
"111010100",
|
|
1889
|
-
"111010010",
|
|
1890
|
-
"111001010",
|
|
1891
|
-
"101101110",
|
|
1892
|
-
"101110110",
|
|
1893
|
-
"110101110",
|
|
1894
|
-
"100100110",
|
|
1895
|
-
"111011010",
|
|
1896
|
-
"111010110",
|
|
1897
|
-
"100110010",
|
|
1898
|
-
"101011110"
|
|
1899
|
-
], H.MULTI_SYMBOLS = {
|
|
1900
|
-
"\0": ["(%)", "U"],
|
|
1901
|
-
"": ["($)", "A"],
|
|
1902
|
-
"": ["($)", "B"],
|
|
1903
|
-
"": ["($)", "C"],
|
|
1904
|
-
"": ["($)", "D"],
|
|
1905
|
-
"": ["($)", "E"],
|
|
1906
|
-
"": ["($)", "F"],
|
|
1907
|
-
"\x07": ["($)", "G"],
|
|
1908
|
-
"\b": ["($)", "H"],
|
|
1909
|
-
" ": ["($)", "I"],
|
|
1910
|
-
"\n": ["($)", "J"],
|
|
1911
|
-
"\v": ["($)", "K"],
|
|
1912
|
-
"\f": ["($)", "L"],
|
|
1913
|
-
"\r": ["($)", "M"],
|
|
1914
|
-
"": ["($)", "N"],
|
|
1915
|
-
"": ["($)", "O"],
|
|
1916
|
-
"": ["($)", "P"],
|
|
1917
|
-
"": ["($)", "Q"],
|
|
1918
|
-
"": ["($)", "R"],
|
|
1919
|
-
"": ["($)", "S"],
|
|
1920
|
-
"": ["($)", "T"],
|
|
1921
|
-
"": ["($)", "U"],
|
|
1922
|
-
"": ["($)", "V"],
|
|
1923
|
-
"": ["($)", "W"],
|
|
1924
|
-
"": ["($)", "X"],
|
|
1925
|
-
"": ["($)", "Y"],
|
|
1926
|
-
"": ["($)", "Z"],
|
|
1927
|
-
"\x1B": ["(%)", "A"],
|
|
1928
|
-
"": ["(%)", "B"],
|
|
1929
|
-
"": ["(%)", "C"],
|
|
1930
|
-
"": ["(%)", "D"],
|
|
1931
|
-
"": ["(%)", "E"],
|
|
1932
|
-
"!": ["(/)", "A"],
|
|
1933
|
-
"\"": ["(/)", "B"],
|
|
1934
|
-
"#": ["(/)", "C"],
|
|
1935
|
-
"&": ["(/)", "F"],
|
|
1936
|
-
"'": ["(/)", "G"],
|
|
1937
|
-
"(": ["(/)", "H"],
|
|
1938
|
-
")": ["(/)", "I"],
|
|
1939
|
-
"*": ["(/)", "J"],
|
|
1940
|
-
",": ["(/)", "L"],
|
|
1941
|
-
":": ["(/)", "Z"],
|
|
1942
|
-
";": ["(%)", "F"],
|
|
1943
|
-
"<": ["(%)", "G"],
|
|
1944
|
-
"=": ["(%)", "H"],
|
|
1945
|
-
">": ["(%)", "I"],
|
|
1946
|
-
"?": ["(%)", "J"],
|
|
1947
|
-
"@": ["(%)", "V"],
|
|
1948
|
-
"[": ["(%)", "K"],
|
|
1949
|
-
"\\": ["(%)", "L"],
|
|
1950
|
-
"]": ["(%)", "M"],
|
|
1951
|
-
"^": ["(%)", "N"],
|
|
1952
|
-
_: ["(%)", "O"],
|
|
1953
|
-
"`": ["(%)", "W"],
|
|
1954
|
-
a: ["(+)", "A"],
|
|
1955
|
-
b: ["(+)", "B"],
|
|
1956
|
-
c: ["(+)", "C"],
|
|
1957
|
-
d: ["(+)", "D"],
|
|
1958
|
-
e: ["(+)", "E"],
|
|
1959
|
-
f: ["(+)", "F"],
|
|
1960
|
-
g: ["(+)", "G"],
|
|
1961
|
-
h: ["(+)", "H"],
|
|
1962
|
-
i: ["(+)", "I"],
|
|
1963
|
-
j: ["(+)", "J"],
|
|
1964
|
-
k: ["(+)", "K"],
|
|
1965
|
-
l: ["(+)", "L"],
|
|
1966
|
-
m: ["(+)", "M"],
|
|
1967
|
-
n: ["(+)", "N"],
|
|
1968
|
-
o: ["(+)", "O"],
|
|
1969
|
-
p: ["(+)", "P"],
|
|
1970
|
-
q: ["(+)", "Q"],
|
|
1971
|
-
r: ["(+)", "R"],
|
|
1972
|
-
s: ["(+)", "S"],
|
|
1973
|
-
t: ["(+)", "T"],
|
|
1974
|
-
u: ["(+)", "U"],
|
|
1975
|
-
v: ["(+)", "V"],
|
|
1976
|
-
w: ["(+)", "W"],
|
|
1977
|
-
x: ["(+)", "X"],
|
|
1978
|
-
y: ["(+)", "Y"],
|
|
1979
|
-
z: ["(+)", "Z"],
|
|
1980
|
-
"{": ["(%)", "P"],
|
|
1981
|
-
"|": ["(%)", "Q"],
|
|
1982
|
-
"}": ["(%)", "R"],
|
|
1983
|
-
"~": ["(%)", "S"],
|
|
1984
|
-
"": ["(%)", "T"]
|
|
1985
|
-
}), H);
|
|
1986
|
-
return vt.default = (function(u) {
|
|
1987
|
-
function o(n, t) {
|
|
1988
|
-
return (function(e, r) {
|
|
1989
|
-
if (!(e instanceof r)) throw new TypeError("Cannot call a class as a function");
|
|
1990
|
-
})(this, o), (function(e, r) {
|
|
1991
|
-
if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1992
|
-
return !r || typeof r != "object" && typeof r != "function" ? e : r;
|
|
1993
|
-
})(this, (o.__proto__ || Object.getPrototypeOf(o)).call(this, n, t));
|
|
1994
|
-
}
|
|
1995
|
-
return (function(n, t) {
|
|
1996
|
-
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
1997
|
-
n.prototype = Object.create(t && t.prototype, { constructor: {
|
|
1998
|
-
value: n,
|
|
1999
|
-
enumerable: !1,
|
|
2000
|
-
writable: !0,
|
|
2001
|
-
configurable: !0
|
|
2002
|
-
} }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(n, t) : n.__proto__ = t);
|
|
2003
|
-
})(o, u), s(o, [{
|
|
2004
|
-
key: "valid",
|
|
2005
|
-
value: function() {
|
|
2006
|
-
return /^[0-9A-Z\-. $/+%]+$/.test(this.data);
|
|
2007
|
-
}
|
|
2008
|
-
}, {
|
|
2009
|
-
key: "encode",
|
|
2010
|
-
value: function() {
|
|
2011
|
-
var n = this.data.split("").flatMap(function(i) {
|
|
2012
|
-
return c.MULTI_SYMBOLS[i] || i;
|
|
2013
|
-
}), t = n.map(function(i) {
|
|
2014
|
-
return o.getEncoding(i);
|
|
2015
|
-
}).join(""), e = o.checksum(n, 20), r = o.checksum(n.concat(e), 15);
|
|
2016
|
-
return {
|
|
2017
|
-
text: this.text,
|
|
2018
|
-
data: o.getEncoding("ÿ") + t + o.getEncoding(e) + o.getEncoding(r) + o.getEncoding("ÿ") + "1"
|
|
2019
|
-
};
|
|
2020
|
-
}
|
|
2021
|
-
}], [
|
|
2022
|
-
{
|
|
2023
|
-
key: "getEncoding",
|
|
2024
|
-
value: function(n) {
|
|
2025
|
-
return c.BINARIES[o.symbolValue(n)];
|
|
2026
|
-
}
|
|
2027
|
-
},
|
|
2028
|
-
{
|
|
2029
|
-
key: "getSymbol",
|
|
2030
|
-
value: function(n) {
|
|
2031
|
-
return c.SYMBOLS[n];
|
|
2032
|
-
}
|
|
2033
|
-
},
|
|
2034
|
-
{
|
|
2035
|
-
key: "symbolValue",
|
|
2036
|
-
value: function(n) {
|
|
2037
|
-
return c.SYMBOLS.indexOf(n);
|
|
2038
|
-
}
|
|
2039
|
-
},
|
|
2040
|
-
{
|
|
2041
|
-
key: "checksum",
|
|
2042
|
-
value: function(n, t) {
|
|
2043
|
-
var e = n.slice().reverse().reduce(function(r, i, a) {
|
|
2044
|
-
var l = a % t + 1;
|
|
2045
|
-
return r + o.symbolValue(i) * l;
|
|
2046
|
-
}, 0);
|
|
2047
|
-
return o.getSymbol(e % 47);
|
|
2048
|
-
}
|
|
2049
|
-
}
|
|
2050
|
-
]), o;
|
|
2051
|
-
})(((f = m()) && f.__esModule ? f : { default: f }).default), vt;
|
|
2052
|
-
}
|
|
2053
|
-
var ye, be, yt = {};
|
|
2054
|
-
function an() {
|
|
2055
|
-
if (ye) return yt;
|
|
2056
|
-
ye = 1, Object.defineProperty(yt, "__esModule", { value: !0 });
|
|
2057
|
-
var f, s = (function() {
|
|
2058
|
-
function c(u, o) {
|
|
2059
|
-
for (var n = 0; n < o.length; n++) {
|
|
2060
|
-
var t = o[n];
|
|
2061
|
-
t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(u, t.key, t);
|
|
2062
|
-
}
|
|
2063
|
-
}
|
|
2064
|
-
return function(u, o, n) {
|
|
2065
|
-
return o && c(u.prototype, o), n && c(u, n), u;
|
|
2066
|
-
};
|
|
2067
|
-
})();
|
|
2068
|
-
return yt.default = (function(c) {
|
|
2069
|
-
function u(o, n) {
|
|
2070
|
-
return (function(t, e) {
|
|
2071
|
-
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
2072
|
-
})(this, u), (function(t, e) {
|
|
2073
|
-
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2074
|
-
return !e || typeof e != "object" && typeof e != "function" ? t : e;
|
|
2075
|
-
})(this, (u.__proto__ || Object.getPrototypeOf(u)).call(this, o, n));
|
|
2076
|
-
}
|
|
2077
|
-
return (function(o, n) {
|
|
2078
|
-
if (typeof n != "function" && n !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof n);
|
|
2079
|
-
o.prototype = Object.create(n && n.prototype, { constructor: {
|
|
2080
|
-
value: o,
|
|
2081
|
-
enumerable: !1,
|
|
2082
|
-
writable: !0,
|
|
2083
|
-
configurable: !0
|
|
2084
|
-
} }), n && (Object.setPrototypeOf ? Object.setPrototypeOf(o, n) : o.__proto__ = n);
|
|
2085
|
-
})(u, c), s(u, [{
|
|
2086
|
-
key: "valid",
|
|
2087
|
-
value: function() {
|
|
2088
|
-
return /^[\x00-\x7f]+$/.test(this.data);
|
|
2089
|
-
}
|
|
2090
|
-
}]), u;
|
|
2091
|
-
})(((f = ve()) && f.__esModule ? f : { default: f }).default), yt;
|
|
2092
|
-
}
|
|
2093
|
-
var _e, ge, V = {};
|
|
2094
|
-
function un() {
|
|
2095
|
-
if (_e) return V;
|
|
2096
|
-
_e = 1, Object.defineProperty(V, "__esModule", { value: !0 }), V.GenericBarcode = void 0;
|
|
2097
|
-
var f, s = (function() {
|
|
2098
|
-
function c(u, o) {
|
|
2099
|
-
for (var n = 0; n < o.length; n++) {
|
|
2100
|
-
var t = o[n];
|
|
2101
|
-
t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(u, t.key, t);
|
|
2102
|
-
}
|
|
2103
|
-
}
|
|
2104
|
-
return function(u, o, n) {
|
|
2105
|
-
return o && c(u.prototype, o), n && c(u, n), u;
|
|
2106
|
-
};
|
|
2107
|
-
})();
|
|
2108
|
-
return V.GenericBarcode = (function(c) {
|
|
2109
|
-
function u(o, n) {
|
|
2110
|
-
return (function(t, e) {
|
|
2111
|
-
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
2112
|
-
})(this, u), (function(t, e) {
|
|
2113
|
-
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2114
|
-
return !e || typeof e != "object" && typeof e != "function" ? t : e;
|
|
2115
|
-
})(this, (u.__proto__ || Object.getPrototypeOf(u)).call(this, o, n));
|
|
2116
|
-
}
|
|
2117
|
-
return (function(o, n) {
|
|
2118
|
-
if (typeof n != "function" && n !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof n);
|
|
2119
|
-
o.prototype = Object.create(n && n.prototype, { constructor: {
|
|
2120
|
-
value: o,
|
|
2121
|
-
enumerable: !1,
|
|
2122
|
-
writable: !0,
|
|
2123
|
-
configurable: !0
|
|
2124
|
-
} }), n && (Object.setPrototypeOf ? Object.setPrototypeOf(o, n) : o.__proto__ = n);
|
|
2125
|
-
})(u, c), s(u, [{
|
|
2126
|
-
key: "encode",
|
|
2127
|
-
value: function() {
|
|
2128
|
-
return {
|
|
2129
|
-
data: "10101010101010101010101010101010101010101",
|
|
2130
|
-
text: this.text
|
|
2131
|
-
};
|
|
2132
|
-
}
|
|
2133
|
-
}, {
|
|
2134
|
-
key: "valid",
|
|
2135
|
-
value: function() {
|
|
2136
|
-
return !0;
|
|
2137
|
-
}
|
|
2138
|
-
}]), u;
|
|
2139
|
-
})(((f = m()) && f.__esModule ? f : { default: f }).default), V;
|
|
2140
|
-
}
|
|
2141
|
-
function fn() {
|
|
2142
|
-
if (ge) return U;
|
|
2143
|
-
ge = 1, Object.defineProperty(U, "__esModule", { value: !0 });
|
|
2144
|
-
var f = ze(), s = (function() {
|
|
2145
|
-
if ($t) return S;
|
|
2146
|
-
$t = 1, Object.defineProperty(S, "__esModule", { value: !0 }), S.CODE128C = S.CODE128B = S.CODE128A = S.CODE128 = void 0;
|
|
2147
|
-
var i = d(He()), a = d(Ve()), l = d(Ue()), p = d(Fe());
|
|
2148
|
-
function d(h) {
|
|
2149
|
-
return h && h.__esModule ? h : { default: h };
|
|
2150
|
-
}
|
|
2151
|
-
return S.CODE128 = i.default, S.CODE128A = a.default, S.CODE128B = l.default, S.CODE128C = p.default, S;
|
|
2152
|
-
})(), c = (function() {
|
|
2153
|
-
if (Kt) return E;
|
|
2154
|
-
Kt = 1, Object.defineProperty(E, "__esModule", { value: !0 }), E.UPCE = E.UPC = E.EAN2 = E.EAN5 = E.EAN8 = E.EAN13 = void 0;
|
|
2155
|
-
var i = O(We()), a = O(Ye()), l = O(Je()), p = O(Qe()), d = O(Qt()), h = O(Ze());
|
|
2156
|
-
function O(P) {
|
|
2157
|
-
return P && P.__esModule ? P : { default: P };
|
|
2158
|
-
}
|
|
2159
|
-
return E.EAN13 = i.default, E.EAN8 = a.default, E.EAN5 = l.default, E.EAN2 = p.default, E.UPC = d.default, E.UPCE = h.default, E;
|
|
2160
|
-
})(), u = (function() {
|
|
2161
|
-
if (re) return T;
|
|
2162
|
-
re = 1, Object.defineProperty(T, "__esModule", { value: !0 }), T.ITF14 = T.ITF = void 0;
|
|
2163
|
-
var i = l(ee()), a = l(Ke());
|
|
2164
|
-
function l(p) {
|
|
2165
|
-
return p && p.__esModule ? p : { default: p };
|
|
2166
|
-
}
|
|
2167
|
-
return T.ITF = i.default, T.ITF14 = a.default, T;
|
|
2168
|
-
})(), o = (function() {
|
|
2169
|
-
if (le) return j;
|
|
2170
|
-
le = 1, Object.defineProperty(j, "__esModule", { value: !0 }), j.MSI1110 = j.MSI1010 = j.MSI11 = j.MSI10 = j.MSI = void 0;
|
|
2171
|
-
var i = h(N()), a = h(qe()), l = h(tn()), p = h(en()), d = h(nn());
|
|
2172
|
-
function h(O) {
|
|
2173
|
-
return O && O.__esModule ? O : { default: O };
|
|
2174
|
-
}
|
|
2175
|
-
return j.MSI = i.default, j.MSI10 = a.default, j.MSI11 = l.default, j.MSI1010 = p.default, j.MSI1110 = d.default, j;
|
|
2176
|
-
})(), n = rn(), t = on(), e = (function() {
|
|
2177
|
-
if (be) return M;
|
|
2178
|
-
be = 1, Object.defineProperty(M, "__esModule", { value: !0 }), M.CODE93FullASCII = M.CODE93 = void 0;
|
|
2179
|
-
var i = l(ve()), a = l(an());
|
|
2180
|
-
function l(p) {
|
|
2181
|
-
return p && p.__esModule ? p : { default: p };
|
|
2182
|
-
}
|
|
2183
|
-
return M.CODE93 = i.default, M.CODE93FullASCII = a.default, M;
|
|
2184
|
-
})(), r = un();
|
|
2185
|
-
return U.default = {
|
|
2186
|
-
CODE39: f.CODE39,
|
|
2187
|
-
CODE128: s.CODE128,
|
|
2188
|
-
CODE128A: s.CODE128A,
|
|
2189
|
-
CODE128B: s.CODE128B,
|
|
2190
|
-
CODE128C: s.CODE128C,
|
|
2191
|
-
EAN13: c.EAN13,
|
|
2192
|
-
EAN8: c.EAN8,
|
|
2193
|
-
EAN5: c.EAN5,
|
|
2194
|
-
EAN2: c.EAN2,
|
|
2195
|
-
UPC: c.UPC,
|
|
2196
|
-
UPCE: c.UPCE,
|
|
2197
|
-
ITF14: u.ITF14,
|
|
2198
|
-
ITF: u.ITF,
|
|
2199
|
-
MSI: o.MSI,
|
|
2200
|
-
MSI10: o.MSI10,
|
|
2201
|
-
MSI11: o.MSI11,
|
|
2202
|
-
MSI1010: o.MSI1010,
|
|
2203
|
-
MSI1110: o.MSI1110,
|
|
2204
|
-
pharmacode: n.pharmacode,
|
|
2205
|
-
codabar: t.codabar,
|
|
2206
|
-
CODE93: e.CODE93,
|
|
2207
|
-
CODE93FullASCII: e.CODE93FullASCII,
|
|
2208
|
-
GenericBarcode: r.GenericBarcode
|
|
2209
|
-
}, U;
|
|
2210
|
-
}
|
|
2211
|
-
var Oe, bt = {};
|
|
2212
|
-
function _t() {
|
|
2213
|
-
if (Oe) return bt;
|
|
2214
|
-
Oe = 1, Object.defineProperty(bt, "__esModule", { value: !0 });
|
|
2215
|
-
var f = Object.assign || function(s) {
|
|
2216
|
-
for (var c = 1; c < arguments.length; c++) {
|
|
2217
|
-
var u = arguments[c];
|
|
2218
|
-
for (var o in u) Object.prototype.hasOwnProperty.call(u, o) && (s[o] = u[o]);
|
|
2219
|
-
}
|
|
2220
|
-
return s;
|
|
2221
|
-
};
|
|
2222
|
-
return bt.default = function(s, c) {
|
|
2223
|
-
return f({}, s, c);
|
|
2224
|
-
}, bt;
|
|
2225
|
-
}
|
|
2226
|
-
var Ee, Ct = {}, we, At = {}, me, gt = {}, Ot = {}, Et = {};
|
|
2227
|
-
function je() {
|
|
2228
|
-
return me || (me = 1, Object.defineProperty(Et, "__esModule", { value: !0 }), Et.default = function(f) {
|
|
2229
|
-
var s = [
|
|
2230
|
-
"width",
|
|
2231
|
-
"height",
|
|
2232
|
-
"textMargin",
|
|
2233
|
-
"fontSize",
|
|
2234
|
-
"margin",
|
|
2235
|
-
"marginTop",
|
|
2236
|
-
"marginBottom",
|
|
2237
|
-
"marginLeft",
|
|
2238
|
-
"marginRight"
|
|
2239
|
-
];
|
|
2240
|
-
for (var c in s) s.hasOwnProperty(c) && typeof f[c = s[c]] == "string" && (f[c] = parseInt(f[c], 10));
|
|
2241
|
-
return typeof f.displayValue == "string" && (f.displayValue = f.displayValue != "false"), f;
|
|
2242
|
-
}), Et;
|
|
2243
|
-
}
|
|
2244
|
-
var xe, Pe, wt = {};
|
|
2245
|
-
function Se() {
|
|
2246
|
-
return xe ? wt : (xe = 1, Object.defineProperty(wt, "__esModule", { value: !0 }), wt.default = {
|
|
2247
|
-
width: 2,
|
|
2248
|
-
height: 100,
|
|
2249
|
-
format: "auto",
|
|
2250
|
-
displayValue: !0,
|
|
2251
|
-
fontOptions: "",
|
|
2252
|
-
font: "monospace",
|
|
2253
|
-
text: void 0,
|
|
2254
|
-
textAlign: "center",
|
|
2255
|
-
textPosition: "bottom",
|
|
2256
|
-
textMargin: 2,
|
|
2257
|
-
fontSize: 20,
|
|
2258
|
-
background: "#ffffff",
|
|
2259
|
-
lineColor: "#000000",
|
|
2260
|
-
margin: 10,
|
|
2261
|
-
marginTop: void 0,
|
|
2262
|
-
marginBottom: void 0,
|
|
2263
|
-
marginLeft: void 0,
|
|
2264
|
-
marginRight: void 0,
|
|
2265
|
-
valid: function() {}
|
|
2266
|
-
}, wt);
|
|
2267
|
-
}
|
|
2268
|
-
var Ce, Ae, mt = {}, jt = {}, x = {};
|
|
2269
|
-
function Te() {
|
|
2270
|
-
if (Ce) return x;
|
|
2271
|
-
Ce = 1, Object.defineProperty(x, "__esModule", { value: !0 }), x.getTotalWidthOfEncodings = x.calculateEncodingAttributes = x.getBarcodePadding = x.getEncodingHeight = x.getMaximumHeightOfEncodings = void 0;
|
|
2272
|
-
var f, s = (f = _t()) && f.__esModule ? f : { default: f };
|
|
2273
|
-
function c(n, t) {
|
|
2274
|
-
return t.height + (t.displayValue && n.text.length > 0 ? t.fontSize + t.textMargin : 0) + t.marginTop + t.marginBottom;
|
|
2275
|
-
}
|
|
2276
|
-
function u(n, t, e) {
|
|
2277
|
-
if (e.displayValue && t < n) {
|
|
2278
|
-
if (e.textAlign == "center") return Math.floor((n - t) / 2);
|
|
2279
|
-
if (e.textAlign == "left") return 0;
|
|
2280
|
-
if (e.textAlign == "right") return Math.floor(n - t);
|
|
2281
|
-
}
|
|
2282
|
-
return 0;
|
|
2283
|
-
}
|
|
2284
|
-
function o(n, t, e) {
|
|
2285
|
-
var r;
|
|
2286
|
-
if (e) r = e;
|
|
2287
|
-
else {
|
|
2288
|
-
if (typeof document > "u") return 0;
|
|
2289
|
-
r = document.createElement("canvas").getContext("2d");
|
|
2290
|
-
}
|
|
2291
|
-
r.font = t.fontOptions + " " + t.fontSize + "px " + t.font;
|
|
2292
|
-
var i = r.measureText(n);
|
|
2293
|
-
return i ? i.width : 0;
|
|
2294
|
-
}
|
|
2295
|
-
return x.getMaximumHeightOfEncodings = function(n) {
|
|
2296
|
-
for (var t = 0, e = 0; e < n.length; e++) n[e].height > t && (t = n[e].height);
|
|
2297
|
-
return t;
|
|
2298
|
-
}, x.getEncodingHeight = c, x.getBarcodePadding = u, x.calculateEncodingAttributes = function(n, t, e) {
|
|
2299
|
-
for (var r = 0; r < n.length; r++) {
|
|
2300
|
-
var i, a = n[r], l = (0, s.default)(t, a.options);
|
|
2301
|
-
i = l.displayValue ? o(a.text, l, e) : 0;
|
|
2302
|
-
var p = a.data.length * l.width;
|
|
2303
|
-
a.width = Math.ceil(Math.max(i, p)), a.height = c(a, l), a.barcodePadding = u(i, p, l);
|
|
2304
|
-
}
|
|
2305
|
-
}, x.getTotalWidthOfEncodings = function(n) {
|
|
2306
|
-
for (var t = 0, e = 0; e < n.length; e++) t += n[e].width;
|
|
2307
|
-
return t;
|
|
2308
|
-
}, x;
|
|
2309
|
-
}
|
|
2310
|
-
function cn() {
|
|
2311
|
-
if (Ae) return jt;
|
|
2312
|
-
Ae = 1, Object.defineProperty(jt, "__esModule", { value: !0 });
|
|
2313
|
-
var f, s = (function() {
|
|
2314
|
-
function o(n, t) {
|
|
2315
|
-
for (var e = 0; e < t.length; e++) {
|
|
2316
|
-
var r = t[e];
|
|
2317
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(n, r.key, r);
|
|
2318
|
-
}
|
|
2319
|
-
}
|
|
2320
|
-
return function(n, t, e) {
|
|
2321
|
-
return t && o(n.prototype, t), e && o(n, e), n;
|
|
2322
|
-
};
|
|
2323
|
-
})(), c = (f = _t()) && f.__esModule ? f : { default: f }, u = Te();
|
|
2324
|
-
return jt.default = (function() {
|
|
2325
|
-
function o(n, t, e) {
|
|
2326
|
-
(function(r, i) {
|
|
2327
|
-
if (!(r instanceof i)) throw new TypeError("Cannot call a class as a function");
|
|
2328
|
-
})(this, o), this.canvas = n, this.encodings = t, this.options = e;
|
|
2329
|
-
}
|
|
2330
|
-
return s(o, [
|
|
2331
|
-
{
|
|
2332
|
-
key: "render",
|
|
2333
|
-
value: function() {
|
|
2334
|
-
if (!this.canvas.getContext) throw new Error("The browser does not support canvas.");
|
|
2335
|
-
this.prepareCanvas();
|
|
2336
|
-
for (var n = 0; n < this.encodings.length; n++) {
|
|
2337
|
-
var t = (0, c.default)(this.options, this.encodings[n].options);
|
|
2338
|
-
this.drawCanvasBarcode(t, this.encodings[n]), this.drawCanvasText(t, this.encodings[n]), this.moveCanvasDrawing(this.encodings[n]);
|
|
2339
|
-
}
|
|
2340
|
-
this.restoreCanvas();
|
|
2341
|
-
}
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
key: "prepareCanvas",
|
|
2345
|
-
value: function() {
|
|
2346
|
-
var n = this.canvas.getContext("2d");
|
|
2347
|
-
n.save(), (0, u.calculateEncodingAttributes)(this.encodings, this.options, n);
|
|
2348
|
-
var t = (0, u.getTotalWidthOfEncodings)(this.encodings), e = (0, u.getMaximumHeightOfEncodings)(this.encodings);
|
|
2349
|
-
this.canvas.width = t + this.options.marginLeft + this.options.marginRight, this.canvas.height = e, n.clearRect(0, 0, this.canvas.width, this.canvas.height), this.options.background && (n.fillStyle = this.options.background, n.fillRect(0, 0, this.canvas.width, this.canvas.height)), n.translate(this.options.marginLeft, 0);
|
|
2350
|
-
}
|
|
2351
|
-
},
|
|
2352
|
-
{
|
|
2353
|
-
key: "drawCanvasBarcode",
|
|
2354
|
-
value: function(n, t) {
|
|
2355
|
-
var e, r = this.canvas.getContext("2d"), i = t.data;
|
|
2356
|
-
e = n.textPosition == "top" ? n.marginTop + n.fontSize + n.textMargin : n.marginTop, r.fillStyle = n.lineColor;
|
|
2357
|
-
for (var a = 0; a < i.length; a++) {
|
|
2358
|
-
var l = a * n.width + t.barcodePadding;
|
|
2359
|
-
i[a] === "1" ? r.fillRect(l, e, n.width, n.height) : i[a] && r.fillRect(l, e, n.width, n.height * i[a]);
|
|
2360
|
-
}
|
|
2361
|
-
}
|
|
2362
|
-
},
|
|
2363
|
-
{
|
|
2364
|
-
key: "drawCanvasText",
|
|
2365
|
-
value: function(n, t) {
|
|
2366
|
-
var e, r, i = this.canvas.getContext("2d"), a = n.fontOptions + " " + n.fontSize + "px " + n.font;
|
|
2367
|
-
n.displayValue && (r = n.textPosition == "top" ? n.marginTop + n.fontSize - n.textMargin : n.height + n.textMargin + n.marginTop + n.fontSize, i.font = a, n.textAlign == "left" || t.barcodePadding > 0 ? (e = 0, i.textAlign = "left") : n.textAlign == "right" ? (e = t.width - 1, i.textAlign = "right") : (e = t.width / 2, i.textAlign = "center"), i.fillText(t.text, e, r));
|
|
2368
|
-
}
|
|
2369
|
-
},
|
|
2370
|
-
{
|
|
2371
|
-
key: "moveCanvasDrawing",
|
|
2372
|
-
value: function(n) {
|
|
2373
|
-
this.canvas.getContext("2d").translate(n.width, 0);
|
|
2374
|
-
}
|
|
2375
|
-
},
|
|
2376
|
-
{
|
|
2377
|
-
key: "restoreCanvas",
|
|
2378
|
-
value: function() {
|
|
2379
|
-
this.canvas.getContext("2d").restore();
|
|
2380
|
-
}
|
|
2381
|
-
}
|
|
2382
|
-
]), o;
|
|
2383
|
-
})(), jt;
|
|
2384
|
-
}
|
|
2385
|
-
var Me, xt = {};
|
|
2386
|
-
function ln() {
|
|
2387
|
-
if (Me) return xt;
|
|
2388
|
-
Me = 1, Object.defineProperty(xt, "__esModule", { value: !0 });
|
|
2389
|
-
var f, s = (function() {
|
|
2390
|
-
function n(t, e) {
|
|
2391
|
-
for (var r = 0; r < e.length; r++) {
|
|
2392
|
-
var i = e[r];
|
|
2393
|
-
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
2394
|
-
}
|
|
2395
|
-
}
|
|
2396
|
-
return function(t, e, r) {
|
|
2397
|
-
return e && n(t.prototype, e), r && n(t, r), t;
|
|
2398
|
-
};
|
|
2399
|
-
})(), c = (f = _t()) && f.__esModule ? f : { default: f }, u = Te(), o = "http://www.w3.org/2000/svg";
|
|
2400
|
-
return xt.default = (function() {
|
|
2401
|
-
function n(t, e, r) {
|
|
2402
|
-
(function(i, a) {
|
|
2403
|
-
if (!(i instanceof a)) throw new TypeError("Cannot call a class as a function");
|
|
2404
|
-
})(this, n), this.svg = t, this.encodings = e, this.options = r, this.document = r.xmlDocument || document;
|
|
2405
|
-
}
|
|
2406
|
-
return s(n, [
|
|
2407
|
-
{
|
|
2408
|
-
key: "render",
|
|
2409
|
-
value: function() {
|
|
2410
|
-
var t = this.options.marginLeft;
|
|
2411
|
-
this.prepareSVG();
|
|
2412
|
-
for (var e = 0; e < this.encodings.length; e++) {
|
|
2413
|
-
var r = this.encodings[e], i = (0, c.default)(this.options, r.options), a = this.createGroup(t, i.marginTop, this.svg);
|
|
2414
|
-
this.setGroupOptions(a, i), this.drawSvgBarcode(a, i, r), this.drawSVGText(a, i, r), t += r.width;
|
|
2415
|
-
}
|
|
2416
|
-
}
|
|
2417
|
-
},
|
|
2418
|
-
{
|
|
2419
|
-
key: "prepareSVG",
|
|
2420
|
-
value: function() {
|
|
2421
|
-
for (; this.svg.firstChild;) this.svg.removeChild(this.svg.firstChild);
|
|
2422
|
-
(0, u.calculateEncodingAttributes)(this.encodings, this.options);
|
|
2423
|
-
var t = (0, u.getTotalWidthOfEncodings)(this.encodings), e = (0, u.getMaximumHeightOfEncodings)(this.encodings), r = t + this.options.marginLeft + this.options.marginRight;
|
|
2424
|
-
this.setSvgAttributes(r, e), this.options.background && this.drawRect(0, 0, r, e, this.svg).setAttribute("fill", this.options.background);
|
|
2425
|
-
}
|
|
2426
|
-
},
|
|
2427
|
-
{
|
|
2428
|
-
key: "drawSvgBarcode",
|
|
2429
|
-
value: function(t, e, r) {
|
|
2430
|
-
var i, a = r.data;
|
|
2431
|
-
i = e.textPosition == "top" ? e.fontSize + e.textMargin : 0;
|
|
2432
|
-
for (var l = 0, p = 0, d = 0; d < a.length; d++) p = d * e.width + r.barcodePadding, a[d] === "1" ? l++ : l > 0 && (this.drawRect(p - e.width * l, i, e.width * l, e.height, t), l = 0);
|
|
2433
|
-
l > 0 && this.drawRect(p - e.width * (l - 1), i, e.width * l, e.height, t);
|
|
2434
|
-
}
|
|
2435
|
-
},
|
|
2436
|
-
{
|
|
2437
|
-
key: "drawSVGText",
|
|
2438
|
-
value: function(t, e, r) {
|
|
2439
|
-
var i, a, l = this.document.createElementNS(o, "text");
|
|
2440
|
-
e.displayValue && (l.setAttribute("font-family", e.font), l.setAttribute("font-size", e.fontSize), e.fontOptions.includes("bold") && l.setAttribute("font-weight", "bold"), e.fontOptions.includes("italic") && l.setAttribute("font-style", "italic"), a = e.textPosition == "top" ? e.fontSize - e.textMargin : e.height + e.textMargin + e.fontSize, e.textAlign == "left" || r.barcodePadding > 0 ? (i = 0, l.setAttribute("text-anchor", "start")) : e.textAlign == "right" ? (i = r.width - 1, l.setAttribute("text-anchor", "end")) : (i = r.width / 2, l.setAttribute("text-anchor", "middle")), l.setAttribute("x", i), l.setAttribute("y", a), l.appendChild(this.document.createTextNode(r.text)), t.appendChild(l));
|
|
2441
|
-
}
|
|
2442
|
-
},
|
|
2443
|
-
{
|
|
2444
|
-
key: "setSvgAttributes",
|
|
2445
|
-
value: function(t, e) {
|
|
2446
|
-
var r = this.svg;
|
|
2447
|
-
r.setAttribute("width", t + "px"), r.setAttribute("height", e + "px"), r.setAttribute("x", "0px"), r.setAttribute("y", "0px"), r.setAttribute("viewBox", "0 0 " + t + " " + e), r.setAttribute("xmlns", o), r.setAttribute("version", "1.1");
|
|
2448
|
-
}
|
|
2449
|
-
},
|
|
2450
|
-
{
|
|
2451
|
-
key: "createGroup",
|
|
2452
|
-
value: function(t, e, r) {
|
|
2453
|
-
var i = this.document.createElementNS(o, "g");
|
|
2454
|
-
return i.setAttribute("transform", "translate(" + t + ", " + e + ")"), r.appendChild(i), i;
|
|
2455
|
-
}
|
|
2456
|
-
},
|
|
2457
|
-
{
|
|
2458
|
-
key: "setGroupOptions",
|
|
2459
|
-
value: function(t, e) {
|
|
2460
|
-
t.setAttribute("fill", e.lineColor);
|
|
2461
|
-
}
|
|
2462
|
-
},
|
|
2463
|
-
{
|
|
2464
|
-
key: "drawRect",
|
|
2465
|
-
value: function(t, e, r, i, a) {
|
|
2466
|
-
var l = this.document.createElementNS(o, "rect");
|
|
2467
|
-
return l.setAttribute("x", t), l.setAttribute("y", e), l.setAttribute("width", r), l.setAttribute("height", i), a.appendChild(l), l;
|
|
2468
|
-
}
|
|
2469
|
-
}
|
|
2470
|
-
]), n;
|
|
2471
|
-
})(), xt;
|
|
2472
|
-
}
|
|
2473
|
-
var Re, Le, Pt = {};
|
|
2474
|
-
function sn() {
|
|
2475
|
-
if (Re) return Pt;
|
|
2476
|
-
Re = 1, Object.defineProperty(Pt, "__esModule", { value: !0 });
|
|
2477
|
-
var f = (function() {
|
|
2478
|
-
function s(c, u) {
|
|
2479
|
-
for (var o = 0; o < u.length; o++) {
|
|
2480
|
-
var n = u[o];
|
|
2481
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(c, n.key, n);
|
|
2482
|
-
}
|
|
2483
|
-
}
|
|
2484
|
-
return function(c, u, o) {
|
|
2485
|
-
return u && s(c.prototype, u), o && s(c, o), c;
|
|
2486
|
-
};
|
|
2487
|
-
})();
|
|
2488
|
-
return Pt.default = (function() {
|
|
2489
|
-
function s(c, u, o) {
|
|
2490
|
-
(function(n, t) {
|
|
2491
|
-
if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
2492
|
-
})(this, s), this.object = c, this.encodings = u, this.options = o;
|
|
2493
|
-
}
|
|
2494
|
-
return f(s, [{
|
|
2495
|
-
key: "render",
|
|
2496
|
-
value: function() {
|
|
2497
|
-
this.object.encodings = this.encodings;
|
|
2498
|
-
}
|
|
2499
|
-
}]), s;
|
|
2500
|
-
})(), Pt;
|
|
2501
|
-
}
|
|
2502
|
-
var ke, Ie, R = {};
|
|
2503
|
-
function Ge() {
|
|
2504
|
-
if (ke) return R;
|
|
2505
|
-
function f(t, e) {
|
|
2506
|
-
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
2507
|
-
}
|
|
2508
|
-
function s(t, e) {
|
|
2509
|
-
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2510
|
-
return !e || typeof e != "object" && typeof e != "function" ? t : e;
|
|
2511
|
-
}
|
|
2512
|
-
function c(t, e) {
|
|
2513
|
-
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
2514
|
-
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
2515
|
-
value: t,
|
|
2516
|
-
enumerable: !1,
|
|
2517
|
-
writable: !0,
|
|
2518
|
-
configurable: !0
|
|
2519
|
-
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
2520
|
-
}
|
|
2521
|
-
ke = 1, Object.defineProperty(R, "__esModule", { value: !0 });
|
|
2522
|
-
var u = (function() {
|
|
2523
|
-
function t(e, r) {
|
|
2524
|
-
f(this, t);
|
|
2525
|
-
var i = s(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
|
|
2526
|
-
return i.name = "InvalidInputException", i.symbology = e, i.input = r, i.message = "\"" + i.input + "\" is not a valid input for " + i.symbology, i;
|
|
2527
|
-
}
|
|
2528
|
-
return c(t, Error), t;
|
|
2529
|
-
})(), o = (function() {
|
|
2530
|
-
function t() {
|
|
2531
|
-
f(this, t);
|
|
2532
|
-
var e = s(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
|
|
2533
|
-
return e.name = "InvalidElementException", e.message = "Not supported type to render on", e;
|
|
2534
|
-
}
|
|
2535
|
-
return c(t, Error), t;
|
|
2536
|
-
})(), n = (function() {
|
|
2537
|
-
function t() {
|
|
2538
|
-
f(this, t);
|
|
2539
|
-
var e = s(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
|
|
2540
|
-
return e.name = "NoElementException", e.message = "No element to render on.", e;
|
|
2541
|
-
}
|
|
2542
|
-
return c(t, Error), t;
|
|
2543
|
-
})();
|
|
2544
|
-
return R.InvalidInputException = u, R.InvalidElementException = o, R.NoElementException = n, R;
|
|
2545
|
-
}
|
|
2546
|
-
function pn() {
|
|
2547
|
-
if (Ie) return gt;
|
|
2548
|
-
Ie = 1, Object.defineProperty(gt, "__esModule", { value: !0 });
|
|
2549
|
-
var f = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
2550
|
-
return typeof t;
|
|
2551
|
-
} : function(t) {
|
|
2552
|
-
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
2553
|
-
}, s = o((function() {
|
|
2554
|
-
if (Pe) return Ot;
|
|
2555
|
-
Pe = 1, Object.defineProperty(Ot, "__esModule", { value: !0 });
|
|
2556
|
-
var t = r(je()), e = r(Se());
|
|
2557
|
-
function r(i) {
|
|
2558
|
-
return i && i.__esModule ? i : { default: i };
|
|
2559
|
-
}
|
|
2560
|
-
return Ot.default = function(i) {
|
|
2561
|
-
var a = {};
|
|
2562
|
-
for (var l in e.default) e.default.hasOwnProperty(l) && (i.hasAttribute("jsbarcode-" + l.toLowerCase()) && (a[l] = i.getAttribute("jsbarcode-" + l.toLowerCase())), i.hasAttribute("data-" + l.toLowerCase()) && (a[l] = i.getAttribute("data-" + l.toLowerCase())));
|
|
2563
|
-
return a.value = i.getAttribute("jsbarcode-value") || i.getAttribute("data-value"), (0, t.default)(a);
|
|
2564
|
-
}, Ot;
|
|
2565
|
-
})()), c = o((function() {
|
|
2566
|
-
if (Le) return mt;
|
|
2567
|
-
Le = 1, Object.defineProperty(mt, "__esModule", { value: !0 });
|
|
2568
|
-
var t = i(cn()), e = i(ln()), r = i(sn());
|
|
2569
|
-
function i(a) {
|
|
2570
|
-
return a && a.__esModule ? a : { default: a };
|
|
2571
|
-
}
|
|
2572
|
-
return mt.default = {
|
|
2573
|
-
CanvasRenderer: t.default,
|
|
2574
|
-
SVGRenderer: e.default,
|
|
2575
|
-
ObjectRenderer: r.default
|
|
2576
|
-
}, mt;
|
|
2577
|
-
})()), u = Ge();
|
|
2578
|
-
function o(t) {
|
|
2579
|
-
return t && t.__esModule ? t : { default: t };
|
|
2580
|
-
}
|
|
2581
|
-
function n(t) {
|
|
2582
|
-
if (typeof t == "string") return (function(i) {
|
|
2583
|
-
var a = document.querySelectorAll(i);
|
|
2584
|
-
if (a.length !== 0) {
|
|
2585
|
-
for (var l = [], p = 0; p < a.length; p++) l.push(n(a[p]));
|
|
2586
|
-
return l;
|
|
2587
|
-
}
|
|
2588
|
-
})(t);
|
|
2589
|
-
if (Array.isArray(t)) {
|
|
2590
|
-
for (var e = [], r = 0; r < t.length; r++) e.push(n(t[r]));
|
|
2591
|
-
return e;
|
|
2592
|
-
}
|
|
2593
|
-
if (typeof HTMLCanvasElement < "u" && t instanceof HTMLImageElement) return (function(i) {
|
|
2594
|
-
var a = document.createElement("canvas");
|
|
2595
|
-
return {
|
|
2596
|
-
element: a,
|
|
2597
|
-
options: (0, s.default)(i),
|
|
2598
|
-
renderer: c.default.CanvasRenderer,
|
|
2599
|
-
afterRender: function() {
|
|
2600
|
-
i.setAttribute("src", a.toDataURL());
|
|
2601
|
-
}
|
|
2602
|
-
};
|
|
2603
|
-
})(t);
|
|
2604
|
-
if (t && t.nodeName && t.nodeName.toLowerCase() === "svg" || typeof SVGElement < "u" && t instanceof SVGElement) return {
|
|
2605
|
-
element: t,
|
|
2606
|
-
options: (0, s.default)(t),
|
|
2607
|
-
renderer: c.default.SVGRenderer
|
|
2608
|
-
};
|
|
2609
|
-
if (typeof HTMLCanvasElement < "u" && t instanceof HTMLCanvasElement) return {
|
|
2610
|
-
element: t,
|
|
2611
|
-
options: (0, s.default)(t),
|
|
2612
|
-
renderer: c.default.CanvasRenderer
|
|
2613
|
-
};
|
|
2614
|
-
if (t && t.getContext) return {
|
|
2615
|
-
element: t,
|
|
2616
|
-
renderer: c.default.CanvasRenderer
|
|
2617
|
-
};
|
|
2618
|
-
if (t && (t === void 0 ? "undefined" : f(t)) === "object" && !t.nodeName) return {
|
|
2619
|
-
element: t,
|
|
2620
|
-
renderer: c.default.ObjectRenderer
|
|
2621
|
-
};
|
|
2622
|
-
throw new u.InvalidElementException();
|
|
2623
|
-
}
|
|
2624
|
-
return gt.default = n, gt;
|
|
2625
|
-
}
|
|
2626
|
-
var Be, De, Ne, St = {};
|
|
2627
|
-
function dn() {
|
|
2628
|
-
if (Be) return St;
|
|
2629
|
-
Be = 1, Object.defineProperty(St, "__esModule", { value: !0 });
|
|
2630
|
-
var f = (function() {
|
|
2631
|
-
function s(c, u) {
|
|
2632
|
-
for (var o = 0; o < u.length; o++) {
|
|
2633
|
-
var n = u[o];
|
|
2634
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(c, n.key, n);
|
|
2635
|
-
}
|
|
2636
|
-
}
|
|
2637
|
-
return function(c, u, o) {
|
|
2638
|
-
return u && s(c.prototype, u), o && s(c, o), c;
|
|
2639
|
-
};
|
|
2640
|
-
})();
|
|
2641
|
-
return St.default = (function() {
|
|
2642
|
-
function s(c) {
|
|
2643
|
-
(function(u, o) {
|
|
2644
|
-
if (!(u instanceof o)) throw new TypeError("Cannot call a class as a function");
|
|
2645
|
-
})(this, s), this.api = c;
|
|
2646
|
-
}
|
|
2647
|
-
return f(s, [{
|
|
2648
|
-
key: "handleCatch",
|
|
2649
|
-
value: function(c) {
|
|
2650
|
-
if (c.name !== "InvalidInputException") throw c;
|
|
2651
|
-
if (this.api._options.valid === this.api._defaults.valid) throw c.message;
|
|
2652
|
-
this.api._options.valid(!1), this.api.render = function() {};
|
|
2653
|
-
}
|
|
2654
|
-
}, {
|
|
2655
|
-
key: "wrapBarcodeCall",
|
|
2656
|
-
value: function(c) {
|
|
2657
|
-
try {
|
|
2658
|
-
var u = c.apply(void 0, arguments);
|
|
2659
|
-
return this.api._options.valid(!0), u;
|
|
2660
|
-
} catch (o) {
|
|
2661
|
-
return this.handleCatch(o), this.api;
|
|
2662
|
-
}
|
|
2663
|
-
}
|
|
2664
|
-
}]), s;
|
|
2665
|
-
})(), St;
|
|
2666
|
-
}
|
|
2667
|
-
var hn = Xe.$o((function() {
|
|
2668
|
-
if (Ne) return De;
|
|
2669
|
-
Ne = 1;
|
|
2670
|
-
var f = i(fn()), s = i(_t()), c = i((Ee || (Ee = 1, Object.defineProperty(Ct, "__esModule", { value: !0 }), Ct.default = function(v) {
|
|
2671
|
-
var _ = [];
|
|
2672
|
-
return (function b(y) {
|
|
2673
|
-
if (Array.isArray(y)) for (var w = 0; w < y.length; w++) b(y[w]);
|
|
2674
|
-
else y.text = y.text || "", y.data = y.data || "", _.push(y);
|
|
2675
|
-
})(v), _;
|
|
2676
|
-
}), Ct)), u = i((we || (we = 1, Object.defineProperty(At, "__esModule", { value: !0 }), At.default = function(v) {
|
|
2677
|
-
return v.marginTop = v.marginTop || v.margin, v.marginBottom = v.marginBottom || v.margin, v.marginRight = v.marginRight || v.margin, v.marginLeft = v.marginLeft || v.margin, v;
|
|
2678
|
-
}), At)), o = i(pn()), n = i(je()), t = i(dn()), e = Ge(), r = i(Se());
|
|
2679
|
-
function i(v) {
|
|
2680
|
-
return v && v.__esModule ? v : { default: v };
|
|
2681
|
-
}
|
|
2682
|
-
var a = function() {}, l = function(v, _, b) {
|
|
2683
|
-
var y = new a();
|
|
2684
|
-
if (v === void 0) throw Error("No element to render on was provided.");
|
|
2685
|
-
return y._renderProperties = (0, o.default)(v), y._encodings = [], y._options = r.default, y._errorHandler = new t.default(y), _ !== void 0 && ((b = b || {}).format || (b.format = O()), y.options(b)[b.format](_, b).render()), y;
|
|
2686
|
-
};
|
|
2687
|
-
for (var p in l.getModule = function(v) {
|
|
2688
|
-
return f.default[v];
|
|
2689
|
-
}, f.default) f.default.hasOwnProperty(p) && d(f.default, p);
|
|
2690
|
-
function d(v, _) {
|
|
2691
|
-
a.prototype[_] = a.prototype[_.toUpperCase()] = a.prototype[_.toLowerCase()] = function(b, y) {
|
|
2692
|
-
var w = this;
|
|
2693
|
-
return w._errorHandler.wrapBarcodeCall(function() {
|
|
2694
|
-
y.text = y.text === void 0 ? void 0 : "" + y.text;
|
|
2695
|
-
var A = (0, s.default)(w._options, y);
|
|
2696
|
-
A = (0, n.default)(A);
|
|
2697
|
-
var yn = v[_], bn = h(b, yn, A);
|
|
2698
|
-
return w._encodings.push(bn), w;
|
|
2699
|
-
});
|
|
2700
|
-
};
|
|
2701
|
-
}
|
|
2702
|
-
function h(v, _, b) {
|
|
2703
|
-
var y = new _(v = "" + v, b);
|
|
2704
|
-
if (!y.valid()) throw new e.InvalidInputException(y.constructor.name, v);
|
|
2705
|
-
var w = y.encode();
|
|
2706
|
-
w = (0, c.default)(w);
|
|
2707
|
-
for (var A = 0; A < w.length; A++) w[A].options = (0, s.default)(b, w[A].options);
|
|
2708
|
-
return w;
|
|
2709
|
-
}
|
|
2710
|
-
function O() {
|
|
2711
|
-
return f.default.CODE128 ? "CODE128" : Object.keys(f.default)[0];
|
|
2712
|
-
}
|
|
2713
|
-
function P(v, _, b) {
|
|
2714
|
-
_ = (0, c.default)(_);
|
|
2715
|
-
for (var y = 0; y < _.length; y++) _[y].options = (0, s.default)(b, _[y].options), (0, u.default)(_[y].options);
|
|
2716
|
-
(0, u.default)(b), new v.renderer(v.element, _, b).render(), v.afterRender && v.afterRender();
|
|
2717
|
-
}
|
|
2718
|
-
return a.prototype.options = function(v) {
|
|
2719
|
-
return this._options = (0, s.default)(this._options, v), this;
|
|
2720
|
-
}, a.prototype.blank = function(v) {
|
|
2721
|
-
var _ = new Array(v + 1).join("0");
|
|
2722
|
-
return this._encodings.push({ data: _ }), this;
|
|
2723
|
-
}, a.prototype.init = function() {
|
|
2724
|
-
var v;
|
|
2725
|
-
if (this._renderProperties) for (var _ in Array.isArray(this._renderProperties) || (this._renderProperties = [this._renderProperties]), this._renderProperties) {
|
|
2726
|
-
v = this._renderProperties[_];
|
|
2727
|
-
var b = (0, s.default)(this._options, v.options);
|
|
2728
|
-
b.format == "auto" && (b.format = O()), this._errorHandler.wrapBarcodeCall(function() {
|
|
2729
|
-
var y = h(b.value, f.default[b.format.toUpperCase()], b);
|
|
2730
|
-
P(v, y, b);
|
|
2731
|
-
});
|
|
2732
|
-
}
|
|
2733
|
-
}, a.prototype.render = function() {
|
|
2734
|
-
if (!this._renderProperties) throw new e.NoElementException();
|
|
2735
|
-
if (Array.isArray(this._renderProperties)) for (var v = 0; v < this._renderProperties.length; v++) P(this._renderProperties[v], this._encodings, this._options);
|
|
2736
|
-
else P(this._renderProperties, this._encodings, this._options);
|
|
2737
|
-
return this;
|
|
2738
|
-
}, a.prototype._defaults = r.default, typeof window < "u" && (window.JsBarcode = l), typeof jQuery < "u" && (jQuery.fn.JsBarcode = function(v, _) {
|
|
2739
|
-
var b = [];
|
|
2740
|
-
return jQuery(this).each(function() {
|
|
2741
|
-
b.push(this);
|
|
2742
|
-
}), l(b, v, _);
|
|
2743
|
-
}), De = l;
|
|
2744
|
-
})());
|
|
2745
|
-
$e.J = Object.freeze({
|
|
2746
|
-
__proto__: null,
|
|
2747
|
-
default: hn
|
|
2748
|
-
});
|
|
2749
|
-
});
|