-
-
Save vigneshshanmugam/89867ac713d1160c865c53c93e47470a to your computer and use it in GitHub Desktop.
Testing optimise-js-plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (e, t) { | |
if ("object" == typeof exports && "object" == typeof module) module.exports = t(require("react"), require("react-dom"), require("tranzlate"), require("z-shop-js-env")); | |
else if ("function" == typeof define && define.amd) define(["react", "react-dom", "tranzlate", "z-shop-js-env"], t); | |
else { | |
var r = "object" == typeof exports ? t(require("react"), require("react-dom"), require("tranzlate"), require("z-shop-js-env")) : t(e.react, e["react-dom"], e.tranzlate, e["z-shop-js-env"]); | |
for (var o in r)("object" == typeof exports ? exports : e)[o] = r[o] | |
} | |
})(this, function (e, t, r, o) { | |
return function (e) { | |
function t(o) { | |
if (r[o]) return r[o].exports; | |
var n = r[o] = { | |
i: o, | |
l: !1, | |
exports: {} | |
}; | |
return e[o].call(n.exports, n, n.exports, t), n.l = !0, n.exports | |
} | |
var r = {}; | |
return t.m = e, t.c = r, t.i = function (e) { | |
return e | |
}, t.d = function (e, t, r) { | |
Object.defineProperty(e, t, { | |
configurable: !1, | |
enumerable: !0, | |
get: r | |
}) | |
}, t.n = function (e) { | |
var r = e && e.__esModule ? function () { | |
return e["default"] | |
} : function () { | |
return e | |
}; | |
return t.d(r, "a", r), r | |
}, t.o = function (e, t) { | |
return Object.prototype.hasOwnProperty.call(e, t) | |
}, t.p = "/", t(t.s = 12) | |
}([function (t, r) { | |
t.exports = e | |
}, function (e, t, r) { | |
"use strict"; | |
var o = r(10), | |
n = (r.n(o), r.i(o.createSandbox)()); | |
e.exports = n | |
}, function (e, t, r) { | |
"use strict"; | |
var o = r(11), | |
n = (r.n(o), r(0)), | |
a = (r.n(n), r(9)), | |
i = (r.n(a), r(1)), | |
c = r.n(i), | |
u = r(5), | |
s = (r.n(u), r(3)), | |
p = r(4); | |
r.n(p); | |
r.d(t, "reactApp", function () { | |
return y | |
}), r.d(t, "translateSandbox", function () { | |
return m | |
}); | |
var f = void 0, | |
l = void 0, | |
d = function (e) { | |
var t = arguments.length <= 1 || void 0 === arguments[1] ? s.a : arguments[1]; | |
return n.createElement(u.AppContainer, null, n.createElement(t, e)) | |
}, | |
h = function (e) { | |
a.render(d(l, e), f) | |
}, | |
b = function (e) { | |
var t = e.onclick(); | |
e.removeAttribute("onclick"), c.a.inject(t.translations), f = e, l = t.props, h(s.a) | |
}; | |
t["default"] = b; | |
var y = d, | |
m = c.a | |
}, function (e, t, r) { | |
"use strict"; | |
(function (e) { | |
function o(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
function n(e, t) { | |
if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
return !t || "object" != typeof t && "function" != typeof t ? e : t | |
} | |
function a(e, t) { | |
if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t); | |
e.prototype = Object.create(t && t.prototype, { | |
constructor: { | |
value: e, | |
enumerable: !1, | |
writable: !0, | |
configurable: !0 | |
} | |
}), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t) | |
} | |
var i = r(0), | |
c = (r.n(i), function (t) { | |
function r() { | |
return o(this, r), n(this, t.apply(this, arguments)) | |
} | |
return a(r, t), r.prototype.render = function () { | |
return i.createElement("div", { | |
className: "z-__MOSAIC_TEAM_ID__-__MOSAIC_APPLICATION_ID__" | |
}, e("customer.account.greeting", this.props.name)) | |
}, r | |
}(i.Component)); | |
t.a = c | |
}).call(t, r(1)) | |
}, function (e, t) {}, function (e, t, r) { | |
e.exports = r(8) | |
}, function (e, t, r) { | |
"use strict"; | |
e.exports = r(7) | |
}, function (e, t, r) { | |
"use strict"; | |
function o(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
function n(e, t) { | |
if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
return !t || "object" != typeof t && "function" != typeof t ? e : t | |
} | |
function a(e, t) { | |
if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t); | |
e.prototype = Object.create(t && t.prototype, { | |
constructor: { | |
value: e, | |
enumerable: !1, | |
writable: !0, | |
configurable: !0 | |
} | |
}), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t) | |
} | |
var i = function () { | |
function e(e, t) { | |
for (var r = 0; r < t.length; r++) { | |
var o = t[r]; | |
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, o.key, o) | |
} | |
} | |
return function (t, r, o) { | |
return r && e(t.prototype, r), o && e(t, o), t | |
} | |
}(), | |
c = r(0), | |
u = c.Component, | |
s = function (e) { | |
function t() { | |
return o(this, t), n(this, Object.getPrototypeOf(t).apply(this, arguments)) | |
} | |
return a(t, e), i(t, [{ | |
key: "render", | |
value: function () { | |
return this.props.component ? c.createElement(this.props.component, this.props.props) : c.Children.only(this.props.children) | |
} | |
}]), t | |
}(u); | |
e.exports = s | |
}, function (e, t, r) { | |
"use strict"; | |
var o = r(6); | |
e.exports = function (e) { | |
throw this && this.callback ? new Error('React Hot Loader: The Webpack loader is now exported separately. If you use Babel, we recommend that you remove "react-hot-loader" from the "loaders" section of your Webpack configuration altogether, and instead add "react-hot-loader/babel" to the "plugins" section of your .babelrc file. If you prefer not to use Babel, replace "react-hot-loader" or "react-hot" with "react-hot-loader/webpack" in the "loaders" section of your Webpack configuration.') : e && e.types && e.types.IfStatement ? new Error('React Hot Loader: The Babel plugin is exported separately. Replace "react-hot-loader" with "react-hot-loader/babel" in the "plugins" section of your .babelrc file. While we recommend the above, if you prefer not to use Babel, you may remove "react-hot-loader" from the "plugins" section of your .babelrc file altogether, and instead add "react-hot-loader/webpack" to the "loaders" section of your Webpack configuration.') : new Error('React Hot Loader does not have a default export. If you use the import statement, make sure to include the curly braces: import { AppContainer } from "react-hot-loader". If you use CommonJS, make sure to read the named export: require("react-hot-loader").AppContainer.') | |
}, e.exports.AppContainer = o | |
}, function (e, r) { | |
e.exports = t | |
}, function (e, t) { | |
e.exports = r | |
}, function (e, t) { | |
e.exports = o | |
}, function (e, t, r) { | |
e.exports = r(2) | |
}]) | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!(function(e, t) { | |
if ("object" == typeof exports && "object" == typeof module) module.exports = t(require("react"), require("react-dom"), require("tranzlate"), require("z-shop-js-env")); | |
else if ("function" == typeof define && define.amd) define(["react", "react-dom", "tranzlate", "z-shop-js-env"], t); | |
else { | |
var r = "object" == typeof exports ? t(require("react"), require("react-dom"), require("tranzlate"), require("z-shop-js-env")) : t(e.react, e["react-dom"], e.tranzlate, e["z-shop-js-env"]); | |
for (var o in r)("object" == typeof exports ? exports : e)[o] = r[o] | |
} | |
})(this, (function(e, t, r, o) { | |
return (function(e) { | |
function t(o) { | |
if (r[o]) return r[o].exports; | |
var n = r[o] = { | |
i: o, | |
l: !1, | |
exports: {} | |
}; | |
return e[o].call(n.exports, n, n.exports, t), n.l = !0, n.exports | |
} | |
var r = {}; | |
return t.m = e, t.c = r, t.i = function(e) { | |
return e | |
}, t.d = function(e, t, r) { | |
Object.defineProperty(e, t, { | |
configurable: !1, | |
enumerable: !0, | |
get: r | |
}) | |
}, t.n = function(e) { | |
var r = e && e.__esModule ? function() { | |
return e["default"] | |
} : function() { | |
return e | |
}; | |
return t.d(r, "a", r), r | |
}, t.o = function(e, t) { | |
return Object.prototype.hasOwnProperty.call(e, t) | |
}, t.p = "/", t(t.s = 12) | |
})([function(t, r) { | |
t.exports = e | |
}, function(e, t, r) { | |
"use strict"; | |
var o = r(10), | |
n = (r.n(o), r.i(o.createSandbox)()); | |
e.exports = n | |
}, function(e, t, r) { | |
"use strict"; | |
var o = r(11), | |
n = (r.n(o), r(0)), | |
a = (r.n(n), r(9)), | |
i = (r.n(a), r(1)), | |
c = r.n(i), | |
u = r(5), | |
s = (r.n(u), r(3)), | |
p = r(4); | |
r.n(p); | |
r.d(t, "reactApp", (function() { | |
return y | |
})), r.d(t, "translateSandbox", (function() { | |
return m | |
})); | |
var f = void 0, | |
l = void 0, | |
d = function(e) { | |
var t = arguments.length <= 1 || void 0 === arguments[1] ? s.a : arguments[1]; | |
return n.createElement(u.AppContainer, null, n.createElement(t, e)) | |
}, | |
h = function(e) { | |
a.render(d(l, e), f) | |
}, | |
b = function(e) { | |
var t = e.onclick(); | |
e.removeAttribute("onclick"), c.a.inject(t.translations), f = e, l = t.props, h(s.a) | |
}; | |
t["default"] = b; | |
var y = d, | |
m = c.a | |
}, function(e, t, r) { | |
"use strict"; | |
(function(e) { | |
function o(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
function n(e, t) { | |
if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
return !t || "object" != typeof t && "function" != typeof t ? e : t | |
} | |
function a(e, t) { | |
if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t); | |
e.prototype = Object.create(t && t.prototype, { | |
constructor: { | |
value: e, | |
enumerable: !1, | |
writable: !0, | |
configurable: !0 | |
} | |
}), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t) | |
} | |
var i = r(0), | |
c = (r.n(i), (function(t) { | |
function r() { | |
return o(this, r), n(this, t.apply(this, arguments)) | |
} | |
return a(r, t), r.prototype.render = function() { | |
return i.createElement("div", { | |
className: "z-__MOSAIC_TEAM_ID__-__MOSAIC_APPLICATION_ID__" | |
}, e("customer.account.greeting", this.props.name)) | |
}, r | |
})(i.Component)); | |
t.a = c | |
}).call(t, r(1)) | |
}, function(e, t) {}, function(e, t, r) { | |
e.exports = r(8) | |
}, function(e, t, r) { | |
"use strict"; | |
e.exports = r(7) | |
}, function(e, t, r) { | |
"use strict"; | |
function o(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
function n(e, t) { | |
if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
return !t || "object" != typeof t && "function" != typeof t ? e : t | |
} | |
function a(e, t) { | |
if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t); | |
e.prototype = Object.create(t && t.prototype, { | |
constructor: { | |
value: e, | |
enumerable: !1, | |
writable: !0, | |
configurable: !0 | |
} | |
}), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t) | |
} | |
var i = (function() { | |
function e(e, t) { | |
for (var r = 0; r < t.length; r++) { | |
var o = t[r]; | |
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, o.key, o) | |
} | |
} | |
return function(t, r, o) { | |
return r && e(t.prototype, r), o && e(t, o), t | |
} | |
})(), | |
c = r(0), | |
u = c.Component, | |
s = (function(e) { | |
function t() { | |
return o(this, t), n(this, Object.getPrototypeOf(t).apply(this, arguments)) | |
} | |
return a(t, e), i(t, [{ | |
key: "render", | |
value: function() { | |
return this.props.component ? c.createElement(this.props.component, this.props.props) : c.Children.only(this.props.children) | |
} | |
}]), t | |
})(u); | |
e.exports = s | |
}, function(e, t, r) { | |
"use strict"; | |
var o = r(6); | |
e.exports = function(e) { | |
throw this && this.callback ? new Error('React Hot Loader: The Webpack loader is now exported separately. If you use Babel, we recommend that you remove "react-hot-loader" from the "loaders" section of your Webpack configuration altogether, and instead add "react-hot-loader/babel" to the "plugins" section of your .babelrc file. If you prefer not to use Babel, replace "react-hot-loader" or "react-hot" with "react-hot-loader/webpack" in the "loaders" section of your Webpack configuration.') : e && e.types && e.types.IfStatement ? new Error('React Hot Loader: The Babel plugin is exported separately. Replace "react-hot-loader" with "react-hot-loader/babel" in the "plugins" section of your .babelrc file. While we recommend the above, if you prefer not to use Babel, you may remove "react-hot-loader" from the "plugins" section of your .babelrc file altogether, and instead add "react-hot-loader/webpack" to the "loaders" section of your Webpack configuration.') : new Error('React Hot Loader does not have a default export. If you use the import statement, make sure to include the curly braces: import { AppContainer } from "react-hot-loader". If you use CommonJS, make sure to read the named export: require("react-hot-loader").AppContainer.') | |
}, e.exports.AppContainer = o | |
}, function(e, r) { | |
e.exports = t | |
}, function(e, t) { | |
e.exports = r | |
}, function(e, t) { | |
e.exports = o | |
}, function(e, t, r) { | |
e.exports = r(2) | |
}]) | |
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! function(e, t) { | |
if ("object" == typeof exports && "object" == typeof module) module.exports = t(require("react"), require("react-dom"), require("tranzlate"), require("z-shop-js-env")); | |
else if ("function" == typeof define && define.amd) define(["react", "react-dom", "tranzlate", "z-shop-js-env"], t); | |
else { | |
var r = "object" == typeof exports ? t(require("react"), require("react-dom"), require("tranzlate"), require("z-shop-js-env")) : t(e.react, e["react-dom"], e.tranzlate, e["z-shop-js-env"]); | |
for (var o in r)("object" == typeof exports ? exports : e)[o] = r[o] | |
} | |
}(this, function(e, t, r, o) { | |
return function(e) { | |
function t(o) { | |
if (r[o]) return r[o].exports; | |
var n = r[o] = { | |
i: o, | |
l: !1, | |
exports: {} | |
}; | |
return e[o].call(n.exports, n, n.exports, t), n.l = !0, n.exports | |
} | |
var r = {}; | |
return t.m = e, t.c = r, t.i = function(e) { | |
return e | |
}, t.d = function(e, t, r) { | |
Object.defineProperty(e, t, { | |
configurable: !1, | |
enumerable: !0, | |
get: r | |
}) | |
}, t.n = function(e) { | |
var r = e && e.__esModule ? function() { | |
return e["default"] | |
} : function() { | |
return e | |
}; | |
return t.d(r, "a", r), r | |
}, t.o = function(e, t) { | |
return Object.prototype.hasOwnProperty.call(e, t) | |
}, t.p = "/", t(t.s = 12) | |
}([function(t, r) { | |
t.exports = e | |
}, function(e, t, r) { | |
"use strict"; | |
var o = r(10), | |
n = (r.n(o), r.i(o.createSandbox)()); | |
e.exports = n | |
}, function(e, t, r) { | |
"use strict"; | |
var o = r(11), | |
n = (r.n(o), r(0)), | |
a = (r.n(n), r(9)), | |
i = (r.n(a), r(1)), | |
c = r.n(i), | |
u = r(5), | |
s = (r.n(u), r(3)), | |
p = r(4); | |
r.n(p); | |
r.d(t, "reactApp", function() { | |
return y | |
}), r.d(t, "translateSandbox", function() { | |
return m | |
}); | |
var f = void 0, | |
l = void 0, | |
d = function(e) { | |
var t = arguments.length <= 1 || void 0 === arguments[1] ? s.a : arguments[1]; | |
return n.createElement(u.AppContainer, null, n.createElement(t, e)) | |
}, | |
h = function(e) { | |
a.render(d(l, e), f) | |
}, | |
b = function(e) { | |
var t = e.onclick(); | |
e.removeAttribute("onclick"), c.a.inject(t.translations), f = e, l = t.props, h(s.a) | |
}; | |
t["default"] = b; | |
var y = d, | |
m = c.a | |
}, function(e, t, r) { | |
"use strict"; | |
(function(e) { | |
function o(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
function n(e, t) { | |
if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
return !t || "object" != typeof t && "function" != typeof t ? e : t | |
} | |
function a(e, t) { | |
if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t); | |
e.prototype = Object.create(t && t.prototype, { | |
constructor: { | |
value: e, | |
enumerable: !1, | |
writable: !0, | |
configurable: !0 | |
} | |
}), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t) | |
} | |
var i = r(0), | |
c = (r.n(i), function(t) { | |
function r() { | |
return o(this, r), n(this, t.apply(this, arguments)) | |
} | |
return a(r, t), r.prototype.render = function() { | |
return i.createElement("div", { | |
className: "z-__MOSAIC_TEAM_ID__-__MOSAIC_APPLICATION_ID__" | |
}, e("customer.account.greeting", this.props.name)) | |
}, r | |
}(i.Component)); | |
t.a = c | |
}).call(t, r(1)) | |
}, function(e, t) {}, function(e, t, r) { | |
e.exports = r(8) | |
}, function(e, t, r) { | |
"use strict"; | |
e.exports = r(7) | |
}, function(e, t, r) { | |
"use strict"; | |
function o(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
function n(e, t) { | |
if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
return !t || "object" != typeof t && "function" != typeof t ? e : t | |
} | |
function a(e, t) { | |
if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t); | |
e.prototype = Object.create(t && t.prototype, { | |
constructor: { | |
value: e, | |
enumerable: !1, | |
writable: !0, | |
configurable: !0 | |
} | |
}), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t) | |
} | |
var i = function() { | |
function e(e, t) { | |
for (var r = 0; r < t.length; r++) { | |
var o = t[r]; | |
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, o.key, o) | |
} | |
} | |
return function(t, r, o) { | |
return r && e(t.prototype, r), o && e(t, o), t | |
} | |
}(), | |
c = r(0), | |
u = c.Component, | |
s = function(e) { | |
function t() { | |
return o(this, t), n(this, Object.getPrototypeOf(t).apply(this, arguments)) | |
} | |
return a(t, e), i(t, [{ | |
key: "render", | |
value: function() { | |
return this.props.component ? c.createElement(this.props.component, this.props.props) : c.Children.only(this.props.children) | |
} | |
}]), t | |
}(u); | |
e.exports = s | |
}, function(e, t, r) { | |
"use strict"; | |
var o = r(6); | |
e.exports = function(e) { | |
throw this && this.callback ? new Error('React Hot Loader: The Webpack loader is now exported separately. If you use Babel, we recommend that you remove "react-hot-loader" from the "loaders" section of your Webpack configuration altogether, and instead add "react-hot-loader/babel" to the "plugins" section of your .babelrc file. If you prefer not to use Babel, replace "react-hot-loader" or "react-hot" with "react-hot-loader/webpack" in the "loaders" section of your Webpack configuration.') : e && e.types && e.types.IfStatement ? new Error('React Hot Loader: The Babel plugin is exported separately. Replace "react-hot-loader" with "react-hot-loader/babel" in the "plugins" section of your .babelrc file. While we recommend the above, if you prefer not to use Babel, you may remove "react-hot-loader" from the "plugins" section of your .babelrc file altogether, and instead add "react-hot-loader/webpack" to the "loaders" section of your Webpack configuration.') : new Error('React Hot Loader does not have a default export. If you use the import statement, make sure to include the curly braces: import { AppContainer } from "react-hot-loader". If you use CommonJS, make sure to read the named export: require("react-hot-loader").AppContainer.') | |
}, e.exports.AppContainer = o | |
}, function(e, r) { | |
e.exports = t | |
}, function(e, t) { | |
e.exports = r | |
}, function(e, t) { | |
e.exports = o | |
}, function(e, t, r) { | |
e.exports = r(2) | |
}]) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment