asterui 0.12.2 → 0.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) hide show
  1. package/dist/components/Kbd.d.ts +2 -1
  2. package/dist/components/Modal.d.ts +7 -1
  3. package/dist/index.d.ts +0 -3
  4. package/dist/index.js +196 -201
  5. package/dist/index.js.map +1 -1
  6. package/dist/index100.js +11 -44
  7. package/dist/index100.js.map +1 -1
  8. package/dist/index101.js +12 -10
  9. package/dist/index101.js.map +1 -1
  10. package/dist/index102.js +7 -14
  11. package/dist/index102.js.map +1 -1
  12. package/dist/index103.js +12 -7
  13. package/dist/index103.js.map +1 -1
  14. package/dist/index104.js +29 -11
  15. package/dist/index104.js.map +1 -1
  16. package/dist/index105.js +16 -29
  17. package/dist/index105.js.map +1 -1
  18. package/dist/index13.js +95 -35
  19. package/dist/index13.js.map +1 -1
  20. package/dist/index14.js +153 -90
  21. package/dist/index14.js.map +1 -1
  22. package/dist/index15.js +146 -154
  23. package/dist/index15.js.map +1 -1
  24. package/dist/index16.js +5 -150
  25. package/dist/index16.js.map +1 -1
  26. package/dist/index17.js +71 -5
  27. package/dist/index17.js.map +1 -1
  28. package/dist/index18.js +17 -71
  29. package/dist/index18.js.map +1 -1
  30. package/dist/index19.js +96 -15
  31. package/dist/index19.js.map +1 -1
  32. package/dist/index20.js +105 -89
  33. package/dist/index20.js.map +1 -1
  34. package/dist/index21.js +177 -107
  35. package/dist/index21.js.map +1 -1
  36. package/dist/index22.js +107 -181
  37. package/dist/index22.js.map +1 -1
  38. package/dist/index23.js +19 -110
  39. package/dist/index23.js.map +1 -1
  40. package/dist/index24.js +41 -17
  41. package/dist/index24.js.map +1 -1
  42. package/dist/index25.js +32 -43
  43. package/dist/index25.js.map +1 -1
  44. package/dist/index26.js +41 -32
  45. package/dist/index26.js.map +1 -1
  46. package/dist/index27.js +12 -41
  47. package/dist/index27.js.map +1 -1
  48. package/dist/index28.js +33 -12
  49. package/dist/index28.js.map +1 -1
  50. package/dist/index29.js +63 -33
  51. package/dist/index29.js.map +1 -1
  52. package/dist/index30.js +77 -60
  53. package/dist/index30.js.map +1 -1
  54. package/dist/index31.js +18 -80
  55. package/dist/index31.js.map +1 -1
  56. package/dist/index32.js +217 -15
  57. package/dist/index32.js.map +1 -1
  58. package/dist/index33.js +1078 -216
  59. package/dist/index33.js.map +1 -1
  60. package/dist/index34.js +17 -1081
  61. package/dist/index34.js.map +1 -1
  62. package/dist/index35.js +121 -17
  63. package/dist/index35.js.map +1 -1
  64. package/dist/index36.js +37 -119
  65. package/dist/index36.js.map +1 -1
  66. package/dist/index37.js +182 -31
  67. package/dist/index37.js.map +1 -1
  68. package/dist/index38.js +97 -191
  69. package/dist/index38.js.map +1 -1
  70. package/dist/index39.js +158 -93
  71. package/dist/index39.js.map +1 -1
  72. package/dist/index40.js +139 -155
  73. package/dist/index40.js.map +1 -1
  74. package/dist/index41.js +15 -146
  75. package/dist/index41.js.map +1 -1
  76. package/dist/index42.js +17 -15
  77. package/dist/index42.js.map +1 -1
  78. package/dist/index43.js +21 -18
  79. package/dist/index43.js.map +1 -1
  80. package/dist/index44.js +116 -18
  81. package/dist/index44.js.map +1 -1
  82. package/dist/index45.js +10 -116
  83. package/dist/index45.js.map +1 -1
  84. package/dist/index46.js +35 -13
  85. package/dist/index46.js.map +1 -1
  86. package/dist/index47.js +34 -35
  87. package/dist/index47.js.map +1 -1
  88. package/dist/index48.js +116 -10
  89. package/dist/index48.js.map +1 -1
  90. package/dist/index49.js +174 -114
  91. package/dist/index49.js.map +1 -1
  92. package/dist/index50.js +136 -165
  93. package/dist/index50.js.map +1 -1
  94. package/dist/index51.js +11 -146
  95. package/dist/index51.js.map +1 -1
  96. package/dist/index52.js +20 -10
  97. package/dist/index52.js.map +1 -1
  98. package/dist/index53.js +14 -22
  99. package/dist/index53.js.map +1 -1
  100. package/dist/index54.js +7 -14
  101. package/dist/index54.js.map +1 -1
  102. package/dist/index55.js +268 -6
  103. package/dist/index55.js.map +1 -1
  104. package/dist/index56.js +17 -266
  105. package/dist/index56.js.map +1 -1
  106. package/dist/index57.js +122 -17
  107. package/dist/index57.js.map +1 -1
  108. package/dist/index58.js +108 -120
  109. package/dist/index58.js.map +1 -1
  110. package/dist/index59.js +167 -107
  111. package/dist/index59.js.map +1 -1
  112. package/dist/index60.js +29 -167
  113. package/dist/index60.js.map +1 -1
  114. package/dist/index61.js +120 -30
  115. package/dist/index61.js.map +1 -1
  116. package/dist/index62.js +80 -116
  117. package/dist/index62.js.map +1 -1
  118. package/dist/index63.js +19 -85
  119. package/dist/index63.js.map +1 -1
  120. package/dist/index64.js +73 -19
  121. package/dist/index64.js.map +1 -1
  122. package/dist/index65.js +54 -71
  123. package/dist/index65.js.map +1 -1
  124. package/dist/index66.js +44 -56
  125. package/dist/index66.js.map +1 -1
  126. package/dist/index67.js +49 -42
  127. package/dist/index67.js.map +1 -1
  128. package/dist/index68.js +62 -52
  129. package/dist/index68.js.map +1 -1
  130. package/dist/index69.js +101 -56
  131. package/dist/index69.js.map +1 -1
  132. package/dist/index70.js +41 -107
  133. package/dist/index70.js.map +1 -1
  134. package/dist/index71.js +68 -41
  135. package/dist/index71.js.map +1 -1
  136. package/dist/index72.js +19 -66
  137. package/dist/index72.js.map +1 -1
  138. package/dist/index73.js +43 -18
  139. package/dist/index73.js.map +1 -1
  140. package/dist/index74.js +132 -44
  141. package/dist/index74.js.map +1 -1
  142. package/dist/index75.js +50 -132
  143. package/dist/index75.js.map +1 -1
  144. package/dist/index76.js +21 -51
  145. package/dist/index76.js.map +1 -1
  146. package/dist/index77.js +31 -22
  147. package/dist/index77.js.map +1 -1
  148. package/dist/index78.js +22 -31
  149. package/dist/index78.js.map +1 -1
  150. package/dist/index79.js +327 -20
  151. package/dist/index79.js.map +1 -1
  152. package/dist/index80.js +50 -323
  153. package/dist/index80.js.map +1 -1
  154. package/dist/index81.js +40 -56
  155. package/dist/index81.js.map +1 -1
  156. package/dist/index82.js +23 -40
  157. package/dist/index82.js.map +1 -1
  158. package/dist/index83.js +93 -21
  159. package/dist/index83.js.map +1 -1
  160. package/dist/index84.js +123 -88
  161. package/dist/index84.js.map +1 -1
  162. package/dist/index85.js +154 -123
  163. package/dist/index85.js.map +1 -1
  164. package/dist/index86.js +63 -159
  165. package/dist/index86.js.map +1 -1
  166. package/dist/index87.js +35 -65
  167. package/dist/index87.js.map +1 -1
  168. package/dist/index88.js +234 -35
  169. package/dist/index88.js.map +1 -1
  170. package/dist/index89.js +31 -231
  171. package/dist/index89.js.map +1 -1
  172. package/dist/index90.js +210 -34
  173. package/dist/index90.js.map +1 -1
  174. package/dist/index91.js +198 -195
  175. package/dist/index91.js.map +1 -1
  176. package/dist/index92.js +241 -159
  177. package/dist/index92.js.map +1 -1
  178. package/dist/index93.js +166 -283
  179. package/dist/index93.js.map +1 -1
  180. package/dist/index94.js +253 -173
  181. package/dist/index94.js.map +1 -1
  182. package/dist/index95.js +14 -258
  183. package/dist/index95.js.map +1 -1
  184. package/dist/index96.js +31 -12
  185. package/dist/index96.js.map +1 -1
  186. package/dist/index97.js +5 -32
  187. package/dist/index97.js.map +1 -1
  188. package/dist/index98.js +13 -5
  189. package/dist/index98.js.map +1 -1
  190. package/dist/index99.js +43 -11
  191. package/dist/index99.js.map +1 -1
  192. package/package.json +11 -5
  193. package/dist/components/Calendar.d.ts +0 -23
  194. package/dist/index.css +0 -1
  195. package/dist/index106.js +0 -21
  196. package/dist/index106.js.map +0 -1
  197. package/dist/index107.js +0 -177
  198. package/dist/index107.js.map +0 -1
  199. package/dist/index109.js +0 -10796
  200. package/dist/index109.js.map +0 -1
  201. package/dist/index110.js +0 -8
  202. package/dist/index110.js.map +0 -1
  203. package/dist/index111.js +0 -45
  204. package/dist/index111.js.map +0 -1
  205. package/dist/index112.js +0 -5
  206. package/dist/index112.js.map +0 -1
  207. package/dist/index113.js +0 -10
  208. package/dist/index113.js.map +0 -1
  209. package/dist/index114.js +0 -155
  210. package/dist/index114.js.map +0 -1
  211. package/dist/index115.js +0 -33
  212. package/dist/index115.js.map +0 -1
  213. package/dist/index116.js +0 -33
  214. package/dist/index116.js.map +0 -1
  215. package/dist/index117.js +0 -5
  216. package/dist/index117.js.map +0 -1
  217. package/dist/index118.js +0 -75
  218. package/dist/index118.js.map +0 -1
  219. package/dist/index119.js +0 -42
  220. package/dist/index119.js.map +0 -1
  221. package/dist/index120.js +0 -29
  222. package/dist/index120.js.map +0 -1
  223. package/dist/index121.js +0 -24
  224. package/dist/index121.js.map +0 -1
  225. package/dist/index122.js +0 -27
  226. package/dist/index122.js.map +0 -1
  227. package/dist/index123.js +0 -23
  228. package/dist/index123.js.map +0 -1
  229. package/dist/index124.js +0 -103
  230. package/dist/index124.js.map +0 -1
  231. package/dist/index125.js +0 -363
  232. package/dist/index125.js.map +0 -1
  233. package/dist/index126.js +0 -28
  234. package/dist/index126.js.map +0 -1
  235. package/dist/index127.js +0 -76
  236. package/dist/index127.js.map +0 -1
  237. package/dist/index128.js +0 -19
  238. package/dist/index128.js.map +0 -1
  239. package/dist/index129.js +0 -69
  240. package/dist/index129.js.map +0 -1
  241. package/dist/index130.js +0 -147
  242. package/dist/index130.js.map +0 -1
  243. package/dist/index131.js +0 -5
  244. package/dist/index131.js.map +0 -1
  245. package/dist/index132.js +0 -59
  246. package/dist/index132.js.map +0 -1
  247. package/dist/index133.js +0 -5
  248. package/dist/index133.js.map +0 -1
  249. package/dist/index134.js +0 -5
  250. package/dist/index134.js.map +0 -1
  251. package/dist/index135.js +0 -5
  252. package/dist/index135.js.map +0 -1
  253. package/dist/index136.js +0 -5
  254. package/dist/index136.js.map +0 -1
  255. package/dist/index137.js +0 -5
  256. package/dist/index137.js.map +0 -1
  257. package/dist/index138.js +0 -5
  258. package/dist/index138.js.map +0 -1
  259. package/dist/index139.js +0 -5
  260. package/dist/index139.js.map +0 -1
  261. package/dist/index140.js +0 -5
  262. package/dist/index140.js.map +0 -1
  263. package/dist/index141.js +0 -35
  264. package/dist/index141.js.map +0 -1
  265. package/dist/index142.js +0 -5
  266. package/dist/index142.js.map +0 -1
  267. package/dist/index143.js +0 -11
  268. package/dist/index143.js.map +0 -1
  269. package/dist/index144.js +0 -5
  270. package/dist/index144.js.map +0 -1
  271. package/dist/index145.js +0 -5
  272. package/dist/index145.js.map +0 -1
  273. package/dist/index146.js +0 -24
  274. package/dist/index146.js.map +0 -1
  275. package/dist/index147.js +0 -5
  276. package/dist/index147.js.map +0 -1
  277. package/dist/index148.js +0 -27
  278. package/dist/index148.js.map +0 -1
  279. package/dist/index149.js +0 -74
  280. package/dist/index149.js.map +0 -1
  281. package/dist/index150.js +0 -24
  282. package/dist/index150.js.map +0 -1
  283. package/dist/index151.js +0 -37
  284. package/dist/index151.js.map +0 -1
  285. package/dist/index152.js +0 -73
  286. package/dist/index152.js.map +0 -1
  287. package/dist/index153.js +0 -5
  288. package/dist/index153.js.map +0 -1
  289. package/dist/index154.js +0 -25
  290. package/dist/index154.js.map +0 -1
  291. package/dist/index155.js +0 -5
  292. package/dist/index155.js.map +0 -1
  293. package/dist/index156.js +0 -5
  294. package/dist/index156.js.map +0 -1
  295. package/dist/index157.js +0 -5
  296. package/dist/index157.js.map +0 -1
  297. package/dist/index158.js +0 -5
  298. package/dist/index158.js.map +0 -1
  299. package/dist/index159.js +0 -7
  300. package/dist/index159.js.map +0 -1
