PageSourceSearch

http://www.anpfiff.info/ScriptResource.axd?d=5OoaVfGvam8crmdu70zpY…7S6snxzgFjWCSLUTeiuwCFY1&t=ffffffffca469afc

js anpfiff.info collected 2026-10-02 07:21:16 UTC 35,939 bytes, 858 lines download raw bytes

1(function(a,c){Type.registerNamespace("Telerik.Web");
2Type.registerNamespace("Telerik.Web.UI");
3var b=Telerik.Web.UI;
4b.ModalExtender=function(d,e){this._windowResizeDelegate=null;
5this._windowScrollDelegate=null;
6this._xCoordinate=-1;
7this._yCoordinate=-1;
8this._backgroundElement=null;
9this._foregroundElement=d;
10this._saveTabIndexes=[];
11this._saveAccessKeys=[];
12this._saveDisabledElements=[];
13this._tagWithTabIndex=new Array("A","AREA","BUTTON","INPUT","OBJECT","SELECT","TEXTAREA","IFRAME","SPAN");
14this._tagWithAcessKey=this._tagWithTabIndex;
15this._elementsToDisable=[];
16if(e&&e.enableAriaSupport){this._ariaHiddenStorage=new b.NodeAttributeDataStorage("aria-hidden",{getNodes:e.getNodesToHide,onStore:function(f){f.setAttribute("aria-hidden","true");
17}});
18if(e.trapTabKey){this._tabKeyTrap=new b.TabKeyTrap(d);
19}}};
20b.ModalExtender.prototype={dispose:function(){this.hide();
21this._backgroundElement=null;
22this._foregroundElement=null;
23this._tabKeyTrap&&this._tabKeyTrap.dispose();
24this._tabKeyTrap=c;
25},show:function(){var e=this._getModalOverlay();
26if($telerik.getVisible(e)){return;
27}this._attachWindowHandlers(true);
28var f=this._foregroundElement;
29f.parentNode.appendChild(e);
30this.updateModalOverlayZIndex();
31e.style.display="";
32this._disableElements(this._elementsToDisable);
33this._disableTab();
34this._disableAccesskey();
35var d=this._ariaHiddenStorage;
36var g=this._tabKeyTrap;
37d&&d.store();
38g&&g.trap();
39this._updatePageLayout();
40this._updatePageLayout();
41},updateModalOverlayZIndex:function(){var d=this._getModalOverlay();
42var e=this._foregroundElement;
43var f=$telerik.getCurrentStyle(e,"zIndex");
44if(!isNaN(parseInt(f,10))&&parseInt(f,10)!=0){d.style.zIndex=f-1;
45}},hide:function(){var d=this._ariaHiddenStorage;
46var f=this._tabKeyTrap;
47d&&d.restore();
48f&&f.removeTrap();
49this._restoreTab();
50this._restoreAccessKey();
51this._restoreDisabledElements();
52this._attachWindowHandlers(false);
53var e=this._backgroundElement;
54if(e){if(e.parentNode){e.parentNode.removeChild(e);
55}this._backgroundElement=null;
56}},_getModalOverlay:function(){if(!this._backgroundElement){var d=document.createElement("div");
57d.style.display="none";
58d.style.position="absolute";
59if($telerik.isRightToLeft(this._foregroundElement)){d.style.right="0px";
60}else{d.style.left="0px";
61}d.style.top="0px";
62d.style.zIndex=10000;
63d.style.backgroundColor="#aaaaaa";
64d.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=50)";
65d.style.opacity=".5";
66d.style.MozOpacity=".5";
67d.setAttribute("unselectable","on");
68d.className="TelerikModalOverlay";
69this._backgroundElement=d;
70}return this._backgroundElement;
71},_attachWindowHandlers:function(d){var e=window;
72if(true==d){this._windowResizeDelegate=Function.createDelegate(this,this._updatePageLayout);
73$addHandler(e,"resize",this._windowResizeDelegate);
74this._windowScrollDelegate=Function.createDelegate(this,this._updatePageLayout);
75$addHandler(e,"scroll",this._windowScrollDelegate);
76}else{if(this._windowResizeDelegate){$removeHandler(e,"resize",this._windowResizeDelegate);
77}this._windowResizeDelegate=null;
78if(this._windowScrollDelegate){$removeHandler(e,"scroll",this._windowScrollDelegate);
79}this._windowScrollDelegate=null;
80}},_updatePageLayout:function(){var d=$telerik.getClientBounds();
81var f=d.width;
82var e=d.height;
83var g=this._getModalOverlay();
84g.style.width=Math.max(Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),f)+"px";
85g.style.height=Math.max(Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),e)+"px";
86},_getElementsWithTabIndexes:function(e,f){var g=this;
87var d=$telerik.$(e).find(this._tagWithTabIndex.join(",")).filter(function(){if(this.tabIndex==-1||this.disabled||this===f||$telerik.$.contains(f,this)){return false;
88}if(!$telerik.getVisible(this)){return false;
89}if(this.nodeName=="SPAN"&&!g._hasTabIndexAttribute(this)){return false;
90}return true;
91});
92return $telerik.$.makeArray(d);
93},_getElementsWithAccessKey:function(e,f){var d=$telerik.$(e).find(this._tagWithAcessKey.join(",")).filter(function(){if(!this.accessKey||this.disabled||this===f||$telerik.$.contains(f,this)){return false;
94}if(!$telerik.getVisible(this)){return false;
95}return true;
96});
97return $telerik.$.makeArray(d);
98},_hasTabIndexAttribute:function(e){if(e.hasAttribute){return e.hasAttribute("tabIndex");
99}var d=e.getAttribute("tabIndex");
100if(d==null||d=="undefined"||d===-32768){return false;
101}if(typeof d=="number"&&d!=0){return true;
102}if(d==0){var g=$telerik.getOuterHtml(e),f=g.replace(e.innerHTML);
103return/tabindex=/i.test(f);
104}return false;
105},_getElementsToDisable:function(f,e,g){var d=$telerik.$(e).find(f.join(",")).filter(function(){if(this.disabled||!$telerik.getVisible(this)||this===g||$telerik.$.contains(g,this)){return false;
106}return true;
107});
108return $telerik.$.makeArray(d);
109},_disableElements:function(e){this._saveDisabledElements=[];
110if(!e||e.length==0){return;
111}var d=this._getElementsToDisable(e,document,this._foregroundElement);
112for(var f=0;
113f<d.length;
114f++){d[f].disabled=true;
115this._saveDisabledElements.push(d[f]);
116}},_restoreDisabledElements:function(){for(var d=0;
117d<this._saveDisabledElements.length;
118d++){this._saveDisabledElements[d].disabled=false;
119}},_disableTab:function(){var e=this._getElementsWithTabIndexes(document,this._foregroundElement);
120this._saveTabIndexes=[];
121var g;
122for(g=0;
123g<e.length;
124g++){var d=e[g],h=d.tabIndex,f=this._hasTabIndexAttribute(d);
125this._saveTabIndexes.push({tag:d,index:h,hasAttribute:f});
126d.tabIndex="-1";
127}},_restoreTab:function(){for(var d=0;
128d<this._saveTabIndexes.length;
129d++){var e=this._saveTabIndexes[d].tag;
130e.tabIndex=this._saveTabIndexes[d].index;
131if(!this._saveTabIndexes[d].hasAttribute&&this._hasTabIndexAttribute(e)){e.removeAttribute("tabIndex");
132}}}
132,_disableAccesskey:function(){this._saveAccessKeys=[];
133var e=this._getElementsWithAccessKey(document,this._foregroundElement);
134for(var g=0;
135g<e.length;
136g++){var f=e[g],d=f.accessKey;
137this._saveAccessKeys.push({element:f,accessKey:d});
138f.accessKey="";
139}},_restoreAccessKey:function(){for(var d=0;
140d<this._saveAccessKeys.length;
141d++){this._saveAccessKeys[d].element.accessKey=this._saveAccessKeys[d].accessKey;
142}}};
143b.ModalExtender.registerClass("Telerik.Web.UI.ModalExtender",null);
144})($telerik.$);
145(function(c){Type.registerNamespace("Telerik.Web");
146var a=Telerik.Web;
147var b="";
148Telerik.Web.PositioningMode=function(){throw Error.invalidOperation();
149};
150Telerik.Web.PositioningMode.prototype={Absolute:0,Center:1,BottomLeft:2,BottomRight:3,TopLeft:4,TopRight:5,None:6};
151Telerik.Web.PositioningMode.registerEnum("Telerik.Web.PositioningMode");
152a.PopupAnimation=function(f,g){var d=this;
153var e={easing:b,duration:0,properties:{},callback:null};
154d._element=f||null;
155d.options=$telerik.$.extend(e,g);
156d._inProgress=false;
157};
158a.PopupAnimation.prototype={get_easing:function(){return this.options.easing;
159},set_easing:function(d){this.options.easing=d;
160},get_duration:function(){return this.options.duration;
161},set_duration:function(d){this.options.easing=d;
162},get_properties:function(){return this.options.properties;
163},set_properties:function(d){this.options.properties=d;
164},get_callback:function(){return this.options.callback;
165},set_callback:function(d){this.options.callback=d;
166},get_element:function(){return this._element;
167},set_element:function(d){this._element=d;
168},get_options:function(d){return this.options;
169},set_options:function(d){$telerik.$.extend(this.options,d);
170},isInProgress:function(){return this._inProgress;
171},play:function(){var e=this;
172var d=$telerik.$(e.get_element());
173d.stopTransition();
174e._inProgress=true;
175d.transition(e.get_properties(),e.get_duration(),e.get_easing(),function(g){var f=e.get_callback();
176e._inProgress=false;
177if($telerik.$.isFunction(f)){f();
178}});
179},stop:function(){var d=this;
180$telerik.$(d.get_element()).stopTransition();
181d._inProgress=false;
182}};
183a.PopupAnimation.registerClass("Telerik.Web.PopupAnimation");
184Telerik.Web.PopupBehavior=function(d){var e=this;
185Telerik.Web.PopupBehavior.initializeBase(this,[d]);
186this._x=0;
187this._y=0;
188this._positioningMode=Telerik.Web.PositioningMode.Absolute;
189this._parentElement=null;
190this._parentElementID=null;
191this._moveHandler=null;
192this._firstPopup=true;
193this._originalParent=null;
194this._overlay=false;
195this._keepInScreenBounds=true;
196this._manageVisibility=true;
197e._showAnimation=null;
198e._hideAnimation=null;
199e._useAnimation=false;
200};
201Telerik.Web.PopupBehavior.prototype={initialize:function(){var e=this;
202Telerik.Web.PopupBehavior.callBaseMethod(e,"initialize");
203if(e._useAnimation){var d=e.get_elementToShow();
204e._showAnimation=new a.PopupAnimation(d);
205e._hideAnimation=new a.PopupAnimation(d,{callback:$telerik.$.proxy(e._hide,e)});
206e.hide();
207}e.hide();
208},getPageOffset:function(){var d={x:($telerik.getCorrectScrollLeft(document.documentElement)||$telerik.getCorrectScrollLeft(document.body)),y:(document.documentElement.scrollTop||document.body.scrollTop)};
209return d;
210},pin:function(h){var e=this.get_elementToShow();
211var g=this.getPageOffset();
212var d;
213var f=h?"fixed":"absolute";
214if(e.style.position==f){return;
215}d=$telerik.getBounds(e);
216if(h&&(g.x||g.y)){this._x=d.x-g.x;
217this._y=d.y-g.y;
218$telerik.setLocation(e,{x:this._x,y:this._y});
219}e.style.position=f;
220},center:function(){var e=this.get_elementToShow();
221if(this._manageVisibility){$telerik.setVisible(e,true);
222}var g=$telerik.getClientBounds();
223var f=$telerik.getBounds(e);
224var h=parseInt((g.width-f.width)/2,10);
225var i=parseInt((g.height-f.height)/2,10);
226var d=this.get_parentElement();
227this.set_parentElement(document.documentElement);
228this.set_x(h);
229this.set_y(i);
230this.show();
231this.set_parentElement(d);
232},get_parentElement:function(){if(!this._parentElement&&this._parentElementID){this.set_parentElement($get(this._parentElementID));
233Sys.Debug.assert(this._parentElement!=null,String.format('Couldn\'t find parent element "{0}"',this._parentElementID));
234}return this._parentElement;
235},set_parentElement:function(d){this._parentElement=d;
236},get_parentElementID:function(){if(this._parentElement){return this._parentElement.id;
237}return this._parentElementID;
238},set_parentElementID:function(d){this._parentElementID=d;
239if(this.get_isInitialized()){this.set_parentElement($get(d));
240}},get_positioningMode:function(){return this._positioningMode;
241},set_positioningMode:function(d){this._positioningMode=d;
242},get_x:function(){return this._x;
243},set_x:function(d){if(d!=this._x){this._x=d;
244if($telerik.getVisible(this.get_elementToShow())&&this._manageVisibility){this.show();
245}}},get_y:function(){return this._y;
246},set_y:function(d){if(d!=this._y){this._y=d;
247if($telerik.getVisible(this.get_elementToShow())&&this._manageVisibility){this.show();
248}}},get_overlay:function(){return this._overlay;
249},set_overlay:function(f){this._overlay=f;
250this._attachWindowHandlers(false);
251if(this._overlay){this._attachWindowHandlers(true);
252}else{var e=this.get_elementToShow();
253var d=e._hideWindowedElementsIFrame;
254if(d){d.style.display="none";
255}}},get_manageVisibility:function(){return this._manageVisibility;
256},set_manageVisibility:function(d){this._manageVisibility=d;
257},get_keepInScreenBounds:function(){return this._keepInScreenBounds;
258},set_keepInScreenBounds:function(d){this._keepInScreenBounds=d;
259},get_elementToShow:function(){return this._elementToShow?this._elementToShow:this.get_element
259();
260},set_elementToShow:function(d){if(this._elementToShow){this._detachElementToShow();
261}this._elementToShow=d;
262},get_showAnimation:function(){return this._showAnimation;
263},set_showAnimation:function(d){if(this._showAnimation){this._showAnimation.set_options(d);
264}},get_hideAnimation:function(){return this._hideAnimation;
265},set_hideAnimation:function(d){if(this._hideAnimation){this._hideAnimation.set_options(d);
266}},_detachElementToShow:function(){var d=this.get_elementToShow();
267if(this._moveHandler){$telerik.removeExternalHandler(d,"move",this._moveHandler);
268this._moveHandler=null;
269}var f=d._hideWindowedElementsIFrame;
270if(f){var g=f.parentNode;
271var e=f.nextSibling;
272if(g){g.removeChild(f);
273if(e){g.insertBefore(document.createElement("span"),e);
274}else{g.appendChild(document.createElement("span"));
275}}}},show:function(){var o=this;
276var f=this.get_elementToShow();
277var q=$telerik.getVisible(f);
278if(o.get_positioningMode()!==Telerik.Web.PositioningMode.None){f.style.position="absolute";
279}var e=document.documentElement;
280if($telerik.isFirefox){var m=$telerik.getCurrentStyle(e,"overflow");
281if("hidden"==m){f.style.left=e.scrollLeft+"px";
282f.style.top=e.scrollLeft+"px";
283}}var h=this._manageVisibility;
284if(h&&!q){$telerik.setVisible(f,true);
285}var j=f.offsetParent||e;
286var k=$telerik.getBounds(j);
287if(h&&!q){$telerik.setVisible(f,false);
288}var d;
289var n;
290if(this._parentElement){n=$telerik.getBounds(this._parentElement);
291var l=this._getOffsetParentLocation(j);
292d={x:n.x-l.x,y:n.y-l.y};
293}else{n=k;
294d={x:0,y:0};
295}if(h){$telerik.setVisible(f,true);
296}if(o._useAnimation){o.get_showAnimation().play();
297return;
298}
298var r=Math.max(f.offsetWidth-(f.clientLeft?f.clientLeft*2:0),0);
299var g=Math.max(f.offsetHeight-(f.clientTop?f.clientTop*2:0),0);
300var p;
301switch(this._positioningMode){case Telerik.Web.PositioningMode.Center:p={x:Math.round(n.width/2-r/2),y:Math.round(n.height/2-g/2)};
302break;
303case Telerik.Web.PositioningMode.BottomLeft:p={x:0,y:n.height};
304break;
305case Telerik.Web.PositioningMode.BottomRight:p={x:n.width-r,y:n.height};
306break;
307case Telerik.Web.PositioningMode.TopLeft:p={x:0,y:-f.offsetHeight};
308break;
309case Telerik.Web.PositioningMode.TopRight:p={x:n.width-r,y:-f.offsetHeight};
310break;
311default:p={x:0,y:0};
312}p.x+=this._x+d.x;
313p.y+=this._y+d.y;
314$telerik.setLocation(f,p);
315if(this._firstPopup){f.style.width=r+"px";
316}this._firstPopup=false;
317var i=this._fixPositionInBounds();
318this._createOverlay(i);
319},hide:function(){var d=this;
320var e=d.get_showAnimation();
321if(d._useAnimation){if(!e.isInProgress()){d._hideAnimation.play();
322}}else{this._hide();
323}},_hide:function(){var e=this.get_elementToShow();
324if(this._manageVisibility){$telerik.setVisible(e,false);
325}if(e.originalWidth){e.style.width=e.originalWidth+"px";
326e.originalWidth=null;
327}if(Sys.Browser.agent===Sys.Browser.InternetExplorer||this._overlay){var d=e._hideWindowedElementsIFrame;
328if(d){d.style.display="none";
329}}},_getViewportBounds:function(){var e=$telerik.getClientBounds();
330var f=document.documentElement;
331var d=document.body;
332e.scrollLeft=$telerik.isMobileSafari?window.pageXOffset:($telerik.getCorrectScrollLeft(f)||$telerik.getCorrectScrollLeft(d));
333e.scrollTop=$telerik.isMobileSafari?window.pageYOffset:(f.scrollTop||d.scrollTop);
334return e;
335},_getOffsetParentLocation:function(d){if(d&&d.tagName.toUpperCase()!="BODY"&&d.tagName.toUpperCase()!="HTML"){var f=$telerik.getLocation(d);
336var e=$telerik.getBorderBox(d);
337f.x+=e.top;
338f.y+=e.left;
339f.x-=$telerik.getCorrectScrollLeft(d);
340f.y-=d.scrollTop;
341return f;
342}return{x:0,y:0};
343},_fixPositionInBounds:function(){var f=this.get_elementToShow();
344var m=$telerik.getBounds(f);
345if(!this._keepInScreenBounds){return m;
346}var e=this._getViewportBounds();
347var p=false;
348var h=(e.width>m.width);
349var g=(e.height>m.height);
350var o=e.scrollTop;
351var d=e.height+o;
352var j=e.scrollLeft;
353var n=e.width+j;
354if(($telerik.isIE8||$telerik.isOpera||$telerik.isSafari)&&$telerik.isRightToLeft(document.body)){var l=f.style.display;
355if($telerik.isOpera){f.style.display="none";
356}var i=document.documentElement.scrollWidth;
357n=i?i:document.body.scrollWidth;
358if($telerik.isOpera){f.style.display=l;
359}}if(m.x<j||!h){m.x=j;
360p=true;
361}if(m.y<o||!g){m.y=o;
362p=true;
363}if(h&&(m.x+m.width>n)){m.x=n-m.width;
364p=true;
365}if(g&&(d<m.y+m.height)){m.y=d-m.height;
366p=true;
367}if(p){var k=this._getOffsetParentLocation(f.offsetParent);
368m.y-=k.y;
369m.x-=k.x;
370$telerik.setLocation(f,m);
371}return m;
372},_createOverlay:function(g){if(!this._overlay){return;
373}var f=this.get_elementToShow();
374var e=f._hideWindowedElementsIFrame;
375if(!e){e=document.createElement("iframe");
376e.src="javascript:'<html></html>';";
377e.style.position="absolute";
378e.style.display="none";
379e.scrolling="no";
380e.frameBorder="0";
381e.tabIndex="-1";
382e.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)";
383f.parentNode.insertBefore(e,f);
384f._hideWindowedElementsIFrame=e;
385this._moveHandler=Function.createDelegate(this,this._onMove);
386$telerik.addExternalHandler(f,"move",this._moveHandler);
387}if($telerik.previousElement(e)===f){f.parentNode.insertBefore(e,f);
388}$telerik.setBounds(e,g);
389if($telerik.isFirefox){var d=this._getViewportBounds();
390e.style.top=parseInt(g.y,10)-d.scrollTop+"px";
391e.style.left=parseInt(g.x,10)-d.scrollLeft+"px";
392e.style.position="fixed";
393if($telerik.isFirefox3){e.style.backgroundColor="#fff";
394}}if($telerik.quirksMode){return;
395}e.style.display=f.style.display;
396var h=$telerik.getCurrentStyle(f,"zIndex");
397if(h){e.style.zIndex=h;
398}},_setCoordinates:function(e,f){var d=false;
399if(e!=this._x){this._x=e;
400d=true;
401}if(f!=this._y){this._y=f;
402d=true;
403}if($telerik.getVisible(this.get_elementToShow())&&d&&this._manageVisibility){this.show();
404}},dispose:function(){var d=this.get_elementToShow();
405if(d){this._attachWindowHandlers(false);
406if($telerik.getVisible(d)&&this._manageVisibility){this.hide();
407}if(this._originalParent){d.parentNode.removeChild(d);
408this._originalParent.appendChild(d);
409this._originalParent=null;
410}this._detachElementToShow();
411}this._parentElement=null;
412Telerik.Web.PopupBehavior.callBaseMethod(this,"dispose");
413if(d&&d._behaviors&&d._behaviors.length==0){d._behaviors=null;
414}d=null;
415},_onMove:function(){var e=this.get_elementToShow();
416var f=e._hideWindowedElementsIFrame;
417if(f){if(Sys.Browser.agent===Sys.Browser.Firefox){var d=this._getViewportBounds();
418f.style.top=parseInt(e.style.top,10)-d.scrollTop+"px";
419f.style.left=parseInt(e.style.left,10)-d.scrollLeft+"px";
420f.style.position="fixed";
421}else{f.style.top=e.style.top;
422f.style.left=e.style.left;
423}}},_handleElementResize:function(){var d=this.get_elementToShow();
424var f=d._hideWindowedElementsIFrame;
425if(f){var e=$telerik.getBounds(d);
426$telerik.setBounds(f,e);
427}},_attachWindowHandlers:function(d){if(Sys.Browser.agent!==Sys.Browser.Firefox){return;
428}var e=window;
429if(true==d){this._windowResizeDelegate=Function.createDelegate(this,this._onMove);
430$telerik.addExternalHandler(e,"resize",this._windowResizeDelegate);
431this._windowScrollDelegate=Function.createDelegate(this,this._onMove);
432$telerik.addExternalHandler(e,"scroll",this._windowScrollDelegate);
433}else{if(this._windowResizeDelegate){$telerik.removeExternalHandler(e,"resize",this._windowResizeDelegate);
434}this._windowResizeDelegate=null;
435if(this._windowScrollDelegate){$telerik.removeExternalHandler(e,"scroll",this._windowScrollDelegate);
436}this._windowScrollDelegate=null;
437}}};
438Telerik.Web.PopupBehavior.registerClass("Telerik.Web.PopupBehavior",Sys.UI.Behavior);
439})();
440Type.registerNamespace("Telerik.Web");
441Type.registerNamespace("Telerik.Web.UI");
442(function(l){var a=Telerik.Web.UI,i="pageX",j="pageY",b="clientX",c="clientY",n="x",o="y",f=Math,e=f.floor,k=!!window.PointerEvent,g=!!window.MSPointerEvent;
443var h=".telerikResizeExtender";
444var d="dragstart";
445var m=(function(){var p={};
446p.hasTouch="ontouchstart" in window;
447p.hasPointer=k||g;
448p.hasPointerTouch=!!navigator.msMaxTouchPoints;
449p.isTouch=p.hasTouch||p.hasPointerTouch;
450p._pointers=[];
451return p;
452})();
453a.ResizeExtender=function(s,r,v,w,q,t,p,u){this._document=q?q:document;
454this._documentMouseMoveDelegate=null;
455this._documentMouseUpDelegate=null;
456this._jsOwner=null;
457this._element=null;
458this._tableElement=null;
459this._saveDelegates={};
460this._moveCursorType="move";
461this._moveToMouseLocation=false;
462this._hideIframes=true;
463this._iframeToSkip=null;
464this._enabled=true;
465this._startX=0;
466this._startY=0;
467this._cancelResize=true;
468this._startCursorLocation=null;
469this._autoScrollEnabled=true;
470this._ieTouchActionManager=new a.Helpers.IETouchActionManager(r);
471this._touchEventIdentifier=null;
472this._utils=m;
473this.initialize(s,r,v,w,t,p,u);
474};
475a.ResizeExtender.containsBounds=function(r,p){if(!r||!p){return false;
476}var q=$telerik.containsPoint(r,p.x,p.y);
477if(q){var s=p.x+p.width;
478var t=p.y+p.height;
479q=$telerik.containsPoint(r,s,t);
480}return q;
481};
482a.ResizeExtender.prototype={initialize:function(q,t,u,v,r,p,s){if(!t){return;
483}if(this._element){alert("Element "+t.getAttribute("id")+" cannot be made resizable, as the resizeExtender already has the element "+this._element.getAttribute("id")+" associated with it. You must create a new extender resizer object");
484return;
485}this._jsOwner=q;
486this._element=t;
487this._tableElement=v;
488this._handles=u;
489this._ieTouchActionManager.allowUserTouch();
490if(r){this._moveCursorType=r;
491}if(p!=null){this._autoScrollEnabled=p;
492}if(s!=null){this._moveToMouseLocation=s;
493}this._configureHandleElements(true);
494},dispose:function(){this._ieTouchActionManager.dispose();
495this._attachDocumentHandlers(false);
496this._configureHandleElements(false);
497this._startCursorLocation=null;
498this._iframeToSkip=null;
499this._jsOwner=null;
500this._element=null;
501this._handles=null;
502this._saveDelegates=null;
503this._constraints=null;
504},enable:function(p){this._enabled=p;
505},set_hideIframes:function(p){this._hideIframes=p;
506},get_hideIframes:function(){return this._hideIframes;
507},set_iframeToSkip:function(p){this._iframeToSkip=p;
508},get_iframeToSkip:function(){return this._iframeToSkip;
509},get_constraints:function(){return this._constraints;
510},set_constraints:function(p){this._constraints=p;
511},get_useCssTransform:function(){return this._useCssTransform;
512},set_useCssTransform:function(p){this._useCssTransform=p;
513},_raiseDragEvent:function(r,q,t){var u=this,s=u._jsOwner;
514if(s&&s["on"+r]){var p=q;
515if(!p){p={};
516}p.element=u._element;
517p.ownerEvent=t;
518p.eventIdetifier=u._getTouchEventIdentifier(t);
519return s["on"+r](p);
520}return true;
521},_raiseEvent:function(q,p){var r=this._jsOwner;
522if(r&&r["on"+q]){if(!p){p=new Sys.EventArgs();
523}else{if(q=="Resize"){p=this._resizeDir;
524}else{if(q=="Resizing"){p=this._getProposedBounds(p);
525}}}return r["on"+q](p);
526}return true;
527},_getProposedBounds:function(p){var q=$telerik.getBounds(this._element);
528return{x:p.x||q.x,y:p.y||q.y,width:p.width||q.width,height:p.height||q.height};
529},getPositionedParent:function(){var p=this._element.parentNode;
530while(p&&p!=document){if("static"!=$telerik.getCurrentStyle(p,"position","static")){return p;
531}p=p.parentNode;
532}return null;
533},_storeStartCoords:function(r){var A=this,C=A._utils;
534if(!A._enabled){return;
535}A._cancelResize=false;
536var B=A._getTouchEventLocation(r,A._touchEventIdentifier);
537if(C.isTouch&&B&&B.x&&B.y){A._startX=B.x;
538A._startY=B.y;
539}else{if(r.originalEvent){A._startX=e(r.originalEvent[b]);
540A._startY=e(r.originalEvent[c]);
541}else{A._startX=e(r.clientX);
542A._startY=e(r.clientY);
543}}var t=A._element;
544var s=$telerik.getBounds(t);
545var u=(t.id!=null&&a.RadDock&&a.RadDock.isInstanceOfType($find(t.id)));
546if($telerik.isIE&&u!=true){var y=A.getPositionedParent();
547if(y){s.x+=y.scrollLeft;
548s.y+=y.scrollTop;
549}}A._originalBounds=s;
550var z=r.target?r.target:r.srcElement;
551if(z&&z.type==3){z=z.parentNode;
552}A._resizeType=$telerik.getCurrentStyle(z,"cursor");
553if(!A._resizeType&&r.currentTarget){A._resizeType=$telerik.getCurrentStyle(r.currentTarget,"cursor");
554}A._resizeDir={north:A._resizeType.match(/n.?-/)?1:0,east:A._resizeType.match(/e-/)?1:0,south:A._resizeType.match(/s.?-/)?1:0,west:A._resizeType.match(/w-/)?1:0,move:new RegExp(A._moveCursorType).test(this._resizeType)?1:0};
555A._leftHandleMouseDelta=0;
556if(A._resizeDir.west){A._leftHandleMouseDelta=Math.abs(s.x-this._startX);
557}var q=A._resizeDir.move?A._raiseDragEvent("DragStart",null,r):A._raiseEvent("ResizeStart");
558A._cancelResize=(q==false);
559var x=$telerik.getCurrentStyle(t.parentNode,"position");
560var v=("relative"==x)||("absolute"==x);
561A._offsetLocation=v?$telerik.getLocation(t.parentNode):{x:0,y:0};
562if(A._moveToMouseLocation){var w=$telerik.isTouchDevice?{left:A._startX,top:A._startY}:$telerik.getDocumentRelativeCursorPosition({clientX:this._startX,clientY:this._startY});
563if(v){var p=$telerik.getBorderBox(t.parentNode);
564w.left-=p.left;
565w.top-=p.top;
566}A._startCursorLocation={x:w.left-Math.floor(s.width/2),y:w.top-Math.floor(s.height/2)};
567}if(!A._cancelResize){A._clearSelection();
568A._setIframesVisible(false);
569A._attachDocumentHandlers(false);
570A._attachDocumentHandlers(true);
571}},_getTouchEventLocation:function(q,x){var w=this,u=q.originalEvent?q.originalEvent:null,p=q.changedTouches||(u?u.changedTouches:q.rawEvent?q.rawEvent.changedTouches:false),t=null;
572m._pointers=w._getUniquePointerIds();
573var v=m._pointers;
574var s;
575var r;
576if(m.isTouch){if(u){if(m.hasPointer){s=false;
577for(r=0;
578r<v.length;
579r++){if(v[r].pointerId===x){t={x:v[r][i],y:v[r][j]};
580s=true;
581break;
582}}if(!s){t={x:e(u[i]),y:e(u[j])};
583}}else{if(p&&p[0]){s=false;
584for(r=0;
585r<p.length;
586r++){if(p[r].identifier===x){t={x:p[r][i],y:p[r][j]};
587s=true;
588break;
589}}if(!s){t={x:p[0][i],y:p[0][j]};
590}}else{t={x:e(q.clientX),y:e(q.clientY)};
591}}}else{t={x:e(q.clientX),y:e(q.clientY)};
592}}return t;
593},_getEventClientCoordinates:function(p){if(p.originalEvent){return{x:p.originalEvent[b],y:p.originalEvent[c]};
594}else{return{x:p[b],y:p[c]};
595}},_getIntegerCoordinates:function(p){if(!p||!p.hasOwnProperty(n)||!p.hasOwnProperty(o)){return null;
596}else{return{x:e(p.x),y:e(p.y)};
597}},_getIntegerEventCoordinates:function(q){var s=this,p=s._getEventClientCoordinates(q),r=s._getIntegerCoordinates(p);
598return r;
599},_getTouchEventIdentifier:function(p){var r=this,s=r._utils,q=p.originalEvent?p.originalEvent:null;
600if(s.isTouch){if(q){if(q.targetTouches&&q.targetTouches[0]){return q.targetTouches[0].identifier;
601}else{if(q.pointerId){return q.pointerId;
602}}}else{return null;
603}}return null;
604},_resize:function(s){var C=this,D=C._utils;
605if(!C._enabled||C._cancelResize){return false;
606}var p=C._originalBounds;
607var y=new Telerik.Web.UI.Bounds(0,0,0,0);
608var u=null;
609if(D.isTouch){u=C._getTouchEventLocation(s,C._touchEventIdentifier);
610}else{u=C._getIntegerEventCoordinates(s);
611}if(u===null){return false;
612}var E=u.x-C._startX;
613var F=u.y-C._startY;
614var r=C._resizeDir;
615var v=r.move;
616if(v){var w=C._startCursorLocation;
617if(w){p.x=w.x;
618p.y=w.y;
619C._originalBounds=p;
620C._startCursorLocation=null;
621}y.x=p.x+E;
622y.y=p.y+F;
623var x=C._getMoveConstraints(p);
624if(x){y.x=C._constrainPosition(y.x,x.x,x.width);
625y.y=C._constrainPosition(y.y,x.y,x.height);
626}}else{if(r.east){y.x=p.x;
627y.width=p.width+E;
628}else{if(r.west){y.x=u.x-C._leftHandleMouseDelta;
629y.width=p.width-E;
630}}if(r.south){y.y=p.y;
631y.height=p.height+F;
632}else{if(r.north){y.y=p.y+F;
633y.height=p.height-F;
634}}var B=C._getSizeConstraints(p);
635if(B){y.x=C._constrainPosition(y.x,B.x,Math.min(y.x+y.width,B.width-y.width));
636y.y=C._constrainPosition(y.y,B.y,Math.min(y.y+y.height,B.height-y.height));
637y.width=C._constrainDimension(y.width,B.width-y.x);
638y.height=C._constrainDimension(y.height,B.height-y.y);
639}}var z=C._offsetLocation;
640if(z){y.x-=z.x;
641y.y-=z.y;
642}var A=v?C._raiseDragEvent("Drag",y,s):C._raiseEvent("Resizing",y);
643if(false==A){return true;
644}var t=C._element;
645if(C._useCssTransform&&v){C._lastTouchDelta={x:y.x-p.x+z.x,y:y.y-p.y+z.y};
646var q={x:y.x?C._lastTouchDelta.x:0,y:y.y?C._lastTouchDelta.y:0};
647C._setTranslate(t,q.x,q.y);
648}else{if(v||y.x>0){t.style.left=y.x+"px";
649}if(v||y.y>0){t.style.top=y.y+"px";
650}}if(y.width>0){t.style.width=y.width+"px";
651}if(y.height>0){t.style.height=y.height+"px";
652}if(!v){C._updateInnerTableSize();
653}return true;
654},_setTranslate:function(p,r,t){var q=p.style;
655q.webkitTransform=q.mozTransform=q.OTransform="translate("+r+"px,"+t+"px)";
656},_updateInnerTableSize:function(){var p=this._resizeDir;
657if(p.south||p.north){var q=this._element.style.height;
658var r=this._tableElement;
659if(r){r.style.height=q;
660this._fixIeHeight(r,q);
661}}},_getMoveConstraints:function(p){var q=this._getSizeConstraints();
662if(q){q.width-=p.width;
663q.height-=p.height;
664}return q;
665},_getSizeConstraints:function(p){var q=this._constraints;
666if(!q){return null;
667}var r=q.x+this._offsetLocation.x;
668var s=q.y+this._offsetLocation.y;
669return new Telerik.Web.UI.Bounds(r,s,r+q.width,s+q.height);
670},_constrainPosition:function(r,q,p){return Math.max(q,Math.min(p,r));
671},_constrainDimension:function(q,p){return this._constrainPosition(q,0,p);
672},_fixIeHeight:function(s,q){if("CSS1Compat"==document.compatMode){var p=(s.offsetHeight-parseInt(q,10));
673if(p>0){var r=(parseInt(s.style.height,10)-p);
674if(r>0){s.style.height=r+"px";
675}}}},_setIframesVisible:function(p){if(!this.get_hideIframes()){return;
676}var t=this._document.getElementsByTagName("iframe");
677var u=this.get_iframeToSkip();
678for(var s=0,v=t.length;
679s<v;
680s++){var r=t[s];
681if(u&&(u===r||u==r)){u=null;
682}else{r.style.visibility=p?"":"hidden";
683if($telerik.isIE){try{r.contentWindow.document.body.style.visibility=p?"":"hidden";
684}catch(q){}}}}},_configureHandleElements:function(p){var r=this._handles;
685var s=["nw","n","ne","w","e","sw","s","se",this._moveCursorType];
686for(var t=0,v=s.length;
687t<v;
688t++){var w=s[t];
689var q=r[w];
690if(q){if(Object.prototype.toString.call(q)==="[object Array]"){for(var u=0;
691u<q.length;
692u++){this._configureHandle("id"+t+"_"+u,p,q[u],w);
693}}else{this._configureHandle("id"+t,p,q,w);
694}}}},_configureHandle:function(x,q,t,w){var v=this;
695var p=$telerik.$(t);
696var s=this._saveDelegates;
697var r=s[x]?s[x].delegate:null;
698if(q){if(!r){var u=$telerik.$.proxy(v._onHandleMouseDown,v);
699p.onEvent(a.EventType.Down+h,u);
700p.on(d+h,function(y){y.preventDefault();
701});
702t.style.cursor=(w==this._moveCursorType)?w:w+"-resize";
703s[x]={element:t,delegate:u};
704}}else{if(r){p.offEvent(a.EventType.Down+h,v.delegate);
705p.off(d+h);
706t.style.cursor="";
707delete s[x];
708}}},_attachDocumentHandlers:function(q){var t=this;
709var p=$telerik.$(t._document);
710if(q){t._documentMouseMoveDelegate=$telerik.$.proxy(t._onDocumentMouseMove,t);
711p.onEvent(a.EventType.Move+h,t._documentMouseMoveDelegate);
712t._documentMouseUpDelegate=$telerik.$.proxy(t._onDocumentMouseUp,t);
713p.onEvent(a.EventType.Up+h,t._documentMouseUpDelegate);
714}else{var s=t._documentMouseMoveDelegate;
715if(s){p.offEvent(a.EventType.Move+h,s);
716}
716var r=t._documentMouseUpDelegate;
717if(r){p.offEvent(a.EventType.Up+h,r);
718}t._documentMouseMoveDelegate=null;
719t._documentMouseUpDelegate=null;
720}},_canExecuteTouchEvent:function(p){var s=this,t=s._utils,r=p.originalEvent?p.originalEvent:null,q=null;
721if(t.isTouch){if(r){if(t.hasPointer){if(r.pointerId){q=r.pointerId;
722}}else{if(r.targetTouches&&r.targetTouches[0]){q=r.targetTouches[0].identifier;
723}}if(s._touchEventIdentifier!==null){if(s._touchEventIdentifier!==q){return false;
724}}else{s._touchEventIdentifier=q;
725}return true;
726}else{return true;
727}}else{return true;
728}},_cleanUpPointerTracking:function(p){var s=this;
729if(!m.hasPointer){return;
730}m._pointers=s._getUniquePointerIds();
731var r=m._pointers;
732var q=p.originalEvent?this._indexOfPointer(p.originalEvent.pointerId):null;
733if(q!==null&&q!==-1){r.splice(q,1);
734}},_getUniquePointerIds:function(){var r=m._pointers,s=[],q=null,p=[];
735s=$telerik.$.grep(r,function(t,u){if(!t.pointerId){return false;
736}q=t.pointerId;
737if($telerik.$.inArray(q,p)===-1){p.push(q);
738return true;
739}return false;
740});
741return s;
742},_indexOfPointer:function(q){var r=m._pointers,s=r.length;
743for(var p=0;
744p<s;
745p++){if(q===r[p].pointerId){return p;
746}}return -1;
747},_updatePointer:function(p){var r=this;
748if(!m.hasPointer){return;
749}var q=p.originalEvent?r._indexOfPointer(p.originalEvent.pointerId):null;
750if(q!==null&&q!==-1){if(p.originalEvent.pointerId===r._touchEventIdentifier){m._pointers[q].pageX=e(p.originalEvent.pageX);
751m._pointers[q].pageY=e(p.originalEvent.pageY);
752}}},_onHandleMouseDown:function(q){var s=this,u=s._utils,t=null,r=q.originalEvent,p=true;
753if(u.isTouch){if(r){t=s._getTouchEventIdentifier(q);
754if(t!==null){m._pointers.push({pageX:e(r[i]),pageY:e(r[j]),pointerId:t});
755}p=s._canExecuteTouchEvent(q);
756}else{s._resetTouchIdentifier();
757}}if(p){s._updatePointer(q);
758s._storeStartCoords(q);
759}if(!u.isTouch){return $telerik.cancelRawEvent(q);
760}if(u.isTouch&&u.hasPointer){s._onDocumentMouseMove(q);
761}},_onDocumentMouseMove:function(q){var r=this,t=r._utils,p=true,s;
762if(t.isTouch){p=r._canExecuteTouchEvent(q);
763r._updatePointer(q);
764}if(p){s=r._resize(q);
765}if(r._autoScrollEnabled){r._autoScroll(q);
766}if(s){return $telerik.cancelRawEvent(q);
767}},_onDocumentMouseUp:function(p){var r=this;
768var s=!r._cancelResize;
769r._cancelResize=true;
770r._startCursorLocation=null;
771var q=r._resizeDir&&r._resizeDir.move;
772if(r._useCssTransform&&q){r._moveBoxBy(r._lastTouchDelta);
773}if(s){r._clearSelection();
774r._setIframesVisible(true);
775if(q){r._raiseDragEvent("DragEnd",null,p);
776}else{r._raiseEvent("ResizeEnd");
777}r._attachDocumentHandlers(false);
778if(r._scroller){r._scroller.set_enabled(false);
779}}r._touchEventIdentifier=null;
780if(m.isTouch){var t=r._getTouchEventIdentifier(p);
781if(t!==null){r._cleanUpPointerTracking(p);
782}}},_getTouchIdentifier:function(){return this._touchEventIdentifier;
783},_resetTouchIdentifier:function(){var p=this;
784p._touchEventIdentifier=null;
785},_moveBoxBy:function(r,p){var q=this._originalBounds;
786var s=this._offsetLocation;
787p=p||this._element;
788this._resetBoxTransform(p);
789p.style.left=q.x+r.x-s.x+"px";
790p.style.top=q.y+r.y-s.y+"px";
791},_resetBoxTransform:function(p){var q=p.style;
792q.webkitTransform=q.mozTransform=q.OTransform=q.msTranslate="translate(0,0)";
793},_clearSelection:function(){if(this._document.selection&&this._document.selection.empty){try{this._document.selection.empty();
794}catch(p){}}},_initializeAutoScroll:function(){if(this._autoScrollInitialized){return;
795}this._scrollEdgeConst=40;
796this._scrollByConst=10;
797this._scroller=null;
798this._scrollDeltaX=0;
799this._scrollDeltaY=0;
800this._scrollerTickHandler=Function.createDelegate(this,this._onScrollerTick);
801this._scroller=new Telerik.Web.Timer();
802this._scroller.set_interval(10);
803this._scroller.add_tick(this._scrollerTickHandler);
804this._autoScrollInitialized=true;
805},_autoScroll:function(q){this._initializeAutoScroll();
806var p=$telerik.getClientBounds();
807if(p.width>0){this._scrollDeltaX=this._scrollDeltaY=0;
808if(q.clientX<p.x+this._scrollEdgeConst){this._scrollDeltaX=-this._scrollByConst;
809}else{if(q.clientX>p.width-this._scrollEdgeConst){this._scrollDeltaX=this._scrollByConst;
810}}
810if(q.clientY<p.y+this._scrollEdgeConst){this._scrollDeltaY=-this._scrollByConst;
811}else{if(q.clientY>p.height-this._scrollEdgeConst){this._scrollDeltaY=this._scrollByConst;
812}}var r=this._scroller;
813if(this._scrollDeltaX!=0||this._scrollDeltaY!=0){this._originalStartX=this._startX;
814this._originalStartY=this._startY;
815r.set_enabled(true);
816}else{if(r.get_enabled()){this._startX=this._originalStartX;
817this._startY=this._originalStartY;
818}r.set_enabled(false);
819}}},_onScrollerTick:function(){var v=document.documentElement.scrollLeft||document.body.scrollLeft;
820var w=document.documentElement.scrollTop||document.body.scrollTop;
821window.scrollBy(this._scrollDeltaX,this._scrollDeltaY);
822var t=document.documentElement.scrollLeft||document.body.scrollLeft;
823var u=document.documentElement.scrollTop||document.body.scrollTop;
824var p=t-v;
825var q=u-w;
826var r=this._element;
827var x={x:parseInt(r.style.left,10)+p,y:parseInt(r.style.top,10)+q};
828this._startX-=p;
829this._startY-=q;
830try{$telerik.setLocation(r,x);
831}catch(s){}}};
832a.ResizeExtender.registerClass("Telerik.Web.UI.ResizeExtender",null,Sys.IDisposable);
833})();
834(function(a,d){Type.registerNamespace("Telerik.Web.UI");
835var b=Telerik.Web.UI;
836var c="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex], *[contenteditable]";
837b.TabKeyTrap=function(e){this.element=e;
838this.trapDelegate=Function.createDelegate(this,this._keepInTrap);
839};
840b.TabKeyTrap.prototype={trap:function(){$telerik.onEvent(this.element,"keydown",this.trapDelegate);
841},removeTrap:function(){$telerik.offEvent(this.element,"keydown",this.trapDelegate);
842},dispose:function(){this.element=d;
843},_keepInTrap:function(g){if(g.which!==9){return;
844}var f=a(this.element);
845var l=g.target;
846var h=f.find(c).filter(":visible[tabindex!=-1]");
847var i=h.length;
848var k=i-1;
849var j=h.index(l);
850if(g.shiftKey){if(j===0){h.get(k).focus();
851g.preventDefault();
852}}else{if(j===k){h.get(0).focus();
853g.preventDefault();
854}}}};
855b.TabKeyTrap.registerClass("Telerik.Web.UI.TabKeyTrap");
856})($telerik.$);
857
858if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.