/** vim: et:ts=4:sw=4:sts=4
 * @license RequireJS 2.3.6 Copyright jQuery Foundation and other contributors.
 * Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE
 */
//Not using strict: uneven strict support in browsers, #392, and causes
//problems with requirejs.exec()/transpiler plugins that may not be strict.
/*jslint regexp: true, nomen: true, sloppy: true */
/*global window, navigator, document, importScripts, setTimeout, opera */

var requirejs, require, define;
(function (global, setTimeout) {
    var req, s, head, baseElement, dataMain, src,
        interactiveScript, currentlyAddingScript, mainScript, subPath,
        version = '2.3.6',
        commentRegExp = /\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/mg,
        cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
        jsSuffixRegExp = /\.js$/,
        currDirRegExp = /^\.\//,
        op = Object.prototype,
        ostring = op.toString,
        hasOwn = op.hasOwnProperty,
        isBrowser = !!(typeof window !== 'undefined' && typeof navigator !== 'undefined' && window.document),
        isWebWorker = !isBrowser && typeof importScripts !== 'undefined',
        //PS3 indicates loaded and complete, but need to wait for complete
        //specifically. Sequence is 'loading', 'loaded', execution,
        // then 'complete'. The UA check is unfortunate, but not sure how
        //to feature test w/o causing perf issues.
        readyRegExp = isBrowser && navigator.platform === 'PLAYSTATION 3' ?
            /^complete$/ : /^(complete|loaded)$/,
        defContextName = '_',
        //Oh the tragedy, detecting opera. See the usage of isOpera for reason.
        isOpera = typeof opera !== 'undefined' && opera.toString() === '[object Opera]',
        contexts = {},
        cfg = {},
        globalDefQueue = [],
        useInteractive = false;

    //Could match something like ')//comment', do not lose the prefix to comment.
    function commentReplace(match, singlePrefix) {
        return singlePrefix || '';
    }

    function isFunction(it) {
        return ostring.call(it) === '[object Function]';
    }

    function isArray(it) {
        return ostring.call(it) === '[object Array]';
    }

    /**
     * Helper function for iterating over an array. If the func returns
     * a true value, it will break out of the loop.
     */
    function each(ary, func) {
        if (ary) {
            var i;
            for (i = 0; i < ary.length; i += 1) {
                if (ary[i] && func(ary[i], i, ary)) {
                    break;
                }
            }
        }
    }

    /**
     * Helper function for iterating over an array backwards. If the func
     * returns a true value, it will break out of the loop.
     */
    function eachReverse(ary, func) {
        if (ary) {
            var i;
            for (i = ary.length - 1; i > -1; i -= 1) {
                if (ary[i] && func(ary[i], i, ary)) {
                    break;
                }
            }
        }
    }

    function hasProp(obj, prop) {
        return hasOwn.call(obj, prop);
    }

    function getOwn(obj, prop) {
        return hasProp(obj, prop) && obj[prop];
    }

    /**
     * Cycles over properties in an object and calls a function for each
     * property value. If the function returns a truthy value, then the
     * iteration is stopped.
     */
    function eachProp(obj, func) {
        var prop;
        for (prop in obj) {
            if (hasProp(obj, prop)) {
                if (func(obj[prop], prop)) {
                    break;
                }
            }
        }
    }

    /**
     * Simple function to mix in properties from source into target,
     * but only if target does not already have a property of the same name.
     */
    function mixin(target, source, force, deepStringMixin) {
        if (source) {
            eachProp(source, function (value, prop) {
                if (force || !hasProp(target, prop)) {
                    if (deepStringMixin && typeof value === 'object' && value &&
                        !isArray(value) && !isFunction(value) &&
                        !(value instanceof RegExp)) {

                        if (!target[prop]) {
                            target[prop] = {};
                        }
                        mixin(target[prop], value, force, deepStringMixin);
                    } else {
                        target[prop] = value;
                    }
                }
            });
        }
        return target;
    }

    //Similar to Function.prototype.bind, but the 'this' object is specified
    //first, since it is easier to read/figure out what 'this' will be.
    function bind(obj, fn) {
        return function () {
            return fn.apply(obj, arguments);
        };
    }

    function scripts() {
        return document.getElementsByTagName('script');
    }

    function defaultOnError(err) {
        throw err;
    }

    //Allow getting a global that is expressed in
    //dot notation, like 'a.b.c'.
    function getGlobal(value) {
        if (!value) {
            return value;
        }
        var g = global;
        each(value.split('.'), function (part) {
            g = g[part];
        });
        return g;
    }

    /**
     * Constructs an error with a pointer to an URL with more information.
     * @param {String} id the error ID that maps to an ID on a web page.
     * @param {String} message human readable error.
     * @param {Error} [err] the original error, if there is one.
     *
     * @returns {Error}
     */
    function makeError(id, msg, err, requireModules) {
        var e = new Error(msg + '\nhttps://requirejs.org/docs/errors.html#' + id);
        e.requireType = id;
        e.requireModules = requireModules;
        if (err) {
            e.originalError = err;
        }
        return e;
    }

    if (typeof define !== 'undefined') {
        //If a define is already in play via another AMD loader,
        //do not overwrite.
        return;
    }

    if (typeof requirejs !== 'undefined') {
        if (isFunction(requirejs)) {
            //Do not overwrite an existing requirejs instance.
            return;
        }
        cfg = requirejs;
        requirejs = undefined;
    }

    //Allow for a require config object
    if (typeof require !== 'undefined' && !isFunction(require)) {
        //assume it is a config object.
        cfg = require;
        require = undefined;
    }

    function newContext(contextName) {
        var inCheckLoaded, Module, context, handlers,
            checkLoadedTimeoutId,
            config = {
                //Defaults. Do not set a default for map
                //config to speed up normalize(), which
                //will run faster if there is no default.
                waitSeconds: 7,
                baseUrl: './',
                paths: {},
                bundles: {},
                pkgs: {},
                shim: {},
                config: {}
            },
            registry = {},
            //registry of just enabled modules, to speed
            //cycle breaking code when lots of modules
            //are registered, but not activated.
            enabledRegistry = {},
            undefEvents = {},
            defQueue = [],
            defined = {},
            urlFetched = {},
            bundlesMap = {},
            requireCounter = 1,
            unnormalizedCounter = 1;

        /**
         * Trims the . and .. from an array of path segments.
         * It will keep a leading path segment if a .. will become
         * the first path segment, to help with module name lookups,
         * which act like paths, but can be remapped. But the end result,
         * all paths that use this function should look normalized.
         * NOTE: this method MODIFIES the input array.
         * @param {Array} ary the array of path segments.
         */
        function trimDots(ary) {
            var i, part;
            for (i = 0; i < ary.length; i++) {
                part = ary[i];
                if (part === '.') {
                    ary.splice(i, 1);
                    i -= 1;
                } else if (part === '..') {
                    // If at the start, or previous value is still ..,
                    // keep them so that when converted to a path it may
                    // still work when converted to a path, even though
                    // as an ID it is less than ideal. In larger point
                    // releases, may be better to just kick out an error.
                    if (i === 0 || (i === 1 && ary[2] === '..') || ary[i - 1] === '..') {
                        continue;
                    } else if (i > 0) {
                        ary.splice(i - 1, 2);
                        i -= 2;
                    }
                }
            }
        }

        /**
         * Given a relative module name, like ./something, normalize it to
         * a real name that can be mapped to a path.
         * @param {String} name the relative name
         * @param {String} baseName a real name that the name arg is relative
         * to.
         * @param {Boolean} applyMap apply the map config to the value. Should
         * only be done if this normalization is for a dependency ID.
         * @returns {String} normalized name
         */
        function normalize(name, baseName, applyMap) {
            var pkgMain, mapValue, nameParts, i, j, nameSegment, lastIndex,
                foundMap, foundI, foundStarMap, starI, normalizedBaseParts,
                baseParts = (baseName && baseName.split('/')),
                map = config.map,
                starMap = map && map['*'];

            //Adjust any relative paths.
            if (name) {
                name = name.split('/');
                lastIndex = name.length - 1;

                // If wanting node ID compatibility, strip .js from end
                // of IDs. Have to do this here, and not in nameToUrl
                // because node allows either .js or non .js to map
                // to same file.
                if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) {
                    name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, '');
                }

                // Starts with a '.' so need the baseName
                if (name[0].charAt(0) === '.' && baseParts) {
                    //Convert baseName to array, and lop off the last part,
                    //so that . matches that 'directory' and not name of the baseName's
                    //module. For instance, baseName of 'one/two/three', maps to
                    //'one/two/three.js', but we want the directory, 'one/two' for
                    //this normalization.
                    normalizedBaseParts = baseParts.slice(0, baseParts.length - 1);
                    name = normalizedBaseParts.concat(name);
                }

                trimDots(name);
                name = name.join('/');
            }

            //Apply map config if available.
            if (applyMap && map && (baseParts || starMap)) {
                nameParts = name.split('/');

                outerLoop: for (i = nameParts.length; i > 0; i -= 1) {
                    nameSegment = nameParts.slice(0, i).join('/');

                    if (baseParts) {
                        //Find the longest baseName segment match in the config.
                        //So, do joins on the biggest to smallest lengths of baseParts.
                        for (j = baseParts.length; j > 0; j -= 1) {
                            mapValue = getOwn(map, baseParts.slice(0, j).join('/'));

                            //baseName segment has config, find if it has one for
                            //this name.
                            if (mapValue) {
                                mapValue = getOwn(mapValue, nameSegment);
                                if (mapValue) {
                                    //Match, update name to the new value.
                                    foundMap = mapValue;
                                    foundI = i;
                                    break outerLoop;
                                }
                            }
                        }
                    }

                    //Check for a star map match, but just hold on to it,
                    //if there is a shorter segment match later in a matching
                    //config, then favor over this star map.
                    if (!foundStarMap && starMap && getOwn(starMap, nameSegment)) {
                        foundStarMap = getOwn(starMap, nameSegment);
                        starI = i;
                    }
                }

                if (!foundMap && foundStarMap) {
                    foundMap = foundStarMap;
                    foundI = starI;
                }

                if (foundMap) {
                    nameParts.splice(0, foundI, foundMap);
                    name = nameParts.join('/');
                }
            }

            // If the name points to a package's name, use
            // the package main instead.
            pkgMain = getOwn(config.pkgs, name);

            return pkgMain ? pkgMain : name;
        }

        function removeScript(name) {
            if (isBrowser) {
                each(scripts(), function (scriptNode) {
                    if (scriptNode.getAttribute('data-requiremodule') === name &&
                        scriptNode.getAttribute('data-requirecontext') === context.contextName) {
                        scriptNode.parentNode.removeChild(scriptNode);
                        return true;
                    }
                });
            }
        }

        function hasPathFallback(id) {
            var pathConfig = getOwn(config.paths, id);
            if (pathConfig && isArray(pathConfig) && pathConfig.length > 1) {
                //Pop off the first array value, since it failed, and
                //retry
                pathConfig.shift();
                context.require.undef(id);

                //Custom require that does not do map translation, since
                //ID is "absolute", already mapped/resolved.
                context.makeRequire(null, {
                    skipMap: true
                })([id]);

                return true;
            }
        }

        //Turns a plugin!resource to [plugin, resource]
        //with the plugin being undefined if the name
        //did not have a plugin prefix.
        function splitPrefix(name) {
            var prefix,
                index = name ? name.indexOf('!') : -1;
            if (index > -1) {
                prefix = name.substring(0, index);
                name = name.substring(index + 1, name.length);
            }
            return [prefix, name];
        }

        /**
         * Creates a module mapping that includes plugin prefix, module
         * name, and path. If parentModuleMap is provided it will
         * also normalize the name via require.normalize()
         *
         * @param {String} name the module name
         * @param {String} [parentModuleMap] parent module map
         * for the module name, used to resolve relative names.
         * @param {Boolean} isNormalized: is the ID already normalized.
         * This is true if this call is done for a define() module ID.
         * @param {Boolean} applyMap: apply the map config to the ID.
         * Should only be true if this map is for a dependency.
         *
         * @returns {Object}
         */
        function makeModuleMap(name, parentModuleMap, isNormalized, applyMap) {
            var url, pluginModule, suffix, nameParts,
                prefix = null,
                parentName = parentModuleMap ? parentModuleMap.name : null,
                originalName = name,
                isDefine = true,
                normalizedName = '';

            //If no name, then it means it is a require call, generate an
            //internal name.
            if (!name) {
                isDefine = false;
                name = '_@r' + (requireCounter += 1);
            }

            nameParts = splitPrefix(name);
            prefix = nameParts[0];
            name = nameParts[1];

            if (prefix) {
                prefix = normalize(prefix, parentName, applyMap);
                pluginModule = getOwn(defined, prefix);
            }

            //Account for relative paths if there is a base name.
            if (name) {
                if (prefix) {
                    if (isNormalized) {
                        normalizedName = name;
                    } else if (pluginModule && pluginModule.normalize) {
                        //Plugin is loaded, use its normalize method.
                        normalizedName = pluginModule.normalize(name, function (name) {
                            return normalize(name, parentName, applyMap);
                        });
                    } else {
                        // If nested plugin references, then do not try to
                        // normalize, as it will not normalize correctly. This
                        // places a restriction on resourceIds, and the longer
                        // term solution is not to normalize until plugins are
                        // loaded and all normalizations to allow for async
                        // loading of a loader plugin. But for now, fixes the
                        // common uses. Details in #1131
                        normalizedName = name.indexOf('!') === -1 ?
                            normalize(name, parentName, applyMap) :
                            name;
                    }
                } else {
                    //A regular module.
                    normalizedName = normalize(name, parentName, applyMap);

                    //Normalized name may be a plugin ID due to map config
                    //application in normalize. The map config values must
                    //already be normalized, so do not need to redo that part.
                    nameParts = splitPrefix(normalizedName);
                    prefix = nameParts[0];
                    normalizedName = nameParts[1];
                    isNormalized = true;

                    url = context.nameToUrl(normalizedName);
                }
            }

            //If the id is a plugin id that cannot be determined if it needs
            //normalization, stamp it with a unique ID so two matching relative
            //ids that may conflict can be separate.
            suffix = prefix && !pluginModule && !isNormalized ?
                '_unnormalized' + (unnormalizedCounter += 1) :
                '';

            return {
                prefix: prefix,
                name: normalizedName,
                parentMap: parentModuleMap,
                unnormalized: !!suffix,
                url: url,
                originalName: originalName,
                isDefine: isDefine,
                id: (prefix ?
                    prefix + '!' + normalizedName :
                    normalizedName) + suffix
            };
        }

        function getModule(depMap) {
            var id = depMap.id,
                mod = getOwn(registry, id);

            if (!mod) {
                mod = registry[id] = new context.Module(depMap);
            }

            return mod;
        }

        function on(depMap, name, fn) {
            var id = depMap.id,
                mod = getOwn(registry, id);

            if (hasProp(defined, id) &&
                (!mod || mod.defineEmitComplete)) {
                if (name === 'defined') {
                    fn(defined[id]);
                }
            } else {
                mod = getModule(depMap);
                if (mod.error && name === 'error') {
                    fn(mod.error);
                } else {
                    mod.on(name, fn);
                }
            }
        }

        function onError(err, errback) {
            var ids = err.requireModules,
                notified = false;

            if (errback) {
                errback(err);
            } else {
                each(ids, function (id) {
                    var mod = getOwn(registry, id);
                    if (mod) {
                        //Set error on module, so it skips timeout checks.
                        mod.error = err;
                        if (mod.events.error) {
                            notified = true;
                            mod.emit('error', err);
                        }
                    }
                });

                if (!notified) {
                    req.onError(err);
                }
            }
        }

        /**
         * Internal method to transfer globalQueue items to this context's
         * defQueue.
         */
        function takeGlobalQueue() {
            //Push all the globalDefQueue items into the context's defQueue
            if (globalDefQueue.length) {
                each(globalDefQueue, function(queueItem) {
                    var id = queueItem[0];
                    if (typeof id === 'string') {
                        context.defQueueMap[id] = true;
                    }
                    defQueue.push(queueItem);
                });
                globalDefQueue = [];
            }
        }

        handlers = {
            'require': function (mod) {
                if (mod.require) {
                    return mod.require;
                } else {
                    return (mod.require = context.makeRequire(mod.map));
                }
            },
            'exports': function (mod) {
                mod.usingExports = true;
                if (mod.map.isDefine) {
                    if (mod.exports) {
                        return (defined[mod.map.id] = mod.exports);
                    } else {
                        return (mod.exports = defined[mod.map.id] = {});
                    }
                }
            },
            'module': function (mod) {
                if (mod.module) {
                    return mod.module;
                } else {
                    return (mod.module = {
                        id: mod.map.id,
                        uri: mod.map.url,
                        config: function () {
                            return getOwn(config.config, mod.map.id) || {};
                        },
                        exports: mod.exports || (mod.exports = {})
                    });
                }
            }
        };

        function cleanRegistry(id) {
            //Clean up machinery used for waiting modules.
            delete registry[id];
            delete enabledRegistry[id];
        }

        function breakCycle(mod, traced, processed) {
            var id = mod.map.id;

            if (mod.error) {
                mod.emit('error', mod.error);
            } else {
                traced[id] = true;
                each(mod.depMaps, function (depMap, i) {
                    var depId = depMap.id,
                        dep = getOwn(registry, depId);

                    //Only force things that have not completed
                    //being defined, so still in the registry,
                    //and only if it has not been matched up
                    //in the module already.
                    if (dep && !mod.depMatched[i] && !processed[depId]) {
                        if (getOwn(traced, depId)) {
                            mod.defineDep(i, defined[depId]);
                            mod.check(); //pass false?
                        } else {
                            breakCycle(dep, traced, processed);
                        }
                    }
                });
                processed[id] = true;
            }
        }

        function checkLoaded() {
            var err, usingPathFallback,
                waitInterval = config.waitSeconds * 1000,
                //It is possible to disable the wait interval by using waitSeconds of 0.
                expired = waitInterval && (context.startTime + waitInterval) < new Date().getTime(),
                noLoads = [],
                reqCalls = [],
                stillLoading = false,
                needCycleCheck = true;

            //Do not bother if this call was a result of a cycle break.
            if (inCheckLoaded) {
                return;
            }

            inCheckLoaded = true;

            //Figure out the state of all the modules.
            eachProp(enabledRegistry, function (mod) {
                var map = mod.map,
                    modId = map.id;

                //Skip things that are not enabled or in error state.
                if (!mod.enabled) {
                    return;
                }

                if (!map.isDefine) {
                    reqCalls.push(mod);
                }

                if (!mod.error) {
                    //If the module should be executed, and it has not
                    //been inited and time is up, remember it.
                    if (!mod.inited && expired) {
                        if (hasPathFallback(modId)) {
                            usingPathFallback = true;
                            stillLoading = true;
                        } else {
                            noLoads.push(modId);
                            removeScript(modId);
                        }
                    } else if (!mod.inited && mod.fetched && map.isDefine) {
                        stillLoading = true;
                        if (!map.prefix) {
                            //No reason to keep looking for unfinished
                            //loading. If the only stillLoading is a
                            //plugin resource though, keep going,
                            //because it may be that a plugin resource
                            //is waiting on a non-plugin cycle.
                            return (needCycleCheck = false);
                        }
                    }
                }
            });

            if (expired && noLoads.length) {
                //If wait time expired, throw error of unloaded modules.
                err = makeError('timeout', 'Load timeout for modules: ' + noLoads, null, noLoads);
                err.contextName = context.contextName;
                return onError(err);
            }

            //Not expired, check for a cycle.
            if (needCycleCheck) {
                each(reqCalls, function (mod) {
                    breakCycle(mod, {}, {});
                });
            }

            //If still waiting on loads, and the waiting load is something
            //other than a plugin resource, or there are still outstanding
            //scripts, then just try back later.
            if ((!expired || usingPathFallback) && stillLoading) {
                //Something is still waiting to load. Wait for it, but only
                //if a timeout is not already in effect.
                if ((isBrowser || isWebWorker) && !checkLoadedTimeoutId) {
                    checkLoadedTimeoutId = setTimeout(function () {
                        checkLoadedTimeoutId = 0;
                        checkLoaded();
                    }, 50);
                }
            }

            inCheckLoaded = false;
        }

        Module = function (map) {
            this.events = getOwn(undefEvents, map.id) || {};
            this.map = map;
            this.shim = getOwn(config.shim, map.id);
            this.depExports = [];
            this.depMaps = [];
            this.depMatched = [];
            this.pluginMaps = {};
            this.depCount = 0;

            /* this.exports this.factory
               this.depMaps = [],
               this.enabled, this.fetched
            */
        };

        Module.prototype = {
            init: function (depMaps, factory, errback, options) {
                options = options || {};

                //Do not do more inits if already done. Can happen if there
                //are multiple define calls for the same module. That is not
                //a normal, common case, but it is also not unexpected.
                if (this.inited) {
                    return;
                }

                this.factory = factory;

                if (errback) {
                    //Register for errors on this module.
                    this.on('error', errback);
                } else if (this.events.error) {
                    //If no errback already, but there are error listeners
                    //on this module, set up an errback to pass to the deps.
                    errback = bind(this, function (err) {
                        this.emit('error', err);
                    });
                }

                //Do a copy of the dependency array, so that
                //source inputs are not modified. For example
                //"shim" deps are passed in here directly, and
                //doing a direct modification of the depMaps array
                //would affect that config.
                this.depMaps = depMaps && depMaps.slice(0);

                this.errback = errback;

                //Indicate this module has be initialized
                this.inited = true;

                this.ignore = options.ignore;

                //Could have option to init this module in enabled mode,
                //or could have been previously marked as enabled. However,
                //the dependencies are not known until init is called. So
                //if enabled previously, now trigger dependencies as enabled.
                if (options.enabled || this.enabled) {
                    //Enable this module and dependencies.
                    //Will call this.check()
                    this.enable();
                } else {
                    this.check();
                }
            },

            defineDep: function (i, depExports) {
                //Because of cycles, defined callback for a given
                //export can be called more than once.
                if (!this.depMatched[i]) {
                    this.depMatched[i] = true;
                    this.depCount -= 1;
                    this.depExports[i] = depExports;
                }
            },

            fetch: function () {
                if (this.fetched) {
                    return;
                }
                this.fetched = true;

                context.startTime = (new Date()).getTime();

                var map = this.map;

                //If the manager is for a plugin managed resource,
                //ask the plugin to load it now.
                if (this.shim) {
                    context.makeRequire(this.map, {
                        enableBuildCallback: true
                    })(this.shim.deps || [], bind(this, function () {
                        return map.prefix ? this.callPlugin() : this.load();
                    }));
                } else {
                    //Regular dependency.
                    return map.prefix ? this.callPlugin() : this.load();
                }
            },

            load: function () {
                var url = this.map.url;

                //Regular dependency.
                if (!urlFetched[url]) {
                    urlFetched[url] = true;
                    context.load(this.map.id, url);
                }
            },

            /**
             * Checks if the module is ready to define itself, and if so,
             * define it.
             */
            check: function () {
                if (!this.enabled || this.enabling) {
                    return;
                }

                var err, cjsModule,
                    id = this.map.id,
                    depExports = this.depExports,
                    exports = this.exports,
                    factory = this.factory;

                if (!this.inited) {
                    // Only fetch if not already in the defQueue.
                    if (!hasProp(context.defQueueMap, id)) {
                        this.fetch();
                    }
                } else if (this.error) {
                    this.emit('error', this.error);
                } else if (!this.defining) {
                    //The factory could trigger another require call
                    //that would result in checking this module to
                    //define itself again. If already in the process
                    //of doing that, skip this work.
                    this.defining = true;

                    if (this.depCount < 1 && !this.defined) {
                        if (isFunction(factory)) {
                            //If there is an error listener, favor passing
                            //to that instead of throwing an error. However,
                            //only do it for define()'d  modules. require
                            //errbacks should not be called for failures in
                            //their callbacks (#699). However if a global
                            //onError is set, use that.
                            if ((this.events.error && this.map.isDefine) ||
                                req.onError !== defaultOnError) {
                                try {
                                    exports = context.execCb(id, factory, depExports, exports);
                                } catch (e) {
                                    err = e;
                                }
                            } else {
                                exports = context.execCb(id, factory, depExports, exports);
                            }

                            // Favor return value over exports. If node/cjs in play,
                            // then will not have a return value anyway. Favor
                            // module.exports assignment over exports object.
                            if (this.map.isDefine && exports === undefined) {
                                cjsModule = this.module;
                                if (cjsModule) {
                                    exports = cjsModule.exports;
                                } else if (this.usingExports) {
                                    //exports already set the defined value.
                                    exports = this.exports;
                                }
                            }

                            if (err) {
                                err.requireMap = this.map;
                                err.requireModules = this.map.isDefine ? [this.map.id] : null;
                                err.requireType = this.map.isDefine ? 'define' : 'require';
                                return onError((this.error = err));
                            }

                        } else {
                            //Just a literal value
                            exports = factory;
                        }

                        this.exports = exports;

                        if (this.map.isDefine && !this.ignore) {
                            defined[id] = exports;

                            if (req.onResourceLoad) {
                                var resLoadMaps = [];
                                each(this.depMaps, function (depMap) {
                                    resLoadMaps.push(depMap.normalizedMap || depMap);
                                });
                                req.onResourceLoad(context, this.map, resLoadMaps);
                            }
                        }

                        //Clean up
                        cleanRegistry(id);

                        this.defined = true;
                    }

                    //Finished the define stage. Allow calling check again
                    //to allow define notifications below in the case of a
                    //cycle.
                    this.defining = false;

                    if (this.defined && !this.defineEmitted) {
                        this.defineEmitted = true;
                        this.emit('defined', this.exports);
                        this.defineEmitComplete = true;
                    }

                }
            },

            callPlugin: function () {
                var map = this.map,
                    id = map.id,
                    //Map already normalized the prefix.
                    pluginMap = makeModuleMap(map.prefix);

                //Mark this as a dependency for this plugin, so it
                //can be traced for cycles.
                this.depMaps.push(pluginMap);

                on(pluginMap, 'defined', bind(this, function (plugin) {
                    var load, normalizedMap, normalizedMod,
                        bundleId = getOwn(bundlesMap, this.map.id),
                        name = this.map.name,
                        parentName = this.map.parentMap ? this.map.parentMap.name : null,
                        localRequire = context.makeRequire(map.parentMap, {
                            enableBuildCallback: true
                        });

                    //If current map is not normalized, wait for that
                    //normalized name to load instead of continuing.
                    if (this.map.unnormalized) {
                        //Normalize the ID if the plugin allows it.
                        if (plugin.normalize) {
                            name = plugin.normalize(name, function (name) {
                                return normalize(name, parentName, true);
                            }) || '';
                        }

                        //prefix and name should already be normalized, no need
                        //for applying map config again either.
                        normalizedMap = makeModuleMap(map.prefix + '!' + name,
                            this.map.parentMap,
                            true);
                        on(normalizedMap,
                            'defined', bind(this, function (value) {
                                this.map.normalizedMap = normalizedMap;
                                this.init([], function () { return value; }, null, {
                                    enabled: true,
                                    ignore: true
                                });
                            }));

                        normalizedMod = getOwn(registry, normalizedMap.id);
                        if (normalizedMod) {
                            //Mark this as a dependency for this plugin, so it
                            //can be traced for cycles.
                            this.depMaps.push(normalizedMap);

                            if (this.events.error) {
                                normalizedMod.on('error', bind(this, function (err) {
                                    this.emit('error', err);
                                }));
                            }
                            normalizedMod.enable();
                        }

                        return;
                    }

                    //If a paths config, then just load that file instead to
                    //resolve the plugin, as it is built into that paths layer.
                    if (bundleId) {
                        this.map.url = context.nameToUrl(bundleId);
                        this.load();
                        return;
                    }

                    load = bind(this, function (value) {
                        this.init([], function () { return value; }, null, {
                            enabled: true
                        });
                    });

                    load.error = bind(this, function (err) {
                        this.inited = true;
                        this.error = err;
                        err.requireModules = [id];

                        //Remove temp unnormalized modules for this module,
                        //since they will never be resolved otherwise now.
                        eachProp(registry, function (mod) {
                            if (mod.map.id.indexOf(id + '_unnormalized') === 0) {
                                cleanRegistry(mod.map.id);
                            }
                        });

                        onError(err);
                    });

                    //Allow plugins to load other code without having to know the
                    //context or how to 'complete' the load.
                    load.fromText = bind(this, function (text, textAlt) {
                        /*jslint evil: true */
                        var moduleName = map.name,
                            moduleMap = makeModuleMap(moduleName),
                            hasInteractive = useInteractive;

                        //As of 2.1.0, support just passing the text, to reinforce
                        //fromText only being called once per resource. Still
                        //support old style of passing moduleName but discard
                        //that moduleName in favor of the internal ref.
                        if (textAlt) {
                            text = textAlt;
                        }

                        //Turn off interactive script matching for IE for any define
                        //calls in the text, then turn it back on at the end.
                        if (hasInteractive) {
                            useInteractive = false;
                        }

                        //Prime the system by creating a module instance for
                        //it.
                        getModule(moduleMap);

                        //Transfer any config to this other module.
                        if (hasProp(config.config, id)) {
                            config.config[moduleName] = config.config[id];
                        }

                        try {
                            req.exec(text);
                        } catch (e) {
                            return onError(makeError('fromtexteval',
                                'fromText eval for ' + id +
                                ' failed: ' + e,
                                e,
                                [id]));
                        }

                        if (hasInteractive) {
                            useInteractive = true;
                        }

                        //Mark this as a dependency for the plugin
                        //resource
                        this.depMaps.push(moduleMap);

                        //Support anonymous modules.
                        context.completeLoad(moduleName);

                        //Bind the value of that module to the value for this
                        //resource ID.
                        localRequire([moduleName], load);
                    });

                    //Use parentName here since the plugin's name is not reliable,
                    //could be some weird string with no path that actually wants to
                    //reference the parentName's path.
                    plugin.load(map.name, localRequire, load, config);
                }));

                context.enable(pluginMap, this);
                this.pluginMaps[pluginMap.id] = pluginMap;
            },

            enable: function () {
                enabledRegistry[this.map.id] = this;
                this.enabled = true;

                //Set flag mentioning that the module is enabling,
                //so that immediate calls to the defined callbacks
                //for dependencies do not trigger inadvertent load
                //with the depCount still being zero.
                this.enabling = true;

                //Enable each dependency
                each(this.depMaps, bind(this, function (depMap, i) {
                    var id, mod, handler;

                    if (typeof depMap === 'string') {
                        //Dependency needs to be converted to a depMap
                        //and wired up to this module.
                        depMap = makeModuleMap(depMap,
                            (this.map.isDefine ? this.map : this.map.parentMap),
                            false,
                            !this.skipMap);
                        this.depMaps[i] = depMap;

                        handler = getOwn(handlers, depMap.id);

                        if (handler) {
                            this.depExports[i] = handler(this);
                            return;
                        }

                        this.depCount += 1;

                        on(depMap, 'defined', bind(this, function (depExports) {
                            if (this.undefed) {
                                return;
                            }
                            this.defineDep(i, depExports);
                            this.check();
                        }));

                        if (this.errback) {
                            on(depMap, 'error', bind(this, this.errback));
                        } else if (this.events.error) {
                            // No direct errback on this module, but something
                            // else is listening for errors, so be sure to
                            // propagate the error correctly.
                            on(depMap, 'error', bind(this, function(err) {
                                this.emit('error', err);
                            }));
                        }
                    }

                    id = depMap.id;
                    mod = registry[id];

                    //Skip special modules like 'require', 'exports', 'module'
                    //Also, don't call enable if it is already enabled,
                    //important in circular dependency cases.
                    if (!hasProp(handlers, id) && mod && !mod.enabled) {
                        context.enable(depMap, this);
                    }
                }));

                //Enable each plugin that is used in
                //a dependency
                eachProp(this.pluginMaps, bind(this, function (pluginMap) {
                    var mod = getOwn(registry, pluginMap.id);
                    if (mod && !mod.enabled) {
                        context.enable(pluginMap, this);
                    }
                }));

                this.enabling = false;

                this.check();
            },

            on: function (name, cb) {
                var cbs = this.events[name];
                if (!cbs) {
                    cbs = this.events[name] = [];
                }
                cbs.push(cb);
            },

            emit: function (name, evt) {
                each(this.events[name], function (cb) {
                    cb(evt);
                });
                if (name === 'error') {
                    //Now that the error handler was triggered, remove
                    //the listeners, since this broken Module instance
                    //can stay around for a while in the registry.
                    delete this.events[name];
                }
            }
        };

        function callGetModule(args) {
            //Skip modules already defined.
            if (!hasProp(defined, args[0])) {
                getModule(makeModuleMap(args[0], null, true)).init(args[1], args[2]);
            }
        }

        function removeListener(node, func, name, ieName) {
            //Favor detachEvent because of IE9
            //issue, see attachEvent/addEventListener comment elsewhere
            //in this file.
            if (node.detachEvent && !isOpera) {
                //Probably IE. If not it will throw an error, which will be
                //useful to know.
                if (ieName) {
                    node.detachEvent(ieName, func);
                }
            } else {
                node.removeEventListener(name, func, false);
            }
        }

        /**
         * Given an event from a script node, get the requirejs info from it,
         * and then removes the event listeners on the node.
         * @param {Event} evt
         * @returns {Object}
         */
        function getScriptData(evt) {
            //Using currentTarget instead of target for Firefox 2.0's sake. Not
            //all old browsers will be supported, but this one was easy enough
            //to support and still makes sense.
            var node = evt.currentTarget || evt.srcElement;

            //Remove the listeners once here.
            removeListener(node, context.onScriptLoad, 'load', 'onreadystatechange');
            removeListener(node, context.onScriptError, 'error');

            return {
                node: node,
                id: node && node.getAttribute('data-requiremodule')
            };
        }

        function intakeDefines() {
            var args;

            //Any defined modules in the global queue, intake them now.
            takeGlobalQueue();

            //Make sure any remaining defQueue items get properly processed.
            while (defQueue.length) {
                args = defQueue.shift();
                if (args[0] === null) {
                    return onError(makeError('mismatch', 'Mismatched anonymous define() module: ' +
                        args[args.length - 1]));
                } else {
                    //args are id, deps, factory. Should be normalized by the
                    //define() function.
                    callGetModule(args);
                }
            }
            context.defQueueMap = {};
        }

        context = {
            config: config,
            contextName: contextName,
            registry: registry,
            defined: defined,
            urlFetched: urlFetched,
            defQueue: defQueue,
            defQueueMap: {},
            Module: Module,
            makeModuleMap: makeModuleMap,
            nextTick: req.nextTick,
            onError: onError,

            /**
             * Set a configuration for the context.
             * @param {Object} cfg config object to integrate.
             */
            configure: function (cfg) {
                //Make sure the baseUrl ends in a slash.
                if (cfg.baseUrl) {
                    if (cfg.baseUrl.charAt(cfg.baseUrl.length - 1) !== '/') {
                        cfg.baseUrl += '/';
                    }
                }

                // Convert old style urlArgs string to a function.
                if (typeof cfg.urlArgs === 'string') {
                    var urlArgs = cfg.urlArgs;
                    cfg.urlArgs = function(id, url) {
                        return (url.indexOf('?') === -1 ? '?' : '&') + urlArgs;
                    };
                }

                //Save off the paths since they require special processing,
                //they are additive.
                var shim = config.shim,
                    objs = {
                        paths: true,
                        bundles: true,
                        config: true,
                        map: true
                    };

                eachProp(cfg, function (value, prop) {
                    if (objs[prop]) {
                        if (!config[prop]) {
                            config[prop] = {};
                        }
                        mixin(config[prop], value, true, true);
                    } else {
                        config[prop] = value;
                    }
                });

                //Reverse map the bundles
                if (cfg.bundles) {
                    eachProp(cfg.bundles, function (value, prop) {
                        each(value, function (v) {
                            if (v !== prop) {
                                bundlesMap[v] = prop;
                            }
                        });
                    });
                }

                //Merge shim
                if (cfg.shim) {
                    eachProp(cfg.shim, function (value, id) {
                        //Normalize the structure
                        if (isArray(value)) {
                            value = {
                                deps: value
                            };
                        }
                        if ((value.exports || value.init) && !value.exportsFn) {
                            value.exportsFn = context.makeShimExports(value);
                        }
                        shim[id] = value;
                    });
                    config.shim = shim;
                }

                //Adjust packages if necessary.
                if (cfg.packages) {
                    each(cfg.packages, function (pkgObj) {
                        var location, name;

                        pkgObj = typeof pkgObj === 'string' ? {name: pkgObj} : pkgObj;

                        name = pkgObj.name;
                        location = pkgObj.location;
                        if (location) {
                            config.paths[name] = pkgObj.location;
                        }

                        //Save pointer to main module ID for pkg name.
                        //Remove leading dot in main, so main paths are normalized,
                        //and remove any trailing .js, since different package
                        //envs have different conventions: some use a module name,
                        //some use a file name.
                        config.pkgs[name] = pkgObj.name + '/' + (pkgObj.main || 'main')
                            .replace(currDirRegExp, '')
                            .replace(jsSuffixRegExp, '');
                    });
                }

                //If there are any "waiting to execute" modules in the registry,
                //update the maps for them, since their info, like URLs to load,
                //may have changed.
                eachProp(registry, function (mod, id) {
                    //If module already has init called, since it is too
                    //late to modify them, and ignore unnormalized ones
                    //since they are transient.
                    if (!mod.inited && !mod.map.unnormalized) {
                        mod.map = makeModuleMap(id, null, true);
                    }
                });

                //If a deps array or a config callback is specified, then call
                //require with those args. This is useful when require is defined as a
                //config object before require.js is loaded.
                if (cfg.deps || cfg.callback) {
                    context.require(cfg.deps || [], cfg.callback);
                }
            },

            makeShimExports: function (value) {
                function fn() {
                    var ret;
                    if (value.init) {
                        ret = value.init.apply(global, arguments);
                    }
                    return ret || (value.exports && getGlobal(value.exports));
                }
                return fn;
            },

            makeRequire: function (relMap, options) {
                options = options || {};

                function localRequire(deps, callback, errback) {
                    var id, map, requireMod;

                    if (options.enableBuildCallback && callback && isFunction(callback)) {
                        callback.__requireJsBuild = true;
                    }

                    if (typeof deps === 'string') {
                        if (isFunction(callback)) {
                            //Invalid call
                            return onError(makeError('requireargs', 'Invalid require call'), errback);
                        }

                        //If require|exports|module are requested, get the
                        //value for them from the special handlers. Caveat:
                        //this only works while module is being defined.
                        if (relMap && hasProp(handlers, deps)) {
                            return handlers[deps](registry[relMap.id]);
                        }

                        //Synchronous access to one module. If require.get is
                        //available (as in the Node adapter), prefer that.
                        if (req.get) {
                            return req.get(context, deps, relMap, localRequire);
                        }

                        //Normalize module name, if it contains . or ..
                        map = makeModuleMap(deps, relMap, false, true);
                        id = map.id;

                        if (!hasProp(defined, id)) {
                            return onError(makeError('notloaded', 'Module name "' +
                                id +
                                '" has not been loaded yet for context: ' +
                                contextName +
                                (relMap ? '' : '. Use require([])')));
                        }
                        return defined[id];
                    }

                    //Grab defines waiting in the global queue.
                    intakeDefines();

                    //Mark all the dependencies as needing to be loaded.
                    context.nextTick(function () {
                        //Some defines could have been added since the
                        //require call, collect them.
                        intakeDefines();

                        requireMod = getModule(makeModuleMap(null, relMap));

                        //Store if map config should be applied to this require
                        //call for dependencies.
                        requireMod.skipMap = options.skipMap;

                        requireMod.init(deps, callback, errback, {
                            enabled: true
                        });

                        checkLoaded();
                    });

                    return localRequire;
                }

                mixin(localRequire, {
                    isBrowser: isBrowser,

                    /**
                     * Converts a module name + .extension into an URL path.
                     * *Requires* the use of a module name. It does not support using
                     * plain URLs like nameToUrl.
                     */
                    toUrl: function (moduleNamePlusExt) {
                        var ext,
                            index = moduleNamePlusExt.lastIndexOf('.'),
                            segment = moduleNamePlusExt.split('/')[0],
                            isRelative = segment === '.' || segment === '..';

                        //Have a file extension alias, and it is not the
                        //dots from a relative path.
                        if (index !== -1 && (!isRelative || index > 1)) {
                            ext = moduleNamePlusExt.substring(index, moduleNamePlusExt.length);
                            moduleNamePlusExt = moduleNamePlusExt.substring(0, index);
                        }

                        return context.nameToUrl(normalize(moduleNamePlusExt,
                            relMap && relMap.id, true), ext,  true);
                    },

                    defined: function (id) {
                        return hasProp(defined, makeModuleMap(id, relMap, false, true).id);
                    },

                    specified: function (id) {
                        id = makeModuleMap(id, relMap, false, true).id;
                        return hasProp(defined, id) || hasProp(registry, id);
                    }
                });

                //Only allow undef on top level require calls
                if (!relMap) {
                    localRequire.undef = function (id) {
                        //Bind any waiting define() calls to this context,
                        //fix for #408
                        takeGlobalQueue();

                        var map = makeModuleMap(id, relMap, true),
                            mod = getOwn(registry, id);

                        mod.undefed = true;
                        removeScript(id);

                        delete defined[id];
                        delete urlFetched[map.url];
                        delete undefEvents[id];

                        //Clean queued defines too. Go backwards
                        //in array so that the splices do not
                        //mess up the iteration.
                        eachReverse(defQueue, function(args, i) {
                            if (args[0] === id) {
                                defQueue.splice(i, 1);
                            }
                        });
                        delete context.defQueueMap[id];

                        if (mod) {
                            //Hold on to listeners in case the
                            //module will be attempted to be reloaded
                            //using a different config.
                            if (mod.events.defined) {
                                undefEvents[id] = mod.events;
                            }

                            cleanRegistry(id);
                        }
                    };
                }

                return localRequire;
            },

            /**
             * Called to enable a module if it is still in the registry
             * awaiting enablement. A second arg, parent, the parent module,
             * is passed in for context, when this method is overridden by
             * the optimizer. Not shown here to keep code compact.
             */
            enable: function (depMap) {
                var mod = getOwn(registry, depMap.id);
                if (mod) {
                    getModule(depMap).enable();
                }
            },

            /**
             * Internal method used by environment adapters to complete a load event.
             * A load event could be a script load or just a load pass from a synchronous
             * load call.
             * @param {String} moduleName the name of the module to potentially complete.
             */
            completeLoad: function (moduleName) {
                var found, args, mod,
                    shim = getOwn(config.shim, moduleName) || {},
                    shExports = shim.exports;

                takeGlobalQueue();

                while (defQueue.length) {
                    args = defQueue.shift();
                    if (args[0] === null) {
                        args[0] = moduleName;
                        //If already found an anonymous module and bound it
                        //to this name, then this is some other anon module
                        //waiting for its completeLoad to fire.
                        if (found) {
                            break;
                        }
                        found = true;
                    } else if (args[0] === moduleName) {
                        //Found matching define call for this script!
                        found = true;
                    }

                    callGetModule(args);
                }
                context.defQueueMap = {};

                //Do this after the cycle of callGetModule in case the result
                //of those calls/init calls changes the registry.
                mod = getOwn(registry, moduleName);

                if (!found && !hasProp(defined, moduleName) && mod && !mod.inited) {
                    if (config.enforceDefine && (!shExports || !getGlobal(shExports))) {
                        if (hasPathFallback(moduleName)) {
                            return;
                        } else {
                            return onError(makeError('nodefine',
                                'No define call for ' + moduleName,
                                null,
                                [moduleName]));
                        }
                    } else {
                        //A script that does not call define(), so just simulate
                        //the call for it.
                        callGetModule([moduleName, (shim.deps || []), shim.exportsFn]);
                    }
                }

                checkLoaded();
            },

            /**
             * Converts a module name to a file path. Supports cases where
             * moduleName may actually be just an URL.
             * Note that it **does not** call normalize on the moduleName,
             * it is assumed to have already been normalized. This is an
             * internal API, not a public one. Use toUrl for the public API.
             */
            nameToUrl: function (moduleName, ext, skipExt) {
                var paths, syms, i, parentModule, url,
                    parentPath, bundleId,
                    pkgMain = getOwn(config.pkgs, moduleName);

                if (pkgMain) {
                    moduleName = pkgMain;
                }

                bundleId = getOwn(bundlesMap, moduleName);

                if (bundleId) {
                    return context.nameToUrl(bundleId, ext, skipExt);
                }

                //If a colon is in the URL, it indicates a protocol is used and it is just
                //an URL to a file, or if it starts with a slash, contains a query arg (i.e. ?)
                //or ends with .js, then assume the user meant to use an url and not a module id.
                //The slash is important for protocol-less URLs as well as full paths.
                if (req.jsExtRegExp.test(moduleName)) {
                    //Just a plain path, not module name lookup, so just return it.
                    //Add extension if it is included. This is a bit wonky, only non-.js things pass
                    //an extension, this method probably needs to be reworked.
                    url = moduleName + (ext || '');
                } else {
                    //A module that needs to be converted to a path.
                    paths = config.paths;

                    syms = moduleName.split('/');
                    //For each module name segment, see if there is a path
                    //registered for it. Start with most specific name
                    //and work up from it.
                    for (i = syms.length; i > 0; i -= 1) {
                        parentModule = syms.slice(0, i).join('/');

                        parentPath = getOwn(paths, parentModule);
                        if (parentPath) {
                            //If an array, it means there are a few choices,
                            //Choose the one that is desired
                            if (isArray(parentPath)) {
                                parentPath = parentPath[0];
                            }
                            syms.splice(0, i, parentPath);
                            break;
                        }
                    }

                    //Join the path parts together, then figure out if baseUrl is needed.
                    url = syms.join('/');
                    url += (ext || (/^data\:|^blob\:|\?/.test(url) || skipExt ? '' : '.js'));
                    url = (url.charAt(0) === '/' || url.match(/^[\w\+\.\-]+:/) ? '' : config.baseUrl) + url;
                }

                return config.urlArgs && !/^blob\:/.test(url) ?
                    url + config.urlArgs(moduleName, url) : url;
            },

            //Delegates to req.load. Broken out as a separate function to
            //allow overriding in the optimizer.
            load: function (id, url) {
                req.load(context, id, url);
            },

            /**
             * Executes a module callback function. Broken out as a separate function
             * solely to allow the build system to sequence the files in the built
             * layer in the right sequence.
             *
             * @private
             */
            execCb: function (name, callback, args, exports) {
                return callback.apply(exports, args);
            },

            /**
             * callback for script loads, used to check status of loading.
             *
             * @param {Event} evt the event from the browser for the script
             * that was loaded.
             */
            onScriptLoad: function (evt) {
                //Using currentTarget instead of target for Firefox 2.0's sake. Not
                //all old browsers will be supported, but this one was easy enough
                //to support and still makes sense.
                if (evt.type === 'load' ||
                    (readyRegExp.test((evt.currentTarget || evt.srcElement).readyState))) {
                    //Reset interactive script so a script node is not held onto for
                    //to long.
                    interactiveScript = null;

                    //Pull out the name of the module and the context.
                    var data = getScriptData(evt);
                    context.completeLoad(data.id);
                }
            },

            /**
             * Callback for script errors.
             */
            onScriptError: function (evt) {
                var data = getScriptData(evt);
                if (!hasPathFallback(data.id)) {
                    var parents = [];
                    eachProp(registry, function(value, key) {
                        if (key.indexOf('_@r') !== 0) {
                            each(value.depMaps, function(depMap) {
                                if (depMap.id === data.id) {
                                    parents.push(key);
                                    return true;
                                }
                            });
                        }
                    });
                    return onError(makeError('scripterror', 'Script error for "' + data.id +
                        (parents.length ?
                            '", needed by: ' + parents.join(', ') :
                            '"'), evt, [data.id]));
                }
            }
        };

        context.require = context.makeRequire();
        return context;
    }

    /**
     * Main entry point.
     *
     * If the only argument to require is a string, then the module that
     * is represented by that string is fetched for the appropriate context.
     *
     * If the first argument is an array, then it will be treated as an array
     * of dependency string names to fetch. An optional function callback can
     * be specified to execute when all of those dependencies are available.
     *
     * Make a local req variable to help Caja compliance (it assumes things
     * on a require that are not standardized), and to give a short
     * name for minification/local scope use.
     */
    req = requirejs = function (deps, callback, errback, optional) {

        //Find the right context, use default
        var context, config,
            contextName = defContextName;

        // Determine if have config object in the call.
        if (!isArray(deps) && typeof deps !== 'string') {
            // deps is a config object
            config = deps;
            if (isArray(callback)) {
                // Adjust args if there are dependencies
                deps = callback;
                callback = errback;
                errback = optional;
            } else {
                deps = [];
            }
        }

        if (config && config.context) {
            contextName = config.context;
        }

        context = getOwn(contexts, contextName);
        if (!context) {
            context = contexts[contextName] = req.s.newContext(contextName);
        }

        if (config) {
            context.configure(config);
        }

        return context.require(deps, callback, errback);
    };

    /**
     * Support require.config() to make it easier to cooperate with other
     * AMD loaders on globally agreed names.
     */
    req.config = function (config) {
        return req(config);
    };

    /**
     * Execute something after the current tick
     * of the event loop. Override for other envs
     * that have a better solution than setTimeout.
     * @param  {Function} fn function to execute later.
     */
    req.nextTick = typeof setTimeout !== 'undefined' ? function (fn) {
        setTimeout(fn, 4);
    } : function (fn) { fn(); };

    /**
     * Export require as a global, but only if it does not already exist.
     */
    if (!require) {
        require = req;
    }

    req.version = version;

    //Used to filter out dependencies that are already paths.
    req.jsExtRegExp = /^\/|:|\?|\.js$/;
    req.isBrowser = isBrowser;
    s = req.s = {
        contexts: contexts,
        newContext: newContext
    };

    //Create default context.
    req({});

    //Exports some context-sensitive methods on global require.
    each([
        'toUrl',
        'undef',
        'defined',
        'specified'
    ], function (prop) {
        //Reference from contexts instead of early binding to default context,
        //so that during builds, the latest instance of the default context
        //with its config gets used.
        req[prop] = function () {
            var ctx = contexts[defContextName];
            return ctx.require[prop].apply(ctx, arguments);
        };
    });

    if (isBrowser) {
        head = s.head = document.getElementsByTagName('head')[0];
        //If BASE tag is in play, using appendChild is a problem for IE6.
        //When that browser dies, this can be removed. Details in this jQuery bug:
        //http://dev.jquery.com/ticket/2709
        baseElement = document.getElementsByTagName('base')[0];
        if (baseElement) {
            head = s.head = baseElement.parentNode;
        }
    }

    /**
     * Any errors that require explicitly generates will be passed to this
     * function. Intercept/override it if you want custom error handling.
     * @param {Error} err the error object.
     */
    req.onError = defaultOnError;

    /**
     * Creates the node for the load command. Only used in browser envs.
     */
    req.createNode = function (config, moduleName, url) {
        var node = config.xhtml ?
            document.createElementNS('http://www.w3.org/1999/xhtml', 'html:script') :
            document.createElement('script');
        node.type = config.scriptType || 'text/javascript';
        node.charset = 'utf-8';
        node.async = true;
        return node;
    };

    /**
     * Does the request to load a module for the browser case.
     * Make this a separate function to allow other environments
     * to override it.
     *
     * @param {Object} context the require context to find state.
     * @param {String} moduleName the name of the module.
     * @param {Object} url the URL to the module.
     */
    req.load = function (context, moduleName, url) {
        var config = (context && context.config) || {},
            node;
        if (isBrowser) {
            //In the browser so use a script tag
            node = req.createNode(config, moduleName, url);

            node.setAttribute('data-requirecontext', context.contextName);
            node.setAttribute('data-requiremodule', moduleName);

            //Set up load listener. Test attachEvent first because IE9 has
            //a subtle issue in its addEventListener and script onload firings
            //that do not match the behavior of all other browsers with
            //addEventListener support, which fire the onload event for a
            //script right after the script execution. See:
            //https://connect.microsoft.com/IE/feedback/details/648057/script-onload-event-is-not-fired-immediately-after-script-execution
            //UNFORTUNATELY Opera implements attachEvent but does not follow the script
            //script execution mode.
            if (node.attachEvent &&
                //Check if node.attachEvent is artificially added by custom script or
                //natively supported by browser
                //read https://github.com/requirejs/requirejs/issues/187
                //if we can NOT find [native code] then it must NOT natively supported.
                //in IE8, node.attachEvent does not have toString()
                //Note the test for "[native code" with no closing brace, see:
                //https://github.com/requirejs/requirejs/issues/273
                !(node.attachEvent.toString && node.attachEvent.toString().indexOf('[native code') < 0) &&
                !isOpera) {
                //Probably IE. IE (at least 6-8) do not fire
                //script onload right after executing the script, so
                //we cannot tie the anonymous define call to a name.
                //However, IE reports the script as being in 'interactive'
                //readyState at the time of the define call.
                useInteractive = true;

                node.attachEvent('onreadystatechange', context.onScriptLoad);
                //It would be great to add an error handler here to catch
                //404s in IE9+. However, onreadystatechange will fire before
                //the error handler, so that does not help. If addEventListener
                //is used, then IE will fire error before load, but we cannot
                //use that pathway given the connect.microsoft.com issue
                //mentioned above about not doing the 'script execute,
                //then fire the script load event listener before execute
                //next script' that other browsers do.
                //Best hope: IE10 fixes the issues,
                //and then destroys all installs of IE 6-9.
                //node.attachEvent('onerror', context.onScriptError);
            } else {
                node.addEventListener('load', context.onScriptLoad, false);
                node.addEventListener('error', context.onScriptError, false);
            }
            node.src = url;

            //Calling onNodeCreated after all properties on the node have been
            //set, but before it is placed in the DOM.
            if (config.onNodeCreated) {
                config.onNodeCreated(node, config, moduleName, url);
            }

            //For some cache cases in IE 6-8, the script executes before the end
            //of the appendChild execution, so to tie an anonymous define
            //call to the module name (which is stored on the node), hold on
            //to a reference to this node, but clear after the DOM insertion.
            currentlyAddingScript = node;
            if (baseElement) {
                head.insertBefore(node, baseElement);
            } else {
                head.appendChild(node);
            }
            currentlyAddingScript = null;

            return node;
        } else if (isWebWorker) {
            try {
                //In a web worker, use importScripts. This is not a very
                //efficient use of importScripts, importScripts will block until
                //its script is downloaded and evaluated. However, if web workers
                //are in play, the expectation is that a build has been done so
                //that only one script needs to be loaded anyway. This may need
                //to be reevaluated if other use cases become common.

                // Post a task to the event loop to work around a bug in WebKit
                // where the worker gets garbage-collected after calling
                // importScripts(): https://webkit.org/b/153317
                setTimeout(function() {}, 0);
                importScripts(url);

                //Account for anonymous modules
                context.completeLoad(moduleName);
            } catch (e) {
                context.onError(makeError('importscripts',
                    'importScripts failed for ' +
                    moduleName + ' at ' + url,
                    e,
                    [moduleName]));
            }
        }
    };

    function getInteractiveScript() {
        if (interactiveScript && interactiveScript.readyState === 'interactive') {
            return interactiveScript;
        }

        eachReverse(scripts(), function (script) {
            if (script.readyState === 'interactive') {
                return (interactiveScript = script);
            }
        });
        return interactiveScript;
    }

    //Look for a data-main script attribute, which could also adjust the baseUrl.
    if (isBrowser && !cfg.skipDataMain) {
        //Figure out baseUrl. Get it from the script tag with require.js in it.
        eachReverse(scripts(), function (script) {
            //Set the 'head' where we can append children by
            //using the script's parent.
            if (!head) {
                head = script.parentNode;
            }

            //Look for a data-main attribute to set main script for the page
            //to load. If it is there, the path to data main becomes the
            //baseUrl, if it is not already set.
            dataMain = script.getAttribute('data-main');
            if (dataMain) {
                //Preserve dataMain in case it is a path (i.e. contains '?')
                mainScript = dataMain;

                //Set final baseUrl if there is not already an explicit one,
                //but only do so if the data-main value is not a loader plugin
                //module ID.
                if (!cfg.baseUrl && mainScript.indexOf('!') === -1) {
                    //Pull off the directory of data-main for use as the
                    //baseUrl.
                    src = mainScript.split('/');
                    mainScript = src.pop();
                    subPath = src.length ? src.join('/')  + '/' : './';

                    cfg.baseUrl = subPath;
                }

                //Strip off any trailing .js since mainScript is now
                //like a module name.
                mainScript = mainScript.replace(jsSuffixRegExp, '');

                //If mainScript is still a path, fall back to dataMain
                if (req.jsExtRegExp.test(mainScript)) {
                    mainScript = dataMain;
                }

                //Put the data-main script in the files to load.
                cfg.deps = cfg.deps ? cfg.deps.concat(mainScript) : [mainScript];

                return true;
            }
        });
    }

    /**
     * The function that handles definitions of modules. Differs from
     * require() in that a string for the module should be the first argument,
     * and the function to execute after dependencies are loaded should
     * return a value to define the module corresponding to the first argument's
     * name.
     */
    define = function (name, deps, callback) {
        var node, context;

        //Allow for anonymous modules
        if (typeof name !== 'string') {
            //Adjust args appropriately
            callback = deps;
            deps = name;
            name = null;
        }

        //This module may not have dependencies
        if (!isArray(deps)) {
            callback = deps;
            deps = null;
        }

        //If no name, and callback is a function, then figure out if it a
        //CommonJS thing with dependencies.
        if (!deps && isFunction(callback)) {
            deps = [];
            //Remove comments from the callback string,
            //look for require calls, and pull them into the dependencies,
            //but only if there are function args.
            if (callback.length) {
                callback
                    .toString()
                    .replace(commentRegExp, commentReplace)
                    .replace(cjsRequireRegExp, function (match, dep) {
                        deps.push(dep);
                    });

                //May be a CommonJS thing even without require calls, but still
                //could use exports, and module. Avoid doing exports and module
                //work though if it just needs require.
                //REQUIRES the function to expect the CommonJS variables in the
                //order listed below.
                deps = (callback.length === 1 ? ['require'] : ['require', 'exports', 'module']).concat(deps);
            }
        }

        //If in IE 6-8 and hit an anonymous define() call, do the interactive
        //work.
        if (useInteractive) {
            node = currentlyAddingScript || getInteractiveScript();
            if (node) {
                if (!name) {
                    name = node.getAttribute('data-requiremodule');
                }
                context = contexts[node.getAttribute('data-requirecontext')];
            }
        }

        //Always save off evaluating the def call until the script onload handler.
        //This allows multiple modules to be in a file without prematurely
        //tracing dependencies, and allows for anonymous module support,
        //where the module name is not known until the script onload event
        //occurs. If no context, use the global queue, and get it processed
        //in the onscript load callback.
        if (context) {
            context.defQueue.push([name, deps, callback]);
            context.defQueueMap[name] = true;
        } else {
            globalDefQueue.push([name, deps, callback]);
        }
    };

    define.amd = {
        jQuery: true
    };

    /**
     * Executes the text. Normally just uses eval, but can be modified
     * to use a better, environment-specific call. Only used for transpiling
     * loader plugins, not for plain JS modules.
     * @param {String} text the text to execute/evaluate.
     */
    req.exec = function (text) {
        /*jslint evil: true */
        return eval(text);
    };

    //Set up with config info.
    req(cfg);
}(this, (typeof setTimeout === 'undefined' ? undefined : setTimeout)));