package/dist/index110.js DELETED
@@ -1,8 +0,0 @@
1
- import { getDefaultExportFromCjs as r } from "./index159.js";
2
- import { __require as o } from "./index111.js";
3
- var e = o();
4
- const a = /* @__PURE__ */ r(e);
5
- export {
6
- a as default
7
- };
8
- //# sourceMappingURL=index110.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index110.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/dist/index111.js DELETED
@@ -1,45 +0,0 @@
1
- import { __exports as u } from "./index112.js";
2
- import { __require as C } from "./index113.js";
3
- import { __require as h } from "./index114.js";
4
- import { __require as R } from "./index115.js";
5
- import { __require as y } from "./index116.js";
6
- var _;
7
- function B() {
8
- if (_) return u;
9
- _ = 1;
10
- const q = C(), f = h(), l = R(), w = y();
11
- function a(d, e, r, n, o) {
12
- const m = [].slice.call(arguments, 1), i = m.length, g = typeof m[i - 1] == "function";
13
- if (!g && !q())
14
- throw new Error("Callback required as last argument");
15
- if (g) {
16
- if (i < 2)
17
- throw new Error("Too few arguments provided");
18
- i === 2 ? (o = r, r = e, e = n = void 0) : i === 3 && (e.getContext && typeof o > "u" ? (o = n, n = void 0) : (o = n, n = r, r = e, e = void 0));
19
- } else {
20
- if (i < 1)
21
- throw new Error("Too few arguments provided");
22
- return i === 1 ? (r = e, e = n = void 0) : i === 2 && !e.getContext && (n = r, r = e, e = void 0), new Promise(function(t, c) {
23
- try {
24
- const s = f.create(r, n);
25
- t(d(s, e, n));
26
- } catch (s) {
27
- c(s);
28
- }
29
- });
30
- }
31
- try {
32
- const t = f.create(r, n);
33
- o(null, d(t, e, n));
34
- } catch (t) {
35
- o(t);
36
- }
37
- }
38
- return u.create = f.create, u.toCanvas = a.bind(null, l.render), u.toDataURL = a.bind(null, l.renderToDataURL), u.toString = a.bind(null, function(d, e, r) {
39
- return w.render(d, r);
40
- }), u;
41
- }
42
- export {
43
- B as __require
44
- };
45
- //# sourceMappingURL=index111.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index111.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.js"],"sourcesContent":["\nconst canPromise = require('./can-promise')\n\nconst QRCode = require('./core/qrcode')\nconst CanvasRenderer = require('./renderer/canvas')\nconst SvgRenderer = require('./renderer/svg-tag.js')\n\nfunction renderCanvas (renderFunc, canvas, text, opts, cb) {\n const args = [].slice.call(arguments, 1)\n const argsNum = args.length\n const isLastArgCb = typeof args[argsNum - 1] === 'function'\n\n if (!isLastArgCb && !canPromise()) {\n throw new Error('Callback required as last argument')\n }\n\n if (isLastArgCb) {\n if (argsNum < 2) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 2) {\n cb = text\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 3) {\n if (canvas.getContext && typeof cb === 'undefined') {\n cb = opts\n opts = undefined\n } else {\n cb = opts\n opts = text\n text = canvas\n canvas = undefined\n }\n }\n } else {\n if (argsNum < 1) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 1) {\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 2 && !canvas.getContext) {\n opts = text\n text = canvas\n canvas = undefined\n }\n\n return new Promise(function (resolve, reject) {\n try {\n const data = QRCode.create(text, opts)\n resolve(renderFunc(data, canvas, opts))\n } catch (e) {\n reject(e)\n }\n })\n }\n\n try {\n const data = QRCode.create(text, opts)\n cb(null, renderFunc(data, canvas, opts))\n } catch (e) {\n cb(e)\n }\n}\n\nexports.create = QRCode.create\nexports.toCanvas = renderCanvas.bind(null, CanvasRenderer.render)\nexports.toDataURL = renderCanvas.bind(null, CanvasRenderer.renderToDataURL)\n\n// only svg for now.\nexports.toString = renderCanvas.bind(null, function (data, _, opts) {\n return SvgRenderer.render(data, opts)\n})\n"],"names":["canPromise","require$$0","QRCode","require$$1","CanvasRenderer","require$$2","SvgRenderer","require$$3","renderCanvas","renderFunc","canvas","text","opts","cb","args","argsNum","isLastArgCb","resolve","reject","data","e","browser","_"],"mappings":";;;;;;;;;AACA,QAAMA,IAAaC,EAAA,GAEbC,IAASC,EAAA,GACTC,IAAiBC,EAAA,GACjBC,IAAcC,EAAA;AAEpB,WAASC,EAAcC,GAAYC,GAAQC,GAAMC,GAAMC,GAAI;AACzD,UAAMC,IAAO,CAAA,EAAG,MAAM,KAAK,WAAW,CAAC,GACjCC,IAAUD,EAAK,QACfE,IAAc,OAAOF,EAAKC,IAAU,CAAC,KAAM;AAEjD,QAAI,CAACC,KAAe,CAAChB;AACnB,YAAM,IAAI,MAAM,oCAAoC;AAGtD,QAAIgB,GAAa;AACf,UAAID,IAAU;AACZ,cAAM,IAAI,MAAM,4BAA4B;AAG9C,MAAIA,MAAY,KACdF,IAAKF,GACLA,IAAOD,GACPA,IAASE,IAAO,UACPG,MAAY,MACjBL,EAAO,cAAc,OAAOG,IAAO,OACrCA,IAAKD,GACLA,IAAO,WAEPC,IAAKD,GACLA,IAAOD,GACPA,IAAOD,GACPA,IAAS;AAAA,IAGjB,OAAS;AACL,UAAIK,IAAU;AACZ,cAAM,IAAI,MAAM,4BAA4B;AAG9C,aAAIA,MAAY,KACdJ,IAAOD,GACPA,IAASE,IAAO,UACPG,MAAY,KAAK,CAACL,EAAO,eAClCE,IAAOD,GACPA,IAAOD,GACPA,IAAS,SAGJ,IAAI,QAAQ,SAAUO,GAASC,GAAQ;AAC5C,YAAI;AACF,gBAAMC,IAAOjB,EAAO,OAAOS,GAAMC,CAAI;AACrC,UAAAK,EAAQR,EAAWU,GAAMT,GAAQE,CAAI,CAAC;AAAA,QAC9C,SAAeQ,GAAG;AACV,UAAAF,EAAOE,CAAC;AAAA,QAChB;AAAA,MACA,CAAK;AAAA,IACL;AAEE,QAAI;AACF,YAAMD,IAAOjB,EAAO,OAAOS,GAAMC,CAAI;AACrC,MAAAC,EAAG,MAAMJ,EAAWU,GAAMT,GAAQE,CAAI,CAAC;AAAA,IAC3C,SAAWQ,GAAG;AACV,MAAAP,EAAGO,CAAC;AAAA,IACR;AAAA,EACA;AAEA,SAAAC,EAAA,SAAiBnB,EAAO,QACxBmB,EAAA,WAAmBb,EAAa,KAAK,MAAMJ,EAAe,MAAM,GAChEiB,EAAA,YAAoBb,EAAa,KAAK,MAAMJ,EAAe,eAAe,GAG1EiB,EAAA,WAAmBb,EAAa,KAAK,MAAM,SAAUW,GAAMG,GAAGV,GAAM;AAClE,WAAON,EAAY,OAAOa,GAAMP,CAAI;AAAA,EACtC,CAAC;;","x_google_ignoreList":[0]}
package/dist/index112.js DELETED
@@ -1,5 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
5
- //# sourceMappingURL=index112.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index112.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index113.js DELETED
@@ -1,10 +0,0 @@
1
- var r, e;
2
- function o() {
3
- return e || (e = 1, r = function() {
4
- return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
5
- }), r;
6
- }
7
- export {
8
- o as __require
9
- };
10
- //# sourceMappingURL=index113.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index113.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/can-promise.js"],"sourcesContent":["// can-promise has a crash in some versions of react native that dont have\n// standard global objects\n// https://github.com/soldair/node-qrcode/issues/157\n\nmodule.exports = function () {\n return typeof Promise === 'function' && Promise.prototype && Promise.prototype.then\n}\n"],"names":["canPromise"],"mappings":";;sBAIAA,IAAiB,WAAY;AAC3B,WAAO,OAAO,WAAY,cAAc,QAAQ,aAAa,QAAQ,UAAU;AAAA,EACjF;;","x_google_ignoreList":[0]}
package/dist/index114.js DELETED
@@ -1,155 +0,0 @@
1
- import { __exports as M } from "./index117.js";
2
- import { __require as Y } from "./index118.js";
3
- import { __require as Z } from "./index119.js";
4
- import { __require as $ } from "./index120.js";
5
- import { __require as x } from "./index121.js";
6
- import { __require as v } from "./index122.js";
7
- import { __require as ee } from "./index123.js";
8
- import { __require as te } from "./index124.js";
9
- import { __require as oe } from "./index125.js";
10
- import { __require as re } from "./index126.js";
11
- import { __require as ne } from "./index127.js";
12
- import { __require as se } from "./index128.js";
13
- import { __require as ie } from "./index129.js";
14
- import { __require as ue } from "./index130.js";
15
- var F;
16
- function Be() {
17
- if (F) return M;
18
- F = 1;
19
- const g = Y(), q = Z(), A = $(), k = x(), P = v(), D = ee(), _ = te(), h = oe(), V = re(), w = ne(), R = se(), G = ie(), C = ue();
20
- function Q(r, u) {
21
- const n = r.size, e = D.getPositions(u);
22
- for (let c = 0; c < e.length; c++) {
23
- const t = e[c][0], o = e[c][1];
24
- for (let i = -1; i <= 7; i++)
25
- if (!(t + i <= -1 || n <= t + i))
26
- for (let s = -1; s <= 7; s++)
27
- o + s <= -1 || n <= o + s || (i >= 0 && i <= 6 && (s === 0 || s === 6) || s >= 0 && s <= 6 && (i === 0 || i === 6) || i >= 2 && i <= 4 && s >= 2 && s <= 4 ? r.set(t + i, o + s, !0, !0) : r.set(t + i, o + s, !1, !0));
28
- }
29
- }
30
- function U(r) {
31
- const u = r.size;
32
- for (let n = 8; n < u - 8; n++) {
33
- const e = n % 2 === 0;
34
- r.set(n, 6, e, !0), r.set(6, n, e, !0);
35
- }
36
- }
37
- function J(r, u) {
38
- const n = P.getPositions(u);
39
- for (let e = 0; e < n.length; e++) {
40
- const c = n[e][0], t = n[e][1];
41
- for (let o = -2; o <= 2; o++)
42
- for (let i = -2; i <= 2; i++)
43
- o === -2 || o === 2 || i === -2 || i === 2 || o === 0 && i === 0 ? r.set(c + o, t + i, !0, !0) : r.set(c + o, t + i, !1, !0);
44
- }
45
- }
46
- function N(r, u) {
47
- const n = r.size, e = w.getEncodedBits(u);
48
- let c, t, o;
49
- for (let i = 0; i < 18; i++)
50
- c = Math.floor(i / 3), t = i % 3 + n - 8 - 3, o = (e >> i & 1) === 1, r.set(c, t, o, !0), r.set(t, c, o, !0);
51
- }
52
- function b(r, u, n) {
53
- const e = r.size, c = R.getEncodedBits(u, n);
54
- let t, o;
55
- for (t = 0; t < 15; t++)
56
- o = (c >> t & 1) === 1, t < 6 ? r.set(t, 8, o, !0) : t < 8 ? r.set(t + 1, 8, o, !0) : r.set(e - 15 + t, 8, o, !0), t < 8 ? r.set(8, e - t - 1, o, !0) : t < 9 ? r.set(8, 15 - t - 1 + 1, o, !0) : r.set(8, 15 - t - 1, o, !0);
57
- r.set(e - 8, 8, 1, !0);
58
- }
59
- function L(r, u) {
60
- const n = r.size;
61
- let e = -1, c = n - 1, t = 7, o = 0;
62
- for (let i = n - 1; i > 0; i -= 2)
63
- for (i === 6 && i--; ; ) {
64
- for (let s = 0; s < 2; s++)
65
- if (!r.isReserved(c, i - s)) {
66
- let a = !1;
67
- o < u.length && (a = (u[o] >>> t & 1) === 1), r.set(c, i - s, a), t--, t === -1 && (o++, t = 7);
68
- }
69
- if (c += e, c < 0 || n <= c) {
70
- c -= e, e = -e;
71
- break;
72
- }
73
- }
74
- }
75
- function j(r, u, n) {
76
- const e = new A();
77
- n.forEach(function(s) {
78
- e.put(s.mode.bit, 4), e.put(s.getLength(), G.getCharCountIndicator(s.mode, r)), s.write(e);
79
- });
80
- const c = g.getSymbolTotalCodewords(r), t = h.getTotalCodewordsCount(r, u), o = (c - t) * 8;
81
- for (e.getLengthInBits() + 4 <= o && e.put(0, 4); e.getLengthInBits() % 8 !== 0; )
82
- e.putBit(0);
83
- const i = (o - e.getLengthInBits()) / 8;
84
- for (let s = 0; s < i; s++)
85
- e.put(s % 2 ? 17 : 236, 8);
86
- return H(e, r, u);
87
- }
88
- function H(r, u, n) {
89
- const e = g.getSymbolTotalCodewords(u), c = h.getTotalCodewordsCount(u, n), t = e - c, o = h.getBlocksCount(u, n), i = e % o, s = o - i, a = Math.floor(e / o), m = Math.floor(t / o), O = m + 1, E = a - m, W = new V(E);
90
- let B = 0;
91
- const p = new Array(o), z = new Array(o);
92
- let S = 0;
93
- const X = new Uint8Array(r.buffer);
94
- for (let d = 0; d < o; d++) {
95
- const y = d < s ? m : O;
96
- p[d] = X.slice(B, B + y), z[d] = W.encode(p[d]), B += y, S = Math.max(S, y);
97
- }
98
- const I = new Uint8Array(e);
99
- let T = 0, f, l;
100
- for (f = 0; f < S; f++)
101
- for (l = 0; l < o; l++)
102
- f < p[l].length && (I[T++] = p[l][f]);
103
- for (f = 0; f < E; f++)
104
- for (l = 0; l < o; l++)
105
- I[T++] = z[l][f];
106
- return I;
107
- }
108
- function K(r, u, n, e) {
109
- let c;
110
- if (Array.isArray(r))
111
- c = C.fromArray(r);
112
- else if (typeof r == "string") {
113
- let a = u;
114
- if (!a) {
115
- const m = C.rawSplit(r);
116
- a = w.getBestVersionForData(m, n);
117
- }
118
- c = C.fromString(r, a || 40);
119
- } else
120
- throw new Error("Invalid data");
121
- const t = w.getBestVersionForData(c, n);
122
- if (!t)
123
- throw new Error("The amount of data is too big to be stored in a QR Code");
124
- if (!u)
125
- u = t;
126
- else if (u < t)
127
- throw new Error(
128
- `
129
- The chosen QR Code version cannot contain this amount of data.
130
- Minimum version required to store current data is: ` + t + `.
131
- `
132
- );
133
- const o = j(u, n, c), i = g.getSymbolSize(u), s = new k(i);
134
- return Q(s, u), U(s), J(s, u), b(s, n, 0), u >= 7 && N(s, u), L(s, o), isNaN(e) && (e = _.getBestMask(
135
- s,
136
- b.bind(null, s, n)
137
- )), _.applyMask(e, s), b(s, n, e), {
138
- modules: s,
139
- version: u,
140
- errorCorrectionLevel: n,
141
- maskPattern: e,
142
- segments: c
143
- };
144
- }
145
- return M.create = function(u, n) {
146
- if (typeof u > "u" || u === "")
147
- throw new Error("No input text");
148
- let e = q.M, c, t;
149
- return typeof n < "u" && (e = q.from(n.errorCorrectionLevel, q.M), c = w.from(n.version), t = _.from(n.maskPattern), n.toSJISFunc && g.setToSJISFunction(n.toSJISFunc)), K(u, c, e, t);
150
- }, M;
151
- }
152
- export {
153
- Be as __require
154
- };
155
- //# sourceMappingURL=index114.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index114.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/qrcode.js"],"sourcesContent":["const Utils = require('./utils')\nconst ECLevel = require('./error-correction-level')\nconst BitBuffer = require('./bit-buffer')\nconst BitMatrix = require('./bit-matrix')\nconst AlignmentPattern = require('./alignment-pattern')\nconst FinderPattern = require('./finder-pattern')\nconst MaskPattern = require('./mask-pattern')\nconst ECCode = require('./error-correction-code')\nconst ReedSolomonEncoder = require('./reed-solomon-encoder')\nconst Version = require('./version')\nconst FormatInfo = require('./format-info')\nconst Mode = require('./mode')\nconst Segments = require('./segments')\n\n/**\n * QRCode for JavaScript\n *\n * modified by Ryan Day for nodejs support\n * Copyright (c) 2011 Ryan Day\n *\n * Licensed under the MIT license:\n * http://www.opensource.org/licenses/mit-license.php\n *\n//---------------------------------------------------------------------\n// QRCode for JavaScript\n//\n// Copyright (c) 2009 Kazuhiko Arase\n//\n// URL: http://www.d-project.com/\n//\n// Licensed under the MIT license:\n// http://www.opensource.org/licenses/mit-license.php\n//\n// The word \"QR Code\" is registered trademark of\n// DENSO WAVE INCORPORATED\n// http://www.denso-wave.com/qrcode/faqpatent-e.html\n//\n//---------------------------------------------------------------------\n*/\n\n/**\n * Add finder patterns bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupFinderPattern (matrix, version) {\n const size = matrix.size\n const pos = FinderPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -1; r <= 7; r++) {\n if (row + r <= -1 || size <= row + r) continue\n\n for (let c = -1; c <= 7; c++) {\n if (col + c <= -1 || size <= col + c) continue\n\n if ((r >= 0 && r <= 6 && (c === 0 || c === 6)) ||\n (c >= 0 && c <= 6 && (r === 0 || r === 6)) ||\n (r >= 2 && r <= 4 && c >= 2 && c <= 4)) {\n matrix.set(row + r, col + c, true, true)\n } else {\n matrix.set(row + r, col + c, false, true)\n }\n }\n }\n }\n}\n\n/**\n * Add timing pattern bits to matrix\n *\n * Note: this function must be called before {@link setupAlignmentPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n */\nfunction setupTimingPattern (matrix) {\n const size = matrix.size\n\n for (let r = 8; r < size - 8; r++) {\n const value = r % 2 === 0\n matrix.set(r, 6, value, true)\n matrix.set(6, r, value, true)\n }\n}\n\n/**\n * Add alignment patterns bits to matrix\n *\n * Note: this function must be called after {@link setupTimingPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupAlignmentPattern (matrix, version) {\n const pos = AlignmentPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -2; r <= 2; r++) {\n for (let c = -2; c <= 2; c++) {\n if (r === -2 || r === 2 || c === -2 || c === 2 ||\n (r === 0 && c === 0)) {\n matrix.set(row + r, col + c, true, true)\n } else {\n matrix.set(row + r, col + c, false, true)\n }\n }\n }\n }\n}\n\n/**\n * Add version info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupVersionInfo (matrix, version) {\n const size = matrix.size\n const bits = Version.getEncodedBits(version)\n let row, col, mod\n\n for (let i = 0; i < 18; i++) {\n row = Math.floor(i / 3)\n col = i % 3 + size - 8 - 3\n mod = ((bits >> i) & 1) === 1\n\n matrix.set(row, col, mod, true)\n matrix.set(col, row, mod, true)\n }\n}\n\n/**\n * Add format info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {Number} maskPattern Mask pattern reference value\n */\nfunction setupFormatInfo (matrix, errorCorrectionLevel, maskPattern) {\n const size = matrix.size\n const bits = FormatInfo.getEncodedBits(errorCorrectionLevel, maskPattern)\n let i, mod\n\n for (i = 0; i < 15; i++) {\n mod = ((bits >> i) & 1) === 1\n\n // vertical\n if (i < 6) {\n matrix.set(i, 8, mod, true)\n } else if (i < 8) {\n matrix.set(i + 1, 8, mod, true)\n } else {\n matrix.set(size - 15 + i, 8, mod, true)\n }\n\n // horizontal\n if (i < 8) {\n matrix.set(8, size - i - 1, mod, true)\n } else if (i < 9) {\n matrix.set(8, 15 - i - 1 + 1, mod, true)\n } else {\n matrix.set(8, 15 - i - 1, mod, true)\n }\n }\n\n // fixed module\n matrix.set(size - 8, 8, 1, true)\n}\n\n/**\n * Add encoded data bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Uint8Array} data Data codewords\n */\nfunction setupData (matrix, data) {\n const size = matrix.size\n let inc = -1\n let row = size - 1\n let bitIndex = 7\n let byteIndex = 0\n\n for (let col = size - 1; col > 0; col -= 2) {\n if (col === 6) col--\n\n while (true) {\n for (let c = 0; c < 2; c++) {\n if (!matrix.isReserved(row, col - c)) {\n let dark = false\n\n if (byteIndex < data.length) {\n dark = (((data[byteIndex] >>> bitIndex) & 1) === 1)\n }\n\n matrix.set(row, col - c, dark)\n bitIndex--\n\n if (bitIndex === -1) {\n byteIndex++\n bitIndex = 7\n }\n }\n }\n\n row += inc\n\n if (row < 0 || size <= row) {\n row -= inc\n inc = -inc\n break\n }\n }\n }\n}\n\n/**\n * Create encoded codewords from data input\n *\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {ByteData} data Data input\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createData (version, errorCorrectionLevel, segments) {\n // Prepare data buffer\n const buffer = new BitBuffer()\n\n segments.forEach(function (data) {\n // prefix data with mode indicator (4 bits)\n buffer.put(data.mode.bit, 4)\n\n // Prefix data with character count indicator.\n // The character count indicator is a string of bits that represents the\n // number of characters that are being encoded.\n // The character count indicator must be placed after the mode indicator\n // and must be a certain number of bits long, depending on the QR version\n // and data mode\n // @see {@link Mode.getCharCountIndicator}.\n buffer.put(data.getLength(), Mode.getCharCountIndicator(data.mode, version))\n\n // add binary data sequence to buffer\n data.write(buffer)\n })\n\n // Calculate required number of bits\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8\n\n // Add a terminator.\n // If the bit string is shorter than the total number of required bits,\n // a terminator of up to four 0s must be added to the right side of the string.\n // If the bit string is more than four bits shorter than the required number of bits,\n // add four 0s to the end.\n if (buffer.getLengthInBits() + 4 <= dataTotalCodewordsBits) {\n buffer.put(0, 4)\n }\n\n // If the bit string is fewer than four bits shorter, add only the number of 0s that\n // are needed to reach the required number of bits.\n\n // After adding the terminator, if the number of bits in the string is not a multiple of 8,\n // pad the string on the right with 0s to make the string's length a multiple of 8.\n while (buffer.getLengthInBits() % 8 !== 0) {\n buffer.putBit(0)\n }\n\n // Add pad bytes if the string is still shorter than the total number of required bits.\n // Extend the buffer to fill the data capacity of the symbol corresponding to\n // the Version and Error Correction Level by adding the Pad Codewords 11101100 (0xEC)\n // and 00010001 (0x11) alternately.\n const remainingByte = (dataTotalCodewordsBits - buffer.getLengthInBits()) / 8\n for (let i = 0; i < remainingByte; i++) {\n buffer.put(i % 2 ? 0x11 : 0xEC, 8)\n }\n\n return createCodewords(buffer, version, errorCorrectionLevel)\n}\n\n/**\n * Encode input data with Reed-Solomon and return codewords with\n * relative error correction bits\n *\n * @param {BitBuffer} bitBuffer Data to encode\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createCodewords (bitBuffer, version, errorCorrectionLevel) {\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n\n // Total number of data codewords\n const dataTotalCodewords = totalCodewords - ecTotalCodewords\n\n // Total number of blocks\n const ecTotalBlocks = ECCode.getBlocksCount(version, errorCorrectionLevel)\n\n // Calculate how many blocks each group should contain\n const blocksInGroup2 = totalCodewords % ecTotalBlocks\n const blocksInGroup1 = ecTotalBlocks - blocksInGroup2\n\n const totalCodewordsInGroup1 = Math.floor(totalCodewords / ecTotalBlocks)\n\n const dataCodewordsInGroup1 = Math.floor(dataTotalCodewords / ecTotalBlocks)\n const dataCodewordsInGroup2 = dataCodewordsInGroup1 + 1\n\n // Number of EC codewords is the same for both groups\n const ecCount = totalCodewordsInGroup1 - dataCodewordsInGroup1\n\n // Initialize a Reed-Solomon encoder with a generator polynomial of degree ecCount\n const rs = new ReedSolomonEncoder(ecCount)\n\n let offset = 0\n const dcData = new Array(ecTotalBlocks)\n const ecData = new Array(ecTotalBlocks)\n let maxDataSize = 0\n const buffer = new Uint8Array(bitBuffer.buffer)\n\n // Divide the buffer into the required number of blocks\n for (let b = 0; b < ecTotalBlocks; b++) {\n const dataSize = b < blocksInGroup1 ? dataCodewordsInGroup1 : dataCodewordsInGroup2\n\n // extract a block of data from buffer\n dcData[b] = buffer.slice(offset, offset + dataSize)\n\n // Calculate EC codewords for this data block\n ecData[b] = rs.encode(dcData[b])\n\n offset += dataSize\n maxDataSize = Math.max(maxDataSize, dataSize)\n }\n\n // Create final data\n // Interleave the data and error correction codewords from each block\n const data = new Uint8Array(totalCodewords)\n let index = 0\n let i, r\n\n // Add data codewords\n for (i = 0; i < maxDataSize; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n if (i < dcData[r].length) {\n data[index++] = dcData[r][i]\n }\n }\n }\n\n // Apped EC codewords\n for (i = 0; i < ecCount; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n data[index++] = ecData[r][i]\n }\n }\n\n return data\n}\n\n/**\n * Build QR Code symbol\n *\n * @param {String} data Input string\n * @param {Number} version QR Code version\n * @param {ErrorCorretionLevel} errorCorrectionLevel Error level\n * @param {MaskPattern} maskPattern Mask pattern\n * @return {Object} Object containing symbol data\n */\nfunction createSymbol (data, version, errorCorrectionLevel, maskPattern) {\n let segments\n\n if (Array.isArray(data)) {\n segments = Segments.fromArray(data)\n } else if (typeof data === 'string') {\n let estimatedVersion = version\n\n if (!estimatedVersion) {\n const rawSegments = Segments.rawSplit(data)\n\n // Estimate best version that can contain raw splitted segments\n estimatedVersion = Version.getBestVersionForData(rawSegments, errorCorrectionLevel)\n }\n\n // Build optimized segments\n // If estimated version is undefined, try with the highest version\n segments = Segments.fromString(data, estimatedVersion || 40)\n } else {\n throw new Error('Invalid data')\n }\n\n // Get the min version that can contain data\n const bestVersion = Version.getBestVersionForData(segments, errorCorrectionLevel)\n\n // If no version is found, data cannot be stored\n if (!bestVersion) {\n throw new Error('The amount of data is too big to be stored in a QR Code')\n }\n\n // If not specified, use min version as default\n if (!version) {\n version = bestVersion\n\n // Check if the specified version can contain the data\n } else if (version < bestVersion) {\n throw new Error('\\n' +\n 'The chosen QR Code version cannot contain this amount of data.\\n' +\n 'Minimum version required to store current data is: ' + bestVersion + '.\\n'\n )\n }\n\n const dataBits = createData(version, errorCorrectionLevel, segments)\n\n // Allocate matrix buffer\n const moduleCount = Utils.getSymbolSize(version)\n const modules = new BitMatrix(moduleCount)\n\n // Add function modules\n setupFinderPattern(modules, version)\n setupTimingPattern(modules)\n setupAlignmentPattern(modules, version)\n\n // Add temporary dummy bits for format info just to set them as reserved.\n // This is needed to prevent these bits from being masked by {@link MaskPattern.applyMask}\n // since the masking operation must be performed only on the encoding region.\n // These blocks will be replaced with correct values later in code.\n setupFormatInfo(modules, errorCorrectionLevel, 0)\n\n if (version >= 7) {\n setupVersionInfo(modules, version)\n }\n\n // Add data codewords\n setupData(modules, dataBits)\n\n if (isNaN(maskPattern)) {\n // Find best mask pattern\n maskPattern = MaskPattern.getBestMask(modules,\n setupFormatInfo.bind(null, modules, errorCorrectionLevel))\n }\n\n // Apply mask pattern\n MaskPattern.applyMask(maskPattern, modules)\n\n // Replace format info bits with correct values\n setupFormatInfo(modules, errorCorrectionLevel, maskPattern)\n\n return {\n modules: modules,\n version: version,\n errorCorrectionLevel: errorCorrectionLevel,\n maskPattern: maskPattern,\n segments: segments\n }\n}\n\n/**\n * QR Code\n *\n * @param {String | Array} data Input data\n * @param {Object} options Optional configurations\n * @param {Number} options.version QR Code version\n * @param {String} options.errorCorrectionLevel Error correction level\n * @param {Function} options.toSJISFunc Helper func to convert utf8 to sjis\n */\nexports.create = function create (data, options) {\n if (typeof data === 'undefined' || data === '') {\n throw new Error('No input text')\n }\n\n let errorCorrectionLevel = ECLevel.M\n let version\n let mask\n\n if (typeof options !== 'undefined') {\n // Use higher error correction level as default\n errorCorrectionLevel = ECLevel.from(options.errorCorrectionLevel, ECLevel.M)\n version = Version.from(options.version)\n mask = MaskPattern.from(options.maskPattern)\n\n if (options.toSJISFunc) {\n Utils.setToSJISFunction(options.toSJISFunc)\n }\n }\n\n return createSymbol(data, version, errorCorrectionLevel, mask)\n}\n"],"names":["Utils","require$$0","ECLevel","require$$1","BitBuffer","require$$2","BitMatrix","require$$3","AlignmentPattern","require$$4","FinderPattern","require$$5","MaskPattern","require$$6","ECCode","require$$7","ReedSolomonEncoder","require$$8","Version","require$$9","FormatInfo","require$$10","Mode","require$$11","Segments","require$$12","setupFinderPattern","matrix","version","size","pos","i","row","col","r","c","setupTimingPattern","value","setupAlignmentPattern","setupVersionInfo","bits","mod","setupFormatInfo","errorCorrectionLevel","maskPattern","setupData","data","inc","bitIndex","byteIndex","dark","createData","segments","buffer","totalCodewords","ecTotalCodewords","dataTotalCodewordsBits","remainingByte","createCodewords","bitBuffer","dataTotalCodewords","ecTotalBlocks","blocksInGroup2","blocksInGroup1","totalCodewordsInGroup1","dataCodewordsInGroup1","dataCodewordsInGroup2","ecCount","rs","offset","dcData","ecData","maxDataSize","b","dataSize","index","createSymbol","estimatedVersion","rawSegments","bestVersion","dataBits","moduleCount","modules","qrcode","options","mask"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,QAAMA,IAAQC,EAAA,GACRC,IAAUC,EAAA,GACVC,IAAYC,EAAA,GACZC,IAAYC,EAAA,GACZC,IAAmBC,EAAA,GACnBC,IAAgBC,GAAA,GAChBC,IAAcC,GAAA,GACdC,IAASC,GAAA,GACTC,IAAqBC,GAAA,GACrBC,IAAUC,GAAA,GACVC,IAAaC,GAAA,GACbC,IAAOC,GAAA,GACPC,IAAWC,GAAA;AAkCjB,WAASC,EAAoBC,GAAQC,GAAS;AAC5C,UAAMC,IAAOF,EAAO,MACdG,IAAMpB,EAAc,aAAakB,CAAO;AAE9C,aAASG,IAAI,GAAGA,IAAID,EAAI,QAAQC,KAAK;AACnC,YAAMC,IAAMF,EAAIC,CAAC,EAAE,CAAC,GACdE,IAAMH,EAAIC,CAAC,EAAE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GAASvC,CAAoB;AAAA,IAAC,IAI7D/B,EAAY,UAAUgC,GAAasC,CAAO,GAG1CxC,EAAgBwC,GAASvC,GAAsBC,CAAW,GAEnD;AAAA,MACL,SAASsC;AAAA,MACT,SAAStD;AAAA,MACT,sBAAsBe;AAAA,MACtB,aAAaC;AAAA,MACb,UAAUQ;AAAA,IACd;AAAA,EACA;AAWA,SAAA+B,EAAA,SAAiB,SAAiBrC,GAAMsC,GAAS;AAC/C,QAAI,OAAOtC,IAAS,OAAeA,MAAS;AAC1C,YAAM,IAAI,MAAM,eAAe;AAGjC,QAAIH,IAAuBzC,EAAQ,GAC/B0B,GACAyD;AAEJ,WAAI,OAAOD,IAAY,QAErBzC,IAAuBzC,EAAQ,KAAKkF,EAAQ,sBAAsBlF,EAAQ,CAAC,GAC3E0B,IAAUV,EAAQ,KAAKkE,EAAQ,OAAO,GACtCC,IAAOzE,EAAY,KAAKwE,EAAQ,WAAW,GAEvCA,EAAQ,cACVpF,EAAM,kBAAkBoF,EAAQ,UAAU,IAIvCR,EAAa9B,GAAMlB,GAASe,GAAsB0C,CAAI;AAAA,EAC/D;;","x_google_ignoreList":[0]}
package/dist/index115.js DELETED
@@ -1,33 +0,0 @@
1
- import { __exports as a } from "./index131.js";
2
- import { __require as h } from "./index132.js";
3
- var p;
4
- function C() {
5
- return p ? a : (p = 1, (function(u) {
6
- const f = h();
7
- function m(d, r, e) {
8
- d.clearRect(0, 0, r.width, r.height), r.style || (r.style = {}), r.height = e, r.width = e, r.style.height = e + "px", r.style.width = e + "px";
9
- }
10
- function s() {
11
- try {
12
- return document.createElement("canvas");
13
- } catch {
14
- throw new Error("You need to specify a canvas element");
15
- }
16
- }
17
- u.render = function(r, e, l) {
18
- let t = l, n = e;
19
- typeof t > "u" && (!e || !e.getContext) && (t = e, e = void 0), e || (n = s()), t = f.getOptions(t);
20
- const i = f.getImageWidth(r.modules.size, t), o = n.getContext("2d"), g = o.createImageData(i, i);
21
- return f.qrToImageData(g.data, r, t), m(o, n, i), o.putImageData(g, 0, 0), n;
22
- }, u.renderToDataURL = function(r, e, l) {
23
- let t = l;
24
- typeof t > "u" && (!e || !e.getContext) && (t = e, e = void 0), t || (t = {});
25
- const n = u.render(r, e, t), i = t.type || "image/png", o = t.rendererOpts || {};
26
- return n.toDataURL(i, o.quality);
27
- };
28
- })(a), a);
29
- }
30
- export {
31
- C as __require
32
- };
33
- //# sourceMappingURL=index115.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index115.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.js"],"sourcesContent":["const Utils = require('./utils')\n\nfunction clearCanvas (ctx, canvas, size) {\n ctx.clearRect(0, 0, canvas.width, canvas.height)\n\n if (!canvas.style) canvas.style = {}\n canvas.height = size\n canvas.width = size\n canvas.style.height = size + 'px'\n canvas.style.width = size + 'px'\n}\n\nfunction getCanvasElement () {\n try {\n return document.createElement('canvas')\n } catch (e) {\n throw new Error('You need to specify a canvas element')\n }\n}\n\nexports.render = function render (qrData, canvas, options) {\n let opts = options\n let canvasEl = canvas\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!canvas) {\n canvasEl = getCanvasElement()\n }\n\n opts = Utils.getOptions(opts)\n const size = Utils.getImageWidth(qrData.modules.size, opts)\n\n const ctx = canvasEl.getContext('2d')\n const image = ctx.createImageData(size, size)\n Utils.qrToImageData(image.data, qrData, opts)\n\n clearCanvas(ctx, canvasEl, size)\n ctx.putImageData(image, 0, 0)\n\n return canvasEl\n}\n\nexports.renderToDataURL = function renderToDataURL (qrData, canvas, options) {\n let opts = options\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!opts) opts = {}\n\n const canvasEl = exports.render(qrData, canvas, opts)\n\n const type = opts.type || 'image/png'\n const rendererOpts = opts.rendererOpts || {}\n\n return canvasEl.toDataURL(type, rendererOpts.quality)\n}\n"],"names":["Utils","require$$0","clearCanvas","ctx","canvas","size","getCanvasElement","exports","qrData","options","opts","canvasEl","image","type","rendererOpts"],"mappings":";;;;;AAAA,UAAMA,IAAQC,EAAA;AAEd,aAASC,EAAaC,GAAKC,GAAQC,GAAM;AACvC,MAAAF,EAAI,UAAU,GAAG,GAAGC,EAAO,OAAOA,EAAO,MAAM,GAE1CA,EAAO,UAAOA,EAAO,QAAQ,CAAA,IAClCA,EAAO,SAASC,GAChBD,EAAO,QAAQC,GACfD,EAAO,MAAM,SAASC,IAAO,MAC7BD,EAAO,MAAM,QAAQC,IAAO;AAAA,IAC9B;AAEA,aAASC,IAAoB;AAC3B,UAAI;AACF,eAAO,SAAS,cAAc,QAAQ;AAAA,MAC1C,QAAc;AACV,cAAM,IAAI,MAAM,sCAAsC;AAAA,MAC1D;AAAA,IACA;AAEAC,IAAAA,EAAA,SAAiB,SAAiBC,GAAQJ,GAAQK,GAAS;AACzD,UAAIC,IAAOD,GACPE,IAAWP;AAEf,MAAI,OAAOM,IAAS,QAAgB,CAACN,KAAU,CAACA,EAAO,gBACrDM,IAAON,GACPA,IAAS,SAGNA,MACHO,IAAWL,EAAgB,IAG7BI,IAAOV,EAAM,WAAWU,CAAI;AAC5B,YAAML,IAAOL,EAAM,cAAcQ,EAAO,QAAQ,MAAME,CAAI,GAEpDP,IAAMQ,EAAS,WAAW,IAAI,GAC9BC,IAAQT,EAAI,gBAAgBE,GAAMA,CAAI;AAC5C,aAAAL,EAAM,cAAcY,EAAM,MAAMJ,GAAQE,CAAI,GAE5CR,EAAYC,GAAKQ,GAAUN,CAAI,GAC/BF,EAAI,aAAaS,GAAO,GAAG,CAAC,GAErBD;AAAA,IACT,GAEAJ,EAAA,kBAA0B,SAA0BC,GAAQJ,GAAQK,GAAS;AAC3E,UAAIC,IAAOD;AAEX,MAAI,OAAOC,IAAS,QAAgB,CAACN,KAAU,CAACA,EAAO,gBACrDM,IAAON,GACPA,IAAS,SAGNM,MAAMA,IAAO,CAAA;AAElB,YAAMC,IAAWJ,EAAQ,OAAOC,GAAQJ,GAAQM,CAAI,GAE9CG,IAAOH,EAAK,QAAQ,aACpBI,IAAeJ,EAAK,gBAAgB,CAAA;AAE1C,aAAOC,EAAS,UAAUE,GAAMC,EAAa,OAAO;AAAA,IACtD;AAAA;;","x_google_ignoreList":[0]}
package/dist/index116.js DELETED
@@ -1,33 +0,0 @@
1
- import { __exports as g } from "./index133.js";
2
- import { __require as m } from "./index132.js";
3
- var d;
4
- function T() {
5
- if (d) return g;
6
- d = 1;
7
- const p = m();
8
- function u(n, r) {
9
- const i = n.a / 255, e = r + '="' + n.hex + '"';
10
- return i < 1 ? e + " " + r + '-opacity="' + i.toFixed(2).slice(1) + '"' : e;
11
- }
12
- function h(n, r, i) {
13
- let e = n + r;
14
- return typeof i < "u" && (e += " " + i), e;
15
- }
16
- function w(n, r, i) {
17
- let e = "", o = 0, s = !1, c = 0;
18
- for (let t = 0; t < n.length; t++) {
19
- const l = Math.floor(t % r), f = Math.floor(t / r);
20
- !l && !s && (s = !0), n[t] ? (c++, t > 0 && l > 0 && n[t - 1] || (e += s ? h("M", l + i, 0.5 + f + i) : h("m", o, 0), o = 0, s = !1), l + 1 < r && n[t + 1] || (e += h("h", c), c = 0)) : o++;
21
- }
22
- return e;
23
- }
24
- return g.render = function(r, i, e) {
25
- const o = p.getOptions(i), s = r.modules.size, c = r.modules.data, t = s + o.margin * 2, l = o.color.light.a ? "<path " + u(o.color.light, "fill") + ' d="M0 0h' + t + "v" + t + 'H0z"/>' : "", f = "<path " + u(o.color.dark, "stroke") + ' d="' + w(c, s, o.margin) + '"/>', v = 'viewBox="0 0 ' + t + " " + t + '"', a = '<svg xmlns="http://www.w3.org/2000/svg" ' + (o.width ? 'width="' + o.width + '" height="' + o.width + '" ' : "") + v + ' shape-rendering="crispEdges">' + l + f + `</svg>
26
- `;
27
- return typeof e == "function" && e(null, a), a;
28
- }, g;
29
- }
30
- export {
31
- T as __require
32
- };
33
- //# sourceMappingURL=index116.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index116.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.js"],"sourcesContent":["const Utils = require('./utils')\n\nfunction getColorAttrib (color, attrib) {\n const alpha = color.a / 255\n const str = attrib + '=\"' + color.hex + '\"'\n\n return alpha < 1\n ? str + ' ' + attrib + '-opacity=\"' + alpha.toFixed(2).slice(1) + '\"'\n : str\n}\n\nfunction svgCmd (cmd, x, y) {\n let str = cmd + x\n if (typeof y !== 'undefined') str += ' ' + y\n\n return str\n}\n\nfunction qrToPath (data, size, margin) {\n let path = ''\n let moveBy = 0\n let newRow = false\n let lineLength = 0\n\n for (let i = 0; i < data.length; i++) {\n const col = Math.floor(i % size)\n const row = Math.floor(i / size)\n\n if (!col && !newRow) newRow = true\n\n if (data[i]) {\n lineLength++\n\n if (!(i > 0 && col > 0 && data[i - 1])) {\n path += newRow\n ? svgCmd('M', col + margin, 0.5 + row + margin)\n : svgCmd('m', moveBy, 0)\n\n moveBy = 0\n newRow = false\n }\n\n if (!(col + 1 < size && data[i + 1])) {\n path += svgCmd('h', lineLength)\n lineLength = 0\n }\n } else {\n moveBy++\n }\n }\n\n return path\n}\n\nexports.render = function render (qrData, options, cb) {\n const opts = Utils.getOptions(options)\n const size = qrData.modules.size\n const data = qrData.modules.data\n const qrcodesize = size + opts.margin * 2\n\n const bg = !opts.color.light.a\n ? ''\n : '<path ' + getColorAttrib(opts.color.light, 'fill') +\n ' d=\"M0 0h' + qrcodesize + 'v' + qrcodesize + 'H0z\"/>'\n\n const path =\n '<path ' + getColorAttrib(opts.color.dark, 'stroke') +\n ' d=\"' + qrToPath(data, size, opts.margin) + '\"/>'\n\n const viewBox = 'viewBox=\"' + '0 0 ' + qrcodesize + ' ' + qrcodesize + '\"'\n\n const width = !opts.width ? '' : 'width=\"' + opts.width + '\" height=\"' + opts.width + '\" '\n\n const svgTag = '<svg xmlns=\"http://www.w3.org/2000/svg\" ' + width + viewBox + ' shape-rendering=\"crispEdges\">' + bg + path + '</svg>\\n'\n\n if (typeof cb === 'function') {\n cb(null, svgTag)\n }\n\n return svgTag\n}\n"],"names":["Utils","require$$0","getColorAttrib","color","attrib","alpha","str","svgCmd","cmd","x","y","qrToPath","data","size","margin","path","moveBy","newRow","lineLength","i","col","row","svgTag","qrData","options","cb","opts","qrcodesize","bg","viewBox"],"mappings":";;;;;;AAAA,QAAMA,IAAQC,EAAA;AAEd,WAASC,EAAgBC,GAAOC,GAAQ;AACtC,UAAMC,IAAQF,EAAM,IAAI,KAClBG,IAAMF,IAAS,OAAOD,EAAM,MAAM;AAExC,WAAOE,IAAQ,IACXC,IAAM,MAAMF,IAAS,eAAeC,EAAM,QAAQ,CAAC,EAAE,MAAM,CAAC,IAAI,MAChEC;AAAA,EACN;AAEA,WAASC,EAAQC,GAAKC,GAAGC,GAAG;AAC1B,QAAIJ,IAAME,IAAMC;AAChB,WAAI,OAAOC,IAAM,QAAaJ,KAAO,MAAMI,IAEpCJ;AAAA,EACT;AAEA,WAASK,EAAUC,GAAMC,GAAMC,GAAQ;AACrC,QAAIC,IAAO,IACPC,IAAS,GACTC,IAAS,IACTC,IAAa;AAEjB,aAASC,IAAI,GAAGA,IAAIP,EAAK,QAAQO,KAAK;AACpC,YAAMC,IAAM,KAAK,MAAMD,IAAIN,CAAI,GACzBQ,IAAM,KAAK,MAAMF,IAAIN,CAAI;AAE/B,MAAI,CAACO,KAAO,CAACH,MAAQA,IAAS,KAE1BL,EAAKO,CAAC,KACRD,KAEMC,IAAI,KAAKC,IAAM,KAAKR,EAAKO,IAAI,CAAC,MAClCJ,KAAQE,IACJV,EAAO,KAAKa,IAAMN,GAAQ,MAAMO,IAAMP,CAAM,IAC5CP,EAAO,KAAKS,GAAQ,CAAC,GAEzBA,IAAS,GACTC,IAAS,KAGLG,IAAM,IAAIP,KAAQD,EAAKO,IAAI,CAAC,MAChCJ,KAAQR,EAAO,KAAKW,CAAU,GAC9BA,IAAa,MAGfF;AAAA,IAEN;AAEE,WAAOD;AAAA,EACT;AAEA,SAAAO,EAAA,SAAiB,SAAiBC,GAAQC,GAASC,GAAI;AACrD,UAAMC,IAAO1B,EAAM,WAAWwB,CAAO,GAC/BX,IAAOU,EAAO,QAAQ,MACtBX,IAAOW,EAAO,QAAQ,MACtBI,IAAad,IAAOa,EAAK,SAAS,GAElCE,IAAMF,EAAK,MAAM,MAAM,IAEzB,WAAWxB,EAAewB,EAAK,MAAM,OAAO,MAAM,IAClD,cAAcC,IAAa,MAAMA,IAAa,WAF9C,IAIEZ,IACJ,WAAWb,EAAewB,EAAK,MAAM,MAAM,QAAQ,IACnD,SAASf,EAASC,GAAMC,GAAMa,EAAK,MAAM,IAAI,OAEzCG,IAAU,kBAAuBF,IAAa,MAAMA,IAAa,KAIjEL,IAAS,8CAFAI,EAAK,QAAa,YAAYA,EAAK,QAAQ,eAAeA,EAAK,QAAQ,OAA1D,MAEwCG,IAAU,mCAAmCD,IAAKb,IAAO;AAAA;AAE7H,WAAI,OAAOU,KAAO,cAChBA,EAAG,MAAMH,CAAM,GAGVA;AAAA,EACT;;","x_google_ignoreList":[0]}
package/dist/index117.js DELETED
@@ -1,5 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
5
- //# sourceMappingURL=index117.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index117.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index118.js DELETED
@@ -1,75 +0,0 @@
1
- import { __exports as n } from "./index135.js";
2
- var r;
3
- function S() {
4
- if (r) return n;
5
- r = 1;
6
- let e;
7
- const i = [
8
- 0,
9
- // Not used
10
- 26,
11
- 44,
12
- 70,
13
- 100,
14
- 134,
15
- 172,
16
- 196,
17
- 242,
18
- 292,
19
- 346,
20
- 404,
21
- 466,
22
- 532,
23
- 581,
24
- 655,
25
- 733,
26
- 815,
27
- 901,
28
- 991,
29
- 1085,
30
- 1156,
31
- 1258,
32
- 1364,
33
- 1474,
34
- 1588,
35
- 1706,
36
- 1828,
37
- 1921,
38
- 2051,
39
- 2185,
40
- 2323,
41
- 2465,
42
- 2611,
43
- 2761,
44
- 2876,
45
- 3034,
46
- 3196,
47
- 3362,
48
- 3532,
49
- 3706
50
- ];
51
- return n.getSymbolSize = function(t) {
52
- if (!t) throw new Error('"version" cannot be null or undefined');
53
- if (t < 1 || t > 40) throw new Error('"version" should be in range from 1 to 40');
54
- return t * 4 + 17;
55
- }, n.getSymbolTotalCodewords = function(t) {
56
- return i[t];
57
- }, n.getBCHDigit = function(o) {
58
- let t = 0;
59
- for (; o !== 0; )
60
- t++, o >>>= 1;
61
- return t;
62
- }, n.setToSJISFunction = function(t) {
63
- if (typeof t != "function")
64
- throw new Error('"toSJISFunc" is not a valid function.');
65
- e = t;
66
- }, n.isKanjiModeEnabled = function() {
67
- return typeof e < "u";
68
- }, n.toSJIS = function(t) {
69
- return e(t);
70
- }, n;
71
- }
72
- export {
73
- S as __require
74
- };
75
- //# sourceMappingURL=index118.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index118.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js"],"sourcesContent":["let toSJISFunction\nconst CODEWORDS_COUNT = [\n 0, // Not used\n 26, 44, 70, 100, 134, 172, 196, 242, 292, 346,\n 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085,\n 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185,\n 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706\n]\n\n/**\n * Returns the QR Code size for the specified version\n *\n * @param {Number} version QR Code version\n * @return {Number} size of QR code\n */\nexports.getSymbolSize = function getSymbolSize (version) {\n if (!version) throw new Error('\"version\" cannot be null or undefined')\n if (version < 1 || version > 40) throw new Error('\"version\" should be in range from 1 to 40')\n return version * 4 + 17\n}\n\n/**\n * Returns the total number of codewords used to store data and EC information.\n *\n * @param {Number} version QR Code version\n * @return {Number} Data length in bits\n */\nexports.getSymbolTotalCodewords = function getSymbolTotalCodewords (version) {\n return CODEWORDS_COUNT[version]\n}\n\n/**\n * Encode data with Bose-Chaudhuri-Hocquenghem\n *\n * @param {Number} data Value to encode\n * @return {Number} Encoded value\n */\nexports.getBCHDigit = function (data) {\n let digit = 0\n\n while (data !== 0) {\n digit++\n data >>>= 1\n }\n\n return digit\n}\n\nexports.setToSJISFunction = function setToSJISFunction (f) {\n if (typeof f !== 'function') {\n throw new Error('\"toSJISFunc\" is not a valid function.')\n }\n\n toSJISFunction = f\n}\n\nexports.isKanjiModeEnabled = function () {\n return typeof toSJISFunction !== 'undefined'\n}\n\nexports.toSJIS = function toSJIS (kanji) {\n return toSJISFunction(kanji)\n}\n"],"names":["toSJISFunction","CODEWORDS_COUNT","utils","version","data","digit","f","kanji"],"mappings":";;;;;AAAA,MAAIA;AACJ,QAAMC,IAAkB;AAAA,IACtB;AAAA;AAAA,IACA;AAAA,IAAI;AAAA,IAAI;AAAA,IAAI;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAC1C;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAAK;AAAA,IAC7C;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,IACtD;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,IAAM;AAAA,EACxD;AAQA,SAAAC,EAAA,gBAAwB,SAAwBC,GAAS;AACvD,QAAI,CAACA,EAAS,OAAM,IAAI,MAAM,uCAAuC;AACrE,QAAIA,IAAU,KAAKA,IAAU,GAAI,OAAM,IAAI,MAAM,2CAA2C;AAC5F,WAAOA,IAAU,IAAI;AAAA,EACvB,GAQAD,EAAA,0BAAkC,SAAkCC,GAAS;AAC3E,WAAOF,EAAgBE,CAAO;AAAA,EAChC,GAQAD,EAAA,cAAsB,SAAUE,GAAM;AACpC,QAAIC,IAAQ;AAEZ,WAAOD,MAAS;AACd,MAAAC,KACAD,OAAU;AAGZ,WAAOC;AAAA,EACT,GAEAH,EAAA,oBAA4B,SAA4BI,GAAG;AACzD,QAAI,OAAOA,KAAM;AACf,YAAM,IAAI,MAAM,uCAAuC;AAGzD,IAAAN,IAAiBM;AAAA,EACnB,GAEAJ,EAAA,qBAA6B,WAAY;AACvC,WAAO,OAAOF,IAAmB;AAAA,EACnC,GAEAE,EAAA,SAAiB,SAAiBK,GAAO;AACvC,WAAOP,EAAeO,CAAK;AAAA,EAC7B;;","x_google_ignoreList":[0]}
package/dist/index119.js DELETED
@@ -1,42 +0,0 @@
1
- import { __exports as t } from "./index136.js";
2
- var e;
3
- function f() {
4
- return e ? t : (e = 1, (function(r) {
5
- r.L = { bit: 1 }, r.M = { bit: 0 }, r.Q = { bit: 3 }, r.H = { bit: 2 };
6
- function o(n) {
7
- if (typeof n != "string")
8
- throw new Error("Param is not a string");
9
- switch (n.toLowerCase()) {
10
- case "l":
11
- case "low":
12
- return r.L;
13
- case "m":
14
- case "medium":
15
- return r.M;
16
- case "q":
17
- case "quartile":
18
- return r.Q;
19
- case "h":
20
- case "high":
21
- return r.H;
22
- default:
23
- throw new Error("Unknown EC Level: " + n);
24
- }
25
- }
26
- r.isValid = function(i) {
27
- return i && typeof i.bit < "u" && i.bit >= 0 && i.bit < 4;
28
- }, r.from = function(i, c) {
29
- if (r.isValid(i))
30
- return i;
31
- try {
32
- return o(i);
33
- } catch {
34
- return c;
35
- }
36
- };
37
- })(t), t);
38
- }
39
- export {
40
- f as __require
41
- };
42
- //# sourceMappingURL=index119.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index119.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.js"],"sourcesContent":["exports.L = { bit: 1 }\nexports.M = { bit: 0 }\nexports.Q = { bit: 3 }\nexports.H = { bit: 2 }\n\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'l':\n case 'low':\n return exports.L\n\n case 'm':\n case 'medium':\n return exports.M\n\n case 'q':\n case 'quartile':\n return exports.Q\n\n case 'h':\n case 'high':\n return exports.H\n\n default:\n throw new Error('Unknown EC Level: ' + string)\n }\n}\n\nexports.isValid = function isValid (level) {\n return level && typeof level.bit !== 'undefined' &&\n level.bit >= 0 && level.bit < 4\n}\n\nexports.from = function from (value, defaultValue) {\n if (exports.isValid(value)) {\n return value\n }\n\n try {\n return fromString(value)\n } catch (e) {\n return defaultValue\n }\n}\n"],"names":["exports","fromString","string","level","value","defaultValue"],"mappings":";;;;AAAAA,IAAAA,EAAA,IAAY,EAAE,KAAK,EAAC,GACpBA,EAAA,IAAY,EAAE,KAAK,EAAC,GACpBA,EAAA,IAAY,EAAE,KAAK,EAAC,GACpBA,EAAA,IAAY,EAAE,KAAK,EAAC;AAEpB,aAASC,EAAYC,GAAQ;AAC3B,UAAI,OAAOA,KAAW;AACpB,cAAM,IAAI,MAAM,uBAAuB;AAKzC,cAFcA,EAAO,YAAW,GAEnB;AAAA,QACX,KAAK;AAAA,QACL,KAAK;AACH,iBAAOF,EAAQ;AAAA,QAEjB,KAAK;AAAA,QACL,KAAK;AACH,iBAAOA,EAAQ;AAAA,QAEjB,KAAK;AAAA,QACL,KAAK;AACH,iBAAOA,EAAQ;AAAA,QAEjB,KAAK;AAAA,QACL,KAAK;AACH,iBAAOA,EAAQ;AAAA,QAEjB;AACE,gBAAM,IAAI,MAAM,uBAAuBE,CAAM;AAAA,MACnD;AAAA,IACA;AAEAF,IAAAA,EAAA,UAAkB,SAAkBG,GAAO;AACzC,aAAOA,KAAS,OAAOA,EAAM,MAAQ,OACnCA,EAAM,OAAO,KAAKA,EAAM,MAAM;AAAA,IAClC,GAEAH,EAAA,OAAe,SAAeI,GAAOC,GAAc;AACjD,UAAIL,EAAQ,QAAQI,CAAK;AACvB,eAAOA;AAGT,UAAI;AACF,eAAOH,EAAWG,CAAK;AAAA,MAC3B,QAAc;AACV,eAAOC;AAAA,MACX;AAAA,IACA;AAAA;;","x_google_ignoreList":[0]}
package/dist/index120.js DELETED
@@ -1,29 +0,0 @@
1
- var i, u;
2
- function n() {
3
- if (u) return i;
4
- u = 1;
5
- function r() {
6
- this.buffer = [], this.length = 0;
7
- }
8
- return r.prototype = {
9
- get: function(f) {
10
- const t = Math.floor(f / 8);
11
- return (this.buffer[t] >>> 7 - f % 8 & 1) === 1;
12
- },
13
- put: function(f, t) {
14
- for (let e = 0; e < t; e++)
15
- this.putBit((f >>> t - e - 1 & 1) === 1);
16
- },
17
- getLengthInBits: function() {
18
- return this.length;
19
- },
20
- putBit: function(f) {
21
- const t = Math.floor(this.length / 8);
22
- this.buffer.length <= t && this.buffer.push(0), f && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
23
- }
24
- }, i = r, i;
25
- }
26
- export {
27
- n as __require
28
- };
29
- //# sourceMappingURL=index120.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index120.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.js"],"sourcesContent":["function BitBuffer () {\n this.buffer = []\n this.length = 0\n}\n\nBitBuffer.prototype = {\n\n get: function (index) {\n const bufIndex = Math.floor(index / 8)\n return ((this.buffer[bufIndex] >>> (7 - index % 8)) & 1) === 1\n },\n\n put: function (num, length) {\n for (let i = 0; i < length; i++) {\n this.putBit(((num >>> (length - i - 1)) & 1) === 1)\n }\n },\n\n getLengthInBits: function () {\n return this.length\n },\n\n putBit: function (bit) {\n const bufIndex = Math.floor(this.length / 8)\n if (this.buffer.length <= bufIndex) {\n this.buffer.push(0)\n }\n\n if (bit) {\n this.buffer[bufIndex] |= (0x80 >>> (this.length % 8))\n }\n\n this.length++\n }\n}\n\nmodule.exports = BitBuffer\n"],"names":["BitBuffer","index","bufIndex","num","length","i","bit","bitBuffer"],"mappings":";;;;AAAA,WAASA,IAAa;AACpB,SAAK,SAAS,CAAA,GACd,KAAK,SAAS;AAAA,EAChB;AAEA,SAAAA,EAAU,YAAY;AAAA,IAEpB,KAAK,SAAUC,GAAO;AACpB,YAAMC,IAAW,KAAK,MAAMD,IAAQ,CAAC;AACrC,cAAS,KAAK,OAAOC,CAAQ,MAAO,IAAID,IAAQ,IAAM,OAAO;AAAA,IACjE;AAAA,IAEE,KAAK,SAAUE,GAAKC,GAAQ;AAC1B,eAASC,IAAI,GAAGA,IAAID,GAAQC;AAC1B,aAAK,QAASF,MAASC,IAASC,IAAI,IAAM,OAAO,CAAC;AAAA,IAExD;AAAA,IAEE,iBAAiB,WAAY;AAC3B,aAAO,KAAK;AAAA,IAChB;AAAA,IAEE,QAAQ,SAAUC,GAAK;AACrB,YAAMJ,IAAW,KAAK,MAAM,KAAK,SAAS,CAAC;AAC3C,MAAI,KAAK,OAAO,UAAUA,KACxB,KAAK,OAAO,KAAK,CAAC,GAGhBI,MACF,KAAK,OAAOJ,CAAQ,KAAM,QAAU,KAAK,SAAS,IAGpD,KAAK;AAAA,IACT;AAAA,EACA,GAEAK,IAAiBP;;","x_google_ignoreList":[0]}
package/dist/index121.js DELETED
@@ -1,24 +0,0 @@
1
- var n, s;
2
- function h() {
3
- if (s) return n;
4
- s = 1;
5
- function i(t) {
6
- if (!t || t < 1)
7
- throw new Error("BitMatrix size must be defined and greater than 0");
8
- this.size = t, this.data = new Uint8Array(t * t), this.reservedBit = new Uint8Array(t * t);
9
- }
10
- return i.prototype.set = function(t, r, e, o) {
11
- const a = t * this.size + r;
12
- this.data[a] = e, o && (this.reservedBit[a] = !0);
13
- }, i.prototype.get = function(t, r) {
14
- return this.data[t * this.size + r];
15
- }, i.prototype.xor = function(t, r, e) {
16
- this.data[t * this.size + r] ^= e;
17
- }, i.prototype.isReserved = function(t, r) {
18
- return this.reservedBit[t * this.size + r];
19
- }, n = i, n;
20
- }
21
- export {
22
- h as __require
23
- };
24
- //# sourceMappingURL=index121.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index121.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.js"],"sourcesContent":["/**\n * Helper class to handle QR Code symbol modules\n *\n * @param {Number} size Symbol size\n */\nfunction BitMatrix (size) {\n if (!size || size < 1) {\n throw new Error('BitMatrix size must be defined and greater than 0')\n }\n\n this.size = size\n this.data = new Uint8Array(size * size)\n this.reservedBit = new Uint8Array(size * size)\n}\n\n/**\n * Set bit value at specified location\n * If reserved flag is set, this bit will be ignored during masking process\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n * @param {Boolean} reserved\n */\nBitMatrix.prototype.set = function (row, col, value, reserved) {\n const index = row * this.size + col\n this.data[index] = value\n if (reserved) this.reservedBit[index] = true\n}\n\n/**\n * Returns bit value at specified location\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.get = function (row, col) {\n return this.data[row * this.size + col]\n}\n\n/**\n * Applies xor operator at specified location\n * (used during masking process)\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n */\nBitMatrix.prototype.xor = function (row, col, value) {\n this.data[row * this.size + col] ^= value\n}\n\n/**\n * Check if bit at specified location is reserved\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.isReserved = function (row, col) {\n return this.reservedBit[row * this.size + col]\n}\n\nmodule.exports = BitMatrix\n"],"names":["BitMatrix","size","row","col","value","reserved","index","bitMatrix"],"mappings":";;;;AAKA,WAASA,EAAWC,GAAM;AACxB,QAAI,CAACA,KAAQA,IAAO;AAClB,YAAM,IAAI,MAAM,mDAAmD;AAGrE,SAAK,OAAOA,GACZ,KAAK,OAAO,IAAI,WAAWA,IAAOA,CAAI,GACtC,KAAK,cAAc,IAAI,WAAWA,IAAOA,CAAI;AAAA,EAC/C;AAWA,SAAAD,EAAU,UAAU,MAAM,SAAUE,GAAKC,GAAKC,GAAOC,GAAU;AAC7D,UAAMC,IAAQJ,IAAM,KAAK,OAAOC;AAChC,SAAK,KAAKG,CAAK,IAAIF,GACfC,MAAU,KAAK,YAAYC,CAAK,IAAI;AAAA,EAC1C,GASAN,EAAU,UAAU,MAAM,SAAUE,GAAKC,GAAK;AAC5C,WAAO,KAAK,KAAKD,IAAM,KAAK,OAAOC,CAAG;AAAA,EACxC,GAUAH,EAAU,UAAU,MAAM,SAAUE,GAAKC,GAAKC,GAAO;AACnD,SAAK,KAAKF,IAAM,KAAK,OAAOC,CAAG,KAAKC;AAAA,EACtC,GASAJ,EAAU,UAAU,aAAa,SAAUE,GAAKC,GAAK;AACnD,WAAO,KAAK,YAAYD,IAAM,KAAK,OAAOC,CAAG;AAAA,EAC/C,GAEAI,IAAiBP;;","x_google_ignoreList":[0]}
package/dist/index122.js DELETED
@@ -1,27 +0,0 @@
1
- import { __exports as u } from "./index137.js";
2
- import { __require as a } from "./index118.js";
3
- var l;
4
- function p() {
5
- return l ? u : (l = 1, (function(s) {
6
- const c = a().getSymbolSize;
7
- s.getRowColCoords = function(r) {
8
- if (r === 1) return [];
9
- const i = Math.floor(r / 7) + 2, e = c(r), n = e === 145 ? 26 : Math.ceil((e - 13) / (2 * i - 2)) * 2, t = [e - 7];
10
- for (let o = 1; o < i - 1; o++)
11
- t[o] = t[o - 1] - n;
12
- return t.push(6), t.reverse();
13
- }, s.getPositions = function(r) {
14
- const i = [], e = s.getRowColCoords(r), n = e.length;
15
- for (let t = 0; t < n; t++)
16
- for (let o = 0; o < n; o++)
17
- t === 0 && o === 0 || // top-left
18
- t === 0 && o === n - 1 || // bottom-left
19
- t === n - 1 && o === 0 || i.push([e[t], e[o]]);
20
- return i;
21
- };
22
- })(u), u);
23
- }
24
- export {
25
- p as __require
26
- };
27
- //# sourceMappingURL=index122.js.map