function _typeof(t){return(_typeof="function"==typeof symbol&&"symbol"==typeof symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof symbol&&t.constructor===symbol&&t!==symbol.prototype?"symbol":typeof t})(t)}!function(r,l){function s(t,e){var i=t.nodename.tolowercase();if("area"!==i)return(/input|select|textarea|button|object/.test(i)?!t.disabled:"a"==i&&t.href||e)&&n(t);i=t.parentnode,e=i.name;return!(!t.href||!e||"map"!==i.nodename.tolowercase())&&(!!(e=r("img[usemap=#"+e+"]")[0])&&n(e))}function n(t){return!r(t).parents().andself().filter(function(){return"hidden"===r.curcss(this,"visibility")||r.expr.filters.hidden(this)}).length}r.ui=r.ui||{},r.ui.version||(r.extend(r.ui,{version:"@version",keycode:{alt:18,backspace:8,caps_lock:20,comma:188,command:91,command_left:91,command_right:93,control:17,delete:46,down:40,end:35,enter:13,escape:27,home:36,insert:45,left:37,menu:93,numpad_add:107,numpad_decimal:110,numpad_divide:111,numpad_enter:108,numpad_multiply:106,numpad_subtract:109,page_down:34,page_up:33,period:190,right:39,shift:16,space:32,tab:9,up:38,windows:91}}),r.fn.extend({propattr:r.fn.prop||r.fn.attr,_focus:r.fn.focus,focus:function t(e,i){return"number"==typeof e?this.each(function(){var t=this;settimeout(function(){r(t).focus(),i&&i.call(t)},e)}):this._focus.apply(this,arguments)},scrollparent:function e(){var e;return e=(r.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(r.css(this,"position"))&&/(auto|scroll)/.test(r.css(this,"overflow")+r.css(this,"overflow-y")+r.css(this,"overflow-x"))}):this.parents().filter(function(){return/(auto|scroll)/.test(r.css(this,"overflow")+r.css(this,"overflow-y")+r.css(this,"overflow-x"))})).eq(0),/fixed/.test(this.css("position"))||!e.length?r(document):e},zindex:function a(t){if(t!==l)return this.css("zindex",t);if(this.length)for(var e,i,s=r(this[0]);s.length&&s[0]!==document;){if(("absolute"===(e=s.css("position"))||"relative"===e||"fixed"===e)&&(i=parseint(s.css("zindex"),10),!isnan(i)&&0!==i))return i;s=s.parent()}return 0},disableselection:function i(){return this.bind((r.support.selectstart?"selectstart":"mousedown")+".ui-disableselection",function(t){t.preventdefault()})},enableselection:function o(){return this.unbind(".ui-disableselection")}}),r("").outerwidth(1).jquery||r.each(["width","height"],function(t,i){var n="width"===i?["left","right"]:["top","bottom"],s=i.tolowercase(),a={innerwidth:r.fn.innerwidth,innerheight:r.fn.innerheight,outerwidth:r.fn.outerwidth,outerheight:r.fn.outerheight};function o(t,e,i,s){return r.each(n,function(){e-=parsefloat(r.curcss(t,"padding"+this,!0))||0,i&&(e-=parsefloat(r.curcss(t,"border"+this+"width",!0))||0),s&&(e-=parsefloat(r.curcss(t,"margin"+this,!0))||0)}),e}r.fn["inner"+i]=function(t){return t===l?a["inner"+i].call(this):this.each(function(){r(this).css(s,o(this,t)+"px")})},r.fn["outer"+i]=function(t,e){return"number"!=typeof t?a["outer"+i].call(this,t):this.each(function(){r(this).css(s,o(this,t,!0,e)+"px")})}}),r.extend(r.expr[":"],{data:r.expr.createpseudo?r.expr.createpseudo(function(e){return function(t){return!!r.data(t,e)}}):function(t,e,i){return!!r.data(t,i[3])},focusable:function h(t){return s(t,!isnan(r.attr(t,"tabindex")))},tabbable:function c(t){var e=r.attr(t,"tabindex"),i=isnan(e);return(i||0<=e)&&s(t,!i)}}),r(function(){var t=document.body,e=t.appendchild(e=document.createelement("div"));e.offsetheight,r.extend(e.style,{minheight:"100px",height:"auto",padding:0,borderwidth:0}),r.support.minheight=100===e.offsetheight,r.support.selectstart="onselectstart"in e,t.removechild(e).style.display="none"}),r.curcss||(r.curcss=r.css),r.extend(r.ui,{plugin:{add:function d(t,e,i){var s,n=r.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function u(t,e,i){var s=t.plugins[e];if(s&&t.element[0].parentnode)for(var n=0;n=this.options.distance},_mousedelaymet:function l(t){return this.mousedelaymet},_mousestart:function h(t){},_mousedrag:function c(t){},_mousestop:function d(t){},_mousecapture:function u(t){return!0}})}(jquery),function(y){y.widget("ui.sortable",y.ui.mouse,{widgeteventprefix:"sort",ready:!1,options:{appendto:"parent",axis:!1,connectwith:!1,containment:!1,cursor:"auto",cursorat:!1,droponempty:!0,forceplaceholdersize:!1,forcehelpersize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollsensitivity:20,scrollspeed:20,scope:"default",tolerance:"intersect",zindex:1e3,scrollparent:"default",smarttolerance:2},_create:function e(){var t=this.options;this.containercache={},this.element.addclass("ui-sortable"),this.refresh(),this.floating=!!this.items.length&&("x"===t.axis||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display"))),this.offset=this.element.offset(),this._mouseinit(),this.ready=!0},destroy:function i(){y.widget.prototype.destroy.call(this),this.element.removeclass("ui-sortable ui-sortable-disabled"),this._mousedestroy();for(var t=this.items.length-1;0<=t;t--)this.items[t].item.removedata(this.widgetname+"-item");return this},_setoption:function s(t,e){"disabled"===t?(this.options[t]=e,this.widget()[e?"addclass":"removeclass"]("ui-sortable-disabled")):y.widget.prototype._setoption.apply(this,arguments)},_mousecapture:function o(t,e){var i=this;if(this.reverting)return!1;if(this.options.disabled||"static"==this.options.type)return!1;if(t.ctrlkey)return!1;this._refreshitems(t);var s=null,n=this;y(t.target).parents().each(function(){if(y.data(this,i.widgetname+"-item")==n)return s=y(this),!1});if(!(s=y.data(t.target,i.widgetname+"-item")==n?y(t.target):s))return!1;if(this.options.handle&&!e){var a=!1;if(y(this.options.handle,s).find("*").andself().each(function(){this==t.target&&(a=!0)}),!a)return!1}return this.currentitem=s,this._removecurrentsfromitems(),!0},_mousestart:function r(t,e,i){var s=this.options,n=this;if((this.currentcontainer=this)._trigger("beforestart",t,this._uihash()),this._refreshitems(t),this.refreshpositions(),this.helper=this._createhelper(t),this._cachehelperproportions(),this._cachemargins(),this.scrollparent=this._getscrollparent(),this.offset=this.currentitem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},y.extend(this.offset,{click:{left:t.pagex-this.offset.left,top:t.pagey-this.offset.top},parent:this._getparentoffset(),relative:this._getrelativeoffset()}),this.helper.css("position","absolute"),this.cssposition=this.helper.css("position"),this.originalposition=this._generateposition(t),this.originalpagex=t.pagex,this.originalpagey=t.pagey,s.cursorat&&this._adjustoffsetfromhelper(s.cursorat),this.domposition={prev:this.currentitem.prev()[0],parent:this.currentitem.parent()[0]},this.helper[0]!=this.currentitem[0]&&this.currentitem.hide(),this._createplaceholder(),s.containment&&this._setcontainment(),s.cursor&&(y("body").css("cursor")&&(this._storedcursor=y("body").css("cursor")),y("body").css("cursor",s.cursor)),s.opacity&&(this.helper.css("opacity")&&(this._storedopacity=this.helper.css("opacity")),this.helper.css("opacity",s.opacity)),s.zindex&&(this.helper.css("zindex")&&(this._storedzindex=this.helper.css("zindex")),this.helper.css("zindex",s.zindex)),this.scrollparent[0]!=document&&"html"!=this.scrollparent[0].tagname&&(this.overflowoffset=this.scrollparent.offset()),this._trigger("start",t,this._uihash()),this._preservehelperproportions||this._cachehelperproportions(),!i)for(var a=this.containers.length-1;0<=a;a--)this.containers[a]._trigger("activate",t,n._uihash(this));return y.ui.ddmanager&&(y.ui.ddmanager.current=this),y.ui.ddmanager&&!s.dropbehaviour&&y.ui.ddmanager.prepareoffsets(this,t),this.dragging=!0,this.helper.addclass("ui-sortable-helper"),this._mousedrag(t),!0},_mousedrag:function l(t){var e,i;this.position=this._generateposition(t),this.positionabs=this._convertpositionto("absolute"),this.lastpositionabs||(this.lastpositionabs=this.positionabs),this.options.scroll&&(e=this.options,i=!1,this.scrollparent[0]!=document&&"html"!=this.scrollparent[0].tagname?(this.overflowoffset.top+this.scrollparent[0].offsetheight-t.pageyt[this.floating?"width":"height"]?c:athis.items[l].item.offset().left+this.items[l].item.outerwidth()||t.pageythis.items[l].item.offset().top+this.items[l].item.outerheight()||this.currentitem[0]!=this.items[l].item[0]&&(n=this.containers[i].floating?this.items[l].item.offset().left:this.items[l].item.offset().top,math.abs(n-r)this.containment[2]&&(n=this.containment[2]+this.offset.click.left),t.pagey-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),e.grid&&(t=this.originalpagey+math.round((a-this.originalpagey)/e.grid[1])*e.grid[1],a=this.containment&&(t-this.offset.click.topthis.containment[3])?t-this.offset.click.topthis.containment[2])?t-this.offset.click.left=o+y(window).scrolltop()||a<=y(window).scrolltop()||e>=r+y(window).scrollleft()||t<=y(window).scrollleft()||void c.elements.push({item:this,width:s,height:i,top:n,left:e}))}),c.elements.push({item:window,width:y(window).width(),height:y(window).height(),top:y(".floatlefttop")[0].getboundingclientrect().top,left:0}),c.elements.sort(function(t,e){return(t=y(t.item).hasclass("line")?0:1)-(e=y(e.item).hasclass("line")?0:1)})}c.elements=[],c.guideselements=[],fai.top.$(window).off("scroll.sort").on("scroll.sort",function(){i()}),i()},stop:function e(){y("#absaligntop, #absalignright, #absalignbottom, #absalignleft, #absalignlevel, #absalignvertical").hide(),y(window).off("scroll.sort")},sort:function u(t,t){var c=y(this).data("sortable"),e=c.options,i=e.smarttolerance;e.scale;y("#absaligntop, #absalignright, #absalignbottom, #absalignleft, #absalignlevel, #absalignvertical").hide();var s=t.helper.is(":visible")?t.helper[0]:null;if(s){for(var e=s.getboundingclientrect(),s=fai.isie8(),n=t.offset.left+c.margins.left,s=s?e.right-e.left:e.width,a=n+s,o=(n+a)/2,r=t.offset.top+c.margins.top,m=s?e.bottom-e.top:e.height,l=r+m,h=(r+l)/2,i=[r,l],p=[r,l],z=[r,l],o=[n,a],a=[n,a],l=[n,a],n=0,h=0,f=0,w=0,e=0,r=0,j=!1,y=!1,b=!1,$=!1,q=!1,k=!1,c=c.elements.length-1;0<=c;c--){var d=c.elements[c],u=d.left,p=u+d.width,f=d.top,m=f+d.height,g=(f+m)/2,v=(u+p)/2;w({l:u,r:p,t:f,b:m,level:g,vertical:v,ls:math.abs(u-n)<=i,ls2:math.abs(u-a)<=i,ls3:math.abs(u-o)<=i,rs:math.abs(p-n)<=i,rs2:math.abs(p-a)<=i,rs3:math.abs(p-o)<=i,ts:math.abs(f-r)<=i,ts2:math.abs(f-l)<=i,ts3:math.abs(f-h)<=i,bs:math.abs(m-r)<=i,bs2:math.abs(m-l)<=i,bs3:math.abs(m-h)<=i,levels:math.abs(g-r)<=i,levels2:math.abs(g-l)<=i,levels3:math.abs(g-h)<=i,verticals:math.abs(v-n)<=i,verticals2:math.abs(v-a)<=i,verticals3:math.abs(v-o)<=i,isauxline:y(d.item).hasclass("line")})}var e=site.absalignline.commfunc,_=y(window).scrolltop(),b=y(window).scrollleft();2').css({width:this.offsetwidth+"px",height:this.offsetheight+"px",position:"absolute",opacity:"0.001",zindex:1e3}).css(y(this).offset()).appendto("body")}),!0)))},_mousestart:function s(t){var e=this.options;return this.helper=this._createhelper(t),this.helper.addclass("ui-draggable-dragging"),this._cachehelperproportions(),this._trigger("beforestart",t,this._uihash()),y.ui.ddmanager&&(y.ui.ddmanager.current=this),this._cachemargins(),this.cssposition=this.helper.css("position"),this.scrollparent=this.helper.scrollparent(),this.offset=this.positionabs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},y.extend(this.offset,{click:{left:t.pagex-this.offset.left,top:t.pagey-this.offset.top},parent:this._getparentoffset(),relative:this._getrelativeoffset()}),this.originalposition=this.position=this._generateposition(t),this.originalpagex=t.pagex,this.originalpagey=t.pagey,e.cursorat&&this._adjustoffsetfromhelper(e.cursorat),e.containment&&this._setcontainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cachehelperproportions(),y.ui.ddmanager&&!e.dropbehaviour&&y.ui.ddmanager.prepareoffsets(this,t),this._mousedrag(t,!0),y.ui.ddmanager&&y.ui.ddmanager.dragstart(this,t),!0)},_mousedrag:function a(t,e){if(this.position=this._generateposition(t),this.positionabs=this._convertpositionto("absolute"),!e){e=this._uihash();if(!1===this._trigger("drag",t,e))return this._mouseup({}),!1;this.position=e.position}return this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px"),y.ui.ddmanager&&y.ui.ddmanager.drag(this,t),!1},_mousestop:function o(t){var e=!1;y.ui.ddmanager&&!this.options.dropbehaviour&&(e=y.ui.ddmanager.drop(this,t)),this.dropped&&(e=this.dropped,this.dropped=!1);for(var i,s=this.element[0],n=!1;s=s&&s.parentnode;)s==document&&(n=!0);return(n||"original"!==this.options.helper)&&("invalid"==this.options.revert&&!e||"valid"==this.options.revert&&e||!0===this.options.revert||y.isfunction(this.options.revert)&&this.options.revert.call(this.element,e)?y((i=this).helper).animate(this.originalposition,parseint(this.options.revertduration,10),function(){!1!==i._trigger("stop",t)&&i._clear()}):!1!==this._trigger("stop",t)&&this._clear()),!1},_mouseup:function r(t){return y("div.ui-draggable-iframefix").each(function(){this.parentnode.removechild(this)}),y.ui.ddmanager&&y.ui.ddmanager.dragstop(this,t),y.ui.mouse.prototype._mouseup.call(this,t)},cancel:function l(){return this.helper.is(".ui-draggable-dragging")?this._mouseup({}):this._clear(),this},_gethandle:function h(t){var e=!this.options.handle||!y(this.options.handle,this.element).length;return y(this.options.handle,this.element).find("*").andself().each(function(){this==t.target&&(e=!0)}),e},_createhelper:function c(t){var e=this.options,t=y.isfunction(e.helper)?y(e.helper.apply(this.element[0],[t])):"clone"==e.helper?this.element.clone().removeattr("id"):this.element;return t.parents("body").length||t.appendto("parent"==e.appendto?this.element[0].parentnode:e.appendto),t[0]==this.element[0]||/(fixed|absolute)/.test(t.css("position"))||t.css("position","absolute"),t},_adjustoffsetfromhelper:function d(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=y.isarray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperproportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperproportions.height-t.bottom+this.margins.top)},_getparentoffset:function u(){this.offsetparent=this.helper.offsetparent();var t=this.offsetparent.offset();return"absolute"==this.cssposition&&this.scrollparent[0]!=document&&y.ui.contains(this.scrollparent[0],this.offsetparent[0])&&(t.left+=this.scrollparent.scrollleft(),t.top+=this.scrollparent.scrolltop()),{top:(t=this.offsetparent[0]==document.body||this.offsetparent[0].tagname&&"html"==this.offsetparent[0].tagname.tolowercase()&&y.browser.msie?{top:0,left:0}:t).top+(parseint(this.offsetparent.css("bordertopwidth"),10)||0),left:t.left+(parseint(this.offsetparent.css("borderleftwidth"),10)||0)}},_getrelativeoffset:function p(){if("relative"!=this.cssposition)return{top:0,left:0};var t=this.element.position();return{top:t.top-(parseint(this.helper.css("top"),10)||0)+this.scrollparent.scrolltop(),left:t.left-(parseint(this.helper.css("left"),10)||0)+this.scrollparent.scrollleft()}},_cachemargins:function f(){this.margins={left:parseint(this.element.css("marginleft"),10)||0,top:parseint(this.element.css("margintop"),10)||0,right:parseint(this.element.css("marginright"),10)||0,bottom:parseint(this.element.css("marginbottom"),10)||0}},_cachehelperproportions:function m(){this.helperproportions={width:this.helper.outerwidth(),height:this.helper.outerheight()}},_setcontainment:function g(){var t,e,i=this.options;"parent"==i.containment&&(i.containment=this.helper[0].parentnode),"document"!=i.containment&&"window"!=i.containment||(this.containment=["document"==i.containment?0:y(window).scrollleft()-this.offset.relative.left-this.offset.parent.left,"document"==i.containment?0:y(window).scrolltop()-this.offset.relative.top-this.offset.parent.top,("document"==i.containment?0:y(window).scrollleft())+y("document"==i.containment?document:window).width()-this.helperproportions.width-this.margins.left,("document"==i.containment?0:y(window).scrolltop())+(y("document"==i.containment?document:window).height()||document.body.parentnode.scrollheight)-this.helperproportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||i.containment.constructor==array?i.containment.constructor==array&&(this.containment=i.containment):(e=(t=y(i.containment))[0])&&(t.offset(),i="hidden"!=y(e).css("overflow"),this.containment=[(parseint(y(e).css("borderleftwidth"),10)||0)+(parseint(y(e).css("paddingleft"),10)||0),(parseint(y(e).css("bordertopwidth"),10)||0)+(parseint(y(e).css("paddingtop"),10)||0),(i?math.max(e.scrollwidth,e.offsetwidth):e.offsetwidth)-(parseint(y(e).css("borderleftwidth"),10)||0)-(parseint(y(e).css("paddingright"),10)||0)-this.helperproportions.width-this.margins.left-this.margins.right,(i?math.max(e.scrollheight,e.offsetheight):e.offsetheight)-(parseint(y(e).css("bordertopwidth"),10)||0)-(parseint(y(e).css("paddingbottom"),10)||0)-this.helperproportions.height-this.margins.top-this.margins.bottom],this.relative_container=t)},_convertpositionto:function v(t,e){e=e||this.position;var i="absolute"==t?1:-1,s=(this.options,"absolute"!=this.cssposition||this.scrollparent[0]!=document&&y.ui.contains(this.scrollparent[0],this.offsetparent[0])?this.scrollparent:this.offsetparent),t=/(html|body)/i.test(s[0].tagname);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-(y.browser.safari&&y.browser.version<526&&"fixed"==this.cssposition?0:("fixed"==this.cssposition?-this.scrollparent.scrolltop():t?0:s.scrolltop())*i),left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-(y.browser.safari&&y.browser.version<526&&"fixed"==this.cssposition?0:("fixed"==this.cssposition?-this.scrollparent.scrollleft():t?0:s.scrollleft())*i)}},_generateposition:function _(t){var e,i=this.options,s="absolute"!=this.cssposition||this.scrollparent[0]!=document&&y.ui.contains(this.scrollparent[0],this.offsetparent[0])?this.scrollparent:this.offsetparent,n=/(html|body)/i.test(s[0].tagname),a=t.pagex,o=t.pagey;return this.originalposition&&(this.containment&&(e=this.relative_container?(e=this.relative_container.offset(),[this.containment[0]+e.left,this.containment[1]+e.top,this.containment[2]+e.left,this.containment[3]+e.top]):this.containment,t.pagex-this.offset.click.lefte[2]&&(a=e[2]+this.offset.click.left),t.pagey-this.offset.click.top>e[3]&&(o=e[3]+this.offset.click.top)),i.grid&&(t=i.grid[1]?this.originalpagey+math.round((o-this.originalpagey)/i.grid[1])*i.grid[1]:this.originalpagey,o=e&&(t-this.offset.click.tope[3])?t-this.offset.click.tope[2])?t-this.offset.click.left=o+y(window).scrolltop()||a<=y(window).scrolltop()||e>=r+y(window).scrollleft()||t<=y(window).scrollleft()||void(this!=c.element[0]&&c.elements.push({item:this,width:s,height:i,top:n,left:e})))}),c.elements.push({item:window,width:y(window).width(),height:y(window).height(),top:y(".floatlefttop")[0].getboundingclientrect().top,left:0}),c.elements.sort(function(t,e){return(t=y(t.item).hasclass("line")?0:1)-(e=y(e.item).hasclass("line")?0:1)})}c.elements=[],c.guideselements=[],fai.top.$(window).off("scroll.drag").on("scroll.drag",function(){i()}),i()},stop:function d(){y("#absaligntop, #absalignright, #absalignbottom, #absalignleft, #absalignlevel, #absalignvertical").hide(),y(window).off("scroll.drag")},drag:function u(t,t){var c=y(this).data("draggable"),e=c.options,i=e.tolerance||2;e.scale;y("#absaligntop, #absalignright, #absalignbottom, #absalignleft, #absalignlevel, #absalignvertical").hide();for(var s=this[0].getboundingclientrect(),e=fai.isie8(),n=t.offset.left+c.margins.left,s=e?s.right-s.left:s.width,a=n+s,o=(n+a)/2,r=t.offset.top+c.margins.top,m=e?s.bottom-s.top:s.height,l=r+m,h=(r+l)/2,i=[r,l],p=[r,l],z=[r,l],o=[n,a],a=[n,a],l=[n,a],n=0,h=0,f=0,w=0,e=0,r=0,j=!1,y=!1,b=!1,$=!1,q=!1,k=!1,c=c.elements.length-1;0<=c;c--){var d=c.elements[c],u=d.left,p=u+d.width,f=d.top,m=f+d.height,g=(f+m)/2,v=(u+p)/2;_({l:u,r:p,t:f,b:m,level:g,vertical:v,ls:math.abs(u-n)<=i,ls2:math.abs(u-a)<=i,ls3:math.abs(u-o)<=i,rs:math.abs(p-n)<=i,rs2:math.abs(p-a)<=i,rs3:math.abs(p-o)<=i,ts:math.abs(f-r)<=i,ts2:math.abs(f-l)<=i,ts3:math.abs(f-h)<=i,bs:math.abs(m-r)<=i,bs2:math.abs(m-l)<=i,bs3:math.abs(m-h)<=i,levels:math.abs(g-r)<=i,levels2:math.abs(g-l)<=i,levels3:math.abs(g-h)<=i,verticals:math.abs(v-n)<=i,verticals2:math.abs(v-a)<=i,verticals3:math.abs(v-o)<=i,isauxline:y(d.item).hasclass("line")})}function _(t){t.type;var e=t.l,i=t.r,s=t.t,n=t.b,a=t.level,o=t.vertical,r=t.ls,l=t.ls2,h=t.ls3,c=t.rs,d=t.rs2,u=t.rs3,p=t.ts,f=t.ts2,m=t.ts3,g=t.bs,v=t.bs2,_=t.bs3,b=t.levels,w=t.levels2,y=t.levels3,k=t.verticals,x=t.verticals2,d=t.verticals3,t=t.isauxline;r&&(t.position.left=c._convertpositionto("relative",{top:0,left:e}).left-c.margins.left,i.push(s,n),e=e,q=t),l&&(t.position.left=c._convertpositionto("relative",{top:0,left:e-s}).left-c.margins.left,p.push(s,n),h=e,y=t),h&&(t.position.left=c._convertpositionto("relative",{top:0,left:e-s/2}).left-c.margins.left,z.push(s,n),r=e,k=t),c&&(t.position.left=c._convertpositionto("relative",{top:0,left:i}).left-c.margins.left,i.push(s,n),e=i,q=t),d&&(t.position.left=c._convertpositionto("relative",{top:0,left:i-s}).left-c.margins.left,p.push(s,n),h=i,y=t),u&&(t.position.left=c._convertpositionto("relative",{top:0,left:i-s/2}).left-c.margins.left,z.push(s,n),r=i,k=t),k&&(t.position.left=c._convertpositionto("relative",{top:0,left:o}).left-c.margins.left,i.push(s,n),e=o,q=t),x&&(t.position.left=c._convertpositionto("relative",{top:0,left:o-s}).left-c.margins.left,p.push(s,n),h=o,y=t),d&&(t.position.left=c._convertpositionto("relative",{top:0,left:o-s/2}).left-c.margins.left,z.push(s,n),r=o,k=t),p&&(t.position.top=c._convertpositionto("relative",{top:s,left:0}).top-c.margins.top,o.push(e,i),n=s,j=t),f&&(t.position.top=c._convertpositionto("relative",{top:s-m,left:0}).top-c.margins.top,a.push(e,i),w=s,$=t),m&&(t.position.top=c._convertpositionto("relative",{top:s-m/2,left:0}).top-c.margins.top,l.push(e,i),f=s,b=t),g&&(t.position.top=c._convertpositionto("relative",{top:n,left:0}).top-c.margins.top,o.push(e,i),n=n,j=t),v&&(t.position.top=c._convertpositionto("relative",{top:n-m,left:0}).top-c.margins.top,a.push(e,i),w=n,$=t),_&&(t.position.top=c._convertpositionto("relative",{top:n-m/2,left:0}).top-c.margins.top,l.push(e,i),f=n,b=t),b&&(t.position.top=c._convertpositionto("relative",{top:a,left:0}).top-c.margins.top,o.push(e,i),n=a,j=t),w&&(t.position.top=c._convertpositionto("relative",{top:a-m,left:0}).top-c.margins.top,a.push(e,i),w=a,$=t),y&&(t.position.top=c._convertpositionto("relative",{top:a-m/2,left:0}).top-c.margins.top,l.push(e,i),f=a,b=t)}var s=site.absalignline.commfunc,b=y(window).scrolltop(),w=y(window).scrollleft();2").addclass("ui-autocomplete site-ui-autocomplete").appendto(l(this.options.appendto||"body",a)[0]).mousedown(function(t){var e=n.menu.element[0];l(t.target).closest(".ui-menu-item").length||settimeout(function(){l(document).one("mousedown",function(t){t.target===n.element[0]||t.target===e||l.ui.contains(e,t.target)||n.close()})},1),settimeout(function(){cleartimeout(n.closing)},13)}).menu({focus:function s(t,e){e=e.item.data("item.autocomplete");!1!==n._trigger("focus",t,{item:e})&&/^key/.test(t.originalevent.type)&&n.element.val(e.value)},selected:function o(t,e){var i=e.item.data("item.autocomplete"),s=n.previous;n.element[0]!==a.activeelement&&(n.element.focus(),n.previous=s,settimeout(function(){n.previous=s,n.selecteditem=i},1)),!1!==n._trigger("select",t,{item:i})&&n.element.val(i.value),n.term=n.element.val(),n.close(t),n.selecteditem=i},blur:function r(t,e){n.menu.element.is(":visible")&&n.element.val()!==n.term&&n.element.val(n.term)}}).zindex(this.element.zindex()+1).css({top:0,left:0}).hide().data("menu"),l.fn.bgiframe&&this.menu.element.bgiframe(),n.beforeunloadhandler=function(){n.element.removeattr("autocomplete")},l(window).bind("beforeunload",n.beforeunloadhandler)},destroy:function e(){this.element.removeclass("ui-autocomplete-input").removeattr("autocomplete").removeattr("role").removeattr("aria-autocomplete").removeattr("aria-haspopup"),this.menu.element.remove(),l(window).unbind("beforeunload",this.beforeunloadhandler),l.widget.prototype.destroy.call(this)},_setoption:function i(t,e){l.widget.prototype._setoption.apply(this,arguments),"source"===t&&this._initsource(),"appendto"===t&&this.menu.element.appendto(l(e||"body",this.element[0].ownerdocument)[0]),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_initsource:function o(){var i,n,a=this;l.isarray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(l.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(t,i){a.xhr&&a.xhr.abort(),a.xhr=l.ajax({url:n,data:t,datatype:"json",success:function s(t,e){i(t)},error:function e(){i([])}})}):this.source=this.options.source},search:function n(t,e){return t=null!=t?t:this.element.val(),this.term=this.element.val(),t.length").text(i);return"string"==typeof e.title&&0").attr("title",e.label).data("item.autocomplete",e).append(i).appendto(t)},_move:function v(t,e){if(this.menu.element.is(":visible"))return this.menu.first()&&/^previous/.test(t)||this.menu.last()&&/^next/.test(t)?(this.element.val(this.term),void this.menu.deactivate()):void this.menu[t](e);this.search(null,e)},widget:function _(){return this.menu.element},_keyevent:function b(t,e){this.ismultiline&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventdefault())}}),l.extend(l.ui.autocomplete,{escaperegex:function w(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function y(t,e){var i=new regexp(l.ui.autocomplete.escaperegex(e),"i");return l.grep(t,function(t){return i.test(t.label||t.value||t)})}})}(jquery),function(n){n.widget("ui.menu",{_create:function t(){var e=this;this.element.addclass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(t){n(t.target).closest(".ui-menu-item a").length&&(t.preventdefault(),e.select(t))}),this.refresh()},refresh:function i(){var e=this;this.element.children("li:not(.ui-menu-item):has(a)").addclass("ui-menu-item").attr("role","menuitem").children("a").addclass("ui-corner-all").attr("tabindex",-1).mouseenter(function(t){e.activate(t,n(this).parent())}).mouseleave(function(){e.deactivate()})},activate:function a(t,e){var i,s,n;this.deactivate(),this.hasscroll()&&(i=e.offset().top-this.element.offset().top,s=this.element.scrolltop(),n=this.element.height(),i<0?this.element.scrolltop(s+i):n<=i&&this.element.scrolltop(s+i-n+e.height())),this.active=e.eq(0).children("a").addclass("ui-state-hover").attr("id","ui-active-menuitem").end(),this._trigger("focus",t,{item:e})},deactivate:function e(){this.active&&(this.active.children("a").removeclass("ui-state-hover").removeattr("id"),this._trigger("blur"),this.active=null)},next:function s(t){this.move("next",".ui-menu-item:first",t)},previous:function o(t){this.move("prev",".ui-menu-item:last",t)},first:function r(){return this.active&&!this.active.prevall(".ui-menu-item").length},last:function l(){return this.active&&!this.active.nextall(".ui-menu-item").length},move:function h(t,e,i){this.active&&(t=this.active[t+"all"](".ui-menu-item").eq(0)).length?this.activate(i,t):this.activate(i,this.element.children(e))},nextpage:function c(t){var e,i,s;this.hasscroll()?this.active&&!this.last()?(e=this.active.offset().top,i=this.element.height(),(s=this.element.children(".ui-menu-item").filter(function(){var t=n(this).offset().top-e-i+n(this).height();return t<10&&-10').css({position:this.element.css("position"),width:this.element.outerwidth(),height:this.element.outerheight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementiswrapper=!0,this.element.css({marginleft:this.originalelement.css("marginleft"),margintop:this.originalelement.css("margintop"),marginright:this.originalelement.css("marginright"),marginbottom:this.originalelement.css("marginbottom")}),this.originalelement.css({marginleft:0,margintop:0,marginright:0,marginbottom:0}),this.originalresizestyle=this.originalelement.css("resize"),this.originalelement.css("resize","none"),this._proportionallyresizeelements.push(this.originalelement.css({position:"static",zoom:1,display:"block"})),this.originalelement.css({margin:this.originalelement.css("margin")}),this._proportionallyresize()),this.handles=t.handles||(c(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor==string){"all"==this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw");var i=this.handles.split(",");this.handles={};for(var s=0;s');a.css({zindex:t.zindex}),"se"==n&&a.addclass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[n]=".ui-resizable-"+n,this.element.append(a)}}this._renderaxis=function(t){for(var e in t=t||this.element,this.handles){var i,s;this.handles[e].constructor==string&&(this.handles[e]=c(this.handles[e],this.element).show()),this.elementiswrapper&&this.originalelement[0].nodename.match(/textarea|input|select|button/i)&&(s=c(this.handles[e],this.element),i=0,i=/sw|ne|nw|se|n|s/.test(e)?s.outerheight():s.outerwidth(),s=["padding",/ne|nw|n/.test(e)?"top":/se|sw|s/.test(e)?"bottom":/^e$/.test(e)?"right":"left"].join(""),t.css(s,i),this._proportionallyresize()),c(this.handles[e]).length}},this._renderaxis(this.element),this._handles=c(".ui-resizable-handle",this.element).disableselection(),this._handles.mouseover(function(){var t;e.resizing||(this.classname&&(t=this.classname.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),e.axis=t&&t[1]?t[1]:"se")}),t.autohide&&(this._handles.hide(),c(this.element).addclass("ui-resizable-autohide").hover(function(){t.disabled||(c(this).removeclass("ui-resizable-autohide"),e._handles.show())},function(){t.disabled||e.resizing||(c(this).addclass("ui-resizable-autohide"),e._handles.hide())})),this._mouseinit()},destroy:function i(){this._mousedestroy();var t,e=function e(t){c(t).removeclass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removedata("resizable").unbind(".resizable").children(".ui-resizable-handle").remove()};return this.elementiswrapper&&(e(this.element),(t=this.element).after(this.originalelement.css({position:t.css("position"),width:t.outerwidth(),height:t.outerheight(),top:t.css("top"),left:t.css("left")})).remove()),this.originalelement.css("resize",this.originalresizestyle),e(this.originalelement),this},_mousecapture:function e(i){if(i.ctrlkey)return!1;var t,s=!1;for(t in this.handles)c(this.handles[t]).each(function(t,e){e!=i.target&&e!=i.target.parentnode||(s=!0)});return!this.options.disabled&&s},_mousestart:function a(t){var e=this.options,i=this.element.position(),s=this.element;this.resizing=!0,this.documentscroll={top:c(document).scrolltop(),left:c(document).scrollleft()},(s.is(".ui-draggable")||/absolute/.test(s.css("position")))&&(e.alwaysrelative||s.css({position:"absolute",top:i.top,left:i.left})),this._renderproxy();var n=h(this.helper.css("left")),i=h(this.helper.css("top"));e.containment&&(n+=c(e.containment).scrollleft()||0,i+=c(e.containment).scrolltop()||0),this.offset=this.helper.offset(),this.position={left:n,top:i},this.size=this._helper?{width:s.outerwidth(),height:s.outerheight()}:{width:s.width(),height:s.height()},this.originalsize=this._helper?{width:s.outerwidth(),height:s.outerheight()}:{width:s.width(),height:s.height()},this.originalposition={left:n,top:i},this.sizediff={width:s.outerwidth()-s.width(),height:s.outerheight()-s.height()},this.originalmouseposition={left:t.pagex,top:t.pagey},this.aspectratio="number"==typeof e.aspectratio?e.aspectratio:this.originalsize.width/this.originalsize.height||1;e=c(".ui-resizable-"+this.axis).css("cursor");return c("body").css("cursor","auto"==e?this.axis+"-resize":e),s.addclass("ui-resizable-resizing"),this._propagate("start",t),!0},_mousedrag:function r(t){var e=this.helper,i=(this.options,this.originalmouseposition),s=this.axis,n=t.pagex-i.left||0,i=t.pagey-i.top||0,s=this._change[s];if(!s)return!1;s=s.apply(this,[t,n,i]),c.browser.msie&&c.browser.version,this.sizediff;return this._updatevirtualboundaries(t.shiftkey),(this._aspectratio||t.shiftkey)&&(s=this._updateratio(s,t)),s=this._respectsize(s,t),this._propagate("resize",t),e.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyresizeelements.length&&this._proportionallyresize(),this._updatecache(s),this._trigger("resize",t,this.ui()),!1},_mousestop:function l(t){this.resizing=!1;var e,i,s,n=this.options,a=this;return this._helper&&(e=(s=(i=this._proportionallyresizeelements).length&&/textarea/i.test(i[0].nodename))&&c.ui.hasscroll(i[0],"left")?0:a.sizediff.height,i=s?0:a.sizediff.width,s=a.helper.height()-e,n.notsoffsethheight&&(s=a.helper.height()),e={width:a.helper.width()-i,height:s},i=parseint(a.element.css("left"),10)+(a.position.left-a.originalposition.left),s=parseint(a.element.css("top"),10)+(a.position.top-a.originalposition.top),s=n.reservezero?(i=0===i||i?i:null,0===s||s?s:null):(i=i||null,s||null),n.animate||this.element.css(c.extend(e,{top:s,left:i})),a.helper.height(a.size.height),a.helper.width(a.size.width),this._helper&&!n.animate&&this._proportionallyresize()),c("body").css("cursor","auto"),this.element.removeclass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatevirtualboundaries:function u(t){var e,i,s=this.options,n={minwidth:d(s.minwidth)?s.minwidth:0,maxwidth:d(s.maxwidth)?s.maxwidth:infinity,minheight:d(s.minheight)?s.minheight:0,maxheight:d(s.maxheight)?s.maxheight:infinity};(this._aspectratio||t)&&(e=n.minheight*this.aspectratio,i=n.minwidth/this.aspectratio,s=n.maxheight*this.aspectratio,t=n.maxwidth/this.aspectratio,e>n.minwidth&&(n.minwidth=e),i>n.minheight&&(n.minheight=i),st.width,r=d(t.height)&&i.minheight&&i.minheight>t.height;o&&(t.width=i.minwidth),r&&(t.height=i.minheight),n&&(t.width=i.maxwidth),a&&(t.height=i.maxheight);var l=this.originalposition.left+this.originalsize.width,h=this.position.top+this.size.height,e=/sw|nw|w/.test(s),s=/nw|ne|n/.test(s);o&&e&&(t.left=l-i.minwidth),n&&e&&(t.left=l-i.maxwidth),r&&s&&(t.top=h-i.minheight),a&&s&&(t.top=h-i.maxheight);i=!t.width&&!t.height;return i&&!t.left&&t.top?t.top=null:i&&!t.top&&t.left&&(t.left=null),t},_proportionallyresize:function m(){this.options;if(this._proportionallyresizeelements.length)for(var t=this.helper||this.element,e=0;e'),e=(t=c.browser.msie&&c.browser.version<7)?1:0,t=t?2:-1,this.helper.addclass(this._helper).css({width:this.element.outerwidth()+t,height:this.element.outerheight()+t,position:"absolute",left:this.elementoffset.left-e+"px",top:this.elementoffset.top-e+"px",zindex:++i.zindex}),this.helper.appendto("body").disableselection()):this.helper=this.element},_change:{e:function g(t,e,i){return{width:this.originalsize.width+e}},w:function v(t,e,i){this.options;var s=this.originalsize;return{left:this.originalposition.left+e,width:s.width-e}},n:function _(t,e,i){this.options;var s=this.originalsize;return{top:this.originalposition.top+i,height:s.height-i}},s:function b(t,e,i){return{height:this.originalsize.height+i}},se:function w(t,e,i){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function y(t,e,i){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function k(t,e,i){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function x(t,e,i){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function d(t,e){c.ui.plugin.call(this,t,[e,this.ui()]),"resize"!=t&&this._trigger(t,e,this.ui())},plugins:{},ui:function t(){return{originalelement:this.originalelement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalsize:this.originalsize,originalposition:this.originalposition}}}),c.extend(c.ui.resizable,{version:"@version"}),c.ui.plugin.add("resizable","alsoresize",{start:function t(t,e){var i=c(this).data("resizable").options,s=function s(t){c(t).each(function(){var t=c(this);t.data("resizable-alsoresize",{width:parseint(t.width(),10),height:parseint(t.height(),10),left:parseint(t.css("left"),10),top:parseint(t.css("top"),10)})})};"object"!=_typeof(i.alsoresize)||i.alsoresize.parentnode?s(i.alsoresize):i.alsoresize.length?(i.alsoresize=i.alsoresize[0],s(i.alsoresize)):c.each(i.alsoresize,function(t){s(t)})},resize:function c(t,a){var e=c(this).data("resizable"),i=e.options,s=e.originalsize,n=e.originalposition,o={height:e.size.height-s.height||0,width:e.size.width-s.width||0,top:e.position.top-n.top||0,left:e.position.left-n.left||0},r=function r(t,i){c(t).each(function(){var t=c(this),s=c(this).data("resizable-alsoresize"),n={},e=i&&i.length?i:t.parents(a.originalelement[0]).length?["width","height"]:["width","height","top","left"];c.each(e,function(t,e){var i=(s[e]||0)+(o[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})};"object"!=_typeof(i.alsoresize)||i.alsoresize.nodetype?r(i.alsoresize):c.each(i.alsoresize,function(t,e){r(t,e)})},stop:function s(t,e){c(this).removedata("resizable-alsoresize")}}),c.ui.plugin.add("resizable","animate",{stop:function s(e,t){var i=c(this).data("resizable"),s=i.options,n=i._proportionallyresizeelements,a=n.length&&/textarea/i.test(n[0].nodename),o=a&&c.ui.hasscroll(n[0],"left")?0:i.sizediff.height,r=a?0:i.sizediff.width,a={width:i.size.width-r,height:i.size.height-o},r=parseint(i.element.css("left"),10)+(i.position.left-i.originalposition.left)||null,o=parseint(i.element.css("top"),10)+(i.position.top-i.originalposition.top)||null;i.element.animate(c.extend(a,o&&r?{top:o,left:r}:{}),{duration:s.animateduration,easing:s.animateeasing,step:function l(){var t={width:parseint(i.element.css("width"),10),height:parseint(i.element.css("height"),10),top:parseint(i.element.css("top"),10),left:parseint(i.element.css("left"),10)};n&&n.length&&c(n[0]).css({width:t.width,height:t.height}),i._updatecache(t),i._propagate("resize",e)}})}}),c.ui.plugin.add("resizable","containment",{start:function t(t,e){var i,s,n=c(this).data("resizable"),a=n.options,o=n.element,r=a.containment,l=r instanceof c?r.get(0):/parent/.test(r)?o.parent().get(0):r;l&&(n.containerelement=c(l),/document/.test(r)||r==document?(n.containeroffset={left:0,top:0},n.containerposition={left:0,top:0},n.parentdata={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentnode.scrollheight}):(i=c(l),s=[],c(["top","right","left","bottom"]).each(function(t,e){s[t]=h(i.css("padding"+e))}),n.containeroffset=i.offset(),n.containerposition=i.position(),n.containersize={height:i.innerheight()-s[3],width:i.innerwidth()-s[1]},a=n.containeroffset,o=n.containersize.height,r=n.containersize.width,r=c.ui.hasscroll(l,"left")?l.scrollwidth:r,o=c.ui.hasscroll(l)?l.scrollheight:o,n.parentdata={element:l,left:a.left,top:a.top,width:r,height:o}))},resize:function c(t,e){var i=c(this).data("resizable"),s=i.options,n=(i.containersize,i.containeroffset),a=(i.size,i.position),o=i._aspectratio||t.shiftkey,r={top:0,left:0},t=i.containerelement;t[0]!=document&&/static/.test(t.css("position"))&&(r=n),a.left<(i._helper?n.left:0)&&(i.size.width=i.size.width+(i._helper?i.position.left-n.left:i.position.left-r.left),o&&(i.size.height=i.size.width/i.aspectratio),i.position.left=s.helper?n.left:0),a.top<(i._helper?n.top:0)&&(i.size.height=i.size.height+(i._helper?i.position.top-n.top:i.position.top),o&&(i.size.width=i.size.height*i.aspectratio),i.position.top=i._helper?n.top:0),i.offset.left=i.parentdata.left+i.position.left,i.offset.top=i.parentdata.top+i.position.top;s=math.abs((i._helper,i.offset.left-r.left+i.sizediff.width)),a=math.abs((i._helper?i.offset.top-r.top:i.offset.top-n.top)+i.sizediff.height),r=i.containerelement.get(0)==i.element.parent().get(0),n=/relative|absolute/.test(i.containerelement.css("position"));r&&n&&(s-=i.parentdata.left),s+i.size.width>=i.parentdata.width&&(i.size.width=i.parentdata.width-s,o&&(i.size.height=i.size.width/i.aspectratio)),a+i.size.height>=i.parentdata.height&&(i.size.height=i.parentdata.height-a,o&&(i.size.width=i.size.height*i.aspectratio))},stop:function s(t,e){var i=c(this).data("resizable"),s=i.options,n=(i.position,i.containeroffset),a=i.containerposition,o=i.containerelement,r=c(i.helper),l=r.offset(),h=r.outerwidth()-i.sizediff.width,r=r.outerheight()-i.sizediff.height;i._helper&&!s.animate&&/relative/.test(o.css("position"))&&c(this).css({left:l.left-a.left-n.left,width:h,height:r}),i._helper&&!s.animate&&/static/.test(o.css("position"))&&c(this).css({left:l.left-a.left-n.left,width:h,height:r})}}),c.ui.plugin.add("resizable","ghost",{start:function t(t,e){var i=c(this).data("resizable"),s=i.options,n=i.size;i.ghost=i.originalelement.clone(),i.ghost.css({opacity:.25,display:"block",position:"relative",height:n.height,width:n.width,margin:0,left:0,top:0}).addclass("ui-resizable-ghost").addclass("string"==typeof s.ghost?s.ghost:""),i.ghost.appendto(i.helper)},resize:function c(t,e){var i=c(this).data("resizable");i.options;i.ghost&&i.ghost.css({position:"relative",height:i.size.height,width:i.size.width})},stop:function s(t,e){var i=c(this).data("resizable");i.options;i.ghost&&i.helper&&i.helper.get(0).removechild(i.ghost.get(0))}}),c.ui.plugin.add("resizable","grid",{resize:function c(t,e){var i=c(this).data("resizable"),s=i.options,n=i.size,a=i.originalsize,o=i.originalposition,r=i.axis;s._aspectratio||t.shiftkey;s.grid="number"==typeof s.grid?[s.grid,s.grid]:s.grid;t=math.round((n.width-a.width)/(s.grid[0]||1))*(s.grid[0]||1),s=math.round((n.height-a.height)/(s.grid[1]||1))*(s.grid[1]||1);/^(se|s|e)$/.test(r)?(i.size.width=a.width+t,i.size.height=a.height+s):/^(ne)$/.test(r)?(i.size.width=a.width+t,i.size.height=a.height+s,i.position.top=o.top-s):(/^(sw)$/.test(r)?(i.size.width=a.width+t,i.size.height=a.height+s):(i.size.width=a.width+t,i.size.height=a.height+s,i.position.top=o.top-s),i.position.left=o.left-t)}});var h=function h(t){return parseint(t,10)||0},d=function d(t){return!isnan(parseint(t,10))}}(jquery),function(v,l){v.extend(v.ui,{datepicker:{version:"@version"}});var a,r="datepicker",c=(new date).gettime();function t(){this.debug=!1,this._curinst=null,this._keyevent=!1,this._disabledinputs=[],this._datepickershowing=!1,this._indialog=!1,this._maindivid="ui-datepicker-div",this._inlineclass="ui-datepicker-inline",this._appendclass="ui-datepicker-append",this._triggerclass="ui-datepicker-trigger",this._dialogclass="ui-datepicker-dialog",this._disableclass="ui-datepicker-disabled",this._unselectableclass="ui-datepicker-unselectable",this._currentclass="ui-datepicker-current-day",this._dayoverclass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closetext:"done",prevtext:"prev",nexttext:"next",currenttext:"today",monthnames:["january","february","march","april","may","june","july","august","september","october","november","december"],monthnamesshort:["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],daynames:["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],daynamesshort:["sun","mon","tue","wed","thu","fri","sat"],daynamesmin:["su","mo","tu","we","th","fr","sa"],weekheader:"wk",dateformat:"mm/dd/yy",firstday:0,isrtl:!1,showmonthafteryear:!1,yearsuffix:""},this._defaults={showon:"focus",showanim:"fadein",showoptions:{},defaultdate:null,appendtext:"",buttontext:"...",buttonimage:"",buttonimageonly:!1,hideifnoprevnext:!1,navigationasdateformat:!1,gotocurrent:!1,changemonth:!1,changeyear:!1,yearrange:"c-10:c+10",showothermonths:!1,selectothermonths:!1,showweek:!1,calculateweek:this.iso8601week,shortyearcutoff:"+10",mindate:null,maxdate:null,duration:"fast",beforeshowday:null,beforeshow:null,onselect:null,onafterselect:null,onafterupdatepicker:null,onchangemonthyear:null,onafteradjustdate:null,houraccuracy:!1,onclose:null,numberofmonths:1,showcurrentatpos:0,stepmonths:1,stepbigmonths:12,altfield:"",altformat:"",constraininput:!0,showbuttonpanel:!1,autosize:!1,disabled:!1},v.extend(this._defaults,this.regional[""]),this.dpdiv=i(v('
'))}function i(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.bind("mouseout",function(t){t=v(t.target).closest(i);t.length&&t.removeclass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover")}).bind("mouseover",function(t){t=v(t.target).closest(i);!v.datepicker._isdisableddatepicker((a.inline?e.parent():a.input)[0])&&t.length&&(t.parents(".ui-datepicker-calendar").find("a").removeclass("ui-state-hover"),t.addclass("ui-state-hover"),t.hasclass("ui-datepicker-prev")&&t.addclass("ui-datepicker-prev-hover"),t.hasclass("ui-datepicker-next")&&t.addclass("ui-datepicker-next-hover"))})}function h(t,e){for(var i in v.extend(t,e),e)null!=e[i]&&e[i]!=l||(t[i]=e[i]);return t}v.extend(t.prototype,{markerclassname:"hasdatepicker",maxrows:4,log:function e(){this.debug&&console.log.apply("",arguments)},_widgetdatepicker:function s(){return this.dpdiv},setdefaults:function n(t){return h(this._defaults,t||{}),this},_attachdatepicker:function d(t,e){var i,s=null;for(i in this._defaults){var n=t.getattribute("date:"+i);if(n){s=s||{};try{s[i]=window.eval.call(window,n)}catch(l){s[i]=n}}}var a=t.nodename.tolowercase(),o="div"==a||"span"==a;t.id||(this.uuid+=1,t.id="dp"+this.uuid);var r=this._newinst(v(t),o);r.settings=v.extend({},e||{},s||{}),"input"==a?this._connectdatepicker(t,r):o&&this._inlinedatepicker(t,r)},_newinst:function o(t,e){return{id:t[0].id.replace(/([^a-za-z0-9_-])/g,"\\\\$1"),input:t,selectedday:0,selectedmonth:0,selectedyear:0,drawmonth:0,drawyear:0,inline:e,dpdiv:e?i(v('
')):this.dpdiv}},_connectdatepicker:function u(t,s){var e=v(t);s.append=v([]),s.trigger=v([]),e.hasclass(this.markerclassname)||(this._attachments(e,s),e.addclass(this.markerclassname).keydown(this._dokeydown).keypress(this._dokeypress).keyup(this._dokeyup).bind("setdata.datepicker",function(t,e,i){s.settings[e]=i}).bind("getdata.datepicker",function(t,e){return this._get(s,e)}),this._autosize(s),v.data(t,r,s),s.settings.disabled&&this._disabledatepicker(t))},_attachments:function p(t,e){var i=this._get(e,"appendtext"),s=this._get(e,"isrtl");e.append&&e.append.remove(),i&&(e.append=v(''+i+""),t[s?"before":"after"](e.append)),t.unbind("focus",this._showdatepicker),e.trigger&&e.trigger.remove();var n=this._get(e,"showon");"focus"!=n&&"both"!=n||t.focus(this._showdatepicker),"button"!=n&&"both"!=n||(i=this._get(e,"buttontext"),n=this._get(e,"buttonimage"),e.trigger=v(this._get(e,"buttonimageonly")?v("").addclass(this._triggerclass).attr({src:n,alt:i,title:i}):v('').addclass(this._triggerclass).html(""==n?i:v("").attr({src:n,alt:i,title:i}))),t[s?"before":"after"](e.trigger),e.trigger.click(function(){return v.datepicker._datepickershowing&&v.datepicker._lastinput==t[0]?v.datepicker._hidedatepicker():(v.datepicker._datepickershowing&&v.datepicker._lastinput!=t[0]&&v.datepicker._hidedatepicker(),v.datepicker._showdatepicker(t[0])),!1}))},_autosize:function f(t){var e,i,n;this._get(t,"autosize")&&!t.inline&&(e=new date(2009,11,20),(i=this._get(t,"dateformat")).match(/[dm]/)&&(n=function n(t){for(var e=0,i=0,s=0;se&&(e=t[s].length,i=s);return i},e.setmonth(n(this._get(t,i.match(/mm/)?"monthnames":"monthnamesshort"))),e.setdate(n(this._get(t,i.match(/dd/)?"daynames":"daynamesshort"))+20-e.getday())),t.input.attr("size",this._formatdate(t,e).length))},_inlinedatepicker:function m(t,s){var e=v(t);e.hasclass(this.markerclassname)||(e.addclass(this.markerclassname).append(s.dpdiv).bind("setdata.datepicker",function(t,e,i){s.settings[e]=i}).bind("getdata.datepicker",function(t,e){return this._get(s,e)}),v.data(t,r,s),this._setdate(s,this._getdefaultdate(s),!0),this._updatedatepicker(s),this._updatealternate(s),s.settings.disabled&&this._disabledatepicker(t),s.dpdiv.css("display","block"))},_dialogdatepicker:function g(t,e,i,s,n){var a,o=this._dialoginst;return o||(this.uuid+=1,a="dp"+this.uuid,this._dialoginput=v(''),this._dialoginput.keydown(this._dokeydown),v("body").append(this._dialoginput),(o=this._dialoginst=this._newinst(this._dialoginput,!1)).settings={},v.data(this._dialoginput[0],r,o)),h(o.settings,s||{}),e=e&&e.constructor==date?this._formatdate(o,e):e,this._dialoginput.val(e),this._pos=n?n.length?n:[n.pagex,n.pagey]:null,this._pos||(a=document.documentelement.clientwidth,s=document.documentelement.clientheight,e=document.documentelement.scrollleft||document.body.scrollleft,n=document.documentelement.scrolltop||document.body.scrolltop,this._pos=[a/2-100+e,s/2-150+n]),this._dialoginput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),o.settings.onselect=i,this._indialog=!0,this.dpdiv.addclass(this._dialogclass),this._showdatepicker(this._dialoginput[0]),v.blockui&&v.blockui(this.dpdiv),v.data(this._dialoginput[0],r,o),this},_destroydatepicker:function v(t){var e,i=v(t),s=v.data(t,r);i.hasclass(this.markerclassname)&&(e=t.nodename.tolowercase(),v.removedata(t,r),"input"==e?(s.append.remove(),s.trigger.remove(),i.removeclass(this.markerclassname).unbind("focus",this._showdatepicker).unbind("keydown",this._dokeydown).unbind("keypress",this._dokeypress).unbind("keyup",this._dokeyup)):"div"!=e&&"span"!=e||i.removeclass(this.markerclassname).empty())},_enabledatepicker:function _(e){var t,i=v(e),s=v.data(e,r);i.hasclass(this.markerclassname)&&("input"==(t=e.nodename.tolowercase())?(e.disabled=!1,s.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!=t&&"span"!=t||((i=i.children("."+this._inlineclass)).children().removeclass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").removeattr("disabled")),this._disabledinputs=v.map(this._disabledinputs,function(t){return t==e?null:t}))},_disabledatepicker:function b(e){var t,i=v(e),s=v.data(e,r);i.hasclass(this.markerclassname)&&("input"==(t=e.nodename.tolowercase())?(e.disabled=!0,s.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!=t&&"span"!=t||((i=i.children("."+this._inlineclass)).children().addclass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled","disabled")),this._disabledinputs=v.map(this._disabledinputs,function(t){return t==e?null:t}),this._disabledinputs[this._disabledinputs.length]=e)},_isdisableddatepicker:function w(t){if(!t)return!1;for(var e=0;el&&nr&&sl&&nm;)--p<0&&(p=11,f--);t.drawmonth=p,t.drawyear=f;for(var r=this._get(t,"prevtext"),r=a?this.formatdate(r,this._daylightsavingadjust(new date(f,p-l,1)),this._getformatconfig(t)):r,g=this._canadjustmonth(t,-1,f,p)?''+r+"":n?"":''+r+"",r=this._get(t,"nexttext"),r=a?this.formatdate(r,this._daylightsavingadjust(new date(f,p+l,1)),this._getformatconfig(t)):r,v=this._canadjustmonth(t,1,f,p)?''+r+"":n?"":''+r+"",l=this._get(t,"currenttext"),n=this._get(t,"gotocurrent")&&t.currentday?c:e,l=a?this.formatdate(l,n,this._getformatconfig(t)):l,r=t.inline?"":'",a=this._get(t,"otherbutton"),a=void 0===a?"":'",r=s?'
'+(i?r:"")+(this._isinrange(t,n)?'":"")+a+(i?"":r)+"
":"",_=parseint(this._get(t,"firstday"),10),_=isnan(_)?0:_,b=this._get(t,"showweek"),w=this._get(t,"daynames"),y=(this._get(t,"daynamesshort"),this._get(t,"daynamesmin")),k=this._get(t,"monthnames"),x=this._get(t,"monthnamesshort"),d=this._get(t,"beforeshowday"),t=this._get(t,"showothermonths"),c=this._get(t,"selectothermonths"),s=(this._get(t,"calculateweek")||this.iso8601week,this._getdefaultdate(t)),m="",i=0;i'+(/all|left/.test(a)&&0==i?i?v:g:"")+(/all|right/.test(a)&&0==i?i?g:v:"")+this._generatemonthyearheader(t,p,f,d,u,0';for(var n=b?'":"",h=0;h<7;h++){var f=(h+_)%7;n+="'+y[f]+""}l+=n+"";var w=this._getdaysinmonth(f,p);f==t.selectedyear&&p==t.selectedmonth&&(t.selectedday=math.min(t.selectedday,w));var e=(this._getfirstdayofmonth(f,p)-_+7)%7,w=math.ceil((e+w)/7),r=h&&this.maxrows>w?this.maxrows:w;this.maxrows=r;for(var j=this._daylightsavingadjust(new date(f,p,1-e)),y=0;y";for(var b=b?'":"",h=0;h<7;h++){var $=d?d.apply(t.input?t.input[0]:null,[j]):[!0,""],q=j.getmonth()!=p,k=q&&!c||!$[0]||d&&j"+(q&&!t?" ":k?''+j.getdate()+"":"'+j.getdate()+"")+"",j.setdate(j.getdate()+1),j=this._daylightsavingadjust(j)}l+=b+""}11<++p&&(p=0,f++),p+=l+="
'+this._get(t,"weekheader")+"
'+this._get(t,"calculateweek")(j)+"
"+(h?""+(0':""):"")}m+=p}return m+=r+(v.browser.msie&&parseint(v.browser.version,10)<7&&!t.inline?'':""),t._keyevent=!1,m},_generatemonthyearheader:function rt(t,e,i,s,n,a,o,r){var l=this._get(t,"changemonth"),h=this._get(t,"changeyear"),c=this._get(t,"showmonthafteryear"),d='
',u="";if(a||!l)u+=''+o[e]+"";else{var p=s&&s.getfullyear()==i,f=n&&n.getfullyear()==i;u+='"}if(c||(d+=u+(!a&&l&&h?"":" ")),!t.yearshtml)if(t.yearshtml="",a||!h)d+=''+i+"";else{var g,o=this._get(t,"yearrange").split(":"),v=(new date).getfullyear(),_=this._get(t,"yearsuffix"),b=(g=function g(t){t=t.match(/c[+-].*/)?i+parseint(t.substring(1),10):t.match(/[+-].*/)?v+parseint(t,10):parseint(t,10);return isnan(t)?v:t})(o[0]),w=math.max(b,g(o[1]||"")),b=s?math.max(b,s.getfullyear()):b,w=n?math.min(w,n.getfullyear()):w;for(t.yearshtml+='",d+=t.yearshtml,t.yearshtml=null}return c&&(d+=(!a&&l&&h?"":" ")+u),d+="
"},_adjustinstdate:function lt(t,e,i){var s=t.drawyear+("y"==i?e:0),n=t.drawmonth+("m"==i?e:0),e=math.min(t.selectedday,this._getdaysinmonth(s,n))+("d"==i?e:0),e=this._restrictminmax(t,this._daylightsavingadjust(new date(s,n,e)));t.selectedday=e.getdate(),t.drawmonth=t.selectedmonth=e.getmonth(),t.drawyear=t.selectedyear=e.getfullyear(),"m"!=i&&"y"!=i||this._notifychange(t)},_restrictminmax:function ht(t,e){var i=this._getminmaxdate(t,"min"),t=this._getminmaxdate(t,"max"),e=i&&e=i.gettime())&&(!t||e.gettime()<=t.gettime())},_getformatconfig:function vt(t){var e=this._get(t,"shortyearcutoff");return{shortyearcutoff:e="string"!=typeof e?e:(new date).getfullyear()%100+parseint(e,10),daynamesshort:this._get(t,"daynamesshort"),daynames:this._get(t,"daynames"),monthnamesshort:this._get(t,"monthnamesshort"),monthnames:this._get(t,"monthnames")}},_formatdate:function _t(t,e,i,s){e||(t.currentday=t.selectedday,t.currentmonth=t.selectedmonth,t.currentyear=t.selectedyear);e=e?"object"==_typeof(e)?e:this._daylightsavingadjust(new date(s,i,e)):this._daylightsavingadjust(new date(t.currentyear,t.currentmonth,t.currentday));return this.formatdate(this._get(t,"dateformat"),e,this._getformatconfig(t))}}),v.fn.datepicker=function(t){if(!this.length)return this;v.datepicker.initialized||(v(document).mousedown(v.datepicker._checkexternalclick).find("body").append(v.datepicker.dpdiv),v.datepicker.initialized=!0);var e=array.prototype.slice.call(arguments,1);return"string"==typeof t&&("isdisabled"==t||"getdate"==t||"widget"==t)||"option"==t&&2==arguments.length&&"string"==typeof arguments[1]?v.datepicker["_"+t+"datepicker"].apply(v.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?v.datepicker["_"+t+"datepicker"].apply(v.datepicker,[this].concat(e)):v.datepicker._attachdatepicker(this,t)})},v.datepicker=new t,v.datepicker.initialized=!1,v.datepicker.uuid=(new date).gettime(),v.datepicker.version="@version",window["dp_jquery_"+c]=v}(jquery),jquery(function(t){var e=["日","一","二","三","四","五","六"],i="今天";"undefined"!=typeof ls&&(e=[ls.date_sun,ls.date_mon,ls.date_tue,ls.date_wed,ls.date_thu,ls.date_fri,ls.date_sat],i=ls.date_today),t.datepicker.regional["zh-cn"]={closetext:"关闭",prevtext:"<上月",nexttext:"下月>",currenttext:i,monthnames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthnamesshort:["1","2","3","4","5","6","7","8","9","10","11","12"],daynames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],daynamesshort:["周日","周一","周二","周三","周四","周五","周六"],daynamesmin:e,weekheader:"周",dateformat:"yy-mm-dd",firstday:1,isrtl:!1,showmonthafteryear:!0,yearsuffix:""},t.datepicker.setdefaults(t.datepicker.regional["zh-cn"])}),function(p){p.widget("ui.droppable",{widgeteventprefix:"drop",options:{accept:"*",activeclass:!1,addclasses:!0,greedy:!1,hoverclass:!1,scope:"default",tolerance:"intersect"},_create:function i(){var t=this.options,e=t.accept;this.isover=0,this.isout=1,this.accept=p.isfunction(e)?e:function(t){return t.is(e)},this.proportions={width:this.element[0].offsetwidth,height:this.element[0].offsetheight},p.ui.ddmanager.droppables[t.scope]=p.ui.ddmanager.droppables[t.scope]||[],p.ui.ddmanager.droppables[t.scope].push(this),t.addclasses&&this.element.addclass("ui-droppable")},destroy:function s(){for(var t=p.ui.ddmanager.droppables[this.options.scope],e=0;e",remove:null,select:null,show:null,spinner:"loading…",tabtemplate:"
  • #{label}
  • ",version:"",popupid:0,reduceelheight:0},_create:function n(){this._tabify(!0)},_setoption:function a(t,e){"selected"==t?this.options.collapsible&&e==this.options.selected||this.select(e):(this.options[t]=e,this._tabify())},_tabid:function o(t){return t.title&&t.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uffff-]/g,"")||this.options.idprefix+i()},_sanitizeselector:function r(t){return t.replace(/:/g,"\\:")},_cookie:function l(){var t=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+s());return f.cookie.apply(null,[t].concat(f.makearray(arguments)))},_ui:function h(t,e){return{tab:t,panel:e,index:this.anchors.index(t)}},_cleanup:function c(){this.lis.filter(".ui-state-processing").removeclass("ui-state-processing").find("span:data(label.tabs)").each(function(){var t=f(this);t.html(t.data("label.tabs")).removedata("label.tabs")})},_showrectangularblock:function d(t,e,i){var s=t.find("."+i),n=t.find("li"),a=0;s.length||t.append("
    ");for(var o=0;o li:has(a[href])",this.list),this.anchors=this.lis.map(function(){return f("a",this)[0]}),this.panels=f([]),this.anchors.each(function(t,e){var i,s=f(e).attr("href"),n=s.split("#")[0];n&&(n===location.tostring().split("#")[0]||(i=f("base")[0])&&n===i.href)&&(s=e.hash,e.href=s),l.test(s)?a.panels=a.panels.add(a.element.find(a._sanitizeselector(s))):s&&"#"!==s?(f.data(e,"href.tabs",s),f.data(e,"load.tabs",s.replace(/#.*$/,"")),s=a._tabid(e),e.href="#"+s,(e=a.element.find("#"+s)).length||(e=(r?f(o.paneltemplate).attr("id",s).addclass("ui-tabs-panel-v2 ui-widget-content-v2 ui-corner-bottom-v2"):f(o.paneltemplate).attr("id",s).addclass("ui-tabs-panel ui-widget-content ui-corner-bottom")).insertafter(a.panels[t-1]||a.list)).data("destroy.tabs",!0),a.panels=a.panels.add(e)):o.disabled.push(t)}),t?(r?(this.element.addclass("ui-tabs-v2 ui-widget-v2 ui-widget-content-v2 ui-corner-all-v2"),this.list.addclass("ui-tabs-nav-v2 ui-helper-reset-v2 ui-helper-clearfix-v2 ui-widget-header-v2 ui-corner-all-v2"),this.lis.addclass("ui-state-default-v2 ui-corner-top-v2"),this.panels.addclass("ui-tabs-panel-v2 ui-widget-content-v2 ui-corner-bottom-v2")):(this.element.addclass("ui-tabs ui-widget ui-widget-content ui-corner-all"),this.list.addclass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.lis.addclass("ui-state-default ui-corner-top"),this.panels.addclass("ui-tabs-panel ui-widget-content ui-corner-bottom")),o.selected===m?(location.hash&&this.anchors.each(function(t,e){if(e.hash==location.hash)return o.selected=t,!1}),"number"!=typeof o.selected&&o.cookie&&(o.selected=parseint(a._cookie(),10)),"number"!=typeof o.selected&&this.lis.filter(".ui-tabs-selected").length&&(o.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))),o.selected=o.selected||(this.lis.length?0:-1)):null===o.selected&&(o.selected=-1),o.selected=0<=o.selected&&this.anchors[o.selected]||o.selected<0?o.selected:0,o.disabled=f.unique(o.disabled.concat(f.map(this.lis.filter(".ui-state-disabled"),function(t,e){return a.lis.index(t)}))).sort(),-1!=f.inarray(o.selected,o.disabled)&&o.disabled.splice(f.inarray(o.selected,o.disabled),1),this.panels.addclass("ui-tabs-hide"),this.lis.removeclass("ui-tabs-selected ui-state-active"),0<=o.selected&&this.anchors.length&&(a.element.find(a._sanitizeselector(a.anchors[o.selected].hash)).removeclass("ui-tabs-hide"),this.lis.eq(o.selected).addclass("ui-tabs-selected ui-state-active"),r&&(a._showrectangularblock(this.list,o.selected,"rectangularblock"),a._extendedlineposition(this.lis,o.selected),settimeout(function(){a.lis.addclass("ui-state-animation-v2")},0)),a.element.queue("tabs",function(){a._trigger("show",null,a._ui(a.anchors[o.selected],a.element.find(a._sanitizeselector(a.anchors[o.selected].hash))[0]))}),this.load(o.selected)),f(window).bind("unload",function(){a.lis.add(a.anchors).unbind(".tabs"),a.lis=a.anchors=a.panels=null,o.popupid&&r&&fai.top.$("#popupwindow"+o.popupid).find(".pwcenter .tabs_extendedline").hide()})):(o.selected=this.lis.index(this.lis.filter(".ui-tabs-selected")),r&&(a._showrectangularblock(this.list,o.selected,"rectangularblock"),a._extendedlineposition(this.lis,o.selected),settimeout(function(){a.lis.addclass("ui-state-animation-v2")},0))),this.element[o.collapsible?"addclass":"removeclass"]("ui-tabs-collapsible"),o.cookie&&this._cookie(o.selected,o.cookie);for(var e,i,s,n,h,c=0;e=this.lis[c];c++)f(e)[-1==f.inarray(c,o.disabled)||f(e).hasclass("ui-tabs-selected")?"removeclass":"addclass"]("ui-state-disabled");function d(t,e){t.css("display",""),!f.support.opacity&&e.opacity&&t[0].style.removeattribute("filter")}!1===o.cache&&this.anchors.removedata("cache.tabs"),this.lis.add(this.anchors).unbind(".tabs"),"mouseover"!==o.event&&(i=function i(t,e){e.is(":not(.ui-state-disabled)")&&e.addclass("ui-state-"+t)},s=function s(t,e){e.removeclass("ui-state-"+t)},this.lis.bind("mouseover.tabs",function(){i("hover",f(this))}),this.lis.bind("mouseout.tabs",function(){s("hover",f(this))}),this.anchors.bind("focus.tabs",function(){i("focus",f(this).closest("li"))}),this.anchors.bind("blur.tabs",function(){s("focus",f(this).closest("li"))})),o.fx&&(f.isarray(o.fx)?(n=o.fx[0],h=o.fx[1]):n=h=o.fx);var u=h?function(t,e){f(t).closest("li").addclass("ui-tabs-selected ui-state-active"),r&&(a._showrectangularblock(f(t).closest("li").parent(),f(t).closest("li").index(),"rectangularblock"),a._extendedlineposition(f(t).closest("li").parent().find("li"),f(t).closest("li").index())),e.hide().removeclass("ui-tabs-hide").animate(h,h.duration||"normal",function(){d(e,h),a._trigger("show",null,a._ui(t,e[0]))})}:function(t,e){f(t).closest("li").addclass("ui-tabs-selected ui-state-active"),r&&(a._showrectangularblock(f(t).closest("li").parent(),f(t).closest("li").index(),"rectangularblock"),a._extendedlineposition(f(t).closest("li").parent().find("li"),f(t).closest("li").index())),e.removeclass("ui-tabs-hide"),a._trigger("show",null,a._ui(t,e[0]))},p=n?function(t,e){e.animate(n,n.duration||"normal",function(){a.lis.removeclass("ui-tabs-selected ui-state-active"),e.addclass("ui-tabs-hide"),d(e,n),a.element.dequeue("tabs")})}:function(t,e,i){a.lis.removeclass("ui-tabs-selected ui-state-active"),e.addclass("ui-tabs-hide"),a.element.dequeue("tabs")};this.anchors.bind(o.event+".tabs",function(){var t=this,e=f(t).closest("li"),i=a.panels.filter(":not(.ui-tabs-hide)"),s=a.element.find(a._sanitizeselector(t.hash));if(e.hasclass("ui-tabs-selected")&&!o.collapsible||e.hasclass("ui-state-disabled")||e.hasclass("ui-state-processing")||a.panels.filter(":animated").length||!1===a._trigger("select",null,a._ui(this,s[0])))return this.blur(),!1;if(o.selected=a.anchors.index(this),a.abort(),o.collapsible){if(e.hasclass("ui-tabs-selected"))return o.selected=-1,o.cookie&&a._cookie(o.selected,o.cookie),a.element.queue("tabs",function(){p(t,i)}).dequeue("tabs"),this.blur(),!1;if(!i.length)return o.cookie&&a._cookie(o.selected,o.cookie),a.element.queue("tabs",function(){u(t,s)}),a.load(a.anchors.index(this)),this.blur(),!1}if(o.cookie&&a._cookie(o.selected,o.cookie),!s.length)throw"jquery ui tabs: mismatching fragment identifier.";i.length&&a.element.queue("tabs",function(){p(t,i)}),a.element.queue("tabs",function(){u(t,s)}),a.load(a.anchors.index(this)),f.browser.msie&&this.blur()}),this.anchors.bind("click.tabs",function(){return!1})},_getindex:function p(t){return t="string"==typeof t?this.anchors.index(this.anchors.filter("[href$='"+t+"']")):t},destroy:function v(){var t=this.options,e=2==t.version;return this.abort(),this.element.unbind(".tabs").removedata("tabs"),e?(this.element.removeclass("ui-tabs-v2 ui-widget-v2 ui-widget-content-v2 ui-corner-all-v2 ui-tabs-collapsible"),this.list.removeclass("ui-tabs-nav-v2 ui-helper-reset-v2 ui-helper-clearfix-v2 ui-widget-header-v2 ui-corner-all-v2")):(this.element.removeclass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.list.removeclass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all")),this.anchors.each(function(){var t=f.data(this,"href.tabs");t&&(this.href=t);var i=f(this).unbind(".tabs");f.each(["href","load","cache"],function(t,e){i.removedata(e+".tabs")})}),this.lis.unbind(".tabs").add(this.panels).each(function(){f.data(this,"destroy.tabs")?f(this).remove():e?f(this).removeclass(["ui-state-animation-v2","ui-state-default-v2","ui-corner-top-v2","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel-v2","ui-widget-content-v2","ui-corner-bottom-v2","ui-tabs-hide"].join(" ")):f(this).removeclass(["ui-state-default","ui-corner-top","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-corner-bottom","ui-tabs-hide"].join(" "))}),t.cookie&&this._cookie(null,t.cookie),this},add:function _(t,e,i){i===m&&(i=this.anchors.length);var s=this,n=this.options,a=2==n.version,o=f(n.tabtemplate.replace(/#\{href\}/g,t).replace(/#\{label\}/g,e)),e=t.indexof("#")?this._tabid(f("a",o)[0]):t.replace("#","");(a?o.addclass("ui-state-default-v2 ui-corner-top-v2"):o.addclass("ui-state-default ui-corner-top")).data("destroy.tabs",!0);t=s.element.find("#"+e);return t.length||(t=f(n.paneltemplate).attr("id",e).data("destroy.tabs",!0)),a?t.addclass("ui-tabs-panel-v2 ui-widget-content-v2 ui-corner-bottom-v2 ui-tabs-hide"):t.addclass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide"),i>=this.lis.length?(o.appendto(this.list),t.appendto(this.list[0].parentnode)):(o.insertbefore(this.lis[i]),t.insertbefore(this.panels[i])),n.disabled=f.map(n.disabled,function(t,e){return i<=t?++t:t}),this._tabify(),1==this.anchors.length&&(n.selected=0,o.addclass("ui-tabs-selected ui-state-active"),t.removeclass("ui-tabs-hide"),this.element.queue("tabs",function(){s._trigger("show",null,s._ui(s.anchors[0],s.panels[0]))}),this.load(0)),this._trigger("add",null,this._ui(this.anchors[i],this.panels[i])),this},remove:function b(i){i=this._getindex(i);var t=this.options,e=this.lis.eq(i).remove(),s=this.panels.eq(i).remove();return e.hasclass("ui-tabs-selected")&&1 li"),e=-1,s=!1,r=!1,l=0;function h(t){if(0").attr("id","g_top_lefttopcover").addclass("g_topbar_marquee_cover"),e=g("
    ").attr("id","g_top_righttopcover").addclass("g_topbar_marquee_cover"),g("body").append(t),t.offset({top:a.offset().top-1,left:a.offset().left}),g("body").append(e),e.offset({top:a.offset().top-1,left:a.offset().left+a.width()-1}))}function p(){r=!1,1!=a.data("marquee.showing")&&c(o.filter("."+n.cssshowing),1),n.hoverchange&&(a.removeclass("unfoldmarquee").addclass("marquee"),g("#g_top_lefttopcover").remove(),g("#g_top_righttopcover").remove())}function f(t){return t.outerwidth()>a.innerwidth()}function m(){if(++e>=o.length){if(!isnan(n.loop)&&0=n.loop)return!1;e=0}h(e)}g.data(a[0],"marquee",i),this.pause=function(){s=!0,u()},this.resume=function(){s=!1,p()},this.update=function(){var t=o.length;o=a.find("> li"),t<=1&&p()},n.pauseonhover&&a.hover(function(){return!s&&void u()},function(){return!s&&void p()}),g.isfunction(n.init)&&n.init.apply(i,[a,n]),m()},g.marquee.defaults={yscroll:"top",showspeed:850,scrollspeed:12,pausespeed:5e3,pauseonhover:!0,loop:-1,fxeasingshow:"swing",fxeasingscroll:"linear",cssshowing:"marquee-showing",init:null,beforeshow:null,show:null,aftershow:null,hoverchange:!1}}(jquery),function(m){function i(t,e,i){if(null==e||null==i||null==t||e.width<=0||e.height<=0||i.width<=0||i.height<=0||""==t)return t;if(-1i.width&&(n=e.width/i.width,i.width*=n,i.height*=n),e.height>i.height&&(n=e.height/i.height,i.width*=n,i.height*=n),0==(s=(s=i.width>=i.height?i.width:i.height)<=60?60:s<=100?100:s<=160?160:s<=200?200:s<=300?300:s<=400?400:s<=500?500:s<=600?600:s<=700?700:s<=800?800:s<=900?900:s<=1500?1500:s<=2e3?2e3:0))return t;var n=t.lastindexof("/");if(n<0)return t;i=t.lastindexof(".");if(i').css({position:"absolute",display:"none",zindex:2,height:"30px","line-height":"30px",width:m.browser.msie&&6==m.browser.version?m(i).parent().parent().width()+"px":m(i).parent().width()+"px"}).appendto(i);0==e&&l.css("visibility","hidden"),s.showimagename?l.css("display","block"):l.remove();var h,t="none";1').css({position:"absolute",zindex:3,display:t}).appendto(i)),m("
    ").appendto(i);var a,c,d=m('
    ').css({width:s.width<=i.width()?s.width:"100%",position:"relative",overflow:"hidden"}).height(-1!="y,show-y".indexof(s.animatestyle)?o*e:o).appendto(i),u=0,p="100%";0==s.btntype&&(s.animatestyle="x"),m.each(s.data,function(t,e){var i="onclick='";null!=e.click&&(i+=e.click);e.href?jz.getisopenremoveurlarg()&&e.podreqargs&&(i+=jz.createurlargsonclickstr(e.podreqargs,!1)):i+="return false;";var s,n=r==t?"absolute":"",a=m('").css({width:p,height:o+"px",cursor:e.href?"pointer":"default","background-position":s.position,"background-repeat":s.repeat,overflow:"hidden",position:n,display:"block","float":-1!="x,show-x".indexof(s.animatestyle)?"left":""}).attr({id:"photolist"+(e.pic||t),href:e.href||"javascript:;",target:e.target||"",title:e.tip||""}).appendto(d),i={width:e.width,height:e.height},n={width:e.widthor,height:e.heightor};e.width&&0"):a.html(""+e.name+""):a.css("background-image","url("+e.src+")"),1==s.btntype?s=m('').appendto(h).html(""+(t+1)+""):2==s.btntype&&(s=m('').appendto(h));e=m('').appendto(l).css("margin-left","10px").html(fai.encodehtml(e.name));0!=s.btntype&&t==r&&(1==s.btntype?s.addclass("imageswitchbtnsel"):s.addclass("imageswitchbtnsel_dot"),e.addclass("spanshowname")),1==s.btntype&&(u+=m(s).outerwidth(!0))}),0==s.btntype&&1').appendto(i).css("position","absolute").css("zindex",3),c=m('').appendto(i).css("position","absolute").css("zindex",3)),1==s.btntype&&h.width(u);var f=i.parent(),m=f.width();m.browser.msie&&6==m.browser.version&&(m=f.parent().width());var g,v,_,b,t=f.height();"module"==s.from?m>s.width&&(m=s.width):(m=m>s.width?s.width+(m-s.width)/2:m)>i.width()&&(m=i.width()),o=i.width()?h.css("right","0px"):(h.css("right","50%"),h.css("marginright","-"+s/2+"px")):2==s.btntype&&(h.css("left","50%"),h.css("marginleft","-"+h.width()/2+"px")):h.css("left",m-u+"px"):(f=i.width()-s,s<=i.width()?f-=.5*f:f=0,a.css("left",f),c.css("right",f))),0!=s.btntype?(g=h.children("a"),v=d.children("a")):(_=c,b=a);var w,y,k,x,d,t=l.children("span"),m=m-u;function c(){if(0
    ',t/3,t/2-t/6)).find(":last").css("opacity",.5))},200);var x=function x(){null!==e&&(e.remove(),e=null)};this.removebits=function(){_&&(_.remove(),_=null),b&&(b.remove(),b=null),w&&(w.remove(),w=null),x(),d(".cloud-zoom-loading",l.parent()).remove()},this.destroy=function(){l.data("zoom",null),i&&(i.unbind(),i.remove(),i=null),v&&(v.remove(),v=null),this.removebits()},this.fadedout=function(){v&&(v.remove(),v=null),this.removebits()},this.controlloop=function(t){var e,i,s;_&&(e=p-g.offset().left-.5*d>>0,i=f-g.offset().top-.5*u>>0,e<0?e=0:e>g.parent().outerwidth()-d&&(e=g.parent().outerwidth()-d),i<0?i=0:i>g.parent().outerheight()-u&&(i=g.parent().outerheight()-u),_.css({left:e,top:i}),_.css("background-position",-e+"px "+-i+"px"),a=e/g.parent().outerwidth()*c.width>>0,o=i/g.parent().outerheight()*c.height>>0,y+=(a-y)/h.smoothmove,r+=(o-r)/h.smoothmove,h.imagewidth>0)+"px "+-(r>>0)+"px")),n=settimeout(function(){var t=!1;k.controlloop(t)},30)},this.init2=function(t,e){1===e&&(c=t),2===++s&&this.init()},this.init=function(){d(".cloud-zoom-loading",l.parent()).remove(),l.parent().find(".mousetrap").remove();var t=h.imagewidth,e=h.imageheight;if(i=l.parent().append(t("
    ",g.parent().outerwidth(),g.parent().outerheight(),0,0)).find(":last"),e<=h.maxheight&&t<=h.maxwidth)return!1;l.parent().find("img").bind("mousemove",this,function(t){p=t.pagex,f=t.pagey,i&&i.mouseenter()}),l.parent().find("img").bind("mouseleave",this,function(t){return cleartimeout(n),_&&_.fadeout(299),b&&b.fadeout(299),w&&w.fadeout(299),v&&v.fadeout(300,function(){k.fadedout()}),!1}),i.bind("mousemove",this,function(t){p=t.pagex,f=t.pagey}),i.bind("mouseleave",this,function(t){return cleartimeout(n),_&&_.fadeout(299),b&&b.fadeout(299),w&&w.fadeout(299),v&&v.fadeout(300,function(){k.fadedout()}),!1}),i.bind("mouseenter",this,function(t){p=t.pagex,f=t.pagey,m=t.data,v&&(v.stop(!0,!1),v.remove());var e=h.adjustx,i=h.adjusty,s=g.parent().outerwidth(),n=g.parent().outerheight(),a=h.zoomwidth,o=h.zoomheight;"auto"==h.zoomwidth&&(a=s),"auto"==h.zoomheight&&(o=n);var r=l.parent();switch(h.position){case"top":i-=o;break;case"right":e+=s;break;case"bottom":i+=n;break;case"left":e-=a;break;case"inside":a=s,o=n;break;default:(r=d("#"+h.position)).length?(a=r.innerwidth(),o=r.innerheight()):(r=l,e+=s,i+=n)}v=r.append(t('',e,i,a,o,c.src)).find(":last"),g.attr("title")&&h.showtitle&&v.append(t('
    %0
    ',g.attr("title"))).find(":last").css("opacity",h.titleopacity),v.fadein(500),_&&(_.remove(),_=null),d=g.parent().outerwidth()/c.width*v.width(),u=g.parent().outerheight()/c.height*v.height(),_=l.append(t("",d,u)).find(":last");t=!1;h.tint&&(_.css("background",'url("'+g.attr("src")+'")'),(b=l.append(t('
    ',g.parent().outerwidth(),g.parent().outerheight(),h.tint)).find(":last")).css("opacity",h.tintopacity),t=!0,b.fadein(500)),h.softfocus&&(_.css("background",'url("'+g.attr("src")+'")'),(w=l.append(t('
    ',g.parent().outerwidth()-2,g.parent().outerheight()-2,h.tint)).find(":last")).css("background",'url("'+g.attr("src")+'")'),w.css("opacity",.5),t=!0,w.fadein(500)),t||_.css("opacity",h.lensopacity),"inside"!==h.position&&_.fadein(500);t=!0;m.controlloop(t)})},t=new image,d(t).load(function(){k.init2(this,0)}),t.src=g.attr("src"),t=new image,d(t).load(function(){k.init2(this,1)}),t.src=l.attr("href")}d(document).ready(function(){}),d.fn.cloudzoom=function(i){var t={},t=d.extend({},t,i);try{document.execcommand("backgroundimagecache",!1,!0)}catch(e){}return this.each(function(){var t,e;window.eval.call(window,"var\ta = {"+d(this).attr("rel")+"}"),t=a,d(this).is(".cloud-zoom")?(d(this).css({position:"relative",display:"block"}),d("img",d(this)).css({display:"block"}),"wrap"!=d(this).parent().attr("id")&&d(this).wrap('
    '),e=d.extend({},d.fn.cloudzoom.defaults,i),e=d.extend({},e,t),d(this).data("zoom",new s(d(this),e))):d(this).is(".cloud-zoom-gallery")&&(e=d.extend({},t,i),d(this).data("relopts",e))}),this},d.fn.cloudzoom.defaults={zoomwidth:"auto",zoomheight:"auto",position:"right",tint:!1,tintopacity:.5,lensopacity:.5,softfocus:!1,smoothmove:3,showtitle:!0,titleopacity:.5,adjustx:0,adjusty:0}}(jquery),function(i){"undefined"!=typeof jquery.widget&&i.widget("ui.faibutton",{options:{},_create:function s(){var t,e=this,e=(e.options,e.element);i(e).is(":button")&&(void 0!==(t=i(e).attr("extclass"))&&""!=t?e.addclass(t).on("mouseenter",function(){i(this).addclass(t+"-hover")}).on("mouseleave",function(){i(this).removeclass(t+"-hover").removeclass(t+"-active")}).on("mousedown",function(){i(this).addclass(t+"-active")}).on("mouseup",function(){i(this).removeclass(t+"-active")}).on("focus"+this.eventnamespace,function(){i(this).addclass(t+"-hover")}).on("blur"+this.eventnamespace,function(){i(this).removeclass(t+"-hover").removeclass(t+"-active")}):e.on("mouseenter",function(){i(this).addclass("faibutton-hover")}).on("mouseleave",function(){i(this).removeclass("faibutton-hover").removeclass("faibutton-active")}).on("mousedown",function(){i(this).addclass("faibutton-active")}).on("mouseup",function(){i(this).removeclass("faibutton-active")}).on("focus"+this.eventnamespace,function(){i(this).addclass("faibutton-hover")}).on("blur"+this.eventnamespace,function(){i(this).removeclass(t+"-hover").removeclass("faibutton-active")}))},_setoption:function n(t,e){this.options[t]=e},disable:function a(){var t=this,e=(t.options,t.element);i(e).is(":button")&&(void 0!==(t=i(e).attr("extclass"))&&""!=t?i(e).prop("disabled",!0).addclass(t+"-disabled"):i(e).prop("disabled",!0).addclass("faibutton-disabled"))},enable:function o(){var t=this,e=(t.options,t.element);i(e).is(":button")&&(void 0!==(t=i(e).attr("extclass"))&&""!=t?i(e).prop("disabled",!1).removeclass(t+"-disabled"):i(e).prop("disabled",!1).removeclass("faibutton-disabled"))}})}(jquery);var jplaceholder={_check:function _check(){return"placeholder"in document.createelement("input")},init:function init(){this._check()||this.fix()},fix:function fix(){jquery(":input[placeholder]").each(function(t,e){var i,s=$(this),n=s.attr("placeholder"),a=s.position(),o=s.outerheight(!0),r=(s.outerwidth(!0),s.css("padding-left"),s.css("padding-top")),r=parseint(o/4);i=("textarea"==s[0].nodename?$("").text(n).css({position:"absolute",left:a.left,top:a.top,lineheight:"26px",paddingleft:8,paddingtop:0}):$("").text(n).css({position:"absolute",left:a.left,top:a.top,height:o,lineheight:o,paddingleft:8,paddingtop:r})).appendto(s.parent()),s.focusin(function(t){}).focusout(function(t){s.val()||i.show()}),s.keydown(function(t){i.hide(),s.focus()}),i.click(function(){s.focus()})})}};jquery(function(){jplaceholder.init()}),function(t){var i=t.ui.resizable.prototype._setoption;t.ui.resizable.prototype._setoption=function(t,e){i.apply(this,arguments),"aspectratio"===t&&(this._aspectratio=!!e)}}(jquery),function(n){n.datepicker._base_gototoday=n.datepicker._gototoday,n.datepicker._gototoday=function(t){var e=this._getinst(n(t)[0]),i=e.dpdiv;this._base_gototoday(t);var s=this._get(e,"timepicker");a(s);t=new date,s=new date(t.getfullyear(),t.getmonth(),t.getdate()),t=this._get(e,"houraccuracy")?s:t;this._settime(e,t),n(".ui-datepicker-today",i).click()};var a=function a(t,e){t&&t.timezone_select&&(t._defaults.uselocaltimezone=!0,e=void 0!==e?e:new date,e=n.timepicker.timezoneoffsetstring(e),t._defaults.timezoneiso8601&&(e=e.substring(0,3)+":"+e.substring(3)),t.timezone_select.val(e))};n.datepicker._settime=function(t,e){var i,s=this._get(t,"timepicker");s&&(i=s._defaults,s.hour=e?e.gethours():i.hour,s.minute=e?e.getminutes():i.minute,s.second=e?e.getseconds():i.second,s.millisec=e?e.getmilliseconds():i.millisec,s._limitminmaxdatetime(t,!0),s._ontimechange(),s._updatedatetime(t))}}(jquery),function(f,n,t,m){var s="stellar",i={scrollproperty:"scroll",positionproperty:"position",horizontalscrolling:!0,verticalscrolling:!0,horizontaloffset:0,verticaloffset:0,responsive:!1,parallaxbackgrounds:!0,parallaxelements:!0,hidedistantelements:!0,hideelement:function c(t){t.hide()},showelement:function d(t){t.show()}},r={scroll:{getleft:function u(t){return t.scrollleft()},setleft:function p(t,e){t.scrollleft(e)},gettop:function _(t){return t.scrolltop()},settop:function b(t,e){t.scrolltop(e)}},position:{getleft:function u(t){return-1*parseint(t.css("left"),10)},gettop:function _(t){return-1*parseint(t.css("top"),10)}},margin:{getleft:function u(t){return-1*parseint(t.css("margin-left"),10)},gettop:function _(t){return-1*parseint(t.css("margin-top"),10)}},transform:{getleft:function u(t){t=getcomputedstyle(t[0])[a];return"none"!==t?-1*parseint(t.match(/(-?[0-9]+)/g)[4],10):0},gettop:function _(t){t=getcomputedstyle(t[0])[a];return"none"!==t?-1*parseint(t.match(/(-?[0-9]+)/g)[5],10):0}}},l={position:{setleft:function p(t,e){t.css("left",e)},settop:function b(t,e){t.css("top",e)}},transform:{setposition:function w(t,e,i,s,n){t[0].style[a]="translate3d("+(e-i)+"px, "+(s-n)+"px, 0)"}}},a=function(){var t,e=/^(moz|webkit|khtml|o|ms|icab)(?=[a-z])/,i=f("script")[0].style,s="";for(t in i)if(e.test(t)){s=t.match(e)[0];break}return"webkitopacity"in i&&(s="webkit"),"khtmlopacity"in i&&(s="khtml"),function(t){return s+(0",{style:"background:#fff"}).css("background-position-x")!==m,g=e?function(t,e,i){t.css({"background-position-x":e,"background-position-y":i})}:function(t,e,i){t.css("background-position",e+" "+i)},v=e?function(t){return[t.css("background-position-x"),t.css("background-position-y")]}:function(t){return t.css("background-position").split(" ")},o=n.requestanimationframe||n.webkitrequestanimationframe||n.mozrequestanimationframe||n.orequestanimationframe||n.msrequestanimationframe||function(t){settimeout(t,1e3/60)};function h(t,e){this.element=t,this.options=f.extend({},i,e),this._defaults=i,this._name=s,this.init()}h.prototype={init:function init(){this.options.name=s+"_"+math.floor(1e9*math.random()),this._defineelements(),this._definegetters(),this._definesetters(),this._handlewindowloadandresize(),this._detectviewport(),this.refresh({firstload:!0}),"scroll"===this.options.scrollproperty?this._handlescrollevent():this._startanimationloop()},_defineelements:function y(){this.element===t.body&&(this.element=n),this.$scrollelement=f(this.element),this.$element=this.element===n?f("body"):this.$scrollelement,this.$viewportelement=this.options.viewportelement!==m?f(this.options.viewportelement):this.$scrollelement[0]===n||"scroll"===this.options.scrollproperty?this.$scrollelement:this.$scrollelement.parent()},_definegetters:function k(){var t=this,e=r[t.options.scrollproperty];this._getscrollleft=function(){return e.getleft(t.$scrollelement)},this._getscrolltop=function(){return e.gettop(t.$scrollelement)}},_definesetters:function x(){var a=this,t=r[a.options.scrollproperty],o=l[a.options.positionproperty],e=t.setleft,i=t.settop;this._setscrollleft="function"==typeof e?function(t){e(a.$scrollelement,t)}:f.noop,this._setscrolltop="function"==typeof i?function(t){i(a.$scrollelement,t)}:f.noop,this._setposition=o.setposition||function(t,e,i,s,n){a.options.horizontalscrolling&&o.setleft(t,e,i),a.options.verticalscrolling&&o.settop(t,s,n)}},_handlewindowloadandresize:function d(){var t=this,e=f(n);t.options.responsive&&e.bind("load."+this.name,function(){t.refresh()}),e.bind("resize."+this.name,function(){t._detectviewport(),t.options.responsive&&t.refresh()})},refresh:function t(t){var i=this,e=i._getscrollleft(),s=i._getscrolltop();t&&t.firstload||this._reset(),this._setscrollleft(0),this._setscrolltop(0),this._setoffsets(),this._findparticles(),this._findbackgrounds(),t&&t.firstload&&/webkit/.test(navigator.useragent)&&f(n).load(function(){var t=i._getscrollleft(),e=i._getscrolltop();i._setscrollleft(t+1),i._setscrolltop(e+1),i._setscrollleft(t),i._setscrolltop(e)}),this._setscrollleft(e),this._setscrolltop(s)},_detectviewport:function c(){var t=this.$viewportelement.offset(),e=null!==t&&t!==m;this.viewportwidth=this.$viewportelement.width(),this.viewportheight=this.$viewportelement.height(),this.viewportoffsettop=e?t.top:0,this.viewportoffsetleft=e?t.left:0},_findparticles:function s(){var p=this;this._getscrollleft(),this._getscrolltop();if(this.particles!==m)for(var t=this.particles.length-1;0<=t;t--)this.particles[t].$element.data("stellar-elementisactive",m);this.particles=[],this.options.parallaxelements&&this.$element.find("[data-stellar-ratio]").each(function(t){var e,i,s,n,a,o,r,l=f(this),h=0,c=0,d=0,u=0;if(l.data("stellar-elementisactive")){if(l.data("stellar-elementisactive")!==this)return}else l.data("stellar-elementisactive",this);p.options.showelement(l),l.data("stellar-startingleft")?(l.css("left",l.data("stellar-startingleft")),l.css("top",l.data("stellar-startingtop"))):(l.data("stellar-startingleft",l.css("left")),l.data("stellar-startingtop",l.css("top"))),e=l.position().left,i=l.position().top,s="auto"===l.css("margin-left")?0:parseint(l.css("margin-left"),10),n="auto"===l.css("margin-top")?0:parseint(l.css("margin-top"),10),o=l.offset().left-s,r=l.offset().top-n,l.parents().each(function(){var t=f(this);if(!0===t.data("stellar-offset-parent"))return h=d,c=u,a=t,!1;d+=t.position().left,u+=t.position().top}),s=l.data("stellar-horizontal-offset")!==m?l.data("stellar-horizontal-offset"):a!==m&&a.data("stellar-horizontal-offset")!==m?a.data("stellar-horizontal-offset"):p.horizontaloffset,n=l.data("stellar-vertical-offset")!==m?l.data("stellar-vertical-offset"):a!==m&&a.data("stellar-vertical-offset")!==m?a.data("stellar-vertical-offset"):p.verticaloffset,p.particles.push({$element:l,$offsetparent:a,isfixed:"fixed"===l.css("position"),horizontaloffset:s,verticaloffset:n,startingpositionleft:e,startingpositiontop:i,startingoffsetleft:o,startingoffsettop:r,parentoffsetleft:h,parentoffsettop:c,stellarratio:l.data("stellar-ratio")!==m?l.data("stellar-ratio"):1,width:l.outerwidth(!0),height:l.outerheight(!0),ishidden:!1})})},_findbackgrounds:function m(){var t,d=this,u=this._getscrollleft(),p=this._getscrolltop();this.backgrounds=[],this.options.parallaxbackgrounds&&(t=this.$element.find("[data-stellar-background-ratio]"),(t=this.$element.data("stellar-background-ratio")?t.add(this.$element):t).each(function(){var t,e,i,s,n,a=f(this),o=v(a),r=0,l=0,h=0,c=0;if(a.data("stellar-backgroundisactive")){if(a.data("stellar-backgroundisactive")!==this)return}else a.data("stellar-backgroundisactive",this);a.data("stellar-backgroundstartingleft")?g(a,a.data("stellar-backgroundstartingleft"),a.data("stellar-backgroundstartingtop")):(a.data("stellar-backgroundstartingleft",o[0]),a.data("stellar-backgroundstartingtop",o[1])),t="auto"===a.css("margin-left")?0:parseint(a.css("margin-left"),10),e="auto"===a.css("margin-top")?0:parseint(a.css("margin-top"),10),i=a.offset().left-t-u,s=a.offset().top-e-p,a.parents().each(function(){var t=f(this);if(!0===t.data("stellar-offset-parent"))return r=h,l=c,n=t,!1;h+=t.position().left,c+=t.position().top}),t=a.data("stellar-horizontal-offset")!==m?a.data("stellar-horizontal-offset"):n!==m&&n.data("stellar-horizontal-offset")!==m?n.data("stellar-horizontal-offset"):d.horizontaloffset,e=a.data("stellar-vertical-offset")!==m?a.data("stellar-vertical-offset"):n!==m&&n.data("stellar-vertical-offset")!==m?n.data("stellar-vertical-offset"):d.verticaloffset,d.backgrounds.push({$element:a,$offsetparent:n,isfixed:"fixed"===a.css("background-attachment"),horizontaloffset:t,verticaloffset:e,startingvalueleft:o[0],startingvaluetop:o[1],startingbackgroundpositionleft:isnan(parseint(o[0],10))?0:parseint(o[0],10),startingbackgroundpositiontop:isnan(parseint(o[1],10))?0:parseint(o[1],10),startingpositionleft:a.position().left,startingpositiontop:a.position().top,startingoffsetleft:i,startingoffsettop:s,parentoffsetleft:r,parentoffsettop:l,stellarratio:a.data("stellar-background-ratio")===m?1:a.data("stellar-background-ratio")})}))},_reset:function i(){for(var t,e,i,s,n=this.particles.length-1;0<=n;n--)e=(t=this.particles[n]).$element.data("stellar-startingleft"),i=t.$element.data("stellar-startingtop"),this._setposition(t.$element,e,e,i,i),this.options.showelement(t.$element),t.$element.data("stellar-startingleft",null).data("stellar-elementisactive",null).data("stellar-backgroundisactive",null);for(n=this.backgrounds.length-1;0<=n;n--)(s=this.backgrounds[n]).$element.data("stellar-backgroundstartingleft",null).data("stellar-backgroundstartingtop",null),g(s.$element,s.startingvalueleft,s.startingvaluetop)},destroy:function p(){this._reset(),this.$scrollelement.unbind("resize."+this.name).unbind("scroll."+this.name),this._animationloop=f.noop,f(n).unbind("load."+this.name).unbind("resize."+this.name)},_setoffsets:function z(){var t=this,e=f(n);e.unbind("resize.horizontal-"+this.name).unbind("resize.vertical-"+this.name),"function"==typeof this.options.horizontaloffset?(this.horizontaloffset=this.options.horizontaloffset(),e.bind("resize.horizontal-"+this.name,function(){t.horizontaloffset=t.options.horizontaloffset()})):this.horizontaloffset=this.options.horizontaloffset,"function"==typeof this.options.verticaloffset?(this.verticaloffset=this.options.verticaloffset(),e.bind("resize.vertical-"+this.name,function(){t.verticaloffset=t.options.verticaloffset()})):this.verticaloffset=this.options.verticaloffset},_repositionelements:function o(){var t,e,i,s,n,a,o,r=this._getscrollleft(),l=this._getscrolltop(),h=!0,c=!0;if(this.currentscrollleft!==r||this.currentscrolltop!==l||this.currentwidth!==this.viewportwidth||this.currentheight!==this.viewportheight){for(this.currentscrollleft=r,this.currentscrolltop=l,this.currentwidth=this.viewportwidth,this.currentheight=this.viewportheight,d=this.particles.length-1;0<=d;d--)e=(t=this.particles[d]).isfixed?1:0,a=this.options.horizontalscrolling?(s=(r+t.horizontaloffset+this.viewportoffsetleft+t.startingpositionleft-t.startingoffsetleft+t.parentoffsetleft)*-(t.stellarratio+e-1)+t.startingpositionleft)-t.startingpositionleft+t.startingoffsetleft:(s=t.startingpositionleft,t.startingoffsetleft),o=this.options.verticalscrolling?(n=(l+t.verticaloffset+this.viewportoffsettop+t.startingpositiontop-t.startingoffsettop+t.parentoffsettop)*-(t.stellarratio+e-1)+t.startingpositiontop)-t.startingpositiontop+t.startingoffsettop:(n=t.startingpositiontop,t.startingoffsettop),this.options.hidedistantelements&&(c=!this.options.horizontalscrolling||a+t.width>(t.isfixed?0:r)&&a<(t.isfixed?0:r)+this.viewportwidth+this.viewportoffsetleft,h=!this.options.verticalscrolling||o+t.height>(t.isfixed?0:l)&&o<(t.isfixed?0:l)+this.viewportheight+this.viewportoffsettop),c&&h?(t.ishidden&&(this.options.showelement(t.$element),t.ishidden=!1),this._setposition(t.$element,s,t.startingpositionleft,n,t.startingpositiontop)):t.ishidden||(this.options.hideelement(t.$element),t.ishidden=!0);fai.top.$(".floatlefttop").getboundingclientrect().top;for(var d=this.backgrounds.length-1;0<=d;d--)e=(i=this.backgrounds[d]).isfixed?0:1,this.options.horizontalscrolling?(i.horizontaloffset,this.viewportoffsetleft,i.startingoffsetleft,i.parentoffsetleft,i.startingbackgroundpositionleft,i.stellarratio):i.startingvalueleft}},_handlescrollevent:function a(){var t=!1,e=function e(){t=!1},i=function i(){t||(o(e),t=!0)};this.$scrollelement.bind("scroll."+this.name,i),i()},_startanimationloop:function l(){var t=this;this._animationloop=function(){o(t._animationloop)},this._animationloop()}},f.fn[s]=function(e){var i=arguments;return e===m||"object"===_typeof(e)?this.each(function(){f.data(this,"plugin_"+s)||f.data(this,"plugin_"+s,new h(this,e))}):"string"==typeof e&&"_"!==e[0]&&"init"!==e?this.each(function(){var t=f.data(this,"plugin_"+s);t instanceof h&&"function"==typeof t[e]&&t[e].apply(t,array.prototype.slice.call(i,1)),"destroy"===e&&f.data(this,"plugin_"+s,null)}):void 0},f[s]=function(t){var e=f(n);return e.stellar.apply(e,array.prototype.slice.call(arguments,0))},f[s].scrollproperty=r,f[s].positionproperty=l,n.stellar=h}(jquery,this,document),jquery.effects||function(c,a){function s(t){var e;return t&&t.constructor==array&&3==t.length?t:(e=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(t))?[parseint(e[1],10),parseint(e[2],10),parseint(e[3],10)]:(e=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(t))?[2.55*parsefloat(e[1]),2.55*parsefloat(e[2]),2.55*parsefloat(e[3])]:(e=/#([a-fa-f0-9]{2})([a-fa-f0-9]{2})([a-fa-f0-9]{2})/.exec(t))?[parseint(e[1],16),parseint(e[2],16),parseint(e[3],16)]:(e=/#([a-fa-f0-9])([a-fa-f0-9])([a-fa-f0-9])/.exec(t))?[parseint(e[1]+e[1],16),parseint(e[2]+e[2],16),parseint(e[3]+e[3],16)]:(e=/rgba\(0, 0, 0, 0\)/.exec(t))?n.transparent:n[c.trim(t).tolowercase()]}function i(t,e){for(var i;!(""!=(i=(c.curcss||c.css)(t,e))&&"transparent"!=i||c.nodename(t,"body"))&&(e="backgroundcolor",t=t.parentnode););return s(i)}c.effects={},c.each(["backgroundcolor","borderbottomcolor","borderleftcolor","borderrightcolor","bordertopcolor","bordercolor","color","outlinecolor"],function(t,e){c.fx.step[e]=function(t){t.colorinit||(t.start=i(t.elem,e),t.end=s(t.end),t.colorinit=!0),t.elem.style[e]="rgb("+math.max(math.min(parseint(t.pos*(t.end[0]-t.start[0])+t.start[0],10),255),0)+","+math.max(math.min(parseint(t.pos*(t.end[1]-t.start[1])+t.start[1],10),255),0)+","+math.max(math.min(parseint(t.pos*(t.end[2]-t.start[2])+t.start[2],10),255),0)+")"}});var n={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},d=["add","remove","toggle"],o={border:1,borderbottom:1,bordercolor:1,borderleft:1,borderright:1,bordertop:1,borderwidth:1,margin:1,padding:1};function u(){var t,e=document.defaultview?document.defaultview.getcomputedstyle(this,null):this.currentstyle,i={};if(e&&e.length&&e[0]&&e[e[0]])for(var s=e.length;s--;)"string"==typeof e[t=e[s]]&&(i[t.replace(/\-(\w)/g,function(t,e){return e.touppercase()})]=e[t]);else for(t in e)"string"==typeof e[t]&&(i[t]=e[t]);return i}function p(t){var e,i;for(e in t)(null==(i=t[e])||c.isfunction(i)||e in o||/scrollbar/.test(e)||!/color/i.test(e)&&isnan(parsefloat(i)))&&delete t[e];return t}function f(t,e){var i,s={_:0};for(i in e)t[i]!=e[i]&&(s[i]=e[i]);return s}function r(t,e,i,s){return"object"==_typeof(t)&&(s=e,i=null,t=(e=t).effect),c.isfunction(e)&&(s=e,i=null,e={}),"number"!=typeof e&&!c.fx.speeds[e]||(s=i,i=e,e={}),c.isfunction(i)&&(s=i,i=null),e=e||{},i=i||e.duration,[t,e,i=c.fx.off?0:"number"==typeof i?i:i in c.fx.speeds?c.fx.speeds[i]:c.fx.speeds._default,s=s||e.complete]}function l(t){return!(t&&"number"!=typeof t&&!c.fx.speeds[t])||"string"==typeof t&&!c.effects[t]}c.effects.animateclass=function(o,r,l,h){return c.isfunction(l)&&(h=l,l=null),this.queue(function(){var t,i=c(this),e=i.attr("style")||" ",s=p(u.call(this)),n=i.attr("class")||"";c.each(d,function(t,e){o[e]&&i[e+"class"](o[e])}),t=p(u.call(this)),i.attr("class",n),i.animate(f(s,t),{queue:!1,duration:r,easing:l,complete:function a(){c.each(d,function(t,e){o[e]&&i[e+"class"](o[e])}),"object"==_typeof(i.attr("style"))?(i.attr("style").csstext="",i.attr("style").csstext=e):i.attr("style",e),h&&h.apply(this,arguments),c.dequeue(this)}})})},c.fn.extend({_addclass:c.fn.addclass,addclass:function m(t,e,i,s){return e?c.effects.animateclass.apply(this,[{add:t},e,i,s]):this._addclass(t)},_removeclass:c.fn.removeclass,removeclass:function g(t,e,i,s){return e?c.effects.animateclass.apply(this,[{remove:t},e,i,s]):this._removeclass(t)},_toggleclass:c.fn.toggleclass,toggleclass:function v(t,e,i,s,n){return"boolean"==typeof e||e===a?i?c.effects.animateclass.apply(this,[e?{add:t}:{remove:t},i,s,n]):this._toggleclass(t,e):c.effects.animateclass.apply(this,[{toggle:t},e,i,s])},switchclass:function _(t,e,i,s,n){return c.effects.animateclass.apply(this,[{add:e,remove:t},i,s,n])}}),c.extend(c.effects,{version:"@version",save:function b(t,e){for(var i=0;i
    ").addclass("ui-effects-wrapper").css({fontsize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e=document.activeelement;try{e.id}catch(n){e=document.body}return i.wrap(t),i[0]!==e&&!c.contains(i[0],e)||c(e).focus(),t=i.parent(),"static"==i.css("position")?(t.css({position:"relative"}),i.css({position:"relative"})):(c.extend(s,{position:i.css("position"),zindex:i.css("z-index")}),c.each(["top","left","bottom","right"],function(t,e){s[e]=i.css(e),isnan(parseint(s[e],10))&&(s[e]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(s).show()},removewrapper:function d(t){var e,i=document.activeelement;return t.parent().is(".ui-effects-wrapper")?(e=t.parent().replacewith(t),t[0]!==i&&!c.contains(t[0],i)||c(i).focus(),e):t},settransition:function e(s,t,n,a){return a=a||{},c.each(t,function(t,e){var i=s.cssunit(e);0
    "+a.timetext+'
    ",c=0,d=this.units.length;c"+a[e+"text"]+'
    ",a["show"+i]&&0',"hour"==e)for(var u=a[e+"min"];u<=s[e];u+=parseint(a[e+"grid"],10)){n[e]++;var p=a.ampm&&12'+p+""}else for(var f=a[e+"min"];f<=s[e];f+=parseint(a[e+"grid"],10))n[e]++,h+='";h+="
    '+(f<10?"0":"")+f+"
    "}h+=""}h+='
    "+a.timezonetext+"
    ",h+='
    ";var m=s(h+="
    ");!0===a.timeonly&&(m.prepend('
    '+a.timeonlytitle+"
    "),t.find(".ui-datepicker-header, .ui-datepicker-calendar").hide());for(c=0,d=o.units.length;c").find("select"),s.fn.append.apply(this.timezone_select,s.map(a.timezonelist,function(t,e){return s("
    ").appendto(m),v=s("