var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.checkStringArgs=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.polyfill=function(a,b,c,d){if(b){c=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:b})}};
$jscomp.polyfill("String.prototype.endsWith",function(a){return a?a:function(a,c){var b=$jscomp.checkStringArgs(this,a,"endsWith");a+="";void 0===c&&(c=b.length);c=Math.max(0,Math.min(c|0,b.length));for(var e=a.length;0<e&&0<c;)if(b[--c]!=a[--e])return!1;return 0>=e}},"es6","es3");
zul.inp.Bandbox=zk.$extends(zul.inp.ComboWidget,{_iconSclass:"z-icon-search",getPopupSize_:function(a){var b=this.firstChild;if(b){var c="min"==b._hflex&&b._hflexsz?jq.px0(b._hflexsz+zk(a).padBorderWidth()):b.getWidth();var d="min"==b._vflex&&b._vflexsz?jq.px0(b._vflexsz+zk(a).padBorderHeight()):b.getHeight()}return[c||"auto",d||"auto"]},getCaveNode:function(){return this.$n("pp")||this.$n()},redrawpp_:function(a){a.push('<div id="',this.uuid,'-pp" class="',this.$s("popup"),'" style="display:none">');
for(var b=this.firstChild;b;b=b.nextSibling)b.redraw(a);a.push("</div>")},open:function(a){this.firstChild?this.$supers("open",arguments):a&&a.sendOnOpen&&this.fire("onOpen",{open:!0,value:this.getInputNode().value},{rtags:{onOpen:1}})},presize_:function(){var a=this.firstChild;if(a&&("min"==a._hflex||"min"==a._vflex))return zWatch.fireDown("onFitSize",a,{reverse:!0}),!0},enterPressed_:function(a){a.domTarget==this.getInputNode()&&this.$supers("enterPressed_",arguments)},doKeyUp_:function(a){a.domTarget==
this.getInputNode()&&this.$supers("doKeyUp_",arguments)},_fixsz:function(a){this.$supers("_fixsz",arguments);var b=this.getPopupNode_(),c=zk(b),d=b.firstChild;a[0].endsWith("%")||this.getPopupWidth()?d.style.width="100%":"auto"!=a[0]&&(b.style.width=c.revisedWidth(d.offsetWidth+c.padBorderWidth())+"px")},doFocus_:function(a){var b=a.domTarget;b!=this.getInputNode()&&b!=this.$n("btn")||this.$supers("doFocus_",arguments)}});
