cherryext/orun/extjs/static/ext-6.2.0/ext-modern-all-sandbox.js

29 lines
1.2 MiB
JavaScript
Raw Normal View History

2018-08-17 12:14:11 +03:00
(function(Ext) {
Ext.sandboxName = 'Ext6';
Ext.isSandboxed = true;
Ext.buildSettings = { baseCSSPrefix: "x6-", scopeResetCSS: true };
/*
This file is part of Ext JS 6.2.0.981
Copyright (c) 2011-2016 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in the
packaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Version: 6.2.0.981 Build date: 2016-08-31 14:49:44 (08dbbd0ec0b8bc0e014d725fdb7d9650d510b343)
*/
var Ext=Ext||{};Ext.Boot=Ext.Boot||(function(h){var o=document,e=[],k={disableCaching:(/[?&](?:cache|disableCacheBuster)\b/i.test(location.search)||!(/http[s]?\:/i.test(location.href))||/(^|[ ;])ext-cache=1/.test(o.cookie))?false:true,disableCachingParam:"_dc",loadDelay:false,preserveScripts:true,charset:"UTF-8"},q={},g=/\.css(?:\?|$)/i,n=o.createElement("a"),l=typeof window!=="undefined",i={browser:l,node:!l&&(typeof require==="function"),phantom:(window&&(window._phantom||window.callPhantom))||/PhantomJS/.test(window.navigator.userAgent)},m=(Ext.platformTags={}),a=function(s,r,u){if(u){a(s,u)}if(s&&r&&typeof r==="object"){for(var t in r){s[t]=r[t]}}return s},p=function(){var t=false,w=Array.prototype.shift.call(arguments),s,u,r,v;if(typeof arguments[arguments.length-1]==="boolean"){t=Array.prototype.pop.call(arguments)}r=arguments.length;for(s=0;s<r;s++){v=arguments[s];if(typeof v==="object"){for(u in v){w[t?u.toLowerCase():u]=v[u]}}}return w},c=(typeof Object.keys=="function")?function(r){if(!r){return[]}return Object.keys(r)}:function(r){var s=[],t;for(t in r){if(r.hasOwnProperty(t)){s.push(t)}}return s},d={loading:0,loaded:0,apply:a,env:i,config:k,assetConfig:q,scripts:{},currentFile:null,suspendedQueue:[],currentRequest:null,syncMode:false,useElements:true,listeners:[],Request:b,Entry:j,allowMultipleBrowsers:false,browserNames:{ie:"IE",firefox:"Firefox",safari:"Safari",chrome:"Chrome",opera:"Opera",dolfin:"Dolfin",edge:"Edge",webosbrowser:"webOSBrowser",chromeMobile:"ChromeMobile",chromeiOS:"ChromeiOS",silk:"Silk",other:"Other"},osNames:{ios:"iOS",android:"Android",windowsPhone:"WindowsPhone",webos:"webOS",blackberry:"BlackBerry",rimTablet:"RIMTablet",mac:"MacOS",win:"Windows",tizen:"Tizen",linux:"Linux",bada:"Bada",chromeOS:"ChromeOS",other:"Other"},browserPrefixes:{ie:"MSIE ",edge:"Edge/",firefox:"Firefox/",chrome:"Chrome/",safari:"Version/",opera:"OPR/",dolfin:"Dolfin/",webosbrowser:"wOSBrowser/",chromeMobile:"CrMo/",chromeiOS:"CriOS/",silk:"Silk/"},browserPriority:["edge","opera","dolfin","webosbrowser","silk","chromeiOS","chromeMobile","ie","firefox","safari","chrome"],osPrefixes:{tizen:"(Tizen )",ios:"i(?:Pad|Phone|Pod)(?:.*)CPU(?: iPhone)? OS ",android:"(Android |HTC_|Silk/)",windowsPhone:"Windows Phone ",blackberry:"(?:BlackBerry|BB)(?:.*)Version/",rimTablet:"RIM Tablet OS ",webos:"(?:webOS|hpwOS)/",bada:"Bada/",chromeOS:"CrOS "},fallbackOSPrefixes:{windows:"win",mac:"mac",linux:"linux"},devicePrefixes:{iPhone:"iPhone",iPod:"iPod",iPad:"iPad"},maxIEVersion:12,detectPlatformTags:function(){var w=this,r=navigator.userAgent,x=/Mobile(\/|\s)/.test(r),v=document.createElement("div"),A=function(F,D){if(D===undefined){D=window}var E="on"+F.toLowerCase(),G=(E in v);if(!G){if(v.setAttribute&&v.removeAttribute){v.setAttribute(E,"");G=typeof v[E]==="function";if(typeof v[E]!=="undefined"){v[E]=undefined}v.removeAttribute(E)}}return G},z=function(){var E={},L,H,M,N,I,J,F,K,D;J=w.browserPriority.length;for(I=0;I<J;I++){N=w.browserPriority[I];if(!D){M=w.browserPrefixes[N];F=r.match(new RegExp("("+M+")([\\w\\._]+)"));K=F&&F.length>1?parseInt(F[2]):0;if(K){D=true}}else{K=0}E[N]=K}if(E.ie){var G=document.documentMode;if(G>=8){E.ie=G}}K=E.ie||false;L=Math.max(K,w.maxIEVersion);for(I=8;I<=L;++I){H="ie"+I;E[H+"m"]=K?K<=I:0;E[H]=K?K===I:0;E[H+"p"]=K?K>=I:0}return E},y=function(){var E={},J,K,M,G,H,F,D,I,L;M=c(w.osPrefixes);H=M.length;for(G=0,L=0;G<H;G++){K=M[G];J=w.osPrefixes[K];F=r.match(new RegExp("("+J+")([^\\s;]+)"));D=F?F[1]:null;if(D&&(D==="HTC_"||D==="Silk/")){I=2.3}else{I=F&&F.length>1?parseFloat(F[F.length-1]):0}if(I){L++}E[K]=I}M=c(w.fallbackOSPrefixes);H=M.length;for(G=0;G<H;G++){K=M[G];if(L===0){J=w.fallbackOSPrefixes[K];F=r.toLowerCase().match(new RegExp(J));E[K]=F?true:0}else{E[K]=0}}return E},B=function(){var E={},J,H,I,G,D,F;I=c(w.devicePrefixes);D=I.length;for(G=0;G<D;G++){H=I[G];J=w.devicePrefixes[H];F=r.match(new RegExp(J));E[H]=F?true:0}return E},t=z(),u=y(),C=B(),s=d.loadPlatformsParam();p(m,t,u,C,s,true);m.phone=!!((m.iphone||m.ipod)||(!m.silk&&(m.android&&(m.android<3||x)))||(m.blackberry&&x)||(m.windows
})(this.Ext6 || (this.Ext6 = {}));