asterui 0.12.0 → 0.12.1

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 (160) hide show
  1. package/README.md +1 -1
  2. package/dist/components/Form.d.ts +27 -2
  3. package/dist/components/Radio.d.ts +7 -1
  4. package/dist/components/Status.d.ts +18 -0
  5. package/dist/index.d.ts +4 -2
  6. package/dist/index.js +61 -59
  7. package/dist/index.js.map +1 -1
  8. package/dist/index100.js +7 -12
  9. package/dist/index100.js.map +1 -1
  10. package/dist/index101.js +11 -29
  11. package/dist/index101.js.map +1 -1
  12. package/dist/index102.js +29 -16
  13. package/dist/index102.js.map +1 -1
  14. package/dist/index103.js +17 -10792
  15. package/dist/index103.js.map +1 -1
  16. package/dist/index104.js +10793 -5
  17. package/dist/index104.js.map +1 -1
  18. package/dist/index105.js +5 -42
  19. package/dist/index105.js.map +1 -1
  20. package/dist/index106.js +42 -2
  21. package/dist/index106.js.map +1 -1
  22. package/dist/index107.js +2 -7
  23. package/dist/index107.js.map +1 -1
  24. package/dist/index108.js +6 -151
  25. package/dist/index108.js.map +1 -1
  26. package/dist/index109.js +147 -25
  27. package/dist/index109.js.map +1 -1
  28. package/dist/index110.js +28 -28
  29. package/dist/index110.js.map +1 -1
  30. package/dist/index111.js +30 -2
  31. package/dist/index111.js.map +1 -1
  32. package/dist/index112.js +2 -72
  33. package/dist/index112.js.map +1 -1
  34. package/dist/index113.js +71 -38
  35. package/dist/index113.js.map +1 -1
  36. package/dist/index114.js +37 -24
  37. package/dist/index114.js.map +1 -1
  38. package/dist/index115.js +24 -19
  39. package/dist/index115.js.map +1 -1
  40. package/dist/index116.js +20 -23
  41. package/dist/index116.js.map +1 -1
  42. package/dist/index117.js +23 -19
  43. package/dist/index117.js.map +1 -1
  44. package/dist/index118.js +19 -99
  45. package/dist/index118.js.map +1 -1
  46. package/dist/index119.js +98 -358
  47. package/dist/index119.js.map +1 -1
  48. package/dist/index120.js +358 -23
  49. package/dist/index120.js.map +1 -1
  50. package/dist/index121.js +23 -71
  51. package/dist/index121.js.map +1 -1
  52. package/dist/index122.js +72 -15
  53. package/dist/index122.js.map +1 -1
  54. package/dist/index123.js +15 -65
  55. package/dist/index123.js.map +1 -1
  56. package/dist/index124.js +61 -139
  57. package/dist/index124.js.map +1 -1
  58. package/dist/index125.js +144 -2
  59. package/dist/index125.js.map +1 -1
  60. package/dist/index126.js +2 -56
  61. package/dist/index126.js.map +1 -1
  62. package/dist/index127.js +56 -2
  63. package/dist/index127.js.map +1 -1
  64. package/dist/index128.js +2 -2
  65. package/dist/index131.js +2 -2
  66. package/dist/index132.js +2 -2
  67. package/dist/index133.js +2 -2
  68. package/dist/index134.js +2 -2
  69. package/dist/index135.js +2 -32
  70. package/dist/index135.js.map +1 -1
  71. package/dist/index136.js +32 -2
  72. package/dist/index136.js.map +1 -1
  73. package/dist/index137.js +2 -8
  74. package/dist/index137.js.map +1 -1
  75. package/dist/index138.js +8 -2
  76. package/dist/index138.js.map +1 -1
  77. package/dist/index139.js +2 -2
  78. package/dist/index140.js +2 -21
  79. package/dist/index140.js.map +1 -1
  80. package/dist/index141.js +21 -2
  81. package/dist/index141.js.map +1 -1
  82. package/dist/index142.js +2 -24
  83. package/dist/index142.js.map +1 -1
  84. package/dist/index143.js +17 -64
  85. package/dist/index143.js.map +1 -1
  86. package/dist/index144.js +68 -18
  87. package/dist/index144.js.map +1 -1
  88. package/dist/index145.js +18 -31
  89. package/dist/index145.js.map +1 -1
  90. package/dist/index146.js +32 -68
  91. package/dist/index146.js.map +1 -1
  92. package/dist/index147.js +70 -2
  93. package/dist/index147.js.map +1 -1
  94. package/dist/index148.js +2 -22
  95. package/dist/index148.js.map +1 -1
  96. package/dist/index149.js +22 -2
  97. package/dist/index149.js.map +1 -1
  98. package/dist/index15.js +1 -1
  99. package/dist/index151.js +2 -2
  100. package/dist/index152.js +2 -2
  101. package/dist/index153.js +2 -4
  102. package/dist/index153.js.map +1 -1
  103. package/dist/index154.js +7 -0
  104. package/dist/index154.js.map +1 -0
  105. package/dist/index31.js +175 -116
  106. package/dist/index31.js.map +1 -1
  107. package/dist/index62.js +1 -1
  108. package/dist/index63.js +24 -24
  109. package/dist/index63.js.map +1 -1
  110. package/dist/index75.js +31 -22
  111. package/dist/index75.js.map +1 -1
  112. package/dist/index76.js +20 -327
  113. package/dist/index76.js.map +1 -1
  114. package/dist/index77.js +323 -50
  115. package/dist/index77.js.map +1 -1
  116. package/dist/index78.js +56 -40
  117. package/dist/index78.js.map +1 -1
  118. package/dist/index79.js +40 -23
  119. package/dist/index79.js.map +1 -1
  120. package/dist/index80.js +21 -93
  121. package/dist/index80.js.map +1 -1
  122. package/dist/index81.js +88 -123
  123. package/dist/index81.js.map +1 -1
  124. package/dist/index82.js +123 -154
  125. package/dist/index82.js.map +1 -1
  126. package/dist/index83.js +159 -63
  127. package/dist/index83.js.map +1 -1
  128. package/dist/index84.js +65 -35
  129. package/dist/index84.js.map +1 -1
  130. package/dist/index85.js +35 -234
  131. package/dist/index85.js.map +1 -1
  132. package/dist/index86.js +231 -31
  133. package/dist/index86.js.map +1 -1
  134. package/dist/index87.js +34 -210
  135. package/dist/index87.js.map +1 -1
  136. package/dist/index88.js +195 -198
  137. package/dist/index88.js.map +1 -1
  138. package/dist/index89.js +159 -241
  139. package/dist/index89.js.map +1 -1
  140. package/dist/index90.js +283 -166
  141. package/dist/index90.js.map +1 -1
  142. package/dist/index91.js +173 -253
  143. package/dist/index91.js.map +1 -1
  144. package/dist/index92.js +258 -14
  145. package/dist/index92.js.map +1 -1
  146. package/dist/index93.js +12 -31
  147. package/dist/index93.js.map +1 -1
  148. package/dist/index94.js +32 -5
  149. package/dist/index94.js.map +1 -1
  150. package/dist/index95.js +5 -13
  151. package/dist/index95.js.map +1 -1
  152. package/dist/index96.js +11 -43
  153. package/dist/index96.js.map +1 -1
  154. package/dist/index97.js +44 -11
  155. package/dist/index97.js.map +1 -1
  156. package/dist/index98.js +10 -12
  157. package/dist/index98.js.map +1 -1
  158. package/dist/index99.js +14 -7
  159. package/dist/index99.js.map +1 -1
  160. package/package.json +1 -1
