!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ioBarcode=e():t.ioBarcode=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,n){var r=e.getContext("2d"),o=void 0,u=void 0;u=n.height,r.font=n.fontWeight+" "+n.fontSize+"px "+n.font,r.textBaseline="bottom",r.textBaseline="top","left"===n.textAlign?(o=n.quite,r.textAlign="left"):"right"===n.textAlign?(o=e.width-n.quite,r.textAlign="right"):(o=e.width/2,r.textAlign="center"),r.fillText(t,o,u)}function u(t,e,n){n=(0,c["default"])({},p,n);var r=new l["default"],u=new t(e);if(!u.isValid())throw new Error("Content is not supported by the encoding");var i=u.encode(),f=r.getContext("2d");r.width=i.length*n.width+2*n.quite,r.height=n.height+(n.displayValue?1.3*n.fontSize:0),f.clearRect(0,0,r.width,r.height),n.backgroundColor&&(f.fillStyle=n.backgroundColor,f.fillRect(0,0,r.width,r.height)),f.fillStyle=n.lineColor;for(var a=0;ar;r++)n[r]=arguments[r];return u.apply(void 0,[a["default"][t]].concat(n))}};for(var v in a["default"])h(v);t.exports=d},function(t,e,n){t.exports={"default":n(2),__esModule:!0}},function(t,e,n){n(3),t.exports=n(6).Object.assign},function(t,e,n){var r=n(4);r(r.S+r.F,"Object",{assign:n(9)})},function(t,e,n){var r=n(5),o=n(6),u=n(7),i="prototype",c=function(t,e,n){var f,a,s,l=t&c.F,d=t&c.G,p=t&c.S,h=t&c.P,v=t&c.B,y=t&c.W,g=d?o:o[e]||(o[e]={}),_=d?r:p?r[e]:(r[e]||{})[i];d&&(n=e);for(f in n)a=!l&&_&&f in _,a&&f in g||(s=a?_[f]:n[f],g[f]=d&&"function"!=typeof _[f]?n[f]:v&&a?u(s,r):y&&_[f]==s?function(t){var e=function(e){return this instanceof t?new t(e):t(e)};return e[i]=t[i],e}(s):h&&"function"==typeof s?u(Function.call,s):s,h&&((g[i]||(g[i]={}))[f]=s))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,t.exports=c},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(8);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(10),o=n(11),u=n(13);t.exports=n(15)(function(){var t=Object.assign,e={},n={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach(function(t){n[t]=t}),7!=t({},e)[r]||Object.keys(t({},n)).join("")!=o})?function(t,e){for(var n=o(t),i=arguments,c=i.length,f=1,a=r.getKeys,s=r.getSymbols,l=r.isEnum;c>f;)for(var d,p=u(i[f++]),h=s?a(p).concat(s(p)):a(p),v=h.length,y=0;v>y;)l.call(p,d=h[y++])&&(n[d]=p[d]);return n}:Object.assign},function(t,e){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(t,e,n){var r=n(12);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(17),u=r(o),i=n(22),c=r(i),f=n(57),a=r(f),s=n(58),l=r(s),d=n(63),p=r(d),h=n(64),v=r(h),y=n(67),g=r(y),_=n(68),b=r(_);e["default"]={EAN:u["default"],UPC:c["default"],ITF:a["default"],ITF14:l["default"],CODE39:p["default"],CODE128B:v["default"],CODE128C:g["default"],Pharmacode:b["default"]}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(18),u=r(o),i=n(19),c=r(i);Object.defineProperty(e,"__esModule",{value:!0});var f={0:"0001101",1:"0011001",2:"0010011",3:"0111101",4:"0100011",5:"0110001",6:"0101111",7:"0111011",8:"0110111",9:"0001011"},a={0:"0100111",1:"0110011",2:"0011011",3:"0100001",4:"0011101",5:"0111001",6:"0000101",7:"0010001",8:"0001001",9:"0010111"},s={0:"1110010",1:"1100110",2:"1101100",3:"1000010",4:"1011100",5:"1001110",6:"1010000",7:"1000100",8:"1001000",9:"1110100"},l={0:"LLLLLL",1:"LLGLGG",2:"LLGGLG",3:"LLGGGL",4:"LGLLGG",5:"LGGLLG",6:"LGGGLL",7:"LGLGLG",8:"LGLGGL",9:"LGGLGL"},d=/^[0-9]{13}$/,p="101",h="101",v="01010",y=function(){function t(e){(0,u["default"])(this,t),this.code=String(e)}return(0,c["default"])(t,[{key:"isValid",value:function(){return d.test(this.code)&&Number(this.code[12])===this.checksum()}},{key:"checksum",value:function(){for(var t=0,e=0;12>e;e+=2)t+=Number(this.code[e]);for(var e=1;12>e;e+=2)t+=3*Number(this.code[e]);return(10-t%10)%10}},{key:"encode",value:function(){var t="",e=this.code[0],n=this.code.substr(1,7),r=this.code.substr(7,6);return t+=p,t+=this.encodeStruct(n,l[e]),t+=v,t+=this.encodeStruct(r,"RRRRRR"),t+=h}},{key:"encodeStruct",value:function(t,e){for(var n="",r=0;ro;)T(t,n=r[o++],e[n]);return t},I=function(t,e){return void 0===e?S(t):A(S(t),e)},V=function(t){var e=L.call(this,t);return e||!u(this,t)||!u(E,t)||u(this,k)&&this[k][t]?e:!0},W=function(t,e){var n=x(t=b(t),e);return!n||!u(E,e)||u(t,k)&&t[k][e]||(n.enumerable=!0),n},$=function(t){for(var e,n=O(b(t)),r=[],o=0;n.length>o;)u(E,e=n[o++])||e==k||r.push(e);return r},q=function(t){for(var e,n=O(b(t)),r=[],o=0;n.length>o;)u(E,e=n[o++])&&r.push(E[e]);return r},K=function(t){if(void 0!==t&&!R(t)){for(var e,n,r=[t],o=1,u=arguments;u.length>o;)r.push(u[o++]);return e=r[1],"function"==typeof e&&(n=e),(n||!g(e))&&(e=function(t,e){return n&&(e=n.call(this,t,e)),R(e)?void 0:e}),r[1]=e,P.apply(M,r)}},z=a(function(){var t=C();return"[null]"!=P([t])||"{}"!=P({a:t})||"{}"!=P(Object(t))});D||(C=function(){if(R(this))throw TypeError("Symbol is not a constructor");return F(d(arguments.length>0?arguments[0]:void 0))},f(C.prototype,"toString",function(){return this._k}),R=function(t){return t instanceof C},r.create=I,r.isEnum=V,r.getDesc=W,r.setDesc=T,r.setDescs=A,r.getNames=v.get=$,r.getSymbols=q,i&&!n(48)&&f(N,"propertyIsEnumerable",V,!0));var J={"for":function(t){return u(G,t+="")?G[t]:G[t]=C(t)},keyFor:function(t){return h(G,t)},useSetter:function(){j=!0},useSimple:function(){j=!1}};r.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(t){var e=p(t);J[t]=D?e:F(e)}),j=!0,c(c.G+c.W,{Symbol:C}),c(c.S,"Symbol",J),c(c.S+c.F*!D,"Object",{create:I,defineProperty:T,defineProperties:A,getOwnPropertyDescriptor:W,getOwnPropertyNames:$,getOwnPropertySymbols:q}),M&&c(c.S+c.F*(!D||z),"JSON",{stringify:K}),l(C,"Symbol"),l(Math,"Math",!0),l(o.JSON,"JSON",!0)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){t.exports=n(35)},function(t,e,n){var r=n(10),o=n(36);t.exports=n(33)?function(t,e,n){return r.setDesc(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(5),o="__core-js_shared__",u=r[o]||(r[o]={});t.exports=function(t){return u[t]||(u[t]={})}},function(t,e,n){var r=n(10).setDesc,o=n(32),u=n(39)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,u)&&r(t,u,{configurable:!0,value:e})}},function(t,e,n){var r=n(37)("wks"),o=n(40),u=n(5).Symbol;t.exports=function(t){return r[t]||(r[t]=u&&u[t]||(u||o)("Symbol."+t))}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(10),o=n(42);t.exports=function(t,e){for(var n,u=o(t),i=r.getKeys(u),c=i.length,f=0;c>f;)if(u[n=i[f++]]===e)return n}},function(t,e,n){var r=n(13),o=n(12);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(42),o=n(10).getNames,u={}.toString,i="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(e){return i.slice()}};t.exports.get=function(t){return i&&"[object Window]"==u.call(t)?c(t):o(r(t))}},function(t,e,n){var r=n(10);t.exports=function(t){var e=r.getKeys(t),n=r.getSymbols;if(n)for(var o,u=n(t),i=r.isEnum,c=0;u.length>c;)i.call(t,o=u[c++])&&e.push(o);return e}},function(t,e,n){var r=n(14);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(47);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=!0},function(t,e){},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(51),u=r(o),i=n(55),c=r(i),f=n(28),a=r(f);e["default"]=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof e?"undefined":(0,a["default"])(e)));t.prototype=(0,c["default"])(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(u["default"]?(0,u["default"])(t,e):t.__proto__=e)}},function(t,e,n){t.exports={"default":n(52),__esModule:!0}},function(t,e,n){n(53),t.exports=n(6).Object.setPrototypeOf},function(t,e,n){var r=n(4);r(r.S,"Object",{setPrototypeOf:n(54).set})},function(t,e,n){var r=n(10).getDesc,o=n(47),u=n(46),i=function(t,e){if(u(t),!o(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,o){try{o=n(7)(Function.call,r(Object.prototype,"__proto__").set,2),o(t,[]),e=!(t instanceof Array)}catch(u){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:o(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){t.exports={"default":n(56),__esModule:!0}},function(t,e,n){var r=n(10);t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(18),u=r(o),i=n(19),c=r(i);Object.defineProperty(e,"__esModule",{value:!0});var f={0:"00110",1:"10001",2:"01001",3:"11000",4:"00101",5:"10100",6:"01100",7:"00011",8:"10010",9:"01010"},a="1010",s="11101",l=/^([0-9][0-9])+$/,d=function(){function t(e){(0,u["default"])(this,t),this.code=String(e)}return(0,c["default"])(t,[{key:"isValid",value:function(){return l.test(this.code)}},{key:"encode",value:function(){var t="";t+=a;for(var e=0;eo;o++)e+="1"===n[o]?"111":"1",e+="1"===r[o]?"000":"0";return e}}]),t}();e["default"]=d},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(23),u=r(o),i=n(18),c=r(i),f=n(19),a=r(f),s=n(27),l=r(s),d=n(59),p=r(d),h=n(50),v=r(h);Object.defineProperty(e,"__esModule",{value:!0});var y=n(57),g=r(y),_=/^[0-9]{13,14}$/,b=function(t){function e(t){(0,c["default"])(this,e);var n=(0,l["default"])(this,(0,u["default"])(e).call(this,t));return 13===t.length&&(n.code+=n.checksum()),n}return(0,v["default"])(e,t),(0,a["default"])(e,[{key:"isValid",value:function(){return(0,p["default"])((0,u["default"])(e.prototype),"isValid",this).call(this)&&_.test(this.code)&&Number(this.code[13])===this.checksum()}},{key:"checksum",value:function(){for(var t=0,e=0;13>e;e++)t+=Number(this.code[e])*(3-e%2*2);return 10-t%10}}]),e}(g["default"]);e["default"]=b},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(23),u=r(o),i=n(60),c=r(i);e["default"]=function f(t,e,n){null===t&&(t=Function.prototype);var r=(0,c["default"])(t,e);if(void 0===r){var o=(0,u["default"])(t);return null===o?void 0:f(o,e,n)}if("value"in r)return r.value;var i=r.get;if(void 0!==i)return i.call(n)}},function(t,e,n){t.exports={"default":n(61),__esModule:!0}},function(t,e,n){var r=n(10);n(62),t.exports=function(t,e){return r.getDesc(t,e)}},function(t,e,n){var r=n(42);n(26)("getOwnPropertyDescriptor",function(t){return function(e,n){return t(r(e),n)}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(18),u=r(o),i=n(19),c=r(i);Object.defineProperty(e,"__esModule",{value:!0});var f={0:"101000111011101",1:"111010001010111",2:"101110001010111",3:"111011100010101",4:"101000111010111",5:"111010001110101",6:"101110001110101",7:"101000101110111",8:"111010001011101",9:"101110001011101",A:"111010100010111",B:"101110100010111",C:"111011101000101",D:"101011100010111",E:"111010111000101",F:"101110111000101",G:"101010001110111",H:"111010100011101",I:"101110100011101",J:"101011100011101",K:"111010101000111",L:"101110101000111",M:"111011101010001",N:"101011101000111",O:"111010111010001",P:"101110111010001",Q:"101010111000111",R:"111010101110001",S:"101110101110001",T:"101011101110001",U:"111000101010111",V:"100011101010111",W:"111000111010101",X:"100010111010111",Y:"111000101110101",Z:"100011101110101","-":"100010101110111",".":"111000101011101"," ":"100011101011101",$:"100010001000101","/":"100010001010001","+":"100010100010001","%":"101000100010001"},a=/^[0-9a-zA-Z\-\.\ \$\/\+\%]+$/,s=function(){function t(e){(0,u["default"])(this,t),this.code=String(e)}return(0,c["default"])(t,[{key:"isValid",value:function(){return a.test(this.code)}},{key:"encode",value:function(){var t=this.code.toUpperCase(),e="";e+="1000101110111010";for(var n=0;n":["11011011000",30],"?":["11011000110",31],"@":["11000110110",32],A:["10100011000",33],B:["10001011000",34],C:["10001000110",35],D:["10110001000",36],E:["10001101000",37],F:["10001100010",38],G:["11010001000",39],H:["11000101000",40],I:["11000100010",41],J:["10110111000",42],K:["10110001110",43],L:["10001101110",44],M:["10111011000",45],N:["10111000110",46],O:["10001110110",47],P:["11101110110",48],Q:["11010001110",49],R:["11000101110",50],S:["11011101000",51],T:["11011100010",52],U:["11011101110",53],V:["11101011000",54],W:["11101000110",55],X:["11100010110",56],Y:["11101101000",57],Z:["11101100010",58],"":["11100011010",59],"\\":["11101111010",60],"]":["11001000010",61],"^":["11110001010",62],_:["10100110000",63],"`":["10100001100",64],a:["10010110000",65],b:["10010000110",66],c:["10000101100",67],d:["10000100110",68],e:["10110010000",69],f:["10110000100",70],g:["10011010000",71],h:["10011000010",72],i:["10000110100",73],j:["10000110010",74],k:["11000010010",75],l:["11001010000",76],m:["11110111010",77],n:["11000010100",78],o:["10001111010",79],p:["10100111100",80],q:["10010111100",81],r:["10010011110",82],s:["10111100100",83],t:["10011110100",84],u:["10011110010",85],v:["11110100100",86],w:["11110010100",87],x:["11110010010",88],y:["11011011110",89],z:["11011110110",90],"{":["11110110110",91],"|":["10101111000",92],"}":["10100011110",93],"~":["10001011110",94]},(0,s["default"])(o,String.fromCharCode(127),["10111101000",95]),(0,s["default"])(o,String.fromCharCode(128),["10111100010",96]),(0,s["default"])(o,String.fromCharCode(129),["11110101000",97]),(0,s["default"])(o,String.fromCharCode(130),["11110100010",98]),(0,s["default"])(o,String.fromCharCode(131),["10111011110",99]),(0,s["default"])(o,String.fromCharCode(132),["10111101110",100]),(0,s["default"])(o,String.fromCharCode(133),["11101011110",101]),(0,s["default"])(o,String.fromCharCode(134),["11110101110",102]),(0,s["default"])(o,String.fromCharCode(135),["11010000100",103]),(0,s["default"])(o,String.fromCharCode(136),["11010010000",104]),(0,s["default"])(o,String.fromCharCode(137),["11010011100",105]),o),d="1100011101011",p=/^[!-~ ]+$/,h=function(){function t(e){(0,i["default"])(this,t),this.code=String(e)}return(0,f["default"])(t,[{key:"isValid",value:function(){return p.test(this.code)}},{key:"encode",value:function(){var t="";return t+=this.encodingById(this.startCode),t+=this.encodeClass(),t+=this.encodingById(this.checksum()),t+=d}},{key:"encodingById",value:function(t){for(var e in l){var n=l[e];if(n[1]===t)return n[0]}return""}},{key:"weightByCharacter",value:function(t){var e=l[t];return e?e[1]:0}},{key:"encodingByChar",value:function(t){var e=l[t];return e?e[0]:""}}]),t}();e["default"]=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(20),u=r(o);e["default"]=function(t,e,n){return e in t?(0,u["default"])(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(23),u=r(o),i=n(18),c=r(i),f=n(19),a=r(f),s=n(27),l=r(s),d=n(59),p=r(d),h=n(50),v=r(h);Object.defineProperty(e,"__esModule",{value:!0});var y=n(65),g=r(y),_=function(t){function e(t){(0,c["default"])(this,e);var n=(0,l["default"])(this,(0,u["default"])(e).call(this,t));return n.code=n.code.replace(/ /g,""),n.startCode=105,n}return(0,v["default"])(e,t),(0,a["default"])(e,[{key:"encodeClass",value:function(){for(var t="",n=0;n=3&&this.code<=131070}},{key:"_calcZeros",value:function(t){for(var e=t.length-1,n=0;"0"===t[e]||0>e;)n++,e--;return n}},{key:"encodeBinary",value:function(t,e){if(0===t.length)return"";var n=void 0,r=!1,o=this._calcZeros(t);return 0===o?(n=e?"001":"00111",r=e):(n=(0,a["default"])("001",o-(e?1:0)),n+="00111"),this.encodeBinary(t.substr(0,t.length-o-1),r)+n}},{key:"encode",value:function(){return this.encodeBinary(this.code.toString(2),!0).substr(2)}}]),t}();e["default"]=s},function(t,e,n){n(70),t.exports=n(73).String.repeat},function(t,e,n){var r=n(71);r(r.P,"String",{repeat:n(81)})},function(t,e,n){var r=n(72),o=n(73),u=n(74),i=n(76),c="prototype",f=function(t,e,n){var a,s,l,d=t&f.F,p=t&f.G,h=t&f.S,v=t&f.P,y=t&f.B,g=t&f.W,_=p?o:o[e]||(o[e]={}),b=_[c],m=p?r:h?r[e]:(r[e]||{})[c];p&&(n=e);for(a in n)s=!d&&m&&void 0!==m[a],s&&a in _||(l=s?m[a]:n[a],_[a]=p&&"function"!=typeof m[a]?n[a]:y&&s?u(l,r):g&&m[a]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[c]=t[c],e}(l):v&&"function"==typeof l?u(Function.call,l):l,v&&((_.virtual||(_.virtual={}))[a]=l,t&f.R&&b&&!b[a]&&i(b,a,l)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"2.0.3"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(75);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(77),o=n(78);t.exports=n(79)?function(t,e,n){return r.setDesc(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){t.exports=!n(80)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){"use strict";var r=n(82),o=n(83);t.exports=function(t){var e=String(o(this)),n="",u=r(t);if(0>u||u==1/0)throw RangeError("Count can't be negative");for(;u>0;(u>>>=1)&&(e+=e))1&u&&(n+=e);return n}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=t.exports=function(t,e){var n=document.createElement("canvas");return n.width=t||300,n.height=e||150,n};n.Image=function(){var t=document.createElement("img");return t}}])});