define("requirejs/require", function(){});

;
define("js/bundles/require", function(){});

/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
define('mixins', [
    'module'
], function (module) {
    'use strict';
    var contexts = require.s.contexts,
        defContextName = '_',
        defContext = contexts[defContextName],
        unbundledContextName = '$',
        unbundledContext = contexts[unbundledContextName] = require.s.newContext(unbundledContextName),
        defaultConfig = defContext.config,
        unbundledConfig = {
            baseUrl: defaultConfig.baseUrl,
            paths: defaultConfig.paths,
            shim: defaultConfig.shim,
            config: defaultConfig.config,
            map: defaultConfig.map
        },
        rjsMixins;

    /**
     * Prepare a separate context where modules are not assigned to bundles
     * so we are able to get their true path and corresponding mixins.
     */
    unbundledContext.configure(unbundledConfig);

    /**
     * Checks if specified string contains
     * a plugin spacer '!' substring.
     *
     * @param {String} name - Name, path or alias of a module.
     * @returns {Boolean}
     */
    function hasPlugin(name) {
        return !!~name.indexOf('!');
    }

    /**
     * Adds 'mixins!' prefix to the specified string.
     *
     * @param {String} name - Name, path or alias of a module.
     * @returns {String} Modified name.
     */
    function addPlugin(name) {
        return 'mixins!' + name;
    }

    /**
     * Removes base url from the provided string.
     *
     * @param {String} url - Url to be processed.
     * @param {Object} config - Contexts' configuration object.
     * @returns {String} String without base url.
     */
    function removeBaseUrl(url, config) {
        var baseUrl = config.baseUrl || '',
            index = url.indexOf(baseUrl);

        if (~index) {
            url = url.substring(baseUrl.length - index);
        }

        return url;
    }

    /**
     * Extracts url (without baseUrl prefix)
     * from a module name ignoring the fact that it may be bundled.
     *
     * @param {String} name - Name, path or alias of a module.
     * @param {Object} config - Context's configuration.
     * @returns {String}
     */
    function getPath(name, config) {
        var url = unbundledContext.require.toUrl(name);

        return removeBaseUrl(url, config);
    }

    /**
     * Checks if specified string represents a relative path (../).
     *
     * @param {String} name - Name, path or alias of a module.
     * @returns {Boolean}
     */
    function isRelative(name) {
        return !!~name.indexOf('./');
    }

    /**
     * Iteratively calls mixins passing to them
     * current value of a 'target' parameter.
     *
     * @param {*} target - Value to be modified.
     * @param {...Function} mixins - List of mixins to apply.
     * @returns {*} Modified 'target' value.
     */
    function applyMixins(target) {
        var mixins = Array.prototype.slice.call(arguments, 1);

        mixins.forEach(function (mixin) {
            target = mixin(target);
        });

        return target;
    }

    rjsMixins = {

        /**
         * Loads specified module along with its' mixins.
         * This method is called for each module defined with "mixins!" prefix
         * in its name that was added by processNames method.
         *
         * @param {String} name - Module to be loaded.
         * @param {Function} req - Local "require" function to use to load other modules.
         * @param {Function} onLoad - A function to call with the value for name.
         * @param {Object} config - RequireJS configuration object.
         */
        load: function (name, req, onLoad, config) {
            var path     = getPath(name, config),
                mixins   = this.getMixins(path),
                deps;

            if (!mixins || !mixins.length) {
                mixins = this.getMixins(name);
            }

                deps     = [name].concat(mixins);

            req(deps, function () {
                onLoad(applyMixins.apply(null, arguments));
            });
        },

        /**
         * Retrieves list of mixins associated with a specified module.
         *
         * @param {String} path - Path to the module (without base URL).
         * @returns {Array} An array of paths to mixins.
         */
        getMixins: function (path) {
            var config = module.config() || {},
                mixins;

            // Fix for when urlArgs is set.
            if (path.indexOf('?') !== -1) {
                path = path.substring(0, path.indexOf('?'));
            }
            mixins = config[path] || {};

            return Object.keys(mixins).filter(function (mixin) {
                return mixins[mixin] !== false;
            }).sort((mixin1, mixin2) => {
                const transformBoolToNumber = bool => typeof bool === 'boolean' ? 0 : bool;
                return transformBoolToNumber(mixins[mixin1]) - transformBoolToNumber(mixins[mixin2]);
            });
        },

        /**
         * Checks if specified module has associated with it mixins.
         *
         * @param {String} path - Path to the module (without base URL).
         * @returns {Boolean}
         */
        hasMixins: function (path) {
            return this.getMixins(path).length;
        },

        /**
         * Modifies provided names prepending to them
         * the 'mixins!' plugin prefix if it's necessary.
         *
         * @param {(Array|String)} names - Module names, paths or aliases.
         * @param {Object} context - Current RequireJS context.
         * @returns {Array|String}
         */
        processNames: function (names, context) {
            var config = context.config;

            /**
             * Prepends 'mixin' plugin to a single name.
             *
             * @param {String} name
             * @returns {String}
             */
            function processName(name) {
                var path = getPath(name, config);

                if (!hasPlugin(name) && (isRelative(name) || rjsMixins.hasMixins(path) || rjsMixins.hasMixins(name))) {
                    return addPlugin(name);
                }

                return name;
            }

            return typeof names !== 'string' ?
                names.map(processName) :
                processName(names);
        }
    };

    return rjsMixins;
});

