PageSourceSearch

https://controlle.com/assets/Pagar-zY9zQ25A.js

js controlle.com collected 2026-10-02 20:30:22 UTC 97,083 bytes, 13 lines download raw bytes

1import{j as f}from"./vendor-query-BHbF8vTt.js";import{k as hn,r as F,f as vn}from"./vendor-react-DhnQGDJb.js";import{s as Jt}from"./client-5ONZe0eJ.js";import{L as Yt}from"./LogoSvg-CLNpbTZO.js";import{B as Qe}from"./button-DJPNIr0u.js";import{u as pn}from"./index-bdvXOh6c.js";import{p as mn}from"./index-D9y3sY-g.js";import{C as Ae}from"./circle-check-CIHjr01J.js";import{j as xr,W as _n}from"./index-DtTtzEKL.js";import{L as yn}from"./lock-DrJXia4s.js";import{C as Er}from"./circle-alert-DY2YxksB.js";import{C as Kt}from"./check-BKBd4HX4.js";import{C as er}from"./copy-CPxZGhV4.js";import{F as tr}from"./file-text-DhubE3JU.js";import{C as gn}from"./credit-card-ClWb2Gcc.js";import{C as bn}from"./clock-CzZuNMFp.js";import{C as rr}from"./circle-x-Dji3bI1S.js";import"./vendor-supabase-DYF9jBO9.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const xn=xr("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
7 * @license lucide-react v0.462.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const nr=xr("QrCode",[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]]);var ct={},Ne={},j={};Object.defineProperty(j,"__esModule",{value:!0});function En(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var On=function t(e,n){En(this,t),this.data=e,this.text=n.text||e,this.options=n};j.default=On;Object.defineProperty(Ne,"__esModule",{value:!0});Ne.CODE39=void 0;var wn=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),$n=j,Sn=Mn($n);function Mn(t){return t&&t.__esModule?t:{default:t}}function Pn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function jn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var An=function(t){jn(e,t);function e(n,r){return Pn(this,e),n=n.toUpperCase(),r.mod43&&(n+=In(kn(n))),Rn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return wn(e,[{key:"encode",value:function(){for(var r=Ze("*"),a=0;a<this.data.length;a++)r+=Ze(this.data[a])+"0";return r+=Ze("*"),{data:r,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),e}(Sn.default),Or=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],Tn=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,3
110065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function Ze(t){return Nn(wr(t))}function Nn(t){return Tn[t].toString(2)}function In(t){return Or[t]}function wr(t){return Or.indexOf(t)}function kn(t){for(var e=0,n=0;n<t.length;n++)e+=wr(t[n]);return e=e%43,e}Ne.CODE39=An;var G={},dt={},le={},E={};Object.defineProperty(E,"__esModule",{value:!0});var pe;function Je(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $r=E.SET_A=0,Sr=E.SET_B=1,Mr=E.SET_C=2;E.SHIFT=98;var Dn=E.START_A=103,Cn=E.START_B=104,Bn=E.START_C=105;E.MODULO=103;E.STOP=106;E.FNC1=207;E.SET_BY_CODE=(pe={},Je(pe,Dn,$r),Je(pe,Cn,Sr),Je(pe,Bn,Mr),pe);E.SWAP={101:$r,100:Sr,99:Mr};E.A_START_CHAR="Ð";E.B_START_CHAR="Ñ";E.C_START_CHAR="Ò";E.A_CHARS="[\0-_È-Ï]";E.B_CHARS="[ -�È-Ï]";E.C_CHARS="(Ï*[0-9]{2}Ï*)";E.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011];
11Object.defineProperty(le,"__esModule",{value:!0});var Ln=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Fn=j,Gn=zn(Fn),N=E;function zn(t){return t&&t.__esModule?t:{default:t}}function Un(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Vn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Xn=function(t){Vn(e,t);function e(n,r){Un(this,e);var a=Hn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n.substring(1),r));return a.bytes=n.split("").map(function(u){return u.charCodeAt(0)}),a}return Ln(e,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var r=this.bytes,a=r.shift()-105,u=N.SET_BY_CODE[a];if(u===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&r.unshift(N.FNC1);var l=e.next(r,1,u);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:e.getBar(a)+l.result+e.getBar((l.checksum+a)%N.MODULO)+e.getBar(N.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var r=this.options.ean128||!1;return typeof r=="string"&&(r=r.toLowerCase()==="true"),r}}],[{key:"getBar",value:function(r){return N.BARS[r]?N.BARS[r].toString():""}},{key:"correctIndex",value:function(r,a){if(a===N.SET_A){var u=r.shift();return u<32?u+64:u-32}else return a===N.SET_B?r.shift()-32:(r.shift()-48)*10+r.shift()-48}},{key:"next",value:function(r,a,u){if(!r.length)return{result:"",checksum:0};var l=void 0,c=void 0;if(r[0]>=200){c=r.shift()-105;var S=N.SWAP[c];S!==void 0?l=e.next(r,a+1,S):((u===N.SET_A||u===N.SET_B)&&c===N.SHIFT&&(r[0]=u===N.SET_A?r[0]>95?r[0]-96:r[0]:r[0]<32?r[0]+96:r[0]),l=e.next(r,a+1,u))}else c=e.correctIndex(r,u),l=e.next(r,a+1,u);var M=e.getBar(c),Q=c*a;return{result:M+l.result,checksum:Q+l.checksum}}}]),e}(Gn.default);le.default=Xn;var st={};Object.defineProperty(st,"__esModule",{value:!0});var q=E,Pr=function(e){return e.match(new RegExp("^"+q.A_CHARS+"*"))[0].length},Rr=function(e){return e.match(new RegExp("^"+q.B_CHARS+"*"))[0].length},jr=function(e){return e.match(new RegExp("^"+q.C_CHARS+"*"))[0]};function ht(t,e){var n=e?q.A_CHARS:q.B_CHARS,r=t.match(new RegExp("^("+n+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(r)return r[1]+"Ì"+Ar(t.substring(r[1].length));var a=t.match(new RegExp("^"+n+"+"))[0];return a.length===t.length?t:a+String.fromCharCode(e?205:206)+ht(t.substring(a.length),!e)}function Ar(t){var e=jr(t),n=e.length;if(n===t.length)return t;t=t.substring(n);var r=Pr(t)>=Rr(t);return e+String.fromCharCode(r?206:205)+ht(t,r)}st.default=function(t){var e=void 0,n=jr(t).length;if(n>=2)e=q.C_START_CHAR+Ar(t);else{var r=Pr(t)>Rr(t);e=(r?q.A_START_CHAR:q.B_START_CHAR)+ht(t,r)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(a,u){return"Ë"+u})};
11Object.defineProperty(dt,"__esModule",{value:!0});var qn=le,Wn=Tr(qn),Qn=st,Zn=Tr(Qn);function Tr(t){return t&&t.__esModule?t:{default:t}}function Jn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ye(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Yn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Kn=function(t){Yn(e,t);function e(n,r){if(Jn(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(n))var a=Ye(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,Zn.default)(n),r));else var a=Ye(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r));return Ye(a)}return e}(Wn.default);dt.default=Kn;var vt={};Object.defineProperty(vt,"__esModule",{value:!0});var ea=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),ta=le,ra=na(ta),ar=E;function na(t){return t&&t.__esModule?t:{default:t}}function aa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ia(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function oa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ua=function(t){oa(e,t);function e(n,r){return aa(this,e),ia(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,ar.A_START_CHAR+n,r))}return ea(e,[{key:"valid",value:function(){return new RegExp("^"+ar.A_CHARS+"+$").test(this.data)}}]),e}(ra.default);vt.default=ua;var pt={};Object.defineProperty(pt,"__esModule",{value:!0});var fa=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),la=le,ca=da(la),ir=E;function da(t){return t&&t.__esModule?t:{default:t}}function sa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ha(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function va(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var pa=function(t){va(e,t);function e(n,r){return sa(this,e),ha(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,ir.B_START_CHAR+n,r))}return fa(e,[{key:"valid",value:function(){return new RegExp("^"+ir.B_CHARS+"+$").test(this.data)}}]),e}(ca.default);pt.default=pa;var mt={};Object.defineProperty(mt,"__esModule",{value:!0});var ma=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),_a=le,ya=ga(_a),or=E;function ga(t){return t&&t.__esModule?t:{default:t}}function ba(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xa(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ea(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Oa=function(t){Ea(e,t);function e(n,r){return ba(this,e),xa(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,or.C_START_CHAR+n,r))}return ma(e,[{key:"valid",value:function(){return new RegExp("^"+or.C_CHARS+"+$").test(this.data)}}]),e}(ya.default);mt.default=Oa;
11Object.defineProperty(G,"__esModule",{value:!0});G.CODE128C=G.CODE128B=G.CODE128A=G.CODE128=void 0;var wa=dt,$a=Ie(wa),Sa=vt,Ma=Ie(Sa),Pa=pt,Ra=Ie(Pa),ja=mt,Aa=Ie(ja);function Ie(t){return t&&t.__esModule?t:{default:t}}G.CODE128=$a.default;G.CODE128A=Ma.default;G.CODE128B=Ra.default;G.CODE128C=Aa.default;var T={},_t={},D={};Object.defineProperty(D,"__esModule",{value:!0});D.SIDE_BIN="101";D.MIDDLE_BIN="01010";D.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]};D.EAN2_STRUCTURE=["LL","LG","GL","GG"];D.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"];D.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"];var ke={},Y={};Object.defineProperty(Y,"__esModule",{value:!0});var Ta=D,Na=function(e,n,r){var a=e.split("").map(function(l,c){return Ta.BINARIES[n[c]]}).map(function(l,c){return l?l[e[c]]:""});if(r){var u=e.length-1;a=a.map(function(l,c){return c<u?l+r:l})}return a.join("")};Y.default=Na;Object.defineProperty(ke,"__esModule",{value:!0});var Ia=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),ne=D,ka=Y,ur=Nr(ka),Da=j,Ca=Nr(Da);function Nr(t){return t&&t.__esModule?t:{default:t}}function Ba(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function La(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Fa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ga=function(t){Fa(e,t);function e(n,r){Ba(this,e);var a=La(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r));return a.fontSize=!r.flat&&r.fontSize>r.width*10?r.width*10:r.fontSize,a.guardHeight=r.height+a.fontSize/2+r.textMargin,a}return Ia(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(r,a){return this.text.substr(r,a)}},{key:"leftEncode",value:function(r,a){return(0,ur.default)(r,a)}},{key:"rightText",value:function(r,a){return this.text.substr(r,a)}},{key:"rightEncode",value:function(r,a){return(0,ur.default)(r,a)}},{key:"encodeGuarded",value:function(){var r={fontSize:this.fontSize},a={height:this.guardHeight};return[{data:ne.SIDE_BIN,options:a},{data:this.leftEncode(),text:this.leftText(),options:r},{data:ne.MIDDLE_BIN,options:a},{data:this.rightEncode(),text:this.rightText(),options:r},{data:ne.SIDE_BIN,options:a}]}},{key:"encodeFlat",value:function(){var r=[ne.SIDE_BIN,this.leftEncode(),ne.MIDDLE_BIN,this.rightEncode(),ne.SIDE_BIN];return{data:r.join(""),text:this.text}}}]),e}(Ca.default);ke.default=Ga;Object.defineProperty(_t,"__esModule",{value:!0});var za=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),me=function t(e,n,r){e===null&&(e=Function.prototype);var a=Object.getOwnPropertyDescriptor(e,n);if(a===void 0){var u=Object.getPrototypeOf(e);return u===null?void 0:t(u,n,r)}else{if("value"in a)return a.value;var l=a.get;return l===void 0?void 0:l.call(r)}},Ua=D,Ha=ke,Va=Xa(Ha);function Xa(t){return t&&t.__esModule?t:{default:t}}function qa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wa(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Qa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var fr=function(e){var n=e.substr(0,12).split("").map(function(r){return+r}).reduce(function(r,a,u){return u%2?r+a*3:r+a},0);return(10-n%10)%10},Za=function(t){Qa(e,t);function e(n,r){qa(this,e),n.search(/^[0-9]{12}$/)!==-1&&(n+=fr(n));var a=Wa(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r));return a.lastChar=r.lastChar,a}return za(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===fr(this.data)}},{key:"leftText",value:function(){return me(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var r=this.data.substr(1,6),a=Ua.EAN13_STRUCTURE[this.data[0]];return me(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,r,a)}},{key:"rightText",value:function(){return me(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var r=this.data.substr(7,6);return me(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,r,"RRRRRR")}},{key:"encodeGuarded",value:function(){var r=me(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(r.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(r.push({data:"00"}),r.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),r}}]),e}(Va.default);_t.default=Za;var yt={};
11Object.defineProperty(yt,"__esModule",{value:!0});var Ja=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Se=function t(e,n,r){e===null&&(e=Function.prototype);var a=Object.getOwnPropertyDescriptor(e,n);if(a===void 0){var u=Object.getPrototypeOf(e);return u===null?void 0:t(u,n,r)}else{if("value"in a)return a.value;var l=a.get;return l===void 0?void 0:l.call(r)}},Ya=ke,Ka=ei(Ya);function ei(t){return t&&t.__esModule?t:{default:t}}function ti(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ri(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ni(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var lr=function(e){var n=e.substr(0,7).split("").map(function(r){return+r}).reduce(function(r,a,u){return u%2?r+a:r+a*3},0);return(10-n%10)%10},ai=function(t){ni(e,t);function e(n,r){return ti(this,e),n.search(/^[0-9]{7}$/)!==-1&&(n+=lr(n)),ri(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return Ja(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===lr(this.data)}},{key:"leftText",value:function(){return Se(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var r=this.data.substr(0,4);return Se(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,r,"LLLL")}},{key:"rightText",value:function(){return Se(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var r=this.data.substr(4,4);return Se(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,r,"RRRR")}}]),e}(Ka.default);yt.default=ai;var gt={};Object.defineProperty(gt,"__esModule",{value:!0});var ii=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),oi=D,ui=Y,fi=Ir(ui),li=j,ci=Ir(li);function Ir(t){return t&&t.__esModule?t:{default:t}}function di(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function si(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function hi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var vi=function(e){var n=e.split("").map(function(r){return+r}).reduce(function(r,a,u){return u%2?r+a*9:r+a*3},0);return n%10},pi=function(t){hi(e,t);function e(n,r){return di(this,e),si(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return ii(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var r=oi.EAN5_STRUCTURE[vi(this.data)];return{data:"1011"+(0,fi.default)(this.data,r,"01"),text:this.text}}}]),e}(ci.default);gt.default=pi;var bt={};Object.defineProperty(bt,"__esModule",{value:!0});var mi=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),_i=D,yi=Y,gi=kr(yi),bi=j,xi=kr(bi);function kr(t){return t&&t.__esModule?t:{default:t}}function Ei(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oi(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function wi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var $i=function(t){wi(e,t);function e(n,r){return Ei(this,e),Oi(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return mi(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var r=_i.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,gi.default)(this.data,r,"01"),text:this.text}}}]),e}(xi.default);bt.default=$i;var ge={};
11Object.defineProperty(ge,"__esModule",{value:!0});var Si=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();ge.checksum=at;var Mi=Y,ae=Dr(Mi),Pi=j,Ri=Dr(Pi);function Dr(t){return t&&t.__esModule?t:{default:t}}function ji(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ai(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ti(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ni=function(t){Ti(e,t);function e(n,r){ji(this,e),n.search(/^[0-9]{11}$/)!==-1&&(n+=at(n));var a=Ai(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r));return a.displayValue=r.displayValue,r.fontSize>r.width*10?a.fontSize=r.width*10:a.fontSize=r.fontSize,a.guardHeight=r.height+a.fontSize/2+r.textMargin,a}return Si(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==at(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var r="";return r+="101",r+=(0,ae.default)(this.data.substr(0,6),"LLLLLL"),r+="01010",r+=(0,ae.default)(this.data.substr(6,6),"RRRRRR"),r+="101",{data:r,text:this.text}}},{key:"guardedEncoding",value:function(){var r=[];return this.displayValue&&r.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),r.push({data:"101"+(0,ae.default)(this.data[0],"L"),options:{height:this.guardHeight}}),r.push({data:(0,ae.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),r.push({data:"01010",options:{height:this.guardHeight}}),r.push({data:(0,ae.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),r.push({data:(0,ae.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&r.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),r}}]),e}(Ri.default);function at(t){var e=0,n;for(n=1;n<11;n+=2)e+=parseInt(t[n]);for(n=0;n<11;n+=2)e+=parseInt(t[n])*3;return(10-e%10)%10}ge.default=Ni;var xt={};Object.defineProperty(xt,"__esModule",{value:!0});var Ii=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),ki=Y,Di=Cr(ki),Ci=j,Bi=Cr(Ci),Li=ge;function Cr(t){return t&&t.__esModule?t:{default:t}}function Fi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ke(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Gi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var zi=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],Ui=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],Hi=function(t){Gi(e,t);function e(n,r){Fi(this,e);var a=Ke(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r));if(a.isValid=!1,n.search(/^[0-9]{6}$/)!==-1)a.middleDigits=n,a.upcA=cr(n,"0"),a.text=r.text||""+a.upcA[0]+n+a.upcA[a.upcA.length-1],a.isValid=!0;else if(n.search(/^[01][0-9]{7}$/)!==-1)if(a.middleDigits=n.substring(1,n.length-1),a.upcA=cr(a.middleDigits,n[0]),a.upcA[a.upcA.length-1]===n[n.length-1])a.isValid=!0;else return Ke(a);else return Ke(a);return a.displayValue=r.displayValue,r.fontSize>r.width*10?a.fontSize=r.width*10:a.fontSize=r.fontSize,a.guardHeight=r.height+a.fontSize/2+r.textMargin,a}return Ii(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var r="";return r+="101",r+=this.encodeMiddleDigits(),r+="010101",{data:r,text:this.text}}},{key:"guardedEncoding",value:function(){var r=[];return this.displayValue&&r.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),r.push({data:"101",options:{height:this.guardHeight}}),r.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),r.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&r.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),r}},{key:"encodeMiddleDigits",value:function(){var r=this.upcA[0],a=this.upcA[this.upcA.length-1],u=Ui[parseInt(a)][parseInt(r)];return(0,Di.default)(this.middleDigits,u)}}]),e}(Bi.default);function cr(t,e){for(var n=parseInt(t[t.length-1]),r=zi[n],a="",u=0,l=0;l<r.length;l++){var c=r[l];c==="X"?a+=t[u++]:a+=c}return a=""+e+a,""+a+(0,Li.checksum)(a)}xt.default=Hi;
11Object.defineProperty(T,"__esModule",{value:!0});T.UPCE=T.UPC=T.EAN2=T.EAN5=T.EAN8=T.EAN13=void 0;var Vi=_t,Xi=ce(Vi),qi=yt,Wi=ce(qi),Qi=gt,Zi=ce(Qi),Ji=bt,Yi=ce(Ji),Ki=ge,eo=ce(Ki),to=xt,ro=ce(to);function ce(t){return t&&t.__esModule?t:{default:t}}T.EAN13=Xi.default;T.EAN8=Wi.default;T.EAN5=Zi.default;T.EAN2=Yi.default;T.UPC=eo.default;T.UPCE=ro.default;var ue={},De={},be={};Object.defineProperty(be,"__esModule",{value:!0});be.START_BIN="1010";be.END_BIN="11101";be.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"];Object.defineProperty(De,"__esModule",{value:!0});var no=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Me=be,ao=j,io=oo(ao);function oo(t){return t&&t.__esModule?t:{default:t}}function uo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fo(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function lo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var co=function(t){lo(e,t);function e(){return uo(this,e),fo(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return no(e,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var r=this,a=this.data.match(/.{2}/g).map(function(u){return r.encodePair(u)}).join("");return{data:Me.START_BIN+a+Me.END_BIN,text:this.text}}},{key:"encodePair",value:function(r){var a=Me.BINARIES[r[1]];return Me.BINARIES[r[0]].split("").map(function(u,l){return(u==="1"?"111":"1")+(a[l]==="1"?"000":"0")}).join("")}}]),e}(io.default);De.default=co;var Et={};Object.defineProperty(Et,"__esModule",{value:!0});var so=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),ho=De,vo=po(ho);function po(t){return t&&t.__esModule?t:{default:t}}function mo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function yo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var dr=function(e){var n=e.substr(0,13).split("").map(function(r){return parseInt(r,10)}).reduce(function(r,a,u){return r+a*(3-u%2*2)},0);return Math.ceil(n/10)*10-n},go=function(t){yo(e,t);function e(n,r){return mo(this,e),n.search(/^[0-9]{13}$/)!==-1&&(n+=dr(n)),_o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return so(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===dr(this.data)}}]),e}(vo.default);Et.default=go;Object.defineProperty(ue,"__esModule",{value:!0});ue.ITF14=ue.ITF=void 0;var bo=De,xo=Br(bo),Eo=Et,Oo=Br(Eo);function Br(t){return t&&t.__esModule?t:{default:t}}ue.ITF=xo.default;ue.ITF14=Oo.default;var k={},K={};Object.defineProperty(K,"__esModule",{value:!0});var wo=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),$o=j,So=Mo($o);function Mo(t){return t&&t.__esModule?t:{default:t}}function Po(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ro(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function jo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ao=function(t){jo(e,t);function e(n,r){return Po(this,e),Ro(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return wo(e,[{key:"encode",value:function(){for(var r="110",a=0;a<this.data.length;a++){var u=parseInt(this.data[a]),l=u.toString(2);l=To(l,4-l.length);for(var c=0;c<l.length;c++)r+=l[c]=="0"?"100":"110"}return r+="1001",{data:r,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),e}(So.default);function To(t,e){for(var n=0;n<e;n++)t="0"+t;return t}K.default=Ao;var Ot={},ee={};
11Object.defineProperty(ee,"__esModule",{value:!0});ee.mod10=No;ee.mod11=Io;function No(t){for(var e=0,n=0;n<t.length;n++){var r=parseInt(t[n]);(n+t.length)%2===0?e+=r:e+=r*2%10+Math.floor(r*2/10)}return(10-e%10)%10}function Io(t){for(var e=0,n=[2,3,4,5,6,7],r=0;r<t.length;r++){var a=parseInt(t[t.length-1-r]);e+=n[r%n.length]*a}return(11-e%11)%11}Object.defineProperty(Ot,"__esModule",{value:!0});var ko=K,Do=Bo(ko),Co=ee;function Bo(t){return t&&t.__esModule?t:{default:t}}function Lo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fo(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Go(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var zo=function(t){Go(e,t);function e(n,r){return Lo(this,e),Fo(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n+(0,Co.mod10)(n),r))}return e}(Do.default);Ot.default=zo;var wt={};Object.defineProperty(wt,"__esModule",{value:!0});var Uo=K,Ho=Xo(Uo),Vo=ee;function Xo(t){return t&&t.__esModule?t:{default:t}}function qo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wo(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Qo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Zo=function(t){Qo(e,t);function e(n,r){return qo(this,e),Wo(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n+(0,Vo.mod11)(n),r))}return e}(Ho.default);wt.default=Zo;var $t={};Object.defineProperty($t,"__esModule",{value:!0});var Jo=K,Yo=Ko(Jo),sr=ee;function Ko(t){return t&&t.__esModule?t:{default:t}}function eu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tu(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ru(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var nu=function(t){ru(e,t);function e(n,r){return eu(this,e),n+=(0,sr.mod10)(n),n+=(0,sr.mod10)(n),tu(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return e}(Yo.default);$t.default=nu;var St={};Object.defineProperty(St,"__esModule",{value:!0});var au=K,iu=ou(au),hr=ee;function ou(t){return t&&t.__esModule?t:{default:t}}function uu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fu(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function lu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var cu=function(t){lu(e,t);function e(n,r){return uu(this,e),n+=(0,hr.mod11)(n),n+=(0,hr.mod10)(n),fu(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return e}(iu.default);St.default=cu;Object.defineProperty(k,"__esModule",{value:!0});k.MSI1110=k.MSI1010=k.MSI11=k.MSI10=k.MSI=void 0;var du=K,su=xe(du),hu=Ot,vu=xe(hu),pu=wt,mu=xe(pu),_u=$t,yu=xe(_u),gu=St,bu=xe(gu);function xe(t){return t&&t.__esModule?t:{default:t}}k.MSI=su.default;k.MSI10=vu.default;k.MSI11=mu.default;k.MSI1010=yu.default;k.MSI1110=bu.default;var Ce={};
11Object.defineProperty(Ce,"__esModule",{value:!0});Ce.pharmacode=void 0;var xu=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Eu=j,Ou=wu(Eu);function wu(t){return t&&t.__esModule?t:{default:t}}function $u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Su(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Mu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Pu=function(t){Mu(e,t);function e(n,r){$u(this,e);var a=Su(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r));return a.number=parseInt(n,10),a}return xu(e,[{key:"encode",value:function(){for(var r=this.number,a="";!isNaN(r)&&r!=0;)r%2===0?(a="11100"+a,r=(r-2)/2):(a="100"+a,r=(r-1)/2);return a=a.slice(0,-2),{data:a,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),e}(Ou.default);Ce.pharmacode=Pu;var Be={};Object.defineProperty(Be,"__esModule",{value:!0});Be.codabar=void 0;var Ru=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),ju=j,Au=Tu(ju);function Tu(t){return t&&t.__esModule?t:{default:t}}function Nu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Iu(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ku(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Du=function(t){ku(e,t);function e(n,r){Nu(this,e),n.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(n="A"+n+"A");var a=Iu(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n.toUpperCase(),r));return a.text=a.options.text||a.text.replace(/[A-D]/g,""),a}return Ru(e,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var r=[],a=this.getEncodings(),u=0;u<this.data.length;u++)r.push(a[this.data.charAt(u)]),u!==this.data.length-1&&r.push("0");return{text:this.text,data:r.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),e}(Au.default);Be.codabar=Du;var fe={},Le={},Ee={};Object.defineProperty(Ee,"__esModule",{value:!0});Ee.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"];Ee.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"];Ee.MULTI_SYMBOLS={"\0":["(%)","U"],"�":["($)","A"],"�":["($)","B"],"�":["($)","C"],"�":["($)","D"],"�":["($)","E"],"�":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"],"	":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"�":["($)","N"],"�":["($)","O"],"�":["($)","P"],"�":["($)","Q"],"�":["($)","R"],"�":["($)","S"],"�":["($)","T"],"�":["($)","U"],"�":["($)","V"],"�":["($)","W"],"�":["($)","X"],"�":["($)","Y"],"�":["($)","Z"],"\x1B":["(%)","A"],"�":["(%)","B"],"�":["(%)","C"],"�":["(%)","D"],"�":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'"
11:["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"�":["(%)","T"]};Object.defineProperty(Le,"__esModule",{value:!0});var Cu=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Pe=Ee,Bu=j,Lu=Fu(Bu);function Fu(t){return t&&t.__esModule?t:{default:t}}function Gu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zu(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Uu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Hu=function(t){Uu(e,t);function e(n,r){return Gu(this,e),zu(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return Cu(e,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var r=this.data.split("").flatMap(function(c){return Pe.MULTI_SYMBOLS[c]||c}),a=r.map(function(c){return e.getEncoding(c)}).join(""),u=e.checksum(r,20),l=e.checksum(r.concat(u),15);return{text:this.text,data:e.getEncoding("ÿ")+a+e.getEncoding(u)+e.getEncoding(l)+e.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(r){return Pe.BINARIES[e.symbolValue(r)]}},{key:"getSymbol",value:function(r){return Pe.SYMBOLS[r]}},{key:"symbolValue",value:function(r){return Pe.SYMBOLS.indexOf(r)}},{key:"checksum",value:function(r,a){var u=r.slice().reverse().reduce(function(l,c,S){var M=S%a+1;return l+e.symbolValue(c)*M},0);return e.getSymbol(u%47)}}]),e}(Lu.default);Le.default=Hu;var Mt={};Object.defineProperty(Mt,"__esModule",{value:!0});var Vu=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Xu=Le,qu=Wu(Xu);function Wu(t){return t&&t.__esModule?t:{default:t}}function Qu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zu(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ju(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Yu=function(t){Ju(e,t);function e(n,r){return Qu(this,e),Zu(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return Vu(e,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),e}(qu.default);Mt.default=Yu;Object.defineProperty(fe,"__esModule",{value:!0});fe.CODE93FullASCII=fe.CODE93=void 0;var Ku=Le,ef=Lr(Ku),tf=Mt,rf=Lr(tf);function Lr(t){return t&&t.__esModule?t:{default:t}}fe.CODE93=ef.default;fe.CODE93FullASCII=rf.default;var Fe={};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.GenericBarcode=void 0;var nf=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),af=j,of=uf(af);function uf(t){return t&&t.__esModule?t:{default:t}}function ff(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lf(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function cf(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var df=function(t){cf(e,t);function e(n,r){return ff(this,e),lf(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return nf(e,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e}(of.default);Fe.GenericBarcode=df;
11Object.defineProperty(ct,"__esModule",{value:!0});var sf=Ne,Re=G,ie=T,vr=ue,_e=k,hf=Ce,vf=Be,pr=fe,pf=Fe;ct.default={CODE39:sf.CODE39,CODE128:Re.CODE128,CODE128A:Re.CODE128A,CODE128B:Re.CODE128B,CODE128C:Re.CODE128C,EAN13:ie.EAN13,EAN8:ie.EAN8,EAN5:ie.EAN5,EAN2:ie.EAN2,UPC:ie.UPC,UPCE:ie.UPCE,ITF14:vr.ITF14,ITF:vr.ITF,MSI:_e.MSI,MSI10:_e.MSI10,MSI11:_e.MSI11,MSI1010:_e.MSI1010,MSI1110:_e.MSI1110,pharmacode:hf.pharmacode,codabar:vf.codabar,CODE93:pr.CODE93,CODE93FullASCII:pr.CODE93FullASCII,GenericBarcode:pf.GenericBarcode};var de={};Object.defineProperty(de,"__esModule",{value:!0});var mf=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};de.default=function(t,e){return mf({},t,e)};var Pt={};Object.defineProperty(Pt,"__esModule",{value:!0});Pt.default=_f;function _f(t){var e=[];function n(r){if(Array.isArray(r))for(var a=0;a<r.length;a++)n(r[a]);else r.text=r.text||"",r.data=r.data||"",e.push(r)}return n(t),e}var Rt={};
11Object.defineProperty(Rt,"__esModule",{value:!0});Rt.default=yf;function yf(t){return t.marginTop=t.marginTop||t.margin,t.marginBottom=t.marginBottom||t.margin,t.marginRight=t.marginRight||t.margin,t.marginLeft=t.marginLeft||t.margin,t}var jt={},At={},Ge={};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.default=gf;function gf(t){var e=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var n in e)e.hasOwnProperty(n)&&(n=e[n],typeof t[n]=="string"&&(t[n]=parseInt(t[n],10)));return typeof t.displayValue=="string"&&(t.displayValue=t.displayValue!="false"),t}var ze={};Object.defineProperty(ze,"__esModule",{value:!0});var bf={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};ze.default=bf;Object.defineProperty(At,"__esModule",{value:!0});var xf=Ge,Ef=Fr(xf),Of=ze,mr=Fr(Of);function Fr(t){return t&&t.__esModule?t:{default:t}}function wf(t){var e={};for(var n in mr.default)mr.default.hasOwnProperty(n)&&(t.hasAttribute("jsbarcode-"+n.toLowerCase())&&(e[n]=t.getAttribute("jsbarcode-"+n.toLowerCase())),t.hasAttribute("data-"+n.toLowerCase())&&(e[n]=t.getAttribute("data-"+n.toLowerCase())));return e.value=t.getAttribute("jsbarcode-value")||t.getAttribute("data-value"),e=(0,Ef.default)(e),e}At.default=wf;var Tt={},Nt={},I={};Object.defineProperty(I,"__esModule",{value:!0});I.getTotalWidthOfEncodings=I.calculateEncodingAttributes=I.getBarcodePadding=I.getEncodingHeight=I.getMaximumHeightOfEncodings=void 0;var $f=de,Sf=Mf($f);function Mf(t){return t&&t.__esModule?t:{default:t}}function Gr(t,e){return e.height+(e.displayValue&&t.text.length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function zr(t,e,n){if(n.displayValue&&e<t){if(n.textAlign=="center")return Math.floor((t-e)/2);if(n.textAlign=="left")return 0;if(n.textAlign=="right")return Math.floor(t-e)}return 0}function Pf(t,e,n){for(var r=0;r<t.length;r++){var a=t[r],u=(0,Sf.default)(e,a.options),l;u.displayValue?l=Af(a.text,u,n):l=0;var c=a.data.length*u.width;a.width=Math.ceil(Math.max(l,c)),a.height=Gr(a,u),a.barcodePadding=zr(l,c,u)}}function Rf(t){for(var e=0,n=0;n<t.length;n++)e+=t[n].width;return e}function jf(t){for(var e=0,n=0;n<t.length;n++)t[n].height>e&&(e=t[n].height);return e}function Af(t,e,n){var r;if(n)r=n;else if(typeof document<"u")r=document.createElement("canvas").getContext("2d");else return 0;r.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var a=r.measureText(t);if(!a)return 0;var u=a.width;return u}I.getMaximumHeightOfEncodings=jf;I.getEncodingHeight=Gr;I.getBarcodePadding=zr;I.calculateEncodingAttributes=Pf;I.getTotalWidthOfEncodings=Rf;Object.defineProperty(Nt,"__esModule",{value:!0});var Tf=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Nf=de,If=kf(Nf),et=I;function kf(t){return t&&t.__esModule?t:{default:t}}function Df(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Cf=function(){function t(e,n,r){Df(this,t),this.canvas=e,this.encodings=n,this.options=r}return Tf(t,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var n=0;n<this.encodings.length;n++){var r=(0,If.default)(this.options,this.encodings[n].options);this.drawCanvasBarcode(r,this.encodings[n]),this.drawCanvasText(r,this.encodings[n]),this.moveCanvasDrawing(this.encodings[n])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var n=this.canvas.getContext("2d");n.save(),(0,et.calculateEncodingAttributes)(this.encodings,this.options,n);var r=(0,et.getTotalWidthOfEncodings)(this.encodings),a=(0,et.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=r+this.options.marginLeft+this.options.marginRight,this.canvas.height=a,n.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(n.fillStyle=this.options.background,n.fillRect(0,0,this.canvas.width,this.canvas.height)),n.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(n,r){var a=this.canvas.getContext("2d"),u=r.data,l;n.textPosition=="top"?l=n.marginTop+n.fontSize+n.textMargin:l=n.marginTop,a.fillStyle=n.lineColor;for(var c=0;c<u.length;c++){var S=c*n.width+r.barcodePadding;u[c]==="1"?a.fillRect(S,l,n.width,n.height):u[c]&&a.fillRect(S,l,n.width,n.height*u[c])}}},{key:"drawCanvasText",value:function(n,r){var a=this.canvas.getContext("2d"),u=n.fontOptions+" "+n.fontSize+"px "+n.font;if(n.displayValue){var l,c;n.textPosition=="top"?c=n.marginTop+n.fontSize-n.textMargin:c=n.height+n.textMargin+n.marginTop+n.fontSize,a.font=u,n.textAlign=="left"||r.barcodePadding>0?(l=0,a.textAlign="left"):n.textAlign=="right"?(l=r.width-1,a.textAlign="right"):(l=r.width/2,a.textAlign="center"),a.fillText(r.text,l,c)}}},{key:"moveCanvasDrawing",value:function(n){var r=this.canvas.getContext("2d");r.translate(n.width,0)}},{key:"restoreCanvas",value:function(){var n=this.canvas.getContext("2d");
11n.restore()}}]),t}();Nt.default=Cf;var It={};Object.defineProperty(It,"__esModule",{value:!0});var Bf=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Lf=de,Ff=Gf(Lf),tt=I;function Gf(t){return t&&t.__esModule?t:{default:t}}function zf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var je="http://www.w3.org/2000/svg",Uf=function(){function t(e,n,r){zf(this,t),this.svg=e,this.encodings=n,this.options=r,this.document=r.xmlDocument||document}return Bf(t,[{key:"render",value:function(){var n=this.options.marginLeft;this.prepareSVG();for(var r=0;r<this.encodings.length;r++){var a=this.encodings[r],u=(0,Ff.default)(this.options,a.options),l=this.createGroup(n,u.marginTop,this.svg);this.setGroupOptions(l,u),this.drawSvgBarcode(l,u,a),this.drawSVGText(l,u,a),n+=a.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,tt.calculateEncodingAttributes)(this.encodings,this.options);var n=(0,tt.getTotalWidthOfEncodings)(this.encodings),r=(0,tt.getMaximumHeightOfEncodings)(this.encodings),a=n+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(a,r),this.options.background&&this.drawRect(0,0,a,r,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(n,r,a){var u=a.data,l;r.textPosition=="top"?l=r.fontSize+r.textMargin:l=0;for(var c=0,S=0,M=0;M<u.length;M++)S=M*r.width+a.barcodePadding,u[M]==="1"?c++:c>0&&(this.drawRect(S-r.width*c,l,r.width*c,r.height,n),c=0);c>0&&this.drawRect(S-r.width*(c-1),l,r.width*c,r.height,n)}},{key:"drawSVGText",value:function(n,r,a){var u=this.document.createElementNS(je,"text");if(r.displayValue){var l,c;u.setAttribute("font-family",r.font),u.setAttribute("font-size",r.fontSize),r.fontOptions.includes("bold")&&u.setAttribute("font-weight","bold"),r.fontOptions.includes("italic")&&u.setAttribute("font-style","italic"),r.textPosition=="top"?c=r.fontSize-r.textMargin:c=r.height+r.textMargin+r.fontSize,r.textAlign=="left"||a.barcodePadding>0?(l=0,u.setAttribute("text-anchor","start")):r.textAlign=="right"?(l=a.width-1,u.setAttribute("text-anchor","end")):(l=a.width/2,u.setAttribute("text-anchor","middle")),u.setAttribute("x",l),u.setAttribute("y",c),u.appendChild(this.document.createTextNode(a.text)),n.appendChild(u)}}},{key:"setSvgAttributes",value:function(n,r){var a=this.svg;a.setAttribute("width",n+"px"),a.setAttribute("height",r+"px"),a.setAttribute("x","0px"),a.setAttribute("y","0px"),a.setAttribute("viewBox","0 0 "+n+" "+r),a.setAttribute("xmlns",je),a.setAttribute("version","1.1")}},{key:"createGroup",value:function(n,r,a){var u=this.document.createElementNS(je,"g");return u.setAttribute("transform","translate("+n+", "+r+")"),a.appendChild(u),u}},{key:"setGroupOptions",value:function(n,r){n.setAttribute("fill",r.lineColor)}},{key:"drawRect",value:function(n,r,a,u,l){var c=this.document.createElementNS(je,"rect");return c.setAttribute("x",n),c.setAttribute("y",r),c.setAttribute("width",a),c.setAttribute("height",u),l.appendChild(c),c}}]),t}();It.default=Uf;var kt={};Object.defineProperty(kt,"__esModule",{value:!0});var Hf=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function Vf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Xf=function(){function t(e,n,r){Vf(this,t),this.object=e,this.encodings=n,this.options=r}return Hf(t,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),t}();kt.default=Xf;Object.defineProperty(Tt,"__esModule",{value:!0});var qf=Nt,Wf=Dt(qf),Qf=It,Zf=Dt(Qf),Jf=kt,Yf=Dt(Jf);function Dt(t){return t&&t.__esModule?t:{default:t}}Tt.default={CanvasRenderer:Wf.default,SVGRenderer:Zf.default,ObjectRenderer:Yf.default};var se={};
11Object.defineProperty(se,"__esModule",{value:!0});function Ct(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Lt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Kf=function(t){Lt(e,t);function e(n,r){Ct(this,e);var a=Bt(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return a.name="InvalidInputException",a.symbology=n,a.input=r,a.message='"'+a.input+'" is not a valid input for '+a.symbology,a}return e}(Error),el=function(t){Lt(e,t);function e(){Ct(this,e);var n=Bt(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.name="InvalidElementException",n.message="Not supported type to render on",n}return e}(Error),tl=function(t){Lt(e,t);function e(){Ct(this,e);var n=Bt(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.name="NoElementException",n.message="No element to render on.",n}return e}(Error);se.InvalidInputException=Kf;se.InvalidElementException=el;se.NoElementException=tl;Object.defineProperty(jt,"__esModule",{value:!0});var rl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nl=At,it=Ur(nl),al=Tt,ye=Ur(al),il=se;function Ur(t){return t&&t.__esModule?t:{default:t}}function Ft(t){if(typeof t=="string")return ol(t);if(Array.isArray(t)){for(var e=[],n=0;n<t.length;n++)e.push(Ft(t[n]));return e}else{if(typeof HTMLCanvasElement<"u"&&t instanceof HTMLImageElement)return ul(t);if(t&&t.nodeName&&t.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&t instanceof SVGElement)return{element:t,options:(0,it.default)(t),renderer:ye.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&t instanceof HTMLCanvasElement)return{element:t,options:(0,it.default)(t),renderer:ye.default.CanvasRenderer};if(t&&t.getContext)return{element:t,renderer:ye.default.CanvasRenderer};if(t&&(typeof t>"u"?"undefined":rl(t))==="object"&&!t.nodeName)return{element:t,renderer:ye.default.ObjectRenderer};throw new il.InvalidElementException}}function ol(t){var e=document.querySelectorAll(t);if(e.length!==0){for(var n=[],r=0;r<e.length;r++)n.push(Ft(e[r]));return n}}function ul(t){var e=document.createElement("canvas");return{element:e,options:(0,it.default)(t),renderer:ye.default.CanvasRenderer,afterRender:function(){t.setAttribute("src",e.toDataURL())}}}jt.default=Ft;var Gt={};Object.defineProperty(Gt,"__esModule",{value:!0});var fl=function(){function t(e,n){for(var r=0;r<n.length;r++){var a=n[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function ll(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var cl=function(){function t(e){ll(this,t),this.api=e}return fl(t,[{key:"handleCatch",value:function(n){if(n.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw n.message;else throw n;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(n){try{var r=n.apply(void 0,arguments);return this.api._options.valid(!0),r}catch(a){return this.handleCatch(a),this.api}}}]),t}();Gt.default=cl;var dl=ct,J=W(dl),sl=de,Oe=W(sl),hl=Pt,Hr=W(hl),vl=Rt,_r=W(vl),pl=jt,ml=W(pl),_l=Ge,yl=W(_l),gl=Gt,bl=W(gl),Vr=se,xl=ze,Xr=W(xl);function W(t){return t&&t.__esModule?t:{default:t}}var H=function(){},Ue=function(e,n,r){var a=new H;if(typeof e>"u")throw Error("No element to render on was provided.");return a._renderProperties=(0,ml.default)(e),a._encodings=[],a._options=Xr.default,a._errorHandler=new bl.default(a),typeof n<"u"&&(r=r||{},r.format||(r.format=Wr()),a.options(r)[r.format](n,r).render()),a};Ue.getModule=function(t){return J.default[t]};for(var yr in J.default)J.default.hasOwnProperty(yr)&&El(J.default,yr);function El(t,e){H.prototype[e]=H.prototype[e.toUpperCase()]=H.prototype[e.toLowerCase()]=function(n,r){var a=this;return a._errorHandler.wrapBarcodeCall(function(){r.text=typeof r.text>"u"?void 0:""+r.text;var u=(0,Oe.default)(a._options,r);u=(0,yl.default)(u);var l=t[e],c=qr(n,l,u);return a._encodings.push(c),a})}}function qr(t,e,n){t=""+t;var r=new e(t,n);if(!r.valid())throw new Vr.InvalidInputException(r.constructor.name,t);var a=r.encode();a=(0,Hr.default)(a);for(var u=0;u<a.length;u++)a[u].options=(0,Oe.default)(n,a[u].options);return a}function Wr(){return J.default.CODE128?"CODE128":Object.keys(J.default)[0]}H.prototype.options=function(t){return this._options=(0,Oe.default)(this._options,t),this};H.prototype.blank=function(t){var e=new Array(t+1).join("0");return this._encodings.push({data:e}),this};H.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var t;for(var e in this._renderProperties){t=this._renderProperties[e];var n=(0,Oe.default)(this._options,t.options);n.format=="auto"&&(n.format=Wr()),this._errorHandler.wrapBarcodeCall(function(){var r=n.value,a=J.default[n.format.toUpperCase()],u=qr(r,a,n);ot(t,u,n)})}}};H.prototype.render=function(){if(!this._renderProperties)throw new Vr.NoElementException;if(Array.isArray(this._renderProperties))for(var t=0;t<this._renderProperties.length;t++)ot(this._renderProperties[t],this._encodings,this._options);else ot(this._renderProperties,this._encodings,this._options);return this};H.prototype._defaults=Xr.default;function ot(t,e,n){e=(0,Hr.default)(e);for(var r=0;r<e.length;r++)e[r].options=(0,Oe.default)(n,e[r].options),(0,_r.default)(e[r].options);(0,_r.default)(n);
11var a=t.renderer,u=new a(t.element,e,n);u.render(),t.afterRender&&t.afterRender()}typeof window<"u"&&(window.JsBarcode=Ue);typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(t,e){var n=[];return jQuery(this).each(function(){n.push(this)}),Ue(n,t,e)});var Ol=Ue;function Te(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Te=function(n){return typeof n}:Te=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Te(t)}var oe=zt(F),wl=zt(Ol),O=zt(mn);function zt(t){return t&&t.__esModule?t:{default:t}}function $l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sl(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ml(t,e,n){return e&&Sl(t.prototype,e),t}function Pl(t,e){return e&&(Te(e)==="object"||typeof e=="function")?e:Qr(t)}function ut(t){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ut(t)}function Qr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ft(t,e)}function ft(t,e){return ft=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},ft(t,e)}var lt,rt=oe.default.version.split(/[.-]/);rt[0]==="0"&&(rt[1]==="13"||rt[1]==="12")?lt=function(e){return e.getDOMNode()}:lt=function(e){return e};var Ut=function(t){Rl(e,t);function e(n){var r;return $l(this,e),r=Pl(this,ut(e).call(this,n)),r.renderElementRef=oe.default.createRef(),r.update=r.update.bind(Qr(r)),r}return Ml(e,[{key:"shouldComponentUpdate",value:function(r){var a=this;return Object.keys(e.propTypes).some(function(u){return a.props[u]!==r[u]})}},{key:"componentDidMount",value:function(){this.update()}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"update",value:function(){var r=lt(this.renderElementRef.current);try{new wl.default(r,this.props.value,Object.assign({text:this.props.text||this.props.value},this.props))}catch(a){window.console.error(a)}}},{key:"render",value:function(){var r=this.props,a=r.id,u=r.className;if(this.props.renderer==="svg")return oe.default.createElement("svg",{ref:this.renderElementRef,id:a,className:u});if(this.props.renderer==="canvas")return oe.default.createElement("canvas",{ref:this.renderElementRef,id:a,className:u});if(this.props.renderer==="img")return oe.default.createElement("img",{ref:this.renderElementRef,id:a,className:u})}}]),e}(oe.default.Component);Ut.propTypes={value:O.default.string.isRequired,text:O.default.string,renderer:O.default.string,format:O.default.string,width:O.default.number,height:O.default.number,displayValue:O.default.bool,fontOptions:O.default.string,font:O.default.string,textAlign:O.default.string,textPosition:O.default.string,textMargin:O.default.number,fontSize:O.default.number,background:O.default.string,lineColor:O.default.string,margin:O.default.number,marginTop:O.default.number,marginBottom:O.default.number,marginLeft:O.default.number,marginRight:O.default.number,id:O.default.string,className:O.default.string,ean128:O.default.bool};Ut.defaultProps={format:"CODE128",renderer:"svg",width:2,height:100,displayValue:!0,fontOptions:"",font:"monospace",textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,className:"",ean128:!1};var jl=Ut;const Al=hn(jl);var Ht={};(function t(e,n,r,a){var u=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL),l=typeof Path2D=="function"&&typeof DOMMatrix=="function",c=function(){if(!e.OffscreenCanvas)return!1;try{var o=new OffscreenCanvas(1,1),i=o.getContext("2d");i.fillRect(0,0,1,1);var d=o.transferToImageBitmap();i.createPattern(d,"no-repeat")}catch{return!1}return!0}();function S(){}function M(o){var i=n.exports.Promise,d=i!==void 0?i:e.Promise;return typeof d=="function"?new d(o):(o(S,S),null)}var Q=function(o,i){return{transform:function(d){if(o)return d;if(i.has(d))return i.get(d);var h=new OffscreenCanvas(d.width,d.height),v=h.getContext("2d");return v.drawImage(d,0,0),i.set(d,h),h},clear:function(){i.clear()}}}
vendor: 8,302 bytes, lines 11-12
11(c,new Map),he=function(){var o=Math.floor(16.666666666666668),i,d,h={},v=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(i=function(p){var m=Math.random();return h[m]=requestAnimationFrame(function s(_){v===_||v+o-1<_?(v=_,delete h[m],p()):h[m]=requestAnimationFrame(s)}),m},d=function(p){h[p]&&cancelAnimationFrame(h[p])}):(i=function(p){return setTimeout(p,o)},d=function(p){return clearTimeout(p)}),{frame:i,cancel:d}}(),He=function(){var o,i,d={};function h(v){function p(m,s){v.postMessage({options:m||{},callback:s})}v.init=function(s){var _=s.transferControlToOffscreen();v.postMessage({canvas:_},[_])},v.fire=function(s,_,g){if(i)return p(s,null),i;var w=Math.random().toString(36).slice(2);return i=M(function(x){function $(P){P.data.callback===w&&(delete d[w],v.removeEventListener("message",$),i=null,Q.clear(),g(),x())}v.addEventListener("message",$),p(s,w),d[w]=$.bind(null,{data:{callback:w}})}),i},v.reset=function(){v.postMessage({reset:!0});for(var s in d)d[s](),delete d[s]}}return function(){if(o)return o;if(!r&&u){var v=["var CONFETTI, SIZE = {}, module = {};","("+t.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {","  if (msg.data.options) {","    CONFETTI(msg.data.options).then(function () {","      if (msg.data.callback) {","        postMessage({ callback: msg.data.callback });","      }","    });","  } else if (msg.data.reset) {","    CONFETTI && CONFETTI.reset();","  } else if (msg.data.resize) {","    SIZE.width = msg.data.resize.width;","    SIZE.height = msg.data.resize.height;","  } else if (msg.data.canvas) {","    SIZE.width = msg.data.canvas.width;","    SIZE.height = msg.data.canvas.height;","    CONFETTI = module.exports.create(msg.data.canvas);","  }","}"].join(`
12`);try{o=new Worker(URL.createObjectURL(new Blob([v])))}catch(p){return typeof console<"u"&&typeof console.warn=="function"&&console.warn("🎊 Could not load worker",p),null}h(o)}return o}}(),Ve={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function Xe(o,i){return i?i(o):o}function we(o){return o!=null}function b(o,i,d){return Xe(o&&we(o[i])?o[i]:Ve[i],d)}function ve(o){return o<0?0:Math.floor(o)}function $e(o,i){return Math.floor(Math.random()*(i-o))+o}function V(o){return parseInt(o,16)}function X(o){return o.map(z)}function z(o){var i=String(o).replace(/[^0-9a-f]/gi,"");return i.length<6&&(i=i[0]+i[0]+i[1]+i[1]+i[2]+i[2]),{r:V(i.substring(0,2)),g:V(i.substring(2,4)),b:V(i.substring(4,6))}}function te(o){var i=b(o,"origin",Object);return i.x=b(i,"x",Number),i.y=b(i,"y",Number),i}function R(o){o.width=document.documentElement.clientWidth,o.height=document.documentElement.clientHeight}function re(o){var i=o.getBoundingClientRect();o.width=i.width,o.height=i.height}function Zr(o){var i=document.createElement("canvas");return i.style.position="fixed",i.style.top="0px",i.style.left="0px",i.style.pointerEvents="none",i.style.zIndex=o,i}function Jr(o,i,d,h,v,p,m,s,_){o.save(),o.translate(i,d),o.rotate(p),o.scale(h,v),o.arc(0,0,1,m,s,_),o.restore()}function Yr(o){var i=o.angle*(Math.PI/180),d=o.spread*(Math.PI/180);return{x:o.x,y:o.y,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:o.startVelocity*.5+Math.random()*o.startVelocity,angle2D:-i+(.5*d-Math.random()*d),tiltAngle:(Math.random()*(.75-.25)+.25)*Math.PI,color:o.color,shape:o.shape,tick:0,totalTicks:o.ticks,decay:o.decay,drift:o.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:o.gravity*3,ovalScalar:.6,scalar:o.scalar,flat:o.flat}}function Kr(o,i){i.x+=Math.cos(i.angle2D)*i.velocity+i.drift,i.y+=Math.sin(i.angle2D)*i.velocity+i.gravity,i.velocity*=i.decay,i.flat?(i.wobble=0,i.wobbleX=i.x+10*i.scalar,i.wobbleY=i.y+10*i.scalar,i.tiltSin=0,i.tiltCos=0,i.random=1):(i.wobble+=i.wobbleSpeed,i.wobbleX=i.x+10*i.scalar*Math.cos(i.wobble),i.wobbleY=i.y+10*i.scalar*Math.sin(i.wobble),i.tiltAngle+=.1,i.tiltSin=Math.sin(i.tiltAngle),i.tiltCos=Math.cos(i.tiltAngle),i.random=Math.random()+2);var d=i.tick++/i.totalTicks,h=i.x+i.random*i.tiltCos,v=i.y+i.random*i.tiltSin,p=i.wobbleX+i.random*i.tiltCos,m=i.wobbleY+i.random*i.tiltSin;if(o.fillStyle="rgba("+i.color.r+", "+i.color.g+", "+i.color.b+", "+(1-d)+")",o.beginPath(),l&&i.shape.type==="path"&&typeof i.shape.path=="string"&&Array.isArray(i.shape.matrix))o.fill(tn(i.shape.path,i.shape.matrix,i.x,i.y,Math.abs(p-h)*.1,Math.abs(m-v)*.1,Math.PI/10*i.wobble));else if(i.shape.type==="bitmap"){var s=Math.PI/10*i.wobble,_=Math.abs(p-h)*.1,g=Math.abs(m-v)*.1,w=i.shape.bitmap.width*i.scalar,x=i.shape.bitmap.height*i.scalar,$=new DOMMatrix([Math.cos(s)*_,Math.sin(s)*_,-Math.sin(s)*g,Math.cos(s)*g,i.x,i.y]);$.multiplySelf(new DOMMatrix(i.shape.matrix));var P=o.createPattern(Q.transform(i.shape.bitmap),"no-repeat");P.setTransform($),o.globalAlpha=1-d,o.fillStyle=P,o.fillRect(i.x-w/2,i.y-x/2,w,x),o.globalAlpha=1}else if(i.shape==="circle")o.ellipse?o.ellipse(i.x,i.y,Math.abs(p-h)*i.ovalScalar,Math.abs(m-v)*i.ovalScalar,Math.PI/10*i.wobble,0,2*Math.PI):Jr(o,i.x,i.y,Math.abs(p-h)*i.ovalScalar,Math.abs(m-v)*i.ovalScalar,Math.PI/10*i.wobble,0,2*Math.PI);else if(i.shape==="star")for(var y=Math.PI/2*3,A=4*i.scalar,C=8*i.scalar,B=i.x,U=i.y,Z=5,L=Math.PI/Z;Z--;)B=i.x+Math.cos(y)*C,U=i.y+Math.sin(y)*C,o.lineTo(B,U),y+=L,B=i.x+Math.cos(y)*A,U=i.y+Math.sin(y)*A,o.lineTo(B,U),y+=L;else o.moveTo(Math.floor(i.x),Math.floor(i.y)),o.lineTo(Math.floor(i.wobbleX),Math.floor(v)),o.lineTo(Math.floor(p),Math.floor(m)),o.lineTo(Math.floor(h),Math.floor(i.wobbleY));return o.closePath(),o.fill(),i.tick<i.totalTicks}function en(o,i,d,h,v){var p=i.slice(),m=o.getContext("2d"),s,_,g=M(function(w){function x(){s=_=null,m.clearRect(0,0,h.width,h.height),Q.clear(),v(),w()}function $(){r&&!(h.width===a.width&&h.height===a.height)&&(h.width=o.width=a.width,h.height=o.height=a.height),!h.width&&!h.height&&(d(o),h.width=o.width,h.height=o.height),m.clearRect(0,0,h.width,h.height),p=p.filter(function(P){return Kr(m,P)}),p.length?s=he.frame($):x()}s=he.frame($),_=x});return{addFettis:function(w){return p=p.concat(w),g},canvas:o,promise:g,reset:function(){s&&he.cancel(s),_&&_()}}}function Vt(o,i){var d=!o,h=!!b(i||{},"resize"),v=!1,p=b(i,"disableForReducedMotion",Boolean),m=u&&!!b(i||{},"useWorker"),s=m?He():null,_=d?R:re,g=o&&s?!!o.__confetti_initialized:!1,w=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion)").matches,x;function $(y,A,C){for(var B=b(y,"particleCount",ve),U=b(y,"angle",Number),Z=b(y,"spread",Number),L=b(y,"startVelocity",Number),an=b(y,"decay",Number),on=b(y,"gravity",Number),un=b(y,"drift",Number),qt=b(y,"colors",X),fn=b(y,"ticks",Number),Wt=b(y,"shapes"),ln=b(y,"scalar"),cn=!!b(y,"flat"),Qt=te(y),Zt=B,We=[],dn=o.width*Qt.x,sn=o.height*Qt.y;Zt--;)We.push(Yr({x:dn,y:sn,angle:U,spread:Z,startVelocity:L,color:qt[Zt%qt.length],shape:Wt[$e(0,Wt.length)],ticks:fn,decay:an,gravity:on,drift:un,scalar:ln,flat:cn}));return x?x.addFettis(We):(x=en(o,We,_,A,C),x.promise)}function P(y){var A=p||b(y,"disableForReducedMotion",Boolean),C=b(y,"zIndex",Number);if(A&&w)return M(function(L){L()});d&&x?o=x.canvas:d&&!o&&(o=Zr(C),document.body.appendChild(o)),h&&!g&&_(o);var B={width:o.width,height:o.height};s&&!g&&s.init(o),g=!0,s&&(o.__confetti_initialized=!0);function U(){if(s){var L={getBoundingClientRect:function(){if(!d)return o.getBoundingClientRect()}};_(L),s.postMessage({resize:{width:L.width,height:L.height}});return}B.width=B.height=null}function Z(){x=null,h&&(v=!1,e.removeEventListener("resize",U)),d&&o&&(document.body.contains(o)&&document.body.removeChild(o),o=null,g=!1)}return h&&!v&&(v=!0,e.addEventListener("resize",U,!1)),s?s.fire(y,B,Z):$(y,B,Z)}return P.reset=function(){s&&s.reset(),x&&x.reset()},P}var qe;function Xt(){return qe||(qe=Vt(null,{useWorker:!0,resize:!0})),qe}function tn(o,i,d,h,v,p,m){var s=new Path2D(o),_=new Path2D;_.addPath(s,new DOMMatrix(i));var g=new Path2D;return g.addPath(_,new DOMMatrix([Math.cos(m)*v,Math.sin(m)*v,-Math.sin(m)*p,Math.cos(m)*p,d,h])),g}function rn(o){if(!l)throw new Error("path confetti are not supported in this browser");var i,d;
12typeof o=="string"?i=o:(i=o.path,d=o.matrix);var h=new Path2D(i),v=document.createElement("canvas"),p=v.getContext("2d");if(!d){for(var m=1e3,s=m,_=m,g=0,w=0,x,$,P=0;P<m;P+=2)for(var y=0;y<m;y+=2)p.isPointInPath(h,P,y,"nonzero")&&(s=Math.min(s,P),_=Math.min(_,y),g=Math.max(g,P),w=Math.max(w,y));x=g-s,$=w-_;var A=10,C=Math.min(A/x,A/$);d=[C,0,0,C,-Math.round(x/2+s)*C,-Math.round($/2+_)*C]}return{type:"path",path:i,matrix:d}}function nn(o){var i,d=1,h="#000000",v='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';typeof o=="string"?i=o:(i=o.text,d="scalar"in o?o.scalar:d,v="fontFamily"in o?o.fontFamily:v,h="color"in o?o.color:h);var p=10*d,m=""+p+"px "+v,s=new OffscreenCanvas(p,p),_=s.getContext("2d");_.font=m;var g=_.measureText(i),w=Math.ceil(g.actualBoundingBoxRight+g.actualBoundingBoxLeft),x=Math.ceil(g.actualBoundingBoxAscent+g.actualBoundingBoxDescent),$=2,P=g.actualBoundingBoxLeft+$,y=g.actualBoundingBoxAscent+$;w+=$+$,x+=$+$,s=new OffscreenCanvas(w,x),_=s.getContext("2d"),_.font=m,_.fillStyle=h,_.fillText(i,P,y);var A=1/d;return{type:"bitmap",bitmap:s.transferToImageBitmap(),matrix:[A,0,0,A,-w*A/2,-x*A/2]}}n.exports=function(){return Xt().apply(this,arguments)},n.exports.reset=function(){Xt().reset()},n.exports.create=Vt,n.exports.shapeFromPath=rn,n.exports.shapeFromText=nn})(function(){return typeof window<"u"?window:typeof self<"u"?self:this||{}}(),Ht,!1);const Tl=Ht.exports;Ht.exports.create;function Nl(t){try{return new Date(t+"T12:00:00").toLocaleDateString("pt-BR",{day:"2-digit",month:"long",year:"numeric"})}catch{return"—"}}function Il({data:t,justPaid:e,confettiFired:n}){F.useEffect(()=>{e&&!n.current&&(n.current=!0,Tl({particleCount:80,spread:70,origin:{x:.5,y:.5},colors:["#22c55e","#3b82f6","#f59e0b","#8b5cf6"],gravity:.8,ticks:150}))},[e,n]);const r=Nl(t.paymentDate||t.dueDate);return f.jsxs("div",{className:"flex flex-col items-center text-center space-y-6",children:[f.jsx("div",{className:"h-20 w-20 rounded-full bg-emerald-100 flex items-center justify-center animate-scale-in",style:{animationDuration:"0.4s"},children:f.jsx(Ae,{className:"h-10 w-10 text-emerald-500"})}),f.jsxs("div",{className:"space-y-2 animate-fade-in",style:{animationDelay:"0.2s",animationFillMode:"both",animationDuration:"0.5s"},children:[f.jsx("h2",{className:"text-2xl font-semibold text-foreground",children:"Pagamento confirmado!"}),f.jsx("p",{className:"text-muted-foreground max-w-xs mx-auto",style:{fontSize:"0.9375rem"},children:"Obrigado! Seu pagamento foi processado com sucesso."})]}),f.jsxs("div",{className:"w-full max-w-xs rounded-xl border border-border bg-muted/30 p-5 space-y-3 animate-fade-in",style:{animationDelay:"0.4s",animationFillMode:"both",animationDuration:"0.5s"},children:[f.jsxs("div",{className:"flex items-center justify-center gap-2 text-muted-foreground",children:[f.jsx(xn,{className:"h-4 w-4"}),f.jsx("span",{className:"text-xs font-medium uppercase tracking-wide",children:"Data do pagamento"})]}),f.jsx("p",{className:"text-lg font-semibold text-foreground",children:r})]})]})}const nt={PENDING:{label:"Aguardando pagamento",color:"text-amber-600",icon:bn,bgClass:"bg-amber-50/80 border-amber-300"},RECEIVED:{label:"Pagamento confirmado",color:"text-emerald-600",icon:Ae,bgClass:"bg-emerald-50/80 border-emerald-300"},CONFIRMED:{label:"Pagamento confirmado",color:"text-emerald-600",icon:Ae,bgClass:"bg-emerald-50/80 border-emerald-300"},RECEIVED_IN_CASH:{label:"Pagamento confirmado",color:"text-emerald-600",icon:Ae,bgClass:"bg-emerald-50/80 border-emerald-300"},OVERDUE:{label:"Pagamento vencido",color:"text-red-600",icon:Er,bgClass:"bg-red-50/80 border-red-300"},REFUNDED:{label:"Pagamento estornado",color:"text-muted-foreground",icon:rr,bgClass:"bg-muted border-border"},REFUND_REQUESTED:{label:"Estorno solicitado",color:"text-muted-foreground",icon:rr,bgClass:"bg-muted border-border"}},gr=t=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(t),br=t=>{try{return new Date(t+"T12:00:00").toLocaleDateString("pt-BR",{day:"2-digit",month:"long",year:"numeric"})}catch{const[e,n,r]=t.split("-");return`${r}/${n}/${e}`}};function kl(t){const e=t.split(`
13`).map(a=>
13a.trim()).filter(Boolean),n=e[0]||"",r=[];for(let a=1;a<e.length;a++){const u=e[a].match(/^(.+?):\s*(.+)$/);u&&r.push({label:u[1].trim(),value:u[2].trim()})}return{header:n,items:r}}function ec(){const{id:t}=vn(),[e,n]=F.useState(null),[r,a]=F.useState(!0),[u,l]=F.useState(null),[c,S]=F.useState(null),[M,Q]=F.useState("pix"),[he,He]=F.useState(!1),Ve=F.useRef(!1),{toast:Xe}=pn();F.useEffect(()=>{if(!t)return;(async()=>{try{const{data:R,error:re}=await Jt.functions.invoke("asaas-payment-proxy",{body:{paymentId:t}});if(re)throw re;if(R!=null&&R.error)throw new Error(R.error);return n(R),a(!1),R}catch(R){return console.error(R),l("Não foi possível carregar os dados do pagamento."),a(!1),null}})();const z=["RECEIVED","CONFIRMED","RECEIVED_IN_CASH"],te=setInterval(async()=>{try{const{data:R}=await Jt.functions.invoke("asaas-payment-proxy",{body:{paymentId:t}});if(R&&!R.error){const re=!z.includes((e==null?void 0:e.status)??"");n(R),z.includes(R.status)&&(re&&He(!0),clearInterval(te))}}catch{}},5e3);return()=>clearInterval(te)},[t]);const we=async(X,z)=>{await navigator.clipboard.writeText(X),S(z),Xe({title:"Copiado!",description:`${z} copiado para a área de transferência.`}),setTimeout(()=>S(null),2500)},b=e&&["RECEIVED","CONFIRMED","RECEIVED_IN_CASH"].includes(e.status),ve=e&&nt[e.status]||nt.PENDING,$e=ve.icon,V=e!=null&&e.description?kl(e.description):null;return f.jsxs("div",{className:"flex min-h-screen",children:[f.jsxs("div",{className:"hidden lg:flex lg:w-[380px] lg:min-w-[380px] bg-primary relative flex-col px-8 py-10 overflow-hidden animate-fade-in",style:{animationDuration:"0.5s"},children:[f.jsx("div",{className:"pointer-events-none absolute -right-20 -top-20 h-80 w-80 rounded-full bg-primary-foreground/10 blur-3xl"}),f.jsx("div",{className:"pointer-events-none absolute -bottom-20 -left-10 h-72 w-72 rounded-full bg-primary-foreground/5 blur-3xl"}),f.jsx("div",{className:"absolute top-10 left-8 z-10",children:f.jsx(Yt,{className:"h-5 brightness-0 invert"})}),f.jsxs("div",{className:"relative z-10 w-full flex-1 flex flex-col justify-center",children:[r&&f.jsxs("div",{className:"space-y-6 animate-pulse",children:[f.jsx("div",{className:"h-3 w-1/3 rounded bg-primary-foreground/15"}),f.jsxs("div",{className:"space-y-1",children:[f.jsx("div",{className:"h-3 w-1/2 rounded bg-primary-foreground/10"}),f.jsx("div",{className:"h-10 w-3/4 rounded bg-primary-foreground/15"})]}),f.jsx("div",{className:"h-3 w-2/3 rounded bg-primary-foreground/10"}),f.jsx("div",{className:"h-8 w-44 rounded-[10px] bg-amber-400/15"}),f.jsxs("div",{className:"mt-8 pt-6 border-t border-primary-foreground/10 space-y-3",children:[f.jsx("div",{className:"h-3 w-16 rounded bg-primary-foreground/10"}),f.jsx("div",{className:"h-3 w-full rounded bg-primary-foreground/10"}),f.jsx("div",{className:"h-3 w-4/5 rounded bg-primary-foreground/10"}),f.jsx("div",{className:"h-3 w-3/5 rounded bg-primary-foreground/10"})]})]}),u&&f.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Não foi possível carregar os dados."}),e&&f.jsxs("div",{className:"space-y-6",children:[e.customerName&&f.jsx("p",{className:"text-sm text-primary-foreground/70",children:e.customerName}),f.jsxs("div",{children:[f.jsx("p",{className:"text-xs text-primary-foreground/50 uppercase tracking-wide mb-1",children:"Valor da cobrança"}),f.jsx("p",{className:"text-4xl font-semibold text-primary-foreground tracking-tight",children:gr(e.value)})]}),e.dueDate&&f.jsxs("p",{className:"text-sm text-primary-foreground/60",children:["Vencimento: ",br(e.dueDate)]}),!b&&f.jsxs("div",{className:"rounded-[10px] bg-amber-400/20 backdrop-blur-sm border border-amber-400/30 px-4 py-2 inline-flex items-center gap-2",children:[f.jsx($e,{className:"h-4 w-4 text-amber-300"}),f.jsx("span",{className:"text-xs font-medium text-amber-200",children:ve.label})]}),V&&f.jsxs("div",{className:"mt-8 pt-6 border-t border-primary-foreground/15",children:[f.jsx("p",{className:"text-xs text-primary-foreground/50 font-medium uppercase tracking-wide mb-3",children:"Detalhes"}
13),f.jsx("p",{className:"text-sm text-primary-foreground/80 mb-4",children:V.header}),V.items.length>0&&f.jsx("div",{className:"space-y-2",children:V.items.map((X,z)=>{const te=X.label.toLowerCase()==="total";return f.jsxs("div",{className:`flex justify-between items-center text-sm ${te?"pt-2 border-t border-primary-foreground/15 font-semibold text-primary-foreground":"text-primary-foreground/60"}`,children:[f.jsx("span",{children:X.label}),f.jsx("span",{children:X.value})]},z)})})]})]})]}),f.jsxs("div",{className:"absolute bottom-6 left-8 flex items-center gap-1.5",children:[f.jsx(yn,{className:"h-3 w-3 text-primary-foreground/50"}),f.jsx("p",{className:"text-[10px] text-primary-foreground/50",children:"Pagamento processado de forma segura via Asaas."})]})]}),f.jsxs("div",{className:"flex-1 flex flex-col min-h-screen overflow-y-auto bg-card",children:[f.jsx("div",{className:"flex-1 flex items-center justify-center px-4 py-8 md:px-10",children:f.jsxs("div",{className:"w-full max-w-lg text-center",children:[f.jsxs("div",{className:"lg:hidden mb-8",children:[f.jsx(Yt,{className:"h-7 mb-6 mx-auto"}),e&&f.jsxs("div",{className:"bg-primary rounded-xl p-5 space-y-3 text-center",children:[e.customerName&&f.jsx("p",{className:"text-sm text-primary-foreground/70",children:e.customerName}),f.jsx("p",{className:"text-xs text-primary-foreground/50 uppercase tracking-wide",children:"Valor da cobrança"}),f.jsx("p",{className:"text-3xl font-semibold text-primary-foreground tracking-tight",children:gr(e.value)}),e.dueDate&&f.jsxs("p",{className:"text-sm text-primary-foreground/60",children:["Vencimento: ",br(e.dueDate)]}),!b&&f.jsxs("div",{className:"rounded-[10px] bg-amber-400/20 border border-amber-400/30 px-3 py-1.5 inline-flex items-center gap-2",children:[f.jsx($e,{className:"h-4 w-4 text-amber-300"}),f.jsx("span",{className:"text-xs font-medium text-amber-200",children:ve.label})]})]}),r&&f.jsxs("div",{className:"bg-primary rounded-xl p-5 space-y-3 animate-pulse",children:[f.jsx("div",{className:"h-3 w-1/3 rounded bg-primary-foreground/15 mx-auto"}),f.jsx("div",{className:"h-3 w-1/2 rounded bg-primary-foreground/10 mx-auto"}),f.jsx("div",{className:"h-8 w-3/5 rounded bg-primary-foreground/15 mx-auto"}),f.jsx("div",{className:"h-3 w-2/3 rounded bg-primary-foreground/10 mx-auto"}),f.jsx("div",{className:"h-7 w-40 rounded-[10px] bg-amber-400/15 mx-auto"})]})]}),r&&f.jsxs("div",{className:"space-y-5 flex flex-col items-center animate-pulse",children:[f.jsxs("div",{className:"w-full text-center space-y-2",children:[f.jsx("div",{className:"h-5 w-40 rounded bg-muted mx-auto"}),f.jsx("div",{className:"h-3 w-56 rounded bg-muted mx-auto"})]}),f.jsx("div",{className:"h-[176px] w-[176px] rounded-lg bg-muted"}),f.jsx("div",{className:"h-7 w-28 rounded bg-muted"}),f.jsx("div",{className:"pt-2",children:f.jsx("div",{className:"h-9 w-52 rounded-md bg-muted"})})]}),u&&f.jsxs("div",{className:"bg-card rounded-xl border border-border p-8 text-center space-y-3",children:[f.jsx(Er,{className:"h-12 w-12 text-destructive mx-auto"}),f.jsx("h1",{className:"text-xl font-semibold text-foreground",children:"Pagamento não encontrado"}),f.jsx("p",{className:"text-muted-foreground text-sm",children:u})]}),e&&!b&&f.jsxs("div",{className:"space-y-5 flex flex-col items-center",children:[M==="pix"&&e.pixCopyPaste&&f.jsxs("div",{className:"w-full space-y-4 flex flex-col items-center",children:[f.jsxs("div",{className:"w-full text-center",children:[f.jsxs("div",{className:"flex items-center justify-center gap-2",children:[f.jsx(nr,{className:"h-5 w-5 text-foreground"}),f.jsx("h3",{className:"font-semibold text-foreground",style:{fontSize:"1.08rem"},children:"Pagar com PIX"})]}),f.jsx("p",{className:"text-sm text-muted-foreground mt-1 mb-2.5",children:"Liberação imediata após confirmação"})]}),e.pixQrCode&&f.jsx("div",{className:"bg-white p-3 rounded-lg border border-border inline-block",children:f.jsx("img",{src:`data:image/png;base64,${e.pixQrCode}`,alt:"QR Code PIX",className:"w-40 h-40"})}),f.jsxs(Qe,{variant:"ghost",size:"sm",className:"text-xs text-primary hover:text-primary hover:bg-muted",onClick:()=>we(e.pixCopyPaste,"Código PIX"),children:[c==="Código PIX"?f.jsx(Kt,{className:"h-3.5 w-3.5 mr-1.5 text-emerald-500"}):f.jsx(er,{className:"h-3.5 w-3.5 mr-1.5 text-primary"}),c==="Código PIX"?"Copiado!":"Copiar código"]})]}),M==="boleto"&&e.boletoIdentificationField&&f.jsxs("div",{className:"w-full space-y-4 flex flex-col items-center",children:[f.jsxs("div",{className:"w-full text-center",children:[f.jsxs("div",{className:"flex items-center justify-center gap-2",children:[f.jsx(tr,{className:"h-5 w-5 text-foreground"}),f.jsx("h3",{className:"font-semibold text-foreground",style:{fontSize:"1.08rem"},children:"Pagar com Boleto"})]}),f.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Liberação em até 1 dia útil"})]}),f.jsx("div",{className:"bg-white p-3 rounded-lg border border-border inline-block overflow-hidden",children:f.jsx(Al,{value:e.boletoIdentificationField,format:"CODE128",width:1.5,height:70,displayValue:!1,margin:0})}),f.jsxs(Qe,{variant:"ghost",size:"sm",className:"text-xs text-primary hover:text-primary hover:bg-muted",onClick:()=>we(e.boletoIdentificationField,"Linha digitável"),children:[c==="Linha digitável"?f.jsx(Kt,{className:"h-3.5 w-3.5 mr-1.5 text-emerald-500"}):f.jsx(er,{className:"h-3.5 w-3.5 mr-1.5 text-primary"}),c==="Linha digitável"?"Copiado!":"Copiar linha digitável"]})]}),e.pixCopyPaste&&e.boletoIdentificationField&&f.jsx("div",{className:"pt-2",children:f.jsx(Qe,{variant:"default",size:"sm",className:"bg-primary text-primary-foreground hover:bg-primary/90",onClick:()=>Q(M==="pix"?"boleto":"pix"),children:M==="pix"?f.jsxs(f.Fragment,{children:[f.jsx(tr,{className:"h-4 w-4 mr-1.5"})," Pagar no boleto bancário"]}):f.jsxs(f.Fragment,{children:[f.jsx(nr,{className:"h-4 w-4 mr-1.5"})," Pagar no Pix"]})})}),f.jsxs("a",{href:"https://app.controlle.com/configuracoes/meu-plano",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-xs text-muted-foreground hover:text-primary transition-colors pt-1",children:[f.jsx(gn,{className:"h-3.5 w-3.5"}),"Mudar forma de pagamento"]})]}),e&&b&&f.jsx(Il,{data:e,justPaid:he,confettiFired:Ve})]})}),f.jsxs("div",{className:"px-4 pb-5 pt-0 flex items-center justify-center gap-1.5 -mt-1.5",children:[f.jsx("svg",{className:"h-4 w-4 text-emerald-500",viewBox:"0 0 24 24",fill:"
13currentColor",children:f.jsx("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})}),f.jsxs("span",{className:"text-xs text-muted-foreground",children:["Precisa de ajuda?"," ",f.jsx("a",{href:_n,target:"_blank",rel:"noopener noreferrer",className:"font-semibold text-emerald-500 hover:text-emerald-600 transition-colors",children:"Fale com a gente"})]})]})]})]})}export{ec as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.