1(self.webpackChunkmondoin_mobile_ui=self.webpackChunkmondoin_mobile_ui||[]).push([[2307],{92307:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var o,r,a,i=n(32316),c=n(60869),u=n(45697),l=n.n(u),f=n(67294),s=n.n(f),p=n(56261),d=n(11987),y=n(8330),b=n(22693),h=n(55961),m=n.n(h);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function O(e,t){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},O(e,t)}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=R(e);if(t){var r=R(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return k(this,n)}}function k(e,t){if(t&&("object"===v(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var S=(o=(0,i.withStyles)(d.N,{withTheme:!0}),(0,p.XN)(r=(0,c.Z)(r=o((a=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&O(e,t)}(a,e);var t,n,o,r=_(a);function a(){var e;g(this,a);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return(e=r.call.apply(r,[this].concat(n))).state={isOpenModalBarcode:!1},e._handleShowDialog=function(){e.setState({isOpenModalBarcode:!e.state.isOpenModalBarcode})},e}return t=a,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.classes,o=t.value,r={width:parseInt("2",10),value:o,textPosition:"bottom",textAlign:"left",background:"#ffffff",lineColor:"#000000"},a=document.createElement("canvas"),i=o;return i&&(i=i.replace(/\s/g,"")),m()(a,i,r),o?s().createElement("div",{className:n.barcodeImage},s().createElement("div",{onClick:this._handleShowDialog,style:{cursor:"pointer",height:"120px",backgroundRepeat:"no-repeat",backgroundSize:"120px",backgroundImage:"url("+a.toDataURL()+")"}}),s().createElement(y.default,{maxWidth:"md",contentStyle:{width:"100%",maxWidth:"none"},open:this.state.isOpenModalBarcode,onClose:function(){e.setState({isOpenModalBarcode:!e.state.isOpenModalBarcode})},"aria-labelledby":"barcode-dialog"},s().createElement(b.default,null,s().createElement("div",{style:{height:"140px",width:"300px",backgroundRepeat:"no-repeat",backgroundImage:"url("+a.toDataURL()+")"}})))):s().createElement("div",null)}}])&&w(t.prototype,n),o&&w(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(s().Component),a.propTypes={classes:l().object.isRequired,intl:p.gm.isRequired,value:l().string.isRequired},r=a))||r)||r)||r)}}]);
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.