").css({position:"absolute",width:a.outerWidth(),height:a.outerHeight()}).appendTo(a.parent()).offset(a.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(a){return J(a.target).closest(".ui-dialog").length?!0:!!J(a.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var a=!0;
this._delay(function(){a=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(b){a||this._allowInteraction(b)||(b.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=J("
").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var a=this.document.data("ui-dialog-overlays")-1;
a?this.document.data("ui-dialog-overlays",a):this.document.unbind("focusin").removeData("ui-dialog-overlays"),this.overlay.remove(),this.overlay=null}}}),J.widget("ui.droppable",{version:"1.11.1",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var b,a=this.options,c=a.accept;this.isover=!1,this.isout=!0,this.accept=J.isFunction(c)?c:function(d){return d.is(c)
},this.proportions=function(){return arguments.length?(b=arguments[0],void 0):b?b:b={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}},this._addToManager(a.scope),a.addClasses&&this.element.addClass("ui-droppable")},_addToManager:function(a){J.ui.ddmanager.droppables[a]=J.ui.ddmanager.droppables[a]||[],J.ui.ddmanager.droppables[a].push(this)},_splice:function(b){for(var a=0;b.length>a;a++){b[a]===this&&b.splice(a,1)}},_destroy:function(){var a=J.ui.ddmanager.droppables[this.options.scope];
this._splice(a),this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(b,a){if("accept"===b){this.accept=J.isFunction(a)?a:function(d){return d.is(a)}}else{if("scope"===b){var c=J.ui.ddmanager.droppables[this.options.scope];this._splice(c),this._addToManager(a)}}this._super(b,a)},_activate:function(b){var a=J.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),a&&this._trigger("activate",b,this.ui(a))},_deactivate:function(b){var a=J.ui.ddmanager.current;
this.options.activeClass&&this.element.removeClass(this.options.activeClass),a&&this._trigger("deactivate",b,this.ui(a))},_over:function(b){var a=J.ui.ddmanager.current;a&&(a.currentItem||a.element)[0]!==this.element[0]&&this.accept.call(this.element[0],a.currentItem||a.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",b,this.ui(a)))},_out:function(b){var a=J.ui.ddmanager.current;a&&(a.currentItem||a.element)[0]!==this.element[0]&&this.accept.call(this.element[0],a.currentItem||a.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",b,this.ui(a)))
},_drop:function(b,a){var c=a||J.ui.ddmanager.current,d=!1;return c&&(c.currentItem||c.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var f=J(this).droppable("instance");return f.options.greedy&&!f.options.disabled&&f.options.scope===c.options.scope&&f.accept.call(f.element[0],c.currentItem||c.element)&&J.ui.intersect(c,J.extend(f,{offset:f.element.offset()}),f.options.tolerance,b)?(d=!0,!1):void 0}),d?!1:this.accept.call(this.element[0],c.currentItem||c.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",b,this.ui(c)),this.element):!1):!1
},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}}),J.ui.intersect=function(){function a(d,c,b){return d>=c&&c+b>d}return function(R,p,S,g){if(!p.offset){return !1}var P=(R.positionAbs||R.position.absolute).left,f=(R.positionAbs||R.position.absolute).top,b=P+R.helperProportions.width,v=f+R.helperProportions.height,m=p.offset.left,Q=p.offset.top,y=m+p.proportions().width,O=Q+p.proportions().height;switch(S){case"fit":return P>=m&&y>=b&&f>=Q&&O>=v;
case"intersect":return P+R.helperProportions.width/2>m&&y>b-R.helperProportions.width/2&&f+R.helperProportions.height/2>Q&&O>v-R.helperProportions.height/2;case"pointer":return a(g.pageY,Q,p.proportions().height)&&a(g.pageX,m,p.proportions().width);case"touch":return(f>=Q&&O>=f||v>=Q&&O>=v||Q>f&&v>O)&&(P>=m&&y>=P||b>=m&&y>=b||m>P&&b>y);default:return !1}}}(),J.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(d,c){var f,l,b=J.ui.ddmanager.droppables[d.options.scope]||[],h=c?c.type:null,g=(d.currentItem||d.element).find(":data(ui-droppable)").addBack();
J:for(f=0;b.length>f;f++){if(!(b[f].options.disabled||d&&!b[f].accept.call(b[f].element[0],d.currentItem||d.element))){for(l=0;g.length>l;l++){if(g[l]===b[f].element[0]){b[f].proportions().height=0;continue J}}b[f].visible="none"!==b[f].element.css("display"),b[f].visible&&("mousedown"===h&&b[f]._activate.call(b[f],c),b[f].offset=b[f].element.offset(),b[f].proportions({width:b[f].element[0].offsetWidth,height:b[f].element[0].offsetHeight}))}}},drop:function(b,a){var c=!1;return J.each((J.ui.ddmanager.droppables[b.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&J.ui.intersect(b,this,this.options.tolerance,a)&&(c=this._drop.call(this,a)||c),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],b.currentItem||b.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,a)))
}),c},dragStart:function(b,a){b.element.parentsUntil("body").bind("scroll.droppable",function(){b.options.refreshPositions||J.ui.ddmanager.prepareOffsets(b,a)})},drag:function(b,a){b.options.refreshPositions&&J.ui.ddmanager.prepareOffsets(b,a),J.each(J.ui.ddmanager.droppables[b.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var d,h,c,g=J.ui.intersect(b,this,this.options.tolerance,a),f=!g&&this.isover?"isout":g&&!this.isover?"isover":null;f&&(this.options.greedy&&(h=this.options.scope,c=this.element.parents(":data(ui-droppable)").filter(function(){return J(this).droppable("instance").options.scope===h
}),c.length&&(d=J(c[0]).droppable("instance"),d.greedyChild="isover"===f)),d&&"isover"===f&&(d.isover=!1,d.isout=!0,d._out.call(d,a)),this[f]=!0,this["isout"===f?"isover":"isout"]=!1,this["isover"===f?"_over":"_out"].call(this,a),d&&"isout"===f&&(d.isout=!1,d.isover=!0,d._over.call(d,a)))}})},dragStop:function(b,a){b.element.parentsUntil("body").unbind("scroll.droppable"),b.options.refreshPositions||J.ui.ddmanager.prepareOffsets(b,a)}},J.ui.droppable;var j="ui-effects-",M=J;J.effects={effect:{}},function(R,W){function O(f,c,a){var d=S[c.type]||{};
return null==f?a||!c.def?null:c.def:(f=d.floor?~~f:parseFloat(f),isNaN(f)?c.def:d.mod?(f+d.mod)%d.mod:0>f?0:f>d.max?d.max:f)}function X(a){var c=y(),d=c._rgba=[];return a=a.toLowerCase(),Q(P,function(t,n){var u,s=n.re.exec(a),p=s&&n.parse(s),f=n.space||"rgba";return p?(u=c[f](p),c[V[f].cache]=u[V[f].cache],d=c._rgba=u._rgba,!1):W}),d.length?("0,0,0,0"===d.join()&&R.extend(d,U.transparent),c):U[a]}function v(d,c,a){return a=(a+1)%1,1>6*a?d+6*(c-d)*a:1>2*a?c:2>3*a?d+6*(c-d)*(2/3-a):d}var U,m="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",b=/^([\-+])=\s*(\d+\.?\d*)/,P=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(a){return[a[1],a[2],a[3],a[4]]
}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(a){return[2.55*a[1],2.55*a[2],2.55*a[3],a[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(a){return[a[1],a[2]/100,a[3]/100,a[4]]
}}],y=R.Color=function(c,a,d,f){return new R.Color.fn.parse(c,a,d,f)},V={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},S={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},T=y.support={},g=R("
")[0],Q=R.each;g.style.cssText="background-color:rgba(1,1,1,.5)",T.rgba=g.style.backgroundColor.indexOf("rgba")>-1,Q(V,function(c,a){a.cache="_"+c,a.props.alpha={idx:3,type:"percent",def:1}
}),y.fn=R.extend(y.prototype,{parse:function(Y,t,f,a){if(Y===W){return this._rgba=[null,null,null,null],this}(Y.jquery||Y.nodeType)&&(Y=R(Y).css(t),t=W);var s=this,u=R.type(Y),l=this._rgba=[];return t!==W&&(Y=[Y,t,f,a],u="array"),"string"===u?this.parse(X(Y)||U._default):"array"===u?(Q(V.rgba.props,function(d,c){l[c.idx]=O(Y[c.idx],c)}),this):"object"===u?(Y instanceof y?Q(V,function(d,c){Y[c.cache]&&(s[c.cache]=Y[c.cache].slice())}):Q(V,function(d,h){var c=h.cache;Q(h.props,function(o,n){if(!s[c]&&h.to){if("alpha"===o||null==Y[o]){return
}s[c]=h.to(s._rgba)}s[c][n.idx]=O(Y[o],n,!0)}),s[c]&&0>R.inArray(null,s[c].slice(0,3))&&(s[c][3]=1,h.from&&(s._rgba=h.from(s[c])))}),this):W},is:function(d){var a=y(d),c=!0,f=this;return Q(V,function(n,h){var p,l=a[h.cache];return l&&(p=f[h.cache]||h.to&&h.to(f._rgba)||[],Q(h.props,function(r,o){return null!=l[o.idx]?c=l[o.idx]===p[o.idx]:W})),c}),c},_space:function(){var c=[],a=this;return Q(V,function(d,f){a[f.cache]&&c.push(d)}),c.pop()},transition:function(u,d){var l=y(u),Z=l._space(),c=V[Z],Y=0===this.alpha()?y("transparent"):this,p=Y[c.cache]||c.to(Y._rgba),f=p.slice();
return l=l[c.cache],Q(c.props,function(t,ab){var r=ab.idx,aa=p[r],h=l[r],s=S[ab.type]||{};null!==h&&(null===aa?f[r]=h:(s.mod&&(h-aa>s.mod/2?aa+=s.mod:aa-h>s.mod/2&&(aa-=s.mod)),f[r]=O((h-aa)*d+aa,ab)))}),this[Z](f)},blend:function(c){if(1===this._rgba[3]){return this}var a=this._rgba.slice(),d=a.pop(),f=y(c)._rgba;return y(R.map(a,function(l,h){return(1-d)*f[h]+d*l}))},toRgbaString:function(){var c="rgba(",a=R.map(this._rgba,function(f,d){return null==f?d>2?1:0:f});return 1===a[3]&&(a.pop(),c="rgb("),c+a.join()+")"
},toHslaString:function(){var c="hsla(",a=R.map(this.hsla(),function(f,d){return null==f&&(f=d>2?1:0),d&&3>d&&(f=Math.round(100*f)+"%"),f});return 1===a[3]&&(a.pop(),c="hsl("),c+a.join()+")"},toHexString:function(c){var a=this._rgba.slice(),d=a.pop();return c&&a.push(~~(255*d)),"#"+R.map(a,function(f){return f=(f||0).toString(16),1===f.length?"0"+f:f}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),y.fn.parse.prototype=y.fn,V.hsla.to=function(ab){if(null==ab[0]||null==ab[1]||null==ab[2]){return[null,null,null,ab[3]]
}var af,Z,ag=ab[0]/255,p=ab[1]/255,ad=ab[2]/255,f=ab[3],c=Math.max(ag,p,ad),aa=Math.min(ag,p,ad),Y=c-aa,ae=c+aa,ac=0.5*ae;return af=aa===c?0:ag===c?60*(p-ad)/Y+360:p===c?60*(ad-ag)/Y+120:60*(ag-p)/Y+240,Z=0===Y?0:0.5>=ac?Y/ae:Y/(2-ae),[Math.round(af)%360,Z,ac,null==f?1:f]},V.hsla.from=function(n){if(null==n[0]||null==n[1]||null==n[2]){return[null,null,null,n[3]]}var f=n[0]/360,d=n[1],h=n[2],c=n[3],p=0.5>=h?h*(1+d):h+d-h*d,l=2*h-p;return[Math.round(255*v(l,p,f+1/3)),Math.round(255*v(l,p,f)),Math.round(255*v(l,p,f-1/3)),c]
},Q(V,function(l,r){var c=r.props,p=r.cache,f=r.to,d=r.from;y.fn[l]=function(a){if(f&&!this[p]&&(this[p]=f(this._rgba)),a===W){return this[p].slice()}var u,h=R.type(a),o="array"===h||"object"===h?a:arguments,t=this[p].slice();return Q(c,function(Z,n){var Y=o["object"===h?Z:n.idx];null==Y&&(Y=t[n.idx]),t[n.idx]=O(Y,n)}),d?(u=y(d(t)),u[p]=t,u):y(t)},Q(c,function(h,a){y.fn[h]||(y.fn[h]=function(ab){var t,aa=R.type(ab),Z="alpha"===h?this._hsla?"hsla":"rgba":l,s=this[Z](),Y=s[a.idx];return"undefined"===aa?Y:("function"===aa&&(ab=ab.call(this,Y),aa=R.type(ab)),null==ab&&a.empty?this:("string"===aa&&(t=b.exec(ab),t&&(ab=Y+parseFloat(t[2])*("+"===t[1]?1:-1))),s[a.idx]=ab,this[Z](s)))
})})}),y.hook=function(c){var a=c.split(" ");Q(a,function(f,d){R.cssHooks[d]={set:function(p,Z){var l,Y,u="";if("transparent"!==Z&&("string"!==R.type(Z)||(l=X(Z)))){if(Z=y(l||Z),!T.rgba&&1!==Z._rgba[3]){for(Y="backgroundColor"===d?p.parentNode:p;(""===u||"transparent"===u)&&Y&&Y.style;){try{u=R.css(Y,"backgroundColor"),Y=Y.parentNode}catch(s){}}Z=Z.blend(u&&"transparent"!==u?u:"_default")}Z=Z.toRgbaString()}try{p.style[d]=Z}catch(s){}}},R.fx.step[d]=function(h){h.colorInit||(h.start=y(h.elem,d),h.end=y(h.end),h.colorInit=!0),R.cssHooks[d].set(h.elem,h.start.transition(h.end,h.pos))
}})},y.hook(m),R.cssHooks.borderColor={expand:function(c){var a={};return Q(["Top","Right","Bottom","Left"],function(d,f){a["border"+f+"Color"]=c}),a}},U=R.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(M),function(){function b(h){var g,l,m=h.ownerDocument.defaultView?h.ownerDocument.defaultView.getComputedStyle(h,null):h.currentStyle,f={};
if(m&&m.length&&m[0]&&m[m[0]]){for(l=m.length;l--;){g=m[l],"string"==typeof m[g]&&(f[J.camelCase(g)]=m[g])}}else{for(g in m){"string"==typeof m[g]&&(f[g]=m[g])}}return f}function a(h,g){var l,f,m={};for(l in g){f=g[l],h[l]!==f&&(d[l]||(J.fx.step[l]||!isNaN(parseFloat(f)))&&(m[l]=f))}return m}var c=["add","remove","toggle"],d={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};J.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(g,f){J.fx.step[f]=function(h){("none"!==h.end&&!h.setAttr||1===h.pos&&!h.setAttr)&&(M.style(h.elem,f,h.end),h.setAttr=!0)
}}),J.fn.addBack||(J.fn.addBack=function(f){return this.add(null==f?this.prevObject:this.prevObject.filter(f))}),J.effects.animateClass=function(p,f,m,l){var g=J.speed(f,m,l);return this.queue(function(){var n,t=J(this),s=t.attr("class")||"",h=g.children?t.find("*").addBack():t;h=h.map(function(){var o=J(this);return{el:o,start:b(this)}}),n=function(){J.each(c,function(r,o){p[o]&&t[o+"Class"](p[o])})},n(),h=h.map(function(){return this.end=b(this.el[0]),this.diff=a(this.start,this.end),this}),t.attr("class",s),h=h.map(function(){var r=this,o=J.Deferred(),u=J.extend({},g,{queue:!1,complete:function(){o.resolve(r)
}});return this.el.animate(this.diff,u),o.promise()}),J.when.apply(J,h.get()).done(function(){n(),J.each(arguments,function(){var o=this.el;J.each(this.diff,function(r){o.css(r,"")})}),g.complete.call(t[0])})})},J.fn.extend({addClass:function(f){return function(h,l,m,g){return l?J.effects.animateClass.call(this,{add:h},l,m,g):f.apply(this,arguments)}}(J.fn.addClass),removeClass:function(f){return function(h,l,m,g){return arguments.length>1?J.effects.animateClass.call(this,{remove:h},l,m,g):f.apply(this,arguments)
}}(J.fn.removeClass),toggleClass:function(f){return function(h,l,p,g,m){return"boolean"==typeof l||void 0===l?p?J.effects.animateClass.call(this,l?{add:h}:{remove:h},p,g,m):f.apply(this,arguments):J.effects.animateClass.call(this,{toggle:h},l,p,g)}}(J.fn.toggleClass),switchClass:function(h,g,l,m,f){return J.effects.animateClass.call(this,{add:g,remove:h},l,m,f)}})}(),function(){function b(d,c,f,g){return J.isPlainObject(d)&&(c=d,d=d.effect),d={effect:d},null==c&&(c={}),J.isFunction(c)&&(g=c,f=null,c={}),("number"==typeof c||J.fx.speeds[c])&&(g=f,f=c,c={}),J.isFunction(f)&&(g=f,f=null),c&&J.extend(d,c),f=f||c.duration,d.duration=J.fx.off?0:"number"==typeof f?f:f in J.fx.speeds?J.fx.speeds[f]:J.fx.speeds._default,d.complete=g||c.complete,d
}function a(c){return !c||"number"==typeof c||J.fx.speeds[c]?!0:"string"!=typeof c||J.effects.effect[c]?J.isFunction(c)?!0:"object"!=typeof c||c.effect?!1:!0:!0}J.extend(J.effects,{version:"1.11.1",save:function(f,d){for(var c=0;d.length>c;c++){null!==d[c]&&f.data(j+d[c],f[0].style[d[c]])}},restore:function(g,d){var c,f;for(f=0;d.length>f;f++){null!==d[f]&&(c=g.data(j+d[f]),void 0===c&&(c=""),g.css(d[f],c))}},setMode:function(d,c){return"toggle"===c&&(c=d.is(":hidden")?"show":"hide"),c},getBaseline:function(g,d){var c,f;
switch(g[0]){case"top":c=0;break;case"middle":c=0.5;break;case"bottom":c=1;break;default:c=g[0]/d.height}switch(g[1]){case"left":f=0;break;case"center":f=0.5;break;case"right":f=1;break;default:f=g[1]/d.width}return{x:f,y:c}},createWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent()}var d={width:f.outerWidth(!0),height:f.outerHeight(!0),"float":f.css("float")},g=J("
").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),l={width:f.width(),height:f.height()},c=document.activeElement;
try{c.id}catch(h){c=document.body}return f.wrap(g),(f[0]===c||J.contains(f[0],c))&&J(c).focus(),g=f.parent(),"static"===f.css("position")?(g.css({position:"relative"}),f.css({position:"relative"})):(J.extend(d,{position:f.css("position"),zIndex:f.css("z-index")}),J.each(["top","left","bottom","right"],function(n,m){d[m]=f.css(m),isNaN(parseInt(d[m],10))&&(d[m]="auto")}),f.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),f.css(l),g.css(d).show()},removeWrapper:function(d){var c=document.activeElement;
return d.parent().is(".ui-effects-wrapper")&&(d.parent().replaceWith(d),(d[0]===c||J.contains(d[0],c))&&J(c).focus()),d},setTransition:function(d,c,f,g){return g=g||{},J.each(c,function(m,l){var h=d.cssUnit(l);h[0]>0&&(g[l]=h[0]*f+h[1])}),g}}),J.fn.extend({effect:function(){function d(o){function m(){J.isFunction(l)&&l.call(s[0]),J.isFunction(o)&&o()}var s=J(this),l=f.complete,p=f.mode;(s.is(":hidden")?"hide"===p:"show"===p)?(s[p](),m()):g.call(s[0],f,m)}var f=b.apply(this,arguments),h=f.mode,c=f.queue,g=J.effects.effect[f.effect];
return J.fx.off||!g?h?this[h](f.duration,f.complete):this.each(function(){f.complete&&f.complete.call(this)}):c===!1?this.each(d):this.queue(c||"fx",d)},show:function(c){return function(d){if(a(d)){return c.apply(this,arguments)}var f=b.apply(this,arguments);return f.mode="show",this.effect.call(this,f)}}(J.fn.show),hide:function(c){return function(d){if(a(d)){return c.apply(this,arguments)}var f=b.apply(this,arguments);return f.mode="hide",this.effect.call(this,f)}}(J.fn.hide),toggle:function(c){return function(d){if(a(d)||"boolean"==typeof d){return c.apply(this,arguments)
}var f=b.apply(this,arguments);return f.mode="toggle",this.effect.call(this,f)}}(J.fn.toggle),cssUnit:function(d){var c=this.css(d),f=[];return J.each(["em","px","%","pt"],function(h,g){c.indexOf(g)>0&&(f=[parseFloat(c),g])}),f}})}(),function(){var a={};J.each(["Quad","Cubic","Quart","Quint","Expo"],function(c,b){a[b]=function(d){return Math.pow(d,c+2)}}),J.extend(a,{Sine:function(b){return 1-Math.cos(b*Math.PI/2)},Circ:function(b){return 1-Math.sqrt(1-b*b)},Elastic:function(b){return 0===b||1===b?b:-Math.pow(2,8*(b-1))*Math.sin((80*(b-1)-7.5)*Math.PI/15)
},Back:function(b){return b*b*(3*b-2)},Bounce:function(d){for(var c,b=4;((c=Math.pow(2,--b))-1)/11>d;){}return 1/Math.pow(4,3-b)-7.5625*Math.pow((3*c-2)/22-d,2)}}),J.each(a,function(c,b){J.easing["easeIn"+c]=b,J.easing["easeOut"+c]=function(d){return 1-b(1-d)},J.easing["easeInOut"+c]=function(d){return 0.5>d?b(2*d)/2:1-b(-2*d+2)/2}})}(),J.effects,J.effects.effect.blind=function(ab,S){var ac,P,Y,O=J(this),b=/up|down|vertical/,T=/up|left|vertical|horizontal/,R=["position","top","bottom","left","right","height","width"],aa=J.effects.setMode(O,ab.mode||"hide"),W=ab.direction||"up",X=b.test(W),y=X?"height":"width",V=X?"top":"left",Q=T.test(W),U={},Z="show"===aa;
O.parent().is(".ui-effects-wrapper")?J.effects.save(O.parent(),R):J.effects.save(O,R),O.show(),ac=J.effects.createWrapper(O).css({overflow:"hidden"}),P=ac[y](),Y=parseFloat(ac.css(V))||0,U[y]=Z?P:0,Q||(O.css(X?"bottom":"right",0).css(X?"top":"left","auto").css({position:"absolute"}),U[V]=Z?Y:P+Y),Z&&(ac.css(y,0),Q||ac.css(V,Y+P)),ac.animate(U,{duration:ab.duration,easing:ab.easing,queue:!1,complete:function(){"hide"===aa&&O.hide(),J.effects.restore(O,R),J.effects.removeWrapper(O),S()}})},J.effects.effect.bounce=function(R,Z){var S,W,ag,V=J(this),T=["position","top","bottom","left","right","height","width"],aa=J.effects.setMode(V,R.mode||"effect"),Y="hide"===aa,Q="show"===aa,ad=R.direction||"up",ae=R.distance,U=R.times||5,ac=2*U+(Q||Y?1:0),X=R.duration/ac,ab=R.easing,P="up"===ad||"down"===ad?"top":"left",O="up"===ad||"left"===ad,af=V.queue(),ah=af.length;
for((Q||Y)&&T.push("opacity"),J.effects.save(V,T),V.show(),J.effects.createWrapper(V),ae||(ae=V["top"===P?"outerHeight":"outerWidth"]()/3),Q&&(ag={opacity:1},ag[P]=0,V.css("opacity",0).css(P,O?2*-ae:2*ae).animate(ag,X,ab)),Y&&(ae/=Math.pow(2,U-1)),ag={},ag[P]=0,S=0;U>S;S++){W={},W[P]=(O?"-=":"+=")+ae,V.animate(W,X,ab).animate(ag,X,ab),ae=Y?2*ae:ae/2}Y&&(W={opacity:0},W[P]=(O?"-=":"+=")+ae,V.animate(W,X,ab)),V.queue(function(){Y&&V.hide(),J.effects.restore(V,T),J.effects.removeWrapper(V),Z()}),ah>1&&af.splice.apply(af,[1,0].concat(af.splice(ah,ac+1))),V.dequeue()
},J.effects.effect.clip=function(V,O){var W,v,T,m=J(this),b=["position","top","bottom","left","right","height","width"],P=J.effects.setMode(m,V.mode||"hide"),y="show"===P,U=V.direction||"vertical",R="vertical"===U,S=R?"height":"width",g=R?"top":"left",Q={};J.effects.save(m,b),m.show(),W=J.effects.createWrapper(m).css({overflow:"hidden"}),v="IMG"===m[0].tagName?W:m,T=v[S](),y&&(v.css(S,0),v.css(g,T/2)),Q[S]=y?T:0,Q[g]=y?0:T/2,v.animate(Q,{queue:!1,duration:V.duration,easing:V.easing,complete:function(){y||m.hide(),J.effects.restore(m,b),J.effects.removeWrapper(m),O()
}})},J.effects.effect.drop=function(P,m){var Q,f=J(this),y=["position","top","bottom","left","right","opacity","height","width"],c=J.effects.setMode(f,P.mode||"hide"),b="show"===c,p=P.direction||"left",g="up"===p||"down"===p?"top":"left",O="up"===p||"left"===p?"pos":"neg",v={opacity:b?1:0};J.effects.save(f,y),f.show(),J.effects.createWrapper(f),Q=P.distance||f["top"===g?"outerHeight":"outerWidth"](!0)/2,b&&f.css("opacity",0).css(g,"pos"===O?-Q:Q),v[g]=(b?"pos"===O?"+=":"-=":"pos"===O?"-=":"+=")+Q,f.animate(v,{queue:!1,duration:P.duration,easing:P.easing,complete:function(){"hide"===c&&f.hide(),J.effects.restore(f,y),J.effects.removeWrapper(f),m()
}})},J.effects.effect.explode=function(R,Z){function S(){af.push(this),af.length===ad*ae&&W()}function W(){U.css({visibility:"visible"}),J(af).remove(),X||U.hide(),Z()}var ag,V,T,aa,Y,Q,ad=R.pieces?Math.round(Math.sqrt(R.pieces)):3,ae=ad,U=J(this),ac=J.effects.setMode(U,R.mode||"hide"),X="show"===ac,ab=U.show().css("visibility","hidden").offset(),P=Math.ceil(U.outerWidth()/ae),O=Math.ceil(U.outerHeight()/ad),af=[];for(ag=0;ad>ag;ag++){for(aa=ab.top+ag*O,Q=ag-(ad-1)/2,V=0;ae>V;V++){T=ab.left+V*P,Y=V-(ae-1)/2,U.clone().appendTo("body").wrap("
").css({position:"absolute",visibility:"visible",left:-V*P,top:-ag*O}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:P,height:O,left:T+(X?Y*P:0),top:aa+(X?Q*O:0),opacity:X?0:1}).animate({left:T+(X?0:Y*P),top:aa+(X?0:Q*O),opacity:X?1:0},R.duration||500,R.easing,S)
}}},J.effects.effect.fade=function(b,a){var c=J(this),d=J.effects.setMode(c,b.mode||"toggle");c.animate({opacity:d},{queue:!1,duration:b.duration,easing:b.easing,complete:a})},J.effects.effect.fold=function(ab,S){var ac,P,Y=J(this),O=["position","top","bottom","left","right","height","width"],b=J.effects.setMode(Y,ab.mode||"hide"),T="show"===b,R="hide"===b,aa=ab.size||15,W=/([0-9]+)%/.exec(aa),X=!!ab.horizFirst,y=T!==X,V=y?["width","height"]:["height","width"],Q=ab.duration/2,U={},Z={};J.effects.save(Y,O),Y.show(),ac=J.effects.createWrapper(Y).css({overflow:"hidden"}),P=y?[ac.width(),ac.height()]:[ac.height(),ac.width()],W&&(aa=parseInt(W[1],10)/100*P[R?0:1]),T&&ac.css(X?{height:0,width:aa}:{height:aa,width:0}),U[V[0]]=T?P[0]:aa,Z[V[1]]=T?P[1]:0,ac.animate(U,Q,ab.easing).animate(Z,Q,ab.easing,function(){R&&Y.hide(),J.effects.restore(Y,O),J.effects.removeWrapper(Y),S()
})},J.effects.effect.highlight=function(d,c){var f=J(this),h=["backgroundImage","backgroundColor","opacity"],b=J.effects.setMode(f,d.mode||"show"),g={backgroundColor:f.css("backgroundColor")};"hide"===b&&(g.opacity=0),J.effects.save(f,h),f.show().css({backgroundImage:"none",backgroundColor:d.color||"#ffff99"}).animate(g,{queue:!1,duration:d.duration,easing:d.easing,complete:function(){"hide"===b&&f.hide(),J.effects.restore(f,h),c()}})},J.effects.effect.size=function(R,Z){var S,W,ag,V=J(this),T=["position","top","bottom","left","right","width","height","overflow","opacity"],aa=["position","top","bottom","left","right","overflow","opacity"],Y=["width","height","overflow"],Q=["fontSize"],ad=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],ae=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],U=J.effects.setMode(V,R.mode||"effect"),ac=R.restore||"effect"!==U,X=R.scale||"both",ab=R.origin||["middle","center"],P=V.css("position"),O=ac?T:aa,af={height:0,width:0,outerHeight:0,outerWidth:0};
"show"===U&&V.show(),S={height:V.height(),width:V.width(),outerHeight:V.outerHeight(),outerWidth:V.outerWidth()},"toggle"===R.mode&&"show"===U?(V.from=R.to||af,V.to=R.from||S):(V.from=R.from||("show"===U?af:S),V.to=R.to||("hide"===U?af:S)),ag={from:{y:V.from.height/S.height,x:V.from.width/S.width},to:{y:V.to.height/S.height,x:V.to.width/S.width}},("box"===X||"both"===X)&&(ag.from.y!==ag.to.y&&(O=O.concat(ad),V.from=J.effects.setTransition(V,ad,ag.from.y,V.from),V.to=J.effects.setTransition(V,ad,ag.to.y,V.to)),ag.from.x!==ag.to.x&&(O=O.concat(ae),V.from=J.effects.setTransition(V,ae,ag.from.x,V.from),V.to=J.effects.setTransition(V,ae,ag.to.x,V.to))),("content"===X||"both"===X)&&ag.from.y!==ag.to.y&&(O=O.concat(Q).concat(Y),V.from=J.effects.setTransition(V,Q,ag.from.y,V.from),V.to=J.effects.setTransition(V,Q,ag.to.y,V.to)),J.effects.save(V,O),V.show(),J.effects.createWrapper(V),V.css("overflow","hidden").css(V.from),ab&&(W=J.effects.getBaseline(ab,S),V.from.top=(S.outerHeight-V.outerHeight())*W.y,V.from.left=(S.outerWidth-V.outerWidth())*W.x,V.to.top=(S.outerHeight-V.to.outerHeight)*W.y,V.to.left=(S.outerWidth-V.to.outerWidth)*W.x),V.css(V.from),("content"===X||"both"===X)&&(ad=ad.concat(["marginTop","marginBottom"]).concat(Q),ae=ae.concat(["marginLeft","marginRight"]),Y=T.concat(ad).concat(ae),V.find("*[width]").each(function(){var a=J(this),b={height:a.height(),width:a.width(),outerHeight:a.outerHeight(),outerWidth:a.outerWidth()};
ac&&J.effects.save(a,Y),a.from={height:b.height*ag.from.y,width:b.width*ag.from.x,outerHeight:b.outerHeight*ag.from.y,outerWidth:b.outerWidth*ag.from.x},a.to={height:b.height*ag.to.y,width:b.width*ag.to.x,outerHeight:b.height*ag.to.y,outerWidth:b.width*ag.to.x},ag.from.y!==ag.to.y&&(a.from=J.effects.setTransition(a,ad,ag.from.y,a.from),a.to=J.effects.setTransition(a,ad,ag.to.y,a.to)),ag.from.x!==ag.to.x&&(a.from=J.effects.setTransition(a,ae,ag.from.x,a.from),a.to=J.effects.setTransition(a,ae,ag.to.x,a.to)),a.css(a.from),a.animate(a.to,R.duration,R.easing,function(){ac&&J.effects.restore(a,Y)
})})),V.animate(V.to,{queue:!1,duration:R.duration,easing:R.easing,complete:function(){0===V.to.opacity&&V.css("opacity",V.from.opacity),"hide"===U&&V.hide(),J.effects.restore(V,O),ac||("static"===P?V.css({position:"relative",top:V.to.top,left:V.to.left}):J.each(["top","left"],function(b,a){V.css(a,function(d,c){var f=parseInt(c,10),g=b?V.to.left:V.to.top;return"auto"===c?g+"px":f+g+"px"})})),J.effects.removeWrapper(V),Z()}})},J.effects.effect.scale=function(y,g){var O=J(this),d=J.extend(!0,{},y),p=J.effects.setMode(O,y.mode||"effect"),c=parseInt(y.percent,10)||(0===parseInt(y.percent,10)?0:"hide"===p?0:100),b=y.direction||"both",m=y.origin,f={height:O.height(),width:O.width(),outerHeight:O.outerHeight(),outerWidth:O.outerWidth()},v={y:"horizontal"!==b?c/100:1,x:"vertical"!==b?c/100:1};
d.effect="size",d.queue=!1,d.complete=g,"effect"!==p&&(d.origin=m||["middle","center"],d.restore=!0),d.from=y.from||("show"===p?{height:0,width:0,outerHeight:0,outerWidth:0}:f),d.to={height:f.height*v.y,width:f.width*v.x,outerHeight:f.outerHeight*v.y,outerWidth:f.outerWidth*v.x},d.fade&&("show"===p&&(d.from.opacity=0,d.to.opacity=1),"hide"===p&&(d.from.opacity=1,d.to.opacity=0)),O.effect(d)},J.effects.effect.puff=function(d,c){var g=J(this),p=J.effects.setMode(g,d.mode||"hide"),b="hide"===p,m=parseInt(d.percent,10)||150,l=m/100,f={height:g.height(),width:g.width(),outerHeight:g.outerHeight(),outerWidth:g.outerWidth()};
J.extend(d,{effect:"scale",queue:!1,fade:!0,mode:p,complete:c,percent:b?m:100,from:b?f:{height:f.height*l,width:f.width*l,outerHeight:f.outerHeight*l,outerWidth:f.outerWidth*l}}),g.effect(d)},J.effects.effect.pulsate=function(T,y){var U,m=J(this),R=J.effects.setMode(m,T.mode||"show"),g="show"===R,b="hide"===R,O=g||"hide"===R,v=2*(T.times||5)+(O?1:0),S=T.duration/v,P=0,Q=m.queue(),f=Q.length;for((g||!m.is(":visible"))&&(m.css("opacity",0).show(),P=1),U=1;v>U;U++){m.animate({opacity:P},S,T.easing),P=1-P
}m.animate({opacity:P},S,T.easing),m.queue(function(){b&&m.hide(),y()}),f>1&&Q.splice.apply(Q,[1,0].concat(Q.splice(f,v+1))),m.dequeue()},J.effects.effect.shake=function(Q,Y){var R,V=J(this),ae=["position","top","bottom","left","right","height","width"],U=J.effects.setMode(V,Q.mode||"effect"),S=Q.direction||"left",Z=Q.distance||20,X=Q.times||3,P=2*X+1,ac=Math.round(Q.duration/P),ad="up"===S||"down"===S?"top":"left",T="up"===S||"left"===S,ab={},W={},aa={},O=V.queue(),b=O.length;for(J.effects.save(V,ae),V.show(),J.effects.createWrapper(V),ab[ad]=(T?"-=":"+=")+Z,W[ad]=(T?"+=":"-=")+2*Z,aa[ad]=(T?"-=":"+=")+2*Z,V.animate(ab,ac,Q.easing),R=1;
X>R;R++){V.animate(W,ac,Q.easing).animate(aa,ac,Q.easing)}V.animate(W,ac,Q.easing).animate(ab,ac/2,Q.easing).queue(function(){"hide"===U&&V.hide(),J.effects.restore(V,ae),J.effects.removeWrapper(V),Y()}),b>1&&O.splice.apply(O,[1,0].concat(O.splice(b,P+1))),V.dequeue()},J.effects.effect.slide=function(P,m){var Q,f=J(this),y=["position","top","bottom","left","right","width","height"],c=J.effects.setMode(f,P.mode||"show"),b="show"===c,p=P.direction||"left",g="up"===p||"down"===p?"top":"left",O="up"===p||"left"===p,v={};
J.effects.save(f,y),f.show(),Q=P.distance||f["top"===g?"outerHeight":"outerWidth"](!0),J.effects.createWrapper(f).css({overflow:"hidden"}),b&&f.css(g,O?isNaN(Q)?"-"+Q:-Q:Q),v[g]=(b?O?"+=":"-=":O?"-=":"+=")+Q,f.animate(v,{queue:!1,duration:P.duration,easing:P.easing,complete:function(){"hide"===c&&f.hide(),J.effects.restore(f,y),J.effects.removeWrapper(f),m()}})},J.effects.effect.transfer=function(R,p){var S=J(this),g=J(R.to),P="fixed"===g.css("position"),f=J("body"),b=P?f.scrollTop():0,v=P?f.scrollLeft():0,m=g.offset(),Q={top:m.top-b,left:m.left-v,height:g.innerHeight(),width:g.innerWidth()},y=S.offset(),O=J("
").appendTo(document.body).addClass(R.className).css({top:y.top-b,left:y.left-v,height:S.innerHeight(),width:S.innerWidth(),position:P?"fixed":"absolute"}).animate(Q,R.duration,R.easing,function(){O.remove(),p()
})},J.widget("ui.progressbar",{version:"1.11.1",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=J("").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()
},value:function(a){return void 0===a?this.options.value:(this.options.value=this._constrainedValue(a),this._refreshValue(),void 0)},_constrainedValue:function(a){return void 0===a&&(a=this.options.value),this.indeterminate=a===!1,"number"!=typeof a&&(a=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,a))},_setOptions:function(b){var a=b.value;delete b.value,this._super(b),this.options.value=this._constrainedValue(a),this._refreshValue()},_setOption:function(b,a){"max"===b&&(a=Math.max(this.min,a)),"disabled"===b&&this.element.toggleClass("ui-state-disabled",!!a).attr("aria-disabled",a),this._super(b,a)
},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var b=this.options.value,a=this._percentage();this.valueDiv.toggle(this.indeterminate||b>this.min).toggleClass("ui-corner-right",b===this.options.max).width(a.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=J("
").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":b}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==b&&(this.oldValue=b,this._trigger("change")),b===this.options.max&&this._trigger("complete")
}}),J.widget("ui.selectable",J.ui.mouse,{version:"1.11.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var b,a=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){b=J(a.options.filter,a.element[0]),b.addClass("ui-selectee"),b.each(function(){var d=J(this),c=d.offset();J.data(this,"selectable-item",{element:this,$element:d,left:c.left,top:c.top,right:c.left+d.outerWidth(),bottom:c.top+d.outerHeight(),startselected:!1,selected:d.hasClass("ui-selected"),selecting:d.hasClass("ui-selecting"),unselecting:d.hasClass("ui-unselecting")})
})},this.refresh(),this.selectees=b.addClass("ui-selectee"),this._mouseInit(),this.helper=J("
")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(b){var a=this,c=this.options;this.opos=[b.pageX,b.pageY],this.options.disabled||(this.selectees=J(c.filter,this.element[0]),this._trigger("start",b),J(c.appendTo).append(this.helper),this.helper.css({left:b.pageX,top:b.pageY,width:0,height:0}),c.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var d=J.data(this,"selectable-item");
d.startselected=!0,b.metaKey||b.ctrlKey||(d.$element.removeClass("ui-selected"),d.selected=!1,d.$element.addClass("ui-unselecting"),d.unselecting=!0,a._trigger("unselecting",b,{unselecting:d.element}))}),J(b.target).parents().addBack().each(function(){var d,f=J.data(this,"selectable-item");return f?(d=!b.metaKey&&!b.ctrlKey||!f.$element.hasClass("ui-selected"),f.$element.removeClass(d?"ui-unselecting":"ui-selected").addClass(d?"ui-selecting":"ui-unselecting"),f.unselecting=!d,f.selecting=d,f.selected=d,d?a._trigger("selecting",b,{selecting:f.element}):a._trigger("unselecting",b,{unselecting:f.element}),!1):void 0
}))},_mouseDrag:function(d){if(this.dragged=!0,!this.options.disabled){var c,g=this,p=this.options,b=this.opos[0],m=this.opos[1],l=d.pageX,f=d.pageY;return b>l&&(c=l,l=b,b=c),m>f&&(c=f,f=m,m=c),this.helper.css({left:b,top:m,width:l-b,height:f-m}),this.selectees.each(function(){var h=J.data(this,"selectable-item"),a=!1;h&&h.element!==g.element[0]&&("touch"===p.tolerance?a=!(h.left>l||b>h.right||h.top>f||m>h.bottom):"fit"===p.tolerance&&(a=h.left>b&&l>h.right&&h.top>m&&f>h.bottom),a?(h.selected&&(h.$element.removeClass("ui-selected"),h.selected=!1),h.unselecting&&(h.$element.removeClass("ui-unselecting"),h.unselecting=!1),h.selecting||(h.$element.addClass("ui-selecting"),h.selecting=!0,g._trigger("selecting",d,{selecting:h.element}))):(h.selecting&&((d.metaKey||d.ctrlKey)&&h.startselected?(h.$element.removeClass("ui-selecting"),h.selecting=!1,h.$element.addClass("ui-selected"),h.selected=!0):(h.$element.removeClass("ui-selecting"),h.selecting=!1,h.startselected&&(h.$element.addClass("ui-unselecting"),h.unselecting=!0),g._trigger("unselecting",d,{unselecting:h.element}))),h.selected&&(d.metaKey||d.ctrlKey||h.startselected||(h.$element.removeClass("ui-selected"),h.selected=!1,h.$element.addClass("ui-unselecting"),h.unselecting=!0,g._trigger("unselecting",d,{unselecting:h.element})))))
}),!1}},_mouseStop:function(b){var a=this;return this.dragged=!1,J(".ui-unselecting",this.element[0]).each(function(){var c=J.data(this,"selectable-item");c.$element.removeClass("ui-unselecting"),c.unselecting=!1,c.startselected=!1,a._trigger("unselected",b,{unselected:c.element})}),J(".ui-selecting",this.element[0]).each(function(){var c=J.data(this,"selectable-item");c.$element.removeClass("ui-selecting").addClass("ui-selected"),c.selecting=!1,c.selected=!0,c.startselected=!0,a._trigger("selected",b,{selected:c.element})
}),this._trigger("stop",b),this.helper.remove(),!1}}),J.widget("ui.selectmenu",{version:"1.11.1",defaultElement:"