require([
    'mixins'
], function (mixins) {
    'use strict';

    var contexts = require.s.contexts,
        defContextName = '_',
        defContext = contexts[defContextName],
        unbundledContextName = '$',
        unbundledContext = contexts[unbundledContextName],
        originalContextRequire = defContext.require,
        originalContextConfigure = defContext.configure,
        processNames = mixins.processNames;

    /**
     * Wrap default context's require function which gets called every time
     * module is requested using require call. The upside of this approach
     * is that deps parameter is already normalized and guaranteed to be an array.
     */
    defContext.require = function (deps, callback, errback) {
        deps = processNames(deps, defContext);

        return originalContextRequire(deps, callback, errback);
    };

    /**
     * Wrap original context configuration to update unbundled context,
     * that way it is able to respect any changes done after mixins module has initialized.
     */
    defContext.configure = function (cfg) {
        originalContextConfigure(cfg);
        unbundledContext.configure(cfg);
    };

    /**
     * Copy properties of original 'require' method.
     */
    Object.keys(originalContextRequire).forEach(function (key) {
        defContext.require[key] = originalContextRequire[key];
    });

    /**
     * Wrap shift method from context's definitions queue.
     * Items are added to the queue when a new module is defined and taken
     * from it every time require call happens.
     */
    defContext.defQueue.shift = function () {
        var queueItem = Array.prototype.shift.call(this),
            lastDeps = queueItem && queueItem[1];

        if (Array.isArray(lastDeps)) {
            queueItem[1] = processNames(queueItem[1], defContext);
        }

        return queueItem;
    };
    window.applyInlineRequire && window.applyInlineRequire();
});