package/dist/index110.js CHANGED
@@ -1,33 +1,33 @@
1
- import { __exports as g } from "./index127.js";
2
- import { __require as m } from "./index126.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++;
1
+ import { __exports as a } from "./index126.js";
2
+ import { __require as h } from "./index127.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";
21
9
  }
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;
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
29
  }
30
30
  export {
31
- T as __require
31
+ C as __require
32
32
  };
33
33
  //# sourceMappingURL=index110.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index110.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]}
1
+ {"version":3,"file":"index110.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/index111.js CHANGED
@@ -1,5 +1,33 @@
1
- var r = {};
1
+ import { __exports as g } from "./index128.js";
2
+ import { __require as m } from "./index127.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
+ }
2
30
  export {
3
- r as __exports
31
+ T as __require
4
32
  };
5
33
  //# sourceMappingURL=index111.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index111.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index111.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/index112.js CHANGED
@@ -1,75 +1,5 @@
1
- import { __exports as n } from "./index129.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
- }
1
+ var r = {};
72
2
  export {
73
- S as __require
3
+ r as __exports
74
4
  };
75
5
  //# sourceMappingURL=index112.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index112.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]}
1
+ {"version":3,"file":"index112.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index113.js CHANGED
@@ -1,42 +1,75 @@
1
- import { __exports as t } from "./index130.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);
1
+ import { __exports as n } from "./index130.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;
38
71
  }
39
72
  export {
40
- f as __require
73
+ S as __require
41
74
  };
42
75
  //# sourceMappingURL=index113.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index113.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]}
1
+ {"version":3,"file":"index113.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/index114.js CHANGED
@@ -1,29 +1,42 @@
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++;
1
+ import { __exports as t } from "./index131.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
+ }
23
25
  }
24
- }, i = r, i;
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);
25
38
  }
26
39
  export {
27
- n as __require
40
+ f as __require
28
41
  };
29
42
  //# sourceMappingURL=index114.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index114.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]}
1
+ {"version":3,"file":"index114.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/index115.js CHANGED
@@ -1,24 +1,29 @@
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);
1
+ var i, u;
2
+ function n() {
3
+ if (u) return i;
4
+ u = 1;
5
+ function r() {
6
+ this.buffer = [], this.length = 0;
9
7
  }
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;
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;
20
25
  }
21
26
  export {
22
- h as __require
27
+ n as __require
23
28
  };
24
29
  //# sourceMappingURL=index115.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index115.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]}
1
+ {"version":3,"file":"index115.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/index116.js CHANGED
@@ -1,27 +1,24 @@
1
- import { __exports as u } from "./index131.js";
2
- import { __require as a } from "./index112.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);
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;
23
20
  }
