PageSourceSearch

https://talmanet.talma.com.pe/TALMANET/ScriptResource.axd?d=A22-Sy…0ExTvtSttkCuLJLw62wNzOCHLQkG-yw2&t=6e6e42a6

js talma.com.pe collected 2026-09-28 14:38:09 UTC 34,954 bytes, 830 lines download raw bytes

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

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.