/** * Kendo UI v2016.1.112 (http://www.telerik.com/kendo-ui) * Copyright 2016 Telerik AD. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial license terms. */ !function(o,define){define("util/main.min",["kendo.core.min"],o)}(function(){return function(){function o(o){return typeof o!==N}function r(o,r){var t=e(r);return Q.round(o*t)/t}function e(o){return o?Q.pow(10,o):1}function t(o,r,e){return Q.max(Q.min(o,e),r)}function n(o){return o*I}function d(o){return o/I}function a(o){return"number"==typeof o&&!isNaN(o)}function s(r,e){return o(r)?r:e}function i(o){return o*o}function l(o){var r,e=[];for(r in o)e.push(r+o[r]);return e.sort().join("")}function u(o){var r,e=2166136261;for(r=0;o.length>r;++r)e+=(e<<1)+(e<<4)+(e<<7)+(e<<8)+(e<<24),e^=o.charCodeAt(r);return e>>>0}function c(o){return u(l(o))}function g(o){var r,e=o.length,t=R,n=T;for(r=0;e>r;r++)n=Q.max(n,o[r]),t=Q.min(t,o[r]);return{min:t,max:n}}function w(o){return g(o).min}function C(o){return g(o).max}function h(o){return p(o).min}function f(o){return p(o).max}function p(o){var r,e,t,n=R,d=T;for(r=0,e=o.length;e>r;r++)t=o[r],null!==t&&isFinite(t)&&(n=Q.min(n,t),d=Q.max(d,t));return{min:n===R?void 0:n,max:d===T?void 0:d}}function k(o){return o?o[o.length-1]:void 0}function B(o,r){return o.push.apply(o,r),o}function D(o){return E.template(o,{useWithBlock:!1,paramName:"d"})}function P(r,e){return o(e)&&null!==e?" "+r+"='"+e+"' ":""}function v(o){var r,e="";for(r=0;o.length>r;r++)e+=P(o[r][0],o[r][1]);return e}function m(r){var e,t,n="";for(e=0;r.length>e;e++)t=r[e][1],o(t)&&(n+=r[e][0]+":"+t+";");return""!==n?n:void 0}function M(o){return"string"!=typeof o&&(o+="px"),o}function _(o){var r,e,t=[];if(o)for(r=E.toHyphens(o).split("-"),e=0;r.length>e;e++)t.push("k-pos-"+r[e]);return t.join(" ")}function L(r){return""===r||null===r||"none"===r||"transparent"===r||!o(r)}function x(o){for(var r={1:"i",10:"x",100:"c",2:"ii",20:"xx",200:"cc",3:"iii",30:"xxx",300:"ccc",4:"iv",40:"xl",400:"cd",5:"v",50:"l",500:"d",6:"vi",60:"lx",600:"dc",7:"vii",70:"lxx",700:"dcc",8:"viii",80:"lxxx",800:"dccc",9:"ix",90:"xc",900:"cm",1e3:"m"},e=[1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],t="";o>0;)e[0]>o?e.shift():(t+=r[e[0]],o-=e[0]);return t}function A(o){var r,e,t,n,d;for(o=o.toLowerCase(),r={i:1,v:5,x:10,l:50,c:100,d:500,m:1e3},e=0,t=0,n=0;o.length>n;++n){if(d=r[o.charAt(n)],!d)return null;e+=d,d>t&&(e-=2*t),t=d}return e}function b(o){var r=Object.create(null);return function(){var e,t="";for(e=arguments.length;--e>=0;)t+=":"+arguments[e];return t in r?r[t]:o.apply(this,arguments)}}function S(o){for(var r,e,t=[],n=0,d=o.length;d>n;)r=o.charCodeAt(n++),r>=55296&&56319>=r&&d>n?(e=o.charCodeAt(n++),56320==(64512&e)?t.push(((1023&r)<<10)+(1023&e)+65536):(t.push(r),n--)):t.push(r);return t}function y(o){return o.map(function(o){var r="";return o>65535&&(o-=65536,r+=String.fromCharCode(o>>>10&1023|55296),o=56320|1023&o),r+=String.fromCharCode(o)}).join("")}var Q=Math,E=window.kendo,H=E.deepExtend,I=Q.PI/180,R=Number.MAX_VALUE,T=-Number.MAX_VALUE,N="undefined",O=Date.now;O||(O=function(){return(new Date).getTime()}),H(E,{util:{MAX_NUM:R,MIN_NUM:T,append:B,arrayLimits:g,arrayMin:w,arrayMax:C,defined:o,deg:d,hashKey:u,hashObject:c,isNumber:a,isTransparent:L,last:k,limitValue:t,now:O,objectKey:l,round:r,rad:n,renderAttr:P,renderAllAttr:v,renderPos:_,renderSize:M,renderStyle:m,renderTemplate:D,sparseArrayLimits:p,sparseArrayMin:h,sparseArrayMax:f,sqr:i,valueOrDefault:s,romanToArabic:A,arabicToRoman:x,memoize:b,ucs2encode:y,ucs2decode:S}}),E.drawing.util=E.util,E.dataviz.util=E.util}(),window.kendo},"function"==typeof define&&define.amd?define:function(o,r,e){(e||r)()}),function(o,define){define("util/text-metrics",["kendo.core","util/main"],o)}(function(){!function(o){function r(o,r,e){return l.current.measure(o,r,e)}var e=document,t=window.kendo,n=t.Class,d=t.util,a=d.defined,s=n.extend({init:function(o){this._size=o,this._length=0,this._map={}},put:function(o,r){var e=this,t=e._map,n={key:o,value:r};t[o]=n,e._head?(e._tail.newer=n,n.older=e._tail,e._tail=n):e._head=e._tail=n,e._length>=e._size?(t[e._head.key]=null,e._head=e._head.newer,e._head.older=null):e._length++},get:function(o){var r=this,e=r._map[o];return e?(e===r._head&&e!==r._tail&&(r._head=e.newer,r._head.older=null),e!==r._tail&&(e.older&&(e.older.newer=e.newer,e.newer.older=e.older),e.older=r._tail,e.newer=null,r._tail.newer=e,r._tail=e),e.value):void 0}}),i=o("
")[0],l=n.extend({init:function(o){this._cache=new s(1e3),this._initOptions(o)},options:{baselineMarkerSize:1},measure:function(r,t,n){var s,l,u,c,g,w=d.objectKey(t),C=d.hashKey(r+w),h=this._cache.get(C);if(h)return h;s={width:0,height:0,baseline:0},l=n?n:i,u=this._baselineMarker().cloneNode(!1);for(c in t)g=t[c],a(g)&&(l.style[c]=g);return o(l).text(r),l.appendChild(u),e.body.appendChild(l),(r+"").length&&(s.width=l.offsetWidth-this.options.baselineMarkerSize,s.height=l.offsetHeight,s.baseline=u.offsetTop+this.options.baselineMarkerSize),s.width>0&&s.height>0&&this._cache.put(C,s),l.parentNode.removeChild(l),s},_baselineMarker:function(){return o("")[0]}});l.current=new l,t.util.TextMetrics=l,t.util.LRUCache=s,t.util.measureText=r}(window.kendo.jQuery)},"function"==typeof define&&define.amd?define:function(o,r,e){(e||r)()}),function(o,define){define("util/base64.min",["util/main.min"],o)}(function(){return function(){function o(o){var e,t,n,a,s,i,l,u="",c=0;for(o=r(o);o.length>c;)e=o.charCodeAt(c++),t=o.charCodeAt(c++),n=o.charCodeAt(c++),a=e>>2,s=(3&e)<<4|t>>4,i=(15&t)<<2|n>>6,l=63&n,isNaN(t)?i=l=64:isNaN(n)&&(l=64),u=u+d.charAt(a)+d.charAt(s)+d.charAt(i)+d.charAt(l);return u}function r(o){var r,e,t="";for(r=0;o.length>r;r++)e=o.charCodeAt(r),128>e?t+=n(e):2048>e?(t+=n(192|e>>>6),t+=n(128|63&e)):65536>e&&(t+=n(224|e>>>12),t+=n(128|e>>>6&63),t+=n(128|63&e));return t}var e=window.kendo,t=e.deepExtend,n=String.fromCharCode,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t(e.util,{encodeBase64:o,encodeUTF8:r})}(),window.kendo},"function"==typeof define&&define.amd?define:function(o,r,e){(e||r)()}),function(o,define){define("mixins/observers.min",["kendo.core.min"],o)}(function(){return function(o){var r=Math,e=window.kendo,t=e.deepExtend,n=o.inArray,d={observers:function(){return this._observers=this._observers||[]},addObserver:function(o){return this._observers?this._observers.push(o):this._observers=[o],this},removeObserver:function(o){var r=this.observers(),e=n(o,r);return-1!=e&&r.splice(e,1),this},trigger:function(o,r){var e,t,n=this._observers;if(n&&!this._suspended)for(t=0;n.length>t;t++)e=n[t],e[o]&&e[o](r);return this},optionsChange:function(o){this.trigger("optionsChange",o)},geometryChange:function(o){this.trigger("geometryChange",o)},suspend:function(){return this._suspended=(this._suspended||0)+1,this},resume:function(){return this._suspended=r.max((this._suspended||0)-1,0),this},_observerField:function(o,r){this[o]&&this[o].removeObserver(this),this[o]=r,r.addObserver(this)}};t(e,{mixins:{ObserversMixin:d}})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(o,r,e){(e||r)()}),function(o,define){define("kendo.dataviz.qrcode.min",["kendo.dataviz.core.min","kendo.drawing.min"],o)}(function(){return function(o,r){function e(o){return parseInt(o,2)}function t(o,r){var e=(+o).toString(2);return r>e.length&&(e=Array(r-e.length+1).join(0)+e),e}function n(o,r){for(var e=[],t=0;o.length>t;)e.push(o.substring(t,t+r)),t+=r;return e}function d(o,r,e,t){for(var n=0;o.length>n;n++)o[n][e][t]=r}function a(o,r,e,t){for(var n=0;ko.length>n;n++)o[n][e][t]=ko[n](e,t)?1^r:parseInt(r,10)}function s(){var o,r;for(r=1;255>r;r++)o=2*ao[r-1],o>255&&(o=285^o),ao[r]=o,no[o]=r;o=2*ao[r-1]^285,ao[r]=o,ao[-1]=0}function i(){var o,r,e,t=68;for(o=2;t>=o;o++)r=so[o-1],e=[o,0],so[o]=D(r,e)}function l(o,e){var t=[],n=o.length-1;do t[n]=ao[(o[n]+e)%255],n--;while(o[n]!==r);return t}function u(o,r){return parseInt(o.charAt(r),10)}function c(o,r,e,t,n){r[o][t]=(r[o][t]<<1^n)%128,r[o][t]==po&&(e[o]+=40)}function g(o,r,e,t,n,d){e[o][d]==t?n[o][d]++:(e[o][d]=t,n[o][d]>=5&&(r[o]+=3+n[o][d]-5),n[o][d]=1)}function w(o,r){var e=Math.floor(o/r*100),t=e%5,n=Math.abs(e-t-50),d=Math.abs(e+5-t-50),a=10*Math.min(n/5,d/5);return a}var C,h,f,p,k,B,D,P,v,m,M,_,L,x,A,b,S,y,Q,E,H,I,R,T,N,O,U,V,z,F,j,K,Z,W,G=window.kendo,X=o.extend,q=G.drawing,$=G.dataviz,J=G.ui.Widget,Y=$.Box2D,oo="0000",ro="numeric",eo="alphanumeric",to="byte",no={1:0},ao={0:1},so=[[1,0],[1,25,0]],io={15:20,16:20,18:24,19:24,22:20,24:22,26:24,28:20,30:20,31:24,32:28,33:24,36:18,37:22,39:20,40:24},lo=[{L:{groups:[[1,19]],totalDataCodewords:19,errorCodewordsPerBlock:7},M:{groups:[[1,16]],totalDataCodewords:16,errorCodewordsPerBlock:10},Q:{groups:[[1,13]],totalDataCodewords:13,errorCodewordsPerBlock:13},H:{groups:[[1,9]],totalDataCodewords:9,errorCodewordsPerBlock:17}},{L:{groups:[[1,34]],totalDataCodewords:34,errorCodewordsPerBlock:10},M:{groups:[[1,28]],totalDataCodewords:28,errorCodewordsPerBlock:16},Q:{groups:[[1,22]],totalDataCodewords:22,errorCodewordsPerBlock:22},H:{groups:[[1,16]],totalDataCodewords:16,errorCodewordsPerBlock:28}},{L:{groups:[[1,55]],totalDataCodewords:55,errorCodewordsPerBlock:15},M:{groups:[[1,44]],totalDataCodewords:44,errorCodewordsPerBlock:26},Q:{groups:[[2,17]],totalDataCodewords:34,errorCodewordsPerBlock:18},H:{groups:[[2,13]],totalDataCodewords:26,errorCodewordsPerBlock:22}},{L:{groups:[[1,80]],totalDataCodewords:80,errorCodewordsPerBlock:20},M:{groups:[[2,32]],totalDataCodewords:64,errorCodewordsPerBlock:18},Q:{groups:[[2,24]],totalDataCodewords:48,errorCodewordsPerBlock:26},H:{groups:[[4,9]],totalDataCodewords:36,errorCodewordsPerBlock:16}},{L:{groups:[[1,108]],totalDataCodewords:108,errorCodewordsPerBlock:26},M:{groups:[[2,43]],totalDataCodewords:86,errorCodewordsPerBlock:24},Q:{groups:[[2,15],[2,16]],totalDataCodewords:62,errorCodewordsPerBlock:18},H:{groups:[[2,11],[2,12]],totalDataCodewords:46,errorCodewordsPerBlock:22}},{L:{groups:[[2,68]],totalDataCodewords:136,errorCodewordsPerBlock:18},M:{groups:[[4,27]],totalDataCodewords:108,errorCodewordsPerBlock:16},Q:{groups:[[4,19]],totalDataCodewords:76,errorCodewordsPerBlock:24},H:{groups:[[4,15]],totalDataCodewords:60,errorCodewordsPerBlock:28}},{L:{groups:[[2,78]],totalDataCodewords:156,errorCodewordsPerBlock:20},M:{groups:[[4,31]],totalDataCodewords:124,errorCodewordsPerBlock:18},Q:{groups:[[2,14],[4,15]],totalDataCodewords:88,errorCodewordsPerBlock:18},H:{groups:[[4,13],[1,14]],totalDataCodewords:66,errorCodewordsPerBlock:26}},{L:{groups:[[2,97]],totalDataCodewords:194,errorCodewordsPerBlock:24},M:{groups:[[2,38],[2,39]],totalDataCodewords:154,errorCodewordsPerBlock:22},Q:{groups:[[4,18],[2,19]],totalDataCodewords:110,errorCodewordsPerBlock:22},H:{groups:[[4,14],[2,15]],totalDataCodewords:86,errorCodewordsPerBlock:26}},{L:{groups:[[2,116]],totalDataCodewords:232,errorCodewordsPerBlock:30},M:{groups:[[3,36],[2,37]],totalDataCodewords:182,errorCodewordsPerBlock:22},Q:{groups:[[4,16],[4,17]],totalDataCodewords:132,errorCodewordsPerBlock:20},H:{groups:[[4,12],[4,13]],totalDataCodewords:100,errorCodewordsPerBlock:24}},{L:{groups:[[2,68],[2,69]],totalDataCodewords:274,errorCodewordsPerBlock:18},M:{groups:[[4,43],[1,44]],totalDataCodewords:216,errorCodewordsPerBlock:26},Q:{groups:[[6,19],[2,20]],totalDataCodewords:154,errorCodewordsPerBlock:24},H:{groups:[[6,15],[2,16]],totalDataCodewords:122,errorCodewordsPerBlock:28}},{L:{groups:[[4,81]],totalDataCodewords:324,errorCodewordsPerBlock:20},M:{groups:[[1,50],[4,51]],totalDataCodewords:254,errorCodewordsPerBlock:30},Q:{groups:[[4,22],[4,23]],totalDataCodewords:180,errorCodewordsPerBlock:28},H:{groups:[[3,12],[8,13]],totalDataCodewords:140,errorCodewordsPerBlock:24}},{L:{groups:[[2,92],[2,93]],totalDataCodewords:370,errorCodewordsPerBlock:24},M:{groups:[[6,36],[2,37]],totalDataCodewords:290,errorCodewordsPerBlock:22},Q:{groups:[[4,20],[6,21]],totalDataCodewords:206,errorCodewordsPerBlock:26},H:{groups:[[7,14],[4,15]],totalDataCodewords:158,errorCodewordsPerBlock:28}},{L:{groups:[[4,107]],totalDataCodewords:428,errorCodewordsPerBlock:26},M:{groups:[[8,37],[1,38]],totalDataCodewords:334,errorCodewordsPerBlock:22},Q:{groups:[[8,20],[4,21]],totalDataCodewords:244,errorCodewordsPerBlock:24},H:{groups:[[12,11],[4,12]],totalDataCodewords:180,errorCodewordsPerBlock:22}},{L:{groups:[[3,115],[1,116]],totalDataCodewords:461,errorCodewordsPerBlock:30},M:{groups:[[4,40],[5,41]],totalDataCodewords:365,errorCodewordsPerBlock:24},Q:{groups:[[11,16],[5,17]],totalDataCodewords:261,errorCodewordsPerBlock:20},H:{groups:[[11,12],[5,13]],totalDataCodewords:197,errorCodewordsPerBlock:24}},{L:{groups:[[5,87],[1,88]],totalDataCodewords:523,errorCodewordsPerBlock:22},M:{groups:[[5,41],[5,42]],totalDataCodewords:415,errorCodewordsPerBlock:24},Q:{groups:[[5,24],[7,25]],totalDataCodewords:295,errorCodewordsPerBlock:30},H:{groups:[[11,12],[7,13]],totalDataCodewords:223,errorCodewordsPerBlock:24}},{L:{groups:[[5,98],[1,99]],totalDataCodewords:589,errorCodewordsPerBlock:24},M:{groups:[[7,45],[3,46]],totalDataCodewords:453,errorCodewordsPerBlock:28},Q:{groups:[[15,19],[2,20]],totalDataCodewords:325,errorCodewordsPerBlock:24},H:{groups:[[3,15],[13,16]],totalDataCodewords:253,errorCodewordsPerBlock:30}},{L:{groups:[[1,107],[5,108]],totalDataCodewords:647,errorCodewordsPerBlock:28},M:{groups:[[10,46],[1,47]],totalDataCodewords:507,errorCodewordsPerBlock:28},Q:{groups:[[1,22],[15,23]],totalDataCodewords:367,errorCodewordsPerBlock:28},H:{groups:[[2,14],[17,15]],totalDataCodewords:283,errorCodewordsPerBlock:28}},{L:{groups:[[5,120],[1,121]],totalDataCodewords:721,errorCodewordsPerBlock:30},M:{groups:[[9,43],[4,44]],totalDataCodewords:563,errorCodewordsPerBlock:26},Q:{groups:[[17,22],[1,23]],totalDataCodewords:397,errorCodewordsPerBlock:28},H:{groups:[[2,14],[19,15]],totalDataCodewords:313,errorCodewordsPerBlock:28}},{L:{groups:[[3,113],[4,114]],totalDataCodewords:795,errorCodewordsPerBlock:28},M:{groups:[[3,44],[11,45]],totalDataCodewords:627,errorCodewordsPerBlock:26},Q:{groups:[[17,21],[4,22]],totalDataCodewords:445,errorCodewordsPerBlock:26},H:{groups:[[9,13],[16,14]],totalDataCodewords:341,errorCodewordsPerBlock:26}},{L:{groups:[[3,107],[5,108]],totalDataCodewords:861,errorCodewordsPerBlock:28},M:{groups:[[3,41],[13,42]],totalDataCodewords:669,errorCodewordsPerBlock:26},Q:{groups:[[15,24],[5,25]],totalDataCodewords:485,errorCodewordsPerBlock:30},H:{groups:[[15,15],[10,16]],totalDataCodewords:385,errorCodewordsPerBlock:28}},{L:{groups:[[4,116],[4,117]],totalDataCodewords:932,errorCodewordsPerBlock:28},M:{groups:[[17,42]],totalDataCodewords:714,errorCodewordsPerBlock:26},Q:{groups:[[17,22],[6,23]],totalDataCodewords:512,errorCodewordsPerBlock:28},H:{groups:[[19,16],[6,17]],totalDataCodewords:406,errorCodewordsPerBlock:30}},{L:{groups:[[2,111],[7,112]],totalDataCodewords:1006,errorCodewordsPerBlock:28},M:{groups:[[17,46]],totalDataCodewords:782,errorCodewordsPerBlock:28},Q:{groups:[[7,24],[16,25]],totalDataCodewords:568,errorCodewordsPerBlock:30},H:{groups:[[34,13]],totalDataCodewords:442,errorCodewordsPerBlock:24}},{L:{groups:[[4,121],[5,122]],totalDataCodewords:1094,errorCodewordsPerBlock:30},M:{groups:[[4,47],[14,48]],totalDataCodewords:860,errorCodewordsPerBlock:28},Q:{groups:[[11,24],[14,25]],totalDataCodewords:614,errorCodewordsPerBlock:30},H:{groups:[[16,15],[14,16]],totalDataCodewords:464,errorCodewordsPerBlock:30}},{L:{groups:[[6,117],[4,118]],totalDataCodewords:1174,errorCodewordsPerBlock:30},M:{groups:[[6,45],[14,46]],totalDataCodewords:914,errorCodewordsPerBlock:28},Q:{groups:[[11,24],[16,25]],totalDataCodewords:664,errorCodewordsPerBlock:30},H:{groups:[[30,16],[2,17]],totalDataCodewords:514,errorCodewordsPerBlock:30}},{L:{groups:[[8,106],[4,107]],totalDataCodewords:1276,errorCodewordsPerBlock:26},M:{groups:[[8,47],[13,48]],totalDataCodewords:1e3,errorCodewordsPerBlock:28},Q:{groups:[[7,24],[22,25]],totalDataCodewords:718,errorCodewordsPerBlock:30},H:{groups:[[22,15],[13,16]],totalDataCodewords:538,errorCodewordsPerBlock:30}},{L:{groups:[[10,114],[2,115]],totalDataCodewords:1370,errorCodewordsPerBlock:28},M:{groups:[[19,46],[4,47]],totalDataCodewords:1062,errorCodewordsPerBlock:28},Q:{groups:[[28,22],[6,23]],totalDataCodewords:754,errorCodewordsPerBlock:28},H:{groups:[[33,16],[4,17]],totalDataCodewords:596,errorCodewordsPerBlock:30}},{L:{groups:[[8,122],[4,123]],totalDataCodewords:1468,errorCodewordsPerBlock:30},M:{groups:[[22,45],[3,46]],totalDataCodewords:1128,errorCodewordsPerBlock:28},Q:{groups:[[8,23],[26,24]],totalDataCodewords:808,errorCodewordsPerBlock:30},H:{groups:[[12,15],[28,16]],totalDataCodewords:628,errorCodewordsPerBlock:30}},{L:{groups:[[3,117],[10,118]],totalDataCodewords:1531,errorCodewordsPerBlock:30},M:{groups:[[3,45],[23,46]],totalDataCodewords:1193,errorCodewordsPerBlock:28},Q:{groups:[[4,24],[31,25]],totalDataCodewords:871,errorCodewordsPerBlock:30},H:{groups:[[11,15],[31,16]],totalDataCodewords:661,errorCodewordsPerBlock:30}},{L:{groups:[[7,116],[7,117]],totalDataCodewords:1631,errorCodewordsPerBlock:30},M:{groups:[[21,45],[7,46]],totalDataCodewords:1267,errorCodewordsPerBlock:28},Q:{groups:[[1,23],[37,24]],totalDataCodewords:911,errorCodewordsPerBlock:30},H:{groups:[[19,15],[26,16]],totalDataCodewords:701,errorCodewordsPerBlock:30}},{L:{groups:[[5,115],[10,116]],totalDataCodewords:1735,errorCodewordsPerBlock:30},M:{groups:[[19,47],[10,48]],totalDataCodewords:1373,errorCodewordsPerBlock:28},Q:{groups:[[15,24],[25,25]],totalDataCodewords:985,errorCodewordsPerBlock:30},H:{groups:[[23,15],[25,16]],totalDataCodewords:745,errorCodewordsPerBlock:30}},{L:{groups:[[13,115],[3,116]],totalDataCodewords:1843,errorCodewordsPerBlock:30},M:{groups:[[2,46],[29,47]],totalDataCodewords:1455,errorCodewordsPerBlock:28},Q:{groups:[[42,24],[1,25]],totalDataCodewords:1033,errorCodewordsPerBlock:30},H:{groups:[[23,15],[28,16]],totalDataCodewords:793,errorCodewordsPerBlock:30}},{L:{groups:[[17,115]],totalDataCodewords:1955,errorCodewordsPerBlock:30},M:{groups:[[10,46],[23,47]],totalDataCodewords:1541,errorCodewordsPerBlock:28},Q:{groups:[[10,24],[35,25]],totalDataCodewords:1115,errorCodewordsPerBlock:30},H:{groups:[[19,15],[35,16]],totalDataCodewords:845,errorCodewordsPerBlock:30}},{L:{groups:[[17,115],[1,116]],totalDataCodewords:2071,errorCodewordsPerBlock:30},M:{groups:[[14,46],[21,47]],totalDataCodewords:1631,errorCodewordsPerBlock:28},Q:{groups:[[29,24],[19,25]],totalDataCodewords:1171,errorCodewordsPerBlock:30},H:{groups:[[11,15],[46,16]],totalDataCodewords:901,errorCodewordsPerBlock:30}},{L:{groups:[[13,115],[6,116]],totalDataCodewords:2191,errorCodewordsPerBlock:30},M:{groups:[[14,46],[23,47]],totalDataCodewords:1725,errorCodewordsPerBlock:28},Q:{groups:[[44,24],[7,25]],totalDataCodewords:1231,errorCodewordsPerBlock:30},H:{groups:[[59,16],[1,17]],totalDataCodewords:961,errorCodewordsPerBlock:30}},{L:{groups:[[12,121],[7,122]],totalDataCodewords:2306,errorCodewordsPerBlock:30},M:{groups:[[12,47],[26,48]],totalDataCodewords:1812,errorCodewordsPerBlock:28},Q:{groups:[[39,24],[14,25]],totalDataCodewords:1286,errorCodewordsPerBlock:30},H:{groups:[[22,15],[41,16]],totalDataCodewords:986,errorCodewordsPerBlock:30}},{L:{groups:[[6,121],[14,122]],totalDataCodewords:2434,errorCodewordsPerBlock:30},M:{groups:[[6,47],[34,48]],totalDataCodewords:1914,errorCodewordsPerBlock:28},Q:{groups:[[46,24],[10,25]],totalDataCodewords:1354,errorCodewordsPerBlock:30},H:{groups:[[2,15],[64,16]],totalDataCodewords:1054,errorCodewordsPerBlock:30}},{L:{groups:[[17,122],[4,123]],totalDataCodewords:2566,errorCodewordsPerBlock:30},M:{groups:[[29,46],[14,47]],totalDataCodewords:1992,errorCodewordsPerBlock:28},Q:{groups:[[49,24],[10,25]],totalDataCodewords:1426,errorCodewordsPerBlock:30},H:{groups:[[24,15],[46,16]],totalDataCodewords:1096,errorCodewordsPerBlock:30}},{L:{groups:[[4,122],[18,123]],totalDataCodewords:2702,errorCodewordsPerBlock:30},M:{groups:[[13,46],[32,47]],totalDataCodewords:2102,errorCodewordsPerBlock:28},Q:{groups:[[48,24],[14,25]],totalDataCodewords:1502,errorCodewordsPerBlock:30},H:{groups:[[42,15],[32,16]],totalDataCodewords:1142,errorCodewordsPerBlock:30}},{L:{groups:[[20,117],[4,118]],totalDataCodewords:2812,errorCodewordsPerBlock:30},M:{groups:[[40,47],[7,48]],totalDataCodewords:2216,errorCodewordsPerBlock:28},Q:{groups:[[43,24],[22,25]],totalDataCodewords:1582,errorCodewordsPerBlock:30},H:{groups:[[10,15],[67,16]],totalDataCodewords:1222,errorCodewordsPerBlock:30}},{L:{groups:[[19,118],[6,119]],totalDataCodewords:2956,errorCodewordsPerBlock:30},M:{groups:[[18,47],[31,48]],totalDataCodewords:2334,errorCodewordsPerBlock:28},Q:{groups:[[34,24],[34,25]],totalDataCodewords:1666,errorCodewordsPerBlock:30},H:{groups:[[20,15],[61,16]],totalDataCodewords:1276,errorCodewordsPerBlock:30}}],uo=[1,0,1,1,1],co=[1,0,1],go={L:"01",M:"00",Q:"11",H:"10"},wo="101010000010010",Co="10100110111",ho="1111100100101",fo=["11101100","00010001"],po=93,ko=[function(o,r){return(o+r)%2===0},function(o){return o%2===0},function(o,r){return r%3===0},function(o,r){return(o+r)%3===0},function(o,r){return(Math.floor(o/2)+Math.floor(r/3))%2===0},function(o,r){return o*r%2+o*r%3===0},function(o,r){return(o*r%2+o*r%3)%2===0},function(o,r){return((o+r)%2+o*r%3)%2===0}],Bo=/^\d+/,Do="A-Z0-9 $%*+./:-",Po="A-Z $%*+./:-",vo=RegExp("^["+Po+"]+"),mo=RegExp("^["+Do+"]+"),Mo=RegExp("^[^"+Do+"]+"),_o=8,Lo=5,xo=8,Ao=17,bo=9,So=16,yo=Math.round,Qo=G.Class.extend({getVersionIndex:function(o){return 10>o?0:o>26?2:1},getBitsCharacterCount:function(o){var r=this;return r.bitsInCharacterCount[r.getVersionIndex(o||40)]},getModeCountString:function(o,r){var e=this;return e.modeIndicator+t(o,e.getBitsCharacterCount(r))},encode:function(){},getStringBitsLength:function(){},getValue:function(){},modeIndicator:"",bitsInCharacterCount:[]}),Eo={};Eo[ro]=Qo.extend({bitsInCharacterCount:[10,12,14],modeIndicator:"0001",getValue:function(o){return parseInt(o,10)},encode:function(o,r){var e,d=this,a=n(o,3),s=d.getModeCountString(o.length,r);for(e=0;a.length-1>e;e++)s+=t(a[e],10);return s+t(a[e],1+3*a[e].length)},getStringBitsLength:function(o,r){var e=o%3;return 4+this.getBitsCharacterCount(r)+10*Math.floor(o/3)+3*e+(0===e?0:1)}}),Eo[eo]=Qo.extend({characters:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:18,J:19,K:20,L:21,M:22,N:23,O:24,P:25,Q:26,R:27,S:28,T:29,U:30,V:31,W:32,X:33,Y:34,Z:35," ":36,$:37,"%":38,"*":39,"+":40,"-":41,".":42,"/":43,":":44},bitsInCharacterCount:[9,11,13],modeIndicator:"0010",getValue:function(o){return this.characters[o]},encode:function(o,r){var e,d,a=this,s=n(o,2),i=a.getModeCountString(o.length,r);for(d=0;s.length-1>d;d++)e=45*a.getValue(s[d].charAt(0))+a.getValue(s[d].charAt(1)),i+=t(e,11);return e=2==s[d].length?45*a.getValue(s[d].charAt(0))+a.getValue(s[d].charAt(1)):a.getValue(s[d].charAt(0)),i+t(e,1+5*s[d].length)},getStringBitsLength:function(o,r){return 4+this.getBitsCharacterCount(r)+11*Math.floor(o/2)+6*(o%2)}}),Eo[to]=Qo.extend({bitsInCharacterCount:[8,16,16],modeIndicator:"0100",getValue:function(o){var r=o.charCodeAt(0);if(127>=r||r>=160&&255>=r)return r;throw Error("Unsupported character: "+o)},encode:function(o,r){var e,n=this,d=n.getModeCountString(o.length,r);for(e=0;o.length>e;e++)d+=t(n.getValue(o.charAt(e)),8);return d},getStringBitsLength:function(o,r){return 4+this.getBitsCharacterCount(r)+8*o}}),C={};for(h in Eo)C[h]=new Eo[h];f=function(o){var e=this,t=o.length-1,n=o.length-1,d=n,a=-1,s=0;e.move=function(){t+=a*s,s^=1,n=d-s},e.getNextCell=function(){for(;o[t][n]!==r;)e.move(),(0>t||t>=o.length)&&(a=-a,d-=8!=d?2:3,n=d,t=0>a?o.length-1:0);return{row:t,column:n}},e.getNextRemainderCell=function(){return e.move(),o[t][n]===r?{row:t,column:n}:r}},p=function(o,r){var e,t,n,d,s,i,l=new f(o[0]);for(d=0;r.length>d;d++)for(e=r[d],t=0;e.length>0;){for(s=0;e.length>s;s++)for(i=0;8>i;i++)n=l.getNextCell(),a(o,e[s][t].charAt(i),n.row,n.column);for(t++;e[0]&&t==e[0].length;)e.splice(0,1)}for(;n=l.getNextRemainderCell();)a(o,0,n.row,n.column)},k=function(o,r){for(var e=8*r,t=0,n=0;e>o.length&&oo.length>t;)o+=oo.charAt(t++);for(o.length%8!==0&&(o+=Array(9-o.length%8).join("0"));e>o.length;)o+=fo[n],n^=1;return o},B=function(o,r){var e,t=[],n=o.length-2;for(e=n;e>=0;e--)t[e]=o[e]^r[e];return t},D=function(o,e){var t,n,d=[];for(t=0;o.length>t;t++)for(n=0;e.length>n;n++)d[t+n]=d[t+n]===r?(o[t]+(e[n]>=0?e[n]:0))%255:no[ao[d[t+n]]^ao[(o[t]+e[n])%255]];return d},s(),i(),P=function(o,r){var e,n,d=so[r-1],a=Array(r).concat(o),s=Array(a.length-d.length).concat(d),i=o.length,u=[];for(n=0;i>n;n++)e=l(s,no[a[a.length-1]]),s.splice(0,1),a=B(e,a);for(n=a.length-1;n>=0;n--)u[r-1-n]=t(a[n],8);return u},v=function(o,r){var t,n,d,a,s,i,l,u,c=0,g=[],w=[],C=r.groups;for(i=0;C.length>i;i++)for(d=C[i][0],l=0;d>l;l++){for(n=C[i][1],t=[],a=[],u=1;n>=u;u++)s=o.substring(c,c+8),t.push(s),a[n-u]=e(s),c+=8;g.push(t),w.push(P(a,r.errorCodewordsPerBlock))}return[g,w]},m=function(o,r,e,t,n){var d,a,s=Bo.exec(o),i=s?s[0]:"",l=vo.exec(o),u=l?l[0]:"",c=mo.exec(o),g=c?c[0]:"";return i&&(i.length>=r||o.length==i.length||i.length>=e&&!mo.test(o.charAt(i.length)))?(d=ro,a=i):g&&(o.length==g.length||g.length>=t||n==eo)?(d=eo,a=i||u):(d=to,a=g?g+Mo.exec(o.substring(g.length))[0]:Mo.exec(o)[0]),{mode:d,modeString:a}},M=function(o){var r,e,t=[],n=0;for(t.push(m(o,_o,Lo,xo,r)),r=t[0].mode,o=o.substr(t[0].modeString.length);o.length>0;)e=m(o,Ao,bo,So,r),e.mode!=r?(r=e.mode,t.push(e),n++):t[n].modeString+=e.modeString,o=o.substr(e.modeString.length);return t},_=function(o){var r,e,t=0;for(e=0;o.length>e;e++)r=C[o[e].mode],t+=r.getStringBitsLength(o[e].modeString.length);return Math.ceil(t/8)},L=function(o,r){var e=0,t=lo.length-1,n=Math.floor(lo.length/2);do lo[n][r].totalDataCodewords>o?t=n:e=n,n=e+Math.floor((t-e)/2);while(t-e>1);return lo[e][r].totalDataCodewords>=o?n+1:t+1},x=function(o,r){var e,t,n="";for(t=0;o.length>t;t++)e=C[o[t].mode],n+=e.encode(o[t].modeString,r);return n},A=function(o){var r,t,n=e(o),d="";if(0===n)return"101010000010010";for(r=b(e(o),Co,15),t=0;r.length>t;t++)d+=r.charAt(t)^wo.charAt(t);return d},b=function(o,r,n){var d=e(r),a=r.length-1,s=o<=e);return o},y=function(o){var r,e,t=[],n=17+4*o;for(r=0;ko.length>r;r++)for(t[r]=Array(n),e=0;n>e;e++)t[r][e]=Array(n);return t},Q=function(o,r){var e,t,n=o[0],a=0,s=r.length;for(e=0,t=8;8>=e;e++)6!==e&&d(o,u(r,s-1-a++),e,t);for(e=8,t=7;t>=0;t--)6!==t&&d(o,u(r,s-1-a++),e,t);for(a=0,t=n.length-1,e=8;t>=n.length-8;t--)d(o,u(r,s-1-a++),e,t);for(d(o,1,n.length-8,8),e=n.length-7,t=8;n.length>e;e++)d(o,u(r,s-1-a++),e,t)},E=function(o){return b(o,ho,18)},H=function(o,r){var e,t,n,a,s=o[0],i=s.length,l=0,c=i-11,g=i-11,w=0;for(a=0;r.length>a;a++)e=Math.floor(a/3),t=a%3,n=u(r,r.length-a-1),d(o,n,l+e,c+t),d(o,n,g+t,w+e)},I=function(o,r,e,t){var n,a,s,i=r.length+2,l=r.length+1;for(a=0;r.length>a;a++)for(s=a;i-a>s;s++)n=r[a],d(o,n,e+s,t+a),d(o,n,e+a,t+s),d(o,n,e+l-s,t+l-a),d(o,n,e+l-a,t+l-s)},R=function(o,r,e,t){var n=e,a=t,s=o[0];do d(o,0,n,t),d(o,0,e,a),n+=r[0],a+=r[1];while(n>=0&&s.length>n)},T=function(o){var r=o[0].length;I(o,uo,0,0),R(o,[-1,-1],7,7),I(o,uo,r-7,0),R(o,[1,-1],r-8,7),I(o,uo,0,r-7),R(o,[-1,1],7,r-8)},N=function(o,e){var t,n,d,a,s,i,l,u,c;if(!(2>e)){for(t=o[0],n=t.length,d=Math.floor(e/7),a=[6],l=0,(s=io[e])?i=(n-13-s)/d:s=i=(n-13)/(d+1),a.push(a[l++]+s);n>a[l]+i;)a.push(a[l++]+i);for(u=0;a.length>u;u++)for(c=0;a.length>c;c++)t[a[u]][a[c]]===r&&I(o,co,a[u]-2,a[c]-2)}},O=function(o){var r,e=6,t=6,n=1,a=o[0].length;for(r=8;a-8>r;r++)d(o,n,e,r),d(o,n,r,t),n^=1},U=function(o){var r,e,t,n,d,a,s,i=[],l=[],u=[],C=[],h=[],f=0,p=1,k=o[0].length;for(e=0;o.length>e;e++)i[e]=0,u[e]=0,h[e]=[0,0],C[e]=[0,0],l[e]=[];for(e=0;k>e;e++)for(t=0;k>t;t++)for(n=0;o.length>n;n++)r=o[n],u[n]+=parseInt(r[e][t],10),l[n][f]===r[e][t]&&k>e+1&&t-1>=0&&r[e+1][t]==l[n][f]&&r[e+1][t-1]==l[n][f]&&(i[n]+=3),c(n,C,i,f,r[e][t]),c(n,C,i,p,r[t][e]),g(n,i,l,r[e][t],h,f),g(n,i,l,r[t][e],h,p);for(d=k*k,s=Number.MAX_VALUE,e=0;i.length>e;e++)i[e]+=w(u[e],d),s>i[e]&&(s=i[e],a=e);return a},V=function(o,r){this.dataString=o,this.version=r},z=function(){this.getEncodingResult=function(o,r){var e=M(o),t=_(e),n=L(t,r),d=x(e,n);return new V(d,n)}},F=function(){this.mode=C[this.encodingMode]},F.fn=F.prototype={encodingMode:to,utfBOM:"111011111011101110111111",initialModeCountStringLength:20,getEncodingResult:function(o,r){var e=this,t=e.encode(o),n=e.getDataCodewordsCount(t),d=L(n,r),a=e.mode.getModeCountString(t.length/8,d)+t;return new V(a,d)},getDataCodewordsCount:function(o){var r=this,e=o.length,t=Math.ceil((r.initialModeCountStringLength+e)/8);return t},encode:function(o){var r,e=this,t=e.utfBOM;for(r=0;o.length>r;r++)t+=e.encodeCharacter(o.charCodeAt(r));return t},encodeCharacter:function(o){var r,e,n=this.getBytesCount(o),d=n-1,a="";if(1==n)a=t(o,8);else{for(r=8-n,e=0;d>e;e++)a=t(o>>6*e&63|128,8)+a;a=(o>>6*d|255>>r<