1import{g as h}from"./apexcharts-a4623d6d.js";import{r as b}from"./react-804801dd.js";import{J as v}from"./jsbarcode-60f947d2.js";import{p as _}from"./prop-types-b01f7994.js";function u(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(r){return typeof r}:u=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},u(t)}var f=c(b),O=c(v),o=c(_);function c(t){return t&&t.__esModule?t:{default:t}}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function x(t,e,r){return e&&g(t.prototype,e),r&&g(t,r),t}function w(t,e){return e&&(u(e)==="object"||typeof e=="function")?e:y(t)}function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},s(t)}function y(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D(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&&d(t,e)}function d(t,e){return d=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},d(t,e)}var p,l=f.default.version.split(/[.-]/);l[0]==="0"&&(l[1]==="13"||l[1]==="12")?p=function(e){return e.getDOMNode()}:p=function(e){return e};var m=function(t){D(e,t);function e(r){var n;return E(this,e),n=w(this,s(e).call(this,r)),n.renderElementRef=f.default.createRef(),n.update=n.update.bind(y(n)),n}return x(e,[{key:"shouldComponentUpdate",value:function(n){var i=this;return Object.keys(e.propTypes).some(function(a){return i.props[a]!==n[a]})}},{key:"componentDidMount",value:function(){this.update()}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"update",value:function(){var n=p(this.renderElementRef.current);try{new O.default(n,this.props.value,Object.assign({text:this.props.text||this.props.value},this.props))}catch(i){window.console.error(i)}}},{key:"render",value:function(){var n=this.props,i=n.id,a=n.className;if(this.props.renderer==="svg")return f.default.createElement("svg",{ref:this.renderElementRef,id:i,className:a});if(this.props.renderer==="canvas")return f.default.createElement("canvas",{ref:this.renderElementRef,id:i,className:a});if(this.props.renderer==="img")return f.default.createElement("img",{ref:this.renderElementRef,id:i,className:a})}}]),e}(f.default.Component);m.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};m.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 N=m;const S=h(N);export{S as B};
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.