/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
;require([
    'mixins'
], function () {
    'use strict';

    var utils = {
        listContains: function (list, items) {
            for (var i = 0; i < items.length; i++) {
                if (list.indexOf(items[i]) === -1) {
                    return false;
                }
            }

            return true;
        },

        matchActiveItems: function (items, flags, flagsSeparator, operatorAND) {
            var result = [];

            items.forEach(function (item) {
                var parts = item.split(flagsSeparator);

                if (parts.length > 1) {
                    if (!flags) {
                        return;
                    }

                    var itemFlags = parts[0].split(operatorAND);

                    if (!utils.listContains(flags, itemFlags)) {
                        return;
                    }
                }

                result.push(parts.pop());
            });

            return result;
        }
    };

    var context = {
        window: window
    };

    var config = {
        flagsSeparator: '::',
        operatorAND: ',',
        activeFlagsKey: '__vaimoJavascriptMixinFlags'
    };

    var mixinInjector = require('mixins');
    var _getMixins = mixinInjector.getMixins;

    mixinInjector.getMixins = function () {
        var items = _getMixins.apply(this, arguments);
        var flags = context.window[config.activeFlagsKey];

        return utils.matchActiveItems(items, flags, config.flagsSeparator, config.operatorAND);
    };
});

define("Vaimo_JavascriptMixinFlags/js/mixin-filter", function(){});

(function(require){
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            directoryRegionUpdater: 'Magento_Directory/js/region-updater'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    waitSeconds: 0,
    map: {
        '*': {
            'ko': 'knockoutjs/knockout',
            'knockout': 'knockoutjs/knockout',
            'mageUtils': 'mage/utils/main',
            'rjsResolver': 'mage/requirejs/resolver',
            'jquery-ui-modules/core': 'jquery/ui-modules/core',
            'jquery-ui-modules/accordion': 'jquery/ui-modules/widgets/accordion',
            'jquery-ui-modules/autocomplete': 'jquery/ui-modules/widgets/autocomplete',
            'jquery-ui-modules/button': 'jquery/ui-modules/widgets/button',
            'jquery-ui-modules/datepicker': 'jquery/ui-modules/widgets/datepicker',
            'jquery-ui-modules/dialog': 'jquery/ui-modules/widgets/dialog',
            'jquery-ui-modules/draggable': 'jquery/ui-modules/widgets/draggable',
            'jquery-ui-modules/droppable': 'jquery/ui-modules/widgets/droppable',
            'jquery-ui-modules/effect-blind': 'jquery/ui-modules/effects/effect-blind',
            'jquery-ui-modules/effect-bounce': 'jquery/ui-modules/effects/effect-bounce',
            'jquery-ui-modules/effect-clip': 'jquery/ui-modules/effects/effect-clip',
            'jquery-ui-modules/effect-drop': 'jquery/ui-modules/effects/effect-drop',
            'jquery-ui-modules/effect-explode': 'jquery/ui-modules/effects/effect-explode',
            'jquery-ui-modules/effect-fade': 'jquery/ui-modules/effects/effect-fade',
            'jquery-ui-modules/effect-fold': 'jquery/ui-modules/effects/effect-fold',
            'jquery-ui-modules/effect-highlight': 'jquery/ui-modules/effects/effect-highlight',
            'jquery-ui-modules/effect-scale': 'jquery/ui-modules/effects/effect-scale',
            'jquery-ui-modules/effect-pulsate': 'jquery/ui-modules/effects/effect-pulsate',
            'jquery-ui-modules/effect-shake': 'jquery/ui-modules/effects/effect-shake',
            'jquery-ui-modules/effect-slide': 'jquery/ui-modules/effects/effect-slide',
            'jquery-ui-modules/effect-transfer': 'jquery/ui-modules/effects/effect-transfer',
            'jquery-ui-modules/effect': 'jquery/ui-modules/effect',
            'jquery-ui-modules/menu': 'jquery/ui-modules/widgets/menu',
            'jquery-ui-modules/mouse': 'jquery/ui-modules/widgets/mouse',
            'jquery-ui-modules/position': 'jquery/ui-modules/position',
            'jquery-ui-modules/progressbar': 'jquery/ui-modules/widgets/progressbar',
            'jquery-ui-modules/resizable': 'jquery/ui-modules/widgets/resizable',
            'jquery-ui-modules/selectable': 'jquery/ui-modules/widgets/selectable',
            'jquery-ui-modules/selectmenu': 'jquery/ui-modules/widgets/selectmenu',
            'jquery-ui-modules/slider': 'jquery/ui-modules/widgets/slider',
            'jquery-ui-modules/sortable': 'jquery/ui-modules/widgets/sortable',
            'jquery-ui-modules/spinner': 'jquery/ui-modules/widgets/spinner',
            'jquery-ui-modules/tabs': 'jquery/ui-modules/widgets/tabs',
            'jquery-ui-modules/tooltip': 'jquery/ui-modules/widgets/tooltip',
            'jquery-ui-modules/widget': 'jquery/ui-modules/widget',
            'jquery-ui-modules/timepicker': 'jquery/timepicker',
            'vimeo': 'vimeo/player',
            'vimeoWrapper': 'vimeo/vimeo-wrapper'
        }
    },
    shim: {
        'mage/adminhtml/backup': ['prototype'],
        'mage/captcha': ['prototype'],
        'mage/new-gallery': ['jquery'],
        'jquery/ui': ['jquery'],
        'matchMedia': {
            'exports': 'mediaCheck'
        },
        'magnifier/magnifier': ['jquery'],
        'vimeo/player': {
            'exports': 'Player'
        }
    },
    paths: {
        'jquery/validate': 'jquery/jquery.validate',
        'jquery/uppy-core': 'jquery/uppy/dist/uppy.min',
        'prototype': 'legacy-build.min',
        'jquery/jquery-storageapi': 'js-storage/storage-wrapper',
        'text': 'mage/requirejs/text',
        'domReady': 'requirejs/domReady',
        'spectrum': 'jquery/spectrum/spectrum',
        'tinycolor': 'jquery/spectrum/tinycolor',
        'jquery-ui-modules': 'jquery/ui-modules'
    },
    config: {
        text: {
            'headers': {
                'X-Requested-With': 'XMLHttpRequest'
            }
        }
    }
};

require(['jquery'], function ($) {
    'use strict';

    $.noConflict();
});

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            'rowBuilder':             'Magento_Theme/js/row-builder',
            'toggleAdvanced':         'mage/toggle',
            'translateInline':        'mage/translate-inline',
            'sticky':                 'mage/sticky',
            'tabs':                   'mage/tabs',
            'collapsible':            'mage/collapsible',
            'dropdownDialog':         'mage/dropdown',
            'dropdown':               'mage/dropdowns',
            'accordion':              'mage/accordion',
            'loader':                 'mage/loader',
            'tooltip':                'mage/tooltip',
            'deletableItem':          'mage/deletable-item',
            'itemTable':              'mage/item-table',
            'fieldsetControls':       'mage/fieldset-controls',
            'fieldsetResetControl':   'mage/fieldset-controls',
            'redirectUrl':            'mage/redirect-url',
            'loaderAjax':             'mage/loader',
            'menu':                   'mage/menu',
            'popupWindow':            'mage/popup-window',
            'validation':             'mage/validation/validation',
            'breadcrumbs':            'Magento_Theme/js/view/breadcrumbs',
            'jquery/ui':              'jquery/compat',
            'cookieStatus':           'Magento_Theme/js/cookie-status'
        }
    },
    deps: [
        'mage/common',
        'mage/dataPost',
        'mage/bootstrap'
    ],
    config: {
        mixins: {
            'Magento_Theme/js/view/breadcrumbs': {
                'Magento_Theme/js/view/add-home-breadcrumb': true
            }
        }
    }
};

/* eslint-disable max-depth */
/**
 * Adds polyfills only for browser contexts which prevents bundlers from including them.
 */
