PageSourceSearch

https://kmlvision.com/scripts/ext-3/adapter/ext/ext-base.js?v=1650348555

js kmlvision.com collected 2026-09-26 00:45:39 UTC 32,521 bytes, 9 lines download raw bytes

1/* Copyright (c) 2022 Synology Inc. All rights reserved. */
2
3/*
4 * Ext JS Library 3.4.0
5 * Copyright(c) 2006-2011 Sencha Inc.
6 * [email protected]
7 * http://www.sencha.com/license
8 */
9window.undefined=window.undefined;Ext={version:"3.4.1",versionDetail:{major:3,minor:4,patch:1}};Ext.apply=function(d,e,b){if(b){Ext.apply(d,b)}if(d&&e&&typeof e=="object"){for(var a in e){d[a]=e[a]}}return d};(function(){var i=0,f=Object.prototype.toString,F=navigator.userAgent.toLowerCase(),q=function(e){return e.test(F)},w=document,s=w.documentMode,x=w.compatMode=="CSS1Compat",E=(q(/edge/)),a=q(/opera/),P=!E&&q(/\bchrome\b/),G=!E&&q(/webkit/),d=!(P||E)&&q(/safari/),N=d&&q(/applewebkit\/4/),L=d&&q(/version\/3/),J=d&&q(/version\/4/),I=d&&q(/version\/5/),l=!a&&q(/msie/),C=(q(/trident\/7/)),h=C,g=(q(/edge\/(\d+)./)),k=l&&(q(/msie 10/)||q(/trident\/6/)),D=l&&(q(/trident\/6/)),A=D&&(q(/touch;/)),K=l&&q(/trident\/5/),M=l&&!K&&!k&&!h&&q(/trident/),O=l&&!M&&!K&&!k&&!h&&q(/msie 7/),R=l&&!O&&!M&&!K&&!k&&!h&&q(/msie 6/),v=g||h||(l&&!R&&!O&&!M),S=l&&(R||O||M||K),c=!(G||h||E)&&q(/gecko/),U=c&&q(/rv:1\.8/),T=c&&q(/rv:1\.9/),o=S&&!x,j=q(/windows|win32/),H=q(/macintosh|mac os x/),r=q(/adobeair/),y=q(/linux/),u=/^https/i.test(window.location.protocol),b=[],z=[],p=Ext.emptyFn,B=Ext.apply({},{constructor:p,toString:p,valueOf:p}),n=function(){var e=n.caller.caller;return e.$owner.prototype[e.$name].apply(this,arguments)};if(B.constructor!==p){z.push("constructor")}if(B.toString!==p){z.push("toString")}if(B.valueOf!==p){z.push("valueOf")}if(!z.length){z=null}function m(){}Ext.apply(m,{$isClass:true,callParent:function(e){var t;return(t=this.callParent.caller)&&(t.$previous||((t=t.$owner?t:t.caller)&&t.$owner.superclass.self[t.$name])).apply(this,e||b)}});m.prototype={constructor:function(){},callParent:function(t){var V,e=(V=this.callParent.caller)&&(V.$previous||((V=V.$owner?V:V.caller)&&V.$owner.superclass[V.$name]));return e.apply(this,t||b)}};if(R){try{w.execCommand("BackgroundImageCache",false,true)}catch(Q){}}Ext.apply(Ext,{SSL_SECURE_URL:u&&l?'javascript:""':"about:blank",isStrict:x,isSecure:u,isReady:false,enableForcedBoxModel:false,enableGarbageCollector:true,enableListenerCollection:false,enableNestedListenerRemoval:false,USE_NATIVE_JSON:false,applyIf:function(t,V){if(t){for(var e in V){if(!Ext.isDefined(t[e])){t[e]=V[e]}}}return t},id:function(e,t){e=Ext.getDom(e,true)||{};if(!e.id){e.id=(t||"ext-gen")+(++i)}return e.id},extend:function(){var t=function(W){for(var V in W){this[V]=W[V]}};var e=Object.prototype.constructor;return function(aa,X,Z){if(typeof X=="object"){Z=X;X=aa;aa=Z.constructor!=e?Z.constructor:function(){X.apply(this,arguments)}}var W=function(){},Y,V=X.prototype;W.prototype=V;Y=aa.prototype=new W();Y.constructor=aa;aa.superclass=V;if(V.constructor==e){V.constructor=X}aa.override=function(ab){Ext.override(aa,ab)};Y.superclass=Y.supr=(function(){return V});Y.override=t;Ext.override(aa,Z);aa.extend=function(ab){return Ext.extend(aa,ab)};return aa}}(),global:(function(){return this})(),Base:m,namespaceCache:{},createNamespace:function(Z,W){var e=Ext.namespaceCache,X=W?Z.substring(0,Z.lastIndexOf(".")):Z,ac=e[X],aa,V,t,Y,ab;if(!ac){ac=Ext.global;if(X){ab=[];Y=X.split(".");for(aa=0,V=Y.length;aa<V;++aa){t=Y[aa];ac=ac[t]||(ac[t]={});ab.push(t);e[ab.join(".")]=ac}}}return ac},getClassByName:function(V){var W=V.split("."),e=Ext.global,X=W.length,t;for(t=0;e&&t<X;++t){e=e[W[t]]}return e||null},addMembers:function(t,Y,V,e){var X,W,Z;for(W in V){if(V.hasOwnProperty(W)){Z=V[W];if(typeof Z=="function"){Z.$owner=t;Z.$name=W}Y[W]=Z}}if(e&&z){for(X=z.length;X-->0;){W=z[X];if(V.hasOwnProperty(W)){Z=V[W];if(typeof Z=="function"){Z.$owner=t;Z.$name=W}Y[W]=Z}}}},define:function(Z,X,V){var t=X.override,ab,Y,e,W;if(t){delete X.override;ab=Ext.getClassByName(t);Ext.override(ab,X)}else{if(Z){W=Ext.createNamespace(Z,true);e=Z.substring(Z.lastIndexOf(".")+1)}ab=function aa(){this.constructor.apply(this,arguments)};if(Z){ab.displayName=Z}ab.$isClass=true;ab.callParent=Ext.Base.callParent;if(typeof X=="function"){X=X(ab)}Y=X.extend;if(Y){delete X.extend;if(typeof Y=="string"){Y=Ext.getClassByName(Y)}}else{Y=m}Ext.extend(ab,Y,X);if(ab.prototype.constructor===ab){delete ab.prototype.constructor}if(!ab.prototype.$isClass){Ext.applyIf(ab.prototype,m.prototype)}ab.prototype.self=ab;if(X.xtype){Ext.reg(X.xtype,ab)}ab=X.singleton?new ab():ab;if(Z){W[e]=ab}}if(V){V.call(ab)}return ab},override:function(X,Z){var V,Y;if(Z){if(X.$isClass){Y=Z.statics;if(Y){delete Z.statics}Ext.addMembers(X,X.prototype,Z,true);if(Y){Ext.addMembers(X,X,Y)}}else{if(typeof X=="function"){V=X.prototype;Ext.apply(V,Z);if(Ext.isIE&&Z.hasOwnProperty("toString")){V.toString=Z.toString}}else{var e=X.self,t,W;if(e&&e.$isClass){for(t in Z){if(Z.hasOwnProperty(t)){W=Z[t];if(typeof W=="function"){if(e.$className){W.displayName=e.$className+"#"+t}W.$name=t;W.$owner=e;W.$previous=X.hasOwnProperty(t)?X[t]:n}X[t]=W}}}else{Ext.apply(X,Z);if(!X.constructor.$isClass){}}}}}},namespace:function(){var W=arguments.length,X=0,t,V,e,Z,Y,aa;for(;X<W;++X){e=arguments[X];Z=arguments[X].split(".");aa=window[Z[0]];
9if(aa===undefined){aa=window[Z[0]]={}}Y=Z.slice(1);t=Y.length;for(V=0;V<t;++V){aa=aa[Y[V]]=aa[Y[V]]||{}}}return aa},urlEncode:function(Y,X){var V,t=[],W=encodeURIComponent;Ext.iterate(Y,function(e,Z){V=Ext.isEmpty(Z);Ext.each(V?e:Z,function(aa){t.push("&",W(e),"=",(!Ext.isEmpty(aa)&&(aa!=e||!V))?(Ext.isDate(aa)?Ext.encode(aa).replace(/"/g,""):W(aa)):"")})});if(!X){t.shift();X=""}return X+t.join("")},urlDecode:function(V,t){if(Ext.isEmpty(V)){return{}}var Y={},X=V.split("&"),Z=decodeURIComponent,e,W;Ext.each(X,function(aa){aa=aa.split("=");e=Z(aa[0]);W=Z(aa[1]);Y[e]=t||!Y[e]?W:[].concat(Y[e]).concat(W)});return Y},urlAppend:function(e,t){if(!Ext.isEmpty(t)){return e+(e.indexOf("?")===-1?"?":"&")+t}return e},toArray:function(){return l?function(V,Y,W,X){X=[];for(var t=0,e=V.length;t<e;t++){X.push(V[t])}return X.slice(Y||0,W||X.length)}:function(e,V,t){return Array.prototype.slice.call(e,V||0,t||e.length)}}(),isIterable:function(e){if(Ext.isArray(e)||e.callee){return true}if(/NodeList|HTMLCollection/.test(f.call(e))){return true}return((typeof e.nextNode!="undefined"||e.item)&&Ext.isNumber(e.length))}
9,each:function(X,W,V){if(Ext.isEmpty(X,true)){return}if(!Ext.isIterable(X)||Ext.isPrimitive(X)){X=[X]}for(var t=0,e=X.length;t<e;t++){if(W.call(V||X[t],X[t],t,X)===false){return t}}},iterate:function(V,t,e){if(Ext.isEmpty(V)){return}if(Ext.isIterable(V)){Ext.each(V,t,e);return}else{if(typeof V=="object"){for(var W in V){if(V.hasOwnProperty(W)){if(t.call(e||V,W,V[W],V)===false){return}}}}}},getDom:function(V,t){if(!V||!w){return null}if(V.dom){return V.dom}else{if(typeof V=="string"){var W=w.getElementById(V);if(W&&l&&t){if(V==W.getAttribute("id")){return W}else{return null}}return W}else{return V}}},getBody:function(){return Ext.get(w.body||w.documentElement)},getHead:function(){var e;return function(){if(e==undefined){e=Ext.get(w.getElementsByTagName("head")[0])}return e}}(),removeNode:l&&!M?function(){var e;return function(t){if(t&&t.tagName!="BODY"){(Ext.enableNestedListenerRemoval)?Ext.EventManager.purgeElement(t,true):Ext.EventManager.removeAll(t);e=e||w.createElement("div");e.appendChild(t);e.innerHTML="";delete Ext.elCache[t.id]}}}():function(e){if(e&&e.parentNode&&e.tagName!="BODY"){(Ext.enableNestedListenerRemoval)?Ext.EventManager.purgeElement(e,true):Ext.EventManager.removeAll(e);e.parentNode.removeChild(e);delete Ext.elCache[e.id]}},isEmpty:function(t,e){return t===null||t===undefined||((Ext.isArray(t)&&!t.length))||(!e?t==="":false)},isArray:function(e){return f.apply(e)==="[object Array]"},isDate:function(e){return f.apply(e)==="[object Date]"},isObject:function(e){return !!e&&Object.prototype.toString.call(e)==="[object Object]"},isPrimitive:function(e){return Ext.isString(e)||Ext.isNumber(e)||Ext.isBoolean(e)},isFunction:function(e){var t=f.apply(e);return t==="[object Function]"||t==="[object AsyncFunction]"},isNumber:function(e){return typeof e==="number"&&isFinite(e)},isString:function(e){return typeof e==="string"},isBoolean:function(e){return typeof e==="boolean"},isElement:function(e){return e?!!e.tagName:false},isDefined:function(e){return typeof e!=="undefined"},isOpera:a,isWebKit:G,isChrome:P,isSafari:d,isSafari3:L,isSafari4:J,isSafari5:I,isSafari2:N,isIE:l,isIE6:R,isIE7:O,isIE8:M,isIE9:K,isIE10:k,isIE11:h,isModernIE:v,isEdge:E,isIE12:g,isIE9p:v,isIE9m:S,isIE10p:l&&!(R||O||M||K),isIEQuirks:l&&(!x&&(R||O||M||K)),isTrident6:D,isIE10Touch:A,isGecko:c,isGecko2:U,isGecko3:T,isBorderBox:o,isLinux:y,isWindows:j,isMac:H,isAir:r});Ext.ns=Ext.namespace})();(function(){if(!Ext.isIE){return}var b=0,a={};window.setInterval=function(c,e){var f=++b,d=function(){try{c()}catch(g){if(!Ext.isIE8){throw g}}if(a[f]){a[f]=setTimeout(arguments.callee,e)}};a[f]=setTimeout(d,e);return f};window.clearInterval=function(d){try{if(!a[d]){return}clearTimeout(a[d]);delete a[d]}catch(c){if(!Ext.isIE8){throw c}}}})();Ext.ns("Ext.util","Ext.lib","Ext.data","Ext.supports");Ext.elCache={};Ext.apply(Function.prototype,{createInterceptor:function(b,a){var c=this;return !Ext.isFunction(b)?this:function(){var e=this,d=arguments;b.target=e;b.method=c;return(b.apply(a||e||window,d)!==false)?c.apply(e||window,d):null}},createCallback:function(){var a=arguments,b=this;return function(){return b.apply(window,a)}},createDelegate:function(c,b,a){var d=this;return function(){var f=b||arguments;if(a===true){f=Array.prototype.slice.call(arguments,0);f=f.concat(b)}else{if(Ext.isNumber(a)){f=Array.prototype.slice.call(arguments,0);var e=[a,0].concat(b);Array.prototype.splice.apply(f,e)}}return d.apply(c||window,f)}},defer:function(c,e,b,a){var d=this.createDelegate(e,b,a);if(c>0){return setTimeout(d,c)}d();return 0}});Ext.applyIf(String,{format:function(b){var a=Ext.toArray(arguments,1);return b.replace(/\{(\d+)\}/g,function(c,d){return a[d]})}});if(!Array.prototype.remove){Object.defineProperty(Array.prototype,"remove",{value:function(b){var a=this.indexOf(b);if(a!=-1){this.splice(a,1)}return this},enumerable:false,writable:true})}Ext.util.TaskRunner=function(e){e=e||10;var f=[],a=[],b=0,g=false,d=function(){g=false;clearInterval(b);b=0},h=function(){if(!g){g=true;b=setInterval(i,e)}},c=function(j){a.push(j);if(j.onStop){j.onStop.apply(j.scope||j)}},i=function(){var l=a.length,n=new Date().getTime();if(l>0){for(var p=0;p<l;
9p++){f.remove(a[p])}a=[];if(f.length<1){d();return}}for(var p=0,o,k,m,j=f.length;p<j;++p){o=f[p];k=n-o.taskRunTime;if(o.interval<=k){m=o.run.apply(o.scope||o,o.args||[++o.taskRunCount]);o.taskRunTime=n;if(m===false||o.taskRunCount===o.repeat){c(o);return}}if(o.duration&&o.duration<=(n-o.taskStartTime)){c(o)}}};this.start=function(j){f.push(j);j.taskStartTime=new Date().getTime();j.taskRunTime=0;j.taskRunCount=0;h();return j};this.stop=function(j){c(j);return j};this.stopAll=function(){d();for(var k=0,j=f.length;k<j;k++){if(f[k].onStop){f[k].onStop()}}f=[];a=[]}};Ext.TaskMgr=new Ext.util.TaskRunner();(function(){var b;function c(d){if(!b){b=new Ext.Element.Flyweight()}b.dom=d;return b}(function(){var g=document,e=g.compatMode=="CSS1Compat",f=Math.max,d=Math.round,h=parseInt;Ext.lib.Dom={isAncestor:function(j,k){var i=false;j=Ext.getDom(j);k=Ext.getDom(k);if(j&&k){if(j.contains){return j.contains(k)}else{if(j.compareDocumentPosition){return !!(j.compareDocumentPosition(k)&16)}else{while(k=k.parentNode){i=k==j||i}}}}return i},getViewWidth:function(i){return i?this.getDocumentWidth():this.getViewportWidth()},getViewHeight:function(i){return i?this.getDocumentHeight():this.getViewportHeight()},getDocumentHeight:function(){return f(!e?g.body.scrollHeight:g.documentElement.scrollHeight,this.getViewportHeight())},getDocumentWidth:function(){return f(!e?g.body.scrollWidth:g.documentElement.scrollWidth,this.getViewportWidth())},getViewportHeight:function(){return Ext.isIE9m?(Ext.isStrict?g.documentElement.clientHeight:g.body.clientHeight):self.innerHeight},getViewportWidth:function(){return !Ext.isStrict&&!Ext.isOpera?g.body.clientWidth:Ext.isIE9m?g.documentElement.clientWidth:self.innerWidth},getY:function(i){return this.getXY(i)[1]},getX:function(i){return this.getXY(i)[0]},getXY:function(k){var j,q,s,v,l,m,u=0,r=0,t,i,n=(g.body||g.documentElement),o=[0,0];k=Ext.getDom(k);if(k!=n){if(k.getBoundingClientRect){s=k.getBoundingClientRect();t=c(document).getScroll();o=[d(s.left+t.left),d(s.top+t.top)]}else{j=k;i=c(k).isStyle("position","absolute");while(j){q=c(j);u+=j.offsetLeft;r+=j.offsetTop;i=i||q.isStyle("position","absolute");if(Ext.isGecko){r+=v=h(q.getStyle("borderTopWidth"),10)||0;u+=l=h(q.getStyle("borderLeftWidth"),10)||0;if(j!=k&&!q.isStyle("overflow","visible")){u+=l;r+=v}}j=j.offsetParent}if(Ext.isSafari&&i){u-=n.offsetLeft;r-=n.offsetTop}if(Ext.isGecko&&!i){m=c(n);u+=h(m.getStyle("borderLeftWidth"),10)||0;r+=h(m.getStyle("borderTopWidth"),10)||0}j=k.parentNode;while(j&&j!=n){if(!Ext.isOpera||(j.tagName!="TR"&&!c(j).isStyle("display","inline"))){u-=j.scrollLeft;r-=j.scrollTop}j=j.parentNode}o=[u,r]}}return o},setXY:function(j,k){(j=Ext.fly(j,"_setXY")).position();var l=j.translatePoints(k),i=j.dom.style,m;for(m in l){if(!isNaN(l[m])){i[m]=l[m]+"px"}}},setX:function(j,i){this.setXY(j,[i,false])},setY:function(i,j){this.setXY(i,[false,j])}}})();Ext.lib.Event=function(){var v=false,f={},z=0,o=[],d,A=false,k=window,E=document,l=200,r=20,p=0,i=1,s=2,w=3,t="scrollLeft",q="scrollTop",g="unload",y="mouseover",D="mouseout",e=function(){var F;if(k.addEventListener){F=function(J,H,I,G){if(H=="mouseenter"){I=I.createInterceptor(n);J.addEventListener(y,I,(G))}else{if(H=="mouseleave"){I=I.createInterceptor(n);J.addEventListener(D,I,(G))}else{J.addEventListener(H,I,(G))}}return I}}else{if(k.attachEvent){F=function(J,H,I,G){J.attachEvent("on"+H,I);return I}}else{F=function(){}}}return F}(),h=function(){var F;if(k.removeEventListener){F=function(J,H,I,G){if(H=="mouseenter"){H=y}else{if(H=="mouseleave"){H=D}}J.removeEventListener(H,I,(G))}}else{if(k.detachEvent){F=function(I,G,H){I.detachEvent("on"+G,H)}}else{F=function(){}}}return F}();function n(F){return !u(F.currentTarget,x.getRelatedTarget(F))}function u(F,G){if(F&&F.firstChild){while(G){if(G===F){return true}G=G.parentNode;if(G&&(G.nodeType!=1)){G=null}}}return false}function B(){var G=false,L=[],J,I,F,H,K=!v||(z>0);if(!A){A=true;for(I=0;I<o.length;++I){F=o[I];if(F&&(J=E.getElementById(F.id))){if(!F.checkReady||v||J.nextSibling||(E&&E.body)){H=F.override;J=H?(H===true?F.obj:H):J;F.fn.call(J,F.obj);o.remove(F);--I}else{L.push(F)}}}z=(L.length===0)?0:z-1;
9if(K){m()}else{clearInterval(d);d=null}G=!(A=false)}return G}function m(){if(!d){var F=function(){B()};d=setInterval(F,r)}}function C(){var F=E.documentElement,G=E.body;if(F&&(F[q]||F[t])){return[F[t],F[q]]}else{if(G){return[G[t],G[q]]}else{return[0,0]}}}function j(F,G){F=F.browserEvent||F;var H=F["page"+G];if(!H&&H!==0){H=F["client"+G]||0;if(Ext.isIE){H+=C()[G=="X"?0:1]}}return H}var x={extAdapter:true,onAvailable:function(H,F,I,G){o.push({id:H,fn:F,obj:I,override:G,checkReady:false});z=l;m()},addListener:function(H,F,G){H=Ext.getDom(H);if(H&&G){if(F==g){if(f[H.id]===undefined){f[H.id]=[]}f[H.id].push([F,G]);return G}return e(H,F,G,false)}return false},removeListener:function(L,H,K){L=Ext.getDom(L);var J,G,F,I;if(L&&K){if(H==g){if((I=f[L.id])!==undefined){for(J=0,G=I.length;J<G;J++){if((F=I[J])&&F[p]==H&&F[i]==K){f[L.id].splice(J,1)}}}return}h(L,H,K,false)}},getTarget:function(F){F=F.browserEvent||F;return this.resolveTextNode(F.target||F.srcElement)},resolveTextNode:Ext.isGecko?function(G){if(!G){return}var F=HTMLElement.prototype.toString.call(G);if(F=="[xpconnect wrapped native prototype]"||F=="[object XULElement]"){return}return G.nodeType==3?G.parentNode:G}:function(F){return F&&F.nodeType==3?F.parentNode:F},getRelatedTarget:function(F){F=F.browserEvent||F;return this.resolveTextNode(F.relatedTarget||(/(mouseout|mouseleave)/.test(F.type)?F.toElement:/(mouseover|mouseenter)/.test(F.type)?F.fromElement:null))},getPageX:function(F){return j(F,"X")},getPageY:function(F){return j(F,"Y")},getXY:function(F){return[this.getPageX(F),this.getPageY(F)]},stopEvent:function(F){this.stopPropagation(F);this.preventDefault(F)},stopPropagation:function(F){F=F.browserEvent||F;if(F.stopPropagation){F.stopPropagation()}else{F.cancelBubble=true}},preventDefault:function(F){F=F.browserEvent||F;if(F.preventDefault){F.preventDefault()}else{if(F.keyCode){F.keyCode=0}F.returnValue=false}},getEvent:function(F){F=F||k.event;if(!F){var G=this.getEvent.caller;while(G){F=G.arguments[0];if(F&&Event==F.constructor){break}G=G.caller}}return F},getCharCode:function(F){F=F.browserEvent||F;return F.charCode||F.keyCode||0},getListeners:function(G,F){Ext.EventManager.getListeners(G,F)},purgeElement:function(G,H,F){Ext.EventManager.purgeElement(G,H,F)},_load:function(F){v=true;if(Ext.isIE9m&&F!==true){h(k,"load",arguments.callee)}},_unload:function(J){var G=Ext.lib.Event,H,M,K,F,I,N;for(F in f){K=f[F];for(H=0,I=K.length;H<I;H++){M=K[H];if(M){try{N=M[w]?(M[w]===true?M[s]:M[w]):k;M[i].call(N,G.getEvent(J),M[s])}catch(L){}}}}Ext.EventManager._unload();h(k,g,G._unload)}};x.on=x.addListener;x.un=x.removeListener;if(E&&E.body){x._load(true)}else{e(k,"load",x._load)}e(k,g,x._unload);B();return x}();Ext.lib.Ajax=function(){var t=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP"],i="Content-Type";function l(y){var w=y.conn,z,x={};function v(A,B){for(z in B){if(B.hasOwnProperty(z)){A.setRequestHeader(z,B[z])}}}Ext.apply(x,p.headers,p.defaultHeaders);v(w,x);delete p.headers}function f(y,x,w,v){return{tId:y,status:w?-1:0,statusText:w?"transaction aborted":"communication failure",isAbort:w,isTimeout:v,argument:x}}function d(v,w){(p.headers=p.headers||{})[v]=w}function h(v,z){var D={},y,x=v.conn,B,C,w=x.status==1223;try{y=v.conn.getAllResponseHeaders();Ext.each(y.replace(/\r\n/g,"\n").split("\n"),function(E){B=E.indexOf(":");if(B>=0){C=E.substr(0,B).toLowerCase();if(E.charAt(B+1)==" "){++B}D[C]=E.substr(B+1)}})}catch(A){}return{tId:v.tId,status:w?204:x.status,statusText:w?"No Content":x.statusText,getResponseHeader:function(E){return D[E.toLowerCase()]},getAllResponseHeaders:function(){return y},responseText:x.responseText,responseXML:x.responseXML,argument:z}}function o(v){if(v.tId){p.conn[v.tId]=null}v.conn=null;v=null}function r(A,B,w,v){if(!B){o(A);return}var y,x;try{if(A.conn.status!==undefined&&A.conn.status!=0){y=A.conn.status}else{y=13030}}catch(z){y=13030}if((y>=200&&y<300)||(Ext.isIE&&y==1223)){x=h(A,B.argument);if(B.success){if(!B.scope){B.success(x)}else{B.success.apply(B.scope,[x])}}}else{switch(y){case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:x=f(A.tId,B.argument,(w?w:false),v);if(B.failure){if(!B.scope){B.failure(x)}else{B.failure.apply(B.scope,[x])}}break;default:x=h(A,B.argument);if(B.failure){if(!B.scope){B.failure(x)}else{B.failure.apply(B.scope,[x])}}}}o(A);x=null}
9function u(x,A,v,z,w,y){if(v&&v.readyState==4){clearInterval(w[z]);w[z]=null;if(y){clearTimeout(p.timeout[z]);p.timeout[z]=null}r(x,A)}}function j(v,w){p.abort(v,w,true)}function k(y,B,w){B=B||{};var v=y.conn,A=y.tId,x=p.poll,z=B.timeout||null;if(z){p.conn[A]=v;p.timeout[A]=setTimeout(j.createCallback(y,B),z)}x[A]=setInterval(u.createCallback(y,B,v,A,x,z),p.pollInterval);if(w&&w.html5upload&&w.progress&&y.conn.upload){if(!B.scope){y.conn.upload.onprogress=w.progress.createDelegate(this,[],true)}else{y.conn.upload.onprogress=w.progress.createDelegate(B.scope,[],true)}}}function g(A,x,z,v,w){var y=q()||null;if(y){y.conn.open(A,x,true);if(p.defaultHeaders||p.headers){l(y)}k(y,z,w);if(!w.html5upload||(w.html5upload&&!w.chunkmode)||!Ext.isFunction(y.conn.sendAsBinary)){y.conn.send(v||null)}else{y.conn.sendAsBinary(v||null)}}return y}function n(w,x,v){if(v&&v.readyState==4){r(w,x)}}function e(w,x,v){if(v&&v.html5upload&&v.progress&&w.conn.upload){k(w,x,v)}x=x||{};n(w,x,w.conn)}function s(A,x,z,v,w){var y=q()||null;if(y){y.conn.open(A,x,w);if(p.useDefaultXhrHeader){d("X-Requested-With",p.defaultXhrHeader)}if(v&&p.useDefaultHeader&&(!p.headers||!p.headers[i])){d(i,p.defaultPostHeader)}if(p.defaultHeaders||p.headers){l(y)}if(w){k(y,z)}y.conn.send(v||null);if(!w){e(y,z)}}return y}function q(){var w;try{if(w=m(p.transactionId)){p.transactionId++}}catch(v){}finally{return w}}function m(y){var v;try{v=new XMLHttpRequest()}catch(x){for(var w=Ext.isIE6?1:0;w<t.length;++w){try{v=new ActiveXObject(t[w]);break}catch(x){}}}finally{return{conn:v,tId:y}}}var p={request:function(v,x,z,A,E){var y=true;if(E){var B=this,w=E.xmlData,C=E.jsonData,D;Ext.applyIf(B,E);if(w||C){D=B.headers;if(!D||!D[i]){d(i,w?"text/xml":"application/json")}A=w||(!Ext.isPrimitive(C)?Ext.encode(C):C)}y=E.async!==false?(E.async||true):false}return s(v||E.method||"POST",x,z,A,y)},html5upload:function(B,y,v,z,w){if(w){var x=this,A=w.uploadData;Ext.applyIf(x,w);if(A){z=A}}return g(B||w.method||"POST",y,v,z,w)},serializeForm:function(B){var A=B.elements||(document.forms[B]||Ext.getDom(B)).elements,v=false,z=encodeURIComponent,w,C="",y,x;Ext.each(A,function(F){w=F.name;y=F.type;field=Ext.getCmp(F.id);if(F.getAttribute("non-serialize")){return}if(!F.disabled&&w){if(/select-(one|multiple)/i.test(y)){Ext.each(F.options,function(I){if(I.selected){x=I.hasAttribute?I.hasAttribute("value"):I.getAttributeNode("value").specified;C+=String.format("{0}={1}&",z(w),z(x?I.value:I.text))}})}else{if(!(/file|undefined|reset|button/i.test(y))){if(null!==Ext.getClassByName("SYNO.ux.Radio")&&field instanceof SYNO.ux.Radio){if(field.getValue()){C+=z(w)+"="+z(field.getInputValue())+"&"}}else{if(null!==Ext.getClassByName("SYNO.ux.Checkbox")&&field instanceof SYNO.ux.Checkbox){C+=z(w)+"="+z(field.getValue())+"&"}else{if(null!==Ext.getClassByName("SYNO.ux.SuperBoxSelect")&&field instanceof SYNO.ux.SuperBoxSelect){if(field.shouldSerializeValue()){var D=field.getInputValue();if(Ext.isString(D)){C+=z(w)+"="+z(D)+"&";return}else{if(Ext.isArray(D)){for(var E=0,G=D.length;E<G;E++){var H=D[E];C+=z(w)+"="+z(H)+"&"}return}}}}else{if(!(/radio|checkbox/i.test(y)&&!F.checked)&&!(y=="submit"&&v)){C+=z(w)+"="+z(F.value)+"&";v=/submit/i.test(y)}}}}}}}});return C.substr(0,C.length-1)},useDefaultHeader:true,defaultPostHeader:"application/x-www-form-urlencoded; charset=UTF-8",useDefaultXhrHeader:true,defaultXhrHeader:"XMLHttpRequest",poll:{},timeout:{},conn:{},pollInterval:50,transactionId:0,abort:function(y,A,v){var x=this,z=y.tId,w=false;if(x.isCallInProgress(y)){y.conn.abort();clearInterval(x.poll[z]);x.poll[z]=null;clearTimeout(p.timeout[z]);x.timeout[z]=null;r(y,A,(w=true),v)}return w},isCallInProgress:function(v){return v.conn&&!{0:true,4:true}[v.conn.readyState]}};return p}();(function(){var g=Ext.lib,i=/width|height|opacity|padding/i,f=/^((width|height)|(top|left))$/,d=/width|height|top$|bottom$|left$|right$/i,h=/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i,j=function(k){return typeof k!=="undefined"},e=function(){return new Date()};g.Anim={motion:function(n,l,o,p,k,m){return this.run(n,l,o,p,k,m,Ext.lib.Motion)},run:function(o,l,q,r,k,n,m){m=m||Ext.lib.AnimBase;if(typeof r=="string"){r=Ext.lib.Easing[r]}var p=new m(o,l,q,r);p.animateX(function(){if(Ext.isFunction(k)){k.call(n)}});return p}};g.AnimBase=function(l,k,m,n){if(l){this.init(l,k,m,n)}};g.AnimBase.prototype={doMethod:function(k,n,l){var m=this;return m.method(m.curFrame,n,l-n,m.totalFrames)},setAttr:function(k,m,l){if(i.test(k)&&m<0){m=0}Ext.fly(this.el,"_anim").setStyle(k,m+l)},getAttr:function(k){var m=Ext.fly(this.el),n=m.getStyle(k),l=f.exec(k)||[];
9if(n!=="auto"&&!h.test(n)){return parseFloat(n)}return(!!(l[2])||(m.getStyle("position")=="absolute"&&!!(l[3])))?m.dom["offset"+l[0].charAt(0).toUpperCase()+l[0].substr(1)]:0},getDefaultUnit:function(k){return d.test(k)?"px":""},animateX:function(n,k){var l=this,m=function(){l.onComplete.removeListener(m);if(Ext.isFunction(n)){n.call(k||l,l)}};l.onComplete.addListener(m,l);l.animate()},setRunAttr:function(p){var r=this,s=this.attributes[p],t=s.to,q=s.by,u=s.from,v=s.unit,l=(this.runAttrs[p]={}),m;if(!j(t)&&!j(q)){return false}var k=j(u)?u:r.getAttr(p);if(j(t)){m=t}else{if(j(q)){if(Ext.isArray(k)){m=[];for(var n=0,o=k.length;n<o;n++){m[n]=k[n]+q[n]}}else{m=k+q}}}Ext.apply(l,{start:k,end:m,unit:j(v)?v:r.getDefaultUnit(p)})},init:function(l,p,o,k){var r=this,n=0,s=g.AnimMgr;Ext.apply(r,{isAnimated:false,startTime:null,el:Ext.getDom(l),attributes:p||{},duration:o||1,method:k||g.Easing.easeNone,useSec:true,curFrame:0,totalFrames:s.fps,runAttrs:{},animate:function(){var u=this,v=u.duration;if(u.isAnimated){return false}u.curFrame=0;u.totalFrames=u.useSec?Math.ceil(s.fps*v):v;s.registerElement(u)},stop:function(u){var v=this;if(u){v.curFrame=v.totalFrames;v._onTween.fire()}s.stop(v)}});var t=function(){var v=this,u;v.onStart.fire();v.runAttrs={};for(u in this.attributes){this.setRunAttr(u)}v.isAnimated=true;v.startTime=e();n=0};var q=function(){var v=this;v.onTween.fire({duration:e()-v.startTime,curFrame:v.curFrame});var w=v.runAttrs;for(var u in w){this.setAttr(u,v.doMethod(u,w[u].start,w[u].end),w[u].unit)}++n};var m=function(){var u=this,w=(e()-u.startTime)/1000,v={duration:w,frames:n,fps:n/w};u.isAnimated=false;n=0;u.onComplete.fire(v)};r.onStart=new Ext.util.Event(r);r.onTween=new Ext.util.Event(r);r.onComplete=new Ext.util.Event(r);(r._onStart=new Ext.util.Event(r)).addListener(t);(r._onTween=new Ext.util.Event(r)).addListener(q);(r._onComplete=new Ext.util.Event(r)).addListener(m)}};Ext.lib.AnimMgr=new function(){var p=this,m=null,l=[],k=0,o=window.requestAnimationFrame!==undefined;Ext.apply(p,{fps:1000,delay:1,registerElement:function(r){l.push(r);++k;r._onStart.fire();p.start()},unRegister:function(s,r){s._onComplete.fire();r=r||q(s);if(r!=-1){l.splice(r,1)}if(--k<=0){p.stop()}},startRunner:function(){m=setInterval(p.run,p.delay)},stopRunner:function(){clearInterval(m)},triggerNextRun:function(){},start:function(){if(m===null){p.startRunner()}},stop:function(t){if(!t){p.stopRunner();for(var s=0,r=l.length;s<r;++s){if(l[0].isAnimated){p.unRegister(l[0],0)}}l=[];m=null;k=0}else{p.unRegister(t)}},run:function(){var u,t,r,s;for(t=0,r=l.length;t<r;t++){s=l[t];if(s&&s.isAnimated){u=s.totalFrames;if(s.curFrame<u||u===null){++s.curFrame;if(s.useSec){n(s)}s._onTween.fire()}else{p.stop(s)}}}if(k>0){p.triggerNextRun()}}});if(o){Ext.apply(p,{startRunner:function(){m=requestAnimationFrame(p.run)},stopRunner:function(){cancelAnimationFrame(m)},triggerNextRun:function(){m=requestAnimationFrame(p.run)}})}var q=function(t){var s,r;for(s=0,r=l.length;s<r;s++){if(l[s]===t){return s}}return -1};var n=function(s){var w=s.totalFrames,v=s.curFrame,u=s.duration,t=(v*u*1000/w),r=(e()-s.startTime),x=0;if(r<u*1000){x=Math.round((r/t-1)*v)}else{x=w-(v+1)}if(x>0&&isFinite(x)){if(s.curFrame+x>=w){x=w-(v+1)}s.curFrame+=x}}};g.Bezier=new function(){this.getPosition=function(p,o){var r=p.length,m=[],q=1-o,l,k;for(l=0;l<r;++l){m[l]=[p[l][0],p[l][1]]}for(k=1;k<r;++k){for(l=0;l<r-k;++l){m[l][0]=q*m[l][0]+o*m[parseInt(l+1,10)][0];m[l][1]=q*m[l][1]+o*m[parseInt(l+1,10)][1]}}return[m[0][0],m[0][1]]}};g.Easing={easeNone:function(l,k,n,m){return n*l/m+k},easeIn:function(l,k,n,m){return n*(l/=m)*l+k},easeOut:function(l,k,n,m){return -n*(l/=m)*(l-2)+k}};(function(){g.Motion=function(o,n,p,q){if(o){g.Motion.superclass.constructor.call(this,o,n,p,q)}};Ext.extend(g.Motion,Ext.lib.AnimBase);var m=g.Motion.superclass,l=/^points$/i;Ext.apply(g.Motion.prototype,{setAttr:function(n,r,q){var p=this,o=m.setAttr;if(l.test(n)){q=q||"px";o.call(p,"left",r[0],q);o.call(p,"top",r[1],q)}else{o.call(p,n,r,q)}},getAttr:function(n){var p=this,o=m.getAttr;return l.test(n)?[o.call(p,"left"),o.call(p,"top")]:o.call(p,n)},doMethod:function(n,q,o){var p=this;return l.test(n)?g.Bezier.getPosition(p.runAttrs[n],p.method(p.curFrame,0,100,p.totalFrames)/100):m.doMethod.call(p,n,q,o)}
9,setRunAttr:function(u){if(l.test(u)){var w=this,p=this.el,z=this.attributes.points,s=z.control||[],x=z.from,y=z.to,v=z.by,A=g.Dom,o,r,q,t,n;if(s.length>0&&!Ext.isArray(s[0])){s=[s]}else{}Ext.fly(p,"_anim").position();A.setXY(p,j(x)?x:A.getXY(p));o=w.getAttr("points");if(j(y)){q=k.call(w,y,o);for(r=0,t=s.length;r<t;++r){s[r]=k.call(w,s[r],o)}}else{if(j(v)){q=[o[0]+v[0],o[1]+v[1]];for(r=0,t=s.length;r<t;++r){s[r]=[o[0]+s[r][0],o[1]+s[r][1]]}}}n=this.runAttrs[u]=[o];if(s.length>0){n=n.concat(s)}n[n.length]=q}else{m.setRunAttr.call(this,u)}}});var k=function(n,p){var o=g.Dom.getXY(this.el);return[n[0]-o[0]+p[0],n[1]-o[1]+p[1]]}})()})();(function(){var d=Math.abs,i=Math.PI,h=Math.asin,g=Math.pow,e=Math.sin,f=Ext.lib;Ext.apply(f.Easing,{easeBoth:function(k,j,m,l){return((k/=l/2)<1)?m/2*k*k+j:-m/2*((--k)*(k-2)-1)+j},easeInStrong:function(k,j,m,l){return m*(k/=l)*k*k*k+j},easeOutStrong:function(k,j,m,l){return -m*((k=k/l-1)*k*k*k-1)+j},easeBothStrong:function(k,j,m,l){return((k/=l/2)<1)?m/2*k*k*k*k+j:-m/2*((k-=2)*k*k*k-2)+j},elasticIn:function(l,j,q,o,k,n){if(l==0||(l/=o)==1){return l==0?j:j+q}n=n||(o*0.3);var m;if(k>=d(q)){m=n/(2*i)*h(q/k)}else{k=q;m=n/4}return -(k*g(2,10*(l-=1))*e((l*o-m)*(2*i)/n))+j},elasticOut:function(l,j,q,o,k,n){if(l==0||(l/=o)==1){return l==0?j:j+q}n=n||(o*0.3);var m;if(k>=d(q)){m=n/(2*i)*h(q/k)}else{k=q;m=n/4}return k*g(2,-10*l)*e((l*o-m)*(2*i)/n)+q+j},elasticBoth:function(l,j,q,o,k,n){if(l==0||(l/=o/2)==2){return l==0?j:j+q}n=n||(o*(0.3*1.5));var m;if(k>=d(q)){m=n/(2*i)*h(q/k)}else{k=q;m=n/4}return l<1?-0.5*(k*g(2,10*(l-=1))*e((l*o-m)*(2*i)/n))+j:k*g(2,-10*(l-=1))*e((l*o-m)*(2*i)/n)*0.5+q+j},backIn:function(k,j,n,m,l){l=l||1.70158;return n*(k/=m)*k*((l+1)*k-l)+j},backOut:function(k,j,n,m,l){if(!l){l=1.70158}return n*((k=k/m-1)*k*((l+1)*k+l)+1)+j},backBoth:function(k,j,n,m,l){l=l||1.70158;return((k/=m/2)<1)?n/2*(k*k*(((l*=(1.525))+1)*k-l))+j:n/2*((k-=2)*k*(((l*=(1.525))+1)*k+l)+2)+j},bounceIn:function(k,j,m,l){return m-f.Easing.bounceOut(l-k,0,m,l)+j},bounceOut:function(k,j,m,l){if((k/=l)<(1/2.75)){return m*(7.5625*k*k)+j}else{if(k<(2/2.75)){return m*(7.5625*(k-=(1.5/2.75))*k+0.75)+j}else{if(k<(2.5/2.75)){return m*(7.5625*(k-=(2.25/2.75))*k+0.9375)+j}}}return m*(7.5625*(k-=(2.625/2.75))*k+0.984375)+j},bounceBoth:function(k,j,m,l){return(k<l/2)?f.Easing.bounceIn(k*2,0,m,l)*0.5+j:f.Easing.bounceOut(k*2-l,0,m,l)*0.5+m*0.5+j}})})();(function(){var h=Ext.lib;h.Anim.color=function(p,n,q,r,m,o){return h.Anim.run(p,n,q,r,m,o,h.ColorAnim)};h.ColorAnim=function(n,m,o,p){h.ColorAnim.superclass.constructor.call(this,n,m,o,p)};Ext.extend(h.ColorAnim,h.AnimBase);var j=h.ColorAnim.superclass,i=/color$/i,f=/^transparent|rgba\(0, 0, 0, 0\)$/,l=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i,d=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i,e=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i,g=function(m){return typeof m!=="undefined"};function k(n){var p=parseInt,o,m=null,q;if(n.length==3){return n}Ext.each([d,l,e],function(s,r){o=(r%2==0)?16:10;q=s.exec(n);if(q&&q.length==4){m=[p(q[1],o),p(q[2],o),p(q[3],o)];return false}});return m}Ext.apply(h.ColorAnim.prototype,{getAttr:function(m){var o=this,n=o.el,p;if(i.test(m)){while(n&&f.test(p=Ext.fly(n).getStyle(m))){n=n.parentNode;p="fff"}}else{p=j.getAttr.call(o,m)}return p},doMethod:function(s,m,o){var t=this,n,q=Math.floor,p,r,u;if(i.test(s)){n=[];o=o||[];for(p=0,r=m.length;p<r;p++){u=m[p];n[p]=j.doMethod.call(t,s,u,o[p])}n="rgb("+q(n[0])+","+q(n[1])+","+q(n[2])+")"}else{n=j.doMethod.call(t,s,m,o)}return n},setRunAttr:function(r){var t=this,u=t.attributes[r],v=u.to,s=u.by,n;j.setRunAttr.call(t,r);n=t.runAttrs[r];if(i.test(r)){var m=k(n.start),o=k(n.end);if(!g(v)&&g(s)){o=k(s);for(var p=0,q=m.length;p<q;p++){o[p]=m[p]+o[p]}}n.start=m;n.end=o}}})})();(function(){var d=Ext.lib;d.Anim.scroll=function(j,h,k,l,g,i){return d.Anim.run(j,h,k,l,g,i,d.Scroll)};d.Scroll=function(h,g,i,j){if(h){d.Scroll.superclass.constructor.call(this,h,g,i,j)}};Ext.extend(d.Scroll,d.ColorAnim);var f=d.Scroll.superclass,e="scroll";Ext.apply(d.Scroll.prototype,{doMethod:function(g,m,h){var k,j=this,l=j.curFrame,i=j.totalFrames;if(g==e){k=[j.method(l,m[0],h[0]-m[0],i),j.method(l,m[1],h[1]-m[1],i)]}else{k=f.doMethod.call(j,g,m,h)}return k},getAttr:function(g){var h=this;if(g==e){return[h.el.scrollLeft,h.el.scrollTop]}else{return f.getAttr.call(h,g)}},setAttr:function(g,j,i){var h=this;if(g==e){h.el.scrollLeft=j[0];h.el.scrollTop=j[1]}else{f.setAttr.call(h,g,j,i)}}})})();if(Ext.isIE9m){function a(){var d=Function.prototype;delete d.createSequence;delete d.defer;delete d.createDelegate;delete d.createCallback;delete d.createInterceptor;window.detachEvent("onunload",a)}window.attachEvent("onunload",a)}})();

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.