LocalCDN-Firefox-Chrome-Brave/core/mappings.js

552 lines
28 KiB
JavaScript

/**
* Mappings
* Belongs to Decentraleyes.
*
* @author Thomas Rientjes
* @since 2014-05-30
*
* @author nobody42
* @since 2020-02-26
*
* @license MPL 2.0
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*/
'use strict';
/**
* Mappings
*/
var lastMappingUpdate = "2020-03-25";
var mappings = {
// Google Hosted Libraries
'ajax.googleapis.com': {
'/ajax/libs/': {
'angularjs/{version}/angular.': resources.angular,
'angularjs/{version}/angular-animate.': resources.angularAnimate,
'angularjs/{version}/angular-sanitize.': resources.angularSanitize,
'angularjs/{version}/angular-cookies.': resources.angularCookies,
'angularjs/{version}/angular-resource.': resources.angularResource,
'angularjs/{version}/angular-touch.': resources.angularTouch,
'dojo/{version}/dojo/dojo.': resources.dojo,
'ext-core/{version}/ext-core.': resources.extCore,
'ext-core/{version}/ext-core-debug.': resources.extCore,
'jquery/{version}/jquery.': resources.jQuery,
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
'jqueryui/{version}/themes/base/minified/jquery-ui.min.css': resources.jQueryUiThemes,
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
'prototype/{version}/prototype.': resources.prototypeJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'webfont/{version}/webfont.': resources.webfont,
'webfont/{version}/webfontloader.js': resources.webfontloader,
'webfont/1/webfont.js': resources.webfont
}
},
// Microsoft Ajax CDN
'ajax.aspnetcdn.com': {
'/ajax/': {
'jQuery/jquery-{version}.': resources.jQuery,
'jquery/jquery-{version}.': resources.jQuery,
'modernizr/modernizr-{version}.': resources.modernizr,
'bootstrap/{version}/bootstrap.min.': resources.bootstrapJS
}
},
// Microsoft Ajax CDN [Deprecated]
'ajax.microsoft.com': {
'/ajax/': {
'jQuery/jquery-{version}.': resources.jQuery,
'jquery/jquery-{version}.': resources.jQuery,
'modernizr/modernizr-{version}.': resources.modernizr
}
},
// CDNJS (Cloudflare)
'cdnjs.cloudflare.com': {
'/ajax/libs/': {
'algoliasearch/{version}/algoliasearch.angular.': resources.algoliaSearch,
'angucomplete-alt/{version}/angucomplete-alt.': resources.anguComplete,
'angular-ui-bootstrap/{version}/ui-bootstrap-tpls.': resources.angularUiBootstrap,
'angular-ui-router/{version}/angular-ui-router.': resources.angularUiRouter,
'angular-ui-select/{version}/select.': resources.angularJsUiSelect,
'angularjs-slider/{version}/rzslider.': resources.angularJSslider,
'angular-animate/{version}/angular-animate.min.': resources.angularAnimate,
'angular.js/{version}/angular.': resources.angular,
'angular.js/{version}/angular-animate.min.': resources.angularAnimate,
'animate.css/{version}/animate.': resources.animateCSS,
'backbone.js/{version}/backbone.': resources.backbone,
'backbone.js/{version}/backbone-min.': resources.backbone,
'bootstrap-daterangepicker/{version}/daterangepicker.': resources.bootstrapDaterangepicker,
'bootstrap-slider/{version}/css/bootstrap-slider.min.css': resources.bootstrapSliderCSS,
'bootstrap-slider/{version}/css/bootstrap-slider.css': resources.bootstrapSliderCSS,
'bootstrap-slider/{version}/bootstrap-slider.min.js': resources.bootstrapSliderJS,
'clipboard.js/{version}/clipboard.min.js': resources.clipboardJS,
'd3/{version}/d3.min.js': resources.d3JS,
'dojo/{version}/dojo.': resources.dojo,
'ember.js/{version}/ember.': resources.ember,
'ext-core/{version}/ext-core.': resources.extCore,
'font-awesome/{version}/css/font-awesome': resources.fontawesome,
'font-awesome/{version}/css/all.min.css': resources.fontawesome5,
'jeditable.js/{version}/jquery.jeditable.min.js': resources.jeditableJS,
'jeditable.js/{version}/jeditable.min.js': resources.jeditableJS,
'jquery/{version}/jquery.': resources.jQuery,
'jquery/{version}/jquery.min.': resources.jQuery,
'jquery.blockUI/{version}/jquery.blockUI.min.js': resources.jQueryBlockUI,
'jquery.lazyload/{version}/jquery.lazyload.min.js': resources.jQueryLazyLoad,
'jquery-migrate/{version}/jquery-migrate.min.js': resources.jQueryMigrate,
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
'jquery-validate/{version}/jquery.validate.min.js': resources.jqueryValidationPlugin,
'js-cookie/{version}/js.cookie.min.js': resources.jscookie,
'lazysizes/{version}/lazysizes.min.js': resources.lazysizes,
'lodash.js/{version}/lodash.': resources.lodashJS,
'modernizr/{version}/modernizr.': resources.modernizr,
'moment.js/{version}/moment.': resources.moment,
'moment.js/{version}/moment.min.': resources.moment,
'mootools/{version}/mootools-core': resources.mootools,
'oclazyload/{version}/ocLazyLoad.': resources.ocLazyLoad,
'page.js/{version}/page.min.': resources.pageJs,
'plyr/{version}/plyr.css': resources.plyrCSS,
'raven.js/{version}/raven.min.js': resources.ravenJS,
'raven.js/{version}/plugins/angular.min.js': resources.ravenPluginAngularJS,
'rickshaw/{version}/rickshaw.min.css': resources.rickshawCSS,
'rickshaw/{version}/rickshaw.min.js': resources.rickshawJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'select2/{version}/js/select2.min.js': resources.select2js,
'select2/{version}/css/select2.min.css': resources.select2css,
'spin.js/{version}/spin.min.js': resources.spinJS,
'socket.io/{version}/socket.io.': resources.socketIO,
'swfobject/{version}/swfobject.': resources.swfobject,
'toastr.js/{version}/toastr.min.css': resources.toastrCSS,
'toastr.js/{version}/toastr.min.js': resources.toastrJS,
'twitter-bootstrap/{version}/js/bootstrap.min.js': resources.twitterBootstrapJS,
'twitter-bootstrap/{version}/css/bootstrap.': resources.twitterBootstrapCSS,
'underscore.js/{version}/underscore.': resources.underscore,
'underscore.js/{version}/underscore-min.': resources.underscore,
'vue/{version}/vue.min.js': resources.vueJs,
'webfont/{version}/webfont.js': resources.webfont,
'webfont/{version}/webfontloader.js': resources.webfont,
'webrtc-adapter/{version}/adapter.min.js': resources.webRTCadapter,
'wow/{version}/wow.min.': resources.wow
}
},
// jQuery CDN (MaxCDN)
'code.jquery.com': {
'/': {
'jquery-{version}.': resources.jQuery,
'ui/{version}/jquery-ui.js': resources.jQueryUI,
'ui/{version}/jquery-ui.min.js': resources.jQueryUI,
// Basic Shorthand Notations [Deprecated]
'jquery-latest.': {
'path': 'resources/jquery/1.11.1/jquery.min.jsm',
'type': 'application/javascript'
},
'jquery.': {
'path': 'resources/jquery/1.11.1/jquery.min.jsm',
'type': 'application/javascript'
}
}
},
// jsDelivr (Cloudflare)
'cdn.jsdelivr.net': {
'/npm/': {
'angular@{version}/angular.': resources.angular,
'angular@{version}/angular.min.': resources.angular,
'animate.css@{version}/animate.min.css': resources.animateCSS,
'backbone@{version}/backbone.': resources.backbone,
'backbone@{version}/backbone-min.': resources.backbone,
'backbone@{version}/backbone.min.': resources.backbone,
'dojo@{version}/dojo.': resources.dojo,
'ember-source@{version}/dist/ember.': resources.ember,
'ember-source@{version}/dist/ember.min.': resources.ember,
'ember-source@{version}/dist/legacy/ember.': resources.ember,
'ember-source@{version}/dist/legacy/ember.min.': resources.ember,
'@findify/bundle@{version}/dist/bundle.js': resources.findifyBundle,
'@findify/bundle@{version}/dist/components.js': resources.findifyBundle,
'@findify/bundle@{version}/dist/config.js': resources.findifyBundle,
'@findify/bundle@{version}/dist/initializer.js': resources.findifyBundle,
'@findify/bundle@{version}/dist/polyfill.js': resources.findifyBundle,
'@findify/bundle@{version}/dist/vendors~components~initializer.js': resources.findifyBundle,
'@findify/bundle@{version}/dist/vendors~initializer.js': resources.findifyBundle,
'@findify/bundle@{version}/dist/vendors~sentry.js': resources.findifyBundle,
'flv.js/dist/flv.min.js': resources.flvJS,
'hls.js/dist/hls.min.js': resources.hlsJS,
'jquery@{version}/dist/jquery.': resources.jQuery,
'jquery@{version}/dist/jquery.min.': resources.jQuery,
'jquery-ui@{version}/jquery-ui.js': resources.jQueryUI,
'jquery-ui@{version}/jquery-ui.min.js': resources.jQueryUI,
'jquery-ui-dist@{version}/jquery-ui.js': resources.jQueryUI,
'jquery-ui-dist@{version}/jquery-ui.min.js': resources.jQueryUI,
'lozad': resources.lozad,
'npm-modernizr@{version}/modernizr.': resources.modernizr,
'npm-modernizr@{version}/modernizr.min.': resources.modernizr,
'moment@{version}/moment.': resources.moment,
'moment@{version}/moment.min.': resources.moment,
'mootools@{version}/lib/mootools-core-{version}-server.': resources.mootools,
'mootools@{version}/lib/mootools-core-{version}-server.min.': resources.mootools,
'p2p-media-loader-core@latest/build/p2p-media-loader-core.min.js': resources.p2pMediaLoaderCore,
'swfobject@{version}/index.js': resources.swfobject,
'store-js@{version}/dist/store.legacy.min.js': resources.storeJS,
'scriptaculous-js@{version}/scriptaculous.': resources.scriptaculous,
'underscore@{version}/underscore.': resources.underscore,
'underscore@{version}/underscore-min.': resources.underscore,
'urlize.js/urlize.js': resources.jqueryURLive,
'@webcomponents/webcomponentsjs/webcomponents-loader.js': resources.webcomponentsJS,
'webfontloader@{version}/webfontloader.': resources.webfont
},
// Deprecated (?)
'/': {
'angularjs/{version}/angular.': resources.angular,
'backbonejs/{version}/backbone.': resources.backbone,
'backbonejs/{version}/backbone-min.': resources.backbone,
'dojo/{version}/dojo.': resources.dojo,
'emberjs/{version}/ember.': resources.ember,
'jquery/{version}/jquery.': resources.jQuery,
'npm/jquery@{version}/dist/jquery.': resources.jQuery,
'jquery.ui/{version}/jquery-ui.js': resources.jQueryUI,
'jquery.ui/{version}/jquery-ui.min.js': resources.jQueryUI,
'momentjs/{version}/moment.': resources.moment,
'momentjs/{version}/moment.min.': resources.moment,
'mootools/{version}/mootools-': resources.mootools,
'swfobject/{version}/swfobject.': resources.swfobject,
'underscorejs/{version}/underscore.': resources.underscore,
'underscorejs/{version}/underscore-min.': resources.underscore,
'webfontloader/{version}/webfont': resources.webfont
},
// TEMPORARY SOLUTION
'/g/': {
'algoliasearch@3(algoliasearchLite.min.js),algoliasearch.helper@2': resources.algoliasearchSearchlightHelper
}
},
// Yandex CDN
'yastatic.net': {
'/': {
'angularjs/{version}/angular.': resources.angular,
'backbone/{version}/backbone.': resources.backbone,
'backbone/{version}/backbone-min.': resources.backbone,
'dojo/{version}/dojo/dojo.': resources.dojo,
'ext-core/{version}/ext-core.': resources.extCore,
'jquery/{version}/jquery.': resources.jQuery,
'jquery-ui/{version}/jquery-ui.js': resources.jQueryUI,
'jquery-ui/{version}/jquery-ui.min.js': resources.jQueryUI,
'modernizr/{version}/modernizr.': resources.modernizr,
'momentjs/{version}/moment.': resources.moment,
'momentjs/{version}/moment.min.': resources.moment,
'prototype/{version}/prototype.': resources.prototypeJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'underscore/{version}/underscore.': resources.underscore,
'underscore/{version}/underscore-min.': resources.underscore
}
},
// Yandex CDN [Deprecated]
'yandex.st': {
'/': {
'angularjs/{version}/angular.': resources.angular,
'backbone/{version}/backbone.': resources.backbone,
'backbone/{version}/backbone-min.': resources.backbone,
'dojo/{version}/dojo/dojo.': resources.dojo,
'ext-core/{version}/ext-core.': resources.extCore,
'jquery/{version}/jquery.': resources.jQuery,
'jquery-ui/{version}/jquery-ui.js': resources.jQueryUI,
'jquery-ui/{version}/jquery-ui.min.js': resources.jQueryUI,
'modernizr/{version}/modernizr.': resources.modernizr,
'momentjs/{version}/moment.': resources.moment,
'momentjs/{version}/moment.min.': resources.moment,
'prototype/{version}/prototype.': resources.prototypeJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'underscore/{version}/underscore.': resources.underscore,
'underscore/{version}/underscore-min.': resources.underscore
}
},
// Baidu CDN
'apps.bdimg.com': {
'/libs/': {
'angular.js/{version}/angular.': resources.angular,
'backbone.js/{version}/backbone.': resources.backbone,
'backbone.js/{version}/backbone-min.': resources.backbone,
'dojo/{version}/dojo.': resources.dojo,
'ember.js/{version}/ember.': resources.ember,
'ext-core/{version}/ext-core.': resources.extCore,
'jquery/{version}/jquery.': resources.jQuery,
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
'moment/{version}/moment.': resources.moment,
'moment/{version}/moment.min.': resources.moment,
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
'prototype/{version}/prototype.': resources.prototypeJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'swfobject/{version}/swfobject_src.': resources.swfobject,
'underscore.js/{version}/underscore.': resources.underscore,
'underscore.js/{version}/underscore-min.': resources.underscore,
'webfont/{version}/webfont.': resources.webfont,
'webfont/{version}/webfont_debug.': resources.webfont
}
},
// Baidu CDN
'libs.baidu.com': {
'/': {
'angular.js/{version}/angular.min.js': resources.angularjs,
'backbone.js/{version}/backbone.': resources.backbone,
'backbone.js/{version}/backbone-min.': resources.backbone,
'dojo/{version}/dojo.': resources.dojo,
'ember.js/{version}/ember.min.js': resources.ember.js,
'ext-core/{version}/ext-core.': resources.extCore,
'jquery/{version}/jquery.': resources.jQuery,
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
'moment/{version}/moment.': resources.moment,
'moment/{version}/moment.min.': resources.moment,
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
'prototype/{version}/prototype.': resources.prototypeJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'underscore.js/{version}/underscore.': resources.underscore,
'underscore.js/{version}/underscore-min.': resources.underscore,
'webfont/{version}/webfont.': resources.webfont,
'webfont/{version}/webfont_debug.': resources.webfont
},
'/libs/': {
'angular.js/{version}/angular.min.js': resources.angularjs,
'backbone.js/{version}/backbone.': resources.backbone,
'backbone.js/{version}/backbone-min.': resources.backbone,
'dojo/{version}/dojo.': resources.dojo,
'ember.js/{version}/ember.min.js': resources.ember.js,
'ext-core/{version}/ext-core.': resources.extCore,
'jquery/{version}/jquery.': resources.jQuery,
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
'prototype/{version}/prototype.': resources.prototypeJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'underscore.js/{version}/underscore.': resources.underscore,
'underscore.js/{version}/underscore-min.': resources.underscore,
'webfont/{version}/webfont.': resources.webfont,
'webfont/{version}/webfont_debug.': resources.webfont
}
},
// Baidu CDN
'apps.bdimg.com': {
'/libs/': {
'angular.js/{version}/angular.min.js': resources.angularjs,
'backbone.js/{version}/backbone.': resources.backbone,
'backbone.js/{version}/backbone-min.': resources.backbone,
'dojo/{version}/dojo.': resources.dojo,
'ember.js/{version}/ember.min.js': resources.ember.js,
'ext-core/{version}/ext-core.': resources.extCore,
'jquery/{version}/jquery.': resources.jQuery,
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
'prototype/{version}/prototype.': resources.prototypeJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'underscore.js/{version}/underscore.': resources.underscore,
'underscore.js/{version}/underscore-min.': resources.underscore,
'webfont/{version}/webfont.': resources.webfont,
'webfont/{version}/webfont_debug.': resources.webfont
}
},
// Staticfile CDN
'cdn.staticfile.org': {
'/': {
'angular.js/{version}/angular.min.js': resources.angularjs,
'backbone.js/{version}/backbone.': resources.backbone,
'backbone.js/{version}/backbone-min.': resources.backbone,
'dojo/{version}/dojo.': resources.dojo,
'ember.js/{version}/ember.min.js': resources.ember.js,
'ext-core/{version}/ext-core.': resources.extCore,
'jquery/{version}/jquery.': resources.jQuery,
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
'modernizr/{version}/modernizr.': resources.modernizr,
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
'prototype/{version}/prototype.': resources.prototypeJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'webfont/{version}/webfont.': resources.webfont,
'webfont/{version}/webfont_debug.': resources.webfont
}
},
// BootCDN
'cdn.bootcss.com': {
'/': {
'angular.js/{version}/angular.min.js': resources.angularjs,
'backbone.js/{version}/backbone.': resources.backbone,
'backbone.js/{version}/backbone-min.': resources.backbone,
'dojo/{version}/dojo.': resources.dojo,
'ember.js/{version}/ember.min.js': resources.ember.js,
'ext-core/{version}/ext-core.': resources.extCore,
'jquery/{version}/jquery.': resources.jQuery,
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
'modernizr/{version}/modernizr.': resources.modernizr,
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
'prototype/{version}/prototype.': resources.prototypeJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'underscore.js/{version}/underscore.': resources.underscore,
'underscore.js/{version}/underscore-min.': resources.underscore,
'webfont/{version}/webfont.': resources.webfont,
'webfont/{version}/webfont_debug.': resources.webfont
}
},
// Tencent Public Libraries
'mat1.gtimg.com': {
'/libs/' :{
'angular.js/{version}/angular.min.js': resources.angularjs,
'jquery/{version}/jquery.': resources.jQuery,
}
},
// Qihoo 360 CDN
'lib.baomitu.com': {
'/': {
'angular.js/{version}/angular.min.js': resources.angularjs,
'backbone.js/{version}/backbone.': resources.backbone,
'backbone.js/{version}/backbone-min.': resources.backbone,
'dojo/{version}/dojo.': resources.dojo,
'ember.js/{version}/ember.min.js': resources.ember.js,
'ext-core/{version}/ext-core.': resources.extCore,
'jquery/{version}/jquery.': resources.jQuery,
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
'modernizr/{version}/modernizr.': resources.modernizr,
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
'prototype/{version}/prototype.': resources.prototypeJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'underscore.js/{version}/underscore.': resources.underscore,
'underscore.js/{version}/underscore-min.': resources.underscore,
'webfont/{version}/webfont.': resources.webfont,
'webfont/{version}/webfont_debug.': resources.webfont
}
},
// Sina Public Resources
'lib.sinaapp.com': {
'/js/': {
'angular.js/angular-{version}/angular.': resources.angular,
'backbone/{version}/backbone.': resources.backbone,
'dojo/{version}/dojo.': resources.dojo,
'ext-core/{version}/ext-core.': resources.extCore,
'ext-core/{version}/ext-core-debug.': resources.extCore,
'jquery/{version}/jquery.': resources.jQuery,
'jquery/{version}/jquery-': resources.jQuery,
'jquery-ui/{version}/jquery-ui.js': resources.jQueryUI,
'jquery-ui/{version}/jquery-ui.min.js': resources.jQueryUI,
'mootools/{version}/mootools.': resources.mootools,
'prototype/{version}/prototype.': resources.prototypeJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'underscore/{version}/underscore.': resources.underscore,
'underscore/{version}/underscore-min.': resources.underscore,
'webfont/{version}/webfont.': resources.webfont,
'webfont/{version}/webfont_debug.': resources.webfont
}
},
// UpYun Library
'upcdn.b0.upaiyun.com': {
'/libs/': {
'dojo/dojo-{version}.': resources.dojo,
'emberjs/emberjs-{version}.': resources.ember,
'jquery/jquery-{version}.': resources.jQuery,
'jqueryui/jquery.ui-{version}.js': resources.jQueryUI,
'jqueryui/jquery.ui-{version}.min.js': resources.jQueryUI,
'modernizr/modernizr-{version}.': resources.modernizr,
'mootoolscore/mootools.core-{version}.': resources.mootools
}
},
// BootCDN
'cdn.bootcss.com': {
'/': {
'angular.js/{version}/angular.': resources.angular,
'backbone.js/{version}/backbone.': resources.backbone,
'backbone.js/{version}/backbone-min.': resources.backbone,
'dojo/{version}/dojo.': resources.dojo,
'ember.js/{version}/ember.': resources.ember,
'ext-core/{version}/ext-core.': resources.extCore,
'jquery/{version}/jquery.': resources.jQuery,
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
'modernizr/{version}/modernizr.': resources.modernizr,
'moment.js/{version}/moment.': resources.moment,
'moment.js/{version}/moment.min.': resources.moment,
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
'prototype/{version}/prototype.': resources.prototypeJS,
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
'swfobject/{version}/swfobject.': resources.swfobject,
'underscore.js/{version}/underscore.': resources.underscore,
'underscore.js/{version}/underscore-min.': resources.underscore,
'webfont/{version}/webfontloader.': resources.webfont
}
},
// StackPath BootstrapCDN
'stackpath.bootstrapcdn.com': {
'/': {
'bootstrap/{version}/js/bootstrap.min.': resources.bootstrapJS,
'bootstrap/{version}/css/bootstrap.min.': resources.bootstrapCSS,
'font-awesome/{version}/css/font-awesome': resources.fontawesome
}
},
// MaxCDN Bootstrap
'maxcdn.bootstrapcdn.com': {
'/': {
'bootstrap/{version}/js/bootstrap.min.': resources.bootstrapJS,
'bootstrap/{version}/css/bootstrap.min.': resources.bootstrapCSS,
'font-awesome/{version}/css/font-awesome': resources.fontawesome
}
},
// NetDNA Bootstrap
'netdna.bootstrapcdn.com': {
'/bootstrap/': {
'{version}/js/bootstrap.min.': resources.bootstrapJS,
'{version}/css/bootstrap.min.': resources.bootstrapCSS
},
'/font-awesome/': {
'{version}/css/font-awesome.css': resources.fontawesome
}
},
// Font Awesome CDN
'use.fontawesome.com': {
'/releases/v': {
'{version}/css/all.css': resources.fontawesome5
}
},
// Cloudflare Rocket-Loader
'ajax.cloudflare.com': {
'/': {
'cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.': resources.cfRocketLoader
}
},
// Akamai WebCDN
'akamai-webcdn.kgstatic.net': {
'/': {
'renewal/static/js/lozad.min.': resources.lozad
}
}
};
// Geekzu Public Service [Mirror]
mappings['sdn.geekzu.org'] = {
'/ajax/ajax/libs/': mappings['ajax.googleapis.com']['/ajax/libs/']
};
// USTC Linux User Group [Mirror]
mappings['ajax.proxy.ustclug.org'] = mappings['ajax.googleapis.com'];
//UNPKG (Cloudflare)
mappings['unpkg.com'] = {
'/': mappings['cdn.jsdelivr.net']['/npm/']
};