if (typeof window !== 'undefined' && window.document) {
    /**
     * Polyfill localStorage and sessionStorage for browsers that do not support them.
     */
    try {
        if (!window.localStorage || !window.sessionStorage) {
            throw new Error();
        }

        localStorage.setItem('storage_test', 1);
        localStorage.removeItem('storage_test');
    } catch (e) {
        config.deps.push('mage/polyfill');
    }
}
/* eslint-enable max-depth */

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            checkoutBalance:    'Magento_Customer/js/checkout-balance',
            address:            'Magento_Customer/js/address',
            changeEmailPassword: 'Magento_Customer/js/change-email-password',
            passwordStrengthIndicator: 'Magento_Customer/js/password-strength-indicator',
            zxcvbn: 'Magento_Customer/js/zxcvbn',
            addressValidation: 'Magento_Customer/js/addressValidation',
            showPassword: 'Magento_Customer/js/show-password',
            'Magento_Customer/address': 'Magento_Customer/js/address',
            'Magento_Customer/change-email-password': 'Magento_Customer/js/change-email-password',
            globalSessionLoader:    'Magento_Customer/js/customer-global-session-loader.js'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            escaper: 'Magento_Security/js/escaper'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            requireCookie: 'Magento_Cookie/js/require-cookie',
            cookieNotices: 'Magento_Cookie/js/notices'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            priceBox:             'Magento_Catalog/js/price-box',
            priceOptionDate:      'Magento_Catalog/js/price-option-date',
            priceOptionFile:      'Magento_Catalog/js/price-option-file',
            priceOptions:         'Magento_Catalog/js/price-options',
            priceUtils:           'Magento_Catalog/js/price-utils'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            compareList:            'Magento_Catalog/js/list',
            relatedProducts:        'Magento_Catalog/js/related-products',
            upsellProducts:         'Magento_Catalog/js/upsell-products',
            productListToolbarForm: 'Magento_Catalog/js/product/list/toolbar',
            catalogGallery:         'Magento_Catalog/js/gallery',
            catalogAddToCart:       'Magento_Catalog/js/catalog-add-to-cart'
        }
    },
    config: {
        mixins: {
            'Magento_Theme/js/view/breadcrumbs': {
                'Magento_Catalog/js/product/breadcrumbs': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            creditCardType: 'Magento_Payment/js/cc-type',
            'Magento_Payment/cc-type': 'Magento_Payment/js/cc-type'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            giftMessage:    'Magento_Sales/js/gift-message',
            ordersReturns:  'Magento_Sales/js/orders-returns',
            'Magento_Sales/gift-message':    'Magento_Sales/js/gift-message',
            'Magento_Sales/orders-returns':  'Magento_Sales/js/orders-returns'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    config: {
        mixins: {
            'Magento_Checkout/js/action/select-payment-method': {
                'Magento_SalesRule/js/action/select-payment-method-mixin': true
            },
            'Magento_Checkout/js/model/shipping-save-processor': {
                'Magento_SalesRule/js/model/shipping-save-processor-mixin': true
            },
            'Magento_Checkout/js/action/place-order': {
                'Magento_SalesRule/js/model/place-order-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            bundleOption:   'Magento_Bundle/bundle',
            priceBundle:    'Magento_Bundle/js/price-bundle',
            slide:          'Magento_Bundle/js/slide',
            productSummary: 'Magento_Bundle/js/product-summary'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            requisition: 'Magento_RequisitionList/js/requisition',
            requisitionActions: 'Magento_RequisitionList/js/requisition-actions'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            discountCode:           'Magento_Checkout/js/discount-codes',
            shoppingCart:           'Magento_Checkout/js/shopping-cart',
            regionUpdater:          'Magento_Checkout/js/region-updater',
            sidebar:                'Magento_Checkout/js/sidebar',
            checkoutLoader:         'Magento_Checkout/js/checkout-loader',
            checkoutData:           'Magento_Checkout/js/checkout-data',
            proceedToCheckout:      'Magento_Checkout/js/proceed-to-checkout',
            catalogAddToCart:       'Magento_Catalog/js/catalog-add-to-cart'
        }
    },
    shim: {
        'Magento_Checkout/js/model/totals' : {
            deps: ['Magento_Customer/js/customer-data']
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            ticker:     'Magento_CatalogEvent/js/ticker',
            carousel:   'Magento_CatalogEvent/js/carousel'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    shim: {
        cardinaljs: {
            exports: 'Cardinal'
        },
        cardinaljsSandbox: {
            exports: 'Cardinal'
        }
    },
    paths: {
        cardinaljsSandbox: 'https://includestest.ccdc02.com/cardinalcruise/v1/songbird',
        cardinaljs: 'https://songbird.cardinalcommerce.com/edge/v1/songbird'
    }
};


require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            quickSearch: 'Magento_Search/js/form-mini',
            'Magento_Search/form-mini': 'Magento_Search/js/form-mini'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            catalogSearch: 'Magento_CatalogSearch/form-mini'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    deps: [],
    shim: {
        'chartjs/chartjs-adapter-moment': ['moment'],
        'chartjs/es6-shim.min': {},
        'tiny_mce_5/tinymce.min': {
            exports: 'tinyMCE'
        }
    },
    paths: {
        uiRegistry: 'Magento_Ui/js/lib/registry/registry',
        'ui/template': 'Magento_Ui/templates'
    },
    map: {
        '*': {
            uiElement:      'Magento_Ui/js/lib/core/element/element',
            uiCollection:   'Magento_Ui/js/lib/core/collection',
            uiComponent:    'Magento_Ui/js/lib/core/collection',
            uiClass:        'Magento_Ui/js/lib/core/class',
            uiEvents:       'Magento_Ui/js/lib/core/events',
            consoleLogger:  'Magento_Ui/js/lib/logger/console-logger',
            uiLayout:       'Magento_Ui/js/core/renderer/layout',
            buttonAdapter:  'Magento_Ui/js/form/button-adapter',
            chartJs:        'chartjs/Chart.min',
            'chart.js':     'chartjs/Chart.min',
            tinymce:        'tiny_mce_5/tinymce.min',
            wysiwygAdapter: 'mage/adminhtml/wysiwyg/tiny_mce/tinymce5Adapter'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    deps: [
        'Magento_Ui/js/core/app'
    ]
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            fileElement: 'Magento_CustomerCustomAttributes/file-element'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            addToCart: 'Magento_Msrp/js/msrp'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            toggleGiftCard: 'Magento_GiftCard/toggle-gift-card'
        }
    },
    'config': {
        'mixins': {
            'Magento_Paypal/js/view/amountProviders/product': {
                'Magento_GiftCard/product-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            captcha: 'Magento_Captcha/js/captcha',
            'Magento_Captcha/captcha': 'Magento_Captcha/js/captcha'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            configurable: 'Magento_ConfigurableProduct/js/configurable'
        }
    },
    config: {
        mixins: {
            'Magento_Catalog/js/catalog-add-to-cart': {
                'Magento_ConfigurableProduct/js/catalog-add-to-cart-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            pageCache:  'Magento_PageCache/js/page-cache'
        }
    },
    deps: ['Magento_PageCache/js/form-key-provider']
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            wishlist:       'Magento_Wishlist/js/wishlist',
            addToWishlist:  'Magento_Wishlist/js/add-to-wishlist',
            wishlistSearch: 'Magento_Wishlist/js/search'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    config: {
        mixins: {
            'Magento_Checkout/js/action/place-order': {
                'Magento_CheckoutAgreements/js/model/place-order-mixin': true
            },
            'Magento_Checkout/js/action/set-payment-information': {
                'Magento_CheckoutAgreements/js/model/set-payment-information-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    config: {
        mixins: {
            'Magento_NegotiableQuote/js/action/place-order-negotiable-quote': {
                'Magento_CheckoutAgreementsNegotiableQuote/js/action/place-order-negotiable-quote-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    config: {
        mixins: {
            'mage/validation': {
                'Magento_Company/js/validation': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            roleTree: 'Magento_Company/js/role-tree',
            hierarchyTree: 'Magento_Company/js/hierarchy-tree',
            hierarchyTreePopup: 'Magento_Company/js/hierarchy-tree-popup'
        }
    },
    config: {
        mixins: {
            'mage/validation': {
                'Magento_Company/js/validation': true
            },
            'Magento_NegotiableQuote/js/view/negotiable-quote': {
                'Magento_Company/js/view/negotiable-quote-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            orderBySkuFailure:  'Magento_AdvancedCheckout/js/order-by-sku-failure',
            fileChooser:        'Magento_AdvancedCheckout/js/file-chooser'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    config: {
        mixins: {
            'mage/validation': {
                'Magento_CompanyCredit/js/validation': true
            },
            'Magento_Tax/js/view/checkout/summary/grand-total': {
                'Magento_CompanyCredit/js/view/checkout/summary/grand-total': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            subscriptionStatusResolver: 'Magento_Newsletter/js/subscription-status-resolver',
            newsletterSignUp:  'Magento_Newsletter/js/newsletter-sign-up'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            uiB2bPaging:        'Magento_B2b/js/grid/paging/paging',
            uiB2bListing:       'Magento_B2b/js/grid/listing'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            giftCard:       'Magento_GiftCardAccount/js/gift-card',
            paymentMethod:  'Magento_GiftCardAccount/js/payment-method'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            giftOptions:    'Magento_GiftMessage/js/gift-options',
            'Magento_GiftMessage/gift-options':    'Magento_GiftMessage/js/gift-options'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            advancedSearch: 'Magento_GiftRegistry/advanced-search',
            giftRegistry: 'Magento_GiftRegistry/gift-registry',
            addressOption: 'Magento_GiftRegistry/address-option',
            searchByChanged: 'Magento_GiftRegistry/js/search-by-changed'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            configurableVariationQty: 'Magento_InventoryConfigurableProductFrontendUi/js/configurable-variation-qty'
        }
    },
    config: {
        mixins: {
            'Magento_ConfigurableProduct/js/configurable': {
                'Magento_InventoryConfigurableProductFrontendUi/js/configurable': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            multiShipping: 'Magento_Multishipping/js/multi-shipping',
            orderOverview: 'Magento_Multishipping/js/overview',
            payment: 'Magento_Multishipping/js/payment',
            billingLoader: 'Magento_Checkout/js/checkout-loader',
            cartUpdate: 'Magento_Checkout/js/action/update-shopping-cart',
            multiShippingBalance: 'Magento_Multishipping/js/multi-shipping-balance'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            recentlyViewedProducts: 'Magento_Reports/js/recently-viewed'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    config: {
        mixins: {
            'Magento_Swatches/js/swatch-renderer': {
                'Magento_InventorySwatchesFrontendUi/js/swatch-renderer': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            multipleWishlist: 'Magento_MultipleWishlist/js/multiple-wishlist'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            negotiableQuoteTabs: 'Magento_NegotiableQuote/js/quote/tabs'
        }
    },
    config: {
        mixins: {
            'Magento_Checkout/js/view/payment/default': {
                'Magento_NegotiableQuote/js/view/payment/default-mixin': true
            },
            'Magento_Checkout/js/model/resource-url-manager': {
                'Magento_NegotiableQuote/js/model/resource-url-manager-mixin': true
            },
            'Magento_Checkout/js/model/shipping-service': {
                'Magento_NegotiableQuote/js/model/shipping-service-mixin': true
            },
            'Magento_Checkout/js/action/get-payment-information': {
                'Magento_NegotiableQuote/js/action/get-payment-information-mixin': true
            },
            'Magento_Checkout/js/action/place-order': {
                'Magento_NegotiableQuote/js/action/place-order-mixin': true
            },
            'Magento_Checkout/js/action/set-billing-address': {
                'Magento_NegotiableQuote/js/action/set-billing-address-mixin': true
            },
            'Magento_Checkout/js/action/set-payment-information': {
                'Magento_NegotiableQuote/js/action/set-payment-information-mixin': true
            },
            'Magento_Checkout/js/action/set-payment-information-extended': {
                'Magento_NegotiableQuote/js/action/set-payment-information-extended-mixin': true
            },
            'Magento_GiftCardAccount/js/action/set-gift-card-information': {
                'Magento_NegotiableQuote/js/action/set-gift-card-information-mixin': true
            },
            'Magento_GiftCardAccount/js/action/remove-gift-card-from-quote': {
                'Magento_NegotiableQuote/js/action/remove-gift-card-from-quote-mixin': true
            },
            'Magento_Checkout/js/model/checkout-data-resolver': {
                'Magento_NegotiableQuote/js/model/checkout-data-resolver-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            'taxToggle': 'Magento_Weee/js/tax-toggle',
            'Magento_Weee/tax-toggle': 'Magento_Weee/js/tax-toggle'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright 2023 Adobe
 * All Rights Reserved.
 */
var config = {
    map: {
        '*': {
            'cancelOrderModal': 'Magento_OrderCancellationUi/js/cancel-order-modal'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            myOrdersFilter: 'Magento_OrderHistorySearch/js/order/filter'
        }
    },
    config: {
        mixins: {
            'mage/validation': {
                'Magento_OrderHistorySearch/js/validation': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            'slick': 'Magento_PageBuilder/js/resource/slick/slick',
            'jarallax': 'Magento_PageBuilder/js/resource/jarallax/jarallax',
            'jarallaxVideo': 'Magento_PageBuilder/js/resource/jarallax/jarallax-video',
            'Magento_PageBuilder/js/resource/vimeo/player': 'vimeo/player',
            'Magento_PageBuilder/js/resource/vimeo/vimeo-wrapper': 'vimeo/vimeo-wrapper',
            'jarallax-wrapper': 'Magento_PageBuilder/js/resource/jarallax/jarallax-wrapper'
        }
    },
    shim: {
        'Magento_PageBuilder/js/resource/slick/slick': {
            deps: ['jquery']
        },
        'Magento_PageBuilder/js/resource/jarallax/jarallax-video': {
            deps: ['jarallax-wrapper', 'vimeoWrapper']
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    'map': {
        '*': {
            'Magento_OfflinePayments/template/payment/checkmo.html':
                'Magento_PurchaseOrder/template/payment/checkmo.html',
            'Magento_OfflinePayments/template/payment/cashondelivery.html':
                'Magento_PurchaseOrder/template/payment/cashondelivery.html',
            'Magento_OfflinePayments/template/payment/banktransfer.html':
                'Magento_PurchaseOrder/template/payment/banktransfer.html',
            'Magento_OfflinePayments/template/payment/purchaseorder-form.html':
                'Magento_PurchaseOrder/template/payment/purchaseorder-form.html',
            'Magento_CompanyCredit/template/payment/companycredit-form.html':
                'Magento_PurchaseOrder/template/payment/companycredit-form.html',
            'Magento_Payment/template/payment/free.html':
                'Magento_PurchaseOrder/template/payment/free.html',
            'Magento_Checkout/template/billing-address/details.html':
                'Magento_PurchaseOrder/template/checkout/billing-address/details.html',
            'Magento_Checkout/template/shipping-information/address-renderer/default.html':
                'Magento_PurchaseOrder/template/checkout/shipping-information/address-renderer/default.html'
        }
    },
    config: {
        mixins: {
            'Magento_Checkout/js/model/step-navigator': {
                'Magento_PurchaseOrder/js/model/step-navigator-mixins': true
            },
            'Magento_Checkout/js/view/payment/default': {
                'Magento_PurchaseOrder/js/view/payment/default-mixins': true
            },
            'Magento_Checkout/js/view/shipping': {
                'Magento_PurchaseOrder/js/view/shipping-mixins': true
            },
            'Magento_Checkout/js/view/payment': {
                'Magento_PurchaseOrder/js/view/payment-mixins': true
            },
            'Magento_Checkout/js/action/set-payment-information-extended': {
                'Magento_PurchaseOrder/js/action/set-payment-information-extended-mixin': true
            },
            'Magento_Checkout/js/model/resource-url-manager': {
                'Magento_PurchaseOrder/js/model/resource-url-manager-mixin': true
            },
            'Magento_Checkout/js/action/get-payment-information': {
                'Magento_PurchaseOrder/js/action/get-payment-information-mixin': true
            },
            'Magento_Checkout/js/action/place-order': {
                'Magento_PurchaseOrder/js/action/place-order-mixin': true
            },
            'Magento_GiftCardAccount/js/action/remove-gift-card-from-quote': {
                'Magento_PurchaseOrder/js/action/remove-gift-card-from-quote-mixin': true
            },
            'Magento_Checkout/js/view/shipping-information': {
                'Magento_PurchaseOrder/js/view/shipping-information-mixin': true
            },
            'Magento_Checkout/js/action/set-billing-address': {
                'Magento_PurchaseOrder/js/action/set-billing-address-mixin': true
            },
            'Magento_Checkout/js/model/payment/method-converter': {
                'Magento_PurchaseOrder/js/model/payment/method-converter-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    config: {
        mixins: {
            'Magento_Customer/js/customer-data': {
                'Magento_Persistent/js/view/customer-data-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            loadPlayer: 'Magento_ProductVideo/js/load-player',
            fotoramaVideoEvents: 'Magento_ProductVideo/js/fotorama-add-video-events',
            'vimeoWrapper': 'vimeo/vimeo-wrapper'
        }
    },
    shim: {
        vimeoAPI: {},
        'Magento_ProductVideo/js/load-player': {
            deps: ['vimeoWrapper']
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    config: {
        mixins: {
            'Magento_PurchaseOrder/js/action/place-po-order': {
                'Magento_CheckoutAgreementsPurchaseOrder/js/set-payment-information-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    deps: [
        'Magento_PurchaseOrderRule/js/validation/messages'
    ],
    map: {
        '*': {
            uiPurchaseOrderRulePaging:        'Magento_PurchaseOrderRule/js/grid/paging/paging',
            uiPurchaseOrderRuleListing:       'Magento_PurchaseOrderRule/js/grid/listing',
            uiPurchaseOrderAddNewRuleButton:  'Magento_PurchaseOrderRule/js/grid/add-new-rule-button'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

/*eslint strict: ["error", "global"]*/



var config = {
    config: {
        mixins: {
            'Magento_Ui/js/view/messages': {
                'Magento_ReCaptchaFrontendUi/js/ui-messages-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

// eslint-disable-next-line no-unused-vars
var config = {
    config: {
        mixins: {
            'Magento_GiftCardAccount/js/action/set-gift-card-information': {
                'Magento_ReCaptchaGiftCard/js/action/set-gift-card-information-mixin': true
            },
            'Magento_GiftCardAccount/js/action/get-gift-card-information': {
                'Magento_ReCaptchaGiftCard/js/action/get-gift-card-information-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

// eslint-disable-next-line no-unused-vars
var config = {
    config: {
        mixins: {
            'Magento_Paypal/js/view/payment/method-renderer/payflowpro-method': {
                'Magento_ReCaptchaPaypal/js/payflowpro-method-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

// eslint-disable-next-line no-unused-vars
var config = {
    config: {
        mixins: {
            'jquery': {
                'Magento_ReCaptchaWebapiUi/js/jquery-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            rmaTrackInfo:   'Magento_Rma/rma-track-info',
            rmaCreate:      'Magento_Rma/rma-create'
        }
    },
    shim: {
        'Magento_Rma/rma-track-info': {
            deps: ['Magento_Rma/set-options']
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            mageTranslationDictionary: 'Magento_Translation/js/mage-translation-dictionary'
        }
    },
    deps: [
        'mageTranslationDictionary'
    ]
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    map: {
        '*': {
            editTrigger: 'mage/edit-trigger',
            addClass: 'Magento_Translation/js/add-class',
            'Magento_Translation/add-class': 'Magento_Translation/js/add-class'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © 2015 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */
/*jshint browser:true jquery:true*/
/*global alert*/
var config = {
    config: {
        mixins: {
            'Magento_Tax/js/view/checkout/summary/grand-total': {
                'Adyen_Payment/js/view/checkout/summary/grand-total-mixin': true
            },
            'Magento_Checkout/js/action/set-shipping-information': {
              'Adyen_Payment/js/model/set-shipping-information-mixin': true
            },
            'Magento_Checkout/js/action/get-payment-information': {
                'Adyen_Payment/js/model/get-payment-information-mixin': true
            },
            'Magento_Multishipping/js/payment': {
                'Adyen_Payment/js/view/checkout/multishipping/payment-mixin': true
             },
            'Magento_CheckoutAgreements/js/model/agreements-assigner': {
                'Adyen_Payment/js/view/checkout/summary/agreements-assigner-mixin': true
            },
            'mage/validation': {
                'Adyen_Payment/js/view/checkout/validator-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
var config = {
	paths: {
		'algoliaBundle': 'Algolia_AlgoliaSearch/internals/algoliaBundle.min',
		'algoliaAnalytics': 'Algolia_AlgoliaSearch/internals/search-insights',
        'recommend': 'Algolia_AlgoliaSearch/internals/recommend.min',
        'recommendJs': 'Algolia_AlgoliaSearch/internals/recommend-js.min',
		'rangeSlider': 'Algolia_AlgoliaSearch/navigation/range-slider-widget'
	},
	config: {
		mixins: {
			'Magento_Catalog/js/catalog-add-to-cart': {
				'Algolia_AlgoliaSearch/insights/add-to-cart-mixin': true
			},
		}
	}
};

require.config(config);
})();
(function() {
var config = 
{
    config: 
    {
        mixins: 
        {
        	'Magento_Checkout/js/action/select-payment-method':
			{
				'Anowave_Ec/js/action/select-payment-method':true
			},
			'Magento_Checkout/js/action/select-shipping-method':
			{
				'Anowave_Ec/js/action/select-shipping-method':true
			},
			'Magento_Checkout/js/action/place-order': 
			{
			    'Anowave_Ec/js/action/place-order': true
			},
            'Magento_Checkout/js/model/step-navigator': 
            {
                'Anowave_Ec/js/step-navigator/plugin': true
            },
            'Magento_Checkout/js/view/shipping-information': 
			{
			    'Anowave_Ec/js/view/shipping-information': true
			},
            'Magento_Customer/js/action/check-email-availability':
			{
				'Anowave_Ec/js/action/check-email-availability':true
			},
            'Magento_Checkout/js/sidebar':
            {
            	'Anowave_Ec/js/sidebar': true
            },
            'Magento_Catalog/js/price-box':
            {
            	'Anowave_Ec/js/price-box': true
            },
            'Magento_SalesRule/js/view/payment/discount':
            {
            	'Anowave_Ec/js/discount': true
            }
        }
    }
};
require.config(config);
})();
(function() {
var config = {
    map: {
        '*': {
            KlaviyoCustomerData: 'Klaviyo_Reclaim/js/customer',
        }
    },
    config: {
        mixins: {
            'Magento_Checkout/js/model/shipping-save-processor/payload-extender': {
                'Klaviyo_Reclaim/js/mixin/shipping-payload-extender-mixin': true
            },
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Mageplaza
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the mageplaza.com license that is
 * available through the world-wide-web at this URL:
 * https://www.mageplaza.com/LICENSE.txt
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this extension to newer
 * version in the future.
 *
 * @category    Mageplaza
 * @package     Mageplaza_Core
 * @copyright   Copyright (c) Mageplaza (https://www.mageplaza.com/)
 * @license     https://www.mageplaza.com/LICENSE.txt
 */

var config = {
    paths: {
        'jquery/file-uploader': 'Mageplaza_Core/lib/fileUploader/jquery.fileuploader',
        'mageplaza/core/jquery/popup': 'Mageplaza_Core/js/jquery.magnific-popup.min',
        'mageplaza/core/owl.carousel': 'Mageplaza_Core/js/owl.carousel.min',
        'mageplaza/core/bootstrap': 'Mageplaza_Core/js/bootstrap.min',
        mpIonRangeSlider: 'Mageplaza_Core/js/ion.rangeSlider.min',
        touchPunch: 'Mageplaza_Core/js/jquery.ui.touch-punch.min',
        mpDevbridgeAutocomplete: 'Mageplaza_Core/js/jquery.autocomplete.min'
    },
    shim: {
        "mageplaza/core/jquery/popup": ["jquery"],
        "mageplaza/core/owl.carousel": ["jquery"],
        "mageplaza/core/bootstrap": ["jquery"],
        mpIonRangeSlider: ["jquery"],
        mpDevbridgeAutocomplete: ["jquery"],
        touchPunch: ['jquery', 'jquery-ui-modules/core', 'jquery-ui-modules/mouse', 'jquery-ui-modules/widget']
    }
};

require.config(config);
})();
(function() {
/**
 * Mageplaza
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Mageplaza.com license sliderConfig is
 * available through the world-wide-web at this URL:
 * https://www.mageplaza.com/LICENSE.txt
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this extension to newer
 * version in the future.
 *
 * @category    Mageplaza
 * @package     Mageplaza_Shopbybrand
 * @copyright   Copyright (c) Mageplaza (https://www.mageplaza.com/)
 * @license     https://www.mageplaza.com/LICENSE.txt
 */

var config = {
    paths: {
        brandSlider: 'Mageplaza_Shopbybrand/js/brand-slider',
        quickview: 'Mageplaza_Shopbybrand/js/quick-view',
        modalPopup: 'Mageplaza_Shopbybrand/js/modal-popup'
    }
};

require.config(config);
})();
(function() {
var config = {
    config: {
        mixins: {
            "Magento_Checkout/js/model/checkout-data-resolver": {
                "Punchout_Gateway/js/model/checkout-data-resolver-mixin": true
            },
            "Magento_Ui/js/form/element/region": {
                "Punchout_Gateway/js/form/element/region-mixin": true
            }
        }
    }
};
require.config(config);
})();
(function() {
var config = {
    paths: {
        'Reepay': 'https://checkout.reepay.com/checkout',
    }
};
require.config(config);
})();
(function() {
/**
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
 * versions in the future.
 *
 * @category  Smile
 * @package   Smile\ElasticsuiteCore
 * @author    Botis <botis@smile.fr>
 * @copyright 2021 Smile
 * @license   Open Software License ("OSL") v. 3.0
 */

var config = {
    config: {
        mixins: {
            'Magento_Ui/js/lib/validation/validator': {
                'Smile_ElasticsuiteCore/js/validation/validator-mixin': true
            }
        }
    },
};


require.config(config);
})();
(function() {
/**
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
 * versions in the future.
 *
 * @category  Smile
 * @package   Smile\ElasticsuiteCore
 * @author    Romain Ruaud <romain.ruaud@smile.fr>
 * @copyright 2020 Smile
 * @license   Open Software License ("OSL") v. 3.0
 */

var config = {
    map: {
        '*': {
            quickSearch: 'Smile_ElasticsuiteCore/js/form-mini'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
 * versions in the future.
 *
 * @category  Smile
 * @package   Smile\ElasticsuiteCatalog
 * @author    Aurelien FOUCRET <aurelien.foucret@smile.fr>
 * @copyright 2020 Smile
 * @license   Open Software License ("OSL") v. 3.0
 */

var config = {
    map: {
        '*': {
            rangeSlider: 'Smile_ElasticsuiteCatalog/js/range-slider-widget'
        }
    },
    shim: {
        'Smile_ElasticsuiteCatalog/js/jquery.ui.touch-punch.min': {
            deps: ['Smile_ElasticsuiteCatalog/js/mouse']
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
var config = {
    paths: {
        'vaimoAjaxBlocks': 'Vaimo_AjaxBlocks/js'
    },
    config: {
        mixins: {
            'Vaimo_AjaxBlocks/js/loader': {
                'vaimoAjaxBlocks/mixins/history-state': true
            }
        }
    }
};
require.config(config);
})();
(function() {
/**
 * Copyright © 2009-2016 Vaimo AB. All rights reserved.
 * See LICENSE.txt for license details.
 */
var config = {
    paths: {
        'vaimoMatrixRates': 'Vaimo_MatrixRates/js'
    }
};
require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
var config = {
bundles: {
    'Vaimo_BankIdLogin/js/bundles/login': [
        'Vaimo_BankIdLogin/js/b2c-bankid-login',
        'Vaimo_BankIdLogin/js/bankid-signin',
        'customer-data-reload'
    ]
},
shim: {
    'Vaimo_BankIdLogin/js/b2c-bankid-login': {
        deps: ['customer-data-reload']
    }
},
deps: window.localStorage.getItem('isLoginRequested') ? ['customer-data-reload'] : []
};

require.config(config);
})();
(function() {
/*
 * Copyright (c) Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
var config = {
    map: {
        '*': {
            breakpoints: 'Vaimo_Storelocator/js/breakpoints',
            storelocatorSearch: 'Vaimo_Storelocator/js/storelocator-locator-search',
            googleMapConfig: 'Vaimo_Storelocator/js/google-map-config'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */

var config = {
    config: {
        mixins: {
            'Magento_Checkout/js/view/payment/default': {
                'Vaimo_BauhausShippingPartner/js/mixin/view/payment/default-mixin': true
            },
        }
    }
};

require.config(config);
})();
(function() {
/*
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE.txt for license details.
 */

var config = {
    bundles: {
        'Vaimo_BauhausCatalog/js/bundles/accessories': ['Vaimo_BauhausCatalog/js/product/AccessoriesQtySwitcher', 'Vaimo_BauhausCatalog/js/product/accessoriesHelper', 'Vaimo_BauhausCatalog/js/product/accessories']
    }
};

require.config(config);
})();
(function() {
/*
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE.txt for license details.
 */

var config = {
    config: {
        mixins: {
            'delivery-message': {
                'cc-delivery-message': true
            },
            'delivery-rating': {
                'cc-delivery-rating': true
            },
            'vaimo/productQtySwitcher': {
                'Vaimo_BauhausCC/productQtySwitcher': true
            },
            'vaimo/catalogAddToCart': {
                'Vaimo_BauhausCC/js/product/catalogAddToCart': true
            },
            'Magento_Checkout/js/view/minicart': {
                'Vaimo_BauhausCC/js/minicart': true
            },
            'Magento_Checkout/js/view/progress-bar': {
                'Vaimo_BauhausCC/js/checkout/progress-bar': true
            },
            'Vaimo_BauhausCheckout/js/view/bauhausse-billing-address-shipping-step': {
                'Vaimo_BauhausCC/js/checkout/bauhausse-billing-address-shipping-step': true
            },
            'Vaimo_BauhausCheckout/js/view/bauhausse-shipping': {
                'Vaimo_BauhausCC/js/checkout/bauhausse-shipping': true
            },
            'abstract-critical-warning': {
                'Vaimo_BauhausCC/js/view/abstract-critical-warning': true
            },
            'Vaimo_BauhausCheckout/js/view/bauhausse-fetched-billing-address': {
                'Vaimo_BauhausCC/js/view/bauhausse-fetched-billing-address': true
            },
            'Vaimo_BauhausCatalog/js/product/accessories': {
                'Vaimo_BauhausCC/js/product/accessories-mixin': true
            },
            'Vaimo_BauhausCatalog/js/product/accessoriesHelper': {
                'Vaimo_BauhausCC/js/product/accessoriesHelper-mixin': true
            }
        }
    },
    bundles: {
        'Vaimo_BauhausCC/js/bundles/bauhaus-cc-product': [
            'Vaimo_BauhausCC/productQtySwitcher',
            'Vaimo_BauhausCC/js/product/catalogAddToCart',
            'Vaimo_BauhausCC/js/product/header-store-details',
            'deliveryMethodFromStorage',
            'Vaimo_BauhausCC/js/minicart',
            'Vaimo_BauhausCC/js/product/accessories-mixin',
            'Vaimo_BauhausCC/js/product/accessoriesHelper-mixin',
            'cc-delivery-rating',
            'cc-delivery-message'
        ],
        'Vaimo_BauhausCC/js/bundles/bauhaus-cc-checkout': [
            'Vaimo_BauhausCC/js/checkout/collect-at-store',
            'Vaimo_BauhausCC/js/checkout/bauhausse-billing-address-shipping-step',
            'Vaimo_BauhausCC/js/checkout/bauhausse-shipping',
            'Vaimo_BauhausCC/js/checkout/progress-bar',
            'Vaimo_BauhausCC/js/view/abstract-critical-warning',
            'Vaimo_BauhausCC/js/view/bauhausse-fetched-billing-address',
            'SilentValidationCC',
            'getCcFromConfig'
        ],
        'Vaimo_BauhausCC/js/bundles/bauhaus-cc-cart': [
            'DeliveryTypeSwitcher',
            'deliveryTypeSwitcherModule',
            'deliveryTypeSwitcher',
            'CartDelivery',
            'CartHomeDelivery',
            'CartCcDelivery',
            'CartS2SDelivery',
            'CartS2SDropdown',
            'cartCheckoutConfigResolver',
            'cartCheckoutConfigModule'
        ]
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */

var config = {
    config: {
        mixins: {
            'vaimo/catalogAddToCart': {
                'Vaimo_InventoryInfo/js/product/catalogAddToCart': true
            }
        }
    },
    bundles: {
        'Vaimo_InventoryInfo/js/product/bundles/inventory-info': [
            'Vaimo_InventoryInfo/js/product/physicStock',
            'Vaimo_InventoryInfo/js/product/satellitePostcode',
            'Vaimo_InventoryInfo/js/product/webStock',
            'Vaimo_InventoryInfo/js/product/catalogAddToCart',
            'Vaimo_InventoryInfo/js/product/partnerId',
            'Vaimo_InventoryInfo/js/qty-in-stores',
            'text!Vaimo_InventoryInfo/template/qty-in-stores.html',
            'SetStoreButton'
        ]
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */

let config = {
    config: {
        mixins: {
            'Vaimo_InventoryInfo/js/product/webStock': {
                'Vaimo_BackInStock/js/mixins/product/webStock-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/*
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE.txt for license details.
 */

var config = {
    map: {
        '*': {
            instoreServiceClass:   'Vaimo_BauhausInstore/js/instore-service-handler',
            instoreLoginModal:     'Vaimo_BauhausInstore/js/instore-login-modal',
            pageBanner:         'Vaimo_BauhausInstore/js/page-banner'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
var config = {
    paths: {
        'vaimoAjaxProductList': 'Vaimo_AjaxProductList/js'
    },
    config: {
        mixins: {
            'Magento_Catalog/js/product/list/toolbar': {
                'vajaxproduct_list::vaimoAjaxProductList/mixins/catalog-toolbar': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
var config = {
bundles: {
    'Vaimo_BauhausSe/js/bundles/bauhaus-se-general': [
        'vaimo/animatedInputLabel',
        'price-format-config',
        'currency-code-config',
        'fetch',
        'postcodeUtils',
        'phoneUtils',
        'cssTimeout',
        'vaimo/geolocationHelper',
        'vaimo/headerState',
        'vaimo/KOTemplateFromStringComponentExtension',
        'vaimo/lazyFactory',
        'vaimoJqueryLazyFactory',
        'vaimo/lazyModalInit',
        'vaimoUtil/numberFormat',
        'vaimo/overlay',
        'vaimo/overlay-template',
        'pb-img',
        'saveTwitching',
        'js/simpleDropdown',
        'js/store-select',
        'vaimo/storeLocatorData',
        'StoreLocatorStorage',
        'StoreLocatorStorageIsolated',
        'storeLocatorRequest',
        'PassiveSticky',
        'CardLink',
        'requireModule',
        'registryChain'
    ],
    'Vaimo_BauhausSe/js/bundles/input-mask': [
        'bauhausse-add-silent-validation',
        'silent-validation-config',
        'silent-validation-emitter',
        'abstract-critical-warning',
        'abstract-masked',
        'inputmask-ko-bind',
        'abstract-masked-validation',
        'abstract-masked-ssn-field-orig',
        'abstract-masked-ssn-field',
        'SilentValidation',
        'inputmask'
    ],
    'Vaimo_BauhausSe/js/bundles/ui': [
        'text!Vaimo_BauhausSe/template/simple-html.html',
        'text!Vaimo_BauhausSe/template/simple-wrapper.html',
        'simple-wrapper',
        'simple-html'
    ]
},
paths: {
    'input-mask': 'Vaimo_BauhausSe/js/libraries/jquery-inputmask'
},
shim: {
    'input-mask': {
        deps: ['jquery', 'jquery/ui'],
        exports: 'Inputmask'
    }
},
};

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
var config = {
config: {
    mixins: {
        'mage/tabs': {
            'Vaimo_BauhausSe/js/mixins/tabs': true
        },
        'mage/collapsible': {
            'Vaimo_BauhausSe/js/mixins/collapsible': true
        },
        'mage/validation': {
            'Vaimo_BauhausSe/js/mixins/validation': true
        },
        'Magento_Ui/js/modal/modal': {
            'Vaimo_BauhausSe/js/mixins/modal': true
        },
        'Magento_Ui/js/lib/core/element/element': {
            'Vaimo_BauhausSe/js/mixins/lib/core/element/element': true
        },
        'Magento_Ui/js/lib/validation/validator': {
            'Vaimo_BauhausSe/js/mixins/library/validation/rules': true,
            'Vaimo_BauhausSe/js/mixins/library/validation/translation-mixin': true
        },
        'Vaimo_InfiniteScrolling/js/infinite-scrolling/page-history': {
            'Vaimo_BauhausSe/js/mixins/infinite-scrolling/page-history': true
        },
        'Magento_Ui/js/form/components/button': {
            'Vaimo_BauhausSe/js/mixins/form/components/button': true
        },
        'Magento_Ui/js/view/messages': {
            'Vaimo_BauhausSe/js/mixins/view/messages-mixin': true
        },
        'Magento_Theme/js/view/messages': {
            'Vaimo_BauhausSe/js/mixins/view/theme-messages-mixin': true
        },
        'Magento_PageCache/js/page-cache': {
            'Vaimo_BauhausSe/js/mixins/page-cache-mixin': true
        },
        'Magento_Ui/js/lib/core/collection': {
            'Vaimo_BauhausSe/js/mixins/library/core/collection-mixin': true
        },
        'Magento_Ui/js/lib/knockout/template/renderer': {
            'Vaimo_BauhausSe/js/mixins/lib/knockout/template/renderer': true
        }
    }
},
bundles: {
    'Vaimo_BauhausSe/js/view/bundles/wizard': [
        'Vaimo_BauhausSe/js/wizard/ui-widget',
        'Vaimo_BauhausSe/js/wizard/sticky-header-init',
        'Vaimo_BauhausSe/js/wizard/stepComponent',
        'Vaimo_BauhausSe/js/wizard/progress-bar',
        'Vaimo_BauhausSe/js/wizard/modal-message',
        'Vaimo_BauhausSe/js/wizard/ui-widget_component-wizard'
    ],
    'Vaimo_BauhausSe/js/view/bundles/recaptcha': [
        'reCaptchaComponent',
        'reCaptchaConfig'
    ],
    'Vaimo_BauhausSe/js/view/bundles/service-sidebar': [
        'service-sidebar-initializer',
        'service-sidebar-component'
    ]
},
paths: {
    jquery: [
        'https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.6.0.min',
        'https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min',
        'jquery'
    ],
    'knockoutjs/knockout': [
        'https://cdnjs.cloudflare.com/ajax/libs/knockout/3.5.1/knockout-latest.debug',
        'knockoutjs/knockout'
    ],
    underscore: [
        'https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min',
        'underscore'
    ],
    'Magento_PageBuilder/js/resource/slick/slick': [
        'https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min',
        'Vaimo_BauhausSe/js/libraries/slick'
    ],
    'cryptoJs': [
        'https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0.0/crypto-js.min',
        'Vaimo_BauhausSe/js/libraries/crypto-js.min'
    ],
    'jquery.lazy': [
        'https://cdnjs.cloudflare.com/ajax/libs/jquery.lazy/1.7.10/jquery.lazy.min',
        'Vaimo_BauhausSe/js/libraries/jquery.lazy'
    ],
    'jquery.ui.touch-punch': [
        'https://cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.3/jquery.ui.touch-punch.min',
        'Vaimo_BauhausSe/js/libraries/jquery.ui.touch-punch'
    ],
    'jquery/compat': 'Vaimo_BauhausSe/jquery/jquery-ui',
    'jquery/jstree': 'jquery/jstree',
    'jquery/fileUploader': 'jquery/fileUploader',
    'jquery/validate': 'jquery/jquery.validate',
    'jquery/patches': 'jquery/patches',
    'jquery/colorpicker': 'jquery/colorpicker',
    'jquery/hover-intent': 'jquery/jquery.hoverIntent',
    'jquery/jquery.hashchange': 'jquery/jquery.ba-hashchange.min',
    'jquery/jquery.metadata': 'jquery/jquery.metadata',
    'jquery/jquery.parsequery': 'jquery/jquery.parsequery',
    'caret': 'Vaimo_BauhausSe/js/libraries/jquery.caret',
    'reel': 'Vaimo_BauhausSe/js/libraries/jquery.reel',
    'lory': 'Vaimo_BauhausSe/js/libraries/lory'
},
map: {
    '*': {
        'jquery-ui-modules/core': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/accordion': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/autocomplete': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/button': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/datepicker': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/dialog': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/draggable': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/droppable': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect-blind': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect-bounce': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect-clip': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect-drop': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect-explode': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect-fade': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect-fold': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect-highlight': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect-scale': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect-pulsate': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect-shake': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect-slide': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect-transfer': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/effect': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/menu': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/mouse': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/position': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/progressbar': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/resizable': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/selectable': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/slider': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/sortable': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/spinner': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/tabs': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/timepicker': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/tooltip': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery-ui-modules/widget': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/core': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/accordion': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/autocomplete': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/button': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/datepicker': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/dialog': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/draggable': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/droppable': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effects/effect-blind': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effects/effect-bounce': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effects/effect-clip': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effects/effect-drop': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effects/effect-explode': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effects/effect-fade': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effects/effect-fold': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effects/effect-highlight': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effects/effect-scale': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effects/effect-pulsate': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effects/effect-shake': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effects/effect-slide': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effects/effect-transfer': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/effect': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/menu': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/mouse': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/position': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/progressbar': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/resizable': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/selectable': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/selectmenu': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/sortable': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/spinner': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/tabs': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widgets/tooltip': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/ui-modules/widget': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'jquery/timepicker': 'Vaimo_BauhausSe/jquery/jquery-ui',
        'Magento_Customer/js/model/authentication-popup': 'Vaimo_BauhausSe/js/mock/auth-pop',
        'moment': 'Vaimo_BauhausSe/js/mock/momentjs-mock',
        'tinycolor': 'Vaimo_BauhausSe/js/mock/tinycolor-mock'
    }
},
shim: {
    'slick': {
        deps: ['jquery']
    },
    'jquery.lazy': {
        deps: ['jquery']
    },
    'reel': {
        deps: ['jquery']
    },
    'jquery.ui.touch-punch': {
        deps: ['jquery']
    },
    'jquery/jquery-ui': {
        deps: ['jquery']
    }
},
deps: [
    'pb-img',
    'saveTwitching'
]
};

require.config(config);
})();
(function() {
/*
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE.txt for license details.
 */

var config = {
bundles: {
    'js/bundles/page_builder': [
        'Vaimo_BauhausPageBuilder/js/content-type/banner/appearance/default/banner-widget',
        'Vaimo_BauhausPageBuilder/js/content-type/products/appearance/carousel/widget',
        'Vaimo_BauhausPageBuilder/js/content-type/row/appearance/default/widget',
        'Vaimo_BauhausPageBuilder/js/content-type/video/appearance/default/video-widget',
        'Vaimo_BauhausPageBuilder/js/widget/video-background',
        'Vaimo_BauhausPageBuilder/js/widget/parallax',
        'Vaimo_BauhausPageBuilder/js/getVideoType',
        'Magento_PageBuilder/js/widget-initializer',
        'Magento_PageBuilder/js/events',
        'Magento_PageBuilder/js/widget/show-on-hover'
    ]
},
map: {
    '*': {
        'Magento_PageBuilder/js/content-type/banner/appearance/default/widget': 'Vaimo_BauhausPageBuilder/js/content-type/banner/appearance/default/banner-widget',
        'Magento_PageBuilder/js/widget/video-background': 'Vaimo_BauhausPageBuilder/js/widget/video-background',
        'Magento_PageBuilder/js/content-type/row/appearance/default/widget': 'Vaimo_BauhausPageBuilder/js/content-type/row/appearance/default/widget',
        'Magento_PageBuilder/js/content-type/products/appearance/carousel/widget': 'Vaimo_BauhausPageBuilder/js/content-type/products/appearance/carousel/widget'
    }
}
};

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */

var config = {
    map: {
        '*': {
            'Magento_Checkout/js/action/select-payment-method':
                'Vaimo_BauhausPaymentFee/js/action/payment/select-payment-method'
        }
    }
};
require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
var config = {
bundles: {
    'Vaimo_BauhausAlgolia/js/bundles/algolia': [
        'preprocessed-hogan',
        'instant-hit-template',
        'instant_wrapper_template',
        'instant-stats-template',
        'refinements-lists-item-template',
        'current-refinements-template',
        'AlgoliaPrice',
        'algoliaPriceData',
        'algoliaPriceDataModule',
        'algolia-search-results',
        'Vaimo_BauhausAlgolia/scrollToProduct',
        'Vaimo_BauhausAlgolia/applyBindingCardList',
        'Vaimo_BauhausAlgolia/customerPriceRange',
        'Vaimo_BauhausAlgolia/manageInStockFilter',
        'Vaimo_BauhausAlgolia/executeAfterDomPresence',
        'text!Vaimo_BauhausAlgolia/template/preprocessed-hogan/instant/hit.html',
        'text!Vaimo_BauhausAlgolia/template/preprocessed-hogan/instant/wrapper.html',
        'text!Vaimo_BauhausAlgolia/template/preprocessed-hogan/instant/refinements.html',
        'text!Vaimo_BauhausAlgolia/template/preprocessed-hogan/instant/facet.html',
        'text!Vaimo_BauhausAlgolia/template/preprocessed-hogan/instant/stats.html',
        'Vaimo_BauhausAlgolia/js/search-popup-mixin',
        'Vaimo_BauhausAlgolia/js/search-popup-results-mixin',
        'text!Vaimo_BauhausAlgolia/template/algolia-price-default.html',
        'text!Vaimo_BauhausAlgolia/template/algolia-price-discount_price.html',
        'algoliaConfig'
    ]
},
config: {
    mixins: {}
},
shim: {
    'Algolia_AlgoliaSearch/instantsearch': {
        deps: [
            'Algolia_AlgoliaSearch/internals/common',
            'instant-hit-template',
            'instant_wrapper_template',
            'instant-stats-template',
            'refinements-lists-item-template',
            'current-refinements-template',
            'Vaimo_BauhausAlgolia/applyBindingCardList',
            'Vaimo_BauhausAlgolia/customerPriceRange',
            'Vaimo_BauhausAlgolia/manageInStockFilter',
            'Vaimo_BauhausAlgolia/scrollToProduct',
            'Algolia_AlgoliaSearch/insights'
        ]
    }
}
};

if (window.algoliaConfig) {
    Object.assign(config.config.mixins, {
        'js/search-popup': {
            'Vaimo_BauhausAlgolia/js/search-popup-mixin': true
        },
        'js/search-popup-results': {
            'Vaimo_BauhausAlgolia/js/search-popup-results-mixin': true
        },
    });
}

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
var config = {
    paths: {
        Reepay: [
            'https://checkout.reepay.com/checkout'
        ]
    },
};

require.config(config);
})();
(function() {
/*
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE.txt for license details.
 */

var config = {
    config: {
        mixins: {
            'Magento_Checkout/js/model/checkout-data-resolver': {
                'Vaimo_BauhausCheckout/js/mixins/checkout/model/checkout-data-resolver': true
            },
            'Magento_Ui/js/model/messages': {
                'Vaimo_BauhausCheckout/js/mixins/checkout/model/messages': true
            },
            'Magento_Checkout/js/model/shipping-save-processor/payload-extender': {
                'Vaimo_BauhausCheckout/js/mixins/checkout/model/shipping-save-processor/payload-extender': true
            }
        }
    },
    bundles: {
        'Vaimo_BauhausCheckout/js/bundles/cell-input': [
            'cellInput',
            'cellInputSection',
            'cellInputInitializer',
            'cellInputData',
            'text!Vaimo_BauhausCheckout/template/cellInputTemplate.html'
        ],
        'Vaimo_BauhausCheckout/js/bundles/additional-services': [
            'Vaimo_BauhausCheckout/js/view/shipping/additional-services/date-select',
            'Vaimo_BauhausCheckout/js/view/shipping/additional-services/time-select',
            'Vaimo_BauhausCheckout/js/view/shipping/additional-services',
            'additional-services/AdditionalServicesGroup',
            'additional-services/ProcessServicePoints',
            'additional-services/process-unattended-delivery',
            'additional-services/process-additional-services',
            'additional-services/process-partners',
            'additional-services/process-service-points',
            'additional-services/process-timeslots'
        ],
        'Vaimo_BauhausCheckout/js/bundles/checkout': [
            'Vaimo_BauhausCheckout/js/mixins/checkout/model/shipping-save-processor/payload-extender',
            'Vaimo_BauhausCheckout/js/mixins/checkout/model/messages',
            'Vaimo_BauhausCheckout/js/mixins/checkout/model/checkout-data-resolver',
            'Vaimo_BauhausCheckout/js/view/messages',
            'Vaimo_BauhausCheckout/js/checkout-loader',
            'Vaimo_BauhausCheckout/js/view/postcode',
            'Vaimo_BauhausCheckout/js/view/bauhausse-handle-uptodate-postcode-city',
            'Vaimo_BauhausCheckout/js/view/bauhausse-billing-address-shipping-step',
            'Vaimo_BauhausCheckout/js/view/bauhausse-fetch-address-postcode-field',
            'Vaimo_BauhausCheckout/js/view/bauhausse-fetch-address-ssn-button',
            'Vaimo_BauhausCheckout/fetch-address-ssn-number',
            'Vaimo_BauhausCheckout/phone-number-with-prefix',
            'Vaimo_BauhausCheckout/js/view/bauhausse-fetch-address-step',
            'Vaimo_BauhausCheckout/js/view/bauhausse-fetch-ssn-type-fieldset',
            'Vaimo_BauhausCheckout/js/view/bauhausse-fetched-billing-address',
            'Vaimo_BauhausCheckout/js/view/bauhausse-shipping',
            'Vaimo_BauhausCheckout/js/view/checkBoxDataUpdate',
            'simple-wrapper--dependent-css',
            'Vaimo_BauhausCheckout/js/view/email-confirm-field',
            'Vaimo_BauhausCheckout/js/view/processDataUpdate',
            'Vaimo_BauhausCheckout/js/view/select-no-value-no-label',
            'Vaimo_BauhausCheckout/js/view/mega-continue-button/general',
            'Vaimo_BauhausCheckout/js/view/mega-continue-button/payment',
            'Vaimo_BauhausCheckout/js/view/mixin/shipping-payment-mixin-to-fetch-step',
            'Vaimo_BauhausCheckout/js/view/GetCartItems',
            'Vaimo_BauhausCheckout/js/view/summary/grouped-cart-items',
            'Vaimo_BauhausCheckout/js/view/cart/AddS2SDate',
            'local-data-process',
            'handle-proceed-to-next-step',
            'checkoutConfigPreprocessor',
            'button-tip'
        ],
        'js/bundles/checkout_templates': [
            'text!Magento_Checkout/template/progress-bar.html',
            'text!Magento_Checkout/template/onepage.html',
            'text!Magento_Checkout/template/summary.html',
            'text!Magento_Checkout/template/summary/totals.html',
            'text!Magento_Checkout/template/summary/cart-items.html',
            'text!Magento_Checkout/template/sidebar.html',
            'text!Magento_Checkout/template/payment.html',
            'text!Magento_Checkout/template/payment/before-place-order.html',
            'text!Magento_Checkout/template/payment-methods/list.html',
            'text!Magento_Checkout/template/estimation.html',
            'text!Magento_Tax/template/checkout/summary/grand-total.html',
            'text!Magento_Tax/template/checkout/summary/shipping.html',
            'text!Magento_Tax/template/checkout/summary/tax.html',
            'text!Magento_Tax/template/checkout/summary/subtotal.html',
            'text!Vaimo_BauhausCheckout/template/possible-payments.html',
            'text!Vaimo_BauhausCheckout/template/bauhausse-fetch-address-step.html',
            'text!Vaimo_BauhausCheckout/template/button-tip.html',
            'text!Vaimo_BauhausCheckout/template/bauhausse-shipping.html',
            'text!Vaimo_BauhausCheckout/template/bauhausse-billing-address-shipping-step.html',
            'text!Vaimo_BauhausCheckout/template/fetched-billing-address-shipping-step.html',
            'text!Vaimo_BauhausCheckout/template/shipping/additional-services-form.html',
            'text!Vaimo_BauhausCheckout/template/button-tip.html',
            'text!Vaimo_BauhausCC/template/checkout/shipping/collect-at-store.html',
            'text!Vaimo_BauhausShipToStore/template/ship-to-store.html',
            'text!Magento_GiftCardAccount/template/payment/gift-card-account.html',
            'text!Magento_GiftCardAccount/template/summary/gift-card-account.html',
            'text!Magento_GiftCardAccount/template/payment/gift-card-bonus-account.html',
            'text!Magento_GiftCardAccount/template/payment/form/field.html',
            'text!Magento_GiftCardAccount/template/payment/form/input.html',
            'text!Vaimo_Resursbank/template/payment/resursbank_invoice.html',
            'text!Vaimo_Resursbank/template/payment/resursbank_card_payment.html',
            'text!Vaimo_Resursbank/template/payment/resursbank_part_payment.html',
            'text!Vaimo_Resursbank/template/payment/resursbank_new_card.html',
            'text!Vaimo_Resursbank/template/payment/resursbank_swish_payment.html',
            'text!Vaimo_Resursbank/template/payment/resursbank_debit_card.html',
            'text!Vaimo_Resursbank/template/payment/resursbank_credit_card.html',
            'text!Magento_Weee/template/checkout/summary/weee.html',
            'text!Magento_CheckoutAgreements/template/checkout/checkout-agreements.html',
            'text!Magento_CustomerBalance/template/summary/customer-balance.html',
            'text!Magento_CompanyCredit/template/checkout/summary/grand-total.html',
            'text!Magento_CustomerBalance/template/payment/customer-balance.html',
            'text!Magento_SalesRule/template/summary/discount.html',
            'text!Vaimo_BauhausCheckout/template/bauhausse-checkbox-set.html'
        ]
    },
    map: {
        '*': {
            'Magento_Checkout/js/checkout-loader': 'Vaimo_BauhausCheckout/js/checkout-loader',
            'checkoutLoader': 'Vaimo_BauhausCheckout/js/checkout-loader',
            'billingLoader': 'Vaimo_BauhausCheckout/js/checkout-loader',
            transparent: 'Magento_Payment/js/transparent',
            'Magento_Payment/transparent': 'Magento_Payment/js/transparent'
        }
    }
};
if (window.checkoutConfig) {
    config.config.mixins['Magento_Ui/js/core/app'] = Object.assign(config.config.mixins['Magento_Ui/js/core/app'] || {}, {
        'cellInputData': true
    })
}

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */

var config = {
    map: {
        '*': {
            'momentLibrary': 'Vaimo_BauhausServicePoint/js/lib/moment'
        }
    },
};


require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
let config = {
    map: {
        '*': {
            'yotpo-sitereviews-submit': 'Vaimo_BauhausYotpo/js/yotpo-sitereviews-submit',
            'yotpo-sitereviews-ajax': 'Vaimo_BauhausYotpo/js/yotpo-sitereviews-ajax',
        }
    },
    bundles: {
        'Vaimo_BauhausYotpo/js/yotpo-pdp': [
            'Vaimo_BauhausYotpo/js/initYotpoWidget',
            'Vaimo_BauhausYotpo/js/setYotpoListeners'
        ]
    }
};

require.config(config);
})();
(function() {
/*
 * Copyright 2020 Vipps
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
 * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
 * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
 * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 * IN THE SOFTWARE.
 */

var config = {
    config: {
        mixins: {
            'Magento_Checkout/js/action/set-billing-address': {
                'Vipps_Login/js/action/set-billing-address-mixin': true
            },
            'Magento_Checkout/js/action/set-shipping-information': {
                'Vipps_Login/js/action/set-shipping-information-mixin': true
            },
            'Magento_Checkout/js/action/place-order': {
                'Vipps_Login/js/action/set-billing-address-mixin': true
            },
            'Magento_Checkout/js/action/create-billing-address': {
                'Vipps_Login/js/action/set-billing-address-mixin': true
            },
            'Magento_Checkout/js/model/address-converter': {
                'Vipps_Login/js/model/address-converter-mixin': true
            }
        }
    }
};
require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
var config = {
bundles: {
    'Vaimo_BauhausWishlist/js/bundles/wishList': ['text!Vaimo_BauhausWishlist/template/wishlist.html', 'Vaimo_BauhausWishlist/js/ajaxWishList']
}
};

require.config(config);
})();
(function() {
/*
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE.txt for license details.
 */

var config = {
    map: {
        '*': {
            deliveryTrack:   'Vaimo_BauhausLogistics/js/delivery-track',
            deliveryReview:   'Vaimo_BauhausLogistics/js/delivery-review'
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */

var config = {
    bundles: {
        'Vaimo_BauhausRMA/js/bundles/wizard': ['Vaimo_BauhausRMA/js/wizard/stepFinalComponent', 'Vaimo_BauhausRMA/js/wizard/step2Component', 'Vaimo_BauhausRMA/js/wizard/imageUploader', 'Vaimo_BauhausRMA/js/wizard/rmaWizardStep1DataProvider']
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © 2009-2017 Vaimo Group. All rights reserved.
 * See LICENSE.txt for license details.
 */
var config = {
    config: {
        mixins: {
            'Vaimo_AjaxProductList/js/loader': {
                'vaimo_infinite_scrolling::Vaimo_InfiniteScrolling/js/mixins/infinite-scrolling': true,
                'vaimo_infinite_scrolling,vcms_edit_mode::Vaimo_InfiniteScrolling/js/mixins/cms-edit-mode': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/*
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE.txt for license details.
 */

const config = {
    config: {
        mixins: {
            'Magento_Catalog/js/price-box': {
                'Vaimo_BauhausCustomerPrice/js/view/mixin/price-box-mixin': true
            }
        }
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
var config = {
    paths: {
        'vmoJs': 'Vaimo_JavascriptUsage/js'
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
var config = {
    map: {
        '*': {
            'mobileSlidingMenu': 'Vaimo_Menu/js/lib/jquery.mmenu.all'
        }
    },
    paths: {
        'vmenu': 'Vaimo_Menu/js'
    },
    shim: {
        'vmenu/lib/mobile-sliding-menu.min': {
            deps: ['jquery'],
            exports: 'jQuery.fn.mmenu'
        }
    },
    config: {
        mixins: {
            'Vaimo_Menu/js/component/types/type-mega': {
                'vrun-vcms-edit::Vaimo_Menu/js/mixins/Vaimo_Menu/component-type-mega-mixin': true
            },
            'Magento_Theme/js/view/breadcrumbs': {
                'Vaimo_Menu/js/mixins/Magento_Theme/view-breadcrumbs-mixin': true
            }
        }
    }
};
require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
let config = {
bundles: {
    'Vaimo_BauhausShipToStore/js/bundles/checkout-ship-to-store': [
        'Vaimo_BauhausShipToStore/additional-services/process-additional-services',
        'Vaimo_BauhausShipToStore/js/checkout-ship-to-store',
        'Vaimo_BauhausShipToStore/js/checkout/progress-bar',
        'Vaimo_BauhausShipToStore/js/checkout/bauhausse-billing-address-shipping-step',
        'Vaimo_BauhausShipToStore/js/checkout/bauhausse-shipping',
        'Vaimo_BauhausShipToStore/js/view/shipping/additional-services/time-select',
        'Vaimo_BauhausShipToStore/js/view/shipping/additional-services/date-select',
        'Vaimo_BauhausShipToStore/js/bauhausse-fetched-billing-address',
        'Vaimo_BauhausShipToStore/js/abstract-critical-warning',
        'Vaimo_BauhausShipToStore/js/disableCriticalWarning'
    ],
    'Vaimo_BauhausShipToStore/js/bundles/pdp-ship-to-store': [
        's2sPdpComponent',
        's2sPdpModule',
        's2sPdp',
        'freightCategoryData',
        'freightCategoryDataModule',
        'Vaimo_BauhausShipToStore/catalogAddToCartS2SMixin',
        'Vaimo_BauhausShipToStore/productQtySwitcher',
        'deliveryTypeHandlerComponentS2S'
    ]
},
config: {
    mixins: {
        'vaimo/catalogAddToCart': {
            'Vaimo_BauhausShipToStore/catalogAddToCartS2SMixin': true
        },
        'vaimo/productQtySwitcher': {
            'Vaimo_BauhausShipToStore/productQtySwitcher': 100
        },
        'additional-services/process-additional-services': {
            'Vaimo_BauhausShipToStore/additional-services/process-additional-services': true
        },
        'Magento_Checkout/js/view/progress-bar': {
            'Vaimo_BauhausShipToStore/js/checkout/progress-bar': true
        },
        'Vaimo_BauhausCheckout/js/view/bauhausse-shipping': {
            'Vaimo_BauhausShipToStore/js/checkout/bauhausse-shipping': 100
        },
        'Vaimo_BauhausCheckout/js/view/bauhausse-billing-address-shipping-step': {
            'Vaimo_BauhausShipToStore/js/checkout/bauhausse-billing-address-shipping-step': true
        },
        'Vaimo_BauhausCheckout/js/view/shipping/additional-services/time-select': {
            'Vaimo_BauhausShipToStore/js/view/shipping/additional-services/time-select': true
        },
        'Vaimo_BauhausCheckout/js/view/shipping/additional-services/date-select': {
            'Vaimo_BauhausShipToStore/js/view/shipping/additional-services/date-select': true
        },
        'Vaimo_BauhausCheckout/js/view/bauhausse-fetched-billing-address': {
            'Vaimo_BauhausShipToStore/js/bauhausse-fetched-billing-address': true
        },
        'abstract-critical-warning': {
            'Vaimo_BauhausShipToStore/js/abstract-critical-warning': true
        },
        'deliveryTypeHandlerComponent': {
            'deliveryTypeHandlerComponentS2S': true
        }
    }
}
};

require.config(config);
})();
(function() {
/**
 * Copyright (c) Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
var config = {
    map: {
        "*": {
            "RecommendationList" : "Vaimo_ProductRecommendationManager/js/recommendation-list"
        }
    }
}

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */

const config = {
    bundles: {
        'Vaimo_PseudoMenu/js/bundles/menu': ['Vaimo_PseudoMenu/js/Menu', 'Vaimo_PseudoMenu/js/menuHelper', 'Vaimo_PseudoMenu/js/MenuRenderer']
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
const config = {
    bundles: {
        'Vaimo_SalesRulePromo/js/bundles/price-rules': [
            'price-rules',
            'recommended',
            'text!js/template/price-rules-main-section-tmpl.html',
            'text!js/template/price-rules-discounted-section-tmpl.html',
            'text!js/template/price-rules-recommended-tmpl.html'
        ]
    }
};

require.config(config);
})();
(function() {
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

var config = {
    deps: [
        'Magento_Theme/js/theme'
    ]
};

require.config(config);
})();
(function() {
/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
const config = {
    config: {
        mixins: {
            'Magento_Checkout/js/sidebar': {
                'js/mixins/sidebar': true
            },
            'Magento_Ui/js/view/messages': {
                'Magento_ReCaptchaFrontendUi/js/ui-messages-mixin': false
            },
            'jquery': {
                'Magento_ReCaptchaWebapiUi/js/jquery-mixin': false
            },
            'jquery/validate': {
                'js/mixins/form/validation-mixin': true
            },
            'Magento_Checkout/js/view/form/element/email': {
                'js/mixins/view-form-element-email-component': true
            },
            'Magento_Checkout/js/model/step-navigator': {
                'js/mixins/model/step-navigator': true
            },
            'Magento_Ui/js/form/element/abstract': {
                'js/mixins/form/element/abstract': true
            },
            'Smile_ElasticsuiteCatalog/js/range-slider-widget': {
                'js/mixins/rangeSlider': true
            },
            'Smile_ElasticsuiteCatalog/js/attribute-filter': {
                'js/mixins/attribute-filter': true
            },
            'Vaimo_AjaxProductList/js/loader': {
                'vaimo_infinite_scrolling::Vaimo_InfiniteScrolling/js/mixins/infinite-scrolling': false
            },
            'Magento_Checkout/js/view/summary/shipping': {
                'Vaimo_BauhausShipping/js/view/mixin/shipping-set-default-method': true
            },
            'Magento_Checkout/js/view/payment': {
                'Vaimo_BauhausCheckout/js/view/mixin/shipping-payment-mixin-to-fetch-step': true,
                'js/mixins/payment': true
            },
            'Magento_Checkout/js/view/progress-bar': {
                'js/mixins/progress-bar': true
            },
            'Vaimo_Storelocator/js/google-map-config': {
                'Vaimo_BauhausStorelocator/js/mixins/google-map-config-mixin': true
            },
            'Vaimo_Storelocator/js/storelocator-locator-search': {
                'Vaimo_BauhausStorelocator/js/mixins/storelocator-locator-search-mixin': true
            },
            'Magento_Catalog/js/product/list/toolbar': {
                'js/mixins/catalog-toolbar': true
            },
            'Magento_Checkout/js/view/summary/abstract-total': {
                'js/mixins/abstract-total-mixin': true
            },
            'Magento_Checkout/js/view/payment/default': {
                'js/mixins/payment/default': true
            },
            'Vaimo_Resursbank/js/view/payment/method-renderer/resursbank_card_payment': {
                'js/mixins/payment/resursbank_card_payment-mixin': true
            },
            'Magento_CheckoutAgreements/js/view/checkout-agreements': {
                'js/mixins/checkout-agreements-mixin': true
            },
            'Magento_GiftCardAccount/js/view/payment/gift-card-account': {
                'js/mixins/payment/gift-card-account-mixin': true
            },
            'Magento_GiftCardAccount/js/view/summary/gift-card-account': {
                'js/mixins/view/gift-card-account-mixin': true
            },
            'Magento_GiftCardAccount/js/view/cart/totals/gift-card-account': {
                'js/mixins/view/gift-card-account-mixin': true
            },
            'Magento_Checkout/js/proceed-to-checkout': {
                'js/mixins/cart/proceed-to-checkout': true
            },
            'Magento_Catalog/js/price-box': {
                'js/mixins/price-box-mixin': true
            },
            'Vaimo_ProductConfigurator/js/view/option/configurable-attributes': {
                'Vaimo_ProductConfigurator/js/configurable-attributes-mixin': true,
            },
            'Magento_Bundle/js/price-bundle': {
                'Vaimo_ProductConfigurator/js/mixins/price-bundle-mixin': true
            },
            'Vaimo_PseudoMenu/js/Menu': {
                'js/mixins/menu-mixin': true
            },
            'Magento_Ui/js/lib/knockout/template/renderer': {
                'Vaimo_BauhausSe/js/mixins/lib/knockout/template/renderer': true
            },
            'uiRegistry': {
                'js/mixins/dynamic-components': true
            },
            'Vaimo_BauhausWishlist/js/ajaxWishList': {
                'Anowave_Ec/js/mixins/ajaxWishList-mixin': true
            },
            'Vaimo_InfiniteScrolling/js/infinite-scrolling/product-history': {
                'js/mixins/product-history-mixin': true
            }
        }
    },
    bundles: {
        'js/bundles/bauhaus-se-product-page': [
            'vaimo/qtySwitcher',
            'vaimo/productQtySwitcher',
            'vaimo/productGallery',
            'vaimo/productGalleryInteractive',
            'vaimo/productPopupGallery',
            'vaimo/productPopupGalleryInteractive',
            'vaimo/partPayment',
            'vaimo/productEmbeddedVideo',
            'delivery-message',
            'delivery-rating',
            'vaimo/pdpEnergyLabel',
            'vaimo/catalogAddToCart',
            'deliveryTypeHandler',
            'deliveryTypeHandlerModule',
            'deliveryTypeHandlerComponent',
            'atcMessage'
        ],
        'js/bundles/bauhaus-se-product-list': [
            'vaimo/focusCategoryList',
            'vaimo/scrollUp',
            'vaimo/layeredFiltersWidget',
            'vaimo/showAllButton',
            'vaimoBauhausAjaxProductList/js/loader',
            'js/stockFilter'
        ],
        'js/bundles/product-card': [
            'Energymark',
            'js/energymark-confirm-pdf',
            'text!js/template/energymark-confirm-pdf-template.html',
            'text!js/template/energymark-info-template.html',
            'text!js/template/energymark-template.html',
            'Banner',
            'text!js/product-card-banner-template.html'
        ],
        'js/bundles/bauhaus-se-quick-search': [
            'js/initializeFocusedBindingHandler',
            'js/initializeValueBindingHandler',
            'processDirectLinks',
            'js/search-popup',
            'js/search-popup-initializer',
            'js/search-popup-results',
            'js/search-suggestions',
            'text!js/template/search-popup-results-template.html',
            'text!js/template/search-suggestions-template.html',
            'text!js/template/search-products-template.html',
            'text!js/template/search-brands-template.html',
            'text!js/template/search-popup-template.html',
            'QuickSearchPrice'
        ],
        'js/bundles/ssn-input-process': [
            'ssn-input-process/process',
            'ssn-input-process/ko-bind',
            'ssn-input-process/validate',
            'ssn-input-process/FooValueHandler',
            'ssn-input-process/utils'
        ],
        'js/bundles/bootstrap': [
            'moment',
            'Vaimo_BauhausCustomer/js/reload-customer-data',
            'Vaimo_BauhausSe/js/mock/empty',
            'Vaimo_BauhausSe/jquery/jquery-ui',
            'Vaimo_BauhausSe/js/mixins/lib/core/element/element',
            'Vaimo_BauhausSe/js/mixins/modal',
            'Vaimo_BauhausSe/js/mixins/page-cache-mixin',
            'Vaimo_BauhausSe/js/mixins/tabs',
            'Vaimo_BauhausSe/js/mixins/collapsible',
            'Vaimo_BauhausSe/js/mixins/validation',
            'Vaimo_BauhausSe/js/mixins/library/core/collection-mixin',
            'Vaimo_BauhausSe/js/mixins/lib/knockout/template/renderer',
            'Vaimo_BauhausSe/js/mixins/view/theme-messages-mixin',
            'Magento_Checkout/js/view/cart-item-renderer',
            'Magento_Checkout/js/sidebar',
            'jquery/jquery.mobile.custom',
            'jquery/jquery.cookie',
            'jquery/jquery-storageapi',
            'jquery/z-index',
            'mage/translate',
            'mage/dataPost',
            'text!ui/template/modal/modal-popup.html',
            'text!ui/template/modal/modal-slide.html',
            'text!ui/template/modal/modal-custom.html',
            'text!ui/template/tooltip/tooltip.html',
            'text!ui/template/collection.html',
            'Magento_Ui/js/lib/key-codes',
            'Magento_Ui/js/modal/confirm',
            'Magento_Ui/js/lib/core/class',
            'Magento_Ui/js/lib/knockout/template/observable_source',
            'Magento_Ui/js/lib/knockout/template/loader',
            'Magento_Ui/js/lib/knockout/template/renderer',
            'Magento_Ui/js/lib/logger/levels-pool',
            'Magento_Ui/js/lib/logger/logger',
            'Magento_Ui/js/lib/logger/entry',
            'Magento_Ui/js/lib/logger/entry-factory',
            'Magento_Ui/js/lib/logger/console-output-handler',
            'Magento_Ui/js/lib/logger/formatter',
            'Magento_Ui/js/lib/logger/message-pool',
            'uiRegistry',
            'Magento_Ui/js/lib/core/events',
            'Magento_Ui/js/lib/core/storage/local',
            'Magento_Ui/js/lib/logger/logger-utils',
            'Magento_Ui/js/lib/logger/console-logger',
            'Magento_Ui/js/lib/knockout/template/engine',
            'Magento_Ui/js/lib/knockout/extender/bound-nodes',
            'Magento_Ui/js/lib/view/utils/bindings',
            'Magento_Ui/js/lib/knockout/bindings/i18n',
            'Magento_Ui/js/lib/knockout/bindings/scope',
            'Magento_Ui/js/lib/knockout/bindings/range',
            'Magento_Ui/js/lib/knockout/bindings/mage-init',
            'Magento_Ui/js/lib/knockout/bindings/keyboard',
            'Magento_Ui/js/lib/knockout/bindings/optgroup',
            'Magento_Ui/js/lib/knockout/bindings/after-render',
            'Magento_Ui/js/lib/knockout/bindings/autoselect',
            'Magento_Ui/js/lib/knockout/bindings/outer_click',
            'Magento_Ui/js/lib/knockout/bindings/fadeVisible',
            'Magento_Ui/js/lib/knockout/bindings/collapsible',
            'Magento_Ui/js/lib/knockout/bindings/staticChecked',
            'Magento_Ui/js/lib/knockout/bindings/simple-checked',
            'Magento_Ui/js/lib/knockout/bindings/bind-html',
            'Magento_Ui/js/lib/knockout/bindings/tooltip',
            'Magento_Ui/js/lib/knockout/extender/observable_array',
            'Magento_Ui/js/lib/knockout/bindings/bootstrap',
            'Magento_Ui/js/lib/knockout/bootstrap',
            'Magento_Ui/js/modal/alert',
            'Magento_Ui/js/modal/modal',
            'Magento_Ui/js/core/app',
            'text',
            'dropdown',
            'knockoutjs/knockout-fast-foreach',
            'knockoutjs/knockout-repeat',
            'knockoutjs/knockout-es5',
            'es6-collections',
            'js/mixins/sidebar',
            'js/mixins/dynamic-components',
            'Vaimo_BauhausSe/js/mixins/tabs',
            'Vaimo_BauhausSe/js/mixins/collapsible',
            'Vaimo_BauhausSe/js/mixins/library/core/collection-mixin',
            'js/mixins/form/element/abstract',
            'Magento_Customer/js/section-config',
            'Magento_Customer/js/invalidation-processor',
            'Magento_Persistent/js/view/customer-data-mixin',
            'Magento_Customer/js/invalidation-rules/website-rule',
            'domReady',
            'mage/loader',
            'mage/cookies',
            'mage/bootstrap',
            'mage/common',
            'mage/storage',
            'mage/apply/scripts',
            'mage/apply/main',
            'mage/mage',
            'mage/url',
            'mage/template',
            'mage/utils/misc',
            'mage/utils/template',
            'mage/utils/main',
            'mage/utils/wrapper',
            'mage/smart-keyboard-handler',
            'mage/utils/strings',
            'mage/utils/arrays',
            'mage/utils/objects',
            'mage/utils/compare',
            'mage/collapsible',
            'mage/tabs',
            'matchMedia',
            'Magento_Ui/js/core/renderer/types',
            'Magento_Ui/js/core/renderer/layout',
            'Magento_Ui/js/lib/core/element/links',
            'Magento_Ui/js/form/element/abstract',
            'Magento_PageCache/js/form-key-provider',
            'text!js-translation.json',
            'Magento_Translation/js/mage-translation-dictionary',
            'Magento_PurchaseOrderRule/js/validation/messages',
            'js/mixins/menu-mixin',
            'Magento_Security/js/escaper',
            'Magento_PageCache/js/page-cache',
            'Magento_Customer/js/customer-data',
            'Magento_Ui/js/lib/core/element/element',
            'Magento_Ui/js/lib/core/collection',
            'Magento_Customer/js/view/customer',
            'Magento_Wishlist/js/view/wishlist',
            'Magento_Catalog/js/view/image',
            'Magento_Catalog/js/storage-manager',
            'Magento_Theme/js/view/messages',
            'Magento_Catalog/js/product/storage/storage-service',
            'Magento_Security/js/escaper',
            'Magento_Catalog/js/product/storage/ids-storage',
            'Magento_Catalog/js/product/storage/data-storage',
            'Magento_Catalog/js/product/storage/ids-storage-compare',
            'Magento_Catalog/js/product/query-builder',
            'Magento_Checkout/js/view/minicart',
            'Magento_Catalog/js/price-utils'
        ],
        'js/bundles/require':[
            'requirejs/require',
            'mage/requirejs/mixins',
            'requirejs-config',
            'Vaimo_BauhausSe/js/resolutionProvider',
            'vaimo/lazyBanners',
            'touchDeviceIdentifier'
        ],
        'js/bundles/ui_templates': [
            'text!ui/template/form/element/select.html',
            'text!ui/template/form/components/button/simple.html',
            'text!ui/template/form/field.html',
            'text!ui/template/form/element/button.html',
            'text!ui/template/form/element/ssn-input.html',
            'text!ui/template/form/element/input-masked.html',
            'text!ui/template/form/element/input.html',
            'text!ui/template/form/components/single/field.html',
            'text!ui/template/form/components/single/checkbox.html',
            'text!Magento_Ui/template/messages.html',
            'text!ui/template/group/group.html',
            'text!ui/template/collection.html',
            'text!ui/template/form/components/single/checkbox.html'
        ],
        'Vaimo_ProductConfigurator/js/bundles/pc-product-page': [
            'Vaimo_ProductConfigurator/js/view/option/configurable-attributes-popup',
            'Vaimo_ProductConfigurator/js/view/option/dependent-options',
            'text!Vaimo_ProductConfigurator/template/options.html',
            'Vaimo_ProductConfigurator/js/optionsHashHandler',
            'Vaimo_ProductConfigurator/js/optionsPopupHandler',
            'Vaimo_ProductConfigurator/js/select-options-popup',
            'Vaimo_ProductConfigurator/js/view/option/triggerChangeBinding',
            'Vaimo_ProductConfigurator/js/mixins/price-bundle-mixin',
            'Vaimo_ProductConfigurator/js/configurable-attributes-mixin',
            'PCVariantsAttributesTable',
            'text!Vaimo_ProductConfigurator/template/pc-variants-attributes-table-template.html'
        ]
    },
    map: {
        '*': {
            'vaimo/lazyTabs': 'mage/tabs',
            'vaimo/lazyBanners': 'Vaimo_BauhausSe/js/lazyBanners',
            'jquery/ui': 'Vaimo_BauhausSe/jquery/jquery-ui',
            'Magento_Theme/js/theme': 'Vaimo_BauhausSe/js/mock/empty',
            'mage/ie-class-fixer': 'Vaimo_BauhausSe/js/mock/empty',
        }
    }
};

require.config(config);
})();



})(require);
define("requirejs-config", function(){});

/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */

;define('Vaimo_BauhausSe/js/resolutionProvider', [], function () {
    'use strict';

    function debounce(func, wait, immediate) {
        let timeout;
        return function() {
            let context = this, args = arguments;
            let later = function() {
                timeout = null;
                if (!immediate) func.apply(context, args);
            };
            let callNow = immediate && !timeout;
            clearTimeout(timeout);
            timeout = setTimeout(later, wait);
            if (callNow) func.apply(context, args);
        };
    }

    let Resolution = function (options) {
        this.options = options;
        this.predesktopSizeName = 'md';
        this.options.resolutionMap = [
            {name: 'xs', size: 480},
            {name: 'sm', size: 768},
            {name: this.predesktopSizeName, size: 992},
            {name: 'tablet-landscape', size: 1024},
            {name: 'lg', size: 1200},
            {name: 'xl', size: 1400},
            {name: 'above-all', size: 100000}
        ];

        this._setCurrentSizes();
    };

    Resolution.prototype._setCurrentSizes = function () {
        this._sizes = [];

        for (let i = 0; i < this.options.resolutionMap.length; i++) {
            if (this.options.resolution < this.options.resolutionMap[i].size) {
                this._sizes = this.options.resolutionMap
                    .slice(0, i + 1)
                    .map(function (el) {
                        return el.name;
                    });
                return;
            }
        }
    };

    Resolution.prototype.getSizePixels = function (size) {
        for (let i = 0; i < this.options.resolutionMap.length; i++) {
            if (this.options.resolutionMap[i].name === size) {
                return this.options.resolutionMap[i].size;
            }
        }

        return '';
    };

    Resolution.prototype.isSizeActive = function (size) {
        return this._sizes.indexOf(size) !== -1;
    };

    Resolution.prototype.isDesktop = function () {
        return this._sizes.indexOf(this.predesktopSizeName) !== -1;
    };

    Resolution.prototype.getDesktopSize = function () {
        for (let i = 0; i < this.options.resolutionMap.length; i++) {
            if (this.options.resolutionMap[i].name === this.predesktopSizeName) {
                return this.options.resolutionMap[i + 1] ? this.options.resolutionMap[i + 1].size : null;
            }
        }

        return null;
    };

    /**
     *
     * @param sizes array
     * @returns array|undefined
     */
    Resolution.prototype.getHigherActiveSize = function (sizes) {
        for (let i = this._sizes.length; i > -1; i--) {
            if (sizes.indexOf(this._sizes[i]) !== -1) {
                return this._sizes[i];
            }
        }
    };

    Resolution.prototype.getActiveSizes = function () {
        return this._sizes.slice();
    };

    let ResolutionProvider = function () {
        this.options = {
            fireTimeout: 150
        };
        this._resolutionInstance = null;
        this._setResolution();

        window.addEventListener('resize', debounce(e => {
            if (e.target !== window) return;

            this._setResolution();
            this._updateBreakpoints();
            window.dispatchEvent(new CustomEvent('windowResize'));
        }, this.options.fireTimeout))
    };


    ResolutionProvider.prototype._updateBreakpoints = function () {
        if (this._previousResolutionInstance &&
            this._previousResolutionInstance.getActiveSizes().join('') === this._resolutionInstance.getActiveSizes().join('')) return;

        window.dispatchEvent(new CustomEvent('breakpointsChanged'));
    };

    ResolutionProvider.prototype.getSizePixels = function (size) {
        return this._resolutionInstance.getSizePixels(size);
    };

    ResolutionProvider.prototype.getResolution = function () {
        return this._resolutionInstance;
    };

    ResolutionProvider.prototype._setResolution = function () {
        this.resolution = window.innerWidth;
        this._previousResolutionInstance = this._resolutionInstance;
        this._resolutionInstance = new Resolution({
            resolution: this.resolution
        });
    };

    return new ResolutionProvider();
});

/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */

define('Vaimo_BauhausSe/js/lazyBanners', ['Vaimo_BauhausSe/js/resolutionProvider'], function(resolutionProvider){
    'use strict';

    function AddOnResolutionChange() {
        this.list = [];
        this.setResolutionVars();
        require(['jquery'], (function ($) {
            $(window).on('windowResize', this.onWindowResize.bind(this));
        }).bind(this));
    }

    AddOnResolutionChange.prototype.setResolutionVars = function () {
        let isDesktop = resolutionProvider.getResolution().isDesktop();
        this.isResolutionChanged = isDesktop !== this.isDesktop;
        this.isDesktop = isDesktop;
    };

    AddOnResolutionChange.prototype.push = function (item) {
        this.list.push(item);
    };

    AddOnResolutionChange.prototype.addStyle = function(elClass, mediaQuery, bgImage) {
        let style = document.createElement('style');
        style.innerText = '@media only screen and (' + mediaQuery + ') {.' + elClass + '{background-image:url(' + bgImage + ') !important}}';
        document.head.appendChild(style);
    };

    AddOnResolutionChange.prototype.onWindowResize = function() {
        this.setResolutionVars();

        if (!(this.list.length && this.isResolutionChanged)) {return;}

        for (let i = 0; i < this.list.length; i++) {
            this.addStyle.apply(this, this.list[i]);
        }

        this.list.length = 0;
    };

    let isFirstBanner = true;
    let isDesktop = resolutionProvider.getResolution().isDesktop();
    const mobileMediaQuery = 'max-width: ' + (resolutionProvider.getSizePixels('sm') - 1) + 'px';
    const desktopMediaQuery = 'min-width: ' + resolutionProvider.getSizePixels('sm') + 'px';
    const addOnResolutionChange = new AddOnResolutionChange;

    return function(elClass, desktop, mob){
        // Temporary fix under BM2-4134 for cms pages that were saved with incorrect doubled banner wrapper class in admin
        let tail = elClass.split('pagebuilder-banner-wrapper--bg-img')[1];
        let fixedElClass = 'pagebuilder-banner-wrapper--bg-img' + tail.substr(0, tail.length/2);
        let els = document.querySelectorAll(['.' + elClass, '.' + fixedElClass]);

        for (let i = 0; i < els.length; i++) {
            let el = els[i];

            if (!el.isLazyBannerApplied) {
                el.isLazyBannerApplied = true;
                addOnResolutionChange.push([elClass, isDesktop ? mobileMediaQuery : desktopMediaQuery, isDesktop ? mob : desktop]);
                addOnResolutionChange.push([fixedElClass, isDesktop ? mobileMediaQuery : desktopMediaQuery, isDesktop ? mob : desktop]);

                if (isFirstBanner) {
                    isFirstBanner = false;
                    addOnResolutionChange.addStyle(elClass, isDesktop ? desktopMediaQuery : mobileMediaQuery, isDesktop ? desktop : mob);
                    addOnResolutionChange.addStyle(fixedElClass, isDesktop ? desktopMediaQuery : mobileMediaQuery, isDesktop ? desktop : mob);
                    return;
                }
                // Fix end

                el.setAttribute('data-src', isDesktop ? desktop : mob);
                (function (el) {
                    require(['jquery', 'vaimo/lazyFactory'], function ($, lazyFactory) {
                        lazyFactory.apply($(el).parent(), [{useComplicatedLazyLoad: true, delay: -1, bind: 'event'}]);
                    });
                })(el);
            }
        }
    }
});

/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */

;define('touchDeviceIdentifier', [], function () {'use strict';
const TouchIdentifier = function (){
    this.click = this.getProperEventName('tap', 'click');
    this.touchend = this.getProperEventName('touchend', 'mouseup');
};

TouchIdentifier.prototype.getProperEventName = function (touchEvent, defaultEvent) {
    return this.isTouchDevice() ? touchEvent : defaultEvent;
};

TouchIdentifier.prototype.isTouchDevice = function () {
    return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
};

return new TouchIdentifier();
});

define("Vaimo_BauhausSe/js/touchDeviceIdentifier", function(){});

/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

/**
 * @api
 */
define('uiRegistry',[
    'jquery',
    'underscore'
], function ($, _) {
    'use strict';

    var privateData = new WeakMap();

    /**
     * Extracts private item storage associated
     * with a provided registry instance.
     *
     * @param {Object} container
     * @returns {Object}
     */
    function getItems(container) {
        return privateData.get(container).items;
    }

    /**
     * Extracts private requests array associated
     * with a provided registry instance.
     *
     * @param {Object} container
     * @returns {Array}
     */
    function getRequests(container) {
        return privateData.get(container).requests;
    }

    /**
     * Wrapper function used for convenient access to the elements.
     * See 'async' method for examples of usage and comparison
     * with a regular 'get' method.
     *
     * @param {(String|Object|Function)} name - Key of the requested element.
     * @param {Registry} registry - Instance of a registry
     *      where to search for the element.
     * @param {(Function|String)} [method] - Optional callback function
     *      or a name of the elements' method which
     *      will be invoked when element is available in registry.
     * @returns {*}
     */
    function async(name, registry, method) {
        var args = _.toArray(arguments).slice(3);

        if (_.isString(method)) {
            registry.get(name, function (component) {
                component[method].apply(component, args);
            });
        } else if (_.isFunction(method)) {
            registry.get(name, method);
        } else if (!args.length) {
            return registry.get(name);
        }
    }

    /**
     * Checks that every property of the query object
     * is present and equal to the corresponding
     * property in target object.
     * Note that non-strict comparison is used.
     *
     * @param {Object} query - Query object.
     * @param {Object} target - Target object.
     * @returns {Boolean}
     */
    function compare(query, target) {
        var matches = true,
            index,
            keys,
            key;

        if (!_.isObject(query) || !_.isObject(target)) {
            return false;
        }

        keys = Object.getOwnPropertyNames(query);
        index = keys.length;

        while (matches && index--) {
            key = keys[index];

            /* eslint-disable eqeqeq */
            if (target[key] != query[key]) {
                matches = false;
            }

            /* eslint-enable eqeqeq */
        }

        return matches;
    }

    /**
     * Explodes incoming string into object if
     * string is defined as a set of key = value pairs.
     *
     * @param {(String|*)} query - String to be processed.
     * @returns {Object|*} Either created object or an unmodified incoming
     *      value if conversion was not possible.
     * @example Sample conversions.
     *      'key = value, key2 = value2'
     *      => {key: 'value', key2: 'value2'}
     */
    function explode(query) {
        var result = {},
            index,
            data;

        if (typeof query !== 'string' || !~query.indexOf('=')) {
            return query;
        }

        query = query.split(',');
        index = query.length;

        while (index--) {
            data = query[index].split('=');

            result[data[0].trim()] = data[1].trim();
        }

        return result;
    }

    /**
     * Extracts items from the provided data object
     * which matches specified search criteria.
     *
     * @param {Object} data - Data object where to perform a lookup.
     * @param {(String|Object|Function)} query - Search criteria.
     * @param {Boolean} findAll - Flag that defines whether to
     *      search for all applicable items or to stop on a first found entry.
     * @returns {Array|Object|*}
     */
    function find(data, query, findAll) {
        var iterator,
            item;

        query = explode(query);

        if (typeof query === 'string') {
            item = data[query];

            if (findAll) {
                return item ? [item] : [];
            }

            return item;
        }

        iterator = !_.isFunction(query) ?
            compare.bind(null, query) :
            query;

        return findAll ?
            _.filter(data, iterator) :
            _.find(data, iterator);
    }

    /**
     * @constructor
     */
    function Registry() {
        var data = {
            items: {},
            requests: []
        };

        this._updateRequests = _.debounce(this._updateRequests.bind(this), 10);
        privateData.set(this, data);
    }

    Registry.prototype = {
        constructor: Registry,

        /**
         * Retrieves item from registry which matches specified search criteria.
         *
         * @param {(Object|String|Function|Array)} query - Search condition (see examples).
         * @param {Function} [callback] - Callback that will be invoked when
         *      all of the requested items are available.
         * @returns {*}
         *
         * @example Requesting item by it's name.
         *      var obj = {index: 'test', sample: true};
         *
         *      registry.set('first', obj);
         *      registry.get('first') === obj;
         *      => true
         *
         * @example Requesting item with a specific properties.
         *      registry.get('sample = 1, index = test') === obj;
         *      => true
         *      registry.get('sample = 0, index = foo') === obj;
         *      => false
         *
         * @example Declaring search criteria as an object.
         *      registry.get({sample: true}) === obj;
         *      => true;
         *
         * @example Providing custom search handler.
         *      registry.get(function (item) { return item.sample === true; }) === obj;
         *      => true
         *
         * @example Sample asynchronous request declaration.
         *      registry.get('index = test', function (item) {});
         *
         * @example Requesting multiple elements.
         *      registry.set('second', {index: 'test2'});
         *      registry.get(['first', 'second'], function (first, second) {});
         */
        get: function (query, callback) {
            if (typeof callback !== 'function') {
                return find(getItems(this), query);
            }

            this._addRequest(query, callback);
        },

        /**
         * Sets provided item to the registry.
         *
         * @param {String} id - Item's identifier.
         * @param {*} item - Item's data.
         * returns {Registry} Chainable.
         */
        set: function (id, item) {
            getItems(this)[id] = item;

            this._updateRequests();

            return this;
        },

        /**
         * Removes specified item from registry.
         * Note that search query is not applicable.
         *
         * @param {String} id - Item's identifier.
         * @returns {Registry} Chainable.
         */
        remove: function (id) {
            delete getItems(this)[id];

            return this;
        },

        /**
         * Retrieves a collection of elements that match
         * provided search criteria.
         *
         * @param {(Object|String|Function)} query - Search query.
         *      See 'get' method for the syntax examples.
         * @returns {Array} Found elements.
         */
        filter: function (query) {
            return find(getItems(this), query, true);
        },

        /**
         * Checks that at least one element in collection
         * matches provided search criteria.
         *
         * @param {(Object|String|Function)} query - Search query.
         *      See 'get' method for the syntax examples.
         * @returns {Boolean}
         */
        has: function (query) {
            return !!this.get(query);
        },

        /**
         * Checks that registry contains a provided item.
         *
         * @param {*} item - Item to be checked.
         * @returns {Boolean}
         */
        contains: function (item) {
            return _.contains(getItems(this), item);
        },

        /**
         * Extracts identifier of an item if it's present in registry.
         *
         * @param {*} item - Item whose identifier will be extracted.
         * @returns {String|Undefined}
         */
        indexOf: function (item) {
            return _.findKey(getItems(this), function (elem) {
                return item === elem;
            });
        },

        /**
         * Same as a 'get' method except that it returns
         * a promise object instead of invoking provided callback.
         *
         * @param {(String|Function|Object|Array)} query - Search query.
         *      See 'get' method for the syntax examples.
         * @returns {jQueryPromise}
         */
        promise: function (query) {
            var defer    = $.Deferred(),
                callback = defer.resolve.bind(defer);

            this.get(query, callback);

            return defer.promise();
        },

        /**
         * Creates a wrapper function over the provided search query
         * in order to provide somehow more convenient access to the
         * registry's items.
         *
         * @param {(String|Object|Function)} query - Search criteria.
         *      See 'get' method for the syntax examples.
         * @returns {Function}
         *
         * @example Comparison with a 'get' method on retrieving items.
         *      var module = registry.async('name');
         *
         *      module();
         *      => registry.get('name');
         *
         * @example Asynchronous request.
         *      module(function (component) {});
         *      => registry.get('name', function (component) {});
         *
         * @example Requesting item and invoking it's method with specified parameters.
         *      module('trigger', true);
         *      => registry.get('name', function (component) {
         *          component.trigger(true);
         *      });
         */
        async: function (query) {
            return async.bind(null, query, this);
        },

        /**
         * Creates new instance of a Registry.
         *
         * @returns {Registry} New instance.
         */
        create: function () {
            return new Registry;
        },

        /**
         * Adds new request to the queue or resolves it immediately
         * if all of the required items are available.
         *
         * @private
         * @param {(Object|String|Function|Array)} queries - Search criteria.
         *      See 'get' method for the syntax examples.
         * @param {Function} callback - Callback that will be invoked when
         *      all of the requested items are available.
         * @returns {Registry}
         */
        _addRequest: function (queries, callback) {
            var request;

            if (!Array.isArray(queries)) {
                queries = queries ? [queries] : [];
            }

            request = {
                queries: queries.map(explode),
                callback: callback
            };

            this._canResolve(request) ?
                this._resolveRequest(request) :
                getRequests(this).push(request);

            return this;
        },

        /**
         * Updates requests list resolving applicable items.
         *
         * @private
         * @returns {Registry} Chainable.
         */
        _updateRequests: function () {
            getRequests(this)
                .filter(this._canResolve, this)
                .forEach(this._resolveRequest, this);

            return this;
        },

        /**
         * Resolves provided request invoking it's callback
         * with items specified in query parameters.
         *
         * @private
         * @param {Object} request - Request object.
         * @returns {Registry} Chainable.
         */
        _resolveRequest: function (request) {
            var requests = getRequests(this),
                items    = request.queries.map(this.get, this),
                index    = requests.indexOf(request);

            request.callback.apply(null, items);

            if (~index) {
                requests.splice(index, 1);
            }

            return this;
        },

        /**
         * Checks if provided request can be resolved.
         *
         * @private
         * @param {Object} request - Request object.
         * @returns {Boolean}
         */
        _canResolve: function (request) {
            var queries = request.queries;

            return queries.every(this.has, this);
        }
    };

    return new Registry;
});

define("Magento_Ui/js/lib/registry/registry", function(){});

/**
 * Copyright © Vaimo Group. All rights reserved.
 * See LICENSE_VAIMO.txt for license details.
 */
//Removes Anowave mixins in case consent for GTM (vendor s905) was not given. Consent for GA (s26) is controlled on GTM side via custom tags/variables.
//Inits Klaviyo (vendor s2491) only after user has provided consent for Marketing cookies and removes its mixin if no consent is given.
// https://help.consentmanager.net/books/cmp/page/cmp-events
(()=>{
    if (!window.__cmp) return;
    const vendorsCodeMap = {
        's905': 'Anowave_Ec/',
        's2491': 'Klaviyo_Reclaim/'
    }

    const onGetConsent = () => {
        const cmpData = window.__cmp('getCMPData');
        const vendorConsentsObj = cmpData ? cmpData.vendorConsents : {};
        processMixins(vendorConsentsObj);
        if (vendorConsentsObj.s2491) {
            require(['uiRegistry'], registry => registry.set('IsKlaviyoConsentGiven', true));
        }
    }

    const getModulesToDisable = (vendorConsentsObj) => {
        return Object.keys(vendorsCodeMap)
            .filter(key => !(key in vendorConsentsObj))
            .map(key => vendorsCodeMap[key]);
    }

    const processMixins = (vendorConsentsObj) => {
        const modulesToDisable = getModulesToDisable(vendorConsentsObj);
        if(!modulesToDisable.length) return;

        const requireJsConfig = {config:{mixins:{}}};
        const mixins = requirejs.s.contexts._.config.config.mixins;
        Object.keys(mixins).forEach(mixin => {
            Object.keys(mixins[mixin]).forEach(override => {
                modulesToDisable.forEach(moduleName => {
                    if (override.match(moduleName)) {
                        requireJsConfig.config.mixins[mixin] = {[override]: false};
                    }
                });
            })
        });
        require.config(requireJsConfig);
    }

    window.__cmp("addEventListener", ["consent", onGetConsent, false], null);
})();

define("Consentmanager_Cmp/js/cmp-consent-config", function(){});