nc-lib-gui-daily 0.251.3-pr-9140-20240807-1322 → 0.251.3-pr-9140-20240807-1349
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/lib/dist/200.html +78 -78
- package/lib/dist/404.html +78 -78
- package/lib/dist/_nuxt/{BECNAICj.js → -4t4xnv8.js} +1 -1
- package/lib/dist/_nuxt/{B9wWUMeH.js → 0i0s40zL.js} +1 -1
- package/lib/dist/_nuxt/{ClrSNVKi.js → 2DrjKvbb.js} +1 -1
- package/lib/dist/_nuxt/{BWYKlc03.js → 3joeZ-MH.js} +1 -1
- package/lib/dist/_nuxt/{BjOAkC1I.js → 3v3fVjjF.js} +2 -2
- package/lib/dist/_nuxt/{C0Gqhynn.js → 4TzZ_5zC.js} +1 -1
- package/lib/dist/_nuxt/{CQPSFno8.js → 4XAL69Ip.js} +1 -1
- package/lib/dist/_nuxt/{Bu5HFIT4.js → 5d2JKIpI.js} +2 -2
- package/lib/dist/_nuxt/{CaoTQXu2.js → 5nCkSrke.js} +1 -1
- package/lib/dist/_nuxt/{Ek7a6tav.js → 5wn80Wdx.js} +1 -1
- package/lib/dist/_nuxt/6U1p19-U.js +1 -0
- package/lib/dist/_nuxt/{Bu9W_1Kn.js → 75R1pBVU.js} +2 -2
- package/lib/dist/_nuxt/{WDDKUx4k.js → 7_p21RjN.js} +1 -1
- package/lib/dist/_nuxt/{CZztu25l.js → 8K2eSNBm.js} +3 -3
- package/lib/dist/_nuxt/8YSh_QYU.js +1 -0
- package/lib/dist/_nuxt/{CLa-GND5.js → 9ZzieOOa.js} +1 -1
- package/lib/dist/_nuxt/{DGmT4XJW.js → 9j5A48K7.js} +1 -1
- package/lib/dist/_nuxt/{Cf37dmb0.js → A1VS529Y.js} +2 -2
- package/lib/dist/_nuxt/{CnUzkPPI.js → AoMdM-MP.js} +1 -1
- package/lib/dist/_nuxt/{5dTVPtqf.js → B-MIOvj6.js} +1 -1
- package/lib/dist/_nuxt/{Xvj7w1oq.js → B0gfXKmM.js} +1 -1
- package/lib/dist/_nuxt/{DBfDNbQe.js → B0y7Q991.js} +2 -2
- package/lib/dist/_nuxt/{COSuR5gX.js → B12ilfKh.js} +1 -1
- package/lib/dist/_nuxt/{DLcCozgP.js → B1R2-rCU.js} +2 -2
- package/lib/dist/_nuxt/{CMITlXbV.js → B1h49W-1.js} +2 -2
- package/lib/dist/_nuxt/{CkCKzP-b.js → B2NO182c.js} +1 -1
- package/lib/dist/_nuxt/{DKgzeeDD.js → B33qDdnq.js} +1 -1
- package/lib/dist/_nuxt/{Dr_t1CQX.js → B3AUipTz.js} +1 -1
- package/lib/dist/_nuxt/{CVmH__0I.js → B3JDEiCa.js} +2 -2
- package/lib/dist/_nuxt/{BUd0o8q2.js → B3TBCQg9.js} +1 -1
- package/lib/dist/_nuxt/{CHRxsLpF.js → B4rH_4ZN.js} +1 -1
- package/lib/dist/_nuxt/{M4L2Leg7.js → B4rimoYw.js} +1 -1
- package/lib/dist/_nuxt/{BnbA25UM.js → B5FLXBR1.js} +1 -1
- package/lib/dist/_nuxt/{CqcwF_4v.js → B5NtOENv.js} +1 -1
- package/lib/dist/_nuxt/{BaaPy9e4.js → B74kAxrX.js} +2 -2
- package/lib/dist/_nuxt/{Cf4R9mtz.js → B78zylNk.js} +1 -1
- package/lib/dist/_nuxt/{CqFm4PeH.js → B8Ch0bfd.js} +2 -2
- package/lib/dist/_nuxt/{BbFx5cgg.js → B9aNdXy_.js} +2 -2
- package/lib/dist/_nuxt/{DEWywo6s.js → B9dOhF-2.js} +1 -1
- package/lib/dist/_nuxt/{BOYXVEfo.js → BBA0nfaW.js} +1 -1
- package/lib/dist/_nuxt/{C9TR8pMm.js → BBW1h0ks.js} +1 -1
- package/lib/dist/_nuxt/{EohHWhQi.js → BC6xG-3q.js} +1 -1
- package/lib/dist/_nuxt/{D-3pY83G.js → BDlHzTvk.js} +1 -1
- package/lib/dist/_nuxt/{DglPsyiE.js → BE4MlnZf.js} +1 -1
- package/lib/dist/_nuxt/{DQRX9Xt5.js → BEZkcRcL.js} +1 -1
- package/lib/dist/_nuxt/{CDbcx2MC.js → BGugcrMS.js} +1 -1
- package/lib/dist/_nuxt/{DkSSi9ve.js → BHNEB9HJ.js} +1 -1
- package/lib/dist/_nuxt/{_fB9sOmQ.js → BHXU4B_2.js} +2 -2
- package/lib/dist/_nuxt/{BaXP97h1.js → BIHLSlqp.js} +1 -1
- package/lib/dist/_nuxt/BIo3okPc.js +1 -0
- package/lib/dist/_nuxt/{CokApUov.js → BLBtvxjT.js} +1 -1
- package/lib/dist/_nuxt/{CaoUireh.js → BLJJDzIX.js} +3 -3
- package/lib/dist/_nuxt/{wogaDWws.js → BLNSv8WU.js} +1 -1
- package/lib/dist/_nuxt/{BSnfz81Y.js → BMpULef7.js} +2 -2
- package/lib/dist/_nuxt/{CYG3uB4k.js → BNhTB5D3.js} +1 -1
- package/lib/dist/_nuxt/{D5LCiDa8.js → BNv598XD.js} +1 -1
- package/lib/dist/_nuxt/{CaKL5hX5.js → BPBo3uNz.js} +1 -1
- package/lib/dist/_nuxt/{tuC3W76x.js → BPS1H-Sz.js} +1 -1
- package/lib/dist/_nuxt/{DRPzkOuH.js → BPXkp7pR.js} +1 -1
- package/lib/dist/_nuxt/{CEaqjIiA.js → BPaH70bH.js} +1 -1
- package/lib/dist/_nuxt/{DQvo0yED.js → BPfa9v3p.js} +1 -1
- package/lib/dist/_nuxt/{DpJilvje.js → BPxXddiW.js} +1 -1
- package/lib/dist/_nuxt/{K69OaLqe.js → BQTbXctc.js} +1 -1
- package/lib/dist/_nuxt/{DQrwfJfV.js → BT6OdjOC.js} +1 -1
- package/lib/dist/_nuxt/{BtbkYOXM.js → BTPzUNVG.js} +1 -1
- package/lib/dist/_nuxt/{CZqfRZSO.js → BTX_9KaN.js} +2 -2
- package/lib/dist/_nuxt/{BF-z5sdC.js → BUWWmS1v.js} +1 -1
- package/lib/dist/_nuxt/{DSt1bB14.js → BUa3Jukl.js} +1 -1
- package/lib/dist/_nuxt/{Dpt9sRgQ.js → BUjHox0o.js} +2 -2
- package/lib/dist/_nuxt/{DEqhUnZ-.js → BV-KNIgj.js} +1 -1
- package/lib/dist/_nuxt/BV0H6cZy.js +2 -0
- package/lib/dist/_nuxt/{DFA4S6bS.js → BV5fkeNl.js} +1 -1
- package/lib/dist/_nuxt/{CgIyTi2b.js → BW3iYn6v.js} +1 -1
- package/lib/dist/_nuxt/{DvN7jpPi.js → BWALYZJv.js} +1 -1
- package/lib/dist/_nuxt/{D3V1uXBy.js → BWgRi_b3.js} +1 -1
- package/lib/dist/_nuxt/{D5LgkGGj.js → BWn3cSKa.js} +1 -1
- package/lib/dist/_nuxt/{Csj74Kwp.js → BWsrBkPc.js} +2 -2
- package/lib/dist/_nuxt/{CHMw6lkg.js → BXoKLvWd.js} +2 -2
- package/lib/dist/_nuxt/{CDnEKjsz.js → BXzZkUYy.js} +1 -1
- package/lib/dist/_nuxt/{DmDx5TyZ.js → BZdJF2g5.js} +1 -1
- package/lib/dist/_nuxt/{BipOdpcd.js → BZfcRRAG.js} +1 -1
- package/lib/dist/_nuxt/{D3pPrsLQ.js → B_FyKctL.js} +1 -1
- package/lib/dist/_nuxt/B_LFFdI9.js +1 -0
- package/lib/dist/_nuxt/{DPUW3H0R.js → BadBS-yn.js} +2 -2
- package/lib/dist/_nuxt/{BmApFhTv.js → BbCrTQHD.js} +1 -1
- package/lib/dist/_nuxt/{DCn9KvFr.js → BcquqdOq.js} +1 -1
- package/lib/dist/_nuxt/{Cadw426x.js → Bdxi8XdN.js} +2 -2
- package/lib/dist/_nuxt/{BTEJrFxq.js → Be6wJwW7.js} +1 -1
- package/lib/dist/_nuxt/{Dgf6zkFW.js → Bey_B0Pg.js} +1 -1
- package/lib/dist/_nuxt/{ov8xLaHe.js → Bf-Jn9fN.js} +1 -1
- package/lib/dist/_nuxt/{DPPtI03V.js → Bf_oJAxP.js} +1 -1
- package/lib/dist/_nuxt/{uUj38y4-.js → BgtuIwr8.js} +1 -1
- package/lib/dist/_nuxt/{CiBbHMre.js → Bh7NKnnJ.js} +1 -1
- package/lib/dist/_nuxt/{D1_wgH1i.js → Bh8L_8vr.js} +1 -1
- package/lib/dist/_nuxt/{CGTkNfNg.js → BhE3_y96.js} +1 -1
- package/lib/dist/_nuxt/{DMRRjwxM.js → BhLSFmBI.js} +2 -2
- package/lib/dist/_nuxt/BhZrVUuE.js +1 -0
- package/lib/dist/_nuxt/{3jIF1AyF.js → Bi74c53l.js} +2 -2
- package/lib/dist/_nuxt/{Wfb3YMK3.js → BjIWxehG.js} +1 -1
- package/lib/dist/_nuxt/{BKIlBt-6.js → Bjh8Jc00.js} +2 -2
- package/lib/dist/_nuxt/{CYDrr8e0.js → BkA6Hv4O.js} +1 -1
- package/lib/dist/_nuxt/{tEU5SOvF.js → Bn3JgSEE.js} +1 -1
- package/lib/dist/_nuxt/{BhRzGy_7.js → BnhkHttA.js} +1 -1
- package/lib/dist/_nuxt/{yUmIs97a.js → BnjAp9hj.js} +1 -1
- package/lib/dist/_nuxt/{DdiY6i5M.js → Bp5oHXSc.js} +1 -1
- package/lib/dist/_nuxt/{CZPLvSl2.js → BpLvq4Ij.js} +2 -2
- package/lib/dist/_nuxt/{B0oPZzHj.js → Bpjzp6Vo.js} +1 -1
- package/lib/dist/_nuxt/{Bj3GBQrH.js → BqKbedJW.js} +1 -1
- package/lib/dist/_nuxt/{CP29yz9Z.js → BqjTSgjN.js} +1 -1
- package/lib/dist/_nuxt/{CXqu_veX.js → Bqoh1mnx.js} +1 -1
- package/lib/dist/_nuxt/{Ccy4fxMp.js → Br4sW-aN.js} +2 -2
- package/lib/dist/_nuxt/{DsK9Oi2B.js → BsNs6tYV.js} +1 -1
- package/lib/dist/_nuxt/{CjnsQ0f3.js → BsdyC_c2.js} +1 -1
- package/lib/dist/_nuxt/{izr94Pxw.js → BsepGfVv.js} +2 -2
- package/lib/dist/_nuxt/{BSOsTxoF.js → BtRkeQ7z.js} +1 -1
- package/lib/dist/_nuxt/{45BtyJEq.js → BtYrspp1.js} +1 -1
- package/lib/dist/_nuxt/{DqQodY25.js → BtzsCl9b.js} +1 -1
- package/lib/dist/_nuxt/{BLd8XNte.js → BuNVIA4o.js} +1 -1
- package/lib/dist/_nuxt/{BIs2Ub4q.js → BuvUqaUR.js} +1 -1
- package/lib/dist/_nuxt/{BmZeKA3g.js → BvJHFs9-.js} +1 -1
- package/lib/dist/_nuxt/{SUjsexOK.js → BvdnmSRl.js} +1 -1
- package/lib/dist/_nuxt/{DU4YOMw-.js → BxlEsFh4.js} +2 -2
- package/lib/dist/_nuxt/{C10-KGd5.js → ByJ4I0p_.js} +1 -1
- package/lib/dist/_nuxt/{CxCKV_Px.js → BycyOgkZ.js} +1 -1
- package/lib/dist/_nuxt/{BVTg5uiQ.js → C-_nHsP3.js} +2 -2
- package/lib/dist/_nuxt/{DoClxtqO.js → C0Cjsdmx.js} +1 -1
- package/lib/dist/_nuxt/{BFdtwV5O.js → C0aGyUZt.js} +1 -1
- package/lib/dist/_nuxt/{BTBhJ3yz.js → C0cVOb1Y.js} +1 -1
- package/lib/dist/_nuxt/{DzBWyRMo.js → C0mEOfI4.js} +1 -1
- package/lib/dist/_nuxt/{BwxlFrx3.js → C0o-ksvC.js} +1 -1
- package/lib/dist/_nuxt/{CXPckVUD.js → C0vKFrOr.js} +1 -1
- package/lib/dist/_nuxt/{CQ3cJtsQ.js → C0x2Mtrn.js} +2 -2
- package/lib/dist/_nuxt/{DSo-2nFJ.js → C17-0Owd.js} +1 -1
- package/lib/dist/_nuxt/{C77-d5Nm.js → C24V68J3.js} +1 -1
- package/lib/dist/_nuxt/{UJDZNh8e.js → C2y2A27G.js} +1 -1
- package/lib/dist/_nuxt/{BPWyQanZ.js → C4FX_vFj.js} +1 -1
- package/lib/dist/_nuxt/{DVJ1H8-2.js → C4NvFsmx.js} +1 -1
- package/lib/dist/_nuxt/{Dj7AODgl.js → C5Fh5dLw.js} +1 -1
- package/lib/dist/_nuxt/{DGN1FUOe.js → C5LZc7bi.js} +1 -1
- package/lib/dist/_nuxt/{TGNXCWG6.js → C5YDuKgZ.js} +1 -1
- package/lib/dist/_nuxt/{DHL8lIZa.js → C6c9Dspn.js} +1 -1
- package/lib/dist/_nuxt/{Bj1Tr8na.js → C8Qc_SsI.js} +1 -1
- package/lib/dist/_nuxt/{C5QeThbn.js → C8UZPp3_.js} +1 -1
- package/lib/dist/_nuxt/{DcjeHTDt.js → C8_ndKXt.js} +2 -2
- package/lib/dist/_nuxt/{D31WRIha.js → C9Uj1v8v.js} +1 -1
- package/lib/dist/_nuxt/{BUCNUONm.js → CB02C89T.js} +1 -1
- package/lib/dist/_nuxt/{C7hcWPKb.js → CB3a7P0t.js} +2 -2
- package/lib/dist/_nuxt/{Dy33QHkd.js → CCIDjjGj.js} +3 -3
- package/lib/dist/_nuxt/CCSHPfQT.js +1 -0
- package/lib/dist/_nuxt/{DXGgVe0f.js → CDptPd_U.js} +3 -3
- package/lib/dist/_nuxt/{B82t3bcZ.js → CEZpXdoB.js} +1 -1
- package/lib/dist/_nuxt/{Cv1taij4.js → CFW-eKdT.js} +2 -2
- package/lib/dist/_nuxt/{DHbZD8lm.js → CGJkgYAS.js} +1 -1
- package/lib/dist/_nuxt/{C1P8Zhm3.js → CHf2540r.js} +1 -1
- package/lib/dist/_nuxt/{BJTGqbe7.js → CI_vGZBR.js} +1 -1
- package/lib/dist/_nuxt/{bCkRhWD-.js → CJFAfeQm.js} +1 -1
- package/lib/dist/_nuxt/{DourgGBB.js → CJnTHSo6.js} +1 -1
- package/lib/dist/_nuxt/{eM235LmA.js → CKjn3He-.js} +1 -1
- package/lib/dist/_nuxt/{BswdcBt-.js → CM94AsjQ.js} +1 -1
- package/lib/dist/_nuxt/{CrYOZ6xG.js → CMLvVVCa.js} +2 -2
- package/lib/dist/_nuxt/{scxxAgRq.js → CNurVxTA.js} +1 -1
- package/lib/dist/_nuxt/{BeT-kB3R.js → COR1mRIv.js} +1 -1
- package/lib/dist/_nuxt/{B0Sm2Utn.js → CPghe2bF.js} +2 -2
- package/lib/dist/_nuxt/{_dwjyJHh.js → CPmrHRfD.js} +1 -1
- package/lib/dist/_nuxt/{Cwun9h-Y.js → CPq1MIkE.js} +2 -2
- package/lib/dist/_nuxt/{DjcxKpIM.js → CQaV3CAE.js} +1 -1
- package/lib/dist/_nuxt/{CD37t5Sv.js → CS3cYx35.js} +2 -2
- package/lib/dist/_nuxt/{BbQblmCC.js → CTrYGv0V.js} +1 -1
- package/lib/dist/_nuxt/{CAp-kO3G.js → CU2qgEB0.js} +2 -2
- package/lib/dist/_nuxt/{Cnd_RIW1.js → CVNIqWCz.js} +2 -2
- package/lib/dist/_nuxt/{BwNtMX7v.js → CVziAYYM.js} +1 -1
- package/lib/dist/_nuxt/{xVsvxyFN.js → CXV9y0ij.js} +1 -1
- package/lib/dist/_nuxt/{Bmo45vb1.js → CXjFiOva.js} +1 -1
- package/lib/dist/_nuxt/{COzZ75BE.js → CYRe9VEh.js} +1 -1
- package/lib/dist/_nuxt/{Dy7Fxfea.js → CZfW7u7e.js} +1 -1
- package/lib/dist/_nuxt/C_0MCAHg.js +2 -0
- package/lib/dist/_nuxt/{DHhzMvUY.js → C_KncATK.js} +1 -1
- package/lib/dist/_nuxt/{BHvFET_1.js → C_r_z2w4.js} +1 -1
- package/lib/dist/_nuxt/{DuTGHMTZ.js → Ca68hr9N.js} +1 -1
- package/lib/dist/_nuxt/{B5XOKBjI.js → CaQmYARh.js} +1 -1
- package/lib/dist/_nuxt/{B4w8tHEf.js → Caap6ad5.js} +1 -1
- package/lib/dist/_nuxt/Can5iqu7.js +1 -0
- package/lib/dist/_nuxt/{CumiqXf7.js → CbXnLsg7.js} +1 -1
- package/lib/dist/_nuxt/{BkVBsUs7.js → Cc8KviHt.js} +2 -2
- package/lib/dist/_nuxt/{C2LFvZUN.js → CcKY7-rX.js} +2 -2
- package/lib/dist/_nuxt/{BqrLXvNe.js → Ccf8GJao.js} +1 -1
- package/lib/dist/_nuxt/{CLuKe_fT.js → Cd87RhmG.js} +1 -1
- package/lib/dist/_nuxt/{CGoFBv-S.js → CdAW-Pmn.js} +1 -1
- package/lib/dist/_nuxt/{CoJTDitE.js → CeOTGq8S.js} +2 -2
- package/lib/dist/_nuxt/{CpYnnah9.js → CeUvd5CG.js} +1 -1
- package/lib/dist/_nuxt/{CYpSrlPh.js → Ch8L35kx.js} +1 -1
- package/lib/dist/_nuxt/{DeiJLuN8.js → ChOVvzZi.js} +1 -1
- package/lib/dist/_nuxt/{DS9TSCsw.js → ChvF81cy.js} +1 -1
- package/lib/dist/_nuxt/{Bnayetoi.js → CjJR9ku8.js} +1 -1
- package/lib/dist/_nuxt/{qcgVJISv.js → CjLxSPxU.js} +1 -1
- package/lib/dist/_nuxt/{CUiPrnOA.js → CjiyXwOk.js} +1 -1
- package/lib/dist/_nuxt/{4p5F9hBn.js → Ck8SavWn.js} +1 -1
- package/lib/dist/_nuxt/{CY-umpv2.js → Ckrtr2Si.js} +1 -1
- package/lib/dist/_nuxt/{BvZfIYOw.js → ClgX2jSX.js} +1 -1
- package/lib/dist/_nuxt/{DxP-nfEC.js → CmHIFce4.js} +1 -1
- package/lib/dist/_nuxt/{BiyCj6F9.js → Cmi92uvW.js} +4 -4
- package/lib/dist/_nuxt/{Tog_yjwe.js → Cno1xGGH.js} +1 -1
- package/lib/dist/_nuxt/{DTIgeuov.js → CoIVRkRs.js} +2 -2
- package/lib/dist/_nuxt/{Dp03Bz--.js → CpVxdhe3.js} +1 -1
- package/lib/dist/_nuxt/{3fdRvCCy.js → CpWeSecD.js} +1 -1
- package/lib/dist/_nuxt/CpydMTRh.js +2 -0
- package/lib/dist/_nuxt/{BDWmjfg6.js → CqocAHnv.js} +1 -1
- package/lib/dist/_nuxt/CrsolQNu.js +2 -0
- package/lib/dist/_nuxt/{DID7jAGh.js → CsMB6UJB.js} +1 -1
- package/lib/dist/_nuxt/{CjWKi8WI.js → CtiXmthf.js} +1 -1
- package/lib/dist/_nuxt/{BiKFdSE2.js → CtrRzeqn.js} +2 -2
- package/lib/dist/_nuxt/{DYOpadwh.js → CvJ6cBZg.js} +1 -1
- package/lib/dist/_nuxt/{BLZezBti.js → CvJQycOH.js} +1 -1
- package/lib/dist/_nuxt/{RgrGrVar.js → CveN6MY0.js} +1 -1
- package/lib/dist/_nuxt/{BdAcoDOD.js → Cvf4IlAF.js} +1 -1
- package/lib/dist/_nuxt/{COkSW75E.js → CwXGZkgw.js} +1 -1
- package/lib/dist/_nuxt/{BfcNiwJm.js → Cwg1qVG3.js} +2 -2
- package/lib/dist/_nuxt/{lA0REAhs.js → CwglIeux.js} +1 -1
- package/lib/dist/_nuxt/{CnxZEFWN.js → CwzcEVHI.js} +1 -1
- package/lib/dist/_nuxt/{cjY5Hf50.js → Cx74SJIJ.js} +2 -2
- package/lib/dist/_nuxt/{DxIWAeh5.js → CyEUDpIZ.js} +1 -1
- package/lib/dist/_nuxt/{yluqkvFW.js → CzuZWkKi.js} +2 -2
- package/lib/dist/_nuxt/{BsCG6_t5.js → D-ULZAvr.js} +1 -1
- package/lib/dist/_nuxt/{Bg5wwbYB.js → D0MWYD9u.js} +2 -2
- package/lib/dist/_nuxt/{B_u_YqcL.js → D0MdXf-I.js} +1 -1
- package/lib/dist/_nuxt/{Vezsq5pc.js → D0lTgCiL.js} +1 -1
- package/lib/dist/_nuxt/D13Jpe71.js +1 -0
- package/lib/dist/_nuxt/{DAjBmuY8.js → D1WSfdBz.js} +2 -2
- package/lib/dist/_nuxt/{BzA-S3rc.js → D2hUzAIJ.js} +1 -1
- package/lib/dist/_nuxt/{DfZdmYLx.js → D2v4gSXy.js} +3 -3
- package/lib/dist/_nuxt/{C9siHYBR.js → D3yE50jn.js} +2 -2
- package/lib/dist/_nuxt/{BMcEsnd8.js → D4XRaUrE.js} +1 -1
- package/lib/dist/_nuxt/{BLXy3y_A.js → D58OV0x2.js} +1 -1
- package/lib/dist/_nuxt/{BuhJ4rY4.js → D7raIqCw.js} +1 -1
- package/lib/dist/_nuxt/{CRMJPIbJ.js → D86M42wR.js} +2 -2
- package/lib/dist/_nuxt/{B8QKymay.js → D87Esdzw.js} +1 -1
- package/lib/dist/_nuxt/{OslaI-1o.js → D8KkEwuG.js} +2 -2
- package/lib/dist/_nuxt/{BDxJYdK6.js → D8mGg8p3.js} +2 -2
- package/lib/dist/_nuxt/D8y_QymV.js +1 -0
- package/lib/dist/_nuxt/{D9eajlYc.js → DAE0H6cn.js} +2 -2
- package/lib/dist/_nuxt/DANQtblt.js +2 -0
- package/lib/dist/_nuxt/{BP0PseId.js → DAYX7_s6.js} +1 -1
- package/lib/dist/_nuxt/{DJ1Y7z-I.js → DBEHU1i8.js} +1 -1
- package/lib/dist/_nuxt/{BcwBv9GB.js → DDUq96bI.js} +1 -1
- package/lib/dist/_nuxt/{o2Vywl-H.js → DDncg9QB.js} +1 -1
- package/lib/dist/_nuxt/{DsJrb1nI.js → DEDBCwhz.js} +1 -1
- package/lib/dist/_nuxt/{CjEhR2ws.js → DEpLw3WP.js} +2 -2
- package/lib/dist/_nuxt/DEwjid9p.js +1 -0
- package/lib/dist/_nuxt/{Cr8Q8tPu.js → DFLo1Tyf.js} +1 -1
- package/lib/dist/_nuxt/{Dt1XZ-dT.js → DHne9z0s.js} +1 -1
- package/lib/dist/_nuxt/{B-IoKwno.js → DHwwmVq4.js} +1 -1
- package/lib/dist/_nuxt/{DeLYsJ35.js → DIwUs3Ba.js} +1 -1
- package/lib/dist/_nuxt/{D9V7WJRV.js → DIxWEKmp.js} +2 -2
- package/lib/dist/_nuxt/{BOjB8Iur.js → DKZtAEbi.js} +1 -1
- package/lib/dist/_nuxt/{N5zD6OYu.js → DK_LjI_d.js} +2 -2
- package/lib/dist/_nuxt/{DCyCGspM.js → DLgZMh7k.js} +2 -2
- package/lib/dist/_nuxt/{DNyOCYge.js → DNVg-DAK.js} +2 -2
- package/lib/dist/_nuxt/DOhAGoXx.js +1 -0
- package/lib/dist/_nuxt/{wE2b238O.js → DOhTCpLP.js} +1 -1
- package/lib/dist/_nuxt/DPIrVNpu.js +2 -0
- package/lib/dist/_nuxt/{BFGeur5y.js → DPiZHWmv.js} +1 -1
- package/lib/dist/_nuxt/{DhCfdE-S.js → DPvwYIe4.js} +2 -2
- package/lib/dist/_nuxt/{DQYlfQhI.js → DR3-ZZ6f.js} +2 -2
- package/lib/dist/_nuxt/DRw_Dh4U.js +1 -0
- package/lib/dist/_nuxt/{yd4iXUAH.js → DShHkyiK.js} +1 -1
- package/lib/dist/_nuxt/{CgemNdgi.js → DTBGgeX5.js} +1 -1
- package/lib/dist/_nuxt/{DgWM9QND.js → DTWPCMsX.js} +1 -1
- package/lib/dist/_nuxt/{BYeAlzmH.js → DThQY4jW.js} +2 -2
- package/lib/dist/_nuxt/{kHdMm7Ia.js → DV4c1hol.js} +1 -1
- package/lib/dist/_nuxt/{DhjCIkTM.js → DVo2fInm.js} +1 -1
- package/lib/dist/_nuxt/{Cf9rATwN.js → DW2SxN4U.js} +1 -1
- package/lib/dist/_nuxt/{Cyv2J_Eh.js → DW4mS2-E.js} +1 -1
- package/lib/dist/_nuxt/{Dm22wCnj.js → DWgfP12k.js} +2 -2
- package/lib/dist/_nuxt/{BWiEf5Q8.js → DWhMxXig.js} +1 -1
- package/lib/dist/_nuxt/{BcAgrix2.js → DYHT9W45.js} +2 -2
- package/lib/dist/_nuxt/{8nelJp1H.js → DYk50ONW.js} +1 -1
- package/lib/dist/_nuxt/{CW0qxcUd.js → DZ3fQXBC.js} +2 -2
- package/lib/dist/_nuxt/{DK5KFoxg.js → DZg_OLF6.js} +1 -1
- package/lib/dist/_nuxt/{ClM36jHa.js → D_bFc41P.js} +2 -2
- package/lib/dist/_nuxt/{D_qsPe1a.js → DaSR3TNr.js} +2 -2
- package/lib/dist/_nuxt/{DEtZQrqc.js → DaZBDg2f.js} +1 -1
- package/lib/dist/_nuxt/{B5Tmc1nh.js → DauyJKz3.js} +1 -1
- package/lib/dist/_nuxt/{DrHVm0_b.js → DbCVM54P.js} +3 -3
- package/lib/dist/_nuxt/{DLdhkiR1.js → DbGbCtZA.js} +1 -1
- package/lib/dist/_nuxt/{CjhAMb0e.js → DbQ8PEQZ.js} +1 -1
- package/lib/dist/_nuxt/{Doul1WC1.js → DePuxtA_.js} +1 -1
- package/lib/dist/_nuxt/{D0Ixu-2d.js → De_R8rrE.js} +1 -1
- package/lib/dist/_nuxt/{CdEISqkr.js → De_RKAA3.js} +2 -2
- package/lib/dist/_nuxt/{Du4GQqsD.js → DgD9_KW9.js} +2 -2
- package/lib/dist/_nuxt/{DmMnX8Ap.js → DgkuvGlL.js} +2 -2
- package/lib/dist/_nuxt/{Dl7beGcU.js → Diky6b8B.js} +1 -1
- package/lib/dist/_nuxt/{CR_iTixR.js → DjFxLMdW.js} +1 -1
- package/lib/dist/_nuxt/{C8D7ZQoo.js → DkhnRb2B.js} +1 -1
- package/lib/dist/_nuxt/{BzcRdSjL.js → Dl_k7PcY.js} +1 -1
- package/lib/dist/_nuxt/{Cyvv3q_1.js → Dl_zFQLa.js} +1 -1
- package/lib/dist/_nuxt/{CmrZvHjC.js → Dm1YWlhs.js} +1 -1
- package/lib/dist/_nuxt/{BEWPFIwa.js → Dm6wi6No.js} +1 -1
- package/lib/dist/_nuxt/{BE7ip4Qt.js → Dme6Ir5a.js} +2 -2
- package/lib/dist/_nuxt/{BmoKdN2h.js → DnFxlRi4.js} +1 -1
- package/lib/dist/_nuxt/{MmcLEC5o.js → DqHVb7w6.js} +1 -1
- package/lib/dist/_nuxt/{BLJLyCJW.js → Dqd3UFGy.js} +1 -1
- package/lib/dist/_nuxt/{D7y3R7Ve.js → DqyL5Uhs.js} +1 -1
- package/lib/dist/_nuxt/{DrKBqNbB.js → DsHvRxpH.js} +1 -1
- package/lib/dist/_nuxt/{BBl0m-42.js → DsURLYvZ.js} +2 -2
- package/lib/dist/_nuxt/{C4JQ9OHi.js → DtawBFI-.js} +2 -2
- package/lib/dist/_nuxt/{CxsGCxm3.js → DvgZT7js.js} +1 -1
- package/lib/dist/_nuxt/{nK1_ybEV.js → DvnUxboW.js} +1 -1
- package/lib/dist/_nuxt/{zErPCtcB.js → DxRO0DFU.js} +1 -1
- package/lib/dist/_nuxt/{Buq-jeAD.js → Dy4meA85.js} +1 -1
- package/lib/dist/_nuxt/{280IOBLC.js → DyjEoH9B.js} +2 -2
- package/lib/dist/_nuxt/{Dovr4y_N.js → Dz5Y7G3v.js} +1 -1
- package/lib/dist/_nuxt/{CfSPTPvX.js → EsjoHwle.js} +1 -1
- package/lib/dist/_nuxt/{Dw6QZof-.js → FJzXgD1q.js} +1 -1
- package/lib/dist/_nuxt/HgF9ENQO.js +1 -0
- package/lib/dist/_nuxt/{O2LGllLZ.js → INibGBS3.js} +1 -1
- package/lib/dist/_nuxt/{C-Bnpd2e.js → IyW17NS0.js} +1 -1
- package/lib/dist/_nuxt/{u2QnTgop.js → J2s5CnRS.js} +1 -1
- package/lib/dist/_nuxt/{CP1s9025.js → KY60TpFQ.js} +1 -1
- package/lib/dist/_nuxt/{Bg-tZGz_.js → L9TIwNpK.js} +1 -1
- package/lib/dist/_nuxt/{BPu-in_i.js → LAEswO5v.js} +1 -1
- package/lib/dist/_nuxt/{QpmejnYJ.js → LAiD9eOm.js} +1 -1
- package/lib/dist/_nuxt/{BWKx5AMV.js → LK2GcfhS.js} +3 -3
- package/lib/dist/_nuxt/{CKkNNjlN.js → LLghMu9r.js} +1 -1
- package/lib/dist/_nuxt/{_xiY6FSW.js → LMDDbn5I.js} +1 -1
- package/lib/dist/_nuxt/{VwKRn_Ub.js → LMIBhNmZ.js} +2 -2
- package/lib/dist/_nuxt/{CJL5s59L.js → LrQ3PXSl.js} +1 -1
- package/lib/dist/_nuxt/{Dty0Z0z-.js → Lu06hHio.js} +1 -1
- package/lib/dist/_nuxt/{CE_eotpK.js → Lv_gHbcP.js} +2 -2
- package/lib/dist/_nuxt/{M_38KAtu.js → MWyA65x_.js} +1 -1
- package/lib/dist/_nuxt/{D0skW1jq.js → NHZFd8bQ.js} +6 -6
- package/lib/dist/_nuxt/{CieNK_Hy.js → NuKLqi_C.js} +1 -1
- package/lib/dist/_nuxt/{B9joLcm_.js → P0QkPGdf.js} +2 -2
- package/lib/dist/_nuxt/{CSqy6vht.js → P1U7Y6XL.js} +1 -1
- package/lib/dist/_nuxt/{C4ETrJi7.js → QWjz_-lm.js} +1 -1
- package/lib/dist/_nuxt/QujOlhZj.js +2 -0
- package/lib/dist/_nuxt/{BSzJ4FxO.js → RCSYvIJN.js} +1 -1
- package/lib/dist/_nuxt/{Bx6zLbPy.js → ReAu2ibT.js} +1 -1
- package/lib/dist/_nuxt/{BTW1NQFl.js → TlYMG5Lb.js} +7 -7
- package/lib/dist/_nuxt/U6Yv1qW2.js +2 -0
- package/lib/dist/_nuxt/{BmU5H8v_.js → X3VQ5PkD.js} +2 -2
- package/lib/dist/_nuxt/{ugJET5xs.js → XZK4lLIj.js} +1 -1
- package/lib/dist/_nuxt/{DOx4axN9.js → Y45Pvb6W.js} +1 -1
- package/lib/dist/_nuxt/{BIgDKQss.js → ZJoY4cv8.js} +1 -1
- package/lib/dist/_nuxt/{CZK_s1tg.js → Zbz8jq1G.js} +1 -1
- package/lib/dist/_nuxt/aCruzJXG.js +1 -0
- package/lib/dist/_nuxt/{Bw11haZJ.js → aJ7vL21_.js} +1 -1
- package/lib/dist/_nuxt/{DOtEMrYm.js → bQDfPeIU.js} +1 -1
- package/lib/dist/_nuxt/builds/latest.json +1 -1
- package/lib/dist/_nuxt/builds/meta/4d3455d9-8566-4611-8871-432defb7e328.json +1 -0
- package/lib/dist/_nuxt/{C2Y5XRar.js → cBorlqEK.js} +2 -2
- package/lib/dist/_nuxt/{D48FTZfZ.js → cI3AFhs3.js} +1 -1
- package/lib/dist/_nuxt/{aDq49son.js → d-tLNYlP.js} +1 -1
- package/lib/dist/_nuxt/{CDSEzxpf.js → dHKlbiDl.js} +1 -1
- package/lib/dist/_nuxt/{C8vzQM9F.js → eKjPor-g.js} +2 -2
- package/lib/dist/_nuxt/{43F7ME7I.js → eskGEf7B.js} +1 -1
- package/lib/dist/_nuxt/{CxqNjWIa.js → euJqEUdj.js} +1 -1
- package/lib/dist/_nuxt/{CZ1dfjxk.js → gfY1oWFn.js} +1 -1
- package/lib/dist/_nuxt/{jdd8DREa.js → gkkS3OdB.js} +1 -1
- package/lib/dist/_nuxt/{BIaf71U6.js → hK_vol2i.js} +1 -1
- package/lib/dist/_nuxt/{Dyq8wlm2.js → iP1ZjiJa.js} +2 -2
- package/lib/dist/_nuxt/{BVg_3UXa.js → iSAFOGha.js} +2 -2
- package/lib/dist/_nuxt/{xZsSy3RW.js → ijWpAKHL.js} +1 -1
- package/lib/dist/_nuxt/{D5ELxc-k.js → jxmEYLWk.js} +1 -1
- package/lib/dist/_nuxt/{DUyMuvWw.js → kMYqkelq.js} +1 -1
- package/lib/dist/_nuxt/kgA_spNm.js +1 -0
- package/lib/dist/_nuxt/{Dyb0u-HW.js → kv4-NDtx.js} +3 -3
- package/lib/dist/_nuxt/{clwBgde6.js → l2p4hKoB.js} +1 -1
- package/lib/dist/_nuxt/{ClX7IuYy.js → lt6VDLdz.js} +1 -1
- package/lib/dist/_nuxt/{BkeBYOsG.js → m-_0Ui4u.js} +1 -1
- package/lib/dist/_nuxt/{EPaHYVRO.js → m9SI53XN.js} +1 -1
- package/lib/dist/_nuxt/{LWWX4jJK.js → mFTJNPpO.js} +2 -2
- package/lib/dist/_nuxt/{ebEXfNSo.js → natIdR_4.js} +1 -1
- package/lib/dist/_nuxt/{COU5RsPn.js → nhJGrFyW.js} +1 -1
- package/lib/dist/_nuxt/{tryzmhi-.js → oU1_jzX3.js} +2 -2
- package/lib/dist/_nuxt/{l5kmItbI.js → qMnjxg1z.js} +2 -2
- package/lib/dist/_nuxt/{D3xcU-9s.js → qUZV8ckr.js} +1 -1
- package/lib/dist/_nuxt/{BGeyVyh0.js → qq4q0aR6.js} +1 -1
- package/lib/dist/_nuxt/{Czkqqtnx.js → rLJJko6s.js} +2 -2
- package/lib/dist/_nuxt/{mMZq6K4Q.js → rNQe47vo.js} +1 -1
- package/lib/dist/_nuxt/{Ct1oIb_4.js → s-MsS4iB.js} +1 -1
- package/lib/dist/_nuxt/{DXFidnjK.js → s0RDr8Yh.js} +1 -1
- package/lib/dist/_nuxt/{BlXcT63I.js → tIh8AlSR.js} +1 -1
- package/lib/dist/_nuxt/{CWxOTqy6.js → uzC90Djt.js} +1 -1
- package/lib/dist/_nuxt/{Cupjn1oo.js → vLzSHf6u.js} +1 -1
- package/lib/dist/_nuxt/{CdLRqnlg.js → vMzl2isH.js} +2 -2
- package/lib/dist/_nuxt/{CA9orR1m.js → w_XtQjYV.js} +1 -1
- package/lib/dist/_nuxt/{spkU7cBe.js → wlN_Lind.js} +1 -1
- package/lib/dist/_nuxt/{DQ_P5qhG.js → xrjPLgbZ.js} +2 -2
- package/lib/dist/_nuxt/{BBNdAyDm.js → yYBIpa2d.js} +2 -2
- package/lib/dist/_nuxt/{CGnFnNNP.js → yvNBUCYV.js} +2 -2
- package/lib/dist/index.html +78 -78
- package/package.json +1 -1
- package/lib/dist/_nuxt/5k15r58b.js +0 -2
- package/lib/dist/_nuxt/6hwpPwDU.js +0 -1
- package/lib/dist/_nuxt/BOcIFZYZ.js +0 -1
- package/lib/dist/_nuxt/BRDmg5de.js +0 -1
- package/lib/dist/_nuxt/BWn7t3Vo.js +0 -1
- package/lib/dist/_nuxt/BieqjKAc.js +0 -1
- package/lib/dist/_nuxt/BkmIs3tY.js +0 -1
- package/lib/dist/_nuxt/C-eSTurT.js +0 -1
- package/lib/dist/_nuxt/CCLf8Ov5.js +0 -1
- package/lib/dist/_nuxt/CJLrQ8Hb.js +0 -2
- package/lib/dist/_nuxt/CPE_7hUe.js +0 -1
- package/lib/dist/_nuxt/CZhg4TfM.js +0 -2
- package/lib/dist/_nuxt/Cde3ly4N.js +0 -1
- package/lib/dist/_nuxt/Cng_fVI_.js +0 -1
- package/lib/dist/_nuxt/D64AfRxx.js +0 -1
- package/lib/dist/_nuxt/D7AJ3OTd.js +0 -1
- package/lib/dist/_nuxt/DG6rkk6h.js +0 -2
- package/lib/dist/_nuxt/DaW8Mwua.js +0 -1
- package/lib/dist/_nuxt/KYUg3rcO.js +0 -1
- package/lib/dist/_nuxt/VaTSRx_Q.js +0 -2
- package/lib/dist/_nuxt/builds/meta/78ffa04d-dc42-4d55-af86-caabed101676.json +0 -1
- package/lib/dist/_nuxt/mkTWPTBO.js +0 -2
- package/lib/dist/_nuxt/nQ8h8-3-.js +0 -2
- package/lib/dist/_nuxt/pBpIB2qI.js +0 -2
@@ -1 +1 @@
|
|
1
|
-
import{gu as Kt,e as mt,S as q,r as N,cY as en,b as tn,$ as nn,k as g,a8 as R,F as rn,G as an,p as f,aU as $e,n as on,b1 as w,z as xe,m as $,aS as un,aT as L,l as J,aV as fn,aW as cn,aX as ln,d0 as dn,aJ as hn,f as ee,c3 as _n,bi as vn,c1 as sn,b_ as yn,a9 as oe,ay as pn,bX as gn,av as On,bx as bn,by as En,aQ as mn}from"./D0skW1jq.js";import{u as wn}from"./K69OaLqe.js";import{G as ut}from"./Wfb3YMK3.js";import"./DOx4axN9.js";var Pe={},ie={},v={};Object.defineProperty(v,"__esModule",{value:!0});function $n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var xn=function t(e,r){$n(this,t),this.data=e,this.text=r.text||e,this.options=r};v.default=xn;Object.defineProperty(ie,"__esModule",{value:!0});ie.CODE39=void 0;var Sn=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Rn=v,An=Pn(Rn);function Pn(t){return t&&t.__esModule?t:{default:t}}function Tn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function kn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var In=function(t){kn(e,t);function e(r,n){return Tn(this,e),r=r.toUpperCase(),n.mod43&&(r+=jn(Ln(r))),Mn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return Sn(e,[{key:"encode",value:function(){for(var n=pe("*"),a=0;a<this.data.length;a++)n+=pe(this.data[a])+"0";return n+=pe("*"),{data:n,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),e}(An.default),wt=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],Bn=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function pe(t){return Dn($t(t))}function Dn(t){return Bn[t].toString(2)}function jn(t){return wt[t]}function $t(t){return wt.indexOf(t)}function Ln(t){for(var e=0,r=0;r<t.length;r++)e+=$t(t[r]);return e=e%43,e}ie.CODE39=In;var E={},Te={},G={},c={};Object.defineProperty(c,"__esModule",{value:!0});var U;function ge(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xt=c.SET_A=0,St=c.SET_B=1,Rt=c.SET_C=2;c.SHIFT=98;var Nn=c.START_A=103,Cn=c.START_B=104,Gn=c.START_C=105;c.MODULO=103;c.STOP=106;c.FNC1=207;c.SET_BY_CODE=(U={},ge(U,Nn,xt),ge(U,Cn,St),ge(U,Gn,Rt),U);c.SWAP={101:xt,100:St,99:Rt};c.A_START_CHAR="Ð";c.B_START_CHAR="Ñ";c.C_START_CHAR="Ò";c.A_CHARS="[\0-_È-Ï]";c.B_CHARS="[ -È-Ï]";c.C_CHARS="(Ï*[0-9]{2}Ï*)";c.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011];Object.defineProperty(G,"__esModule",{value:!0});var Fn=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Hn=v,zn=Un(Hn),s=c;function Un(t){return t&&t.__esModule?t:{default:t}}function Xn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function qn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Jn=function(t){qn(e,t);function e(r,n){Xn(this,e);var a=Vn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r.substring(1),n));return a.bytes=r.split("").map(function(o){return o.charCodeAt(0)}),a}return Fn(e,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var n=this.bytes,a=n.shift()-105,o=s.SET_BY_CODE[a];if(o===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&n.unshift(s.FNC1);var i=e.next(n,1,o);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:e.getBar(a)+i.result+e.getBar((i.checksum+a)%s.MODULO)+e.getBar(s.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var n=this.options.ean128||!1;return typeof n=="string"&&(n=n.toLowerCase()==="true"),n}}],[{key:"getBar",value:function(n){return s.BARS[n]?s.BARS[n].toString():""}},{key:"correctIndex",value:function(n,a){if(a===s.SET_A){var o=n.shift();return o<32?o+64:o-32}else return a===s.SET_B?n.shift()-32:(n.shift()-48)*10+n.shift()-48}},{key:"next",value:function(n,a,o){if(!n.length)return{result:"",checksum:0};var i=void 0,u=void 0;if(n[0]>=200){u=n.shift()-105;var l=s.SWAP[u];l!==void 0?i=e.next(n,a+1,l):((o===s.SET_A||o===s.SET_B)&&u===s.SHIFT&&(n[0]=o===s.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),i=e.next(n,a+1,o))}else u=e.correctIndex(n,o),i=e.next(n,a+1,o);var p=e.getBar(u),d=u*a;return{result:p+i.result,checksum:d+i.checksum}}}]),e}(zn.default);G.default=Jn;var Me={};Object.defineProperty(Me,"__esModule",{value:!0});var x=c,At=function(e){return e.match(new RegExp("^"+x.A_CHARS+"*"))[0].length},Pt=function(e){return e.match(new RegExp("^"+x.B_CHARS+"*"))[0].length},Tt=function(e){return e.match(new RegExp("^"+x.C_CHARS+"*"))[0]};function ke(t,e){var r=e?x.A_CHARS:x.B_CHARS,n=t.match(new RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(n)return n[1]+"Ì"+Mt(t.substring(n[1].length));var a=t.match(new RegExp("^"+r+"+"))[0];return a.length===t.length?t:a+String.fromCharCode(e?205:206)+ke(t.substring(a.length),!e)}function Mt(t){var e=Tt(t),r=e.length;if(r===t.length)return t;t=t.substring(r);var n=At(t)>=Pt(t);return e+String.fromCharCode(n?206:205)+ke(t,n)}Me.default=function(t){var e=void 0,r=Tt(t).length;if(r>=2)e=x.C_START_CHAR+Mt(t);else{var n=At(t)>Pt(t);e=(n?x.A_START_CHAR:x.B_START_CHAR)+ke(t,n)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(a,o){return"Ë"+o})};Object.defineProperty(Te,"__esModule",{value:!0});var Wn=G,Qn=kt(Wn),Yn=Me,Zn=kt(Yn);function kt(t){return t&&t.__esModule?t:{default:t}}function Kn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oe(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function er(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var tr=function(t){er(e,t);function e(r,n){if(Kn(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(r))var a=Oe(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,Zn.default)(r),n));else var a=Oe(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return Oe(a)}return e}(Qn.default);Te.default=tr;var Ie={};Object.defineProperty(Ie,"__esModule",{value:!0});var nr=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),rr=G,ar=or(rr),ft=c;function or(t){return t&&t.__esModule?t:{default:t}}function ir(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ur(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function fr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var cr=function(t){fr(e,t);function e(r,n){return ir(this,e),ur(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,ft.A_START_CHAR+r,n))}return nr(e,[{key:"valid",value:function(){return new RegExp("^"+ft.A_CHARS+"+$").test(this.data)}}]),e}(ar.default);Ie.default=cr;var Be={};Object.defineProperty(Be,"__esModule",{value:!0});var lr=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),dr=G,hr=_r(dr),ct=c;function _r(t){return t&&t.__esModule?t:{default:t}}function vr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sr(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function yr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var pr=function(t){yr(e,t);function e(r,n){return vr(this,e),sr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,ct.B_START_CHAR+r,n))}return lr(e,[{key:"valid",value:function(){return new RegExp("^"+ct.B_CHARS+"+$").test(this.data)}}]),e}(hr.default);Be.default=pr;var De={};Object.defineProperty(De,"__esModule",{value:!0});var gr=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Or=G,br=Er(Or),lt=c;function Er(t){return t&&t.__esModule?t:{default:t}}function mr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wr(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function $r(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var xr=function(t){$r(e,t);function e(r,n){return mr(this,e),wr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,lt.C_START_CHAR+r,n))}return gr(e,[{key:"valid",value:function(){return new RegExp("^"+lt.C_CHARS+"+$").test(this.data)}}]),e}(br.default);De.default=xr;Object.defineProperty(E,"__esModule",{value:!0});E.CODE128C=E.CODE128B=E.CODE128A=E.CODE128=void 0;var Sr=Te,Rr=ue(Sr),Ar=Ie,Pr=ue(Ar),Tr=Be,Mr=ue(Tr),kr=De,Ir=ue(kr);function ue(t){return t&&t.__esModule?t:{default:t}}E.CODE128=Rr.default;E.CODE128A=Pr.default;E.CODE128B=Mr.default;E.CODE128C=Ir.default;var _={},je={},b={};Object.defineProperty(b,"__esModule",{value:!0});b.SIDE_BIN="101";b.MIDDLE_BIN="01010";b.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]};b.EAN2_STRUCTURE=["LL","LG","GL","GG"];b.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"];b.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"];var fe={},P={};Object.defineProperty(P,"__esModule",{value:!0});var Br=b,Dr=function(e,r,n){var a=e.split("").map(function(i,u){return Br.BINARIES[r[u]]}).map(function(i,u){return i?i[e[u]]:""});if(n){var o=e.length-1;a=a.map(function(i,u){return u<o?i+n:i})}return a.join("")};P.default=Dr;Object.defineProperty(fe,"__esModule",{value:!0});var jr=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),B=b,Lr=P,dt=It(Lr),Nr=v,Cr=It(Nr);function It(t){return t&&t.__esModule?t:{default:t}}function Gr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fr(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Hr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var zr=function(t){Hr(e,t);function e(r,n){Gr(this,e);var a=Fr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return a.fontSize=!n.flat&&n.fontSize>n.width*10?n.width*10:n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return jr(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(n,a){return this.text.substr(n,a)}},{key:"leftEncode",value:function(n,a){return(0,dt.default)(n,a)}},{key:"rightText",value:function(n,a){return this.text.substr(n,a)}},{key:"rightEncode",value:function(n,a){return(0,dt.default)(n,a)}},{key:"encodeGuarded",value:function(){var n={fontSize:this.fontSize},a={height:this.guardHeight};return[{data:B.SIDE_BIN,options:a},{data:this.leftEncode(),text:this.leftText(),options:n},{data:B.MIDDLE_BIN,options:a},{data:this.rightEncode(),text:this.rightText(),options:n},{data:B.SIDE_BIN,options:a}]}},{key:"encodeFlat",value:function(){var n=[B.SIDE_BIN,this.leftEncode(),B.MIDDLE_BIN,this.rightEncode(),B.SIDE_BIN];return{data:n.join(""),text:this.text}}}]),e}(Cr.default);fe.default=zr;Object.defineProperty(je,"__esModule",{value:!0});var Ur=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),X=function t(e,r,n){e===null&&(e=Function.prototype);var a=Object.getOwnPropertyDescriptor(e,r);if(a===void 0){var o=Object.getPrototypeOf(e);return o===null?void 0:t(o,r,n)}else{if("value"in a)return a.value;var i=a.get;return i===void 0?void 0:i.call(n)}},Xr=b,Vr=fe,qr=Jr(Vr);function Jr(t){return t&&t.__esModule?t:{default:t}}function Wr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Yr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ht=function(e){var r=e.substr(0,12).split("").map(function(n){return+n}).reduce(function(n,a,o){return o%2?n+a*3:n+a},0);return(10-r%10)%10},Zr=function(t){Yr(e,t);function e(r,n){Wr(this,e),r.search(/^[0-9]{12}$/)!==-1&&(r+=ht(r));var a=Qr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return a.lastChar=n.lastChar,a}return Ur(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===ht(this.data)}},{key:"leftText",value:function(){return X(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var n=this.data.substr(1,6),a=Xr.EAN13_STRUCTURE[this.data[0]];return X(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,n,a)}},{key:"rightText",value:function(){return X(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var n=this.data.substr(7,6);return X(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,n,"RRRRRR")}},{key:"encodeGuarded",value:function(){var n=X(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(n.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(n.push({data:"00"}),n.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),n}}]),e}(qr.default);je.default=Zr;var Le={};Object.defineProperty(Le,"__esModule",{value:!0});var Kr=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),te=function t(e,r,n){e===null&&(e=Function.prototype);var a=Object.getOwnPropertyDescriptor(e,r);if(a===void 0){var o=Object.getPrototypeOf(e);return o===null?void 0:t(o,r,n)}else{if("value"in a)return a.value;var i=a.get;return i===void 0?void 0:i.call(n)}},ea=fe,ta=na(ea);function na(t){return t&&t.__esModule?t:{default:t}}function ra(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aa(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function oa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var _t=function(e){var r=e.substr(0,7).split("").map(function(n){return+n}).reduce(function(n,a,o){return o%2?n+a:n+a*3},0);return(10-r%10)%10},ia=function(t){oa(e,t);function e(r,n){return ra(this,e),r.search(/^[0-9]{7}$/)!==-1&&(r+=_t(r)),aa(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return Kr(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===_t(this.data)}},{key:"leftText",value:function(){return te(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var n=this.data.substr(0,4);return te(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,n,"LLLL")}},{key:"rightText",value:function(){return te(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var n=this.data.substr(4,4);return te(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,n,"RRRR")}}]),e}(ta.default);Le.default=ia;var Ne={};Object.defineProperty(Ne,"__esModule",{value:!0});var ua=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),fa=b,ca=P,la=Bt(ca),da=v,ha=Bt(da);function Bt(t){return t&&t.__esModule?t:{default:t}}function _a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function va(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function sa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ya=function(e){var r=e.split("").map(function(n){return+n}).reduce(function(n,a,o){return o%2?n+a*9:n+a*3},0);return r%10},pa=function(t){sa(e,t);function e(r,n){return _a(this,e),va(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return ua(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var n=fa.EAN5_STRUCTURE[ya(this.data)];return{data:"1011"+(0,la.default)(this.data,n,"01"),text:this.text}}}]),e}(ha.default);Ne.default=pa;var Ce={};Object.defineProperty(Ce,"__esModule",{value:!0});var ga=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Oa=b,ba=P,Ea=Dt(ba),ma=v,wa=Dt(ma);function Dt(t){return t&&t.__esModule?t:{default:t}}function $a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xa(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Sa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ra=function(t){Sa(e,t);function e(r,n){return $a(this,e),xa(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return ga(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var n=Oa.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,Ea.default)(this.data,n,"01"),text:this.text}}}]),e}(wa.default);Ce.default=Ra;var Q={};Object.defineProperty(Q,"__esModule",{value:!0});var Aa=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();Q.checksum=Se;var Pa=P,D=jt(Pa),Ta=v,Ma=jt(Ta);function jt(t){return t&&t.__esModule?t:{default:t}}function ka(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ia(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ba(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Da=function(t){Ba(e,t);function e(r,n){ka(this,e),r.search(/^[0-9]{11}$/)!==-1&&(r+=Se(r));var a=Ia(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return a.displayValue=n.displayValue,n.fontSize>n.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return Aa(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==Se(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=(0,D.default)(this.data.substr(0,6),"LLLLLL"),n+="01010",n+=(0,D.default)(this.data.substr(6,6),"RRRRRR"),n+="101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101"+(0,D.default)(this.data[0],"L"),options:{height:this.guardHeight}}),n.push({data:(0,D.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),n.push({data:"01010",options:{height:this.guardHeight}}),n.push({data:(0,D.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),n.push({data:(0,D.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),n}}]),e}(Ma.default);function Se(t){var e=0,r;for(r=1;r<11;r+=2)e+=parseInt(t[r]);for(r=0;r<11;r+=2)e+=parseInt(t[r])*3;return(10-e%10)%10}Q.default=Da;var Ge={};Object.defineProperty(Ge,"__esModule",{value:!0});var ja=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),La=P,Na=Lt(La),Ca=v,Ga=Lt(Ca),Fa=Q;function Lt(t){return t&&t.__esModule?t:{default:t}}function Ha(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function be(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function za(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ua=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],Xa=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],Va=function(t){za(e,t);function e(r,n){Ha(this,e);var a=be(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));if(a.isValid=!1,r.search(/^[0-9]{6}$/)!==-1)a.middleDigits=r,a.upcA=vt(r,"0"),a.text=n.text||""+a.upcA[0]+r+a.upcA[a.upcA.length-1],a.isValid=!0;else if(r.search(/^[01][0-9]{7}$/)!==-1)if(a.middleDigits=r.substring(1,r.length-1),a.upcA=vt(a.middleDigits,r[0]),a.upcA[a.upcA.length-1]===r[r.length-1])a.isValid=!0;else return be(a);else return be(a);return a.displayValue=n.displayValue,n.fontSize>n.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return ja(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=this.encodeMiddleDigits(),n+="010101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101",options:{height:this.guardHeight}}),n.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),n.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),n}},{key:"encodeMiddleDigits",value:function(){var n=this.upcA[0],a=this.upcA[this.upcA.length-1],o=Xa[parseInt(a)][parseInt(n)];return(0,Na.default)(this.middleDigits,o)}}]),e}(Ga.default);function vt(t,e){for(var r=parseInt(t[t.length-1]),n=Ua[r],a="",o=0,i=0;i<n.length;i++){var u=n[i];u==="X"?a+=t[o++]:a+=u}return a=""+e+a,""+a+(0,Fa.checksum)(a)}Ge.default=Va;Object.defineProperty(_,"__esModule",{value:!0});_.UPCE=_.UPC=_.EAN2=_.EAN5=_.EAN8=_.EAN13=void 0;var qa=je,Ja=F(qa),Wa=Le,Qa=F(Wa),Ya=Ne,Za=F(Ya),Ka=Ce,eo=F(Ka),to=Q,no=F(to),ro=Ge,ao=F(ro);function F(t){return t&&t.__esModule?t:{default:t}}_.EAN13=Ja.default;_.EAN8=Qa.default;_.EAN5=Za.default;_.EAN2=eo.default;_.UPC=no.default;_.UPCE=ao.default;var C={},ce={},Y={};Object.defineProperty(Y,"__esModule",{value:!0});Y.START_BIN="1010";Y.END_BIN="11101";Y.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"];Object.defineProperty(ce,"__esModule",{value:!0});var oo=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),ne=Y,io=v,uo=fo(io);function fo(t){return t&&t.__esModule?t:{default:t}}function co(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lo(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ho(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var _o=function(t){ho(e,t);function e(){return co(this,e),lo(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return oo(e,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var n=this,a=this.data.match(/.{2}/g).map(function(o){return n.encodePair(o)}).join("");return{data:ne.START_BIN+a+ne.END_BIN,text:this.text}}},{key:"encodePair",value:function(n){var a=ne.BINARIES[n[1]];return ne.BINARIES[n[0]].split("").map(function(o,i){return(o==="1"?"111":"1")+(a[i]==="1"?"000":"0")}).join("")}}]),e}(uo.default);ce.default=_o;var Fe={};Object.defineProperty(Fe,"__esModule",{value:!0});var vo=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),so=ce,yo=po(so);function po(t){return t&&t.__esModule?t:{default:t}}function go(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oo(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function bo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var st=function(e){var r=e.substr(0,13).split("").map(function(n){return parseInt(n,10)}).reduce(function(n,a,o){return n+a*(3-o%2*2)},0);return Math.ceil(r/10)*10-r},Eo=function(t){bo(e,t);function e(r,n){return go(this,e),r.search(/^[0-9]{13}$/)!==-1&&(r+=st(r)),Oo(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return vo(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===st(this.data)}}]),e}(yo.default);Fe.default=Eo;Object.defineProperty(C,"__esModule",{value:!0});C.ITF14=C.ITF=void 0;var mo=ce,wo=Nt(mo),$o=Fe,xo=Nt($o);function Nt(t){return t&&t.__esModule?t:{default:t}}C.ITF=wo.default;C.ITF14=xo.default;var O={},T={};Object.defineProperty(T,"__esModule",{value:!0});var So=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Ro=v,Ao=Po(Ro);function Po(t){return t&&t.__esModule?t:{default:t}}function To(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mo(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ko(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Io=function(t){ko(e,t);function e(r,n){return To(this,e),Mo(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return So(e,[{key:"encode",value:function(){for(var n="110",a=0;a<this.data.length;a++){var o=parseInt(this.data[a]),i=o.toString(2);i=Bo(i,4-i.length);for(var u=0;u<i.length;u++)n+=i[u]=="0"?"100":"110"}return n+="1001",{data:n,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),e}(Ao.default);function Bo(t,e){for(var r=0;r<e;r++)t="0"+t;return t}T.default=Io;var He={},M={};Object.defineProperty(M,"__esModule",{value:!0});M.mod10=Do;M.mod11=jo;function Do(t){for(var e=0,r=0;r<t.length;r++){var n=parseInt(t[r]);(r+t.length)%2===0?e+=n:e+=n*2%10+Math.floor(n*2/10)}return(10-e%10)%10}function jo(t){for(var e=0,r=[2,3,4,5,6,7],n=0;n<t.length;n++){var a=parseInt(t[t.length-1-n]);e+=r[n%r.length]*a}return(11-e%11)%11}Object.defineProperty(He,"__esModule",{value:!0});var Lo=T,No=Go(Lo),Co=M;function Go(t){return t&&t.__esModule?t:{default:t}}function Fo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ho(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function zo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Uo=function(t){zo(e,t);function e(r,n){return Fo(this,e),Ho(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r+(0,Co.mod10)(r),n))}return e}(No.default);He.default=Uo;var ze={};Object.defineProperty(ze,"__esModule",{value:!0});var Xo=T,Vo=Jo(Xo),qo=M;function Jo(t){return t&&t.__esModule?t:{default:t}}function Wo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qo(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Yo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Zo=function(t){Yo(e,t);function e(r,n){return Wo(this,e),Qo(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r+(0,qo.mod11)(r),n))}return e}(Vo.default);ze.default=Zo;var Ue={};Object.defineProperty(Ue,"__esModule",{value:!0});var Ko=T,ei=ti(Ko),yt=M;function ti(t){return t&&t.__esModule?t:{default:t}}function ni(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ri(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ai(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var oi=function(t){ai(e,t);function e(r,n){return ni(this,e),r+=(0,yt.mod10)(r),r+=(0,yt.mod10)(r),ri(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return e}(ei.default);Ue.default=oi;var Xe={};Object.defineProperty(Xe,"__esModule",{value:!0});var ii=T,ui=fi(ii),pt=M;function fi(t){return t&&t.__esModule?t:{default:t}}function ci(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function li(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function di(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var hi=function(t){di(e,t);function e(r,n){return ci(this,e),r+=(0,pt.mod11)(r),r+=(0,pt.mod10)(r),li(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return e}(ui.default);Xe.default=hi;Object.defineProperty(O,"__esModule",{value:!0});O.MSI1110=O.MSI1010=O.MSI11=O.MSI10=O.MSI=void 0;var _i=T,vi=Z(_i),si=He,yi=Z(si),pi=ze,gi=Z(pi),Oi=Ue,bi=Z(Oi),Ei=Xe,mi=Z(Ei);function Z(t){return t&&t.__esModule?t:{default:t}}O.MSI=vi.default;O.MSI10=yi.default;O.MSI11=gi.default;O.MSI1010=bi.default;O.MSI1110=mi.default;var le={};Object.defineProperty(le,"__esModule",{value:!0});le.pharmacode=void 0;var wi=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),$i=v,xi=Si($i);function Si(t){return t&&t.__esModule?t:{default:t}}function Ri(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ai(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Pi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ti=function(t){Pi(e,t);function e(r,n){Ri(this,e);var a=Ai(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return a.number=parseInt(r,10),a}return wi(e,[{key:"encode",value:function(){for(var n=this.number,a="";!isNaN(n)&&n!=0;)n%2===0?(a="11100"+a,n=(n-2)/2):(a="100"+a,n=(n-1)/2);return a=a.slice(0,-2),{data:a,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),e}(xi.default);le.pharmacode=Ti;var de={};Object.defineProperty(de,"__esModule",{value:!0});de.codabar=void 0;var Mi=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),ki=v,Ii=Bi(ki);function Bi(t){return t&&t.__esModule?t:{default:t}}function Di(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ji(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Li(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ni=function(t){Li(e,t);function e(r,n){Di(this,e),r.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(r="A"+r+"A");var a=ji(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r.toUpperCase(),n));return a.text=a.options.text||a.text.replace(/[A-D]/g,""),a}return Mi(e,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var n=[],a=this.getEncodings(),o=0;o<this.data.length;o++)n.push(a[this.data.charAt(o)]),o!==this.data.length-1&&n.push("0");return{text:this.text,data:n.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),e}(Ii.default);de.codabar=Ni;var he={};Object.defineProperty(he,"__esModule",{value:!0});he.GenericBarcode=void 0;var Ci=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Gi=v,Fi=Hi(Gi);function Hi(t){return t&&t.__esModule?t:{default:t}}function zi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ui(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Xi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Vi=function(t){Xi(e,t);function e(r,n){return zi(this,e),Ui(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return Ci(e,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e}(Fi.default);he.GenericBarcode=Vi;Object.defineProperty(Pe,"__esModule",{value:!0});var qi=ie,re=E,j=_,gt=C,V=O,Ji=le,Wi=de,Qi=he;Pe.default={CODE39:qi.CODE39,CODE128:re.CODE128,CODE128A:re.CODE128A,CODE128B:re.CODE128B,CODE128C:re.CODE128C,EAN13:j.EAN13,EAN8:j.EAN8,EAN5:j.EAN5,EAN2:j.EAN2,UPC:j.UPC,UPCE:j.UPCE,ITF14:gt.ITF14,ITF:gt.ITF,MSI:V.MSI,MSI10:V.MSI10,MSI11:V.MSI11,MSI1010:V.MSI1010,MSI1110:V.MSI1110,pharmacode:Ji.pharmacode,codabar:Wi.codabar,GenericBarcode:Qi.GenericBarcode};var H={};Object.defineProperty(H,"__esModule",{value:!0});var Yi=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};H.default=function(t,e){return Yi({},t,e)};var Ve={};Object.defineProperty(Ve,"__esModule",{value:!0});Ve.default=Zi;function Zi(t){var e=[];function r(n){if(Array.isArray(n))for(var a=0;a<n.length;a++)r(n[a]);else n.text=n.text||"",n.data=n.data||"",e.push(n)}return r(t),e}var qe={};Object.defineProperty(qe,"__esModule",{value:!0});qe.default=Ki;function Ki(t){return t.marginTop=t.marginTop||t.margin,t.marginBottom=t.marginBottom||t.margin,t.marginRight=t.marginRight||t.margin,t.marginLeft=t.marginLeft||t.margin,t}var Je={},We={},_e={};Object.defineProperty(_e,"__esModule",{value:!0});_e.default=eu;function eu(t){var e=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var r in e)e.hasOwnProperty(r)&&(r=e[r],typeof t[r]=="string"&&(t[r]=parseInt(t[r],10)));return typeof t.displayValue=="string"&&(t.displayValue=t.displayValue!="false"),t}var ve={};Object.defineProperty(ve,"__esModule",{value:!0});var tu={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};ve.default=tu;Object.defineProperty(We,"__esModule",{value:!0});var nu=_e,ru=Ct(nu),au=ve,Ot=Ct(au);function Ct(t){return t&&t.__esModule?t:{default:t}}function ou(t){var e={};for(var r in Ot.default)Ot.default.hasOwnProperty(r)&&(t.hasAttribute("jsbarcode-"+r.toLowerCase())&&(e[r]=t.getAttribute("jsbarcode-"+r.toLowerCase())),t.hasAttribute("data-"+r.toLowerCase())&&(e[r]=t.getAttribute("data-"+r.toLowerCase())));return e.value=t.getAttribute("jsbarcode-value")||t.getAttribute("data-value"),e=(0,ru.default)(e),e}We.default=ou;var Qe={},Ye={},y={};Object.defineProperty(y,"__esModule",{value:!0});y.getTotalWidthOfEncodings=y.calculateEncodingAttributes=y.getBarcodePadding=y.getEncodingHeight=y.getMaximumHeightOfEncodings=void 0;var iu=H,uu=fu(iu);function fu(t){return t&&t.__esModule?t:{default:t}}function Gt(t,e){return e.height+(e.displayValue&&t.text.length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function Ft(t,e,r){if(r.displayValue&&e<t){if(r.textAlign=="center")return Math.floor((t-e)/2);if(r.textAlign=="left")return 0;if(r.textAlign=="right")return Math.floor(t-e)}return 0}function cu(t,e,r){for(var n=0;n<t.length;n++){var a=t[n],o=(0,uu.default)(e,a.options),i;o.displayValue?i=hu(a.text,o,r):i=0;var u=a.data.length*o.width;a.width=Math.ceil(Math.max(i,u)),a.height=Gt(a,o),a.barcodePadding=Ft(i,u,o)}}function lu(t){for(var e=0,r=0;r<t.length;r++)e+=t[r].width;return e}function du(t){for(var e=0,r=0;r<t.length;r++)t[r].height>e&&(e=t[r].height);return e}function hu(t,e,r){var n;if(r)n=r;else if(typeof document<"u")n=document.createElement("canvas").getContext("2d");else return 0;n.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var a=n.measureText(t);if(!a)return 0;var o=a.width;return o}y.getMaximumHeightOfEncodings=du;y.getEncodingHeight=Gt;y.getBarcodePadding=Ft;y.calculateEncodingAttributes=cu;y.getTotalWidthOfEncodings=lu;Object.defineProperty(Ye,"__esModule",{value:!0});var _u=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),vu=H,su=yu(vu),Ee=y;function yu(t){return t&&t.__esModule?t:{default:t}}function pu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var gu=function(){function t(e,r,n){pu(this,t),this.canvas=e,this.encodings=r,this.options=n}return _u(t,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var r=0;r<this.encodings.length;r++){var n=(0,su.default)(this.options,this.encodings[r].options);this.drawCanvasBarcode(n,this.encodings[r]),this.drawCanvasText(n,this.encodings[r]),this.moveCanvasDrawing(this.encodings[r])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var r=this.canvas.getContext("2d");r.save(),(0,Ee.calculateEncodingAttributes)(this.encodings,this.options,r);var n=(0,Ee.getTotalWidthOfEncodings)(this.encodings),a=(0,Ee.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=n+this.options.marginLeft+this.options.marginRight,this.canvas.height=a,r.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(r.fillStyle=this.options.background,r.fillRect(0,0,this.canvas.width,this.canvas.height)),r.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(r,n){var a=this.canvas.getContext("2d"),o=n.data,i;r.textPosition=="top"?i=r.marginTop+r.fontSize+r.textMargin:i=r.marginTop,a.fillStyle=r.lineColor;for(var u=0;u<o.length;u++){var l=u*r.width+n.barcodePadding;o[u]==="1"?a.fillRect(l,i,r.width,r.height):o[u]&&a.fillRect(l,i,r.width,r.height*o[u])}}},{key:"drawCanvasText",value:function(r,n){var a=this.canvas.getContext("2d"),o=r.fontOptions+" "+r.fontSize+"px "+r.font;if(r.displayValue){var i,u;r.textPosition=="top"?u=r.marginTop+r.fontSize-r.textMargin:u=r.height+r.textMargin+r.marginTop+r.fontSize,a.font=o,r.textAlign=="left"||n.barcodePadding>0?(i=0,a.textAlign="left"):r.textAlign=="right"?(i=n.width-1,a.textAlign="right"):(i=n.width/2,a.textAlign="center"),a.fillText(n.text,i,u)}}},{key:"moveCanvasDrawing",value:function(r){var n=this.canvas.getContext("2d");n.translate(r.width,0)}},{key:"restoreCanvas",value:function(){var r=this.canvas.getContext("2d");r.restore()}}]),t}();Ye.default=gu;var Ze={};Object.defineProperty(Ze,"__esModule",{value:!0});var Ou=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),bu=H,Eu=mu(bu),me=y;function mu(t){return t&&t.__esModule?t:{default:t}}function wu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var ae="http://www.w3.org/2000/svg",$u=function(){function t(e,r,n){wu(this,t),this.svg=e,this.encodings=r,this.options=n,this.document=n.xmlDocument||document}return Ou(t,[{key:"render",value:function(){var r=this.options.marginLeft;this.prepareSVG();for(var n=0;n<this.encodings.length;n++){var a=this.encodings[n],o=(0,Eu.default)(this.options,a.options),i=this.createGroup(r,o.marginTop,this.svg);this.setGroupOptions(i,o),this.drawSvgBarcode(i,o,a),this.drawSVGText(i,o,a),r+=a.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,me.calculateEncodingAttributes)(this.encodings,this.options);var r=(0,me.getTotalWidthOfEncodings)(this.encodings),n=(0,me.getMaximumHeightOfEncodings)(this.encodings),a=r+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(a,n),this.options.background&&this.drawRect(0,0,a,n,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(r,n,a){var o=a.data,i;n.textPosition=="top"?i=n.fontSize+n.textMargin:i=0;for(var u=0,l=0,p=0;p<o.length;p++)l=p*n.width+a.barcodePadding,o[p]==="1"?u++:u>0&&(this.drawRect(l-n.width*u,i,n.width*u,n.height,r),u=0);u>0&&this.drawRect(l-n.width*(u-1),i,n.width*u,n.height,r)}},{key:"drawSVGText",value:function(r,n,a){var o=this.document.createElementNS(ae,"text");if(n.displayValue){var i,u;o.setAttribute("style","font:"+n.fontOptions+" "+n.fontSize+"px "+n.font),n.textPosition=="top"?u=n.fontSize-n.textMargin:u=n.height+n.textMargin+n.fontSize,n.textAlign=="left"||a.barcodePadding>0?(i=0,o.setAttribute("text-anchor","start")):n.textAlign=="right"?(i=a.width-1,o.setAttribute("text-anchor","end")):(i=a.width/2,o.setAttribute("text-anchor","middle")),o.setAttribute("x",i),o.setAttribute("y",u),o.appendChild(this.document.createTextNode(a.text)),r.appendChild(o)}}},{key:"setSvgAttributes",value:function(r,n){var a=this.svg;a.setAttribute("width",r+"px"),a.setAttribute("height",n+"px"),a.setAttribute("x","0px"),a.setAttribute("y","0px"),a.setAttribute("viewBox","0 0 "+r+" "+n),a.setAttribute("xmlns",ae),a.setAttribute("version","1.1"),a.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(r,n,a){var o=this.document.createElementNS(ae,"g");return o.setAttribute("transform","translate("+r+", "+n+")"),a.appendChild(o),o}},{key:"setGroupOptions",value:function(r,n){r.setAttribute("style","fill:"+n.lineColor+";")}},{key:"drawRect",value:function(r,n,a,o,i){var u=this.document.createElementNS(ae,"rect");return u.setAttribute("x",r),u.setAttribute("y",n),u.setAttribute("width",a),u.setAttribute("height",o),i.appendChild(u),u}}]),t}();Ze.default=$u;var Ke={};Object.defineProperty(Ke,"__esModule",{value:!0});var xu=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function Su(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Ru=function(){function t(e,r,n){Su(this,t),this.object=e,this.encodings=r,this.options=n}return xu(t,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),t}();Ke.default=Ru;Object.defineProperty(Qe,"__esModule",{value:!0});var Au=Ye,Pu=et(Au),Tu=Ze,Mu=et(Tu),ku=Ke,Iu=et(ku);function et(t){return t&&t.__esModule?t:{default:t}}Qe.default={CanvasRenderer:Pu.default,SVGRenderer:Mu.default,ObjectRenderer:Iu.default};var z={};Object.defineProperty(z,"__esModule",{value:!0});function tt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function rt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Bu=function(t){rt(e,t);function e(r,n){tt(this,e);var a=nt(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return a.name="InvalidInputException",a.symbology=r,a.input=n,a.message='"'+a.input+'" is not a valid input for '+a.symbology,a}return e}(Error),Du=function(t){rt(e,t);function e(){tt(this,e);var r=nt(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.name="InvalidElementException",r.message="Not supported type to render on",r}return e}(Error),ju=function(t){rt(e,t);function e(){tt(this,e);var r=nt(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.name="NoElementException",r.message="No element to render on.",r}return e}(Error);z.InvalidInputException=Bu;z.InvalidElementException=Du;z.NoElementException=ju;Object.defineProperty(Je,"__esModule",{value:!0});var Lu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nu=We,Re=Ht(Nu),Cu=Qe,W=Ht(Cu),Gu=z;function Ht(t){return t&&t.__esModule?t:{default:t}}function at(t){if(typeof t=="string")return Fu(t);if(Array.isArray(t)){for(var e=[],r=0;r<t.length;r++)e.push(at(t[r]));return e}else{if(typeof HTMLCanvasElement<"u"&&t instanceof HTMLImageElement)return Hu(t);if(t&&t.nodeName&&t.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&t instanceof SVGElement)return{element:t,options:(0,Re.default)(t),renderer:W.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&t instanceof HTMLCanvasElement)return{element:t,options:(0,Re.default)(t),renderer:W.default.CanvasRenderer};if(t&&t.getContext)return{element:t,renderer:W.default.CanvasRenderer};if(t&&(typeof t>"u"?"undefined":Lu(t))==="object"&&!t.nodeName)return{element:t,renderer:W.default.ObjectRenderer};throw new Gu.InvalidElementException}}function Fu(t){var e=document.querySelectorAll(t);if(e.length!==0){for(var r=[],n=0;n<e.length;n++)r.push(at(e[n]));return r}}function Hu(t){var e=document.createElement("canvas");return{element:e,options:(0,Re.default)(t),renderer:W.default.CanvasRenderer,afterRender:function(){t.setAttribute("src",e.toDataURL())}}}Je.default=at;var ot={};Object.defineProperty(ot,"__esModule",{value:!0});var zu=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function Uu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Xu=function(){function t(e){Uu(this,t),this.api=e}return zu(t,[{key:"handleCatch",value:function(r){if(r.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw r.message;else throw r;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(r){try{var n=r.apply(void 0,arguments);return this.api._options.valid(!0),n}catch(a){return this.handleCatch(a),this.api}}}]),t}();ot.default=Xu;var Vu=Pe,A=S(Vu),qu=H,K=S(qu),Ju=Ve,zt=S(Ju),Wu=qe,bt=S(Wu),Qu=Je,Yu=S(Qu),Zu=_e,Ku=S(Zu),ef=ot,tf=S(ef),Ut=z,nf=ve,Xt=S(nf);function S(t){return t&&t.__esModule?t:{default:t}}var m=function(){},se=function(e,r,n){var a=new m;if(typeof e>"u")throw Error("No element to render on was provided.");return a._renderProperties=(0,Yu.default)(e),a._encodings=[],a._options=Xt.default,a._errorHandler=new tf.default(a),typeof r<"u"&&(n=n||{},n.format||(n.format=qt()),a.options(n)[n.format](r,n).render()),a};se.getModule=function(t){return A.default[t]};for(var Et in A.default)A.default.hasOwnProperty(Et)&&rf(A.default,Et);function rf(t,e){m.prototype[e]=m.prototype[e.toUpperCase()]=m.prototype[e.toLowerCase()]=function(r,n){var a=this;return a._errorHandler.wrapBarcodeCall(function(){n.text=typeof n.text>"u"?void 0:""+n.text;var o=(0,K.default)(a._options,n);o=(0,Ku.default)(o);var i=t[e],u=Vt(r,i,o);return a._encodings.push(u),a})}}function Vt(t,e,r){t=""+t;var n=new e(t,r);if(!n.valid())throw new Ut.InvalidInputException(n.constructor.name,t);var a=n.encode();a=(0,zt.default)(a);for(var o=0;o<a.length;o++)a[o].options=(0,K.default)(r,a[o].options);return a}function qt(){return A.default.CODE128?"CODE128":Object.keys(A.default)[0]}m.prototype.options=function(t){return this._options=(0,K.default)(this._options,t),this};m.prototype.blank=function(t){var e=new Array(t+1).join("0");return this._encodings.push({data:e}),this};m.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var t;for(var e in this._renderProperties){t=this._renderProperties[e];var r=(0,K.default)(this._options,t.options);r.format=="auto"&&(r.format=qt()),this._errorHandler.wrapBarcodeCall(function(){var n=r.value,a=A.default[r.format.toUpperCase()],o=Vt(n,a,r);Ae(t,o,r)})}}};m.prototype.render=function(){if(!this._renderProperties)throw new Ut.NoElementException;if(Array.isArray(this._renderProperties))for(var t=0;t<this._renderProperties.length;t++)Ae(this._renderProperties[t],this._encodings,this._options);else Ae(this._renderProperties,this._encodings,this._options);return this};m.prototype._defaults=Xt.default;function Ae(t,e,r){e=(0,zt.default)(e);for(var n=0;n<e.length;n++)e[n].options=(0,K.default)(r,e[n].options),(0,bt.default)(e[n].options);(0,bt.default)(r);var a=t.renderer,o=new a(t.element,e,r);o.render(),t.afterRender&&t.afterRender()}typeof window<"u"&&(window.JsBarcode=se);typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(t,e){var r=[];return jQuery(this).each(function(){r.push(this)}),se(r,t,e)});var af=se;const of=Kt(af);function Jt(t,e){const r=["svg","g"];for(let n=0;n<t.childNodes.length;n++){const a=t.childNodes[n];if(r.includes(a.tagName)){Jt(a,e.childNodes[n]);continue}const o=e.childNodes[n].currentStyle||window.getComputedStyle(e.childNodes[n]);if(!(o==="undefined"||o==null))for(let i=0;i<o.length;i++)a.style.setProperty(o[i],o.getPropertyValue(o[i]))}}function uf(t,e){const r=new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0}),n=document.createElement("a");n.setAttribute("download",e),n.setAttribute("href",t),n.setAttribute("target","_blank"),n.setAttribute("rel","noopener,noreferrer"),n.dispatchEvent(r)}function ff(t,e){const r=t.cloneNode(!0);Jt(r,t);const n=document.createElement("canvas"),a=t.getBBox();n.width=a.width,n.height=a.height;const o=n.getContext("2d");o.clearRect(0,0,a.width,a.height);const i=new XMLSerializer().serializeToString(r),u=window.URL||window.webkitURL||window,l=new Image,p=new Blob([i],{type:"image/svg+xml;charset=utf-8"}),d=u.createObjectURL(p);l.onload=function(){if(o.drawImage(l,0,0),u.revokeObjectURL(d),typeof navigator<"u"&&navigator.msSaveOrOpenBlob){const k=n.msToBlob();navigator.msSaveOrOpenBlob(k,e)}else{const k=n.toDataURL("image/png").replace("image/png","image/octet-stream");uf(k,e)}console.log(n)},l.src=d}const cf={class:"relative"},we=mt({__name:"JsBarcodeWrapper",props:{barcodeValue:{type:String,required:!0},barcodeFormat:{type:String,required:!0},customStyle:{type:Object,required:!1},showDownload:{type:Boolean,required:!1,default:!1}},emits:["onClickBarcode"],setup(t,{emit:e}){const r=t,n=e,a=q(en,N(!1)),o=N(),i=N(!1),u=()=>{try{if(of(o.value,String(r.barcodeValue),{format:r.barcodeFormat}),r.customStyle&&o.value)for(const d in r.customStyle)o.value.style.setProperty(d,r.customStyle[d]);i.value=!1}catch(d){console.log("e",d),i.value=!0}},l=()=>{o.value&&ff(o.value,`${r.barcodeValue}.png`)},p=d=>{d.stopPropagation(),n("onClickBarcode")};return tn([()=>r.barcodeValue,()=>r.barcodeFormat,()=>r.customStyle],u),nn(u),(d,k)=>{const ye=fn,I=cn,h=ln;return g(),R("div",cf,[rn((g(),R("svg",{ref_key:"barcodeSvgRef",ref:o,class:$e({"w-full":!f(a),"w-auto":f(a)}),"data-testid":"barcode",onClick:p},null,2)),[[an,!f(i)]]),f(i)?on(d.$slots,"barcodeRenderError",{key:0}):w("",!0),xe(h,{class:"!absolute bottom-0 right-0"},{title:$(()=>[un(L(d.$t("labels.clickToDownload")),1)]),default:$(()=>[r.showDownload?(g(),J(I,{key:0,size:"small",type:"secondary",onClick:l},{default:$(()=>[xe(ye,{icon:"download",class:"w-4 h-4"})]),_:1})):w("",!0)]),_:1})])}}}),Wt=t=>(bn("data-v-28d958e7"),t=t(),En(),t),lf={class:"text-left text-wrap mt-2 text-[#e65100] text-xs","data-testid":"barcode-invalid-input-message"},df={class:"text-left text-wrap mt-2 text-[#e65100] text-xs","data-testid":"barcode-invalid-input-message"},hf=Wt(()=>oe("span",{class:"font-bold"},"Please select a target field!",-1)),_f=Wt(()=>oe("span",null,"ERR!",-1)),vf={key:1,class:"nc-cell-field text-left text-wrap text-[#e65100] text-xs"},sf={key:2,class:"nc-cell-field text-left text-wrap mt-2 text-[#e65100] text-xs"},yf={key:3,class:"nc-cell-field text-left text-wrap mt-2 text-[#e65100] text-xs"},pf=100,gf=mt({__name:"Barcode",setup(t){const e=q(dn),r=q(hn),n=ee(()=>String((e==null?void 0:e.value)??"")),a=ee(()=>n.value.length>pf),o=N(!1),i=q(_n,N(!1)),u=()=>{o.value=!0},l=ee(()=>{var h;return{barcodeFormat:"CODE128",...vn((h=r==null?void 0:r.value)==null?void 0:h.meta)}}),p=()=>o.value=!1,d=ee(()=>(n==null?void 0:n.value.length)>0&&!a.value&&(n==null?void 0:n.value)!=="ERR!"),{showEditNonEditableFieldWarning:k,showClearNonEditableFieldWarning:ye}=wn(),I=q(sn,N(void 0));return(h,it)=>{const Qt=gn,Yt=On;return g(),R(pn,null,[xe(Qt,{visible:f(o),"onUpdate:visible":it[0]||(it[0]=Zt=>yn(o)?o.value=Zt:null),class:$e({active:f(o)}),"wrap-class-name":"nc-barcode-large","body-style":{padding:"0px"},footer:null,onOk:p},{default:$(()=>[f(d)?(g(),J(we,{key:0,"barcode-value":f(n),"barcode-format":f(l).barcodeFormat,"show-download":""},null,8,["barcode-value","barcode-format"])):w("",!0)]),_:1},8,["visible","class"]),f(a)?w("",!0):(g(),R("div",{key:0,class:$e(["flex w-full items-center barcode-wrapper",{"justify-start ml-2":f(i),"justify-center":!f(i)}])},[f(d)&&f(I)?(g(),J(we,{key:0,"barcode-value":f(n),tabindex:"-1","barcode-format":f(l).barcodeFormat,"custom-style":{height:f(I)?`${f(I)===1?("rowHeightInPx"in h?h.rowHeightInPx:f(ut))[1]-4:("rowHeightInPx"in h?h.rowHeightInPx:f(ut))[`${f(I)}`]-20}px`:"1.8rem"},class:"nc-barcode-container",onOnClickBarcode:u},{barcodeRenderError:$(()=>[oe("div",lf,L(h.$t("msg.warning.barcode.renderError")),1)]),_:1},8,["barcode-value","barcode-format","custom-style"])):f(d)?(g(),J(we,{key:1,tabindex:"-1","barcode-value":f(n),"barcode-format":f(l).barcodeFormat,class:"nc-barcode-container",onOnClickBarcode:u},{barcodeRenderError:$(()=>[oe("div",df,L(h.$t("msg.warning.barcode.renderError")),1)]),_:1},8,["barcode-value","barcode-format"])):!f(d)&&f(n)==="ERR!"?(g(),J(Yt,{key:2,placement:"bottom",class:"text-orange-700"},{title:$(()=>[hf]),default:$(()=>[_f]),_:1})):w("",!0)],2)),f(a)?(g(),R("div",vf,L(h.$t("labels.barcodeValueTooLong")),1)):w("",!0),f(k)?(g(),R("div",sf,L(h.$t("msg.warning.nonEditableFields.computedFieldUnableToClear")),1)):w("",!0),f(ye)?(g(),R("div",yf,L(h.$t("msg.warning.nonEditableFields.barcodeFieldsCannotBeDirectlyChanged")),1)):w("",!0)],64)}}}),wf=mn(gf,[["__scopeId","data-v-28d958e7"]]);export{wf as default};
|
1
|
+
import{gu as Kt,e as mt,S as q,r as N,cY as en,b as tn,$ as nn,k as g,a8 as R,F as rn,G as an,p as f,aU as $e,n as on,b1 as w,z as xe,m as $,aS as un,aT as L,l as J,aV as fn,aW as cn,aX as ln,d0 as dn,aJ as hn,f as ee,c3 as _n,bi as vn,c1 as sn,b_ as yn,a9 as oe,ay as pn,bX as gn,av as On,bx as bn,by as En,aQ as mn}from"./NHZFd8bQ.js";import{u as wn}from"./BQTbXctc.js";import{G as ut}from"./BjIWxehG.js";import"./Y45Pvb6W.js";var Pe={},ie={},v={};Object.defineProperty(v,"__esModule",{value:!0});function $n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var xn=function t(e,r){$n(this,t),this.data=e,this.text=r.text||e,this.options=r};v.default=xn;Object.defineProperty(ie,"__esModule",{value:!0});ie.CODE39=void 0;var Sn=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Rn=v,An=Pn(Rn);function Pn(t){return t&&t.__esModule?t:{default:t}}function Tn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function kn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var In=function(t){kn(e,t);function e(r,n){return Tn(this,e),r=r.toUpperCase(),n.mod43&&(r+=jn(Ln(r))),Mn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return Sn(e,[{key:"encode",value:function(){for(var n=pe("*"),a=0;a<this.data.length;a++)n+=pe(this.data[a])+"0";return n+=pe("*"),{data:n,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),e}(An.default),wt=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],Bn=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function pe(t){return Dn($t(t))}function Dn(t){return Bn[t].toString(2)}function jn(t){return wt[t]}function $t(t){return wt.indexOf(t)}function Ln(t){for(var e=0,r=0;r<t.length;r++)e+=$t(t[r]);return e=e%43,e}ie.CODE39=In;var E={},Te={},G={},c={};Object.defineProperty(c,"__esModule",{value:!0});var U;function ge(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xt=c.SET_A=0,St=c.SET_B=1,Rt=c.SET_C=2;c.SHIFT=98;var Nn=c.START_A=103,Cn=c.START_B=104,Gn=c.START_C=105;c.MODULO=103;c.STOP=106;c.FNC1=207;c.SET_BY_CODE=(U={},ge(U,Nn,xt),ge(U,Cn,St),ge(U,Gn,Rt),U);c.SWAP={101:xt,100:St,99:Rt};c.A_START_CHAR="Ð";c.B_START_CHAR="Ñ";c.C_START_CHAR="Ò";c.A_CHARS="[\0-_È-Ï]";c.B_CHARS="[ -È-Ï]";c.C_CHARS="(Ï*[0-9]{2}Ï*)";c.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011];Object.defineProperty(G,"__esModule",{value:!0});var Fn=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Hn=v,zn=Un(Hn),s=c;function Un(t){return t&&t.__esModule?t:{default:t}}function Xn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function qn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Jn=function(t){qn(e,t);function e(r,n){Xn(this,e);var a=Vn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r.substring(1),n));return a.bytes=r.split("").map(function(o){return o.charCodeAt(0)}),a}return Fn(e,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var n=this.bytes,a=n.shift()-105,o=s.SET_BY_CODE[a];if(o===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&n.unshift(s.FNC1);var i=e.next(n,1,o);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:e.getBar(a)+i.result+e.getBar((i.checksum+a)%s.MODULO)+e.getBar(s.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var n=this.options.ean128||!1;return typeof n=="string"&&(n=n.toLowerCase()==="true"),n}}],[{key:"getBar",value:function(n){return s.BARS[n]?s.BARS[n].toString():""}},{key:"correctIndex",value:function(n,a){if(a===s.SET_A){var o=n.shift();return o<32?o+64:o-32}else return a===s.SET_B?n.shift()-32:(n.shift()-48)*10+n.shift()-48}},{key:"next",value:function(n,a,o){if(!n.length)return{result:"",checksum:0};var i=void 0,u=void 0;if(n[0]>=200){u=n.shift()-105;var l=s.SWAP[u];l!==void 0?i=e.next(n,a+1,l):((o===s.SET_A||o===s.SET_B)&&u===s.SHIFT&&(n[0]=o===s.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),i=e.next(n,a+1,o))}else u=e.correctIndex(n,o),i=e.next(n,a+1,o);var p=e.getBar(u),d=u*a;return{result:p+i.result,checksum:d+i.checksum}}}]),e}(zn.default);G.default=Jn;var Me={};Object.defineProperty(Me,"__esModule",{value:!0});var x=c,At=function(e){return e.match(new RegExp("^"+x.A_CHARS+"*"))[0].length},Pt=function(e){return e.match(new RegExp("^"+x.B_CHARS+"*"))[0].length},Tt=function(e){return e.match(new RegExp("^"+x.C_CHARS+"*"))[0]};function ke(t,e){var r=e?x.A_CHARS:x.B_CHARS,n=t.match(new RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(n)return n[1]+"Ì"+Mt(t.substring(n[1].length));var a=t.match(new RegExp("^"+r+"+"))[0];return a.length===t.length?t:a+String.fromCharCode(e?205:206)+ke(t.substring(a.length),!e)}function Mt(t){var e=Tt(t),r=e.length;if(r===t.length)return t;t=t.substring(r);var n=At(t)>=Pt(t);return e+String.fromCharCode(n?206:205)+ke(t,n)}Me.default=function(t){var e=void 0,r=Tt(t).length;if(r>=2)e=x.C_START_CHAR+Mt(t);else{var n=At(t)>Pt(t);e=(n?x.A_START_CHAR:x.B_START_CHAR)+ke(t,n)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(a,o){return"Ë"+o})};Object.defineProperty(Te,"__esModule",{value:!0});var Wn=G,Qn=kt(Wn),Yn=Me,Zn=kt(Yn);function kt(t){return t&&t.__esModule?t:{default:t}}function Kn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oe(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function er(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var tr=function(t){er(e,t);function e(r,n){if(Kn(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(r))var a=Oe(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,Zn.default)(r),n));else var a=Oe(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return Oe(a)}return e}(Qn.default);Te.default=tr;var Ie={};Object.defineProperty(Ie,"__esModule",{value:!0});var nr=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),rr=G,ar=or(rr),ft=c;function or(t){return t&&t.__esModule?t:{default:t}}function ir(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ur(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function fr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var cr=function(t){fr(e,t);function e(r,n){return ir(this,e),ur(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,ft.A_START_CHAR+r,n))}return nr(e,[{key:"valid",value:function(){return new RegExp("^"+ft.A_CHARS+"+$").test(this.data)}}]),e}(ar.default);Ie.default=cr;var Be={};Object.defineProperty(Be,"__esModule",{value:!0});var lr=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),dr=G,hr=_r(dr),ct=c;function _r(t){return t&&t.__esModule?t:{default:t}}function vr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sr(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function yr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var pr=function(t){yr(e,t);function e(r,n){return vr(this,e),sr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,ct.B_START_CHAR+r,n))}return lr(e,[{key:"valid",value:function(){return new RegExp("^"+ct.B_CHARS+"+$").test(this.data)}}]),e}(hr.default);Be.default=pr;var De={};Object.defineProperty(De,"__esModule",{value:!0});var gr=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Or=G,br=Er(Or),lt=c;function Er(t){return t&&t.__esModule?t:{default:t}}function mr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wr(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function $r(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var xr=function(t){$r(e,t);function e(r,n){return mr(this,e),wr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,lt.C_START_CHAR+r,n))}return gr(e,[{key:"valid",value:function(){return new RegExp("^"+lt.C_CHARS+"+$").test(this.data)}}]),e}(br.default);De.default=xr;Object.defineProperty(E,"__esModule",{value:!0});E.CODE128C=E.CODE128B=E.CODE128A=E.CODE128=void 0;var Sr=Te,Rr=ue(Sr),Ar=Ie,Pr=ue(Ar),Tr=Be,Mr=ue(Tr),kr=De,Ir=ue(kr);function ue(t){return t&&t.__esModule?t:{default:t}}E.CODE128=Rr.default;E.CODE128A=Pr.default;E.CODE128B=Mr.default;E.CODE128C=Ir.default;var _={},je={},b={};Object.defineProperty(b,"__esModule",{value:!0});b.SIDE_BIN="101";b.MIDDLE_BIN="01010";b.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]};b.EAN2_STRUCTURE=["LL","LG","GL","GG"];b.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"];b.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"];var fe={},P={};Object.defineProperty(P,"__esModule",{value:!0});var Br=b,Dr=function(e,r,n){var a=e.split("").map(function(i,u){return Br.BINARIES[r[u]]}).map(function(i,u){return i?i[e[u]]:""});if(n){var o=e.length-1;a=a.map(function(i,u){return u<o?i+n:i})}return a.join("")};P.default=Dr;Object.defineProperty(fe,"__esModule",{value:!0});var jr=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),B=b,Lr=P,dt=It(Lr),Nr=v,Cr=It(Nr);function It(t){return t&&t.__esModule?t:{default:t}}function Gr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fr(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Hr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var zr=function(t){Hr(e,t);function e(r,n){Gr(this,e);var a=Fr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return a.fontSize=!n.flat&&n.fontSize>n.width*10?n.width*10:n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return jr(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(n,a){return this.text.substr(n,a)}},{key:"leftEncode",value:function(n,a){return(0,dt.default)(n,a)}},{key:"rightText",value:function(n,a){return this.text.substr(n,a)}},{key:"rightEncode",value:function(n,a){return(0,dt.default)(n,a)}},{key:"encodeGuarded",value:function(){var n={fontSize:this.fontSize},a={height:this.guardHeight};return[{data:B.SIDE_BIN,options:a},{data:this.leftEncode(),text:this.leftText(),options:n},{data:B.MIDDLE_BIN,options:a},{data:this.rightEncode(),text:this.rightText(),options:n},{data:B.SIDE_BIN,options:a}]}},{key:"encodeFlat",value:function(){var n=[B.SIDE_BIN,this.leftEncode(),B.MIDDLE_BIN,this.rightEncode(),B.SIDE_BIN];return{data:n.join(""),text:this.text}}}]),e}(Cr.default);fe.default=zr;Object.defineProperty(je,"__esModule",{value:!0});var Ur=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),X=function t(e,r,n){e===null&&(e=Function.prototype);var a=Object.getOwnPropertyDescriptor(e,r);if(a===void 0){var o=Object.getPrototypeOf(e);return o===null?void 0:t(o,r,n)}else{if("value"in a)return a.value;var i=a.get;return i===void 0?void 0:i.call(n)}},Xr=b,Vr=fe,qr=Jr(Vr);function Jr(t){return t&&t.__esModule?t:{default:t}}function Wr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Yr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ht=function(e){var r=e.substr(0,12).split("").map(function(n){return+n}).reduce(function(n,a,o){return o%2?n+a*3:n+a},0);return(10-r%10)%10},Zr=function(t){Yr(e,t);function e(r,n){Wr(this,e),r.search(/^[0-9]{12}$/)!==-1&&(r+=ht(r));var a=Qr(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return a.lastChar=n.lastChar,a}return Ur(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===ht(this.data)}},{key:"leftText",value:function(){return X(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var n=this.data.substr(1,6),a=Xr.EAN13_STRUCTURE[this.data[0]];return X(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,n,a)}},{key:"rightText",value:function(){return X(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var n=this.data.substr(7,6);return X(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,n,"RRRRRR")}},{key:"encodeGuarded",value:function(){var n=X(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(n.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(n.push({data:"00"}),n.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),n}}]),e}(qr.default);je.default=Zr;var Le={};Object.defineProperty(Le,"__esModule",{value:!0});var Kr=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),te=function t(e,r,n){e===null&&(e=Function.prototype);var a=Object.getOwnPropertyDescriptor(e,r);if(a===void 0){var o=Object.getPrototypeOf(e);return o===null?void 0:t(o,r,n)}else{if("value"in a)return a.value;var i=a.get;return i===void 0?void 0:i.call(n)}},ea=fe,ta=na(ea);function na(t){return t&&t.__esModule?t:{default:t}}function ra(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aa(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function oa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var _t=function(e){var r=e.substr(0,7).split("").map(function(n){return+n}).reduce(function(n,a,o){return o%2?n+a:n+a*3},0);return(10-r%10)%10},ia=function(t){oa(e,t);function e(r,n){return ra(this,e),r.search(/^[0-9]{7}$/)!==-1&&(r+=_t(r)),aa(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return Kr(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===_t(this.data)}},{key:"leftText",value:function(){return te(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var n=this.data.substr(0,4);return te(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,n,"LLLL")}},{key:"rightText",value:function(){return te(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var n=this.data.substr(4,4);return te(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,n,"RRRR")}}]),e}(ta.default);Le.default=ia;var Ne={};Object.defineProperty(Ne,"__esModule",{value:!0});var ua=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),fa=b,ca=P,la=Bt(ca),da=v,ha=Bt(da);function Bt(t){return t&&t.__esModule?t:{default:t}}function _a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function va(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function sa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ya=function(e){var r=e.split("").map(function(n){return+n}).reduce(function(n,a,o){return o%2?n+a*9:n+a*3},0);return r%10},pa=function(t){sa(e,t);function e(r,n){return _a(this,e),va(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return ua(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var n=fa.EAN5_STRUCTURE[ya(this.data)];return{data:"1011"+(0,la.default)(this.data,n,"01"),text:this.text}}}]),e}(ha.default);Ne.default=pa;var Ce={};Object.defineProperty(Ce,"__esModule",{value:!0});var ga=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Oa=b,ba=P,Ea=Dt(ba),ma=v,wa=Dt(ma);function Dt(t){return t&&t.__esModule?t:{default:t}}function $a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xa(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Sa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ra=function(t){Sa(e,t);function e(r,n){return $a(this,e),xa(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return ga(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var n=Oa.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,Ea.default)(this.data,n,"01"),text:this.text}}}]),e}(wa.default);Ce.default=Ra;var Q={};Object.defineProperty(Q,"__esModule",{value:!0});var Aa=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();Q.checksum=Se;var Pa=P,D=jt(Pa),Ta=v,Ma=jt(Ta);function jt(t){return t&&t.__esModule?t:{default:t}}function ka(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ia(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ba(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Da=function(t){Ba(e,t);function e(r,n){ka(this,e),r.search(/^[0-9]{11}$/)!==-1&&(r+=Se(r));var a=Ia(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return a.displayValue=n.displayValue,n.fontSize>n.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return Aa(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==Se(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=(0,D.default)(this.data.substr(0,6),"LLLLLL"),n+="01010",n+=(0,D.default)(this.data.substr(6,6),"RRRRRR"),n+="101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101"+(0,D.default)(this.data[0],"L"),options:{height:this.guardHeight}}),n.push({data:(0,D.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),n.push({data:"01010",options:{height:this.guardHeight}}),n.push({data:(0,D.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),n.push({data:(0,D.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),n}}]),e}(Ma.default);function Se(t){var e=0,r;for(r=1;r<11;r+=2)e+=parseInt(t[r]);for(r=0;r<11;r+=2)e+=parseInt(t[r])*3;return(10-e%10)%10}Q.default=Da;var Ge={};Object.defineProperty(Ge,"__esModule",{value:!0});var ja=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),La=P,Na=Lt(La),Ca=v,Ga=Lt(Ca),Fa=Q;function Lt(t){return t&&t.__esModule?t:{default:t}}function Ha(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function be(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function za(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ua=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],Xa=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],Va=function(t){za(e,t);function e(r,n){Ha(this,e);var a=be(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));if(a.isValid=!1,r.search(/^[0-9]{6}$/)!==-1)a.middleDigits=r,a.upcA=vt(r,"0"),a.text=n.text||""+a.upcA[0]+r+a.upcA[a.upcA.length-1],a.isValid=!0;else if(r.search(/^[01][0-9]{7}$/)!==-1)if(a.middleDigits=r.substring(1,r.length-1),a.upcA=vt(a.middleDigits,r[0]),a.upcA[a.upcA.length-1]===r[r.length-1])a.isValid=!0;else return be(a);else return be(a);return a.displayValue=n.displayValue,n.fontSize>n.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return ja(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=this.encodeMiddleDigits(),n+="010101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101",options:{height:this.guardHeight}}),n.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),n.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),n}},{key:"encodeMiddleDigits",value:function(){var n=this.upcA[0],a=this.upcA[this.upcA.length-1],o=Xa[parseInt(a)][parseInt(n)];return(0,Na.default)(this.middleDigits,o)}}]),e}(Ga.default);function vt(t,e){for(var r=parseInt(t[t.length-1]),n=Ua[r],a="",o=0,i=0;i<n.length;i++){var u=n[i];u==="X"?a+=t[o++]:a+=u}return a=""+e+a,""+a+(0,Fa.checksum)(a)}Ge.default=Va;Object.defineProperty(_,"__esModule",{value:!0});_.UPCE=_.UPC=_.EAN2=_.EAN5=_.EAN8=_.EAN13=void 0;var qa=je,Ja=F(qa),Wa=Le,Qa=F(Wa),Ya=Ne,Za=F(Ya),Ka=Ce,eo=F(Ka),to=Q,no=F(to),ro=Ge,ao=F(ro);function F(t){return t&&t.__esModule?t:{default:t}}_.EAN13=Ja.default;_.EAN8=Qa.default;_.EAN5=Za.default;_.EAN2=eo.default;_.UPC=no.default;_.UPCE=ao.default;var C={},ce={},Y={};Object.defineProperty(Y,"__esModule",{value:!0});Y.START_BIN="1010";Y.END_BIN="11101";Y.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"];Object.defineProperty(ce,"__esModule",{value:!0});var oo=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),ne=Y,io=v,uo=fo(io);function fo(t){return t&&t.__esModule?t:{default:t}}function co(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lo(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ho(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var _o=function(t){ho(e,t);function e(){return co(this,e),lo(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return oo(e,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var n=this,a=this.data.match(/.{2}/g).map(function(o){return n.encodePair(o)}).join("");return{data:ne.START_BIN+a+ne.END_BIN,text:this.text}}},{key:"encodePair",value:function(n){var a=ne.BINARIES[n[1]];return ne.BINARIES[n[0]].split("").map(function(o,i){return(o==="1"?"111":"1")+(a[i]==="1"?"000":"0")}).join("")}}]),e}(uo.default);ce.default=_o;var Fe={};Object.defineProperty(Fe,"__esModule",{value:!0});var vo=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),so=ce,yo=po(so);function po(t){return t&&t.__esModule?t:{default:t}}function go(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oo(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function bo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var st=function(e){var r=e.substr(0,13).split("").map(function(n){return parseInt(n,10)}).reduce(function(n,a,o){return n+a*(3-o%2*2)},0);return Math.ceil(r/10)*10-r},Eo=function(t){bo(e,t);function e(r,n){return go(this,e),r.search(/^[0-9]{13}$/)!==-1&&(r+=st(r)),Oo(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return vo(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===st(this.data)}}]),e}(yo.default);Fe.default=Eo;Object.defineProperty(C,"__esModule",{value:!0});C.ITF14=C.ITF=void 0;var mo=ce,wo=Nt(mo),$o=Fe,xo=Nt($o);function Nt(t){return t&&t.__esModule?t:{default:t}}C.ITF=wo.default;C.ITF14=xo.default;var O={},T={};Object.defineProperty(T,"__esModule",{value:!0});var So=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Ro=v,Ao=Po(Ro);function Po(t){return t&&t.__esModule?t:{default:t}}function To(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mo(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ko(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Io=function(t){ko(e,t);function e(r,n){return To(this,e),Mo(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return So(e,[{key:"encode",value:function(){for(var n="110",a=0;a<this.data.length;a++){var o=parseInt(this.data[a]),i=o.toString(2);i=Bo(i,4-i.length);for(var u=0;u<i.length;u++)n+=i[u]=="0"?"100":"110"}return n+="1001",{data:n,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),e}(Ao.default);function Bo(t,e){for(var r=0;r<e;r++)t="0"+t;return t}T.default=Io;var He={},M={};Object.defineProperty(M,"__esModule",{value:!0});M.mod10=Do;M.mod11=jo;function Do(t){for(var e=0,r=0;r<t.length;r++){var n=parseInt(t[r]);(r+t.length)%2===0?e+=n:e+=n*2%10+Math.floor(n*2/10)}return(10-e%10)%10}function jo(t){for(var e=0,r=[2,3,4,5,6,7],n=0;n<t.length;n++){var a=parseInt(t[t.length-1-n]);e+=r[n%r.length]*a}return(11-e%11)%11}Object.defineProperty(He,"__esModule",{value:!0});var Lo=T,No=Go(Lo),Co=M;function Go(t){return t&&t.__esModule?t:{default:t}}function Fo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ho(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function zo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Uo=function(t){zo(e,t);function e(r,n){return Fo(this,e),Ho(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r+(0,Co.mod10)(r),n))}return e}(No.default);He.default=Uo;var ze={};Object.defineProperty(ze,"__esModule",{value:!0});var Xo=T,Vo=Jo(Xo),qo=M;function Jo(t){return t&&t.__esModule?t:{default:t}}function Wo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qo(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Yo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Zo=function(t){Yo(e,t);function e(r,n){return Wo(this,e),Qo(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r+(0,qo.mod11)(r),n))}return e}(Vo.default);ze.default=Zo;var Ue={};Object.defineProperty(Ue,"__esModule",{value:!0});var Ko=T,ei=ti(Ko),yt=M;function ti(t){return t&&t.__esModule?t:{default:t}}function ni(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ri(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ai(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var oi=function(t){ai(e,t);function e(r,n){return ni(this,e),r+=(0,yt.mod10)(r),r+=(0,yt.mod10)(r),ri(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return e}(ei.default);Ue.default=oi;var Xe={};Object.defineProperty(Xe,"__esModule",{value:!0});var ii=T,ui=fi(ii),pt=M;function fi(t){return t&&t.__esModule?t:{default:t}}function ci(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function li(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function di(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var hi=function(t){di(e,t);function e(r,n){return ci(this,e),r+=(0,pt.mod11)(r),r+=(0,pt.mod10)(r),li(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return e}(ui.default);Xe.default=hi;Object.defineProperty(O,"__esModule",{value:!0});O.MSI1110=O.MSI1010=O.MSI11=O.MSI10=O.MSI=void 0;var _i=T,vi=Z(_i),si=He,yi=Z(si),pi=ze,gi=Z(pi),Oi=Ue,bi=Z(Oi),Ei=Xe,mi=Z(Ei);function Z(t){return t&&t.__esModule?t:{default:t}}O.MSI=vi.default;O.MSI10=yi.default;O.MSI11=gi.default;O.MSI1010=bi.default;O.MSI1110=mi.default;var le={};Object.defineProperty(le,"__esModule",{value:!0});le.pharmacode=void 0;var wi=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),$i=v,xi=Si($i);function Si(t){return t&&t.__esModule?t:{default:t}}function Ri(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ai(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Pi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ti=function(t){Pi(e,t);function e(r,n){Ri(this,e);var a=Ai(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return a.number=parseInt(r,10),a}return wi(e,[{key:"encode",value:function(){for(var n=this.number,a="";!isNaN(n)&&n!=0;)n%2===0?(a="11100"+a,n=(n-2)/2):(a="100"+a,n=(n-1)/2);return a=a.slice(0,-2),{data:a,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),e}(xi.default);le.pharmacode=Ti;var de={};Object.defineProperty(de,"__esModule",{value:!0});de.codabar=void 0;var Mi=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),ki=v,Ii=Bi(ki);function Bi(t){return t&&t.__esModule?t:{default:t}}function Di(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ji(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Li(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ni=function(t){Li(e,t);function e(r,n){Di(this,e),r.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(r="A"+r+"A");var a=ji(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r.toUpperCase(),n));return a.text=a.options.text||a.text.replace(/[A-D]/g,""),a}return Mi(e,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var n=[],a=this.getEncodings(),o=0;o<this.data.length;o++)n.push(a[this.data.charAt(o)]),o!==this.data.length-1&&n.push("0");return{text:this.text,data:n.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),e}(Ii.default);de.codabar=Ni;var he={};Object.defineProperty(he,"__esModule",{value:!0});he.GenericBarcode=void 0;var Ci=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Gi=v,Fi=Hi(Gi);function Hi(t){return t&&t.__esModule?t:{default:t}}function zi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ui(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Xi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Vi=function(t){Xi(e,t);function e(r,n){return zi(this,e),Ui(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n))}return Ci(e,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e}(Fi.default);he.GenericBarcode=Vi;Object.defineProperty(Pe,"__esModule",{value:!0});var qi=ie,re=E,j=_,gt=C,V=O,Ji=le,Wi=de,Qi=he;Pe.default={CODE39:qi.CODE39,CODE128:re.CODE128,CODE128A:re.CODE128A,CODE128B:re.CODE128B,CODE128C:re.CODE128C,EAN13:j.EAN13,EAN8:j.EAN8,EAN5:j.EAN5,EAN2:j.EAN2,UPC:j.UPC,UPCE:j.UPCE,ITF14:gt.ITF14,ITF:gt.ITF,MSI:V.MSI,MSI10:V.MSI10,MSI11:V.MSI11,MSI1010:V.MSI1010,MSI1110:V.MSI1110,pharmacode:Ji.pharmacode,codabar:Wi.codabar,GenericBarcode:Qi.GenericBarcode};var H={};Object.defineProperty(H,"__esModule",{value:!0});var Yi=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};H.default=function(t,e){return Yi({},t,e)};var Ve={};Object.defineProperty(Ve,"__esModule",{value:!0});Ve.default=Zi;function Zi(t){var e=[];function r(n){if(Array.isArray(n))for(var a=0;a<n.length;a++)r(n[a]);else n.text=n.text||"",n.data=n.data||"",e.push(n)}return r(t),e}var qe={};Object.defineProperty(qe,"__esModule",{value:!0});qe.default=Ki;function Ki(t){return t.marginTop=t.marginTop||t.margin,t.marginBottom=t.marginBottom||t.margin,t.marginRight=t.marginRight||t.margin,t.marginLeft=t.marginLeft||t.margin,t}var Je={},We={},_e={};Object.defineProperty(_e,"__esModule",{value:!0});_e.default=eu;function eu(t){var e=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var r in e)e.hasOwnProperty(r)&&(r=e[r],typeof t[r]=="string"&&(t[r]=parseInt(t[r],10)));return typeof t.displayValue=="string"&&(t.displayValue=t.displayValue!="false"),t}var ve={};Object.defineProperty(ve,"__esModule",{value:!0});var tu={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};ve.default=tu;Object.defineProperty(We,"__esModule",{value:!0});var nu=_e,ru=Ct(nu),au=ve,Ot=Ct(au);function Ct(t){return t&&t.__esModule?t:{default:t}}function ou(t){var e={};for(var r in Ot.default)Ot.default.hasOwnProperty(r)&&(t.hasAttribute("jsbarcode-"+r.toLowerCase())&&(e[r]=t.getAttribute("jsbarcode-"+r.toLowerCase())),t.hasAttribute("data-"+r.toLowerCase())&&(e[r]=t.getAttribute("data-"+r.toLowerCase())));return e.value=t.getAttribute("jsbarcode-value")||t.getAttribute("data-value"),e=(0,ru.default)(e),e}We.default=ou;var Qe={},Ye={},y={};Object.defineProperty(y,"__esModule",{value:!0});y.getTotalWidthOfEncodings=y.calculateEncodingAttributes=y.getBarcodePadding=y.getEncodingHeight=y.getMaximumHeightOfEncodings=void 0;var iu=H,uu=fu(iu);function fu(t){return t&&t.__esModule?t:{default:t}}function Gt(t,e){return e.height+(e.displayValue&&t.text.length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function Ft(t,e,r){if(r.displayValue&&e<t){if(r.textAlign=="center")return Math.floor((t-e)/2);if(r.textAlign=="left")return 0;if(r.textAlign=="right")return Math.floor(t-e)}return 0}function cu(t,e,r){for(var n=0;n<t.length;n++){var a=t[n],o=(0,uu.default)(e,a.options),i;o.displayValue?i=hu(a.text,o,r):i=0;var u=a.data.length*o.width;a.width=Math.ceil(Math.max(i,u)),a.height=Gt(a,o),a.barcodePadding=Ft(i,u,o)}}function lu(t){for(var e=0,r=0;r<t.length;r++)e+=t[r].width;return e}function du(t){for(var e=0,r=0;r<t.length;r++)t[r].height>e&&(e=t[r].height);return e}function hu(t,e,r){var n;if(r)n=r;else if(typeof document<"u")n=document.createElement("canvas").getContext("2d");else return 0;n.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var a=n.measureText(t);if(!a)return 0;var o=a.width;return o}y.getMaximumHeightOfEncodings=du;y.getEncodingHeight=Gt;y.getBarcodePadding=Ft;y.calculateEncodingAttributes=cu;y.getTotalWidthOfEncodings=lu;Object.defineProperty(Ye,"__esModule",{value:!0});var _u=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),vu=H,su=yu(vu),Ee=y;function yu(t){return t&&t.__esModule?t:{default:t}}function pu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var gu=function(){function t(e,r,n){pu(this,t),this.canvas=e,this.encodings=r,this.options=n}return _u(t,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var r=0;r<this.encodings.length;r++){var n=(0,su.default)(this.options,this.encodings[r].options);this.drawCanvasBarcode(n,this.encodings[r]),this.drawCanvasText(n,this.encodings[r]),this.moveCanvasDrawing(this.encodings[r])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var r=this.canvas.getContext("2d");r.save(),(0,Ee.calculateEncodingAttributes)(this.encodings,this.options,r);var n=(0,Ee.getTotalWidthOfEncodings)(this.encodings),a=(0,Ee.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=n+this.options.marginLeft+this.options.marginRight,this.canvas.height=a,r.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(r.fillStyle=this.options.background,r.fillRect(0,0,this.canvas.width,this.canvas.height)),r.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(r,n){var a=this.canvas.getContext("2d"),o=n.data,i;r.textPosition=="top"?i=r.marginTop+r.fontSize+r.textMargin:i=r.marginTop,a.fillStyle=r.lineColor;for(var u=0;u<o.length;u++){var l=u*r.width+n.barcodePadding;o[u]==="1"?a.fillRect(l,i,r.width,r.height):o[u]&&a.fillRect(l,i,r.width,r.height*o[u])}}},{key:"drawCanvasText",value:function(r,n){var a=this.canvas.getContext("2d"),o=r.fontOptions+" "+r.fontSize+"px "+r.font;if(r.displayValue){var i,u;r.textPosition=="top"?u=r.marginTop+r.fontSize-r.textMargin:u=r.height+r.textMargin+r.marginTop+r.fontSize,a.font=o,r.textAlign=="left"||n.barcodePadding>0?(i=0,a.textAlign="left"):r.textAlign=="right"?(i=n.width-1,a.textAlign="right"):(i=n.width/2,a.textAlign="center"),a.fillText(n.text,i,u)}}},{key:"moveCanvasDrawing",value:function(r){var n=this.canvas.getContext("2d");n.translate(r.width,0)}},{key:"restoreCanvas",value:function(){var r=this.canvas.getContext("2d");r.restore()}}]),t}();Ye.default=gu;var Ze={};Object.defineProperty(Ze,"__esModule",{value:!0});var Ou=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),bu=H,Eu=mu(bu),me=y;function mu(t){return t&&t.__esModule?t:{default:t}}function wu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var ae="http://www.w3.org/2000/svg",$u=function(){function t(e,r,n){wu(this,t),this.svg=e,this.encodings=r,this.options=n,this.document=n.xmlDocument||document}return Ou(t,[{key:"render",value:function(){var r=this.options.marginLeft;this.prepareSVG();for(var n=0;n<this.encodings.length;n++){var a=this.encodings[n],o=(0,Eu.default)(this.options,a.options),i=this.createGroup(r,o.marginTop,this.svg);this.setGroupOptions(i,o),this.drawSvgBarcode(i,o,a),this.drawSVGText(i,o,a),r+=a.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,me.calculateEncodingAttributes)(this.encodings,this.options);var r=(0,me.getTotalWidthOfEncodings)(this.encodings),n=(0,me.getMaximumHeightOfEncodings)(this.encodings),a=r+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(a,n),this.options.background&&this.drawRect(0,0,a,n,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(r,n,a){var o=a.data,i;n.textPosition=="top"?i=n.fontSize+n.textMargin:i=0;for(var u=0,l=0,p=0;p<o.length;p++)l=p*n.width+a.barcodePadding,o[p]==="1"?u++:u>0&&(this.drawRect(l-n.width*u,i,n.width*u,n.height,r),u=0);u>0&&this.drawRect(l-n.width*(u-1),i,n.width*u,n.height,r)}},{key:"drawSVGText",value:function(r,n,a){var o=this.document.createElementNS(ae,"text");if(n.displayValue){var i,u;o.setAttribute("style","font:"+n.fontOptions+" "+n.fontSize+"px "+n.font),n.textPosition=="top"?u=n.fontSize-n.textMargin:u=n.height+n.textMargin+n.fontSize,n.textAlign=="left"||a.barcodePadding>0?(i=0,o.setAttribute("text-anchor","start")):n.textAlign=="right"?(i=a.width-1,o.setAttribute("text-anchor","end")):(i=a.width/2,o.setAttribute("text-anchor","middle")),o.setAttribute("x",i),o.setAttribute("y",u),o.appendChild(this.document.createTextNode(a.text)),r.appendChild(o)}}},{key:"setSvgAttributes",value:function(r,n){var a=this.svg;a.setAttribute("width",r+"px"),a.setAttribute("height",n+"px"),a.setAttribute("x","0px"),a.setAttribute("y","0px"),a.setAttribute("viewBox","0 0 "+r+" "+n),a.setAttribute("xmlns",ae),a.setAttribute("version","1.1"),a.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(r,n,a){var o=this.document.createElementNS(ae,"g");return o.setAttribute("transform","translate("+r+", "+n+")"),a.appendChild(o),o}},{key:"setGroupOptions",value:function(r,n){r.setAttribute("style","fill:"+n.lineColor+";")}},{key:"drawRect",value:function(r,n,a,o,i){var u=this.document.createElementNS(ae,"rect");return u.setAttribute("x",r),u.setAttribute("y",n),u.setAttribute("width",a),u.setAttribute("height",o),i.appendChild(u),u}}]),t}();Ze.default=$u;var Ke={};Object.defineProperty(Ke,"__esModule",{value:!0});var xu=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function Su(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Ru=function(){function t(e,r,n){Su(this,t),this.object=e,this.encodings=r,this.options=n}return xu(t,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),t}();Ke.default=Ru;Object.defineProperty(Qe,"__esModule",{value:!0});var Au=Ye,Pu=et(Au),Tu=Ze,Mu=et(Tu),ku=Ke,Iu=et(ku);function et(t){return t&&t.__esModule?t:{default:t}}Qe.default={CanvasRenderer:Pu.default,SVGRenderer:Mu.default,ObjectRenderer:Iu.default};var z={};Object.defineProperty(z,"__esModule",{value:!0});function tt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function rt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Bu=function(t){rt(e,t);function e(r,n){tt(this,e);var a=nt(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return a.name="InvalidInputException",a.symbology=r,a.input=n,a.message='"'+a.input+'" is not a valid input for '+a.symbology,a}return e}(Error),Du=function(t){rt(e,t);function e(){tt(this,e);var r=nt(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.name="InvalidElementException",r.message="Not supported type to render on",r}return e}(Error),ju=function(t){rt(e,t);function e(){tt(this,e);var r=nt(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.name="NoElementException",r.message="No element to render on.",r}return e}(Error);z.InvalidInputException=Bu;z.InvalidElementException=Du;z.NoElementException=ju;Object.defineProperty(Je,"__esModule",{value:!0});var Lu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nu=We,Re=Ht(Nu),Cu=Qe,W=Ht(Cu),Gu=z;function Ht(t){return t&&t.__esModule?t:{default:t}}function at(t){if(typeof t=="string")return Fu(t);if(Array.isArray(t)){for(var e=[],r=0;r<t.length;r++)e.push(at(t[r]));return e}else{if(typeof HTMLCanvasElement<"u"&&t instanceof HTMLImageElement)return Hu(t);if(t&&t.nodeName&&t.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&t instanceof SVGElement)return{element:t,options:(0,Re.default)(t),renderer:W.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&t instanceof HTMLCanvasElement)return{element:t,options:(0,Re.default)(t),renderer:W.default.CanvasRenderer};if(t&&t.getContext)return{element:t,renderer:W.default.CanvasRenderer};if(t&&(typeof t>"u"?"undefined":Lu(t))==="object"&&!t.nodeName)return{element:t,renderer:W.default.ObjectRenderer};throw new Gu.InvalidElementException}}function Fu(t){var e=document.querySelectorAll(t);if(e.length!==0){for(var r=[],n=0;n<e.length;n++)r.push(at(e[n]));return r}}function Hu(t){var e=document.createElement("canvas");return{element:e,options:(0,Re.default)(t),renderer:W.default.CanvasRenderer,afterRender:function(){t.setAttribute("src",e.toDataURL())}}}Je.default=at;var ot={};Object.defineProperty(ot,"__esModule",{value:!0});var zu=function(){function t(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function Uu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Xu=function(){function t(e){Uu(this,t),this.api=e}return zu(t,[{key:"handleCatch",value:function(r){if(r.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw r.message;else throw r;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(r){try{var n=r.apply(void 0,arguments);return this.api._options.valid(!0),n}catch(a){return this.handleCatch(a),this.api}}}]),t}();ot.default=Xu;var Vu=Pe,A=S(Vu),qu=H,K=S(qu),Ju=Ve,zt=S(Ju),Wu=qe,bt=S(Wu),Qu=Je,Yu=S(Qu),Zu=_e,Ku=S(Zu),ef=ot,tf=S(ef),Ut=z,nf=ve,Xt=S(nf);function S(t){return t&&t.__esModule?t:{default:t}}var m=function(){},se=function(e,r,n){var a=new m;if(typeof e>"u")throw Error("No element to render on was provided.");return a._renderProperties=(0,Yu.default)(e),a._encodings=[],a._options=Xt.default,a._errorHandler=new tf.default(a),typeof r<"u"&&(n=n||{},n.format||(n.format=qt()),a.options(n)[n.format](r,n).render()),a};se.getModule=function(t){return A.default[t]};for(var Et in A.default)A.default.hasOwnProperty(Et)&&rf(A.default,Et);function rf(t,e){m.prototype[e]=m.prototype[e.toUpperCase()]=m.prototype[e.toLowerCase()]=function(r,n){var a=this;return a._errorHandler.wrapBarcodeCall(function(){n.text=typeof n.text>"u"?void 0:""+n.text;var o=(0,K.default)(a._options,n);o=(0,Ku.default)(o);var i=t[e],u=Vt(r,i,o);return a._encodings.push(u),a})}}function Vt(t,e,r){t=""+t;var n=new e(t,r);if(!n.valid())throw new Ut.InvalidInputException(n.constructor.name,t);var a=n.encode();a=(0,zt.default)(a);for(var o=0;o<a.length;o++)a[o].options=(0,K.default)(r,a[o].options);return a}function qt(){return A.default.CODE128?"CODE128":Object.keys(A.default)[0]}m.prototype.options=function(t){return this._options=(0,K.default)(this._options,t),this};m.prototype.blank=function(t){var e=new Array(t+1).join("0");return this._encodings.push({data:e}),this};m.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var t;for(var e in this._renderProperties){t=this._renderProperties[e];var r=(0,K.default)(this._options,t.options);r.format=="auto"&&(r.format=qt()),this._errorHandler.wrapBarcodeCall(function(){var n=r.value,a=A.default[r.format.toUpperCase()],o=Vt(n,a,r);Ae(t,o,r)})}}};m.prototype.render=function(){if(!this._renderProperties)throw new Ut.NoElementException;if(Array.isArray(this._renderProperties))for(var t=0;t<this._renderProperties.length;t++)Ae(this._renderProperties[t],this._encodings,this._options);else Ae(this._renderProperties,this._encodings,this._options);return this};m.prototype._defaults=Xt.default;function Ae(t,e,r){e=(0,zt.default)(e);for(var n=0;n<e.length;n++)e[n].options=(0,K.default)(r,e[n].options),(0,bt.default)(e[n].options);(0,bt.default)(r);var a=t.renderer,o=new a(t.element,e,r);o.render(),t.afterRender&&t.afterRender()}typeof window<"u"&&(window.JsBarcode=se);typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(t,e){var r=[];return jQuery(this).each(function(){r.push(this)}),se(r,t,e)});var af=se;const of=Kt(af);function Jt(t,e){const r=["svg","g"];for(let n=0;n<t.childNodes.length;n++){const a=t.childNodes[n];if(r.includes(a.tagName)){Jt(a,e.childNodes[n]);continue}const o=e.childNodes[n].currentStyle||window.getComputedStyle(e.childNodes[n]);if(!(o==="undefined"||o==null))for(let i=0;i<o.length;i++)a.style.setProperty(o[i],o.getPropertyValue(o[i]))}}function uf(t,e){const r=new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0}),n=document.createElement("a");n.setAttribute("download",e),n.setAttribute("href",t),n.setAttribute("target","_blank"),n.setAttribute("rel","noopener,noreferrer"),n.dispatchEvent(r)}function ff(t,e){const r=t.cloneNode(!0);Jt(r,t);const n=document.createElement("canvas"),a=t.getBBox();n.width=a.width,n.height=a.height;const o=n.getContext("2d");o.clearRect(0,0,a.width,a.height);const i=new XMLSerializer().serializeToString(r),u=window.URL||window.webkitURL||window,l=new Image,p=new Blob([i],{type:"image/svg+xml;charset=utf-8"}),d=u.createObjectURL(p);l.onload=function(){if(o.drawImage(l,0,0),u.revokeObjectURL(d),typeof navigator<"u"&&navigator.msSaveOrOpenBlob){const k=n.msToBlob();navigator.msSaveOrOpenBlob(k,e)}else{const k=n.toDataURL("image/png").replace("image/png","image/octet-stream");uf(k,e)}console.log(n)},l.src=d}const cf={class:"relative"},we=mt({__name:"JsBarcodeWrapper",props:{barcodeValue:{type:String,required:!0},barcodeFormat:{type:String,required:!0},customStyle:{type:Object,required:!1},showDownload:{type:Boolean,required:!1,default:!1}},emits:["onClickBarcode"],setup(t,{emit:e}){const r=t,n=e,a=q(en,N(!1)),o=N(),i=N(!1),u=()=>{try{if(of(o.value,String(r.barcodeValue),{format:r.barcodeFormat}),r.customStyle&&o.value)for(const d in r.customStyle)o.value.style.setProperty(d,r.customStyle[d]);i.value=!1}catch(d){console.log("e",d),i.value=!0}},l=()=>{o.value&&ff(o.value,`${r.barcodeValue}.png`)},p=d=>{d.stopPropagation(),n("onClickBarcode")};return tn([()=>r.barcodeValue,()=>r.barcodeFormat,()=>r.customStyle],u),nn(u),(d,k)=>{const ye=fn,I=cn,h=ln;return g(),R("div",cf,[rn((g(),R("svg",{ref_key:"barcodeSvgRef",ref:o,class:$e({"w-full":!f(a),"w-auto":f(a)}),"data-testid":"barcode",onClick:p},null,2)),[[an,!f(i)]]),f(i)?on(d.$slots,"barcodeRenderError",{key:0}):w("",!0),xe(h,{class:"!absolute bottom-0 right-0"},{title:$(()=>[un(L(d.$t("labels.clickToDownload")),1)]),default:$(()=>[r.showDownload?(g(),J(I,{key:0,size:"small",type:"secondary",onClick:l},{default:$(()=>[xe(ye,{icon:"download",class:"w-4 h-4"})]),_:1})):w("",!0)]),_:1})])}}}),Wt=t=>(bn("data-v-28d958e7"),t=t(),En(),t),lf={class:"text-left text-wrap mt-2 text-[#e65100] text-xs","data-testid":"barcode-invalid-input-message"},df={class:"text-left text-wrap mt-2 text-[#e65100] text-xs","data-testid":"barcode-invalid-input-message"},hf=Wt(()=>oe("span",{class:"font-bold"},"Please select a target field!",-1)),_f=Wt(()=>oe("span",null,"ERR!",-1)),vf={key:1,class:"nc-cell-field text-left text-wrap text-[#e65100] text-xs"},sf={key:2,class:"nc-cell-field text-left text-wrap mt-2 text-[#e65100] text-xs"},yf={key:3,class:"nc-cell-field text-left text-wrap mt-2 text-[#e65100] text-xs"},pf=100,gf=mt({__name:"Barcode",setup(t){const e=q(dn),r=q(hn),n=ee(()=>String((e==null?void 0:e.value)??"")),a=ee(()=>n.value.length>pf),o=N(!1),i=q(_n,N(!1)),u=()=>{o.value=!0},l=ee(()=>{var h;return{barcodeFormat:"CODE128",...vn((h=r==null?void 0:r.value)==null?void 0:h.meta)}}),p=()=>o.value=!1,d=ee(()=>(n==null?void 0:n.value.length)>0&&!a.value&&(n==null?void 0:n.value)!=="ERR!"),{showEditNonEditableFieldWarning:k,showClearNonEditableFieldWarning:ye}=wn(),I=q(sn,N(void 0));return(h,it)=>{const Qt=gn,Yt=On;return g(),R(pn,null,[xe(Qt,{visible:f(o),"onUpdate:visible":it[0]||(it[0]=Zt=>yn(o)?o.value=Zt:null),class:$e({active:f(o)}),"wrap-class-name":"nc-barcode-large","body-style":{padding:"0px"},footer:null,onOk:p},{default:$(()=>[f(d)?(g(),J(we,{key:0,"barcode-value":f(n),"barcode-format":f(l).barcodeFormat,"show-download":""},null,8,["barcode-value","barcode-format"])):w("",!0)]),_:1},8,["visible","class"]),f(a)?w("",!0):(g(),R("div",{key:0,class:$e(["flex w-full items-center barcode-wrapper",{"justify-start ml-2":f(i),"justify-center":!f(i)}])},[f(d)&&f(I)?(g(),J(we,{key:0,"barcode-value":f(n),tabindex:"-1","barcode-format":f(l).barcodeFormat,"custom-style":{height:f(I)?`${f(I)===1?("rowHeightInPx"in h?h.rowHeightInPx:f(ut))[1]-4:("rowHeightInPx"in h?h.rowHeightInPx:f(ut))[`${f(I)}`]-20}px`:"1.8rem"},class:"nc-barcode-container",onOnClickBarcode:u},{barcodeRenderError:$(()=>[oe("div",lf,L(h.$t("msg.warning.barcode.renderError")),1)]),_:1},8,["barcode-value","barcode-format","custom-style"])):f(d)?(g(),J(we,{key:1,tabindex:"-1","barcode-value":f(n),"barcode-format":f(l).barcodeFormat,class:"nc-barcode-container",onOnClickBarcode:u},{barcodeRenderError:$(()=>[oe("div",df,L(h.$t("msg.warning.barcode.renderError")),1)]),_:1},8,["barcode-value","barcode-format"])):!f(d)&&f(n)==="ERR!"?(g(),J(Yt,{key:2,placement:"bottom",class:"text-orange-700"},{title:$(()=>[hf]),default:$(()=>[_f]),_:1})):w("",!0)],2)),f(a)?(g(),R("div",vf,L(h.$t("labels.barcodeValueTooLong")),1)):w("",!0),f(k)?(g(),R("div",sf,L(h.$t("msg.warning.nonEditableFields.computedFieldUnableToClear")),1)):w("",!0),f(ye)?(g(),R("div",yf,L(h.$t("msg.warning.nonEditableFields.barcodeFieldsCannotBeDirectlyChanged")),1)):w("",!0)],64)}}}),wf=mn(gf,[["__scopeId","data-v-28d958e7"]]);export{wf as default};
|
@@ -1 +1 @@
|
|
1
|
-
import{k as a,a8 as c,a9 as o,e as B,bf as E,af as z,bw as f,aC as p,r as I,ds as R,a1 as S,b as V,F as H,G as N,p as s,l as u,aB as v,aT as d,z as x,m,ay as $,bA as y,aS as M,b_ as P,cq as D,aU as U,b1 as Z,an as j,bC as G,bx as F,by as O,aQ as W}from"./
|
1
|
+
import{k as a,a8 as c,a9 as o,e as B,bf as E,af as z,bw as f,aC as p,r as I,ds as R,a1 as S,b as V,F as H,G as N,p as s,l as u,aB as v,aT as d,z as x,m,ay as $,bA as y,aS as M,b_ as P,cq as D,aU as U,b1 as Z,an as j,bC as G,bx as F,by as O,aQ as W}from"./NHZFd8bQ.js";import{R as q,_ as Q}from"./Ck8SavWn.js";import"./BPS1H-Sz.js";import"./BZfcRRAG.js";const X={class:"nc-icon",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Y=o("path",{fill:"currentColor",d:"M15 14c-2.67 0-8 1.33-8 4v2h16v-2c0-2.67-5.33-4-8-4m0-2a4 4 0 0 0 4-4a4 4 0 0 0-4-4a4 4 0 0 0-4 4a4 4 0 0 0 4 4M5 13.28l2.45 1.49l-.65-2.81L9 10.08l-2.89-.25L5 7.19L3.87 9.83L1 10.08l2.18 1.88l-.68 2.81z"},null,-1),J=[Y];function K(i,r){return a(),c("svg",X,[...J])}const ee={name:"mdi-account-star",render:K},te={class:"nc-icon",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},ae=o("path",{fill:"currentColor",d:"M12 15c-4.42 0-8 1.79-8 4v2h16v-2c0-2.21-3.58-4-8-4M8 9a4 4 0 0 0 4 4a4 4 0 0 0 4-4m-4.5-7c-.3 0-.5.21-.5.5v3h-1V3s-2.25.86-2.25 3.75c0 0-.75.14-.75 1.25h10c-.05-1.11-.75-1.25-.75-1.25C16.25 3.86 14 3 14 3v2.5h-1v-3c0-.29-.19-.5-.5-.5z"},null,-1),oe=[ae];function ne(i,r){return a(),c("svg",te,[...oe])}const se={name:"mdi-account-hard-hat",render:ne},ie={class:"nc-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},ce=o("path",{fill:"currentColor",d:"M198.71 57.29A100 100 0 1 0 57.29 198.71A100 100 0 1 0 198.71 57.29m-94 74.71h46.58l17.28 37.45A28 28 0 0 0 128 177.6a28 28 0 0 0-40.57-8.15Zm3.7-8L128 81.55L147.59 124ZM132 192a20 20 0 0 1 40 0v16.83a91.3 91.3 0 0 1-40 11.07Zm-48 0a20 20 0 0 1 40 0v27.9a91.3 91.3 0 0 1-40-11.07Zm109.05 1.05A92.4 92.4 0 0 1 180 203.9V176a4.1 4.1 0 0 0-.37-1.68l-48-104a4 4 0 0 0-7.26 0l-48 104A4.1 4.1 0 0 0 76 176v27.9a92.4 92.4 0 0 1-13-10.85a92 92 0 1 1 130.1 0Z"},null,-1),le=[ce];function re(i,r){return a(),c("svg",ie,[...le])}const ue={name:"ph-pencil-circle-thin",render:re},de={class:"nc-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},pe=o("path",{fill:"currentColor",d:"M168 112a4 4 0 0 1-4 4H96a4 4 0 0 1 0-8h68a4 4 0 0 1 4 4m-4 28H96a4 4 0 0 0 0 8h68a4 4 0 0 0 0-8m64-16a96.11 96.11 0 0 1-96 96H48a12 12 0 0 1-12-12v-84a96 96 0 0 1 192 0m-8 0a88 88 0 0 0-176 0v84a4 4 0 0 0 4 4h84a88.1 88.1 0 0 0 88-88"},null,-1),ve=[pe];function me(i,r){return a(),c("svg",de,[...ve])}const he={name:"ph-chat-teardrop-text-thin",render:me},C=i=>(F("data-v-7fac892f"),i=i(),O(),i),_e=C(()=>o("div",{class:"divider"},null,-1)),we={class:"pointer flex items-center gap-4"},fe=C(()=>o("div",{class:"divider -ml-4"},null,-1)),xe={class:"nc-workspace-menu-item group"},$e={class:"nc-workspace-menu-item group"},ge={class:"text-capitalize text-xs whitespace-nowrap"},be=B({__name:"PreviewAs",props:{float:{type:Boolean}},setup(i){const{$e:r}=j(),{t:h}=E(),{previewAs:n}=z(),g=[{value:f.EDITOR,label:h("objects.roleType.editor")},{value:f.COMMENTER,label:h("objects.roleType.commenter")},{value:f.VIEWER,label:h("objects.roleType.viewer")}],k={owner:ee,creator:se,editor:ue,viewer:p.eye,commenter:he},_=I({y:`${window.innerHeight-100}px`,x:`${window.innerWidth/2-250}px`}),w=e=>{_.value={y:`${e.clientY-10}px`,x:`${e.clientX-18}px`}};R(window,"mouseup",()=>{window.removeEventListener("mousemove",w,!0)},!1);const A=()=>{window.addEventListener("mousemove",w,!0)};return S(()=>{window.removeEventListener("mousemove",w,!0)}),V(n,e=>{r("a:navdraw:preview",{role:e}),window.location.reload()}),(e,l)=>{const L=q,T=Q,b=G;return e.float?H((a(),c("div",{key:0,class:"floating-reset-btn nc-floating-preview-btn p-4",style:D({top:s(_).y,left:s(_).x})},[(a(),u(v(("iconMap"in e?e.iconMap:s(p)).drag),{class:"cursor-move text-white",onMousedown:A},null,32)),_e,o("div",we,[o("span",null,d(e.$t("activity.previewAs")),1),x(T,{value:s(n),"onUpdate:value":l[0]||(l[0]=t=>P(n)?n.value=t:null),name:"radioGroup"},{default:m(()=>[(a(),c($,null,y(g,t=>x(L,{key:t.value,class:"capitalize !text-white",value:t.value},{default:m(()=>[M(d(t.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["value"]),fe,o("div",{class:"flex items-center gap-2 cursor-pointer nc-preview-btn-exit-to-app",onClick:l[1]||(l[1]=t=>n.value=null)},[(a(),u(v(("iconMap"in e?e.iconMap:s(p)).exit))),M(" "+d(e.$t("general.close")),1)])])],4)),[[N,s(n)]]):(a(),c($,{key:1},[(a(),c($,null,y(g,t=>x(b,{key:t.value,class:"nc-role-preview-menu",onClick:Me=>n.value=t.value},{default:m(()=>[o("div",xe,[(a(),u(v(k[t.value]),{class:"group-hover:text-accent"})),o("span",{class:U(["capitalize",{"x-active--text":t.value===s(n)}])},d(t.label),3)])]),_:2},1032,["onClick"])),64)),s(n)?(a(),u(b,{key:0,onClick:l[2]||(l[2]=t=>n.value=null)},{default:m(()=>[o("div",$e,[(a(),u(v(("iconMap"in e?e.iconMap:s(p)).close),{class:"group-hover:text-accent"})),o("span",ge,d(e.$t("activity.resetReview")),1)])]),_:1})):Z("",!0)],64))}}}),Te=W(be,[["__scopeId","data-v-7fac892f"]]);export{Te as default};
|