24
21
  export {
25
- p as __require
22
+ h as __require
26
23
  };
27
24
  //# sourceMappingURL=index116.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index116.js","sources":["../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.js"],"sourcesContent":["/**\n * Alignment pattern are fixed reference pattern in defined positions\n * in a matrix symbology, which enables the decode software to re-synchronise\n * the coordinate mapping of the image modules in the event of moderate amounts\n * of distortion of the image.\n *\n * Alignment patterns are present only in QR Code symbols of version 2 or larger\n * and their number depends on the symbol version.\n */\n\nconst getSymbolSize = require('./utils').getSymbolSize\n\n/**\n * Calculate the row/column coordinates of the center module of each alignment pattern\n * for the specified QR Code version.\n *\n * The alignment patterns are positioned symmetrically on either side of the diagonal\n * running from the top left corner of the symbol to the bottom right corner.\n *\n * Since positions are simmetrical only half of the coordinates are returned.\n * Each item of the array will represent in turn the x and y coordinate.\n * @see {@link getPositions}\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinate\n */\nexports.getRowColCoords = function getRowColCoords (version) {\n if (version === 1) return []\n\n const posCount = Math.floor(version / 7) + 2\n const size = getSymbolSize(version)\n const intervals = size === 145 ? 26 : Math.ceil((size - 13) / (2 * posCount - 2)) * 2\n const positions = [size - 7] // Last coord is always (size - 7)\n\n for (let i = 1; i < posCount - 1; i++) {\n positions[i] = positions[i - 1] - intervals\n }\n\n positions.push(6) // First coord is always 6\n\n return positions.reverse()\n}\n\n/**\n * Returns an array containing the positions of each alignment pattern.\n * Each array's element represent the center point of the pattern as (x, y) coordinates\n *\n * Coordinates are calculated expanding the row/column coordinates returned by {@link getRowColCoords}\n * and filtering out the items that overlaps with finder pattern\n *\n * @example\n * For a Version 7 symbol {@link getRowColCoords} returns values 6, 22 and 38.\n * The alignment patterns, therefore, are to be centered on (row, column)\n * positions (6,22), (22,6), (22,22), (22,38), (38,22), (38,38).\n * Note that the coordinates (6,6), (6,38), (38,6) are occupied by finder patterns\n * and are not therefore used for alignment patterns.\n *\n * let pos = getPositions(7)\n * // [[6,22], [22,6], [22,22], [22,38], [38,22], [38,38]]\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const coords = []\n const pos = exports.getRowColCoords(version)\n const posLength = pos.length\n\n for (let i = 0; i < posLength; i++) {\n for (let j = 0; j < posLength; j++) {\n // Skip if position is occupied by finder patterns\n if ((i === 0 && j === 0) || // top-left\n (i === 0 && j === posLength - 1) || // bottom-left\n (i === posLength - 1 && j === 0)) { // top-right\n continue\n }\n\n coords.push([pos[i], pos[j]])\n }\n }\n\n return coords\n}\n"],"names":["getSymbolSize","require$$0","exports","version","posCount","size","intervals","positions","i","coords","pos","posLength","j"],"mappings":";;;;;AAUA,UAAMA,IAAgBC,IAAmB;AAgBzCC,IAAAA,EAAA,kBAA0B,SAA0BC,GAAS;AAC3D,UAAIA,MAAY,EAAG,QAAO,CAAA;AAE1B,YAAMC,IAAW,KAAK,MAAMD,IAAU,CAAC,IAAI,GACrCE,IAAOL,EAAcG,CAAO,GAC5BG,IAAYD,MAAS,MAAM,KAAK,KAAK,MAAMA,IAAO,OAAO,IAAID,IAAW,EAAE,IAAI,GAC9EG,IAAY,CAACF,IAAO,CAAC;AAE3B,eAASG,IAAI,GAAGA,IAAIJ,IAAW,GAAGI;AAChC,QAAAD,EAAUC,CAAC,IAAID,EAAUC,IAAI,CAAC,IAAIF;AAGpC,aAAAC,EAAU,KAAK,CAAC,GAETA,EAAU,QAAO;AAAA,IAC1B,GAsBAL,EAAA,eAAuB,SAAuBC,GAAS;AACrD,YAAMM,IAAS,CAAA,GACTC,IAAMR,EAAQ,gBAAgBC,CAAO,GACrCQ,IAAYD,EAAI;AAEtB,eAASF,IAAI,GAAGA,IAAIG,GAAWH;AAC7B,iBAASI,IAAI,GAAGA,IAAID,GAAWC;AAE7B,UAAKJ,MAAM,KAAKI,MAAM;AAAA,UACjBJ,MAAM,KAAKI,MAAMD,IAAY;AAAA,UAC7BH,MAAMG,IAAY,KAAKC,MAAM,KAIlCH,EAAO,KAAK,CAACC,EAAIF,CAAC,GAAGE,EAAIE,CAAC,CAAC,CAAC;AAIhC,aAAOH;AAAA,IACT;AAAA;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index116.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]}