Type.registerNamespace("Telerik.Web.UI"); Telerik.Web.UI.AttributeCollection=function(a){this._owner=a; this._data={}; this._keys=[]; }; Telerik.Web.UI.AttributeCollection.prototype={getAttribute:function(a){return this._data[a]; },setAttribute:function(b,c){this._add(b,c); var a={}; a[b]=c; this._owner._notifyPropertyChanged("attributes",a); },_add:function(b,a){if(Array.indexOf(this._keys,b)<0){Array.add(this._keys,b); }this._data[b]=a; },removeAttribute:function(a){Array.remove(this._keys,a); delete this._data[a]; },_load:function(c,a){if(a){for(var b=0,e=c.length; b0){b.append(","); }this._serializeWithBuilder(a[j],b); }b.append("]"); }else{if(a.constructor==Date){b.append('"\\/Date('); b.append(a.getTime()); b.append(')\\/"'); break; }var f=[]; var e=0; for(var h in a){if(h.startsWith("$")){continue; }f[e++]=h; }b.append("{"); var k=false; for(j=0; j=" "){if(d==="\\"||d==='"'){b.append("\\"); }b.append(d); }else{switch(d){case"\b":b.append("\\b"); break; case"\f":b.append("\\f"); break; case"\n":b.append("\\n"); break; case"\r":b.append("\\r"); break; case"\t":b.append("\\t"); break; default:b.append("\\u00"); if(d.charCodeAt()<16){b.append("0"); }b.append(d.charCodeAt().toString(16)); }}}}else{b.append(a); }b.append('"'); break; case"boolean":b.append(a.toString()); break; default:b.append("null"); break; }}}; Telerik.Web.UI.ChangeLog=function(){this._opCodeInsert=1; this._opCodeDelete=2; this._opCodeClear=3; this._opCodePropertyChanged=4; this._opCodeReorder=5; this._logEntries=null; }; Telerik.Web.UI.ChangeLog.prototype={initialize:function(){this._logEntries=[]; this._serializedEntries=null; },logInsert:function(b){var a={}; a.Type=this._opCodeInsert; a.Index=b._getHierarchicalIndex(); a.Data=b._getData(); Array.add(this._logEntries,a); },logDelete:function(b){var a={}; a.Type=this._opCodeDelete; a.Index=b._getHierarchicalIndex(); Array.add(this._logEntries,a); },logClear:function(b){var a={}; a.Type=this._opCodeClear; if(b._getHierarchicalIndex){a.Index=b._getHierarchicalIndex(); }Array.add(this._logEntries,a); },logPropertyChanged:function(a,b,c){var d={}; d.Type=this._opCodePropertyChanged; d.Index=a._getHierarchicalIndex(); d.Data={}; d.Data[b]=c; Array.add(this._logEntries,d); },logReorder:function(a,c,b){Array.add(this._logEntries,{Type:this._opCodeReorder,Index:c+"",Data:{NewIndex:b+""}}); },serialize:function(){if(this._logEntries.length==0){if(this._serializedEntries==null){return"[]"; }return this._serializedEntries; }var a=Telerik.Web.JavaScriptSerializer.serialize(this._logEntries); if(this._serializedEntries==null){this._serializedEntries=a; }else{this._serializedEntries=this._serializedEntries.substring(0,this._serializedEntries.length-1)+","+a.substring(1); }this._logEntries=[]; return this._serializedEntries; }}; Telerik.Web.UI.ChangeLog.registerClass("Telerik.Web.UI.ChangeLog"); Type.registerNamespace("Telerik.Web.UI"); Telerik.Web.UI.PropertyBag=function(a){this._data={}; this._owner=a; }; Telerik.Web.UI.PropertyBag.prototype={getValue:function(a,b){var c=this._data[a]; if(typeof(c)==="undefined"){return b; }return c; },setValue:function(a,c,b){this._data[a]=c; if(b){this._owner._notifyPropertyChanged(a,c); }},load:function(a){this._data=a; }}; Telerik.Web.UI.ControlItem=function(){this._element=null; this._parent=null; this._text=null; this._children=null; this._childControlsCreated=false; this._itemData=null; this._control=null; this._properties=new Telerik.Web.UI.PropertyBag(this); }; Telerik.Web.UI.ControlItem.prototype={_shouldNavigate:function(){var a=this.get_navigateUrl(); if(!a){return false; }return !a.endsWith("#"); },_getNavigateUrl:function(){if(this.get_linkElement()){return this._properties.getValue("navigateUrl",this.get_linkElement().getAttribute("href",2)); }return this._properties.getValue("navigateUrl",null); },_initialize:function(b,a){this.set_element(a); this._properties.load(b); if(b.attributes){this.get_attributes()._load(b.attributes); }this._itemData=b.items; },_dispose:function(){if(this._children){this._children.forEach(function(a){a._dispose(); }); }if(this._element){this._element._item=null; this._element=null; }if(this._control){this._control=null; }},_initializeRenderedItem:function(){var b=this._children; if(!b||b.get_count()<1){return; }var e=this._getChildElements(); for(var c=0,a=b.get_count(); c0){a.attributes=this.get_attributes()._data; }return a; },_notifyPropertyChanged:function(b,c){var a=this._getControl(); if(a){a._itemPropertyChanged(this,b,c); }},_loadFromDictionary:function(a,b){if(typeof(a.Text)!="undefined"){this.set_text(a.Text); }if(typeof(a.Value)!="undefined"&&a.Value!==""){this.set_value(a.Value); }if(typeof(a.Enabled)!="undefined"&&a.Enabled!==true){this.set_enabled(a.Enabled); }if(a.Attributes){this.get_attributes()._load(a.Attributes,b); }},_createDomElement:function(){var a=document.createElement("ul"); var b=[]; this._render(b); a.innerHTML=b.join(""); return a.firstChild; }}; Telerik.Web.UI.ControlItem.registerClass("Telerik.Web.UI.ControlItem"); Type.registerNamespace("Telerik.Web.UI"); Telerik.Web.UI.ControlItemCollection=function(a){this._array=new Array(); this._parent=a; this._control=null; }; Telerik.Web.UI.ControlItemCollection.prototype={add:function(b){var a=this._array.length; this.insert(a,b); },insert:function(b,a){var c=a.get_parent(); var d=this._parent._getControl(); if(c){c._getChildren().remove(a); }if(d){d._childInserting(b,a,this._parent); }Array.insert(this._array,b,a); a.set_parent(this._parent); if(d){d._childInserted(b,a,this._parent); d._logInserted(a); }},remove:function(b){var a=this._parent._getControl(); if(a){a._childRemoving(b); }Array.remove(this._array,b); if(a){a._childRemoved(b,this._parent); }b.set_parent(null); b._control=null; },removeAt:function(b){var a=this.getItem(b); if(a){this.remove(a); }},clear:function(){var a=this._parent._getControl(); if(a){a._logClearing(this._parent); a._childrenCleared(this._parent); }this._array=new Array(); },get_count:function(){return this._array.length; },getItem:function(a){return this._array[a]; },indexOf:function(a){for(var b=0,c=this._array.length; b0){d=false; break; }}if(d){this._element._events=null; }}}},addHandlerForClassName:function(g,e,f){if(typeof(this._eventMap[g])=="undefined"){this._eventMap[g]={}; if(this._shouldUseEventCapture(g)){var c=this._getDomEventDelegate(); var b=this._element; var a=function(h){return c.call(b,new Sys.UI.DomEvent(h)); }; this._browserHandlers[g]=a; b.addEventListener(g,a,true); }else{$addHandler(this._element,g,this._getDomEventDelegate()); }}var d=this._eventMap[g]; d[e]=f; },addHandlerForClassNames:function(a,c,d){if(!(c instanceof Array)){c=c.split(/[,\s]+/g); }for(var b=0; b0){this._element.style.zIndex=this._targetElement.style.zIndex-1; }this._element.style.position="absolute"; this._element.style.border="0px"; this._element.frameBorder=0; this._element.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)"; this._element.tabIndex=-1; if(!$telerik.isSafari){a.outerHTML=null; }this.updatePosition(); },dispose:function(){if(this._element.parentNode){this._element.parentNode.removeChild(this._element); }this._targetElement=null; this._element=null; },get_targetElement:function(){return this._targetElement; },set_targetElement:function(a){this._targetElement=a; },get_element:function(){return this._element; },updatePosition:function(){this._element.style.top=this._toUnit(this._targetElement.style.top); this._element.style.left=this._toUnit(this._targetElement.style.left); this._element.style.width=this._targetElement.offsetWidth+"px"; this._element.style.height=this._targetElement.offsetHeight+"px"; },_toUnit:function(a){if(!a){return"0px"; }return parseInt(a)+"px"; }}; Telerik.Web.UI.Overlay.registerClass("Telerik.Web.UI.Overlay",null,Sys.IDisposable); Type.registerNamespace("Telerik.Web.UI"); Telerik.Web.UI.SlideDirection=function(){}; Telerik.Web.UI.SlideDirection.prototype={Up:1,Down:2,Left:3,Right:4}; Telerik.Web.UI.SlideDirection.registerEnum("Telerik.Web.UI.SlideDirection"); Telerik.Web.UI.Slide=function(d,c,a,b){this._fps=60; this._animatedElement=d; this._element=d.parentNode; this._expandAnimation=c; this._collapseAnimation=a; this._direction=Telerik.Web.UI.SlideDirection.Down; this._animation=null; this._expanding=null; if(b==null){this._enableOverlay=true; }else{this._enableOverlay=b; }this._events=null; this._overlay=null; this._animationEndedDelegate=null; this._expandAnimationStartedDelegate=null; this._updateOverlayDelegate=null; }; Telerik.Web.UI.Slide.prototype={initialize:function(){if(Telerik.Web.UI.Overlay.IsSupported()&&this._enableOverlay){var a=this.get_animatedElement(); this._overlay=new Telerik.Web.UI.Overlay(a); this._overlay.initialize(); }this._animationEndedDelegate=Function.createDelegate(this,this._animationEnded); this._expandAnimationStartedDelegate=Function.createDelegate(this,this._expandAnimationStarted); this._updateOverlayDelegate=Function.createDelegate(this,this._updateOverlay); },dispose:function(){this._animatedElement=null; this._events=null; this._disposeAnimation(); if(this._overlay){this._overlay.dispose(); this._overlay=null; }this._animationEndedDelegate=null; this._expandAnimationStartedDelegate=null; this._updateOverlayDelegate=null; },get_element:function(){return this._element; },get_animatedElement:function(){return this._animatedElement; },set_animatedElement:function(a){this._animatedElement=a; if(this._overlay){this._overlay.set_targetElement(this._animatedElement); }},get_direction:function(){return this._direction; },set_direction:function(a){this._direction=a; },get_events:function(){if(!this._events){this._events=new Sys.EventHandlerList(); }return this._events; },updateSize:function(){var d=this.get_animatedElement(); var e=this.get_element(); var f=0; if(d.style.top){f=Math.max(parseInt(d.style.top),0); }var a=0; if(d.style.left){a=Math.max(parseInt(d.style.left),0); }var b=d.offsetHeight+f; if(e.style.height!=b+"px"){e.style.height=Math.max(b,0)+"px"; }var c=d.offsetWidth+a; if(e.style.width!=c+"px"){e.style.width=Math.max(c,0)+"px"; }if(this._overlay){this._updateOverlay(); }},show:function(){this._showElement(); },expand:function(){this._expanding=true; this.get_animatedElement().style.visibility="hidden"; this._resetState(true); var a=null; var b=null; switch(this.get_direction()){case Telerik.Web.UI.SlideDirection.Up:case Telerik.Web.UI.SlideDirection.Left:a=parseInt(this._getSize()); b=0; break; case Telerik.Web.UI.SlideDirection.Down:case Telerik.Web.UI.SlideDirection.Right:a=parseInt(this._getPosition()); b=0; break; }if(this._animation){this._animation.stop(); }if((a==b)||(this._expandAnimation.get_type()==Telerik.Web.UI.AnimationType.None)){this._expandAnimationStarted(); this._setPosition(b); this._animationEnded(); this.get_animatedElement().style.visibility="visible"; }else{this._playAnimation(this._expandAnimation,a,b); }},collapse:function(){this._resetState(); this._expanding=false; var b=null; var d=null; var c=parseInt(this._getSize()); var a=parseInt(this._getPosition()); switch(this.get_direction()){case Telerik.Web.UI.SlideDirection.Up:case Telerik.Web.UI.SlideDirection.Left:b=0; d=c; break; case Telerik.Web.UI.SlideDirection.Down:case Telerik.Web.UI.SlideDirection.Right:b=0; d=a-c; break; }if(this._animation){this._animation.stop(); }if((b==d)||(this._collapseAnimation.get_type()==Telerik.Web.UI.AnimationType.None)){this._setPosition(d); this._animationEnded(); }else{this._playAnimation(this._collapseAnimation,b,d); }},add_collapseAnimationEnded:function(a){this.get_events().addHandler("collapseAnimationEnded",a); },remove_collapseAnimationEnded:function(a){this.get_events().removeHandler("collapseAnimationEnded",a); },add_expandAnimationEnded:function(a){this.get_events().addHandler("expandAnimationEnded",a); },remove_expandAnimationEnded:function(a){this.get_events().removeHandler("expandAnimationEnded",a); },add_expandAnimationStarted:function(a){this.get_events().addHandler("expandAnimationStarted",a); },remove_expandAnimationStarted:function(a){this.get_events().removeHandler("expandAnimationStarted",a); },_playAnimation:function(d,e,a){var c=d.get_duration(); var g=this._getAnimatedStyleProperty(); var b=Telerik.Web.UI.AnimationFunctions.CalculateAnimationPoints(d,e,a,this._fps); var f=this.get_animatedElement(); f.style.visibility="visible"; if(this._animation){this._animation.set_target(f); this._animation.set_duration(c/1000); this._animation.set_propertyKey(g); this._animation.set_values(b); }else{this._animation=new $TWA.DiscreteAnimation(f,c/1000,this._fps,"style",g,b); this._animation.add_started(this._expandAnimationStartedDelegate); this._animation.add_ended(this._animationEndedDelegate); if(this._overlay){this._animation.add_onTick(this._updateOverlayDelegate); }}this._animation.play(); },_animationEnded:function(){if(this._expanding){this.get_element().style.overflow="visible"; this._raiseEvent("expandAnimationEnded",Sys.EventArgs.Empty); }else{this.get_element().style.display="none"; this._raiseEvent("collapseAnimationEnded",Sys.EventArgs.Empty); }if(this._overlay){this._updateOverlay(); }},_expandAnimationStarted:function(){this._raiseEvent("expandAnimationStarted",Sys.EventArgs.Empty); },_updateOverlay:function(){this._overlay.updatePosition(); },_showElement:function(){var a=this.get_animatedElement(); var b=this.get_element(); if(!b){return; }if(!b.style){return; }b.style.display=(b.tagName.toUpperCase()!="TABLE")?"block":""; a.style.display=(a.tagName.toUpperCase()!="TABLE")?"block":""; b.style.overflow="hidden"; },_resetState:function(b){this._stopAnimation(); this._showElement(); if(b){var a=this.get_animatedElement(); switch(this.get_direction()){case Telerik.Web.UI.SlideDirection.Up:a.style.top="0px"; break; case Telerik.Web.UI.SlideDirection.Down:a.style.top=-a.offsetHeight+"px"; break; case Telerik.Web.UI.SlideDirection.Left:a.style.left=a.offsetWidth+"px"; break; case Telerik.Web.UI.SlideDirection.Right:a.style.left=-a.offsetWidth+"px"; break; default:Error.argumentOutOfRange("direction",this.get_direction(),"Slide direction is invalid. Use one of the values in the Telerik.Web.UI.SlideDirection enumeration."); break; }}},_getSize:function(){var a=this.get_animatedElement(); switch(this.get_direction()){case Telerik.Web.UI.SlideDirection.Up:case Telerik.Web.UI.SlideDirection.Down:return a.offsetHeight; break; case Telerik.Web.UI.SlideDirection.Left:case Telerik.Web.UI.SlideDirection.Right:return a.offsetWidth; break; default:return 0; }},_setPosition:function(c){var b=this.get_animatedElement(); var a=this._getAnimatedStyleProperty(); b.style[a]=c; },_getPosition:function(){var a=this.get_animatedElement(); var b=this._getAnimatedStyleProperty(); return a.style[b]; },_getAnimatedStyleProperty:function(){switch(this.get_direction()){case Telerik.Web.UI.SlideDirection.Up:case Telerik.Web.UI.SlideDirection.Down:return"top"; case Telerik.Web.UI.SlideDirection.Left:case Telerik.Web.UI.SlideDirection.Right:return"left"; }},_stopAnimation:function(){if(this._animation){this._animation.stop(); }},_disposeAnimation:function(){if(this._animation){this._animation.dispose(); this._animation=null; }},_raiseEvent:function(a,c){var b=this.get_events().getHandler(a); if(b){if(!c){c=Sys.EventArgs.Empty; }b(this,c); }}}; Telerik.Web.UI.Slide.registerClass("Telerik.Web.UI.Slide",null,Sys.IDisposable); if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();木村飞鸟 中文字幕 国产精品 李崇瑞125集修复视日亚韩一区 视频 视频免费的链接链接免费网站黄页wwwwww链接亚洲免费链接链接