PageSourceSearch

https://khachhang.supership.vn/assets/react-barcode-BRgzHLn3.js

js supership.vn collected 2026-10-01 14:19:37 UTC 3,567 bytes, 1 lines download raw bytes

1import{p as g}from"./@babel-nGMctoUQ.js";import{r as h}from"./react-BZvnZFH-.js";import{J as b}from"./jsbarcode-DxmqgA__.js";import{p as v}from"./prop-types-DuJ8mbYo.js";function f(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(o){return typeof o}:f=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},f(t)}var u=c(h),_=c(b),n=c(v);function c(t){return t&&t.__esModule?t:{default:t}}function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function x(t,e,o){return e&&E(t.prototype,e),t}function w(t,e){return e&&(f(e)==="object"||typeof e=="function")?e:y(t)}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)},l(t)}function y(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P(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&&p(t,e)}function p(t,e){return p=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},p(t,e)}var d,s=u.default.version.split(/[.-]/);s[0]==="0"&&(s[1]==="13"||s[1]==="12")?d=function(e){return e.getDOMNode()}:d=function(e){return e};var m=function(t){P(e,t);function e(o){var r;return O(this,e),r=w(this,l(e).call(this,o)),r.renderElementRef=u.default.createRef(),r.update=r.update.bind(y(r)),r}return x(e,[{key:"shouldComponentUpdate",value:function(r){var i=this;return Object.keys(e.propTypes).some(function(a){return i.props[a]!==r[a]})}},{key:"componentDidMount",value:function(){this.update()}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"update",value:function(){var r=d(this.renderElementRef.current);try{new _.default(r,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 r=this.props,i=r.id,a=r.className;if(this.props.renderer==="svg")return u.default.createElement("svg",{ref:this.renderElementRef,id:i,className:a});if(this.props.renderer==="canvas")return u.default.createElement("canvas",{ref:this.renderElementRef,id:i,className:a});if(this.props.renderer==="img")return u.default.createElement("img",{ref:this.renderElementRef,id:i,className:a})}}]),e}(u.default.Component);m.propTypes={value:n.default.string.isRequired,text:n.default.string,renderer:n.default.string,format:n.default.string,width:n.default.number,height:n.default.number,displayValue:n.default.bool,fontOptions:n.default.string,font:n.default.string,textAlign:n.default.string,textPosition:n.default.string,textMargin:n.default.number,fontSize:n.default.number,background:n.default.string,lineColor:n.default.string,margin:n.default.number,marginTop:n.default.number,marginBottom:n.default.number,marginLeft:n.default.number,marginRight:n.default.number,id:n.default.string,className:n.default.string,ean128:n.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 D=m;const S=g(D);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.